(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const a of i)if(a.type==="childList")for(const u of a.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&n(u)}).observe(document,{childList:!0,subtree:!0});function r(i){const a={};return i.integrity&&(a.integrity=i.integrity),i.referrerpolicy&&(a.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?a.credentials="include":i.crossorigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function n(i){if(i.ep)return;i.ep=!0;const a=r(i);fetch(i.href,a)}})();/*!
 * Vue.js v2.7.16
 * (c) 2014-2023 Evan You
 * Released under the MIT License.
 */var De=Object.freeze({}),St=Array.isArray;function Et(t){return t==null}function q(t){return t!=null}function re(t){return t===!0}function LT(t){return t===!1}function wa(t){return typeof t=="string"||typeof t=="number"||typeof t=="symbol"||typeof t=="boolean"}function jt(t){return typeof t=="function"}function Ie(t){return t!==null&&typeof t=="object"}var J0=Object.prototype.toString;function Ue(t){return J0.call(t)==="[object Object]"}function BT(t){return J0.call(t)==="[object RegExp]"}function ym(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function $l(t){return q(t)&&typeof t.then=="function"&&typeof t.catch=="function"}function MT(t){return t==null?"":Array.isArray(t)||Ue(t)&&t.toString===J0?JSON.stringify(t,FT,2):String(t)}function FT(t,e){return e&&e.__v_isRef?e.value:e}function la(t){var e=parseFloat(t);return isNaN(e)?t:e}function mr(t,e){for(var r=Object.create(null),n=t.split(","),i=0;i<n.length;i++)r[n[i]]=!0;return e?function(a){return r[a.toLowerCase()]}:function(a){return r[a]}}mr("slot,component",!0);var $T=mr("key,ref,slot,slot-scope,is");function Tn(t,e){var r=t.length;if(r){if(e===t[r-1]){t.length=r-1;return}var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}var kT=Object.prototype.hasOwnProperty;function ke(t,e){return kT.call(t,e)}function ci(t){var e=Object.create(null);return function(n){var i=e[n];return i||(e[n]=t(n))}}var UT=/-(\w)/g,Qn=ci(function(t){return t.replace(UT,function(e,r){return r?r.toUpperCase():""})}),jT=ci(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),HT=/\B([A-Z])/g,Ca=ci(function(t){return t.replace(HT,"-$1").toLowerCase()});function GT(t,e){function r(n){var i=arguments.length;return i?i>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return r._length=t.length,r}function VT(t,e){return t.bind(e)}var Em=Function.prototype.bind?VT:GT;function kl(t,e){e=e||0;for(var r=t.length-e,n=new Array(r);r--;)n[r]=t[r+e];return n}function Jt(t,e){for(var r in e)t[r]=e[r];return t}function xm(t){for(var e={},r=0;r<t.length;r++)t[r]&&Jt(e,t[r]);return e}function te(t,e,r){}var ss=function(t,e,r){return!1},bm=function(t){return t};function ti(t,e){if(t===e)return!0;var r=Ie(t),n=Ie(e);if(r&&n)try{var i=Array.isArray(t),a=Array.isArray(e);if(i&&a)return t.length===e.length&&t.every(function(d,l){return ti(d,e[l])});if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(!i&&!a){var u=Object.keys(t),f=Object.keys(e);return u.length===f.length&&u.every(function(d){return ti(t[d],e[d])})}else return!1}catch(d){return!1}else return!r&&!n?String(t)===String(e):!1}function Tm(t,e){for(var r=0;r<t.length;r++)if(ti(t[r],e))return r;return-1}function au(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}function Ul(t,e){return t===e?t===0&&1/t!==1/e:t===t||e===e}var oh="data-server-rendered",Hu=["component","directive","filter"],Sm=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"],ir={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:ss,isReservedAttr:ss,isUnknownElement:ss,getTagNamespace:te,parsePlatformTagName:bm,mustUseProp:ss,async:!0,_lifecycleHooks:Sm},WT=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function Am(t){var e=(t+"").charCodeAt(0);return e===36||e===95}function fe(t,e,r,n){Object.defineProperty(t,e,{value:r,enumerable:!!n,writable:!0,configurable:!0})}var KT=new RegExp("[^".concat(WT.source,".$_\\d]"));function qT(t){if(!KT.test(t)){var e=t.split(".");return function(r){for(var n=0;n<e.length;n++){if(!r)return;r=r[e[n]]}return r}}}var zT="__proto__"in{},Ke=typeof window<"u",Ne=Ke&&window.navigator.userAgent.toLowerCase(),ho=Ne&&/msie|trident/.test(Ne),_o=Ne&&Ne.indexOf("msie 9.0")>0,Y0=Ne&&Ne.indexOf("edge/")>0;Ne&&Ne.indexOf("android")>0;var XT=Ne&&/iphone|ipad|ipod|ios/.test(Ne);Ne&&/chrome\/\d+/.test(Ne);Ne&&/phantomjs/.test(Ne);var ah=Ne&&Ne.match(/firefox\/(\d+)/),jl={}.watch,Om=!1;if(Ke)try{var sh={};Object.defineProperty(sh,"passive",{get:function(){Om=!0}}),window.addEventListener("test-passive",null,sh)}catch(t){}var us,Sn=function(){return us===void 0&&(!Ke&&typeof global<"u"?us=global.process&&global.process.env.VUE_ENV==="server":us=!1),us},su=Ke&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function Yi(t){return typeof t=="function"&&/native code/.test(t.toString())}var Pa=typeof Symbol<"u"&&Yi(Symbol)&&typeof Reflect<"u"&&Yi(Reflect.ownKeys),da;typeof Set<"u"&&Yi(Set)?da=Set:da=function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(e){return this.set[e]===!0},t.prototype.add=function(e){this.set[e]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var se=null;function JT(){return se&&{proxy:se}}function En(t){t===void 0&&(t=null),t||se&&se._scope.off(),se=t,t&&t._scope.on()}var Ye=function(){function t(e,r,n,i,a,u,f,d){this.tag=e,this.data=r,this.children=n,this.text=i,this.elm=a,this.ns=void 0,this.context=u,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=r&&r.key,this.componentOptions=f,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=d,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(t.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),t}(),qn=function(t){t===void 0&&(t="");var e=new Ye;return e.text=t,e.isComment=!0,e};function Vi(t){return new Ye(void 0,void 0,void 0,String(t))}function Hl(t){var e=new Ye(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}var YT=0,Ns=[],ZT=function(){for(var t=0;t<Ns.length;t++){var e=Ns[t];e.subs=e.subs.filter(function(r){return r}),e._pending=!1}Ns.length=0},Dr=function(){function t(){this._pending=!1,this.id=YT++,this.subs=[]}return t.prototype.addSub=function(e){this.subs.push(e)},t.prototype.removeSub=function(e){this.subs[this.subs.indexOf(e)]=null,this._pending||(this._pending=!0,Ns.push(this))},t.prototype.depend=function(e){t.target&&t.target.addDep(this)},t.prototype.notify=function(e){for(var r=this.subs.filter(function(u){return u}),n=0,i=r.length;n<i;n++){var a=r[n];a.update()}},t}();Dr.target=null;var Ls=[];function vo(t){Ls.push(t),Dr.target=t}function go(){Ls.pop(),Dr.target=Ls[Ls.length-1]}var wm=Array.prototype,uu=Object.create(wm),QT=["push","pop","shift","unshift","splice","sort","reverse"];QT.forEach(function(t){var e=wm[t];fe(uu,t,function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var a=e.apply(this,n),u=this.__ob__,f;switch(t){case"push":case"unshift":f=n;break;case"splice":f=n.slice(2);break}return f&&u.observeArray(f),u.dep.notify(),a})});var uh=Object.getOwnPropertyNames(uu),Cm={},Z0=!0;function xn(t){Z0=t}var tS={notify:te,depend:te,addSub:te,removeSub:te},ch=function(){function t(e,r,n){if(r===void 0&&(r=!1),n===void 0&&(n=!1),this.value=e,this.shallow=r,this.mock=n,this.dep=n?tS:new Dr,this.vmCount=0,fe(e,"__ob__",this),St(e)){if(!n)if(zT)e.__proto__=uu;else for(var i=0,a=uh.length;i<a;i++){var u=uh[i];fe(e,u,uu[u])}r||this.observeArray(e)}else for(var f=Object.keys(e),i=0;i<f.length;i++){var u=f[i];bn(e,u,Cm,void 0,r,n)}}return t.prototype.observeArray=function(e){for(var r=0,n=e.length;r<n;r++)Zr(e[r],!1,this.mock)},t}();function Zr(t,e,r){if(t&&ke(t,"__ob__")&&t.__ob__ instanceof ch)return t.__ob__;if(Z0&&(r||!Sn())&&(St(t)||Ue(t))&&Object.isExtensible(t)&&!t.__v_skip&&!Ae(t)&&!(t instanceof Ye))return new ch(t,e,r)}function bn(t,e,r,n,i,a,u){u===void 0&&(u=!1);var f=new Dr,d=Object.getOwnPropertyDescriptor(t,e);if(!(d&&d.configurable===!1)){var l=d&&d.get,_=d&&d.set;(!l||_)&&(r===Cm||arguments.length===2)&&(r=t[e]);var E=i?r&&r.__ob__:Zr(r,!1,a);return Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var b=l?l.call(t):r;return Dr.target&&(f.depend(),E&&(E.dep.depend(),St(b)&&Pm(b))),Ae(b)&&!i?b.value:b},set:function(b){var S=l?l.call(t):r;if(!!Ul(S,b)){if(_)_.call(t,b);else{if(l)return;if(!i&&Ae(S)&&!Ae(b)){S.value=b;return}else r=b}E=i?b&&b.__ob__:Zr(b,!1,a),f.notify()}}}),f}}function Gu(t,e,r){if(!fi(t)){var n=t.__ob__;return St(t)&&ym(e)?(t.length=Math.max(t.length,e),t.splice(e,1,r),n&&!n.shallow&&n.mock&&Zr(r,!1,!0),r):e in t&&!(e in Object.prototype)?(t[e]=r,r):t._isVue||n&&n.vmCount?r:n?(bn(n.value,e,r,void 0,n.shallow,n.mock),n.dep.notify(),r):(t[e]=r,r)}}function Q0(t,e){if(St(t)&&ym(e)){t.splice(e,1);return}var r=t.__ob__;t._isVue||r&&r.vmCount||fi(t)||!ke(t,e)||(delete t[e],r&&r.dep.notify())}function Pm(t){for(var e=void 0,r=0,n=t.length;r<n;r++)e=t[r],e&&e.__ob__&&e.__ob__.dep.depend(),St(e)&&Pm(e)}function eS(t){return Rm(t,!1),t}function td(t){return Rm(t,!0),fe(t,"__v_isShallow",!0),t}function Rm(t,e){fi(t)||Zr(t,e,Sn())}function zn(t){return fi(t)?zn(t.__v_raw):!!(t&&t.__ob__)}function cu(t){return!!(t&&t.__v_isShallow)}function fi(t){return!!(t&&t.__v_isReadonly)}function rS(t){return zn(t)||fi(t)}function Dm(t){var e=t&&t.__v_raw;return e?Dm(e):t}function nS(t){return Object.isExtensible(t)&&fe(t,"__v_skip",!0),t}var Ra="__v_isRef";function Ae(t){return!!(t&&t.__v_isRef===!0)}function iS(t){return Im(t,!1)}function oS(t){return Im(t,!0)}function Im(t,e){if(Ae(t))return t;var r={};return fe(r,Ra,!0),fe(r,"__v_isShallow",e),fe(r,"dep",bn(r,"value",t,null,e,Sn())),r}function aS(t){t.dep&&t.dep.notify()}function sS(t){return Ae(t)?t.value:t}function uS(t){if(zn(t))return t;for(var e={},r=Object.keys(t),n=0;n<r.length;n++)fu(e,t,r[n]);return e}function fu(t,e,r){Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:function(){var n=e[r];if(Ae(n))return n.value;var i=n&&n.__ob__;return i&&i.dep.depend(),n},set:function(n){var i=e[r];Ae(i)&&!Ae(n)?i.value=n:e[r]=n}})}function cS(t){var e=new Dr,r=t(function(){e.depend()},function(){e.notify()}),n=r.get,i=r.set,a={get value(){return n()},set value(u){i(u)}};return fe(a,Ra,!0),a}function fS(t){var e=St(t)?new Array(t.length):{};for(var r in t)e[r]=Nm(t,r);return e}function Nm(t,e,r){var n=t[e];if(Ae(n))return n;var i={get value(){var a=t[e];return a===void 0?r:a},set value(a){t[e]=a}};return fe(i,Ra,!0),i}var lS="__v_rawToReadonly",dS="__v_rawToShallowReadonly";function Lm(t){return Bm(t,!1)}function Bm(t,e){if(!Ue(t)||fi(t))return t;var r=e?dS:lS,n=t[r];if(n)return n;var i=Object.create(Object.getPrototypeOf(t));fe(t,r,i),fe(i,"__v_isReadonly",!0),fe(i,"__v_raw",t),Ae(t)&&fe(i,Ra,!0),(e||cu(t))&&fe(i,"__v_isShallow",!0);for(var a=Object.keys(t),u=0;u<a.length;u++)pS(i,t,a[u],e);return i}function pS(t,e,r,n){Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:function(){var i=e[r];return n||!Ue(i)?i:Lm(i)},set:function(){}})}function hS(t){return Bm(t,!0)}function _S(t,e){var r,n,i=jt(t);i?(r=t,n=te):(r=t.get,n=t.set);var a=Sn()?null:new Da(se,r,te,{lazy:!0}),u={effect:a,get value(){return a?(a.dirty&&a.evaluate(),Dr.target&&a.depend(),a.value):r()},set value(f){n(f)}};return fe(u,Ra,!0),fe(u,"__v_isReadonly",i),u}var Vu="watcher",fh="".concat(Vu," callback"),lh="".concat(Vu," getter"),vS="".concat(Vu," cleanup");function gS(t,e){return Wu(t,null,e)}function Mm(t,e){return Wu(t,null,{flush:"post"})}function mS(t,e){return Wu(t,null,{flush:"sync"})}var dh={};function yS(t,e,r){return Wu(t,e,r)}function Wu(t,e,r){var n=r===void 0?De:r,i=n.immediate,a=n.deep,u=n.flush,f=u===void 0?"pre":u;n.onTrack,n.onTrigger;var d=se,l=function(T,w,N){N===void 0&&(N=null);var L=Qr(T,null,N,d,w);return a&&L&&L.__ob__&&L.__ob__.dep.depend(),L},_,E=!1,y=!1;if(Ae(t)?(_=function(){return t.value},E=cu(t)):zn(t)?(_=function(){return t.__ob__.dep.depend(),t},a=!0):St(t)?(y=!0,E=t.some(function(T){return zn(T)||cu(T)}),_=function(){return t.map(function(T){if(Ae(T))return T.value;if(zn(T))return T.__ob__.dep.depend(),io(T);if(jt(T))return l(T,lh)})}):jt(t)?e?_=function(){return l(t,lh)}:_=function(){if(!(d&&d._isDestroyed))return S&&S(),l(t,Vu,[C])}:_=te,e&&a){var b=_;_=function(){return io(b())}}var S,C=function(T){S=O.onStop=function(){l(T,vS)}};if(Sn())return C=te,e?i&&l(e,fh,[_(),y?[]:void 0,C]):_(),te;var O=new Da(se,_,te,{lazy:!0});O.noRecurse=!e;var I=y?[]:dh;return O.run=function(){if(!!O.active)if(e){var T=O.get();(a||E||(y?T.some(function(w,N){return Ul(w,I[N])}):Ul(T,I)))&&(S&&S(),l(e,fh,[T,I===dh?void 0:I,C]),I=T)}else O.get()},f==="sync"?O.update=O.run:f==="post"?(O.post=!0,O.update=function(){return Xl(O)}):O.update=function(){if(d&&d===se&&!d._isMounted){var T=d._preWatchers||(d._preWatchers=[]);T.indexOf(O)<0&&T.push(O)}else Xl(O)},e?i?O.run():I=O.get():f==="post"&&d?d.$once("hook:mounted",function(){return O.get()}):O.get(),function(){O.teardown()}}var Re,ed=function(){function t(e){e===void 0&&(e=!1),this.detached=e,this.active=!0,this.effects=[],this.cleanups=[],this.parent=Re,!e&&Re&&(this.index=(Re.scopes||(Re.scopes=[])).push(this)-1)}return t.prototype.run=function(e){if(this.active){var r=Re;try{return Re=this,e()}finally{Re=r}}},t.prototype.on=function(){Re=this},t.prototype.off=function(){Re=this.parent},t.prototype.stop=function(e){if(this.active){var r=void 0,n=void 0;for(r=0,n=this.effects.length;r<n;r++)this.effects[r].teardown();for(r=0,n=this.cleanups.length;r<n;r++)this.cleanups[r]();if(this.scopes)for(r=0,n=this.scopes.length;r<n;r++)this.scopes[r].stop(!0);if(!this.detached&&this.parent&&!e){var i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0,this.active=!1}},t}();function ES(t){return new ed(t)}function xS(t,e){e===void 0&&(e=Re),e&&e.active&&e.effects.push(t)}function Fm(){return Re}function bS(t){Re&&Re.cleanups.push(t)}function TS(t,e){se&&($m(se)[t]=e)}function $m(t){var e=t._provided,r=t.$parent&&t.$parent._provided;return r===e?t._provided=Object.create(r):e}function SS(t,e,r){r===void 0&&(r=!1);var n=se;if(n){var i=n.$parent&&n.$parent._provided;if(i&&t in i)return i[t];if(arguments.length>1)return r&&jt(e)?e.call(n):e}}var ph=ci(function(t){var e=t.charAt(0)==="&";t=e?t.slice(1):t;var r=t.charAt(0)==="~";t=r?t.slice(1):t;var n=t.charAt(0)==="!";return t=n?t.slice(1):t,{name:t,once:r,capture:n,passive:e}});function Gl(t,e){function r(){var n=r.fns;if(St(n))for(var i=n.slice(),a=0;a<i.length;a++)Qr(i[a],null,arguments,e,"v-on handler");else return Qr(n,null,arguments,e,"v-on handler")}return r.fns=t,r}function km(t,e,r,n,i,a){var u,f,d,l;for(u in t)f=t[u],d=e[u],l=ph(u),Et(f)||(Et(d)?(Et(f.fns)&&(f=t[u]=Gl(f,a)),re(l.once)&&(f=t[u]=i(l.name,f,l.capture)),r(l.name,f,l.capture,l.passive,l.params)):f!==d&&(d.fns=f,t[u]=d));for(u in e)Et(t[u])&&(l=ph(u),n(l.name,e[u],l.capture))}function _n(t,e,r){t instanceof Ye&&(t=t.data.hook||(t.data.hook={}));var n,i=t[e];function a(){r.apply(this,arguments),Tn(n.fns,a)}Et(i)?n=Gl([a]):q(i.fns)&&re(i.merged)?(n=i,n.fns.push(a)):n=Gl([i,a]),n.merged=!0,t[e]=n}function AS(t,e,r){var n=e.options.props;if(!Et(n)){var i={},a=t.attrs,u=t.props;if(q(a)||q(u))for(var f in n){var d=Ca(f);hh(i,u,f,d,!0)||hh(i,a,f,d,!1)}return i}}function hh(t,e,r,n,i){if(q(e)){if(ke(e,r))return t[r]=e[r],i||delete e[r],!0;if(ke(e,n))return t[r]=e[n],i||delete e[n],!0}return!1}function OS(t){for(var e=0;e<t.length;e++)if(St(t[e]))return Array.prototype.concat.apply([],t);return t}function rd(t){return wa(t)?[Vi(t)]:St(t)?Um(t):void 0}function Fo(t){return q(t)&&q(t.text)&&LT(t.isComment)}function Um(t,e){var r=[],n,i,a,u;for(n=0;n<t.length;n++)i=t[n],!(Et(i)||typeof i=="boolean")&&(a=r.length-1,u=r[a],St(i)?i.length>0&&(i=Um(i,"".concat(e||"","_").concat(n)),Fo(i[0])&&Fo(u)&&(r[a]=Vi(u.text+i[0].text),i.shift()),r.push.apply(r,i)):wa(i)?Fo(u)?r[a]=Vi(u.text+i):i!==""&&r.push(Vi(i)):Fo(i)&&Fo(u)?r[a]=Vi(u.text+i.text):(re(t._isVList)&&q(i.tag)&&Et(i.key)&&q(e)&&(i.key="__vlist".concat(e,"_").concat(n,"__")),r.push(i)));return r}function wS(t,e){var r=null,n,i,a,u;if(St(t)||typeof t=="string")for(r=new Array(t.length),n=0,i=t.length;n<i;n++)r[n]=e(t[n],n);else if(typeof t=="number")for(r=new Array(t),n=0;n<t;n++)r[n]=e(n+1,n);else if(Ie(t))if(Pa&&t[Symbol.iterator]){r=[];for(var f=t[Symbol.iterator](),d=f.next();!d.done;)r.push(e(d.value,r.length)),d=f.next()}else for(a=Object.keys(t),r=new Array(a.length),n=0,i=a.length;n<i;n++)u=a[n],r[n]=e(t[u],u,n);return q(r)||(r=[]),r._isVList=!0,r}function CS(t,e,r,n){var i=this.$scopedSlots[t],a;i?(r=r||{},n&&(r=Jt(Jt({},n),r)),a=i(r)||(jt(e)?e():e)):a=this.$slots[t]||(jt(e)?e():e);var u=r&&r.slot;return u?this.$createElement("template",{slot:u},a):a}function PS(t){return hu(this.$options,"filters",t)||bm}function _h(t,e){return St(t)?t.indexOf(e)===-1:t!==e}function RS(t,e,r,n,i){var a=ir.keyCodes[e]||r;return i&&n&&!ir.keyCodes[e]?_h(i,n):a?_h(a,t):n?Ca(n)!==e:t===void 0}function DS(t,e,r,n,i){if(r&&Ie(r)){St(r)&&(r=xm(r));var a=void 0,u=function(d){if(d==="class"||d==="style"||$T(d))a=t;else{var l=t.attrs&&t.attrs.type;a=n||ir.mustUseProp(e,l,d)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var _=Qn(d),E=Ca(d);if(!(_ in a)&&!(E in a)&&(a[d]=r[d],i)){var y=t.on||(t.on={});y["update:".concat(d)]=function(b){r[d]=b}}};for(var f in r)u(f)}return t}function IS(t,e){var r=this._staticTrees||(this._staticTrees=[]),n=r[t];return n&&!e||(n=r[t]=this.$options.staticRenderFns[t].call(this._renderProxy,this._c,this),jm(n,"__static__".concat(t),!1)),n}function NS(t,e,r){return jm(t,"__once__".concat(e).concat(r?"_".concat(r):""),!0),t}function jm(t,e,r){if(St(t))for(var n=0;n<t.length;n++)t[n]&&typeof t[n]!="string"&&vh(t[n],"".concat(e,"_").concat(n),r);else vh(t,e,r)}function vh(t,e,r){t.isStatic=!0,t.key=e,t.isOnce=r}function LS(t,e){if(e&&Ue(e)){var r=t.on=t.on?Jt({},t.on):{};for(var n in e){var i=r[n],a=e[n];r[n]=i?[].concat(i,a):a}}return t}function Hm(t,e,r,n){e=e||{$stable:!r};for(var i=0;i<t.length;i++){var a=t[i];St(a)?Hm(a,e,r):a&&(a.proxy&&(a.fn.proxy=!0),e[a.key]=a.fn)}return n&&(e.$key=n),e}function BS(t,e){for(var r=0;r<e.length;r+=2){var n=e[r];typeof n=="string"&&n&&(t[e[r]]=e[r+1])}return t}function MS(t,e){return typeof t=="string"?e+t:t}function Gm(t){t._o=NS,t._n=la,t._s=MT,t._l=wS,t._t=CS,t._q=ti,t._i=Tm,t._m=IS,t._f=PS,t._k=RS,t._b=DS,t._v=Vi,t._e=qn,t._u=Hm,t._g=LS,t._d=BS,t._p=MS}function nd(t,e){if(!t||!t.length)return{};for(var r={},n=0,i=t.length;n<i;n++){var a=t[n],u=a.data;if(u&&u.attrs&&u.attrs.slot&&delete u.attrs.slot,(a.context===e||a.fnContext===e)&&u&&u.slot!=null){var f=u.slot,d=r[f]||(r[f]=[]);a.tag==="template"?d.push.apply(d,a.children||[]):d.push(a)}else(r.default||(r.default=[])).push(a)}for(var l in r)r[l].every(FS)&&delete r[l];return r}function FS(t){return t.isComment&&!t.asyncFactory||t.text===" "}function pa(t){return t.isComment&&t.asyncFactory}function Qo(t,e,r,n){var i,a=Object.keys(r).length>0,u=e?!!e.$stable:!a,f=e&&e.$key;if(!e)i={};else{if(e._normalized)return e._normalized;if(u&&n&&n!==De&&f===n.$key&&!a&&!n.$hasNormal)return n;i={};for(var d in e)e[d]&&d[0]!=="$"&&(i[d]=$S(t,r,d,e[d]))}for(var l in r)l in i||(i[l]=kS(r,l));return e&&Object.isExtensible(e)&&(e._normalized=i),fe(i,"$stable",u),fe(i,"$key",f),fe(i,"$hasNormal",a),i}function $S(t,e,r,n){var i=function(){var a=se;En(t);var u=arguments.length?n.apply(null,arguments):n({});u=u&&typeof u=="object"&&!St(u)?[u]:rd(u);var f=u&&u[0];return En(a),u&&(!f||u.length===1&&f.isComment&&!pa(f))?void 0:u};return n.proxy&&Object.defineProperty(e,r,{get:i,enumerable:!0,configurable:!0}),i}function kS(t,e){return function(){return t[e]}}function US(t){var e=t.$options,r=e.setup;if(r){var n=t._setupContext=Vm(t);En(t),vo();var i=Qr(r,null,[t._props||td({}),n],t,"setup");if(go(),En(),jt(i))e.render=i;else if(Ie(i))if(t._setupState=i,i.__sfc){var u=t._setupProxy={};for(var a in i)a!=="__sfc"&&fu(u,i,a)}else for(var a in i)Am(a)||fu(t,i,a)}}function Vm(t){return{get attrs(){if(!t._attrsProxy){var e=t._attrsProxy={};fe(e,"_v_attr_proxy",!0),lu(e,t.$attrs,De,t,"$attrs")}return t._attrsProxy},get listeners(){if(!t._listenersProxy){var e=t._listenersProxy={};lu(e,t.$listeners,De,t,"$listeners")}return t._listenersProxy},get slots(){return HS(t)},emit:Em(t.$emit,t),expose:function(e){e&&Object.keys(e).forEach(function(r){return fu(t,e,r)})}}}function lu(t,e,r,n,i){var a=!1;for(var u in e)u in t?e[u]!==r[u]&&(a=!0):(a=!0,jS(t,u,n,i));for(var u in t)u in e||(a=!0,delete t[u]);return a}function jS(t,e,r,n){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){return r[n][e]}})}function HS(t){return t._slotsProxy||Wm(t._slotsProxy={},t.$scopedSlots),t._slotsProxy}function Wm(t,e){for(var r in e)t[r]=e[r];for(var r in t)r in e||delete t[r]}function GS(){return id().slots}function VS(){return id().attrs}function WS(){return id().listeners}function id(){var t=se;return t._setupContext||(t._setupContext=Vm(t))}function KS(t,e){var r=St(t)?t.reduce(function(a,u){return a[u]={},a},{}):t;for(var n in e){var i=r[n];i?St(i)||jt(i)?r[n]={type:i,default:e[n]}:i.default=e[n]:i===null&&(r[n]={default:e[n]})}return r}function qS(t){t._vnode=null,t._staticTrees=null;var e=t.$options,r=t.$vnode=e._parentVnode,n=r&&r.context;t.$slots=nd(e._renderChildren,n),t.$scopedSlots=r?Qo(t.$parent,r.data.scopedSlots,t.$slots):De,t._c=function(a,u,f,d){return ha(t,a,u,f,d,!1)},t.$createElement=function(a,u,f,d){return ha(t,a,u,f,d,!0)};var i=r&&r.data;bn(t,"$attrs",i&&i.attrs||De,null,!0),bn(t,"$listeners",e._parentListeners||De,null,!0)}var Bs=null;function zS(t){Gm(t.prototype),t.prototype.$nextTick=function(e){return Ku(e,this)},t.prototype._render=function(){var e=this,r=e.$options,n=r.render,i=r._parentVnode;i&&e._isMounted&&(e.$scopedSlots=Qo(e.$parent,i.data.scopedSlots,e.$slots,e.$scopedSlots),e._slotsProxy&&Wm(e._slotsProxy,e.$scopedSlots)),e.$vnode=i;var a=se,u=Bs,f;try{En(e),Bs=e,f=n.call(e._renderProxy,e.$createElement)}catch(d){ei(d,e,"render"),f=e._vnode}finally{Bs=u,En(a)}return St(f)&&f.length===1&&(f=f[0]),f instanceof Ye||(f=qn()),f.parent=i,f}}function Bc(t,e){return(t.__esModule||Pa&&t[Symbol.toStringTag]==="Module")&&(t=t.default),Ie(t)?e.extend(t):t}function XS(t,e,r,n,i){var a=qn();return a.asyncFactory=t,a.asyncMeta={data:e,context:r,children:n,tag:i},a}function JS(t,e){if(re(t.error)&&q(t.errorComp))return t.errorComp;if(q(t.resolved))return t.resolved;var r=Bs;if(r&&q(t.owners)&&t.owners.indexOf(r)===-1&&t.owners.push(r),re(t.loading)&&q(t.loadingComp))return t.loadingComp;if(r&&!q(t.owners)){var n=t.owners=[r],i=!0,a=null,u=null;r.$on("hook:destroyed",function(){return Tn(n,r)});var f=function(E){for(var y=0,b=n.length;y<b;y++)n[y].$forceUpdate();E&&(n.length=0,a!==null&&(clearTimeout(a),a=null),u!==null&&(clearTimeout(u),u=null))},d=au(function(E){t.resolved=Bc(E,e),i?n.length=0:f(!0)}),l=au(function(E){q(t.errorComp)&&(t.error=!0,f(!0))}),_=t(d,l);return Ie(_)&&($l(_)?Et(t.resolved)&&_.then(d,l):$l(_.component)&&(_.component.then(d,l),q(_.error)&&(t.errorComp=Bc(_.error,e)),q(_.loading)&&(t.loadingComp=Bc(_.loading,e),_.delay===0?t.loading=!0:a=setTimeout(function(){a=null,Et(t.resolved)&&Et(t.error)&&(t.loading=!0,f(!1))},_.delay||200)),q(_.timeout)&&(u=setTimeout(function(){u=null,Et(t.resolved)&&l(null)},_.timeout)))),i=!1,t.loading?t.loadingComp:t.resolved}}function Km(t){if(St(t))for(var e=0;e<t.length;e++){var r=t[e];if(q(r)&&(q(r.componentOptions)||pa(r)))return r}}var YS=1,qm=2;function ha(t,e,r,n,i,a){return(St(r)||wa(r))&&(i=n,n=r,r=void 0),re(a)&&(i=qm),ZS(t,e,r,n,i)}function ZS(t,e,r,n,i){if(q(r)&&q(r.__ob__)||(q(r)&&q(r.is)&&(e=r.is),!e))return qn();St(n)&&jt(n[0])&&(r=r||{},r.scopedSlots={default:n[0]},n.length=0),i===qm?n=rd(n):i===YS&&(n=OS(n));var a,u;if(typeof e=="string"){var f=void 0;u=t.$vnode&&t.$vnode.ns||ir.getTagNamespace(e),ir.isReservedTag(e)?a=new Ye(ir.parsePlatformTagName(e),r,n,void 0,void 0,t):(!r||!r.pre)&&q(f=hu(t.$options,"components",e))?a=Sh(f,r,t,n,e):a=new Ye(e,r,n,void 0,void 0,t)}else a=Sh(e,r,t,n);return St(a)?a:q(a)?(q(u)&&zm(a,u),q(r)&&QS(r),a):qn()}function zm(t,e,r){if(t.ns=e,t.tag==="foreignObject"&&(e=void 0,r=!0),q(t.children))for(var n=0,i=t.children.length;n<i;n++){var a=t.children[n];q(a.tag)&&(Et(a.ns)||re(r)&&a.tag!=="svg")&&zm(a,e,r)}}function QS(t){Ie(t.style)&&io(t.style),Ie(t.class)&&io(t.class)}function tA(t,e,r){return ha(se,t,e,r,2,!0)}function ei(t,e,r){vo();try{if(e)for(var n=e;n=n.$parent;){var i=n.$options.errorCaptured;if(i)for(var a=0;a<i.length;a++)try{var u=i[a].call(n,t,e,r)===!1;if(u)return}catch(f){gh(f,n,"errorCaptured hook")}}gh(t,e,r)}finally{go()}}function Qr(t,e,r,n,i){var a;try{a=r?t.apply(e,r):t.call(e),a&&!a._isVue&&$l(a)&&!a._handled&&(a.catch(function(u){return ei(u,n,i+" (Promise/async)")}),a._handled=!0)}catch(u){ei(u,n,i)}return a}function gh(t,e,r){if(ir.errorHandler)try{return ir.errorHandler.call(null,t,e,r)}catch(n){n!==t&&mh(n)}mh(t)}function mh(t,e,r){if(Ke&&typeof console<"u")console.error(t);else throw t}var Vl=!1,Wl=[],Kl=!1;function cs(){Kl=!1;var t=Wl.slice(0);Wl.length=0;for(var e=0;e<t.length;e++)t[e]()}var Xo;if(typeof Promise<"u"&&Yi(Promise)){var eA=Promise.resolve();Xo=function(){eA.then(cs),XT&&setTimeout(te)},Vl=!0}else if(!ho&&typeof MutationObserver<"u"&&(Yi(MutationObserver)||MutationObserver.toString()==="[object MutationObserverConstructor]")){var fs=1,rA=new MutationObserver(cs),yh=document.createTextNode(String(fs));rA.observe(yh,{characterData:!0}),Xo=function(){fs=(fs+1)%2,yh.data=String(fs)},Vl=!0}else typeof setImmediate<"u"&&Yi(setImmediate)?Xo=function(){setImmediate(cs)}:Xo=function(){setTimeout(cs,0)};function Ku(t,e){var r;if(Wl.push(function(){if(t)try{t.call(e)}catch(n){ei(n,e,"nextTick")}else r&&r(e)}),Kl||(Kl=!0,Xo()),!t&&typeof Promise<"u")return new Promise(function(n){r=n})}function nA(t){t===void 0&&(t="$style");{if(!se)return De;var e=se[t];return e||De}}function iA(t){if(!!Ke){var e=se;!e||Mm(function(){var r=e.$el,n=t(e,e._setupProxy);if(r&&r.nodeType===1){var i=r.style;for(var a in n)i.setProperty("--".concat(a),n[a])}})}}function oA(t){jt(t)&&(t={loader:t});var e=t.loader,r=t.loadingComponent,n=t.errorComponent,i=t.delay,a=i===void 0?200:i,u=t.timeout;t.suspensible;var f=t.onError,d=null,l=0,_=function(){return l++,d=null,E()},E=function(){var y;return d||(y=d=e().catch(function(b){if(b=b instanceof Error?b:new Error(String(b)),f)return new Promise(function(S,C){var O=function(){return S(_())},I=function(){return C(b)};f(b,O,I,l+1)});throw b}).then(function(b){return y!==d&&d?d:(b&&(b.__esModule||b[Symbol.toStringTag]==="Module")&&(b=b.default),b)}))};return function(){var y=E();return{component:y,delay:a,timeout:u,error:n,loading:r}}}function ur(t){return function(e,r){if(r===void 0&&(r=se),!!r)return aA(r,t,e)}}function aA(t,e,r){var n=t.$options;n[e]=ry(n[e],r)}var sA=ur("beforeMount"),uA=ur("mounted"),cA=ur("beforeUpdate"),fA=ur("updated"),lA=ur("beforeDestroy"),dA=ur("destroyed"),pA=ur("activated"),hA=ur("deactivated"),_A=ur("serverPrefetch"),vA=ur("renderTracked"),gA=ur("renderTriggered"),mA=ur("errorCaptured");function yA(t,e){e===void 0&&(e=se),mA(t,e)}var Xm="2.7.16";function EA(t){return t}var Eh=new da;function io(t){return Ms(t,Eh),Eh.clear(),t}function Ms(t,e){var r,n,i=St(t);if(!(!i&&!Ie(t)||t.__v_skip||Object.isFrozen(t)||t instanceof Ye)){if(t.__ob__){var a=t.__ob__.dep.id;if(e.has(a))return;e.add(a)}if(i)for(r=t.length;r--;)Ms(t[r],e);else if(Ae(t))Ms(t.value,e);else for(n=Object.keys(t),r=n.length;r--;)Ms(t[n[r]],e)}}var xA=0,Da=function(){function t(e,r,n,i,a){xS(this,Re&&!Re._vm?Re:e?e._scope:void 0),(this.vm=e)&&a&&(e._watcher=this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync,this.before=i.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++xA,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new da,this.newDepIds=new da,this.expression="",jt(r)?this.getter=r:(this.getter=qT(r),this.getter||(this.getter=te)),this.value=this.lazy?void 0:this.get()}return t.prototype.get=function(){vo(this);var e,r=this.vm;try{e=this.getter.call(r,r)}catch(n){if(this.user)ei(n,r,'getter for watcher "'.concat(this.expression,'"'));else throw n}finally{this.deep&&io(e),go(),this.cleanupDeps()}return e},t.prototype.addDep=function(e){var r=e.id;this.newDepIds.has(r)||(this.newDepIds.add(r),this.newDeps.push(e),this.depIds.has(r)||e.addSub(this))},t.prototype.cleanupDeps=function(){for(var e=this.deps.length;e--;){var r=this.deps[e];this.newDepIds.has(r.id)||r.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},t.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():Xl(this)},t.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||Ie(e)||this.deep){var r=this.value;if(this.value=e,this.user){var n='callback for watcher "'.concat(this.expression,'"');Qr(this.cb,this.vm,[e,r],this.vm,n)}else this.cb.call(this.vm,e,r)}}},t.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},t.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},t.prototype.teardown=function(){if(this.vm&&!this.vm._isBeingDestroyed&&Tn(this.vm._scope.effects,this),this.active){for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1,this.onStop&&this.onStop()}},t}();function bA(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&Jm(t,e)}var _a;function TA(t,e){_a.$on(t,e)}function SA(t,e){_a.$off(t,e)}function AA(t,e){var r=_a;return function n(){var i=e.apply(null,arguments);i!==null&&r.$off(t,n)}}function Jm(t,e,r){_a=t,km(e,r||{},TA,SA,AA,t),_a=void 0}function OA(t){var e=/^hook:/;t.prototype.$on=function(r,n){var i=this;if(St(r))for(var a=0,u=r.length;a<u;a++)i.$on(r[a],n);else(i._events[r]||(i._events[r]=[])).push(n),e.test(r)&&(i._hasHookEvent=!0);return i},t.prototype.$once=function(r,n){var i=this;function a(){i.$off(r,a),n.apply(i,arguments)}return a.fn=n,i.$on(r,a),i},t.prototype.$off=function(r,n){var i=this;if(!arguments.length)return i._events=Object.create(null),i;if(St(r)){for(var a=0,u=r.length;a<u;a++)i.$off(r[a],n);return i}var f=i._events[r];if(!f)return i;if(!n)return i._events[r]=null,i;for(var d,l=f.length;l--;)if(d=f[l],d===n||d.fn===n){f.splice(l,1);break}return i},t.prototype.$emit=function(r){var n=this,i=n._events[r];if(i){i=i.length>1?kl(i):i;for(var a=kl(arguments,1),u='event handler for "'.concat(r,'"'),f=0,d=i.length;f<d;f++)Qr(i[f],n,a,n,u)}return n}}var Xn=null;function Ym(t){var e=Xn;return Xn=t,function(){Xn=e}}function wA(t){var e=t.$options,r=e.parent;if(r&&!e.abstract){for(;r.$options.abstract&&r.$parent;)r=r.$parent;r.$children.push(t)}t.$parent=r,t.$root=r?r.$root:t,t.$children=[],t.$refs={},t._provided=r?r._provided:Object.create(null),t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}function CA(t){t.prototype._update=function(e,r){var n=this,i=n.$el,a=n._vnode,u=Ym(n);n._vnode=e,a?n.$el=n.__patch__(a,e):n.$el=n.__patch__(n.$el,e,r,!1),u(),i&&(i.__vue__=null),n.$el&&(n.$el.__vue__=n);for(var f=n;f&&f.$vnode&&f.$parent&&f.$vnode===f.$parent._vnode;)f.$parent.$el=f.$el,f=f.$parent},t.prototype.$forceUpdate=function(){var e=this;e._watcher&&e._watcher.update()},t.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){vr(e,"beforeDestroy"),e._isBeingDestroyed=!0;var r=e.$parent;r&&!r._isBeingDestroyed&&!e.$options.abstract&&Tn(r.$children,e),e._scope.stop(),e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),vr(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}function PA(t,e,r){t.$el=e,t.$options.render||(t.$options.render=qn),vr(t,"beforeMount");var n;n=function(){t._update(t._render(),r)};var i={before:function(){t._isMounted&&!t._isDestroyed&&vr(t,"beforeUpdate")}};new Da(t,n,te,i,!0),r=!1;var a=t._preWatchers;if(a)for(var u=0;u<a.length;u++)a[u].run();return t.$vnode==null&&(t._isMounted=!0,vr(t,"mounted")),t}function RA(t,e,r,n,i){var a=n.data.scopedSlots,u=t.$scopedSlots,f=!!(a&&!a.$stable||u!==De&&!u.$stable||a&&t.$scopedSlots.$key!==a.$key||!a&&t.$scopedSlots.$key),d=!!(i||t.$options._renderChildren||f),l=t.$vnode;t.$options._parentVnode=n,t.$vnode=n,t._vnode&&(t._vnode.parent=n),t.$options._renderChildren=i;var _=n.data.attrs||De;t._attrsProxy&&lu(t._attrsProxy,_,l.data&&l.data.attrs||De,t,"$attrs")&&(d=!0),t.$attrs=_,r=r||De;var E=t.$options._parentListeners;if(t._listenersProxy&&lu(t._listenersProxy,r,E||De,t,"$listeners"),t.$listeners=t.$options._parentListeners=r,Jm(t,r,E),e&&t.$options.props){xn(!1);for(var y=t._props,b=t.$options._propKeys||[],S=0;S<b.length;S++){var C=b[S],O=t.$options.props;y[C]=fd(C,O,e,t)}xn(!0),t.$options.propsData=e}d&&(t.$slots=nd(i,n.context),t.$forceUpdate())}function Zm(t){for(;t&&(t=t.$parent);)if(t._inactive)return!0;return!1}function od(t,e){if(e){if(t._directInactive=!1,Zm(t))return}else if(t._directInactive)return;if(t._inactive||t._inactive===null){t._inactive=!1;for(var r=0;r<t.$children.length;r++)od(t.$children[r]);vr(t,"activated")}}function Qm(t,e){if(!(e&&(t._directInactive=!0,Zm(t)))&&!t._inactive){t._inactive=!0;for(var r=0;r<t.$children.length;r++)Qm(t.$children[r]);vr(t,"deactivated")}}function vr(t,e,r,n){n===void 0&&(n=!0),vo();var i=se,a=Fm();n&&En(t);var u=t.$options[e],f="".concat(e," hook");if(u)for(var d=0,l=u.length;d<l;d++)Qr(u[d],t,r||null,t,f);t._hasHookEvent&&t.$emit("hook:"+e),n&&(En(i),a&&a.on()),go()}var Xr=[],ad=[],du={},ql=!1,sd=!1,Wi=0;function DA(){Wi=Xr.length=ad.length=0,du={},ql=sd=!1}var ty=0,zl=Date.now;if(Ke&&!ho){var Mc=window.performance;Mc&&typeof Mc.now=="function"&&zl()>document.createEvent("Event").timeStamp&&(zl=function(){return Mc.now()})}var IA=function(t,e){if(t.post){if(!e.post)return 1}else if(e.post)return-1;return t.id-e.id};function NA(){ty=zl(),sd=!0;var t,e;for(Xr.sort(IA),Wi=0;Wi<Xr.length;Wi++)t=Xr[Wi],t.before&&t.before(),e=t.id,du[e]=null,t.run();var r=ad.slice(),n=Xr.slice();DA(),MA(r),LA(n),ZT(),su&&ir.devtools&&su.emit("flush")}function LA(t){for(var e=t.length;e--;){var r=t[e],n=r.vm;n&&n._watcher===r&&n._isMounted&&!n._isDestroyed&&vr(n,"updated")}}function BA(t){t._inactive=!1,ad.push(t)}function MA(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,od(t[e],!0)}function Xl(t){var e=t.id;if(du[e]==null&&!(t===Dr.target&&t.noRecurse)){if(du[e]=!0,!sd)Xr.push(t);else{for(var r=Xr.length-1;r>Wi&&Xr[r].id>t.id;)r--;Xr.splice(r+1,0,t)}ql||(ql=!0,Ku(NA))}}function FA(t){var e=t.$options.provide;if(e){var r=jt(e)?e.call(t):e;if(!Ie(r))return;for(var n=$m(t),i=Pa?Reflect.ownKeys(r):Object.keys(r),a=0;a<i.length;a++){var u=i[a];Object.defineProperty(n,u,Object.getOwnPropertyDescriptor(r,u))}}}function $A(t){var e=ey(t.$options.inject,t);e&&(xn(!1),Object.keys(e).forEach(function(r){bn(t,r,e[r])}),xn(!0))}function ey(t,e){if(t){for(var r=Object.create(null),n=Pa?Reflect.ownKeys(t):Object.keys(t),i=0;i<n.length;i++){var a=n[i];if(a!=="__ob__"){var u=t[a].from;if(u in e._provided)r[a]=e._provided[u];else if("default"in t[a]){var f=t[a].default;r[a]=jt(f)?f.call(e):f}}}return r}}function ud(t,e,r,n,i){var a=this,u=i.options,f;ke(n,"_uid")?(f=Object.create(n),f._original=n):(f=n,n=n._original);var d=re(u._compiled),l=!d;this.data=t,this.props=e,this.children=r,this.parent=n,this.listeners=t.on||De,this.injections=ey(u.inject,n),this.slots=function(){return a.$slots||Qo(n,t.scopedSlots,a.$slots=nd(r,n)),a.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return Qo(n,t.scopedSlots,this.slots())}}),d&&(this.$options=u,this.$slots=this.slots(),this.$scopedSlots=Qo(n,t.scopedSlots,this.$slots)),u._scopeId?this._c=function(_,E,y,b){var S=ha(f,_,E,y,b,l);return S&&!St(S)&&(S.fnScopeId=u._scopeId,S.fnContext=n),S}:this._c=function(_,E,y,b){return ha(f,_,E,y,b,l)}}Gm(ud.prototype);function kA(t,e,r,n,i){var a=t.options,u={},f=a.props;if(q(f))for(var d in f)u[d]=fd(d,f,e||De);else q(r.attrs)&&bh(u,r.attrs),q(r.props)&&bh(u,r.props);var l=new ud(r,u,i,n,t),_=a.render.call(null,l._c,l);if(_ instanceof Ye)return xh(_,r,l.parent,a);if(St(_)){for(var E=rd(_)||[],y=new Array(E.length),b=0;b<E.length;b++)y[b]=xh(E[b],r,l.parent,a);return y}}function xh(t,e,r,n,i){var a=Hl(t);return a.fnContext=r,a.fnOptions=n,e.slot&&((a.data||(a.data={})).slot=e.slot),a}function bh(t,e){for(var r in e)t[Qn(r)]=e[r]}function pu(t){return t.name||t.__name||t._componentTag}var cd={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var r=t;cd.prepatch(r,r)}else{var n=t.componentInstance=UA(t,Xn);n.$mount(e?t.elm:void 0,e)}},prepatch:function(t,e){var r=e.componentOptions,n=e.componentInstance=t.componentInstance;RA(n,r.propsData,r.listeners,e,r.children)},insert:function(t){var e=t.context,r=t.componentInstance;r._isMounted||(r._isMounted=!0,vr(r,"mounted")),t.data.keepAlive&&(e._isMounted?BA(r):od(r,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?Qm(e,!0):e.$destroy())}},Th=Object.keys(cd);function Sh(t,e,r,n,i){if(!Et(t)){var a=r.$options._base;if(Ie(t)&&(t=a.extend(t)),typeof t=="function"){var u;if(Et(t.cid)&&(u=t,t=JS(u,a),t===void 0))return XS(u,e,r,n,i);e=e||{},dd(t),q(e.model)&&GA(t.options,e);var f=AS(e,t);if(re(t.options.functional))return kA(t,f,e,r,n);var d=e.on;if(e.on=e.nativeOn,re(t.options.abstract)){var l=e.slot;e={},l&&(e.slot=l)}jA(e);var _=pu(t.options)||i,E=new Ye("vue-component-".concat(t.cid).concat(_?"-".concat(_):""),e,void 0,void 0,void 0,r,{Ctor:t,propsData:f,listeners:d,tag:i,children:n},u);return E}}}function UA(t,e){var r={_isComponent:!0,_parentVnode:t,parent:e},n=t.data.inlineTemplate;return q(n)&&(r.render=n.render,r.staticRenderFns=n.staticRenderFns),new t.componentOptions.Ctor(r)}function jA(t){for(var e=t.hook||(t.hook={}),r=0;r<Th.length;r++){var n=Th[r],i=e[n],a=cd[n];i!==a&&!(i&&i._merged)&&(e[n]=i?HA(a,i):a)}}function HA(t,e){var r=function(n,i){t(n,i),e(n,i)};return r._merged=!0,r}function GA(t,e){var r=t.model&&t.model.prop||"value",n=t.model&&t.model.event||"input";(e.attrs||(e.attrs={}))[r]=e.model.value;var i=e.on||(e.on={}),a=i[n],u=e.model.callback;q(a)?(St(a)?a.indexOf(u)===-1:a!==u)&&(i[n]=[u].concat(a)):i[n]=u}var VA=te,Pr=ir.optionMergeStrategies;function va(t,e,r){if(r===void 0&&(r=!0),!e)return t;for(var n,i,a,u=Pa?Reflect.ownKeys(e):Object.keys(e),f=0;f<u.length;f++)n=u[f],n!=="__ob__"&&(i=t[n],a=e[n],!r||!ke(t,n)?Gu(t,n,a):i!==a&&Ue(i)&&Ue(a)&&va(i,a));return t}function Ah(t,e,r){return r?function(){var i=jt(e)?e.call(r,r):e,a=jt(t)?t.call(r,r):t;return i?va(i,a):a}:e?t?function(){return va(jt(e)?e.call(this,this):e,jt(t)?t.call(this,this):t)}:e:t}Pr.data=function(t,e,r){return r?Ah(t,e,r):e&&typeof e!="function"?t:Ah(t,e)};function ry(t,e){var r=e?t?t.concat(e):St(e)?e:[e]:t;return r&&WA(r)}function WA(t){for(var e=[],r=0;r<t.length;r++)e.indexOf(t[r])===-1&&e.push(t[r]);return e}Sm.forEach(function(t){Pr[t]=ry});function KA(t,e,r,n){var i=Object.create(t||null);return e?Jt(i,e):i}Hu.forEach(function(t){Pr[t+"s"]=KA});Pr.watch=function(t,e,r,n){if(t===jl&&(t=void 0),e===jl&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var i={};Jt(i,t);for(var a in e){var u=i[a],f=e[a];u&&!St(u)&&(u=[u]),i[a]=u?u.concat(f):St(f)?f:[f]}return i};Pr.props=Pr.methods=Pr.inject=Pr.computed=function(t,e,r,n){if(!t)return e;var i=Object.create(null);return Jt(i,t),e&&Jt(i,e),i};Pr.provide=function(t,e){return t?function(){var r=Object.create(null);return va(r,jt(t)?t.call(this):t),e&&va(r,jt(e)?e.call(this):e,!1),r}:e};var qA=function(t,e){return e===void 0?t:e};function zA(t,e){var r=t.props;if(!!r){var n={},i,a,u;if(St(r))for(i=r.length;i--;)a=r[i],typeof a=="string"&&(u=Qn(a),n[u]={type:null});else if(Ue(r))for(var f in r)a=r[f],u=Qn(f),n[u]=Ue(a)?a:{type:a};t.props=n}}function XA(t,e){var r=t.inject;if(!!r){var n=t.inject={};if(St(r))for(var i=0;i<r.length;i++)n[r[i]]={from:r[i]};else if(Ue(r))for(var a in r){var u=r[a];n[a]=Ue(u)?Jt({from:a},u):{from:u}}}}function JA(t){var e=t.directives;if(e)for(var r in e){var n=e[r];jt(n)&&(e[r]={bind:n,update:n})}}function ri(t,e,r){if(jt(e)&&(e=e.options),zA(e),XA(e),JA(e),!e._base&&(e.extends&&(t=ri(t,e.extends,r)),e.mixins))for(var n=0,i=e.mixins.length;n<i;n++)t=ri(t,e.mixins[n],r);var a={},u;for(u in t)f(u);for(u in e)ke(t,u)||f(u);function f(d){var l=Pr[d]||qA;a[d]=l(t[d],e[d],r,d)}return a}function hu(t,e,r,n){if(typeof r=="string"){var i=t[e];if(ke(i,r))return i[r];var a=Qn(r);if(ke(i,a))return i[a];var u=jT(a);if(ke(i,u))return i[u];var f=i[r]||i[a]||i[u];return f}}function fd(t,e,r,n){var i=e[t],a=!ke(r,t),u=r[t],f=wh(Boolean,i.type);if(f>-1){if(a&&!ke(i,"default"))u=!1;else if(u===""||u===Ca(t)){var d=wh(String,i.type);(d<0||f<d)&&(u=!0)}}if(u===void 0){u=YA(n,i,t);var l=Z0;xn(!0),Zr(u),xn(l)}return u}function YA(t,e,r){if(!!ke(e,"default")){var n=e.default;return t&&t.$options.propsData&&t.$options.propsData[r]===void 0&&t._props[r]!==void 0?t._props[r]:jt(n)&&Jl(e.type)!=="Function"?n.call(t):n}}var ZA=/^\s*function (\w+)/;function Jl(t){var e=t&&t.toString().match(ZA);return e?e[1]:""}function Oh(t,e){return Jl(t)===Jl(e)}function wh(t,e){if(!St(e))return Oh(e,t)?0:-1;for(var r=0,n=e.length;r<n;r++)if(Oh(e[r],t))return r;return-1}var pn={enumerable:!0,configurable:!0,get:te,set:te};function ld(t,e,r){pn.get=function(){return this[e][r]},pn.set=function(i){this[e][r]=i},Object.defineProperty(t,r,pn)}function QA(t){var e=t.$options;if(e.props&&tO(t,e.props),US(t),e.methods&&oO(t,e.methods),e.data)eO(t);else{var r=Zr(t._data={});r&&r.vmCount++}e.computed&&iO(t,e.computed),e.watch&&e.watch!==jl&&aO(t,e.watch)}function tO(t,e){var r=t.$options.propsData||{},n=t._props=td({}),i=t.$options._propKeys=[],a=!t.$parent;a||xn(!1);var u=function(d){i.push(d);var l=fd(d,e,r,t);bn(n,d,l,void 0,!0),d in t||ld(t,"_props",d)};for(var f in e)u(f);xn(!0)}function eO(t){var e=t.$options.data;e=t._data=jt(e)?rO(e,t):e||{},Ue(e)||(e={});var r=Object.keys(e),n=t.$options.props;t.$options.methods;for(var i=r.length;i--;){var a=r[i];n&&ke(n,a)||Am(a)||ld(t,"_data",a)}var u=Zr(e);u&&u.vmCount++}function rO(t,e){vo();try{return t.call(e,e)}catch(r){return ei(r,e,"data()"),{}}finally{go()}}var nO={lazy:!0};function iO(t,e){var r=t._computedWatchers=Object.create(null),n=Sn();for(var i in e){var a=e[i],u=jt(a)?a:a.get;n||(r[i]=new Da(t,u||te,te,nO)),i in t||ny(t,i,a)}}function ny(t,e,r){var n=!Sn();jt(r)?(pn.get=n?Ch(e):Ph(r),pn.set=te):(pn.get=r.get?n&&r.cache!==!1?Ch(e):Ph(r.get):te,pn.set=r.set||te),Object.defineProperty(t,e,pn)}function Ch(t){return function(){var r=this._computedWatchers&&this._computedWatchers[t];if(r)return r.dirty&&r.evaluate(),Dr.target&&r.depend(),r.value}}function Ph(t){return function(){return t.call(this,this)}}function oO(t,e){t.$options.props;for(var r in e)t[r]=typeof e[r]!="function"?te:Em(e[r],t)}function aO(t,e){for(var r in e){var n=e[r];if(St(n))for(var i=0;i<n.length;i++)Yl(t,r,n[i]);else Yl(t,r,n)}}function Yl(t,e,r,n){return Ue(r)&&(n=r,r=r.handler),typeof r=="string"&&(r=t[r]),t.$watch(e,r,n)}function sO(t){var e={};e.get=function(){return this._data};var r={};r.get=function(){return this._props},Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",r),t.prototype.$set=Gu,t.prototype.$delete=Q0,t.prototype.$watch=function(n,i,a){var u=this;if(Ue(i))return Yl(u,n,i,a);a=a||{},a.user=!0;var f=new Da(u,n,i,a);if(a.immediate){var d='callback for immediate watcher "'.concat(f.expression,'"');vo(),Qr(i,u,[f.value],u,d),go()}return function(){f.teardown()}}}var uO=0;function cO(t){t.prototype._init=function(e){var r=this;r._uid=uO++,r._isVue=!0,r.__v_skip=!0,r._scope=new ed(!0),r._scope.parent=void 0,r._scope._vm=!0,e&&e._isComponent?fO(r,e):r.$options=ri(dd(r.constructor),e||{},r),r._renderProxy=r,r._self=r,wA(r),bA(r),qS(r),vr(r,"beforeCreate",void 0,!1),$A(r),QA(r),FA(r),vr(r,"created"),r.$options.el&&r.$mount(r.$options.el)}}function fO(t,e){var r=t.$options=Object.create(t.constructor.options),n=e._parentVnode;r.parent=e.parent,r._parentVnode=n;var i=n.componentOptions;r.propsData=i.propsData,r._parentListeners=i.listeners,r._renderChildren=i.children,r._componentTag=i.tag,e.render&&(r.render=e.render,r.staticRenderFns=e.staticRenderFns)}function dd(t){var e=t.options;if(t.super){var r=dd(t.super),n=t.superOptions;if(r!==n){t.superOptions=r;var i=lO(t);i&&Jt(t.extendOptions,i),e=t.options=ri(r,t.extendOptions),e.name&&(e.components[e.name]=t)}}return e}function lO(t){var e,r=t.options,n=t.sealedOptions;for(var i in r)r[i]!==n[i]&&(e||(e={}),e[i]=r[i]);return e}function ue(t){this._init(t)}cO(ue);sO(ue);OA(ue);CA(ue);zS(ue);function dO(t){t.use=function(e){var r=this._installedPlugins||(this._installedPlugins=[]);if(r.indexOf(e)>-1)return this;var n=kl(arguments,1);return n.unshift(this),jt(e.install)?e.install.apply(e,n):jt(e)&&e.apply(null,n),r.push(e),this}}function pO(t){t.mixin=function(e){return this.options=ri(this.options,e),this}}function hO(t){t.cid=0;var e=1;t.extend=function(r){r=r||{};var n=this,i=n.cid,a=r._Ctor||(r._Ctor={});if(a[i])return a[i];var u=pu(r)||pu(n.options),f=function(l){this._init(l)};return f.prototype=Object.create(n.prototype),f.prototype.constructor=f,f.cid=e++,f.options=ri(n.options,r),f.super=n,f.options.props&&_O(f),f.options.computed&&vO(f),f.extend=n.extend,f.mixin=n.mixin,f.use=n.use,Hu.forEach(function(d){f[d]=n[d]}),u&&(f.options.components[u]=f),f.superOptions=n.options,f.extendOptions=r,f.sealedOptions=Jt({},f.options),a[i]=f,f}}function _O(t){var e=t.options.props;for(var r in e)ld(t.prototype,"_props",r)}function vO(t){var e=t.options.computed;for(var r in e)ny(t.prototype,r,e[r])}function gO(t){Hu.forEach(function(e){t[e]=function(r,n){return n?(e==="component"&&Ue(n)&&(n.name=n.name||r,n=this.options._base.extend(n)),e==="directive"&&jt(n)&&(n={bind:n,update:n}),this.options[e+"s"][r]=n,n):this.options[e+"s"][r]}})}function Rh(t){return t&&(pu(t.Ctor.options)||t.tag)}function ls(t,e){return St(t)?t.indexOf(e)>-1:typeof t=="string"?t.split(",").indexOf(e)>-1:BT(t)?t.test(e):!1}function Dh(t,e){var r=t.cache,n=t.keys,i=t._vnode,a=t.$vnode;for(var u in r){var f=r[u];if(f){var d=f.name;d&&!e(d)&&Zl(r,u,n,i)}}a.componentOptions.children=void 0}function Zl(t,e,r,n){var i=t[e];i&&(!n||i.tag!==n.tag)&&i.componentInstance.$destroy(),t[e]=null,Tn(r,e)}var Ih=[String,RegExp,Array],mO={name:"keep-alive",abstract:!0,props:{include:Ih,exclude:Ih,max:[String,Number]},methods:{cacheVNode:function(){var t=this,e=t.cache,r=t.keys,n=t.vnodeToCache,i=t.keyToCache;if(n){var a=n.tag,u=n.componentInstance,f=n.componentOptions;e[i]={name:Rh(f),tag:a,componentInstance:u},r.push(i),this.max&&r.length>parseInt(this.max)&&Zl(e,r[0],r,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)Zl(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",function(e){Dh(t,function(r){return ls(e,r)})}),this.$watch("exclude",function(e){Dh(t,function(r){return!ls(e,r)})})},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=Km(t),r=e&&e.componentOptions;if(r){var n=Rh(r),i=this,a=i.include,u=i.exclude;if(a&&(!n||!ls(a,n))||u&&n&&ls(u,n))return e;var f=this,d=f.cache,l=f.keys,_=e.key==null?r.Ctor.cid+(r.tag?"::".concat(r.tag):""):e.key;d[_]?(e.componentInstance=d[_].componentInstance,Tn(l,_),l.push(_)):(this.vnodeToCache=e,this.keyToCache=_),e.data.keepAlive=!0}return e||t&&t[0]}},yO={KeepAlive:mO};function EO(t){var e={};e.get=function(){return ir},Object.defineProperty(t,"config",e),t.util={warn:VA,extend:Jt,mergeOptions:ri,defineReactive:bn},t.set=Gu,t.delete=Q0,t.nextTick=Ku,t.observable=function(r){return Zr(r),r},t.options=Object.create(null),Hu.forEach(function(r){t.options[r+"s"]=Object.create(null)}),t.options._base=t,Jt(t.options.components,yO),dO(t),pO(t),hO(t),gO(t)}EO(ue);Object.defineProperty(ue.prototype,"$isServer",{get:Sn});Object.defineProperty(ue.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}});Object.defineProperty(ue,"FunctionalRenderContext",{value:ud});ue.version=Xm;var xO=mr("style,class"),bO=mr("input,textarea,option,select,progress"),TO=function(t,e,r){return r==="value"&&bO(t)&&e!=="button"||r==="selected"&&t==="option"||r==="checked"&&t==="input"||r==="muted"&&t==="video"},iy=mr("contenteditable,draggable,spellcheck"),SO=mr("events,caret,typing,plaintext-only"),AO=function(t,e){return _u(e)||e==="false"?"false":t==="contenteditable"&&SO(e)?e:"true"},OO=mr("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),Ql="http://www.w3.org/1999/xlink",pd=function(t){return t.charAt(5)===":"&&t.slice(0,5)==="xlink"},oy=function(t){return pd(t)?t.slice(6,t.length):""},_u=function(t){return t==null||t===!1};function wO(t){for(var e=t.data,r=t,n=t;q(n.componentInstance);)n=n.componentInstance._vnode,n&&n.data&&(e=Nh(n.data,e));for(;q(r=r.parent);)r&&r.data&&(e=Nh(e,r.data));return CO(e.staticClass,e.class)}function Nh(t,e){return{staticClass:hd(t.staticClass,e.staticClass),class:q(t.class)?[t.class,e.class]:e.class}}function CO(t,e){return q(t)||q(e)?hd(t,_d(e)):""}function hd(t,e){return t?e?t+" "+e:t:e||""}function _d(t){return Array.isArray(t)?PO(t):Ie(t)?RO(t):typeof t=="string"?t:""}function PO(t){for(var e="",r,n=0,i=t.length;n<i;n++)q(r=_d(t[n]))&&r!==""&&(e&&(e+=" "),e+=r);return e}function RO(t){var e="";for(var r in t)t[r]&&(e&&(e+=" "),e+=r);return e}var DO={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},IO=mr("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),vd=mr("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),ay=function(t){return IO(t)||vd(t)};function NO(t){if(vd(t))return"svg";if(t==="math")return"math"}var ds=Object.create(null);function LO(t){if(!Ke)return!0;if(ay(t))return!1;if(t=t.toLowerCase(),ds[t]!=null)return ds[t];var e=document.createElement(t);return t.indexOf("-")>-1?ds[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:ds[t]=/HTMLUnknownElement/.test(e.toString())}var t0=mr("text,number,password,search,email,tel,url");function BO(t){if(typeof t=="string"){var e=document.querySelector(t);return e||document.createElement("div")}else return t}function MO(t,e){var r=document.createElement(t);return t!=="select"||e.data&&e.data.attrs&&e.data.attrs.multiple!==void 0&&r.setAttribute("multiple","multiple"),r}function FO(t,e){return document.createElementNS(DO[t],e)}function $O(t){return document.createTextNode(t)}function kO(t){return document.createComment(t)}function UO(t,e,r){t.insertBefore(e,r)}function jO(t,e){t.removeChild(e)}function HO(t,e){t.appendChild(e)}function GO(t){return t.parentNode}function VO(t){return t.nextSibling}function WO(t){return t.tagName}function KO(t,e){t.textContent=e}function qO(t,e){t.setAttribute(e,"")}var zO=Object.freeze({__proto__:null,createElement:MO,createElementNS:FO,createTextNode:$O,createComment:kO,insertBefore:UO,removeChild:jO,appendChild:HO,parentNode:GO,nextSibling:VO,tagName:WO,setTextContent:KO,setStyleScope:qO}),XO={create:function(t,e){Ki(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Ki(t,!0),Ki(e))},destroy:function(t){Ki(t,!0)}};function Ki(t,e){var r=t.data.ref;if(!!q(r)){var n=t.context,i=t.componentInstance||t.elm,a=e?null:i,u=e?void 0:i;if(jt(r)){Qr(r,n,[a],n,"template ref function");return}var f=t.data.refInFor,d=typeof r=="string"||typeof r=="number",l=Ae(r),_=n.$refs;if(d||l){if(f){var E=d?_[r]:r.value;e?St(E)&&Tn(E,i):St(E)?E.includes(i)||E.push(i):d?(_[r]=[i],Lh(n,r,_[r])):r.value=[i]}else if(d){if(e&&_[r]!==i)return;_[r]=u,Lh(n,r,a)}else if(l){if(e&&r.value!==i)return;r.value=a}}}}function Lh(t,e,r){var n=t._setupState;n&&ke(n,e)&&(Ae(n[e])?n[e].value=r:n[e]=r)}var vn=new Ye("",{},[]),$o=["create","activate","update","remove","destroy"];function Fn(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&q(t.data)===q(e.data)&&JO(t,e)||re(t.isAsyncPlaceholder)&&Et(e.asyncFactory.error))}function JO(t,e){if(t.tag!=="input")return!0;var r,n=q(r=t.data)&&q(r=r.attrs)&&r.type,i=q(r=e.data)&&q(r=r.attrs)&&r.type;return n===i||t0(n)&&t0(i)}function YO(t,e,r){var n,i,a={};for(n=e;n<=r;++n)i=t[n].key,q(i)&&(a[i]=n);return a}function ZO(t){var e,r,n={},i=t.modules,a=t.nodeOps;for(e=0;e<$o.length;++e)for(n[$o[e]]=[],r=0;r<i.length;++r)q(i[r][$o[e]])&&n[$o[e]].push(i[r][$o[e]]);function u(D){return new Ye(a.tagName(D).toLowerCase(),{},[],void 0,D)}function f(D,R){function B(){--B.listeners===0&&d(D)}return B.listeners=R,B}function d(D){var R=a.parentNode(D);q(R)&&a.removeChild(R,D)}function l(D,R,B,j,G,Y,K){if(q(D.elm)&&q(Y)&&(D=Y[K]=Hl(D)),D.isRootInsert=!G,!_(D,R,B,j)){var tt=D.data,et=D.children,V=D.tag;q(V)?(D.elm=D.ns?a.createElementNS(D.ns,V):a.createElement(V,D),I(D),S(D,et,R),q(tt)&&O(D,R),b(B,D.elm,j)):re(D.isComment)?(D.elm=a.createComment(D.text),b(B,D.elm,j)):(D.elm=a.createTextNode(D.text),b(B,D.elm,j))}}function _(D,R,B,j){var G=D.data;if(q(G)){var Y=q(D.componentInstance)&&G.keepAlive;if(q(G=G.hook)&&q(G=G.init)&&G(D,!1),q(D.componentInstance))return E(D,R),b(B,D.elm,j),re(Y)&&y(D,R,B,j),!0}}function E(D,R){q(D.data.pendingInsert)&&(R.push.apply(R,D.data.pendingInsert),D.data.pendingInsert=null),D.elm=D.componentInstance.$el,C(D)?(O(D,R),I(D)):(Ki(D),R.push(D))}function y(D,R,B,j){for(var G,Y=D;Y.componentInstance;)if(Y=Y.componentInstance._vnode,q(G=Y.data)&&q(G=G.transition)){for(G=0;G<n.activate.length;++G)n.activate[G](vn,Y);R.push(Y);break}b(B,D.elm,j)}function b(D,R,B){q(D)&&(q(B)?a.parentNode(B)===D&&a.insertBefore(D,R,B):a.appendChild(D,R))}function S(D,R,B){if(St(R))for(var j=0;j<R.length;++j)l(R[j],B,D.elm,null,!0,R,j);else wa(D.text)&&a.appendChild(D.elm,a.createTextNode(String(D.text)))}function C(D){for(;D.componentInstance;)D=D.componentInstance._vnode;return q(D.tag)}function O(D,R){for(var B=0;B<n.create.length;++B)n.create[B](vn,D);e=D.data.hook,q(e)&&(q(e.create)&&e.create(vn,D),q(e.insert)&&R.push(D))}function I(D){var R;if(q(R=D.fnScopeId))a.setStyleScope(D.elm,R);else for(var B=D;B;)q(R=B.context)&&q(R=R.$options._scopeId)&&a.setStyleScope(D.elm,R),B=B.parent;q(R=Xn)&&R!==D.context&&R!==D.fnContext&&q(R=R.$options._scopeId)&&a.setStyleScope(D.elm,R)}function T(D,R,B,j,G,Y){for(;j<=G;++j)l(B[j],Y,D,R,!1,B,j)}function w(D){var R,B,j=D.data;if(q(j))for(q(R=j.hook)&&q(R=R.destroy)&&R(D),R=0;R<n.destroy.length;++R)n.destroy[R](D);if(q(R=D.children))for(B=0;B<D.children.length;++B)w(D.children[B])}function N(D,R,B){for(;R<=B;++R){var j=D[R];q(j)&&(q(j.tag)?(L(j),w(j)):d(j.elm))}}function L(D,R){if(q(R)||q(D.data)){var B,j=n.remove.length+1;for(q(R)?R.listeners+=j:R=f(D.elm,j),q(B=D.componentInstance)&&q(B=B._vnode)&&q(B.data)&&L(B,R),B=0;B<n.remove.length;++B)n.remove[B](D,R);q(B=D.data.hook)&&q(B=B.remove)?B(D,R):R()}else d(D.elm)}function M(D,R,B,j,G){for(var Y=0,K=0,tt=R.length-1,et=R[0],V=R[tt],W=B.length-1,z=B[0],X=B[W],mt,pt,Nt,ft,ee=!G;Y<=tt&&K<=W;)Et(et)?et=R[++Y]:Et(V)?V=R[--tt]:Fn(et,z)?(U(et,z,j,B,K),et=R[++Y],z=B[++K]):Fn(V,X)?(U(V,X,j,B,W),V=R[--tt],X=B[--W]):Fn(et,X)?(U(et,X,j,B,W),ee&&a.insertBefore(D,et.elm,a.nextSibling(V.elm)),et=R[++Y],X=B[--W]):Fn(V,z)?(U(V,z,j,B,K),ee&&a.insertBefore(D,V.elm,et.elm),V=R[--tt],z=B[++K]):(Et(mt)&&(mt=YO(R,Y,tt)),pt=q(z.key)?mt[z.key]:F(z,R,Y,tt),Et(pt)?l(z,j,D,et.elm,!1,B,K):(Nt=R[pt],Fn(Nt,z)?(U(Nt,z,j,B,K),R[pt]=void 0,ee&&a.insertBefore(D,Nt.elm,et.elm)):l(z,j,D,et.elm,!1,B,K)),z=B[++K]);Y>tt?(ft=Et(B[W+1])?null:B[W+1].elm,T(D,ft,B,K,W,j)):K>W&&N(R,Y,tt)}function F(D,R,B,j){for(var G=B;G<j;G++){var Y=R[G];if(q(Y)&&Fn(D,Y))return G}}function U(D,R,B,j,G,Y){if(D!==R){q(R.elm)&&q(j)&&(R=j[G]=Hl(R));var K=R.elm=D.elm;if(re(D.isAsyncPlaceholder)){q(R.asyncFactory.resolved)?k(D.elm,R,B):R.isAsyncPlaceholder=!0;return}if(re(R.isStatic)&&re(D.isStatic)&&R.key===D.key&&(re(R.isCloned)||re(R.isOnce))){R.componentInstance=D.componentInstance;return}var tt,et=R.data;q(et)&&q(tt=et.hook)&&q(tt=tt.prepatch)&&tt(D,R);var V=D.children,W=R.children;if(q(et)&&C(R)){for(tt=0;tt<n.update.length;++tt)n.update[tt](D,R);q(tt=et.hook)&&q(tt=tt.update)&&tt(D,R)}Et(R.text)?q(V)&&q(W)?V!==W&&M(K,V,W,B,Y):q(W)?(q(D.text)&&a.setTextContent(K,""),T(K,null,W,0,W.length-1,B)):q(V)?N(V,0,V.length-1):q(D.text)&&a.setTextContent(K,""):D.text!==R.text&&a.setTextContent(K,R.text),q(et)&&q(tt=et.hook)&&q(tt=tt.postpatch)&&tt(D,R)}}function Z(D,R,B){if(re(B)&&q(D.parent))D.parent.data.pendingInsert=R;else for(var j=0;j<R.length;++j)R[j].data.hook.insert(R[j])}var $=mr("attrs,class,staticClass,staticStyle,key");function k(D,R,B,j){var G,Y=R.tag,K=R.data,tt=R.children;if(j=j||K&&K.pre,R.elm=D,re(R.isComment)&&q(R.asyncFactory))return R.isAsyncPlaceholder=!0,!0;if(q(K)&&(q(G=K.hook)&&q(G=G.init)&&G(R,!0),q(G=R.componentInstance)))return E(R,B),!0;if(q(Y)){if(q(tt))if(!D.hasChildNodes())S(R,tt,B);else if(q(G=K)&&q(G=G.domProps)&&q(G=G.innerHTML)){if(G!==D.innerHTML)return!1}else{for(var et=!0,V=D.firstChild,W=0;W<tt.length;W++){if(!V||!k(V,tt[W],B,j)){et=!1;break}V=V.nextSibling}if(!et||V)return!1}if(q(K)){var z=!1;for(var X in K)if(!$(X)){z=!0,O(R,B);break}!z&&K.class&&io(K.class)}}else D.data!==R.text&&(D.data=R.text);return!0}return function(R,B,j,G){if(Et(B)){q(R)&&w(R);return}var Y=!1,K=[];if(Et(R))Y=!0,l(B,K);else{var tt=q(R.nodeType);if(!tt&&Fn(R,B))U(R,B,K,null,null,G);else{if(tt){if(R.nodeType===1&&R.hasAttribute(oh)&&(R.removeAttribute(oh),j=!0),re(j)&&k(R,B,K))return Z(B,K,!0),R;R=u(R)}var et=R.elm,V=a.parentNode(et);if(l(B,K,et._leaveCb?null:V,a.nextSibling(et)),q(B.parent))for(var W=B.parent,z=C(B);W;){for(var X=0;X<n.destroy.length;++X)n.destroy[X](W);if(W.elm=B.elm,z){for(var mt=0;mt<n.create.length;++mt)n.create[mt](vn,W);var pt=W.data.hook.insert;if(pt.merged)for(var Nt=pt.fns.slice(1),ft=0;ft<Nt.length;ft++)Nt[ft]()}else Ki(W);W=W.parent}q(V)?N([R],0,0):q(R.tag)&&w(R)}}return Z(B,K,Y),B.elm}}var QO={create:Fc,update:Fc,destroy:function(e){Fc(e,vn)}};function Fc(t,e){(t.data.directives||e.data.directives)&&tw(t,e)}function tw(t,e){var r=t===vn,n=e===vn,i=Bh(t.data.directives,t.context),a=Bh(e.data.directives,e.context),u=[],f=[],d,l,_;for(d in a)l=i[d],_=a[d],l?(_.oldValue=l.value,_.oldArg=l.arg,ko(_,"update",e,t),_.def&&_.def.componentUpdated&&f.push(_)):(ko(_,"bind",e,t),_.def&&_.def.inserted&&u.push(_));if(u.length){var E=function(){for(var y=0;y<u.length;y++)ko(u[y],"inserted",e,t)};r?_n(e,"insert",E):E()}if(f.length&&_n(e,"postpatch",function(){for(var y=0;y<f.length;y++)ko(f[y],"componentUpdated",e,t)}),!r)for(d in i)a[d]||ko(i[d],"unbind",t,t,n)}var ew=Object.create(null);function Bh(t,e){var r=Object.create(null);if(!t)return r;var n,i;for(n=0;n<t.length;n++){if(i=t[n],i.modifiers||(i.modifiers=ew),r[rw(i)]=i,e._setupState&&e._setupState.__sfc){var a=i.def||hu(e,"_setupState","v-"+i.name);typeof a=="function"?i.def={bind:a,update:a}:i.def=a}i.def=i.def||hu(e.$options,"directives",i.name)}return r}function rw(t){return t.rawName||"".concat(t.name,".").concat(Object.keys(t.modifiers||{}).join("."))}function ko(t,e,r,n,i){var a=t.def&&t.def[e];if(a)try{a(r.elm,t,r,n,i)}catch(u){ei(u,r.context,"directive ".concat(t.name," ").concat(e," hook"))}}var nw=[XO,QO];function Mh(t,e){var r=e.componentOptions;if(!(q(r)&&r.Ctor.options.inheritAttrs===!1)&&!(Et(t.data.attrs)&&Et(e.data.attrs))){var n,i,a,u=e.elm,f=t.data.attrs||{},d=e.data.attrs||{};(q(d.__ob__)||re(d._v_attr_proxy))&&(d=e.data.attrs=Jt({},d));for(n in d)i=d[n],a=f[n],a!==i&&Fh(u,n,i,e.data.pre);(ho||Y0)&&d.value!==f.value&&Fh(u,"value",d.value);for(n in f)Et(d[n])&&(pd(n)?u.removeAttributeNS(Ql,oy(n)):iy(n)||u.removeAttribute(n))}}function Fh(t,e,r,n){n||t.tagName.indexOf("-")>-1?$h(t,e,r):OO(e)?_u(r)?t.removeAttribute(e):(r=e==="allowfullscreen"&&t.tagName==="EMBED"?"true":e,t.setAttribute(e,r)):iy(e)?t.setAttribute(e,AO(e,r)):pd(e)?_u(r)?t.removeAttributeNS(Ql,oy(e)):t.setAttributeNS(Ql,e,r):$h(t,e,r)}function $h(t,e,r){if(_u(r))t.removeAttribute(e);else{if(ho&&!_o&&t.tagName==="TEXTAREA"&&e==="placeholder"&&r!==""&&!t.__ieph){var n=function(i){i.stopImmediatePropagation(),t.removeEventListener("input",n)};t.addEventListener("input",n),t.__ieph=!0}t.setAttribute(e,r)}}var iw={create:Mh,update:Mh};function kh(t,e){var r=e.elm,n=e.data,i=t.data;if(!(Et(n.staticClass)&&Et(n.class)&&(Et(i)||Et(i.staticClass)&&Et(i.class)))){var a=wO(e),u=r._transitionClasses;q(u)&&(a=hd(a,_d(u))),a!==r._prevClass&&(r.setAttribute("class",a),r._prevClass=a)}}var ow={create:kh,update:kh},$c="__r",kc="__c";function aw(t){if(q(t[$c])){var e=ho?"change":"input";t[e]=[].concat(t[$c],t[e]||[]),delete t[$c]}q(t[kc])&&(t.change=[].concat(t[kc],t.change||[]),delete t[kc])}var ga;function sw(t,e,r){var n=ga;return function i(){var a=e.apply(null,arguments);a!==null&&sy(t,i,r,n)}}var uw=Vl&&!(ah&&Number(ah[1])<=53);function cw(t,e,r,n){if(uw){var i=ty,a=e;e=a._wrapper=function(u){if(u.target===u.currentTarget||u.timeStamp>=i||u.timeStamp<=0||u.target.ownerDocument!==document)return a.apply(this,arguments)}}ga.addEventListener(t,e,Om?{capture:r,passive:n}:r)}function sy(t,e,r,n){(n||ga).removeEventListener(t,e._wrapper||e,r)}function Uc(t,e){if(!(Et(t.data.on)&&Et(e.data.on))){var r=e.data.on||{},n=t.data.on||{};ga=e.elm||t.elm,aw(r),km(r,n,cw,sy,sw,e.context),ga=void 0}}var fw={create:Uc,update:Uc,destroy:function(t){return Uc(t,vn)}},ps;function Uh(t,e){if(!(Et(t.data.domProps)&&Et(e.data.domProps))){var r,n,i=e.elm,a=t.data.domProps||{},u=e.data.domProps||{};(q(u.__ob__)||re(u._v_attr_proxy))&&(u=e.data.domProps=Jt({},u));for(r in a)r in u||(i[r]="");for(r in u){if(n=u[r],r==="textContent"||r==="innerHTML"){if(e.children&&(e.children.length=0),n===a[r])continue;i.childNodes.length===1&&i.removeChild(i.childNodes[0])}if(r==="value"&&i.tagName!=="PROGRESS"){i._value=n;var f=Et(n)?"":String(n);lw(i,f)&&(i.value=f)}else if(r==="innerHTML"&&vd(i.tagName)&&Et(i.innerHTML)){ps=ps||document.createElement("div"),ps.innerHTML="<svg>".concat(n,"</svg>");for(var d=ps.firstChild;i.firstChild;)i.removeChild(i.firstChild);for(;d.firstChild;)i.appendChild(d.firstChild)}else if(n!==a[r])try{i[r]=n}catch(l){}}}}function lw(t,e){return!t.composing&&(t.tagName==="OPTION"||dw(t,e)||pw(t,e))}function dw(t,e){var r=!0;try{r=document.activeElement!==t}catch(n){}return r&&t.value!==e}function pw(t,e){var r=t.value,n=t._vModifiers;if(q(n)){if(n.number)return la(r)!==la(e);if(n.trim)return r.trim()!==e.trim()}return r!==e}var hw={create:Uh,update:Uh},_w=ci(function(t){var e={},r=/;(?![^(]*\))/g,n=/:(.+)/;return t.split(r).forEach(function(i){if(i){var a=i.split(n);a.length>1&&(e[a[0].trim()]=a[1].trim())}}),e});function jc(t){var e=uy(t.style);return t.staticStyle?Jt(t.staticStyle,e):e}function uy(t){return Array.isArray(t)?xm(t):typeof t=="string"?_w(t):t}function vw(t,e){var r={},n;if(e)for(var i=t;i.componentInstance;)i=i.componentInstance._vnode,i&&i.data&&(n=jc(i.data))&&Jt(r,n);(n=jc(t.data))&&Jt(r,n);for(var a=t;a=a.parent;)a.data&&(n=jc(a.data))&&Jt(r,n);return r}var gw=/^--/,jh=/\s*!important$/,Hh=function(t,e,r){if(gw.test(e))t.style.setProperty(e,r);else if(jh.test(r))t.style.setProperty(Ca(e),r.replace(jh,""),"important");else{var n=mw(e);if(Array.isArray(r))for(var i=0,a=r.length;i<a;i++)t.style[n]=r[i];else t.style[n]=r}},Gh=["Webkit","Moz","ms"],hs,mw=ci(function(t){if(hs=hs||document.createElement("div").style,t=Qn(t),t!=="filter"&&t in hs)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),r=0;r<Gh.length;r++){var n=Gh[r]+e;if(n in hs)return n}});function Vh(t,e){var r=e.data,n=t.data;if(!(Et(r.staticStyle)&&Et(r.style)&&Et(n.staticStyle)&&Et(n.style))){var i,a,u=e.elm,f=n.staticStyle,d=n.normalizedStyle||n.style||{},l=f||d,_=uy(e.data.style)||{};e.data.normalizedStyle=q(_.__ob__)?Jt({},_):_;var E=vw(e,!0);for(a in l)Et(E[a])&&Hh(u,a,"");for(a in E)i=E[a],Hh(u,a,i==null?"":i)}}var yw={create:Vh,update:Vh},cy=/\s+/;function fy(t,e){if(!(!e||!(e=e.trim())))if(t.classList)e.indexOf(" ")>-1?e.split(cy).forEach(function(n){return t.classList.add(n)}):t.classList.add(e);else{var r=" ".concat(t.getAttribute("class")||""," ");r.indexOf(" "+e+" ")<0&&t.setAttribute("class",(r+e).trim())}}function ly(t,e){if(!(!e||!(e=e.trim())))if(t.classList)e.indexOf(" ")>-1?e.split(cy).forEach(function(i){return t.classList.remove(i)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var r=" ".concat(t.getAttribute("class")||""," "),n=" "+e+" ";r.indexOf(n)>=0;)r=r.replace(n," ");r=r.trim(),r?t.setAttribute("class",r):t.removeAttribute("class")}}function dy(t){if(!!t){if(typeof t=="object"){var e={};return t.css!==!1&&Jt(e,Wh(t.name||"v")),Jt(e,t),e}else if(typeof t=="string")return Wh(t)}}var Wh=ci(function(t){return{enterClass:"".concat(t,"-enter"),enterToClass:"".concat(t,"-enter-to"),enterActiveClass:"".concat(t,"-enter-active"),leaveClass:"".concat(t,"-leave"),leaveToClass:"".concat(t,"-leave-to"),leaveActiveClass:"".concat(t,"-leave-active")}}),py=Ke&&!_o,Ui="transition",Hc="animation",Fs="transition",vu="transitionend",e0="animation",hy="animationend";py&&(window.ontransitionend===void 0&&window.onwebkittransitionend!==void 0&&(Fs="WebkitTransition",vu="webkitTransitionEnd"),window.onanimationend===void 0&&window.onwebkitanimationend!==void 0&&(e0="WebkitAnimation",hy="webkitAnimationEnd"));var Kh=Ke?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function _y(t){Kh(function(){Kh(t)})}function Jn(t,e){var r=t._transitionClasses||(t._transitionClasses=[]);r.indexOf(e)<0&&(r.push(e),fy(t,e))}function Jr(t,e){t._transitionClasses&&Tn(t._transitionClasses,e),ly(t,e)}function vy(t,e,r){var n=gy(t,e),i=n.type,a=n.timeout,u=n.propCount;if(!i)return r();var f=i===Ui?vu:hy,d=0,l=function(){t.removeEventListener(f,_),r()},_=function(E){E.target===t&&++d>=u&&l()};setTimeout(function(){d<u&&l()},a+1),t.addEventListener(f,_)}var Ew=/\b(transform|all)(,|$)/;function gy(t,e){var r=window.getComputedStyle(t),n=(r[Fs+"Delay"]||"").split(", "),i=(r[Fs+"Duration"]||"").split(", "),a=qh(n,i),u=(r[e0+"Delay"]||"").split(", "),f=(r[e0+"Duration"]||"").split(", "),d=qh(u,f),l,_=0,E=0;e===Ui?a>0&&(l=Ui,_=a,E=i.length):e===Hc?d>0&&(l=Hc,_=d,E=f.length):(_=Math.max(a,d),l=_>0?a>d?Ui:Hc:null,E=l?l===Ui?i.length:f.length:0);var y=l===Ui&&Ew.test(r[Fs+"Property"]);return{type:l,timeout:_,propCount:E,hasTransform:y}}function qh(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map(function(r,n){return zh(r)+zh(t[n])}))}function zh(t){return Number(t.slice(0,-1).replace(",","."))*1e3}function r0(t,e){var r=t.elm;q(r._leaveCb)&&(r._leaveCb.cancelled=!0,r._leaveCb());var n=dy(t.data.transition);if(!Et(n)&&!(q(r._enterCb)||r.nodeType!==1)){for(var i=n.css,a=n.type,u=n.enterClass,f=n.enterToClass,d=n.enterActiveClass,l=n.appearClass,_=n.appearToClass,E=n.appearActiveClass,y=n.beforeEnter,b=n.enter,S=n.afterEnter,C=n.enterCancelled,O=n.beforeAppear,I=n.appear,T=n.afterAppear,w=n.appearCancelled,N=n.duration,L=Xn,M=Xn.$vnode;M&&M.parent;)L=M.context,M=M.parent;var F=!L._isMounted||!t.isRootInsert;if(!(F&&!I&&I!=="")){var U=F&&l?l:u,Z=F&&E?E:d,$=F&&_?_:f,k=F&&O||y,D=F&&jt(I)?I:b,R=F&&T||S,B=F&&w||C,j=la(Ie(N)?N.enter:N),G=i!==!1&&!_o,Y=gd(D),K=r._enterCb=au(function(){G&&(Jr(r,$),Jr(r,Z)),K.cancelled?(G&&Jr(r,U),B&&B(r)):R&&R(r),r._enterCb=null});t.data.show||_n(t,"insert",function(){var tt=r.parentNode,et=tt&&tt._pending&&tt._pending[t.key];et&&et.tag===t.tag&&et.elm._leaveCb&&et.elm._leaveCb(),D&&D(r,K)}),k&&k(r),G&&(Jn(r,U),Jn(r,Z),_y(function(){Jr(r,U),K.cancelled||(Jn(r,$),Y||(yy(j)?setTimeout(K,j):vy(r,a,K)))})),t.data.show&&(e&&e(),D&&D(r,K)),!G&&!Y&&K()}}}function my(t,e){var r=t.elm;q(r._enterCb)&&(r._enterCb.cancelled=!0,r._enterCb());var n=dy(t.data.transition);if(Et(n)||r.nodeType!==1)return e();if(q(r._leaveCb))return;var i=n.css,a=n.type,u=n.leaveClass,f=n.leaveToClass,d=n.leaveActiveClass,l=n.beforeLeave,_=n.leave,E=n.afterLeave,y=n.leaveCancelled,b=n.delayLeave,S=n.duration,C=i!==!1&&!_o,O=gd(_),I=la(Ie(S)?S.leave:S),T=r._leaveCb=au(function(){r.parentNode&&r.parentNode._pending&&(r.parentNode._pending[t.key]=null),C&&(Jr(r,f),Jr(r,d)),T.cancelled?(C&&Jr(r,u),y&&y(r)):(e(),E&&E(r)),r._leaveCb=null});b?b(w):w();function w(){T.cancelled||(!t.data.show&&r.parentNode&&((r.parentNode._pending||(r.parentNode._pending={}))[t.key]=t),l&&l(r),C&&(Jn(r,u),Jn(r,d),_y(function(){Jr(r,u),T.cancelled||(Jn(r,f),O||(yy(I)?setTimeout(T,I):vy(r,a,T)))})),_&&_(r,T),!C&&!O&&T())}}function yy(t){return typeof t=="number"&&!isNaN(t)}function gd(t){if(Et(t))return!1;var e=t.fns;return q(e)?gd(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function Xh(t,e){e.data.show!==!0&&r0(e)}var xw=Ke?{create:Xh,activate:Xh,remove:function(t,e){t.data.show!==!0?my(t,e):e()}}:{},bw=[iw,ow,fw,hw,yw,xw],Tw=bw.concat(nw),Sw=ZO({nodeOps:zO,modules:Tw});_o&&document.addEventListener("selectionchange",function(){var t=document.activeElement;t&&t.vmodel&&md(t,"input")});var Ey={inserted:function(t,e,r,n){r.tag==="select"?(n.elm&&!n.elm._vOptions?_n(r,"postpatch",function(){Ey.componentUpdated(t,e,r)}):Jh(t,e,r.context),t._vOptions=[].map.call(t.options,gu)):(r.tag==="textarea"||t0(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",Aw),t.addEventListener("compositionend",Qh),t.addEventListener("change",Qh),_o&&(t.vmodel=!0)))},componentUpdated:function(t,e,r){if(r.tag==="select"){Jh(t,e,r.context);var n=t._vOptions,i=t._vOptions=[].map.call(t.options,gu);if(i.some(function(u,f){return!ti(u,n[f])})){var a=t.multiple?e.value.some(function(u){return Zh(u,i)}):e.value!==e.oldValue&&Zh(e.value,i);a&&md(t,"change")}}}};function Jh(t,e,r){Yh(t,e),(ho||Y0)&&setTimeout(function(){Yh(t,e)},0)}function Yh(t,e,r){var n=e.value,i=t.multiple;if(!(i&&!Array.isArray(n))){for(var a,u,f=0,d=t.options.length;f<d;f++)if(u=t.options[f],i)a=Tm(n,gu(u))>-1,u.selected!==a&&(u.selected=a);else if(ti(gu(u),n)){t.selectedIndex!==f&&(t.selectedIndex=f);return}i||(t.selectedIndex=-1)}}function Zh(t,e){return e.every(function(r){return!ti(r,t)})}function gu(t){return"_value"in t?t._value:t.value}function Aw(t){t.target.composing=!0}function Qh(t){!t.target.composing||(t.target.composing=!1,md(t.target,"input"))}function md(t,e){var r=document.createEvent("HTMLEvents");r.initEvent(e,!0,!0),t.dispatchEvent(r)}function n0(t){return t.componentInstance&&(!t.data||!t.data.transition)?n0(t.componentInstance._vnode):t}var Ow={bind:function(t,e,r){var n=e.value;r=n0(r);var i=r.data&&r.data.transition,a=t.__vOriginalDisplay=t.style.display==="none"?"":t.style.display;n&&i?(r.data.show=!0,r0(r,function(){t.style.display=a})):t.style.display=n?a:"none"},update:function(t,e,r){var n=e.value,i=e.oldValue;if(!n!=!i){r=n0(r);var a=r.data&&r.data.transition;a?(r.data.show=!0,n?r0(r,function(){t.style.display=t.__vOriginalDisplay}):my(r,function(){t.style.display="none"})):t.style.display=n?t.__vOriginalDisplay:"none"}},unbind:function(t,e,r,n,i){i||(t.style.display=t.__vOriginalDisplay)}},ww={model:Ey,show:Ow},xy={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function i0(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?i0(Km(e.children)):t}function by(t){var e={},r=t.$options;for(var n in r.propsData)e[n]=t[n];var i=r._parentListeners;for(var n in i)e[Qn(n)]=i[n];return e}function t_(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function Cw(t){for(;t=t.parent;)if(t.data.transition)return!0}function Pw(t,e){return e.key===t.key&&e.tag===t.tag}var Rw=function(t){return t.tag||pa(t)},Dw=function(t){return t.name==="show"},Iw={name:"transition",props:xy,abstract:!0,render:function(t){var e=this,r=this.$slots.default;if(!!r&&(r=r.filter(Rw),!!r.length)){var n=this.mode,i=r[0];if(Cw(this.$vnode))return i;var a=i0(i);if(!a)return i;if(this._leaving)return t_(t,i);var u="__transition-".concat(this._uid,"-");a.key=a.key==null?a.isComment?u+"comment":u+a.tag:wa(a.key)?String(a.key).indexOf(u)===0?a.key:u+a.key:a.key;var f=(a.data||(a.data={})).transition=by(this),d=this._vnode,l=i0(d);if(a.data.directives&&a.data.directives.some(Dw)&&(a.data.show=!0),l&&l.data&&!Pw(a,l)&&!pa(l)&&!(l.componentInstance&&l.componentInstance._vnode.isComment)){var _=l.data.transition=Jt({},f);if(n==="out-in")return this._leaving=!0,_n(_,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),t_(t,i);if(n==="in-out"){if(pa(a))return d;var E,y=function(){E()};_n(f,"afterEnter",y),_n(f,"enterCancelled",y),_n(_,"delayLeave",function(b){E=b})}}return i}}},Ty=Jt({tag:String,moveClass:String},xy);delete Ty.mode;var Nw={props:Ty,beforeMount:function(){var t=this,e=this._update;this._update=function(r,n){var i=Ym(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,i(),e.call(t,r,n)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",r=Object.create(null),n=this.prevChildren=this.children,i=this.$slots.default||[],a=this.children=[],u=by(this),f=0;f<i.length;f++){var d=i[f];d.tag&&d.key!=null&&String(d.key).indexOf("__vlist")!==0&&(a.push(d),r[d.key]=d,(d.data||(d.data={})).transition=u)}if(n){for(var l=[],_=[],f=0;f<n.length;f++){var d=n[f];d.data.transition=u,d.data.pos=d.elm.getBoundingClientRect(),r[d.key]?l.push(d):_.push(d)}this.kept=t(e,null,l),this.removed=_}return t(e,null,a)},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";!t.length||!this.hasMove(t[0].elm,e)||(t.forEach(Lw),t.forEach(Bw),t.forEach(Mw),this._reflow=document.body.offsetHeight,t.forEach(function(r){if(r.data.moved){var n=r.elm,i=n.style;Jn(n,e),i.transform=i.WebkitTransform=i.transitionDuration="",n.addEventListener(vu,n._moveCb=function a(u){u&&u.target!==n||(!u||/transform$/.test(u.propertyName))&&(n.removeEventListener(vu,a),n._moveCb=null,Jr(n,e))})}}))},methods:{hasMove:function(t,e){if(!py)return!1;if(this._hasMove)return this._hasMove;var r=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach(function(i){ly(r,i)}),fy(r,e),r.style.display="none",this.$el.appendChild(r);var n=gy(r);return this.$el.removeChild(r),this._hasMove=n.hasTransform}}};function Lw(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function Bw(t){t.data.newPos=t.elm.getBoundingClientRect()}function Mw(t){var e=t.data.pos,r=t.data.newPos,n=e.left-r.left,i=e.top-r.top;if(n||i){t.data.moved=!0;var a=t.elm.style;a.transform=a.WebkitTransform="translate(".concat(n,"px,").concat(i,"px)"),a.transitionDuration="0s"}}var Fw={Transition:Iw,TransitionGroup:Nw};ue.config.mustUseProp=TO;ue.config.isReservedTag=ay;ue.config.isReservedAttr=xO;ue.config.getTagNamespace=NO;ue.config.isUnknownElement=LO;Jt(ue.options.directives,ww);Jt(ue.options.components,Fw);ue.prototype.__patch__=Ke?Sw:te;ue.prototype.$mount=function(t,e){return t=t&&Ke?BO(t):void 0,PA(this,t,e)};Ke&&setTimeout(function(){ir.devtools&&su&&su.emit("init",ue)},0);const oG=Object.freeze(Object.defineProperty({__proto__:null,EffectScope:ed,computed:_S,customRef:cS,default:ue,defineAsyncComponent:oA,defineComponent:EA,del:Q0,effectScope:ES,getCurrentInstance:JT,getCurrentScope:Fm,h:tA,inject:SS,isProxy:rS,isReactive:zn,isReadonly:fi,isRef:Ae,isShallow:cu,markRaw:nS,mergeDefaults:KS,nextTick:Ku,onActivated:pA,onBeforeMount:sA,onBeforeUnmount:lA,onBeforeUpdate:cA,onDeactivated:hA,onErrorCaptured:yA,onMounted:uA,onRenderTracked:vA,onRenderTriggered:gA,onScopeDispose:bS,onServerPrefetch:_A,onUnmounted:dA,onUpdated:fA,provide:TS,proxyRefs:uS,reactive:eS,readonly:Lm,ref:iS,set:Gu,shallowReactive:td,shallowReadonly:hS,shallowRef:oS,toRaw:Dm,toRef:Nm,toRefs:fS,triggerRef:aS,unref:sS,useAttrs:VS,useCssModule:nA,useCssVars:iA,useListeners:WS,useSlots:GS,version:Xm,watch:yS,watchEffect:gS,watchPostEffect:Mm,watchSyncEffect:mS},Symbol.toStringTag,{value:"Module"}));var $w=typeof global=="object"&&global&&global.Object===Object&&global;const Sy=$w;var kw=typeof self=="object"&&self&&self.Object===Object&&self,Uw=Sy||kw||Function("return this")();const Lr=Uw;var jw=Lr.Symbol;const Ir=jw;var Ay=Object.prototype,Hw=Ay.hasOwnProperty,Gw=Ay.toString,Uo=Ir?Ir.toStringTag:void 0;function Vw(t){var e=Hw.call(t,Uo),r=t[Uo];try{t[Uo]=void 0;var n=!0}catch(a){}var i=Gw.call(t);return n&&(e?t[Uo]=r:delete t[Uo]),i}var Ww=Object.prototype,Kw=Ww.toString;function qw(t){return Kw.call(t)}var zw="[object Null]",Xw="[object Undefined]",e_=Ir?Ir.toStringTag:void 0;function li(t){return t==null?t===void 0?Xw:zw:e_&&e_ in Object(t)?Vw(t):qw(t)}function di(t){return t!=null&&typeof t=="object"}var Jw="[object Symbol]";function yd(t){return typeof t=="symbol"||di(t)&&li(t)==Jw}function Oy(t,e){for(var r=-1,n=t==null?0:t.length,i=Array(n);++r<n;)i[r]=e(t[r],r,t);return i}var Yw=Array.isArray;const pi=Yw;var Zw=1/0,r_=Ir?Ir.prototype:void 0,n_=r_?r_.toString:void 0;function wy(t){if(typeof t=="string")return t;if(pi(t))return Oy(t,wy)+"";if(yd(t))return n_?n_.call(t):"";var e=t+"";return e=="0"&&1/t==-Zw?"-0":e}function Ia(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}function Qw(t){return t}var tC="[object AsyncFunction]",eC="[object Function]",rC="[object GeneratorFunction]",nC="[object Proxy]";function Cy(t){if(!Ia(t))return!1;var e=li(t);return e==eC||e==rC||e==tC||e==nC}var iC=Lr["__core-js_shared__"];const Gc=iC;var i_=function(){var t=/[^.]+$/.exec(Gc&&Gc.keys&&Gc.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function oC(t){return!!i_&&i_ in t}var aC=Function.prototype,sC=aC.toString;function hi(t){if(t!=null){try{return sC.call(t)}catch(e){}try{return t+""}catch(e){}}return""}var uC=/[\\^$.*+?()[\]{}|]/g,cC=/^\[object .+?Constructor\]$/,fC=Function.prototype,lC=Object.prototype,dC=fC.toString,pC=lC.hasOwnProperty,hC=RegExp("^"+dC.call(pC).replace(uC,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function _C(t){if(!Ia(t)||oC(t))return!1;var e=Cy(t)?hC:cC;return e.test(hi(t))}function vC(t,e){return t==null?void 0:t[e]}function _i(t,e){var r=vC(t,e);return _C(r)?r:void 0}var gC=_i(Lr,"WeakMap");const o0=gC;var o_=Object.create,mC=function(){function t(){}return function(e){if(!Ia(e))return{};if(o_)return o_(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}();const yC=mC;function EC(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}function xC(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r<n;)e[r]=t[r];return e}var bC=800,TC=16,SC=Date.now;function AC(t){var e=0,r=0;return function(){var n=SC(),i=TC-(n-r);if(r=n,i>0){if(++e>=bC)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}function OC(t){return function(){return t}}var wC=function(){try{var t=_i(Object,"defineProperty");return t({},"",{}),t}catch(e){}}();const mu=wC;var CC=mu?function(t,e){return mu(t,"toString",{configurable:!0,enumerable:!1,value:OC(e),writable:!0})}:Qw;const PC=CC;var RC=AC(PC);const DC=RC;function IC(t,e){for(var r=-1,n=t==null?0:t.length;++r<n&&e(t[r],r,t)!==!1;);return t}var NC=9007199254740991,LC=/^(?:0|[1-9]\d*)$/;function BC(t,e){var r=typeof t;return e=e==null?NC:e,!!e&&(r=="number"||r!="symbol"&&LC.test(t))&&t>-1&&t%1==0&&t<e}function Py(t,e,r){e=="__proto__"&&mu?mu(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}function Ry(t,e){return t===e||t!==t&&e!==e}var MC=Object.prototype,FC=MC.hasOwnProperty;function Dy(t,e,r){var n=t[e];(!(FC.call(t,e)&&Ry(n,r))||r===void 0&&!(e in t))&&Py(t,e,r)}function Na(t,e,r,n){var i=!r;r||(r={});for(var a=-1,u=e.length;++a<u;){var f=e[a],d=n?n(r[f],t[f],f,r,t):void 0;d===void 0&&(d=t[f]),i?Py(r,f,d):Dy(r,f,d)}return r}var a_=Math.max;function $C(t,e,r){return e=a_(e===void 0?t.length-1:e,0),function(){for(var n=arguments,i=-1,a=a_(n.length-e,0),u=Array(a);++i<a;)u[i]=n[e+i];i=-1;for(var f=Array(e+1);++i<e;)f[i]=n[i];return f[e]=r(u),EC(t,this,f)}}var kC=9007199254740991;function Iy(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=kC}function Ny(t){return t!=null&&Iy(t.length)&&!Cy(t)}var UC=Object.prototype;function Ed(t){var e=t&&t.constructor,r=typeof e=="function"&&e.prototype||UC;return t===r}function jC(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}var HC="[object Arguments]";function s_(t){return di(t)&&li(t)==HC}var Ly=Object.prototype,GC=Ly.hasOwnProperty,VC=Ly.propertyIsEnumerable,WC=s_(function(){return arguments}())?s_:function(t){return di(t)&&GC.call(t,"callee")&&!VC.call(t,"callee")};const By=WC;var Tt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function KC(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function qC(t){var e=t.default;if(typeof e=="function"){var r=function(){return e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach(function(n){var i=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return t[n]}})}),r}function zC(){return!1}var My=typeof exports=="object"&&exports&&!exports.nodeType&&exports,u_=My&&typeof module=="object"&&module&&!module.nodeType&&module,XC=u_&&u_.exports===My,c_=XC?Lr.Buffer:void 0,JC=c_?c_.isBuffer:void 0,YC=JC||zC;const Fy=YC;var ZC="[object Arguments]",QC="[object Array]",t2="[object Boolean]",e2="[object Date]",r2="[object Error]",n2="[object Function]",i2="[object Map]",o2="[object Number]",a2="[object Object]",s2="[object RegExp]",u2="[object Set]",c2="[object String]",f2="[object WeakMap]",l2="[object ArrayBuffer]",d2="[object DataView]",p2="[object Float32Array]",h2="[object Float64Array]",_2="[object Int8Array]",v2="[object Int16Array]",g2="[object Int32Array]",m2="[object Uint8Array]",y2="[object Uint8ClampedArray]",E2="[object Uint16Array]",x2="[object Uint32Array]",Yt={};Yt[p2]=Yt[h2]=Yt[_2]=Yt[v2]=Yt[g2]=Yt[m2]=Yt[y2]=Yt[E2]=Yt[x2]=!0;Yt[ZC]=Yt[QC]=Yt[l2]=Yt[t2]=Yt[d2]=Yt[e2]=Yt[r2]=Yt[n2]=Yt[i2]=Yt[o2]=Yt[a2]=Yt[s2]=Yt[u2]=Yt[c2]=Yt[f2]=!1;function b2(t){return di(t)&&Iy(t.length)&&!!Yt[li(t)]}function xd(t){return function(e){return t(e)}}var $y=typeof exports=="object"&&exports&&!exports.nodeType&&exports,ta=$y&&typeof module=="object"&&module&&!module.nodeType&&module,T2=ta&&ta.exports===$y,Vc=T2&&Sy.process,S2=function(){try{var t=ta&&ta.require&&ta.require("util").types;return t||Vc&&Vc.binding&&Vc.binding("util")}catch(e){}}();const oo=S2;var f_=oo&&oo.isTypedArray,A2=f_?xd(f_):b2;const O2=A2;var w2=Object.prototype,C2=w2.hasOwnProperty;function ky(t,e){var r=pi(t),n=!r&&By(t),i=!r&&!n&&Fy(t),a=!r&&!n&&!i&&O2(t),u=r||n||i||a,f=u?jC(t.length,String):[],d=f.length;for(var l in t)(e||C2.call(t,l))&&!(u&&(l=="length"||i&&(l=="offset"||l=="parent")||a&&(l=="buffer"||l=="byteLength"||l=="byteOffset")||BC(l,d)))&&f.push(l);return f}function Uy(t,e){return function(r){return t(e(r))}}var P2=Uy(Object.keys,Object);const R2=P2;var D2=Object.prototype,I2=D2.hasOwnProperty;function N2(t){if(!Ed(t))return R2(t);var e=[];for(var r in Object(t))I2.call(t,r)&&r!="constructor"&&e.push(r);return e}function bd(t){return Ny(t)?ky(t):N2(t)}function L2(t){var e=[];if(t!=null)for(var r in Object(t))e.push(r);return e}var B2=Object.prototype,M2=B2.hasOwnProperty;function F2(t){if(!Ia(t))return L2(t);var e=Ed(t),r=[];for(var n in t)n=="constructor"&&(e||!M2.call(t,n))||r.push(n);return r}function Td(t){return Ny(t)?ky(t,!0):F2(t)}var $2=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,k2=/^\w*$/;function U2(t,e){if(pi(t))return!1;var r=typeof t;return r=="number"||r=="symbol"||r=="boolean"||t==null||yd(t)?!0:k2.test(t)||!$2.test(t)||e!=null&&t in Object(e)}var j2=_i(Object,"create");const ma=j2;function H2(){this.__data__=ma?ma(null):{},this.size=0}function G2(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var V2="__lodash_hash_undefined__",W2=Object.prototype,K2=W2.hasOwnProperty;function q2(t){var e=this.__data__;if(ma){var r=e[t];return r===V2?void 0:r}return K2.call(e,t)?e[t]:void 0}var z2=Object.prototype,X2=z2.hasOwnProperty;function J2(t){var e=this.__data__;return ma?e[t]!==void 0:X2.call(e,t)}var Y2="__lodash_hash_undefined__";function Z2(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=ma&&e===void 0?Y2:e,this}function ni(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}ni.prototype.clear=H2;ni.prototype.delete=G2;ni.prototype.get=q2;ni.prototype.has=J2;ni.prototype.set=Z2;function Q2(){this.__data__=[],this.size=0}function qu(t,e){for(var r=t.length;r--;)if(Ry(t[r][0],e))return r;return-1}var tP=Array.prototype,eP=tP.splice;function rP(t){var e=this.__data__,r=qu(e,t);if(r<0)return!1;var n=e.length-1;return r==n?e.pop():eP.call(e,r,1),--this.size,!0}function nP(t){var e=this.__data__,r=qu(e,t);return r<0?void 0:e[r][1]}function iP(t){return qu(this.__data__,t)>-1}function oP(t,e){var r=this.__data__,n=qu(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this}function en(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}en.prototype.clear=Q2;en.prototype.delete=rP;en.prototype.get=nP;en.prototype.has=iP;en.prototype.set=oP;var aP=_i(Lr,"Map");const ya=aP;function sP(){this.size=0,this.__data__={hash:new ni,map:new(ya||en),string:new ni}}function uP(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}function zu(t,e){var r=t.__data__;return uP(e)?r[typeof e=="string"?"string":"hash"]:r.map}function cP(t){var e=zu(this,t).delete(t);return this.size-=e?1:0,e}function fP(t){return zu(this,t).get(t)}function lP(t){return zu(this,t).has(t)}function dP(t,e){var r=zu(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this}function An(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}An.prototype.clear=sP;An.prototype.delete=cP;An.prototype.get=fP;An.prototype.has=lP;An.prototype.set=dP;var pP="Expected a function";function Sd(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw new TypeError(pP);var r=function(){var n=arguments,i=e?e.apply(this,n):n[0],a=r.cache;if(a.has(i))return a.get(i);var u=t.apply(this,n);return r.cache=a.set(i,u)||a,u};return r.cache=new(Sd.Cache||An),r}Sd.Cache=An;var hP=500;function _P(t){var e=Sd(t,function(n){return r.size===hP&&r.clear(),n}),r=e.cache;return e}var vP=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,gP=/\\(\\)?/g,mP=_P(function(t){var e=[];return t.charCodeAt(0)===46&&e.push(""),t.replace(vP,function(r,n,i,a){e.push(i?a.replace(gP,"$1"):n||r)}),e});const yP=mP;function EP(t){return t==null?"":wy(t)}function Ad(t,e){return pi(t)?t:U2(t,e)?[t]:yP(EP(t))}var xP=1/0;function jy(t){if(typeof t=="string"||yd(t))return t;var e=t+"";return e=="0"&&1/t==-xP?"-0":e}function bP(t,e){e=Ad(e,t);for(var r=0,n=e.length;t!=null&&r<n;)t=t[jy(e[r++])];return r&&r==n?t:void 0}function Od(t,e){for(var r=-1,n=e.length,i=t.length;++r<n;)t[i+r]=e[r];return t}var l_=Ir?Ir.isConcatSpreadable:void 0;function TP(t){return pi(t)||By(t)||!!(l_&&t&&t[l_])}function Hy(t,e,r,n,i){var a=-1,u=t.length;for(r||(r=TP),i||(i=[]);++a<u;){var f=t[a];e>0&&r(f)?e>1?Hy(f,e-1,r,n,i):Od(i,f):n||(i[i.length]=f)}return i}function SP(t){var e=t==null?0:t.length;return e?Hy(t,1):[]}function AP(t){return DC($C(t,void 0,SP),t+"")}var OP=Uy(Object.getPrototypeOf,Object);const wd=OP;var wP="[object Object]",CP=Function.prototype,PP=Object.prototype,Gy=CP.toString,RP=PP.hasOwnProperty,DP=Gy.call(Object);function IP(t){if(!di(t)||li(t)!=wP)return!1;var e=wd(t);if(e===null)return!0;var r=RP.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&Gy.call(r)==DP}function NP(t,e,r){var n=-1,i=t.length;e<0&&(e=-e>i?0:i+e),r=r>i?i:r,r<0&&(r+=i),i=e>r?0:r-e>>>0,e>>>=0;for(var a=Array(i);++n<i;)a[n]=t[n+e];return a}function LP(){this.__data__=new en,this.size=0}function BP(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}function MP(t){return this.__data__.get(t)}function FP(t){return this.__data__.has(t)}var $P=200;function kP(t,e){var r=this.__data__;if(r instanceof en){var n=r.__data__;if(!ya||n.length<$P-1)return n.push([t,e]),this.size=++r.size,this;r=this.__data__=new An(n)}return r.set(t,e),this.size=r.size,this}function mo(t){var e=this.__data__=new en(t);this.size=e.size}mo.prototype.clear=LP;mo.prototype.delete=BP;mo.prototype.get=MP;mo.prototype.has=FP;mo.prototype.set=kP;function UP(t,e){return t&&Na(e,bd(e),t)}function jP(t,e){return t&&Na(e,Td(e),t)}var Vy=typeof exports=="object"&&exports&&!exports.nodeType&&exports,d_=Vy&&typeof module=="object"&&module&&!module.nodeType&&module,HP=d_&&d_.exports===Vy,p_=HP?Lr.Buffer:void 0,h_=p_?p_.allocUnsafe:void 0;function GP(t,e){if(e)return t.slice();var r=t.length,n=h_?h_(r):new t.constructor(r);return t.copy(n),n}function VP(t,e){for(var r=-1,n=t==null?0:t.length,i=0,a=[];++r<n;){var u=t[r];e(u,r,t)&&(a[i++]=u)}return a}function Wy(){return[]}var WP=Object.prototype,KP=WP.propertyIsEnumerable,__=Object.getOwnPropertySymbols,qP=__?function(t){return t==null?[]:(t=Object(t),VP(__(t),function(e){return KP.call(t,e)}))}:Wy;const Cd=qP;function zP(t,e){return Na(t,Cd(t),e)}var XP=Object.getOwnPropertySymbols,JP=XP?function(t){for(var e=[];t;)Od(e,Cd(t)),t=wd(t);return e}:Wy;const Ky=JP;function YP(t,e){return Na(t,Ky(t),e)}function qy(t,e,r){var n=e(t);return pi(t)?n:Od(n,r(t))}function ZP(t){return qy(t,bd,Cd)}function zy(t){return qy(t,Td,Ky)}var QP=_i(Lr,"DataView");const a0=QP;var tR=_i(Lr,"Promise");const s0=tR;var eR=_i(Lr,"Set");const u0=eR;var v_="[object Map]",rR="[object Object]",g_="[object Promise]",m_="[object Set]",y_="[object WeakMap]",E_="[object DataView]",nR=hi(a0),iR=hi(ya),oR=hi(s0),aR=hi(u0),sR=hi(o0),Un=li;(a0&&Un(new a0(new ArrayBuffer(1)))!=E_||ya&&Un(new ya)!=v_||s0&&Un(s0.resolve())!=g_||u0&&Un(new u0)!=m_||o0&&Un(new o0)!=y_)&&(Un=function(t){var e=li(t),r=e==rR?t.constructor:void 0,n=r?hi(r):"";if(n)switch(n){case nR:return E_;case iR:return v_;case oR:return g_;case aR:return m_;case sR:return y_}return e});const Pd=Un;var uR=Object.prototype,cR=uR.hasOwnProperty;function fR(t){var e=t.length,r=new t.constructor(e);return e&&typeof t[0]=="string"&&cR.call(t,"index")&&(r.index=t.index,r.input=t.input),r}var lR=Lr.Uint8Array;const x_=lR;function Rd(t){var e=new t.constructor(t.byteLength);return new x_(e).set(new x_(t)),e}function dR(t,e){var r=e?Rd(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}var pR=/\w*$/;function hR(t){var e=new t.constructor(t.source,pR.exec(t));return e.lastIndex=t.lastIndex,e}var b_=Ir?Ir.prototype:void 0,T_=b_?b_.valueOf:void 0;function _R(t){return T_?Object(T_.call(t)):{}}function vR(t,e){var r=e?Rd(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}var gR="[object Boolean]",mR="[object Date]",yR="[object Map]",ER="[object Number]",xR="[object RegExp]",bR="[object Set]",TR="[object String]",SR="[object Symbol]",AR="[object ArrayBuffer]",OR="[object DataView]",wR="[object Float32Array]",CR="[object Float64Array]",PR="[object Int8Array]",RR="[object Int16Array]",DR="[object Int32Array]",IR="[object Uint8Array]",NR="[object Uint8ClampedArray]",LR="[object Uint16Array]",BR="[object Uint32Array]";function MR(t,e,r){var n=t.constructor;switch(e){case AR:return Rd(t);case gR:case mR:return new n(+t);case OR:return dR(t,r);case wR:case CR:case PR:case RR:case DR:case IR:case NR:case LR:case BR:return vR(t,r);case yR:return new n;case ER:case TR:return new n(t);case xR:return hR(t);case bR:return new n;case SR:return _R(t)}}function FR(t){return typeof t.constructor=="function"&&!Ed(t)?yC(wd(t)):{}}var $R="[object Map]";function kR(t){return di(t)&&Pd(t)==$R}var S_=oo&&oo.isMap,UR=S_?xd(S_):kR;const jR=UR;var HR="[object Set]";function GR(t){return di(t)&&Pd(t)==HR}var A_=oo&&oo.isSet,VR=A_?xd(A_):GR;const WR=VR;var KR=1,qR=2,zR=4,Xy="[object Arguments]",XR="[object Array]",JR="[object Boolean]",YR="[object Date]",ZR="[object Error]",Jy="[object Function]",QR="[object GeneratorFunction]",tD="[object Map]",eD="[object Number]",Yy="[object Object]",rD="[object RegExp]",nD="[object Set]",iD="[object String]",oD="[object Symbol]",aD="[object WeakMap]",sD="[object ArrayBuffer]",uD="[object DataView]",cD="[object Float32Array]",fD="[object Float64Array]",lD="[object Int8Array]",dD="[object Int16Array]",pD="[object Int32Array]",hD="[object Uint8Array]",_D="[object Uint8ClampedArray]",vD="[object Uint16Array]",gD="[object Uint32Array]",Xt={};Xt[Xy]=Xt[XR]=Xt[sD]=Xt[uD]=Xt[JR]=Xt[YR]=Xt[cD]=Xt[fD]=Xt[lD]=Xt[dD]=Xt[pD]=Xt[tD]=Xt[eD]=Xt[Yy]=Xt[rD]=Xt[nD]=Xt[iD]=Xt[oD]=Xt[hD]=Xt[_D]=Xt[vD]=Xt[gD]=!0;Xt[ZR]=Xt[Jy]=Xt[aD]=!1;function $s(t,e,r,n,i,a){var u,f=e&KR,d=e&qR,l=e&zR;if(r&&(u=i?r(t,n,i,a):r(t)),u!==void 0)return u;if(!Ia(t))return t;var _=pi(t);if(_){if(u=fR(t),!f)return xC(t,u)}else{var E=Pd(t),y=E==Jy||E==QR;if(Fy(t))return GP(t,f);if(E==Yy||E==Xy||y&&!i){if(u=d||y?{}:FR(t),!f)return d?YP(t,jP(u,t)):zP(t,UP(u,t))}else{if(!Xt[E])return i?t:{};u=MR(t,E,f)}}a||(a=new mo);var b=a.get(t);if(b)return b;a.set(t,u),WR(t)?t.forEach(function(O){u.add($s(O,e,r,O,t,a))}):jR(t)&&t.forEach(function(O,I){u.set(I,$s(O,e,r,I,t,a))});var S=l?d?zy:ZP:d?Td:bd,C=_?void 0:S(t);return IC(C||t,function(O,I){C&&(I=O,O=t[I]),Dy(u,I,$s(O,e,r,I,t,a))}),u}function mD(t){var e=t==null?0:t.length;return e?t[e-1]:void 0}function yD(t,e){return e.length<2?t:bP(t,NP(e,0,-1))}function ED(t,e){return e=Ad(e,t),t=yD(t,e),t==null||delete t[jy(mD(e))]}function xD(t){return IP(t)?void 0:t}var bD=1,TD=2,SD=4,AD=AP(function(t,e){var r={};if(t==null)return r;var n=!1;e=Oy(e,function(a){return a=Ad(a,t),n||(n=a.length>1),a}),Na(t,zy(t),r),n&&(r=$s(r,bD|TD|SD,xD));for(var i=e.length;i--;)ED(r,e[i]);return r});const ks=AD;var yo=TypeError;const OD={},wD=Object.freeze(Object.defineProperty({__proto__:null,default:OD},Symbol.toStringTag,{value:"Module"})),Zy=qC(wD);var Dd=typeof Map=="function"&&Map.prototype,Wc=Object.getOwnPropertyDescriptor&&Dd?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,yu=Dd&&Wc&&typeof Wc.get=="function"?Wc.get:null,O_=Dd&&Map.prototype.forEach,Id=typeof Set=="function"&&Set.prototype,Kc=Object.getOwnPropertyDescriptor&&Id?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Eu=Id&&Kc&&typeof Kc.get=="function"?Kc.get:null,w_=Id&&Set.prototype.forEach,CD=typeof WeakMap=="function"&&WeakMap.prototype,ea=CD?WeakMap.prototype.has:null,PD=typeof WeakSet=="function"&&WeakSet.prototype,ra=PD?WeakSet.prototype.has:null,RD=typeof WeakRef=="function"&&WeakRef.prototype,C_=RD?WeakRef.prototype.deref:null,DD=Boolean.prototype.valueOf,ID=Object.prototype.toString,ND=Function.prototype.toString,LD=String.prototype.match,Nd=String.prototype.slice,gn=String.prototype.replace,BD=String.prototype.toUpperCase,P_=String.prototype.toLowerCase,Qy=RegExp.prototype.test,R_=Array.prototype.concat,Ar=Array.prototype.join,MD=Array.prototype.slice,D_=Math.floor,c0=typeof BigInt=="function"?BigInt.prototype.valueOf:null,qc=Object.getOwnPropertySymbols,f0=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,ao=typeof Symbol=="function"&&typeof Symbol.iterator=="object",na=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===ao?"object":"symbol")?Symbol.toStringTag:null,tE=Object.prototype.propertyIsEnumerable,I_=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function N_(t,e){if(t===1/0||t===-1/0||t!==t||t&&t>-1e3&&t<1e3||Qy.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof t=="number"){var n=t<0?-D_(-t):D_(t);if(n!==t){var i=String(n),a=Nd.call(e,i.length+1);return gn.call(i,r,"$&_")+"."+gn.call(gn.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return gn.call(e,r,"$&_")}var l0=Zy,L_=l0.custom,B_=nE(L_)?L_:null,eE={__proto__:null,double:'"',single:"'"},FD={__proto__:null,double:/(["\\])/g,single:/(['\\])/g},Xu=function t(e,r,n,i){var a=r||{};if(Vr(a,"quoteStyle")&&!Vr(eE,a.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Vr(a,"maxStringLength")&&(typeof a.maxStringLength=="number"?a.maxStringLength<0&&a.maxStringLength!==1/0:a.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=Vr(a,"customInspect")?a.customInspect:!0;if(typeof u!="boolean"&&u!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Vr(a,"indent")&&a.indent!==null&&a.indent!=="	"&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Vr(a,"numericSeparator")&&typeof a.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var f=a.numericSeparator;if(typeof e>"u")return"undefined";if(e===null)return"null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return oE(e,a);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var d=String(e);return f?N_(e,d):d}if(typeof e=="bigint"){var l=String(e)+"n";return f?N_(e,l):l}var _=typeof a.depth>"u"?5:a.depth;if(typeof n>"u"&&(n=0),n>=_&&_>0&&typeof e=="object")return d0(e)?"[Array]":"[Object]";var E=e6(a,n);if(typeof i>"u")i=[];else if(iE(i,e)>=0)return"[Circular]";function y(R,B,j){if(B&&(i=MD.call(i),i.push(B)),j){var G={depth:a.depth};return Vr(a,"quoteStyle")&&(G.quoteStyle=a.quoteStyle),t(R,G,n+1,i)}return t(R,a,n+1,i)}if(typeof e=="function"&&!M_(e)){var b=KD(e),S=_s(e,y);return"[Function"+(b?": "+b:" (anonymous)")+"]"+(S.length>0?" { "+Ar.call(S,", ")+" }":"")}if(nE(e)){var C=ao?gn.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):f0.call(e);return typeof e=="object"&&!ao?jo(C):C}if(ZD(e)){for(var O="<"+P_.call(String(e.nodeName)),I=e.attributes||[],T=0;T<I.length;T++)O+=" "+I[T].name+"="+rE($D(I[T].value),"double",a);return O+=">",e.childNodes&&e.childNodes.length&&(O+="..."),O+="</"+P_.call(String(e.nodeName))+">",O}if(d0(e)){if(e.length===0)return"[]";var w=_s(e,y);return E&&!t6(w)?"["+p0(w,E)+"]":"[ "+Ar.call(w,", ")+" ]"}if(UD(e)){var N=_s(e,y);return!("cause"in Error.prototype)&&"cause"in e&&!tE.call(e,"cause")?"{ ["+String(e)+"] "+Ar.call(R_.call("[cause]: "+y(e.cause),N),", ")+" }":N.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+Ar.call(N,", ")+" }"}if(typeof e=="object"&&u){if(B_&&typeof e[B_]=="function"&&l0)return l0(e,{depth:_-n});if(u!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(qD(e)){var L=[];return O_&&O_.call(e,function(R,B){L.push(y(B,e,!0)+" => "+y(R,e))}),F_("Map",yu.call(e),L,E)}if(JD(e)){var M=[];return w_&&w_.call(e,function(R){M.push(y(R,e))}),F_("Set",Eu.call(e),M,E)}if(zD(e))return zc("WeakMap");if(YD(e))return zc("WeakSet");if(XD(e))return zc("WeakRef");if(HD(e))return jo(y(Number(e)));if(VD(e))return jo(y(c0.call(e)));if(GD(e))return jo(DD.call(e));if(jD(e))return jo(y(String(e)));if(typeof window<"u"&&e===window)return"{ [object Window] }";if(typeof globalThis<"u"&&e===globalThis||typeof Tt<"u"&&e===Tt)return"{ [object globalThis] }";if(!kD(e)&&!M_(e)){var F=_s(e,y),U=I_?I_(e)===Object.prototype:e instanceof Object||e.constructor===Object,Z=e instanceof Object?"":"null prototype",$=!U&&na&&Object(e)===e&&na in e?Nd.call(On(e),8,-1):Z?"Object":"",k=U||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",D=k+($||Z?"["+Ar.call(R_.call([],$||[],Z||[]),": ")+"] ":"");return F.length===0?D+"{}":E?D+"{"+p0(F,E)+"}":D+"{ "+Ar.call(F,", ")+" }"}return String(e)};function rE(t,e,r){var n=r.quoteStyle||e,i=eE[n];return i+t+i}function $D(t){return gn.call(String(t),/"/g,"&quot;")}function vi(t){return!na||!(typeof t=="object"&&(na in t||typeof t[na]<"u"))}function d0(t){return On(t)==="[object Array]"&&vi(t)}function kD(t){return On(t)==="[object Date]"&&vi(t)}function M_(t){return On(t)==="[object RegExp]"&&vi(t)}function UD(t){return On(t)==="[object Error]"&&vi(t)}function jD(t){return On(t)==="[object String]"&&vi(t)}function HD(t){return On(t)==="[object Number]"&&vi(t)}function GD(t){return On(t)==="[object Boolean]"&&vi(t)}function nE(t){if(ao)return t&&typeof t=="object"&&t instanceof Symbol;if(typeof t=="symbol")return!0;if(!t||typeof t!="object"||!f0)return!1;try{return f0.call(t),!0}catch(e){}return!1}function VD(t){if(!t||typeof t!="object"||!c0)return!1;try{return c0.call(t),!0}catch(e){}return!1}var WD=Object.prototype.hasOwnProperty||function(t){return t in this};function Vr(t,e){return WD.call(t,e)}function On(t){return ID.call(t)}function KD(t){if(t.name)return t.name;var e=LD.call(ND.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}function iE(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}function qD(t){if(!yu||!t||typeof t!="object")return!1;try{yu.call(t);try{Eu.call(t)}catch(e){return!0}return t instanceof Map}catch(e){}return!1}function zD(t){if(!ea||!t||typeof t!="object")return!1;try{ea.call(t,ea);try{ra.call(t,ra)}catch(e){return!0}return t instanceof WeakMap}catch(e){}return!1}function XD(t){if(!C_||!t||typeof t!="object")return!1;try{return C_.call(t),!0}catch(e){}return!1}function JD(t){if(!Eu||!t||typeof t!="object")return!1;try{Eu.call(t);try{yu.call(t)}catch(e){return!0}return t instanceof Set}catch(e){}return!1}function YD(t){if(!ra||!t||typeof t!="object")return!1;try{ra.call(t,ra);try{ea.call(t,ea)}catch(e){return!0}return t instanceof WeakSet}catch(e){}return!1}function ZD(t){return!t||typeof t!="object"?!1:typeof HTMLElement<"u"&&t instanceof HTMLElement?!0:typeof t.nodeName=="string"&&typeof t.getAttribute=="function"}function oE(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return oE(Nd.call(t,0,e.maxStringLength),e)+n}var i=FD[e.quoteStyle||"single"];i.lastIndex=0;var a=gn.call(gn.call(t,i,"\\$1"),/[\x00-\x1f]/g,QD);return rE(a,"single",e)}function QD(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+BD.call(e.toString(16))}function jo(t){return"Object("+t+")"}function zc(t){return t+" { ? }"}function F_(t,e,r,n){var i=n?p0(r,n):Ar.call(r,", ");return t+" ("+e+") {"+i+"}"}function t6(t){for(var e=0;e<t.length;e++)if(iE(t[e],`
`)>=0)return!1;return!0}function e6(t,e){var r;if(t.indent==="	")r="	";else if(typeof t.indent=="number"&&t.indent>0)r=Ar.call(Array(t.indent+1)," ");else return null;return{base:r,prev:Ar.call(Array(e+1),r)}}function p0(t,e){if(t.length===0)return"";var r=`
`+e.prev+e.base;return r+Ar.call(t,","+r)+`
`+e.prev}function _s(t,e){var r=d0(t),n=[];if(r){n.length=t.length;for(var i=0;i<t.length;i++)n[i]=Vr(t,i)?e(t[i],t):""}var a=typeof qc=="function"?qc(t):[],u;if(ao){u={};for(var f=0;f<a.length;f++)u["$"+a[f]]=a[f]}for(var d in t)!Vr(t,d)||r&&String(Number(d))===d&&d<t.length||ao&&u["$"+d]instanceof Symbol||(Qy.call(/[^\w$]/,d)?n.push(e(d,t)+": "+e(t[d],t)):n.push(d+": "+e(t[d],t)));if(typeof qc=="function")for(var l=0;l<a.length;l++)tE.call(t,a[l])&&n.push("["+e(a[l])+"]: "+e(t[a[l]],t));return n}var r6=Xu,n6=yo,Ju=function(t,e,r){for(var n=t,i;(i=n.next)!=null;n=i)if(i.key===e)return n.next=i.next,r||(i.next=t.next,t.next=i),i},i6=function(t,e){if(!!t){var r=Ju(t,e);return r&&r.value}},o6=function(t,e,r){var n=Ju(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}},a6=function(t,e){return t?!!Ju(t,e):!1},s6=function(t,e){if(t)return Ju(t,e,!0)},u6=function(){var e,r={assert:function(n){if(!r.has(n))throw new n6("Side channel does not contain "+r6(n))},delete:function(n){var i=e&&e.next,a=s6(e,n);return a&&i&&i===a&&(e=void 0),!!a},get:function(n){return i6(e,n)},has:function(n){return a6(e,n)},set:function(n,i){e||(e={next:void 0}),o6(e,n,i)}};return r},aE=Object,c6=Error,f6=EvalError,l6=RangeError,d6=ReferenceError,p6=SyntaxError,h6=URIError,_6=Math.abs,v6=Math.floor,g6=Math.max,m6=Math.min,y6=Math.pow,E6=Math.round,x6=Number.isNaN||function(e){return e!==e},b6=x6,T6=function(e){return b6(e)||e===0?e:e<0?-1:1},S6=Object.getOwnPropertyDescriptor,Us=S6;if(Us)try{Us([],"length")}catch(t){Us=null}var sE=Us,js=Object.defineProperty||!1;if(js)try{js({},"a",{value:1})}catch(t){js=!1}var A6=js,Xc,$_;function O6(){return $_||($_=1,Xc=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;e[r]=i;for(var a in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var u=Object.getOwnPropertySymbols(e);if(u.length!==1||u[0]!==r||!Object.prototype.propertyIsEnumerable.call(e,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var f=Object.getOwnPropertyDescriptor(e,r);if(f.value!==i||f.enumerable!==!0)return!1}return!0}),Xc}var Jc,k_;function w6(){if(k_)return Jc;k_=1;var t=typeof Symbol<"u"&&Symbol,e=O6();return Jc=function(){return typeof t!="function"||typeof Symbol!="function"||typeof t("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e()},Jc}var Yc,U_;function uE(){return U_||(U_=1,Yc=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),Yc}var Zc,j_;function cE(){if(j_)return Zc;j_=1;var t=aE;return Zc=t.getPrototypeOf||null,Zc}var Qc,H_;function C6(){if(H_)return Qc;H_=1;var t="Function.prototype.bind called on incompatible ",e=Object.prototype.toString,r=Math.max,n="[object Function]",i=function(d,l){for(var _=[],E=0;E<d.length;E+=1)_[E]=d[E];for(var y=0;y<l.length;y+=1)_[y+d.length]=l[y];return _},a=function(d,l){for(var _=[],E=l||0,y=0;E<d.length;E+=1,y+=1)_[y]=d[E];return _},u=function(f,d){for(var l="",_=0;_<f.length;_+=1)l+=f[_],_+1<f.length&&(l+=d);return l};return Qc=function(d){var l=this;if(typeof l!="function"||e.apply(l)!==n)throw new TypeError(t+l);for(var _=a(arguments,1),E,y=function(){if(this instanceof E){var I=l.apply(this,i(_,arguments));return Object(I)===I?I:this}return l.apply(d,i(_,arguments))},b=r(0,l.length-_.length),S=[],C=0;C<b;C++)S[C]="$"+C;if(E=Function("binder","return function ("+u(S,",")+"){ return binder.apply(this,arguments); }")(y),l.prototype){var O=function(){};O.prototype=l.prototype,E.prototype=new O,O.prototype=null}return E},Qc}var tf,G_;function Yu(){if(G_)return tf;G_=1;var t=C6();return tf=Function.prototype.bind||t,tf}var ef,V_;function Ld(){return V_||(V_=1,ef=Function.prototype.call),ef}var rf,W_;function fE(){return W_||(W_=1,rf=Function.prototype.apply),rf}var P6=typeof Reflect<"u"&&Reflect&&Reflect.apply,R6=Yu(),D6=fE(),I6=Ld(),N6=P6,L6=N6||R6.call(I6,D6),B6=Yu(),M6=yo,F6=Ld(),$6=L6,lE=function(e){if(e.length<1||typeof e[0]!="function")throw new M6("a function is required");return $6(B6,F6,e)},nf,K_;function k6(){if(K_)return nf;K_=1;var t=lE,e=sE,r;try{r=[].__proto__===Array.prototype}catch(u){if(!u||typeof u!="object"||!("code"in u)||u.code!=="ERR_PROTO_ACCESS")throw u}var n=!!r&&e&&e(Object.prototype,"__proto__"),i=Object,a=i.getPrototypeOf;return nf=n&&typeof n.get=="function"?t([n.get]):typeof a=="function"?function(f){return a(f==null?f:i(f))}:!1,nf}var of,q_;function U6(){if(q_)return of;q_=1;var t=uE(),e=cE(),r=k6();return of=t?function(i){return t(i)}:e?function(i){if(!i||typeof i!="object"&&typeof i!="function")throw new TypeError("getProto: not an object");return e(i)}:r?function(i){return r(i)}:null,of}var af,z_;function j6(){if(z_)return af;z_=1;var t=Function.prototype.call,e=Object.prototype.hasOwnProperty,r=Yu();return af=r.call(t,e),af}var Ct,H6=aE,G6=c6,V6=f6,W6=l6,K6=d6,so=p6,Zi=yo,q6=h6,z6=_6,X6=v6,J6=g6,Y6=m6,Z6=y6,Q6=E6,t8=T6,dE=Function,sf=function(t){try{return dE('"use strict"; return ('+t+").constructor;")()}catch(e){}},Ea=sE,e8=A6,uf=function(){throw new Zi},r8=Ea?function(){try{return arguments.callee,uf}catch(t){try{return Ea(arguments,"callee").get}catch(e){return uf}}}():uf,Ri=w6()(),ye=U6(),n8=cE(),i8=uE(),pE=fE(),La=Ld(),ji={},o8=typeof Uint8Array>"u"||!ye?Ct:ye(Uint8Array),Yn={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?Ct:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?Ct:ArrayBuffer,"%ArrayIteratorPrototype%":Ri&&ye?ye([][Symbol.iterator]()):Ct,"%AsyncFromSyncIteratorPrototype%":Ct,"%AsyncFunction%":ji,"%AsyncGenerator%":ji,"%AsyncGeneratorFunction%":ji,"%AsyncIteratorPrototype%":ji,"%Atomics%":typeof Atomics>"u"?Ct:Atomics,"%BigInt%":typeof BigInt>"u"?Ct:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?Ct:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?Ct:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?Ct:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":G6,"%eval%":eval,"%EvalError%":V6,"%Float16Array%":typeof Float16Array>"u"?Ct:Float16Array,"%Float32Array%":typeof Float32Array>"u"?Ct:Float32Array,"%Float64Array%":typeof Float64Array>"u"?Ct:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?Ct:FinalizationRegistry,"%Function%":dE,"%GeneratorFunction%":ji,"%Int8Array%":typeof Int8Array>"u"?Ct:Int8Array,"%Int16Array%":typeof Int16Array>"u"?Ct:Int16Array,"%Int32Array%":typeof Int32Array>"u"?Ct:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Ri&&ye?ye(ye([][Symbol.iterator]())):Ct,"%JSON%":typeof JSON=="object"?JSON:Ct,"%Map%":typeof Map>"u"?Ct:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Ri||!ye?Ct:ye(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":H6,"%Object.getOwnPropertyDescriptor%":Ea,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?Ct:Promise,"%Proxy%":typeof Proxy>"u"?Ct:Proxy,"%RangeError%":W6,"%ReferenceError%":K6,"%Reflect%":typeof Reflect>"u"?Ct:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?Ct:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Ri||!ye?Ct:ye(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?Ct:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Ri&&ye?ye(""[Symbol.iterator]()):Ct,"%Symbol%":Ri?Symbol:Ct,"%SyntaxError%":so,"%ThrowTypeError%":r8,"%TypedArray%":o8,"%TypeError%":Zi,"%Uint8Array%":typeof Uint8Array>"u"?Ct:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?Ct:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?Ct:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?Ct:Uint32Array,"%URIError%":q6,"%WeakMap%":typeof WeakMap>"u"?Ct:WeakMap,"%WeakRef%":typeof WeakRef>"u"?Ct:WeakRef,"%WeakSet%":typeof WeakSet>"u"?Ct:WeakSet,"%Function.prototype.call%":La,"%Function.prototype.apply%":pE,"%Object.defineProperty%":e8,"%Object.getPrototypeOf%":n8,"%Math.abs%":z6,"%Math.floor%":X6,"%Math.max%":J6,"%Math.min%":Y6,"%Math.pow%":Z6,"%Math.round%":Q6,"%Math.sign%":t8,"%Reflect.getPrototypeOf%":i8};if(ye)try{null.error}catch(t){var a8=ye(ye(t));Yn["%Error.prototype%"]=a8}var s8=function t(e){var r;if(e==="%AsyncFunction%")r=sf("async function () {}");else if(e==="%GeneratorFunction%")r=sf("function* () {}");else if(e==="%AsyncGeneratorFunction%")r=sf("async function* () {}");else if(e==="%AsyncGenerator%"){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(e==="%AsyncIteratorPrototype%"){var i=t("%AsyncGenerator%");i&&ye&&(r=ye(i.prototype))}return Yn[e]=r,r},X_={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Ba=Yu(),xu=j6(),u8=Ba.call(La,Array.prototype.concat),c8=Ba.call(pE,Array.prototype.splice),J_=Ba.call(La,String.prototype.replace),bu=Ba.call(La,String.prototype.slice),f8=Ba.call(La,RegExp.prototype.exec),l8=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,d8=/\\(\\)?/g,p8=function(e){var r=bu(e,0,1),n=bu(e,-1);if(r==="%"&&n!=="%")throw new so("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new so("invalid intrinsic syntax, expected opening `%`");var i=[];return J_(e,l8,function(a,u,f,d){i[i.length]=f?J_(d,d8,"$1"):u||a}),i},h8=function(e,r){var n=e,i;if(xu(X_,n)&&(i=X_[n],n="%"+i[0]+"%"),xu(Yn,n)){var a=Yn[n];if(a===ji&&(a=s8(n)),typeof a>"u"&&!r)throw new Zi("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:a}}throw new so("intrinsic "+e+" does not exist!")},Bd=function(e,r){if(typeof e!="string"||e.length===0)throw new Zi("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new Zi('"allowMissing" argument must be a boolean');if(f8(/^%?[^%]*%?$/,e)===null)throw new so("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=p8(e),i=n.length>0?n[0]:"",a=h8("%"+i+"%",r),u=a.name,f=a.value,d=!1,l=a.alias;l&&(i=l[0],c8(n,u8([0,1],l)));for(var _=1,E=!0;_<n.length;_+=1){var y=n[_],b=bu(y,0,1),S=bu(y,-1);if((b==='"'||b==="'"||b==="`"||S==='"'||S==="'"||S==="`")&&b!==S)throw new so("property names with quotes must have matching quotes");if((y==="constructor"||!E)&&(d=!0),i+="."+y,u="%"+i+"%",xu(Yn,u))f=Yn[u];else if(f!=null){if(!(y in f)){if(!r)throw new Zi("base intrinsic for "+e+" exists, but the property is not available.");return}if(Ea&&_+1>=n.length){var C=Ea(f,y);E=!!C,E&&"get"in C&&!("originalValue"in C.get)?f=C.get:f=f[y]}else E=xu(f,y),f=f[y];E&&!d&&(Yn[u]=f)}}return f},hE=Bd,_E=lE,_8=_E([hE("%String.prototype.indexOf%")]),vE=function(e,r){var n=hE(e,!!r);return typeof n=="function"&&_8(e,".prototype.")>-1?_E([n]):n},v8=Bd,Ma=vE,g8=Xu,m8=yo,Y_=v8("%Map%",!0),y8=Ma("Map.prototype.get",!0),E8=Ma("Map.prototype.set",!0),x8=Ma("Map.prototype.has",!0),b8=Ma("Map.prototype.delete",!0),T8=Ma("Map.prototype.size",!0),gE=!!Y_&&function(){var e,r={assert:function(n){if(!r.has(n))throw new m8("Side channel does not contain "+g8(n))},delete:function(n){if(e){var i=b8(e,n);return T8(e)===0&&(e=void 0),i}return!1},get:function(n){if(e)return y8(e,n)},has:function(n){return e?x8(e,n):!1},set:function(n,i){e||(e=new Y_),E8(e,n,i)}};return r},S8=Bd,Zu=vE,A8=Xu,vs=gE,O8=yo,Di=S8("%WeakMap%",!0),w8=Zu("WeakMap.prototype.get",!0),C8=Zu("WeakMap.prototype.set",!0),P8=Zu("WeakMap.prototype.has",!0),R8=Zu("WeakMap.prototype.delete",!0),D8=Di?function(){var e,r,n={assert:function(i){if(!n.has(i))throw new O8("Side channel does not contain "+A8(i))},delete:function(i){if(Di&&i&&(typeof i=="object"||typeof i=="function")){if(e)return R8(e,i)}else if(vs&&r)return r.delete(i);return!1},get:function(i){return Di&&i&&(typeof i=="object"||typeof i=="function")&&e?w8(e,i):r&&r.get(i)},has:function(i){return Di&&i&&(typeof i=="object"||typeof i=="function")&&e?P8(e,i):!!r&&r.has(i)},set:function(i,a){Di&&i&&(typeof i=="object"||typeof i=="function")?(e||(e=new Di),C8(e,i,a)):vs&&(r||(r=vs()),r.set(i,a))}};return n}:vs,I8=yo,N8=Xu,L8=u6,B8=gE,M8=D8,F8=M8||B8||L8,$8=function(){var e,r={assert:function(n){if(!r.has(n))throw new I8("Side channel does not contain "+N8(n))},delete:function(n){return!!e&&e.delete(n)},get:function(n){return e&&e.get(n)},has:function(n){return!!e&&e.has(n)},set:function(n,i){e||(e=F8()),e.set(n,i)}};return r},k8=String.prototype.replace,U8=/%20/g,cf={RFC1738:"RFC1738",RFC3986:"RFC3986"},Md={default:cf.RFC3986,formatters:{RFC1738:function(t){return k8.call(t,U8,"+")},RFC3986:function(t){return String(t)}},RFC1738:cf.RFC1738,RFC3986:cf.RFC3986},j8=Md,ff=Object.prototype.hasOwnProperty,jn=Array.isArray,br=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),H8=function(e){for(;e.length>1;){var r=e.pop(),n=r.obj[r.prop];if(jn(n)){for(var i=[],a=0;a<n.length;++a)typeof n[a]<"u"&&i.push(n[a]);r.obj[r.prop]=i}}},mE=function(e,r){for(var n=r&&r.plainObjects?{__proto__:null}:{},i=0;i<e.length;++i)typeof e[i]<"u"&&(n[i]=e[i]);return n},G8=function t(e,r,n){if(!r)return e;if(typeof r!="object"&&typeof r!="function"){if(jn(e))e.push(r);else if(e&&typeof e=="object")(n&&(n.plainObjects||n.allowPrototypes)||!ff.call(Object.prototype,r))&&(e[r]=!0);else return[e,r];return e}if(!e||typeof e!="object")return[e].concat(r);var i=e;return jn(e)&&!jn(r)&&(i=mE(e,n)),jn(e)&&jn(r)?(r.forEach(function(a,u){if(ff.call(e,u)){var f=e[u];f&&typeof f=="object"&&a&&typeof a=="object"?e[u]=t(f,a,n):e.push(a)}else e[u]=a}),e):Object.keys(r).reduce(function(a,u){var f=r[u];return ff.call(a,u)?a[u]=t(a[u],f,n):a[u]=f,a},i)},V8=function(e,r){return Object.keys(r).reduce(function(n,i){return n[i]=r[i],n},e)},W8=function(t,e,r){var n=t.replace(/\+/g," ");if(r==="iso-8859-1")return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(i){return n}},lf=1024,K8=function(e,r,n,i,a){if(e.length===0)return e;var u=e;if(typeof e=="symbol"?u=Symbol.prototype.toString.call(e):typeof e!="string"&&(u=String(e)),n==="iso-8859-1")return escape(u).replace(/%u[0-9a-f]{4}/gi,function(b){return"%26%23"+parseInt(b.slice(2),16)+"%3B"});for(var f="",d=0;d<u.length;d+=lf){for(var l=u.length>=lf?u.slice(d,d+lf):u,_=[],E=0;E<l.length;++E){var y=l.charCodeAt(E);if(y===45||y===46||y===95||y===126||y>=48&&y<=57||y>=65&&y<=90||y>=97&&y<=122||a===j8.RFC1738&&(y===40||y===41)){_[_.length]=l.charAt(E);continue}if(y<128){_[_.length]=br[y];continue}if(y<2048){_[_.length]=br[192|y>>6]+br[128|y&63];continue}if(y<55296||y>=57344){_[_.length]=br[224|y>>12]+br[128|y>>6&63]+br[128|y&63];continue}E+=1,y=65536+((y&1023)<<10|l.charCodeAt(E)&1023),_[_.length]=br[240|y>>18]+br[128|y>>12&63]+br[128|y>>6&63]+br[128|y&63]}f+=_.join("")}return f},q8=function(e){for(var r=[{obj:{o:e},prop:"o"}],n=[],i=0;i<r.length;++i)for(var a=r[i],u=a.obj[a.prop],f=Object.keys(u),d=0;d<f.length;++d){var l=f[d],_=u[l];typeof _=="object"&&_!==null&&n.indexOf(_)===-1&&(r.push({obj:u,prop:l}),n.push(_))}return H8(r),e},z8=function(e){return Object.prototype.toString.call(e)==="[object RegExp]"},X8=function(e){return!e||typeof e!="object"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},J8=function(e,r){return[].concat(e,r)},Y8=function(e,r){if(jn(e)){for(var n=[],i=0;i<e.length;i+=1)n.push(r(e[i]));return n}return r(e)},yE={arrayToObject:mE,assign:V8,combine:J8,compact:q8,decode:W8,encode:K8,isBuffer:X8,isRegExp:z8,maybeMap:Y8,merge:G8},EE=$8,Hs=yE,ia=Md,Z8=Object.prototype.hasOwnProperty,xE={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,r){return e+"["+r+"]"},repeat:function(e){return e}},Tr=Array.isArray,Q8=Array.prototype.push,bE=function(t,e){Q8.apply(t,Tr(e)?e:[e])},t5=Date.prototype.toISOString,Z_=ia.default,_e={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:Hs.encode,encodeValuesOnly:!1,filter:void 0,format:Z_,formatter:ia.formatters[Z_],indices:!1,serializeDate:function(e){return t5.call(e)},skipNulls:!1,strictNullHandling:!1},e5=function(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="symbol"||typeof e=="bigint"},df={},r5=function t(e,r,n,i,a,u,f,d,l,_,E,y,b,S,C,O,I,T){for(var w=e,N=T,L=0,M=!1;(N=N.get(df))!==void 0&&!M;){var F=N.get(e);if(L+=1,typeof F<"u"){if(F===L)throw new RangeError("Cyclic object value");M=!0}typeof N.get(df)>"u"&&(L=0)}if(typeof _=="function"?w=_(r,w):w instanceof Date?w=b(w):n==="comma"&&Tr(w)&&(w=Hs.maybeMap(w,function(et){return et instanceof Date?b(et):et})),w===null){if(u)return l&&!O?l(r,_e.encoder,I,"key",S):r;w=""}if(e5(w)||Hs.isBuffer(w)){if(l){var U=O?r:l(r,_e.encoder,I,"key",S);return[C(U)+"="+C(l(w,_e.encoder,I,"value",S))]}return[C(r)+"="+C(String(w))]}var Z=[];if(typeof w>"u")return Z;var $;if(n==="comma"&&Tr(w))O&&l&&(w=Hs.maybeMap(w,l)),$=[{value:w.length>0?w.join(",")||null:void 0}];else if(Tr(_))$=_;else{var k=Object.keys(w);$=E?k.sort(E):k}var D=d?String(r).replace(/\./g,"%2E"):String(r),R=i&&Tr(w)&&w.length===1?D+"[]":D;if(a&&Tr(w)&&w.length===0)return R+"[]";for(var B=0;B<$.length;++B){var j=$[B],G=typeof j=="object"&&j&&typeof j.value<"u"?j.value:w[j];if(!(f&&G===null)){var Y=y&&d?String(j).replace(/\./g,"%2E"):String(j),K=Tr(w)?typeof n=="function"?n(R,Y):R:R+(y?"."+Y:"["+Y+"]");T.set(e,L);var tt=EE();tt.set(df,T),bE(Z,t(G,K,n,i,a,u,f,d,n==="comma"&&O&&Tr(w)?null:l,_,E,y,b,S,C,O,I,tt))}}return Z},n5=function(e){if(!e)return _e;if(typeof e.allowEmptyArrays<"u"&&typeof e.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof e.encodeDotInKeys<"u"&&typeof e.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(e.encoder!==null&&typeof e.encoder<"u"&&typeof e.encoder!="function")throw new TypeError("Encoder has to be a function.");var r=e.charset||_e.charset;if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=ia.default;if(typeof e.format<"u"){if(!Z8.call(ia.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var i=ia.formatters[n],a=_e.filter;(typeof e.filter=="function"||Tr(e.filter))&&(a=e.filter);var u;if(e.arrayFormat in xE?u=e.arrayFormat:"indices"in e?u=e.indices?"indices":"repeat":u=_e.arrayFormat,"commaRoundTrip"in e&&typeof e.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var f=typeof e.allowDots>"u"?e.encodeDotInKeys===!0?!0:_e.allowDots:!!e.allowDots;return{addQueryPrefix:typeof e.addQueryPrefix=="boolean"?e.addQueryPrefix:_e.addQueryPrefix,allowDots:f,allowEmptyArrays:typeof e.allowEmptyArrays=="boolean"?!!e.allowEmptyArrays:_e.allowEmptyArrays,arrayFormat:u,charset:r,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:_e.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:typeof e.delimiter>"u"?_e.delimiter:e.delimiter,encode:typeof e.encode=="boolean"?e.encode:_e.encode,encodeDotInKeys:typeof e.encodeDotInKeys=="boolean"?e.encodeDotInKeys:_e.encodeDotInKeys,encoder:typeof e.encoder=="function"?e.encoder:_e.encoder,encodeValuesOnly:typeof e.encodeValuesOnly=="boolean"?e.encodeValuesOnly:_e.encodeValuesOnly,filter:a,format:n,formatter:i,serializeDate:typeof e.serializeDate=="function"?e.serializeDate:_e.serializeDate,skipNulls:typeof e.skipNulls=="boolean"?e.skipNulls:_e.skipNulls,sort:typeof e.sort=="function"?e.sort:null,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:_e.strictNullHandling}},i5=function(t,e){var r=t,n=n5(e),i,a;typeof n.filter=="function"?(a=n.filter,r=a("",r)):Tr(n.filter)&&(a=n.filter,i=a);var u=[];if(typeof r!="object"||r===null)return"";var f=xE[n.arrayFormat],d=f==="comma"&&n.commaRoundTrip;i||(i=Object.keys(r)),n.sort&&i.sort(n.sort);for(var l=EE(),_=0;_<i.length;++_){var E=i[_],y=r[E];n.skipNulls&&y===null||bE(u,r5(y,E,f,d,n.allowEmptyArrays,n.strictNullHandling,n.skipNulls,n.encodeDotInKeys,n.encode?n.encoder:null,n.filter,n.sort,n.allowDots,n.serializeDate,n.format,n.formatter,n.encodeValuesOnly,n.charset,l))}var b=u.join(n.delimiter),S=n.addQueryPrefix===!0?"?":"";return n.charsetSentinel&&(n.charset==="iso-8859-1"?S+="utf8=%26%2310003%3B&":S+="utf8=%E2%9C%93&"),b.length>0?S+b:""},ii=yE,h0=Object.prototype.hasOwnProperty,Q_=Array.isArray,oe={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:ii.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},o5=function(t){return t.replace(/&#(\d+);/g,function(e,r){return String.fromCharCode(parseInt(r,10))})},TE=function(t,e,r){if(t&&typeof t=="string"&&e.comma&&t.indexOf(",")>-1)return t.split(",");if(e.throwOnLimitExceeded&&r>=e.arrayLimit)throw new RangeError("Array limit exceeded. Only "+e.arrayLimit+" element"+(e.arrayLimit===1?"":"s")+" allowed in an array.");return t},a5="utf8=%26%2310003%3B",s5="utf8=%E2%9C%93",u5=function(e,r){var n={__proto__:null},i=r.ignoreQueryPrefix?e.replace(/^\?/,""):e;i=i.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var a=r.parameterLimit===1/0?void 0:r.parameterLimit,u=i.split(r.delimiter,r.throwOnLimitExceeded?a+1:a);if(r.throwOnLimitExceeded&&u.length>a)throw new RangeError("Parameter limit exceeded. Only "+a+" parameter"+(a===1?"":"s")+" allowed.");var f=-1,d,l=r.charset;if(r.charsetSentinel)for(d=0;d<u.length;++d)u[d].indexOf("utf8=")===0&&(u[d]===s5?l="utf-8":u[d]===a5&&(l="iso-8859-1"),f=d,d=u.length);for(d=0;d<u.length;++d)if(d!==f){var _=u[d],E=_.indexOf("]="),y=E===-1?_.indexOf("="):E+1,b,S;y===-1?(b=r.decoder(_,oe.decoder,l,"key"),S=r.strictNullHandling?null:""):(b=r.decoder(_.slice(0,y),oe.decoder,l,"key"),S=ii.maybeMap(TE(_.slice(y+1),r,Q_(n[b])?n[b].length:0),function(O){return r.decoder(O,oe.decoder,l,"value")})),S&&r.interpretNumericEntities&&l==="iso-8859-1"&&(S=o5(String(S))),_.indexOf("[]=")>-1&&(S=Q_(S)?[S]:S);var C=h0.call(n,b);C&&r.duplicates==="combine"?n[b]=ii.combine(n[b],S):(!C||r.duplicates==="last")&&(n[b]=S)}return n},c5=function(t,e,r,n){var i=0;if(t.length>0&&t[t.length-1]==="[]"){var a=t.slice(0,-1).join("");i=Array.isArray(e)&&e[a]?e[a].length:0}for(var u=n?e:TE(e,r,i),f=t.length-1;f>=0;--f){var d,l=t[f];if(l==="[]"&&r.parseArrays)d=r.allowEmptyArrays&&(u===""||r.strictNullHandling&&u===null)?[]:ii.combine([],u);else{d=r.plainObjects?{__proto__:null}:{};var _=l.charAt(0)==="["&&l.charAt(l.length-1)==="]"?l.slice(1,-1):l,E=r.decodeDotInKeys?_.replace(/%2E/g,"."):_,y=parseInt(E,10);!r.parseArrays&&E===""?d={0:u}:!isNaN(y)&&l!==E&&String(y)===E&&y>=0&&r.parseArrays&&y<=r.arrayLimit?(d=[],d[y]=u):E!=="__proto__"&&(d[E]=u)}u=d}return u},f5=function(e,r,n,i){if(!!e){var a=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,u=/(\[[^[\]]*])/,f=/(\[[^[\]]*])/g,d=n.depth>0&&u.exec(a),l=d?a.slice(0,d.index):a,_=[];if(l){if(!n.plainObjects&&h0.call(Object.prototype,l)&&!n.allowPrototypes)return;_.push(l)}for(var E=0;n.depth>0&&(d=f.exec(a))!==null&&E<n.depth;){if(E+=1,!n.plainObjects&&h0.call(Object.prototype,d[1].slice(1,-1))&&!n.allowPrototypes)return;_.push(d[1])}if(d){if(n.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+n.depth+" and strictDepth is true");_.push("["+a.slice(d.index)+"]")}return c5(_,r,n,i)}},l5=function(e){if(!e)return oe;if(typeof e.allowEmptyArrays<"u"&&typeof e.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof e.decodeDotInKeys<"u"&&typeof e.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(e.decoder!==null&&typeof e.decoder<"u"&&typeof e.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(typeof e.throwOnLimitExceeded<"u"&&typeof e.throwOnLimitExceeded!="boolean")throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var r=typeof e.charset>"u"?oe.charset:e.charset,n=typeof e.duplicates>"u"?oe.duplicates:e.duplicates;if(n!=="combine"&&n!=="first"&&n!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var i=typeof e.allowDots>"u"?e.decodeDotInKeys===!0?!0:oe.allowDots:!!e.allowDots;return{allowDots:i,allowEmptyArrays:typeof e.allowEmptyArrays=="boolean"?!!e.allowEmptyArrays:oe.allowEmptyArrays,allowPrototypes:typeof e.allowPrototypes=="boolean"?e.allowPrototypes:oe.allowPrototypes,allowSparse:typeof e.allowSparse=="boolean"?e.allowSparse:oe.allowSparse,arrayLimit:typeof e.arrayLimit=="number"?e.arrayLimit:oe.arrayLimit,charset:r,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:oe.charsetSentinel,comma:typeof e.comma=="boolean"?e.comma:oe.comma,decodeDotInKeys:typeof e.decodeDotInKeys=="boolean"?e.decodeDotInKeys:oe.decodeDotInKeys,decoder:typeof e.decoder=="function"?e.decoder:oe.decoder,delimiter:typeof e.delimiter=="string"||ii.isRegExp(e.delimiter)?e.delimiter:oe.delimiter,depth:typeof e.depth=="number"||e.depth===!1?+e.depth:oe.depth,duplicates:n,ignoreQueryPrefix:e.ignoreQueryPrefix===!0,interpretNumericEntities:typeof e.interpretNumericEntities=="boolean"?e.interpretNumericEntities:oe.interpretNumericEntities,parameterLimit:typeof e.parameterLimit=="number"?e.parameterLimit:oe.parameterLimit,parseArrays:e.parseArrays!==!1,plainObjects:typeof e.plainObjects=="boolean"?e.plainObjects:oe.plainObjects,strictDepth:typeof e.strictDepth=="boolean"?!!e.strictDepth:oe.strictDepth,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:oe.strictNullHandling,throwOnLimitExceeded:typeof e.throwOnLimitExceeded=="boolean"?e.throwOnLimitExceeded:!1}},d5=function(t,e){var r=l5(e);if(t===""||t===null||typeof t>"u")return r.plainObjects?{__proto__:null}:{};for(var n=typeof t=="string"?u5(t,r):t,i=r.plainObjects?{__proto__:null}:{},a=Object.keys(n),u=0;u<a.length;++u){var f=a[u],d=f5(f,n[f],r,typeof t=="string");i=ii.merge(i,d,r)}return r.allowSparse===!0?i:ii.compact(i)},p5=i5,h5=d5,_5=Md,v5={formats:_5,parse:h5,stringify:p5},g5="0123456789abcdefghijklmnopqrstuvwxyz";function Wr(t){return g5.charAt(t)}function m5(t,e){return t&e}function gs(t,e){return t|e}function tv(t,e){return t^e}function ev(t,e){return t&~e}function y5(t){if(t==0)return-1;var e=0;return(t&65535)==0&&(t>>=16,e+=16),(t&255)==0&&(t>>=8,e+=8),(t&15)==0&&(t>>=4,e+=4),(t&3)==0&&(t>>=2,e+=2),(t&1)==0&&++e,e}function E5(t){for(var e=0;t!=0;)t&=t-1,++e;return e}var Hi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",SE="=";function Tu(t){var e,r,n="";for(e=0;e+3<=t.length;e+=3)r=parseInt(t.substring(e,e+3),16),n+=Hi.charAt(r>>6)+Hi.charAt(r&63);for(e+1==t.length?(r=parseInt(t.substring(e,e+1),16),n+=Hi.charAt(r<<2)):e+2==t.length&&(r=parseInt(t.substring(e,e+2),16),n+=Hi.charAt(r>>2)+Hi.charAt((r&3)<<4));(n.length&3)>0;)n+=SE;return n}function rv(t){var e="",r,n=0,i=0;for(r=0;r<t.length&&t.charAt(r)!=SE;++r){var a=Hi.indexOf(t.charAt(r));a<0||(n==0?(e+=Wr(a>>2),i=a&3,n=1):n==1?(e+=Wr(i<<2|a>>4),i=a&15,n=2):n==2?(e+=Wr(i),e+=Wr(a>>2),i=a&3,n=3):(e+=Wr(i<<2|a>>4),e+=Wr(a&15),n=0))}return n==1&&(e+=Wr(i<<2)),e}var Ii,x5={decode:function(t){var e;if(Ii===void 0){var r="0123456789ABCDEF",n=` \f
\r	\xA0\u2028\u2029`;for(Ii={},e=0;e<16;++e)Ii[r.charAt(e)]=e;for(r=r.toLowerCase(),e=10;e<16;++e)Ii[r.charAt(e)]=e;for(e=0;e<n.length;++e)Ii[n.charAt(e)]=-1}var i=[],a=0,u=0;for(e=0;e<t.length;++e){var f=t.charAt(e);if(f=="=")break;if(f=Ii[f],f!=-1){if(f===void 0)throw new Error("Illegal character at offset "+e);a|=f,++u>=2?(i[i.length]=a,a=0,u=0):a<<=4}}if(u)throw new Error("Hex encoding incomplete: 4 bits missing");return i}},$n,_0={decode:function(t){var e;if($n===void 0){var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=`= \f
\r	\xA0\u2028\u2029`;for($n=Object.create(null),e=0;e<64;++e)$n[r.charAt(e)]=e;for($n["-"]=62,$n._=63,e=0;e<n.length;++e)$n[n.charAt(e)]=-1}var i=[],a=0,u=0;for(e=0;e<t.length;++e){var f=t.charAt(e);if(f=="=")break;if(f=$n[f],f!=-1){if(f===void 0)throw new Error("Illegal character at offset "+e);a|=f,++u>=4?(i[i.length]=a>>16,i[i.length]=a>>8&255,i[i.length]=a&255,a=0,u=0):a<<=6}}switch(u){case 1:throw new Error("Base64 encoding incomplete: at least 2 bits missing");case 2:i[i.length]=a>>10;break;case 3:i[i.length]=a>>16,i[i.length]=a>>8&255;break}return i},re:/-----BEGIN [^-]+-----([A-Za-z0-9+\/=\s]+)-----END [^-]+-----|begin-base64[^\n]+\n([A-Za-z0-9+\/=\s]+)====/,unarmor:function(t){var e=_0.re.exec(t);if(e)if(e[1])t=e[1];else if(e[2])t=e[2];else throw new Error("RegExp out of sync");return _0.decode(t)}},Ni=1e13,Jo=function(){function t(e){this.buf=[+e||0]}return t.prototype.mulAdd=function(e,r){var n=this.buf,i=n.length,a,u;for(a=0;a<i;++a)u=n[a]*e+r,u<Ni?r=0:(r=0|u/Ni,u-=r*Ni),n[a]=u;r>0&&(n[a]=r)},t.prototype.sub=function(e){var r=this.buf,n=r.length,i,a;for(i=0;i<n;++i)a=r[i]-e,a<0?(a+=Ni,e=1):e=0,r[i]=a;for(;r[r.length-1]===0;)r.pop()},t.prototype.toString=function(e){if((e||10)!=10)throw new Error("only base 10 is supported");for(var r=this.buf,n=r[r.length-1].toString(),i=r.length-2;i>=0;--i)n+=(Ni+r[i]).toString().substring(1);return n},t.prototype.valueOf=function(){for(var e=this.buf,r=0,n=e.length-1;n>=0;--n)r=r*Ni+e[n];return r},t.prototype.simplify=function(){var e=this.buf;return e.length==1?e[0]:this},t}(),AE="\u2026",b5=/^(\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/,T5=/^(\d\d\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/;function Qi(t,e){return t.length>e&&(t=t.substring(0,e)+AE),t}var pf=function(){function t(e,r){this.hexDigits="0123456789ABCDEF",e instanceof t?(this.enc=e.enc,this.pos=e.pos):(this.enc=e,this.pos=r)}return t.prototype.get=function(e){if(e===void 0&&(e=this.pos++),e>=this.enc.length)throw new Error("Requesting byte offset ".concat(e," on a stream of length ").concat(this.enc.length));return typeof this.enc=="string"?this.enc.charCodeAt(e):this.enc[e]},t.prototype.hexByte=function(e){return this.hexDigits.charAt(e>>4&15)+this.hexDigits.charAt(e&15)},t.prototype.hexDump=function(e,r,n){for(var i="",a=e;a<r;++a)if(i+=this.hexByte(this.get(a)),n!==!0)switch(a&15){case 7:i+="  ";break;case 15:i+=`
`;break;default:i+=" "}return i},t.prototype.isASCII=function(e,r){for(var n=e;n<r;++n){var i=this.get(n);if(i<32||i>176)return!1}return!0},t.prototype.parseStringISO=function(e,r){for(var n="",i=e;i<r;++i)n+=String.fromCharCode(this.get(i));return n},t.prototype.parseStringUTF=function(e,r){for(var n="",i=e;i<r;){var a=this.get(i++);a<128?n+=String.fromCharCode(a):a>191&&a<224?n+=String.fromCharCode((a&31)<<6|this.get(i++)&63):n+=String.fromCharCode((a&15)<<12|(this.get(i++)&63)<<6|this.get(i++)&63)}return n},t.prototype.parseStringBMP=function(e,r){for(var n="",i,a,u=e;u<r;)i=this.get(u++),a=this.get(u++),n+=String.fromCharCode(i<<8|a);return n},t.prototype.parseTime=function(e,r,n){var i=this.parseStringISO(e,r),a=(n?b5:T5).exec(i);return a?(n&&(a[1]=+a[1],a[1]+=+a[1]<70?2e3:1900),i=a[1]+"-"+a[2]+"-"+a[3]+" "+a[4],a[5]&&(i+=":"+a[5],a[6]&&(i+=":"+a[6],a[7]&&(i+="."+a[7]))),a[8]&&(i+=" UTC",a[8]!="Z"&&(i+=a[8],a[9]&&(i+=":"+a[9]))),i):"Unrecognized time: "+i},t.prototype.parseInteger=function(e,r){for(var n=this.get(e),i=n>127,a=i?255:0,u,f="";n==a&&++e<r;)n=this.get(e);if(u=r-e,u===0)return i?-1:0;if(u>4){for(f=n,u<<=3;((+f^a)&128)==0;)f=+f<<1,--u;f="("+u+` bit)
`}i&&(n=n-256);for(var d=new Jo(n),l=e+1;l<r;++l)d.mulAdd(256,this.get(l));return f+d.toString()},t.prototype.parseBitString=function(e,r,n){for(var i=this.get(e),a=(r-e-1<<3)-i,u="("+a+` bit)
`,f="",d=e+1;d<r;++d){for(var l=this.get(d),_=d==r-1?i:0,E=7;E>=_;--E)f+=l>>E&1?"1":"0";if(f.length>n)return u+Qi(f,n)}return u+f},t.prototype.parseOctetString=function(e,r,n){if(this.isASCII(e,r))return Qi(this.parseStringISO(e,r),n);var i=r-e,a="("+i+` byte)
`;n/=2,i>n&&(r=e+n);for(var u=e;u<r;++u)a+=this.hexByte(this.get(u));return i>n&&(a+=AE),a},t.prototype.parseOID=function(e,r,n){for(var i="",a=new Jo,u=0,f=e;f<r;++f){var d=this.get(f);if(a.mulAdd(128,d&127),u+=7,!(d&128)){if(i==="")if(a=a.simplify(),a instanceof Jo)a.sub(80),i="2."+a.toString();else{var l=a<80?a<40?0:1:2;i=l+"."+(a-l*40)}else i+="."+a.toString();if(i.length>n)return Qi(i,n);a=new Jo,u=0}}return u>0&&(i+=".incomplete"),i},t}(),S5=function(){function t(e,r,n,i,a){if(!(i instanceof nv))throw new Error("Invalid tag value.");this.stream=e,this.header=r,this.length=n,this.tag=i,this.sub=a}return t.prototype.typeName=function(){switch(this.tag.tagClass){case 0:switch(this.tag.tagNumber){case 0:return"EOC";case 1:return"BOOLEAN";case 2:return"INTEGER";case 3:return"BIT_STRING";case 4:return"OCTET_STRING";case 5:return"NULL";case 6:return"OBJECT_IDENTIFIER";case 7:return"ObjectDescriptor";case 8:return"EXTERNAL";case 9:return"REAL";case 10:return"ENUMERATED";case 11:return"EMBEDDED_PDV";case 12:return"UTF8String";case 16:return"SEQUENCE";case 17:return"SET";case 18:return"NumericString";case 19:return"PrintableString";case 20:return"TeletexString";case 21:return"VideotexString";case 22:return"IA5String";case 23:return"UTCTime";case 24:return"GeneralizedTime";case 25:return"GraphicString";case 26:return"VisibleString";case 27:return"GeneralString";case 28:return"UniversalString";case 30:return"BMPString"}return"Universal_"+this.tag.tagNumber.toString();case 1:return"Application_"+this.tag.tagNumber.toString();case 2:return"["+this.tag.tagNumber.toString()+"]";case 3:return"Private_"+this.tag.tagNumber.toString()}},t.prototype.content=function(e){if(this.tag===void 0)return null;e===void 0&&(e=1/0);var r=this.posContent(),n=Math.abs(this.length);if(!this.tag.isUniversal())return this.sub!==null?"("+this.sub.length+" elem)":this.stream.parseOctetString(r,r+n,e);switch(this.tag.tagNumber){case 1:return this.stream.get(r)===0?"false":"true";case 2:return this.stream.parseInteger(r,r+n);case 3:return this.sub?"("+this.sub.length+" elem)":this.stream.parseBitString(r,r+n,e);case 4:return this.sub?"("+this.sub.length+" elem)":this.stream.parseOctetString(r,r+n,e);case 6:return this.stream.parseOID(r,r+n,e);case 16:case 17:return this.sub!==null?"("+this.sub.length+" elem)":"(no elem)";case 12:return Qi(this.stream.parseStringUTF(r,r+n),e);case 18:case 19:case 20:case 21:case 22:case 26:return Qi(this.stream.parseStringISO(r,r+n),e);case 30:return Qi(this.stream.parseStringBMP(r,r+n),e);case 23:case 24:return this.stream.parseTime(r,r+n,this.tag.tagNumber==23)}return null},t.prototype.toString=function(){return this.typeName()+"@"+this.stream.pos+"[header:"+this.header+",length:"+this.length+",sub:"+(this.sub===null?"null":this.sub.length)+"]"},t.prototype.toPrettyString=function(e){e===void 0&&(e="");var r=e+this.typeName()+" @"+this.stream.pos;if(this.length>=0&&(r+="+"),r+=this.length,this.tag.tagConstructed?r+=" (constructed)":this.tag.isUniversal()&&(this.tag.tagNumber==3||this.tag.tagNumber==4)&&this.sub!==null&&(r+=" (encapsulates)"),r+=`
`,this.sub!==null){e+="  ";for(var n=0,i=this.sub.length;n<i;++n)r+=this.sub[n].toPrettyString(e)}return r},t.prototype.posStart=function(){return this.stream.pos},t.prototype.posContent=function(){return this.stream.pos+this.header},t.prototype.posEnd=function(){return this.stream.pos+this.header+Math.abs(this.length)},t.prototype.toHexString=function(){return this.stream.hexDump(this.posStart(),this.posEnd(),!0)},t.decodeLength=function(e){var r=e.get(),n=r&127;if(n==r)return n;if(n>6)throw new Error("Length over 48 bits not supported at position "+(e.pos-1));if(n===0)return null;r=0;for(var i=0;i<n;++i)r=r*256+e.get();return r},t.prototype.getHexStringValue=function(){var e=this.toHexString(),r=this.header*2,n=this.length*2;return e.substr(r,n)},t.decode=function(e){var r;e instanceof pf?r=e:r=new pf(e,0);var n=new pf(r),i=new nv(r),a=t.decodeLength(r),u=r.pos,f=u-n.pos,d=null,l=function(){var E=[];if(a!==null){for(var y=u+a;r.pos<y;)E[E.length]=t.decode(r);if(r.pos!=y)throw new Error("Content size is not correct for container starting at offset "+u)}else try{for(;;){var b=t.decode(r);if(b.tag.isEOC())break;E[E.length]=b}a=u-r.pos}catch(S){throw new Error("Exception while decoding undefined length content: "+S)}return E};if(i.tagConstructed)d=l();else if(i.isUniversal()&&(i.tagNumber==3||i.tagNumber==4))try{if(i.tagNumber==3&&r.get()!=0)throw new Error("BIT STRINGs with unused bits cannot encapsulate.");d=l();for(var _=0;_<d.length;++_)if(d[_].tag.isEOC())throw new Error("EOC is not supposed to be actual content.")}catch(E){d=null}if(d===null){if(a===null)throw new Error("We can't skip over an invalid tag with undefined length at offset "+u);r.pos=u+Math.abs(a)}return new t(n,f,a,i,d)},t}(),nv=function(){function t(e){var r=e.get();if(this.tagClass=r>>6,this.tagConstructed=(r&32)!==0,this.tagNumber=r&31,this.tagNumber==31){var n=new Jo;do r=e.get(),n.mulAdd(128,r&127);while(r&128);this.tagNumber=n.simplify()}}return t.prototype.isUniversal=function(){return this.tagClass===0},t.prototype.isEOC=function(){return this.tagClass===0&&this.tagNumber===0},t}(),yn,A5=0xdeadbeefcafe,iv=(A5&16777215)==15715070,Fe=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],O5=(1<<26)/Fe[Fe.length-1],At=function(){function t(e,r,n){e!=null&&(typeof e=="number"?this.fromNumber(e,r,n):r==null&&typeof e!="string"?this.fromString(e,256):this.fromString(e,r))}return t.prototype.toString=function(e){if(this.s<0)return"-"+this.negate().toString(e);var r;if(e==16)r=4;else if(e==8)r=3;else if(e==2)r=1;else if(e==32)r=5;else if(e==4)r=2;else return this.toRadix(e);var n=(1<<r)-1,i,a=!1,u="",f=this.t,d=this.DB-f*this.DB%r;if(f-- >0)for(d<this.DB&&(i=this[f]>>d)>0&&(a=!0,u=Wr(i));f>=0;)d<r?(i=(this[f]&(1<<d)-1)<<r-d,i|=this[--f]>>(d+=this.DB-r)):(i=this[f]>>(d-=r)&n,d<=0&&(d+=this.DB,--f)),i>0&&(a=!0),a&&(u+=Wr(i));return a?u:"0"},t.prototype.negate=function(){var e=Pt();return t.ZERO.subTo(this,e),e},t.prototype.abs=function(){return this.s<0?this.negate():this},t.prototype.compareTo=function(e){var r=this.s-e.s;if(r!=0)return r;var n=this.t;if(r=n-e.t,r!=0)return this.s<0?-r:r;for(;--n>=0;)if((r=this[n]-e[n])!=0)return r;return 0},t.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+ms(this[this.t-1]^this.s&this.DM)},t.prototype.mod=function(e){var r=Pt();return this.abs().divRemTo(e,null,r),this.s<0&&r.compareTo(t.ZERO)>0&&e.subTo(r,r),r},t.prototype.modPowInt=function(e,r){var n;return e<256||r.isEven()?n=new ov(r):n=new av(r),this.exp(e,n)},t.prototype.clone=function(){var e=Pt();return this.copyTo(e),e},t.prototype.intValue=function(){if(this.s<0){if(this.t==1)return this[0]-this.DV;if(this.t==0)return-1}else{if(this.t==1)return this[0];if(this.t==0)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]},t.prototype.byteValue=function(){return this.t==0?this.s:this[0]<<24>>24},t.prototype.shortValue=function(){return this.t==0?this.s:this[0]<<16>>16},t.prototype.signum=function(){return this.s<0?-1:this.t<=0||this.t==1&&this[0]<=0?0:1},t.prototype.toByteArray=function(){var e=this.t,r=[];r[0]=this.s;var n=this.DB-e*this.DB%8,i,a=0;if(e-- >0)for(n<this.DB&&(i=this[e]>>n)!=(this.s&this.DM)>>n&&(r[a++]=i|this.s<<this.DB-n);e>=0;)n<8?(i=(this[e]&(1<<n)-1)<<8-n,i|=this[--e]>>(n+=this.DB-8)):(i=this[e]>>(n-=8)&255,n<=0&&(n+=this.DB,--e)),(i&128)!=0&&(i|=-256),a==0&&(this.s&128)!=(i&128)&&++a,(a>0||i!=this.s)&&(r[a++]=i);return r},t.prototype.equals=function(e){return this.compareTo(e)==0},t.prototype.min=function(e){return this.compareTo(e)<0?this:e},t.prototype.max=function(e){return this.compareTo(e)>0?this:e},t.prototype.and=function(e){var r=Pt();return this.bitwiseTo(e,m5,r),r},t.prototype.or=function(e){var r=Pt();return this.bitwiseTo(e,gs,r),r},t.prototype.xor=function(e){var r=Pt();return this.bitwiseTo(e,tv,r),r},t.prototype.andNot=function(e){var r=Pt();return this.bitwiseTo(e,ev,r),r},t.prototype.not=function(){for(var e=Pt(),r=0;r<this.t;++r)e[r]=this.DM&~this[r];return e.t=this.t,e.s=~this.s,e},t.prototype.shiftLeft=function(e){var r=Pt();return e<0?this.rShiftTo(-e,r):this.lShiftTo(e,r),r},t.prototype.shiftRight=function(e){var r=Pt();return e<0?this.lShiftTo(-e,r):this.rShiftTo(e,r),r},t.prototype.getLowestSetBit=function(){for(var e=0;e<this.t;++e)if(this[e]!=0)return e*this.DB+y5(this[e]);return this.s<0?this.t*this.DB:-1},t.prototype.bitCount=function(){for(var e=0,r=this.s&this.DM,n=0;n<this.t;++n)e+=E5(this[n]^r);return e},t.prototype.testBit=function(e){var r=Math.floor(e/this.DB);return r>=this.t?this.s!=0:(this[r]&1<<e%this.DB)!=0},t.prototype.setBit=function(e){return this.changeBit(e,gs)},t.prototype.clearBit=function(e){return this.changeBit(e,ev)},t.prototype.flipBit=function(e){return this.changeBit(e,tv)},t.prototype.add=function(e){var r=Pt();return this.addTo(e,r),r},t.prototype.subtract=function(e){var r=Pt();return this.subTo(e,r),r},t.prototype.multiply=function(e){var r=Pt();return this.multiplyTo(e,r),r},t.prototype.divide=function(e){var r=Pt();return this.divRemTo(e,r,null),r},t.prototype.remainder=function(e){var r=Pt();return this.divRemTo(e,null,r),r},t.prototype.divideAndRemainder=function(e){var r=Pt(),n=Pt();return this.divRemTo(e,r,n),[r,n]},t.prototype.modPow=function(e,r){var n=e.bitLength(),i,a=cn(1),u;if(n<=0)return a;n<18?i=1:n<48?i=3:n<144?i=4:n<768?i=5:i=6,n<8?u=new ov(r):r.isEven()?u=new C5(r):u=new av(r);var f=[],d=3,l=i-1,_=(1<<i)-1;if(f[1]=u.convert(this),i>1){var E=Pt();for(u.sqrTo(f[1],E);d<=_;)f[d]=Pt(),u.mulTo(E,f[d-2],f[d]),d+=2}var y=e.t-1,b,S=!0,C=Pt(),O;for(n=ms(e[y])-1;y>=0;){for(n>=l?b=e[y]>>n-l&_:(b=(e[y]&(1<<n+1)-1)<<l-n,y>0&&(b|=e[y-1]>>this.DB+n-l)),d=i;(b&1)==0;)b>>=1,--d;if((n-=d)<0&&(n+=this.DB,--y),S)f[b].copyTo(a),S=!1;else{for(;d>1;)u.sqrTo(a,C),u.sqrTo(C,a),d-=2;d>0?u.sqrTo(a,C):(O=a,a=C,C=O),u.mulTo(C,f[b],a)}for(;y>=0&&(e[y]&1<<n)==0;)u.sqrTo(a,C),O=a,a=C,C=O,--n<0&&(n=this.DB-1,--y)}return u.revert(a)},t.prototype.modInverse=function(e){var r=e.isEven();if(this.isEven()&&r||e.signum()==0)return t.ZERO;for(var n=e.clone(),i=this.clone(),a=cn(1),u=cn(0),f=cn(0),d=cn(1);n.signum()!=0;){for(;n.isEven();)n.rShiftTo(1,n),r?((!a.isEven()||!u.isEven())&&(a.addTo(this,a),u.subTo(e,u)),a.rShiftTo(1,a)):u.isEven()||u.subTo(e,u),u.rShiftTo(1,u);for(;i.isEven();)i.rShiftTo(1,i),r?((!f.isEven()||!d.isEven())&&(f.addTo(this,f),d.subTo(e,d)),f.rShiftTo(1,f)):d.isEven()||d.subTo(e,d),d.rShiftTo(1,d);n.compareTo(i)>=0?(n.subTo(i,n),r&&a.subTo(f,a),u.subTo(d,u)):(i.subTo(n,i),r&&f.subTo(a,f),d.subTo(u,d))}if(i.compareTo(t.ONE)!=0)return t.ZERO;if(d.compareTo(e)>=0)return d.subtract(e);if(d.signum()<0)d.addTo(e,d);else return d;return d.signum()<0?d.add(e):d},t.prototype.pow=function(e){return this.exp(e,new w5)},t.prototype.gcd=function(e){var r=this.s<0?this.negate():this.clone(),n=e.s<0?e.negate():e.clone();if(r.compareTo(n)<0){var i=r;r=n,n=i}var a=r.getLowestSetBit(),u=n.getLowestSetBit();if(u<0)return r;for(a<u&&(u=a),u>0&&(r.rShiftTo(u,r),n.rShiftTo(u,n));r.signum()>0;)(a=r.getLowestSetBit())>0&&r.rShiftTo(a,r),(a=n.getLowestSetBit())>0&&n.rShiftTo(a,n),r.compareTo(n)>=0?(r.subTo(n,r),r.rShiftTo(1,r)):(n.subTo(r,n),n.rShiftTo(1,n));return u>0&&n.lShiftTo(u,n),n},t.prototype.isProbablePrime=function(e){var r,n=this.abs();if(n.t==1&&n[0]<=Fe[Fe.length-1]){for(r=0;r<Fe.length;++r)if(n[0]==Fe[r])return!0;return!1}if(n.isEven())return!1;for(r=1;r<Fe.length;){for(var i=Fe[r],a=r+1;a<Fe.length&&i<O5;)i*=Fe[a++];for(i=n.modInt(i);r<a;)if(i%Fe[r++]==0)return!1}return n.millerRabin(e)},t.prototype.copyTo=function(e){for(var r=this.t-1;r>=0;--r)e[r]=this[r];e.t=this.t,e.s=this.s},t.prototype.fromInt=function(e){this.t=1,this.s=e<0?-1:0,e>0?this[0]=e:e<-1?this[0]=e+this.DV:this.t=0},t.prototype.fromString=function(e,r){var n;if(r==16)n=4;else if(r==8)n=3;else if(r==256)n=8;else if(r==2)n=1;else if(r==32)n=5;else if(r==4)n=2;else{this.fromRadix(e,r);return}this.t=0,this.s=0;for(var i=e.length,a=!1,u=0;--i>=0;){var f=n==8?+e[i]&255:uv(e,i);if(f<0){e.charAt(i)=="-"&&(a=!0);continue}a=!1,u==0?this[this.t++]=f:u+n>this.DB?(this[this.t-1]|=(f&(1<<this.DB-u)-1)<<u,this[this.t++]=f>>this.DB-u):this[this.t-1]|=f<<u,u+=n,u>=this.DB&&(u-=this.DB)}n==8&&(+e[0]&128)!=0&&(this.s=-1,u>0&&(this[this.t-1]|=(1<<this.DB-u)-1<<u)),this.clamp(),a&&t.ZERO.subTo(this,this)},t.prototype.clamp=function(){for(var e=this.s&this.DM;this.t>0&&this[this.t-1]==e;)--this.t},t.prototype.dlShiftTo=function(e,r){var n;for(n=this.t-1;n>=0;--n)r[n+e]=this[n];for(n=e-1;n>=0;--n)r[n]=0;r.t=this.t+e,r.s=this.s},t.prototype.drShiftTo=function(e,r){for(var n=e;n<this.t;++n)r[n-e]=this[n];r.t=Math.max(this.t-e,0),r.s=this.s},t.prototype.lShiftTo=function(e,r){for(var n=e%this.DB,i=this.DB-n,a=(1<<i)-1,u=Math.floor(e/this.DB),f=this.s<<n&this.DM,d=this.t-1;d>=0;--d)r[d+u+1]=this[d]>>i|f,f=(this[d]&a)<<n;for(var d=u-1;d>=0;--d)r[d]=0;r[u]=f,r.t=this.t+u+1,r.s=this.s,r.clamp()},t.prototype.rShiftTo=function(e,r){r.s=this.s;var n=Math.floor(e/this.DB);if(n>=this.t){r.t=0;return}var i=e%this.DB,a=this.DB-i,u=(1<<i)-1;r[0]=this[n]>>i;for(var f=n+1;f<this.t;++f)r[f-n-1]|=(this[f]&u)<<a,r[f-n]=this[f]>>i;i>0&&(r[this.t-n-1]|=(this.s&u)<<a),r.t=this.t-n,r.clamp()},t.prototype.subTo=function(e,r){for(var n=0,i=0,a=Math.min(e.t,this.t);n<a;)i+=this[n]-e[n],r[n++]=i&this.DM,i>>=this.DB;if(e.t<this.t){for(i-=e.s;n<this.t;)i+=this[n],r[n++]=i&this.DM,i>>=this.DB;i+=this.s}else{for(i+=this.s;n<e.t;)i-=e[n],r[n++]=i&this.DM,i>>=this.DB;i-=e.s}r.s=i<0?-1:0,i<-1?r[n++]=this.DV+i:i>0&&(r[n++]=i),r.t=n,r.clamp()},t.prototype.multiplyTo=function(e,r){var n=this.abs(),i=e.abs(),a=n.t;for(r.t=a+i.t;--a>=0;)r[a]=0;for(a=0;a<i.t;++a)r[a+n.t]=n.am(0,i[a],r,a,0,n.t);r.s=0,r.clamp(),this.s!=e.s&&t.ZERO.subTo(r,r)},t.prototype.squareTo=function(e){for(var r=this.abs(),n=e.t=2*r.t;--n>=0;)e[n]=0;for(n=0;n<r.t-1;++n){var i=r.am(n,r[n],e,2*n,0,1);(e[n+r.t]+=r.am(n+1,2*r[n],e,2*n+1,i,r.t-n-1))>=r.DV&&(e[n+r.t]-=r.DV,e[n+r.t+1]=1)}e.t>0&&(e[e.t-1]+=r.am(n,r[n],e,2*n,0,1)),e.s=0,e.clamp()},t.prototype.divRemTo=function(e,r,n){var i=e.abs();if(!(i.t<=0)){var a=this.abs();if(a.t<i.t){r!=null&&r.fromInt(0),n!=null&&this.copyTo(n);return}n==null&&(n=Pt());var u=Pt(),f=this.s,d=e.s,l=this.DB-ms(i[i.t-1]);l>0?(i.lShiftTo(l,u),a.lShiftTo(l,n)):(i.copyTo(u),a.copyTo(n));var _=u.t,E=u[_-1];if(E!=0){var y=E*(1<<this.F1)+(_>1?u[_-2]>>this.F2:0),b=this.FV/y,S=(1<<this.F1)/y,C=1<<this.F2,O=n.t,I=O-_,T=r==null?Pt():r;for(u.dlShiftTo(I,T),n.compareTo(T)>=0&&(n[n.t++]=1,n.subTo(T,n)),t.ONE.dlShiftTo(_,T),T.subTo(u,u);u.t<_;)u[u.t++]=0;for(;--I>=0;){var w=n[--O]==E?this.DM:Math.floor(n[O]*b+(n[O-1]+C)*S);if((n[O]+=u.am(0,w,n,I,0,_))<w)for(u.dlShiftTo(I,T),n.subTo(T,n);n[O]<--w;)n.subTo(T,n)}r!=null&&(n.drShiftTo(_,r),f!=d&&t.ZERO.subTo(r,r)),n.t=_,n.clamp(),l>0&&n.rShiftTo(l,n),f<0&&t.ZERO.subTo(n,n)}}},t.prototype.invDigit=function(){if(this.t<1)return 0;var e=this[0];if((e&1)==0)return 0;var r=e&3;return r=r*(2-(e&15)*r)&15,r=r*(2-(e&255)*r)&255,r=r*(2-((e&65535)*r&65535))&65535,r=r*(2-e*r%this.DV)%this.DV,r>0?this.DV-r:-r},t.prototype.isEven=function(){return(this.t>0?this[0]&1:this.s)==0},t.prototype.exp=function(e,r){if(e>4294967295||e<1)return t.ONE;var n=Pt(),i=Pt(),a=r.convert(this),u=ms(e)-1;for(a.copyTo(n);--u>=0;)if(r.sqrTo(n,i),(e&1<<u)>0)r.mulTo(i,a,n);else{var f=n;n=i,i=f}return r.revert(n)},t.prototype.chunkSize=function(e){return Math.floor(Math.LN2*this.DB/Math.log(e))},t.prototype.toRadix=function(e){if(e==null&&(e=10),this.signum()==0||e<2||e>36)return"0";var r=this.chunkSize(e),n=Math.pow(e,r),i=cn(n),a=Pt(),u=Pt(),f="";for(this.divRemTo(i,a,u);a.signum()>0;)f=(n+u.intValue()).toString(e).substr(1)+f,a.divRemTo(i,a,u);return u.intValue().toString(e)+f},t.prototype.fromRadix=function(e,r){this.fromInt(0),r==null&&(r=10);for(var n=this.chunkSize(r),i=Math.pow(r,n),a=!1,u=0,f=0,d=0;d<e.length;++d){var l=uv(e,d);if(l<0){e.charAt(d)=="-"&&this.signum()==0&&(a=!0);continue}f=r*f+l,++u>=n&&(this.dMultiply(i),this.dAddOffset(f,0),u=0,f=0)}u>0&&(this.dMultiply(Math.pow(r,u)),this.dAddOffset(f,0)),a&&t.ZERO.subTo(this,this)},t.prototype.fromNumber=function(e,r,n){if(typeof r=="number")if(e<2)this.fromInt(1);else for(this.fromNumber(e,n),this.testBit(e-1)||this.bitwiseTo(t.ONE.shiftLeft(e-1),gs,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(r);)this.dAddOffset(2,0),this.bitLength()>e&&this.subTo(t.ONE.shiftLeft(e-1),this);else{var i=[],a=e&7;i.length=(e>>3)+1,r.nextBytes(i),a>0?i[0]&=(1<<a)-1:i[0]=0,this.fromString(i,256)}},t.prototype.bitwiseTo=function(e,r,n){var i,a,u=Math.min(e.t,this.t);for(i=0;i<u;++i)n[i]=r(this[i],e[i]);if(e.t<this.t){for(a=e.s&this.DM,i=u;i<this.t;++i)n[i]=r(this[i],a);n.t=this.t}else{for(a=this.s&this.DM,i=u;i<e.t;++i)n[i]=r(a,e[i]);n.t=e.t}n.s=r(this.s,e.s),n.clamp()},t.prototype.changeBit=function(e,r){var n=t.ONE.shiftLeft(e);return this.bitwiseTo(n,r,n),n},t.prototype.addTo=function(e,r){for(var n=0,i=0,a=Math.min(e.t,this.t);n<a;)i+=this[n]+e[n],r[n++]=i&this.DM,i>>=this.DB;if(e.t<this.t){for(i+=e.s;n<this.t;)i+=this[n],r[n++]=i&this.DM,i>>=this.DB;i+=this.s}else{for(i+=this.s;n<e.t;)i+=e[n],r[n++]=i&this.DM,i>>=this.DB;i+=e.s}r.s=i<0?-1:0,i>0?r[n++]=i:i<-1&&(r[n++]=this.DV+i),r.t=n,r.clamp()},t.prototype.dMultiply=function(e){this[this.t]=this.am(0,e-1,this,0,0,this.t),++this.t,this.clamp()},t.prototype.dAddOffset=function(e,r){if(e!=0){for(;this.t<=r;)this[this.t++]=0;for(this[r]+=e;this[r]>=this.DV;)this[r]-=this.DV,++r>=this.t&&(this[this.t++]=0),++this[r]}},t.prototype.multiplyLowerTo=function(e,r,n){var i=Math.min(this.t+e.t,r);for(n.s=0,n.t=i;i>0;)n[--i]=0;for(var a=n.t-this.t;i<a;++i)n[i+this.t]=this.am(0,e[i],n,i,0,this.t);for(var a=Math.min(e.t,r);i<a;++i)this.am(0,e[i],n,i,0,r-i);n.clamp()},t.prototype.multiplyUpperTo=function(e,r,n){--r;var i=n.t=this.t+e.t-r;for(n.s=0;--i>=0;)n[i]=0;for(i=Math.max(r-this.t,0);i<e.t;++i)n[this.t+i-r]=this.am(r-i,e[i],n,0,0,this.t+i-r);n.clamp(),n.drShiftTo(1,n)},t.prototype.modInt=function(e){if(e<=0)return 0;var r=this.DV%e,n=this.s<0?e-1:0;if(this.t>0)if(r==0)n=this[0]%e;else for(var i=this.t-1;i>=0;--i)n=(r*n+this[i])%e;return n},t.prototype.millerRabin=function(e){var r=this.subtract(t.ONE),n=r.getLowestSetBit();if(n<=0)return!1;var i=r.shiftRight(n);e=e+1>>1,e>Fe.length&&(e=Fe.length);for(var a=Pt(),u=0;u<e;++u){a.fromInt(Fe[Math.floor(Math.random()*Fe.length)]);var f=a.modPow(i,this);if(f.compareTo(t.ONE)!=0&&f.compareTo(r)!=0){for(var d=1;d++<n&&f.compareTo(r)!=0;)if(f=f.modPowInt(2,this),f.compareTo(t.ONE)==0)return!1;if(f.compareTo(r)!=0)return!1}}return!0},t.prototype.square=function(){var e=Pt();return this.squareTo(e),e},t.prototype.gcda=function(e,r){var n=this.s<0?this.negate():this.clone(),i=e.s<0?e.negate():e.clone();if(n.compareTo(i)<0){var a=n;n=i,i=a}var u=n.getLowestSetBit(),f=i.getLowestSetBit();if(f<0){r(n);return}u<f&&(f=u),f>0&&(n.rShiftTo(f,n),i.rShiftTo(f,i));var d=function(){(u=n.getLowestSetBit())>0&&n.rShiftTo(u,n),(u=i.getLowestSetBit())>0&&i.rShiftTo(u,i),n.compareTo(i)>=0?(n.subTo(i,n),n.rShiftTo(1,n)):(i.subTo(n,i),i.rShiftTo(1,i)),n.signum()>0?setTimeout(d,0):(f>0&&i.lShiftTo(f,i),setTimeout(function(){r(i)},0))};setTimeout(d,10)},t.prototype.fromNumberAsync=function(e,r,n,i){if(typeof r=="number")if(e<2)this.fromInt(1);else{this.fromNumber(e,n),this.testBit(e-1)||this.bitwiseTo(t.ONE.shiftLeft(e-1),gs,this),this.isEven()&&this.dAddOffset(1,0);var a=this,u=function(){a.dAddOffset(2,0),a.bitLength()>e&&a.subTo(t.ONE.shiftLeft(e-1),a),a.isProbablePrime(r)?setTimeout(function(){i()},0):setTimeout(u,0)};setTimeout(u,0)}else{var f=[],d=e&7;f.length=(e>>3)+1,r.nextBytes(f),d>0?f[0]&=(1<<d)-1:f[0]=0,this.fromString(f,256)}},t}(),w5=function(){function t(){}return t.prototype.convert=function(e){return e},t.prototype.revert=function(e){return e},t.prototype.mulTo=function(e,r,n){e.multiplyTo(r,n)},t.prototype.sqrTo=function(e,r){e.squareTo(r)},t}(),ov=function(){function t(e){this.m=e}return t.prototype.convert=function(e){return e.s<0||e.compareTo(this.m)>=0?e.mod(this.m):e},t.prototype.revert=function(e){return e},t.prototype.reduce=function(e){e.divRemTo(this.m,null,e)},t.prototype.mulTo=function(e,r,n){e.multiplyTo(r,n),this.reduce(n)},t.prototype.sqrTo=function(e,r){e.squareTo(r),this.reduce(r)},t}(),av=function(){function t(e){this.m=e,this.mp=e.invDigit(),this.mpl=this.mp&32767,this.mph=this.mp>>15,this.um=(1<<e.DB-15)-1,this.mt2=2*e.t}return t.prototype.convert=function(e){var r=Pt();return e.abs().dlShiftTo(this.m.t,r),r.divRemTo(this.m,null,r),e.s<0&&r.compareTo(At.ZERO)>0&&this.m.subTo(r,r),r},t.prototype.revert=function(e){var r=Pt();return e.copyTo(r),this.reduce(r),r},t.prototype.reduce=function(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(var r=0;r<this.m.t;++r){var n=e[r]&32767,i=n*this.mpl+((n*this.mph+(e[r]>>15)*this.mpl&this.um)<<15)&e.DM;for(n=r+this.m.t,e[n]+=this.m.am(0,i,e,r,0,this.m.t);e[n]>=e.DV;)e[n]-=e.DV,e[++n]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)},t.prototype.mulTo=function(e,r,n){e.multiplyTo(r,n),this.reduce(n)},t.prototype.sqrTo=function(e,r){e.squareTo(r),this.reduce(r)},t}(),C5=function(){function t(e){this.m=e,this.r2=Pt(),this.q3=Pt(),At.ONE.dlShiftTo(2*e.t,this.r2),this.mu=this.r2.divide(e)}return t.prototype.convert=function(e){if(e.s<0||e.t>2*this.m.t)return e.mod(this.m);if(e.compareTo(this.m)<0)return e;var r=Pt();return e.copyTo(r),this.reduce(r),r},t.prototype.revert=function(e){return e},t.prototype.reduce=function(e){for(e.drShiftTo(this.m.t-1,this.r2),e.t>this.m.t+1&&(e.t=this.m.t+1,e.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);e.compareTo(this.r2)<0;)e.dAddOffset(1,this.m.t+1);for(e.subTo(this.r2,e);e.compareTo(this.m)>=0;)e.subTo(this.m,e)},t.prototype.mulTo=function(e,r,n){e.multiplyTo(r,n),this.reduce(n)},t.prototype.sqrTo=function(e,r){e.squareTo(r),this.reduce(r)},t}();function Pt(){return new At(null)}function ae(t,e){return new At(t,e)}var sv=typeof navigator<"u";sv&&iv&&navigator.appName=="Microsoft Internet Explorer"?(At.prototype.am=function(e,r,n,i,a,u){for(var f=r&32767,d=r>>15;--u>=0;){var l=this[e]&32767,_=this[e++]>>15,E=d*l+_*f;l=f*l+((E&32767)<<15)+n[i]+(a&1073741823),a=(l>>>30)+(E>>>15)+d*_+(a>>>30),n[i++]=l&1073741823}return a},yn=30):sv&&iv&&navigator.appName!="Netscape"?(At.prototype.am=function(e,r,n,i,a,u){for(;--u>=0;){var f=r*this[e++]+n[i]+a;a=Math.floor(f/67108864),n[i++]=f&67108863}return a},yn=26):(At.prototype.am=function(e,r,n,i,a,u){for(var f=r&16383,d=r>>14;--u>=0;){var l=this[e]&16383,_=this[e++]>>14,E=d*l+_*f;l=f*l+((E&16383)<<14)+n[i]+a,a=(l>>28)+(E>>14)+d*_,n[i++]=l&268435455}return a},yn=28);At.prototype.DB=yn;At.prototype.DM=(1<<yn)-1;At.prototype.DV=1<<yn;var Fd=52;At.prototype.FV=Math.pow(2,Fd);At.prototype.F1=Fd-yn;At.prototype.F2=2*yn-Fd;var Qu=[],Eo,nr;Eo="0".charCodeAt(0);for(nr=0;nr<=9;++nr)Qu[Eo++]=nr;Eo="a".charCodeAt(0);for(nr=10;nr<36;++nr)Qu[Eo++]=nr;Eo="A".charCodeAt(0);for(nr=10;nr<36;++nr)Qu[Eo++]=nr;function uv(t,e){var r=Qu[t.charCodeAt(e)];return r==null?-1:r}function cn(t){var e=Pt();return e.fromInt(t),e}function ms(t){var e=1,r;return(r=t>>>16)!=0&&(t=r,e+=16),(r=t>>8)!=0&&(t=r,e+=8),(r=t>>4)!=0&&(t=r,e+=4),(r=t>>2)!=0&&(t=r,e+=2),(r=t>>1)!=0&&(t=r,e+=1),e}At.ZERO=cn(0);At.ONE=cn(1);var P5=function(){function t(){this.i=0,this.j=0,this.S=[]}return t.prototype.init=function(e){var r,n,i;for(r=0;r<256;++r)this.S[r]=r;for(n=0,r=0;r<256;++r)n=n+this.S[r]+e[r%e.length]&255,i=this.S[r],this.S[r]=this.S[n],this.S[n]=i;this.i=0,this.j=0},t.prototype.next=function(){var e;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,e=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=e,this.S[e+this.S[this.i]&255]},t}();function R5(){return new P5}var OE=256,ys,mn=null,hr;if(mn==null){mn=[],hr=0;var Es=void 0;if(typeof window<"u"&&window.crypto&&window.crypto.getRandomValues){var hf=new Uint32Array(256);for(window.crypto.getRandomValues(hf),Es=0;Es<hf.length;++Es)mn[hr++]=hf[Es]&255}var xs=0,bs=function(t){if(xs=xs||0,xs>=256||hr>=OE){window.removeEventListener?window.removeEventListener("mousemove",bs,!1):window.detachEvent&&window.detachEvent("onmousemove",bs);return}try{var e=t.x+t.y;mn[hr++]=e&255,xs+=1}catch(r){}};typeof window<"u"&&(window.addEventListener?window.addEventListener("mousemove",bs,!1):window.attachEvent&&window.attachEvent("onmousemove",bs))}function D5(){if(ys==null){for(ys=R5();hr<OE;){var t=Math.floor(65536*Math.random());mn[hr++]=t&255}for(ys.init(mn),hr=0;hr<mn.length;++hr)mn[hr]=0;hr=0}return ys.next()}var v0=function(){function t(){}return t.prototype.nextBytes=function(e){for(var r=0;r<e.length;++r)e[r]=D5()},t}();function I5(t,e){if(e<t.length+22)return console.error("Message too long for RSA"),null;for(var r=e-t.length-6,n="",i=0;i<r;i+=2)n+="ff";var a="0001"+n+"00"+t;return ae(a,16)}function N5(t,e){if(e<t.length+11)return console.error("Message too long for RSA"),null;for(var r=[],n=t.length-1;n>=0&&e>0;){var i=t.charCodeAt(n--);i<128?r[--e]=i:i>127&&i<2048?(r[--e]=i&63|128,r[--e]=i>>6|192):(r[--e]=i&63|128,r[--e]=i>>6&63|128,r[--e]=i>>12|224)}r[--e]=0;for(var a=new v0,u=[];e>2;){for(u[0]=0;u[0]==0;)a.nextBytes(u);r[--e]=u[0]}return r[--e]=2,r[--e]=0,new At(r)}var L5=function(){function t(){this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}return t.prototype.doPublic=function(e){return e.modPowInt(this.e,this.n)},t.prototype.doPrivate=function(e){if(this.p==null||this.q==null)return e.modPow(this.d,this.n);for(var r=e.mod(this.p).modPow(this.dmp1,this.p),n=e.mod(this.q).modPow(this.dmq1,this.q);r.compareTo(n)<0;)r=r.add(this.p);return r.subtract(n).multiply(this.coeff).mod(this.p).multiply(this.q).add(n)},t.prototype.setPublic=function(e,r){e!=null&&r!=null&&e.length>0&&r.length>0?(this.n=ae(e,16),this.e=parseInt(r,16)):console.error("Invalid RSA public key")},t.prototype.encrypt=function(e){var r=this.n.bitLength()+7>>3,n=N5(e,r);if(n==null)return null;var i=this.doPublic(n);if(i==null)return null;for(var a=i.toString(16),u=a.length,f=0;f<r*2-u;f++)a="0"+a;return a},t.prototype.setPrivate=function(e,r,n){e!=null&&r!=null&&e.length>0&&r.length>0?(this.n=ae(e,16),this.e=parseInt(r,16),this.d=ae(n,16)):console.error("Invalid RSA private key")},t.prototype.setPrivateEx=function(e,r,n,i,a,u,f,d){e!=null&&r!=null&&e.length>0&&r.length>0?(this.n=ae(e,16),this.e=parseInt(r,16),this.d=ae(n,16),this.p=ae(i,16),this.q=ae(a,16),this.dmp1=ae(u,16),this.dmq1=ae(f,16),this.coeff=ae(d,16)):console.error("Invalid RSA private key")},t.prototype.generate=function(e,r){var n=new v0,i=e>>1;this.e=parseInt(r,16);for(var a=new At(r,16);;){for(;this.p=new At(e-i,1,n),!(this.p.subtract(At.ONE).gcd(a).compareTo(At.ONE)==0&&this.p.isProbablePrime(10)););for(;this.q=new At(i,1,n),!(this.q.subtract(At.ONE).gcd(a).compareTo(At.ONE)==0&&this.q.isProbablePrime(10)););if(this.p.compareTo(this.q)<=0){var u=this.p;this.p=this.q,this.q=u}var f=this.p.subtract(At.ONE),d=this.q.subtract(At.ONE),l=f.multiply(d);if(l.gcd(a).compareTo(At.ONE)==0){this.n=this.p.multiply(this.q),this.d=a.modInverse(l),this.dmp1=this.d.mod(f),this.dmq1=this.d.mod(d),this.coeff=this.q.modInverse(this.p);break}}},t.prototype.decrypt=function(e){var r=ae(e,16),n=this.doPrivate(r);return n==null?null:B5(n,this.n.bitLength()+7>>3)},t.prototype.generateAsync=function(e,r,n){var i=new v0,a=e>>1;this.e=parseInt(r,16);var u=new At(r,16),f=this,d=function(){var l=function(){if(f.p.compareTo(f.q)<=0){var y=f.p;f.p=f.q,f.q=y}var b=f.p.subtract(At.ONE),S=f.q.subtract(At.ONE),C=b.multiply(S);C.gcd(u).compareTo(At.ONE)==0?(f.n=f.p.multiply(f.q),f.d=u.modInverse(C),f.dmp1=f.d.mod(b),f.dmq1=f.d.mod(S),f.coeff=f.q.modInverse(f.p),setTimeout(function(){n()},0)):setTimeout(d,0)},_=function(){f.q=Pt(),f.q.fromNumberAsync(a,1,i,function(){f.q.subtract(At.ONE).gcda(u,function(y){y.compareTo(At.ONE)==0&&f.q.isProbablePrime(10)?setTimeout(l,0):setTimeout(_,0)})})},E=function(){f.p=Pt(),f.p.fromNumberAsync(e-a,1,i,function(){f.p.subtract(At.ONE).gcda(u,function(y){y.compareTo(At.ONE)==0&&f.p.isProbablePrime(10)?setTimeout(_,0):setTimeout(E,0)})})};setTimeout(E,0)};setTimeout(d,0)},t.prototype.sign=function(e,r,n){var i=M5(n),a=i+r(e).toString(),u=I5(a,this.n.bitLength()/4);if(u==null)return null;var f=this.doPrivate(u);if(f==null)return null;var d=f.toString(16);return(d.length&1)==0?d:"0"+d},t.prototype.verify=function(e,r,n){var i=ae(r,16),a=this.doPublic(i);if(a==null)return null;var u=a.toString(16).replace(/^1f+00/,""),f=F5(u);return f==n(e).toString()},t}();function B5(t,e){for(var r=t.toByteArray(),n=0;n<r.length&&r[n]==0;)++n;if(r.length-n!=e-1||r[n]!=2)return null;for(++n;r[n]!=0;)if(++n>=r.length)return null;for(var i="";++n<r.length;){var a=r[n]&255;a<128?i+=String.fromCharCode(a):a>191&&a<224?(i+=String.fromCharCode((a&31)<<6|r[n+1]&63),++n):(i+=String.fromCharCode((a&15)<<12|(r[n+1]&63)<<6|r[n+2]&63),n+=2)}return i}var Gs={md2:"3020300c06082a864886f70d020205000410",md5:"3020300c06082a864886f70d020505000410",sha1:"3021300906052b0e03021a05000414",sha224:"302d300d06096086480165030402040500041c",sha256:"3031300d060960864801650304020105000420",sha384:"3041300d060960864801650304020205000430",sha512:"3051300d060960864801650304020305000440",ripemd160:"3021300906052b2403020105000414"};function M5(t){return Gs[t]||""}function F5(t){for(var e in Gs)if(Gs.hasOwnProperty(e)){var r=Gs[e],n=r.length;if(t.substr(0,n)==r)return t.substr(n)}return t}/*!
Copyright (c) 2011, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.com/yui/license.html
version: 2.9.0
*/var de={};de.lang={extend:function(t,e,r){if(!e||!t)throw new Error("YAHOO.lang.extend failed, please check that all dependencies are included.");var n=function(){};if(n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t,t.superclass=e.prototype,e.prototype.constructor==Object.prototype.constructor&&(e.prototype.constructor=e),r){var i;for(i in r)t.prototype[i]=r[i];var a=function(){},u=["toString","valueOf"];try{/MSIE/.test(navigator.userAgent)&&(a=function(f,d){for(i=0;i<u.length;i=i+1){var l=u[i],_=d[l];typeof _=="function"&&_!=Object.prototype[l]&&(f[l]=_)}})}catch(f){}a(t.prototype,r)}}};/**
 * @fileOverview
 * @name asn1-1.0.js
 * @author Kenji Urushima kenji.urushima@gmail.com
 * @version asn1 1.0.13 (2017-Jun-02)
 * @since jsrsasign 2.1
 * @license <a href="https://kjur.github.io/jsrsasign/license/">MIT License</a>
 */var rt={};(typeof rt.asn1>"u"||!rt.asn1)&&(rt.asn1={});rt.asn1.ASN1Util=new function(){this.integerToByteHex=function(t){var e=t.toString(16);return e.length%2==1&&(e="0"+e),e},this.bigIntToMinTwosComplementsHex=function(t){var e=t.toString(16);if(e.substr(0,1)!="-")e.length%2==1?e="0"+e:e.match(/^[0-7]/)||(e="00"+e);else{var r=e.substr(1),n=r.length;n%2==1?n+=1:e.match(/^[0-7]/)||(n+=2);for(var i="",a=0;a<n;a++)i+="f";var u=new At(i,16),f=u.xor(t).add(At.ONE);e=f.toString(16).replace(/^-/,"")}return e},this.getPEMStringFromHex=function(t,e){return hextopem(t,e)},this.newObject=function(t){var e=rt,r=e.asn1,n=r.DERBoolean,i=r.DERInteger,a=r.DERBitString,u=r.DEROctetString,f=r.DERNull,d=r.DERObjectIdentifier,l=r.DEREnumerated,_=r.DERUTF8String,E=r.DERNumericString,y=r.DERPrintableString,b=r.DERTeletexString,S=r.DERIA5String,C=r.DERUTCTime,O=r.DERGeneralizedTime,I=r.DERSequence,T=r.DERSet,w=r.DERTaggedObject,N=r.ASN1Util.newObject,L=Object.keys(t);if(L.length!=1)throw"key of param shall be only one.";var M=L[0];if(":bool:int:bitstr:octstr:null:oid:enum:utf8str:numstr:prnstr:telstr:ia5str:utctime:gentime:seq:set:tag:".indexOf(":"+M+":")==-1)throw"undefined key: "+M;if(M=="bool")return new n(t[M]);if(M=="int")return new i(t[M]);if(M=="bitstr")return new a(t[M]);if(M=="octstr")return new u(t[M]);if(M=="null")return new f(t[M]);if(M=="oid")return new d(t[M]);if(M=="enum")return new l(t[M]);if(M=="utf8str")return new _(t[M]);if(M=="numstr")return new E(t[M]);if(M=="prnstr")return new y(t[M]);if(M=="telstr")return new b(t[M]);if(M=="ia5str")return new S(t[M]);if(M=="utctime")return new C(t[M]);if(M=="gentime")return new O(t[M]);if(M=="seq"){for(var F=t[M],U=[],Z=0;Z<F.length;Z++){var $=N(F[Z]);U.push($)}return new I({array:U})}if(M=="set"){for(var F=t[M],U=[],Z=0;Z<F.length;Z++){var $=N(F[Z]);U.push($)}return new T({array:U})}if(M=="tag"){var k=t[M];if(Object.prototype.toString.call(k)==="[object Array]"&&k.length==3){var D=N(k[2]);return new w({tag:k[0],explicit:k[1],obj:D})}else{var R={};if(k.explicit!==void 0&&(R.explicit=k.explicit),k.tag!==void 0&&(R.tag=k.tag),k.obj===void 0)throw"obj shall be specified for 'tag'.";return R.obj=N(k.obj),new w(R)}}},this.jsonToASN1HEX=function(t){var e=this.newObject(t);return e.getEncodedHex()}};rt.asn1.ASN1Util.oidHexToInt=function(t){for(var i="",e=parseInt(t.substr(0,2),16),r=Math.floor(e/40),n=e%40,i=r+"."+n,a="",u=2;u<t.length;u+=2){var f=parseInt(t.substr(u,2),16),d=("00000000"+f.toString(2)).slice(-8);if(a=a+d.substr(1,7),d.substr(0,1)=="0"){var l=new At(a,2);i=i+"."+l.toString(10),a=""}}return i};rt.asn1.ASN1Util.oidIntToHex=function(t){var e=function(f){var d=f.toString(16);return d.length==1&&(d="0"+d),d},r=function(f){var d="",l=new At(f,10),_=l.toString(2),E=7-_.length%7;E==7&&(E=0);for(var y="",b=0;b<E;b++)y+="0";_=y+_;for(var b=0;b<_.length-1;b+=7){var S=_.substr(b,7);b!=_.length-7&&(S="1"+S),d+=e(parseInt(S,2))}return d};if(!t.match(/^[0-9.]+$/))throw"malformed oid string: "+t;var n="",i=t.split("."),a=parseInt(i[0])*40+parseInt(i[1]);n+=e(a),i.splice(0,2);for(var u=0;u<i.length;u++)n+=r(i[u]);return n};rt.asn1.ASN1Object=function(){var t="";this.getLengthHexFromValue=function(){if(typeof this.hV>"u"||this.hV==null)throw"this.hV is null or undefined.";if(this.hV.length%2==1)throw"value hex must be even length: n="+t.length+",v="+this.hV;var e=this.hV.length/2,r=e.toString(16);if(r.length%2==1&&(r="0"+r),e<128)return r;var n=r.length/2;if(n>15)throw"ASN.1 length too long to represent by 8x: n = "+e.toString(16);var i=128+n;return i.toString(16)+r},this.getEncodedHex=function(){return(this.hTLV==null||this.isModified)&&(this.hV=this.getFreshValueHex(),this.hL=this.getLengthHexFromValue(),this.hTLV=this.hT+this.hL+this.hV,this.isModified=!1),this.hTLV},this.getValueHex=function(){return this.getEncodedHex(),this.hV},this.getFreshValueHex=function(){return""}};rt.asn1.DERAbstractString=function(t){rt.asn1.DERAbstractString.superclass.constructor.call(this),this.getString=function(){return this.s},this.setString=function(e){this.hTLV=null,this.isModified=!0,this.s=e,this.hV=stohex(this.s)},this.setStringHex=function(e){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=e},this.getFreshValueHex=function(){return this.hV},typeof t<"u"&&(typeof t=="string"?this.setString(t):typeof t.str<"u"?this.setString(t.str):typeof t.hex<"u"&&this.setStringHex(t.hex))};de.lang.extend(rt.asn1.DERAbstractString,rt.asn1.ASN1Object);rt.asn1.DERAbstractTime=function(t){rt.asn1.DERAbstractTime.superclass.constructor.call(this),this.localDateToUTC=function(e){utc=e.getTime()+e.getTimezoneOffset()*6e4;var r=new Date(utc);return r},this.formatDate=function(e,r,n){var i=this.zeroPadding,a=this.localDateToUTC(e),u=String(a.getFullYear());r=="utc"&&(u=u.substr(2,2));var f=i(String(a.getMonth()+1),2),d=i(String(a.getDate()),2),l=i(String(a.getHours()),2),_=i(String(a.getMinutes()),2),E=i(String(a.getSeconds()),2),y=u+f+d+l+_+E;if(n===!0){var b=a.getMilliseconds();if(b!=0){var S=i(String(b),3);S=S.replace(/[0]+$/,""),y=y+"."+S}}return y+"Z"},this.zeroPadding=function(e,r){return e.length>=r?e:new Array(r-e.length+1).join("0")+e},this.getString=function(){return this.s},this.setString=function(e){this.hTLV=null,this.isModified=!0,this.s=e,this.hV=stohex(e)},this.setByDateValue=function(e,r,n,i,a,u){var f=new Date(Date.UTC(e,r-1,n,i,a,u,0));this.setByDate(f)},this.getFreshValueHex=function(){return this.hV}};de.lang.extend(rt.asn1.DERAbstractTime,rt.asn1.ASN1Object);rt.asn1.DERAbstractStructured=function(t){rt.asn1.DERAbstractString.superclass.constructor.call(this),this.setByASN1ObjectArray=function(e){this.hTLV=null,this.isModified=!0,this.asn1Array=e},this.appendASN1Object=function(e){this.hTLV=null,this.isModified=!0,this.asn1Array.push(e)},this.asn1Array=new Array,typeof t<"u"&&typeof t.array<"u"&&(this.asn1Array=t.array)};de.lang.extend(rt.asn1.DERAbstractStructured,rt.asn1.ASN1Object);rt.asn1.DERBoolean=function(){rt.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",this.hTLV="0101ff"};de.lang.extend(rt.asn1.DERBoolean,rt.asn1.ASN1Object);rt.asn1.DERInteger=function(t){rt.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.setByBigInteger=function(e){this.hTLV=null,this.isModified=!0,this.hV=rt.asn1.ASN1Util.bigIntToMinTwosComplementsHex(e)},this.setByInteger=function(e){var r=new At(String(e),10);this.setByBigInteger(r)},this.setValueHex=function(e){this.hV=e},this.getFreshValueHex=function(){return this.hV},typeof t<"u"&&(typeof t.bigint<"u"?this.setByBigInteger(t.bigint):typeof t.int<"u"?this.setByInteger(t.int):typeof t=="number"?this.setByInteger(t):typeof t.hex<"u"&&this.setValueHex(t.hex))};de.lang.extend(rt.asn1.DERInteger,rt.asn1.ASN1Object);rt.asn1.DERBitString=function(t){if(t!==void 0&&typeof t.obj<"u"){var e=rt.asn1.ASN1Util.newObject(t.obj);t.hex="00"+e.getEncodedHex()}rt.asn1.DERBitString.superclass.constructor.call(this),this.hT="03",this.setHexValueIncludingUnusedBits=function(r){this.hTLV=null,this.isModified=!0,this.hV=r},this.setUnusedBitsAndHexValue=function(r,n){if(r<0||7<r)throw"unused bits shall be from 0 to 7: u = "+r;var i="0"+r;this.hTLV=null,this.isModified=!0,this.hV=i+n},this.setByBinaryString=function(r){r=r.replace(/0+$/,"");var n=8-r.length%8;n==8&&(n=0);for(var i=0;i<=n;i++)r+="0";for(var a="",i=0;i<r.length-1;i+=8){var u=r.substr(i,8),f=parseInt(u,2).toString(16);f.length==1&&(f="0"+f),a+=f}this.hTLV=null,this.isModified=!0,this.hV="0"+n+a},this.setByBooleanArray=function(r){for(var n="",i=0;i<r.length;i++)r[i]==!0?n+="1":n+="0";this.setByBinaryString(n)},this.newFalseArray=function(r){for(var n=new Array(r),i=0;i<r;i++)n[i]=!1;return n},this.getFreshValueHex=function(){return this.hV},typeof t<"u"&&(typeof t=="string"&&t.toLowerCase().match(/^[0-9a-f]+$/)?this.setHexValueIncludingUnusedBits(t):typeof t.hex<"u"?this.setHexValueIncludingUnusedBits(t.hex):typeof t.bin<"u"?this.setByBinaryString(t.bin):typeof t.array<"u"&&this.setByBooleanArray(t.array))};de.lang.extend(rt.asn1.DERBitString,rt.asn1.ASN1Object);rt.asn1.DEROctetString=function(t){if(t!==void 0&&typeof t.obj<"u"){var e=rt.asn1.ASN1Util.newObject(t.obj);t.hex=e.getEncodedHex()}rt.asn1.DEROctetString.superclass.constructor.call(this,t),this.hT="04"};de.lang.extend(rt.asn1.DEROctetString,rt.asn1.DERAbstractString);rt.asn1.DERNull=function(){rt.asn1.DERNull.superclass.constructor.call(this),this.hT="05",this.hTLV="0500"};de.lang.extend(rt.asn1.DERNull,rt.asn1.ASN1Object);rt.asn1.DERObjectIdentifier=function(t){var e=function(n){var i=n.toString(16);return i.length==1&&(i="0"+i),i},r=function(n){var i="",a=new At(n,10),u=a.toString(2),f=7-u.length%7;f==7&&(f=0);for(var d="",l=0;l<f;l++)d+="0";u=d+u;for(var l=0;l<u.length-1;l+=7){var _=u.substr(l,7);l!=u.length-7&&(_="1"+_),i+=e(parseInt(_,2))}return i};rt.asn1.DERObjectIdentifier.superclass.constructor.call(this),this.hT="06",this.setValueHex=function(n){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=n},this.setValueOidString=function(n){if(!n.match(/^[0-9.]+$/))throw"malformed oid string: "+n;var i="",a=n.split("."),u=parseInt(a[0])*40+parseInt(a[1]);i+=e(u),a.splice(0,2);for(var f=0;f<a.length;f++)i+=r(a[f]);this.hTLV=null,this.isModified=!0,this.s=null,this.hV=i},this.setValueName=function(n){var i=rt.asn1.x509.OID.name2oid(n);if(i!=="")this.setValueOidString(i);else throw"DERObjectIdentifier oidName undefined: "+n},this.getFreshValueHex=function(){return this.hV},t!==void 0&&(typeof t=="string"?t.match(/^[0-2].[0-9.]+$/)?this.setValueOidString(t):this.setValueName(t):t.oid!==void 0?this.setValueOidString(t.oid):t.hex!==void 0?this.setValueHex(t.hex):t.name!==void 0&&this.setValueName(t.name))};de.lang.extend(rt.asn1.DERObjectIdentifier,rt.asn1.ASN1Object);rt.asn1.DEREnumerated=function(t){rt.asn1.DEREnumerated.superclass.constructor.call(this),this.hT="0a",this.setByBigInteger=function(e){this.hTLV=null,this.isModified=!0,this.hV=rt.asn1.ASN1Util.bigIntToMinTwosComplementsHex(e)},this.setByInteger=function(e){var r=new At(String(e),10);this.setByBigInteger(r)},this.setValueHex=function(e){this.hV=e},this.getFreshValueHex=function(){return this.hV},typeof t<"u"&&(typeof t.int<"u"?this.setByInteger(t.int):typeof t=="number"?this.setByInteger(t):typeof t.hex<"u"&&this.setValueHex(t.hex))};de.lang.extend(rt.asn1.DEREnumerated,rt.asn1.ASN1Object);rt.asn1.DERUTF8String=function(t){rt.asn1.DERUTF8String.superclass.constructor.call(this,t),this.hT="0c"};de.lang.extend(rt.asn1.DERUTF8String,rt.asn1.DERAbstractString);rt.asn1.DERNumericString=function(t){rt.asn1.DERNumericString.superclass.constructor.call(this,t),this.hT="12"};de.lang.extend(rt.asn1.DERNumericString,rt.asn1.DERAbstractString);rt.asn1.DERPrintableString=function(t){rt.asn1.DERPrintableString.superclass.constructor.call(this,t),this.hT="13"};de.lang.extend(rt.asn1.DERPrintableString,rt.asn1.DERAbstractString);rt.asn1.DERTeletexString=function(t){rt.asn1.DERTeletexString.superclass.constructor.call(this,t),this.hT="14"};de.lang.extend(rt.asn1.DERTeletexString,rt.asn1.DERAbstractString);rt.asn1.DERIA5String=function(t){rt.asn1.DERIA5String.superclass.constructor.call(this,t),this.hT="16"};de.lang.extend(rt.asn1.DERIA5String,rt.asn1.DERAbstractString);rt.asn1.DERUTCTime=function(t){rt.asn1.DERUTCTime.superclass.constructor.call(this,t),this.hT="17",this.setByDate=function(e){this.hTLV=null,this.isModified=!0,this.date=e,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return typeof this.date>"u"&&typeof this.s>"u"&&(this.date=new Date,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)),this.hV},t!==void 0&&(t.str!==void 0?this.setString(t.str):typeof t=="string"&&t.match(/^[0-9]{12}Z$/)?this.setString(t):t.hex!==void 0?this.setStringHex(t.hex):t.date!==void 0&&this.setByDate(t.date))};de.lang.extend(rt.asn1.DERUTCTime,rt.asn1.DERAbstractTime);rt.asn1.DERGeneralizedTime=function(t){rt.asn1.DERGeneralizedTime.superclass.constructor.call(this,t),this.hT="18",this.withMillis=!1,this.setByDate=function(e){this.hTLV=null,this.isModified=!0,this.date=e,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return this.date===void 0&&this.s===void 0&&(this.date=new Date,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)),this.hV},t!==void 0&&(t.str!==void 0?this.setString(t.str):typeof t=="string"&&t.match(/^[0-9]{14}Z$/)?this.setString(t):t.hex!==void 0?this.setStringHex(t.hex):t.date!==void 0&&this.setByDate(t.date),t.millis===!0&&(this.withMillis=!0))};de.lang.extend(rt.asn1.DERGeneralizedTime,rt.asn1.DERAbstractTime);rt.asn1.DERSequence=function(t){rt.asn1.DERSequence.superclass.constructor.call(this,t),this.hT="30",this.getFreshValueHex=function(){for(var e="",r=0;r<this.asn1Array.length;r++){var n=this.asn1Array[r];e+=n.getEncodedHex()}return this.hV=e,this.hV}};de.lang.extend(rt.asn1.DERSequence,rt.asn1.DERAbstractStructured);rt.asn1.DERSet=function(t){rt.asn1.DERSet.superclass.constructor.call(this,t),this.hT="31",this.sortFlag=!0,this.getFreshValueHex=function(){for(var e=new Array,r=0;r<this.asn1Array.length;r++){var n=this.asn1Array[r];e.push(n.getEncodedHex())}return this.sortFlag==!0&&e.sort(),this.hV=e.join(""),this.hV},typeof t<"u"&&typeof t.sortflag<"u"&&t.sortflag==!1&&(this.sortFlag=!1)};de.lang.extend(rt.asn1.DERSet,rt.asn1.DERAbstractStructured);rt.asn1.DERTaggedObject=function(t){rt.asn1.DERTaggedObject.superclass.constructor.call(this),this.hT="a0",this.hV="",this.isExplicit=!0,this.asn1Object=null,this.setASN1Object=function(e,r,n){this.hT=r,this.isExplicit=e,this.asn1Object=n,this.isExplicit?(this.hV=this.asn1Object.getEncodedHex(),this.hTLV=null,this.isModified=!0):(this.hV=null,this.hTLV=n.getEncodedHex(),this.hTLV=this.hTLV.replace(/^../,r),this.isModified=!1)},this.getFreshValueHex=function(){return this.hV},typeof t<"u"&&(typeof t.tag<"u"&&(this.hT=t.tag),typeof t.explicit<"u"&&(this.isExplicit=t.explicit),typeof t.obj<"u"&&(this.asn1Object=t.obj,this.setASN1Object(this.isExplicit,this.hT,this.asn1Object)))};de.lang.extend(rt.asn1.DERTaggedObject,rt.asn1.ASN1Object);var $5=globalThis&&globalThis.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),cv=function(t){$5(e,t);function e(r){var n=t.call(this)||this;return r&&(typeof r=="string"?n.parseKey(r):(e.hasPrivateKeyProperty(r)||e.hasPublicKeyProperty(r))&&n.parsePropertiesFrom(r)),n}return e.prototype.parseKey=function(r){try{var n=0,i=0,a=/^\s*(?:[0-9A-Fa-f][0-9A-Fa-f]\s*)+$/,u=a.test(r)?x5.decode(r):_0.unarmor(r),f=S5.decode(u);if(f.sub.length===3&&(f=f.sub[2].sub[0]),f.sub.length===9){n=f.sub[1].getHexStringValue(),this.n=ae(n,16),i=f.sub[2].getHexStringValue(),this.e=parseInt(i,16);var d=f.sub[3].getHexStringValue();this.d=ae(d,16);var l=f.sub[4].getHexStringValue();this.p=ae(l,16);var _=f.sub[5].getHexStringValue();this.q=ae(_,16);var E=f.sub[6].getHexStringValue();this.dmp1=ae(E,16);var y=f.sub[7].getHexStringValue();this.dmq1=ae(y,16);var b=f.sub[8].getHexStringValue();this.coeff=ae(b,16)}else if(f.sub.length===2)if(f.sub[0].sub){var S=f.sub[1],C=S.sub[0];n=C.sub[0].getHexStringValue(),this.n=ae(n,16),i=C.sub[1].getHexStringValue(),this.e=parseInt(i,16)}else n=f.sub[0].getHexStringValue(),this.n=ae(n,16),i=f.sub[1].getHexStringValue(),this.e=parseInt(i,16);else return!1;return!0}catch(O){return!1}},e.prototype.getPrivateBaseKey=function(){var r={array:[new rt.asn1.DERInteger({int:0}),new rt.asn1.DERInteger({bigint:this.n}),new rt.asn1.DERInteger({int:this.e}),new rt.asn1.DERInteger({bigint:this.d}),new rt.asn1.DERInteger({bigint:this.p}),new rt.asn1.DERInteger({bigint:this.q}),new rt.asn1.DERInteger({bigint:this.dmp1}),new rt.asn1.DERInteger({bigint:this.dmq1}),new rt.asn1.DERInteger({bigint:this.coeff})]},n=new rt.asn1.DERSequence(r);return n.getEncodedHex()},e.prototype.getPrivateBaseKeyB64=function(){return Tu(this.getPrivateBaseKey())},e.prototype.getPublicBaseKey=function(){var r=new rt.asn1.DERSequence({array:[new rt.asn1.DERObjectIdentifier({oid:"1.2.840.113549.1.1.1"}),new rt.asn1.DERNull]}),n=new rt.asn1.DERSequence({array:[new rt.asn1.DERInteger({bigint:this.n}),new rt.asn1.DERInteger({int:this.e})]}),i=new rt.asn1.DERBitString({hex:"00"+n.getEncodedHex()}),a=new rt.asn1.DERSequence({array:[r,i]});return a.getEncodedHex()},e.prototype.getPublicBaseKeyB64=function(){return Tu(this.getPublicBaseKey())},e.wordwrap=function(r,n){if(n=n||64,!r)return r;var i="(.{1,"+n+`})( +|$
?)|(.{1,`+n+"})";return r.match(RegExp(i,"g")).join(`
`)},e.prototype.getPrivateKey=function(){var r=`-----BEGIN RSA PRIVATE KEY-----
`;return r+=e.wordwrap(this.getPrivateBaseKeyB64())+`
`,r+="-----END RSA PRIVATE KEY-----",r},e.prototype.getPublicKey=function(){var r=`-----BEGIN PUBLIC KEY-----
`;return r+=e.wordwrap(this.getPublicBaseKeyB64())+`
`,r+="-----END PUBLIC KEY-----",r},e.hasPublicKeyProperty=function(r){return r=r||{},r.hasOwnProperty("n")&&r.hasOwnProperty("e")},e.hasPrivateKeyProperty=function(r){return r=r||{},r.hasOwnProperty("n")&&r.hasOwnProperty("e")&&r.hasOwnProperty("d")&&r.hasOwnProperty("p")&&r.hasOwnProperty("q")&&r.hasOwnProperty("dmp1")&&r.hasOwnProperty("dmq1")&&r.hasOwnProperty("coeff")},e.prototype.parsePropertiesFrom=function(r){this.n=r.n,this.e=r.e,r.hasOwnProperty("d")&&(this.d=r.d,this.p=r.p,this.q=r.q,this.dmp1=r.dmp1,this.dmq1=r.dmq1,this.coeff=r.coeff)},e}(L5),_f,k5=typeof process<"u"?(_f=process.env)===null||_f===void 0?void 0:_f.npm_package_version:void 0,U5=function(){function t(e){e===void 0&&(e={}),e=e||{},this.default_key_size=e.default_key_size?parseInt(e.default_key_size,10):1024,this.default_public_exponent=e.default_public_exponent||"010001",this.log=e.log||!1,this.key=null}return t.prototype.setKey=function(e){this.log&&this.key&&console.warn("A key was already set, overriding existing."),this.key=new cv(e)},t.prototype.setPrivateKey=function(e){this.setKey(e)},t.prototype.setPublicKey=function(e){this.setKey(e)},t.prototype.decrypt=function(e){try{return this.getKey().decrypt(rv(e))}catch(r){return!1}},t.prototype.encrypt=function(e){try{return Tu(this.getKey().encrypt(e))}catch(r){return!1}},t.prototype.sign=function(e,r,n){try{return Tu(this.getKey().sign(e,r,n))}catch(i){return!1}},t.prototype.verify=function(e,r,n){try{return this.getKey().verify(e,rv(r),n)}catch(i){return!1}},t.prototype.getKey=function(e){if(!this.key){if(this.key=new cv,e&&{}.toString.call(e)==="[object Function]"){this.key.generateAsync(this.default_key_size,this.default_public_exponent,e);return}this.key.generate(this.default_key_size,this.default_public_exponent)}return this.key},t.prototype.getPrivateKey=function(){return this.getKey().getPrivateKey()},t.prototype.getPrivateKeyB64=function(){return this.getKey().getPrivateBaseKeyB64()},t.prototype.getPublicKey=function(){return this.getKey().getPublicKey()},t.prototype.getPublicKeyB64=function(){return this.getKey().getPublicBaseKeyB64()},t.version=k5,t}(),wE={exports:{}};function j5(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var vf={exports:{}},fv;function It(){return fv||(fv=1,function(t,e){(function(r,n){t.exports=n()})(Tt,function(){var r=r||function(n,i){var a;if(typeof window<"u"&&window.crypto&&(a=window.crypto),typeof self<"u"&&self.crypto&&(a=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(a=globalThis.crypto),!a&&typeof window<"u"&&window.msCrypto&&(a=window.msCrypto),!a&&typeof Tt<"u"&&Tt.crypto&&(a=Tt.crypto),!a&&typeof j5=="function")try{a=Zy}catch(T){}var u=function(){if(a){if(typeof a.getRandomValues=="function")try{return a.getRandomValues(new Uint32Array(1))[0]}catch(T){}if(typeof a.randomBytes=="function")try{return a.randomBytes(4).readInt32LE()}catch(T){}}throw new Error("Native crypto module could not be used to get secure random number.")},f=Object.create||function(){function T(){}return function(w){var N;return T.prototype=w,N=new T,T.prototype=null,N}}(),d={},l=d.lib={},_=l.Base=function(){return{extend:function(T){var w=f(this);return T&&w.mixIn(T),(!w.hasOwnProperty("init")||this.init===w.init)&&(w.init=function(){w.$super.init.apply(this,arguments)}),w.init.prototype=w,w.$super=this,w},create:function(){var T=this.extend();return T.init.apply(T,arguments),T},init:function(){},mixIn:function(T){for(var w in T)T.hasOwnProperty(w)&&(this[w]=T[w]);T.hasOwnProperty("toString")&&(this.toString=T.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),E=l.WordArray=_.extend({init:function(T,w){T=this.words=T||[],w!=i?this.sigBytes=w:this.sigBytes=T.length*4},toString:function(T){return(T||b).stringify(this)},concat:function(T){var w=this.words,N=T.words,L=this.sigBytes,M=T.sigBytes;if(this.clamp(),L%4)for(var F=0;F<M;F++){var U=N[F>>>2]>>>24-F%4*8&255;w[L+F>>>2]|=U<<24-(L+F)%4*8}else for(var Z=0;Z<M;Z+=4)w[L+Z>>>2]=N[Z>>>2];return this.sigBytes+=M,this},clamp:function(){var T=this.words,w=this.sigBytes;T[w>>>2]&=4294967295<<32-w%4*8,T.length=n.ceil(w/4)},clone:function(){var T=_.clone.call(this);return T.words=this.words.slice(0),T},random:function(T){for(var w=[],N=0;N<T;N+=4)w.push(u());return new E.init(w,T)}}),y=d.enc={},b=y.Hex={stringify:function(T){for(var w=T.words,N=T.sigBytes,L=[],M=0;M<N;M++){var F=w[M>>>2]>>>24-M%4*8&255;L.push((F>>>4).toString(16)),L.push((F&15).toString(16))}return L.join("")},parse:function(T){for(var w=T.length,N=[],L=0;L<w;L+=2)N[L>>>3]|=parseInt(T.substr(L,2),16)<<24-L%8*4;return new E.init(N,w/2)}},S=y.Latin1={stringify:function(T){for(var w=T.words,N=T.sigBytes,L=[],M=0;M<N;M++){var F=w[M>>>2]>>>24-M%4*8&255;L.push(String.fromCharCode(F))}return L.join("")},parse:function(T){for(var w=T.length,N=[],L=0;L<w;L++)N[L>>>2]|=(T.charCodeAt(L)&255)<<24-L%4*8;return new E.init(N,w)}},C=y.Utf8={stringify:function(T){try{return decodeURIComponent(escape(S.stringify(T)))}catch(w){throw new Error("Malformed UTF-8 data")}},parse:function(T){return S.parse(unescape(encodeURIComponent(T)))}},O=l.BufferedBlockAlgorithm=_.extend({reset:function(){this._data=new E.init,this._nDataBytes=0},_append:function(T){typeof T=="string"&&(T=C.parse(T)),this._data.concat(T),this._nDataBytes+=T.sigBytes},_process:function(T){var w,N=this._data,L=N.words,M=N.sigBytes,F=this.blockSize,U=F*4,Z=M/U;T?Z=n.ceil(Z):Z=n.max((Z|0)-this._minBufferSize,0);var $=Z*F,k=n.min($*4,M);if($){for(var D=0;D<$;D+=F)this._doProcessBlock(L,D);w=L.splice(0,$),N.sigBytes-=k}return new E.init(w,k)},clone:function(){var T=_.clone.call(this);return T._data=this._data.clone(),T},_minBufferSize:0});l.Hasher=O.extend({cfg:_.extend(),init:function(T){this.cfg=this.cfg.extend(T),this.reset()},reset:function(){O.reset.call(this),this._doReset()},update:function(T){return this._append(T),this._process(),this},finalize:function(T){T&&this._append(T);var w=this._doFinalize();return w},blockSize:16,_createHelper:function(T){return function(w,N){return new T.init(N).finalize(w)}},_createHmacHelper:function(T){return function(w,N){return new I.HMAC.init(T,N).finalize(w)}}});var I=d.algo={};return d}(Math);return r})}(vf)),vf.exports}var gf={exports:{}},lv;function tc(){return lv||(lv=1,function(t,e){(function(r,n){t.exports=n(It())})(Tt,function(r){return function(n){var i=r,a=i.lib,u=a.Base,f=a.WordArray,d=i.x64={};d.Word=u.extend({init:function(l,_){this.high=l,this.low=_}}),d.WordArray=u.extend({init:function(l,_){l=this.words=l||[],_!=n?this.sigBytes=_:this.sigBytes=l.length*8},toX32:function(){for(var l=this.words,_=l.length,E=[],y=0;y<_;y++){var b=l[y];E.push(b.high),E.push(b.low)}return f.create(E,this.sigBytes)},clone:function(){for(var l=u.clone.call(this),_=l.words=this.words.slice(0),E=_.length,y=0;y<E;y++)_[y]=_[y].clone();return l}})}(),r})}(gf)),gf.exports}var mf={exports:{}},dv;function H5(){return dv||(dv=1,function(t,e){(function(r,n){t.exports=n(It())})(Tt,function(r){return function(){if(typeof ArrayBuffer=="function"){var n=r,i=n.lib,a=i.WordArray,u=a.init,f=a.init=function(d){if(d instanceof ArrayBuffer&&(d=new Uint8Array(d)),(d instanceof Int8Array||typeof Uint8ClampedArray<"u"&&d instanceof Uint8ClampedArray||d instanceof Int16Array||d instanceof Uint16Array||d instanceof Int32Array||d instanceof Uint32Array||d instanceof Float32Array||d instanceof Float64Array)&&(d=new Uint8Array(d.buffer,d.byteOffset,d.byteLength)),d instanceof Uint8Array){for(var l=d.byteLength,_=[],E=0;E<l;E++)_[E>>>2]|=d[E]<<24-E%4*8;u.call(this,_,l)}else u.apply(this,arguments)};f.prototype=a}}(),r.lib.WordArray})}(mf)),mf.exports}var yf={exports:{}},pv;function G5(){return pv||(pv=1,function(t,e){(function(r,n){t.exports=n(It())})(Tt,function(r){return function(){var n=r,i=n.lib,a=i.WordArray,u=n.enc;u.Utf16=u.Utf16BE={stringify:function(d){for(var l=d.words,_=d.sigBytes,E=[],y=0;y<_;y+=2){var b=l[y>>>2]>>>16-y%4*8&65535;E.push(String.fromCharCode(b))}return E.join("")},parse:function(d){for(var l=d.length,_=[],E=0;E<l;E++)_[E>>>1]|=d.charCodeAt(E)<<16-E%2*16;return a.create(_,l*2)}},u.Utf16LE={stringify:function(d){for(var l=d.words,_=d.sigBytes,E=[],y=0;y<_;y+=2){var b=f(l[y>>>2]>>>16-y%4*8&65535);E.push(String.fromCharCode(b))}return E.join("")},parse:function(d){for(var l=d.length,_=[],E=0;E<l;E++)_[E>>>1]|=f(d.charCodeAt(E)<<16-E%2*16);return a.create(_,l*2)}};function f(d){return d<<8&4278255360|d>>>8&16711935}}(),r.enc.Utf16})}(yf)),yf.exports}var Ef={exports:{}},hv;function gi(){return hv||(hv=1,function(t,e){(function(r,n){t.exports=n(It())})(Tt,function(r){return function(){var n=r,i=n.lib,a=i.WordArray,u=n.enc;u.Base64={stringify:function(d){var l=d.words,_=d.sigBytes,E=this._map;d.clamp();for(var y=[],b=0;b<_;b+=3)for(var S=l[b>>>2]>>>24-b%4*8&255,C=l[b+1>>>2]>>>24-(b+1)%4*8&255,O=l[b+2>>>2]>>>24-(b+2)%4*8&255,I=S<<16|C<<8|O,T=0;T<4&&b+T*.75<_;T++)y.push(E.charAt(I>>>6*(3-T)&63));var w=E.charAt(64);if(w)for(;y.length%4;)y.push(w);return y.join("")},parse:function(d){var l=d.length,_=this._map,E=this._reverseMap;if(!E){E=this._reverseMap=[];for(var y=0;y<_.length;y++)E[_.charCodeAt(y)]=y}var b=_.charAt(64);if(b){var S=d.indexOf(b);S!==-1&&(l=S)}return f(d,l,E)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function f(d,l,_){for(var E=[],y=0,b=0;b<l;b++)if(b%4){var S=_[d.charCodeAt(b-1)]<<b%4*2,C=_[d.charCodeAt(b)]>>>6-b%4*2,O=S|C;E[y>>>2]|=O<<24-y%4*8,y++}return a.create(E,y)}}(),r.enc.Base64})}(Ef)),Ef.exports}var xf={exports:{}},_v;function V5(){return _v||(_v=1,function(t,e){(function(r,n){t.exports=n(It())})(Tt,function(r){return function(){var n=r,i=n.lib,a=i.WordArray,u=n.enc;u.Base64url={stringify:function(d,l){l===void 0&&(l=!0);var _=d.words,E=d.sigBytes,y=l?this._safe_map:this._map;d.clamp();for(var b=[],S=0;S<E;S+=3)for(var C=_[S>>>2]>>>24-S%4*8&255,O=_[S+1>>>2]>>>24-(S+1)%4*8&255,I=_[S+2>>>2]>>>24-(S+2)%4*8&255,T=C<<16|O<<8|I,w=0;w<4&&S+w*.75<E;w++)b.push(y.charAt(T>>>6*(3-w)&63));var N=y.charAt(64);if(N)for(;b.length%4;)b.push(N);return b.join("")},parse:function(d,l){l===void 0&&(l=!0);var _=d.length,E=l?this._safe_map:this._map,y=this._reverseMap;if(!y){y=this._reverseMap=[];for(var b=0;b<E.length;b++)y[E.charCodeAt(b)]=b}var S=E.charAt(64);if(S){var C=d.indexOf(S);C!==-1&&(_=C)}return f(d,_,y)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function f(d,l,_){for(var E=[],y=0,b=0;b<l;b++)if(b%4){var S=_[d.charCodeAt(b-1)]<<b%4*2,C=_[d.charCodeAt(b)]>>>6-b%4*2,O=S|C;E[y>>>2]|=O<<24-y%4*8,y++}return a.create(E,y)}}(),r.enc.Base64url})}(xf)),xf.exports}var bf={exports:{}},vv;function mi(){return vv||(vv=1,function(t,e){(function(r,n){t.exports=n(It())})(Tt,function(r){return function(n){var i=r,a=i.lib,u=a.WordArray,f=a.Hasher,d=i.algo,l=[];(function(){for(var C=0;C<64;C++)l[C]=n.abs(n.sin(C+1))*4294967296|0})();var _=d.MD5=f.extend({_doReset:function(){this._hash=new u.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(C,O){for(var I=0;I<16;I++){var T=O+I,w=C[T];C[T]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360}var N=this._hash.words,L=C[O+0],M=C[O+1],F=C[O+2],U=C[O+3],Z=C[O+4],$=C[O+5],k=C[O+6],D=C[O+7],R=C[O+8],B=C[O+9],j=C[O+10],G=C[O+11],Y=C[O+12],K=C[O+13],tt=C[O+14],et=C[O+15],V=N[0],W=N[1],z=N[2],X=N[3];V=E(V,W,z,X,L,7,l[0]),X=E(X,V,W,z,M,12,l[1]),z=E(z,X,V,W,F,17,l[2]),W=E(W,z,X,V,U,22,l[3]),V=E(V,W,z,X,Z,7,l[4]),X=E(X,V,W,z,$,12,l[5]),z=E(z,X,V,W,k,17,l[6]),W=E(W,z,X,V,D,22,l[7]),V=E(V,W,z,X,R,7,l[8]),X=E(X,V,W,z,B,12,l[9]),z=E(z,X,V,W,j,17,l[10]),W=E(W,z,X,V,G,22,l[11]),V=E(V,W,z,X,Y,7,l[12]),X=E(X,V,W,z,K,12,l[13]),z=E(z,X,V,W,tt,17,l[14]),W=E(W,z,X,V,et,22,l[15]),V=y(V,W,z,X,M,5,l[16]),X=y(X,V,W,z,k,9,l[17]),z=y(z,X,V,W,G,14,l[18]),W=y(W,z,X,V,L,20,l[19]),V=y(V,W,z,X,$,5,l[20]),X=y(X,V,W,z,j,9,l[21]),z=y(z,X,V,W,et,14,l[22]),W=y(W,z,X,V,Z,20,l[23]),V=y(V,W,z,X,B,5,l[24]),X=y(X,V,W,z,tt,9,l[25]),z=y(z,X,V,W,U,14,l[26]),W=y(W,z,X,V,R,20,l[27]),V=y(V,W,z,X,K,5,l[28]),X=y(X,V,W,z,F,9,l[29]),z=y(z,X,V,W,D,14,l[30]),W=y(W,z,X,V,Y,20,l[31]),V=b(V,W,z,X,$,4,l[32]),X=b(X,V,W,z,R,11,l[33]),z=b(z,X,V,W,G,16,l[34]),W=b(W,z,X,V,tt,23,l[35]),V=b(V,W,z,X,M,4,l[36]),X=b(X,V,W,z,Z,11,l[37]),z=b(z,X,V,W,D,16,l[38]),W=b(W,z,X,V,j,23,l[39]),V=b(V,W,z,X,K,4,l[40]),X=b(X,V,W,z,L,11,l[41]),z=b(z,X,V,W,U,16,l[42]),W=b(W,z,X,V,k,23,l[43]),V=b(V,W,z,X,B,4,l[44]),X=b(X,V,W,z,Y,11,l[45]),z=b(z,X,V,W,et,16,l[46]),W=b(W,z,X,V,F,23,l[47]),V=S(V,W,z,X,L,6,l[48]),X=S(X,V,W,z,D,10,l[49]),z=S(z,X,V,W,tt,15,l[50]),W=S(W,z,X,V,$,21,l[51]),V=S(V,W,z,X,Y,6,l[52]),X=S(X,V,W,z,U,10,l[53]),z=S(z,X,V,W,j,15,l[54]),W=S(W,z,X,V,M,21,l[55]),V=S(V,W,z,X,R,6,l[56]),X=S(X,V,W,z,et,10,l[57]),z=S(z,X,V,W,k,15,l[58]),W=S(W,z,X,V,K,21,l[59]),V=S(V,W,z,X,Z,6,l[60]),X=S(X,V,W,z,G,10,l[61]),z=S(z,X,V,W,F,15,l[62]),W=S(W,z,X,V,B,21,l[63]),N[0]=N[0]+V|0,N[1]=N[1]+W|0,N[2]=N[2]+z|0,N[3]=N[3]+X|0},_doFinalize:function(){var C=this._data,O=C.words,I=this._nDataBytes*8,T=C.sigBytes*8;O[T>>>5]|=128<<24-T%32;var w=n.floor(I/4294967296),N=I;O[(T+64>>>9<<4)+15]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360,O[(T+64>>>9<<4)+14]=(N<<8|N>>>24)&16711935|(N<<24|N>>>8)&4278255360,C.sigBytes=(O.length+1)*4,this._process();for(var L=this._hash,M=L.words,F=0;F<4;F++){var U=M[F];M[F]=(U<<8|U>>>24)&16711935|(U<<24|U>>>8)&4278255360}return L},clone:function(){var C=f.clone.call(this);return C._hash=this._hash.clone(),C}});function E(C,O,I,T,w,N,L){var M=C+(O&I|~O&T)+w+L;return(M<<N|M>>>32-N)+O}function y(C,O,I,T,w,N,L){var M=C+(O&T|I&~T)+w+L;return(M<<N|M>>>32-N)+O}function b(C,O,I,T,w,N,L){var M=C+(O^I^T)+w+L;return(M<<N|M>>>32-N)+O}function S(C,O,I,T,w,N,L){var M=C+(I^(O|~T))+w+L;return(M<<N|M>>>32-N)+O}i.MD5=f._createHelper(_),i.HmacMD5=f._createHmacHelper(_)}(Math),r.MD5})}(bf)),bf.exports}var Tf={exports:{}},gv;function CE(){return gv||(gv=1,function(t,e){(function(r,n){t.exports=n(It())})(Tt,function(r){return function(){var n=r,i=n.lib,a=i.WordArray,u=i.Hasher,f=n.algo,d=[],l=f.SHA1=u.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(_,E){for(var y=this._hash.words,b=y[0],S=y[1],C=y[2],O=y[3],I=y[4],T=0;T<80;T++){if(T<16)d[T]=_[E+T]|0;else{var w=d[T-3]^d[T-8]^d[T-14]^d[T-16];d[T]=w<<1|w>>>31}var N=(b<<5|b>>>27)+I+d[T];T<20?N+=(S&C|~S&O)+1518500249:T<40?N+=(S^C^O)+1859775393:T<60?N+=(S&C|S&O|C&O)-1894007588:N+=(S^C^O)-899497514,I=O,O=C,C=S<<30|S>>>2,S=b,b=N}y[0]=y[0]+b|0,y[1]=y[1]+S|0,y[2]=y[2]+C|0,y[3]=y[3]+O|0,y[4]=y[4]+I|0},_doFinalize:function(){var _=this._data,E=_.words,y=this._nDataBytes*8,b=_.sigBytes*8;return E[b>>>5]|=128<<24-b%32,E[(b+64>>>9<<4)+14]=Math.floor(y/4294967296),E[(b+64>>>9<<4)+15]=y,_.sigBytes=E.length*4,this._process(),this._hash},clone:function(){var _=u.clone.call(this);return _._hash=this._hash.clone(),_}});n.SHA1=u._createHelper(l),n.HmacSHA1=u._createHmacHelper(l)}(),r.SHA1})}(Tf)),Tf.exports}var Sf={exports:{}},mv;function $d(){return mv||(mv=1,function(t,e){(function(r,n){t.exports=n(It())})(Tt,function(r){return function(n){var i=r,a=i.lib,u=a.WordArray,f=a.Hasher,d=i.algo,l=[],_=[];(function(){function b(I){for(var T=n.sqrt(I),w=2;w<=T;w++)if(!(I%w))return!1;return!0}function S(I){return(I-(I|0))*4294967296|0}for(var C=2,O=0;O<64;)b(C)&&(O<8&&(l[O]=S(n.pow(C,1/2))),_[O]=S(n.pow(C,1/3)),O++),C++})();var E=[],y=d.SHA256=f.extend({_doReset:function(){this._hash=new u.init(l.slice(0))},_doProcessBlock:function(b,S){for(var C=this._hash.words,O=C[0],I=C[1],T=C[2],w=C[3],N=C[4],L=C[5],M=C[6],F=C[7],U=0;U<64;U++){if(U<16)E[U]=b[S+U]|0;else{var Z=E[U-15],$=(Z<<25|Z>>>7)^(Z<<14|Z>>>18)^Z>>>3,k=E[U-2],D=(k<<15|k>>>17)^(k<<13|k>>>19)^k>>>10;E[U]=$+E[U-7]+D+E[U-16]}var R=N&L^~N&M,B=O&I^O&T^I&T,j=(O<<30|O>>>2)^(O<<19|O>>>13)^(O<<10|O>>>22),G=(N<<26|N>>>6)^(N<<21|N>>>11)^(N<<7|N>>>25),Y=F+G+R+_[U]+E[U],K=j+B;F=M,M=L,L=N,N=w+Y|0,w=T,T=I,I=O,O=Y+K|0}C[0]=C[0]+O|0,C[1]=C[1]+I|0,C[2]=C[2]+T|0,C[3]=C[3]+w|0,C[4]=C[4]+N|0,C[5]=C[5]+L|0,C[6]=C[6]+M|0,C[7]=C[7]+F|0},_doFinalize:function(){var b=this._data,S=b.words,C=this._nDataBytes*8,O=b.sigBytes*8;return S[O>>>5]|=128<<24-O%32,S[(O+64>>>9<<4)+14]=n.floor(C/4294967296),S[(O+64>>>9<<4)+15]=C,b.sigBytes=S.length*4,this._process(),this._hash},clone:function(){var b=f.clone.call(this);return b._hash=this._hash.clone(),b}});i.SHA256=f._createHelper(y),i.HmacSHA256=f._createHmacHelper(y)}(Math),r.SHA256})}(Sf)),Sf.exports}var Af={exports:{}},yv;function W5(){return yv||(yv=1,function(t,e){(function(r,n,i){t.exports=n(It(),$d())})(Tt,function(r){return function(){var n=r,i=n.lib,a=i.WordArray,u=n.algo,f=u.SHA256,d=u.SHA224=f.extend({_doReset:function(){this._hash=new a.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var l=f._doFinalize.call(this);return l.sigBytes-=4,l}});n.SHA224=f._createHelper(d),n.HmacSHA224=f._createHmacHelper(d)}(),r.SHA224})}(Af)),Af.exports}var Of={exports:{}},Ev;function PE(){return Ev||(Ev=1,function(t,e){(function(r,n,i){t.exports=n(It(),tc())})(Tt,function(r){return function(){var n=r,i=n.lib,a=i.Hasher,u=n.x64,f=u.Word,d=u.WordArray,l=n.algo;function _(){return f.create.apply(f,arguments)}var E=[_(1116352408,3609767458),_(1899447441,602891725),_(3049323471,3964484399),_(3921009573,2173295548),_(961987163,4081628472),_(1508970993,3053834265),_(2453635748,2937671579),_(2870763221,3664609560),_(3624381080,2734883394),_(310598401,1164996542),_(607225278,1323610764),_(1426881987,3590304994),_(1925078388,4068182383),_(2162078206,991336113),_(2614888103,633803317),_(3248222580,3479774868),_(3835390401,2666613458),_(4022224774,944711139),_(264347078,2341262773),_(604807628,2007800933),_(770255983,1495990901),_(1249150122,1856431235),_(1555081692,3175218132),_(1996064986,2198950837),_(2554220882,3999719339),_(2821834349,766784016),_(2952996808,2566594879),_(3210313671,3203337956),_(3336571891,1034457026),_(3584528711,2466948901),_(113926993,3758326383),_(338241895,168717936),_(666307205,1188179964),_(773529912,1546045734),_(1294757372,1522805485),_(1396182291,2643833823),_(1695183700,2343527390),_(1986661051,1014477480),_(2177026350,1206759142),_(2456956037,344077627),_(2730485921,1290863460),_(2820302411,3158454273),_(3259730800,3505952657),_(3345764771,106217008),_(3516065817,3606008344),_(3600352804,1432725776),_(4094571909,1467031594),_(275423344,851169720),_(430227734,3100823752),_(506948616,1363258195),_(659060556,3750685593),_(883997877,3785050280),_(958139571,3318307427),_(1322822218,3812723403),_(1537002063,2003034995),_(1747873779,3602036899),_(1955562222,1575990012),_(2024104815,1125592928),_(2227730452,2716904306),_(2361852424,442776044),_(2428436474,593698344),_(2756734187,3733110249),_(3204031479,2999351573),_(3329325298,3815920427),_(3391569614,3928383900),_(3515267271,566280711),_(3940187606,3454069534),_(4118630271,4000239992),_(116418474,1914138554),_(174292421,2731055270),_(289380356,3203993006),_(460393269,320620315),_(685471733,587496836),_(852142971,1086792851),_(1017036298,365543100),_(1126000580,2618297676),_(1288033470,3409855158),_(1501505948,4234509866),_(1607167915,987167468),_(1816402316,1246189591)],y=[];(function(){for(var S=0;S<80;S++)y[S]=_()})();var b=l.SHA512=a.extend({_doReset:function(){this._hash=new d.init([new f.init(1779033703,4089235720),new f.init(3144134277,2227873595),new f.init(1013904242,4271175723),new f.init(2773480762,1595750129),new f.init(1359893119,2917565137),new f.init(2600822924,725511199),new f.init(528734635,4215389547),new f.init(1541459225,327033209)])},_doProcessBlock:function(S,C){for(var O=this._hash.words,I=O[0],T=O[1],w=O[2],N=O[3],L=O[4],M=O[5],F=O[6],U=O[7],Z=I.high,$=I.low,k=T.high,D=T.low,R=w.high,B=w.low,j=N.high,G=N.low,Y=L.high,K=L.low,tt=M.high,et=M.low,V=F.high,W=F.low,z=U.high,X=U.low,mt=Z,pt=$,Nt=k,ft=D,ee=R,Zt=B,je=j,Le=G,Bt=Y,ce=K,nn=tt,Br=et,Cn=V,yr=W,he=z,Pn=X,He=0;He<80;He++){var Be,Vt,Rn=y[He];if(He<16)Vt=Rn.high=S[C+He*2]|0,Be=Rn.low=S[C+He*2+1]|0;else{var Ao=y[He-15],qe=Ao.high,we=Ao.low,Va=(qe>>>1|we<<31)^(qe>>>8|we<<24)^qe>>>7,bi=(we>>>1|qe<<31)^(we>>>8|qe<<24)^(we>>>7|qe<<25),Oo=y[He-2],Mr=Oo.high,Er=Oo.low,Wa=(Mr>>>19|Er<<13)^(Mr<<3|Er>>>29)^Mr>>>6,wo=(Er>>>19|Mr<<13)^(Er<<3|Mr>>>29)^(Er>>>6|Mr<<26),Ti=y[He-7],Co=Ti.high,Si=Ti.low,Ka=y[He-16],hc=Ka.high,Po=Ka.low;Be=bi+Si,Vt=Va+Co+(Be>>>0<bi>>>0?1:0),Be=Be+wo,Vt=Vt+Wa+(Be>>>0<wo>>>0?1:0),Be=Be+Po,Vt=Vt+hc+(Be>>>0<Po>>>0?1:0),Rn.high=Vt,Rn.low=Be}var _c=Bt&nn^~Bt&Cn,qa=ce&Br^~ce&yr,Ft=mt&Nt^mt&ee^Nt&ee,vc=pt&ft^pt&Zt^ft&Zt,Dn=(mt>>>28|pt<<4)^(mt<<30|pt>>>2)^(mt<<25|pt>>>7),on=(pt>>>28|mt<<4)^(pt<<30|mt>>>2)^(pt<<25|mt>>>7),za=(Bt>>>14|ce<<18)^(Bt>>>18|ce<<14)^(Bt<<23|ce>>>9),Xa=(ce>>>14|Bt<<18)^(ce>>>18|Bt<<14)^(ce<<23|Bt>>>9),Ro=E[He],Do=Ro.high,Io=Ro.low,pe=Pn+Xa,cr=he+za+(pe>>>0<Pn>>>0?1:0),pe=pe+qa,cr=cr+_c+(pe>>>0<qa>>>0?1:0),pe=pe+Io,cr=cr+Do+(pe>>>0<Io>>>0?1:0),pe=pe+Be,cr=cr+Vt+(pe>>>0<Be>>>0?1:0),No=on+vc,In=Dn+Ft+(No>>>0<on>>>0?1:0);he=Cn,Pn=yr,Cn=nn,yr=Br,nn=Bt,Br=ce,ce=Le+pe|0,Bt=je+cr+(ce>>>0<Le>>>0?1:0)|0,je=ee,Le=Zt,ee=Nt,Zt=ft,Nt=mt,ft=pt,pt=pe+No|0,mt=cr+In+(pt>>>0<pe>>>0?1:0)|0}$=I.low=$+pt,I.high=Z+mt+($>>>0<pt>>>0?1:0),D=T.low=D+ft,T.high=k+Nt+(D>>>0<ft>>>0?1:0),B=w.low=B+Zt,w.high=R+ee+(B>>>0<Zt>>>0?1:0),G=N.low=G+Le,N.high=j+je+(G>>>0<Le>>>0?1:0),K=L.low=K+ce,L.high=Y+Bt+(K>>>0<ce>>>0?1:0),et=M.low=et+Br,M.high=tt+nn+(et>>>0<Br>>>0?1:0),W=F.low=W+yr,F.high=V+Cn+(W>>>0<yr>>>0?1:0),X=U.low=X+Pn,U.high=z+he+(X>>>0<Pn>>>0?1:0)},_doFinalize:function(){var S=this._data,C=S.words,O=this._nDataBytes*8,I=S.sigBytes*8;C[I>>>5]|=128<<24-I%32,C[(I+128>>>10<<5)+30]=Math.floor(O/4294967296),C[(I+128>>>10<<5)+31]=O,S.sigBytes=C.length*4,this._process();var T=this._hash.toX32();return T},clone:function(){var S=a.clone.call(this);return S._hash=this._hash.clone(),S},blockSize:1024/32});n.SHA512=a._createHelper(b),n.HmacSHA512=a._createHmacHelper(b)}(),r.SHA512})}(Of)),Of.exports}var wf={exports:{}},xv;function K5(){return xv||(xv=1,function(t,e){(function(r,n,i){t.exports=n(It(),tc(),PE())})(Tt,function(r){return function(){var n=r,i=n.x64,a=i.Word,u=i.WordArray,f=n.algo,d=f.SHA512,l=f.SHA384=d.extend({_doReset:function(){this._hash=new u.init([new a.init(3418070365,3238371032),new a.init(1654270250,914150663),new a.init(2438529370,812702999),new a.init(355462360,4144912697),new a.init(1731405415,4290775857),new a.init(2394180231,1750603025),new a.init(3675008525,1694076839),new a.init(1203062813,3204075428)])},_doFinalize:function(){var _=d._doFinalize.call(this);return _.sigBytes-=16,_}});n.SHA384=d._createHelper(l),n.HmacSHA384=d._createHmacHelper(l)}(),r.SHA384})}(wf)),wf.exports}var Cf={exports:{}},bv;function q5(){return bv||(bv=1,function(t,e){(function(r,n,i){t.exports=n(It(),tc())})(Tt,function(r){return function(n){var i=r,a=i.lib,u=a.WordArray,f=a.Hasher,d=i.x64,l=d.Word,_=i.algo,E=[],y=[],b=[];(function(){for(var O=1,I=0,T=0;T<24;T++){E[O+5*I]=(T+1)*(T+2)/2%64;var w=I%5,N=(2*O+3*I)%5;O=w,I=N}for(var O=0;O<5;O++)for(var I=0;I<5;I++)y[O+5*I]=I+(2*O+3*I)%5*5;for(var L=1,M=0;M<24;M++){for(var F=0,U=0,Z=0;Z<7;Z++){if(L&1){var $=(1<<Z)-1;$<32?U^=1<<$:F^=1<<$-32}L&128?L=L<<1^113:L<<=1}b[M]=l.create(F,U)}})();var S=[];(function(){for(var O=0;O<25;O++)S[O]=l.create()})();var C=_.SHA3=f.extend({cfg:f.cfg.extend({outputLength:512}),_doReset:function(){for(var O=this._state=[],I=0;I<25;I++)O[I]=new l.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(O,I){for(var T=this._state,w=this.blockSize/2,N=0;N<w;N++){var L=O[I+2*N],M=O[I+2*N+1];L=(L<<8|L>>>24)&16711935|(L<<24|L>>>8)&4278255360,M=(M<<8|M>>>24)&16711935|(M<<24|M>>>8)&4278255360;var F=T[N];F.high^=M,F.low^=L}for(var U=0;U<24;U++){for(var Z=0;Z<5;Z++){for(var $=0,k=0,D=0;D<5;D++){var F=T[Z+5*D];$^=F.high,k^=F.low}var R=S[Z];R.high=$,R.low=k}for(var Z=0;Z<5;Z++)for(var B=S[(Z+4)%5],j=S[(Z+1)%5],G=j.high,Y=j.low,$=B.high^(G<<1|Y>>>31),k=B.low^(Y<<1|G>>>31),D=0;D<5;D++){var F=T[Z+5*D];F.high^=$,F.low^=k}for(var K=1;K<25;K++){var $,k,F=T[K],tt=F.high,et=F.low,V=E[K];V<32?($=tt<<V|et>>>32-V,k=et<<V|tt>>>32-V):($=et<<V-32|tt>>>64-V,k=tt<<V-32|et>>>64-V);var W=S[y[K]];W.high=$,W.low=k}var z=S[0],X=T[0];z.high=X.high,z.low=X.low;for(var Z=0;Z<5;Z++)for(var D=0;D<5;D++){var K=Z+5*D,F=T[K],mt=S[K],pt=S[(Z+1)%5+5*D],Nt=S[(Z+2)%5+5*D];F.high=mt.high^~pt.high&Nt.high,F.low=mt.low^~pt.low&Nt.low}var F=T[0],ft=b[U];F.high^=ft.high,F.low^=ft.low}},_doFinalize:function(){var O=this._data,I=O.words;this._nDataBytes*8;var T=O.sigBytes*8,w=this.blockSize*32;I[T>>>5]|=1<<24-T%32,I[(n.ceil((T+1)/w)*w>>>5)-1]|=128,O.sigBytes=I.length*4,this._process();for(var N=this._state,L=this.cfg.outputLength/8,M=L/8,F=[],U=0;U<M;U++){var Z=N[U],$=Z.high,k=Z.low;$=($<<8|$>>>24)&16711935|($<<24|$>>>8)&4278255360,k=(k<<8|k>>>24)&16711935|(k<<24|k>>>8)&4278255360,F.push(k),F.push($)}return new u.init(F,L)},clone:function(){for(var O=f.clone.call(this),I=O._state=this._state.slice(0),T=0;T<25;T++)I[T]=I[T].clone();return O}});i.SHA3=f._createHelper(C),i.HmacSHA3=f._createHmacHelper(C)}(Math),r.SHA3})}(Cf)),Cf.exports}var Pf={exports:{}},Tv;function z5(){return Tv||(Tv=1,function(t,e){(function(r,n){t.exports=n(It())})(Tt,function(r){/** @preserve
			(c) 2012 by Cédric Mesnil. All rights reserved.

			Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

			    - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
			    - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

			THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
			*/return function(n){var i=r,a=i.lib,u=a.WordArray,f=a.Hasher,d=i.algo,l=u.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),_=u.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),E=u.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),y=u.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),b=u.create([0,1518500249,1859775393,2400959708,2840853838]),S=u.create([1352829926,1548603684,1836072691,2053994217,0]),C=d.RIPEMD160=f.extend({_doReset:function(){this._hash=u.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(M,F){for(var U=0;U<16;U++){var Z=F+U,$=M[Z];M[Z]=($<<8|$>>>24)&16711935|($<<24|$>>>8)&4278255360}var k=this._hash.words,D=b.words,R=S.words,B=l.words,j=_.words,G=E.words,Y=y.words,K,tt,et,V,W,z,X,mt,pt,Nt;z=K=k[0],X=tt=k[1],mt=et=k[2],pt=V=k[3],Nt=W=k[4];for(var ft,U=0;U<80;U+=1)ft=K+M[F+B[U]]|0,U<16?ft+=O(tt,et,V)+D[0]:U<32?ft+=I(tt,et,V)+D[1]:U<48?ft+=T(tt,et,V)+D[2]:U<64?ft+=w(tt,et,V)+D[3]:ft+=N(tt,et,V)+D[4],ft=ft|0,ft=L(ft,G[U]),ft=ft+W|0,K=W,W=V,V=L(et,10),et=tt,tt=ft,ft=z+M[F+j[U]]|0,U<16?ft+=N(X,mt,pt)+R[0]:U<32?ft+=w(X,mt,pt)+R[1]:U<48?ft+=T(X,mt,pt)+R[2]:U<64?ft+=I(X,mt,pt)+R[3]:ft+=O(X,mt,pt)+R[4],ft=ft|0,ft=L(ft,Y[U]),ft=ft+Nt|0,z=Nt,Nt=pt,pt=L(mt,10),mt=X,X=ft;ft=k[1]+et+pt|0,k[1]=k[2]+V+Nt|0,k[2]=k[3]+W+z|0,k[3]=k[4]+K+X|0,k[4]=k[0]+tt+mt|0,k[0]=ft},_doFinalize:function(){var M=this._data,F=M.words,U=this._nDataBytes*8,Z=M.sigBytes*8;F[Z>>>5]|=128<<24-Z%32,F[(Z+64>>>9<<4)+14]=(U<<8|U>>>24)&16711935|(U<<24|U>>>8)&4278255360,M.sigBytes=(F.length+1)*4,this._process();for(var $=this._hash,k=$.words,D=0;D<5;D++){var R=k[D];k[D]=(R<<8|R>>>24)&16711935|(R<<24|R>>>8)&4278255360}return $},clone:function(){var M=f.clone.call(this);return M._hash=this._hash.clone(),M}});function O(M,F,U){return M^F^U}function I(M,F,U){return M&F|~M&U}function T(M,F,U){return(M|~F)^U}function w(M,F,U){return M&U|F&~U}function N(M,F,U){return M^(F|~U)}function L(M,F){return M<<F|M>>>32-F}i.RIPEMD160=f._createHelper(C),i.HmacRIPEMD160=f._createHmacHelper(C)}(),r.RIPEMD160})}(Pf)),Pf.exports}var Rf={exports:{}},Sv;function kd(){return Sv||(Sv=1,function(t,e){(function(r,n){t.exports=n(It())})(Tt,function(r){(function(){var n=r,i=n.lib,a=i.Base,u=n.enc,f=u.Utf8,d=n.algo;d.HMAC=a.extend({init:function(l,_){l=this._hasher=new l.init,typeof _=="string"&&(_=f.parse(_));var E=l.blockSize,y=E*4;_.sigBytes>y&&(_=l.finalize(_)),_.clamp();for(var b=this._oKey=_.clone(),S=this._iKey=_.clone(),C=b.words,O=S.words,I=0;I<E;I++)C[I]^=1549556828,O[I]^=909522486;b.sigBytes=S.sigBytes=y,this.reset()},reset:function(){var l=this._hasher;l.reset(),l.update(this._iKey)},update:function(l){return this._hasher.update(l),this},finalize:function(l){var _=this._hasher,E=_.finalize(l);_.reset();var y=_.finalize(this._oKey.clone().concat(E));return y}})})()})}(Rf)),Rf.exports}var Df={exports:{}},Av;function X5(){return Av||(Av=1,function(t,e){(function(r,n,i){t.exports=n(It(),$d(),kd())})(Tt,function(r){return function(){var n=r,i=n.lib,a=i.Base,u=i.WordArray,f=n.algo,d=f.SHA256,l=f.HMAC,_=f.PBKDF2=a.extend({cfg:a.extend({keySize:128/32,hasher:d,iterations:25e4}),init:function(E){this.cfg=this.cfg.extend(E)},compute:function(E,y){for(var b=this.cfg,S=l.create(b.hasher,E),C=u.create(),O=u.create([1]),I=C.words,T=O.words,w=b.keySize,N=b.iterations;I.length<w;){var L=S.update(y).finalize(O);S.reset();for(var M=L.words,F=M.length,U=L,Z=1;Z<N;Z++){U=S.finalize(U),S.reset();for(var $=U.words,k=0;k<F;k++)M[k]^=$[k]}C.concat(L),T[0]++}return C.sigBytes=w*4,C}});n.PBKDF2=function(E,y,b){return _.create(b).compute(E,y)}}(),r.PBKDF2})}(Df)),Df.exports}var If={exports:{}},Ov;function wn(){return Ov||(Ov=1,function(t,e){(function(r,n,i){t.exports=n(It(),CE(),kd())})(Tt,function(r){return function(){var n=r,i=n.lib,a=i.Base,u=i.WordArray,f=n.algo,d=f.MD5,l=f.EvpKDF=a.extend({cfg:a.extend({keySize:128/32,hasher:d,iterations:1}),init:function(_){this.cfg=this.cfg.extend(_)},compute:function(_,E){for(var y,b=this.cfg,S=b.hasher.create(),C=u.create(),O=C.words,I=b.keySize,T=b.iterations;O.length<I;){y&&S.update(y),y=S.update(_).finalize(E),S.reset();for(var w=1;w<T;w++)y=S.finalize(y),S.reset();C.concat(y)}return C.sigBytes=I*4,C}});n.EvpKDF=function(_,E,y){return l.create(y).compute(_,E)}}(),r.EvpKDF})}(If)),If.exports}var Nf={exports:{}},wv;function Te(){return wv||(wv=1,function(t,e){(function(r,n,i){t.exports=n(It(),wn())})(Tt,function(r){r.lib.Cipher||function(n){var i=r,a=i.lib,u=a.Base,f=a.WordArray,d=a.BufferedBlockAlgorithm,l=i.enc;l.Utf8;var _=l.Base64,E=i.algo,y=E.EvpKDF,b=a.Cipher=d.extend({cfg:u.extend(),createEncryptor:function($,k){return this.create(this._ENC_XFORM_MODE,$,k)},createDecryptor:function($,k){return this.create(this._DEC_XFORM_MODE,$,k)},init:function($,k,D){this.cfg=this.cfg.extend(D),this._xformMode=$,this._key=k,this.reset()},reset:function(){d.reset.call(this),this._doReset()},process:function($){return this._append($),this._process()},finalize:function($){$&&this._append($);var k=this._doFinalize();return k},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function $(k){return typeof k=="string"?Z:M}return function(k){return{encrypt:function(D,R,B){return $(R).encrypt(k,D,R,B)},decrypt:function(D,R,B){return $(R).decrypt(k,D,R,B)}}}}()});a.StreamCipher=b.extend({_doFinalize:function(){var $=this._process(!0);return $},blockSize:1});var S=i.mode={},C=a.BlockCipherMode=u.extend({createEncryptor:function($,k){return this.Encryptor.create($,k)},createDecryptor:function($,k){return this.Decryptor.create($,k)},init:function($,k){this._cipher=$,this._iv=k}}),O=S.CBC=function(){var $=C.extend();$.Encryptor=$.extend({processBlock:function(D,R){var B=this._cipher,j=B.blockSize;k.call(this,D,R,j),B.encryptBlock(D,R),this._prevBlock=D.slice(R,R+j)}}),$.Decryptor=$.extend({processBlock:function(D,R){var B=this._cipher,j=B.blockSize,G=D.slice(R,R+j);B.decryptBlock(D,R),k.call(this,D,R,j),this._prevBlock=G}});function k(D,R,B){var j,G=this._iv;G?(j=G,this._iv=n):j=this._prevBlock;for(var Y=0;Y<B;Y++)D[R+Y]^=j[Y]}return $}(),I=i.pad={},T=I.Pkcs7={pad:function($,k){for(var D=k*4,R=D-$.sigBytes%D,B=R<<24|R<<16|R<<8|R,j=[],G=0;G<R;G+=4)j.push(B);var Y=f.create(j,R);$.concat(Y)},unpad:function($){var k=$.words[$.sigBytes-1>>>2]&255;$.sigBytes-=k}};a.BlockCipher=b.extend({cfg:b.cfg.extend({mode:O,padding:T}),reset:function(){var $;b.reset.call(this);var k=this.cfg,D=k.iv,R=k.mode;this._xformMode==this._ENC_XFORM_MODE?$=R.createEncryptor:($=R.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==$?this._mode.init(this,D&&D.words):(this._mode=$.call(R,this,D&&D.words),this._mode.__creator=$)},_doProcessBlock:function($,k){this._mode.processBlock($,k)},_doFinalize:function(){var $,k=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(k.pad(this._data,this.blockSize),$=this._process(!0)):($=this._process(!0),k.unpad($)),$},blockSize:128/32});var w=a.CipherParams=u.extend({init:function($){this.mixIn($)},toString:function($){return($||this.formatter).stringify(this)}}),N=i.format={},L=N.OpenSSL={stringify:function($){var k,D=$.ciphertext,R=$.salt;return R?k=f.create([1398893684,1701076831]).concat(R).concat(D):k=D,k.toString(_)},parse:function($){var k,D=_.parse($),R=D.words;return R[0]==1398893684&&R[1]==1701076831&&(k=f.create(R.slice(2,4)),R.splice(0,4),D.sigBytes-=16),w.create({ciphertext:D,salt:k})}},M=a.SerializableCipher=u.extend({cfg:u.extend({format:L}),encrypt:function($,k,D,R){R=this.cfg.extend(R);var B=$.createEncryptor(D,R),j=B.finalize(k),G=B.cfg;return w.create({ciphertext:j,key:D,iv:G.iv,algorithm:$,mode:G.mode,padding:G.padding,blockSize:$.blockSize,formatter:R.format})},decrypt:function($,k,D,R){R=this.cfg.extend(R),k=this._parse(k,R.format);var B=$.createDecryptor(D,R).finalize(k.ciphertext);return B},_parse:function($,k){return typeof $=="string"?k.parse($,this):$}}),F=i.kdf={},U=F.OpenSSL={execute:function($,k,D,R,B){if(R||(R=f.random(64/8)),B)var j=y.create({keySize:k+D,hasher:B}).compute($,R);else var j=y.create({keySize:k+D}).compute($,R);var G=f.create(j.words.slice(k),D*4);return j.sigBytes=k*4,w.create({key:j,iv:G,salt:R})}},Z=a.PasswordBasedCipher=M.extend({cfg:M.cfg.extend({kdf:U}),encrypt:function($,k,D,R){R=this.cfg.extend(R);var B=R.kdf.execute(D,$.keySize,$.ivSize,R.salt,R.hasher);R.iv=B.iv;var j=M.encrypt.call(this,$,k,B.key,R);return j.mixIn(B),j},decrypt:function($,k,D,R){R=this.cfg.extend(R),k=this._parse(k,R.format);var B=R.kdf.execute(D,$.keySize,$.ivSize,k.salt,R.hasher);R.iv=B.iv;var j=M.decrypt.call(this,$,k,B.key,R);return j}})}()})}(Nf)),Nf.exports}var Lf={exports:{}},Cv;function J5(){return Cv||(Cv=1,function(t,e){(function(r,n,i){t.exports=n(It(),Te())})(Tt,function(r){return r.mode.CFB=function(){var n=r.lib.BlockCipherMode.extend();n.Encryptor=n.extend({processBlock:function(a,u){var f=this._cipher,d=f.blockSize;i.call(this,a,u,d,f),this._prevBlock=a.slice(u,u+d)}}),n.Decryptor=n.extend({processBlock:function(a,u){var f=this._cipher,d=f.blockSize,l=a.slice(u,u+d);i.call(this,a,u,d,f),this._prevBlock=l}});function i(a,u,f,d){var l,_=this._iv;_?(l=_.slice(0),this._iv=void 0):l=this._prevBlock,d.encryptBlock(l,0);for(var E=0;E<f;E++)a[u+E]^=l[E]}return n}(),r.mode.CFB})}(Lf)),Lf.exports}var Bf={exports:{}},Pv;function Y5(){return Pv||(Pv=1,function(t,e){(function(r,n,i){t.exports=n(It(),Te())})(Tt,function(r){return r.mode.CTR=function(){var n=r.lib.BlockCipherMode.extend(),i=n.Encryptor=n.extend({processBlock:function(a,u){var f=this._cipher,d=f.blockSize,l=this._iv,_=this._counter;l&&(_=this._counter=l.slice(0),this._iv=void 0);var E=_.slice(0);f.encryptBlock(E,0),_[d-1]=_[d-1]+1|0;for(var y=0;y<d;y++)a[u+y]^=E[y]}});return n.Decryptor=i,n}(),r.mode.CTR})}(Bf)),Bf.exports}var Mf={exports:{}},Rv;function Z5(){return Rv||(Rv=1,function(t,e){(function(r,n,i){t.exports=n(It(),Te())})(Tt,function(r){/** @preserve
 * Counter block mode compatible with  Dr Brian Gladman fileenc.c
 * derived from CryptoJS.mode.CTR
 * Jan Hruby jhruby.web@gmail.com
 */return r.mode.CTRGladman=function(){var n=r.lib.BlockCipherMode.extend();function i(f){if((f>>24&255)===255){var d=f>>16&255,l=f>>8&255,_=f&255;d===255?(d=0,l===255?(l=0,_===255?_=0:++_):++l):++d,f=0,f+=d<<16,f+=l<<8,f+=_}else f+=1<<24;return f}function a(f){return(f[0]=i(f[0]))===0&&(f[1]=i(f[1])),f}var u=n.Encryptor=n.extend({processBlock:function(f,d){var l=this._cipher,_=l.blockSize,E=this._iv,y=this._counter;E&&(y=this._counter=E.slice(0),this._iv=void 0),a(y);var b=y.slice(0);l.encryptBlock(b,0);for(var S=0;S<_;S++)f[d+S]^=b[S]}});return n.Decryptor=u,n}(),r.mode.CTRGladman})}(Mf)),Mf.exports}var Ff={exports:{}},Dv;function Q5(){return Dv||(Dv=1,function(t,e){(function(r,n,i){t.exports=n(It(),Te())})(Tt,function(r){return r.mode.OFB=function(){var n=r.lib.BlockCipherMode.extend(),i=n.Encryptor=n.extend({processBlock:function(a,u){var f=this._cipher,d=f.blockSize,l=this._iv,_=this._keystream;l&&(_=this._keystream=l.slice(0),this._iv=void 0),f.encryptBlock(_,0);for(var E=0;E<d;E++)a[u+E]^=_[E]}});return n.Decryptor=i,n}(),r.mode.OFB})}(Ff)),Ff.exports}var $f={exports:{}},Iv;function t4(){return Iv||(Iv=1,function(t,e){(function(r,n,i){t.exports=n(It(),Te())})(Tt,function(r){return r.mode.ECB=function(){var n=r.lib.BlockCipherMode.extend();return n.Encryptor=n.extend({processBlock:function(i,a){this._cipher.encryptBlock(i,a)}}),n.Decryptor=n.extend({processBlock:function(i,a){this._cipher.decryptBlock(i,a)}}),n}(),r.mode.ECB})}($f)),$f.exports}var kf={exports:{}},Nv;function e4(){return Nv||(Nv=1,function(t,e){(function(r,n,i){t.exports=n(It(),Te())})(Tt,function(r){return r.pad.AnsiX923={pad:function(n,i){var a=n.sigBytes,u=i*4,f=u-a%u,d=a+f-1;n.clamp(),n.words[d>>>2]|=f<<24-d%4*8,n.sigBytes+=f},unpad:function(n){var i=n.words[n.sigBytes-1>>>2]&255;n.sigBytes-=i}},r.pad.Ansix923})}(kf)),kf.exports}var Uf={exports:{}},Lv;function r4(){return Lv||(Lv=1,function(t,e){(function(r,n,i){t.exports=n(It(),Te())})(Tt,function(r){return r.pad.Iso10126={pad:function(n,i){var a=i*4,u=a-n.sigBytes%a;n.concat(r.lib.WordArray.random(u-1)).concat(r.lib.WordArray.create([u<<24],1))},unpad:function(n){var i=n.words[n.sigBytes-1>>>2]&255;n.sigBytes-=i}},r.pad.Iso10126})}(Uf)),Uf.exports}var jf={exports:{}},Bv;function n4(){return Bv||(Bv=1,function(t,e){(function(r,n,i){t.exports=n(It(),Te())})(Tt,function(r){return r.pad.Iso97971={pad:function(n,i){n.concat(r.lib.WordArray.create([2147483648],1)),r.pad.ZeroPadding.pad(n,i)},unpad:function(n){r.pad.ZeroPadding.unpad(n),n.sigBytes--}},r.pad.Iso97971})}(jf)),jf.exports}var Hf={exports:{}},Mv;function i4(){return Mv||(Mv=1,function(t,e){(function(r,n,i){t.exports=n(It(),Te())})(Tt,function(r){return r.pad.ZeroPadding={pad:function(n,i){var a=i*4;n.clamp(),n.sigBytes+=a-(n.sigBytes%a||a)},unpad:function(n){for(var i=n.words,a=n.sigBytes-1,a=n.sigBytes-1;a>=0;a--)if(i[a>>>2]>>>24-a%4*8&255){n.sigBytes=a+1;break}}},r.pad.ZeroPadding})}(Hf)),Hf.exports}var Gf={exports:{}},Fv;function o4(){return Fv||(Fv=1,function(t,e){(function(r,n,i){t.exports=n(It(),Te())})(Tt,function(r){return r.pad.NoPadding={pad:function(){},unpad:function(){}},r.pad.NoPadding})}(Gf)),Gf.exports}var Vf={exports:{}},$v;function a4(){return $v||($v=1,function(t,e){(function(r,n,i){t.exports=n(It(),Te())})(Tt,function(r){return function(n){var i=r,a=i.lib,u=a.CipherParams,f=i.enc,d=f.Hex,l=i.format;l.Hex={stringify:function(_){return _.ciphertext.toString(d)},parse:function(_){var E=d.parse(_);return u.create({ciphertext:E})}}}(),r.format.Hex})}(Vf)),Vf.exports}var Wf={exports:{}},kv;function s4(){return kv||(kv=1,function(t,e){(function(r,n,i){t.exports=n(It(),gi(),mi(),wn(),Te())})(Tt,function(r){return function(){var n=r,i=n.lib,a=i.BlockCipher,u=n.algo,f=[],d=[],l=[],_=[],E=[],y=[],b=[],S=[],C=[],O=[];(function(){for(var w=[],N=0;N<256;N++)N<128?w[N]=N<<1:w[N]=N<<1^283;for(var L=0,M=0,N=0;N<256;N++){var F=M^M<<1^M<<2^M<<3^M<<4;F=F>>>8^F&255^99,f[L]=F,d[F]=L;var U=w[L],Z=w[U],$=w[Z],k=w[F]*257^F*16843008;l[L]=k<<24|k>>>8,_[L]=k<<16|k>>>16,E[L]=k<<8|k>>>24,y[L]=k;var k=$*16843009^Z*65537^U*257^L*16843008;b[F]=k<<24|k>>>8,S[F]=k<<16|k>>>16,C[F]=k<<8|k>>>24,O[F]=k,L?(L=U^w[w[w[$^U]]],M^=w[w[M]]):L=M=1}})();var I=[0,1,2,4,8,16,32,64,128,27,54],T=u.AES=a.extend({_doReset:function(){var w;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var N=this._keyPriorReset=this._key,L=N.words,M=N.sigBytes/4,F=this._nRounds=M+6,U=(F+1)*4,Z=this._keySchedule=[],$=0;$<U;$++)$<M?Z[$]=L[$]:(w=Z[$-1],$%M?M>6&&$%M==4&&(w=f[w>>>24]<<24|f[w>>>16&255]<<16|f[w>>>8&255]<<8|f[w&255]):(w=w<<8|w>>>24,w=f[w>>>24]<<24|f[w>>>16&255]<<16|f[w>>>8&255]<<8|f[w&255],w^=I[$/M|0]<<24),Z[$]=Z[$-M]^w);for(var k=this._invKeySchedule=[],D=0;D<U;D++){var $=U-D;if(D%4)var w=Z[$];else var w=Z[$-4];D<4||$<=4?k[D]=w:k[D]=b[f[w>>>24]]^S[f[w>>>16&255]]^C[f[w>>>8&255]]^O[f[w&255]]}}},encryptBlock:function(w,N){this._doCryptBlock(w,N,this._keySchedule,l,_,E,y,f)},decryptBlock:function(w,N){var L=w[N+1];w[N+1]=w[N+3],w[N+3]=L,this._doCryptBlock(w,N,this._invKeySchedule,b,S,C,O,d);var L=w[N+1];w[N+1]=w[N+3],w[N+3]=L},_doCryptBlock:function(w,N,L,M,F,U,Z,$){for(var k=this._nRounds,D=w[N]^L[0],R=w[N+1]^L[1],B=w[N+2]^L[2],j=w[N+3]^L[3],G=4,Y=1;Y<k;Y++){var K=M[D>>>24]^F[R>>>16&255]^U[B>>>8&255]^Z[j&255]^L[G++],tt=M[R>>>24]^F[B>>>16&255]^U[j>>>8&255]^Z[D&255]^L[G++],et=M[B>>>24]^F[j>>>16&255]^U[D>>>8&255]^Z[R&255]^L[G++],V=M[j>>>24]^F[D>>>16&255]^U[R>>>8&255]^Z[B&255]^L[G++];D=K,R=tt,B=et,j=V}var K=($[D>>>24]<<24|$[R>>>16&255]<<16|$[B>>>8&255]<<8|$[j&255])^L[G++],tt=($[R>>>24]<<24|$[B>>>16&255]<<16|$[j>>>8&255]<<8|$[D&255])^L[G++],et=($[B>>>24]<<24|$[j>>>16&255]<<16|$[D>>>8&255]<<8|$[R&255])^L[G++],V=($[j>>>24]<<24|$[D>>>16&255]<<16|$[R>>>8&255]<<8|$[B&255])^L[G++];w[N]=K,w[N+1]=tt,w[N+2]=et,w[N+3]=V},keySize:256/32});n.AES=a._createHelper(T)}(),r.AES})}(Wf)),Wf.exports}var Kf={exports:{}},Uv;function u4(){return Uv||(Uv=1,function(t,e){(function(r,n,i){t.exports=n(It(),gi(),mi(),wn(),Te())})(Tt,function(r){return function(){var n=r,i=n.lib,a=i.WordArray,u=i.BlockCipher,f=n.algo,d=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],l=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],_=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],E=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],y=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],b=f.DES=u.extend({_doReset:function(){for(var I=this._key,T=I.words,w=[],N=0;N<56;N++){var L=d[N]-1;w[N]=T[L>>>5]>>>31-L%32&1}for(var M=this._subKeys=[],F=0;F<16;F++){for(var U=M[F]=[],Z=_[F],N=0;N<24;N++)U[N/6|0]|=w[(l[N]-1+Z)%28]<<31-N%6,U[4+(N/6|0)]|=w[28+(l[N+24]-1+Z)%28]<<31-N%6;U[0]=U[0]<<1|U[0]>>>31;for(var N=1;N<7;N++)U[N]=U[N]>>>(N-1)*4+3;U[7]=U[7]<<5|U[7]>>>27}for(var $=this._invSubKeys=[],N=0;N<16;N++)$[N]=M[15-N]},encryptBlock:function(I,T){this._doCryptBlock(I,T,this._subKeys)},decryptBlock:function(I,T){this._doCryptBlock(I,T,this._invSubKeys)},_doCryptBlock:function(I,T,w){this._lBlock=I[T],this._rBlock=I[T+1],S.call(this,4,252645135),S.call(this,16,65535),C.call(this,2,858993459),C.call(this,8,16711935),S.call(this,1,1431655765);for(var N=0;N<16;N++){for(var L=w[N],M=this._lBlock,F=this._rBlock,U=0,Z=0;Z<8;Z++)U|=E[Z][((F^L[Z])&y[Z])>>>0];this._lBlock=F,this._rBlock=M^U}var $=this._lBlock;this._lBlock=this._rBlock,this._rBlock=$,S.call(this,1,1431655765),C.call(this,8,16711935),C.call(this,2,858993459),S.call(this,16,65535),S.call(this,4,252645135),I[T]=this._lBlock,I[T+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function S(I,T){var w=(this._lBlock>>>I^this._rBlock)&T;this._rBlock^=w,this._lBlock^=w<<I}function C(I,T){var w=(this._rBlock>>>I^this._lBlock)&T;this._lBlock^=w,this._rBlock^=w<<I}n.DES=u._createHelper(b);var O=f.TripleDES=u.extend({_doReset:function(){var I=this._key,T=I.words;if(T.length!==2&&T.length!==4&&T.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var w=T.slice(0,2),N=T.length<4?T.slice(0,2):T.slice(2,4),L=T.length<6?T.slice(0,2):T.slice(4,6);this._des1=b.createEncryptor(a.create(w)),this._des2=b.createEncryptor(a.create(N)),this._des3=b.createEncryptor(a.create(L))},encryptBlock:function(I,T){this._des1.encryptBlock(I,T),this._des2.decryptBlock(I,T),this._des3.encryptBlock(I,T)},decryptBlock:function(I,T){this._des3.decryptBlock(I,T),this._des2.encryptBlock(I,T),this._des1.decryptBlock(I,T)},keySize:192/32,ivSize:64/32,blockSize:64/32});n.TripleDES=u._createHelper(O)}(),r.TripleDES})}(Kf)),Kf.exports}var qf={exports:{}},jv;function c4(){return jv||(jv=1,function(t,e){(function(r,n,i){t.exports=n(It(),gi(),mi(),wn(),Te())})(Tt,function(r){return function(){var n=r,i=n.lib,a=i.StreamCipher,u=n.algo,f=u.RC4=a.extend({_doReset:function(){for(var _=this._key,E=_.words,y=_.sigBytes,b=this._S=[],S=0;S<256;S++)b[S]=S;for(var S=0,C=0;S<256;S++){var O=S%y,I=E[O>>>2]>>>24-O%4*8&255;C=(C+b[S]+I)%256;var T=b[S];b[S]=b[C],b[C]=T}this._i=this._j=0},_doProcessBlock:function(_,E){_[E]^=d.call(this)},keySize:256/32,ivSize:0});function d(){for(var _=this._S,E=this._i,y=this._j,b=0,S=0;S<4;S++){E=(E+1)%256,y=(y+_[E])%256;var C=_[E];_[E]=_[y],_[y]=C,b|=_[(_[E]+_[y])%256]<<24-S*8}return this._i=E,this._j=y,b}n.RC4=a._createHelper(f);var l=u.RC4Drop=f.extend({cfg:f.cfg.extend({drop:192}),_doReset:function(){f._doReset.call(this);for(var _=this.cfg.drop;_>0;_--)d.call(this)}});n.RC4Drop=a._createHelper(l)}(),r.RC4})}(qf)),qf.exports}var zf={exports:{}},Hv;function f4(){return Hv||(Hv=1,function(t,e){(function(r,n,i){t.exports=n(It(),gi(),mi(),wn(),Te())})(Tt,function(r){return function(){var n=r,i=n.lib,a=i.StreamCipher,u=n.algo,f=[],d=[],l=[],_=u.Rabbit=a.extend({_doReset:function(){for(var y=this._key.words,b=this.cfg.iv,S=0;S<4;S++)y[S]=(y[S]<<8|y[S]>>>24)&16711935|(y[S]<<24|y[S]>>>8)&4278255360;var C=this._X=[y[0],y[3]<<16|y[2]>>>16,y[1],y[0]<<16|y[3]>>>16,y[2],y[1]<<16|y[0]>>>16,y[3],y[2]<<16|y[1]>>>16],O=this._C=[y[2]<<16|y[2]>>>16,y[0]&4294901760|y[1]&65535,y[3]<<16|y[3]>>>16,y[1]&4294901760|y[2]&65535,y[0]<<16|y[0]>>>16,y[2]&4294901760|y[3]&65535,y[1]<<16|y[1]>>>16,y[3]&4294901760|y[0]&65535];this._b=0;for(var S=0;S<4;S++)E.call(this);for(var S=0;S<8;S++)O[S]^=C[S+4&7];if(b){var I=b.words,T=I[0],w=I[1],N=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360,L=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360,M=N>>>16|L&4294901760,F=L<<16|N&65535;O[0]^=N,O[1]^=M,O[2]^=L,O[3]^=F,O[4]^=N,O[5]^=M,O[6]^=L,O[7]^=F;for(var S=0;S<4;S++)E.call(this)}},_doProcessBlock:function(y,b){var S=this._X;E.call(this),f[0]=S[0]^S[5]>>>16^S[3]<<16,f[1]=S[2]^S[7]>>>16^S[5]<<16,f[2]=S[4]^S[1]>>>16^S[7]<<16,f[3]=S[6]^S[3]>>>16^S[1]<<16;for(var C=0;C<4;C++)f[C]=(f[C]<<8|f[C]>>>24)&16711935|(f[C]<<24|f[C]>>>8)&4278255360,y[b+C]^=f[C]},blockSize:128/32,ivSize:64/32});function E(){for(var y=this._X,b=this._C,S=0;S<8;S++)d[S]=b[S];b[0]=b[0]+1295307597+this._b|0,b[1]=b[1]+3545052371+(b[0]>>>0<d[0]>>>0?1:0)|0,b[2]=b[2]+886263092+(b[1]>>>0<d[1]>>>0?1:0)|0,b[3]=b[3]+1295307597+(b[2]>>>0<d[2]>>>0?1:0)|0,b[4]=b[4]+3545052371+(b[3]>>>0<d[3]>>>0?1:0)|0,b[5]=b[5]+886263092+(b[4]>>>0<d[4]>>>0?1:0)|0,b[6]=b[6]+1295307597+(b[5]>>>0<d[5]>>>0?1:0)|0,b[7]=b[7]+3545052371+(b[6]>>>0<d[6]>>>0?1:0)|0,this._b=b[7]>>>0<d[7]>>>0?1:0;for(var S=0;S<8;S++){var C=y[S]+b[S],O=C&65535,I=C>>>16,T=((O*O>>>17)+O*I>>>15)+I*I,w=((C&4294901760)*C|0)+((C&65535)*C|0);l[S]=T^w}y[0]=l[0]+(l[7]<<16|l[7]>>>16)+(l[6]<<16|l[6]>>>16)|0,y[1]=l[1]+(l[0]<<8|l[0]>>>24)+l[7]|0,y[2]=l[2]+(l[1]<<16|l[1]>>>16)+(l[0]<<16|l[0]>>>16)|0,y[3]=l[3]+(l[2]<<8|l[2]>>>24)+l[1]|0,y[4]=l[4]+(l[3]<<16|l[3]>>>16)+(l[2]<<16|l[2]>>>16)|0,y[5]=l[5]+(l[4]<<8|l[4]>>>24)+l[3]|0,y[6]=l[6]+(l[5]<<16|l[5]>>>16)+(l[4]<<16|l[4]>>>16)|0,y[7]=l[7]+(l[6]<<8|l[6]>>>24)+l[5]|0}n.Rabbit=a._createHelper(_)}(),r.Rabbit})}(zf)),zf.exports}var Xf={exports:{}},Gv;function l4(){return Gv||(Gv=1,function(t,e){(function(r,n,i){t.exports=n(It(),gi(),mi(),wn(),Te())})(Tt,function(r){return function(){var n=r,i=n.lib,a=i.StreamCipher,u=n.algo,f=[],d=[],l=[],_=u.RabbitLegacy=a.extend({_doReset:function(){var y=this._key.words,b=this.cfg.iv,S=this._X=[y[0],y[3]<<16|y[2]>>>16,y[1],y[0]<<16|y[3]>>>16,y[2],y[1]<<16|y[0]>>>16,y[3],y[2]<<16|y[1]>>>16],C=this._C=[y[2]<<16|y[2]>>>16,y[0]&4294901760|y[1]&65535,y[3]<<16|y[3]>>>16,y[1]&4294901760|y[2]&65535,y[0]<<16|y[0]>>>16,y[2]&4294901760|y[3]&65535,y[1]<<16|y[1]>>>16,y[3]&4294901760|y[0]&65535];this._b=0;for(var O=0;O<4;O++)E.call(this);for(var O=0;O<8;O++)C[O]^=S[O+4&7];if(b){var I=b.words,T=I[0],w=I[1],N=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360,L=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360,M=N>>>16|L&4294901760,F=L<<16|N&65535;C[0]^=N,C[1]^=M,C[2]^=L,C[3]^=F,C[4]^=N,C[5]^=M,C[6]^=L,C[7]^=F;for(var O=0;O<4;O++)E.call(this)}},_doProcessBlock:function(y,b){var S=this._X;E.call(this),f[0]=S[0]^S[5]>>>16^S[3]<<16,f[1]=S[2]^S[7]>>>16^S[5]<<16,f[2]=S[4]^S[1]>>>16^S[7]<<16,f[3]=S[6]^S[3]>>>16^S[1]<<16;for(var C=0;C<4;C++)f[C]=(f[C]<<8|f[C]>>>24)&16711935|(f[C]<<24|f[C]>>>8)&4278255360,y[b+C]^=f[C]},blockSize:128/32,ivSize:64/32});function E(){for(var y=this._X,b=this._C,S=0;S<8;S++)d[S]=b[S];b[0]=b[0]+1295307597+this._b|0,b[1]=b[1]+3545052371+(b[0]>>>0<d[0]>>>0?1:0)|0,b[2]=b[2]+886263092+(b[1]>>>0<d[1]>>>0?1:0)|0,b[3]=b[3]+1295307597+(b[2]>>>0<d[2]>>>0?1:0)|0,b[4]=b[4]+3545052371+(b[3]>>>0<d[3]>>>0?1:0)|0,b[5]=b[5]+886263092+(b[4]>>>0<d[4]>>>0?1:0)|0,b[6]=b[6]+1295307597+(b[5]>>>0<d[5]>>>0?1:0)|0,b[7]=b[7]+3545052371+(b[6]>>>0<d[6]>>>0?1:0)|0,this._b=b[7]>>>0<d[7]>>>0?1:0;for(var S=0;S<8;S++){var C=y[S]+b[S],O=C&65535,I=C>>>16,T=((O*O>>>17)+O*I>>>15)+I*I,w=((C&4294901760)*C|0)+((C&65535)*C|0);l[S]=T^w}y[0]=l[0]+(l[7]<<16|l[7]>>>16)+(l[6]<<16|l[6]>>>16)|0,y[1]=l[1]+(l[0]<<8|l[0]>>>24)+l[7]|0,y[2]=l[2]+(l[1]<<16|l[1]>>>16)+(l[0]<<16|l[0]>>>16)|0,y[3]=l[3]+(l[2]<<8|l[2]>>>24)+l[1]|0,y[4]=l[4]+(l[3]<<16|l[3]>>>16)+(l[2]<<16|l[2]>>>16)|0,y[5]=l[5]+(l[4]<<8|l[4]>>>24)+l[3]|0,y[6]=l[6]+(l[5]<<16|l[5]>>>16)+(l[4]<<16|l[4]>>>16)|0,y[7]=l[7]+(l[6]<<8|l[6]>>>24)+l[5]|0}n.RabbitLegacy=a._createHelper(_)}(),r.RabbitLegacy})}(Xf)),Xf.exports}var Jf={exports:{}},Vv;function d4(){return Vv||(Vv=1,function(t,e){(function(r,n,i){t.exports=n(It(),gi(),mi(),wn(),Te())})(Tt,function(r){return function(){var n=r,i=n.lib,a=i.BlockCipher,u=n.algo;const f=16,d=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],l=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var _={pbox:[],sbox:[]};function E(O,I){let T=I>>24&255,w=I>>16&255,N=I>>8&255,L=I&255,M=O.sbox[0][T]+O.sbox[1][w];return M=M^O.sbox[2][N],M=M+O.sbox[3][L],M}function y(O,I,T){let w=I,N=T,L;for(let M=0;M<f;++M)w=w^O.pbox[M],N=E(O,w)^N,L=w,w=N,N=L;return L=w,w=N,N=L,N=N^O.pbox[f],w=w^O.pbox[f+1],{left:w,right:N}}function b(O,I,T){let w=I,N=T,L;for(let M=f+1;M>1;--M)w=w^O.pbox[M],N=E(O,w)^N,L=w,w=N,N=L;return L=w,w=N,N=L,N=N^O.pbox[1],w=w^O.pbox[0],{left:w,right:N}}function S(O,I,T){for(let F=0;F<4;F++){O.sbox[F]=[];for(let U=0;U<256;U++)O.sbox[F][U]=l[F][U]}let w=0;for(let F=0;F<f+2;F++)O.pbox[F]=d[F]^I[w],w++,w>=T&&(w=0);let N=0,L=0,M=0;for(let F=0;F<f+2;F+=2)M=y(O,N,L),N=M.left,L=M.right,O.pbox[F]=N,O.pbox[F+1]=L;for(let F=0;F<4;F++)for(let U=0;U<256;U+=2)M=y(O,N,L),N=M.left,L=M.right,O.sbox[F][U]=N,O.sbox[F][U+1]=L;return!0}var C=u.Blowfish=a.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var O=this._keyPriorReset=this._key,I=O.words,T=O.sigBytes/4;S(_,I,T)}},encryptBlock:function(O,I){var T=y(_,O[I],O[I+1]);O[I]=T.left,O[I+1]=T.right},decryptBlock:function(O,I){var T=b(_,O[I],O[I+1]);O[I]=T.left,O[I+1]=T.right},blockSize:64/32,keySize:128/32,ivSize:64/32});n.Blowfish=a._createHelper(C)}(),r.Blowfish})}(Jf)),Jf.exports}(function(t,e){(function(r,n,i){t.exports=n(It(),tc(),H5(),G5(),gi(),V5(),mi(),CE(),$d(),W5(),PE(),K5(),q5(),z5(),kd(),X5(),wn(),Te(),J5(),Y5(),Z5(),Q5(),t4(),e4(),r4(),n4(),i4(),o4(),a4(),s4(),u4(),c4(),f4(),l4(),d4())})(Tt,function(r){return r})})(wE);const tr=wE.exports;function p4(t,e="MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCKBGXtmUpZhMTHUxPh2WSKGkHmknnVr884cZO4T/lmMFxLAh8lndqokymP8VLf/xy3Eq2o/RwLICMvl3QcznmVaYmSpIy7qBGUGofa8TarrcXi26hDttAWygXz8LeZu/9HPrZOQDFzmc4ukfzRVRJCYX3vusGlwvjHvXhi2JJvzwIDAQAB"){const r=window.MYOPPO_PUBLIC_KEY||e,n=new U5;return n.setPublicKey(r),n.encrypt(t)}function h4(t){const e=t||32,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnoprstuvwxyz1234567890",n=r.length;let i="";for(let a=0;a<e;a++)i+=r.charAt(Math.floor(Math.random()*n));return i}function _4(){return h4(16)}const RE="UTQMNP953UFXXKRG",Ud=_4(),aG=p4(Ud),{mode:{CBC:DE},pad:{Pkcs7:IE}}=tr;function sG(t,e=t){if(!t)return e;const r=tr.enc.Utf8.parse(t),n=tr.enc.Utf8.parse(Ud),i=tr.enc.Utf8.parse(RE);return tr.AES.encrypt(r,n,{iv:i,mode:DE,padding:IE}).ciphertext.toString(tr.enc.Base64)}function uG(t,e=""){if(!t)return e;try{const r=tr.enc.Base64.parse(t),n=tr.enc.Base64.stringify(r),i=tr.enc.Utf8.parse(Ud),a=tr.enc.Utf8.parse(RE),f=tr.AES.decrypt(n,i,{iv:a,mode:DE,padding:IE}).toString(tr.enc.Utf8);return f?f.toString():t}catch(r){return console.error("decrypt error: ",r),t}}var NE={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(Tt,function(){function r(s){if(!s)return!1;var c=Object.prototype.toString.call(s);return c=="[object Function]"||c=="[object AsyncFunction]"}function n(){return Date.now&&r(Date.now)?Date.now():new Date().getTime()}function i(s){return s!=null&&Object.prototype.toString.call(s)=="[object Object]"}function a(){if(typeof Uint32Array=="function"){var s="";if(typeof crypto<"u"?s=crypto:typeof msCrypto<"u"&&(s=msCrypto),i(s)&&s.getRandomValues){var c=new Uint32Array(1),p=s.getRandomValues(c)[0],h=Math.pow(2,32);return p/h}}return Dp(1e19)/1e19}function u(s){var c=null;try{c=JSON.parse(s)}catch(p){}return c}function f(s,c){this.lockGetPrefix=s||"lock-get-prefix",this.lockSetPrefix=c||"lock-set-prefix"}function d(s){return typeof s=="function"||!(!s||typeof s!="object")&&d(s.listener)}function l(){this._events={}}function _(s){var c=s;try{c=decodeURIComponent(s)}catch(p){c=s}return c}function E(s){s=s||"";for(var c={},p=s.substring(1),h=p.split("&"),g=0;g<h.length;g++){var x=h[g].indexOf("=");if(x!==-1){var A=h[g].substring(0,x),P=h[g].substring(x+1);A=_(A),P=_(P),c[A]=P}}return c}function y(s){return Object.prototype.toString.call(s)=="[object String]"}function b(s){return s.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}function S(s){var c=function(p){this._fields={Username:4,Password:5,Port:7,Protocol:2,Host:6,Path:8,URL:0,QueryString:9,Fragment:10},this._values={},this._regex=/^((\w+):\/\/)?((\w+):?(\w+)?@)?([^\/\?:]+):?(\d+)?(\/?[^\?#]+)?\??([^#]+)?#?(\w*)/,typeof p<"u"&&this._parse(p)};return c.prototype.setUrl=function(p){this._parse(p)},c.prototype._initValues=function(){for(var p in this._fields)this._values[p]=""},c.prototype.addQueryString=function(p){if(typeof p!="object")return!1;var h=this._values.QueryString||"";for(var g in p)h=new RegExp(g+"[^&]+").test(h)?h.replace(new RegExp(g+"[^&]+"),g+"="+p[g]):h.slice(-1)==="&"?h+g+"="+p[g]:h===""?g+"="+p[g]:h+"&"+g+"="+p[g];this._values.QueryString=h},c.prototype.getUrl=function(){var p="";return p+=this._values.Origin,p+=this._values.Port?":"+this._values.Port:"",p+=this._values.Path,p+=this._values.QueryString?"?"+this._values.QueryString:"",p+=this._values.Fragment?"#"+this._values.Fragment:""},c.prototype._parse=function(p){this._initValues();var h=this._regex.exec(p);h||ge.log("URLParser::_parse -> Invalid URL");var g=p.split("#"),x=g[0],A=g.slice(1).join("#");h=this._regex.exec(x);for(var P in this._fields)typeof h[this._fields[P]]<"u"&&(this._values[P]=h[this._fields[P]]);this._values.Hostname=this._values.Host.replace(/:\d+$/,""),this._values.Origin=this._values.Protocol+"://"+this._values.Hostname,this._values.Fragment=A},new c(s)}function C(s){var c={},p=function(){var x;try{return x=new URL("http://modernizr.com/"),x.href==="http://modernizr.com/"}catch(A){return!1}};if(typeof window.URL=="function"&&p())c=new URL(s),c.searchParams||(c.searchParams=function(){var x=E(c.search);return{get:function(A){return x[A]}}}());else{y(s)||(s=String(s)),s=b(s);var h=/^https?:\/\/.+/;if(h.test(s)===!1)return void ge.log("Invalid URL");var g=S(s);c.hash=g._values.Fragment,c.host=g._values.Host?g._values.Host+(g._values.Port?":"+g._values.Port:""):"",c.href=g._values.URL,c.password=g._values.Password,c.pathname=g._values.Path,c.port=g._values.Port,c.search=g._values.QueryString?"?"+g._values.QueryString:"",c.username=g._values.Username,c.hostname=g._values.Hostname,c.protocol=g._values.Protocol?g._values.Protocol+":":"",c.origin=g._values.Origin?g._values.Origin+(g._values.Port?":"+g._values.Port:""):"",c.searchParams=function(){var x=E("?"+g._values.QueryString);return{get:function(A){return x[A]}}}()}return c}function O(s){return!(!s||s.nodeType!==1)}function I(s){return s===void 0}function T(s){return Array.isArray&&r(T)?Array.isArray(s):Object.prototype.toString.call(s)==="[object Array]"}function w(s){return new Ip(s)}function N(s,c,p,h){function g(P){return P&&(P.preventDefault=g.preventDefault,P.stopPropagation=g.stopPropagation,P._getPath=g._getPath),P}function x(P,H,J,Q){var st=function(ot){if(ot=ot||g(window.event)){ot.target=ot.srcElement;var nt,xt,yt=!0;return typeof J=="function"&&(nt=J(ot)),xt=H.call(P,ot),Q!=="beforeunload"?(nt!==!1&&xt!==!1||(yt=!1),yt):void 0}};return st}g._getPath=function(){var P=this;return this.path||this.composedPath&&this.composedPath()||w(P.target).getParents()},g.preventDefault=function(){this.returnValue=!1},g.stopPropagation=function(){this.cancelBubble=!0};var A=function(P,H,J){if(h===void 0&&H==="click"&&(h=!0),P&&P.addEventListener)P.addEventListener(H,function(ot){ot._getPath=g._getPath,J.call(this,ot)},h);else{var Q="on"+H,st=P[Q];P[Q]=x(P,J,st,H)}};A.apply(null,arguments)}function L(s){var c="pushState"in window.history?"popstate":"hashchange";N(window,c,s)}function M(s){if(s)return typeof window.XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest?new XMLHttpRequest:typeof XDomainRequest<"u"?new XDomainRequest:null;if(typeof window.XMLHttpRequest<"u")return new XMLHttpRequest;if(window.ActiveXObject)try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(c){try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(p){ge.log(p)}}}function F(s,c,p){if(s==null)return!1;if(Lp&&s.forEach===Lp)s.forEach(c,p);else if(T(s))for(var h=0,g=s.length;h<g;h++)h in s&&c.call(p,s[h],h,s);else for(var x in s)tT.call(s,x)&&c.call(p,s[x],x,s)}function U(s){return F(Array.prototype.slice.call(arguments,1),function(c){for(var p in c)eT.call(c,p)&&c[p]!==void 0&&(s[p]=c[p])}),s}function Z(s){function c(P){if(!P)return"";try{return JSON.parse(P)}catch(H){return{}}}function p(){try{h&&typeof h=="object"&&h.abort&&h.abort()}catch(P){ge.log(P)}g&&(clearTimeout(g),g=null,s.error&&s.error(),h.onreadystatechange=null,h.onload=null,h.onerror=null)}s.timeout=s.timeout||2e4,s.credentials=typeof s.credentials>"u"||s.credentials;var h=M(s.cors);if(!h)return!1;s.type||(s.type=s.data?"POST":"GET"),s=U({success:function(){},error:function(){}},s);var g,x=s.success,A=s.error;s.success=function(P){x(P),g&&(clearTimeout(g),g=null)},s.error=function(P){A(P),g&&(clearTimeout(g),g=null)},g=setTimeout(function(){p()},s.timeout),typeof XDomainRequest<"u"&&h instanceof XDomainRequest&&(h.onload=function(){s.success&&s.success(c(h.responseText)),h.onreadystatechange=null,h.onload=null,h.onerror=null},h.onerror=function(){s.error&&s.error(c(h.responseText),h.status),h.onreadystatechange=null,h.onerror=null,h.onload=null}),h.onreadystatechange=function(){try{h.readyState==4&&(h.status>=200&&h.status<300||h.status==304?s.success(c(h.responseText)):s.error(c(h.responseText),h.status),h.onreadystatechange=null,h.onload=null)}catch(P){h.onreadystatechange=null,h.onload=null}},h.open(s.type,s.url,!0);try{s.credentials&&(h.withCredentials=!0),i(s.header)&&F(s.header,function(P,H){h.setRequestHeader&&h.setRequestHeader(H,P)}),s.data&&(s.cors||h.setRequestHeader&&h.setRequestHeader("X-Requested-With","XMLHttpRequest"),s.contentType==="application/json"?h.setRequestHeader&&h.setRequestHeader("Content-type","application/json; charset=UTF-8"):h.setRequestHeader&&h.setRequestHeader("Content-type","application/x-www-form-urlencoded"))}catch(P){ge.log(P)}h.send(s.data||null)}function $(s,c){var p=[];return s==null?p:Array.prototype.map&&s.map===Array.prototype.map?s.map(c):(F(s,function(h,g,x){p.push(c(h,g,x))}),p)}function k(s){var c=[];try{c=$(atob(s).split(""),function(p){return"%"+("00"+p.charCodeAt(0).toString(16)).slice(-2)})}catch(p){c=[]}try{return decodeURIComponent(c.join(""))}catch(p){return c.join("")}}function D(s){var c="";try{c=btoa(encodeURIComponent(s).replace(/%([0-9A-F]{2})/g,function(p,h){return String.fromCharCode("0x"+h)}))}catch(p){c=s}return c}function R(s,c){c=c||window;var p=!1,h=!0,g=c.document,x=g.documentElement,A=g.addEventListener,P=A?"addEventListener":"attachEvent",H=A?"removeEventListener":"detachEvent",J=A?"":"on",Q=function(ot){ot.type=="readystatechange"&&g.readyState!="complete"||((ot.type=="load"?c:g)[H](J+ot.type,Q,!1),!p&&(p=!0)&&s.call(c,ot.type||ot))},st=function(){try{x.doScroll("left")}catch(ot){return void setTimeout(st,50)}Q("poll")};if(g.readyState=="complete")s.call(c,"lazy");else{if(!A&&x.doScroll){try{h=!c.frameElement}catch(ot){ge.log(ot)}h&&st()}g[P](J+"DOMContentLoaded",Q,!1),g[P](J+"readystatechange",Q,!1),c[P](J+"load",Q,!1)}}function B(s){return F(Array.prototype.slice.call(arguments,1),function(c){for(var p in c)c[p]!==void 0&&s[p]===void 0&&(s[p]=c[p])}),s}function j(s){var c=s;try{c=decodeURI(s)}catch(p){c=s}return c}function G(s){var c="t6KJCZa5pDdQ9khoEM3Tj70fbP2eLSyc4BrsYugARqFIw1mzlGNVXOHiWvxUn8",p=c.length-1,h={},g=0;for(g=0;g<c.length;g++)h[c.charAt(g)]=c.charAt(p-g);var x="";for(g=0;g<s.length;g++)x+=s.charAt(g)in h?h[s.charAt(g)]:s.charAt(g);return x}function Y(s){return Object.prototype.toString.call(s)=="[object Date]"}function K(s){function c(p){return p<10?"0"+p:p}return s.getFullYear()+"-"+c(s.getMonth()+1)+"-"+c(s.getDate())+" "+c(s.getHours())+":"+c(s.getMinutes())+":"+c(s.getSeconds())+"."+c(s.getMilliseconds())}function tt(s){return F(s,function(c,p){Y(c)?s[p]=K(c):i(c)&&(s[p]=tt(c))}),s}function et(s){return F(Array.prototype.slice.call(arguments,1),function(c){for(var p in c)c[p]!==void 0&&(i(c[p])&&i(s[p])?U(s[p],c[p]):s[p]=c[p])}),s}function V(s,c,p){var h=Object.prototype.hasOwnProperty;if(s.filter)return s.filter(c);for(var g=[],x=0;x<s.length;x++)if(h.call(s,x)){var A=s[x];c.call(p,A,x,s)&&g.push(A)}return g}function W(s){try{return JSON.stringify(s,null,"  ")}catch(c){return JSON.stringify(s)}}function z(s,c){function p(P){return!!P&&P}s=s||location.hostname,c=c||"domain_test";var h=p(s);if(!h)return"";var g=h.split(".");if(T(g)&&g.length>=2&&!/^(\d+\.)+\d+$/.test(h)){for(var x="."+g.splice(g.length-1,1);g.length>0;)if(x="."+g.splice(g.length-1,1)+x,document.cookie=c+"=true; path=/; domain="+x,document.cookie.indexOf(c+"=true")!==-1){var A=new Date;return A.setTime(A.getTime()-1e3),document.cookie=c+"=true; expires="+A.toGMTString()+"; path=/; SameSite=Lax; domain="+x,x}}return""}function X(s){function c(x,A){x=b(x);var P;if(x==="body")return document.getElementsByTagName("body")[0];if(x.indexOf("#")===0)x=x.slice(1),P=document.getElementById(x);else if(x.indexOf(":nth-of-type")>-1){var H=x.split(":nth-of-type");if(!H[0]||!H[1])return null;var J=H[0],Q=H[1].match(/\(([0-9]+)\)/);if(!Q||!Q[1])return null;var st=Number(Q[1]);if(!(O(A)&&A.children&&A.children.length>0))return null;for(var ot=A.children,nt=0;nt<ot.length;nt++)if(O(ot[nt])){var xt=ot[nt].tagName.toLowerCase();if(xt===J&&(st--,st===0)){P=ot[nt];break}}if(st>0)return null}return P||null}function p(x){var A,P=h.shift();if(!P)return x;try{A=c(P,x)}catch(H){ge.log(H)}return A&&O(A)?p(A):null}if(!y(s))return null;var h=s.split(">"),g=null;return g=p(),g&&O(g)?g:null}function mt(s,c){var p="",h="";return s.textContent?p=b(s.textContent):s.innerText&&(p=b(s.innerText)),p&&(p=p.replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255)),h=p||"",c!=="input"&&c!=="INPUT"||(h=s.value||""),h}function pt(s,c){c&&typeof c=="string"||(c="hostname\u89E3\u6790\u5F02\u5E38");var p=null;try{p=C(s).hostname}catch(h){ge.log("getHostname\u4F20\u5165\u7684url\u53C2\u6570\u4E0D\u5408\u6CD5\uFF01")}return p||c}function Nt(){try{var s=navigator.appVersion.match(/OS (\d+)[._](\d+)[._]?(\d+)?/);return s&&s[1]?Number.parseInt(s[1],10):""}catch(c){return""}}function ft(s,c){c=c.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]"),s=_(s);var p="[\\?&]"+c+"=([^&#]*)",h=new RegExp(p),g=h.exec(s);return g===null||g&&typeof g[1]!="string"&&g[1].length?"":_(g[1])}function ee(s){var c={},p=s.split("?"),h=p[1]||"";return h&&(c=E("?"+h)),c}function Zt(){return typeof window.matchMedia<"u"||typeof window.msMatchMedia<"u"}function je(){var s=screen.msOrientation||screen.mozOrientation||(screen.orientation||{}).type,c="\u672A\u53D6\u5230\u503C";if(s)c=s.indexOf("landscape")>-1?"landscape":"portrait";else if(Zt()){var p=window.matchMedia||window.msMatchMedia;p("(orientation: landscape)").matches?c="landscape":p("(orientation: portrait)").matches&&(c="portrait")}return c}function Le(){var s,c={},p=navigator.userAgent.toLowerCase();return(s=p.match(/opera.([\d.]+)/))?c.opera=Number(s[1].split(".")[0]):(s=p.match(/msie ([\d.]+)/))?c.ie=Number(s[1].split(".")[0]):(s=p.match(/edge.([\d.]+)/))?c.edge=Number(s[1].split(".")[0]):(s=p.match(/firefox\/([\d.]+)/))?c.firefox=Number(s[1].split(".")[0]):(s=p.match(/chrome\/([\d.]+)/))?c.chrome=Number(s[1].split(".")[0]):(s=p.match(/version\/([\d.]+).*safari/))?c.safari=Number(s[1].match(/^\d*.\d*/)):(s=p.match(/trident\/([\d.]+)/))&&(c.ie=11),c}function Bt(s){return y(s)?(s=b(s),j(s)):j(location.href)}function ce(s){return y(s)?(s=b(s),j(s)):j(location.pathname)}function nn(s,c){return s.hasAttribute?s.hasAttribute(c):s.attributes?!(!s.attributes[c]||!s.attributes[c].specified):void 0}function Br(s,c){if(typeof c=="string")return nn(s,c);if(T(c)){for(var p=!1,h=0;h<c.length;h++){var g=nn(s,c[h]);if(g){p=!0;break}}return p}}function Cn(s){if(typeof s!="string")return 0;var c=0,p=null;if(s.length==0)return c;for(var h=0;h<s.length;h++)p=s.charCodeAt(h),c=(c<<5)-c+p,c&=c;return c}function yr(s){var c=9007199254740992,p=-9007199254740992,h=31,g=0;if(s.length>0)for(var x=s.split(""),A=0;A<x.length;A++){var P=x[A].charCodeAt(),H=h*g+P;if(H>c)for(g=p+g;H=h*g+P,H<p;)g=g/2+P;if(H<p)for(g=c+g;H=h*g+P,H>c;)g=g/2+P;g=h*g+P}return g}function he(s,c){var p=s.indexOf;if(p)return p.call(s,c);for(var h=0;h<s.length;h++)if(c===s[h])return h;return-1}function Pn(s,c){return s.prototype=new c,s.prototype.constructor=s,s.superclass=c.prototype,s}function He(s){return!(!s||!rT.call(s,"callee"))}function Be(s){return Object.prototype.toString.call(s)=="[object Boolean]"}function Vt(s){if(i(s)){for(var c in s)if(Object.prototype.hasOwnProperty.call(s,c))return!1;return!0}return!1}function Rn(s){if(typeof s!="string")return!1;var c=/^https?:\/\/.+/;return c.test(s)!==!1||(ge.log("Invalid URL"),!1)}function Ao(){return!!navigator.userAgent.match(/iPhone|iPad|iPod/i)}function qe(s){try{JSON.parse(s)}catch(c){return!1}return!0}function we(s){return Object.prototype.toString.call(s)=="[object Number]"&&/[\d\.]+/.test(String(s))}function Va(){var s=!1;if(typeof navigator!="object"||typeof navigator.sendBeacon!="function")return s;var c=Le(),p=navigator.userAgent.toLowerCase();if(/Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent)){var h=/os [\d._]*/gi,g=p.match(h),x=(g+"").replace(/[^0-9|_.]/gi,"").replace(/_/gi,"."),A=x.split(".");typeof c.safari>"u"&&(c.safari=A[0]),A[0]&&A[0]<13?(c.chrome>41||c.firefox>30||c.opera>25||c.safari>12)&&(s=!0):(c.chrome>41||c.firefox>30||c.opera>25||c.safari>11.3)&&(s=!0)}else(c.chrome>38||c.edge>13||c.firefox>30||c.opera>25||c.safari>11)&&(s=!0);return s}function bi(){return typeof window.XMLHttpRequest<"u"&&("withCredentials"in new XMLHttpRequest||typeof XDomainRequest<"u")}function Oo(s){if(!i(s)||!y(s.callbackName))return ge.log("JSONP \u8BF7\u6C42\u7F3A\u5C11 callbackName"),!1;s.success=r(s.success)?s.success:function(){},s.error=r(s.error)?s.error:function(){},s.data=s.data||"";var c=document.createElement("script"),p=document.getElementsByTagName("head")[0],h=null,g=!1;if(p.appendChild(c),we(s.timeout)&&(h=setTimeout(function(){return!g&&(s.error("timeout"),window[s.callbackName]=function(){ge.log("call jsonp error")},h=null,p.removeChild(c),void(g=!0))},s.timeout)),window[s.callbackName]=function(){clearTimeout(h),h=null,s.success.apply(null,arguments),window[s.callbackName]=function(){ge.log("call jsonp error")},p.removeChild(c)},s.url.indexOf("?")>-1?s.url+="&callbackName="+s.callbackName:s.url+="?callbackName="+s.callbackName,i(s.data)){var x=[];F(s.data,function(A,P){x.push(P+"="+A)}),s.data=x.join("&"),s.url+="&"+s.data}c.onerror=function(A){return!g&&(window[s.callbackName]=function(){ge.log("call jsonp error")},clearTimeout(h),h=null,p.removeChild(c),s.error(A),void(g=!0))},c.src=s.url}function Mr(s){var c={visibleHandler:r(s.visible)?s.visible:function(){},hiddenHandler:r(s.hidden)?s.hidden:function(){},visibilityChange:null,hidden:null,isSupport:function(){return typeof document[this.hidden]<"u"},init:function(){typeof document.hidden<"u"?(this.hidden="hidden",this.visibilityChange="visibilitychange"):typeof document.mozHidden<"u"?(this.hidden="mozHidden",this.visibilityChange="mozvisibilitychange"):typeof document.msHidden<"u"?(this.hidden="msHidden",this.visibilityChange="msvisibilitychange"):typeof document.webkitHidden<"u"&&(this.hidden="webkitHidden",this.visibilityChange="webkitvisibilitychange"),this.listen()},listen:function(){if(this.isSupport()){var p=this;N(document,this.visibilityChange,function(){document[p.hidden]?p.hiddenHandler():p.visibleHandler()},1)}else N(window,"focus",this.visibleHandler),N(window,"blur",this.hiddenHandler)}};c.init()}function Er(s){s=U({success:function(){},error:function(){},appendCall:function(p){document.getElementsByTagName("head")[0].appendChild(p)}},s);var c=null;s.type==="css"&&(c=document.createElement("link"),c.rel="stylesheet",c.href=s.url),s.type==="js"&&(c=document.createElement("script"),c.async="async",c.setAttribute("charset","UTF-8"),c.src=s.url,c.type="text/javascript"),c.onload=c.onreadystatechange=function(){this.readyState&&this.readyState!=="loaded"&&this.readyState!=="complete"||(s.success(),c.onload=c.onreadystatechange=null)},c.onerror=function(){s.error(),c.onerror=null},s.appendCall(c)}function Wa(s){if(typeof s!="string")return"";for(var c=/^\s*javascript/i;c.test(s);)s=s.replace(c,"");return s}function wo(s,c){s=String(s),c=typeof c=="number"?c:13;for(var p=126,h=s.split(""),g=0,x=h.length;g<x;g++){var A=h[g].charCodeAt(0);A<p&&(h[g]=String.fromCharCode((h[g].charCodeAt(0)+c)%p))}return h.join("")}function Ti(s){var c=13,p=126;return s=String(s),wo(s,p-c)}function Co(s){i(s)&&F(s,function(c,p){i(c)?Co(s[p]):Y(c)&&(s[p]=K(c))})}function Si(s){var c=document.createElement("style");c.type="text/css";try{c.appendChild(document.createTextNode(s))}catch(g){c.styleSheet.cssText=s}var p=document.getElementsByTagName("head")[0],h=document.getElementsByTagName("script")[0];p?p.children.length?p.insertBefore(c,p.children[0]):p.appendChild(c):h.parentNode.insertBefore(c,h)}function Ka(s){if(typeof s!="string")return ge.log("\u8F6C\u6362unicode\u9519\u8BEF",s),s;for(var c="",p=0;p<s.length;p++)c+="\\"+s.charCodeAt(p).toString(16);return c}function hc(s,c,p){var h,g,x,A=null,P=0;p||(p={});var H=function(){P=p.leading===!1?0:n(),A=null,x=s.apply(h,g),A||(h=g=null)};return function(){var J=n();P||p.leading!==!1||(P=J);var Q=c-(J-P);return h=this,g=arguments,Q<=0||Q>c?(A&&(clearTimeout(A),A=null),P=J,x=s.apply(h,g),A||(h=g=null)):A||p.trailing===!1||(A=setTimeout(H,Q)),x}}function Po(s){var c=[];return s==null||F(s,function(p){c[c.length]=p}),c}function _c(s){return s?s.toArray?s.toArray():T(s)||He(s)?Array.prototype.slice.call(s):Po(s):[]}function qa(s){for(var c,p=[],h={},g=0;g<s.length;g++)c=s[g],c in h||(h[c]=!0,p.push(c));return p}function Ft(){if(($r.isSupport()&&sessionStorage.getItem("sensorsdata_jssdk_debug")==="true"||bt.show_log)&&(!i(arguments[0])||bt.show_log!==!0&&bt.show_log!=="string"&&bt.show_log!==!1||(arguments[0]=W(arguments[0])),typeof console=="object"&&console.log))try{return console.log.apply(console,arguments)}catch(s){console.log(arguments[0])}}function vc(s){return s.indexOf(Ec)===0?(s=s.substring(Ec.length),s=Ti(s)):s.indexOf(Qa)===0&&(s=s.substring(Qa.length),s=G(s)),s}function Dn(s){return!y(s)||s.indexOf(Ec)!==0&&s.indexOf(Qa)!==0||(s=vc(s)),s}function on(s){return Qa+G(s)}function za(s){var c=s.properties,p=JSON.parse(JSON.stringify(s));i(c)&&F(c,function(h,g){if(r(h))try{c[g]=h(p),r(c[g])&&(Ft("\u60A8\u7684\u5C5E\u6027- "+g+" \u683C\u5F0F\u4E0D\u6EE1\u8DB3\u8981\u6C42\uFF0C\u6211\u4EEC\u5DF2\u7ECF\u5C06\u5176\u5220\u9664"),delete c[g])}catch(x){delete c[g],Ft("\u60A8\u7684\u5C5E\u6027- "+g+" \u629B\u51FA\u4E86\u5F02\u5E38\uFF0C\u6211\u4EEC\u5DF2\u7ECF\u5C06\u5176\u5220\u9664")}})}function Xa(s){if(typeof s=="object"&&s.$option){var c=s.$option;return delete s.$option,c}return{}}function Ro(s){var c={};return F(s,function(p,h){p!=null&&(c[h]=p)}),c}function Do(s){var c=bt.current_domain;switch(typeof c){case"function":var p=c();return p===""||b(p)===""?"url\u89E3\u6790\u5931\u8D25":p.indexOf(".")!==-1?p:"url\u89E3\u6790\u5931\u8D25";case"string":return c===""||b(c)===""?"url\u89E3\u6790\u5931\u8D25":c.indexOf(".")!==-1?c:"url\u89E3\u6790\u5931\u8D25";default:var h=z(null,bc);return s===""||h===""?"url\u89E3\u6790\u5931\u8D25":h}}function Io(s){if(!s.target)return!1;var c=s.target,p=c.tagName.toLowerCase(),h={};return h.$element_type=p,h.$element_name=c.getAttribute("name"),h.$element_id=c.getAttribute("id"),h.$element_class_name=typeof c.className=="string"?c.className:null,h.$element_target_url=c.getAttribute("href"),h.$element_content=Ya(c,p),h=Ro(h),h.$url=Bt(),h.$url_path=ce(),h.$title=document.title,h}function pe(){var s=document.referrer,c="baidu.com";if(!s)return!1;try{var p=C(s).hostname;return p&&p.substring(p.length-c.length)===c}catch(h){return!1}}function cr(){var s=ee(document.referrer);return Vt(s)||!s.eqid?Ln().replace(/-/g,""):s.eqid}function No(){var s=ee(document.referrer);if(Vt(s)||!s.eqid){var c=ee(location.href);return s.ck||c.utm_source?"baidu_sem_keyword_id":"baidu_other_keyword_id"}return"baidu_seo_keyword_id"}function In(s){return s=s||document.referrer,s===""||z(pt(s),bc)!==z(null,bc)}function Fr(s,c){return s=s||document.referrer,typeof s!="string"?"\u53D6\u503C\u5F02\u5E38_referrer\u5F02\u5E38_"+String(s):(s=b(s),s=j(s),s.indexOf("https://www.baidu.com/")!==0||c||(s=s.split("?")[0]),s=s.slice(0,bt.max_referrer_string_length),typeof s=="string"?s:"")}function hp(s){var c=pt(s);if(!c||c==="hostname\u89E3\u6790\u5F02\u5E38")return"";var p={baidu:[/^.*\.baidu\.com$/],bing:[/^.*\.bing\.com$/],google:[/^www\.google\.com$/,/^www\.google\.com\.[a-z]{2}$/,/^www\.google\.[a-z]{2}$/],sm:[/^m\.sm\.cn$/],so:[/^.+\.so\.com$/],sogou:[/^.*\.sogou\.com$/],yahoo:[/^.*\.yahoo\.com$/]};for(var h in p)for(var g=p[h],x=0,A=g.length;x<A;x++)if(g[x].test(c))return h;return"\u672A\u77E5\u641C\u7D22\u5F15\u64CE"}function Ai(s,c){s=s||document.referrer;var p=bt.source_type.keyword;if(document&&typeof s=="string"){if(s.indexOf("http")===0){var h=hp(s),g=ee(s);if(Vt(g))return bt.preset_properties.search_keyword_baidu&&pe()?void 0:"\u672A\u53D6\u5230\u503C";var x=null;for(var A in p)if(h===A&&typeof g=="object"){if(x=p[A],T(x))for(A=0;A<x.length;A++){var P=g[x[A]];if(P)return c?{active:P}:P}else if(g[x])return c?{active:g[x]}:g[x]}return bt.preset_properties.search_keyword_baidu&&pe()?void 0:"\u672A\u53D6\u5230\u503C"}return s===""?"\u672A\u53D6\u5230\u503C_\u76F4\u63A5\u6253\u5F00":"\u672A\u53D6\u5230\u503C_\u975Ehttp\u7684url"}return"\u53D6\u503C\u5F02\u5E38_referrer\u5F02\u5E38_"+String(s)}function _p(s){var c=ft(s,"gdt_vid"),p=ft(s,"hash_key"),h=ft(s,"callbacks"),g={click_id:"",hash_key:"",callbacks:""};return y(c)&&c.length&&(g.click_id=c.length==16||c.length==18?c:"\u53C2\u6570\u89E3\u6790\u4E0D\u5408\u6CD5",y(p)&&p.length&&(g.hash_key=p),y(h)&&h.length&&(g.callbacks=h)),g}function Ja(){function s(P,H){for(var J=0;J<P.length;J++)if(H.split("?")[0].indexOf(P[J])!==-1)return!0}var c="("+bt.source_type.utm.join("|")+")\\=[^&]+",p=bt.source_type.search,h=bt.source_type.social,g=document.referrer||"",x=$t.pageProp.url;if(x){var A=x.match(new RegExp(c));return A&&A[0]?"\u4ED8\u8D39\u5E7F\u544A\u6D41\u91CF":s(p,g)?"\u81EA\u7136\u641C\u7D22\u6D41\u91CF":s(h,g)?"\u793E\u4EA4\u7F51\u7AD9\u6D41\u91CF":g===""?"\u76F4\u63A5\u6D41\u91CF":"\u5F15\u8350\u6D41\u91CF"}return"\u83B7\u53D6url\u5F02\u5E38"}function zx(s){var c=bt.heatmap&&typeof bt.heatmap.collect_input=="function"&&bt.heatmap.collect_input(s);return(s.type==="button"||s.type==="submit"||c)&&s.value||""}function Ya(s,c){return y(c)&&c.toLowerCase()==="input"?zx(s):mt(s,c)}function gc(s){return xc.protocol.ajax(s.url),Z(s)}function Nn(s,c,p){var h=!(!i(bt.heatmap)||!bt.heatmap.useCapture);return i(bt.heatmap)&&typeof bt.heatmap.useCapture>"u"&&c==="click"&&(h=!0),N(s,c,p,h)}function vp(s,c){var p="";if(c=c||location.href,bt.cross_subdomain===!1){try{p=C(c).hostname}catch(h){Ft(h)}p=typeof p=="string"&&p!==""?"sajssdk_2015_"+bt.sdk_id+s+"_"+p.replace(/\./g,"_"):"sajssdk_2015_root_"+bt.sdk_id+s}else p="sajssdk_2015_cross_"+bt.sdk_id+s;return p}function Za(){var s="new_user";return Me.isSupport()?Me.get("sensorsdata_is_new_user")!==null||Me.get(vp(s))!==null:es.get(es.getNewUserFlagMemoryKey(s))!==null}function Oi(s,c){for(var p in s)if(Object.prototype.hasOwnProperty.call(s,p)&&!uT.check(p,s[p],c))return!1;return!0}function Xx(s){return rs.stage.process("addCustomProps",s)}function Jx(s){return rs.stage.process("formatData",s)}function Yx(s){var c=location.href,p=window.history.pushState,h=window.history.replaceState;r(window.history.pushState)&&(window.history.pushState=function(){p.apply(window.history,arguments),s(c),c=location.href}),r(window.history.replaceState)&&(window.history.replaceState=function(){h.apply(window.history,arguments),s(c),c=location.href});var g;g=window.document.documentMode?"hashchange":p?"popstate":"hashchange",N(window,g,function(){s(c),c=location.href})}function gp(s,c){var p=[];typeof s=="string"&&s in ze.EVENT_LIST&&(p=ze.EVENT_LIST[s],ze[p[0]].on(p[1],c))}function Zx(s){var c=!s.type||s.type.slice(0,7)!=="profile",p="\u53D6\u503C\u5F02\u5E38";i(s.properties)&&(s.properties.$first_referrer&&(s.properties.$first_referrer_host=pt(s.properties.$first_referrer,p)),c&&("$referrer"in s.properties&&(s.properties.$referrer_host=s.properties.$referrer===""?"":pt(s.properties.$referrer,p)),v.para.preset_properties.latest_referrer&&v.para.preset_properties.latest_referrer_host&&(s.properties.$latest_referrer_host=s.properties.$latest_referrer===""?"":pt(s.properties.$latest_referrer,p))))}function Qx(s){var c=!s.type||s.type.slice(0,7)!=="profile",p=v.para.preset_properties&&c;p&&v.para.preset_properties.url&&typeof s.properties.$url>"u"&&(s.properties.$url=Bt()),p&&v.para.preset_properties.title&&typeof s.properties.$title>"u"&&(s.properties.$title=document.title)}function tb(s){U(bt,s||v.para||{}),v.para=bt;var c={};if(i(v.para.is_track_latest))for(var p in v.para.is_track_latest)c["latest_"+p]=v.para.is_track_latest[p];v.para.preset_properties=U({},v.para_default.preset_properties,c,v.para.preset_properties||{});var h;for(h in v.para_default)v.para[h]===void 0&&(v.para[h]=v.para_default[h]);typeof v.para.server_url=="string"&&(v.para.server_url=b(v.para.server_url),v.para.server_url&&(v.para.server_url.slice(0,3)==="://"?v.para.server_url=location.protocol.slice(0,-1)+v.para.server_url:v.para.server_url.slice(0,2)==="//"?v.para.server_url=location.protocol+v.para.server_url:v.para.server_url.slice(0,4)!=="http"&&(v.para.server_url=""))),typeof v.para.web_url!="string"||v.para.web_url.slice(0,3)!=="://"&&v.para.web_url.slice(0,2)!=="//"||(v.para.web_url.slice(0,3)==="://"?v.para.web_url=location.protocol.slice(0,-1)+v.para.web_url:v.para.web_url=location.protocol+v.para.web_url),v.para.send_type!=="image"&&v.para.send_type!=="ajax"&&v.para.send_type!=="beacon"&&(v.para.send_type="image"),v.debug.protocol.serverUrl(),v.bridge.initPara();var g={datasend_timeout:6e3,send_interval:6e3};wt.isSupport()&&bi()&&typeof localStorage=="object"?v.para.batch_send===!0?v.para.batch_send=U({},g):typeof v.para.batch_send=="object"&&(v.para.batch_send=U({},g,v.para.batch_send)):v.para.batch_send=!1;var x=["utm_source","utm_medium","utm_campaign","utm_content","utm_term"],A=["www.baidu.","m.baidu.","m.sm.cn","so.com","sogou.com","youdao.com","google.","yahoo.com/","bing.com/","ask.com/"],P=["weibo.com","renren.com","kaixin001.com","douban.com","qzone.qq.com","zhihu.com","tieba.baidu.com","weixin.qq.com"],H={baidu:["wd","word","kw","keyword"],google:"q",bing:"q",yahoo:"p",sogou:["query","keyword"],so:"q",sm:"q"};typeof v.para.source_type=="object"&&(v.para.source_type.utm=T(v.para.source_type.utm)?v.para.source_type.utm.concat(x):x,v.para.source_type.search=T(v.para.source_type.search)?v.para.source_type.search.concat(A):A,v.para.source_type.social=T(v.para.source_type.social)?v.para.source_type.social.concat(P):P,v.para.source_type.keyword=i(v.para.source_type.keyword)?U(H,v.para.source_type.keyword):H);var J={div:!1},Q=["mark","/mark","strong","b","em","i","u","abbr","ins","del","s","sup"];if(v.para.heatmap&&!i(v.para.heatmap)&&(v.para.heatmap={}),i(v.para.heatmap)){v.para.heatmap.clickmap=v.para.heatmap.clickmap||"default",v.para.heatmap.scroll_notice_map=v.para.heatmap.scroll_notice_map||"default",v.para.heatmap.scroll_delay_time=v.para.heatmap.scroll_delay_time||4e3,v.para.heatmap.scroll_event_duration=v.para.heatmap.scroll_event_duration||18e3,v.para.heatmap.renderRefreshTime=v.para.heatmap.renderRefreshTime||1e3,v.para.heatmap.loadTimeout=v.para.heatmap.loadTimeout||1e3,v.para.heatmap.get_vtrack_config!==!0&&(v.para.heatmap.get_vtrack_config=!1);var st=T(v.para.heatmap.track_attr)?V(v.para.heatmap.track_attr,function(nt){return nt&&typeof nt=="string"}):[];if(st.push("data-sensors-click"),v.para.heatmap.track_attr=st,i(v.para.heatmap.collect_tags))if(v.para.heatmap.collect_tags.div===!0)v.para.heatmap.collect_tags.div={ignore_tags:Q,max_level:1};else if(i(v.para.heatmap.collect_tags.div)){if(v.para.heatmap.collect_tags.div.ignore_tags?T(v.para.heatmap.collect_tags.div.ignore_tags)||(v.log("ignore_tags \u53C2\u6570\u5FC5\u987B\u662F\u6570\u7EC4\u683C\u5F0F"),v.para.heatmap.collect_tags.div.ignore_tags=Q):v.para.heatmap.collect_tags.div.ignore_tags=Q,v.para.heatmap.collect_tags.div.max_level){var ot=[1,2,3];he(ot,v.para.heatmap.collect_tags.div.max_level)===-1&&(v.para.heatmap.collect_tags.div.max_level=1)}}else v.para.heatmap.collect_tags.div=!1;else v.para.heatmap.collect_tags=J}if(T(v.para.server_url)&&v.para.server_url.length)for(h=0;h<v.para.server_url.length;h++)/sa\.gif[^\/]*$/.test(v.para.server_url[h])||(v.para.server_url[h]=v.para.server_url[h].replace(/\/sa$/,"/sa.gif").replace(/(\/sa)(\?[^\/]+)$/,"/sa.gif$2"));else/sa\.gif[^\/]*$/.test(v.para.server_url)||typeof v.para.server_url!="string"||(v.para.server_url=v.para.server_url.replace(/\/sa$/,"/sa.gif").replace(/(\/sa)(\?[^\/]+)$/,"/sa.gif$2"));typeof v.para.server_url=="string"&&(v.para.debug_mode_url=v.para.debug_mode_url||v.para.server_url.replace("sa.gif","debug")),v.para.noCache===!0?v.para.noCache="?"+new Date().getTime():v.para.noCache="",v.para.callback_timeout>v.para.datasend_timeout&&(v.para.datasend_timeout=v.para.callback_timeout),v.para.heatmap&&v.para.heatmap.collect_tags&&i(v.para.heatmap.collect_tags)&&F(v.para.heatmap.collect_tags,function(nt,xt){xt!=="div"&&nt&&v.heatmap.otherTags.push(xt)}),v.para.heatmap&&v.para.heatmap.clickmap==="default"&&v.heatmap.initUnlimitedTags()}function mp(s){var c={};for(var p in s)c[p]=s[p];v.store._state.identities=c,v.store.save()}function eb(){v._t=v._t||1*new Date,v.lib_version=Mp,v.is_first_visitor=!1,v.source_channel_standard=Bp}function rb(){if($r.isSupport())try{sessionStorage.setItem("sensorsdata_jssdk_debug","true")}catch(s){v.log("enableLocalLog error: "+s.message)}}function nb(){$r.isSupport()&&sessionStorage.removeItem("sensorsdata_jssdk_debug")}function ib(){var s=Array.prototype.slice.call(arguments),c=s[0],p=s.slice(1);return typeof c=="string"&&Sc[c]?Sc[c].apply(Sc,p):void(typeof c=="function"?c.apply(v,p):v.log("quick\u65B9\u6CD5\u4E2D\u6CA1\u6709\u8FD9\u4E2A\u529F\u80FD"+s[0]))}function yp(s,c){return y(s)?i(window.SensorsDataWebJSSDKPlugin)&&i(window.SensorsDataWebJSSDKPlugin[s])&&r(window.SensorsDataWebJSSDKPlugin[s].init)?(window.SensorsDataWebJSSDKPlugin[s].init(v,c),window.SensorsDataWebJSSDKPlugin[s]):i(v.modules)&&i(v.modules[s])&&r(v.modules[s].init)?(v.modules[s].init(v,c),v.modules[s]):void v.log(s+"\u6CA1\u6709\u83B7\u53D6\u5230,\u8BF7\u67E5\u9605\u6587\u6863\uFF0C\u8C03\u6574"+s+"\u7684\u5F15\u5165\u987A\u5E8F\uFF01"):(v.log("use\u63D2\u4EF6\u540D\u79F0\u5FC5\u987B\u662F\u5B57\u7B26\u4E32\uFF01"),!1)}function ob(s,c,p){Dt.check({event:s,properties:c})&&Dt.send({type:"track",event:s,properties:c},p)}function ab(s,c){return!!Dt.check({bindKey:s,bindValue:c})&&(v.store._state.identities[s]=c,v.store.save(),void Dt.send({type:"track_id_bind",event:"$BindID",properties:{}}))}function sb(s,c){if(!Dt.check({unbindKey:s,bindValue:c}))return!1;if(i(v.store._state.identities)&&v.store._state.identities.hasOwnProperty(s)&&v.store._state.identities[s]===c){var p=v.store.getUnionId().login_id;p&&s+"+"+c===p&&(v.store._state.distinct_id=v.store._state.first_id,v.store._state.first_id="",v.store.set("history_login_id",{name:"",value:""})),s!=="$identity_cookie_id"&&(delete v.store._state.identities[s],v.store.save())}var h={};h[s]=c,Dt.send({identities:h,type:"track_id_unbind",event:"$UnbindID",properties:{}})}function ub(s,c,p){function h(g,x,A){function P(J){function Q(){st||(st=!0,location.href=H.href)}J.stopPropagation(),J.preventDefault();var st=!1;setTimeout(Q,1e3),v.track(x,A,Q)}g=g||{};var H=null;return g.ele&&(H=g.ele),g.event&&(H=g.target?g.target:g.event.target),A=A||{},!(!H||typeof H!="object")&&(!H.href||/^javascript/.test(H.href)||H.target||H.download||H.onclick?(v.track(x,A),!1):(g.event&&P(g.event),void(g.ele&&Nn(g.ele,"click",function(J){P(J)}))))}typeof s=="object"&&s.tagName?h({ele:s},c,p):typeof s=="object"&&s.target&&s.event&&h(s,c,p)}function cb(s,c,p){return p=p||{},!(!s||typeof s!="object")&&!(!s.href||/^javascript/.test(s.href)||s.target)&&void Nn(s,"click",function(h){function g(){x||(x=!0,location.href=s.href)}h.preventDefault();var x=!1;setTimeout(g,1e3),v.track(c,p,g)})}function fb(s,c,p){Dt.check({item_type:s,item_id:c,properties:p})&&Dt.sendItem({type:"item_set",item_type:s,item_id:c,properties:p||{}})}function lb(s,c){Dt.check({item_type:s,item_id:c})&&Dt.sendItem({type:"item_delete",item_type:s,item_id:c})}function db(s,c){Dt.check({propertiesMust:s})&&Dt.send({type:"profile_set",properties:s},c)}function pb(s,c){Dt.check({propertiesMust:s})&&Dt.send({type:"profile_set_once",properties:s},c)}function hb(s,c){Dt.check({propertiesMust:s})&&(F(s,function(p,h){y(p)?s[h]=[p]:T(p)?s[h]=p:(delete s[h],v.log("appendProfile\u5C5E\u6027\u7684\u503C\u5FC5\u987B\u662F\u5B57\u7B26\u4E32\u6216\u8005\u6570\u7EC4"))}),Vt(s)||Dt.send({type:"profile_append",properties:s},c))}function _b(s,c){function p(g){for(var x in g)if(Object.prototype.hasOwnProperty.call(g,x)&&!/-*\d+/.test(String(g[x])))return!1;return!0}var h=s;y(s)&&(s={},s[h]=1),Dt.check({propertiesMust:s})&&(p(s)?Dt.send({type:"profile_increment",properties:s},c):v.log("profile_increment\u7684\u503C\u53EA\u80FD\u662F\u6570\u5B57"))}function vb(s){Dt.send({type:"profile_delete"},s),Mt.set("distinct_id",Ln()),Mt.set("first_id","")}function gb(s,c){var p=s,h={};y(s)&&(s=[],s.push(p)),T(s)?(F(s,function(g){y(g)?h[g]=!0:v.log("profile_unset\u7ED9\u7684\u6570\u7EC4\u91CC\u9762\u7684\u503C\u5FC5\u987B\u65F6string,\u5DF2\u7ECF\u8FC7\u6EE4\u6389",g)}),Dt.send({type:"profile_unset",properties:h},c)):v.log("profile_unset\u7684\u53C2\u6570\u662F\u6570\u7EC4")}function mb(s,c){function p(x){v.store._state.identities.$identity_anonymous_id=x,v.store.save()}typeof s=="number"&&(s=String(s));var h=Mt.getFirstId();if(typeof s>"u"){var g=Ln();h?Mt.set("first_id",g):Mt.set("distinct_id",g),p(g)}else Dt.check({distinct_id:s})&&(c===!0?h?Mt.set("first_id",s):Mt.set("distinct_id",s):h?Mt.change("first_id",s):Mt.change("distinct_id",s),p(s))}function Ep(s,c,p,h){var g=Mt.getFirstId()||Mt.getDistinctId();Mt.set("distinct_id",s),Dt.send({original_id:g,distinct_id:v.store.getDistinctId(),type:"track_signup",event:c,properties:p},h)}function yb(s,c,p,h){typeof s=="number"&&(s=String(s)),Dt.check({distinct_id:s,event:c,properties:p})&&Ep(s,c,p,h)}function Eb(s){Dt.check({properties:s})?U($t.currentProps,s):v.log("register\u8F93\u5165\u7684\u53C2\u6570\u6709\u8BEF")}function xb(s){Mt.clearAllProps(s)}function bb(s){var c;if(T(s)&&s.length>0)for(c=0;c<s.length;c++)y(s[c])&&s[c]in $t.currentProps&&delete $t.currentProps[s[c]];else if(s===!0)for(c in $t.currentProps)delete $t.currentProps[c]}function Tb(s){Dt.check({properties:s})?Mt.setProps(s):v.log("register\u8F93\u5165\u7684\u53C2\u6570\u6709\u8BEF")}function Sb(s){Dt.check({properties:s})?Mt.setPropsOnce(s):v.log("registerOnce\u8F93\u5165\u7684\u53C2\u6570\u6709\u8BEF")}function Ab(s){Dt.check({properties:s})?Mt.setSessionProps(s):v.log("registerSession\u8F93\u5165\u7684\u53C2\u6570\u6709\u8BEF")}function Ob(s){Dt.check({properties:s})?Mt.setSessionPropsOnce(s):v.log("registerSessionOnce\u8F93\u5165\u7684\u53C2\u6570\u6709\u8BEF")}function xp(s){var c=s.id,p=s.callback,h=s.name,g=Mt.getFirstId(),x=Mt.getOriginDistinctId();if(!Dt.check({distinct_id:c}))return v.log("login id is invalid"),!1;if(c===v.store.getOriginDistinctId()&&!g)return v.log("login id is equal to distinct_id"),!1;if(i(v.store._state.identities)&&v.store._state.identities.hasOwnProperty(h)&&c===v.store._state.first_id)return!1;var A=v.store._state.history_login_id.name!==h||c!==v.store._state.history_login_id.value;if(A){v.store._state.identities[h]=c,v.store.set("history_login_id",{name:h,value:c}),g||Mt.set("first_id",x),Ep(c,"$SignUp",{},p);var P={$identity_cookie_id:v.store._state.identities.$identity_cookie_id};return P[h]=c,mp(P),!0}return!1}function bp(s,c){typeof s=="number"&&(s=String(s));var p=xp({id:s,callback:c,name:ts.LOGIN});!p&&r(c)&&c()}function wb(s,c){return typeof c=="number"&&(c=String(c)),typeof s=="number"&&(s=String(s)),!!Dt.check({loginIdKey:s})&&(ts.LOGIN===s?(bp(c),!1):void xp({id:c,callback:null,name:s}))}function Cb(s){var c=Mt.getFirstId();if(c)if(Mt.set("first_id",""),s===!0){var p=Ln();Mt.set("distinct_id",p)}else Mt.set("distinct_id",c);mp({$identity_cookie_id:v.store._state.identities.$identity_cookie_id}),v.store.set("history_login_id",{name:"",value:""})}function Pb(){function s(){var h=$t.campaignParams(),g={};return F(h,function(x,A,P){(" "+v.source_channel_standard+" ").indexOf(" "+A+" ")!==-1?g["$"+A]=P[A]:g[A]=P[A]}),g}var c={$is_first_day:Za(),$is_first_time:Ci.is_page_first_visited,$referrer:$t.pageProp.referrer||"",$referrer_host:$t.pageProp.referrer?pt($t.pageProp.referrer):"",$url:Bt(),$url_path:ce(),$title:document.title||"",_distinct_id:Mt.getDistinctId(),identities:JSON.parse(JSON.stringify(Mt._state.identities))},p=U({},$t.properties(),v.store.getProps(),s(),c);return v.para.preset_properties.latest_referrer&&v.para.preset_properties.latest_referrer_host&&(p.$latest_referrer_host=p.$latest_referrer===""?"":pt(p.$latest_referrer)),p}function Rb(){var s="",c=" { cursor: pointer; -webkit-tap-highlight-color: rgba(0,0,0,0); }";v.heatmap&&T(v.heatmap.otherTags)&&F(v.heatmap.otherTags,function(p){s+=p+c}),Ao()&&Nt()&&Nt()<13&&(v.para.heatmap&&v.para.heatmap.collect_tags&&v.para.heatmap.collect_tags.div&&Si("div, [data-sensors-click]"+c),v.para.heatmap&&v.para.heatmap.track_attr&&Si("["+v.para.heatmap.track_attr.join("], [")+"]"+c),s!==""&&Si(s))}function Db(){return Oc.stage&&Oc.stage.process("getUtmData")}function Ib(s,c){var p=Mn.encodeTrackData(c);return s.indexOf("?")!==-1?s+"&"+p:s+"?"+p}function Tp(s){return Mn.encodeTrackData(s)}function Nb(s){var c=["image","ajax","beacon"],p=c[0];return p=s.config&&he(c,s.config.send_type)>-1?s.config.send_type:v.para.send_type,p==="beacon"&&Va()===!1&&(p="image"),p==="ajax"&&bi()===!1&&(p="image"),p}function Lb(s){var c=Nb(s);switch(c){case"image":return new ns(s);case"ajax":return new kp(s);case"beacon":return new Up(s);default:return new ns(s)}}function Bb(s){var c=Lb(s),p=c.start;return c.start=function(){var h=this;p.apply(this,arguments),setTimeout(function(){h.isEnd(!0)},v.para.callback_timeout)},c.end=function(){this.callback&&this.callback();var h=this;setTimeout(function(){h.lastClear&&h.lastClear()},v.para.datasend_timeout-v.para.callback_timeout)},c.isEnd=function(){this.received||(this.received=!0,this.end())},c}function Sp(){this.sendTimeStamp=0,this.timer=null,this.serverUrl="",this.hasTabStorage=!1}function Lo(s){var c=this;this.type=s,this.resultCbs={},this.timeoutCbs={},this.timerId=null,this.appCallJsCallback=null,window.sensorsdata_app_call_js||(window.sensorsdata_app_call_js=function(p,h){if(p in window.sensorsdata_app_call_js.modules)return window.sensorsdata_app_call_js.modules[p](h)}),window.sensorsdata_app_call_js.modules=window.sensorsdata_app_call_js.modules||{},window.sensorsdata_app_call_js.modules[this.type]=function(p){try{var h=k(p)||p;try{h=JSON.parse(h)}catch(A){}var g=h&&h.message_id;if(g&&c.resultCbs[g]){if(p=h,c.timeoutCbs[g]&&c.timeoutCbs[g].isTimeout)return void(c.resultCbs[g].callbacks.length=0);if(c.resultCbs[g]){c.resultCbs[g].result=p,clearTimeout(c.timerId),c.timeoutCbs[g].callbacks.length=0;for(var x in c.resultCbs[g].callbacks)c.resultCbs[g].callbacks[x].call(null,p),c.resultCbs[g].callbacks.splice(x,1)}return}return c.appCallJsCallback&&c.appCallJsCallback.call(null,p)}catch(A){console.log("app \u56DE\u8C03 js \u5F02\u5E38",p)}}}function Ap(s){try{if(v.bridge.activeBridge&&r(v.bridge.activeBridge.handleCommand))return v.bridge.activeBridge.handleCommand(s)}catch(c){v.log("Error: handle command exception:"+c)}return v.log("\u6570\u636E\u53D1\u5F80App\u5931\u8D25\uFF0CApp\u6CA1\u6709\u66B4\u9732bridge,type:"+s.callType),!1}function Mb(s){function c(A){var P={hostname:"",project:""};try{A=C(A),P.hostname=A.hostname,P.project=A.searchParams.get("project")||"default"}catch(H){v.log(H)}return P}var p=c(s),h=c(v.para.server_url);if(p.hostname===h.hostname&&p.project===h.project)return!0;if(T(v.para.app_js_bridge.white_list))for(var g=0;g<v.para.app_js_bridge.white_list.length;g++){var x=c(v.para.app_js_bridge.white_list[g]);if(x.hostname===p.hostname&&x.project===p.project)return!0}return!1}function Op(s){this.bridge=new Lo(s.type)}function wp(s){var c=null;try{var p=JSON.parse(window.name);c=p[s]?_(p[s]):null}catch(h){c=null}return c===null&&(c=ft(location.href,s)||null),c}function Cp(s){function c(){var x=[];p.touch_app_bridge||x.push(v.debug.defineMode("1")),i(v.para.app_js_bridge)||(x.push(v.debug.defineMode("2")),p.verify_success=!1),i(v.para.heatmap)&&v.para.heatmap.clickmap=="default"||x.push(v.debug.defineMode("3")),p.verify_success==="fail"&&x.push(v.debug.defineMode("4")),new v.SDKJSBridge("app_alert").notifyApp({data:x})}var p=v.bridge.bridge_info;if(v.bridge.hasVisualModeBridge())if(i(v.para.heatmap)&&v.para.heatmap.clickmap=="default")if(i(v.para.app_js_bridge)&&p.verify_success==="success")if(s)sa_jssdk_app_define_mode(v,s);else{var h=location.protocol,g=["http:","https:"];h=he(g,h)>-1?h:"https:",Er({success:function(){setTimeout(function(){typeof sa_jssdk_app_define_mode<"u"&&sa_jssdk_app_define_mode(v,s)},0)},error:function(){},type:"js",url:h+"//static.sensorsdata.cn/sdk/"+v.lib_version+"/vapph5define.min.js"})}else c();else c()}function Fb(){v.para.is_track_single_page&&Ac.on("switch",function(s){var c=function(h){h=h||{},s!==location.href&&($t.pageProp.referrer=Bt(s),v.quick("autoTrack",U({$url:Bt(),$referrer:Bt(s)},h)))};if(typeof v.para.is_track_single_page=="boolean")c();else if(typeof v.para.is_track_single_page=="function"){var p=v.para.is_track_single_page();i(p)?c(p):p===!0&&c()}})}function $b(){v._q&&T(v._q)&&v._q.length>0&&F(v._q,function(s){v[s[0]].apply(v,Array.prototype.slice.call(s[1]))}),i(v.para.heatmap)&&(fr.initHeatmap(),fr.initScrollmap())}function kb(){v.readyState.setState(3),new v.SDKJSBridge("visualized").onAppNotify(function(){Cp(typeof sa_jssdk_app_define_mode<"u")}),Cp(!1),v.bridge.app_js_bridge_v1(),$t.initPage(),Fb(),!v.para.app_js_bridge&&v.para.batch_send&&wt.isSupport()&&v.batchSend.batchInterval(),v.store.init(),v.vtrackBase.init(),v.readyState.setState(4),$b()}function Ub(){an.isSeachHasKeyword()?an.hasKeywordHandle():window.parent!==self&&lr.isSearchHasKeyword()?lr.verifyVtrackMode():an.isWindowNameHasKeyword()?an.windowNameHasKeywordHandle():an.isStorageHasKeyword()?an.storageHasKeywordHandle():window.parent!==self&&lr.isStorageHasKeyword()?lr.verifyVtrackMode():(kb(),lr.notifyUser())}function jb(){F(mT,function(s){var c=v[s];v[s]=function(){if(v.readyState.state<3)return T(v._q)||(v._q=[]),v._q.push([s,arguments]),!1;{if(v.readyState.getState())return c.apply(v,arguments);try{console.error("\u8BF7\u5148\u521D\u59CB\u5316\u795E\u7B56JS SDK")}catch(p){v.log(p)}}}})}function Hb(s){this.cancel=function(){s=!0},this.getCanceled=function(){return s||!1}}function Gb(s,c,p){var h=null;try{h=JSON.parse(JSON.stringify(s||null))}catch(g){Ft(g)}this.getOriginalData=function(){return h},this.getPosition=function(){return c},this.cancellationToken=new Hb,this.sensors=p}function wi(s){if(!i(s))throw"error: Stage constructor requires arguments.";this.processDef=s,this.registeredInterceptors={}}function mc(s){s&&s.dataStage&&Wp.registerStageImplementation(s.dataStage),s&&s.businessStage&&qp.registerStageImplementation(s.businessStage),s&&s.sendStage&&Kp.registerStageImplementation(s.sendStage)}function Vb(s,c){zp[s]&&zp[s](c)}function Wb(s){s.kit=Mn,s.saEvent=Dt,this.dataStage=rs,this.sendStage=jp,this.businessStage=Oc}function Kb(s){return i(s)&&F(s,function(c,p){if(T(c)){var h=[];F(c,function(g){y(g)?h.push(g):Ft("\u60A8\u7684\u6570\u636E-",p,c,"\u7684\u6570\u7EC4\u91CC\u7684\u503C\u5FC5\u987B\u662F\u5B57\u7B26\u4E32,\u5DF2\u7ECF\u5C06\u5176\u5220\u9664")}),s[p]=h}y(c)||we(c)||Y(c)||Be(c)||T(c)||r(c)||p==="$option"||(Ft("\u60A8\u7684\u6570\u636E-",p,c,"-\u683C\u5F0F\u4E0D\u6EE1\u8DB3\u8981\u6C42\uFF0C\u6211\u4EEC\u5DF2\u7ECF\u5C06\u5176\u5220\u9664"),delete s[p])}),s}function qb(s,c){return we(c)&&s.length>c?(Ft("\u5B57\u7B26\u4E32\u957F\u5EA6\u8D85\u8FC7\u9650\u5236\uFF0C\u5DF2\u7ECF\u505A\u622A\u53D6--"+s),s.slice(0,c)):s}function zb(s){var c=["distinct_id","user_id","id","date","datetime","event","events","first_id","original_id","device_id","properties","second_id","time","users"];i(s)&&F(c,function(p,h){p in s&&(h<3?(delete s[p],Ft("\u60A8\u7684\u5C5E\u6027- "+p+"\u662F\u4FDD\u7559\u5B57\u6BB5\uFF0C\u6211\u4EEC\u5DF2\u7ECF\u5C06\u5176\u5220\u9664")):Ft("\u60A8\u7684\u5C5E\u6027- "+p+"\u662F\u4FDD\u7559\u5B57\u6BB5\uFF0C\u8BF7\u907F\u514D\u5176\u4F5C\u4E3A\u5C5E\u6027\u540D"))})}function Pp(s){var c=["$element_selector","$element_path"],p=["sensorsdata_app_visual_properties"];i(s)&&F(s,function(h,g){if(i(h))Pp(s[g]);else if(y(h)){if(he(p,g)>-1)return;s[g]=qb(h,he(c,g)>-1?1024:bt.max_string_length)}})}function Xb(s){typeof s.properties.$project<"u"&&(s.project=s.properties.$project,delete s.properties.$project),typeof s.properties.$token<"u"&&(s.token=s.properties.$token,delete s.properties.$token)}function Jb(s){if("item_type"in s){var c=s.item_type,p=function(x){return x||delete s.item_type,!0};Oi({item_type:c},p)}if("item_id"in s){var h=s.item_id,g=function(x,A,P){return x||P!=="string"||delete s.item_id,!0};Oi({item_id:h},g)}}function Yb(s){F(s,function(c,p){var h=function(g,x,A){return g||A==="keyLength"||delete s[p],!0};Oi({propertyKey:p},h)})}function Zb(s){var c=s.properties;i(c)?(Kb(c),zb(c),Xb(s),Yb(c),Pp(c)):"properties"in s&&(s.properties={}),Co(s),Jb(s)}function Qb(){this.dataStage=TT}function yc(s){s&&(ge.setup(Ft),v._=U(aT,dT),v.ee=ze,v.sendState=Mo,v.events=new v._.EventEmitterSa,v.batchSend=pT,v.bridge=hT,v.SDKJSBridge=Lo,v.JSBridge=Op,v.store=Mt,v.vtrackBase=kt,v.unlimitedDiv=Gp,v.customProp=Vp,v.vtrackcollect=_T,v.vapph5collect=gT,v.heatmap=fr,v.detectMode=Ub,v.registerFeature=mc,v.registerInterceptor=Vb,mc(new Wb(v)),mc(new Qb));var c=s?lT:yT;for(var p in c)v[p]=c[p];v.on=gp,v.ee=ze,v.use=yp}var v={};(function(){function s(P,H){function J(ut,dt){try{ut()}catch(it){dt&&dt()}}function Q(ut){if(Q[ut]!=null)return Q[ut];var dt;if(ut=="bug-string-char-index")dt="a"[0]!="a";else if(ut=="json")dt=Q("json-stringify")&&Q("date-serialization")&&Q("json-parse");else if(ut=="date-serialization"){if(dt=Q("json-stringify")&&xr){var it=H.stringify;J(function(){dt=it(new yt(-864e13))=='"-271821-04-20T00:00:00.000Z"'&&it(new yt(864e13))=='"+275760-09-13T00:00:00.000Z"'&&it(new yt(-621987552e5))=='"-000001-01-01T00:00:00.000Z"'&&it(new yt(-1))=='"1969-12-31T23:59:59.999Z"'})}}else{var ht,at='{"a":[1,true,false,null,"\\u0000\\b\\n\\f\\r\\t"]}';if(ut=="json-stringify"){var it=H.stringify,_t=typeof it=="function";_t&&((ht=function(){return 1}).toJSON=ht,J(function(){_t=it(0)==="0"&&it(new ot)==="0"&&it(new nt)=='""'&&it(Ge)===Kt&&it(Kt)===Kt&&it()===Kt&&it(ht)==="1"&&it([ht])=="[1]"&&it([Kt])=="[null]"&&it(null)=="null"&&it([Kt,Ge,null])=="[null,null,null]"&&it({a:[ht,!0,!1,null,`\0\b
\f\r	`]})==at&&it(null,ht)==="1"&&it([1,2],null,1)==`[
 1,
 2
]`},function(){_t=!1})),dt=_t}if(ut=="json-parse"){var vt,lt=H.parse;typeof lt=="function"&&J(function(){lt("0")!==0||lt(!1)||(ht=lt(at),vt=ht.a.length==5&&ht.a[0]===1,vt&&(J(function(){vt=!lt('"	"')}),vt&&J(function(){vt=lt("01")!==1}),vt&&J(function(){vt=lt("1.")!==1})))},function(){vt=!1}),dt=vt}}return Q[ut]=!!dt}function st(ut){return Rc(this)}P||(P=p.Object()),H||(H=p.Object());var ot=P.Number||p.Number,nt=P.String||p.String,xt=P.Object||p.Object,yt=P.Date||p.Date,Ht=P.SyntaxError||p.SyntaxError,Ce=P.TypeError||p.TypeError,Wt=P.Math||p.Math,Ot=P.JSON||p.JSON;if(typeof Ot=="object"&&Ot)return H.stringify=Ot.stringify,H.parse=Ot.parse,H.runInContext=s,H;var Kt,kr=xt.prototype,Ge=kr.toString,is=kr.hasOwnProperty,xr=new yt(-0xc782b5b800cec);if(J(function(){xr=xr.getUTCFullYear()==-109252&&xr.getUTCMonth()===0&&xr.getUTCDate()===1&&xr.getUTCHours()==10&&xr.getUTCMinutes()==37&&xr.getUTCSeconds()==6&&xr.getUTCMilliseconds()==708}),Q["bug-string-char-index"]=Q["date-serialization"]=Q.json=Q["json-stringify"]=Q["json-parse"]=null,!Q("json")){var os="[object Function]",AT="[object Date]",Zp="[object Number]",Qp="[object String]",Cc="[object Array]",OT="[object Boolean]",Pc=Q("bug-string-char-index"),Pi=function(ut,dt){var it,ht,at,_t=0;(it=function(){this.valueOf=0}).prototype.valueOf=0,ht=new it;for(at in ht)is.call(ht,at)&&_t++;return it=ht=null,_t?Pi=function(vt,lt){var qt,Pe,Qt=Ge.call(vt)==os;for(qt in vt)Qt&&qt=="prototype"||!is.call(vt,qt)||(Pe=qt==="constructor")||lt(qt);(Pe||is.call(vt,qt="constructor"))&&lt(qt)}:(ht=["valueOf","toString","toLocaleString","propertyIsEnumerable","isPrototypeOf","hasOwnProperty","constructor"],Pi=function(vt,lt){var qt,Pe,Qt=Ge.call(vt)==os,un=!Qt&&typeof vt.constructor!="function"&&c[typeof vt.hasOwnProperty]&&vt.hasOwnProperty||is;for(qt in vt)Qt&&qt=="prototype"||!un.call(vt,qt)||lt(qt);for(Pe=ht.length;qt=ht[--Pe];)un.call(vt,qt)&&lt(qt)}),Pi(ut,dt)};if(!Q("json-stringify")&&!Q("date-serialization")){var wT={92:"\\\\",34:'\\"',8:"\\b",12:"\\f",10:"\\n",13:"\\r",9:"\\t"},CT="000000",Ur=function(ut,dt){return(CT+(dt||0)).slice(-ut)},Rc=function(ut){var dt,it,ht,at,_t,vt,lt,qt,Pe;if(xr)dt=function(Gt){it=Gt.getUTCFullYear(),ht=Gt.getUTCMonth(),at=Gt.getUTCDate(),vt=Gt.getUTCHours(),lt=Gt.getUTCMinutes(),qt=Gt.getUTCSeconds(),Pe=Gt.getUTCMilliseconds()};else{var Qt=Wt.floor,un=[0,31,59,90,120,151,181,212,243,273,304,334],jr=function(Gt,Hr){return un[Hr]+365*(Gt-1970)+Qt((Gt-1969+(Hr=+(Hr>1)))/4)-Qt((Gt-1901+Hr)/100)+Qt((Gt-1601+Hr)/400)};dt=function(Gt){for(at=Qt(Gt/864e5),it=Qt(at/365.2425)+1970-1;jr(it+1,0)<=at;it++);for(ht=Qt((at-jr(it,0))/30.42);jr(it,ht+1)<=at;ht++);at=1+at-jr(it,ht),_t=(Gt%864e5+864e5)%864e5,vt=Qt(_t/36e5)%24,lt=Qt(_t/6e4)%60,qt=Qt(_t/1e3)%60,Pe=_t%1e3}}return(Rc=function(Gt){return Gt>-1/0&&Gt<1/0?(dt(Gt),Gt=(it<=0||it>=1e4?(it<0?"-":"+")+Ur(6,it<0?-it:it):Ur(4,it))+"-"+Ur(2,ht+1)+"-"+Ur(2,at)+"T"+Ur(2,vt)+":"+Ur(2,lt)+":"+Ur(2,qt)+"."+Ur(3,Pe)+"Z",it=ht=at=vt=lt=qt=Pe=null):Gt=null,Gt})(ut)};if(Q("json-stringify")&&!Q("date-serialization")){var PT=H.stringify;H.stringify=function(ut,dt,it){var ht=yt.prototype.toJSON;yt.prototype.toJSON=st;var at=PT(ut,dt,it);return yt.prototype.toJSON=ht,at}}else{var RT="\\u00",DT=function(ut){var dt=ut.charCodeAt(0),it=wT[dt];return it||RT+Ur(2,dt.toString(16))},Dc=/[\x00-\x1f\x22\x5c]/g,th=function(ut){return Dc.lastIndex=0,'"'+(Dc.test(ut)?ut.replace(Dc,DT):ut)+'"'},Ic=function(ut,dt,it,ht,at,_t,vt){var lt,qt,Pe,Qt,un,jr,Gt,Hr,Lc;if(J(function(){lt=dt[ut]}),typeof lt=="object"&&lt&&(lt.getUTCFullYear&&Ge.call(lt)==AT&&lt.toJSON===yt.prototype.toJSON?lt=Rc(lt):typeof lt.toJSON=="function"&&(lt=lt.toJSON(ut))),it&&(lt=it.call(dt,ut,lt)),lt==Kt)return lt===Kt?lt:"null";switch(qt=typeof lt,qt=="object"&&(Pe=Ge.call(lt)),Pe||qt){case"boolean":case OT:return""+lt;case"number":case Zp:return lt>-1/0&&lt<1/0?""+lt:"null";case"string":case Qp:return th(""+lt)}if(typeof lt=="object"){for(Gt=vt.length;Gt--;)if(vt[Gt]===lt)throw Ce();if(vt.push(lt),Qt=[],Hr=_t,_t+=at,Pe==Cc){for(jr=0,Gt=lt.length;jr<Gt;jr++)un=Ic(jr,lt,it,ht,at,_t,vt),Qt.push(un===Kt?"null":un);Lc=Qt.length?at?`[
`+_t+Qt.join(`,
`+_t)+`
`+Hr+"]":"["+Qt.join(",")+"]":"[]"}else Pi(ht||lt,function(nh){var ih=Ic(nh,lt,it,ht,at,_t,vt);ih!==Kt&&Qt.push(th(nh)+":"+(at?" ":"")+ih)}),Lc=Qt.length?at?`{
`+_t+Qt.join(`,
`+_t)+`
`+Hr+"}":"{"+Qt.join(",")+"}":"{}";return vt.pop(),Lc}};H.stringify=function(ut,dt,it){var ht,at,_t,vt;if(c[typeof dt]&&dt){if(vt=Ge.call(dt),vt==os)at=dt;else if(vt==Cc){_t={};for(var lt,qt=0,Pe=dt.length;qt<Pe;)lt=dt[qt++],vt=Ge.call(lt),vt!="[object String]"&&vt!="[object Number]"||(_t[lt]=1)}}if(it)if(vt=Ge.call(it),vt==Zp){if((it-=it%1)>0)for(it>10&&(it=10),ht="";ht.length<it;)ht+=" "}else vt==Qp&&(ht=it.length<=10?it:it.slice(0,10));return Ic("",(lt={},lt[""]=ut,lt),at,_t,ht,"",[])}}}if(!Q("json-parse")){var gt,as,IT=nt.fromCharCode,NT={92:"\\",34:'"',47:"/",98:"\b",116:"	",110:`
`,102:"\f",114:"\r"},me=function(){throw gt=as=null,Ht()},sn=function(){for(var ut,dt,it,ht,at,_t=as,vt=_t.length;gt<vt;)switch(at=_t.charCodeAt(gt)){case 9:case 10:case 13:case 32:gt++;break;case 123:case 125:case 91:case 93:case 58:case 44:return ut=Pc?_t.charAt(gt):_t[gt],gt++,ut;case 34:for(ut="@",gt++;gt<vt;)if(at=_t.charCodeAt(gt),at<32)me();else if(at==92)switch(at=_t.charCodeAt(++gt)){case 92:case 34:case 47:case 98:case 116:case 110:case 102:case 114:ut+=NT[at],gt++;break;case 117:for(dt=++gt,it=gt+4;gt<it;gt++)at=_t.charCodeAt(gt),at>=48&&at<=57||at>=97&&at<=102||at>=65&&at<=70||me();ut+=IT("0x"+_t.slice(dt,gt));break;default:me()}else{if(at==34)break;for(at=_t.charCodeAt(gt),dt=gt;at>=32&&at!=92&&at!=34;)at=_t.charCodeAt(++gt);ut+=_t.slice(dt,gt)}if(_t.charCodeAt(gt)==34)return gt++,ut;me();default:if(dt=gt,at==45&&(ht=!0,at=_t.charCodeAt(++gt)),at>=48&&at<=57){for(at==48&&(at=_t.charCodeAt(gt+1),at>=48&&at<=57)&&me(),ht=!1;gt<vt&&(at=_t.charCodeAt(gt),at>=48&&at<=57);gt++);if(_t.charCodeAt(gt)==46){for(it=++gt;it<vt&&(at=_t.charCodeAt(it),!(at<48||at>57));it++);it==gt&&me(),gt=it}if(at=_t.charCodeAt(gt),at==101||at==69){for(at=_t.charCodeAt(++gt),at!=43&&at!=45||gt++,it=gt;it<vt&&(at=_t.charCodeAt(it),!(at<48||at>57));it++);it==gt&&me(),gt=it}return+_t.slice(dt,gt)}ht&&me();var lt=_t.slice(gt,gt+4);if(lt=="true")return gt+=4,!0;if(lt=="fals"&&_t.charCodeAt(gt+4)==101)return gt+=5,!1;if(lt=="null")return gt+=4,null;me()}return"$"},Nc=function(ut){var dt,it;if(ut=="$"&&me(),typeof ut=="string"){if((Pc?ut.charAt(0):ut[0])=="@")return ut.slice(1);if(ut=="["){for(dt=[];ut=sn(),ut!="]";)it?ut==","?(ut=sn(),ut=="]"&&me()):me():it=!0,ut==","&&me(),dt.push(Nc(ut));return dt}if(ut=="{"){for(dt={};ut=sn(),ut!="}";)it?ut==","?(ut=sn(),ut=="}"&&me()):me():it=!0,ut!=","&&typeof ut=="string"&&(Pc?ut.charAt(0):ut[0])=="@"&&sn()==":"||me(),dt[ut.slice(1)]=Nc(sn());return dt}me()}return ut},eh=function(ut,dt,it){var ht=rh(ut,dt,it);ht===Kt?delete ut[dt]:ut[dt]=ht},rh=function(ut,dt,it){var ht,at=ut[dt];if(typeof at=="object"&&at)if(Ge.call(at)==Cc)for(ht=at.length;ht--;)eh(Ge,Pi,at,ht,it);else Pi(at,function(_t){eh(at,_t,it)});return it.call(ut,dt,at)};H.parse=function(ut,dt){var it,ht;return gt=0,as=""+ut,it=Nc(sn()),sn()!="$"&&me(),gt=as=null,dt&&Ge.call(dt)==os?rh((ht={},ht[""]=it,ht),"",dt):it}}}return H.runInContext=s,H}var c={function:!0,object:!0},p=c[typeof window]&&window||this,h=p.JSON,g=p.JSON3,x=!1,A=s(p,p.JSON3={noConflict:function(){return x||(x=!0,p.JSON=h,p.JSON3=g,h=g=null),A}});p.JSON={parse:A.parse,stringify:A.stringify}}).call(window),function(s,c){c(s)}(window,function(s){if(s.atob)try{s.atob(" ")}catch(h){s.atob=function(g){var x=function(A){return g(String(A).replace(/[\t\n\f\r ]+/g,""))};return x.original=g,x}(s.atob)}else{var c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",p=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/;s.btoa=function(h){h=String(h);for(var g,x,A,P,H="",J=0,Q=h.length%3;J<h.length;){if((x=h.charCodeAt(J++))>255||(A=h.charCodeAt(J++))>255||(P=h.charCodeAt(J++))>255)return"";g=x<<16|A<<8|P,H+=c.charAt(g>>18&63)+c.charAt(g>>12&63)+c.charAt(g>>6&63)+c.charAt(63&g)}return Q?H.slice(0,Q-3)+"===".substring(Q):H},s.atob=function(h){if(h=String(h).replace(/[\t\n\f\r ]+/g,""),!p.test(h))return"";h+="==".slice(2-(3&h.length));for(var g,x,A,P="",H=0;H<h.length;)g=c.indexOf(h.charAt(H++))<<18|c.indexOf(h.charAt(H++))<<12|(x=c.indexOf(h.charAt(H++)))<<6|(A=c.indexOf(h.charAt(H++))),P+=x===64?String.fromCharCode(g>>16&255):A===64?String.fromCharCode(g>>16&255,g>>8&255):String.fromCharCode(g>>16&255,g>>8&255,255&g);return P}}}),function(){String.prototype.replaceAll||(String.prototype.replaceAll=function(s,c){return Object.prototype.toString.call(s).toLowerCase()==="[object regexp]"?this.replace(s,c):this.replace(new RegExp(s,"g"),c)})}();var Rp,ge={setup:function(s){Rp=s},log:function(){(Rp||console&&console.log||function(){}).apply(null,arguments)}},wt={get:function(s){return window.localStorage.getItem(s)},parse:function(s){var c;try{c=JSON.parse(wt.get(s))||null}catch(p){ge.log(p)}return c},set:function(s,c){try{window.localStorage.setItem(s,c)}catch(p){ge.log(p)}},remove:function(s){window.localStorage.removeItem(s)},isSupport:function(){var s=!0;try{var c="__local_store_support__",p="testIsSupportStorage";wt.set(c,p),wt.get(c)!==p&&(s=!1),wt.remove(c)}catch(h){s=!1}return s}},Dp=function(){function s(){return p=(9301*p+49297)%233280,p/233280}var c=new Date,p=c.getTime();return function(h){return Math.ceil(s()*h)}}();f.prototype.get=function(s,c,p,h){if(!s)throw new Error("key is must");c=c||1e4,p=p||1e3,h=h||function(){};var g=this.lockGetPrefix+s,x=wt.get(g),A=String(a());return x&&(x=u(x)||{randomNum:0,expireTime:0},x.expireTime>n())?h(null):(wt.set(g,JSON.stringify({randomNum:A,expireTime:n()+c})),void setTimeout(function(){x=u(wt.get(g))||{randomNum:0,expireTime:0},x&&x.randomNum===A?(h(wt.get(s)),wt.remove(s),wt.remove(g)):h(null)},p))},f.prototype.set=function(s,c,p,h,g){if(!s||!c)throw new Error("key and val is must");p=p||1e4,h=h||1e3,g=g||function(){};var x=this.lockSetPrefix+s,A=wt.get(x),P=String(a());return A&&(A=u(A)||{randomNum:0,expireTime:0},A.expireTime>n())?g({status:"fail",reason:"This key is locked"}):(wt.set(x,JSON.stringify({randomNum:P,expireTime:n()+p})),void setTimeout(function(){A=u(wt.get(x))||{randomNum:0,expireTime:0},A.randomNum===P?wt.set(s,c)&&g({status:"success"}):g({status:"fail",reason:"This key is locked"})},h))},l.prototype.on=function(s,c){if(!s||!c)return!1;if(!d(c))throw new Error("listener must be a function");this._events[s]=this._events[s]||[];var p=typeof c=="object";return this._events[s].push(p?c:{listener:c,once:!1}),this},l.prototype.prepend=function(s,c){if(!s||!c)return!1;if(!d(c))throw new Error("listener must be a function");this._events[s]=this._events[s]||[];var p=typeof c=="object";return this._events[s].unshift(p?c:{listener:c,once:!1}),this},l.prototype.prependOnce=function(s,c){return this.prepend(s,{listener:c,once:!0})},l.prototype.once=function(s,c){return this.on(s,{listener:c,once:!0})},l.prototype.off=function(s,c){var p=this._events[s];if(!p)return!1;if(typeof c=="number")p.splice(c,1);else if(typeof c=="function")for(var h=0,g=p.length;h<g;h++)p[h]&&p[h].listener===c&&p.splice(h,1);return this},l.prototype.emit=function(s,c){var p=this._events[s];if(!p)return!1;for(var h=0;h<p.length;h++){var g=p[h];g&&(g.listener.call(this,c||{}),g.once&&this.off(s,h))}return this},l.prototype.removeAllListeners=function(s){s&&this._events[s]?this._events[s]=[]:this._events={}},l.prototype.listeners=function(s){return s&&typeof s=="string"?this._events[s]:this._events};var Ln=function(){var s=function(){for(var h=1*new Date,g=0;h==1*new Date;)g++;return h.toString(16)+g.toString(16)},c=function(){return a().toString(16).replace(".","")},p=function(){function h(J,Q){var st,ot=0;for(st=0;st<Q.length;st++)ot|=P[st]<<8*st;return J^ot}var g,x,A=navigator.userAgent,P=[],H=0;for(g=0;g<A.length;g++)x=A.charCodeAt(g),P.unshift(255&x),P.length>=4&&(H=h(H,P),P=[]);return P.length>0&&(H=h(H,P)),H.toString(16)};return function(){var h=String(screen.height*screen.width);h=h&&/\d{5,}/.test(h)?h.toString(16):String(31242*a()).replace(".","").slice(0,8);var g=s()+"-"+c()+"-"+p()+"-"+h+"-"+s();return g||(String(a())+String(a())+String(a())).slice(2,15)}}(),Ip=function(s){this.ele=s},Np=function(s,c){for(var p=[];s;s=s.nextSibling)s.nodeType===1&&s!==c&&p.push(s);return p};Ip.prototype={addClass:function(s){var c=" "+this.ele.className+" ";return c.indexOf(" "+s+" ")===-1&&(this.ele.className=this.ele.className+(this.ele.className===""?"":" ")+s),this},removeClass:function(s){var c=" "+this.ele.className+" ";return c.indexOf(" "+s+" ")!==-1&&(this.ele.className=c.replace(" "+s+" "," ").slice(1,-1)),this},hasClass:function(s){var c=" "+this.ele.className+" ";return c.indexOf(" "+s+" ")!==-1},attr:function(s,c){return typeof s=="string"&&I(c)?this.ele.getAttribute(s):(typeof s=="string"&&(c=String(c),this.ele.setAttribute(s,c)),this)},offset:function(){var s=this.ele.getBoundingClientRect();if(s.width||s.height){var c=this.ele.ownerDocument,p=c.documentElement;return{top:s.top+window.pageYOffset-p.clientTop,left:s.left+window.pageXOffset-p.clientLeft}}return{top:0,left:0}},getSize:function(){if(!window.getComputedStyle)return{width:this.ele.offsetWidth,height:this.ele.offsetHeight};try{var s=this.ele.getBoundingClientRect();return{width:s.width,height:s.height}}catch(c){return{width:0,height:0}}},getStyle:function(s){return this.ele.currentStyle?this.ele.currentStyle[s]:this.ele.ownerDocument.defaultView.getComputedStyle(this.ele,null).getPropertyValue(s)},wrap:function(s){var c=document.createElement(s);return this.ele.parentNode.insertBefore(c,this.ele),c.appendChild(this.ele),w(c)},getCssStyle:function(s){var c=this.ele.style.getPropertyValue(s);if(c)return c;var p=null;if(typeof window.getMatchedCSSRules=="function"&&(p=window.getMatchedCSSRules(this.ele)),!p||!T(p))return null;for(var h=p.length-1;h>=0;h--){var g=p[h];if(c=g.style.getPropertyValue(s))return c}},sibling:function(s,c){for(;(s=s[c])&&s.nodeType!==1;);return s},next:function(){return this.sibling(this.ele,"nextSibling")},prev:function(){return this.sibling(this.ele,"previousSibling")},siblings:function(){return Np((this.ele.parentNode||{}).firstChild,this.ele)},children:function(){return Np(this.ele.firstChild)},parent:function(){var s=this.ele.parentNode;return s=s&&s.nodeType!==11?s:null,w(s)},previousElementSibling:function(){var s=this.ele;if("previousElementSibling"in document.documentElement)return w(s.previousElementSibling);for(;s=s.previousSibling;)if(s.nodeType===1)return w(s);return w(null)},getSameTypeSiblings:function(){for(var s=this.ele,c=s.parentNode,p=s.tagName.toLowerCase(),h=[],g=0;g<c.children.length;g++){var x=c.children[g];x.nodeType===1&&x.tagName.toLowerCase()===p&&h.push(c.children[g])}return h},getParents:function(){try{var s=this.ele;if(!O(s))return[];var c=[s];if(s===null||s.parentElement===null)return[];for(;s.parentElement!==null;)s=s.parentElement,c.push(s);return c}catch(p){return[]}}};var Lp=Array.prototype.forEach,tT=Object.prototype.hasOwnProperty,eT=Object.prototype.hasOwnProperty,Bo={get:function(s){for(var c=s+"=",p=document.cookie.split(";"),h=0;h<p.length;h++){for(var g=p[h];g.charAt(0)==" ";)g=g.substring(1,g.length);if(g.indexOf(c)==0)return _(g.substring(c.length,g.length))}return null},set:function(s,c,p,h,g,x,A){function P(Ht){return!!Ht&&Ht.replaceAll(/\r\n/g,"")}var H=A,J="",Q="",st="";if(p=p==null?73e3:p,p!==0){var ot=new Date;String(p).slice(-1)==="s"?ot.setTime(ot.getTime()+1e3*Number(String(p).slice(0,-1))):ot.setTime(ot.getTime()+24*p*60*60*1e3),J="; expires="+ot.toGMTString()}y(g)&&g!==""&&(st="; SameSite="+g),x&&(Q="; secure");var nt="",xt="",yt="";s&&(nt=P(s)),c&&(xt=P(c)),H&&(yt=P(H)),nt&&xt&&(document.cookie=nt+"="+encodeURIComponent(xt)+J+"; path=/"+yt+st+Q)},remove:function(s,c){this.set(s,"1",-1,c)},isSupport:function(s,c){function p(){h.set(s,c);var g=h.get(s);return g===c&&(h.remove(s),!0)}s=s||"cookie_support_test",c=c||"1";var h=this;return navigator.cookieEnabled&&p()}},rT=Object.prototype.hasOwnProperty,$r={isSupport:function(){var s=!0,c="__session_storage_support__",p="testIsSupportStorage";try{sessionStorage&&sessionStorage.setItem?(sessionStorage.setItem(c,p),sessionStorage.removeItem(c,p),s=!0):s=!1}catch(h){s=!1}return s}},nT={"+":"-","/":"_","=":"."},iT={"-":"+",_:"/",".":"="},oT={encode:function(s){return s.replace(/[+\/=]/g,function(c){return nT[c]})},decode:function(s){return s.replace(/[-_.]/g,function(c){return iT[c]})},trim:function(s){return s.replace(/[.=]{1,2}$/,"")},isBase64:function(s){return/^[A-Za-z0-9+\/]*[=]{0,2}$/.test(s)},isUrlSafeBase64:function(s){return/^[A-Za-z0-9_-]*[.]{0,2}$/.test(s)}},aT={__proto__:null,ConcurrentStorage:f,EventEmitter:l,URL:C,UUID:Ln,addEvent:N,addHashEvent:L,ajax:Z,base64Decode:k,base64Encode:D,bindReady:R,cookie:Bo,coverExtend:B,decodeURI:j,decodeURIComponent:_,dfmapping:G,each:F,encodeDates:tt,extend:U,extend2Lev:et,filter:V,formatDate:K,formatJsonString:W,getCookieTopLevelDomain:z,getDomBySelector:X,getElementContent:mt,getHostname:pt,getIOSVersion:Nt,getQueryParam:ft,getQueryParamsFromUrl:ee,getRandom:a,getRandomBasic:Dp,getScreenOrientation:je,getUA:Le,getURL:Bt,getURLPath:ce,getURLSearchParams:E,hasAttribute:nn,hasAttributes:Br,hashCode:Cn,hashCode53:yr,indexOf:he,inherit:Pn,isArguments:He,isArray:T,isBoolean:Be,isDate:Y,isElement:O,isEmptyObject:Vt,isFunction:r,isHttpUrl:Rn,isIOS:Ao,isJSONString:qe,isNumber:we,isObject:i,isString:y,isSupportBeaconSend:Va,isSupportCors:bi,isUndefined:I,jsonp:Oo,listenPageState:Mr,loadScript:Er,localStorage:wt,logger:ge,map:$,mediaQueriesSupported:Zt,now:n,removeScriptProtocol:Wa,rot13defs:Ti,rot13obfs:wo,ry:w,safeJSONParse:u,searchObjDate:Co,sessionStorage:$r,setCssStyle:Si,strToUnicode:Ka,throttle:hc,toArray:_c,trim:b,unique:qa,urlParse:S,urlSafeBase64:oT,values:Po,xhr:M},bt={},sT={preset_properties:{search_keyword_baidu:!1,latest_utm:!0,latest_traffic_source_type:!0,latest_search_keyword:!0,latest_referrer:!0,latest_referrer_host:!1,latest_landing_page:!1,latest_wx_ad_click_id:void 0,url:!0,title:!0},encrypt_cookie:!1,enc_cookie:!1,img_use_crossorigin:!1,name:"sa",max_referrer_string_length:200,max_string_length:500,max_id_length:255,max_key_length:100,cross_subdomain:!0,show_log:!1,is_debug:!1,debug_mode:!1,debug_mode_upload:!1,source_channel:[],sdk_id:"",send_type:"image",vtrack_ignore:{},auto_init:!0,is_track_single_page:!1,is_single_page:!1,batch_send:!1,source_type:{},callback_timeout:200,datasend_timeout:8e3,is_track_device_id:!1,ignore_oom:!0,app_js_bridge:!1},Ec="data:enc;",Qa="dfm-enc-",xc={distinct_id:function(){},jssdkDebug:function(){},_sendDebug:function(s){},apph5:function(s){var c="app_h5\u6253\u901A\u5931\u8D25-",p={1:c+"use_app_track\u4E3Afalse",2:c+"Android\u6216\u8005iOS\uFF0C\u6CA1\u6709\u66B4\u9732\u76F8\u5E94\u65B9\u6CD5",3.1:c+"Android\u6821\u9A8Cserver_url\u5931\u8D25",3.2:c+"iOS\u6821\u9A8Cserver_url\u5931\u8D25",4.1:c+"H5 \u6821\u9A8C iOS server_url \u5931\u8D25",4.2:c+"H5 \u6821\u9A8C Android server_url \u5931\u8D25"},h=s.output,g=s.step,x=s.data||"";h!=="all"&&h!=="console"||Ft(p[g]),(h==="all"||h==="code")&&i(bt.is_debug)&&bt.is_debug.apph5&&(x.type&&x.type.slice(0,7)==="profile"||(x.properties._jssdk_debug_info="apph5-"+String(g)))},defineMode:function(s){var c={1:{title:"\u5F53\u524D\u9875\u9762\u65E0\u6CD5\u8FDB\u884C\u53EF\u89C6\u5316\u5168\u57CB\u70B9",message:"App SDK \u4E0E Web JS SDK \u6CA1\u6709\u8FDB\u884C\u6253\u901A\uFF0C\u8BF7\u8054\u7CFB\u8D35\u65B9\u6280\u672F\u4EBA\u5458\u4FEE\u6B63 App SDK \u7684\u914D\u7F6E\uFF0C\u8BE6\u7EC6\u4FE1\u606F\u8BF7\u67E5\u770B\u6587\u6863\u3002",link_text:"\u914D\u7F6E\u6587\u6863",link_url:"https://manual.sensorsdata.cn/sa/latest/tech_sdk_client_link-1573913.html"},2:{title:"\u5F53\u524D\u9875\u9762\u65E0\u6CD5\u8FDB\u884C\u53EF\u89C6\u5316\u5168\u57CB\u70B9",message:"App SDK \u4E0E Web JS SDK \u6CA1\u6709\u8FDB\u884C\u6253\u901A\uFF0C\u8BF7\u8054\u7CFB\u8D35\u65B9\u6280\u672F\u4EBA\u5458\u4FEE\u6B63 Web JS SDK \u7684\u914D\u7F6E\uFF0C\u8BE6\u7EC6\u4FE1\u606F\u8BF7\u67E5\u770B\u6587\u6863\u3002",link_text:"\u914D\u7F6E\u6587\u6863",link_url:"https://manual.sensorsdata.cn/sa/latest/tech_sdk_client_link-1573913.html"},3:{title:"\u5F53\u524D\u9875\u9762\u65E0\u6CD5\u8FDB\u884C\u53EF\u89C6\u5316\u5168\u57CB\u70B9",message:"Web JS SDK \u6CA1\u6709\u5F00\u542F\u5168\u57CB\u70B9\u914D\u7F6E\uFF0C\u8BF7\u8054\u7CFB\u8D35\u65B9\u5DE5\u4F5C\u4EBA\u5458\u4FEE\u6B63 SDK \u7684\u914D\u7F6E\uFF0C\u8BE6\u7EC6\u4FE1\u606F\u8BF7\u67E5\u770B\u6587\u6863\u3002",link_text:"\u914D\u7F6E\u6587\u6863",link_url:"https://manual.sensorsdata.cn/sa/latest/tech_sdk_client_web_all-1573964.html"},4:{title:"\u5F53\u524D\u9875\u9762\u65E0\u6CD5\u8FDB\u884C\u53EF\u89C6\u5316\u5168\u57CB\u70B9",message:"Web JS SDK \u914D\u7F6E\u7684\u6570\u636E\u6821\u9A8C\u5730\u5740\u4E0E App SDK \u914D\u7F6E\u7684\u6570\u636E\u6821\u9A8C\u5730\u5740\u4E0D\u4E00\u81F4\uFF0C\u8BF7\u8054\u7CFB\u8D35\u65B9\u5DE5\u4F5C\u4EBA\u5458\u4FEE\u6B63 SDK \u7684\u914D\u7F6E\uFF0C\u8BE6\u7EC6\u4FE1\u606F\u8BF7\u67E5\u770B\u6587\u6863\u3002",link_text:"\u914D\u7F6E\u6587\u6863",link_url:"https://manual.sensorsdata.cn/sa/latest/tech_sdk_client_link-1573913.html"}};return!(!s||!c[s])&&c[s]},protocol:{protocolIsSame:function(s,c){try{if(C(s).protocol!==C(c).protocol)return!1}catch(p){return Ft("\u4E0D\u652F\u6301 _.URL \u65B9\u6CD5"),!1}return!0},serverUrl:function(){y(bt.server_url)&&bt.server_url!==""&&!this.protocolIsSame(bt.server_url,location.href)&&Ft(`SDK \u68C0\u6D4B\u5230\u60A8\u7684\u6570\u636E\u53D1\u9001\u5730\u5740\u548C\u5F53\u524D\u9875\u9762\u5730\u5740\u7684\u534F\u8BAE\u4E0D\u4E00\u81F4\uFF0C\u5EFA\u8BAE\u60A8\u4FEE\u6539\u6210\u4E00\u81F4\u7684\u534F\u8BAE\u3002
\u56E0\u4E3A\uFF1A1\u3001https \u4E0B\u9762\u53D1\u9001 http \u7684\u56FE\u7247\u8BF7\u6C42\u4F1A\u5931\u8D25\u30022\u3001http \u9875\u9762\u4F7F\u7528 https + ajax \u65B9\u5F0F\u53D1\u6570\u636E\uFF0C\u5728 ie9 \u53CA\u4EE5\u4E0B\u4F1A\u4E22\u5931\u6570\u636E\u3002`)},ajax:function(s){return s!==bt.server_url&&void(y(s)&&s!==""&&!this.protocolIsSame(s,location.href)&&Ft("SDK \u68C0\u6D4B\u5230\u60A8\u7684\u6570\u636E\u53D1\u9001\u5730\u5740\u548C\u5F53\u524D\u9875\u9762\u5730\u5740\u7684\u534F\u8BAE\u4E0D\u4E00\u81F4\uFF0C\u5EFA\u8BAE\u60A8\u4FEE\u6539\u6210\u4E00\u81F4\u7684\u534F\u8BAE\u3002\u56E0\u4E3A http \u9875\u9762\u4F7F\u7528 https + ajax \u65B9\u5F0F\u53D1\u6570\u636E\uFF0C\u5728 ie9 \u53CA\u4EE5\u4E0B\u4F1A\u4E22\u5931\u6570\u636E\u3002"))}}},Bp="utm_source utm_medium utm_campaign utm_content utm_term",Mp="1.23.1",bc="sensorsdata_domain_test",ts={EMAIL:"$identity_email",MOBILE:"$identity_mobile",LOGIN:"$identity_login_id"},Bn={data:{},id:function(){return this.data.id?this.data.id:(this.data.id=cr(),this.data.id)},type:function(){return this.data.type?this.data.type:(this.data.type=No(),this.data.type)}},$t={initPage:function(){var s=Fr(),c=Bt(),p=Do(c);p||xc.jssdkDebug("url_domain\u5F02\u5E38_"+c+"_"+p),this.pageProp={referrer:s,referrer_host:s?pt(s):"",url:c,url_host:pt(c,"url_host\u53D6\u503C\u5F02\u5E38"),url_domain:p}},pageProp:{},campaignParams:function(){return v.kit.getUtmData()},campaignParamsStandard:function(s,c){s=s||"",c=c||"";var p=$t.campaignParams(),h={},g={};return F(p,function(x,A,P){(" "+Bp+" ").indexOf(" "+A+" ")!==-1?h[s+A]=P[A]:g[c+A]=P[A]}),{$utms:h,otherUtms:g}},properties:function(){var s=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight||0,c=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth||0,p={$timezone_offset:new Date().getTimezoneOffset(),$screen_height:Number(screen.height)||0,$screen_width:Number(screen.width)||0,$viewport_height:s,$viewport_width:c,$lib:"js",$lib_version:Mp};return p},currentProps:{},register:function(s){U($t.currentProps,s)}},Me={get:function(s){return Bo.get(s)},set:function(s,c,p,h){var g="";if(h=typeof h>"u"?bt.cross_subdomain:h){var x=Do(location.href);x==="url\u89E3\u6790\u5931\u8D25"&&(x=""),g=x?"; domain="+x:""}return Bo.set(s,c,p,h,bt.set_cookie_samesite,bt.is_secure_cookie,g)},remove:function(s,c){return c=typeof c>"u"?bt.cross_subdomain:c,Bo.remove(s,c)},isSupport:function(s,c){return s=s||"sajssdk_2015_cookie_access_test",c=c||"1",Bo.isSupport(s,c)}};Me.getNewUser=Za;var es={data:{},get:function(s){var c=this.data[s];return c===void 0?null:c._expirationTimestamp_!==void 0?new Date().getTime()>c._expirationTimestamp_?null:c.value:c},set:function(s,c,p){if(p){var h,g=new Date;h=String(p).slice(-1)==="s"?g.getTime()+1e3*Number(String(p).slice(0,-1)):g.getTime()+24*p*60*60*1e3,c={value:c,_expirationTimestamp_:h}}this.data[s]=c},getNewUserFlagMemoryKey:function(s){return"sajssdk_2015_"+bt.sdk_id+s}},Ci={checkIsAddSign:function(s){s.type==="track"&&(Za()?s.properties.$is_first_day=!0:s.properties.$is_first_day=!1)},is_first_visit_time:!1,is_page_first_visited:!1,checkIsFirstTime:function(s){s.type==="track"&&s.event==="$pageview"&&(this.is_first_visit_time?(s.properties.$is_first_time=!0,this.is_first_visit_time=!1):s.properties.$is_first_time=!1)},setDeviceId:function(s){var c=null,p=Me.get("sensorsdata2015jssdkcross"+v.para.sdk_id);p=Dn(p);var h={};p!=null&&qe(p)&&(h=JSON.parse(p),h.$device_id&&(c=h.$device_id)),c=c||s,v.para.cross_subdomain===!0?v.store.set("$device_id",c):(h.$device_id=c,h=JSON.stringify(h),v.para.encrypt_cookie&&(h=on(h)),Me.set("sensorsdata2015jssdkcross"+v.para.sdk_id,h,null,!0)),v.para.is_track_device_id&&($t.currentProps.$device_id=c)},storeInitCheck:function(){if(v.is_first_visitor){var s=new Date,c={h:23-s.getHours(),m:59-s.getMinutes(),s:59-s.getSeconds()};Me.isSupport()?Me.set(vp("new_user"),"1",3600*c.h+60*c.m+c.s+"s"):es.set(es.getNewUserFlagMemoryKey("new_user"),"1",3600*c.h+60*c.m+c.s+"s"),this.is_first_visit_time=!0,this.is_page_first_visited=!0}else Za()||(this.checkIsAddSign=function(p){p.type==="track"&&(p.properties.$is_first_day=!1)}),this.checkIsFirstTime=function(p){p.type==="track"&&p.event==="$pageview"&&(p.properties.$is_first_time=!1)}},checkIsFirstLatest:function(){var s=$t.pageProp.url_domain,c={};s===""&&(s="url\u89E3\u6790\u5931\u8D25");var p=Ai(document.referrer,!0);if(v.para.preset_properties.search_keyword_baidu?In(document.referrer)&&(!pe()||i(p)&&p.active?v.store._state&&v.store._state.props&&(v.store._state.props.$search_keyword_id&&delete v.store._state.props.$search_keyword_id,v.store._state.props.$search_keyword_id_type&&delete v.store._state.props.$search_keyword_id_type,v.store._state.props.$search_keyword_id_hash&&delete v.store._state.props.$search_keyword_id_hash):(c.$search_keyword_id=Bn.id(),c.$search_keyword_id_type=Bn.type(),c.$search_keyword_id_hash=yr(c.$search_keyword_id))):v.store._state&&v.store._state.props&&(v.store._state.props.$search_keyword_id&&delete v.store._state.props.$search_keyword_id,v.store._state.props.$search_keyword_id_type&&delete v.store._state.props.$search_keyword_id_type,v.store._state.props.$search_keyword_id_hash&&delete v.store._state.props.$search_keyword_id_hash),v.store.save(),F(v.para.preset_properties,function(A,P){if(P.indexOf("latest_")===-1)return!1;if(P=P.slice(7),A){if(P==="wx_ad_click_id"&&A==="not_collect")return!1;if(P!=="utm"&&s==="url\u89E3\u6790\u5931\u8D25")P==="wx_ad_click_id"?(c._latest_wx_ad_click_id="url\u7684domain\u89E3\u6790\u5931\u8D25",c._latest_wx_ad_hash_key="url\u7684domain\u89E3\u6790\u5931\u8D25",c._latest_wx_ad_callbacks="url\u7684domain\u89E3\u6790\u5931\u8D25"):c["$latest_"+P]="url\u7684domain\u89E3\u6790\u5931\u8D25";else if(In(document.referrer))switch(P){case"traffic_source_type":c.$latest_traffic_source_type=Ja();break;case"referrer":c.$latest_referrer=$t.pageProp.referrer;break;case"search_keyword":Ai()?c.$latest_search_keyword=Ai():i(v.store._state)&&i(v.store._state.props)&&v.store._state.props.$latest_search_keyword&&delete v.store._state.props.$latest_search_keyword;break;case"landing_page":c.$latest_landing_page=Bt();break;case"wx_ad_click_id":var H=_p(location.href);c._latest_wx_ad_click_id=H.click_id,c._latest_wx_ad_hash_key=H.hash_key,c._latest_wx_ad_callbacks=H.callbacks}}else if(P==="utm"&&v.store._state&&v.store._state.props)for(var J in v.store._state.props)(J.indexOf("$latest_utm")===0||J.indexOf("_latest_")===0&&J.indexOf("_latest_wx_ad_")<0)&&delete v.store._state.props[J];else if(v.store._state&&v.store._state.props&&"$latest_"+P in v.store._state.props)delete v.store._state.props["$latest_"+P];else if(P=="wx_ad_click_id"&&v.store._state&&v.store._state.props&&A===!1){var Q=["_latest_wx_ad_click_id","_latest_wx_ad_hash_key","_latest_wx_ad_callbacks"];F(Q,function(st){st in v.store._state.props&&delete v.store._state.props[st]})}}),v.register(c),v.para.preset_properties.latest_utm){var h=$t.campaignParamsStandard("$latest_","_latest_"),g=h.$utms,x=h.otherUtms;Vt(g)||v.register(g),Vt(x)||v.register(x)}}},Mt={requests:[],_sessionState:{},_state:{distinct_id:"",first_id:"",props:{},identities:{}},getProps:function(){return this._state.props||{}},getSessionProps:function(){return this._sessionState},getOriginDistinctId:function(){return this._state._distinct_id||this._state.distinct_id},getOriginUnionId:function(s){var c={};s=s||this._state;var p=s._first_id||s.first_id,h=s._distinct_id||s.distinct_id;return p&&h?(c.login_id=h,c.anonymous_id=p):c.anonymous_id=h,c},getDistinctId:function(){var s=this.getUnionId();return s.login_id||s.anonymous_id},getUnionId:function(s){var c=this.getOriginUnionId(s);return c.login_id&&this._state.history_login_id&&this._state.history_login_id.name&&this._state.history_login_id.name!==v.IDENTITY_KEY.LOGIN&&(c.login_id=this._state.history_login_id.name+"+"+c.login_id),c},getFirstId:function(){return this._state._first_id||this._state.first_id},initSessionState:function(){var s=Me.get("sensorsdata2015session");s=Dn(s);var c=null;s!==null&&typeof(c=u(s))=="object"&&(this._sessionState=c||{})},setOnce:function(s,c){s in this._state||this.set(s,c)},set:function(s,c){this._state=this._state||{};var p=this._state.distinct_id;this._state[s]=c,s==="first_id"?delete this._state._first_id:s==="distinct_id"&&delete this._state._distinct_id,this.save(),s==="distinct_id"&&p&&v.events.tempAdd("changeDistinctId",c)},change:function(s,c){this._state["_"+s]=c},setSessionProps:function(s){var c=this._sessionState;U(c,s),this.sessionSave(c)},setSessionPropsOnce:function(s){var c=this._sessionState;B(c,s),this.sessionSave(c)},setProps:function(s,c){var p={};p=c?s:U(this._state.props||{},s);for(var h in p)typeof p[h]=="string"&&(p[h]=p[h].slice(0,v.para.max_referrer_string_length));this.set("props",p)},setPropsOnce:function(s){var c=this._state.props||{};B(c,s),this.set("props",c)},clearAllProps:function(s){this._sessionState={};var c;if(T(s)&&s.length>0)for(c=0;c<s.length;c++)y(s[c])&&s[c].indexOf("latest_")===-1&&i(this._state.props)&&s[c]in this._state.props&&delete this._state.props[s[c]];else if(i(this._state.props))for(c in this._state.props)c.indexOf("latest_")!==1&&delete this._state.props[c];this.sessionSave({}),this.save()},sessionSave:function(s){this._sessionState=s;var c=JSON.stringify(this._sessionState);v.para.encrypt_cookie&&(c=on(c)),Me.set("sensorsdata2015session",c,0)},save:function(){var s=JSON.parse(JSON.stringify(this._state));delete s._first_id,delete s._distinct_id,s.identities&&(s.identities=D(JSON.stringify(s.identities)));var c=JSON.stringify(s);v.para.encrypt_cookie&&(c=on(c)),Me.set(this.getCookieName(),c,73e3,v.para.cross_subdomain)},getCookieName:function(){var s="";if(v.para.cross_subdomain===!1){try{s=C(location.href).hostname}catch(c){v.log(c)}s=typeof s=="string"&&s!==""?"sa_jssdk_2015_"+v.para.sdk_id+s.replace(/\./g,"_"):"sa_jssdk_2015_root"+v.para.sdk_id}else s="sensorsdata2015jssdkcross"+v.para.sdk_id;return s},init:function(){function s(x){var A;x.identities&&(x.identities.indexOf(`
/`)===0?x.identities=u(Ti(x.identities)):x.identities=u(k(x.identities)));var P=Mt.getOriginUnionId(x);x.identities&&i(x.identities)&&!Vt(x.identities)?x.identities.$identity_anonymous_id&&x.identities.$identity_anonymous_id!==P.anonymous_id&&(x.identities.$identity_anonymous_id=P.anonymous_id):(x.identities={},x.identities.$identity_anonymous_id=P.anonymous_id,x.identities.$identity_cookie_id=Ln()),x.history_login_id=x.history_login_id||{};var H=x.history_login_id,J=H.name;if(P.login_id)if(J&&x.identities.hasOwnProperty(J)){if(x.identities[J]!==P.login_id){x.identities[J]=P.login_id;for(A in x.identities)x.identities.hasOwnProperty(A)&&A!=="$identity_cookie_id"&&A!==J&&delete x.identities[A];x.history_login_id.value=P.login_id}}else{var Q=J||v.IDENTITY_KEY.LOGIN;x.identities[Q]=P.login_id;for(A in x.identities)x.identities.hasOwnProperty(A)&&A!=="$identity_cookie_id"&&A!==Q&&delete x.identities[A];x.history_login_id={name:Q,value:P.login_id}}else{if(x.identities.hasOwnProperty("$identity_login_id")||x.identities.hasOwnProperty(J))for(A in x.identities)x.identities.hasOwnProperty(A)&&A!=="$identity_cookie_id"&&A!=="$identity_anonymous_id"&&delete x.identities[A];x.history_login_id={name:"",value:""}}return x}function c(x){v.store.set("distinct_id",x),v.store.set("identities",{$identity_cookie_id:x}),v.store.set("history_login_id",{name:"",value:""})}this.initSessionState();var p,h,g=Ln();Me.isSupport()&&(p=Me.get(this.getCookieName()),p=Dn(p),h=u(p)),Me.isSupport()&&p!==null&&qe(p)&&i(h)&&(!i(h)||h.distinct_id)?(v.store._state=U(s(h)),v.store.save()):(v.is_first_visitor=!0,c(g)),Ci.setDeviceId(g),Ci.storeInitCheck(),Ci.checkIsFirstLatest()},saveObjectVal:function(s,c){y(c)||(c=JSON.stringify(c)),v.para.encrypt_cookie==1&&(c=on(c)),wt.set(s,c)},readObjectVal:function(s){var c=wt.get(s);return c?(c=Dn(c),u(c)):null}},ie={string:function(s){Ft(s+" must be string")},emptyString:function(s){Ft(s+"'s is empty")},regexTest:function(s){Ft(s+" is invalid")},idLength:function(s){Ft(s+" length is longer than "+bt.max_id_length)},keyLength:function(s){Ft(s+" length is longer than "+bt.max_key_length)},stringLength:function(s){Ft(s+" length is longer than "+bt.max_string_length)},voidZero:function(s){Ft(s+"'s is undefined")},reservedLoginId:function(s){Ft(s+" is invalid")},reservedBind:function(s){Ft(s+" is invalid")},reservedUnbind:function(s){Ft(s+" is invalid")}},Fp={regName:/^((?!^distinct_id$|^original_id$|^time$|^properties$|^id$|^first_id$|^second_id$|^users$|^events$|^event$|^user_id$|^date$|^datetime$|^user_tag.*|^user_group.*)[a-zA-Z_$][a-zA-Z\d_$]*)$/i,loginIDReservedNames:["$identity_anonymous_id","$identity_cookie_id"],bindReservedNames:["$identity_login_id","$identity_anonymous_id","$identity_cookie_id"],unbindReservedNames:["$identity_anonymous_id",ts.LOGIN],string:function(s){return!!y(s)},emptyString:function(s){return!(!y(s)||b(s).length===0)},regexTest:function(s){return!(!y(s)||!this.regName.test(s))},idLength:function(s){return!(!y(s)||s.length>bt.max_id_length)},keyLength:function(s){return!(!y(s)||s.length>bt.max_key_length)},stringLength:function(s){return!(!y(s)||s.length>bt.max_string_length)},voidZero:function(s){return s!==void 0},reservedLoginId:function(s){return!(he(this.loginIDReservedNames,s)>-1)},reservedUnbind:function(s){return!(he(this.unbindReservedNames,s)>-1)},reservedBind:function(s){var c=Mt._state.history_login_id;return(!c||!c.name||c.name!==s)&&!(he(this.bindReservedNames,s)>-1)}},uT={distinct_id:{rules:["string","emptyString","idLength"],onComplete:function(s,c,p){return!s&&(p==="emptyString"&&(c="Id"),r(ie[p])&&ie[p](c),p==="idLength")||s}},event:{rules:["string","emptyString","keyLength","regexTest"],onComplete:function(s,c,p){return s||(p==="emptyString"&&(c="eventName"),r(ie[p])&&ie[p](c)),!0}},propertyKey:{rules:["string","emptyString","keyLength","regexTest"],onComplete:function(s,c,p){return s||(p==="emptyString"&&(c="Property key"),r(ie[p])&&ie[p](c)),!0}},propertyValue:{rules:["voidZero"],onComplete:function(s,c,p){return s||(c="Property Value",r(ie[p])&&ie[p](c)),!0}},properties:function(s){return i(s)?F(s,function(c,p){Oi({propertyKey:p});var h=function(g,x,A){return g||(x=p+"'s Value",r(ie[A])&&ie[A](x)),!0};Oi({propertyValue:c},h)}):Fp.voidZero(s)&&Ft("properties\u53EF\u4EE5\u6CA1\u6709\uFF0C\u4F46\u6709\u7684\u8BDD\u5FC5\u987B\u662F\u5BF9\u8C61"),!0},propertiesMust:function(s){return s!==void 0&&i(s)&&!Vt(s)?this.properties.call(this,s):Ft("properties\u5FC5\u987B\u662F\u5BF9\u8C61"),!0},item_type:{rules:["string","emptyString","keyLength","regexTest"],onComplete:function(s,c,p){return s||(p==="emptyString"&&(c="item_type"),r(ie[p])&&ie[p](c)),!0}},item_id:{rules:["string","emptyString","stringLength"],onComplete:function(s,c,p){return s||(p==="emptyString"&&(c="item_id"),r(ie[p])&&ie[p](c)),!0}},loginIdKey:{rules:["string","emptyString","keyLength","regexTest","reservedLoginId"],onComplete:function(s,c,p){return!s&&(p==="emptyString"&&(c="login_id_key"),r(ie[p])&&ie[p](c),p==="keyLength")||s}},bindKey:{rules:["string","emptyString","keyLength","regexTest","reservedBind"],onComplete:function(s,c,p){return!s&&(p==="emptyString"&&(c="Key"),r(ie[p])&&ie[p](c),p==="keyLength")||s}},unbindKey:{rules:["string","emptyString","keyLength","regexTest","reservedUnbind"],onComplete:function(s,c,p){return!s&&(p==="emptyString"&&(c="Key"),r(ie[p])&&ie[p](c),p==="keyLength")||s}},bindValue:{rules:["string","emptyString","idLength"],onComplete:function(s,c,p){return!s&&(p==="emptyString"&&(c="Value"),r(ie[p])&&ie[p](c),p==="idLength")||s}},check:function(s,c,p){var h=this[s];if(r(h))return h.call(this,c);if(!h)return!1;for(var g=0;g<h.rules.length;g++){var x=h.rules[g],A=Fp[x](c),P=r(p)?p(A,c,x):h.onComplete(A,c,x);if(!A)return P}return!0}},rs={stage:null,init:function(s){this.stage=s}},Dt={};Dt.check=Oi,Dt.sendItem=function(s){var c={lib:{$lib:"js",$lib_method:"code",$lib_version:String(v.lib_version)},time:1*new Date};U(c,s),rs.stage.process("formatData",c),v.sendState.getSendCall(c)},Dt.send=function(s,c){var p=v.kit.buildData(s);v.kit.sendData(p,c)},Dt.debugPath=function(s){var c=s,p="";p=v.para.debug_mode_url.indexOf("?")!==-1?v.para.debug_mode_url+"&"+v.kit.encodeTrackData(s):v.para.debug_mode_url+"?"+v.kit.encodeTrackData(s),gc({url:p,type:"GET",cors:!0,header:{"Dry-Run":String(v.para.debug_mode_upload)},success:function(h){Vt(h)===!0?alert("debug\u6570\u636E\u53D1\u9001\u6210\u529F"+c):alert("debug\u5931\u8D25 \u9519\u8BEF\u539F\u56E0"+JSON.stringify(h))}})};var Tc={label:!1,li:!1,a:!0,button:!0},fr={otherTags:[],initUnlimitedTags:function(){F(fr.otherTags,function(s){s in Tc&&(Tc[s]=!0)})},isUnlimitedTag:function(s){if(!s||s.nodeType!==1)return!1;var c=s.nodeName.toLowerCase();return Tc[c]||Br(s,v.para.heatmap.track_attr)},getTargetElement:function(s,c){var p=this,h=s;if(typeof h!="object"||typeof h.tagName!="string")return null;var g=h.tagName.toLowerCase();if(g.toLowerCase()==="body"||g.toLowerCase()==="html"||!h||!h.parentNode||!h.parentNode.children)return null;var x=h.parentNode,A=p.otherTags;if(g==="a"||g==="button"||g==="input"||g==="textarea"||he(A,g)>-1)return h;if(g==="area"&&x.tagName.toLowerCase()==="map"&&w(x).prev().tagName&&w(x).prev().tagName.toLowerCase()==="img")return w(x).prev();if(g==="div"&&v.para.heatmap.collect_tags.div&&p.isDivLevelValid(h)){var P=v.para.heatmap&&v.para.heatmap.collect_tags&&v.para.heatmap.collect_tags.div&&v.para.heatmap.collect_tags.div.max_level||1;if(P>1||p.isCollectableDiv(h))return h}if(p.isStyleTag(g)&&v.para.heatmap.collect_tags.div){var H=p.getCollectableParent(h);if(H&&p.isDivLevelValid(H))return H}var J=p.hasElement({event:c&&c.originalEvent||c,element:s},function(Q){return p.isUnlimitedTag(Q)});return J||null},getDivLevels:function(s,c){var p=fr.getElementPath(s,!0,c),h=p.split(" > "),g=0;return F(h,function(x){x==="div"&&g++}),g},isDivLevelValid:function(s){for(var c=v.para.heatmap&&v.para.heatmap.collect_tags&&v.para.heatmap.collect_tags.div&&v.para.heatmap.collect_tags.div.max_level||1,p=s.getElementsByTagName("div"),h=p.length-1;h>=0;h--)if(fr.getDivLevels(p[h],s)>c)return!1;return!0},getElementPath:function(s,c,p){for(var h=[];s.parentNode;){if(s.id&&!c&&/^[A-Za-z][-A-Za-z0-9_:.]*$/.test(s.id)){h.unshift(s.tagName.toLowerCase()+"#"+s.id);break}if(p&&s===p){h.unshift(s.tagName.toLowerCase());break}if(s===document.body){h.unshift("body");break}h.unshift(s.tagName.toLowerCase()),s=s.parentNode}return h.join(" > ")},getClosestLi:function(s){var c=function(p,h){for(;p&&p!==document&&p.nodeType===1;p=p.parentNode)if(p.tagName.toLowerCase()===h)return p;return null};return c(s,"li")},getElementPosition:function(s,c,p){function h(st){var ot=st.parentNode;if(!ot)return"";var nt=w(st).getSameTypeSiblings(),xt=nt.length;if(xt===1)return 0;for(var yt=0,Ht=st;w(Ht).previousElementSibling().ele;Ht=w(Ht).previousElementSibling().ele,yt++);return yt}var g=v.heatmap.getClosestLi(s);if(!g)return null;var x=s.tagName.toLowerCase(),A=g.getElementsByTagName(x),P=A.length,H=[];if(P>1){for(var J=0;J<P;J++){var Q=v.heatmap.getElementPath(A[J],p);Q===c&&H.push(A[J])}if(H.length>1)return he(H,s)}return h(g)},setNotice:function(s){v.is_heatmap_render_mode=!0,v.para.heatmap||(v.errorMsg="\u60A8SDK\u6CA1\u6709\u914D\u7F6E\u5F00\u542F\u70B9\u51FB\u56FE\uFF0C\u53EF\u80FD\u6CA1\u6709\u6570\u636E\uFF01"),s&&s.slice(0,5)==="http:"&&location.protocol==="https:"&&(v.errorMsg="\u60A8\u7684\u5F53\u524D\u9875\u9762\u662Fhttps\u7684\u5730\u5740\uFF0C\u795E\u7B56\u5206\u6790\u73AF\u5883\u4E5F\u5FC5\u987B\u662Fhttps\uFF01"),v.para.heatmap_url||(v.para.heatmap_url=location.protocol+"//static.sensorsdata.cn/sdk/"+v.lib_version+"/heatmap.min.js")},getDomIndex:function(s){if(!s.parentNode)return-1;for(var c=0,p=s.tagName,h=s.parentNode.children,g=0;g<h.length;g++)if(h[g].tagName===p){if(s===h[g])return c;c++}return-1},selector:function(s,c){var p=s.parentNode&&s.parentNode.nodeType==9?-1:this.getDomIndex(s);return s.getAttribute&&s.getAttribute("id")&&/^[A-Za-z][-A-Za-z0-9_:.]*$/.test(s.getAttribute("id"))&&(!v.para.heatmap||v.para.heatmap&&v.para.heatmap.element_selector!=="not_use_id")&&!c?"#"+s.getAttribute("id"):s.tagName.toLowerCase()+(~p?":nth-of-type("+(p+1)+")":"")},getDomSelector:function(s,c,p){if(!s||!s.parentNode||!s.parentNode.children)return!1;c=c&&c.join?c:[];var h=s.nodeName.toLowerCase();return s&&h!=="body"&&s.nodeType==1?(c.unshift(this.selector(s,p)),s.getAttribute&&s.getAttribute("id")&&/^[A-Za-z][-A-Za-z0-9_:.]*$/.test(s.getAttribute("id"))&&v.para.heatmap&&v.para.heatmap.element_selector!=="not_use_id"&&!p?c.join(" > "):this.getDomSelector(s.parentNode,c,p)):(c.unshift("body"),c.join(" > "))},na:function(){var s=document.documentElement.scrollLeft||window.pageXOffset;return parseInt(isNaN(s)?0:s,10)},i:function(){var s=0;try{s=o.documentElement&&o.documentElement.scrollTop||m.pageYOffset,s=isNaN(s)?0:s}catch(c){s=0}return parseInt(s,10)},getBrowserWidth:function(){var s=window.innerWidth||document.body.clientWidth;return isNaN(s)?0:parseInt(s,10)},getBrowserHeight:function(){var s=window.innerHeight||document.body.clientHeight;return isNaN(s)?0:parseInt(s,10)},getScrollWidth:function(){var s=parseInt(document.body.scrollWidth,10);return isNaN(s)?0:s},getEleDetail:function(s){var c=this.getDomSelector(s),p=Io({target:s});p.$element_selector=c||"",p.$element_path=v.heatmap.getElementPath(s,v.para.heatmap&&v.para.heatmap.element_selector==="not_use_id");var h=v.heatmap.getElementPosition(s,p.$element_path,v.para.heatmap&&v.para.heatmap.element_selector==="not_use_id");return we(h)&&(p.$element_position=h),p},getPointerEventProp:function(s,c){function p(){var A=document.body.scrollLeft||document.documentElement.scrollLeft||0,P=document.body.scrollTop||document.documentElement.scrollTop||0;return{scrollLeft:A,scrollTop:P}}function h(A){if(document.documentElement.getBoundingClientRect){var P=A.getBoundingClientRect();return{targetEleX:P.left+p().scrollLeft||0,targetEleY:P.top+p().scrollTop||0}}}function g(A){return Number(Number(A).toFixed(3))}function x(A){var P=A.pageX||A.clientX+p().scrollLeft||A.offsetX+h(c).targetEleX||0,H=A.pageY||A.clientY+p().scrollTop||A.offsetY+h(c).targetEleY||0;return{$page_x:g(P),$page_y:g(H)}}return s?x(s):{}},start:function(s,c,p,h,g){var x=i(h)?h:{},A=r(g)?g:r(h)?h:void 0;if(v.para.heatmap&&v.para.heatmap.collect_element&&!v.para.heatmap.collect_element(c))return!1;var P=this.getEleDetail(c);if(v.para.heatmap&&v.para.heatmap.custom_property){var H=v.para.heatmap.custom_property(c);i(H)&&(P=U(P,H))}P=U(P,this.getPointerEventProp(s,c),x),p==="a"&&v.para.heatmap&&v.para.heatmap.isTrackLink===!0?v.trackLink({event:s,target:c},"$WebClick",P):v.track("$WebClick",P,A)},hasElement:function(s,c){var p;if(s.event){var h=s.event;p=h.path||h._getPath&&h._getPath()}else s.element&&(p=w(s.element).getParents());if(p&&T(p)&&p.length>0){for(var g=0;g<p.length;g++)if(typeof p[g]=="object"&&p[g].nodeType===1&&c(p[g]))return p[g]}},isStyleTag:function(s,c){var p=["a","div","input","button","textarea"],h=["mark","/mark","strong","b","em","i","u","abbr","ins","del","s","sup"];return!(he(p,s)>-1)&&(!c||v.para.heatmap&&v.para.heatmap.collect_tags&&v.para.heatmap.collect_tags.div?!!(i(v.para.heatmap)&&i(v.para.heatmap.collect_tags)&&i(v.para.heatmap.collect_tags.div)&&T(v.para.heatmap.collect_tags.div.ignore_tags)&&he(v.para.heatmap.collect_tags.div.ignore_tags,s)>-1):he(h,s)>-1)},isCollectableDiv:function(s,c){try{if(s.children.length===0)return!0;for(var p=0;p<s.children.length;p++)if(s.children[p].nodeType===1){var h=s.children[p].tagName.toLowerCase(),g=v.para&&v.para.heatmap&&v.para.heatmap.collect_tags&&v.para.heatmap.collect_tags.div&&v.para.heatmap.collect_tags.div.max_level;if(!(h==="div"&&g>1||this.isStyleTag(h,c))||!this.isCollectableDiv(s.children[p],c))return!1}return!0}catch(x){v.log(x)}return!1},getCollectableParent:function(s,c){try{var p=s.parentNode,h=p?p.tagName.toLowerCase():"";if(h==="body")return!1;var g=v.para&&v.para.heatmap&&v.para.heatmap.collect_tags&&v.para.heatmap.collect_tags.div&&v.para.heatmap.collect_tags.div.max_level;if(h&&h==="div"&&(g>1||this.isCollectableDiv(p,c)))return p;if(p&&this.isStyleTag(h,c))return this.getCollectableParent(p,c)}catch(x){v.log(x)}return!1},listenUrlChange:function(s){s(),v.ee.spa.on("switch",function(){s()})},initScrollmap:function(){if(!i(v.para.heatmap)||v.para.heatmap.scroll_notice_map!=="default")return!1;var s=!0;v.para.scrollmap&&r(v.para.scrollmap.collect_url)&&this.listenUrlChange(function(){s=!!v.para.scrollmap.collect_url()});var c=function(h){var g={};return g.timeout=h.timeout||1e3,g.func=h.func,g.hasInit=!1,g.inter=null,g.main=function(x,A){this.func(x,A),this.inter=null},g.go=function(x){var A={};this.inter||(A.$viewport_position=document.documentElement&&document.documentElement.scrollTop||window.pageYOffset||document.body.scrollTop||0,A.$viewport_position=Math.round(A.$viewport_position)||0,x?g.main(A,!0):this.inter=setTimeout(function(){g.main(A)},this.timeout))},g},p=c({timeout:1e3,func:function(h,g){var x=document.documentElement&&document.documentElement.scrollTop||window.pageYOffset||document.body.scrollTop||0,A=new Date,P=A-this.current_time;(P>v.para.heatmap.scroll_delay_time&&x-h.$viewport_position!==0||g)&&(h.$url=Bt(),h.$title=document.title,h.$url_path=ce(),h.event_duration=Math.min(v.para.heatmap.scroll_event_duration,parseInt(P)/1e3),h.event_duration=h.event_duration<0?0:h.event_duration,v.track("$WebStay",h)),this.current_time=A}});p.current_time=new Date,Nn(window,"scroll",function(){return!!s&&void p.go()}),Nn(window,"unload",function(){return!!s&&void p.go("notime")})},initHeatmap:function(){var s=this,c=!0;return!(!i(v.para.heatmap)||v.para.heatmap.clickmap!=="default")&&(r(v.para.heatmap.collect_url)&&this.listenUrlChange(function(){c=!!v.para.heatmap.collect_url()}),v.para.heatmap.collect_elements==="all"?v.para.heatmap.collect_elements="all":v.para.heatmap.collect_elements="interact",void(v.para.heatmap.collect_elements==="all"?Nn(document,"click",function(p){if(!c)return!1;var h=p||window.event;if(!h)return!1;var g=h.target||h.srcElement;if(typeof g!="object"||typeof g.tagName!="string")return!1;var x=g.tagName.toLowerCase();if(x==="body"||x==="html"||!g||!g.parentNode||!g.parentNode.children)return!1;var A=g.parentNode.tagName.toLowerCase();A==="a"||A==="button"?s.start(h,g.parentNode,A):s.start(h,g,x)}):Nn(document,"click",function(p){if(!c)return!1;var h=p||window.event;if(!h)return!1;var g=h.target||h.srcElement,x=v.heatmap.getTargetElement(g,p);x?s.start(h,x,x.tagName.toLowerCase()):O(g)&&g.tagName.toLowerCase()==="div"&&i(v.para.heatmap)&&v.para.heatmap.get_vtrack_config&&v.unlimitedDiv.events.length>0&&v.unlimitedDiv.isTargetEle(g)&&s.start(h,g,g.tagName.toLowerCase(),{$lib_method:"vtrack"})})))}},Sc={setOnlineState:function(s){if(s===!0&&i(v.para.jsapp)&&typeof v.para.jsapp.getData=="function"){v.para.jsapp.isOnline=!0;var c=v.para.jsapp.getData();T(c)&&c.length>0&&F(c,function(p){qe(p)&&v.sendState.realtimeSend(JSON.parse(p))})}else v.para.jsapp.isOnline=!1},autoTrackIsUsed:!1,isReady:function(s){s()},getUtm:function(){return $t.campaignParams()},getStayTime:function(){return(new Date-v._t)/1e3},setProfileLocal:function(s){if(!wt.isSupport())return v.setProfile(s),!1;if(!i(s)||Vt(s))return!1;var c=v.store.readObjectVal("sensorsdata_2015_jssdk_profile"),p=!1;if(i(c)&&!Vt(c)){for(var h in s)!(h in c&&c[h]!==s[h])&&h in c||(c[h]=s[h],p=!0);p&&(v.store.saveObjectVal("sensorsdata_2015_jssdk_profile",c),v.setProfile(s))}else v.store.saveObjectVal("sensorsdata_2015_jssdk_profile",s),v.setProfile(s)},setInitReferrer:function(){var s=Fr();v.setOnceProfile({_init_referrer:s,_init_referrer_host:$t.pageProp.referrer_host})},setSessionReferrer:function(){var s=Fr();v.store.setSessionPropsOnce({_session_referrer:s,_session_referrer_host:$t.pageProp.referrer_host})},setDefaultAttr:function(){$t.register({_current_url:location.href,_referrer:Fr(),_referring_host:$t.pageProp.referrer_host})},trackHeatMap:function(s,c,p){if(typeof s=="object"&&s.tagName){var h=s.tagName.toLowerCase(),g=s.parentNode.tagName.toLowerCase(),x=v.para.heatmap&&v.para.heatmap.track_attr?v.para.heatmap.track_attr:["data-sensors-click"];h==="button"||h==="a"||g==="a"||g==="button"||h==="input"||h==="textarea"||Br(s,x)||fr.start(null,s,h,c,p)}},trackAllHeatMap:function(s,c,p){if(typeof s=="object"&&s.tagName){var h=s.tagName.toLowerCase();fr.start(null,s,h,c,p)}},autoTrackSinglePage:function(s,c){function p(){var P=$t.campaignParams(),H={};return F(P,function(J,Q,st){(" "+v.source_channel_standard+" ").indexOf(" "+Q+" ")!==-1?H["$"+Q]=st[Q]:H[Q]=st[Q]}),H}function h(P,H){v.track("$pageview",U({$referrer:g,$url:Bt(),$url_path:ce(),$title:document.title},P,p()),H),g=Bt()}var g;g=this.autoTrackIsUsed?$t.pageProp.url:$t.pageProp.referrer,s=i(s)?s:{};var x=!s.not_set_profile;if(s.not_set_profile&&delete s.not_set_profile,h(s,c),this.autoTrackSinglePage=h,v.is_first_visitor&&x){var A={};v.para.preset_properties.search_keyword_baidu&&In(document.referrer)&&pe()&&(A.$search_keyword_id=Bn.id(),A.$search_keyword_id_type=Bn.type(),A.$search_keyword_id_hash=yr(A.$search_keyword_id)),v.setOnceProfile(U({$first_visit_time:new Date,$first_referrer:Fr(),$first_browser_language:y(navigator.language)?navigator.language.toLowerCase():"\u53D6\u503C\u5F02\u5E38",$first_browser_charset:typeof document.charset=="string"?document.charset.toUpperCase():"\u53D6\u503C\u5F02\u5E38",$first_traffic_source_type:Ja(),$first_search_keyword:Ai()},p(),A)),v.is_first_visitor=!1}},autoTrackWithoutProfile:function(s,c){s=i(s)?s:{},this.autoTrack(U(s,{not_set_profile:!0}),c)},autoTrack:function(s,c){s=i(s)?s:{};var p=$t.campaignParams(),h={};F(p,function(P,H,J){(" "+v.source_channel_standard+" ").indexOf(" "+H+" ")!==-1?h["$"+H]=J[H]:h[H]=J[H]});var g=!s.not_set_profile;s.not_set_profile&&delete s.not_set_profile;var x=location.href;if(v.para.is_single_page&&L(function(){var P=Fr(x,!0);v.track("$pageview",U({$referrer:P,$url:Bt(),$url_path:ce(),$title:document.title},h,s),c),x=Bt()}),v.track("$pageview",U({$referrer:Fr(null,!0),$url:Bt(),$url_path:ce(),$title:document.title},h,s),c),v.is_first_visitor&&g){var A={};v.para.preset_properties.search_keyword_baidu&&In(document.referrer)&&pe()&&(A.$search_keyword_id=Bn.id(),A.$search_keyword_id_type=Bn.type(),A.$search_keyword_id_hash=yr(A.$search_keyword_id)),v.setOnceProfile(U({$first_visit_time:new Date,$first_referrer:Fr(null,!0),$first_browser_language:y(navigator.language)?navigator.language.toLowerCase():"\u53D6\u503C\u5F02\u5E38",$first_browser_charset:typeof document.charset=="string"?document.charset.toUpperCase():"\u53D6\u503C\u5F02\u5E38",$first_traffic_source_type:Ja(),$first_search_keyword:Ai()},h,A)),v.is_first_visitor=!1}this.autoTrackIsUsed=!0},getAnonymousID:function(){return Vt(v.store._state)?"\u8BF7\u5148\u521D\u59CB\u5316SDK":v.store._state._first_id||v.store._state.first_id||v.store._state._distinct_id||v.store._state.distinct_id},setPlugin:function(s){return!!i(s)&&void F(s,function(c,p){r(c)&&(i(window.SensorsDataWebJSSDKPlugin)&&window.SensorsDataWebJSSDKPlugin[p]?c(window.SensorsDataWebJSSDKPlugin[p]):v.log(p+"\u6CA1\u6709\u83B7\u53D6\u5230,\u8BF7\u67E5\u9605\u6587\u6863\uFF0C\u8C03\u6574"+p+"\u7684\u5F15\u5165\u987A\u5E8F\uFF01"))})},useModulePlugin:function(){v.use.apply(v,arguments)},useAppPlugin:function(){this.setPlugin.apply(this,arguments)}},Ac=new l,cT=new l,ze={};ze.spa=Ac,ze.sdk=cT,ze.initSystemEvent=function(){Yx(function(s){Ac.emit("switch",s)})},ze.EVENT_LIST={spaSwitch:["spa","switch"],sdkAfterInitPara:["sdk","afterInitPara"],sdkBeforeInit:["sdk","beforeInit"],sdkAfterInit:["sdk","afterInit"]};var fT={state:0,historyState:[],stateType:{1:"1-init\u672A\u5F00\u59CB",2:"2-init\u5F00\u59CB",3:"3-store\u5B8C\u6210"},getState:function(){return this.historyState.join(`
`)},setState:function(s){String(s)in this.stateType&&(this.state=s),this.historyState.push(this.stateType[s])}},lT={__proto__:null,addReferrerHost:Zx,addPropsHook:Qx,initPara:tb,setInitVar:eb,enableLocalLog:rb,disableLocalLog:nb,quick:ib,use:yp,track:ob,bind:ab,unbind:sb,trackLink:ub,trackLinks:cb,setItem:fb,deleteItem:lb,setProfile:db,setOnceProfile:pb,appendProfile:hb,incrementProfile:_b,deleteProfile:vb,unsetProfile:gb,identify:mb,trackSignup:yb,registerPage:Eb,clearAllRegister:xb,clearPageRegister:bb,register:Tb,registerOnce:Sb,registerSession:Ab,registerSessionOnce:Ob,login:bp,loginWithKey:wb,logout:Cb,getPresetProperties:Pb,iOSWebClickPolyfill:Rb,readyState:fT,para_default:sT,log:Ft,debug:xc,IDENTITY_KEY:ts,on:gp},$p=function(){this._events=[],this.pendingEvents=[]};$p.prototype={emit:function(s){var c=[].slice.call(arguments,1);F(this._events,function(p){p.type===s&&p.callback.apply(p.context,c)}),this.pendingEvents.push({type:s,data:c}),this.pendingEvents.length>20&&this.pendingEvents.shift()},on:function(s,c,p,h){typeof c=="function"&&(this._events.push({type:s,callback:c,context:p||this}),h=h!==!1,this.pendingEvents.length>0&&h&&F(this.pendingEvents,function(g){g.type===s&&c.apply(p,g.data)}))},tempAdd:function(s,c){if(c&&s)return this.emit(s,c)},isReady:function(){}};var dT={__proto__:null,parseSuperProperties:za,searchConfigData:Xa,strip_empty_properties:Ro,getCurrentDomain:Do,getEleInfo:Io,isBaiduTraffic:pe,getReferrerEqid:cr,getReferrerEqidType:No,getBaiduKeyword:Bn,isReferralTraffic:In,getReferrer:Fr,getKeywordFromReferrer:Ai,getWxAdIdFromUrl:_p,getReferSearchEngine:hp,getSourceFromReferrer:Ja,info:$t,ajax:gc,getElementContent:Ya,cookie:Me,addEvent:Nn,EventEmitterSa:$p,encrypt:on,decryptIfNeeded:Dn},Oc={stage:null,init:function(s){this.stage=s}},Mn={};Mn.buildData=function(s){var c={identities:{},distinct_id:v.store.getDistinctId(),lib:{$lib:"js",$lib_method:"code",$lib_version:String(v.lib_version)},properties:{}};return i(s)&&i(s.identities)&&!Vt(s.identities)?U(c.identities,s.identities):U(c.identities,Mt._state.identities),i(s)&&i(s.properties)&&!Vt(s.properties)&&(s.properties.$lib_detail&&(c.lib.$lib_detail=s.properties.$lib_detail,delete s.properties.$lib_detail),s.properties.$lib_method&&(c.lib.$lib_method=s.properties.$lib_method,delete s.properties.$lib_method)),U(c,v.store.getUnionId(),s),Xx(c),i(s.properties)&&!Vt(s.properties)&&U(c.properties,s.properties),s.type&&s.type.slice(0,7)==="profile"||(c.properties=U({},$t.properties(),Mt.getProps(),Mt.getSessionProps(),$t.currentProps,c.properties),v.para.preset_properties.latest_referrer&&!y(c.properties.$latest_referrer)&&(c.properties.$latest_referrer="\u53D6\u503C\u5F02\u5E38"),v.para.preset_properties.latest_search_keyword&&!y(c.properties.$latest_search_keyword)&&(v.para.preset_properties.search_keyword_baidu&&y(c.properties.$search_keyword_id)&&we(c.properties.$search_keyword_id_hash)&&y(c.properties.$search_keyword_id_type)||(c.properties.$latest_search_keyword="\u53D6\u503C\u5F02\u5E38")),v.para.preset_properties.latest_traffic_source_type&&!y(c.properties.$latest_traffic_source_type)&&(c.properties.$latest_traffic_source_type="\u53D6\u503C\u5F02\u5E38"),v.para.preset_properties.latest_landing_page&&!y(c.properties.$latest_landing_page)&&(c.properties.$latest_landing_page="\u53D6\u503C\u5F02\u5E38"),v.para.preset_properties.latest_wx_ad_click_id==="not_collect"?(delete c.properties._latest_wx_ad_click_id,delete c.properties._latest_wx_ad_hash_key,delete c.properties._latest_wx_ad_callbacks):v.para.preset_properties.latest_wx_ad_click_id&&!y(c.properties._latest_wx_ad_click_id)&&(c.properties._latest_wx_ad_click_id="\u53D6\u503C\u5F02\u5E38",c.properties._latest_wx_ad_hash_key="\u53D6\u503C\u5F02\u5E38",c.properties._latest_wx_ad_callbacks="\u53D6\u503C\u5F02\u5E38"),y(c.properties._latest_wx_ad_click_id)&&(c.properties.$url=Bt())),c.properties.$time&&Y(c.properties.$time)?(c.time=1*c.properties.$time,delete c.properties.$time):c.time=1*new Date,v.vtrackBase.addCustomProps(c),za(c),Ci.checkIsAddSign(c),Ci.checkIsFirstTime(c),v.addReferrerHost(c),v.addPropsHook(c),Jx(c),c},Mn.sendData=function(s,c){var p=Xa(s.properties);v.para.debug_mode===!0?(v.log(s),v.saEvent.debugPath(JSON.stringify(s),c)):v.sendState.getSendCall(s,p,c)},Mn.encodeTrackData=function(s){var c=D(s),p="crc="+Cn(c);return"data="+encodeURIComponent(c)+"&ext="+encodeURIComponent(p)},Mn.getUtmData=function(){return Db()};var ns=function(s){this.callback=s.callback,this.img=document.createElement("img"),this.img.width=1,this.img.height=1,v.para.img_use_crossorigin&&(this.img.crossOrigin="anonymous"),this.data=s.data,this.server_url=Ib(s.server_url,s.data)};ns.prototype.start=function(){var s=this;v.para.ignore_oom&&(this.img.onload=function(){this.onload=null,this.onerror=null,this.onabort=null,s.isEnd()},this.img.onerror=function(){this.onload=null,this.onerror=null,this.onabort=null,s.isEnd()},this.img.onabort=function(){this.onload=null,this.onerror=null,this.onabort=null,s.isEnd()}),this.img.src=this.server_url},ns.prototype.lastClear=function(){var s=Le();s.ie!==void 0?this.img.src="about:blank":this.img.src=""};var kp=function(s){this.callback=s.callback,this.server_url=s.server_url,this.data=Tp(s.data)};kp.prototype.start=function(){var s=this;gc({url:this.server_url,type:"POST",data:this.data,credentials:!1,timeout:v.para.datasend_timeout,cors:!0,success:function(){s.isEnd()},error:function(){s.isEnd()}})};var Up=function(s){this.callback=s.callback,this.server_url=s.server_url,this.data=Tp(s.data)};Up.prototype.start=function(){var s=this;typeof navigator=="object"&&typeof navigator.sendBeacon=="function"&&navigator.sendBeacon(this.server_url,this.data),setTimeout(function(){s.isEnd()},40)};var jp={stage:null,init:function(s){this.stage=s},interceptor:{send:{entry:function(s,c){var p=c.sensors,h=s.callback;return p.para.app_js_bridge?p.para.app_js_bridge.is_mui?p.para.app_js_bridge.is_mui?window.plus&&window.plus.SDAnalytics&&window.plus.SDAnalytics.trackH5Event?(window.plus.SDAnalytics.trackH5Event(s),p._.isFunction(h)&&h(),s):p.para.app_js_bridge.is_send===!0?(p.sendState.prepareServerUrl(s),s):(p._.isFunction(h)&&h(),s):void 0:p.para.app_js_bridge.is_send===!0?(p.debug.apph5({data:s.data,step:"2",output:"all"}),p.sendState.prepareServerUrl(s),s):(p._.isFunction(h)&&h(),s):(p.debug.apph5({data:s.data,step:"1",output:"code"}),p.sendState.prepareServerUrl(s),s)}}}},Mo={};Mo.getSendCall=function(s,c,p){if(v.is_heatmap_render_mode)return!1;if(v.readyState.state<3)return v.log("\u521D\u59CB\u5316\u6CA1\u6709\u5B8C\u6210"),!1;s._track_id=Number(String(a()).slice(2,5)+String(a()).slice(2,4)+String(new Date().getTime()).slice(-4)),s._flush_time=new Date().getTime();var h=s;s=JSON.stringify(s);var g={data:h,config:c,callback:p};return v.events.tempAdd("send",h),!v.para.app_js_bridge&&v.para.batch_send&&wt.isSupport()&&localStorage.length<100?(v.log(h),v.batchSend.add(g.data),!1):(h.type==="item_set"||h.type==="item_delete"?this.prepareServerUrl(g):jp.stage.process("beforeSend",g),void v.log(h))},Mo.prepareServerUrl=function(s){if(typeof s.config=="object"&&s.config.server_url)this.sendCall(s,s.config.server_url,s.callback);else if(T(v.para.server_url)&&v.para.server_url.length)for(var c=0;c<v.para.server_url.length;c++)this.sendCall(s,v.para.server_url[c]);else typeof v.para.server_url=="string"&&v.para.server_url!==""?this.sendCall(s,v.para.server_url,s.callback):v.log("\u5F53\u524D server_url \u4E3A\u7A7A\u6216\u4E0D\u6B63\u786E\uFF0C\u53EA\u5728\u63A7\u5236\u53F0\u6253\u5370\u65E5\u5FD7\uFF0Cnetwork \u4E2D\u4E0D\u4F1A\u53D1\u6570\u636E\uFF0C\u8BF7\u914D\u7F6E\u6B63\u786E\u7684 server_url\uFF01")},Mo.sendCall=function(s,c,p){var h={server_url:c,data:JSON.stringify(s.data),callback:p,config:s.config};i(v.para.jsapp)&&!v.para.jsapp.isOnline&&typeof v.para.jsapp.setData=="function"?(delete h.callback,h=JSON.stringify(h),v.para.jsapp.setData(h)):this.realtimeSend(h)},Mo.realtimeSend=function(s){var c=Bb(s);c.start()};var Hp="sawebjssdk-",wc="tab-sawebjssdk-";Sp.prototype={batchInterval:function(){this.serverUrl===""&&this.getServerUrl(),this.hasTabStorage||(this.generateTabStorage(),this.hasTabStorage=!0);var s=this;s.timer=setTimeout(function(){s.updateExpireTime(),s.recycle(),s.send(),clearTimeout(s.timer),s.batchInterval()},v.para.batch_send.send_interval)},getServerUrl:function(){return y(v.para.server_url)&&v.para.server_url!==""||T(v.para.server_url)&&v.para.server_url.length?void(this.serverUrl=T(v.para.server_url)?v.para.server_url[0]:v.para.server_url):v.log("\u5F53\u524D server_url \u4E3A\u7A7A\u6216\u4E0D\u6B63\u786E\uFF0C\u53EA\u5728\u63A7\u5236\u53F0\u6253\u5370\u65E5\u5FD7\uFF0Cnetwork \u4E2D\u4E0D\u4F1A\u53D1\u6570\u636E\uFF0C\u8BF7\u914D\u7F6E\u6B63\u786E\u7684 server_url\uFF01")},send:function(){if(!(this.sendTimeStamp&&n()-this.sendTimeStamp<v.para.batch_send.datasend_timeout)){var s=wt.get(this.tabKey);if(s&&(this.sendTimeStamp=n(),s=u(s)||this.generateTabStorageVal(),s.data.length)){for(var c=[],p=0;p<s.data.length;p++)c.push(v.store.readObjectVal(s.data[p]));this.request(c,s.data)}}},updateExpireTime:function(){var s=wt.get(this.tabKey);s&&(s=u(s)||this.generateTabStorageVal(),s.expireTime=n()+2*v.para.batch_send.send_interval,s.serverUrl=this.serverUrl,wt.set(this.tabKey,JSON.stringify(s)))},request:function(s,c){var p=this;Z({url:this.serverUrl,type:"POST",data:"data_list="+encodeURIComponent(D(JSON.stringify(s))),credentials:!1,timeout:v.para.batch_send.datasend_timeout,cors:!0,success:function(){p.remove(c),p.sendTimeStamp=0},error:function(){p.sendTimeStamp=0}})},remove:function(s){var c=wt.get(this.tabKey);if(c){for(var p=(u(c)||this.generateTabStorageVal()).data,h=0;h<s.length;h++){var g=he(p,s[h]);g>-1&&p.splice(g,1),wt.remove(s[h])}wt.set(this.tabKey,JSON.stringify(this.generateTabStorageVal(p)))}},add:function(s){var c=Hp+String(a()),p=wt.get(this.tabKey);p===null?(this.tabKey=wc+String(a()),p=this.generateTabStorageVal()):p=u(p)||this.generateTabStorageVal(),p.data.push(c),p.expireTime=n()+2*v.para.batch_send.send_interval,wt.set(this.tabKey,JSON.stringify(p)),v.store.saveObjectVal(c,s),s.type!=="track_signup"&&s.event!=="$pageview"||this.sendImmediately()},generateTabStorage:function(){this.tabKey=wc+String(a()),wt.set(this.tabKey,JSON.stringify(this.generateTabStorageVal()))},generateTabStorageVal:function(s){return s=s||[],{data:s,expireTime:n()+2*v.para.batch_send.send_interval,serverUrl:this.serverUrl}},sendImmediately:function(){this.send()},recycle:function(){for(var s={},c=1e4,p="sajssdk-lock-get-",h=0;h<localStorage.length;h++){var g=localStorage.key(h),x=this;if(g.indexOf(wc)===0){for(var A=u(wt.get(g))||this.generateTabStorageVal(),P=0;P<A.data.length;P++)s[A.data[P]]=!0;if(n()>A.expireTime&&this.serverUrl===A.serverUrl){var H=new f(p);H.get(g,c,1e3,function(ot){if(ot){wt.get(x.tabKey)===null&&x.generateTabStorage();var nt=u(ot)||x.generateTabStorageVal();wt.set(x.tabKey,JSON.stringify(x.generateTabStorageVal((u(wt.get(x.tabKey))||this.generateTabStorageVal()).data.concat(nt.data))))}})}}else if(g.indexOf(p)===0){var J=u(wt.get(g))||{expireTime:0};n()-J.expireTime>c&&wt.remove(g)}}for(var Q=0;Q<localStorage.length;Q++){var st=localStorage.key(Q);st.indexOf(Hp)!==0||s[st]||wt.remove(st)}}};var pT=new Sp,hT={bridge_info:{touch_app_bridge:!1,verify_success:!1,platform:"",support_two_way_call:!1},is_verify_success:!1,initPara:function(){var s={is_send:v.para.use_app_track_is_send!==!1&&v.para.use_app_track!=="only",white_list:[],is_mui:v.para.use_app_track==="mui"};typeof v.para.app_js_bridge=="object"?v.para.app_js_bridge=U({},s,v.para.app_js_bridge):v.para.use_app_track!==!0&&v.para.app_js_bridge!==!0&&v.para.use_app_track!=="only"&&v.para.use_app_track!=="mui"||(v.para.app_js_bridge=U({},s)),v.para.app_js_bridge.is_send===!1&&v.log("\u8BBE\u7F6E\u4E86 is_send:false,\u5982\u679C\u6253\u901A\u5931\u8D25\uFF0C\u6570\u636E\u5C06\u88AB\u4E22\u5F03!")},app_js_bridge_v1:function(){function s(x){h=x,qe(h)&&(h=JSON.parse(h)),g&&(g(h),g=null,h=null)}function c(){typeof window.SensorsData_APP_JS_Bridge=="object"&&window.SensorsData_APP_JS_Bridge.sensorsdata_call_app&&(h=SensorsData_APP_JS_Bridge.sensorsdata_call_app(),qe(h)&&(h=JSON.parse(h)))}function p(){if(/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream){var x=document.createElement("iframe");x.setAttribute("src","sensorsanalytics://getAppInfo"),document.documentElement.appendChild(x),x.parentNode.removeChild(x),x=null}}var h=null,g=null;window.sensorsdata_app_js_bridge_call_js=function(x){s(x)},v.getAppStatus=function(x){return p(),c(),x?void(h===null?g=x:(x(h),h=null)):h}},hasVisualModeBridge:function(){var s=window.SensorsData_App_Visual_Bridge,c="sensorsdata_visualized_mode";return i(s)&&s[c]&&(s[c]===!0||s[c]())},validateAppUrl:Mb};Lo.prototype.call=function(s,c){var p=this,h=new Date().getTime().toString(16)+String(a()).replace(".","").slice(1,8);this.resultCbs[h]=p.resultCbs[h]||{result:null,callbacks:[]},this.timeoutCbs[h]=p.timeoutCbs[h]||{isTimeout:!1,callbacks:[]},s=s.data?s:{data:s},s.data.message_id=h;var g=U({callType:this.type},s);return c&&(this.timerId=setTimeout(function(){p.timeoutCbs[h].isTimeout=!0;for(var x in p.timeoutCbs[h].callbacks)p.timeoutCbs[h].callbacks[x].call(null),p.timeoutCbs[h].callbacks.splice(x,1)},c)),Ap(g),{onResult:function(x){return p.resultCbs[h].result?(x(p.resultCbs[h].result),this):(!p.timeoutCbs[h].isTimeout&&p.resultCbs[h].callbacks.push(x),this)},onTimeout:function(x){return p.timeoutCbs[h].isTimeout?(x(),this):(!p.resultCbs[h].result&&p.timeoutCbs[h].callbacks.push(x),this)}}},Lo.prototype.onAppNotify=function(s){this.appCallJsCallback=s},Lo.prototype.notifyApp=function(s,c){var p=U({callType:this.type},s);return c&&(p.message_id=c),Ap(p)},Op.prototype={double:function(){},getAppData:function(){},hasAppBridge:function(){return v.bridge.bridge_info.support_two_way_call},init:function(){},jsCallApp:function(){},requestToApp:function(s){this.bridge.call(s,s.timeout.time).onResult(function(c){r(s.callback)&&s.callback(c)}).onTimeout(function(){r(s.timeout.callback)&&s.timeout.callback()})}};var kt={};kt.initUrl=function(){var s,c={server_url:{project:"",host:""},page_url:{host:"",pathname:""}};if(!y(v.para.server_url))return v.log("----vcollect---server_url\u5FC5\u987B\u4E3A\u5B57\u7B26\u4E32"),!1;try{s=C(v.para.server_url),c.server_url.project=s.searchParams.get("project")||"default",c.server_url.host=s.host}catch(h){return v.log("----vcollect---server_url\u89E3\u6790\u5F02\u5E38",h),!1}var p;try{p=C(location.href),c.page_url.host=p.hostname,c.page_url.pathname=p.pathname}catch(h){return v.log("----vcollect---\u9875\u9762\u5730\u5740\u89E3\u6790\u5F02\u5E38",h),!1}return c},kt.isDiv=function(s){if(s.element_path){var c=s.element_path.split(">"),p=b(c.pop());if(p.slice(0,3)!=="div")return!1}return!0},kt.configIsMatchNew=function(s,c){if(y(s.$element_selector)&&y(c.element_selector)){if(c.element_field==="element_selector"&&c.function==="equal")return s.$element_selector===c.element_selector;if(c.element_field==="element_selector"&&c.function==="contain")return s.$element_selector.indexOf(c.element_selector)>-1}if(y(s.$element_path)&&y(c.element_path)){if(c.element_field==="element_path"&&c.function==="equal")return s.$element_path===c.element_path;if(c.element_field==="element_path"&&c.function==="contain")return s.$element_path.indexOf(c.element_path)>-1}return!1},kt.configIsMatch=function(s,c){return(!c.limit_element_content||c.element_content===s.$element_content)&&(!c.limit_element_position||c.element_position===String(s.$element_position))&&(c.element_field&&c.function?kt.configIsMatchNew(s,c):kt.configIsMatchOldVersion(s,c))},kt.configIsMatchOldVersion=function(s,c){if(!c.element_path)return!1;if(s.$element_position!==void 0){if(c.element_path!==s.$element_path)return!1}else if(v.vtrackBase.isDiv({element_path:c.element_path})){if(s.$element_path.indexOf(c.element_path)<0)return!1}else if(c.element_path!==s.$element_path)return!1;return!0},kt.filterConfig=function(s,c,p){var h=[];if(!p){var g=kt.initUrl();if(!g)return[];p=g.page_url}return s.event==="$WebClick"&&F(c,function(x){i(x)&&(x.event_type==="webclick"||x.event_type==="appclick")&&i(x.event)&&x.event.url_host===p.host&&x.event.url_path===p.pathname&&kt.configIsMatch(s.properties,x.event)&&h.push(x)}),h},kt.getPropElInLi=function(s,c){if(!(s&&O(s)&&y(c))||s.tagName.toLowerCase()!=="li")return null;var p,h=v.heatmap.getDomSelector(s);if(h){p=h+c;var g=X(p);return g||null}return v.log("----custom---\u83B7\u53D6\u540C\u7EA7\u5C5E\u6027\u5143\u7D20\u5931\u8D25\uFF0Cselector\u4FE1\u606F\u5F02\u5E38",h,c),null},kt.getProp=function(s,c){if(!i(s))return!1;if(!(y(s.name)&&s.name.length>0))return v.log("----vcustom----\u5C5E\u6027\u540D\u4E0D\u5408\u6CD5,\u5C5E\u6027\u629B\u5F03",s.name),!1;var p,h,g={};if(s.method==="content"){var x;if(y(s.element_selector)&&s.element_selector.length>0)x=X(s.element_selector);else{if(!c||!y(s.list_selector))return v.log("----vcustom----\u5C5E\u6027\u914D\u7F6E\u5F02\u5E38\uFF0C\u5C5E\u6027\u629B\u5F03",s.name),!1;var A=X(c.properties.$element_selector);if(!A)return v.log("----vcustom----\u70B9\u51FB\u5143\u7D20\u83B7\u53D6\u5F02\u5E38\uFF0C\u5C5E\u6027\u629B\u5F03",s.name),!1;var P=v.heatmap.getClosestLi(A);x=kt.getPropElInLi(P,s.list_selector)}if(!x||!O(x))return v.log("----vcustom----\u5C5E\u6027\u5143\u7D20\u83B7\u53D6\u5931\u8D25\uFF0C\u5C5E\u6027\u629B\u5F03",s.name),!1;if(x.tagName.toLowerCase()==="input")p=x.value||"";else if(x.tagName.toLowerCase()==="select"){var H=x.selectedIndex;we(H)&&O(x[H])&&(p=Ya(x[H],"select"))}else p=Ya(x,x.tagName.toLowerCase());if(s.regular){try{h=new RegExp(s.regular).exec(p)}catch(J){return v.log("----vcustom----\u6B63\u5219\u5904\u7406\u5931\u8D25\uFF0C\u5C5E\u6027\u629B\u5F03",s.name),!1}if(h===null)return v.log("----vcustom----\u5C5E\u6027\u89C4\u5219\u5904\u7406\uFF0C\u672A\u5339\u914D\u5230\u7ED3\u679C,\u5C5E\u6027\u629B\u5F03",s.name),!1;if(!T(h)||!y(h[0]))return v.log("----vcustom----\u6B63\u5219\u5904\u7406\u5F02\u5E38\uFF0C\u5C5E\u6027\u629B\u5F03",s.name,h),!1;p=h[0]}if(s.type==="STRING")g[s.name]=p;else if(s.type==="NUMBER"){if(p.length<1)return v.log("----vcustom----\u672A\u83B7\u53D6\u5230\u6570\u5B57\u5185\u5BB9\uFF0C\u5C5E\u6027\u629B\u5F03",s.name,p),!1;if(isNaN(Number(p)))return v.log("----vcustom----\u6570\u5B57\u7C7B\u578B\u5C5E\u6027\u8F6C\u6362\u5931\u8D25\uFF0C\u5C5E\u6027\u629B\u5F03",s.name,p),!1;g[s.name]=Number(p)}return g}return v.log("----vcustom----\u5C5E\u6027\u4E0D\u652F\u6301\u6B64\u83B7\u53D6\u65B9\u5F0F",s.name,s.method),!1},kt.getAssignConfigs=function(s,c){var p=kt.initUrl();if(!p||!p.page_url)return[];if(!i(c))return[];var h=[];return c.events=c.events||c.eventList,T(c.events)&&c.events.length>0?(F(c.events,function(g){i(g)&&i(g.event)&&g.event.url_host===p.page_url.host&&g.event.url_path===p.page_url.pathname&&s(g)&&h.push(g)}),h):[]},kt.addCustomProps=function(s){if(v.bridge.bridge_info.verify_success==="success"){var c=v.vapph5collect.customProp.geth5Props(JSON.parse(JSON.stringify(s)));i(c)&&!Vt(c)&&(s.properties=U(s.properties,c))}var p=v.vtrackcollect.customProp.getVtrackProps(JSON.parse(JSON.stringify(s)));return i(p)&&!Vt(p)&&(s.properties=U(s.properties,p)),s},kt.init=function(){v.vtrackcollect.init(),v.bridge.bridge_info.verify_success==="success"&&v.vapph5collect.init()};var Gp={events:[],init:function(s){this.filterWebClickEvents(s)},filterWebClickEvents:function(s){this.events=v.vtrackcollect.getAssignConfigs(function(c){return!(!i(c)||c.event.unlimited_div!==!0||c.event_type!=="webclick")},s)},isTargetEle:function(s){var c=v.heatmap.getEleDetail(s);if(!i(c)||!y(c.$element_path))return!1;for(var p=0;p<this.events.length;p++)if(i(this.events[p])&&i(this.events[p].event)&&v.vtrackcollect.configIsMatch(c,this.events[p].event))return!0;return!1}},Vp={events:[],configSwitch:!1,collectAble:function(){return this.configSwitch&&i(v.para.heatmap)&&v.para.heatmap.get_vtrack_config},updateEvents:function(s){this.events=v.vtrackcollect.getAssignConfigs(function(c){return!!(i(c)&&T(c.properties)&&c.properties.length>0)},s),this.events.length?this.configSwitch=!0:this.configSwitch=!1},getVtrackProps:function(s){var c={};return this.collectAble()?(s.event==="$WebClick"&&(c=this.clickCustomPropMaker(s,this.events)),c):{}},clickCustomPropMaker:function(s,c,p){var h=this;p=p||this.filterConfig(s,c,v.vtrackcollect.url_info.page_url);var g={};return p.length?(F(p,function(x){T(x.properties)&&x.properties.length>0&&F(x.properties,function(A){var P=h.getProp(A,s);i(P)&&U(g,P)})}),g):{}},getProp:kt.getProp,getPropElInLi:kt.getPropElInLi,filterConfig:kt.filterConfig},_T={unlimitedDiv:Gp,config:{},storageEnable:!0,storage_name:"webjssdkvtrackcollect",para:{session_time:18e5,timeout:5e3,update_interval:18e5},url_info:{},timer:null,update_time:null,customProp:Vp,initUrl:function(){var s=kt.initUrl();if(s){var c;try{c=new S(v.para.server_url),c._values.Path="/config/visualized/Web.conf",s.api_url=c.getUrl()}catch(p){return v.log("----vtrackcollect---API\u5730\u5740\u89E3\u6790\u5F02\u5E38",p),!1}this.url_info=s}return s},init:function(){if(!i(v.para.heatmap)||!v.para.heatmap.get_vtrack_config)return!1;if(wt.isSupport()||(this.storageEnable=!1),!this.initUrl())return v.log("----vtrackcustom----\u521D\u59CB\u5316\u5931\u8D25\uFF0Curl\u4FE1\u606F\u89E3\u6790\u5931\u8D25"),!1;if(this.storageEnable){var s=v.store.readObjectVal(this.storage_name);if(i(s)&&i(s.data))if(this.serverUrlIsSame(s.serverUrl)){this.config=s.data,this.update_time=s.updateTime,this.updateConfig(s.data);var c=new Date().getTime(),p=c-this.update_time;if(we(p)&&p>0&&p<this.para.session_time){var h=this.para.update_interval-p;this.setNextFetch(h)}else this.getConfigFromServer()}else this.getConfigFromServer();else this.getConfigFromServer()}else this.getConfigFromServer();this.pageStateListenner()},serverUrlIsSame:function(s){return!!i(s)&&s.host===this.url_info.server_url.host&&s.project===this.url_info.server_url.project},getConfigFromServer:function(){var s=this,c=function(h,g){s.update_time=new Date().getTime();var x={};h===200?g&&i(g)&&g.os==="Web"&&(x=g,s.updateConfig(x)):h===205?s.updateConfig(x):h===304?x=s.config:(v.log("----vtrackcustom----\u6570\u636E\u5F02\u5E38",h),s.updateConfig(x)),s.updateStorage(x),s.setNextFetch()},p=function(h){s.update_time=new Date().getTime(),v.log("----vtrackcustom----\u914D\u7F6E\u62C9\u53D6\u5931\u8D25",h),s.setNextFetch()};this.sendRequest(c,p)},setNextFetch:function(s){var c=this;this.timer&&(clearTimeout(this.timer),this.timer=null),s=s||this.para.update_interval,this.timer=setTimeout(function(){c.getConfigFromServer()},s)},pageStateListenner:function(){var s=this;Mr({visible:function(){var c=new Date().getTime(),p=c-s.update_time;if(we(p)&&p>0&&p<s.para.update_interval){var h=s.para.update_interval-p;s.setNextFetch(h)}else s.getConfigFromServer()},hidden:function(){s.timer&&(clearTimeout(s.timer),s.timer=null)}})},updateConfig:function(s){return!!i(s)&&(this.config=s,this.customProp.updateEvents(s),void this.unlimitedDiv.init(s))},updateStorage:function(s){if(!this.storageEnable||!i(s))return!1;var c;if(this.url_info.server_url)c=this.url_info.server_url;else{var p=v.vtrackcollect.initUrl();if(!p)return!1;c=p.server_url}var h={updateTime:new Date().getTime(),data:s,serverUrl:c};v.store.saveObjectVal(this.storage_name,h)},sendRequest:function(s,c){var p=this,h={app_id:this.url_info.page_url.host};this.config.version&&(h.v=this.config.version),Oo({url:p.url_info.api_url,callbackName:"saJSSDKVtrackCollectConfig",data:h,timeout:p.para.timeout,success:function(g,x){s(g,x)},error:function(g){c(g)}})},getAssignConfigs:kt.getAssignConfigs,configIsMatch:kt.configIsMatch},vT={events:[],getAssignConfigs:kt.getAssignConfigs,filterConfig:kt.filterConfig,getProp:kt.getProp,initUrl:kt.initUrl,updateEvents:function(s){T(s)&&(this.events=s)},init:function(){this.initAppGetPropsBridge()},geth5Props:function(s){var c={},p=[],h=this;if(!this.events.length)return{};if(s.event==="$WebClick"){var g=this.filterConfig(s,this.events);if(!g.length)return{};F(g,function(x){i(x)&&(T(x.properties)&&x.properties.length>0&&F(x.properties,function(A){if(i(A))if(A.h5===!1)T(c.sensorsdata_app_visual_properties)||(c.sensorsdata_app_visual_properties=[]),c.sensorsdata_app_visual_properties.push(A);else{var P=h.getProp(A,s);i(P)&&(c=U(c,P))}}),y(x.event_name)&&p.push(x.event_name))}),v.bridge.hasVisualModeBridge()&&(c.sensorsdata_web_visual_eventName=p)}return c.sensorsdata_app_visual_properties&&(c.sensorsdata_app_visual_properties=D(JSON.stringify(c.sensorsdata_app_visual_properties))),c},initAppGetPropsBridge:function(){var s=this,c=new v.SDKJSBridge("getJSVisualProperties");return c.onAppNotify(function(p){var h={};try{p=JSON.parse(k(p))}catch(P){v.log("getJSVisualProperties data parse error!")}if(i(p)){var g=p.sensorsdata_js_visual_properties,x=s.initUrl();x&&(x=x.page_url,T(g)&&g.length>0&&F(g,function(P){if(i(P)&&P.url_host===x.host&&P.url_path===x.pathname&&P.h5){var H=s.getProp(P);i(H)&&(h=U(h,H))}}))}var A=v.bridge.bridge_info.platform;return A==="android"&&c.notifyApp({data:h},p.message_id),h}),c}},gT={events:[],customProp:vT,getAssignConfigs:kt.getAssignConfigs,initUrl:kt.initUrl,init:function(){if(this.initUrl()){var s=this.getConfigFromApp();s&&this.updateConfigs(s),this.customProp.init(),this.initAppUpdateConfigBridge()}},initAppUpdateConfigBridge:function(){var s=this;return new v.SDKJSBridge("updateH5VisualConfig").onAppNotify(function(c){if(c){try{c=JSON.parse(k(c))}catch(p){return void v.log("updateH5VisualConfig result parse error\uFF01")}s.updateConfigs(c)}})},getConfigFromApp:function(){var s=new v.SDKJSBridge("sensorsdata_get_app_visual_config").notifyApp();if(s)try{s=JSON.parse(k(s))}catch(c){s=null,v.log("getAppVisualConfig result parse error\uFF01")}return s},updateConfigs:function(s){this.events=this.filterConfigs(s),this.customProp.updateEvents(this.events)},filterConfigs:function(s){return this.getAssignConfigs(function(c){return!(!i(c)||c.h5===!1)},s)}},an={isSeachHasKeyword:function(){return ft(location.href,"sa-request-id")!==""&&(typeof sessionStorage.getItem("sensors-visual-mode")=="string"&&sessionStorage.removeItem("sensors-visual-mode"),!0)},hasKeywordHandle:function(){var s=location.href,c=ft(s,"sa-request-id")||null,p=ft(s,"sa-request-type")||null,h=ft(s,"sa-request-url")||null;if(fr.setNotice(h),$r.isSupport())if(h!==null&&sessionStorage.setItem("sensors_heatmap_url",h),sessionStorage.setItem("sensors_heatmap_id",c),p!==null)p==="1"||p==="2"||p==="3"?sessionStorage.setItem("sensors_heatmap_type",p):p=null;else{var g=sessionStorage.getItem("sensors_heatmap_type");p=g!==null?g:null}this.isReady(c,p)},isReady:function(s,c,p){v.para.heatmap_url?Er({success:function(){setTimeout(function(){typeof sa_jssdk_heatmap_render<"u"&&(sa_jssdk_heatmap_render(v,s,c,p),typeof console=="object"&&typeof console.log=="function"&&(v.heatmap_version&&v.heatmap_version===v.lib_version||console.log("heatmap.js\u4E0Esensorsdata.js\u7248\u672C\u53F7\u4E0D\u4E00\u81F4\uFF0C\u53EF\u80FD\u5B58\u5728\u98CE\u9669!")))},0)},error:function(){},type:"js",url:v.para.heatmap_url}):v.log("\u6CA1\u6709\u6307\u5B9Aheatmap_url\u7684\u8DEF\u5F84")},isStorageHasKeyword:function(){return $r.isSupport()&&typeof sessionStorage.getItem("sensors_heatmap_id")=="string"},storageHasKeywordHandle:function(){fr.setNotice(),an.isReady(sessionStorage.getItem("sensors_heatmap_id"),sessionStorage.getItem("sensors_heatmap_type"),location.href)},isWindowNameHasKeyword:function(){try{var s=JSON.parse(window.name),c=y(s["sa-request-page-url"])?_(s["sa-request-page-url"]):null;return s["sa-request-id"]&&y(s["sa-request-id"])&&c===location.href}catch(p){return!1}},windowNameHasKeywordHandle:function(){function s(x){var A=c[x];return y(A)?_(A):null}var c=JSON.parse(window.name),p=s("sa-request-id"),h=s("sa-request-type"),g=s("sa-request-url");fr.setNotice(g),$r.isSupport()&&(g!==null&&sessionStorage.setItem("sensors_heatmap_url",g),sessionStorage.setItem("sensors_heatmap_id",p),h!==null?h==="1"||h==="2"||h==="3"?sessionStorage.setItem("sensors_heatmap_type",h):h=null:h=sessionStorage.getItem("sensors_heatmap_type")!==null?sessionStorage.getItem("sensors_heatmap_type"):null),an.isReady(p,h)}},lr={isStorageHasKeyword:function(){return $r.isSupport()&&typeof sessionStorage.getItem("sensors-visual-mode")=="string"},isSearchHasKeyword:function(){return(wp("sa-visual-mode")===!0||wp("sa-visual-mode")==="true")&&(typeof sessionStorage.getItem("sensors_heatmap_id")=="string"&&sessionStorage.removeItem("sensors_heatmap_id"),!0)},loadVtrack:function(){Er({success:function(){},error:function(){},type:"js",url:v.para.vtrack_url?v.para.vtrack_url:location.protocol+"//static.sensorsdata.cn/sdk/"+v.lib_version+"/vtrack.min.js"})},messageListener:function(s){function c(h){return Rn(h)?Wa(h):(v.log("\u53EF\u89C6\u5316\u6A21\u5F0F\u68C0\u6D4B URL \u5931\u8D25"),!1)}if(s.data.source!=="sa-fe")return!1;if(s.data.type==="v-track-mode"){if(s.data.data&&s.data.data.isVtrack)if($r.isSupport()&&sessionStorage.setItem("sensors-visual-mode","true"),s.data.data.userURL&&location.href.match(/sa-visual-mode=true/)){var p=c(s.data.data.userURL);p&&(window.location.href=p)}else lr.loadVtrack();window.removeEventListener("message",lr.messageListener,!1)}},removeMessageHandle:function(){window.removeEventListener&&window.removeEventListener("message",lr.messageListener,!1)},verifyVtrackMode:function(){window.addEventListener&&window.addEventListener("message",lr.messageListener,!1),lr.postMessage()},postMessage:function(){window.parent&&window.parent.postMessage&&window.parent.postMessage({source:"sa-web-sdk",type:"v-is-vtrack",data:{sdkversion:"1.23.1"}},"*")},notifyUser:function(){var s=function(c){return c.data.source==="sa-fe"&&void(c.data.type==="v-track-mode"&&(c.data.data&&c.data.data.isVtrack&&alert("\u5F53\u524D\u7248\u672C\u4E0D\u652F\u6301\uFF0C\u8BF7\u5347\u7EA7\u90E8\u7F72\u795E\u7B56\u6570\u636E\u6CBB\u7406"),window.removeEventListener("message",s,!1)))};window.addEventListener&&window.addEventListener("message",s,!1),lr.postMessage()}},mT=["setItem","deleteItem","getAppStatus","track","quick","register","registerPage","registerOnce","trackSignup","setProfile","setOnceProfile","appendProfile","incrementProfile","deleteProfile","unsetProfile","identify","login","logout","trackLink","clearAllRegister","clearPageRegister"],yT={track:function(s,c,p){},quick:function(s,c,p,h){},register:function(s){},registerPage:function(s){},registerOnce:function(s){},clearAllRegister:function(s){},trackSignup:function(s,c,p,h){},setProfile:function(s,c){},setOnceProfile:function(s,c){},appendProfile:function(s,c){},incrementProfile:function(s,c){},deleteProfile:function(s){},unsetProfile:function(s,c){},identify:function(s,c){},login:function(s,c){},logout:function(s){},trackLink:function(s,c,p){},deleteItem:function(s,c){},setItem:function(s,c,p){},getAppStatus:function(s){},clearPageRegister:function(s){}};wi.prototype.process=function(s,c){if(!(s&&s in this.processDef))return void Ft("process ["+s+"] is not supported");var p=this.registeredInterceptors[s];if(p&&T(p)&&p.length>0)for(var h={current:0,total:p.length},g=new Gb(c,h,v),x=0;x<p.length;x++)try{if(h.current=x+1,c=p[x].call(null,c,g)||c,g.cancellationToken.getCanceled())break}catch(A){Ft("interceptor error:"+A)}return this.processDef[s]&&this.processDef[s]in this.processDef&&(c=this.process(this.processDef[s],c)),c},wi.prototype.registerStageImplementation=function(s){s&&s.init&&r(s.init)&&(s.init(this),s.interceptor&&this.registerInterceptor(s.interceptor))},wi.prototype.registerInterceptor=function(s){if(s)for(var c in s){var p=s[c];if(p&&i(p)&&r(p.entry)){we(p.priority)||(p.priority=Number.MAX_VALUE),this.registeredInterceptors[c]||(this.registeredInterceptors[c]=[]);var h=this.registeredInterceptors[c];p.entry.priority=p.priority,h.push(p.entry),h.sort(function(g,x){return g.priority-x.priority})}}};var ET={addCustomProps:null,formatData:null},Wp=new wi(ET),xT={beforeSend:"send",send:"afterSend",afterSend:null},Kp=new wi(xT),bT={getUtmData:null},qp=new wi(bT),zp={dataStage:function(s){s&&Wp.registerInterceptor(s)},businessStage:function(s){s&&qp.registerInterceptor(s)},sendStage:function(s){s&&Kp.registerInterceptor(s)}},TT={init:function(){},interceptor:{formatData:{priority:0,entry:function(s){return Zb(s),s}}}},Xp=window.sensors_data_pre_config,Jp=!!i(Xp)&&Xp.is_compliance_enabled;v.init=function(s){return ze.sdk.emit("beforeInit"),!(v.readyState&&v.readyState.state&&v.readyState.state>=2)&&(Jp&&yc(!0),ze.initSystemEvent(),v.setInitVar(),v.readyState.setState(2),v.initPara(s),ze.sdk.emit("afterInitPara"),v.detectMode(),v.iOSWebClickPolyfill(),void ze.sdk.emit("afterInit"))},Jp?yc(!1):(yc(!0),jb());var Yp=v;try{v.modules={},v.modules.Amp=function(){"use strict";var s={sd:null,init:function(c){if(this.sd||(this.sd=c,!this.sd||!this.sd._))return!1;var p=this.sd._.cookie.get("sensors_amp_id"),h=this.sd.store._state.distinct_id;if(p&&p.length>0){var g=p.slice(0,4)==="amp-";if(p!==h){if(!g)return!1;this.sd.store._state.first_id?(this.sd.identify(p,!0),this.sd.saEvent.send({original_id:p,distinct_id:h,type:"track_signup",event:"$SignUp",properties:{}},null),this.setAmpId(h)):this.sd.identify(p,!0)}}else this.setAmpId(h);this.addListener()},addListener:function(){var c=this;this.sd.events.on("changeDistinctId",function(p){c.setAmpId(p)}),this.sd.events.isReady()},setAmpId:function(c){this.sd._.cookie.set("sensors_amp_id",c)}};return window.SensorsDataWebJSSDKPlugin&&Object.prototype.toString.call(window.SensorsDataWebJSSDKPlugin)==="[object Object]"?window.SensorsDataWebJSSDKPlugin.Amp=window.SensorsDataWebJSSDKPlugin.Amp||s:window.SensorsDataWebJSSDKPlugin={Amp:s},s}(),v.modules.Channel=function(){"use strict";var s,c,p,h={event_list:[],latest_event_initial_time:null,max_save_time:2592e6,init:function(g){function x(){return s=c._,p=c.store,!!s.localStorage.isSupport()&&(c.para.max_string_length=1024,A.eventList.init(),A.addLatestChannelUrl(),void A.addIsChannelCallbackEvent())}if(c||!g)return!1;c=g;var A=this;c.on?c.on("sdkAfterInitPara",x):x()},addIsChannelCallbackEvent:function(){c.registerPage({$is_channel_callback_event:function(g){if(g.event&&g.event!=="$WebClick"&&g.event!=="$pageview"&&g.event!=="$WebStay"&&g.event!=="$SignUp")return!h.eventList.hasEvent(g.event)&&(h.eventList.add(g.event),!0)}})},addLatestChannelUrl:function(){var g=this.getUrlDomain(),x=this.cookie.getChannel();if(g==="url\u89E3\u6790\u5931\u8D25")this.registerAndSave({_sa_channel_landing_url:"",_sa_channel_landing_url_error:"url\u7684domain\u89E3\u6790\u5931\u8D25"});else if(s.isReferralTraffic(document.referrer)){var A=s.getQueryParam(location.href,"sat_cf");s.isString(A)&&A.length>0?(this.registerAndSave({_sa_channel_landing_url:location.href}),h.channelLinkHandler()):this.registerAndSave({_sa_channel_landing_url:""})}else x?c.registerPage(x):c.registerPage({_sa_channel_landing_url:"",_sa_channel_landing_url_error:"\u53D6\u503C\u5F02\u5E38"})},registerAndSave:function(g){c.registerPage(g),this.cookie.saveChannel(g)},cookie:{getChannel:function(){var g=s.decryptIfNeeded(s.cookie.get("sensorsdata2015jssdkchannel"));return g=s.safeJSONParse(g),!(!s.isObject(g)||!g.prop)&&g.prop},saveChannel:function(g){var x={prop:g},A=JSON.stringify(x);c.para.encrypt_cookie&&(A=s.encrypt(A)),s.cookie.set("sensorsdata2015jssdkchannel",A)}},channelLinkHandler:function(){this.eventList.reset(),c.track("$ChannelLinkReaching")},getUrlDomain:function(){var g=s.info.pageProp.url_domain;return g===""&&(g="url\u89E3\u6790\u5931\u8D25"),g},eventList:{init:function(){var g=this.get(),x=new Date().getTime();if(g&&s.isNumber(g.latest_event_initial_time)&&s.isArray(g.eventList)){var A=x-g.latest_event_initial_time;A>0&&A<h.max_save_time?(h.event_list=g.eventList,h.latest_event_initial_time=g.latest_event_initial_time):this.reset()}else this.reset()},get:function(){var g={};try{g=p.readObjectVal("sawebjssdkchannel")}catch(x){c.log(x)}return g},add:function(g){h.event_list.push(g),this.save()},save:function(){var g={latest_event_initial_time:h.latest_event_initial_time,eventList:h.event_list};p.saveObjectVal("sawebjssdkchannel",g)},reset:function(){h.event_list=[],h.latest_event_initial_time=new Date().getTime(),this.save()},hasEvent:function(g){var x=!1;return s.each(h.event_list,function(A){A===g&&(x=!0)}),x}}};return window.SensorsDataWebJSSDKPlugin&&Object.prototype.toString.call(window.SensorsDataWebJSSDKPlugin)==="[object Object]"?window.SensorsDataWebJSSDKPlugin.SensorsChannel=window.SensorsDataWebJSSDKPlugin.SensorsChannel||h:window.SensorsDataWebJSSDKPlugin={SensorsChannel:h},h}(),v.modules.Deeplink=function(){"use strict";function s(){return typeof c<"u"&&document[c]}var c,p=(/micromessenger\/([\d.]+)/i.test(navigator.userAgent||""),function(){var nt={};return typeof document.hidden<"u"?(nt.hidden="hidden",nt.visibilityChange="visibilitychange"):typeof document.msHidden<"u"?(nt.hidden="msHidden",nt.visibilityChange="msvisibilitychange"):typeof document.webkitHidden<"u"&&(nt.hidden="webkitHidden",nt.visibilityChange="webkitvisibilitychange"),nt});c=p().hidden;var h={android:/Android/i,iOS:/iPhone|iPad|iPod/i},g=function(){for(var nt in h)if(navigator.userAgent.match(h[nt]))return nt;return""},x=g(),A=function(){return h.hasOwnProperty(x)},P=function(nt){return nt!=null&&Object.prototype.toString.call(nt)=="[object Object]"},H=function(nt){var xt=/\/sd\/(\w+)\/(\w+)$/;return nt.match(xt)},J=function(nt){var xt=nt._.URL(nt.para.server_url);return{origin:xt.origin,project:xt.searchParams.get("project")||"default"}},Q=function(nt,xt,yt){nt.log("\u5C1D\u8BD5\u5524\u8D77 android app");var Ht=xt;nt.log("\u5524\u8D77APP\u7684\u5730\u5740\uFF1A"+Ht),window.location=Ht,nt.timer=setTimeout(function(){var Ce=s();return nt.log("hide:"+c+":"+document[c]),Ce?(nt.log("The page is hidden, stop navigating to download page"),!1):(nt.log("App\u53EF\u80FD\u672A\u5B89\u88C5\uFF0C\u8DF3\u8F6C\u5230\u4E0B\u8F7D\u5730\u5740"),void(window.location=yt))},nt.timeout)},st=function(nt,xt,yt){nt.log("\u5C1D\u8BD5\u5524\u8D77 iOS app:"+xt),window.location.href=xt,nt.timer=setTimeout(function(){var Ht=s();return Ht?(nt.log("The page is hidden, stop navigating to download page"),!1):(nt.log("App\u53EF\u80FD\u672A\u5B89\u88C5\uFF0C\u8DF3\u8F6C\u5230\u4E0B\u8F7D\u5730\u5740"),void(window.location.href=yt))},nt.timeout),nt.log("new timer:"+nt.timer)},ot={key:null,timer:null,sd:null,data:null,timeout:2500,apiURL:"{origin}/sdk/deeplink/param?key={key}&system_type=JS&project={project}",init:function(){if(this.sd)return this.log("deeplink\u5DF2\u7ECF\u521D\u59CB\u5316"),!1;if(P(sensorsDataAnalytic201505)&&(this.sd=sensorsDataAnalytic201505),this.log("init()"),this.sd===null)return this.log("\u795E\u7B56JS SDK\u672A\u6210\u529F\u5F15\u5165"),!1;var nt={};if(arguments.length>0&&(arguments.length===1&&P(arguments[0])?nt=arguments[0]:arguments.length>=2&&P(arguments[1])&&(nt=arguments[1])),!A())return this.log("\u4E0D\u652F\u6301\u5F53\u524D\u7CFB\u7EDF\uFF0C\u76EE\u524D\u53EA\u652F\u6301Android\u548CiOS"),!1;if(P(nt)&&this.sd._.isNumber(nt.timeout)&&nt.timeout>=2500&&(this.timeout=nt.timeout),!this.sd.para.server_url)return this.log("\u795E\u7B56JS SDK\u914D\u7F6E\u9879server_url\u672A\u6B63\u786E\u914D\u7F6E"),!1;var xt=J(this.sd);this.apiURL=this.apiURL.replace("{origin}",xt.origin).replace("{project}",xt.project);var yt=this.sd._.getQueryParam(window.location.href,"deeplink");if(!yt)return this.log("\u5F53\u524D\u9875\u9762\u7F3A\u5C11deeplink\u53C2\u6570"),!1;yt=window.decodeURIComponent(yt);var Ht=H(yt);return Ht?(this.key=Ht[2],this.apiURL=this.apiURL.replace("{key}",window.encodeURIComponent(Ht[2])),this.sd._.ajax({url:this.apiURL,type:"GET",cors:!0,credentials:!1,success:function(Ce){return Ce.errorMsg?(ot.log("API\u62A5\u9519\uFF1A"+Ce.errorMsg),!1):(ot.data=Ce,ot.log("API\u67E5\u8BE2\u6210\u529F\uFF0C\u6570\u636E\uFF1A"+JSON.stringify(Ce,null,"  ")),void(this.data.app_key&&(this.data.android_info&&this.data.android_info.url_schemes&&(this.data.android_info.url_schemes+="://sensorsdata/sd/"+this.data.app_key+"/"+this.key),this.data.ios_info&&this.data.ios_info.url_schemes&&(this.data.ios_info.url_schemes+="://sensorsdata/sd/"+this.data.app_key+"/"+this.key))))}.bind(this),error:function(){ot.log("API\u67E5\u8BE2\u51FA\u9519")}}),void this.addListeners()):(this.log("\u5F53\u524D\u9875\u9762\u7684deeplink\u53C2\u6570\u65E0\u6548"),!1)},openDeepLink:function(){if(this.log("openDeeplink()"),!this.data)return this.log("\u6CA1\u6709Deep link\u6570\u636E!"),!1;if(x==="iOS"){this.log("\u5F53\u524D\u7CFB\u7EDF\u662FiOS");var nt=this.sd&&this.sd._&&this.sd._.getIOSVersion()>=9&&this.data.ios_info.ios_wake_url?this.data.ios_info.ios_wake_url:this.data.ios_info.url_schemes;this.log("\u5524\u8D77APP\u7684\u5730\u5740\uFF1A"+nt),st(this,nt,this.data.ios_info.download_url)}else this.log("\u5F53\u524D\u7CFB\u7EDF\u662F android"),Q(this,this.data.android_info.url_schemes,this.data.android_info.download_url)},log:function(nt){this.sd&&this.sd.log(nt)},addListeners:function(){var nt=p().visibilityChange;nt&&document.addEventListener(nt,function(){clearTimeout(this.timer),this.log("visibilitychange, clear timeout:"+this.timer)}.bind(this),!1),window.addEventListener("pagehide",function(){this.log("page hide, clear timeout:"+this.timer),clearTimeout(this.timer)}.bind(this),!1)}};return P(window.SensorsDataWebJSSDKPlugin)?(window.SensorsDataWebJSSDKPlugin.Deeplink=window.SensorsDataWebJSSDKPlugin.Deeplink||ot,window.SensorsDataWebJSSDKPlugin.deeplink=window.SensorsDataWebJSSDKPlugin.deeplink||ot):window.SensorsDataWebJSSDKPlugin={Deeplink:ot,deeplink:ot},ot}(),v.modules.Pageleave=function(){"use strict";function s(){this.sd=null,this.start_time=+new Date,this.page_show_status=!0,this.page_hidden_status=!1,this._={},this.timer=null,this.current_page_url=document.referrer,this.url=location.href,this.option={},this.heartbeat_interval_time=5e3,this.heartbeat_interval_timer=null,this.page_id=null,this.storage_name="sawebjssdkpageleave"}var c=5e3;s.prototype.init=function(h,g){if(h){this.sd=h,this._=this.sd._;var x=this;if(g){this.option=g;var A=g.heartbeat_interval_time;A&&(this._.isNumber(A)||this._.isNumber(1*A))&&1*A>0&&(this.heartbeat_interval_time=1e3*A)}this.page_id=Number(String(this._.getRandom()).slice(2,5)+String(this._.getRandom()).slice(2,4)+String(new Date().getTime()).slice(-4)),x.addEventListener(),document.hidden===!0?this.page_show_status=!1:x.addHeartBeatInterval(),this.log("PageLeave\u521D\u59CB\u5316\u5B8C\u6BD5")}else this.log("\u795E\u7B56JS SDK\u672A\u6210\u529F\u5F15\u5165")},s.prototype.log=function(h){this.sd&&this.sd.log(h)},s.prototype.refreshPageEndTimer=function(){var h=this;this.timer&&(clearTimeout(this.timer),this.timer=null),this.timer=setTimeout(function(){h.page_hidden_status=!1},c)},s.prototype.hiddenStatusHandler=function(){clearTimeout(this.timer),this.timer=null,this.page_hidden_status=!1},s.prototype.pageStartHandler=function(){this.start_time=+new Date,document.hidden?this.page_show_status=!1:this.page_show_status=!0,this.url=location.href},s.prototype.pageEndHandler=function(){if(this.page_hidden_status!==!0){var h=this.getPageLeaveProperties();this.page_show_status===!1&&delete h.event_duration,this.page_show_status=!1,this.page_hidden_status=!0,this.isCollectUrl(this.url)&&this.sd.track("$WebPageLeave",h),this.refreshPageEndTimer(),this.delHeartBeatData()}},s.prototype.addEventListener=function(){this.addPageStartListener(),this.addPageSwitchListener(),this.addSinglePageListener(),this.addPageEndListener()},s.prototype.addPageStartListener=function(){var h=this;"onpageshow"in window&&this._.addEvent(window,"pageshow",function(){h.pageStartHandler(),h.hiddenStatusHandler()})},s.prototype.isCollectUrl=function(h){return typeof this.option.isCollectUrl!="function"||typeof h!="string"||h===""||this.option.isCollectUrl(h)},s.prototype.addSinglePageListener=function(){var h=this;this.sd.ee&&this.sd.ee.spa.prepend("switch",function(g){g!==location.href&&(h.url=g,h.pageEndHandler(),h.stopHeartBeatInterval(),h.current_page_url=h.url,h.pageStartHandler(),h.hiddenStatusHandler(),h.startHeartBeatInterval())})},s.prototype.addPageEndListener=function(){var h=this;this._.each(["pagehide","beforeunload","unload"],function(g){"on"+g in window&&h._.addEvent(window,g,function(){h.pageEndHandler(),h.stopHeartBeatInterval()})})},s.prototype.addPageSwitchListener=function(){var h=this;this._.listenPageState({visible:function(){h.pageStartHandler(),h.hiddenStatusHandler(),h.startHeartBeatInterval()},hidden:function(){h.url=location.href,h.pageEndHandler(),h.stopHeartBeatInterval()}})},s.prototype.addHeartBeatInterval=function(){this._.localStorage.isSupport()&&this.startHeartBeatInterval()},s.prototype.startHeartBeatInterval=function(){var h=this;this.heartbeat_interval_timer&&this.stopHeartBeatInterval();var g=!0;this.isCollectUrl(this.url)||(g=!1),this.heartbeat_interval_timer=setInterval(function(){g&&h.saveHeartBeatData()},this.heartbeat_interval_time),g&&this.saveHeartBeatData("is_first_heartbeat"),this.reissueHeartBeatData()},s.prototype.stopHeartBeatInterval=function(){clearInterval(this.heartbeat_interval_timer),this.heartbeat_interval_timer=null},s.prototype.saveHeartBeatData=function(h){var g=this.getPageLeaveProperties(),x=new Date;g.$time=x,h==="is_first_heartbeat"&&(g.event_duration=3.14);var A=this.sd.kit.buildData({type:"track",event:"$WebPageLeave",properties:g});try{this.sd.bridge.bridge_info.verify_success==="success"&&(A.properties.$time=1*x)}catch(P){this.log(P.message)}A.heartbeat_interval_time=this.heartbeat_interval_time,this.sd.store.saveObjectVal(this.storage_name+"-"+this.page_id,A)},s.prototype.delHeartBeatData=function(h){this._.localStorage.remove(h||this.storage_name+"-"+this.page_id)},s.prototype.reissueHeartBeatData=function(){for(var h=window.localStorage.length,g=h-1;g>=0;g--){var x=window.localStorage.key(g);if(x&&x!==this.storage_name+"-"+this.page_id&&x.indexOf(this.storage_name+"-")===0){var A=this.sd.store.readObjectVal(x);this._.isObject(A)&&1*new Date-A.time>A.heartbeat_interval_time+5e3&&(delete A.heartbeat_interval_time,this.sd.kit.sendData(A),this.delHeartBeatData(x))}}},s.prototype.getPageLeaveProperties=function(){var h=(+new Date-this.start_time)/1e3;(isNaN(h)||h<0)&&(h=0),h=Number(h.toFixed(3));var g=this._.getReferrer(this.current_page_url),x=document.documentElement&&document.documentElement.scrollTop||window.pageYOffset||document.body&&document.body.scrollTop||0;x=Math.round(x)||0;var A={$title:document.title,$url:this._.getURL(this.url),$url_path:this._.getURLPath(),$referrer_host:g?this._.getHostname(g):"",$referrer:g,$viewport_position:x};return h!==0&&(A.event_duration=h),A=this._.extend(A,this.option.custom_props)};var p=new s;return window.SensorsDataWebJSSDKPlugin&&Object.prototype.toString.call(window.SensorsDataWebJSSDKPlugin)==="[object Object]"?window.SensorsDataWebJSSDKPlugin.PageLeave=window.SensorsDataWebJSSDKPlugin.PageLeave||p:window.SensorsDataWebJSSDKPlugin={PageLeave:p},p}(),v.modules.Pageload=function(){"use strict";var s={init:function(c){function p(g,x){if(g.getEntries&&typeof g.getEntries=="function"){for(var A=g.getEntries(),P=null,H=0;H<A.length;H++)"transferSize"in A[H]&&(P+=A[H].transferSize);c._.isNumber(P)&&P>=0&&P<10737418240&&(x.$page_resource_size=Number((P/1024).toFixed(3)))}}function h(){var g=window.performance||window.webkitPerformance||window.msPerformance||window.mozPerformance,x=0,A={$url:c._.getURL(),$title:document.title,$url_path:c._.getURLPath(),$referrer:c._.getReferrer(null,!0)};if(g&&g.timing){var P=g.timing;P.fetchStart===0||P.domContentLoadedEventEnd===0?c.log("performance \u6570\u636E\u83B7\u53D6\u5F02\u5E38"):x=P.domContentLoadedEventEnd-P.fetchStart,p(g,A)}else c.log("\u6D4F\u89C8\u5668\u672A\u652F\u6301 performance API.");x>0&&(A.event_duration=Number((x/1e3).toFixed(3))),c.track("$WebPageLoad",A),window.removeEventListener?window.removeEventListener("load",h):window.detachEvent&&window.detachEvent("onload",h)}document.readyState=="complete"?h():window.addEventListener?window.addEventListener("load",h):window.attachEvent&&window.attachEvent("onload",h)}};return window.SensorsDataWebJSSDKPlugin&&Object.prototype.toString.call(window.SensorsDataWebJSSDKPlugin)==="[object Object]"?window.SensorsDataWebJSSDKPlugin.PageLoad=window.SensorsDataWebJSSDKPlugin.PageLoad||s:window.SensorsDataWebJSSDKPlugin={PageLoad:s},s}(),v.modules.RegisterProperties=function(){"use strict";function s(x,A){if(x.type!=="track")return x;var P=A.sd,H=P._,J=P.saEvent.check,Q=H.extend2Lev({properties:{}},x),st=A.currentProps,ot=Q.properties,nt=Q.event,xt={};return H.each(st,function(yt){if(H.isObject(yt))yt.events.indexOf(nt)>-1&&J({properties:yt.properties})&&(xt=H.extend(xt,yt.properties));else if(H.isFunction(yt)){var Ht=yt({event:nt,properties:ot,data:Q});H.isObject(Ht)&&!H.isEmptyObject(Ht)&&J({properties:Ht})&&(xt=H.extend(xt,Ht))}}),x.properties=H.extend(ot,xt),x}function c(x){var A=this;this.sd=x.sd,this.currentProps=x.customRegister,this.interceptor={addCustomProps:{priority:0,entry:function(P){return s(P,A),P}}}}function p(x){this.dataStage=new c(x)}function h(){this.sd=null,this.log=window.console&&window.console.log||function(){},this.customRegister=[]}c.prototype.init=function(){},h.prototype.init=function(x){x?(this.sd=x,this._=x._,this.log=x.log,x.registerFeature(new p(this))):this.log("\u795E\u7B56JS SDK\u672A\u6210\u529F\u5F15\u5165")},h.prototype.register=function(x){return this.sd?void(this._.isObject(x)&&this._.isArray(x.events)&&x.events.length>0&&this._.isObject(x.properties)&&!this._.isEmptyObject(x.properties)?this.customRegister.push(x):this.log("RegisterProperties: register \u53C2\u6570\u9519\u8BEF")):void this.log("\u795E\u7B56JS SDK\u672A\u6210\u529F\u5F15\u5165")},h.prototype.hookRegister=function(x){return this.sd?void(this._.isFunction(x)?this.customRegister.push(x):this.log("RegisterProperties: hookRegister \u53C2\u6570\u9519\u8BEF")):void this.log("\u795E\u7B56JS SDK\u672A\u6210\u529F\u5F15\u5165")};var g=new h;return g.__constructor__=h,window.SensorsDataWebJSSDKPlugin&&Object.prototype.toString.call(window.SensorsDataWebJSSDKPlugin)==="[object Object]"?window.SensorsDataWebJSSDKPlugin.RegisterProperties=window.SensorsDataWebJSSDKPlugin.RegisterProperties||g:window.SensorsDataWebJSSDKPlugin={RegisterProperties:g},g}(),v.modules.RegisterPropertyPageHeight=function(){"use strict";function s(x){try{if(x.event!=="$pageview"&&(!x.type||x.type.slice(0,7)!=="profile")){var A=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight||0,P=document.documentElement.scrollHeight||0,H={$page_height:Math.max(A,P)||0};x.properties=c._.extend(x.properties||{},H)}}catch(J){h("\u9875\u9762\u9AD8\u5EA6\u83B7\u53D6\u5F02\u5E38\u3002")}return p.call(c.kit,x)}var c,p,h=window.console&&window.console.log||function(){},g={init:function(x){return c=x,h=c&&c.log||h,x&&x.kit&&x.kit.buildData?(p=c.kit.buildData,c.kit.buildData=s,void h("RegisterPropertyPageHeight \u63D2\u4EF6\u521D\u59CB\u5316\u5B8C\u6210")):void h("RegisterPropertyPageHeight \u63D2\u4EF6\u521D\u59CB\u5316\u5931\u8D25,\u5F53\u524D\u4E3Bsdk\u4E0D\u652F\u6301 RegisterPropertyPageHeight \u63D2\u4EF6\uFF0C\u8BF7\u5347\u7EA7\u4E3Bsdk")}};return window.SensorsDataWebJSSDKPlugin&&Object.prototype.toString.call(window.SensorsDataWebJSSDKPlugin)==="[object Object]"?window.SensorsDataWebJSSDKPlugin.RegisterPropertyPageHeight=window.SensorsDataWebJSSDKPlugin.RegisterPropertyPageHeight||g:window.SensorsDataWebJSSDKPlugin={RegisterPropertyPageHeight:g},g}(),function(){"use strict";var s={};s.getPart=function(c){var p=!1,h=this.option.length;if(h){for(var g=0;g<h;g++)if(c.indexOf(this.option[g].part_url)>-1)return!0}return p},s.getPartHash=function(c){var p=this.option.length,h=!1;if(p){for(var g=0;g<p;g++)if(c.indexOf(this.option[g].part_url)>-1)return this.option[g].after_hash}return!!h},s.getCurrenId=function(){var c=this.store.getDistinctId()||"",p=this.store.getFirstId()||"";this._.urlSafeBase64&&this._.urlSafeBase64.encode?c=c?this._.urlSafeBase64.trim(this._.urlSafeBase64.encode(this._.base64Encode(c))):"":this._.rot13obfs&&(c=c?this._.rot13obfs(c):"");var h=p?"f"+c:"d"+c;return encodeURIComponent(h)},s.rewriteUrl=function(c,p){var h=/([^?#]+)(\?[^#]*)?(#.*)?/,g=h.exec(c),x="";if(g){var A,P=g[1]||"",H=g[2]||"",J=g[3]||"";if(this.getPartHash(c)){A=J.indexOf("_sasdk");var Q=J.indexOf("?");x=Q>-1?A>-1?P+H+"#"+J.substring(1,A)+"_sasdk="+this.getCurrenId():P+H+"#"+J.substring(1)+"&_sasdk="+this.getCurrenId():P+H+"#"+J.substring(1)+"?_sasdk="+this.getCurrenId()}else{A=H.indexOf("_sasdk");var st=/^\?(\w)+/.test(H);x=st?A>-1?P+"?"+H.substring(1,A)+"_sasdk="+this.getCurrenId()+J:P+"?"+H.substring(1)+"&_sasdk="+this.getCurrenId()+J:P+"?"+H.substring(1)+"_sasdk="+this.getCurrenId()+J}return p&&(p.href=x),x}},s.getUrlId=function(){var c=location.href.match(/_sasdk=([aufd][^\?\#\&\=]+)/);if(this._.isArray(c)&&c[1]){var p=decodeURIComponent(c[1]);return!p||p.substring(0,1)!=="f"&&p.substring(0,1)!=="d"||(this._.urlSafeBase64&&this._.urlSafeBase64.isUrlSafeBase64&&this._.urlSafeBase64.isUrlSafeBase64(p)?p=p.substring(0,1)+this._.base64Decode(this._.urlSafeBase64.decode(p.substring(1))):this._.rot13defs&&(p=p.substring(0,1)+this._.rot13defs(p.substring(1)))),p}return""},s.setRefferId=function(){var c=this.store.getDistinctId(),p=this.getUrlId();if(p==="")return!1;var h=p.substring(0,1)==="a"||p.substring(0,1)==="d";return p=p.substring(1),p!==c&&(p&&h&&this.store.getFirstId()&&(this.sd.identify(p,!0),this.sd.saEvent.send({original_id:p,distinct_id:c,type:"track_signup",event:"$SignUp",properties:{}},null)),p&&h&&!this.store.getFirstId()&&this.sd.identify(p,!0),void(!p||h||this.store.getFirstId()||this.sd.login(p)))},s.addListen=function(){var c=this,p=function(h){var g,x,A=h.target,P=A.tagName.toLowerCase(),H=A.parentNode;if(P==="a"&&A.href||H&&H.tagName&&H.tagName.toLowerCase()==="a"&&H.href){P==="a"&&A.href?(g=A.href,x=A):(g=H.href,x=H);var J=c._.URL(g),Q=J.protocol;Q!=="http:"&&Q!=="https:"||c.getPart(g)&&c.rewriteUrl(g,x)}};c._.addEvent(document,"mousedown",p),window.PointerEvent&&"maxTouchPoints"in window.navigator&&window.navigator.maxTouchPoints>=0&&c._.addEvent(document,"pointerdown",p)},s.init=function(c,p){function h(g){for(var x=g.length,A=[],P=0;P<x;P++)/[A-Za-z0-9]+\./.test(g[P].part_url)&&Object.prototype.toString.call(g[P].after_hash)=="[object Boolean]"?A.push(g[P]):c.log("linker \u914D\u7F6E\u7684\u7B2C "+(P+1)+" \u9879\u683C\u5F0F\u4E0D\u6B63\u786E\uFF0C\u8BF7\u68C0\u67E5\u53C2\u6570\u683C\u5F0F\uFF01");return A}return this.sd=c,this._=c._,this.store=c.store,this.para=c.para,this._.isObject(p)&&this._.isArray(p.linker)&&p.linker.length>0?(this.setRefferId(),this.addListen(),this.option=p.linker,void(this.option=h(this.option))):void c.log("\u8BF7\u914D\u7F6E\u6253\u901A\u57DF\u540D\u53C2\u6570\uFF01")},window.SensorsDataWebJSSDKPlugin&&Object.prototype.toString.call(window.SensorsDataWebJSSDKPlugin)==="[object Object]"?window.SensorsDataWebJSSDKPlugin.SiteLinker=window.SensorsDataWebJSSDKPlugin.SiteLinker||s:window.SensorsDataWebJSSDKPlugin={SiteLinker:s}}(),v.modules.AndroidBridge=function(){"use strict";function s(Wt){return xt&&xt.call(ot,JSON.stringify(Wt))}function c(Wt){return nt.call(ot)&&yt&&yt.call(ot,JSON.stringify(Wt))}function p(Wt,Ot){return Ot&&typeof Ot[Wt.callType]=="function"&&Ot[Wt.callType]()}function h(){if(A=window.SensorsData_APP_New_H5_Bridge,P=A&&A.sensorsdata_track,H=P&&A.sensorsdata_get_server_url&&A.sensorsdata_get_server_url(),J&&!J.bridge.activeBridge&&H){if(J.bridge.activeBridge=Ce,J.para.app_js_bridge&&!J.para.app_js_bridge.is_mui&&(J.bridge.is_verify_success=H&&J.bridge.validateAppUrl(H)),J.bridge.bridge_info={touch_app_bridge:!0,platform:"android",verify_success:J.bridge.is_verify_success?"success":"fail",support_two_way_call:!!A.sensorsdata_js_call_app},!J.para.app_js_bridge)return void st("app_js_bridge is not configured, data will not be sent by android bridge.");J.registerInterceptor("sendStage",{send:{priority:0,entry:g}}),st("Android bridge inits succeed.")}}function g(Wt,Ot){if(J.para.app_js_bridge.is_mui)return Wt;var Kt=Wt.callback;return J.bridge.is_verify_success?(P&&P.call(A,JSON.stringify(Q.extend({server_url:J.para.server_url},Wt.data))),Q.isFunction(Kt)&&Kt(),Ot.cancellationToken.cancel(),Wt):J.para.app_js_bridge.is_send?(J.debug.apph5({data:Wt.data,step:"4.2",output:"all"}),Wt):(Q.isFunction(Kt)&&Kt(),Ot.cancellationToken.cancel(),Wt)}function x(Wt){var Ot=Wt.callType;return Ot in Ht.commands?Ht.commands[Ot](Wt,A):void(A&&Q.isFunction(A.sensorsdata_js_call_app)&&A.sensorsdata_js_call_app(JSON.stringify(Wt)))}var A,P,H,J,Q,st,ot=window.SensorsData_App_Visual_Bridge,nt=ot&&ot.sensorsdata_visualized_mode,xt=ot&&ot.sensorsdata_visualized_alert_info,yt=ot&&ot.sensorsdata_hover_web_nodes,Ht={isVerify:function(){return nt&&(nt===!0||nt.call(ot))},commands:{app_alert:s,visualized_track:c,page_info:c,sensorsdata_get_app_visual_config:p}},Ce={init:function(Wt){J=Wt,Q=J&&J._,st=J&&J.log||console&&console.log||function(){},J.on&&J.on("sdkAfterInitPara",h)},handleCommand:x};return window.SensorsDataWebJSSDKPlugin&&Object.prototype.toString.call(window.SensorsDataWebJSSDKPlugin)==="[object Object]"?window.SensorsDataWebJSSDKPlugin.AndroidBridge=window.SensorsDataWebJSSDKPlugin.AndroidBridge||Ce:window.SensorsDataWebJSSDKPlugin={AndroidBridge:Ce},Ce}(),v.modules.AndroidObsoleteBridge=function(){"use strict";function s(Ot){return yt&&yt.call(nt,JSON.stringify(Ot))}function c(Ot){return xt.call(nt)&&Ht&&Ht.call(nt,JSON.stringify(Ot))}function p(Ot,Kt){return Kt&&typeof Kt[Ot.callType]=="function"&&Kt[Ot.callType]()}function h(){if(A=window.SensorsData_APP_JS_Bridge,P=A&&A.sensorsdata_track,H=A&&A.sensorsdata_verify,J=A&&A.sensorsdata_visual_verify,Q&&!Q.bridge.activeBridge&&(H||P||J)){Q.bridge.activeBridge=Wt;var Ot=H||P;if(J&&(Ot=!!J.call(A,JSON.stringify({server_url:Q.para.server_url}))),Q.bridge.bridge_info={touch_app_bridge:!0,platform:"android",verify_success:Ot?"success":"fail"},!Q.para.app_js_bridge)return void ot("app_js_bridge is not configured, data will not be sent by android obsolete bridge.");Q.registerInterceptor("sendStage",{send:{priority:0,entry:g}}),ot("Android obsolete bridge inits succeed.")}}function g(Ot,Kt){if(Q.para.app_js_bridge.is_mui)return Ot;var kr=Ot.callback;if(H){var Ge=H&&H.call(A,JSON.stringify(st.extend({server_url:Q.para.server_url},Ot.data)));return Ge?(st.isFunction(kr)&&kr(),Kt.cancellationToken.cancel(),Ot):Q.para.app_js_bridge.is_send?(Q.debug.apph5({data:Ot.data,step:"3.1",output:"all"}),Ot):(st.isFunction(kr)&&kr(),Kt.cancellationToken.cancel(),Ot)}return P&&P.call(A,JSON.stringify(st.extend({server_url:Q.para.server_url},Ot.data))),st.isFunction(kr)&&kr(),Kt.cancellationToken.cancel(),Ot}function x(Ot){var Kt=Ot.callType;return Kt in Ce.commands?Ce.commands[Kt](Ot,A):A&&st.isFunction(A.sensorsdata_js_call_app)?A.sensorsdata_js_call_app(JSON.stringify(Ot)):void 0}var A,P,H,J,Q,st,ot,nt=window.SensorsData_App_Visual_Bridge,xt=nt&&nt.sensorsdata_visualized_mode,yt=nt&&nt.sensorsdata_visualized_alert_info,Ht=nt&&nt.sensorsdata_hover_web_nodes,Ce={isVerify:function(){return xt&&(xt===!0||xt.call(nt))},commands:{app_alert:s,visualized_track:c,page_info:c,sensorsdata_get_app_visual_config:p}},Wt={init:function(Ot){Q=Ot,st=Q&&Q._,ot=Q&&Q.log||console&&console.log||function(){},Q.on&&Q.on("sdkAfterInitPara",h)},handleCommand:x};return window.SensorsDataWebJSSDKPlugin&&Object.prototype.toString.call(window.SensorsDataWebJSSDKPlugin)==="[object Object]"?window.SensorsDataWebJSSDKPlugin.AndroidObsoleteBridge=window.SensorsDataWebJSSDKPlugin.AndroidObsoleteBridge||Wt:window.SensorsDataWebJSSDKPlugin={AndroidObsoleteBridge:Wt},Wt}(),v.modules.IosBridge=function(){"use strict";function s(){if(h=window.SensorsData_iOS_JS_Bridge,g=h&&h.sensorsdata_app_server_url,x=window.webkit&&window.webkit.messageHandlers&&window.webkit.messageHandlers.sensorsdataNativeTracker,A=x&&x.postMessage,P&&!P.bridge.activeBridge&&A){if(P.bridge.activeBridge=Q,P.para.app_js_bridge&&!P.para.app_js_bridge.is_mui&&(P.bridge.is_verify_success=g&&P.bridge.validateAppUrl(g)),P.bridge.bridge_info={touch_app_bridge:!0,platform:"ios",verify_success:P.bridge.is_verify_success?"success":"fail",support_two_way_call:!0},!P.para.app_js_bridge)return void J("app_js_bridge is not configured, data will not be sent by iOS bridge.");P.registerInterceptor("sendStage",{send:{priority:0,entry:c}}),J("IOS bridge inits succeed.")}}function c(st,ot){if(P.para.app_js_bridge.is_mui)return st;var nt=st.callback;return P.bridge.is_verify_success?(A.call(x,JSON.stringify({callType:"app_h5_track",data:H.extend({server_url:P.para.server_url},st.data)})),H.isFunction(nt)&&nt(),ot.cancellationToken.cancel(),st):P.para.app_js_bridge.is_send?(P.debug.apph5({data:st.data,step:"4.1",output:"all"}),st):(H.isFunction(nt)&&nt(),ot.cancellationToken.cancel(),st)}function p(st){var ot=st.callType;return ot!=="page_info"&&ot!=="visualized_track"||P.bridge.hasVisualModeBridge()?ot==="sensorsdata_get_app_visual_config"?H.isObject(window.SensorsData_APP_New_H5_Bridge)&&window.SensorsData_APP_New_H5_Bridge[ot]:A.call(x,JSON.stringify(st)):null}var h,g,x,A,P,H,J,Q={init:function(st){P=st,H=P&&P._,J=P&&P.log||console&&console.log||function(){},P.on&&P.on("sdkAfterInitPara",s)},handleCommand:p};return window.SensorsDataWebJSSDKPlugin&&Object.prototype.toString.call(window.SensorsDataWebJSSDKPlugin)==="[object Object]"?window.SensorsDataWebJSSDKPlugin.IOSBridge=window.SensorsDataWebJSSDKPlugin.IOSBridge||Q:window.SensorsDataWebJSSDKPlugin={IOSBridge:Q},Q}(),v.modules.IosObsoleteBridge=function(){"use strict";function s(){if(g&&!g.bridge.activeBridge&&c()){if(g.bridge.activeBridge=P,g.bridge.bridge_info={touch_app_bridge:!0,platform:"ios",verify_success:p()?"success":"fail"},!g.para.app_js_bridge)return void A("app_js_bridge is not configured, data will not be sent by iOS obsolete bridge.");g.registerInterceptor("sendStage",{send:{priority:0,entry:h}}),A("IOS obsolete bridge inits succeed.")}}function c(){return(/sensors-verify/.test(navigator.userAgent)||/sa-sdk-ios/.test(navigator.userAgent))&&!window.MSStream}function p(){if(/sensors-verify/.test(navigator.userAgent)){var H=navigator.userAgent.match(/sensors-verify\/([^\s]+)/);if(H&&H[0]&&typeof H[1]=="string"&&H[1].split("?").length===2){H=H[1].split("?");var J=null,Q=null;try{J=x.URL(g.para.server_url).hostname,Q=x.URL(g.para.server_url).searchParams.get("project")||"default"}catch(st){g.log(st)}return!(!J||J!==H[0]||!Q||Q!==H[1])}return!1}return!!/sa-sdk-ios/.test(navigator.userAgent)}function h(H,J){function Q(xt){var yt=JSON.stringify(x.extend({server_url:g.para.server_url},xt));return yt=yt.replaceAll(/\r\n/g,""),yt=encodeURIComponent(yt),"sensorsanalytics://trackEvent?event="+yt}if(g.para.app_js_bridge.is_mui)return H;var st=H.callback;if(g.bridge.bridge_info.verify_success){var ot=document.createElement("iframe"),nt=Q(H.data);return ot.setAttribute("src",nt),document.documentElement.appendChild(ot),ot.parentNode.removeChild(ot),ot=null,x.isFunction(st)&&st(),J.cancellationToken.cancel(),!0}return g.para.app_js_bridge.is_send?(g.debug.apph5({data:H.data,step:"3.2",output:"all"}),H):(x.isFunction(st)&&st(),J.cancellationToken.cancel(),H)}var g,x,A,P={init:function(H){g=H,x=g&&g._,A=g&&g.log||console&&console.log||function(){},g.on&&g.on("sdkAfterInitPara",s)}};return window.SensorsDataWebJSSDKPlugin&&Object.prototype.toString.call(window.SensorsDataWebJSSDKPlugin)==="[object Object]"?window.SensorsDataWebJSSDKPlugin.IOSObsoleteBridge=window.SensorsDataWebJSSDKPlugin.IOSObsoleteBridge||P:window.SensorsDataWebJSSDKPlugin={IOSObsoleteBridge:P},P}(),v.modules.Utm=function(){"use strict";var s,c="utm_source utm_medium utm_campaign utm_content utm_term",p={init:function(h){function g(){var x=c.split(" "),A="",P={};return s._.isArray(s.para.source_channel)&&s.para.source_channel.length>0&&(x=x.concat(s.para.source_channel),x=s._.unique(x)),s._.each(x,function(H){A=s._.getQueryParam(location.href,H),A.length&&(P[H]=A)}),P}h&&!s&&(s=h,s.on&&s.on("sdkAfterInitPara",function(){s.registerInterceptor("businessStage",{getUtmData:{priority:0,entry:function(){return g()}}})}))}};return window.SensorsDataWebJSSDKPlugin&&Object.prototype.toString.call(window.SensorsDataWebJSSDKPlugin)==="[object Object]"?window.SensorsDataWebJSSDKPlugin.Utm=window.SensorsDataWebJSSDKPlugin.Utm||p:window.SensorsDataWebJSSDKPlugin={Utm:p},p}(),v.use("AndroidBridge"),v.use("IOSBridge"),v.use("AndroidObsoleteBridge"),v.use("IOSObsoleteBridge"),v.use("Utm"),typeof window.sensorsDataAnalytic201505=="string"?(v.para=window[sensorsDataAnalytic201505].para,v._q=window[sensorsDataAnalytic201505]._q,window[sensorsDataAnalytic201505]=v,window.sensorsDataAnalytic201505=v,v.init()):typeof window.sensorsDataAnalytic201505>"u"?window.sensorsDataAnalytic201505=v:Yp=window.sensorsDataAnalytic201505}catch(s){if(typeof console=="object"&&console.log)try{console.log(s)}catch(c){v.log(c)}}var ST=Yp;return ST})})(NE);const Yo=NE.exports;var Is,mm;const LE=((mm=(Is=window.SOWREGION)==null?void 0:Is.toLowerCase)==null?void 0:mm.call(Is))==="cn",v4=()=>{const t={homeRepair:"web_HomeRepairLoad",sendIn:"web_SendinLoad"},e=BE();return t[e]||""},g4=()=>{const t={homeRepair:"web_HomeRepairPageButton",sendIn:"web_SendinPageButton"},e=BE();return t[e]||""},BE=()=>{const t={"/onsite_home_phx":"homeRepair","/onsite-repair":"homeRepair","/sendrepair_home_phx":"sendIn","/send-in-repair":"sendIn"},e=window.location.href;let r="";for(const n in t)if(e.includes(n)){r=t[n];break}return r},Ho=window.navigator.userAgent.toLowerCase(),m4=()=>Ho.indexOf("usercenter")!==-1?{cName:"myoppo",isAPP:!0}:Ho.indexOf("oppostore")!==-1?{cName:"oppostore",isAPP:!0}:Ho.indexOf("oppocommunity")!==-1?{cName:"oppocommunity",isAPP:!0}:Ho.indexOf("miniprogram")!==-1?{cName:"wxmini",isAPP:!1}:Ho.indexOf("micromessenger")!==-1?{cName:"micromessenger",isAPP:!1}:{cName:"web",isAPP:!1},y4=()=>{if(!LE||window._SENSORS_LOADED_)return;window._SENSORS_LOADED_="We are family!",Yo.init({server_url:window.SAPATH,heatmap:{clickmap:"default",scroll_notice_map:"default"},is_track_single_page:!0,use_client_time:!0,send_type:"beacon",show_log:!0,web_url:window.SENSORS_WEB_URL});const t=m4();Yo.registerPage({l3_system_code:"CRM_OYE_CSP",...localStorage.getItem("ssoid")&&{ssoid:localStorage.getItem("ssoid")}}),Yo.quick("autoTrack",{channel_name:t.cName}),Yo.use("PageLeave")},jd=(t,e,r)=>{if(!LE){console.log(window.SOWREGION,t,e);return}let n={...e,...localStorage.getItem("ssoid")&&{ssoid:localStorage.getItem("ssoid")},$option:{server_url:window.SAPATH}};console.log("info===",n),Yo.track(t,n,r?r():null)},cG=t=>{const e=r1().utm_source||"";t||(t=v4()),t&&jd(t,{utmSource:e},null)},fG=(t,e,r)=>{t||(t=g4()),t&&jd(t,e,r)};y4();var ME={exports:{}},Hd={exports:{}},FE=function(e,r){return function(){for(var i=new Array(arguments.length),a=0;a<i.length;a++)i[a]=arguments[a];return e.apply(r,i)}},E4=FE,Gd=Object.prototype.toString,Vd=function(t){return function(e){var r=Gd.call(e);return t[r]||(t[r]=r.slice(8,-1).toLowerCase())}}(Object.create(null));function yi(t){return t=t.toLowerCase(),function(r){return Vd(r)===t}}function Wd(t){return Array.isArray(t)}function Su(t){return typeof t>"u"}function x4(t){return t!==null&&!Su(t)&&t.constructor!==null&&!Su(t.constructor)&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}var $E=yi("ArrayBuffer");function b4(t){var e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&$E(t.buffer),e}function T4(t){return typeof t=="string"}function S4(t){return typeof t=="number"}function kE(t){return t!==null&&typeof t=="object"}function Vs(t){if(Vd(t)!=="object")return!1;var e=Object.getPrototypeOf(t);return e===null||e===Object.prototype}var A4=yi("Date"),O4=yi("File"),w4=yi("Blob"),C4=yi("FileList");function Kd(t){return Gd.call(t)==="[object Function]"}function P4(t){return kE(t)&&Kd(t.pipe)}function R4(t){var e="[object FormData]";return t&&(typeof FormData=="function"&&t instanceof FormData||Gd.call(t)===e||Kd(t.toString)&&t.toString()===e)}var D4=yi("URLSearchParams");function I4(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function N4(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function qd(t,e){if(!(t===null||typeof t>"u"))if(typeof t!="object"&&(t=[t]),Wd(t))for(var r=0,n=t.length;r<n;r++)e.call(null,t[r],r,t);else for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.call(null,t[i],i,t)}function g0(){var t={};function e(i,a){Vs(t[a])&&Vs(i)?t[a]=g0(t[a],i):Vs(i)?t[a]=g0({},i):Wd(i)?t[a]=i.slice():t[a]=i}for(var r=0,n=arguments.length;r<n;r++)qd(arguments[r],e);return t}function L4(t,e,r){return qd(e,function(i,a){r&&typeof i=="function"?t[a]=E4(i,r):t[a]=i}),t}function B4(t){return t.charCodeAt(0)===65279&&(t=t.slice(1)),t}function M4(t,e,r,n){t.prototype=Object.create(e.prototype,n),t.prototype.constructor=t,r&&Object.assign(t.prototype,r)}function F4(t,e,r){var n,i,a,u={};e=e||{};do{for(n=Object.getOwnPropertyNames(t),i=n.length;i-- >0;)a=n[i],u[a]||(e[a]=t[a],u[a]=!0);t=Object.getPrototypeOf(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e}function $4(t,e,r){t=String(t),(r===void 0||r>t.length)&&(r=t.length),r-=e.length;var n=t.indexOf(e,r);return n!==-1&&n===r}function k4(t){if(!t)return null;var e=t.length;if(Su(e))return null;for(var r=new Array(e);e-- >0;)r[e]=t[e];return r}var U4=function(t){return function(e){return t&&e instanceof t}}(typeof Uint8Array<"u"&&Object.getPrototypeOf(Uint8Array)),Oe={isArray:Wd,isArrayBuffer:$E,isBuffer:x4,isFormData:R4,isArrayBufferView:b4,isString:T4,isNumber:S4,isObject:kE,isPlainObject:Vs,isUndefined:Su,isDate:A4,isFile:O4,isBlob:w4,isFunction:Kd,isStream:P4,isURLSearchParams:D4,isStandardBrowserEnv:N4,forEach:qd,merge:g0,extend:L4,trim:I4,stripBOM:B4,inherits:M4,toFlatObject:F4,kindOf:Vd,kindOfTest:yi,endsWith:$4,toArray:k4,isTypedArray:U4,isFileList:C4},Li=Oe;function Wv(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var UE=function(e,r,n){if(!r)return e;var i;if(n)i=n(r);else if(Li.isURLSearchParams(r))i=r.toString();else{var a=[];Li.forEach(r,function(d,l){d===null||typeof d>"u"||(Li.isArray(d)?l=l+"[]":d=[d],Li.forEach(d,function(E){Li.isDate(E)?E=E.toISOString():Li.isObject(E)&&(E=JSON.stringify(E)),a.push(Wv(l)+"="+Wv(E))}))}),i=a.join("&")}if(i){var u=e.indexOf("#");u!==-1&&(e=e.slice(0,u)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e},j4=Oe;function ec(){this.handlers=[]}ec.prototype.use=function(e,r,n){return this.handlers.push({fulfilled:e,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1};ec.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)};ec.prototype.forEach=function(e){j4.forEach(this.handlers,function(n){n!==null&&e(n)})};var H4=ec,G4=Oe,V4=function(e,r){G4.forEach(e,function(i,a){a!==r&&a.toUpperCase()===r.toUpperCase()&&(e[r]=i,delete e[a])})},jE=Oe;function uo(t,e,r,n,i){Error.call(this),this.message=t,this.name="AxiosError",e&&(this.code=e),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i)}jE.inherits(uo,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:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var HE=uo.prototype,GE={};["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"].forEach(function(t){GE[t]={value:t}});Object.defineProperties(uo,GE);Object.defineProperty(HE,"isAxiosError",{value:!0});uo.from=function(t,e,r,n,i,a){var u=Object.create(HE);return jE.toFlatObject(t,u,function(d){return d!==Error.prototype}),uo.call(u,t.message,e,r,n,i),u.name=t.name,a&&Object.assign(u,a),u};var xo=uo,VE={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},dr=Oe;function W4(t,e){e=e||new FormData;var r=[];function n(a){return a===null?"":dr.isDate(a)?a.toISOString():dr.isArrayBuffer(a)||dr.isTypedArray(a)?typeof Blob=="function"?new Blob([a]):Buffer.from(a):a}function i(a,u){if(dr.isPlainObject(a)||dr.isArray(a)){if(r.indexOf(a)!==-1)throw Error("Circular reference detected in "+u);r.push(a),dr.forEach(a,function(d,l){if(!dr.isUndefined(d)){var _=u?u+"."+l:l,E;if(d&&!u&&typeof d=="object"){if(dr.endsWith(l,"{}"))d=JSON.stringify(d);else if(dr.endsWith(l,"[]")&&(E=dr.toArray(d))){E.forEach(function(y){!dr.isUndefined(y)&&e.append(_,n(y))});return}}i(d,_)}}),r.pop()}else e.append(u,n(a))}return i(t),e}var WE=W4,Yf,Kv;function K4(){if(Kv)return Yf;Kv=1;var t=xo;return Yf=function(r,n,i){var a=i.config.validateStatus;!i.status||!a||a(i.status)?r(i):n(new t("Request failed with status code "+i.status,[t.ERR_BAD_REQUEST,t.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i))},Yf}var Zf,qv;function q4(){if(qv)return Zf;qv=1;var t=Oe;return Zf=t.isStandardBrowserEnv()?function(){return{write:function(n,i,a,u,f,d){var l=[];l.push(n+"="+encodeURIComponent(i)),t.isNumber(a)&&l.push("expires="+new Date(a).toGMTString()),t.isString(u)&&l.push("path="+u),t.isString(f)&&l.push("domain="+f),d===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(n){var i=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return i?decodeURIComponent(i[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),Zf}var z4=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)},X4=function(e,r){return r?e.replace(/\/+$/,"")+"/"+r.replace(/^\/+/,""):e},J4=z4,Y4=X4,KE=function(e,r){return e&&!J4(r)?Y4(e,r):r},Qf,zv;function Z4(){if(zv)return Qf;zv=1;var t=Oe,e=["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"];return Qf=function(n){var i={},a,u,f;return n&&t.forEach(n.split(`
`),function(l){if(f=l.indexOf(":"),a=t.trim(l.substr(0,f)).toLowerCase(),u=t.trim(l.substr(f+1)),a){if(i[a]&&e.indexOf(a)>=0)return;a==="set-cookie"?i[a]=(i[a]?i[a]:[]).concat([u]):i[a]=i[a]?i[a]+", "+u:u}}),i},Qf}var tl,Xv;function Q4(){if(Xv)return tl;Xv=1;var t=Oe;return tl=t.isStandardBrowserEnv()?function(){var r=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),i;function a(u){var f=u;return r&&(n.setAttribute("href",f),f=n.href),n.setAttribute("href",f),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return i=a(window.location.href),function(f){var d=t.isString(f)?a(f):f;return d.protocol===i.protocol&&d.host===i.host}}():function(){return function(){return!0}}(),tl}var el,Jv;function rc(){if(Jv)return el;Jv=1;var t=xo,e=Oe;function r(n){t.call(this,n==null?"canceled":n,t.ERR_CANCELED),this.name="CanceledError"}return e.inherits(r,t,{__CANCEL__:!0}),el=r,el}var rl,Yv;function tI(){return Yv||(Yv=1,rl=function(e){var r=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return r&&r[1]||""}),rl}var nl,Zv;function Qv(){if(Zv)return nl;Zv=1;var t=Oe,e=K4(),r=q4(),n=UE,i=KE,a=Z4(),u=Q4(),f=VE,d=xo,l=rc(),_=tI();return nl=function(y){return new Promise(function(S,C){var O=y.data,I=y.headers,T=y.responseType,w;function N(){y.cancelToken&&y.cancelToken.unsubscribe(w),y.signal&&y.signal.removeEventListener("abort",w)}t.isFormData(O)&&t.isStandardBrowserEnv()&&delete I["Content-Type"];var L=new XMLHttpRequest;if(y.auth){var M=y.auth.username||"",F=y.auth.password?unescape(encodeURIComponent(y.auth.password)):"";I.Authorization="Basic "+btoa(M+":"+F)}var U=i(y.baseURL,y.url);L.open(y.method.toUpperCase(),n(U,y.params,y.paramsSerializer),!0),L.timeout=y.timeout;function Z(){if(!!L){var D="getAllResponseHeaders"in L?a(L.getAllResponseHeaders()):null,R=!T||T==="text"||T==="json"?L.responseText:L.response,B={data:R,status:L.status,statusText:L.statusText,headers:D,config:y,request:L};e(function(G){S(G),N()},function(G){C(G),N()},B),L=null}}if("onloadend"in L?L.onloadend=Z:L.onreadystatechange=function(){!L||L.readyState!==4||L.status===0&&!(L.responseURL&&L.responseURL.indexOf("file:")===0)||setTimeout(Z)},L.onabort=function(){!L||(C(new d("Request aborted",d.ECONNABORTED,y,L)),L=null)},L.onerror=function(){C(new d("Network Error",d.ERR_NETWORK,y,L,L)),L=null},L.ontimeout=function(){var R=y.timeout?"timeout of "+y.timeout+"ms exceeded":"timeout exceeded",B=y.transitional||f;y.timeoutErrorMessage&&(R=y.timeoutErrorMessage),C(new d(R,B.clarifyTimeoutError?d.ETIMEDOUT:d.ECONNABORTED,y,L)),L=null},t.isStandardBrowserEnv()){var $=(y.withCredentials||u(U))&&y.xsrfCookieName?r.read(y.xsrfCookieName):void 0;$&&(I[y.xsrfHeaderName]=$)}"setRequestHeader"in L&&t.forEach(I,function(R,B){typeof O>"u"&&B.toLowerCase()==="content-type"?delete I[B]:L.setRequestHeader(B,R)}),t.isUndefined(y.withCredentials)||(L.withCredentials=!!y.withCredentials),T&&T!=="json"&&(L.responseType=y.responseType),typeof y.onDownloadProgress=="function"&&L.addEventListener("progress",y.onDownloadProgress),typeof y.onUploadProgress=="function"&&L.upload&&L.upload.addEventListener("progress",y.onUploadProgress),(y.cancelToken||y.signal)&&(w=function(D){!L||(C(!D||D&&D.type?new l:D),L.abort(),L=null)},y.cancelToken&&y.cancelToken.subscribe(w),y.signal&&(y.signal.aborted?w():y.signal.addEventListener("abort",w))),O||(O=null);var k=_(U);if(k&&["http","https","file"].indexOf(k)===-1){C(new d("Unsupported protocol "+k+":",d.ERR_BAD_REQUEST,y));return}L.send(O)})},nl}var il,tg;function eI(){return tg||(tg=1,il=null),il}var Ee=Oe,eg=V4,rg=xo,rI=VE,nI=WE,iI={"Content-Type":"application/x-www-form-urlencoded"};function ng(t,e){!Ee.isUndefined(t)&&Ee.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function oI(){var t;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(t=Qv()),t}function aI(t,e,r){if(Ee.isString(t))try{return(e||JSON.parse)(t),Ee.trim(t)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(t)}var nc={transitional:rI,adapter:oI(),transformRequest:[function(e,r){if(eg(r,"Accept"),eg(r,"Content-Type"),Ee.isFormData(e)||Ee.isArrayBuffer(e)||Ee.isBuffer(e)||Ee.isStream(e)||Ee.isFile(e)||Ee.isBlob(e))return e;if(Ee.isArrayBufferView(e))return e.buffer;if(Ee.isURLSearchParams(e))return ng(r,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();var n=Ee.isObject(e),i=r&&r["Content-Type"],a;if((a=Ee.isFileList(e))||n&&i==="multipart/form-data"){var u=this.env&&this.env.FormData;return nI(a?{"files[]":e}:e,u&&new u)}else if(n||i==="application/json")return ng(r,"application/json"),aI(e);return e}],transformResponse:[function(e){var r=this.transitional||nc.transitional,n=r&&r.silentJSONParsing,i=r&&r.forcedJSONParsing,a=!n&&this.responseType==="json";if(a||i&&Ee.isString(e)&&e.length)try{return JSON.parse(e)}catch(u){if(a)throw u.name==="SyntaxError"?rg.from(u,rg.ERR_BAD_RESPONSE,this,null,this.response):u}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:eI()},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};Ee.forEach(["delete","get","head"],function(e){nc.headers[e]={}});Ee.forEach(["post","put","patch"],function(e){nc.headers[e]=Ee.merge(iI)});var zd=nc,sI=Oe,uI=zd,cI=function(e,r,n){var i=this||uI;return sI.forEach(n,function(u){e=u.call(i,e,r)}),e},ol,ig;function qE(){return ig||(ig=1,ol=function(e){return!!(e&&e.__CANCEL__)}),ol}var og=Oe,al=cI,fI=qE(),lI=zd,dI=rc();function sl(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new dI}var pI=function(e){sl(e),e.headers=e.headers||{},e.data=al.call(e,e.data,e.headers,e.transformRequest),e.headers=og.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),og.forEach(["delete","get","head","post","put","patch","common"],function(i){delete e.headers[i]});var r=e.adapter||lI.adapter;return r(e).then(function(i){return sl(e),i.data=al.call(e,i.data,i.headers,e.transformResponse),i},function(i){return fI(i)||(sl(e),i&&i.response&&(i.response.data=al.call(e,i.response.data,i.response.headers,e.transformResponse))),Promise.reject(i)})},Xe=Oe,zE=function(e,r){r=r||{};var n={};function i(_,E){return Xe.isPlainObject(_)&&Xe.isPlainObject(E)?Xe.merge(_,E):Xe.isPlainObject(E)?Xe.merge({},E):Xe.isArray(E)?E.slice():E}function a(_){if(Xe.isUndefined(r[_])){if(!Xe.isUndefined(e[_]))return i(void 0,e[_])}else return i(e[_],r[_])}function u(_){if(!Xe.isUndefined(r[_]))return i(void 0,r[_])}function f(_){if(Xe.isUndefined(r[_])){if(!Xe.isUndefined(e[_]))return i(void 0,e[_])}else return i(void 0,r[_])}function d(_){if(_ in r)return i(e[_],r[_]);if(_ in e)return i(void 0,e[_])}var l={url:u,method:u,data:u,baseURL:f,transformRequest:f,transformResponse:f,paramsSerializer:f,timeout:f,timeoutMessage:f,withCredentials:f,adapter:f,responseType:f,xsrfCookieName:f,xsrfHeaderName:f,onUploadProgress:f,onDownloadProgress:f,decompress:f,maxContentLength:f,maxBodyLength:f,beforeRedirect:f,transport:f,httpAgent:f,httpsAgent:f,cancelToken:f,socketPath:f,responseEncoding:f,validateStatus:d};return Xe.forEach(Object.keys(e).concat(Object.keys(r)),function(E){var y=l[E]||a,b=y(E);Xe.isUndefined(b)&&y!==d||(n[E]=b)}),n},ul,ag;function XE(){return ag||(ag=1,ul={version:"0.27.2"}),ul}var hI=XE().version,fn=xo,Xd={};["object","boolean","number","function","string","symbol"].forEach(function(t,e){Xd[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}});var sg={};Xd.transitional=function(e,r,n){function i(a,u){return"[Axios v"+hI+"] Transitional option '"+a+"'"+u+(n?". "+n:"")}return function(a,u,f){if(e===!1)throw new fn(i(u," has been removed"+(r?" in "+r:"")),fn.ERR_DEPRECATED);return r&&!sg[u]&&(sg[u]=!0,console.warn(i(u," has been deprecated since v"+r+" and will be removed in the near future"))),e?e(a,u,f):!0}};function _I(t,e,r){if(typeof t!="object")throw new fn("options must be an object",fn.ERR_BAD_OPTION_VALUE);for(var n=Object.keys(t),i=n.length;i-- >0;){var a=n[i],u=e[a];if(u){var f=t[a],d=f===void 0||u(f,a,t);if(d!==!0)throw new fn("option "+a+" must be "+d,fn.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new fn("Unknown option "+a,fn.ERR_BAD_OPTION)}}var vI={assertOptions:_I,validators:Xd},JE=Oe,gI=UE,ug=H4,cg=pI,ic=zE,mI=KE,YE=vI,Bi=YE.validators;function co(t){this.defaults=t,this.interceptors={request:new ug,response:new ug}}co.prototype.request=function(e,r){typeof e=="string"?(r=r||{},r.url=e):r=e||{},r=ic(this.defaults,r),r.method?r.method=r.method.toLowerCase():this.defaults.method?r.method=this.defaults.method.toLowerCase():r.method="get";var n=r.transitional;n!==void 0&&YE.assertOptions(n,{silentJSONParsing:Bi.transitional(Bi.boolean),forcedJSONParsing:Bi.transitional(Bi.boolean),clarifyTimeoutError:Bi.transitional(Bi.boolean)},!1);var i=[],a=!0;this.interceptors.request.forEach(function(b){typeof b.runWhen=="function"&&b.runWhen(r)===!1||(a=a&&b.synchronous,i.unshift(b.fulfilled,b.rejected))});var u=[];this.interceptors.response.forEach(function(b){u.push(b.fulfilled,b.rejected)});var f;if(!a){var d=[cg,void 0];for(Array.prototype.unshift.apply(d,i),d=d.concat(u),f=Promise.resolve(r);d.length;)f=f.then(d.shift(),d.shift());return f}for(var l=r;i.length;){var _=i.shift(),E=i.shift();try{l=_(l)}catch(y){E(y);break}}try{f=cg(l)}catch(y){return Promise.reject(y)}for(;u.length;)f=f.then(u.shift(),u.shift());return f};co.prototype.getUri=function(e){e=ic(this.defaults,e);var r=mI(e.baseURL,e.url);return gI(r,e.params,e.paramsSerializer)};JE.forEach(["delete","get","head","options"],function(e){co.prototype[e]=function(r,n){return this.request(ic(n||{},{method:e,url:r,data:(n||{}).data}))}});JE.forEach(["post","put","patch"],function(e){function r(n){return function(a,u,f){return this.request(ic(f||{},{method:e,headers:n?{"Content-Type":"multipart/form-data"}:{},url:a,data:u}))}}co.prototype[e]=r(),co.prototype[e+"Form"]=r(!0)});var yI=co,cl,fg;function EI(){if(fg)return cl;fg=1;var t=rc();function e(r){if(typeof r!="function")throw new TypeError("executor must be a function.");var n;this.promise=new Promise(function(u){n=u});var i=this;this.promise.then(function(a){if(!!i._listeners){var u,f=i._listeners.length;for(u=0;u<f;u++)i._listeners[u](a);i._listeners=null}}),this.promise.then=function(a){var u,f=new Promise(function(d){i.subscribe(d),u=d}).then(a);return f.cancel=function(){i.unsubscribe(u)},f},r(function(u){i.reason||(i.reason=new t(u),n(i.reason))})}return e.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},e.prototype.subscribe=function(n){if(this.reason){n(this.reason);return}this._listeners?this._listeners.push(n):this._listeners=[n]},e.prototype.unsubscribe=function(n){if(!!this._listeners){var i=this._listeners.indexOf(n);i!==-1&&this._listeners.splice(i,1)}},e.source=function(){var n,i=new e(function(u){n=u});return{token:i,cancel:n}},cl=e,cl}var fl,lg;function xI(){return lg||(lg=1,fl=function(e){return function(n){return e.apply(null,n)}}),fl}var ll,dg;function bI(){if(dg)return ll;dg=1;var t=Oe;return ll=function(r){return t.isObject(r)&&r.isAxiosError===!0},ll}var pg=Oe,TI=FE,Ws=yI,SI=zE,AI=zd;function ZE(t){var e=new Ws(t),r=TI(Ws.prototype.request,e);return pg.extend(r,Ws.prototype,e),pg.extend(r,e),r.create=function(i){return ZE(SI(t,i))},r}var We=ZE(AI);We.Axios=Ws;We.CanceledError=rc();We.CancelToken=EI();We.isCancel=qE();We.VERSION=XE().version;We.toFormData=WE;We.AxiosError=xo;We.Cancel=We.CanceledError;We.all=function(e){return Promise.all(e)};We.spread=xI();We.isAxiosError=bI();Hd.exports=We;Hd.exports.default=We;(function(t){t.exports=Hd.exports})(ME);const OI=KC(ME.exports),Jd=OI.create({baseURL:window.GCSMAPIPATH,withCredentials:!0,headers:{"Content-Type":"application/json; charset=utf8"}}),hg={isoLanguageCode:window.GCSMLANGCODE,sourceRoute:"1"};Jd.interceptors.request.use(t=>{var r;const e=t.headers;if("withLogin"in e){const n=ks(e,"withLogin");t.headers=n}return t.headers||(t.headers={}),t.headers["Page-Path"]=window.location.href,((r=t.method)==null?void 0:r.toUpperCase())==="POST"?(t.data={region:window.SOWREGION,...t.data||{},...hg},t.headers["Content-Type"].indexOf("multipart/form-data")>-1&&(t.data=wI(t.data))):t.params={region:window.SOWREGION,...t.params||{},...hg},t});Jd.interceptors.response.use(({data:t})=>t);function wI(t){const e=new FormData;for(const r in t)t.hasOwnProperty(r)&&e.append(r,t[r]);return e}var QE={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(Tt,function(){var r=1e3,n=6e4,i=36e5,a="millisecond",u="second",f="minute",d="hour",l="day",_="week",E="month",y="quarter",b="year",S="date",C="Invalid Date",O=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,I=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,T={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(B){var j=["th","st","nd","rd"],G=B%100;return"["+B+(j[(G-20)%10]||j[G]||j[0])+"]"}},w=function(B,j,G){var Y=String(B);return!Y||Y.length>=j?B:""+Array(j+1-Y.length).join(G)+B},N={s:w,z:function(B){var j=-B.utcOffset(),G=Math.abs(j),Y=Math.floor(G/60),K=G%60;return(j<=0?"+":"-")+w(Y,2,"0")+":"+w(K,2,"0")},m:function B(j,G){if(j.date()<G.date())return-B(G,j);var Y=12*(G.year()-j.year())+(G.month()-j.month()),K=j.clone().add(Y,E),tt=G-K<0,et=j.clone().add(Y+(tt?-1:1),E);return+(-(Y+(G-K)/(tt?K-et:et-K))||0)},a:function(B){return B<0?Math.ceil(B)||0:Math.floor(B)},p:function(B){return{M:E,y:b,w:_,d:l,D:S,h:d,m:f,s:u,ms:a,Q:y}[B]||String(B||"").toLowerCase().replace(/s$/,"")},u:function(B){return B===void 0}},L="en",M={};M[L]=T;var F="$isDayjsObject",U=function(B){return B instanceof D||!(!B||!B[F])},Z=function B(j,G,Y){var K;if(!j)return L;if(typeof j=="string"){var tt=j.toLowerCase();M[tt]&&(K=tt),G&&(M[tt]=G,K=tt);var et=j.split("-");if(!K&&et.length>1)return B(et[0])}else{var V=j.name;M[V]=j,K=V}return!Y&&K&&(L=K),K||!Y&&L},$=function(B,j){if(U(B))return B.clone();var G=typeof j=="object"?j:{};return G.date=B,G.args=arguments,new D(G)},k=N;k.l=Z,k.i=U,k.w=function(B,j){return $(B,{locale:j.$L,utc:j.$u,x:j.$x,$offset:j.$offset})};var D=function(){function B(G){this.$L=Z(G.locale,null,!0),this.parse(G),this.$x=this.$x||G.x||{},this[F]=!0}var j=B.prototype;return j.parse=function(G){this.$d=function(Y){var K=Y.date,tt=Y.utc;if(K===null)return new Date(NaN);if(k.u(K))return new Date;if(K instanceof Date)return new Date(K);if(typeof K=="string"&&!/Z$/i.test(K)){var et=K.match(O);if(et){var V=et[2]-1||0,W=(et[7]||"0").substring(0,3);return tt?new Date(Date.UTC(et[1],V,et[3]||1,et[4]||0,et[5]||0,et[6]||0,W)):new Date(et[1],V,et[3]||1,et[4]||0,et[5]||0,et[6]||0,W)}}return new Date(K)}(G),this.init()},j.init=function(){var G=this.$d;this.$y=G.getFullYear(),this.$M=G.getMonth(),this.$D=G.getDate(),this.$W=G.getDay(),this.$H=G.getHours(),this.$m=G.getMinutes(),this.$s=G.getSeconds(),this.$ms=G.getMilliseconds()},j.$utils=function(){return k},j.isValid=function(){return this.$d.toString()!==C},j.isSame=function(G,Y){var K=$(G);return this.startOf(Y)<=K&&K<=this.endOf(Y)},j.isAfter=function(G,Y){return $(G)<this.startOf(Y)},j.isBefore=function(G,Y){return this.endOf(Y)<$(G)},j.$g=function(G,Y,K){return k.u(G)?this[Y]:this.set(K,G)},j.unix=function(){return Math.floor(this.valueOf()/1e3)},j.valueOf=function(){return this.$d.getTime()},j.startOf=function(G,Y){var K=this,tt=!!k.u(Y)||Y,et=k.p(G),V=function(ee,Zt){var je=k.w(K.$u?Date.UTC(K.$y,Zt,ee):new Date(K.$y,Zt,ee),K);return tt?je:je.endOf(l)},W=function(ee,Zt){return k.w(K.toDate()[ee].apply(K.toDate("s"),(tt?[0,0,0,0]:[23,59,59,999]).slice(Zt)),K)},z=this.$W,X=this.$M,mt=this.$D,pt="set"+(this.$u?"UTC":"");switch(et){case b:return tt?V(1,0):V(31,11);case E:return tt?V(1,X):V(0,X+1);case _:var Nt=this.$locale().weekStart||0,ft=(z<Nt?z+7:z)-Nt;return V(tt?mt-ft:mt+(6-ft),X);case l:case S:return W(pt+"Hours",0);case d:return W(pt+"Minutes",1);case f:return W(pt+"Seconds",2);case u:return W(pt+"Milliseconds",3);default:return this.clone()}},j.endOf=function(G){return this.startOf(G,!1)},j.$set=function(G,Y){var K,tt=k.p(G),et="set"+(this.$u?"UTC":""),V=(K={},K[l]=et+"Date",K[S]=et+"Date",K[E]=et+"Month",K[b]=et+"FullYear",K[d]=et+"Hours",K[f]=et+"Minutes",K[u]=et+"Seconds",K[a]=et+"Milliseconds",K)[tt],W=tt===l?this.$D+(Y-this.$W):Y;if(tt===E||tt===b){var z=this.clone().set(S,1);z.$d[V](W),z.init(),this.$d=z.set(S,Math.min(this.$D,z.daysInMonth())).$d}else V&&this.$d[V](W);return this.init(),this},j.set=function(G,Y){return this.clone().$set(G,Y)},j.get=function(G){return this[k.p(G)]()},j.add=function(G,Y){var K,tt=this;G=Number(G);var et=k.p(Y),V=function(X){var mt=$(tt);return k.w(mt.date(mt.date()+Math.round(X*G)),tt)};if(et===E)return this.set(E,this.$M+G);if(et===b)return this.set(b,this.$y+G);if(et===l)return V(1);if(et===_)return V(7);var W=(K={},K[f]=n,K[d]=i,K[u]=r,K)[et]||1,z=this.$d.getTime()+G*W;return k.w(z,this)},j.subtract=function(G,Y){return this.add(-1*G,Y)},j.format=function(G){var Y=this,K=this.$locale();if(!this.isValid())return K.invalidDate||C;var tt=G||"YYYY-MM-DDTHH:mm:ssZ",et=k.z(this),V=this.$H,W=this.$m,z=this.$M,X=K.weekdays,mt=K.months,pt=K.meridiem,Nt=function(Zt,je,Le,Bt){return Zt&&(Zt[je]||Zt(Y,tt))||Le[je].slice(0,Bt)},ft=function(Zt){return k.s(V%12||12,Zt,"0")},ee=pt||function(Zt,je,Le){var Bt=Zt<12?"AM":"PM";return Le?Bt.toLowerCase():Bt};return tt.replace(I,function(Zt,je){return je||function(Le){switch(Le){case"YY":return String(Y.$y).slice(-2);case"YYYY":return k.s(Y.$y,4,"0");case"M":return z+1;case"MM":return k.s(z+1,2,"0");case"MMM":return Nt(K.monthsShort,z,mt,3);case"MMMM":return Nt(mt,z);case"D":return Y.$D;case"DD":return k.s(Y.$D,2,"0");case"d":return String(Y.$W);case"dd":return Nt(K.weekdaysMin,Y.$W,X,2);case"ddd":return Nt(K.weekdaysShort,Y.$W,X,3);case"dddd":return X[Y.$W];case"H":return String(V);case"HH":return k.s(V,2,"0");case"h":return ft(1);case"hh":return ft(2);case"a":return ee(V,W,!0);case"A":return ee(V,W,!1);case"m":return String(W);case"mm":return k.s(W,2,"0");case"s":return String(Y.$s);case"ss":return k.s(Y.$s,2,"0");case"SSS":return k.s(Y.$ms,3,"0");case"Z":return et}return null}(Zt)||et.replace(":","")})},j.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},j.diff=function(G,Y,K){var tt,et=this,V=k.p(Y),W=$(G),z=(W.utcOffset()-this.utcOffset())*n,X=this-W,mt=function(){return k.m(et,W)};switch(V){case b:tt=mt()/12;break;case E:tt=mt();break;case y:tt=mt()/3;break;case _:tt=(X-z)/6048e5;break;case l:tt=(X-z)/864e5;break;case d:tt=X/i;break;case f:tt=X/n;break;case u:tt=X/r;break;default:tt=X}return K?tt:k.a(tt)},j.daysInMonth=function(){return this.endOf(E).$D},j.$locale=function(){return M[this.$L]},j.locale=function(G,Y){if(!G)return this.$L;var K=this.clone(),tt=Z(G,Y,!0);return tt&&(K.$L=tt),K},j.clone=function(){return k.w(this.$d,this)},j.toDate=function(){return new Date(this.valueOf())},j.toJSON=function(){return this.isValid()?this.toISOString():null},j.toISOString=function(){return this.$d.toISOString()},j.toString=function(){return this.$d.toUTCString()},B}(),R=D.prototype;return $.prototype=R,[["$ms",a],["$s",u],["$m",f],["$H",d],["$W",l],["$M",E],["$y",b],["$D",S]].forEach(function(B){R[B[1]]=function(j){return this.$g(j,B[0],B[1])}}),$.extend=function(B,j){return B.$i||(B(j,D,$),B.$i=!0),$},$.locale=Z,$.isDayjs=U,$.unix=function(B){return $(1e3*B)},$.en=M[L],$.Ls=M,$.p={},$})})(QE);const CI=QE.exports,lG=(t="__SERVICE_CONFIG__")=>window[t],t1=(()=>{try{return window.parent.location.href.includes("editor.html")}catch(t){return!1}})(),e1=window.SOWREGION.toUpperCase()==="CN";window.SOWREGION.toUpperCase();const dG=(t=location.href,e=!1)=>{var u;if(t1)return;const r=r1(t||window.location.href);if(!e&&r.rtCode){window.location.href=window.LOGIN_PATH;return}const n=window.account_web_sdk,i=n&&n.supportBrand?new n({brand:n.supportBrand.oppo,environment:window.BIZENV||"prod"}):void 0,a=window.BIZAPPKEY;return e?i==null?void 0:i.loginImplicitAuthN({bizAppKey:a,callbackUrl:window.GCSMAPIPATH}).catch(f=>{console.error("Oops! Sync failed.",f.errMessage)}).then(f=>{if(console.log("res: ",f),f&&typeof f.code=="string")return Jd.get(`${window.GCSMAPIPATH}/token/v1/checkCode?brandCode=11&code=${f.code}`)}):(u=i==null?void 0:i.loginPage)==null?void 0:u.call(i,{bizAppKey:a,callbackUrl:window.GCSMAPIPATH+"/token/v1/checkCode?brandCode=11&callback="+encodeURIComponent(t||window.location.href)+"&region="+window.SOWREGION.toUpperCase()})},pG=/^1[3-9]\d{9}$/,hG=(t,e=13)=>{let r=t;return r.length>=e?(r=r.slice(0,e),r):(r=r.toString(),r.indexOf(" ")>=0&&(r=r.replace(/\s+/g,"")),r.length>3&&r.length<8?r=r.replace(/^(\d{3})/g,"$1 "):r.length>=8&&r.length<12?r=r.replace(/^(\d{3})(\d{4})/g,"$1 $2 "):r.length>=12&&r.length<16&&(r=r.replace(/^(\d{3})(\d{4})(\d{4})/g,"$1 $2 $3 ")),r)},r1=(t=location.search||location.href)=>t.includes("?")?v5.parse(t.split("?")[1]):{},_G=()=>{const t=window.location.href.split("?").length>1?"?"+window.location.href.split("?")[1]:"";let e={};if(t.indexOf("?")!=-1){let n=t.substr(1).split("&");for(let i=0;i<n.length;i++){let[a,u]=n[i].split("=");e[a]=decodeURI(u)}}return e},vG=function(t,e){let r=!1;const n=function(...i){if(r)return;r=!0;let a=t.apply(this,i);return e!=null&&e.autoStop&&(Object.prototype.toString.call(a).slice(8,-1)==="Promise"?a=a.then(u=>(r=!1,u)):r=!1),a};return n.stop=()=>void(r=!1),n};class Ks{static getKey(e){return`NAVIGATE_TO_HOME_${e}`}static setFlag(e){window.localStorage.setItem(Ks.getKey(e),Date.now()+"")}static getFlag(e){return+window.localStorage.getItem(Ks.getKey(e))}static validateSource({url:e,page:r,duration:n}){if(t1)return;n=n||10*60*1e3,console.log(123123,r);const i=Ks.getFlag(r);Date.now()-i>n&&(window.location.href=e)}}const PI=()=>{const t=document.createElement("div");t.style.cssText=`
    width: 99px;
    height: 99px;
    overflow: scroll;
    position: absolute;
    top: -9999px;
  `,document.body.appendChild(t);const e=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),e},gG=(t=!1)=>{const e=window.$;let r=0,n="",i="";const a="lock-scroll",u="initial",f=e(window),d=e("html"),l=e("body");return n=d.css("scrollBehavior"),r=f.scrollTop(),t&&(i=`${PI()}px`,l.css({paddingRight:i})),l.addClass(a).css({top:`-${r}px`}),d.css({scrollBehavior:u}),function(){t&&l.css({paddingRight:0}),l.removeClass(a),f.scrollTop(r),d.css({scrollBehavior:n})}},_g=t=>{var e,r,n,i;(r=(e=window==null?void 0:window.dataLayer)==null?void 0:e.push)==null||r.call(e,{event_parameters:null}),(i=(n=window==null?void 0:window.dataLayer)==null?void 0:n.push)==null||i.call(n,t)},n1=(t,e)=>{console.log("\u57CB\u70B9\u6570\u636E===",t,e);try{const r=t==null?void 0:t.id,n=e==null?void 0:e.id;e1?(console.log(t),jd(t.id,ks(t,"id"),null)):t&&!e?_g({event:"ga4Event",event_name:r,event_parameters:ks(t,"id")}):(console.log("4a\u57CB\u70B9\u6570\u636E\uFF1A",e),_g({event:"ga4Event",event_name:n,event_parameters:ks(e,"id")}))}catch(r){console.log(r)}},mG=n1;try{new MutationObserver(function(e){e.forEach(function(r){r.addedNodes.forEach(n=>{var i;if(n.nodeType===1){const a=(i=n==null?void 0:n.querySelectorAll)==null?void 0:i.call(n,".el-cascader-panel .el-cascader-node[aria-owns]");if(!(a!=null&&a.length))return;Array.from(a).map(u=>{var f;return(f=u==null?void 0:u.removeAttribute)==null?void 0:f.call(u,"aria-owns")})}})})}).observe(document.body,{characterData:!1,childList:!0,attributes:!1,subtree:!0})}catch(t){}const yG=(t=[],e="\u4F1A\u5458\u65E5")=>{let r=[];if(window.SOWREGION.toUpperCase()=="CN"){const u=new Date().getDate(),f=u>=14&&u<=18;r=t.filter(d=>d.activityName!=e||f).map(d=>({...d,isMember:d.activityName===e}))}else r=t.map(a=>({...a,isMember:a.activityName===e}));const i=r.findIndex(a=>a.isMember);return i>-1&&(r.unshift(r[i]),r.splice(i+1,1)),r},EG=t=>new URLSearchParams(window.location.search).get(t),xG=({nonInteraction:t=!1,eventCategory:e="",eventAction:r="",eventLabel:n=""})=>{var i,a,u;/([A-Za-z0-9_+-.])+@([A-Za-z0-9\-.])+\.([A-Za-z]{2,22})/.test(n)||(u=(i=window.dataLayer)==null?void 0:i.push)==null||u.call(i,{event:"uaEvent",nonInteraction:t,eventCategory:e,eventAction:r,eventLabel:n,UserSource:`from ${(a=window.deviceCategory)==null?void 0:a.call(window)}`})},bG=t=>{let e="";const r="https://image.oppo.com/content/dam/oppo/common/support/self-service/products/default";return t?t.indexOf("1")!=-1?e=`${r}/001.png`:t.indexOf("2")!=-1?e=`${r}/002.png`:t.indexOf("3")!=-1?e=`${r}/007.png`:t.indexOf("4")!=-1?e=`${r}/008.png`:t.indexOf("8")!=-1?e=`${r}/018.png`:e=`${r}/unknown.png`:e=`${r}/unknown.png`,e};function TG(t){t=t==null?window.location.href:t;const e=t.substring(t.lastIndexOf("?")+1),r={},n=/([^?&=]+)=([^?&=]*)/g;return e.replace(n,(i,a,u)=>{const f=decodeURIComponent(a);let d=decodeURIComponent(u);return d=String(d),r[f]=d,i}),r}const SG=t=>e1?parseFloat(t):parseFloat(t).toString().replace(/\B(?=(\d{3})+(?!\d))/g,","),AG=(t,e)=>{const r=document.createElement("a"),n=t.replace(/.*\./,"");r.style.display="none",r.href=t,r.download=`${e}.${n}`,document.body.appendChild(r),r.click(),document.body.removeChild(r)},OG=(t,e)=>{if(!(t!=null&&t.workTimes))return{isTodayOpen:!1,isSuspend:!0,isOpen:!1,closeTime:""};const r={1:"MONDAY",2:"TUESDAY",3:"WEDNESDAY",4:"THURSDAY",5:"FRIDAY",6:"SATURDAY",0:"SUNDAY"},n=new Date,i=r[String(n.getDay())],a=t==null?void 0:t.workTimes.find(_=>_.workDays.includes(i)),u=Boolean(a);let f=!0;if(a){const _=Number(CI(n).format("HH:mm").replace(":","")),{workHour:E,lunchBreakHour:y}=a;E.start?(_<Number(E.start.replace(":",""))||_>Number(E.end.replace(":",""))||y.start&&_>=Number(y.start.replace(":",""))&&_<=Number(y.end.replace(":","")))&&(f=!1):f=!1}else f=!1;const d=new Date().getTime();let l=!1;return e.forEach(_=>{d>=Number(_.suspendStartTime)&&d<=Number(_.suspendEndTime)&&(l=!0)}),{isTodayOpen:u,isSuspend:l,isOpen:f,closeTime:f?a.workHour.end:""}},wG=t=>{function e(l){const _=Math.floor(l/60),E=l%60;return`${_.toString().padStart(2,"0")}:${E.toString().padStart(2,"0")}`}const r=new Date,n=r.getHours(),i=r.getMinutes(),a=n*60+i,u=[];return t.forEach(l=>{const[_,E]=l.split("-").map(y=>{const[b,S]=y.split(":").map(Number);return b*60+S});a<_?u.push([_,E]):a>=_&&a<E&&u.push([a,E])}),u.sort((l,_)=>l[0]-_[0]),u.reduce((l,_)=>{if(l.length===0)return[_];const E=l[l.length-1];return E[1]===_[0]?l[l.length-1]=[E[0],_[1]]:l.push(_),l},[]).map(([l,_])=>`${e(l)}-${e(_)}`)};function Ts(t){var e=t.split(":");return parseInt(e[0],10)*60+parseInt(e[1],10)}function RI(t){var e=Math.floor(t/60),r=t%60;return(e<10?"0":"")+e+":"+(r<10?"0":"")+r}function dl(t){if(t.length===0)return[];t.sort(function(a,u){return a[0]-u[0]});for(var e=[t[0]],r=1;r<t.length;r++){var n=e[e.length-1],i=t[r];i[0]<=n[1]?n[1]=Math.max(n[1],i[1]):e.push(i)}return e}function vg(t,e){var r=[],n=e[0],i=e[1];return t.forEach(function(a){var u=a[0],f=a[1];f<=n?r.push([u,f]):u>=i?r.push([u,f]):(u<n&&r.push([u,n]),f>i&&r.push([i,f]))}),r}function CG(t,e,r,n){var i=t.split("-").map(Ts),a=[[i[0],i[1]]];if(n){var u=n.split("-").map(Ts);a.push([u[0],u[1]]),a=dl(a)}if(e){var f=e.split("-").map(Ts);a=vg(a,f),a=dl(a)}if(r){var d=r.split("-").map(Ts);a=vg(a,d),a=dl(a)}return a.map(function(l){return l.map(RI).join("-")})}const PG=t=>{if(console.log(t,"\u624B\u673A\u53F7\u7801"),typeof t!="string")return"";const e=t.length;if(e<=4)return"*".repeat(e);const r=Math.min(4,e-4),n=e-4-r;return t.substr(0,n)+"****"+t.substr(-r)};function RG(t,e,r,n,i,a,u,f){var d=typeof t=="function"?t.options:t;e&&(d.render=e,d.staticRenderFns=r,d._compiled=!0),n&&(d.functional=!0),a&&(d._scopeId="data-v-"+a);var l;if(u?(l=function(y){y=y||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!y&&typeof __VUE_SSR_CONTEXT__<"u"&&(y=__VUE_SSR_CONTEXT__),i&&i.call(this,y),y&&y._registeredComponents&&y._registeredComponents.add(u)},d._ssrRegister=l):i&&(l=f?function(){i.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(d.functional){d._injectStyles=l;var _=d.render;d.render=function(b,S){return l.call(S),_(b,S)}}else{var E=d.beforeCreate;d.beforeCreate=E?[].concat(E,l):[l]}return{exports:t,options:d}}Object.fromEntries||(Object.fromEntries=function(t){const e={};for(let r=0;r<t.length;r++)e[t[r][0]]=t[r][1];return e});Object.entries||(Object.entries=function(t){t=Object(t);const e=Object.keys(t),r=e.length,n=[];for(let i=0;i<r;i++)n[i]=[e[i],t[e[i]]];return n});Object.values||(Object.values=function(t){t=Object(t);const e=Object.keys(t),r=e.length,n=[];for(let i=0;i<r;i++)n[i]=t[e[i]];return n});Array.prototype.flat||(Array.prototype.flat=function(t){const e=[];function r(n,i){for(let a=0;a<n.length;a++)Array.isArray(n[a])&&i<t?r(n[a],i+1):e.push(n[a])}return r(this,0),e});Promise.prototype.finally||(Promise.prototype.finally=function(t){if(typeof t!="function")return this.then(t,t);const e=this.constructor||Promise;return this.then(r=>e.resolve(t()).then(()=>r),r=>e.resolve(t()).then(()=>{throw r}))});var DI=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof global=="object"?global:{},Wn="1.9.0",gg=/^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;function II(t){var e=new Set([t]),r=new Set,n=t.match(gg);if(!n)return function(){return!1};var i={major:+n[1],minor:+n[2],patch:+n[3],prerelease:n[4]};if(i.prerelease!=null)return function(d){return d===t};function a(f){return r.add(f),!1}function u(f){return e.add(f),!0}return function(d){if(e.has(d))return!0;if(r.has(d))return!1;var l=d.match(gg);if(!l)return a(d);var _={major:+l[1],minor:+l[2],patch:+l[3],prerelease:l[4]};return _.prerelease!=null||i.major!==_.major?a(d):i.major===0?i.minor===_.minor&&i.patch<=_.patch?u(d):a(d):i.minor<=_.minor?u(d):a(d)}}var NI=II(Wn),LI=Wn.split(".")[0],xa=Symbol.for("opentelemetry.js.api."+LI),ba=DI;function Fa(t,e,r,n){var i;n===void 0&&(n=!1);var a=ba[xa]=(i=ba[xa])!==null&&i!==void 0?i:{version:Wn};if(!n&&a[t]){var u=new Error("@opentelemetry/api: Attempted duplicate registration of API: "+t);return r.error(u.stack||u.message),!1}if(a.version!==Wn){var u=new Error("@opentelemetry/api: Registration of version v"+a.version+" for "+t+" does not match previously registered API v"+Wn);return r.error(u.stack||u.message),!1}return a[t]=e,r.debug("@opentelemetry/api: Registered a global for "+t+" v"+Wn+"."),!0}function oi(t){var e,r,n=(e=ba[xa])===null||e===void 0?void 0:e.version;if(!(!n||!NI(n)))return(r=ba[xa])===null||r===void 0?void 0:r[t]}function $a(t,e){e.debug("@opentelemetry/api: Unregistering a global for "+t+" v"+Wn+".");var r=ba[xa];r&&delete r[t]}var BI=globalThis&&globalThis.__read||function(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,a=[],u;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)a.push(i.value)}catch(f){u={error:f}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(u)throw u.error}}return a},MI=globalThis&&globalThis.__spreadArray||function(t,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,a;n<i;n++)(a||!(n in e))&&(a||(a=Array.prototype.slice.call(e,0,n)),a[n]=e[n]);return t.concat(a||Array.prototype.slice.call(e))},FI=function(){function t(e){this._namespace=e.namespace||"DiagComponentLogger"}return t.prototype.debug=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return Go("debug",this._namespace,e)},t.prototype.error=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return Go("error",this._namespace,e)},t.prototype.info=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return Go("info",this._namespace,e)},t.prototype.warn=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return Go("warn",this._namespace,e)},t.prototype.verbose=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return Go("verbose",this._namespace,e)},t}();function Go(t,e,r){var n=oi("diag");if(!!n)return r.unshift(e),n[t].apply(n,MI([],BI(r),!1))}var Ut;(function(t){t[t.NONE=0]="NONE",t[t.ERROR=30]="ERROR",t[t.WARN=50]="WARN",t[t.INFO=60]="INFO",t[t.DEBUG=70]="DEBUG",t[t.VERBOSE=80]="VERBOSE",t[t.ALL=9999]="ALL"})(Ut||(Ut={}));function $I(t,e){t<Ut.NONE?t=Ut.NONE:t>Ut.ALL&&(t=Ut.ALL),e=e||{};function r(n,i){var a=e[n];return typeof a=="function"&&t>=i?a.bind(e):function(){}}return{error:r("error",Ut.ERROR),warn:r("warn",Ut.WARN),info:r("info",Ut.INFO),debug:r("debug",Ut.DEBUG),verbose:r("verbose",Ut.VERBOSE)}}var kI=globalThis&&globalThis.__read||function(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,a=[],u;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)a.push(i.value)}catch(f){u={error:f}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(u)throw u.error}}return a},UI=globalThis&&globalThis.__spreadArray||function(t,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,a;n<i;n++)(a||!(n in e))&&(a||(a=Array.prototype.slice.call(e,0,n)),a[n]=e[n]);return t.concat(a||Array.prototype.slice.call(e))},jI="diag",Nr=function(){function t(){function e(i){return function(){for(var a=[],u=0;u<arguments.length;u++)a[u]=arguments[u];var f=oi("diag");if(!!f)return f[i].apply(f,UI([],kI(a),!1))}}var r=this,n=function(i,a){var u,f,d;if(a===void 0&&(a={logLevel:Ut.INFO}),i===r){var l=new Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation");return r.error((u=l.stack)!==null&&u!==void 0?u:l.message),!1}typeof a=="number"&&(a={logLevel:a});var _=oi("diag"),E=$I((f=a.logLevel)!==null&&f!==void 0?f:Ut.INFO,i);if(_&&!a.suppressOverrideMessage){var y=(d=new Error().stack)!==null&&d!==void 0?d:"<failed to generate stacktrace>";_.warn("Current logger will be overwritten from "+y),E.warn("Current logger will overwrite one already registered from "+y)}return Fa("diag",E,r,!0)};r.setLogger=n,r.disable=function(){$a(jI,r)},r.createComponentLogger=function(i){return new FI(i)},r.verbose=e("verbose"),r.debug=e("debug"),r.info=e("info"),r.warn=e("warn"),r.error=e("error")}return t.instance=function(){return this._instance||(this._instance=new t),this._instance},t}(),HI=globalThis&&globalThis.__read||function(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,a=[],u;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)a.push(i.value)}catch(f){u={error:f}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(u)throw u.error}}return a},GI=globalThis&&globalThis.__values||function(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},VI=function(){function t(e){this._entries=e?new Map(e):new Map}return t.prototype.getEntry=function(e){var r=this._entries.get(e);if(!!r)return Object.assign({},r)},t.prototype.getAllEntries=function(){return Array.from(this._entries.entries()).map(function(e){var r=HI(e,2),n=r[0],i=r[1];return[n,i]})},t.prototype.setEntry=function(e,r){var n=new t(this._entries);return n._entries.set(e,r),n},t.prototype.removeEntry=function(e){var r=new t(this._entries);return r._entries.delete(e),r},t.prototype.removeEntries=function(){for(var e,r,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var a=new t(this._entries);try{for(var u=GI(n),f=u.next();!f.done;f=u.next()){var d=f.value;a._entries.delete(d)}}catch(l){e={error:l}}finally{try{f&&!f.done&&(r=u.return)&&r.call(u)}finally{if(e)throw e.error}}return a},t.prototype.clear=function(){return new t},t}(),WI=Symbol("BaggageEntryMetadata"),KI=Nr.instance();function qI(t){return t===void 0&&(t={}),new VI(new Map(Object.entries(t)))}function zI(t){return typeof t!="string"&&(KI.error("Cannot create baggage metadata from unknown type: "+typeof t),t=""),{__TYPE__:WI,toString:function(){return t}}}function oc(t){return Symbol.for(t)}var XI=function(){function t(e){var r=this;r._currentContext=e?new Map(e):new Map,r.getValue=function(n){return r._currentContext.get(n)},r.setValue=function(n,i){var a=new t(r._currentContext);return a._currentContext.set(n,i),a},r.deleteValue=function(n){var i=new t(r._currentContext);return i._currentContext.delete(n),i}}return t}(),er=new XI,pl=[{n:"error",c:"error"},{n:"warn",c:"warn"},{n:"info",c:"info"},{n:"debug",c:"debug"},{n:"verbose",c:"trace"}],JI=function(){function t(){function e(n){return function(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];if(console){var u=console[n];if(typeof u!="function"&&(u=console.log),typeof u=="function")return u.apply(console,i)}}}for(var r=0;r<pl.length;r++)this[pl[r].n]=e(pl[r].c)}return t}(),Ei=globalThis&&globalThis.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),YI=function(){function t(){}return t.prototype.createGauge=function(e,r){return sN},t.prototype.createHistogram=function(e,r){return uN},t.prototype.createCounter=function(e,r){return aN},t.prototype.createUpDownCounter=function(e,r){return cN},t.prototype.createObservableGauge=function(e,r){return lN},t.prototype.createObservableCounter=function(e,r){return fN},t.prototype.createObservableUpDownCounter=function(e,r){return dN},t.prototype.addBatchObservableCallback=function(e,r){},t.prototype.removeBatchObservableCallback=function(e){},t}(),ac=function(){function t(){}return t}(),ZI=function(t){Ei(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.add=function(r,n){},e}(ac),QI=function(t){Ei(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.add=function(r,n){},e}(ac),tN=function(t){Ei(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.record=function(r,n){},e}(ac),eN=function(t){Ei(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.record=function(r,n){},e}(ac),Yd=function(){function t(){}return t.prototype.addCallback=function(e){},t.prototype.removeCallback=function(e){},t}(),rN=function(t){Ei(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e}(Yd),nN=function(t){Ei(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e}(Yd),iN=function(t){Ei(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e}(Yd),oN=new YI,aN=new ZI,sN=new tN,uN=new eN,cN=new QI,fN=new rN,lN=new nN,dN=new iN,pN={get:function(t,e){if(t!=null)return t[e]},keys:function(t){return t==null?[]:Object.keys(t)}},hN={set:function(t,e,r){t!=null&&(t[e]=r)}},_N=globalThis&&globalThis.__read||function(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,a=[],u;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)a.push(i.value)}catch(f){u={error:f}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(u)throw u.error}}return a},vN=globalThis&&globalThis.__spreadArray||function(t,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,a;n<i;n++)(a||!(n in e))&&(a||(a=Array.prototype.slice.call(e,0,n)),a[n]=e[n]);return t.concat(a||Array.prototype.slice.call(e))},gN=function(){function t(){}return t.prototype.active=function(){return er},t.prototype.with=function(e,r,n){for(var i=[],a=3;a<arguments.length;a++)i[a-3]=arguments[a];return r.call.apply(r,vN([n],_N(i),!1))},t.prototype.bind=function(e,r){return r},t.prototype.enable=function(){return this},t.prototype.disable=function(){return this},t}(),mN=globalThis&&globalThis.__read||function(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,a=[],u;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)a.push(i.value)}catch(f){u={error:f}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(u)throw u.error}}return a},yN=globalThis&&globalThis.__spreadArray||function(t,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,a;n<i;n++)(a||!(n in e))&&(a||(a=Array.prototype.slice.call(e,0,n)),a[n]=e[n]);return t.concat(a||Array.prototype.slice.call(e))},hl="context",EN=new gN,sc=function(){function t(){}return t.getInstance=function(){return this._instance||(this._instance=new t),this._instance},t.prototype.setGlobalContextManager=function(e){return Fa(hl,e,Nr.instance())},t.prototype.active=function(){return this._getContextManager().active()},t.prototype.with=function(e,r,n){for(var i,a=[],u=3;u<arguments.length;u++)a[u-3]=arguments[u];return(i=this._getContextManager()).with.apply(i,yN([e,r,n],mN(a),!1))},t.prototype.bind=function(e,r){return this._getContextManager().bind(e,r)},t.prototype._getContextManager=function(){return oi(hl)||EN},t.prototype.disable=function(){this._getContextManager().disable(),$a(hl,Nr.instance())},t}(),tn;(function(t){t[t.NONE=0]="NONE",t[t.SAMPLED=1]="SAMPLED"})(tn||(tn={}));var i1="0000000000000000",o1="00000000000000000000000000000000",a1={traceId:o1,spanId:i1,traceFlags:tn.NONE},oa=function(){function t(e){e===void 0&&(e=a1),this._spanContext=e}return t.prototype.spanContext=function(){return this._spanContext},t.prototype.setAttribute=function(e,r){return this},t.prototype.setAttributes=function(e){return this},t.prototype.addEvent=function(e,r){return this},t.prototype.addLink=function(e){return this},t.prototype.addLinks=function(e){return this},t.prototype.setStatus=function(e){return this},t.prototype.updateName=function(e){return this},t.prototype.end=function(e){},t.prototype.isRecording=function(){return!1},t.prototype.recordException=function(e,r){},t}(),Zd=oc("OpenTelemetry Context Key SPAN");function Qd(t){return t.getValue(Zd)||void 0}function xN(){return Qd(sc.getInstance().active())}function tp(t,e){return t.setValue(Zd,e)}function bN(t){return t.deleteValue(Zd)}function TN(t,e){return tp(t,new oa(e))}function s1(t){var e;return(e=Qd(t))===null||e===void 0?void 0:e.spanContext()}var SN=/^([0-9a-f]{32})$/i,AN=/^[0-9a-f]{16}$/i;function u1(t){return SN.test(t)&&t!==o1}function ON(t){return AN.test(t)&&t!==i1}function ka(t){return u1(t.traceId)&&ON(t.spanId)}function wN(t){return new oa(t)}var _l=sc.getInstance(),c1=function(){function t(){}return t.prototype.startSpan=function(e,r,n){n===void 0&&(n=_l.active());var i=Boolean(r==null?void 0:r.root);if(i)return new oa;var a=n&&s1(n);return CN(a)&&ka(a)?new oa(a):new oa},t.prototype.startActiveSpan=function(e,r,n,i){var a,u,f;if(!(arguments.length<2)){arguments.length===2?f=r:arguments.length===3?(a=r,f=n):(a=r,u=n,f=i);var d=u!=null?u:_l.active(),l=this.startSpan(e,a,d),_=tp(d,l);return _l.with(_,f,void 0,l)}},t}();function CN(t){return typeof t=="object"&&typeof t.spanId=="string"&&typeof t.traceId=="string"&&typeof t.traceFlags=="number"}var PN=new c1,RN=function(){function t(e,r,n,i){this._provider=e,this.name=r,this.version=n,this.options=i}return t.prototype.startSpan=function(e,r,n){return this._getTracer().startSpan(e,r,n)},t.prototype.startActiveSpan=function(e,r,n,i){var a=this._getTracer();return Reflect.apply(a.startActiveSpan,a,arguments)},t.prototype._getTracer=function(){if(this._delegate)return this._delegate;var e=this._provider.getDelegateTracer(this.name,this.version,this.options);return e?(this._delegate=e,this._delegate):PN},t}(),DN=function(){function t(){}return t.prototype.getTracer=function(e,r,n){return new c1},t}(),IN=new DN,mg=function(){function t(){}return t.prototype.getTracer=function(e,r,n){var i;return(i=this.getDelegateTracer(e,r,n))!==null&&i!==void 0?i:new RN(this,e,r,n)},t.prototype.getDelegate=function(){var e;return(e=this._delegate)!==null&&e!==void 0?e:IN},t.prototype.setDelegate=function(e){this._delegate=e},t.prototype.getDelegateTracer=function(e,r,n){var i;return(i=this._delegate)===null||i===void 0?void 0:i.getTracer(e,r,n)},t}(),Au;(function(t){t[t.NOT_RECORD=0]="NOT_RECORD",t[t.RECORD=1]="RECORD",t[t.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"})(Au||(Au={}));var fo;(function(t){t[t.INTERNAL=0]="INTERNAL",t[t.SERVER=1]="SERVER",t[t.CLIENT=2]="CLIENT",t[t.PRODUCER=3]="PRODUCER",t[t.CONSUMER=4]="CONSUMER"})(fo||(fo={}));var Ou;(function(t){t[t.UNSET=0]="UNSET",t[t.OK=1]="OK",t[t.ERROR=2]="ERROR"})(Ou||(Ou={}));var Rt=sc.getInstance(),ct=Nr.instance(),NN=function(){function t(){}return t.prototype.getMeter=function(e,r,n){return oN},t}(),LN=new NN,vl="metrics",BN=function(){function t(){}return t.getInstance=function(){return this._instance||(this._instance=new t),this._instance},t.prototype.setGlobalMeterProvider=function(e){return Fa(vl,e,Nr.instance())},t.prototype.getMeterProvider=function(){return oi(vl)||LN},t.prototype.getMeter=function(e,r,n){return this.getMeterProvider().getMeter(e,r,n)},t.prototype.disable=function(){$a(vl,Nr.instance())},t}(),f1=BN.getInstance(),MN=function(){function t(){}return t.prototype.inject=function(e,r){},t.prototype.extract=function(e,r){return e},t.prototype.fields=function(){return[]},t}(),ep=oc("OpenTelemetry Baggage Key");function l1(t){return t.getValue(ep)||void 0}function FN(){return l1(sc.getInstance().active())}function $N(t,e){return t.setValue(ep,e)}function kN(t){return t.deleteValue(ep)}var gl="propagation",UN=new MN,jN=function(){function t(){this.createBaggage=qI,this.getBaggage=l1,this.getActiveBaggage=FN,this.setBaggage=$N,this.deleteBaggage=kN}return t.getInstance=function(){return this._instance||(this._instance=new t),this._instance},t.prototype.setGlobalPropagator=function(e){return Fa(gl,e,Nr.instance())},t.prototype.inject=function(e,r,n){return n===void 0&&(n=hN),this._getGlobalPropagator().inject(e,r,n)},t.prototype.extract=function(e,r,n){return n===void 0&&(n=pN),this._getGlobalPropagator().extract(e,r,n)},t.prototype.fields=function(){return this._getGlobalPropagator().fields()},t.prototype.disable=function(){$a(gl,Nr.instance())},t.prototype._getGlobalPropagator=function(){return oi(gl)||UN},t}(),rr=jN.getInstance(),ml="trace",HN=function(){function t(){this._proxyTracerProvider=new mg,this.wrapSpanContext=wN,this.isSpanContextValid=ka,this.deleteSpan=bN,this.getSpan=Qd,this.getActiveSpan=xN,this.getSpanContext=s1,this.setSpan=tp,this.setSpanContext=TN}return t.getInstance=function(){return this._instance||(this._instance=new t),this._instance},t.prototype.setGlobalTracerProvider=function(e){var r=Fa(ml,this._proxyTracerProvider,Nr.instance());return r&&this._proxyTracerProvider.setDelegate(e),r},t.prototype.getTracerProvider=function(){return oi(ml)||this._proxyTracerProvider},t.prototype.getTracer=function(e,r){return this.getTracerProvider().getTracer(e,r)},t.prototype.disable=function(){$a(ml,Nr.instance()),this._proxyTracerProvider=new mg},t}(),ne=HN.getInstance(),d1=oc("OpenTelemetry SDK Context Key SUPPRESS_TRACING");function GN(t){return t.setValue(d1,!0)}function rp(t){return t.getValue(d1)===!0}var VN="=",m0=";",y0=",",yl="baggage",WN=180,KN=4096,qN=8192,zN=globalThis&&globalThis.__read||function(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,a=[],u;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)a.push(i.value)}catch(f){u={error:f}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(u)throw u.error}}return a};function XN(t){return t.reduce(function(e,r){var n=""+e+(e!==""?y0:"")+r;return n.length>qN?e:n},"")}function JN(t){return t.getAllEntries().map(function(e){var r=zN(e,2),n=r[0],i=r[1],a=encodeURIComponent(n)+"="+encodeURIComponent(i.value);return i.metadata!==void 0&&(a+=m0+i.metadata.toString()),a})}function YN(t){var e=t.split(m0);if(!(e.length<=0)){var r=e.shift();if(!!r){var n=r.indexOf(VN);if(!(n<=0)){var i=decodeURIComponent(r.substring(0,n).trim()),a=decodeURIComponent(r.substring(n+1).trim()),u;return e.length>0&&(u=zI(e.join(m0))),{key:i,value:a,metadata:u}}}}}var ZN=function(){function t(){}return t.prototype.inject=function(e,r,n){var i=rr.getBaggage(e);if(!(!i||rp(e))){var a=JN(i).filter(function(f){return f.length<=KN}).slice(0,WN),u=XN(a);u.length>0&&n.set(r,yl,u)}},t.prototype.extract=function(e,r,n){var i=n.get(r,yl),a=Array.isArray(i)?i.join(y0):i;if(!a)return e;var u={};if(a.length===0)return e;var f=a.split(y0);return f.forEach(function(d){var l=YN(d);if(l){var _={value:l.value};l.metadata&&(_.metadata=l.metadata),u[l.key]=_}}),Object.entries(u).length===0?e:rr.setBaggage(e,rr.createBaggage(u))},t.prototype.fields=function(){return[yl]},t}(),p1=globalThis&&globalThis.__values||function(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},QN=globalThis&&globalThis.__read||function(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,a=[],u;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)a.push(i.value)}catch(f){u={error:f}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(u)throw u.error}}return a};function qs(t){var e,r,n={};if(typeof t!="object"||t==null)return n;try{for(var i=p1(Object.entries(t)),a=i.next();!a.done;a=i.next()){var u=QN(a.value,2),f=u[0],d=u[1];if(!t3(f)){ct.warn("Invalid attribute key: "+f);continue}if(!np(d)){ct.warn("Invalid attribute value set for key: "+f);continue}Array.isArray(d)?n[f]=d.slice():n[f]=d}}catch(l){e={error:l}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return n}function t3(t){return typeof t=="string"&&t.length>0}function np(t){return t==null?!0:Array.isArray(t)?e3(t):h1(t)}function e3(t){var e,r,n;try{for(var i=p1(t),a=i.next();!a.done;a=i.next()){var u=a.value;if(u!=null){if(!n){if(h1(u)){n=typeof u;continue}return!1}if(typeof u!==n)return!1}}}catch(f){e={error:f}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return!0}function h1(t){switch(typeof t){case"number":case"boolean":case"string":return!0}return!1}function r3(){return function(t){ct.error(n3(t))}}function n3(t){return typeof t=="string"?t:JSON.stringify(i3(t))}function i3(t){for(var e={},r=t;r!==null;)Object.getOwnPropertyNames(r).forEach(function(n){if(!e[n]){var i=r[n];i&&(e[n]=String(i))}}),r=Object.getPrototypeOf(r);return e}var o3=r3();function lo(t){try{o3(t)}catch(e){}}var Or;(function(t){t.AlwaysOff="always_off",t.AlwaysOn="always_on",t.ParentBasedAlwaysOff="parentbased_always_off",t.ParentBasedAlwaysOn="parentbased_always_on",t.ParentBasedTraceIdRatio="parentbased_traceidratio",t.TraceIdRatio="traceidratio"})(Or||(Or={}));var a3=",",s3=["OTEL_SDK_DISABLED"];function u3(t){return s3.indexOf(t)>-1}var c3=["OTEL_BSP_EXPORT_TIMEOUT","OTEL_BSP_MAX_EXPORT_BATCH_SIZE","OTEL_BSP_MAX_QUEUE_SIZE","OTEL_BSP_SCHEDULE_DELAY","OTEL_BLRP_EXPORT_TIMEOUT","OTEL_BLRP_MAX_EXPORT_BATCH_SIZE","OTEL_BLRP_MAX_QUEUE_SIZE","OTEL_BLRP_SCHEDULE_DELAY","OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT","OTEL_ATTRIBUTE_COUNT_LIMIT","OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT","OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT","OTEL_LOGRECORD_ATTRIBUTE_VALUE_LENGTH_LIMIT","OTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMIT","OTEL_SPAN_EVENT_COUNT_LIMIT","OTEL_SPAN_LINK_COUNT_LIMIT","OTEL_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT","OTEL_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT","OTEL_EXPORTER_OTLP_TIMEOUT","OTEL_EXPORTER_OTLP_TRACES_TIMEOUT","OTEL_EXPORTER_OTLP_METRICS_TIMEOUT","OTEL_EXPORTER_OTLP_LOGS_TIMEOUT","OTEL_EXPORTER_JAEGER_AGENT_PORT"];function f3(t){return c3.indexOf(t)>-1}var l3=["OTEL_NO_PATCH_MODULES","OTEL_PROPAGATORS","OTEL_SEMCONV_STABILITY_OPT_IN"];function d3(t){return l3.indexOf(t)>-1}var zs=1/0,Xs=128,p3=128,h3=128,_1={OTEL_SDK_DISABLED:!1,CONTAINER_NAME:"",ECS_CONTAINER_METADATA_URI_V4:"",ECS_CONTAINER_METADATA_URI:"",HOSTNAME:"",KUBERNETES_SERVICE_HOST:"",NAMESPACE:"",OTEL_BSP_EXPORT_TIMEOUT:3e4,OTEL_BSP_MAX_EXPORT_BATCH_SIZE:512,OTEL_BSP_MAX_QUEUE_SIZE:2048,OTEL_BSP_SCHEDULE_DELAY:5e3,OTEL_BLRP_EXPORT_TIMEOUT:3e4,OTEL_BLRP_MAX_EXPORT_BATCH_SIZE:512,OTEL_BLRP_MAX_QUEUE_SIZE:2048,OTEL_BLRP_SCHEDULE_DELAY:5e3,OTEL_EXPORTER_JAEGER_AGENT_HOST:"",OTEL_EXPORTER_JAEGER_AGENT_PORT:6832,OTEL_EXPORTER_JAEGER_ENDPOINT:"",OTEL_EXPORTER_JAEGER_PASSWORD:"",OTEL_EXPORTER_JAEGER_USER:"",OTEL_EXPORTER_OTLP_ENDPOINT:"",OTEL_EXPORTER_OTLP_TRACES_ENDPOINT:"",OTEL_EXPORTER_OTLP_METRICS_ENDPOINT:"",OTEL_EXPORTER_OTLP_LOGS_ENDPOINT:"",OTEL_EXPORTER_OTLP_HEADERS:"",OTEL_EXPORTER_OTLP_TRACES_HEADERS:"",OTEL_EXPORTER_OTLP_METRICS_HEADERS:"",OTEL_EXPORTER_OTLP_LOGS_HEADERS:"",OTEL_EXPORTER_OTLP_TIMEOUT:1e4,OTEL_EXPORTER_OTLP_TRACES_TIMEOUT:1e4,OTEL_EXPORTER_OTLP_METRICS_TIMEOUT:1e4,OTEL_EXPORTER_OTLP_LOGS_TIMEOUT:1e4,OTEL_EXPORTER_ZIPKIN_ENDPOINT:"http://localhost:9411/api/v2/spans",OTEL_LOG_LEVEL:Ut.INFO,OTEL_NO_PATCH_MODULES:[],OTEL_PROPAGATORS:["tracecontext","baggage"],OTEL_RESOURCE_ATTRIBUTES:"",OTEL_SERVICE_NAME:"",OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT:zs,OTEL_ATTRIBUTE_COUNT_LIMIT:Xs,OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT:zs,OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT:Xs,OTEL_LOGRECORD_ATTRIBUTE_VALUE_LENGTH_LIMIT:zs,OTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMIT:Xs,OTEL_SPAN_EVENT_COUNT_LIMIT:128,OTEL_SPAN_LINK_COUNT_LIMIT:128,OTEL_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT:p3,OTEL_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT:h3,OTEL_TRACES_EXPORTER:"",OTEL_TRACES_SAMPLER:Or.ParentBasedAlwaysOn,OTEL_TRACES_SAMPLER_ARG:"",OTEL_LOGS_EXPORTER:"",OTEL_EXPORTER_OTLP_INSECURE:"",OTEL_EXPORTER_OTLP_TRACES_INSECURE:"",OTEL_EXPORTER_OTLP_METRICS_INSECURE:"",OTEL_EXPORTER_OTLP_LOGS_INSECURE:"",OTEL_EXPORTER_OTLP_CERTIFICATE:"",OTEL_EXPORTER_OTLP_TRACES_CERTIFICATE:"",OTEL_EXPORTER_OTLP_METRICS_CERTIFICATE:"",OTEL_EXPORTER_OTLP_LOGS_CERTIFICATE:"",OTEL_EXPORTER_OTLP_COMPRESSION:"",OTEL_EXPORTER_OTLP_TRACES_COMPRESSION:"",OTEL_EXPORTER_OTLP_METRICS_COMPRESSION:"",OTEL_EXPORTER_OTLP_LOGS_COMPRESSION:"",OTEL_EXPORTER_OTLP_CLIENT_KEY:"",OTEL_EXPORTER_OTLP_TRACES_CLIENT_KEY:"",OTEL_EXPORTER_OTLP_METRICS_CLIENT_KEY:"",OTEL_EXPORTER_OTLP_LOGS_CLIENT_KEY:"",OTEL_EXPORTER_OTLP_CLIENT_CERTIFICATE:"",OTEL_EXPORTER_OTLP_TRACES_CLIENT_CERTIFICATE:"",OTEL_EXPORTER_OTLP_METRICS_CLIENT_CERTIFICATE:"",OTEL_EXPORTER_OTLP_LOGS_CLIENT_CERTIFICATE:"",OTEL_EXPORTER_OTLP_PROTOCOL:"http/protobuf",OTEL_EXPORTER_OTLP_TRACES_PROTOCOL:"http/protobuf",OTEL_EXPORTER_OTLP_METRICS_PROTOCOL:"http/protobuf",OTEL_EXPORTER_OTLP_LOGS_PROTOCOL:"http/protobuf",OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE:"cumulative",OTEL_SEMCONV_STABILITY_OPT_IN:[]};function _3(t,e,r){if(!(typeof r[t]>"u")){var n=String(r[t]);e[t]=n.toLowerCase()==="true"}}function v3(t,e,r,n,i){if(n===void 0&&(n=-1/0),i===void 0&&(i=1/0),typeof r[t]<"u"){var a=Number(r[t]);isNaN(a)||(a<n?e[t]=n:a>i?e[t]=i:e[t]=a)}}function g3(t,e,r,n){n===void 0&&(n=a3);var i=r[t];typeof i=="string"&&(e[t]=i.split(n).map(function(a){return a.trim()}))}var m3={ALL:Ut.ALL,VERBOSE:Ut.VERBOSE,DEBUG:Ut.DEBUG,INFO:Ut.INFO,WARN:Ut.WARN,ERROR:Ut.ERROR,NONE:Ut.NONE};function y3(t,e,r){var n=r[t];if(typeof n=="string"){var i=m3[n.toUpperCase()];i!=null&&(e[t]=i)}}function v1(t){var e={};for(var r in _1){var n=r;switch(n){case"OTEL_LOG_LEVEL":y3(n,e,t);break;default:if(u3(n))_3(n,e,t);else if(f3(n))v3(n,e,t);else if(d3(n))g3(n,e,t);else{var i=t[n];typeof i<"u"&&i!==null&&(e[n]=String(i))}}}return e}var g1=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof global=="object"?global:{};function Ta(){var t=v1(g1);return Object.assign({},_1,t)}function E3(){return v1(g1)}var x3=8,b3=16,T3=function(){function t(){this.generateTraceId=yg(b3),this.generateSpanId=yg(x3)}return t}(),Ss=Array(32);function yg(t){return function(){for(var r=0;r<t*2;r++)Ss[r]=Math.floor(Math.random()*16)+48,Ss[r]>=58&&(Ss[r]+=39);return String.fromCharCode.apply(null,Ss.slice(0,t*2))}}var Je=performance,S3="1.30.1",A3="exception.type",O3="exception.message",w3="exception.stacktrace",C3="http.response_content_length",P3="http.response_content_length_uncompressed",El=A3,xl=O3,R3=w3,D3=C3,I3=P3,N3="process.runtime.name",L3="service.name",B3="telemetry.sdk.name",M3="telemetry.sdk.language",F3="telemetry.sdk.version",$3=N3,k3=L3,E0=B3,x0=M3,b0=F3,U3="webjs",j3=U3,Mi,bl=(Mi={},Mi[E0]="opentelemetry",Mi[$3]="browser",Mi[x0]=j3,Mi[b0]=S3,Mi);var H3=9,G3=6,V3=Math.pow(10,G3),wu=Math.pow(10,H3);function qi(t){var e=t/1e3,r=Math.trunc(e),n=Math.round(t%1e3*V3);return[r,n]}function m1(){var t=Je.timeOrigin;if(typeof t!="number"){var e=Je;t=e.timing&&e.timing.fetchStart}return t}function Cu(t){var e=qi(m1()),r=qi(typeof t=="number"?t:Je.now());return E1(e,r)}function W3(t,e){var r=e[0]-t[0],n=e[1]-t[1];return n<0&&(r-=1,n+=wu),[r,n]}function Ve(t){return t[0]*wu+t[1]}function y1(t){return Array.isArray(t)&&t.length===2&&typeof t[0]=="number"&&typeof t[1]=="number"}function Eg(t){return y1(t)||typeof t=="number"||t instanceof Date}function E1(t,e){var r=[t[0]+e[0],t[1]+e[1]];return r[1]>=wu&&(r[1]-=wu,r[0]+=1),r}var T0;(function(t){t[t.SUCCESS=0]="SUCCESS",t[t.FAILED=1]="FAILED"})(T0||(T0={}));var K3=globalThis&&globalThis.__values||function(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},q3=function(){function t(e){e===void 0&&(e={});var r;this._propagators=(r=e.propagators)!==null&&r!==void 0?r:[],this._fields=Array.from(new Set(this._propagators.map(function(n){return typeof n.fields=="function"?n.fields():[]}).reduce(function(n,i){return n.concat(i)},[])))}return t.prototype.inject=function(e,r,n){var i,a;try{for(var u=K3(this._propagators),f=u.next();!f.done;f=u.next()){var d=f.value;try{d.inject(e,r,n)}catch(l){ct.warn("Failed to inject with "+d.constructor.name+". Err: "+l.message)}}}catch(l){i={error:l}}finally{try{f&&!f.done&&(a=u.return)&&a.call(u)}finally{if(i)throw i.error}}},t.prototype.extract=function(e,r,n){return this._propagators.reduce(function(i,a){try{return a.extract(i,r,n)}catch(u){ct.warn("Failed to extract with "+a.constructor.name+". Err: "+u.message)}return i},e)},t.prototype.fields=function(){return this._fields.slice()},t}(),S0="[_0-9a-z-*/]",z3="[a-z]"+S0+"{0,255}",X3="[a-z0-9]"+S0+"{0,240}@[a-z]"+S0+"{0,13}",J3=new RegExp("^(?:"+z3+"|"+X3+")$"),Y3=/^[ -~]{0,255}[!-~]$/,Z3=/,|=/;function Q3(t){return J3.test(t)}function tL(t){return Y3.test(t)&&!Z3.test(t)}var xg=32,eL=512,bg=",",Tg="=",rL=function(){function t(e){this._internalState=new Map,e&&this._parse(e)}return t.prototype.set=function(e,r){var n=this._clone();return n._internalState.has(e)&&n._internalState.delete(e),n._internalState.set(e,r),n},t.prototype.unset=function(e){var r=this._clone();return r._internalState.delete(e),r},t.prototype.get=function(e){return this._internalState.get(e)},t.prototype.serialize=function(){var e=this;return this._keys().reduce(function(r,n){return r.push(n+Tg+e.get(n)),r},[]).join(bg)},t.prototype._parse=function(e){e.length>eL||(this._internalState=e.split(bg).reverse().reduce(function(r,n){var i=n.trim(),a=i.indexOf(Tg);if(a!==-1){var u=i.slice(0,a),f=i.slice(a+1,n.length);Q3(u)&&tL(f)&&r.set(u,f)}return r},new Map),this._internalState.size>xg&&(this._internalState=new Map(Array.from(this._internalState.entries()).reverse().slice(0,xg))))},t.prototype._keys=function(){return Array.from(this._internalState.keys()).reverse()},t.prototype._clone=function(){var e=new t;return e._internalState=new Map(this._internalState),e},t}(),Js="traceparent",Tl="tracestate",nL="00",iL="(?!ff)[\\da-f]{2}",oL="(?![0]{32})[\\da-f]{32}",aL="(?![0]{16})[\\da-f]{16}",sL="[\\da-f]{2}",uL=new RegExp("^\\s?("+iL+")-("+oL+")-("+aL+")-("+sL+")(-.*)?\\s?$");function cL(t){var e=uL.exec(t);return!e||e[1]==="00"&&e[5]?null:{traceId:e[2],spanId:e[3],traceFlags:parseInt(e[4],16)}}var x1=function(){function t(){}return t.prototype.inject=function(e,r,n){var i=ne.getSpanContext(e);if(!(!i||rp(e)||!ka(i))){var a=nL+"-"+i.traceId+"-"+i.spanId+"-0"+Number(i.traceFlags||tn.NONE).toString(16);n.set(r,Js,a),i.traceState&&n.set(r,Tl,i.traceState.serialize())}},t.prototype.extract=function(e,r,n){var i=n.get(r,Js);if(!i)return e;var a=Array.isArray(i)?i[0]:i;if(typeof a!="string")return e;var u=cL(a);if(!u)return e;u.isRemote=!0;var f=n.get(r,Tl);if(f){var d=Array.isArray(f)?f.join(","):f;u.traceState=new rL(typeof d=="string"?d:void 0)}return ne.setSpanContext(e,u)},t.prototype.fields=function(){return[Js,Tl]},t}(),fL="[object Object]",lL="[object Null]",dL="[object Undefined]",pL=Function.prototype,b1=pL.toString,hL=b1.call(Object),_L=vL(Object.getPrototypeOf,Object),T1=Object.prototype,S1=T1.hasOwnProperty,Hn=Symbol?Symbol.toStringTag:void 0,A1=T1.toString;function vL(t,e){return function(r){return t(e(r))}}function Sg(t){if(!gL(t)||mL(t)!==fL)return!1;var e=_L(t);if(e===null)return!0;var r=S1.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&b1.call(r)===hL}function gL(t){return t!=null&&typeof t=="object"}function mL(t){return t==null?t===void 0?dL:lL:Hn&&Hn in Object(t)?yL(t):EL(t)}function yL(t){var e=S1.call(t,Hn),r=t[Hn],n=!1;try{t[Hn]=void 0,n=!0}catch(a){}var i=A1.call(t);return n&&(e?t[Hn]=r:delete t[Hn]),i}function EL(t){return A1.call(t)}var xL=20;function bL(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var r=t.shift(),n=new WeakMap;t.length>0;)r=O1(r,t.shift(),0,n);return r}function Sl(t){return Pu(t)?t.slice():t}function O1(t,e,r,n){r===void 0&&(r=0);var i;if(!(r>xL)){if(r++,Ys(t)||Ys(e)||w1(e))i=Sl(e);else if(Pu(t)){if(i=t.slice(),Pu(e))for(var a=0,u=e.length;a<u;a++)i.push(Sl(e[a]));else if(Vo(e))for(var f=Object.keys(e),a=0,u=f.length;a<u;a++){var d=f[a];i[d]=Sl(e[d])}}else if(Vo(t))if(Vo(e)){if(!TL(t,e))return e;i=Object.assign({},t);for(var f=Object.keys(e),a=0,u=f.length;a<u;a++){var d=f[a],l=e[d];if(Ys(l))typeof l>"u"?delete i[d]:i[d]=l;else{var _=i[d],E=l;if(Ag(t,d,n)||Ag(e,d,n))delete i[d];else{if(Vo(_)&&Vo(E)){var y=n.get(_)||[],b=n.get(E)||[];y.push({obj:t,key:d}),b.push({obj:e,key:d}),n.set(_,y),n.set(E,b)}i[d]=O1(i[d],l,r,n)}}}}else i=e;return i}}function Ag(t,e,r){for(var n=r.get(t[e])||[],i=0,a=n.length;i<a;i++){var u=n[i];if(u.key===e&&u.obj===t)return!0}return!1}function Pu(t){return Array.isArray(t)}function w1(t){return typeof t=="function"}function Vo(t){return!Ys(t)&&!Pu(t)&&!w1(t)&&typeof t=="object"}function Ys(t){return typeof t=="string"||typeof t=="number"||typeof t=="boolean"||typeof t>"u"||t instanceof Date||t instanceof RegExp||t===null}function TL(t,e){return!(!Sg(t)||!Sg(e))}var SL=globalThis&&globalThis.__values||function(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};function AL(t,e){return typeof e=="string"?t===e:!!t.match(e)}function C1(t,e){var r,n;if(!e)return!1;try{for(var i=SL(e),a=i.next();!a.done;a=i.next()){var u=a.value;if(AL(t,u))return!0}}catch(f){r={error:f}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return!1}var OL=function(){function t(){var e=this;this._promise=new Promise(function(r,n){e._resolve=r,e._reject=n})}return Object.defineProperty(t.prototype,"promise",{get:function(){return this._promise},enumerable:!1,configurable:!0}),t.prototype.resolve=function(e){this._resolve(e)},t.prototype.reject=function(e){this._reject(e)},t}(),wL=globalThis&&globalThis.__read||function(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,a=[],u;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)a.push(i.value)}catch(f){u={error:f}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(u)throw u.error}}return a},CL=globalThis&&globalThis.__spreadArray||function(t,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,a;n<i;n++)(a||!(n in e))&&(a||(a=Array.prototype.slice.call(e,0,n)),a[n]=e[n]);return t.concat(a||Array.prototype.slice.call(e))},PL=function(){function t(e,r){this._callback=e,this._that=r,this._isCalled=!1,this._deferred=new OL}return Object.defineProperty(t.prototype,"isCalled",{get:function(){return this._isCalled},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"promise",{get:function(){return this._deferred.promise},enumerable:!1,configurable:!0}),t.prototype.call=function(){for(var e,r=this,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(!this._isCalled){this._isCalled=!0;try{Promise.resolve((e=this._callback).call.apply(e,CL([this._that],wL(n),!1))).then(function(a){return r._deferred.resolve(a)},function(a){return r._deferred.reject(a)})}catch(a){this._deferred.reject(a)}}return this._deferred.promise},t}();const P1={};function Og(t,e){if(e!=null){if(t.length===0){ct.warn(`Invalid attribute key: ${t}`);return}if(!np(e)){ct.warn(`Invalid attribute value set for key: ${t}`);return}P1[t]=e}}function R1(){return P1}class RL{constructor(){}onStart(e,r){const n=R1();if(n)for(const[i,a]of Object.entries(n))e.setAttribute(i,a)}onEnd(e){}forceFlush(){return Promise.resolve()}shutdown(){return Promise.resolve()}}class DL{async forceFlush(){return Promise.resolve()}onEmit(e){const r=R1();if(r)for(const[n,i]of Object.entries(r))e.setAttribute(n,i)}async shutdown(){return Promise.resolve()}}function IL(){return"unknown_service"}var ln=globalThis&&globalThis.__assign||function(){return ln=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++){e=arguments[r];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}return t},ln.apply(this,arguments)},NL=globalThis&&globalThis.__awaiter||function(t,e,r,n){function i(a){return a instanceof r?a:new r(function(u){u(a)})}return new(r||(r=Promise))(function(a,u){function f(_){try{l(n.next(_))}catch(E){u(E)}}function d(_){try{l(n.throw(_))}catch(E){u(E)}}function l(_){_.done?a(_.value):i(_.value).then(f,d)}l((n=n.apply(t,e||[])).next())})},LL=globalThis&&globalThis.__generator||function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,u;return u={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function f(l){return function(_){return d([l,_])}}function d(l){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(a=l[0]&2?i.return:l[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,l[1])).done)return a;switch(i=0,a&&(l=[l[0]&2,a.value]),l[0]){case 0:case 1:a=l;break;case 4:return r.label++,{value:l[1],done:!1};case 5:r.label++,i=l[1],l=[0];continue;case 7:l=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]<a[3])){r.label=l[1];break}if(l[0]===6&&r.label<a[1]){r.label=a[1],a=l;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(l);break}a[2]&&r.ops.pop(),r.trys.pop();continue}l=e.call(t,r)}catch(_){l=[6,_],i=0}finally{n=a=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},BL=globalThis&&globalThis.__read||function(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,a=[],u;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)a.push(i.value)}catch(f){u={error:f}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(u)throw u.error}}return a},po=function(){function t(e,r){var n=this,i;this._attributes=e,this.asyncAttributesPending=r!=null,this._syncAttributes=(i=this._attributes)!==null&&i!==void 0?i:{},this._asyncAttributesPromise=r==null?void 0:r.then(function(a){return n._attributes=Object.assign({},n._attributes,a),n.asyncAttributesPending=!1,a},function(a){return ct.debug("a resource's async attributes promise rejected: %s",a),n.asyncAttributesPending=!1,{}})}return t.empty=function(){return t.EMPTY},t.default=function(){var e;return new t((e={},e[k3]=IL(),e[x0]=bl[x0],e[E0]=bl[E0],e[b0]=bl[b0],e))},Object.defineProperty(t.prototype,"attributes",{get:function(){var e;return this.asyncAttributesPending&&ct.error("Accessing resource attributes before async attributes settled"),(e=this._attributes)!==null&&e!==void 0?e:{}},enumerable:!1,configurable:!0}),t.prototype.waitForAsyncAttributes=function(){return NL(this,void 0,void 0,function(){return LL(this,function(e){switch(e.label){case 0:return this.asyncAttributesPending?[4,this._asyncAttributesPromise]:[3,2];case 1:e.sent(),e.label=2;case 2:return[2]}})})},t.prototype.merge=function(e){var r=this,n;if(!e)return this;var i=ln(ln({},this._syncAttributes),(n=e._syncAttributes)!==null&&n!==void 0?n:e.attributes);if(!this._asyncAttributesPromise&&!e._asyncAttributesPromise)return new t(i);var a=Promise.all([this._asyncAttributesPromise,e._asyncAttributesPromise]).then(function(u){var f,d=BL(u,2),l=d[0],_=d[1];return ln(ln(ln(ln({},r._syncAttributes),l),(f=e._syncAttributes)!==null&&f!==void 0?f:e.attributes),_)});return new t(i,a)},t.EMPTY=new t({}),t}();function D1(t){let e={};const r=t.length;for(let n=0;n<r;n++){const i=t[n];i&&(e[String(i).toUpperCase().replace(/[-.]/g,"_")]=i)}return e}const ML="aws.lambda.invoked_arn",FL="db.system",$L="db.connection_string",kL="db.user",UL="db.jdbc.driver_classname",jL="db.name",HL="db.statement",GL="db.operation",VL="db.mssql.instance_name",WL="db.cassandra.keyspace",KL="db.cassandra.page_size",qL="db.cassandra.consistency_level",zL="db.cassandra.table",XL="db.cassandra.idempotence",JL="db.cassandra.speculative_execution_count",YL="db.cassandra.coordinator.id",ZL="db.cassandra.coordinator.dc",QL="db.hbase.namespace",tB="db.redis.database_index",eB="db.mongodb.collection",rB="db.sql.table",nB="exception.type",iB="exception.message",oB="exception.stacktrace",aB="exception.escaped",sB="faas.trigger",uB="faas.execution",cB="faas.document.collection",fB="faas.document.operation",lB="faas.document.time",dB="faas.document.name",pB="faas.time",hB="faas.cron",_B="faas.coldstart",vB="faas.invoked_name",gB="faas.invoked_provider",mB="faas.invoked_region",yB="net.transport",EB="net.peer.ip",xB="net.peer.port",bB="net.peer.name",TB="net.host.ip",SB="net.host.port",AB="net.host.name",OB="net.host.connection.type",wB="net.host.connection.subtype",CB="net.host.carrier.name",PB="net.host.carrier.mcc",RB="net.host.carrier.mnc",DB="net.host.carrier.icc",IB="peer.service",NB="enduser.id",LB="enduser.role",BB="enduser.scope",MB="thread.id",FB="thread.name",$B="code.function",kB="code.namespace",UB="code.filepath",jB="code.lineno",HB="http.method",I1="http.url",GB="http.target",VB="http.host",WB="http.scheme",KB="http.status_code",qB="http.flavor",N1="http.user_agent",zB="http.request_content_length",XB="http.request_content_length_uncompressed",JB="http.response_content_length",YB="http.response_content_length_uncompressed",ZB="http.server_name",QB="http.route",tM="http.client_ip",eM="aws.dynamodb.table_names",rM="aws.dynamodb.consumed_capacity",nM="aws.dynamodb.item_collection_metrics",iM="aws.dynamodb.provisioned_read_capacity",oM="aws.dynamodb.provisioned_write_capacity",aM="aws.dynamodb.consistent_read",sM="aws.dynamodb.projection",uM="aws.dynamodb.limit",cM="aws.dynamodb.attributes_to_get",fM="aws.dynamodb.index_name",lM="aws.dynamodb.select",dM="aws.dynamodb.global_secondary_indexes",pM="aws.dynamodb.local_secondary_indexes",hM="aws.dynamodb.exclusive_start_table",_M="aws.dynamodb.table_count",vM="aws.dynamodb.scan_forward",gM="aws.dynamodb.segment",mM="aws.dynamodb.total_segments",yM="aws.dynamodb.count",EM="aws.dynamodb.scanned_count",xM="aws.dynamodb.attribute_definitions",bM="aws.dynamodb.global_secondary_index_updates",TM="messaging.system",SM="messaging.destination",AM="messaging.destination_kind",OM="messaging.temp_destination",wM="messaging.protocol",CM="messaging.protocol_version",PM="messaging.url",RM="messaging.message_id",DM="messaging.conversation_id",IM="messaging.message_payload_size_bytes",NM="messaging.message_payload_compressed_size_bytes",LM="messaging.operation",BM="messaging.consumer_id",MM="messaging.rabbitmq.routing_key",FM="messaging.kafka.message_key",$M="messaging.kafka.consumer_group",kM="messaging.kafka.client_id",UM="messaging.kafka.partition",jM="messaging.kafka.tombstone",HM="rpc.system",GM="rpc.service",VM="rpc.method",WM="rpc.grpc.status_code",KM="rpc.jsonrpc.version",qM="rpc.jsonrpc.request_id",zM="rpc.jsonrpc.error_code",XM="rpc.jsonrpc.error_message",JM="message.type",YM="message.id",ZM="message.compressed_size",QM="message.uncompressed_size",Al=I1,t7=N1,Se=D1([ML,FL,$L,kL,UL,jL,HL,GL,VL,WL,KL,qL,zL,XL,JL,YL,ZL,QL,tB,eB,rB,nB,iB,oB,aB,sB,uB,cB,fB,lB,dB,pB,hB,_B,vB,gB,mB,yB,EB,xB,bB,TB,SB,AB,OB,wB,CB,PB,RB,DB,IB,NB,LB,BB,MB,FB,$B,kB,UB,jB,HB,I1,GB,VB,WB,KB,qB,N1,zB,XB,JB,YB,ZB,QB,tM,eM,rM,nM,iM,oM,aM,sM,uM,cM,fM,lM,dM,pM,hM,_M,vM,gM,mM,yM,EM,xM,bM,TM,SM,AM,OM,wM,CM,PM,RM,DM,IM,NM,LM,BM,MM,FM,$M,kM,UM,jM,HM,GM,VM,WM,KM,qM,zM,XM,JM,YM,ZM,QM]),e7="cloud.provider",r7="cloud.account.id",n7="cloud.region",i7="cloud.availability_zone",o7="cloud.platform",a7="aws.ecs.container.arn",s7="aws.ecs.cluster.arn",u7="aws.ecs.launchtype",c7="aws.ecs.task.arn",f7="aws.ecs.task.family",l7="aws.ecs.task.revision",d7="aws.eks.cluster.arn",p7="aws.log.group.names",h7="aws.log.group.arns",_7="aws.log.stream.names",v7="aws.log.stream.arns",g7="container.name",m7="container.id",y7="container.runtime",E7="container.image.name",x7="container.image.tag",b7="deployment.environment",T7="device.id",S7="device.model.identifier",A7="device.model.name",O7="faas.name",w7="faas.id",C7="faas.version",P7="faas.instance",R7="faas.max_memory",D7="host.id",I7="host.name",N7="host.type",L7="host.arch",B7="host.image.name",M7="host.image.id",F7="host.image.version",$7="k8s.cluster.name",k7="k8s.node.name",U7="k8s.node.uid",j7="k8s.namespace.name",H7="k8s.pod.uid",G7="k8s.pod.name",V7="k8s.container.name",W7="k8s.replicaset.uid",K7="k8s.replicaset.name",q7="k8s.deployment.uid",z7="k8s.deployment.name",X7="k8s.statefulset.uid",J7="k8s.statefulset.name",Y7="k8s.daemonset.uid",Z7="k8s.daemonset.name",Q7="k8s.job.uid",tF="k8s.job.name",eF="k8s.cronjob.uid",rF="k8s.cronjob.name",nF="os.type",iF="os.description",oF="os.name",aF="os.version",sF="process.pid",uF="process.executable.name",cF="process.executable.path",fF="process.command",lF="process.command_line",dF="process.command_args",pF="process.owner",hF="process.runtime.name",_F="process.runtime.version",vF="process.runtime.description",gF="service.name",mF="service.namespace",yF="service.instance.id",EF="service.version",xF="telemetry.sdk.name",bF="telemetry.sdk.language",TF="telemetry.sdk.version",SF="telemetry.auto.version",AF="webengine.name",OF="webengine.version",wF="webengine.description",Ol=D1([e7,r7,n7,i7,o7,a7,s7,u7,c7,f7,l7,d7,p7,h7,_7,v7,g7,m7,y7,E7,x7,b7,T7,S7,A7,O7,w7,C7,P7,R7,D7,I7,N7,L7,B7,M7,F7,$7,k7,U7,j7,H7,G7,V7,W7,K7,q7,z7,X7,J7,Y7,Z7,Q7,tF,eF,rF,nF,iF,oF,aF,sF,uF,cF,fF,lF,dF,pF,hF,_F,vF,gF,mF,yF,EF,xF,bF,TF,SF,AF,OF,wF]);var CF="exception",A0=globalThis&&globalThis.__assign||function(){return A0=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++){e=arguments[r];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}return t},A0.apply(this,arguments)},PF=globalThis&&globalThis.__values||function(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},wg=globalThis&&globalThis.__read||function(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,a=[],u;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)a.push(i.value)}catch(f){u={error:f}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(u)throw u.error}}return a},RF=globalThis&&globalThis.__spreadArray||function(t,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,a;n<i;n++)(a||!(n in e))&&(a||(a=Array.prototype.slice.call(e,0,n)),a[n]=e[n]);return t.concat(a||Array.prototype.slice.call(e))},DF=function(){function t(e,r,n,i,a,u,f,d,l,_){f===void 0&&(f=[]),this.attributes={},this.links=[],this.events=[],this._droppedAttributesCount=0,this._droppedEventsCount=0,this._droppedLinksCount=0,this.status={code:Ou.UNSET},this.endTime=[0,0],this._ended=!1,this._duration=[-1,-1],this.name=n,this._spanContext=i,this.parentSpanId=u,this.kind=a,this.links=f;var E=Date.now();this._performanceStartTime=Je.now(),this._performanceOffset=E-(this._performanceStartTime+m1()),this._startTimeProvided=d!=null,this.startTime=this._getTime(d!=null?d:E),this.resource=e.resource,this.instrumentationLibrary=e.instrumentationLibrary,this._spanLimits=e.getSpanLimits(),this._attributeValueLengthLimit=this._spanLimits.attributeValueLengthLimit||0,_!=null&&this.setAttributes(_),this._spanProcessor=e.getActiveSpanProcessor(),this._spanProcessor.onStart(this,r)}return t.prototype.spanContext=function(){return this._spanContext},t.prototype.setAttribute=function(e,r){return r==null||this._isSpanEnded()?this:e.length===0?(ct.warn("Invalid attribute key: "+e),this):np(r)?Object.keys(this.attributes).length>=this._spanLimits.attributeCountLimit&&!Object.prototype.hasOwnProperty.call(this.attributes,e)?(this._droppedAttributesCount++,this):(this.attributes[e]=this._truncateToSize(r),this):(ct.warn("Invalid attribute value set for key: "+e),this)},t.prototype.setAttributes=function(e){var r,n;try{for(var i=PF(Object.entries(e)),a=i.next();!a.done;a=i.next()){var u=wg(a.value,2),f=u[0],d=u[1];this.setAttribute(f,d)}}catch(l){r={error:l}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return this},t.prototype.addEvent=function(e,r,n){if(this._isSpanEnded())return this;if(this._spanLimits.eventCountLimit===0)return ct.warn("No events allowed."),this._droppedEventsCount++,this;this.events.length>=this._spanLimits.eventCountLimit&&(this._droppedEventsCount===0&&ct.debug("Dropping extra events."),this.events.shift(),this._droppedEventsCount++),Eg(r)&&(Eg(n)||(n=r),r=void 0);var i=qs(r);return this.events.push({name:e,attributes:i,time:this._getTime(n),droppedAttributesCount:0}),this},t.prototype.addLink=function(e){return this.links.push(e),this},t.prototype.addLinks=function(e){var r;return(r=this.links).push.apply(r,RF([],wg(e),!1)),this},t.prototype.setStatus=function(e){return this._isSpanEnded()?this:(this.status=A0({},e),this.status.message!=null&&typeof e.message!="string"&&(ct.warn("Dropping invalid status.message of type '"+typeof e.message+"', expected 'string'"),delete this.status.message),this)},t.prototype.updateName=function(e){return this._isSpanEnded()?this:(this.name=e,this)},t.prototype.end=function(e){if(this._isSpanEnded()){ct.error(this.name+" "+this._spanContext.traceId+"-"+this._spanContext.spanId+" - You can only call end() on a span once.");return}this._ended=!0,this.endTime=this._getTime(e),this._duration=W3(this.startTime,this.endTime),this._duration[0]<0&&(ct.warn("Inconsistent start and end time, startTime > endTime. Setting span duration to 0ms.",this.startTime,this.endTime),this.endTime=this.startTime.slice(),this._duration=[0,0]),this._droppedEventsCount>0&&ct.warn("Dropped "+this._droppedEventsCount+" events because eventCountLimit reached"),this._spanProcessor.onEnd(this)},t.prototype._getTime=function(e){if(typeof e=="number"&&e<=Je.now())return Cu(e+this._performanceOffset);if(typeof e=="number")return qi(e);if(e instanceof Date)return qi(e.getTime());if(y1(e))return e;if(this._startTimeProvided)return qi(Date.now());var r=Je.now()-this._performanceStartTime;return E1(this.startTime,qi(r))},t.prototype.isRecording=function(){return this._ended===!1},t.prototype.recordException=function(e,r){var n={};typeof e=="string"?n[xl]=e:e&&(e.code?n[El]=e.code.toString():e.name&&(n[El]=e.name),e.message&&(n[xl]=e.message),e.stack&&(n[R3]=e.stack)),n[El]||n[xl]?this.addEvent(CF,n,r):ct.warn("Failed to record an exception "+e)},Object.defineProperty(t.prototype,"duration",{get:function(){return this._duration},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ended",{get:function(){return this._ended},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"droppedAttributesCount",{get:function(){return this._droppedAttributesCount},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"droppedEventsCount",{get:function(){return this._droppedEventsCount},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"droppedLinksCount",{get:function(){return this._droppedLinksCount},enumerable:!1,configurable:!0}),t.prototype._isSpanEnded=function(){return this._ended&&ct.warn("Can not execute the operation on ended Span {traceId: "+this._spanContext.traceId+", spanId: "+this._spanContext.spanId+"}"),this._ended},t.prototype._truncateToLimitUtil=function(e,r){return e.length<=r?e:e.substring(0,r)},t.prototype._truncateToSize=function(e){var r=this,n=this._attributeValueLengthLimit;return n<=0?(ct.warn("Attribute value limit must be positive, got "+n),e):typeof e=="string"?this._truncateToLimitUtil(e,n):Array.isArray(e)?e.map(function(i){return typeof i=="string"?r._truncateToLimitUtil(i,n):i}):e},t}(),Rr;(function(t){t[t.NOT_RECORD=0]="NOT_RECORD",t[t.RECORD=1]="RECORD",t[t.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"})(Rr||(Rr={}));var Ru=function(){function t(){}return t.prototype.shouldSample=function(){return{decision:Rr.NOT_RECORD}},t.prototype.toString=function(){return"AlwaysOffSampler"},t}(),to=function(){function t(){}return t.prototype.shouldSample=function(){return{decision:Rr.RECORD_AND_SAMPLED}},t.prototype.toString=function(){return"AlwaysOnSampler"},t}(),wl=function(){function t(e){var r,n,i,a;this._root=e.root,this._root||(lo(new Error("ParentBasedSampler must have a root sampler configured")),this._root=new to),this._remoteParentSampled=(r=e.remoteParentSampled)!==null&&r!==void 0?r:new to,this._remoteParentNotSampled=(n=e.remoteParentNotSampled)!==null&&n!==void 0?n:new Ru,this._localParentSampled=(i=e.localParentSampled)!==null&&i!==void 0?i:new to,this._localParentNotSampled=(a=e.localParentNotSampled)!==null&&a!==void 0?a:new Ru}return t.prototype.shouldSample=function(e,r,n,i,a,u){var f=ne.getSpanContext(e);return!f||!ka(f)?this._root.shouldSample(e,r,n,i,a,u):f.isRemote?f.traceFlags&tn.SAMPLED?this._remoteParentSampled.shouldSample(e,r,n,i,a,u):this._remoteParentNotSampled.shouldSample(e,r,n,i,a,u):f.traceFlags&tn.SAMPLED?this._localParentSampled.shouldSample(e,r,n,i,a,u):this._localParentNotSampled.shouldSample(e,r,n,i,a,u)},t.prototype.toString=function(){return"ParentBased{root="+this._root.toString()+", remoteParentSampled="+this._remoteParentSampled.toString()+", remoteParentNotSampled="+this._remoteParentNotSampled.toString()+", localParentSampled="+this._localParentSampled.toString()+", localParentNotSampled="+this._localParentNotSampled.toString()+"}"},t}(),Cg=function(){function t(e){e===void 0&&(e=0),this._ratio=e,this._ratio=this._normalize(e),this._upperBound=Math.floor(this._ratio*4294967295)}return t.prototype.shouldSample=function(e,r){return{decision:u1(r)&&this._accumulate(r)<this._upperBound?Rr.RECORD_AND_SAMPLED:Rr.NOT_RECORD}},t.prototype.toString=function(){return"TraceIdRatioBased{"+this._ratio+"}"},t.prototype._normalize=function(e){return typeof e!="number"||isNaN(e)?0:e>=1?1:e<=0?0:e},t.prototype._accumulate=function(e){for(var r=0,n=0;n<e.length/8;n++){var i=n*8,a=parseInt(e.slice(i,i+8),16);r=(r^a)>>>0}return r},t}(),IF=Or.AlwaysOn,Fi=1;function L1(){var t=Ta();return{sampler:B1(t),forceFlushTimeoutMillis:3e4,generalLimits:{attributeValueLengthLimit:t.OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT,attributeCountLimit:t.OTEL_ATTRIBUTE_COUNT_LIMIT},spanLimits:{attributeValueLengthLimit:t.OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT,attributeCountLimit:t.OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT,linkCountLimit:t.OTEL_SPAN_LINK_COUNT_LIMIT,eventCountLimit:t.OTEL_SPAN_EVENT_COUNT_LIMIT,attributePerEventCountLimit:t.OTEL_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT,attributePerLinkCountLimit:t.OTEL_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT},mergeResourceWithDefaults:!0}}function B1(t){switch(t===void 0&&(t=Ta()),t.OTEL_TRACES_SAMPLER){case Or.AlwaysOn:return new to;case Or.AlwaysOff:return new Ru;case Or.ParentBasedAlwaysOn:return new wl({root:new to});case Or.ParentBasedAlwaysOff:return new wl({root:new Ru});case Or.TraceIdRatio:return new Cg(Pg(t));case Or.ParentBasedTraceIdRatio:return new wl({root:new Cg(Pg(t))});default:return ct.error('OTEL_TRACES_SAMPLER value "'+t.OTEL_TRACES_SAMPLER+" invalid, defaulting to "+IF+'".'),new to}}function Pg(t){if(t.OTEL_TRACES_SAMPLER_ARG===void 0||t.OTEL_TRACES_SAMPLER_ARG==="")return ct.error("OTEL_TRACES_SAMPLER_ARG is blank, defaulting to "+Fi+"."),Fi;var e=Number(t.OTEL_TRACES_SAMPLER_ARG);return isNaN(e)?(ct.error("OTEL_TRACES_SAMPLER_ARG="+t.OTEL_TRACES_SAMPLER_ARG+" was given, but it is invalid, defaulting to "+Fi+"."),Fi):e<0||e>1?(ct.error("OTEL_TRACES_SAMPLER_ARG="+t.OTEL_TRACES_SAMPLER_ARG+" was given, but it is out of range ([0..1]), defaulting to "+Fi+"."),Fi):e}function NF(t){var e={sampler:B1()},r=L1(),n=Object.assign({},r,e,t);return n.generalLimits=Object.assign({},r.generalLimits,t.generalLimits||{}),n.spanLimits=Object.assign({},r.spanLimits,t.spanLimits||{}),n}function LF(t){var e,r,n,i,a,u,f,d,l,_,E,y,b=Object.assign({},t.spanLimits),S=E3();return b.attributeCountLimit=(u=(a=(i=(r=(e=t.spanLimits)===null||e===void 0?void 0:e.attributeCountLimit)!==null&&r!==void 0?r:(n=t.generalLimits)===null||n===void 0?void 0:n.attributeCountLimit)!==null&&i!==void 0?i:S.OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT)!==null&&a!==void 0?a:S.OTEL_ATTRIBUTE_COUNT_LIMIT)!==null&&u!==void 0?u:Xs,b.attributeValueLengthLimit=(y=(E=(_=(d=(f=t.spanLimits)===null||f===void 0?void 0:f.attributeValueLengthLimit)!==null&&d!==void 0?d:(l=t.generalLimits)===null||l===void 0?void 0:l.attributeValueLengthLimit)!==null&&_!==void 0?_:S.OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT)!==null&&E!==void 0?E:S.OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT)!==null&&y!==void 0?y:zs,Object.assign({},t,{spanLimits:b})}var BF=function(){function t(e,r){this._exporter=e,this._isExporting=!1,this._finishedSpans=[],this._droppedSpansCount=0;var n=Ta();this._maxExportBatchSize=typeof(r==null?void 0:r.maxExportBatchSize)=="number"?r.maxExportBatchSize:n.OTEL_BSP_MAX_EXPORT_BATCH_SIZE,this._maxQueueSize=typeof(r==null?void 0:r.maxQueueSize)=="number"?r.maxQueueSize:n.OTEL_BSP_MAX_QUEUE_SIZE,this._scheduledDelayMillis=typeof(r==null?void 0:r.scheduledDelayMillis)=="number"?r.scheduledDelayMillis:n.OTEL_BSP_SCHEDULE_DELAY,this._exportTimeoutMillis=typeof(r==null?void 0:r.exportTimeoutMillis)=="number"?r.exportTimeoutMillis:n.OTEL_BSP_EXPORT_TIMEOUT,this._shutdownOnce=new PL(this._shutdown,this),this._maxExportBatchSize>this._maxQueueSize&&(ct.warn("BatchSpanProcessor: maxExportBatchSize must be smaller or equal to maxQueueSize, setting maxExportBatchSize to match maxQueueSize"),this._maxExportBatchSize=this._maxQueueSize)}return t.prototype.forceFlush=function(){return this._shutdownOnce.isCalled?this._shutdownOnce.promise:this._flushAll()},t.prototype.onStart=function(e,r){},t.prototype.onEnd=function(e){this._shutdownOnce.isCalled||(e.spanContext().traceFlags&tn.SAMPLED)!==0&&this._addToBuffer(e)},t.prototype.shutdown=function(){return this._shutdownOnce.call()},t.prototype._shutdown=function(){var e=this;return Promise.resolve().then(function(){return e.onShutdown()}).then(function(){return e._flushAll()}).then(function(){return e._exporter.shutdown()})},t.prototype._addToBuffer=function(e){if(this._finishedSpans.length>=this._maxQueueSize){this._droppedSpansCount===0&&ct.debug("maxQueueSize reached, dropping spans"),this._droppedSpansCount++;return}this._droppedSpansCount>0&&(ct.warn("Dropped "+this._droppedSpansCount+" spans because maxQueueSize reached"),this._droppedSpansCount=0),this._finishedSpans.push(e),this._maybeStartTimer()},t.prototype._flushAll=function(){var e=this;return new Promise(function(r,n){for(var i=[],a=Math.ceil(e._finishedSpans.length/e._maxExportBatchSize),u=0,f=a;u<f;u++)i.push(e._flushOneBatch());Promise.all(i).then(function(){r()}).catch(n)})},t.prototype._flushOneBatch=function(){var e=this;return this._clearTimer(),this._finishedSpans.length===0?Promise.resolve():new Promise(function(r,n){var i=setTimeout(function(){n(new Error("Timeout"))},e._exportTimeoutMillis);Rt.with(GN(Rt.active()),function(){var a;e._finishedSpans.length<=e._maxExportBatchSize?(a=e._finishedSpans,e._finishedSpans=[]):a=e._finishedSpans.splice(0,e._maxExportBatchSize);for(var u=function(){return e._exporter.export(a,function(E){var y;clearTimeout(i),E.code===T0.SUCCESS?r():n((y=E.error)!==null&&y!==void 0?y:new Error("BatchSpanProcessor: span export failed"))})},f=null,d=0,l=a.length;d<l;d++){var _=a[d];_.resource.asyncAttributesPending&&_.resource.waitForAsyncAttributes&&(f!=null||(f=[]),f.push(_.resource.waitForAsyncAttributes()))}f===null?u():Promise.all(f).then(u,function(E){lo(E),n(E)})})})},t.prototype._maybeStartTimer=function(){var e=this;if(!this._isExporting){var r=function(){e._isExporting=!0,e._flushOneBatch().finally(function(){e._isExporting=!1,e._finishedSpans.length>0&&(e._clearTimer(),e._maybeStartTimer())}).catch(function(n){e._isExporting=!1,lo(n)})};if(this._finishedSpans.length>=this._maxExportBatchSize)return r();this._timer===void 0&&(this._timer=setTimeout(function(){return r()},this._scheduledDelayMillis),this._timer,void 0)}},t.prototype._clearTimer=function(){this._timer!==void 0&&(clearTimeout(this._timer),this._timer=void 0)},t}(),MF=globalThis&&globalThis.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),M1=function(t){MF(e,t);function e(r,n){var i=t.call(this,r,n)||this;return i.onInit(n),i}return e.prototype.onInit=function(r){var n=this;(r==null?void 0:r.disableAutoFlushOnDocumentHide)!==!0&&typeof document<"u"&&(this._visibilityChangeListener=function(){document.visibilityState==="hidden"&&n.forceFlush().catch(function(i){lo(i)})},this._pageHideListener=function(){n.forceFlush().catch(function(i){lo(i)})},document.addEventListener("visibilitychange",this._visibilityChangeListener),document.addEventListener("pagehide",this._pageHideListener))},e.prototype.onShutdown=function(){typeof document<"u"&&(this._visibilityChangeListener&&document.removeEventListener("visibilitychange",this._visibilityChangeListener),this._pageHideListener&&document.removeEventListener("pagehide",this._pageHideListener))},e}(BF),FF=8,$F=16,F1=function(){function t(){this.generateTraceId=Rg($F),this.generateSpanId=Rg(FF)}return t}(),As=Array(32);function Rg(t){return function(){for(var r=0;r<t*2;r++)As[r]=Math.floor(Math.random()*16)+48,As[r]>=58&&(As[r]+=39);return String.fromCharCode.apply(null,As.slice(0,t*2))}}var kF=function(){function t(e,r,n){this._tracerProvider=n;var i=NF(r);this._sampler=i.sampler,this._generalLimits=i.generalLimits,this._spanLimits=i.spanLimits,this._idGenerator=r.idGenerator||new F1,this.resource=n.resource,this.instrumentationLibrary=e}return t.prototype.startSpan=function(e,r,n){var i,a,u;r===void 0&&(r={}),n===void 0&&(n=Rt.active()),r.root&&(n=ne.deleteSpan(n));var f=ne.getSpan(n);if(rp(n)){ct.debug("Instrumentation suppressed, returning Noop Span");var d=ne.wrapSpanContext(a1);return d}var l=f==null?void 0:f.spanContext(),_=this._idGenerator.generateSpanId(),E,y,b;!l||!ne.isSpanContextValid(l)?E=this._idGenerator.generateTraceId():(E=l.traceId,y=l.traceState,b=l.spanId);var S=(i=r.kind)!==null&&i!==void 0?i:fo.INTERNAL,C=((a=r.links)!==null&&a!==void 0?a:[]).map(function(M){return{context:M.context,attributes:qs(M.attributes)}}),O=qs(r.attributes),I=this._sampler.shouldSample(n,E,e,S,O,C);y=(u=I.traceState)!==null&&u!==void 0?u:y;var T=I.decision===Au.RECORD_AND_SAMPLED?tn.SAMPLED:tn.NONE,w={traceId:E,spanId:_,traceFlags:T,traceState:y};if(I.decision===Au.NOT_RECORD){ct.debug("Recording is off, propagating context in a non-recording span");var d=ne.wrapSpanContext(w);return d}var N=qs(Object.assign(O,I.attributes)),L=new DF(this,n,e,w,S,b,C,r.startTime,void 0,N);return L},t.prototype.startActiveSpan=function(e,r,n,i){var a,u,f;if(!(arguments.length<2)){arguments.length===2?f=r:arguments.length===3?(a=r,f=n):(a=r,u=n,f=i);var d=u!=null?u:Rt.active(),l=this.startSpan(e,a,d),_=ne.setSpan(d,l);return Rt.with(_,f,void 0,l)}},t.prototype.getGeneralLimits=function(){return this._generalLimits},t.prototype.getSpanLimits=function(){return this._spanLimits},t.prototype.getActiveSpanProcessor=function(){return this._tracerProvider.getActiveSpanProcessor()},t}(),Os=globalThis&&globalThis.__values||function(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},Dg=function(){function t(e){this._spanProcessors=e}return t.prototype.forceFlush=function(){var e,r,n=[];try{for(var i=Os(this._spanProcessors),a=i.next();!a.done;a=i.next()){var u=a.value;n.push(u.forceFlush())}}catch(f){e={error:f}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return new Promise(function(f){Promise.all(n).then(function(){f()}).catch(function(d){lo(d||new Error("MultiSpanProcessor: forceFlush failed")),f()})})},t.prototype.onStart=function(e,r){var n,i;try{for(var a=Os(this._spanProcessors),u=a.next();!u.done;u=a.next()){var f=u.value;f.onStart(e,r)}}catch(d){n={error:d}}finally{try{u&&!u.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}},t.prototype.onEnd=function(e){var r,n;try{for(var i=Os(this._spanProcessors),a=i.next();!a.done;a=i.next()){var u=a.value;u.onEnd(e)}}catch(f){r={error:f}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},t.prototype.shutdown=function(){var e,r,n=[];try{for(var i=Os(this._spanProcessors),a=i.next();!a.done;a=i.next()){var u=a.value;n.push(u.shutdown())}}catch(f){e={error:f}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return new Promise(function(f,d){Promise.all(n).then(function(){f()},d)})},t}(),UF=function(){function t(){}return t.prototype.onStart=function(e,r){},t.prototype.onEnd=function(e){},t.prototype.shutdown=function(){return Promise.resolve()},t.prototype.forceFlush=function(){return Promise.resolve()},t}(),jF=globalThis&&globalThis.__read||function(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,a=[],u;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)a.push(i.value)}catch(f){u={error:f}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(u)throw u.error}}return a},HF=globalThis&&globalThis.__spreadArray||function(t,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,a;n<i;n++)(a||!(n in e))&&(a||(a=Array.prototype.slice.call(e,0,n)),a[n]=e[n]);return t.concat(a||Array.prototype.slice.call(e))},Gn;(function(t){t[t.resolved=0]="resolved",t[t.timeout=1]="timeout",t[t.error=2]="error",t[t.unresolved=3]="unresolved"})(Gn||(Gn={}));var GF=function(){function t(e){e===void 0&&(e={});var r,n;this._registeredSpanProcessors=[],this._tracers=new Map;var i=bL({},L1(),LF(e));if(this.resource=(r=i.resource)!==null&&r!==void 0?r:po.empty(),i.mergeResourceWithDefaults&&(this.resource=po.default().merge(this.resource)),this._config=Object.assign({},i,{resource:this.resource}),!((n=e.spanProcessors)===null||n===void 0)&&n.length)this._registeredSpanProcessors=HF([],jF(e.spanProcessors),!1),this.activeSpanProcessor=new Dg(this._registeredSpanProcessors);else{var a=this._buildExporterFromEnv();if(a!==void 0){var u=new M1(a);this.activeSpanProcessor=u}else this.activeSpanProcessor=new UF}}return t.prototype.getTracer=function(e,r,n){var i=e+"@"+(r||"")+":"+((n==null?void 0:n.schemaUrl)||"");return this._tracers.has(i)||this._tracers.set(i,new kF({name:e,version:r,schemaUrl:n==null?void 0:n.schemaUrl},this._config,this)),this._tracers.get(i)},t.prototype.addSpanProcessor=function(e){this._registeredSpanProcessors.length===0&&this.activeSpanProcessor.shutdown().catch(function(r){return ct.error("Error while trying to shutdown current span processor",r)}),this._registeredSpanProcessors.push(e),this.activeSpanProcessor=new Dg(this._registeredSpanProcessors)},t.prototype.getActiveSpanProcessor=function(){return this.activeSpanProcessor},t.prototype.register=function(e){e===void 0&&(e={}),ne.setGlobalTracerProvider(this),e.propagator===void 0&&(e.propagator=this._buildPropagatorFromEnv()),e.contextManager&&Rt.setGlobalContextManager(e.contextManager),e.propagator&&rr.setGlobalPropagator(e.propagator)},t.prototype.forceFlush=function(){var e=this._config.forceFlushTimeoutMillis,r=this._registeredSpanProcessors.map(function(n){return new Promise(function(i){var a,u=setTimeout(function(){i(new Error("Span processor did not completed within timeout period of "+e+" ms")),a=Gn.timeout},e);n.forceFlush().then(function(){clearTimeout(u),a!==Gn.timeout&&(a=Gn.resolved,i(a))}).catch(function(f){clearTimeout(u),a=Gn.error,i(f)})})});return new Promise(function(n,i){Promise.all(r).then(function(a){var u=a.filter(function(f){return f!==Gn.resolved});u.length>0?i(u):n()}).catch(function(a){return i([a])})})},t.prototype.shutdown=function(){return this.activeSpanProcessor.shutdown()},t.prototype._getPropagator=function(e){var r;return(r=this.constructor._registeredPropagators.get(e))===null||r===void 0?void 0:r()},t.prototype._getSpanExporter=function(e){var r;return(r=this.constructor._registeredExporters.get(e))===null||r===void 0?void 0:r()},t.prototype._buildPropagatorFromEnv=function(){var e=this,r=Array.from(new Set(Ta().OTEL_PROPAGATORS)),n=r.map(function(a){var u=e._getPropagator(a);return u||ct.warn('Propagator "'+a+'" requested through environment variable is unavailable.'),u}),i=n.reduce(function(a,u){return u&&a.push(u),a},[]);if(i.length!==0)return r.length===1?i[0]:new q3({propagators:i})},t.prototype._buildExporterFromEnv=function(){var e=Ta().OTEL_TRACES_EXPORTER;if(!(e==="none"||e==="")){var r=this._getSpanExporter(e);return r||ct.error('Exporter "'+e+'" requested through environment variable is unavailable.'),r}},t._registeredPropagators=new Map([["tracecontext",function(){return new x1}],["baggage",function(){return new ZN}]]),t._registeredExporters=new Map,t}();function VF(t){return{all:t=t||new Map,on:function(e,r){var n=t.get(e);n?n.push(r):t.set(e,[r])},off:function(e,r){var n=t.get(e);n&&(r?n.splice(n.indexOf(r)>>>0,1):t.set(e,[]))},emit:function(e,r){var n=t.get(e);n&&n.slice().map(function(i){i(r)}),(n=t.get("*"))&&n.slice().map(function(i){i(e,r)})}}}var zi;(function(t){t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.TRACE=1]="TRACE",t[t.TRACE2=2]="TRACE2",t[t.TRACE3=3]="TRACE3",t[t.TRACE4=4]="TRACE4",t[t.DEBUG=5]="DEBUG",t[t.DEBUG2=6]="DEBUG2",t[t.DEBUG3=7]="DEBUG3",t[t.DEBUG4=8]="DEBUG4",t[t.INFO=9]="INFO",t[t.INFO2=10]="INFO2",t[t.INFO3=11]="INFO3",t[t.INFO4=12]="INFO4",t[t.WARN=13]="WARN",t[t.WARN2=14]="WARN2",t[t.WARN3=15]="WARN3",t[t.WARN4=16]="WARN4",t[t.ERROR=17]="ERROR",t[t.ERROR2=18]="ERROR2",t[t.ERROR3=19]="ERROR3",t[t.ERROR4=20]="ERROR4",t[t.FATAL=21]="FATAL",t[t.FATAL2=22]="FATAL2",t[t.FATAL3=23]="FATAL3",t[t.FATAL4=24]="FATAL4"})(zi||(zi={}));var $1=function(){function t(){}return t.prototype.emit=function(e){},t}(),k1=new $1,WF=function(){function t(){}return t.prototype.getLogger=function(e,r,n){return new $1},t}(),U1=new WF,KF=function(){function t(e,r,n,i){this._provider=e,this.name=r,this.version=n,this.options=i}return t.prototype.emit=function(e){this._getLogger().emit(e)},t.prototype._getLogger=function(){if(this._delegate)return this._delegate;var e=this._provider.getDelegateLogger(this.name,this.version,this.options);return e?(this._delegate=e,this._delegate):k1},t}(),Ig=function(){function t(){}return t.prototype.getLogger=function(e,r,n){var i;return(i=this.getDelegateLogger(e,r,n))!==null&&i!==void 0?i:new KF(this,e,r,n)},t.prototype.getDelegate=function(){var e;return(e=this._delegate)!==null&&e!==void 0?e:U1},t.prototype.setDelegate=function(e){this._delegate=e},t.prototype.getDelegateLogger=function(e,r,n){var i;return(i=this._delegate)===null||i===void 0?void 0:i.getLogger(e,r,n)},t}(),qF=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof global=="object"?global:{},ws=Symbol.for("io.opentelemetry.js.api.logs"),Wo=qF;function zF(t,e,r){return function(n){return n===t?e:r}}var Ng=1,XF=function(){function t(){this._proxyLoggerProvider=new Ig}return t.getInstance=function(){return this._instance||(this._instance=new t),this._instance},t.prototype.setGlobalLoggerProvider=function(e){return Wo[ws]?this.getLoggerProvider():(Wo[ws]=zF(Ng,e,U1),this._proxyLoggerProvider.setDelegate(e),e)},t.prototype.getLoggerProvider=function(){var e,r;return(r=(e=Wo[ws])===null||e===void 0?void 0:e.call(Wo,Ng))!==null&&r!==void 0?r:this._proxyLoggerProvider},t.prototype.getLogger=function(e,r,n){return this.getLoggerProvider().getLogger(e,r,n)},t.prototype.disable=function(){delete Wo[ws],this._proxyLoggerProvider=new Ig},t}(),j1=XF.getInstance();function JF(t,e,r,n){for(var i=0,a=t.length;i<a;i++){var u=t[i];e&&u.setTracerProvider(e),r&&u.setMeterProvider(r),n&&u.setLoggerProvider&&u.setLoggerProvider(n),u.getConfig().enabled||u.enable()}}function YF(t){t.forEach(function(e){return e.disable()})}function ZF(t){var e,r,n=t.tracerProvider||ne.getTracerProvider(),i=t.meterProvider||f1.getMeterProvider(),a=t.loggerProvider||j1.getLoggerProvider(),u=(r=(e=t.instrumentations)===null||e===void 0?void 0:e.flat())!==null&&r!==void 0?r:[];return JF(u,n,i,a),function(){YF(u)}}function O0(t){return typeof t=="function"}var $e=console.error.bind(console);function Ko(t,e,r){var n=!!t[e]&&t.propertyIsEnumerable(e);Object.defineProperty(t,e,{configurable:!0,enumerable:n,writable:!0,value:r})}function Ua(t){t&&t.logger&&(O0(t.logger)?$e=t.logger:$e("new logger isn't a function, not replacing"))}function H1(t,e,r){if(!t||!t[e]){$e("no original function "+e+" to wrap");return}if(!r){$e("no wrapper function"),$e(new Error().stack);return}if(!O0(t[e])||!O0(r)){$e("original object and wrapper must be functions");return}var n=t[e],i=r(n,e);return Ko(i,"__original",n),Ko(i,"__unwrap",function(){t[e]===i&&Ko(t,e,n)}),Ko(i,"__wrapped",!0),Ko(t,e,i),i}function QF(t,e,r){if(t)Array.isArray(t)||(t=[t]);else{$e("must provide one or more modules to patch"),$e(new Error().stack);return}if(!(e&&Array.isArray(e))){$e("must provide one or more functions to wrap on modules");return}t.forEach(function(n){e.forEach(function(i){H1(n,i,r)})})}function G1(t,e){if(!t||!t[e]){$e("no function to unwrap."),$e(new Error().stack);return}if(!t[e].__unwrap)$e("no original to unwrap to -- has "+e+" already been unwrapped?");else return t[e].__unwrap()}function t$(t,e){if(t)Array.isArray(t)||(t=[t]);else{$e("must provide one or more modules to patch"),$e(new Error().stack);return}if(!(e&&Array.isArray(e))){$e("must provide one or more functions to unwrap on modules");return}t.forEach(function(r){e.forEach(function(n){G1(r,n)})})}Ua.wrap=H1;Ua.massWrap=QF;Ua.unwrap=G1;Ua.massUnwrap=t$;var Cs=Ua,w0=globalThis&&globalThis.__assign||function(){return w0=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++){e=arguments[r];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}return t},w0.apply(this,arguments)},e$=function(){function t(e,r,n){this.instrumentationName=e,this.instrumentationVersion=r,this._config={},this._wrap=Cs.wrap,this._unwrap=Cs.unwrap,this._massWrap=Cs.massWrap,this._massUnwrap=Cs.massUnwrap,this.setConfig(n),this._diag=ct.createComponentLogger({namespace:e}),this._tracer=ne.getTracer(e,r),this._meter=f1.getMeter(e,r),this._logger=j1.getLogger(e,r),this._updateMetricInstruments()}return Object.defineProperty(t.prototype,"meter",{get:function(){return this._meter},enumerable:!1,configurable:!0}),t.prototype.setMeterProvider=function(e){this._meter=e.getMeter(this.instrumentationName,this.instrumentationVersion),this._updateMetricInstruments()},Object.defineProperty(t.prototype,"logger",{get:function(){return this._logger},enumerable:!1,configurable:!0}),t.prototype.setLoggerProvider=function(e){this._logger=e.getLogger(this.instrumentationName,this.instrumentationVersion)},t.prototype.getModuleDefinitions=function(){var e,r=(e=this.init())!==null&&e!==void 0?e:[];return Array.isArray(r)?r:[r]},t.prototype._updateMetricInstruments=function(){},t.prototype.getConfig=function(){return this._config},t.prototype.setConfig=function(e){this._config=w0({enabled:!0},e)},t.prototype.setTracerProvider=function(e){this._tracer=e.getTracer(this.instrumentationName,this.instrumentationVersion)},Object.defineProperty(t.prototype,"tracer",{get:function(){return this._tracer},enumerable:!1,configurable:!0}),t.prototype._runSpanCustomizationHook=function(e,r,n,i){if(!!e)try{e(n,i)}catch(a){this._diag.error("Error running span customization hook due to exception in handler",{triggerName:r},a)}},t}(),r$=globalThis&&globalThis.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),rn=function(t){r$(e,t);function e(r,n,i){var a=t.call(this,r,n,i)||this;return a._config.enabled&&a.enable(),a}return e}(e$);globalThis&&globalThis.__awaiter;globalThis&&globalThis.__generator;function Du(t,e,r){var n,i;try{i=t()}catch(a){n=a}finally{if(e(n,i),n&&!r)throw n;return i}}function Cr(t){return typeof t=="function"&&typeof t.__original=="function"&&typeof t.__unwrap=="function"&&t.__wrapped===!0}var n$=oc("OpenTelemetry SDK Context Key SUPPRESS_TRACING");function i$(t){return t.setValue(n$,!0)}var o$=globalThis&&globalThis.__values||function(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};globalThis&&globalThis.__read;function Lg(t){return t==null?!0:Array.isArray(t)?a$(t):V1(t)}function a$(t){var e,r,n;try{for(var i=o$(t),a=i.next();!a.done;a=i.next()){var u=a.value;if(u!=null){if(!n){if(V1(u)){n=typeof u;continue}return!1}if(typeof u!==n)return!1}}}catch(f){e={error:f}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return!0}function V1(t){switch(typeof t){case"number":case"boolean":case"string":return!0}return!1}function s$(){return function(t){ct.error(u$(t))}}function u$(t){return typeof t=="string"?t:JSON.stringify(c$(t))}function c$(t){for(var e={},r=t;r!==null;)Object.getOwnPropertyNames(r).forEach(function(n){if(!e[n]){var i=r[n];i&&(e[n]=String(i))}}),r=Object.getPrototypeOf(r);return e}var f$=s$();function Ps(t){try{f$(t)}catch(e){}}var C0;(function(t){t.AlwaysOff="always_off",t.AlwaysOn="always_on",t.ParentBasedAlwaysOff="parentbased_always_off",t.ParentBasedAlwaysOn="parentbased_always_on",t.ParentBasedTraceIdRatio="parentbased_traceidratio",t.TraceIdRatio="traceidratio"})(C0||(C0={}));var l$=",",d$=["OTEL_SDK_DISABLED"];function p$(t){return d$.indexOf(t)>-1}var h$=["OTEL_BSP_EXPORT_TIMEOUT","OTEL_BSP_MAX_EXPORT_BATCH_SIZE","OTEL_BSP_MAX_QUEUE_SIZE","OTEL_BSP_SCHEDULE_DELAY","OTEL_BLRP_EXPORT_TIMEOUT","OTEL_BLRP_MAX_EXPORT_BATCH_SIZE","OTEL_BLRP_MAX_QUEUE_SIZE","OTEL_BLRP_SCHEDULE_DELAY","OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT","OTEL_ATTRIBUTE_COUNT_LIMIT","OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT","OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT","OTEL_LOGRECORD_ATTRIBUTE_VALUE_LENGTH_LIMIT","OTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMIT","OTEL_SPAN_EVENT_COUNT_LIMIT","OTEL_SPAN_LINK_COUNT_LIMIT","OTEL_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT","OTEL_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT","OTEL_EXPORTER_OTLP_TIMEOUT","OTEL_EXPORTER_OTLP_TRACES_TIMEOUT","OTEL_EXPORTER_OTLP_METRICS_TIMEOUT","OTEL_EXPORTER_OTLP_LOGS_TIMEOUT","OTEL_EXPORTER_JAEGER_AGENT_PORT"];function _$(t){return h$.indexOf(t)>-1}var v$=["OTEL_NO_PATCH_MODULES","OTEL_PROPAGATORS","OTEL_SEMCONV_STABILITY_OPT_IN"];function g$(t){return v$.indexOf(t)>-1}var Zs=1/0,Qs=128,m$=128,y$=128,W1={OTEL_SDK_DISABLED:!1,CONTAINER_NAME:"",ECS_CONTAINER_METADATA_URI_V4:"",ECS_CONTAINER_METADATA_URI:"",HOSTNAME:"",KUBERNETES_SERVICE_HOST:"",NAMESPACE:"",OTEL_BSP_EXPORT_TIMEOUT:3e4,OTEL_BSP_MAX_EXPORT_BATCH_SIZE:512,OTEL_BSP_MAX_QUEUE_SIZE:2048,OTEL_BSP_SCHEDULE_DELAY:5e3,OTEL_BLRP_EXPORT_TIMEOUT:3e4,OTEL_BLRP_MAX_EXPORT_BATCH_SIZE:512,OTEL_BLRP_MAX_QUEUE_SIZE:2048,OTEL_BLRP_SCHEDULE_DELAY:5e3,OTEL_EXPORTER_JAEGER_AGENT_HOST:"",OTEL_EXPORTER_JAEGER_AGENT_PORT:6832,OTEL_EXPORTER_JAEGER_ENDPOINT:"",OTEL_EXPORTER_JAEGER_PASSWORD:"",OTEL_EXPORTER_JAEGER_USER:"",OTEL_EXPORTER_OTLP_ENDPOINT:"",OTEL_EXPORTER_OTLP_TRACES_ENDPOINT:"",OTEL_EXPORTER_OTLP_METRICS_ENDPOINT:"",OTEL_EXPORTER_OTLP_LOGS_ENDPOINT:"",OTEL_EXPORTER_OTLP_HEADERS:"",OTEL_EXPORTER_OTLP_TRACES_HEADERS:"",OTEL_EXPORTER_OTLP_METRICS_HEADERS:"",OTEL_EXPORTER_OTLP_LOGS_HEADERS:"",OTEL_EXPORTER_OTLP_TIMEOUT:1e4,OTEL_EXPORTER_OTLP_TRACES_TIMEOUT:1e4,OTEL_EXPORTER_OTLP_METRICS_TIMEOUT:1e4,OTEL_EXPORTER_OTLP_LOGS_TIMEOUT:1e4,OTEL_EXPORTER_ZIPKIN_ENDPOINT:"http://localhost:9411/api/v2/spans",OTEL_LOG_LEVEL:Ut.INFO,OTEL_NO_PATCH_MODULES:[],OTEL_PROPAGATORS:["tracecontext","baggage"],OTEL_RESOURCE_ATTRIBUTES:"",OTEL_SERVICE_NAME:"",OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT:Zs,OTEL_ATTRIBUTE_COUNT_LIMIT:Qs,OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT:Zs,OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT:Qs,OTEL_LOGRECORD_ATTRIBUTE_VALUE_LENGTH_LIMIT:Zs,OTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMIT:Qs,OTEL_SPAN_EVENT_COUNT_LIMIT:128,OTEL_SPAN_LINK_COUNT_LIMIT:128,OTEL_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT:m$,OTEL_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT:y$,OTEL_TRACES_EXPORTER:"",OTEL_TRACES_SAMPLER:C0.ParentBasedAlwaysOn,OTEL_TRACES_SAMPLER_ARG:"",OTEL_LOGS_EXPORTER:"",OTEL_EXPORTER_OTLP_INSECURE:"",OTEL_EXPORTER_OTLP_TRACES_INSECURE:"",OTEL_EXPORTER_OTLP_METRICS_INSECURE:"",OTEL_EXPORTER_OTLP_LOGS_INSECURE:"",OTEL_EXPORTER_OTLP_CERTIFICATE:"",OTEL_EXPORTER_OTLP_TRACES_CERTIFICATE:"",OTEL_EXPORTER_OTLP_METRICS_CERTIFICATE:"",OTEL_EXPORTER_OTLP_LOGS_CERTIFICATE:"",OTEL_EXPORTER_OTLP_COMPRESSION:"",OTEL_EXPORTER_OTLP_TRACES_COMPRESSION:"",OTEL_EXPORTER_OTLP_METRICS_COMPRESSION:"",OTEL_EXPORTER_OTLP_LOGS_COMPRESSION:"",OTEL_EXPORTER_OTLP_CLIENT_KEY:"",OTEL_EXPORTER_OTLP_TRACES_CLIENT_KEY:"",OTEL_EXPORTER_OTLP_METRICS_CLIENT_KEY:"",OTEL_EXPORTER_OTLP_LOGS_CLIENT_KEY:"",OTEL_EXPORTER_OTLP_CLIENT_CERTIFICATE:"",OTEL_EXPORTER_OTLP_TRACES_CLIENT_CERTIFICATE:"",OTEL_EXPORTER_OTLP_METRICS_CLIENT_CERTIFICATE:"",OTEL_EXPORTER_OTLP_LOGS_CLIENT_CERTIFICATE:"",OTEL_EXPORTER_OTLP_PROTOCOL:"http/protobuf",OTEL_EXPORTER_OTLP_TRACES_PROTOCOL:"http/protobuf",OTEL_EXPORTER_OTLP_METRICS_PROTOCOL:"http/protobuf",OTEL_EXPORTER_OTLP_LOGS_PROTOCOL:"http/protobuf",OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE:"cumulative",OTEL_SEMCONV_STABILITY_OPT_IN:[]};function E$(t,e,r){if(!(typeof r[t]>"u")){var n=String(r[t]);e[t]=n.toLowerCase()==="true"}}function x$(t,e,r,n,i){if(n===void 0&&(n=-1/0),i===void 0&&(i=1/0),typeof r[t]<"u"){var a=Number(r[t]);isNaN(a)||(a<n?e[t]=n:a>i?e[t]=i:e[t]=a)}}function b$(t,e,r,n){n===void 0&&(n=l$);var i=r[t];typeof i=="string"&&(e[t]=i.split(n).map(function(a){return a.trim()}))}var T$={ALL:Ut.ALL,VERBOSE:Ut.VERBOSE,DEBUG:Ut.DEBUG,INFO:Ut.INFO,WARN:Ut.WARN,ERROR:Ut.ERROR,NONE:Ut.NONE};function S$(t,e,r){var n=r[t];if(typeof n=="string"){var i=T$[n.toUpperCase()];i!=null&&(e[t]=i)}}function K1(t){var e={};for(var r in W1){var n=r;switch(n){case"OTEL_LOG_LEVEL":S$(n,e,t);break;default:if(p$(n))E$(n,e,t);else if(_$(n))x$(n,e,t);else if(g$(n))b$(n,e,t);else{var i=t[n];typeof i<"u"&&i!==null&&(e[n]=String(i))}}}return e}var aa=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof global=="object"?global:{};function P0(){var t=K1(aa);return Object.assign({},W1,t)}function A$(){return K1(aa)}function Bg(t){return t>=48&&t<=57?t-48:t>=97&&t<=102?t-87:t-55}function ip(t){for(var e=new Uint8Array(t.length/2),r=0,n=0;n<t.length;n+=2){var i=Bg(t.charCodeAt(n)),a=Bg(t.charCodeAt(n+1));e[r++]=i<<4|a}return e}var Sa=performance,O$="1.27.0",w$="http.method",C$="http.url",P$="http.host",R$="http.scheme",D$="http.status_code",I$="http.user_agent",N$="http.response_content_length",L$="http.response_content_length_uncompressed",q1=w$,z1=C$,X1=P$,J1=R$,Y1=D$,Z1=I$,B$=N$,M$=L$,F$="process.runtime.name",$$="service.name",k$="telemetry.sdk.name",U$="telemetry.sdk.language",j$="telemetry.sdk.version",H$=F$,G$=$$,R0=k$,D0=U$,I0=j$,V$="webjs",W$=V$,$i,Cl=($i={},$i[R0]="opentelemetry",$i[H$]="browser",$i[D0]=W$,$i[I0]=O$,$i);var K$=9,q$=6,z$=Math.pow(10,q$),N0=Math.pow(10,K$);function Aa(t){var e=t/1e3,r=Math.trunc(e),n=Math.round(t%1e3*z$);return[r,n]}function Q1(){var t=Sa.timeOrigin;if(typeof t!="number"){var e=Sa;t=e.timing&&e.timing.fetchStart}return t}function Oa(t){var e=Aa(Q1()),r=Aa(typeof t=="number"?t:Sa.now());return J$(e,r)}function Zn(t){if(X$(t))return t;if(typeof t=="number")return t<Q1()?Oa(t):Aa(t);if(t instanceof Date)return Aa(t.getTime());throw TypeError("Invalid input type")}function Yr(t){return t[0]*N0+t[1]}function X$(t){return Array.isArray(t)&&t.length===2&&typeof t[0]=="number"&&typeof t[1]=="number"}function J$(t,e){var r=[t[0]+e[0],t[1]+e[1]];return r[1]>=N0&&(r[1]-=N0,r[0]+=1),r}var Kn;(function(t){t[t.SUCCESS=0]="SUCCESS",t[t.FAILED=1]="FAILED"})(Kn||(Kn={}));var Y$="[object Object]",Z$="[object Null]",Q$="[object Undefined]",t9=Function.prototype,tx=t9.toString,e9=tx.call(Object),r9=n9(Object.getPrototypeOf,Object),ex=Object.prototype,rx=ex.hasOwnProperty,Vn=Symbol?Symbol.toStringTag:void 0,nx=ex.toString;function n9(t,e){return function(r){return t(e(r))}}function Mg(t){if(!i9(t)||o9(t)!==Y$)return!1;var e=r9(t);if(e===null)return!0;var r=rx.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&tx.call(r)===e9}function i9(t){return t!=null&&typeof t=="object"}function o9(t){return t==null?t===void 0?Q$:Z$:Vn&&Vn in Object(t)?a9(t):s9(t)}function a9(t){var e=rx.call(t,Vn),r=t[Vn],n=!1;try{t[Vn]=void 0,n=!0}catch(a){}var i=nx.call(t);return n&&(e?t[Vn]=r:delete t[Vn]),i}function s9(t){return nx.call(t)}var u9=20;function c9(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var r=t.shift(),n=new WeakMap;t.length>0;)r=ix(r,t.shift(),0,n);return r}function Pl(t){return Iu(t)?t.slice():t}function ix(t,e,r,n){r===void 0&&(r=0);var i;if(!(r>u9)){if(r++,tu(t)||tu(e)||ox(e))i=Pl(e);else if(Iu(t)){if(i=t.slice(),Iu(e))for(var a=0,u=e.length;a<u;a++)i.push(Pl(e[a]));else if(qo(e))for(var f=Object.keys(e),a=0,u=f.length;a<u;a++){var d=f[a];i[d]=Pl(e[d])}}else if(qo(t))if(qo(e)){if(!f9(t,e))return e;i=Object.assign({},t);for(var f=Object.keys(e),a=0,u=f.length;a<u;a++){var d=f[a],l=e[d];if(tu(l))typeof l>"u"?delete i[d]:i[d]=l;else{var _=i[d],E=l;if(Fg(t,d,n)||Fg(e,d,n))delete i[d];else{if(qo(_)&&qo(E)){var y=n.get(_)||[],b=n.get(E)||[];y.push({obj:t,key:d}),b.push({obj:e,key:d}),n.set(_,y),n.set(E,b)}i[d]=ix(i[d],l,r,n)}}}}else i=e;return i}}function Fg(t,e,r){for(var n=r.get(t[e])||[],i=0,a=n.length;i<a;i++){var u=n[i];if(u.key===e&&u.obj===t)return!0}return!1}function Iu(t){return Array.isArray(t)}function ox(t){return typeof t=="function"}function qo(t){return!tu(t)&&!Iu(t)&&!ox(t)&&typeof t=="object"}function tu(t){return typeof t=="string"||typeof t=="number"||typeof t=="boolean"||typeof t>"u"||t instanceof Date||t instanceof RegExp||t===null}function f9(t,e){return!(!Mg(t)||!Mg(e))}var l9=globalThis&&globalThis.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),d9=function(t){l9(e,t);function e(r){var n=t.call(this,r)||this;return Object.setPrototypeOf(n,e.prototype),n}return e}(Error);function ax(t,e){var r,n=new Promise(function(a,u){r=setTimeout(function(){u(new d9("Operation timed out."))},e)});return Promise.race([t,n]).then(function(i){return clearTimeout(r),i},function(i){throw clearTimeout(r),i})}var p9=globalThis&&globalThis.__values||function(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};function sx(t,e){return typeof e=="string"?t===e:!!t.match(e)}function ux(t,e){var r,n;if(!e)return!1;try{for(var i=p9(e),a=i.next();!a.done;a=i.next()){var u=a.value;if(sx(t,u))return!0}}catch(f){r={error:f}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return!1}var h9=function(){function t(){var e=this;this._promise=new Promise(function(r,n){e._resolve=r,e._reject=n})}return Object.defineProperty(t.prototype,"promise",{get:function(){return this._promise},enumerable:!1,configurable:!0}),t.prototype.resolve=function(e){this._resolve(e)},t.prototype.reject=function(e){this._reject(e)},t}(),_9=globalThis&&globalThis.__read||function(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,a=[],u;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)a.push(i.value)}catch(f){u={error:f}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(u)throw u.error}}return a},v9=globalThis&&globalThis.__spreadArray||function(t,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,a;n<i;n++)(a||!(n in e))&&(a||(a=Array.prototype.slice.call(e,0,n)),a[n]=e[n]);return t.concat(a||Array.prototype.slice.call(e))},op=function(){function t(e,r){this._callback=e,this._that=r,this._isCalled=!1,this._deferred=new h9}return Object.defineProperty(t.prototype,"isCalled",{get:function(){return this._isCalled},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"promise",{get:function(){return this._deferred.promise},enumerable:!1,configurable:!0}),t.prototype.call=function(){for(var e,r=this,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(!this._isCalled){this._isCalled=!0;try{Promise.resolve((e=this._callback).call.apply(e,v9([this._that],_9(n),!1))).then(function(a){return r._deferred.resolve(a)},function(a){return r._deferred.reject(a)})}catch(a){this._deferred.reject(a)}}return this._deferred.promise},t}();function g9(t,e){return new Promise(function(r){Rt.with(i$(Rt.active()),function(){t.export(e,function(n){r(n)})})})}var m9={_export:g9};function y9(){return"unknown_service"}var dn=globalThis&&globalThis.__assign||function(){return dn=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++){e=arguments[r];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}return t},dn.apply(this,arguments)},E9=globalThis&&globalThis.__awaiter||function(t,e,r,n){function i(a){return a instanceof r?a:new r(function(u){u(a)})}return new(r||(r=Promise))(function(a,u){function f(_){try{l(n.next(_))}catch(E){u(E)}}function d(_){try{l(n.throw(_))}catch(E){u(E)}}function l(_){_.done?a(_.value):i(_.value).then(f,d)}l((n=n.apply(t,e||[])).next())})},x9=globalThis&&globalThis.__generator||function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,u;return u={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function f(l){return function(_){return d([l,_])}}function d(l){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(a=l[0]&2?i.return:l[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,l[1])).done)return a;switch(i=0,a&&(l=[l[0]&2,a.value]),l[0]){case 0:case 1:a=l;break;case 4:return r.label++,{value:l[1],done:!1};case 5:r.label++,i=l[1],l=[0];continue;case 7:l=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]<a[3])){r.label=l[1];break}if(l[0]===6&&r.label<a[1]){r.label=a[1],a=l;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(l);break}a[2]&&r.ops.pop(),r.trys.pop();continue}l=e.call(t,r)}catch(_){l=[6,_],i=0}finally{n=a=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},b9=globalThis&&globalThis.__read||function(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,a=[],u;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)a.push(i.value)}catch(f){u={error:f}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(u)throw u.error}}return a},$g=function(){function t(e,r){var n=this,i;this._attributes=e,this.asyncAttributesPending=r!=null,this._syncAttributes=(i=this._attributes)!==null&&i!==void 0?i:{},this._asyncAttributesPromise=r==null?void 0:r.then(function(a){return n._attributes=Object.assign({},n._attributes,a),n.asyncAttributesPending=!1,a},function(a){return ct.debug("a resource's async attributes promise rejected: %s",a),n.asyncAttributesPending=!1,{}})}return t.empty=function(){return t.EMPTY},t.default=function(){var e;return new t((e={},e[G$]=y9(),e[D0]=Cl[D0],e[R0]=Cl[R0],e[I0]=Cl[I0],e))},Object.defineProperty(t.prototype,"attributes",{get:function(){var e;return this.asyncAttributesPending&&ct.error("Accessing resource attributes before async attributes settled"),(e=this._attributes)!==null&&e!==void 0?e:{}},enumerable:!1,configurable:!0}),t.prototype.waitForAsyncAttributes=function(){return E9(this,void 0,void 0,function(){return x9(this,function(e){switch(e.label){case 0:return this.asyncAttributesPending?[4,this._asyncAttributesPromise]:[3,2];case 1:e.sent(),e.label=2;case 2:return[2]}})})},t.prototype.merge=function(e){var r=this,n;if(!e)return this;var i=dn(dn({},this._syncAttributes),(n=e._syncAttributes)!==null&&n!==void 0?n:e.attributes);if(!this._asyncAttributesPromise&&!e._asyncAttributesPromise)return new t(i);var a=Promise.all([this._asyncAttributesPromise,e._asyncAttributesPromise]).then(function(u){var f,d=b9(u,2),l=d[0],_=d[1];return dn(dn(dn(dn({},r._syncAttributes),l),(f=e._syncAttributes)!==null&&f!==void 0?f:e.attributes),_)});return new t(i,a)},t.EMPTY=new t({}),t}(),zt;(function(t){t.CONNECT_END="connectEnd",t.CONNECT_START="connectStart",t.DECODED_BODY_SIZE="decodedBodySize",t.DOM_COMPLETE="domComplete",t.DOM_CONTENT_LOADED_EVENT_END="domContentLoadedEventEnd",t.DOM_CONTENT_LOADED_EVENT_START="domContentLoadedEventStart",t.DOM_INTERACTIVE="domInteractive",t.DOMAIN_LOOKUP_END="domainLookupEnd",t.DOMAIN_LOOKUP_START="domainLookupStart",t.ENCODED_BODY_SIZE="encodedBodySize",t.FETCH_START="fetchStart",t.LOAD_EVENT_END="loadEventEnd",t.LOAD_EVENT_START="loadEventStart",t.NAVIGATION_START="navigationStart",t.REDIRECT_END="redirectEnd",t.REDIRECT_START="redirectStart",t.REQUEST_START="requestStart",t.RESPONSE_END="responseEnd",t.RESPONSE_START="responseStart",t.SECURE_CONNECTION_START="secureConnectionStart",t.UNLOAD_EVENT_END="unloadEventEnd",t.UNLOAD_EVENT_START="unloadEventStart"})(zt||(zt={}));var Rl;function T9(){return Rl||(Rl=document.createElement("a")),Rl}function L0(t,e){return e in t}function Gr(t,e,r,n){var i=void 0,a=void 0;L0(r,e)&&typeof r[e]=="number"&&(i=r[e]);var u=n||zt.FETCH_START;if(L0(r,u)&&typeof r[u]=="number"&&(a=r[u]),i!==void 0&&a!==void 0&&i>=a)return t.addEvent(e,i),t}function Nu(t,e){Gr(t,zt.FETCH_START,e),Gr(t,zt.DOMAIN_LOOKUP_START,e),Gr(t,zt.DOMAIN_LOOKUP_END,e),Gr(t,zt.CONNECT_START,e),L0(e,"name")&&e.name.startsWith("https:")&&Gr(t,zt.SECURE_CONNECTION_START,e),Gr(t,zt.CONNECT_END,e),Gr(t,zt.REQUEST_START,e),Gr(t,zt.RESPONSE_START,e),Gr(t,zt.RESPONSE_END,e);var r=e[zt.ENCODED_BODY_SIZE];r!==void 0&&t.setAttribute(B$,r);var n=e[zt.DECODED_BODY_SIZE];n!==void 0&&r!==n&&t.setAttribute(M$,n)}function S9(t){return t.slice().sort(function(e,r){var n=e[zt.FETCH_START],i=r[zt.FETCH_START];return n>i?1:n<i?-1:0})}function cx(){return typeof location<"u"?location.origin:void 0}function fx(t,e,r,n,i,a){i===void 0&&(i=new WeakSet);var u=zr(t);t=u.toString();var f=O9(t,e,r,n,i,a);if(f.length===0)return{mainRequest:void 0};if(f.length===1)return{mainRequest:f[0]};var d=S9(f);if(u.origin!==cx()&&d.length>1){var l=d[0],_=A9(d,l[zt.RESPONSE_END],r),E=l[zt.RESPONSE_END],y=_[zt.FETCH_START];return y<E&&(_=l,l=void 0),{corsPreFlightRequest:l,mainRequest:_}}else return{mainRequest:f[0]}}function A9(t,e,r){for(var n=Yr(r),i=Yr(Zn(e)),a=t[1],u,f=t.length,d=1;d<f;d++){var l=t[d],_=Yr(Zn(l[zt.FETCH_START])),E=Yr(Zn(l[zt.RESPONSE_END])),y=n-E;_>=i&&(!u||y<u)&&(u=y,a=l)}return a}function O9(t,e,r,n,i,a){var u=Yr(e),f=Yr(r),d=n.filter(function(l){var _=Yr(Zn(l[zt.FETCH_START])),E=Yr(Zn(l[zt.RESPONSE_END]));return l.initiatorType.toLowerCase()===(a||"xmlhttprequest")&&l.name===t&&_>=u&&E<=f});return d.length>0&&(d=d.filter(function(l){return!i.has(l)})),d}function zr(t){if(typeof URL=="function")return new URL(t,typeof document<"u"?document.baseURI:typeof location<"u"?location.href:void 0);var e=T9();return e.href=t,e}function lx(t,e){var r=e||[];(typeof r=="string"||r instanceof RegExp)&&(r=[r]);var n=zr(t);return n.origin===cx()?!0:r.some(function(i){return sx(t,i)})}var Kr;(function(t){t.METHOD_OPEN="open",t.METHOD_SEND="send",t.EVENT_ABORT="abort",t.EVENT_ERROR="error",t.EVENT_LOAD="loaded",t.EVENT_TIMEOUT="timeout"})(Kr||(Kr={}));var kg="0.54.2",B0;(function(t){t.HTTP_STATUS_TEXT="http.status_text"})(B0||(B0={}));var w9=globalThis&&globalThis.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),C9=300,P9=function(t){w9(e,t);function e(r){r===void 0&&(r={});var n=t.call(this,"@opentelemetry/instrumentation-xml-http-request",kg,r)||this;return n.component="xml-http-request",n.version=kg,n.moduleName=n.component,n._tasksCount=0,n._xhrMem=new WeakMap,n._usedResources=new WeakSet,n}return e.prototype.init=function(){},e.prototype._addHeaders=function(r,n){var i=zr(n).href;if(!lx(i,this.getConfig().propagateTraceHeaderCorsUrls)){var a={};rr.inject(Rt.active(),a),Object.keys(a).length>0&&this._diag.debug("headers inject skipped due to CORS policy");return}var u={};rr.inject(Rt.active(),u),Object.keys(u).forEach(function(f){r.setRequestHeader(f,String(u[f]))})},e.prototype._addChildSpan=function(r,n){var i=this;Rt.with(ne.setSpan(Rt.active(),r),function(){var a=i.tracer.startSpan("CORS Preflight",{startTime:n[zt.FETCH_START]});i.getConfig().ignoreNetworkEvents||Nu(a,n),a.end(n[zt.RESPONSE_END])})},e.prototype._addFinalSpanAttributes=function(r,n,i){if(typeof i=="string"){var a=zr(i);n.status!==void 0&&r.setAttribute(Y1,n.status),n.statusText!==void 0&&r.setAttribute(B0.HTTP_STATUS_TEXT,n.statusText),r.setAttribute(X1,a.host),r.setAttribute(J1,a.protocol.replace(":","")),r.setAttribute(Z1,navigator.userAgent)}},e.prototype._applyAttributesAfterXHR=function(r,n){var i=this,a=this.getConfig().applyCustomAttributesOnSpan;typeof a=="function"&&Du(function(){return a(r,n)},function(u){!u||i._diag.error("applyCustomAttributesOnSpan",u)},!0)},e.prototype._addResourceObserver=function(r,n){var i=this._xhrMem.get(r);!i||typeof PerformanceObserver!="function"||typeof PerformanceResourceTiming!="function"||(i.createdResources={observer:new PerformanceObserver(function(a){var u=a.getEntries(),f=zr(n);u.forEach(function(d){d.initiatorType==="xmlhttprequest"&&d.name===f.href&&i.createdResources&&i.createdResources.entries.push(d)})}),entries:[]},i.createdResources.observer.observe({entryTypes:["resource"]}))},e.prototype._clearResources=function(){this._tasksCount===0&&this.getConfig().clearTimingResources&&(Sa.clearResourceTimings(),this._xhrMem=new WeakMap,this._usedResources=new WeakSet)},e.prototype._findResourceAndAddNetworkEvents=function(r,n,i,a,u){if(!(!i||!a||!u||!r.createdResources)){var f=r.createdResources.entries;(!f||!f.length)&&(f=Sa.getEntriesByType("resource"));var d=fx(zr(i).href,a,u,f,this._usedResources);if(d.mainRequest){var l=d.mainRequest;this._markResourceAsUsed(l);var _=d.corsPreFlightRequest;_&&(this._addChildSpan(n,_),this._markResourceAsUsed(_)),this.getConfig().ignoreNetworkEvents||Nu(n,l)}}},e.prototype._cleanPreviousSpanInformation=function(r){var n=this._xhrMem.get(r);if(n){var i=n.callbackToRemoveEvents;i&&i(),this._xhrMem.delete(r)}},e.prototype._createSpan=function(r,n,i){var a;if(ux(n,this.getConfig().ignoreUrls)){this._diag.debug("ignoring span as url matches ignored url");return}var u=i.toUpperCase(),f=this.tracer.startSpan(u,{kind:fo.CLIENT,attributes:(a={},a[q1]=i,a[z1]=zr(n).toString(),a)});return f.addEvent(Kr.METHOD_OPEN),this._cleanPreviousSpanInformation(r),this._xhrMem.set(r,{span:f,spanUrl:n}),f},e.prototype._markResourceAsUsed=function(r){this._usedResources.add(r)},e.prototype._patchOpen=function(){var r=this;return function(n){var i=r;return function(){for(var u=[],f=0;f<arguments.length;f++)u[f]=arguments[f];var d=u[0],l=u[1];return i._createSpan(this,l,d),n.apply(this,u)}}},e.prototype._patchSend=function(){var r=this;function n(_,E,y,b){var S=E.callbackToRemoveEvents;typeof S=="function"&&S();var C=E.span,O=E.spanUrl,I=E.sendStartTime;C&&(r._findResourceAndAddNetworkEvents(E,C,O,I,y),C.addEvent(_,b),r._addFinalSpanAttributes(C,E,O),C.end(b),r._tasksCount--),r._clearResources()}function i(_,E){var y=r._xhrMem.get(E);if(!!y){y.status=E.status,y.statusText=E.statusText,r._xhrMem.delete(E),y.span&&r._applyAttributesAfterXHR(y.span,E);var b=Oa(),S=Date.now();setTimeout(function(){n(_,y,b,S)},C9)}}function a(){i(Kr.EVENT_ERROR,this)}function u(){i(Kr.EVENT_ABORT,this)}function f(){i(Kr.EVENT_TIMEOUT,this)}function d(){this.status<299?i(Kr.EVENT_LOAD,this):i(Kr.EVENT_ERROR,this)}function l(_){_.removeEventListener("abort",u),_.removeEventListener("error",a),_.removeEventListener("load",d),_.removeEventListener("timeout",f);var E=r._xhrMem.get(_);E&&(E.callbackToRemoveEvents=void 0)}return function(_){return function(){for(var y=this,b=[],S=0;S<arguments.length;S++)b[S]=arguments[S];var C=r._xhrMem.get(this);if(!C)return _.apply(this,b);var O=C.span,I=C.spanUrl;return O&&I&&Rt.with(ne.setSpan(Rt.active(),O),function(){r._tasksCount++,C.sendStartTime=Oa(),O.addEvent(Kr.METHOD_SEND),y.addEventListener("abort",u),y.addEventListener("error",a),y.addEventListener("load",d),y.addEventListener("timeout",f),C.callbackToRemoveEvents=function(){l(y),C.createdResources&&C.createdResources.observer.disconnect()},r._addHeaders(y,I),r._addResourceObserver(y,I)}),_.apply(this,b)}}},e.prototype.enable=function(){this._diag.debug("applying patch to",this.moduleName,this.version),Cr(XMLHttpRequest.prototype.open)&&(this._unwrap(XMLHttpRequest.prototype,"open"),this._diag.debug("removing previous patch from method open")),Cr(XMLHttpRequest.prototype.send)&&(this._unwrap(XMLHttpRequest.prototype,"send"),this._diag.debug("removing previous patch from method send")),this._wrap(XMLHttpRequest.prototype,"open",this._patchOpen()),this._wrap(XMLHttpRequest.prototype,"send",this._patchSend())},e.prototype.disable=function(){this._diag.debug("removing patch from",this.moduleName,this.version),this._unwrap(XMLHttpRequest.prototype,"open"),this._unwrap(XMLHttpRequest.prototype,"send"),this._tasksCount=0,this._xhrMem=new WeakMap,this._usedResources=new WeakSet},e}(rn),Lu;(function(t){t.COMPONENT="component",t.HTTP_ERROR_NAME="http.error_name",t.HTTP_STATUS_TEXT="http.status_text"})(Lu||(Lu={}));var Ug="0.54.2",R9=globalThis&&globalThis.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),Dl,D9=300,jg=typeof process=="object"&&((Dl=process.release)===null||Dl===void 0?void 0:Dl.name)==="node",I9=function(t){R9(e,t);function e(r){r===void 0&&(r={});var n=t.call(this,"@opentelemetry/instrumentation-fetch",Ug,r)||this;return n.component="fetch",n.version=Ug,n.moduleName=n.component,n._usedResources=new WeakSet,n._tasksCount=0,n}return e.prototype.init=function(){},e.prototype._addChildSpan=function(r,n){var i=this.tracer.startSpan("CORS Preflight",{startTime:n[zt.FETCH_START]},ne.setSpan(Rt.active(),r));this.getConfig().ignoreNetworkEvents||Nu(i,n),i.end(n[zt.RESPONSE_END])},e.prototype._addFinalSpanAttributes=function(r,n){var i=zr(n.url);r.setAttribute(Y1,n.status),n.statusText!=null&&r.setAttribute(Lu.HTTP_STATUS_TEXT,n.statusText),r.setAttribute(X1,i.host),r.setAttribute(J1,i.protocol.replace(":","")),typeof navigator<"u"&&r.setAttribute(Z1,navigator.userAgent)},e.prototype._addHeaders=function(r,n){if(!lx(n,this.getConfig().propagateTraceHeaderCorsUrls)){var i={};rr.inject(Rt.active(),i),Object.keys(i).length>0&&this._diag.debug("headers inject skipped due to CORS policy");return}if(r instanceof Request)rr.inject(Rt.active(),r.headers,{set:function(a,u,f){return a.set(u,typeof f=="string"?f:String(f))}});else if(r.headers instanceof Headers)rr.inject(Rt.active(),r.headers,{set:function(a,u,f){return a.set(u,typeof f=="string"?f:String(f))}});else if(r.headers instanceof Map)rr.inject(Rt.active(),r.headers,{set:function(a,u,f){return a.set(u,typeof f=="string"?f:String(f))}});else{var i={};rr.inject(Rt.active(),i),r.headers=Object.assign({},i,r.headers||{})}},e.prototype._clearResources=function(){this._tasksCount===0&&this.getConfig().clearTimingResources&&(performance.clearResourceTimings(),this._usedResources=new WeakSet)},e.prototype._createSpan=function(r,n){var i;if(n===void 0&&(n={}),ux(r,this.getConfig().ignoreUrls)){this._diag.debug("ignoring span as url matches ignored url");return}var a=(n.method||"GET").toUpperCase(),u="HTTP "+a;return this.tracer.startSpan(u,{kind:fo.CLIENT,attributes:(i={},i[Lu.COMPONENT]=this.moduleName,i[q1]=a,i[z1]=r,i)})},e.prototype._findResourceAndAddNetworkEvents=function(r,n,i){var a=n.entries;if(!a.length){if(!performance.getEntriesByType)return;a=performance.getEntriesByType("resource")}var u=fx(n.spanUrl,n.startTime,i,a,this._usedResources,"fetch");if(u.mainRequest){var f=u.mainRequest;this._markResourceAsUsed(f);var d=u.corsPreFlightRequest;d&&(this._addChildSpan(r,d),this._markResourceAsUsed(d)),this.getConfig().ignoreNetworkEvents||Nu(r,f)}},e.prototype._markResourceAsUsed=function(r){this._usedResources.add(r)},e.prototype._endSpan=function(r,n,i){var a=this,u=Aa(Date.now()),f=Oa();this._addFinalSpanAttributes(r,i),setTimeout(function(){var d;(d=n.observer)===null||d===void 0||d.disconnect(),a._findResourceAndAddNetworkEvents(r,n,f),a._tasksCount--,a._clearResources(),r.end(u)},D9)},e.prototype._patchConstructor=function(){var r=this;return function(n){var i=r;return function(){for(var u=[],f=0;f<arguments.length;f++)u[f]=arguments[f];var d=this,l=zr(u[0]instanceof Request?u[0].url:String(u[0])).href,_=u[0]instanceof Request?u[0]:u[1]||{},E=i._createSpan(l,_);if(!E)return n.apply(this,u);var y=i._prepareSpanData(l);function b(I,T){i._applyAttributesAfterFetch(I,_,T),i._endSpan(I,y,{status:T.status||0,statusText:T.message,url:l})}function S(I,T){i._applyAttributesAfterFetch(I,_,T),T.status>=200&&T.status<400?i._endSpan(I,y,T):i._endSpan(I,y,{status:T.status,statusText:T.statusText,url:l})}function C(I,T,w){try{var N=w.clone(),L=w.clone(),M=N.body;if(M){var F=M.getReader(),U=function(){F.read().then(function(Z){var $=Z.done;$?S(I,L):U()},function(Z){b(I,Z)})};U()}else S(I,w)}finally{T(w)}}function O(I,T,w){try{b(I,w)}finally{T(w)}}return new Promise(function(I,T){return Rt.with(ne.setSpan(Rt.active(),E),function(){return i._addHeaders(_,l),i._tasksCount++,n.apply(d,_ instanceof Request?[_]:[l,_]).then(C.bind(d,E,I),O.bind(d,E,T))})})}}},e.prototype._applyAttributesAfterFetch=function(r,n,i){var a=this,u=this.getConfig().applyCustomAttributesOnSpan;u&&Du(function(){return u(r,n,i)},function(f){!f||a._diag.error("applyCustomAttributesOnSpan",f)},!0)},e.prototype._prepareSpanData=function(r){var n=Oa(),i=[];if(typeof PerformanceObserver!="function")return{entries:i,startTime:n,spanUrl:r};var a=new PerformanceObserver(function(u){var f=u.getEntries();f.forEach(function(d){d.initiatorType==="fetch"&&d.name===r&&i.push(d)})});return a.observe({entryTypes:["resource"]}),{entries:i,observer:a,startTime:n,spanUrl:r}},e.prototype.enable=function(){if(jg){this._diag.warn("this instrumentation is intended for web usage only, it does not instrument Node.js's fetch()");return}Cr(fetch)&&(this._unwrap(aa,"fetch"),this._diag.debug("removing previous patch for constructor")),this._wrap(aa,"fetch",this._patchConstructor())},e.prototype.disable=function(){jg||(this._unwrap(aa,"fetch"),this._usedResources=new WeakSet)},e}(rn),N9=globalThis&&globalThis.__read||function(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,a=[],u;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)a.push(i.value)}catch(f){u={error:f}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(u)throw u.error}}return a},L9=globalThis&&globalThis.__spreadArray||function(t,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,a;n<i;n++)(a||!(n in e))&&(a||(a=Array.prototype.slice.call(e,0,n)),a[n]=e[n]);return t.concat(a||Array.prototype.slice.call(e))},B9=function(){function t(){this._enabled=!1,this._currentContext=er}return t.prototype._bindFunction=function(e,r){e===void 0&&(e=er);var n=this,i=function(){for(var a=this,u=[],f=0;f<arguments.length;f++)u[f]=arguments[f];return n.with(e,function(){return r.apply(a,u)})};return Object.defineProperty(i,"length",{enumerable:!1,configurable:!0,writable:!1,value:r.length}),i},t.prototype.active=function(){return this._currentContext},t.prototype.bind=function(e,r){return e===void 0&&(e=this.active()),typeof r=="function"?this._bindFunction(e,r):r},t.prototype.disable=function(){return this._currentContext=er,this._enabled=!1,this},t.prototype.enable=function(){return this._enabled?this:(this._enabled=!0,this._currentContext=er,this)},t.prototype.with=function(e,r,n){for(var i=[],a=3;a<arguments.length;a++)i[a-3]=arguments[a];var u=this._currentContext;this._currentContext=e||er;try{return r.call.apply(r,L9([n],N9(i),!1))}finally{this._currentContext=u}},t}(),M9=globalThis&&globalThis.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),F9=function(t){M9(e,t);function e(r){r===void 0&&(r={});var n=t.call(this,r)||this;if(r.contextManager)throw"contextManager should be defined in register method not in constructor";if(r.propagator)throw"propagator should be defined in register method not in constructor";return n}return e.prototype.register=function(r){r===void 0&&(r={}),r.contextManager===void 0&&(r.contextManager=new B9),r.contextManager&&r.contextManager.enable(),t.prototype.register.call(this,r)},e}(GF),Lt;(function(t){t.CONNECT_END="connectEnd",t.CONNECT_START="connectStart",t.DECODED_BODY_SIZE="decodedBodySize",t.DOM_COMPLETE="domComplete",t.DOM_CONTENT_LOADED_EVENT_END="domContentLoadedEventEnd",t.DOM_CONTENT_LOADED_EVENT_START="domContentLoadedEventStart",t.DOM_INTERACTIVE="domInteractive",t.DOMAIN_LOOKUP_END="domainLookupEnd",t.DOMAIN_LOOKUP_START="domainLookupStart",t.ENCODED_BODY_SIZE="encodedBodySize",t.FETCH_START="fetchStart",t.LOAD_EVENT_END="loadEventEnd",t.LOAD_EVENT_START="loadEventStart",t.NAVIGATION_START="navigationStart",t.REDIRECT_END="redirectEnd",t.REDIRECT_START="redirectStart",t.REQUEST_START="requestStart",t.RESPONSE_END="responseEnd",t.RESPONSE_START="responseStart",t.SECURE_CONNECTION_START="secureConnectionStart",t.UNLOAD_EVENT_END="unloadEventEnd",t.UNLOAD_EVENT_START="unloadEventStart"})(Lt||(Lt={}));function gr(t,e){return e in t}function xe(t,e,r,n){var i=void 0,a=void 0;gr(r,e)&&typeof r[e]=="number"&&(i=r[e]);var u=n||Lt.FETCH_START;if(gr(r,u)&&typeof r[u]=="number"&&(a=r[u]),i!==void 0&&a!==void 0&&i>=a)return t.addEvent(e,i),t}function M0(t,e,r){r===void 0&&(r=!1),r||(xe(t,Lt.FETCH_START,e),xe(t,Lt.DOMAIN_LOOKUP_START,e),xe(t,Lt.DOMAIN_LOOKUP_END,e),xe(t,Lt.CONNECT_START,e),gr(e,"name")&&e.name.startsWith("https:")&&xe(t,Lt.SECURE_CONNECTION_START,e),xe(t,Lt.CONNECT_END,e),xe(t,Lt.REQUEST_START,e),xe(t,Lt.RESPONSE_START,e),xe(t,Lt.RESPONSE_END,e));var n=e[Lt.ENCODED_BODY_SIZE];n!==void 0&&t.setAttribute(D3,n);var i=e[Lt.DECODED_BODY_SIZE];i!==void 0&&n!==i&&t.setAttribute(I3,i)}function eo(t,e){if(t.nodeType===Node.DOCUMENT_NODE)return"/";var r=k9(t,e);if(e&&r.indexOf("@id")>0)return r;var n="";return t.parentNode&&(n+=eo(t.parentNode,!1)),n+=r,n}function $9(t){if(!t.parentNode)return 0;var e=[t.nodeType];t.nodeType===Node.CDATA_SECTION_NODE&&e.push(Node.TEXT_NODE);var r=Array.from(t.parentNode.childNodes);return r=r.filter(function(n){var i=n.localName;return e.indexOf(n.nodeType)>=0&&i===t.localName}),r.length>=1?r.indexOf(t)+1:0}function k9(t,e){var r=t.nodeType,n=$9(t),i="";if(r===Node.ELEMENT_NODE){var a=t.getAttribute("id");if(e&&a)return'//*[@id="'+a+'"]';i=t.localName}else if(r===Node.TEXT_NODE||r===Node.CDATA_SECTION_NODE)i="text()";else if(r===Node.COMMENT_NODE)i="comment()";else return"";return i&&n>1?"/"+i+"["+n+"]":"/"+i}var or;(function(t){t.DOCUMENT_LOAD="documentLoad",t.DOCUMENT_FETCH="documentFetch",t.RESOURCE_FETCH="resourceFetch"})(or||(or={}));var U9="0.41.0",j9="@opentelemetry/instrumentation-document-load",Bu;(function(t){t.FIRST_PAINT="firstPaint",t.FIRST_CONTENTFUL_PAINT="firstContentfulPaint"})(Bu||(Bu={}));var H9=function(){var t,e,r={},n=(e=(t=Je).getEntriesByType)===null||e===void 0?void 0:e.call(t,"navigation")[0];if(n){var i=Object.values(Lt);i.forEach(function(f){if(gr(n,f)){var d=n[f];typeof d=="number"&&(r[f]=d)}})}else{var a=Je,u=a.timing;if(u){var i=Object.values(Lt);i.forEach(function(d){if(gr(u,d)){var l=u[d];typeof l=="number"&&(r[d]=l)}})}}return r},Hg={"first-paint":Bu.FIRST_PAINT,"first-contentful-paint":Bu.FIRST_CONTENTFUL_PAINT},G9=function(t){var e,r,n=(r=(e=Je).getEntriesByType)===null||r===void 0?void 0:r.call(e,"paint");n&&n.forEach(function(i){var a=i.name,u=i.startTime;gr(Hg,a)&&t.addEvent(Hg[a],u)})},V9=globalThis&&globalThis.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),W9=function(t){V9(e,t);function e(r){r===void 0&&(r={});var n=t.call(this,j9,U9,r)||this;return n.component="document-load",n.version="1",n.moduleName=n.component,n}return e.prototype.init=function(){},e.prototype._onDocumentLoaded=function(){var r=this;window.setTimeout(function(){r._collectPerformance()})},e.prototype._addResourcesSpans=function(r){var n=this,i,a,u=(a=(i=Je).getEntriesByType)===null||a===void 0?void 0:a.call(i,"resource");u&&u.forEach(function(f){n._initResourceSpan(f,r)})},e.prototype._collectPerformance=function(){var r=this,n=Array.from(document.getElementsByTagName("meta")).find(function(u){return u.getAttribute("name")===Js}),i=H9(),a=n&&n.content||"";Rt.with(rr.extract(er,{traceparent:a}),function(){var u,f=r._startSpan(or.DOCUMENT_LOAD,Lt.FETCH_START,i);!f||(Rt.with(ne.setSpan(Rt.active(),f),function(){var d=r._startSpan(or.DOCUMENT_FETCH,Lt.FETCH_START,i);d&&(d.setAttribute(Al,location.href),Rt.with(ne.setSpan(Rt.active(),d),function(){var l;r.getConfig().ignoreNetworkEvents||M0(d,i),r._addCustomAttributesOnSpan(d,(l=r.getConfig().applyCustomAttributesOnSpan)===null||l===void 0?void 0:l.documentFetch),r._endSpan(d,Lt.RESPONSE_END,i)}))}),f.setAttribute(Al,location.href),f.setAttribute(t7,navigator.userAgent),r._addResourcesSpans(f),r.getConfig().ignoreNetworkEvents||(xe(f,Lt.FETCH_START,i),xe(f,Lt.UNLOAD_EVENT_START,i),xe(f,Lt.UNLOAD_EVENT_END,i),xe(f,Lt.DOM_INTERACTIVE,i),xe(f,Lt.DOM_CONTENT_LOADED_EVENT_START,i),xe(f,Lt.DOM_CONTENT_LOADED_EVENT_END,i),xe(f,Lt.DOM_COMPLETE,i),xe(f,Lt.LOAD_EVENT_START,i),xe(f,Lt.LOAD_EVENT_END,i)),r.getConfig().ignorePerformancePaintEvents||G9(f),r._addCustomAttributesOnSpan(f,(u=r.getConfig().applyCustomAttributesOnSpan)===null||u===void 0?void 0:u.documentLoad),r._endSpan(f,Lt.LOAD_EVENT_END,i))})},e.prototype._endSpan=function(r,n,i){r&&(gr(i,n)?r.end(i[n]):r.end())},e.prototype._initResourceSpan=function(r,n){var i,a=this._startSpan(or.RESOURCE_FETCH,Lt.FETCH_START,r,n);a&&(a.setAttribute(Al,r.name),this.getConfig().ignoreNetworkEvents||M0(a,r),this._addCustomAttributesOnResourceSpan(a,r,(i=this.getConfig().applyCustomAttributesOnSpan)===null||i===void 0?void 0:i.resourceFetch),this._endSpan(a,Lt.RESPONSE_END,r))},e.prototype._startSpan=function(r,n,i,a){if(gr(i,n)&&typeof i[n]=="number"){var u=this.tracer.startSpan(r,{startTime:i[n]},a?ne.setSpan(Rt.active(),a):void 0);return u}},e.prototype._waitForPageLoad=function(){window.document.readyState==="complete"?this._onDocumentLoaded():(this._onDocumentLoaded=this._onDocumentLoaded.bind(this),window.addEventListener("load",this._onDocumentLoaded))},e.prototype._addCustomAttributesOnSpan=function(r,n){var i=this;n&&Du(function(){return n(r)},function(a){!a||i._diag.error("addCustomAttributesOnSpan",a)},!0)},e.prototype._addCustomAttributesOnResourceSpan=function(r,n,i){var a=this;i&&Du(function(){return i(r,n)},function(u){!u||a._diag.error("addCustomAttributesOnResourceSpan",u)},!0)},e.prototype.enable=function(){window.removeEventListener("load",this._onDocumentLoaded),this._waitForPageLoad()},e.prototype.disable=function(){window.removeEventListener("load",this._onDocumentLoaded)},e}(rn),F0;(function(t){t.COMPONENT="component",t.EVENT_TYPE="event_type",t.TARGET_ELEMENT="target_element",t.TARGET_XPATH="target_xpath",t.VIEW_URL_ATTRIBUTE="ums.rum.view.url"})(F0||(F0={}));class K9 extends rn{constructor(e){super("@heytap/cloud-observation-instrumentation-navigation","2.4.0",e),this.config=e,this.component="navigation",this.moduleName=this.component,this._currentUrl=location.href,this.version="2.4.0",this._isEnabled=!1}init(){}_createSpan(e,r={}){const n=Object.assign({[F0.VIEW_URL_ATTRIBUTE]:e},r);try{return this.tracer.startSpan("Navigation",{attributes:n},er)}catch(i){ct.error(this.component,i)}}_patchHistoryApi(){this._unpatchHistoryApi(),this._wrap(history,"replaceState",this._patchHistoryMethod("replaceState")),this._wrap(history,"pushState",this._patchHistoryMethod("pushState")),this._wrap(history,"back",this._patchHistoryMethod("back")),this._wrap(history,"forward",this._patchHistoryMethod("forward")),this._wrap(history,"go",this._patchHistoryMethod("go"))}_patchHistoryMethod(e){const r=this;return n=>function(...a){const u=location.href,f=n.apply(this,a),d=location.href;return u!==d&&r._recordView(d,{"ums.rum.view.change_type":e}),f}}_onPopstate(){const e=this._currentUrl,r=location.href;e!==r&&this._recordView(r,{"ums.rum.view.change_type":"popstate"})}recordCustomView(e,r={}){return Object.entries(r).forEach(([n,i])=>{typeof i=="string"||JSON.stringify(i)}),this._recordView(e,r)}_recordView(e,r={}){this._currentUrl=e;const n=this._createSpan(e,r);n==null||n.end()}_unpatchHistoryApi(){Cr(history.replaceState)&&this._unwrap(history,"replaceState"),Cr(history.pushState)&&this._unwrap(history,"pushState"),Cr(history.back)&&this._unwrap(history,"back"),Cr(history.forward)&&this._unwrap(history,"forward"),Cr(history.go)&&this._unwrap(history,"go")}enable(){this._onPopstate=this._onPopstate.bind(this);const{trackViewsManually:e=!1}=this.config;this._isEnabled||(this._isEnabled=!0,ct.debug("applying patch to",this.moduleName,this.version),!e&&(window.addEventListener("popstate",this._onPopstate),this._patchHistoryApi()))}disable(){!this._isEnabled||(this._isEnabled=!1,ct.debug("removing patch from",this.moduleName,this.version),window.removeEventListener("popstate",this._onPopstate),this._unpatchHistoryApi())}}const q9=/[\\\'\x00-\x1F\x7F-\x9F\u00AD\u0600-\u0604\u070F\u17B4\u17B5\u200C-\u200F\u2028-\u202F\u2060-\u206F\uFEFF\uFFF0-\uFFFF]/g,z9=new Map([["\b","\\b"],["	","\\t"],[`
`,"\\n"],["\f","\\f"],["\r","\\r"],["'","\\'"],['"','\\"'],["\\","\\\\"]]);function X9(t){return z9.get(t)||`\\u${`0000${t.charCodeAt(0).toString(16)}`.slice(-4)}`}function J9(t){return`'${t.replace(q9,X9)}'`}const Y9=new Set("break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield".split(" ")),Z9=/^[A-Za-z_$][A-Za-z0-9_$]*$/;function ap(t){return typeof t=="string"&&!Y9.has(t)&&Z9.test(t)}function dx(t,e){return ap(t)?t:e(t)}function Gg(t,e){let r="";for(const n of t)ap(n)?r+=`.${n}`:r+=`[${e(n)}]`;return r}const Q9=function(){}.toString().charAt(0)==='"',tk={Function:"function ",GeneratorFunction:"function* ",AsyncFunction:"async function ",AsyncGeneratorFunction:"async function* "},ek={Function:"",GeneratorFunction:"*",AsyncFunction:"async ",AsyncGeneratorFunction:"async *"},rk=new Set("case delete else in instanceof new return throw typeof void , ; : + - ! ~ & | ^ * / % < > ? =".split(" ")),px=new WeakSet,nk=(t,e,r,n)=>{const i=typeof n=="string"?n:void 0;return i!==void 0&&px.add(t),new ok(t,e,r,i).stringify()};function ik(t){let e;for(const r of t.split(`
`).slice(1)){const n=/^[\s\t]+/.exec(r);if(!n)return t;const[i]=n;(e===void 0||i.length<e.length)&&(e=i)}return e?t.split(`
${e}`).join(`
`):t}class ok{constructor(e,r,n,i){this.fn=e,this.indent=r,this.next=n,this.key=i,this.pos=0,this.hadKeyword=!1,this.fnString=Function.prototype.toString.call(e),this.fnType=e.constructor.name,this.keyQuote=i===void 0?"":dx(i,n),this.keyPrefix=i===void 0?"":`${this.keyQuote}:${r?" ":""}`,this.isMethodCandidate=i===void 0?!1:this.fn.name===""||this.fn.name===i}stringify(){const e=this.tryParse();return e?ik(e):`${this.keyPrefix}void ${this.next(this.fnString)}`}getPrefix(){return this.isMethodCandidate&&!this.hadKeyword?ek[this.fnType]+this.keyQuote:this.keyPrefix+tk[this.fnType]}tryParse(){if(this.fnString[this.fnString.length-1]!=="}")return this.keyPrefix+this.fnString;if(this.fn.name){const r=this.tryStrippingName();if(r)return r}const e=this.pos;if(this.consumeSyntax()==="class")return this.fnString;if(this.pos=e,this.tryParsePrefixTokens()){const r=this.tryStrippingName();if(r)return r;let n=this.pos;switch(this.consumeSyntax("WORD_LIKE")){case"WORD_LIKE":this.isMethodCandidate&&!this.hadKeyword&&(n=this.pos);case"()":if(this.fnString.substr(this.pos,2)==="=>")return this.keyPrefix+this.fnString;this.pos=n;case'"':case"'":case"[]":return this.getPrefix()+this.fnString.substr(this.pos)}}}tryStrippingName(){if(Q9)return;let e=this.pos;const r=this.fnString.substr(this.pos,this.fn.name.length);if(r===this.fn.name&&(this.pos+=r.length,this.consumeSyntax()==="()"&&this.consumeSyntax()==="{}"&&this.pos===this.fnString.length))return(this.isMethodCandidate||!ap(r))&&(e+=r.length),this.getPrefix()+this.fnString.substr(e);this.pos=e}tryParsePrefixTokens(){let e=this.pos;switch(this.hadKeyword=!1,this.fnType){case"AsyncFunction":if(this.consumeSyntax()!=="async")return!1;e=this.pos;case"Function":return this.consumeSyntax()==="function"?this.hadKeyword=!0:this.pos=e,!0;case"AsyncGeneratorFunction":if(this.consumeSyntax()!=="async")return!1;case"GeneratorFunction":let r=this.consumeSyntax();return r==="function"&&(r=this.consumeSyntax(),this.hadKeyword=!0),r==="*"}}consumeSyntax(e){const r=this.consumeMatch(/^(?:([A-Za-z_0-9$\xA0-\uFFFF]+)|=>|\+\+|\-\-|.)/);if(!r)return;const[n,i]=r;if(this.consumeWhitespace(),i)return e||i;switch(n){case"(":return this.consumeSyntaxUntil("(",")");case"[":return this.consumeSyntaxUntil("[","]");case"{":return this.consumeSyntaxUntil("{","}");case"`":return this.consumeTemplate();case'"':return this.consumeRegExp(/^(?:[^\\"]|\\.)*"/,'"');case"'":return this.consumeRegExp(/^(?:[^\\']|\\.)*'/,"'")}return n}consumeSyntaxUntil(e,r){let n=!0;for(;;){const i=this.consumeSyntax();if(i===r)return e+r;if(!i||i===")"||i==="]"||i==="}")return;i==="/"&&n&&this.consumeMatch(/^(?:\\.|[^\\\/\n[]|\[(?:\\.|[^\]])*\])+\/[a-z]*/)?(n=!1,this.consumeWhitespace()):n=rk.has(i)}}consumeMatch(e){const r=e.exec(this.fnString.substr(this.pos));return r&&(this.pos+=r[0].length),r}consumeRegExp(e,r){const n=e.exec(this.fnString.substr(this.pos));if(!!n)return this.pos+=n[0].length,this.consumeWhitespace(),r}consumeTemplate(){for(;;){if(this.consumeMatch(/^(?:[^`$\\]|\\.|\$(?!{))*/),this.fnString[this.pos]==="`")return this.pos++,this.consumeWhitespace(),"`";if(!(this.fnString.substr(this.pos,2)==="${"&&(this.pos+=2,this.consumeWhitespace(),this.consumeSyntaxUntil("{","}"))))return}}consumeWhitespace(){this.consumeMatch(/^(?:\s|\/\/.*|\/\*[^]*?\*\/)*/)}}const ak=(t,e,r)=>{const n=t.map((a,u)=>{const f=r(a,u);return f===void 0?String(f):e+f.split(`
`).join(`
${e}`)}).join(e?`,
`:","),i=e&&n?`
`:"";return`[${i}${n}${i}]`},sk=(t,e,r,n)=>{if(typeof global=="object"&&t===global)return $0(t,e,r);const i=ck[Object.prototype.toString.call(t)];return i?i(t,e,r,n):void 0},uk=(t,e,r,n)=>{const i=e?`
`:"",a=e?" ":"",u=Object.keys(t).reduce((f,d)=>{const l=t[d],_=r(l,d);if(_===void 0)return f;const E=_.split(`
`).join(`
${e}`);return px.has(l)?(f.push(`${e}${E}`),f):(f.push(`${e}${dx(d,r)}:${a}${E}`),f)},[]).join(`,${i}`);return u===""?"{}":`{${i}${u}${i}}`},$0=(t,e,r)=>`Function(${r("return this")})()`,ck={"[object Array]":ak,"[object Object]":uk,"[object Error]":(t,e,r)=>`new Error(${r(t.message)})`,"[object Date]":t=>`new Date(${t.getTime()})`,"[object String]":(t,e,r)=>`new String(${r(t.toString())})`,"[object Number]":t=>`new Number(${t})`,"[object Boolean]":t=>`new Boolean(${t})`,"[object Set]":(t,e,r)=>`new Set(${r(Array.from(t))})`,"[object Map]":(t,e,r)=>`new Map(${r(Array.from(t))})`,"[object RegExp]":String,"[object global]":$0,"[object Window]":$0},fk={string:J9,number:t=>Object.is(t,-0)?"-0":String(t),boolean:String,symbol:(t,e,r)=>{const n=Symbol.keyFor(t);return n!==void 0?`Symbol.for(${r(n)})`:`Symbol(${r(t.description)})`},bigint:(t,e,r)=>`BigInt(${r(String(t))})`,undefined:String,object:sk,function:nk},Vg=(t,e,r,n)=>t===null?"null":fk[typeof t](t,e,r,n),Wg=Symbol("root");function hx(t,e,r,n={}){const i=typeof r=="string"?r:" ".repeat(r||0),a=[],u=new Set,f=new Map,d=new Map;let l=0;const{maxDepth:_=100,references:E=!1,skipUndefinedProperties:y=!1,maxValues:b=1e5}=n,S=lk(e),C=(T,w)=>{if(++l>b||y&&T===void 0||a.length>_)return;if(w===void 0)return S(T,i,C,w);a.push(w);const N=O(T,w===Wg?void 0:w);return a.pop(),N},O=E?(T,w)=>{if(T!==null&&(typeof T=="object"||typeof T=="function"||typeof T=="symbol")){if(f.has(T))return d.set(a.slice(1),f.get(T)),S(void 0,i,C,w);f.set(T,a.slice(1))}return S(T,i,C,w)}:(T,w)=>{if(u.has(T))return;u.add(T);const N=S(T,i,C,w);return u.delete(T),N},I=C(t,Wg);if(d.size){const T=i?" ":"",w=i?`
`:"";let N=`var x${T}=${T}${I};${w}`;for(const[L,M]of d.entries()){const F=Gg(L,C),U=Gg(M,C);N+=`x${F}${T}=${T}x${U};${w}`}return`(function${T}()${T}{${w}${N}return x;${w}}())`}return I}function lk(t){return t?(e,r,n,i)=>t(e,r,a=>Vg(a,r,n,i),i):Vg}const dk=5e3,k0=1e3,eu=(t,e)=>t.length>e?`${t.slice(0,e)}...`:t,zo=t=>{var e,r;if(t instanceof ErrorEvent){if(t.error)t=t.error;else if(t.message)return{name:"ErrorEvent",message:t.message}}return t instanceof Error?{name:t.name,message:eu(t.message,k0),stack:t.stack?eu(t.stack,dk):void 0}:{name:(e=t==null?void 0:t.name)!==null&&e!==void 0?e:"",message:eu((r=hx(t,null,null,{maxDepth:1}))!==null&&r!==void 0?r:"",k0)}};class pk extends Error{constructor(e){super(e),this.name="ApiError"}}class hk extends rn{constructor(e={}){super("@heytap/cloud-observation-instrumentation-exception","2.4.0",e),this.isPluginEnabled=!0;const r=console.error;console.error=(...n)=>{if(this.isPluginEnabled){if(n[0]&&typeof n[0]=="string"&&n[0].startsWith("Unhandled Promise rejection:"))return this.recordLog({source:"unhandledRejection",error:zo(n[7])});this._onConsoleError(n)}r.apply(console,n)}}init(){}recordLog(e){var r,n,i,a,u,f,d;const l={};e.element&&(l["element.xpath"]=e.element.xpath),!((r=e.element)===null||r===void 0)&&r.src&&(l["element.src"]=e.element.src),!((n=e.element)===null||n===void 0)&&n.href&&(l["element.href"]=e.element.href),e.source&&(l["exception.source"]=e.source),e.attributes&&Object.entries(e.attributes).forEach(([b,S])=>{l[`ums.rum.custom.${b}`]=typeof S=="string"?S:JSON.stringify(S)});const _={name:e.source.replace(/^\w/,b=>b.toUpperCase())};if(e.source==="documentError"&&(_.message=`Document error, xpath: ${(i=e.element)===null||i===void 0?void 0:i.xpath}`,!((a=e.element)===null||a===void 0)&&a.src?_.message+=`, src: ${(u=e.element)===null||u===void 0?void 0:u.src}`:!((f=e.element)===null||f===void 0)&&f.href&&(_.message+=`, href: ${(d=e.element)===null||d===void 0?void 0:d.href}`)),e.arguments){const b=e.arguments.map(C=>hx(C,null,null,{maxDepth:1})).join(" "),S=eu(b,k0);l["exception.arguments"]=S,_.message=S}e.error&&(e.error.name&&(_.name=e.error.name),e.error.message&&(_.message=e.error.message),e.error.stack&&(_.stack=e.error.stack));const E=Date.now(),y=this.tracer.startSpan("exception",{startTime:E,attributes:l});y.recordException(_),y.setStatus({code:Ou.ERROR}),Rt.with(ne.setSpan(Rt.active(),y),()=>{y.end(E)})}recordCustomError(e,r){this.recordLog({source:"customError",attributes:r,error:zo(e)})}recordApiError(e,r){if(typeof e!="string")return;const n=new pk(e);this.recordLog({source:"apiError",attributes:r,error:n})}_onError(e){this.recordLog({source:"uncaughtException",error:zo(e)})}_onUnhandledRejection(e){const{reason:r}=e;!r||this.recordLog({source:"unhandledRejection",error:zo(r)})}_onDocumentError({target:e}){if(!e)return;const r=eo(e),n=e==null?void 0:e.src,i=e==null?void 0:e.href;!r||this.recordLog({source:"documentError",element:{xpath:r,src:n,href:i}})}_onConsoleError(e){const r=e.find(n=>n instanceof Error);this.recordLog({arguments:e,source:"consoleError",error:r?zo(r):void 0})}enable(){this.disable(),this._onDocumentError=this._onDocumentError.bind(this),this._onError=this._onError.bind(this),this._onUnhandledRejection=this._onUnhandledRejection.bind(this),window.addEventListener("unhandledrejection",this._onUnhandledRejection),window.addEventListener("error",this._onError),document.documentElement.addEventListener("error",this._onDocumentError,{capture:!0}),this.isPluginEnabled=!0}disable(){window.removeEventListener("error",this._onError),window.removeEventListener("unhandledrejection",this._onUnhandledRejection),document.documentElement.removeEventListener("error",this._onDocumentError,{capture:!0}),this.isPluginEnabled=!1}}var Xi;(function(t){t.COMPONENT="component",t.EVENT_TYPE="event_type",t.TARGET_ELEMENT="target_element",t.TARGET_XPATH="target_xpath",t.VIEW_URL_ATTRIBUTE="ums.rum.view.url"})(Xi||(Xi={}));const _k=["click"];function vk(){return!1}class gk extends rn{constructor(e){var r;super("@heytap/cloud-observation-instrumentation-user-interaction","2.4.0",e),this.component="user-interaction",this.version="2.4.0",this.moduleName=this.component,this._spansData=new WeakMap,this._isEnabled=!1,this._wrappedListeners=new WeakMap,this._eventsSpanMap=new WeakMap,this._eventNames=new Set((r=e==null?void 0:e.eventNames)!==null&&r!==void 0?r:_k),this._shouldPreventSpanCreation=typeof(e==null?void 0:e.shouldPreventSpanCreation)=="function"?e.shouldPreventSpanCreation:vk}init(){}_allowEventName(e){return this._eventNames.has(e)}_createSpan(e,r){if(!(e instanceof HTMLElement)||!e.getAttribute||e.hasAttribute("disabled")||!this._allowEventName(r))return;const n=eo(e,!0);try{const i=this.tracer.startSpan(r,{attributes:{[Xi.COMPONENT]:this.component,[Xi.EVENT_TYPE]:r,[Xi.TARGET_ELEMENT]:e.tagName,[Xi.TARGET_XPATH]:n}},er);return this._shouldPreventSpanCreation(r,e,i)===!0?void 0:(this._spansData.set(i,{taskCount:0}),i)}catch(i){ct.error(this.component,i)}}addPatchedListener(e,r,n,i){let a=this._wrappedListeners.get(n);a||(a=new Map,this._wrappedListeners.set(n,a));let u=a.get(r);u||(u=new WeakMap,a.set(r,u));const f=e!=null?e:window;return u.has(f)?!1:(u.set(f,i),!0)}removePatchedListener(e,r,n){const i=this._wrappedListeners.get(n);if(!i)return;const a=i.get(r);if(!a)return;const u=e!=null?e:window,f=a.get(u);return f&&(a.delete(u),i.size===0&&this._wrappedListeners.delete(n)),f}_invokeListener(e,r,n){return typeof e=="function"?e.apply(r,n):e.handleEvent(n[0])}_patchAddEventListener(){const e=this;return r=>function(i,a,u){if(!a)return r.call(this,i,a,u);const f=u&&typeof u=="object"&&u.once,d=this,l=function(..._){const E=_[0],y=E==null?void 0:E.target;f&&e.removePatchedListener(d,i,a);const b=E&&e._eventsSpanMap.get(E),S=b||e._createSpan(y,i);if(S){E&&!b&&e._eventsSpanMap.set(E,S);const C=e._spansData.get(S),O=Rt.with(ne.setSpan(Rt.active(),S),()=>{const I=e._invokeListener(a,this,_);return C.lastListenerEndHrTime=Cu(),I});return E&&!b&&S.end(C.lastListenerEndHrTime),O}return E instanceof UIEvent&&E.isTrusted?Rt.with(er,()=>e._invokeListener(a,this,_)):e._invokeListener(a,this,_)};if(e.addPatchedListener(this,i,a,l))return r.call(this,i,l,u)}}_patchRemoveEventListener(){const e=this;return r=>function(i,a,u){const f=e.removePatchedListener(this,i,a);return f?r.call(this,i,f,u):r.call(this,i,a,u)}}_getPatchableEventTargets(){return window.EventTarget?[EventTarget.prototype]:[Node.prototype,Window.prototype]}enable(){if(this._isEnabled)return;this._isEnabled=!0,ct.debug("applying patch to",this.moduleName,this.version),this._getPatchableEventTargets().forEach(r=>{this._wrap(r,"addEventListener",this._patchAddEventListener()),this._wrap(r,"removeEventListener",this._patchRemoveEventListener())})}disable(){if(!this._isEnabled)return;this._isEnabled=!1,ct.debug("removing patch from",this.moduleName,this.version),this._getPatchableEventTargets().forEach(r=>{Cr(r.addEventListener)&&this._unwrap(r,"addEventListener"),Cr(r.removeEventListener)&&this._unwrap(r,"removeEventListener")})}}var U0,hn,sa,_x,Mu,vx=-1,xi=function(t){addEventListener("pageshow",function(e){e.persisted&&(vx=e.timeStamp,t(e))},!0)},sp=function(){var t=self.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0];if(t&&t.responseStart>0&&t.responseStart<performance.now())return t},uc=function(){var t=sp();return t&&t.activationStart||0},ar=function(t,e){var r=sp(),n="navigate";return vx>=0?n="back-forward-cache":r&&(document.prerendering||uc()>0?n="prerender":document.wasDiscarded?n="restore":r.type&&(n=r.type.replace(/_/g,"-"))),{name:t,value:e===void 0?-1:e,rating:"good",delta:0,entries:[],id:"v4-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:n}},bo=function(t,e,r){try{if(PerformanceObserver.supportedEntryTypes.includes(t)){var n=new PerformanceObserver(function(i){Promise.resolve().then(function(){e(i.getEntries())})});return n.observe(Object.assign({type:t,buffered:!0},r||{})),n}}catch(i){}},sr=function(t,e,r,n){var i,a;return function(u){e.value>=0&&(u||n)&&((a=e.value-(i||0))||i===void 0)&&(i=e.value,e.delta=a,e.rating=function(f,d){return f>d[1]?"poor":f>d[0]?"needs-improvement":"good"}(e.value,r),t(e))}},up=function(t){requestAnimationFrame(function(){return requestAnimationFrame(function(){return t()})})},ja=function(t){document.addEventListener("visibilitychange",function(){document.visibilityState==="hidden"&&t()})},cc=function(t){var e=!1;return function(){e||(t(),e=!0)}},Ji=-1,Kg=function(){return document.visibilityState!=="hidden"||document.prerendering?1/0:0},Fu=function(t){document.visibilityState==="hidden"&&Ji>-1&&(Ji=t.type==="visibilitychange"?t.timeStamp:0,mk())},qg=function(){addEventListener("visibilitychange",Fu,!0),addEventListener("prerenderingchange",Fu,!0)},mk=function(){removeEventListener("visibilitychange",Fu,!0),removeEventListener("prerenderingchange",Fu,!0)},cp=function(){return Ji<0&&(Ji=Kg(),qg(),xi(function(){setTimeout(function(){Ji=Kg(),qg()},0)})),{get firstHiddenTime(){return Ji}}},Ha=function(t){document.prerendering?addEventListener("prerenderingchange",function(){return t()},!0):t()},zg=[1800,3e3],gx=function(t,e){e=e||{},Ha(function(){var r,n=cp(),i=ar("FCP"),a=bo("paint",function(u){u.forEach(function(f){f.name==="first-contentful-paint"&&(a.disconnect(),f.startTime<n.firstHiddenTime&&(i.value=Math.max(f.startTime-uc(),0),i.entries.push(f),r(!0)))})});a&&(r=sr(t,i,zg,e.reportAllChanges),xi(function(u){i=ar("FCP"),r=sr(t,i,zg,e.reportAllChanges),up(function(){i.value=performance.now()-u.timeStamp,r(!0)})}))})},Xg=[.1,.25],yk=function(t,e){e=e||{},gx(cc(function(){var r,n=ar("CLS",0),i=0,a=[],u=function(d){d.forEach(function(l){if(!l.hadRecentInput){var _=a[0],E=a[a.length-1];i&&l.startTime-E.startTime<1e3&&l.startTime-_.startTime<5e3?(i+=l.value,a.push(l)):(i=l.value,a=[l])}}),i>n.value&&(n.value=i,n.entries=a,r())},f=bo("layout-shift",u);f&&(r=sr(t,n,Xg,e.reportAllChanges),ja(function(){u(f.takeRecords()),r(!0)}),xi(function(){i=0,n=ar("CLS",0),r=sr(t,n,Xg,e.reportAllChanges),up(function(){return r()})}),setTimeout(r,0))}))},mx=0,Il=1/0,Rs=0,Ek=function(t){t.forEach(function(e){e.interactionId&&(Il=Math.min(Il,e.interactionId),Rs=Math.max(Rs,e.interactionId),mx=Rs?(Rs-Il)/7+1:0)})},yx=function(){return U0?mx:performance.interactionCount||0},xk=function(){"interactionCount"in performance||U0||(U0=bo("event",Ek,{type:"event",buffered:!0,durationThreshold:0}))},Sr=[],ru=new Map,Ex=0,bk=function(){var t=Math.min(Sr.length-1,Math.floor((yx()-Ex)/50));return Sr[t]},Tk=[],Sk=function(t){if(Tk.forEach(function(i){return i(t)}),t.interactionId||t.entryType==="first-input"){var e=Sr[Sr.length-1],r=ru.get(t.interactionId);if(r||Sr.length<10||t.duration>e.latency){if(r)t.duration>r.latency?(r.entries=[t],r.latency=t.duration):t.duration===r.latency&&t.startTime===r.entries[0].startTime&&r.entries.push(t);else{var n={id:t.interactionId,latency:t.duration,entries:[t]};ru.set(n.id,n),Sr.push(n)}Sr.sort(function(i,a){return a.latency-i.latency}),Sr.length>10&&Sr.splice(10).forEach(function(i){return ru.delete(i.id)})}}},xx=function(t){var e=self.requestIdleCallback||self.setTimeout,r=-1;return t=cc(t),document.visibilityState==="hidden"?t():(r=e(t),ja(t)),r},Jg=[200,500],Ak=function(t,e){"PerformanceEventTiming"in self&&"interactionId"in PerformanceEventTiming.prototype&&(e=e||{},Ha(function(){var r;xk();var n,i=ar("INP"),a=function(f){xx(function(){f.forEach(Sk);var d=bk();d&&d.latency!==i.value&&(i.value=d.latency,i.entries=d.entries,n())})},u=bo("event",a,{durationThreshold:(r=e.durationThreshold)!==null&&r!==void 0?r:40});n=sr(t,i,Jg,e.reportAllChanges),u&&(u.observe({type:"first-input",buffered:!0}),ja(function(){a(u.takeRecords()),n(!0)}),xi(function(){Ex=yx(),Sr.length=0,ru.clear(),i=ar("INP"),n=sr(t,i,Jg,e.reportAllChanges)}))}))},Yg=[2500,4e3],Nl={},Ok=function(t,e){e=e||{},Ha(function(){var r,n=cp(),i=ar("LCP"),a=function(d){e.reportAllChanges||(d=d.slice(-1)),d.forEach(function(l){l.startTime<n.firstHiddenTime&&(i.value=Math.max(l.startTime-uc(),0),i.entries=[l],r())})},u=bo("largest-contentful-paint",a);if(u){r=sr(t,i,Yg,e.reportAllChanges);var f=cc(function(){Nl[i.id]||(a(u.takeRecords()),u.disconnect(),Nl[i.id]=!0,r(!0))});["keydown","click"].forEach(function(d){addEventListener(d,function(){return xx(f)},{once:!0,capture:!0})}),ja(f),xi(function(d){i=ar("LCP"),r=sr(t,i,Yg,e.reportAllChanges),up(function(){i.value=performance.now()-d.timeStamp,Nl[i.id]=!0,r(!0)})})}})},Zg=[800,1800],wk=function t(e){document.prerendering?Ha(function(){return t(e)}):document.readyState!=="complete"?addEventListener("load",function(){return t(e)},!0):setTimeout(e,0)},Ck=function(t,e){e=e||{};var r=ar("TTFB"),n=sr(t,r,Zg,e.reportAllChanges);wk(function(){var i=sp();i&&(r.value=Math.max(i.responseStart-uc(),0),r.entries=[i],n(!0),xi(function(){r=ar("TTFB",0),(n=sr(t,r,Zg,e.reportAllChanges))(!0)}))})},Zo={passive:!0,capture:!0},Pk=new Date,Qg=function(t,e){hn||(hn=e,sa=t,_x=new Date,Tx(removeEventListener),bx())},bx=function(){if(sa>=0&&sa<_x-Pk){var t={entryType:"first-input",name:hn.type,target:hn.target,cancelable:hn.cancelable,startTime:hn.timeStamp,processingStart:hn.timeStamp+sa};Mu.forEach(function(e){e(t)}),Mu=[]}},Rk=function(t){if(t.cancelable){var e=(t.timeStamp>1e12?new Date:performance.now())-t.timeStamp;t.type=="pointerdown"?function(r,n){var i=function(){Qg(r,n),u()},a=function(){u()},u=function(){removeEventListener("pointerup",i,Zo),removeEventListener("pointercancel",a,Zo)};addEventListener("pointerup",i,Zo),addEventListener("pointercancel",a,Zo)}(e,t):Qg(e,t)}},Tx=function(t){["mousedown","keydown","touchstart","pointerdown"].forEach(function(e){return t(e,Rk,Zo)})},tm=[100,300],Dk=function(t,e){e=e||{},Ha(function(){var r,n=cp(),i=ar("FID"),a=function(d){d.startTime<n.firstHiddenTime&&(i.value=d.processingStart-d.startTime,i.entries.push(d),r(!0))},u=function(d){d.forEach(a)},f=bo("first-input",u);r=sr(t,i,tm,e.reportAllChanges),f&&(ja(cc(function(){u(f.takeRecords()),f.disconnect()})),xi(function(){var d;i=ar("FID"),r=sr(t,i,tm,e.reportAllChanges),Mu=[],sa=-1,hn=null,Tx(addEventListener),d=a,Mu.push(d),bx()}))})};const Ds={performance:"performance",CLS:"performanceCLS",FID:"performanceFID",INP:"performanceINP",LCP:"performanceLCP"},Ik="ums.rum.cls",Nk="ums.rum.fid",Lk="ums.rum.inp",Bk="ums.rum.lcp",Mk="ums.rum.lcp.target",Fk="ums.rum.fid.target",$k="ums.rum.inp.target";class kk extends rn{constructor(e){super("@heytap/cloud-observation-instrumentation-performance","2.4.0",e||{})}init(){}_startSpan(e){return Rt.with(er,()=>this.tracer.startSpan(e))}_onLcp(e){const r=e.entries.find(i=>!!i.element),n=this._startSpan(Ds.LCP);n.setAttribute(Bk,e.value),r&&n.setAttribute(Mk,eo(r.element,!0)),n.end()}_onINP(e){const r=e.entries.find(i=>!!i.target),n=this._startSpan(Ds.INP);n.setAttribute(Lk,e.value),r&&n.setAttribute($k,eo(r.target,!0)),n.end()}_onFID(e){const r=e.entries.find(i=>!!i.target),n=this._startSpan(Ds.FID);n.setAttribute(Nk,e.value),r&&n.setAttribute(Fk,eo(r.target,!0)),n.end()}_onCLS(e){const r=this._startSpan(Ds.CLS);r.setAttribute(Ik,e.value),r.end()}_initPerformance(){yk(e=>this._onCLS(e)),Dk(e=>this._onFID(e)),Ak(e=>this._onINP(e)),Ok(e=>this._onLcp(e))}enable(){this._initPerformance()}disable(){}}class Uk extends rn{constructor(e){super("@heytap/cloud-observation-instrumentation-resource","2.4.0",e||{}),this._noCollectType=["xmlhttprequest","fetch"]}init(){}_getConfig(){return this._config}_startSpan(e,r,n){if(gr(n,r)&&typeof n[r]=="number")return this.tracer.startSpan(e,{startTime:n[r]})}_endSpan(e,r,n){e&&(gr(n,r)?e.end(n[r]):e.end())}isSupported(){return!(typeof PerformanceObserver>"u"||!PerformanceObserver.supportedEntryTypes)}_initResourceSpan(e){if(C1(e.name,this._getConfig().ignoreUrls)||this._noCollectType.includes(e.initiatorType))return;const r=this._startSpan(or.RESOURCE_FETCH,Lt.FETCH_START,e);r&&(r.setAttribute(Se.HTTP_URL,e.name),r.setAttribute(Se.HTTP_STATUS_CODE,e.responseStatus),M0(r,e),this._endSpan(r,Lt.RESPONSE_END,e))}_collectPerformance(e){e.getEntries().forEach(n=>{this._initResourceSpan(n)})}_onDocumentLoaded(){window.setTimeout(()=>{this._observer=new PerformanceObserver(e=>this._collectPerformance(e)),this._observer.observe({entryTypes:["resource"]})},10)}bufferFull(){performance.clearResourceTimings()}_waitForPageLoad(){window.document.readyState==="complete"?this._onDocumentLoaded():(this._onDocumentLoaded=this._onDocumentLoaded.bind(this),window.addEventListener("load",this._onDocumentLoaded))}enable(){if(!this.isSupported()){this._diag.debug("Environment not supported");return}window.removeEventListener("load",this._onDocumentLoaded),this._waitForPageLoad(),performance.addEventListener("resourcetimingbufferfull",this.bufferFull)}disable(){window.removeEventListener("load",this._onDocumentLoaded),this._observer.disconnect(),performance.removeEventListener("resourcetimingbufferfull",this.bufferFull)}}var em="0.41.0",jk="@opentelemetry/instrumentation-long-task",Hk=globalThis&&globalThis.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),Ll="longtask",Gk=function(t){Hk(e,t);function e(r){r===void 0&&(r={});var n=t.call(this,jk,em,r)||this;return n.version=em,n}return e.prototype.init=function(){},e.prototype.isSupported=function(){return typeof PerformanceObserver>"u"||!PerformanceObserver.supportedEntryTypes?!1:PerformanceObserver.supportedEntryTypes.includes(Ll)},e.prototype._createSpanFromEntry=function(r){var n=this.tracer.startSpan(Ll,{startTime:Cu(r.startTime)}),i=this.getConfig().observerCallback;if(i)try{i(n,{longtaskEntry:r})}catch(a){ct.error("longtask instrumentation: observer callback failed",a)}n.setAttribute("longtask.name",r.name),n.setAttribute("longtask.entry_type",r.entryType),n.setAttribute("longtask.duration",r.duration),Array.isArray(r.attribution)&&r.attribution.forEach(function(a,u){var f=r.attribution.length>1?"longtask.attribution["+u+"]":"longtask.attribution";n.setAttribute(f+".name",a.name),n.setAttribute(f+".entry_type",a.entryType),n.setAttribute(f+".start_time",a.startTime),n.setAttribute(f+".duration",a.duration),n.setAttribute(f+".container_type",a.containerType),n.setAttribute(f+".container_src",a.containerSrc),n.setAttribute(f+".container_id",a.containerId),n.setAttribute(f+".container_name",a.containerName)}),n.end(Cu(r.startTime+r.duration))},e.prototype.enable=function(){var r=this;if(!this.isSupported()){this._diag.debug("Environment not supported");return}this._observer||(this._observer=new PerformanceObserver(function(n){n.getEntries().forEach(function(i){return r._createSpanFromEntry(i)})}),this._observer.observe({type:Ll,buffered:!0}))},e.prototype.disable=function(){!this._observer||(this._observer.disconnect(),this._observer=void 0)},e}(rn),Vk=function(){function t(e){e===void 0&&(e={}),this._sendingPromises=[],this.shutdown=this.shutdown.bind(this),this._shutdownOnce=new op(this._shutdown,this),this._concurrencyLimit=typeof e.concurrencyLimit=="number"?e.concurrencyLimit:30}return t.prototype.export=function(e,r){if(this._shutdownOnce.isCalled){r({code:Kn.FAILED,error:new Error("Exporter has been shutdown")});return}if(this._sendingPromises.length>=this._concurrencyLimit){r({code:Kn.FAILED,error:new Error("Concurrent export limit reached")});return}this._export(e).then(function(){r({code:Kn.SUCCESS})}).catch(function(n){r({code:Kn.FAILED,error:n})})},t.prototype._export=function(e){var r=this;return new Promise(function(n,i){try{ct.debug("items to be sent",e),r.send(e,n,i)}catch(a){i(a)}})},t.prototype.shutdown=function(){return this._shutdownOnce.call()},t.prototype.forceFlush=function(){return Promise.all(this._sendingPromises).then(function(){})},t.prototype._shutdown=function(){return ct.debug("shutdown started"),this.onShutdown(),this.forceFlush()},t}(),Wk=globalThis&&globalThis.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),rm=function(t){Wk(e,t);function e(r,n,i){var a=t.call(this,r)||this;return a.name="OTLPExporterError",a.data=i,a.code=n,a}return e}(Error);function Kk(t){var e=[429,502,503,504];return e.includes(t)}function qk(t){if(t!=null){var e=Number.parseInt(t,10);if(Number.isInteger(e))return e>0?e*1e3:-1;var r=new Date(t).getTime()-Date.now();return r>=0?r:0}}var zk=globalThis&&globalThis.__read||function(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,a=[],u;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)a.push(i.value)}catch(f){u={error:f}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(u)throw u.error}}return a},Xk=function(){function t(e){this._parameters=e}return t.prototype.send=function(e,r){var n=this;return new Promise(function(i){var a=new XMLHttpRequest;a.timeout=r,a.open("POST",n._parameters.url),Object.entries(n._parameters.headers).forEach(function(u){var f=zk(u,2),d=f[0],l=f[1];a.setRequestHeader(d,l)}),a.ontimeout=function(u){i({status:"failure",error:new Error("XHR request timed out")})},a.onreadystatechange=function(){a.status>=200&&a.status<=299?(ct.debug("XHR success"),i({status:"success"})):a.status&&Kk(a.status)?i({status:"retryable",retryInMillis:qk(a.getResponseHeader("Retry-After"))}):a.status!==0&&i({status:"failure",error:new Error("XHR request failed with non-retryable status")})},a.onabort=function(){i({status:"failure",error:new Error("XHR request aborted")})},a.onerror=function(){i({status:"failure",error:new Error("XHR request errored")})},a.send(new Blob([e],{type:n._parameters.headers["Content-Type"]}))})},t.prototype.shutdown=function(){},t}();function Jk(t){return new Xk(t)}var Yk=function(){function t(e){this._params=e}return t.prototype.send=function(e){var r=this;return new Promise(function(n){navigator.sendBeacon(r._params.url,new Blob([e],{type:r._params.blobType}))?(ct.debug("SendBeacon success"),n({status:"success"})):n({status:"failure",error:new Error("SendBeacon failed")})})},t.prototype.shutdown=function(){},t}();function Zk(t){return new Yk(t)}var Qk=globalThis&&globalThis.__awaiter||function(t,e,r,n){function i(a){return a instanceof r?a:new r(function(u){u(a)})}return new(r||(r=Promise))(function(a,u){function f(_){try{l(n.next(_))}catch(E){u(E)}}function d(_){try{l(n.throw(_))}catch(E){u(E)}}function l(_){_.done?a(_.value):i(_.value).then(f,d)}l((n=n.apply(t,e||[])).next())})},tU=globalThis&&globalThis.__generator||function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,u;return u={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function f(l){return function(_){return d([l,_])}}function d(l){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(a=l[0]&2?i.return:l[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,l[1])).done)return a;switch(i=0,a&&(l=[l[0]&2,a.value]),l[0]){case 0:case 1:a=l;break;case 4:return r.label++,{value:l[1],done:!1};case 5:r.label++,i=l[1],l=[0];continue;case 7:l=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]<a[3])){r.label=l[1];break}if(l[0]===6&&r.label<a[1]){r.label=a[1],a=l;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(l);break}a[2]&&r.ops.pop(),r.trys.pop();continue}l=e.call(t,r)}catch(_){l=[6,_],i=0}finally{n=a=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},eU=5,rU=1e3,nU=5e3,iU=1.5,nm=.2;function oU(){return Math.random()*(2*nm)-nm}var aU=function(){function t(e){this._transport=e}return t.prototype.retry=function(e,r,n){var i=this;return new Promise(function(a,u){setTimeout(function(){i._transport.send(e,r).then(a,u)},n)})},t.prototype.send=function(e,r){var n;return Qk(this,void 0,void 0,function(){var i,a,u,f,d,l,_;return tU(this,function(E){switch(E.label){case 0:return i=Date.now()+r,[4,this._transport.send(e,r)];case 1:a=E.sent(),u=eU,f=rU,E.label=2;case 2:return a.status==="retryable"&&u>0?(u--,d=Math.max(Math.min(f,nU)+oU(),0),f=f*iU,l=(n=a.retryInMillis)!==null&&n!==void 0?n:d,_=i-Date.now(),l>_?[2,a]:[4,this.retry(e,_,l)]):[3,4];case 3:return a=E.sent(),[3,2];case 4:return[2,a]}})})},t.prototype.shutdown=function(){return this._transport.shutdown()},t}();function sU(t){return new aU(t.transport)}function uU(t){if(!Number.isNaN(t)&&Number.isFinite(t)&&t>0)return t;throw new Error("Configuration: timeoutMillis is invalid, expected number greater than 0 (actual: '"+t+"')")}function cU(t,e,r){var n,i,a,u,f,d;return{timeoutMillis:uU((i=(n=t.timeoutMillis)!==null&&n!==void 0?n:e.timeoutMillis)!==null&&i!==void 0?i:r.timeoutMillis),concurrencyLimit:(u=(a=t.concurrencyLimit)!==null&&a!==void 0?a:e.concurrencyLimit)!==null&&u!==void 0?u:r.concurrencyLimit,compression:(d=(f=t.compression)!==null&&f!==void 0?f:e.compression)!==null&&d!==void 0?d:r.compression}}function fU(){return{timeoutMillis:1e4,concurrencyLimit:30,compression:"none"}}var lU=globalThis&&globalThis.__read||function(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,a=[],u;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)a.push(i.value)}catch(f){u={error:f}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(u)throw u.error}}return a};function dU(t){t===void 0&&(t={});var e={};return Object.entries(t).forEach(function(r){var n=lU(r,2),i=n[0],a=n[1];typeof a<"u"?e[i]=String(a):ct.warn('Header "'+i+'" has invalid value ('+a+") and will be ignored")}),e}var ai=globalThis&&globalThis.__assign||function(){return ai=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++){e=arguments[r];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}return t},ai.apply(this,arguments)};function pU(t,e,r){var n=ai({},r),i={};return e!=null&&Object.assign(i,e),t!=null&&Object.assign(i,t),Object.assign(i,n)}function hU(t){if(t!=null)try{return new URL(t),t}catch(e){throw new Error("Configuration: Could not parse user-provided export URL: '"+t+"'")}}function _U(t,e,r){var n,i;return ai(ai({},cU(t,e,r)),{headers:pU(dU(t.headers),e.headers,r.headers),url:(i=(n=hU(t.url))!==null&&n!==void 0?n:e.url)!==null&&i!==void 0?i:r.url})}function vU(t,e){return ai(ai({},fU()),{headers:t,url:"http://localhost:4318/"+e})}var gU=globalThis&&globalThis.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),Sx=function(t){gU(e,t);function e(r,n,i,a){r===void 0&&(r={});var u=t.call(this,r)||this;u._serializer=n;var f=!!r.headers||typeof navigator.sendBeacon!="function",d=_U({url:r.url,timeoutMillis:r.timeoutMillis,headers:r.headers,concurrencyLimit:r.concurrencyLimit},{},vU(i,a));return u._timeoutMillis=d.timeoutMillis,u._concurrencyLimit=d.concurrencyLimit,f?u._transport=sU({transport:Jk({headers:d.headers,url:d.url})}):u._transport=Zk({url:d.url,blobType:d.headers["Content-Type"]}),u}return e.prototype.onShutdown=function(){},e.prototype.send=function(r,n,i){var a=this;if(this._shutdownOnce.isCalled){ct.debug("Shutdown already started. Cannot send objects");return}var u=this._serializer.serializeRequest(r);if(u==null){i(new Error("Could not serialize message"));return}var f=this._transport.send(u,this._timeoutMillis).then(function(l){l.status==="success"?n():l.status==="failure"&&l.error?i(l.error):l.status==="retryable"?i(new rm("Export failed with retryable status")):i(new rm("Export failed with unknown error"))},i);this._sendingPromises.push(f);var d=function(){var l=a._sendingPromises.indexOf(f);a._sendingPromises.splice(l,1)};f.then(d,d)},e}(Vk);function Ax(t){var e=BigInt(1e9);return BigInt(t[0])*e+BigInt(t[1])}function mU(t){var e=Number(BigInt.asUintN(32,t)),r=Number(BigInt.asUintN(32,t>>BigInt(32)));return{low:e,high:r}}function Ox(t){var e=Ax(t);return mU(e)}function yU(t){var e=Ax(t);return e.toString()}var EU=typeof BigInt<"u"?yU:Yr;function im(t){return t}function wx(t){if(t!==void 0)return ip(t)}var xU={encodeHrTime:Ox,encodeSpanContext:ip,encodeOptionalSpanContext:wx};function Cx(t){var e,r;if(t===void 0)return xU;var n=(e=t.useLongBits)!==null&&e!==void 0?e:!0,i=(r=t.useHex)!==null&&r!==void 0?r:!1;return{encodeHrTime:n?Ox:EU,encodeSpanContext:i?im:ip,encodeOptionalSpanContext:i?im:wx}}var bU=globalThis&&globalThis.__read||function(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,a=[],u;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)a.push(i.value)}catch(f){u={error:f}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(u)throw u.error}}return a};function Px(t){return{name:t.name,version:t.version}}function fc(t){return Object.keys(t).map(function(e){return fp(e,t[e])})}function fp(t,e){return{key:t,value:lp(e)}}function lp(t){var e=typeof t;return e==="string"?{stringValue:t}:e==="number"?Number.isInteger(t)?{intValue:t}:{doubleValue:t}:e==="boolean"?{boolValue:t}:t instanceof Uint8Array?{bytesValue:t}:Array.isArray(t)?{arrayValue:{values:t.map(lp)}}:e==="object"&&t!=null?{kvlistValue:{values:Object.entries(t).map(function(r){var n=bU(r,2),i=n[0],a=n[1];return fp(i,a)})}}:{}}function TU(t,e){var r,n=t.spanContext(),i=t.status;return{traceId:e.encodeSpanContext(n.traceId),spanId:e.encodeSpanContext(n.spanId),parentSpanId:e.encodeOptionalSpanContext(t.parentSpanId),traceState:(r=n.traceState)===null||r===void 0?void 0:r.serialize(),name:t.name,kind:t.kind==null?0:t.kind+1,startTimeUnixNano:e.encodeHrTime(t.startTime),endTimeUnixNano:e.encodeHrTime(t.endTime),attributes:fc(t.attributes),droppedAttributesCount:t.droppedAttributesCount,events:t.events.map(function(a){return AU(a,e)}),droppedEventsCount:t.droppedEventsCount,status:{code:i.code,message:i.message},links:t.links.map(function(a){return SU(a,e)}),droppedLinksCount:t.droppedLinksCount}}function SU(t,e){var r;return{attributes:t.attributes?fc(t.attributes):[],spanId:e.encodeSpanContext(t.context.spanId),traceId:e.encodeSpanContext(t.context.traceId),traceState:(r=t.context.traceState)===null||r===void 0?void 0:r.serialize(),droppedAttributesCount:t.droppedAttributesCount||0}}function AU(t,e){return{attributes:t.attributes?fc(t.attributes):[],name:t.name,timeUnixNano:e.encodeHrTime(t.time),droppedAttributesCount:t.droppedAttributesCount||0}}function Rx(t){return{attributes:fc(t.attributes),droppedAttributesCount:0}}var OU=globalThis&&globalThis.__values||function(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},wU=globalThis&&globalThis.__read||function(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,a=[],u;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)a.push(i.value)}catch(f){u={error:f}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(u)throw u.error}}return a};function CU(t,e){var r=Cx(e);return{resourceSpans:RU(t,r)}}function PU(t){var e,r,n=new Map;try{for(var i=OU(t),a=i.next();!a.done;a=i.next()){var u=a.value,f=n.get(u.resource);f||(f=new Map,n.set(u.resource,f));var d=u.instrumentationLibrary.name+"@"+(u.instrumentationLibrary.version||"")+":"+(u.instrumentationLibrary.schemaUrl||""),l=f.get(d);l||(l=[],f.set(d,l)),l.push(u)}}catch(_){e={error:_}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return n}function RU(t,e){for(var r=PU(t),n=[],i=r.entries(),a=i.next();!a.done;){for(var u=wU(a.value,2),f=u[0],d=u[1],l=[],_=d.values(),E=_.next();!E.done;){var y=E.value;if(y.length>0){var b=y.map(function(C){return TU(C,e)});l.push({scope:Px(y[0].instrumentationLibrary),spans:b,schemaUrl:y[0].instrumentationLibrary.schemaUrl})}E=_.next()}var S={resource:Rx(f),scopeSpans:l,schemaUrl:void 0};n.push(S),a=i.next()}return n}var DU=globalThis&&globalThis.__values||function(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},om=globalThis&&globalThis.__read||function(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,a=[],u;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)a.push(i.value)}catch(f){u={error:f}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(u)throw u.error}}return a};function IU(t,e){var r=Cx(e);return{resourceLogs:LU(t,r)}}function NU(t){var e,r,n=new Map;try{for(var i=DU(t),a=i.next();!a.done;a=i.next()){var u=a.value,f=u.resource,d=u.instrumentationScope,l=d.name,_=d.version,E=_===void 0?"":_,y=d.schemaUrl,b=y===void 0?"":y,S=n.get(f);S||(S=new Map,n.set(f,S));var C=l+"@"+E+":"+b,O=S.get(C);O||(O=[],S.set(C,O)),O.push(u)}}catch(I){e={error:I}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return n}function LU(t,e){var r=NU(t);return Array.from(r,function(n){var i=om(n,2),a=i[0],u=i[1];return{resource:Rx(a),scopeLogs:Array.from(u,function(f){var d=om(f,2),l=d[1];return{scope:Px(l[0].instrumentationScope),logRecords:l.map(function(_){return BU(_,e)}),schemaUrl:l[0].instrumentationScope.schemaUrl}}),schemaUrl:void 0}})}function BU(t,e){var r,n,i;return{timeUnixNano:e.encodeHrTime(t.hrTime),observedTimeUnixNano:e.encodeHrTime(t.hrTimeObserved),severityNumber:t.severityNumber,severityText:t.severityText,body:lp(t.body),attributes:MU(t.attributes),droppedAttributesCount:t.droppedAttributesCount,flags:(r=t.spanContext)===null||r===void 0?void 0:r.traceFlags,traceId:e.encodeOptionalSpanContext((n=t.spanContext)===null||n===void 0?void 0:n.traceId),spanId:e.encodeOptionalSpanContext((i=t.spanContext)===null||i===void 0?void 0:i.spanId)}}function MU(t){return Object.keys(t).map(function(e){return fp(e,t[e])})}var FU={serializeRequest:function(t){var e=CU(t,{useHex:!0,useLongBits:!1}),r=new TextEncoder;return r.encode(JSON.stringify(e))},deserializeResponse:function(t){var e=new TextDecoder;return JSON.parse(e.decode(t))}},$U={serializeRequest:function(t){var e=IU(t,{useHex:!0,useLongBits:!1}),r=new TextEncoder;return r.encode(JSON.stringify(e))},deserializeResponse:function(t){var e=new TextDecoder;return JSON.parse(e.decode(t))}},kU=globalThis&&globalThis.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),UU="v1/traces",jU=function(t){kU(e,t);function e(r){return r===void 0&&(r={}),t.call(this,r,FU,{"Content-Type":"application/json"},UU)||this}return e}(Sx),HU=globalThis&&globalThis.__values||function(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},GU=globalThis&&globalThis.__read||function(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,a=[],u;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)a.push(i.value)}catch(f){u={error:f}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(u)throw u.error}}return a},VU=function(){function t(e,r,n){this.attributes={},this.totalAttributesCount=0,this._isReadonly=!1;var i=n.timestamp,a=n.observedTimestamp,u=n.severityNumber,f=n.severityText,d=n.body,l=n.attributes,_=l===void 0?{}:l,E=n.context,y=Date.now();if(this.hrTime=Zn(i!=null?i:y),this.hrTimeObserved=Zn(a!=null?a:y),E){var b=ne.getSpanContext(E);b&&ka(b)&&(this.spanContext=b)}this.severityNumber=u,this.severityText=f,this.body=d,this.resource=e.resource,this.instrumentationScope=r,this._logRecordLimits=e.logRecordLimits,this.setAttributes(_)}return Object.defineProperty(t.prototype,"severityText",{get:function(){return this._severityText},set:function(e){this._isLogRecordReadonly()||(this._severityText=e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"severityNumber",{get:function(){return this._severityNumber},set:function(e){this._isLogRecordReadonly()||(this._severityNumber=e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"body",{get:function(){return this._body},set:function(e){this._isLogRecordReadonly()||(this._body=e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"droppedAttributesCount",{get:function(){return this.totalAttributesCount-Object.keys(this.attributes).length},enumerable:!1,configurable:!0}),t.prototype.setAttribute=function(e,r){return this._isLogRecordReadonly()?this:r===null?this:e.length===0?(ct.warn("Invalid attribute key: "+e),this):!Lg(r)&&!(typeof r=="object"&&!Array.isArray(r)&&Object.keys(r).length>0)?(ct.warn("Invalid attribute value set for key: "+e),this):(this.totalAttributesCount+=1,Object.keys(this.attributes).length>=this._logRecordLimits.attributeCountLimit&&!Object.prototype.hasOwnProperty.call(this.attributes,e)?(this.droppedAttributesCount===1&&ct.warn("Dropping extra attributes."),this):(Lg(r)?this.attributes[e]=this._truncateToSize(r):this.attributes[e]=r,this))},t.prototype.setAttributes=function(e){var r,n;try{for(var i=HU(Object.entries(e)),a=i.next();!a.done;a=i.next()){var u=GU(a.value,2),f=u[0],d=u[1];this.setAttribute(f,d)}}catch(l){r={error:l}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return this},t.prototype.setBody=function(e){return this.body=e,this},t.prototype.setSeverityNumber=function(e){return this.severityNumber=e,this},t.prototype.setSeverityText=function(e){return this.severityText=e,this},t.prototype._makeReadonly=function(){this._isReadonly=!0},t.prototype._truncateToSize=function(e){var r=this,n=this._logRecordLimits.attributeValueLengthLimit;return n<=0?(ct.warn("Attribute value limit must be positive, got "+n),e):typeof e=="string"?this._truncateToLimitUtil(e,n):Array.isArray(e)?e.map(function(i){return typeof i=="string"?r._truncateToLimitUtil(i,n):i}):e},t.prototype._truncateToLimitUtil=function(e,r){return e.length<=r?e:e.substring(0,r)},t.prototype._isLogRecordReadonly=function(){return this._isReadonly&&ct.warn("Can not execute the operation on emitted log record"),this._isReadonly},t}(),j0=globalThis&&globalThis.__assign||function(){return j0=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++){e=arguments[r];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}return t},j0.apply(this,arguments)},WU=function(){function t(e,r){this.instrumentationScope=e,this._sharedState=r}return t.prototype.emit=function(e){var r=e.context||Rt.active(),n=new VU(this._sharedState,this.instrumentationScope,j0({context:r},e));this._sharedState.activeProcessor.onEmit(n,r),n._makeReadonly()},t}();function KU(){return{forceFlushTimeoutMillis:3e4,logRecordLimits:{attributeValueLengthLimit:P0().OTEL_LOGRECORD_ATTRIBUTE_VALUE_LENGTH_LIMIT,attributeCountLimit:P0().OTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMIT},includeTraceContext:!0}}function qU(t){var e,r,n,i,a,u,f=A$();return{attributeCountLimit:(n=(r=(e=t.attributeCountLimit)!==null&&e!==void 0?e:f.OTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMIT)!==null&&r!==void 0?r:f.OTEL_ATTRIBUTE_COUNT_LIMIT)!==null&&n!==void 0?n:Qs,attributeValueLengthLimit:(u=(a=(i=t.attributeValueLengthLimit)!==null&&i!==void 0?i:f.OTEL_LOGRECORD_ATTRIBUTE_VALUE_LENGTH_LIMIT)!==null&&a!==void 0?a:f.OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT)!==null&&u!==void 0?u:Zs}}var am=globalThis&&globalThis.__awaiter||function(t,e,r,n){function i(a){return a instanceof r?a:new r(function(u){u(a)})}return new(r||(r=Promise))(function(a,u){function f(_){try{l(n.next(_))}catch(E){u(E)}}function d(_){try{l(n.throw(_))}catch(E){u(E)}}function l(_){_.done?a(_.value):i(_.value).then(f,d)}l((n=n.apply(t,e||[])).next())})},sm=globalThis&&globalThis.__generator||function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,u;return u={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function f(l){return function(_){return d([l,_])}}function d(l){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(a=l[0]&2?i.return:l[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,l[1])).done)return a;switch(i=0,a&&(l=[l[0]&2,a.value]),l[0]){case 0:case 1:a=l;break;case 4:return r.label++,{value:l[1],done:!1};case 5:r.label++,i=l[1],l=[0];continue;case 7:l=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]<a[3])){r.label=l[1];break}if(l[0]===6&&r.label<a[1]){r.label=a[1],a=l;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(l);break}a[2]&&r.ops.pop(),r.trys.pop();continue}l=e.call(t,r)}catch(_){l=[6,_],i=0}finally{n=a=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},zU=function(){function t(e,r){this.processors=e,this.forceFlushTimeoutMillis=r}return t.prototype.forceFlush=function(){return am(this,void 0,void 0,function(){var e;return sm(this,function(r){switch(r.label){case 0:return e=this.forceFlushTimeoutMillis,[4,Promise.all(this.processors.map(function(n){return ax(n.forceFlush(),e)}))];case 1:return r.sent(),[2]}})})},t.prototype.onEmit=function(e,r){this.processors.forEach(function(n){return n.onEmit(e,r)})},t.prototype.shutdown=function(){return am(this,void 0,void 0,function(){return sm(this,function(e){switch(e.label){case 0:return[4,Promise.all(this.processors.map(function(r){return r.shutdown()}))];case 1:return e.sent(),[2]}})})},t}(),XU=function(){function t(){}return t.prototype.forceFlush=function(){return Promise.resolve()},t.prototype.onEmit=function(e,r){},t.prototype.shutdown=function(){return Promise.resolve()},t}(),JU=function(){function t(e,r,n){this.resource=e,this.forceFlushTimeoutMillis=r,this.logRecordLimits=n,this.loggers=new Map,this.registeredLogRecordProcessors=[],this.activeProcessor=new XU}return t}(),YU="unknown",ZU=function(){function t(e){e===void 0&&(e={});var r,n=c9({},KU(),e),i=$g.default().merge((r=n.resource)!==null&&r!==void 0?r:$g.empty());this._sharedState=new JU(i,n.forceFlushTimeoutMillis,qU(n.logRecordLimits)),this._shutdownOnce=new op(this._shutdown,this)}return t.prototype.getLogger=function(e,r,n){if(this._shutdownOnce.isCalled)return ct.warn("A shutdown LoggerProvider cannot provide a Logger"),k1;e||ct.warn("Logger requested without instrumentation scope name.");var i=e||YU,a=i+"@"+(r||"")+":"+((n==null?void 0:n.schemaUrl)||"");return this._sharedState.loggers.has(a)||this._sharedState.loggers.set(a,new WU({name:i,version:r,schemaUrl:n==null?void 0:n.schemaUrl},this._sharedState)),this._sharedState.loggers.get(a)},t.prototype.addLogRecordProcessor=function(e){this._sharedState.registeredLogRecordProcessors.length===0&&this._sharedState.activeProcessor.shutdown().catch(function(r){return ct.error("Error while trying to shutdown current log record processor",r)}),this._sharedState.registeredLogRecordProcessors.push(e),this._sharedState.activeProcessor=new zU(this._sharedState.registeredLogRecordProcessors,this._sharedState.forceFlushTimeoutMillis)},t.prototype.forceFlush=function(){return this._shutdownOnce.isCalled?(ct.warn("invalid attempt to force flush after LoggerProvider shutdown"),this._shutdownOnce.promise):this._sharedState.activeProcessor.forceFlush()},t.prototype.shutdown=function(){return this._shutdownOnce.isCalled?(ct.warn("shutdown may only be called once per LoggerProvider"),this._shutdownOnce.promise):this._shutdownOnce.call()},t.prototype._shutdown=function(){return this._sharedState.activeProcessor.shutdown()},t}(),QU=globalThis&&globalThis.__awaiter||function(t,e,r,n){function i(a){return a instanceof r?a:new r(function(u){u(a)})}return new(r||(r=Promise))(function(a,u){function f(_){try{l(n.next(_))}catch(E){u(E)}}function d(_){try{l(n.throw(_))}catch(E){u(E)}}function l(_){_.done?a(_.value):i(_.value).then(f,d)}l((n=n.apply(t,e||[])).next())})},tj=globalThis&&globalThis.__generator||function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,u;return u={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function f(l){return function(_){return d([l,_])}}function d(l){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(a=l[0]&2?i.return:l[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,l[1])).done)return a;switch(i=0,a&&(l=[l[0]&2,a.value]),l[0]){case 0:case 1:a=l;break;case 4:return r.label++,{value:l[1],done:!1};case 5:r.label++,i=l[1],l=[0];continue;case 7:l=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]<a[3])){r.label=l[1];break}if(l[0]===6&&r.label<a[1]){r.label=a[1],a=l;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(l);break}a[2]&&r.ops.pop(),r.trys.pop();continue}l=e.call(t,r)}catch(_){l=[6,_],i=0}finally{n=a=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},ej=function(){function t(e,r){var n,i,a,u;this._exporter=e,this._finishedLogRecords=[];var f=P0();this._maxExportBatchSize=(n=r==null?void 0:r.maxExportBatchSize)!==null&&n!==void 0?n:f.OTEL_BLRP_MAX_EXPORT_BATCH_SIZE,this._maxQueueSize=(i=r==null?void 0:r.maxQueueSize)!==null&&i!==void 0?i:f.OTEL_BLRP_MAX_QUEUE_SIZE,this._scheduledDelayMillis=(a=r==null?void 0:r.scheduledDelayMillis)!==null&&a!==void 0?a:f.OTEL_BLRP_SCHEDULE_DELAY,this._exportTimeoutMillis=(u=r==null?void 0:r.exportTimeoutMillis)!==null&&u!==void 0?u:f.OTEL_BLRP_EXPORT_TIMEOUT,this._shutdownOnce=new op(this._shutdown,this),this._maxExportBatchSize>this._maxQueueSize&&(ct.warn("BatchLogRecordProcessor: maxExportBatchSize must be smaller or equal to maxQueueSize, setting maxExportBatchSize to match maxQueueSize"),this._maxExportBatchSize=this._maxQueueSize)}return t.prototype.onEmit=function(e){this._shutdownOnce.isCalled||this._addToBuffer(e)},t.prototype.forceFlush=function(){return this._shutdownOnce.isCalled?this._shutdownOnce.promise:this._flushAll()},t.prototype.shutdown=function(){return this._shutdownOnce.call()},t.prototype._shutdown=function(){return QU(this,void 0,void 0,function(){return tj(this,function(e){switch(e.label){case 0:return this.onShutdown(),[4,this._flushAll()];case 1:return e.sent(),[4,this._exporter.shutdown()];case 2:return e.sent(),[2]}})})},t.prototype._addToBuffer=function(e){this._finishedLogRecords.length>=this._maxQueueSize||(this._finishedLogRecords.push(e),this._maybeStartTimer())},t.prototype._flushAll=function(){var e=this;return new Promise(function(r,n){for(var i=[],a=Math.ceil(e._finishedLogRecords.length/e._maxExportBatchSize),u=0;u<a;u++)i.push(e._flushOneBatch());Promise.all(i).then(function(){r()}).catch(n)})},t.prototype._flushOneBatch=function(){var e=this;return this._clearTimer(),this._finishedLogRecords.length===0?Promise.resolve():new Promise(function(r,n){ax(e._export(e._finishedLogRecords.splice(0,e._maxExportBatchSize)),e._exportTimeoutMillis).then(function(){return r()}).catch(n)})},t.prototype._maybeStartTimer=function(){var e=this;this._timer===void 0&&(this._timer=setTimeout(function(){e._flushOneBatch().then(function(){e._finishedLogRecords.length>0&&(e._clearTimer(),e._maybeStartTimer())}).catch(function(r){Ps(r)})},this._scheduledDelayMillis),this._timer,void 0)},t.prototype._clearTimer=function(){this._timer!==void 0&&(clearTimeout(this._timer),this._timer=void 0)},t.prototype._export=function(e){var r=this,n=function(){return m9._export(r._exporter,e).then(function(a){var u;a.code!==Kn.SUCCESS&&Ps((u=a.error)!==null&&u!==void 0?u:new Error("BatchLogRecordProcessor: log record export failed (status "+a+")"))}).catch(Ps)},i=e.map(function(a){return a.resource}).filter(function(a){return a.asyncAttributesPending});return i.length===0?n():Promise.all(i.map(function(a){var u;return(u=a.waitForAsyncAttributes)===null||u===void 0?void 0:u.call(a)})).then(n,Ps)},t}(),rj=globalThis&&globalThis.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),nj=function(t){rj(e,t);function e(r,n){var i=t.call(this,r,n)||this;return i._onInit(n),i}return e.prototype.onShutdown=function(){typeof document>"u"||(this._visibilityChangeListener&&document.removeEventListener("visibilitychange",this._visibilityChangeListener),this._pageHideListener&&document.removeEventListener("pagehide",this._pageHideListener))},e.prototype._onInit=function(r){var n=this;(r==null?void 0:r.disableAutoFlushOnDocumentHide)===!0||typeof document>"u"||(this._visibilityChangeListener=function(){document.visibilityState==="hidden"&&n.forceFlush()},this._pageHideListener=function(){n.forceFlush()},document.addEventListener("visibilitychange",this._visibilityChangeListener),document.addEventListener("pagehide",this._pageHideListener))},e}(ej),ij=globalThis&&globalThis.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),H0=globalThis&&globalThis.__assign||function(){return H0=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++){e=arguments[r];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}return t},H0.apply(this,arguments)},oj=function(t){ij(e,t);function e(r){return r===void 0&&(r={}),t.call(this,H0({},r),$U,{"Content-Type":"application/json"},"v1/logs")||this}return e}(Sx);const $u="ums.rum.action.id",Dx="ums.rum.action.name",Ix="ums.rum.action.dom.mution",aj="Navigation",ve={NAVIGATION:"@heytap/cloud-observation-instrumentation-navigation",USER_INTERACTION:"@heytap/cloud-observation-instrumentation-user-interaction",DOCUMENT_LOAD:"@opentelemetry/instrumentation-document-load",RESOURCE:"@heytap/cloud-observation-instrumentation-resource",LONG_TASK:"@opentelemetry/instrumentation-long-task",XHR_TASK:"@opentelemetry/instrumentation-xml-http-request",FETCH_TASK:"@opentelemetry/instrumentation-fetch",EXCEPTION:"@heytap/cloud-observation-instrumentation-exception",PERFORMANCE:"@heytap/cloud-observation-instrumentation-performance"},qr="ums.rum.type";var wr;(function(t){t.VIEW="view",t.PERFORMANCE="performance",t.ACTION="action",t.LONGTASK="longtask",t.ERROE="error",t.RESOURCE="resource"})(wr||(wr={}));const sj=2048,uj=15,cj=2e3,Nx=3,fj=["click","dblclick","submit","reset","pause","play","dragstart","dragend","drop"],lj=1,dj=.005,G0={SCREEN_SIZE:"ums.rum.screen.size",UUID:"ums.rum.uuid"},Lx="ums.rum.module.name",pj="INFO",Bx=G0.UUID,hj="ums.rum.long_task.id",_j="HTTP",nu="ums.rum.resource.type",lc="response.headers",dp="response.text",vj="salvage",um="ums.rum.trace.sampled",gj="CORS Preflight",Qe={DOCUMENT:"document",XHR:"xhr",BEACON:"beacon",FETCH:"fetch",CSS:"css",JS:"js",IMAGE:"image",FONT:"font",MEDIA:"media",OTHER:"other"},mj="initial_document",yj=[[Qe.DOCUMENT,function(t){return mj===t}],[Qe.XHR,function(t){return t==="xmlhttprequest"}],[Qe.FETCH,function(t){return t==="fetch"}],[Qe.BEACON,function(t){return t==="beacon"}],[Qe.CSS,function(t,e){return e.match(/\.css$/i)!==null}],[Qe.JS,function(t,e){return e.match(/\.js$/i)!==null}],[Qe.IMAGE,function(t,e){return["image","img","icon"].includes(t)||e.match(/\.(gif|jpg|jpeg|tiff|png|svg|ico)$/i)!==null}],[Qe.FONT,function(t,e){return e.match(/\.(woff|eot|woff2|ttf)$/i)!==null}],[Qe.MEDIA,function(t,e){return["audio","video"].includes(t)||e.match(/\.(mp3|mp4)$/i)!==null}]],ku="ums.rum.session.id",Mx="cloudObservationRumSessionId",V0="resouce.is.send",Ej="ums.rum.view.name",si="ums.rum.view.url",xj="ums.rum.view.path_group",dc="ums.rum.view.id",bj="ums.rum.view.referrer.id",cm="ums.rum.view.referrer.url",iu={VIEW_LOAD_TIME:"ums.rum.view.loading_time"},pr={INIT_LOAD_FCP:"first_contentful_paint",TIME_TO_FIRST_BYTE:"time_to_first_byte",INIT_LOAD_LCP:"largest_contentful_paint.time",FIRST_TIME:"first_paint.time",DOM_INTERACTIVE:"dom_interactive.time",DOM_CONTENT_LOADED:"dom_content_loaded.time",DOM_COMPLETE:"dom_complete.time",LOAD_EVENT:"load_event.time",RESOURCE_LOAD_TIME:"resource_load.time",DOM_PARSING_TIME:"dom_parsing.time",DOM_READY_TIME:"dom_ready.time"},Tj=[{logLevel:"ERROR",funField:"error",originFun:console.error},{logLevel:"DEBUG",funField:"log",originFun:console.log},{logLevel:"DEBUG",funField:"debug",originFun:console.debug},{logLevel:"INFO",funField:"info",originFun:console.info},{logLevel:"WARN",funField:"warn",originFun:console.warn},{logLevel:"TRACE",funField:"trace",originFun:console.trace}],Sj=(t,e)=>toString.call(t)===`[object ${e}]`,Aj=t=>Sj(t,"Number"),fm=t=>typeof t=="number"?t:t!=null&&Number.isFinite(+t)?+t:void 0,Oj=new F1;function Ga(){return Oj.generateTraceId()}const ou=(t,e=new Set,r=0)=>{if(!(r>10))try{const n=!e.has(t);if(e.add(t),Array.isArray(t))return t.map(i=>ou(i,e,r+1));if(t instanceof Error)return ou(t.stack);if(t&&typeof t=="object"){const i={};return Object.keys(t).forEach(a=>{if(!a.includes("__zone_symbol_")){const u=t[a],f=e.has(u)&&(u!==t||n);i[a]=f?"[Circular]":ou(u,e,r+1)}}),i}return t}catch(n){}},wj=t=>new URL(t).origin;function W0(t){return typeof t=="string"?t.trim():t}function Cj(t,e,r=""){const n=t.charCodeAt(e-1),a=n>=55296&&n<=56319?e+1:e;return t.length<=a?t:`${t.slice(0,a)}${r}`}function Pj(){return Boolean(document.documentMode)}function Rj(t,e){for(let r=0;r<t.length;r+=1){const n=t[r];if(e(n,r))return n}}const Dj=(t,e)=>{(e.responseType===""||e.responseType==="text")&&t.setAttribute(dp,e.responseText),t.setAttribute(lc,e.getAllResponseHeaders())},Ij=(t,e,r)=>{const n=Object.entries(r.headers||{}).map(i=>i.join(": ")).join(`
`);t.setAttribute(lc,n)};function pp(t={}){const e=Object.entries(t||{}).map(([r,n])=>[`ums.rum.custom.${r.trim()}`,W0(n)]);return Object.fromEntries(e)||{}}const Nj=t=>{const e=t.match(/'(.+)'/);return e?e[1]:""},Lj=[(t,e)=>{if(Uj()){if("labels"in t&&t.labels&&t.labels.length>0)return Gi(t.labels[0],e)}else if(t.id){const r=t.ownerDocument&&Rj(t.ownerDocument.querySelectorAll("label"),n=>n.htmlFor===t.id);return r&&Gi(r,e)}},t=>{if(t.nodeName==="INPUT"){const e=t,r=e.getAttribute("type");if(r==="button"||r==="submit"||r==="reset")return e.value}},(t,e)=>{if(t.nodeName==="BUTTON"||t.nodeName==="LABEL"||t.getAttribute("role")==="button")return Gi(t,e)},t=>t.getAttribute("aria-label"),(t,e)=>{const r=t.getAttribute("aria-labelledby");if(r)return r.split(/\s+/).map(n=>$j(t,n)).filter(n=>Boolean(n)).map(n=>Gi(n,e)).join(" ")},t=>t.getAttribute("alt"),t=>t.getAttribute("name"),t=>t.getAttribute("title"),t=>t.getAttribute("placeholder"),(t,e)=>{if("options"in t&&t.options.length>0)return Gi(t.options[0],e)}],Bj=[(t,e)=>Gi(t,e)],Fx="ums-rum-action-name";function Mj(t,e){return lm(t,Fx)||e&&lm(t,e)||dm(t,e,Lj)||dm(t,e,Bj)||""}function lm(t,e){let r;if(jj())r=t.closest(`[${e}]`);else{let i=t;for(;i;){if(i.hasAttribute(e)){r=i;break}i=i.parentElement}}if(!r)return;const n=r.getAttribute(e);return kx($x(n.trim()))}const Fj=10;function dm(t,e,r){let n=t,i=0;for(;i<=Fj&&n&&n.nodeName!=="BODY"&&n.nodeName!=="HTML"&&n.nodeName!=="HEAD";){for(const a of r){const u=a(n,e);if(typeof u=="string"){const f=u.trim();if(f)return kx($x(f))}}if(n.nodeName==="FORM")break;n=n.parentElement,i+=1}}function $x(t){return t.replace(/\s+/g," ")}function kx(t){return t.length>100?`${Cj(t,100)} [...]`:t}function $j(t,e){return t.ownerDocument?t.ownerDocument.getElementById(e):null}function Gi(t,e){if(!t.isContentEditable){if("innerText"in t){let r=t.innerText;const n=i=>{const a=t.querySelectorAll(i);for(let u=0;u<a.length;u+=1){const f=a[u];if("innerText"in f){const d=f.innerText;d&&d.trim().length>0&&(r=r.replace(d,""))}}};return kj()||n("script, style"),n(`[${Fx}]`),e&&n(`[${e}]`),r}return t.textContent}}function kj(){return!Pj()}let Bl;function Uj(){return Bl===void 0&&(Bl="labels"in HTMLInputElement.prototype),Bl}let Ml;function jj(){return Ml===void 0&&(Ml="closest"in HTMLElement.prototype),Ml}const K0=VF();let ua;const Hj=()=>{ua=Ga(),localStorage.setItem(Bx,ua)};function Gj(){return!!window.localStorage&&typeof localStorage=="object"?(ua=localStorage.getItem(Bx),ua||Hj(),ua):""}const Vj=({serviceName:t,deploymentEnvironment:e,deploymentVersion:r,resouceAttributes:n})=>{const i=Wj({serviceName:t,deploymentEnvironment:e,deploymentVersion:r});if(n instanceof Promise)return{allResource:new po(i,n)};{const a=pp(n),u=Object.assign(Object.assign({},a),i);return{allResource:new po(u)}}};function Wj({serviceName:t,deploymentEnvironment:e,deploymentVersion:r,moduleName:n}){const i={[Ol.SERVICE_NAME]:t,"ums.rum.version":"2.4.0"};i[G0.SCREEN_SIZE]=`${window.screen.width}*${window.screen.height}`,e&&(i[Ol.DEPLOYMENT_ENVIRONMENT]=e);const a=Gj();return a&&(i[G0.UUID]=a),r&&(i[Ol.SERVICE_VERSION]=r),n&&(i[Lx]=n),navigator!=null&&navigator.userAgent&&(i[Se.HTTP_USER_AGENT]=navigator.userAgent),i}const Kj=({collectionSourceUrl:t,ignoreUrls:e=[],trackViewsManually:r=!1,propagateTraceHeaderCorsUrls:n=[],actionNameAttribute:i="ums-rum-action-name"},a)=>{let u;const f=()=>{u&&(u(),u=void 0)};return{registerInstrumentations:()=>{f();const l=new K9({enabled:!1,trackViewsManually:r}),_=new Uk({ignoreUrls:[new RegExp(`^${t}/S*`),...e],enabled:!1}),E=new Gk({enabled:!1}),y=new hk({enabled:!1}),b=new W9({enabled:!1}),S=new gk({enabled:!1,eventNames:fj,shouldPreventSpanCreation:(T,w,N)=>{const L=Mj(w,i);return L?(N.updateName(`${T} on '${L}'`),N.setAttribute(Dx,L),!1):!0}}),C=new kk({enabled:!1}),O=new P9({enabled:!1,propagateTraceHeaderCorsUrls:n,ignoreUrls:e,applyCustomAttributesOnSpan:Dj}),I=new I9({enabled:!1,propagateTraceHeaderCorsUrls:n,ignoreUrls:e,applyCustomAttributesOnSpan:Ij});return u=ZF({tracerProvider:a,instrumentations:[l,_,E,y,b,S,C,O,I]}),{cloudObservationNavigationInstrumentation:l,cloudObservationResourceInstrumentation:_,longTaskInstrumentation:E,cloudObservationExceptionInstrumentation:y,documentLoadInstrumentation:b,userInteractionInstrumentation:S,performanceInstrumentation:C,xhrHttpRequestInstrumentation:O,fetchInstrumentation:I}},disableInstrumentations:f}},Uu="-",qj=1e3*60*5,zj=1e3*30,Xj=()=>{const t=document.cookie.split("; ").find(i=>i.startsWith(`${Mx}=`));if(!t)return;const[e,r,n=""]=t.split("=")[1].split(Uu);return{sessionId:e,lastActivityTimestamp:parseInt(r,10),serviceName:n}},pm=({sessionId:t,lastActivityTimestamp:e,serviceName:r})=>{document.cookie=`${Mx}=${t}${Uu}${e}${Uu}${r}; path=/`},Jj=new T3;let Ze=Xj();const pc=(t="")=>{const e=t.split(Uu).join("");let r="";const n=Date.now();if(Ze){r=Ze.serviceName;const i=n-Ze.lastActivityTimestamp;i>qj||e&&e!==Ze.serviceName?Ze=void 0:i>zj&&(Ze.lastActivityTimestamp=n,pm(Ze))}return Ze||(Ze={sessionId:Jj.generateTraceId(),lastActivityTimestamp:n,serviceName:e||r},pm(Ze)),Ze.sessionId},Yj=(t,e)=>{t.setAttribute(ku,pc(e))};class Zj{constructor(e,r,n){this._sessionRatio=e,this._traceRatio=r,this._resourceSampleRate=n,this.sessionCanSend=!1,this._sessionRatio=e||1,this._traceRatio=r||1,this._sessionUpperBound=Math.floor(e*4294967295),this._traceUpperBound=Math.floor(r*4294967295)}shouldSample(e,r,n){this._isSessionCollect();const{decision:i,attributes:a}=this._getSamplingDecision(r,n);return{decision:i,attributes:a}}_isSessionCollect(){const e=pc();this.preSessionId!==e&&(this.sessionCanSend=this._accumulate(e)<this._sessionUpperBound,this.preSessionId=e)}_isAfterTraceCollect(e){return this._accumulate(e)<this._traceUpperBound}_getSamplingDecision(e,r){let n=this.sessionCanSend;if(r.indexOf("HTTP")===0||["PUT","POST","DELETE","PATCH","GET"].includes(r)||r===or.RESOURCE_FETCH){let i=!1,a;return n&&(n=this._resourceSampleRate>=Math.random(),i=this._isAfterTraceCollect(e),i||(a={[V0]:n})),n&&i?{decision:Rr.RECORD_AND_SAMPLED}:{decision:Rr.RECORD,attributes:a}}else return n?{decision:Rr.RECORD_AND_SAMPLED}:{decision:Rr.NOT_RECORD}}toString(){return`SessionIdRatioBased${this._sessionRatio}, TraceIdRatioBased${this._traceRatio}`}_accumulate(e){let r=0;for(let n=0;n<e.length/8;n++){const i=n*8,a=parseInt(e.slice(i,i+8),16);r=(r^a)>>>0}return r}}var q0;(function(t){t.SPANPROCESSEND="span-process-end"})(q0||(q0={}));const hm=1e7,Qj=100,tH=10;let ca=[],ro=[];const Ux=(t,e,r)=>t+hm>=e&&t-hm<=r,eH=t=>{const e=Ve(t);for(let r=ca.length-1;r>=0;r-=1){const n=ca[r];if(Ux(e,Ve(n.startTime),Ve(n.endTime)))return n}},jx=(t,e)=>{t.parentSpanId=e.spanContext().spanId,t.spanContext().traceId=e.spanContext().traceId},rH=(t,e)=>{const r=Ve(t.startTime),n=Ve(t.endTime);for(let i=ro.length-1;i>=0;i-=1){const a=ro[i];Ux(Ve(a.startTime),r,n)&&(ro.splice(i,1),jx(a,t),e(a))}},nH=(t,e)=>{if(t.instrumentationLibrary.name===ve.LONG_TASK){if(t.attributes[hj]=Ga(),!t.parentSpanId){const r=eH(t.startTime);if(r)jx(t,r);else{ro.push(t),ro.length>tH&&ro.shift();return}}}else t.instrumentationLibrary.name!==ve.PERFORMANCE&&(ca.push(t),ca.length>Qj&&ca.shift(),rH(t,e));e(t)},iH=t=>(t.name.indexOf(_j)===0||["PUT","POST","DELETE","PATCH","GET"].includes(t.name))&&t.kind===fo.CLIENT,To=t=>t.name===or.DOCUMENT_LOAD&&t.instrumentationLibrary.name===ve.DOCUMENT_LOAD,So=t=>t.name.indexOf(aj)===0&&t.instrumentationLibrary.name===ve.NAVIGATION,oH=t=>t.instrumentationLibrary.name===ve.LONG_TASK,z0=(t,e="http.url")=>{let r="";try{r=new URL(t.attributes[e]).pathname}catch(n){}return r},_m=1e7,aH=3e9,sH=10,uH=100,fa=[],no=[],Hx=(t,e)=>{const r=Ve(e.startTime),n=Ve(e.endTime);return To(e)||So(e)?n+aH>t:t+_m>=r&&t-_m<=n},Gx=(t,e)=>{t.parentSpanId=e.spanContext().spanId,t.spanContext().traceId=e.spanContext().traceId},cH=t=>{const e=Ve(t);for(let r=fa.length-1;r>=0;r-=1){const n=fa[r];if(Hx(e,n))return n}},fH=(t,e)=>{for(let r=no.length-1;r>=0;r-=1){const n=no[r];Hx(Ve(n.startTime),t)&&(no.splice(r,1),Gx(n,t),e(n))}},lH=(t,e)=>{if(t.instrumentationLibrary.name===ve.RESOURCE){if(!t.parentSpanId){const r=cH(t.startTime);if(r)Gx(t,r);else{if(no.push(t),no.length>sH){const n=no.shift();e(n)}return}}}else(t.instrumentationLibrary.name===ve.USER_INTERACTION||To(t))&&(fa.push(t),fa.length>uH&&fa.shift(),fH(t,e));e(t)},dH=(t,e)=>{if(t.attributes[qr]===wr.ACTION&&e.length===1&&!t.attributes[Ix])return ju.DROP_ROOT_SPAN},pH=(t,e)=>{if(ve.USER_INTERACTION===t.instrumentationLibrary.name&&!So(t)){const r=e;r.attributes[$u]=t.attributes[$u]}};var ju;(function(t){t[t.DROP_ROOT_SPAN=0]="DROP_ROOT_SPAN"})(ju||(ju={}));const hH=5e3,_H=[dH],vH=[pH],ki={},gH=t=>{const e=({traceId:f,rootSpan:d,send:l,spans:_})=>{const E=!ki[f];if(!d||!l||E)return;delete ki[f];let y=!0;_H.forEach(b=>{b(d,_,t)===ju.DROP_ROOT_SPAN&&(y=!1)}),y&&l()},r=({rootSpan:f},d)=>{!f||vH.forEach(l=>{l(f,d)})};function n(){Object.values(ki).forEach(f=>{e(f)})}let i=!1;function a(){i||(window.addEventListener("beforeunload",()=>{n(),t.forceFlush()}),i=!0)}const u=f=>{clearTimeout(f.timeout),f.timeout=setTimeout(()=>{e(f)},hH)};return{forceFlush:()=>{n()},onStart:f=>{const d=f.spanContext().traceId;let l=ki[d];l||(l={traceId:d,timeout:-1,spans:[]},ki[d]=l),!f.parentSpanId&&!l.rootSpan&&(l.rootSpan=f),a(),u(l)},onEnd:(f,d)=>{let l=!0;const _=f,E=_.spanContext().traceId,y=_.spanContext().traceFlags,b=ki[E];b&&y&&(b.spans.push(_),b.rootSpan===_&&_.attributes[qr]===wr.ACTION?(l=!1,b.send=()=>{d(f)}):r(b,_),u(b)),l&&d(f)}}},Vx=t=>{var e,r;return((r=(e=Je).getEntriesByType)===null||r===void 0?void 0:r.call(e,"resource")).find(a=>a.name===t.attributes[Se.HTTP_URL])||{name:t.attributes[Se.HTTP_URL],initiatorType:""}},mH=t=>{const e=Vx(t),r=e.name;let n="";try{n=new URL(r).pathname}catch(a){}let i=Qe.OTHER;return yj.every(a=>{const u=a[0],f=a[1];return f(e.initiatorType,n)?(i=u,!1):!0}),i},yH=t=>{const e=Vx(t);if(e)return e.responseStatus},EH=t=>{const e=t;if(e.name===or.RESOURCE_FETCH)e.attributes[nu]=mH(e),e.instrumentationLibrary.name===ve.DOCUMENT_LOAD&&(e.attributes[Se.HTTP_STATUS_CODE]=yH(e)),e.attributes[Se.HTTP_METHOD]="GET";else if(e.instrumentationLibrary.name===ve.XHR_TASK){e.attributes[nu]=Qe.XHR;const r=e.attributes[Se.HTTP_METHOD];r&&(e.attributes[Se.HTTP_METHOD]=r.toUpperCase())}else if(e.instrumentationLibrary.name===ve.FETCH_TASK){e.attributes[nu]=Qe.FETCH;const r=e.attributes[Se.HTTP_METHOD];r&&(e.attributes[Se.HTTP_METHOD]=r.toUpperCase())}};let _r;const xH=()=>{const t=_r.recordViewSpan;t&&!t._ended&&t.setAttribute(Ix,!0)},vm=()=>{_r.observer&&(_r.observer.disconnect(),_r.recordViewSpan=void 0),clearTimeout(_r.timeout)},bH=t=>{_r&&_r.observer||(_r={observer:new MutationObserver(xH),timeout:0}),vm(),_r.recordViewSpan=t,_r.observer.observe(document.documentElement,{attributes:!0,characterData:!0,childList:!0,subtree:!0}),_r.timeout=setTimeout(()=>{vm()},1e3)},TH=t=>{if(ve.USER_INTERACTION===t.instrumentationLibrary.name){const e=Ga();t.setAttribute($u,e),bH(t)}},SH=t=>{if(ve.USER_INTERACTION===t.instrumentationLibrary.name){const e=t;So(e)?delete e.attributes[$u]:e.attributes[Dx]=Nj(e.name)}};let be;const AH=()=>{if(be.observer){be.observer.disconnect();const t=be.recordViewSpan;t&&(To(t)?t.attributes[iu.VIEW_LOAD_TIME]=Math.max(be.recordMutationTimeMs,t.attributes[iu.VIEW_LOAD_TIME]):t.attributes[iu.VIEW_LOAD_TIME]=be.recordMutationTimeMs-be.navigationTimeMs)}},OH=()=>{clearTimeout(be.timeout),be.recordMutationTimeMs=performance.now(),be.timeout=setTimeout(()=>{AH()},100)},wH=()=>{be.observer&&(be.observer.disconnect(),be.recordViewSpan=void 0)},CH=t=>{be&&be.observer||(be={observer:new MutationObserver(OH),timeout:0}),(To(t)||So(t))&&(wH(),be.recordViewSpan=t,be.navigationTimeMs=performance.now(),be.observer.observe(document.documentElement,{attributes:!0,characterData:!0,childList:!0,subtree:!0}))},PH=(t,{isDocumentLoad:e})=>{e&&RH(t)};function RH(t){gx(r=>gm(r,t)),Ck(r=>gm(r,t));const e=DH();e&&(t.attributes[pr.FIRST_TIME]=e.responseEnd-e.fetchStart,t.attributes[pr.DOM_INTERACTIVE]=e.domInteractive,t.attributes[pr.DOM_CONTENT_LOADED]=e.domContentLoadedEventEnd,t.attributes[pr.DOM_COMPLETE]=e.domComplete,t.attributes[pr.LOAD_EVENT]=e.loadEventEnd,t.attributes[pr.RESOURCE_LOAD_TIME]=e.loadEventStart-e.domContentLoadedEventEnd,t.attributes[pr.DOM_PARSING_TIME]=e.domComplete-e.domInteractive,t.attributes[pr.DOM_READY_TIME]=e.domContentLoadedEventEnd,t.attributes[iu.VIEW_LOAD_TIME]=e.loadEventEnd)}function DH(){var t,e;const r=(e=(t=Je).getEntriesByType)===null||e===void 0?void 0:e.call(t,"navigation")[0];if(r)return r;{const i=Je.timing;if(i)return IH(i)}}function IH(t){const e=t.navigationStart,r={};return Object.values(Lt).forEach(n=>{if(gr(t,n)){const i=t[n];i&&Aj(i)&&(r[n]=i-e)}}),r}function gm(t,e){t.name==="FCP"?e.attributes[pr.INIT_LOAD_FCP]=t.value:t.name==="TTFB"?e.attributes[pr.TIME_TO_FIRST_BYTE]=t.value:t.name==="LCP"&&(e.attributes[pr.INIT_LOAD_LCP]=t.value)}const NH=(t,e)=>t&&e?t.attributes[ku]===e.attributes[ku]:!1,LH=(t,{isNavigation:e,isDocumentLoad:r},n)=>{if(e){const i=n.preViewSpan;NH(t,i)&&(t.attributes[bj]=i.attributes[dc],t.attributes[cm]=i.attributes[si]);const a=z0(t,si);X0(!0,a,t)}r&&(t.attributes[cm]=document.referrer||"")},BH=[LH,PH],le={viewId:Ga()},Wx=()=>le==null?void 0:le.viewId,MH=()=>le==null?void 0:le.viewName,FH=()=>le==null?void 0:le.viewUrl,$H=()=>{if(le!=null&&le.viewName)return le.viewName.replace(/\/[\w-]*\d+[\w-]*/g,"/?")},X0=(t,e,r)=>{t&&le.viewName!==e&&(le.viewId=Ga(),le.viewName=e,le.viewUrl=r.attributes[si]),CH(r),r.attributes[dc]=Wx()},kH=()=>({onStart:t=>{const e=z0(t,si);if(le.preViewSpan){const r=le.preViewSpan,n=z0(r,si);X0(n!==e,e,t)}else X0(!0,e,t)},onEnd:t=>{const e=t,r=So(e),n=To(e);(r||n)&&(BH.forEach(i=>{i(e,{isNavigation:r,isDocumentLoad:n},le)}),le.preViewSpan=e)}});var ui;(function(t){t[t.DROP_SPAN=0]="DROP_SPAN",t[t.NO_DROP_SPAN=1]="NO_DROP_SPAN"})(ui||(ui={}));function UH(t){const e=t.attributes[lc];let r;e&&(r={},e.trim().split(/[\r\n]+/).forEach(a=>{const u=a.split(": "),f=u.shift(),d=u.join(": ");r[f]=d}));let n=t.attributes[dp];if(n)try{n=JSON.parse(n)}catch(i){}return{responseText:n,responseHeader:r}}const jH=(t,e)=>{const{responseText:r,responseHeader:n}=UH(t),i=t.attributes[Se.HTTP_STATUS_CODE]||0;delete t.attributes[lc],delete t.attributes[dp];let a=!1;const u=t.spanContext().traceFlags;if(u===1&&e.dropSuccessResources)typeof e.dropSuccessResources=="boolean"?a=i>=200&&i<400:a=e.dropSuccessResources(t.attributes[Se.HTTP_STATUS_CODE]||0,Ve(t.endTime)-Ve(t.startTime),r,n);else if(u===0&&e.salvageErrorResources){let f;typeof e.salvageErrorResources=="boolean"?f=i<200||i>=400:f=e.salvageErrorResources(t.attributes[Se.HTTP_STATUS_CODE]||0,Ve(t.endTime)-Ve(t.startTime),r,n),f&&(t.attributes[vj]=f,t.spanContext().traceFlags=1)}return a},HH=t=>{const e=["fetch","xhr"];return t.name===or.RESOURCE_FETCH&&e.includes(t.attributes[nu])},GH=t=>{const e=t.spanContext().traceFlags,r=t.attributes[V0];delete t.attributes[V0],t.attributes[um]=!1,e===0&&r?t.spanContext().traceFlags=1:e===1&&(t.attributes[um]=!0)},VH=(t,e)=>{let r=!1;if(t.name===or.RESOURCE_FETCH||iH(t)){const n=t.attributes[Se.HTTP_URL]||"";r=C1(n,e.ignoreUrls),r=r||HH(t),GH(t),r=r||jH(t,e)}return r?ui.DROP_SPAN:ui.NO_DROP_SPAN},kn={viewId:"",repeatMap:{}},WH=(t,e)=>{var r,n;const i=t.attributes[dc]||"";i!==kn.viewId&&(kn.viewId=i,kn.repeatMap={});const a=((n=(r=t.events[0])===null||r===void 0?void 0:r.attributes)===null||n===void 0?void 0:n["exception.message"])||"";return kn.repeatMap[a]?kn.repeatMap[a]++:kn.repeatMap[a]=1,!!e.dropRepeatErrors&&kn.repeatMap[a]>e.dropRepeatErrors},KH=(t,e)=>{var r;let n=!1;if(t.instrumentationLibrary.name===ve.EXCEPTION&&t.events[0]){if(e.dropErrors){const i=(r=t.events[0].attributes)!==null&&r!==void 0?r:{},a=t.attributes,u=Object.assign(Object.assign({},i),a),f=u["exception.type"],d=u["exception.message"],l=u["exception.source"],_=u["exception.stacktrace"];n=e.dropErrors(f,d,_,l,u)}!n&&typeof e.dropRepeatErrors=="number"&&(n=WH(t,e))}return n?ui.DROP_SPAN:ui.NO_DROP_SPAN},qH=[KH,VH],zH=t=>({onEnd:(e,r)=>{let n=!0;qH.forEach(i=>{i(e,t)===ui.DROP_SPAN&&(n=!1)}),n&&r(e)}});function XH(t){const e=t.instrumentationLibrary.name;oH(t)?t.attributes[qr]=wr.LONGTASK:e===ve.EXCEPTION?t.attributes[qr]=wr.ERROE:To(t)||So(t)?t.attributes[qr]=wr.VIEW:e===ve.USER_INTERACTION?t.attributes[qr]=wr.ACTION:e===ve.PERFORMANCE?t.attributes[qr]=wr.PERFORMANCE:(t.name===or.RESOURCE_FETCH||e===ve.XHR_TASK||e===ve.FETCH_TASK)&&t.name!==gj&&(t.attributes[qr]=wr.RESOURCE)}const JH=t=>{t.setAttribute(si,location.href)},YH=t=>{const e=t;XH(e),e.attributes[Se.HTTP_USER_AGENT]&&delete e.attributes[Se.HTTP_USER_AGENT]};class ZH extends M1{constructor(e,r){var n,i;super(e,r),this.dropSuccessResources=(n=r.dropSuccessResources)!==null&&n!==void 0?n:!1,this.salvageErrorResources=(i=r.salvageErrorResources)!==null&&i!==void 0?i:!1,this.dropRepeatErrors=r.dropRepeatErrors===!0?Nx:r.dropRepeatErrors,this.ignoreUrls=r.ignoreUrls,this.serviceName=r.serviceName,this.dropErrors=r.dropErrors,this.traceProcessor=gH(this),this.viewProcessor=kH(),this.dropProcessor=zH(this)}onStart(e,r=er){JH(e),TH(e),this.viewProcessor.onStart(e),this.traceProcessor.onStart(e),Yj(e,this.serviceName),super.onStart(e,r)}onEnd(e){EH(e),YH(e),this.dropProcessor.onEnd(e,r=>{lH(r,n=>{nH(n,i=>{SH(i),this.viewProcessor.onEnd(i),this.traceProcessor.onEnd(i,a=>{K0.emit(q0.SPANPROCESSEND,e),super.onEnd(a)})})})})}forceFlush(){return this.traceProcessor.forceFlush(),super.forceFlush()}}function QH(t){const e=t.getTracer("@heytap/cloud-observation-rum");function r(n,i,a){const u=typeof i=="object",d=pp(u?i:a);d[qr]="custom";const l=e.startSpan(n,{attributes:d});return typeof i=="function"?Rt.with(ne.setSpan(Rt.active(),l),async()=>{try{await i(l)}catch(_){l.recordException(_)}finally{l.end()}}):u&&l.end(),l}return{recordSpan:r,tracer:e}}const tG=({collectionSourceUrl:t,serviceName:e,traceSampleRate:r=dj,sessionSampleRate:n=1,bufferMaxSpans:i=sj,maxExportBatchSize:a=uj,bufferTimeout:u=cj,dropSuccessResources:f,ignoreUrls:d=[],salvageErrorResources:l,resourceSampleRate:_=lj,dropRepeatErrors:E=Nx,dropErrors:y,exportUseXHR:b},S)=>{var C,O;const I=(C=fm(r))!==null&&C!==void 0?C:1,T=(O=fm(n))!==null&&O!==void 0?O:1,w=new po(Object.assign(Object.assign({},S.attributes),{"trace.sampling.probability":I,"session.sampling.probability":T})),N=new Zj(T,I,_),L=new F9({resource:w,sampler:N});L.register({propagator:new x1});const M=new jU({url:`${t}/v1/traces`,headers:b?{}:void 0});L.addSpanProcessor(new RL),L.addSpanProcessor(new ZH(M,{maxQueueSize:i,maxExportBatchSize:a,scheduledDelayMillis:u,serviceName:e,dropRepeatErrors:E,dropErrors:y,salvageErrorResources:l,ignoreUrls:[new RegExp(`^${t}/S*`),...d],dropSuccessResources:f}));const{recordSpan:F}=QH(L);return{tracesResource:w,provider:L,sampler:N,getCurrentSessionId:pc,recordSpan:F}};class eG extends nj{constructor(e,r){super(e,r)}onEmit(e){e.setAttribute(dc,Wx()),e.setAttribute(Ej,MH()),e.setAttribute(si,FH()),e.setAttribute(xj,$H()),e.setAttribute(ku,pc()),super.onEmit(e)}}const rG=({collectionSourceUrl:t,logLevel:e=pj,captureConsole:r,exportUseXHR:n,maxExportBatchSize:i,bufferMaxSpans:a},u,f)=>{const d=new po(Object.assign({},u.attributes)),l=new ZU({resource:d}),_=new oj({url:`${t}/v1/logs`,headers:n?{}:void 0});l.addLogRecordProcessor(new DL),l.addLogRecordProcessor(new eG(_,{maxExportBatchSize:i,maxQueueSize:a}));const E=l.getLogger("@heytap/cloud-observation-rum");r&&console&&Tj.forEach(C=>{y(C.logLevel)&&(console[C.funField]=(...O)=>{const I=ou(O);S(C.logLevel,JSON.stringify(I)||""),C.originFun.apply(console,O)})});function y(C){const O=zi[C],I=e?zi[e]:zi.UNSPECIFIED;return O>=I}function b(C){return f.sessionCanSend&&y(C)}function S(C,O,I){const T=pp(I);if(b(C))return E.emit({severityNumber:zi[C],severityText:C,body:O,attributes:T})}return{logResources:d,recordLog:S,logger:E,loggerProvider:l}};function nG(t){const{collectionSourceUrl:e}=t;if(!e)throw new Error("collectionSourceUrl needs to be defined to initialize Cloud Observation OpenTelemetry RUM");const r=wj(e);t.collectionSourceUrl=r;const n=iG(r);return Object.assign(Object.assign({},t),{collectionSourceUrl:r,exportUseXHR:n})}function iG(t){let e=!1;try{const r=new Blob(["{}"],{type:"application/json"});navigator.sendBeacon(`${t}/v1/traces`,r)}catch(r){e=!0}return e}var Fl;const Kx=typeof window=="object"&&window!=null,qx=t=>{const e=nG(t);e.debug&&ct.setLogger(new JI,{logLevel:Ut.DEBUG}),ct.info("initialize start");const{scopeAttributes:r,moduleName:n}=e,{allResource:i}=Vj(e),{sampler:a,provider:u,recordSpan:f,getCurrentSessionId:d}=tG(e,i),{recordLog:l}=rG(e,i,a),{registerInstrumentations:_,disableInstrumentations:E}=Kj(e,u),{cloudObservationExceptionInstrumentation:y,cloudObservationNavigationInstrumentation:b}=_(),S=(I,T)=>Og(`ums.rum.custom.${I.trim()}`,W0(T)),C=I=>{Og(Lx,W0(I))};r&&Object.entries(r).forEach(([I,T])=>{S(I,T)}),n&&C(n);const O={readyListeners:[],onReady:I=>{I()},on:K0.on,off:K0.off,registerInstrumentations:_,disableInstrumentations:E,setScopeAttribute:S,setModuleName:C,getCurrentSessionId:d,recordMetric:()=>{console.warn("2.0.0\u7248\u672C\u51FA\u4E8E\u4F53\u79EF\u8003\u8651\uFF0C\u6682\u4E0D\u63D0\u4F9BrecordMetric\u80FD\u529B\uFF0C\u5F85\u63D2\u4EF6\u5316\u80FD\u529B\u5B8C\u6210\u540E\u652F\u6301")},recordSpan:f,recordView:b.recordCustomView.bind(b),recordApiError:y.recordApiError.bind(y),recordError:y.recordCustomError.bind(y),recordLog:l,version:"2.4.0"};return Kx&&typeof window.cloudObservationRum=="object"&&Object.assign(window.cloudObservationRum,O),ct.info("initialize end"),O};if(Kx&&typeof window.cloudObservationRum){const t=(Fl=window.cloudObservationRum)===null||Fl===void 0?void 0:Fl.readyListeners;Array.isArray(t)&&t.length&&(window.cloudObservationRum.initialize=qx,t.forEach(e=>e()))}qx({collectionSourceUrl:"https://ums-telemetry.oppoer.me",serviceName:"cloud-portal-support",deploymentEnvironment:window.BIZENV||"test"});ue.prototype.$track=n1;export{TG as $,O2 as A,xC as B,GP as C,vR as D,IP as E,By as F,Cy as G,FR as H,Ae as I,yS as J,JT as K,uA as L,Ku as M,sS as N,Fm as O,bS as P,cS as Q,fA as R,mo as S,lA as T,fS as U,ue as V,qC as W,oG as X,Tt as Y,dA as Z,Jd as _,iS as a,Oy as a0,bP as a1,An as a2,Ir as a3,x_ as a4,ZP as a5,Pd as a6,bd as a7,Ad as a8,jy as a9,u0 as aA,vG as aB,Dy as aC,xd as aD,AP as aE,pG as aF,sA as aG,VF as aH,Ed as aI,N2 as aJ,hG as aK,CG as aL,wG as aM,bG as aN,KC as aO,OG as aP,yG as aQ,tA as aR,Dm as aS,PG as aT,pA as aU,hA as aV,SG as aW,_G as aX,AG as aY,Iy as aa,U2 as ab,OI as ac,v5 as ad,dG as ae,Sd as af,ks as ag,aG as ah,cG as ai,fG as aj,jd as ak,e1 as al,Ks as am,Lm as an,gG as ao,mG as ap,sG as aq,EG as ar,iA as as,li as at,ED as au,mD as av,Hy as aw,xG as ax,r1 as ay,$s as az,uG as b,_S as c,EA as d,CI as e,yd as f,lG as g,Ia as h,SS as i,Qw as j,Ny as k,BC as l,Ry as m,RG as n,$C as o,TS as p,Lr as q,eS as r,DC as s,n1 as t,Py as u,di as v,Na as w,Td as x,pi as y,Fy as z};