var e=Object.defineProperty,t=Object.defineProperties,n=Object.getOwnPropertyDescriptors,r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,s=(t,n,r)=>n in t?e(t,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[n]=r,a=(e,t)=>{for(var n in t||(t={}))i.call(t,n)&&s(e,n,t[n]);if(r)for(var n of r(t))o.call(t,n)&&s(e,n,t[n]);return e},c=(e,r)=>t(e,n(r)),u=(e,t)=>{var n={};for(var s in e)i.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(null!=e&&r)for(var s of r(e))t.indexOf(s)<0&&o.call(e,s)&&(n[s]=e[s]);return n};try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="9b198ab8-9ff1-4078-9169-351184a8f736",e._sentryDebugIdIdentifier="sentry-dbid-9b198ab8-9ff1-4078-9169-351184a8f736")}catch(JZ){}("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"809aaa86edabe0cbd59e42ef077eca54fa417127"};var l="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function d(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function f(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach((function(n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})})),t}var h,p,m,g=f(Object.freeze(Object.defineProperty({__proto__:null,default:function(e,t){return t=t||{},new Promise((function(n,r){var i=new XMLHttpRequest,o=[],s=[],a={},c=function(){return{ok:2==(i.status/100|0),statusText:i.statusText,status:i.status,url:i.responseURL,text:function(){return Promise.resolve(i.responseText)},json:function(){return Promise.resolve(i.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([i.response]))},clone:c,headers:{keys:function(){return o},entries:function(){return s},get:function(e){return a[e.toLowerCase()]},has:function(e){return e.toLowerCase()in a}}}};for(var u in i.open(t.method||"get",e,!0),i.onload=function(){i.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,(function(e,t,n){o.push(t=t.toLowerCase()),s.push([t,n]),a[t]=a[t]?a[t]+","+n:n})),n(c())},i.onerror=r,i.withCredentials="include"==t.credentials,t.headers)i.setRequestHeader(u,t.headers[u]);i.send(t.body||null)}))}},Symbol.toStringTag,{value:"Module"}))),y=self.fetch||(self.fetch=g.default||g);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n49?function(){re(a,{timeout:s}),s!==i.ricTimeout&&(s=i.ricTimeout)}:ye((function(){te(a)}),!0);return function(e){var i;(e=!0===e)&&(s=33),t||(t=!0,(i=o-(n.now()-r))<0&&(i=0),e||i<9?c():te(c,i))}},be=function(e){var t,r,i=99,o=function(){t=null,e()},s=function(){var e=n.now()-r;e0)&&"visible"!=pe(i,"overflow")&&(r=i.getBoundingClientRect(),o=v>r.left&&yr.top-1&&g500&&K.clientWidth>500?500:370:i.expand,r._defEx=S,O=S*i.expFactor,N=i.hFac,_=null,T2&&f>2&&!t.hidden?(T=O,C=0):T=f>1&&C>1&&E<6?S:k),w!==c&&(p=innerWidth+c*N,m=innerHeight+c,d=-1*c,w=c),o=D[n].getBoundingClientRect(),(b=o.bottom)>=d&&(g=o.top)<=m&&(v=o.right)>=d*N&&(y=o.left)<=p&&(b||v||y||g)&&(i.loadHidden||A(D[n]))&&(l&&E<3&&!h&&(f<3||C<4)||I(D[n],c))){if(U(D[n]),a=!0,E>9)break}else!a&&l&&!s&&E<4&&C<4&&f>2&&(u[0]||i.preloadAfterLoad)&&(u[0]||!h&&(b||v||y||g||"auto"!=D[n][Z](i.sizesAttr)))&&(s=u[0]||D[n]);s&&!a&&U(s)}}),R=ye(M=function(e){var t=e.target;t._lazyCache?delete t._lazyCache:(O(e),ue(t,i.loadedClass),le(t,i.loadingClass),de(t,L),fe(t,"lazyloaded"))}),L=function(e){R({target:e.target})},P=function(e,t){var n=e.getAttribute("data-load-mode")||i.iframeLoadMode;0==n?e.contentWindow.location.replace(t):1==n&&(e.src=t)},j=function(e){var t,n=e[Z](i.srcsetAttr);(t=i.customMedia[e[Z]("data-media")||e[Z]("media")])&&e.setAttribute("media",t),n&&e.setAttribute("srcset",n)},F=ye((function(e,t,n,r,o){var s,a,c,u,l,f;(l=fe(e,"lazybeforeunveil",t)).defaultPrevented||(r&&(n?ue(e,i.autosizesClass):e.setAttribute("sizes",r)),a=e[Z](i.srcsetAttr),s=e[Z](i.srcAttr),o&&(u=(c=e.parentNode)&&ie.test(c.nodeName||"")),f=t.firesLoad||"src"in e&&(a||s||u),l={target:e},ue(e,i.loadingClass),f&&(clearTimeout(d),d=te(O,2500),de(e,L,!0)),u&&ae.call(c.getElementsByTagName("source"),j),a?e.setAttribute("srcset",a):s&&!u&&(S.test(e.nodeName)?P(e,s):e.src=s),o&&(a||u)&&he(e,{src:s})),e._lazyRace&&delete e._lazyRace,le(e,i.lazyClass),ge((function(){var t=e.complete&&e.naturalWidth>1;f&&!t||(t&&ue(e,i.fastLoadedClass),M(l),e._lazyCache=!0,te((function(){"_lazyCache"in e&&delete e._lazyCache}),9)),"lazy"==e.loading&&E--}),!0)})),U=function(e){if(!e._lazyRace){var t,n=w.test(e.nodeName),r=n&&(e[Z](i.sizesAttr)||e[Z]("sizes")),o="auto"==r;(!o&&l||!n||!e[Z]("src")&&!e.srcset||e.complete||ce(e,i.errorClass)||!ce(e,i.lazyClass))&&(t=fe(e,"lazyunveilread").detail,o&&we.updateElem(e,!0,e.offsetWidth),e._lazyRace=!0,E++,F(e,t,o,r,n))}},q=be((function(){i.loadMode=3,D()})),V=function(){l||(n.now()-h<999?te(V,999):(l=!0,i.loadMode=3,D(),ee("scroll",B,!0)))},{_:function(){h=n.now(),r.elements=t.getElementsByClassName(i.lazyClass),u=t.getElementsByClassName(i.lazyClass+" "+i.preloadClass),ee("scroll",D,!0),ee("resize",D,!0),ee("pageshow",(function(e){if(e.persisted){var n=t.querySelectorAll("."+i.loadingClass);n.length&&n.forEach&&ne((function(){n.forEach((function(e){e.complete&&U(e)}))}))}})),e.MutationObserver?new MutationObserver(D).observe(K,{childList:!0,subtree:!0,attributes:!0}):(K[X]("DOMNodeInserted",D,!0),K[X]("DOMAttrModified",D,!0),setInterval(D,999)),ee("hashchange",D,!0),["focus","mouseover","click","load","transitionend","animationend"].forEach((function(e){t[X](e,D,!0)})),/d$|^c/.test(t.readyState)?V():(ee("load",V),t[X]("DOMContentLoaded",D),te(V,2e4)),r.elements.length?(N(),ge._lsFlush()):D()},checkElems:D,unveil:U,_aLSL:B=function(){3==i.loadMode&&(i.loadMode=2),q()}}),we=(s=ye((function(e,t,n,r){var i,o,s;if(e._lazysizesWidth=r,r+="px",e.setAttribute("sizes",r),ie.test(t.nodeName||""))for(o=0,s=(i=t.getElementsByTagName("source")).length;o0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function be(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function _e(e){return e.classList?be(e.classList):(e.getAttribute("class")||"").split(" ").filter((function(e){return e}))}function we(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function Se(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")}),"")}function xe(e){return e.size!==ye.size||e.x!==ye.x||e.y!==ye.y||e.rotate!==ye.rotate||e.flipX||e.flipY}function ke(){var e="fa",t="svg-inline--fa",n=pe.cssPrefix,r=pe.replacementClass,i=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n transform: scale(var(--fa-counter-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(var(--fa-li-width, 2em) * -1);\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n -webkit-animation-name: fa-beat;\n animation-name: fa-beat;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n -webkit-animation-name: fa-bounce;\n animation-name: fa-bounce;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n -webkit-animation-name: fa-fade;\n animation-name: fa-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n -webkit-animation-name: fa-beat-fade;\n animation-name: fa-beat-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n -webkit-animation-name: fa-flip;\n animation-name: fa-flip;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n -webkit-animation-name: fa-shake;\n animation-name: fa-shake;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 2s);\n animation-duration: var(--fa-animation-duration, 2s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n -webkit-animation-delay: -1ms;\n animation-delay: -1ms;\n -webkit-animation-duration: 1ms;\n animation-duration: 1ms;\n -webkit-animation-iteration-count: 1;\n animation-iteration-count: 1;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n@-webkit-keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@-webkit-keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@-webkit-keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@-webkit-keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@-webkit-keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@-webkit-keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n -webkit-transform: rotate(var(--fa-rotate-angle, none));\n transform: rotate(var(--fa-rotate-angle, none));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n color: var(--fa-inverse, #fff);\n}';if(n!==e||r!==t){var o=new RegExp("\\.".concat(e,"\\-"),"g"),s=new RegExp("\\--".concat(e,"\\-"),"g"),a=new RegExp("\\.".concat(t),"g");i=i.replace(o,".".concat(n,"-")).replace(s,"--".concat(n,"-")).replace(a,".".concat(r))}return i}var Te=!1;function Ee(){pe.autoAddCss&&!Te&&(!function(e){if(e&&H){var t=L.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=L.head.childNodes,r=null,i=n.length-1;i>-1;i--){var o=n[i],s=(o.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(s)>-1&&(r=o)}L.head.insertBefore(t,r)}}(ke()),Te=!0)}var Ce={mixout:function(){return{dom:{css:ke,insertCss:Ee}}},hooks:function(){return{beforeDOMElementCreation:function(){Ee()},beforeI2svg:function(){Ee()}}}},Oe=R||{};Oe.___FONT_AWESOME___||(Oe.___FONT_AWESOME___={}),Oe.___FONT_AWESOME___.styles||(Oe.___FONT_AWESOME___.styles={}),Oe.___FONT_AWESOME___.hooks||(Oe.___FONT_AWESOME___.hooks={}),Oe.___FONT_AWESOME___.shims||(Oe.___FONT_AWESOME___.shims=[]);var Ae=Oe.___FONT_AWESOME___,Ie=[],Ne=!1;function De(e){H&&(Ne?setTimeout(e,0):Ie.push(e))}function Me(e){var t=e.tag,n=e.attributes,r=void 0===n?{}:n,i=e.children,o=void 0===i?[]:i;return"string"==typeof e?we(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat(we(e[n]),'" ')}),"").trim()}(r),">").concat(o.map(Me).join(""),"")}function Re(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}H&&((Ne=(L.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(L.readyState))||L.addEventListener("DOMContentLoaded",(function e(){L.removeEventListener("DOMContentLoaded",e),Ne=1,Ie.map((function(e){return e()}))})));var Le,Pe,je,Fe=function(e,t,n,r){var i,o,s,a=Object.keys(e),c=a.length,u=void 0!==r?function(e,t){return function(n,r,i,o){return e.call(t,n,r,i,o)}}(t,r):t;for(void 0===n?(i=1,s=e[a[0]]):(i=0,s=n);i=55296&&i<=56319&&n2&&void 0!==arguments[2]?arguments[2]:{},r=n.skipHooks,i=void 0!==r&&r,o=qe(t);"function"!=typeof Ae.hooks.addPack||i?Ae.styles[e]=b(b({},Ae.styles[e]||{}),o):Ae.hooks.addPack(e,qe(t)),"fas"===e&&Be("fa",t)}var Ve=Ae.styles,He=Ae.shims,ze=(S(Le={},"classic",Object.values(J.classic)),S(Le,"sharp",Object.values(J.sharp)),Le),$e=null,We={},Ge={},Ye={},Qe={},Ke={},Je=(S(Pe={},"classic",Object.keys(Q.classic)),S(Pe,"sharp",Object.keys(Q.sharp)),Pe);function Xe(e,t){var n,r=t.split("-"),i=r[0],o=r.slice(1).join("-");return i!==e||""===o||(n=o,~le.indexOf(n))?null:o}var Ze,et=function(){var e=function(e){return Fe(Ve,(function(t,n,r){return t[r]=Fe(n,e,{}),t}),{})};We=e((function(e,t,n){(t[3]&&(e[t[3]]=n),t[2])&&t[2].filter((function(e){return"number"==typeof e})).forEach((function(t){e[t.toString(16)]=n}));return e})),Ge=e((function(e,t,n){(e[n]=n,t[2])&&t[2].filter((function(e){return"string"==typeof e})).forEach((function(t){e[t]=n}));return e})),Ke=e((function(e,t,n){var r=t[2];return e[n]=n,r.forEach((function(t){e[t]=n})),e}));var t="far"in Ve||pe.autoFetchSvg,n=Fe(He,(function(e,n){var r=n[0],i=n[1],o=n[2];return"far"!==i||t||(i="fas"),"string"==typeof r&&(e.names[r]={prefix:i,iconName:o}),"number"==typeof r&&(e.unicodes[r.toString(16)]={prefix:i,iconName:o}),e}),{names:{},unicodes:{}});Ye=n.names,Qe=n.unicodes,$e=ot(pe.styleDefault,{family:pe.familyDefault})};function tt(e,t){return(We[e]||{})[t]}function nt(e,t){return(Ke[e]||{})[t]}function rt(e){return Ye[e]||{prefix:null,iconName:null}}function it(){return $e}Ze=function(e){$e=ot(e.styleDefault,{family:pe.familyDefault})},me.push(Ze),et();function ot(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.family,r=void 0===n?"classic":n,i=Q[r][e],o=K[r][e]||K[r][i],s=e in Ae.styles?e:null;return o||s||null}var st=(S(je={},"classic",Object.keys(J.classic)),S(je,"sharp",Object.keys(J.sharp)),je);function at(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.skipLookups,i=void 0!==r&&r,o=(S(t={},"classic","".concat(pe.cssPrefix,"-").concat("classic")),S(t,"sharp","".concat(pe.cssPrefix,"-").concat("sharp")),t),s=null,a="classic";(e.includes(o.classic)||e.some((function(e){return st.classic.includes(e)})))&&(a="classic"),(e.includes(o.sharp)||e.some((function(e){return st.sharp.includes(e)})))&&(a="sharp");var c=e.reduce((function(e,t){var n=Xe(pe.cssPrefix,t);if(Ve[t]?(t=ze[a].includes(t)?X[a][t]:t,s=t,e.prefix=t):Je[a].indexOf(t)>-1?(s=t,e.prefix=ot(t,{family:a})):n?e.iconName=n:t!==pe.replacementClass&&t!==o.classic&&t!==o.sharp&&e.rest.push(t),!i&&e.prefix&&e.iconName){var r="fa"===s?rt(e.iconName):{},c=nt(e.prefix,e.iconName);r.prefix&&(s=null),e.iconName=r.iconName||c||e.iconName,e.prefix=r.prefix||e.prefix,"far"!==e.prefix||Ve.far||!Ve.fas||pe.autoFetchSvg||(e.prefix="fas")}return e}),{prefix:null,iconName:null,rest:[]});return(e.includes("fa-brands")||e.includes("fab"))&&(c.prefix="fab"),(e.includes("fa-duotone")||e.includes("fad"))&&(c.prefix="fad"),c.prefix||"sharp"!==a||!Ve.fass&&!pe.autoFetchSvg||(c.prefix="fass",c.iconName=nt(c.prefix,c.iconName)||c.iconName),"fa"!==c.prefix&&"fa"!==s||(c.prefix=it()||"fas"),c}var ct=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}}var t,n,r;return t=e,(n=[{key:"add",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r0&&a.forEach((function(t){"string"==typeof t&&(e[i][t]=s)})),e[i][o]=s})),e}}])&&w(t.prototype,n),r&&w(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}(),ut=[],lt={},dt={},ft=Object.keys(dt);function ht(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i1?t-1:0),r=1;r0&&void 0!==arguments[0]?arguments[0]:{};return H?(pt("beforeI2svg",e),mt("pseudoElements2svg",e),mt("i2svg",e)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.autoReplaceSvgRoot;!1===pe.autoReplaceSvg&&(pe.autoReplaceSvg=!0),pe.observeMutations=!0,De((function(){_t({autoReplaceSvgRoot:t}),pt("watch",e)}))}},bt={noAuto:function(){pe.autoReplaceSvg=!1,pe.observeMutations=!1,pt("noAuto")},config:pe,dom:vt,parse:{icon:function(e){if(null===e)return null;if("object"===_(e)&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:nt(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&2===e.length){var t=0===e[1].indexOf("fa-")?e[1].slice(3):e[1],n=ot(e[0]);return{prefix:n,iconName:nt(n,t)||t}}if("string"==typeof e&&(e.indexOf("".concat(pe.cssPrefix,"-"))>-1||e.match(Z))){var r=at(e.split(" "),{skipLookups:!0});return{prefix:r.prefix||it(),iconName:nt(r.prefix,r.iconName)||r.iconName}}if("string"==typeof e){var i=it();return{prefix:i,iconName:nt(i,e)||e}}}},library:yt,findIconDefinition:gt,toHtml:Me},_t=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.autoReplaceSvgRoot,n=void 0===t?L:t;(Object.keys(Ae.styles).length>0||pe.autoFetchSvg)&&H&&pe.autoReplaceSvg&&bt.dom.i2svg({node:n})};function wt(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((function(e){return Me(e)}))}}),Object.defineProperty(e,"node",{get:function(){if(H){var t=L.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function St(e){var t=e.icons,n=t.main,r=t.mask,i=e.prefix,o=e.iconName,s=e.transform,a=e.symbol,c=e.title,u=e.maskId,l=e.titleId,d=e.extra,f=e.watchable,h=void 0!==f&&f,p=r.found?r:n,m=p.width,g=p.height,y="fak"===i,v=[pe.replacementClass,o?"".concat(pe.cssPrefix,"-").concat(o):""].filter((function(e){return-1===d.classes.indexOf(e)})).filter((function(e){return""!==e||!!e})).concat(d.classes).join(" "),_={children:[],attributes:b(b({},d.attributes),{},{"data-prefix":i,"data-icon":o,class:v,role:d.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(m," ").concat(g)})},w=y&&!~d.classes.indexOf("fa-fw")?{width:"".concat(m/g*16*.0625,"em")}:{};h&&(_.attributes["data-fa-i2svg"]=""),c&&(_.children.push({tag:"title",attributes:{id:_.attributes["aria-labelledby"]||"title-".concat(l||ve())},children:[c]}),delete _.attributes.title);var S=b(b({},_),{},{prefix:i,iconName:o,main:n,mask:r,maskId:u,transform:s,symbol:a,styles:b(b({},w),d.styles)}),x=r.found&&n.found?mt("generateAbstractMask",S)||{children:[],attributes:{}}:mt("generateAbstractIcon",S)||{children:[],attributes:{}},k=x.children,T=x.attributes;return S.children=k,S.attributes=T,a?function(e){var t=e.prefix,n=e.iconName,r=e.children,i=e.attributes,o=e.symbol,s=!0===o?"".concat(t,"-").concat(pe.cssPrefix,"-").concat(n):o;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:b(b({},i),{},{id:s}),children:r}]}]}(S):function(e){var t=e.children,n=e.main,r=e.mask,i=e.attributes,o=e.styles,s=e.transform;if(xe(s)&&n.found&&!r.found){var a={x:n.width/n.height/2,y:.5};i.style=Se(b(b({},o),{},{"transform-origin":"".concat(a.x+s.x/16,"em ").concat(a.y+s.y/16,"em")}))}return[{tag:"svg",attributes:i,children:t}]}(S)}function xt(e){var t=e.content,n=e.width,r=e.height,i=e.transform,o=e.title,s=e.extra,a=e.watchable,c=void 0!==a&&a,u=b(b(b({},s.attributes),o?{title:o}:{}),{},{class:s.classes.join(" ")});c&&(u["data-fa-i2svg"]="");var l=b({},s.styles);xe(i)&&(l.transform=function(e){var t=e.transform,n=e.width,r=void 0===n?16:n,i=e.height,o=void 0===i?16:i,s=e.startCentered,a=void 0!==s&&s,c="";return c+=a&&z?"translate(".concat(t.x/ge-r/2,"em, ").concat(t.y/ge-o/2,"em) "):a?"translate(calc(-50% + ".concat(t.x/ge,"em), calc(-50% + ").concat(t.y/ge,"em)) "):"translate(".concat(t.x/ge,"em, ").concat(t.y/ge,"em) "),c+="scale(".concat(t.size/ge*(t.flipX?-1:1),", ").concat(t.size/ge*(t.flipY?-1:1),") "),c+"rotate(".concat(t.rotate,"deg) ")}({transform:i,startCentered:!0,width:n,height:r}),l["-webkit-transform"]=l.transform);var d=Se(l);d.length>0&&(u.style=d);var f=[];return f.push({tag:"span",attributes:u,children:[t]}),o&&f.push({tag:"span",attributes:{class:"sr-only"},children:[o]}),f}function kt(e){var t=e.content,n=e.title,r=e.extra,i=b(b(b({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),o=Se(r.styles);o.length>0&&(i.style=o);var s=[];return s.push({tag:"span",attributes:i,children:[t]}),n&&s.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),s}var Tt=Ae.styles;function Et(e){var t=e[0],n=e[1],r=x(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(pe.cssPrefix,"-").concat(oe)},children:[{tag:"path",attributes:{class:"".concat(pe.cssPrefix,"-").concat(ce),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(pe.cssPrefix,"-").concat(ae),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}var Ct={found:!1,width:512,height:512};function Ot(e,t){var n=t;return"fa"===t&&null!==pe.styleDefault&&(t=it()),new Promise((function(r,i){if(mt("missingIconAbstract"),"fa"===n){var o=rt(e)||{};e=o.iconName||e,t=o.prefix||t}if(e&&t&&Tt[t]&&Tt[t][e])return r(Et(Tt[t][e]));!function(e,t){W||pe.showMissingIcons||!e||console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}(e,t),r(b(b({},Ct),{},{icon:pe.showMissingIcons&&e&&mt("missingIconAbstract")||{}}))}))}var At=function(){},It=pe.measurePerformance&&j&&j.mark&&j.measure?j:{mark:At,measure:At},Nt=function(e){It.mark("".concat('FA "6.5.1"'," ").concat(e," ends")),It.measure("".concat('FA "6.5.1"'," ").concat(e),"".concat('FA "6.5.1"'," ").concat(e," begins"),"".concat('FA "6.5.1"'," ").concat(e," ends"))},Dt=function(e){return It.mark("".concat('FA "6.5.1"'," ").concat(e," begins")),function(){return Nt(e)}},Mt=function(){};function Rt(e){return"string"==typeof(e.getAttribute?e.getAttribute("data-fa-i2svg"):null)}function Lt(e){return L.createElementNS("http://www.w3.org/2000/svg",e)}function Pt(e){return L.createElement(e)}function jt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.ceFn,r=void 0===n?"svg"===e.tag?Lt:Pt:n;if("string"==typeof e)return L.createTextNode(e);var i=r(e.tag);Object.keys(e.attributes||[]).forEach((function(t){i.setAttribute(t,e.attributes[t])}));var o=e.children||[];return o.forEach((function(e){i.appendChild(jt(e,{ceFn:r}))})),i}var Ft={replace:function(e){var t=e[0];if(t.parentNode)if(e[1].forEach((function(e){t.parentNode.insertBefore(jt(e),t)})),null===t.getAttribute("data-fa-i2svg")&&pe.keepOriginalSource){var n=L.createComment(function(e){var t=" ".concat(e.outerHTML," ");return"".concat(t,"Font Awesome fontawesome.com ")}(t));t.parentNode.replaceChild(n,t)}else t.remove()},nest:function(e){var t=e[0],n=e[1];if(~_e(t).indexOf(pe.replacementClass))return Ft.replace(e);var r=new RegExp("".concat(pe.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var i=n[0].attributes.class.split(" ").reduce((function(e,t){return t===pe.replacementClass||t.match(r)?e.toSvg.push(t):e.toNode.push(t),e}),{toNode:[],toSvg:[]});n[0].attributes.class=i.toSvg.join(" "),0===i.toNode.length?t.removeAttribute("class"):t.setAttribute("class",i.toNode.join(" "))}var o=n.map((function(e){return Me(e)})).join("\n");t.setAttribute("data-fa-i2svg",""),t.innerHTML=o}};function Ut(e){e()}function qt(e,t){var n="function"==typeof t?t:Mt;if(0===e.length)n();else{var r=Ut;"async"===pe.mutateApproach&&(r=R.requestAnimationFrame||Ut),r((function(){var t=!0===pe.autoReplaceSvg?Ft.replace:Ft[pe.autoReplaceSvg]||Ft.replace,r=Dt("mutate");e.map(t),r(),n()}))}}var Bt=!1;function Vt(){Bt=!0}function Ht(){Bt=!1}var zt=null;function $t(e){if(P&&pe.observeMutations){var t=e.treeCallback,n=void 0===t?Mt:t,r=e.nodeCallback,i=void 0===r?Mt:r,o=e.pseudoElementsCallback,s=void 0===o?Mt:o,a=e.observeMutationsRoot,c=void 0===a?L:a;zt=new P((function(e){if(!Bt){var t=it();be(e).forEach((function(e){if("childList"===e.type&&e.addedNodes.length>0&&!Rt(e.addedNodes[0])&&(pe.searchPseudoElements&&s(e.target),n(e.target)),"attributes"===e.type&&e.target.parentNode&&pe.searchPseudoElements&&s(e.target.parentNode),"attributes"===e.type&&Rt(e.target)&&~ie.indexOf(e.attributeName))if("class"===e.attributeName&&function(e){var t=e.getAttribute?e.getAttribute("data-prefix"):null,n=e.getAttribute?e.getAttribute("data-icon"):null;return t&&n}(e.target)){var r=at(_e(e.target)),o=r.prefix,a=r.iconName;e.target.setAttribute("data-prefix",o||t),a&&e.target.setAttribute("data-icon",a)}else(c=e.target)&&c.classList&&c.classList.contains&&c.classList.contains(pe.replacementClass)&&i(e.target);var c}))}})),H&&zt.observe(c,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Wt(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce((function(e,t){var n=t.split(":"),r=n[0],i=n.slice(1);return r&&i.length>0&&(e[r]=i.join(":").trim()),e}),{})),n}function Gt(e){var t,n,r=e.getAttribute("data-prefix"),i=e.getAttribute("data-icon"),o=void 0!==e.innerText?e.innerText.trim():"",s=at(_e(e));return s.prefix||(s.prefix=it()),r&&i&&(s.prefix=r,s.iconName=i),s.iconName&&s.prefix||(s.prefix&&o.length>0&&(s.iconName=(t=s.prefix,n=e.innerText,(Ge[t]||{})[n]||tt(s.prefix,Ue(e.innerText)))),!s.iconName&&pe.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(s.iconName=e.firstChild.data)),s}function Yt(e){var t=be(e.attributes).reduce((function(e,t){return"class"!==e.name&&"style"!==e.name&&(e[t.name]=t.value),e}),{}),n=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return pe.autoA11y&&(n?t["aria-labelledby"]="".concat(pe.replacementClass,"-title-").concat(r||ve()):(t["aria-hidden"]="true",t.focusable="false")),t}function Qt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},n=Gt(e),r=n.iconName,i=n.prefix,o=n.rest,s=Yt(e),a=ht("parseNodeAttributes",{},e),c=t.styleParser?Wt(e):[];return b({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:i,transform:ye,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:o,styles:c,attributes:s}},a)}var Kt=Ae.styles;function Jt(e){var t="nest"===pe.autoReplaceSvg?Qt(e,{styleParser:!1}):Qt(e);return~t.extra.classes.indexOf("fa-layers-text")?mt("generateLayersText",e,t):mt("generateSvgReplacementMutation",e,t)}var Xt=new Set;function Zt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!H)return Promise.resolve();var n=L.documentElement.classList,r=function(e){return n.add("".concat("fontawesome-i2svg","-").concat(e))},i=function(e){return n.remove("".concat("fontawesome-i2svg","-").concat(e))},o=pe.autoFetchSvg?Xt:G.map((function(e){return"fa-".concat(e)})).concat(Object.keys(Kt));o.includes("fa")||o.push("fa");var s=[".".concat("fa-layers-text",":not([").concat("data-fa-i2svg","])")].concat(o.map((function(e){return".".concat(e,":not([").concat("data-fa-i2svg","])")}))).join(", ");if(0===s.length)return Promise.resolve();var a=[];try{a=be(e.querySelectorAll(s))}catch(JZ){}if(!(a.length>0))return Promise.resolve();r("pending"),i("complete");var c=Dt("onTree"),u=a.reduce((function(e,t){try{var n=Jt(t);n&&e.push(n)}catch(JZ){W||"MissingIcon"===JZ.name&&console.error(JZ)}return e}),[]);return new Promise((function(e,n){Promise.all(u).then((function(n){qt(n,(function(){r("active"),r("complete"),i("pending"),"function"==typeof t&&t(),c(),e()}))})).catch((function(e){c(),n(e)}))}))}function en(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;Jt(e).then((function(e){e&&qt([e],t)}))}G.map((function(e){Xt.add("fa-".concat(e))})),Object.keys(Q.classic).map(Xt.add.bind(Xt)),Object.keys(Q.sharp).map(Xt.add.bind(Xt)),Xt=k(Xt);var tn=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?ye:n,i=t.symbol,o=void 0!==i&&i,s=t.mask,a=void 0===s?null:s,c=t.maskId,u=void 0===c?null:c,l=t.title,d=void 0===l?null:l,f=t.titleId,h=void 0===f?null:f,p=t.classes,m=void 0===p?[]:p,g=t.attributes,y=void 0===g?{}:g,v=t.styles,_=void 0===v?{}:v;if(e){var w=e.prefix,S=e.iconName,x=e.icon;return wt(b({type:"icon"},e),(function(){return pt("beforeDOMElementCreation",{iconDefinition:e,params:t}),pe.autoA11y&&(d?y["aria-labelledby"]="".concat(pe.replacementClass,"-title-").concat(h||ve()):(y["aria-hidden"]="true",y.focusable="false")),St({icons:{main:Et(x),mask:a?Et(a.icon):{found:!1,width:null,height:null,icon:{}}},prefix:w,iconName:S,transform:b(b({},ye),r),symbol:o,title:d,maskId:u,titleId:h,extra:{attributes:y,styles:_,classes:m}})}))}},nn={mixout:function(){return{icon:(e=tn,function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(t||{}).icon?t:gt(t||{}),i=n.mask;return i&&(i=(i||{}).icon?i:gt(i||{})),e(r,b(b({},n),{},{mask:i}))})};var e},hooks:function(){return{mutationObserverCallbacks:function(e){return e.treeCallback=Zt,e.nodeCallback=en,e}}},provides:function(e){e.i2svg=function(e){var t=e.node,n=void 0===t?L:t,r=e.callback;return Zt(n,void 0===r?function(){}:r)},e.generateSvgReplacementMutation=function(e,t){var n=t.iconName,r=t.title,i=t.titleId,o=t.prefix,s=t.transform,a=t.symbol,c=t.mask,u=t.maskId,l=t.extra;return new Promise((function(t,d){Promise.all([Ot(n,o),c.iconName?Ot(c.iconName,c.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then((function(c){var d=x(c,2),f=d[0],h=d[1];t([e,St({icons:{main:f,mask:h},prefix:o,iconName:n,transform:s,symbol:a,maskId:u,title:r,titleId:i,extra:l,watchable:!0})])})).catch(d)}))},e.generateAbstractIcon=function(e){var t,n=e.children,r=e.attributes,i=e.main,o=e.transform,s=Se(e.styles);return s.length>0&&(r.style=s),xe(o)&&(t=mt("generateAbstractTransformGrouping",{main:i,transform:o,containerWidth:i.width,iconWidth:i.width})),n.push(t||i.icon),{children:n,attributes:r}}}},rn={mixout:function(){return{layer:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.classes,r=void 0===n?[]:n;return wt({type:"layer"},(function(){pt("beforeDOMElementCreation",{assembler:e,params:t});var n=[];return e((function(e){Array.isArray(e)?e.map((function(e){n=n.concat(e.abstract)})):n=n.concat(e.abstract)})),[{tag:"span",attributes:{class:["".concat(pe.cssPrefix,"-layers")].concat(k(r)).join(" ")},children:n}]}))}}}},on={mixout:function(){return{counter:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.title,r=void 0===n?null:n,i=t.classes,o=void 0===i?[]:i,s=t.attributes,a=void 0===s?{}:s,c=t.styles,u=void 0===c?{}:c;return wt({type:"counter",content:e},(function(){return pt("beforeDOMElementCreation",{content:e,params:t}),kt({content:e.toString(),title:r,extra:{attributes:a,styles:u,classes:["".concat(pe.cssPrefix,"-layers-counter")].concat(k(o))}})}))}}}},sn={mixout:function(){return{text:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?ye:n,i=t.title,o=void 0===i?null:i,s=t.classes,a=void 0===s?[]:s,c=t.attributes,u=void 0===c?{}:c,l=t.styles,d=void 0===l?{}:l;return wt({type:"text",content:e},(function(){return pt("beforeDOMElementCreation",{content:e,params:t}),xt({content:e,transform:b(b({},ye),r),title:o,extra:{attributes:u,styles:d,classes:["".concat(pe.cssPrefix,"-layers-text")].concat(k(a))}})}))}}},provides:function(e){e.generateLayersText=function(e,t){var n=t.title,r=t.transform,i=t.extra,o=null,s=null;if(z){var a=parseInt(getComputedStyle(e).fontSize,10),c=e.getBoundingClientRect();o=c.width/a,s=c.height/a}return pe.autoA11y&&!n&&(i.attributes["aria-hidden"]="true"),Promise.resolve([e,xt({content:e.innerHTML,width:o,height:s,transform:r,title:n,extra:i,watchable:!0})])}}},an=new RegExp('"',"ug"),cn=[1105920,1112319];function un(e,t){var n="".concat("data-fa-pseudo-element-pending").concat(t.replace(":","-"));return new Promise((function(r,i){if(null!==e.getAttribute(n))return r();var o,s,a,c=be(e.children).filter((function(e){return e.getAttribute("data-fa-pseudo-element")===t}))[0],u=R.getComputedStyle(e,t),l=u.getPropertyValue("font-family").match(ee),d=u.getPropertyValue("font-weight"),f=u.getPropertyValue("content");if(c&&!l)return e.removeChild(c),r();if(l&&"none"!==f&&""!==f){var h=u.getPropertyValue("content"),p=~["Sharp"].indexOf(l[2])?"sharp":"classic",m=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(l[2])?K[p][l[2].toLowerCase()]:te[p][d],g=function(e){var t,n,r,i,o,s=e.replace(an,""),a=(n=0,i=(t=s).length,(o=t.charCodeAt(n))>=55296&&o<=56319&&i>n+1&&(r=t.charCodeAt(n+1))>=56320&&r<=57343?1024*(o-55296)+r-56320+65536:o),c=a>=cn[0]&&a<=cn[1],u=2===s.length&&s[0]===s[1];return{value:Ue(u?s[0]:s),isSecondary:c||u}}(h),y=g.value,v=g.isSecondary,_=l[0].startsWith("FontAwesome"),w=tt(m,y),S=w;if(_){var x=(s=Qe[o=y],a=tt("fas",o),s||(a?{prefix:"fas",iconName:a}:null)||{prefix:null,iconName:null});x.iconName&&x.prefix&&(w=x.iconName,m=x.prefix)}if(!w||v||c&&c.getAttribute("data-prefix")===m&&c.getAttribute("data-icon")===S)r();else{e.setAttribute(n,S),c&&e.removeChild(c);var k={iconName:null,title:null,titleId:null,prefix:null,transform:ye,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},T=k.extra;T.attributes["data-fa-pseudo-element"]=t,Ot(w,m).then((function(i){var o=St(b(b({},k),{},{icons:{main:i,mask:{prefix:null,iconName:null,rest:[]}},prefix:m,iconName:S,extra:T,watchable:!0})),s=L.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===t?e.insertBefore(s,e.firstChild):e.appendChild(s),s.outerHTML=o.map((function(e){return Me(e)})).join("\n"),e.removeAttribute(n),r()})).catch(i)}}else r()}))}function ln(e){return Promise.all([un(e,"::before"),un(e,"::after")])}function dn(e){return!(e.parentNode===document.head||~$.indexOf(e.tagName.toUpperCase())||e.getAttribute("data-fa-pseudo-element")||e.parentNode&&"svg"===e.parentNode.tagName)}function fn(e){if(H)return new Promise((function(t,n){var r=be(e.querySelectorAll("*")).filter(dn).map(ln),i=Dt("searchPseudoElements");Vt(),Promise.all(r).then((function(){i(),Ht(),t()})).catch((function(){i(),Ht(),n()}))}))}var hn=!1,pn=function(e){return e.toLowerCase().split(" ").reduce((function(e,t){var n=t.toLowerCase().split("-"),r=n[0],i=n.slice(1).join("-");if(r&&"h"===i)return e.flipX=!0,e;if(r&&"v"===i)return e.flipY=!0,e;if(i=parseFloat(i),isNaN(i))return e;switch(r){case"grow":e.size=e.size+i;break;case"shrink":e.size=e.size-i;break;case"left":e.x=e.x-i;break;case"right":e.x=e.x+i;break;case"up":e.y=e.y-i;break;case"down":e.y=e.y+i;break;case"rotate":e.rotate=e.rotate+i}return e}),{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},mn={mixout:function(){return{parse:{transform:function(e){return pn(e)}}}},hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-transform");return n&&(e.transform=pn(n)),e}}},provides:function(e){e.generateAbstractTransformGrouping=function(e){var t=e.main,n=e.transform,r=e.containerWidth,i=e.iconWidth,o={transform:"translate(".concat(r/2," 256)")},s="translate(".concat(32*n.x,", ").concat(32*n.y,") "),a="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),c="rotate(".concat(n.rotate," 0 0)"),u={outer:o,inner:{transform:"".concat(s," ").concat(a," ").concat(c)},path:{transform:"translate(".concat(i/2*-1," -256)")}};return{tag:"g",attributes:b({},u.outer),children:[{tag:"g",attributes:b({},u.inner),children:[{tag:t.icon.tag,children:t.icon.children,attributes:b(b({},t.icon.attributes),u.path)}]}]}}}},gn={x:0,y:0,width:"100%",height:"100%"};function yn(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}var vn,bn={hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-mask"),r=n?at(n.split(" ").map((function(e){return e.trim()}))):{prefix:null,iconName:null,rest:[]};return r.prefix||(r.prefix=it()),e.mask=r,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides:function(e){e.generateAbstractMask=function(e){var t,n=e.children,r=e.attributes,i=e.main,o=e.mask,s=e.maskId,a=e.transform,c=i.width,u=i.icon,l=o.width,d=o.icon,f=function(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,i={transform:"translate(".concat(n/2," 256)")},o="translate(".concat(32*t.x,", ").concat(32*t.y,") "),s="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),a="rotate(".concat(t.rotate," 0 0)");return{outer:i,inner:{transform:"".concat(o," ").concat(s," ").concat(a)},path:{transform:"translate(".concat(r/2*-1," -256)")}}}({transform:a,containerWidth:l,iconWidth:c}),h={tag:"rect",attributes:b(b({},gn),{},{fill:"white"})},p=u.children?{children:u.children.map(yn)}:{},m={tag:"g",attributes:b({},f.inner),children:[yn(b({tag:u.tag,attributes:b(b({},u.attributes),f.path)},p))]},g={tag:"g",attributes:b({},f.outer),children:[m]},y="mask-".concat(s||ve()),v="clip-".concat(s||ve()),_={tag:"mask",attributes:b(b({},gn),{},{id:y,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[h,g]},w={tag:"defs",children:[{tag:"clipPath",attributes:{id:v},children:(t=d,"g"===t.tag?t.children:[t])},_]};return n.push(w,{tag:"rect",attributes:b({fill:"currentColor","clip-path":"url(#".concat(v,")"),mask:"url(#".concat(y,")")},gn)}),{children:n,attributes:r}}}};vn={mixoutsTo:bt}.mixoutsTo,ut=[Ce,nn,rn,on,sn,{hooks:function(){return{mutationObserverCallbacks:function(e){return e.pseudoElementsCallback=fn,e}}},provides:function(e){e.pseudoElements2svg=function(e){var t=e.node,n=void 0===t?L:t;pe.searchPseudoElements&&fn(n)}}},{mixout:function(){return{dom:{unwatch:function(){Vt(),hn=!0}}}},hooks:function(){return{bootstrap:function(){$t(ht("mutationObserverCallbacks",{}))},noAuto:function(){zt&&zt.disconnect()},watch:function(e){var t=e.observeMutationsRoot;hn?Ht():$t(ht("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}},mn,bn,{provides:function(e){var t=!1;R.matchMedia&&(t=R.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){var e=[],n={fill:"currentColor"},r={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};e.push({tag:"path",attributes:b(b({},n),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var i=b(b({},r),{},{attributeName:"opacity"}),o={tag:"circle",attributes:b(b({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||o.children.push({tag:"animate",attributes:b(b({},r),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:b(b({},i),{},{values:"1;0;1;1;0;1;"})}),e.push(o),e.push({tag:"path",attributes:b(b({},n),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:b(b({},i),{},{values:"1;0;0;0;0;1;"})}]}),t||e.push({tag:"path",attributes:b(b({},n),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:b(b({},i),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:e}}}},{hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-symbol"),r=null!==n&&(""===n||n);return e.symbol=r,e}}}}],lt={},Object.keys(dt).forEach((function(e){-1===ft.indexOf(e)&&delete dt[e]})),ut.forEach((function(e){var t=e.mixout?e.mixout():{};if(Object.keys(t).forEach((function(e){"function"==typeof t[e]&&(vn[e]=t[e]),"object"===_(t[e])&&Object.keys(t[e]).forEach((function(n){vn[e]||(vn[e]={}),vn[e][n]=t[e][n]}))})),e.hooks){var n=e.hooks();Object.keys(n).forEach((function(e){lt[e]||(lt[e]=[]),lt[e].push(n[e])}))}e.provides&&e.provides(dt)}));var _n=bt.config,wn=bt.parse,Sn=bt.icon,xn=bt.text; /** * @vue/shared v3.5.18 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/ /*! #__NO_SIDE_EFFECTS__ */ function kn(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return e=>e in t}const Tn={},En=[],Cn=()=>{},On=()=>!1,An=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),In=e=>e.startsWith("onUpdate:"),Nn=Object.assign,Dn=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Mn=Object.prototype.hasOwnProperty,Rn=(e,t)=>Mn.call(e,t),Ln=Array.isArray,Pn=e=>"[object Map]"===zn(e),jn=e=>"[object Set]"===zn(e),Fn=e=>"function"==typeof e,Un=e=>"string"==typeof e,qn=e=>"symbol"==typeof e,Bn=e=>null!==e&&"object"==typeof e,Vn=e=>(Bn(e)||Fn(e))&&Fn(e.then)&&Fn(e.catch),Hn=Object.prototype.toString,zn=e=>Hn.call(e),$n=e=>"[object Object]"===zn(e),Wn=e=>Un(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,Gn=kn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Yn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Qn=/-(\w)/g,Kn=Yn((e=>e.replace(Qn,((e,t)=>t?t.toUpperCase():"")))),Jn=/\B([A-Z])/g,Xn=Yn((e=>e.replace(Jn,"-$1").toLowerCase())),Zn=Yn((e=>e.charAt(0).toUpperCase()+e.slice(1))),er=Yn((e=>e?`on${Zn(e)}`:"")),tr=(e,t)=>!Object.is(e,t),nr=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},ir=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let or;const sr=()=>or||(or="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{}),ar=kn("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol");function cr(e){if(Ln(e)){const t={};for(let n=0;n{if(e){const n=e.split(lr);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function hr(e){let t="";if(Un(e))t=e;else if(Ln(e))for(let n=0;n?@[\\\]^`{|}~]/g;function br(e,t){return e.replace(vr,(e=>t?'"'===e?'\\\\\\"':`\\\\${e}`:`\\${e}`))}const _r=e=>!(!e||!0!==e.__v_isRef),wr=e=>Un(e)?e:null==e?"":Ln(e)||Bn(e)&&(e.toString===Hn||!Fn(e.toString))?_r(e)?wr(e.value):JSON.stringify(e,Sr,2):String(e),Sr=(e,t)=>_r(t)?Sr(e,t.value):Pn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n],r)=>(e[xr(t,r)+" =>"]=n,e)),{})}:jn(t)?{[`Set(${t.size})`]:[...t.values()].map((e=>xr(e)))}:qn(t)?xr(t):!Bn(t)||Ln(t)||$n(t)?t:String(t),xr=(e,t="")=>{var n;return qn(e)?`Symbol(${null!=(n=e.description)?n:t})`:e};function kr(e){return null==e?"initial":"string"==typeof e?""===e?" ":e:String(e)} /** * @vue/reactivity v3.5.18 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let Tr,Er;class Cr{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Tr,!e&&Tr&&(this.index=(Tr.scopes||(Tr.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){let e,t;if(this._isPaused=!0,this.scopes)for(e=0,t=this.scopes.length;e0&&0==--this._on&&(Tr=this.prevScope,this.prevScope=void 0)}stop(e){if(this._active){let t,n;for(this._active=!1,t=0,n=this.effects.length;t0)return;if(Mr){let e=Mr;for(Mr=void 0;e;){const t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;Dr;){let n=Dr;for(Dr=void 0;n;){const r=n.next;if(n.next=void 0,n.flags&=-9,1&n.flags)try{n.trigger()}catch(t){e||(e=t)}n=r}}if(e)throw e}function Fr(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ur(e){let t,n=e.depsTail,r=n;for(;r;){const e=r.prevDep;-1===r.version?(r===n&&(n=e),Vr(r),Hr(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=n}function qr(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Br(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Br(e){if(4&e.flags&&!(16&e.flags))return;if(e.flags&=-17,e.globalVersion===Qr)return;if(e.globalVersion=Qr,!e.isSSR&&128&e.flags&&(!e.deps&&!e._dirty||!qr(e)))return;e.flags|=2;const t=e.dep,n=Er,r=zr;Er=e,zr=!0;try{Fr(e);const i=e.fn(e._value);(0===t.version||tr(i,e._value))&&(e.flags|=128,e._value=i,t.version++)}catch(i){throw t.version++,i}finally{Er=n,zr=r,Ur(e),e.flags&=-3}}function Vr(e,t=!1){const{dep:n,prevSub:r,nextSub:i}=e;if(r&&(r.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)Vr(e,!0)}t||--n.sc||!n.map||n.map.delete(n.key)}function Hr(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let zr=!0;const $r=[];function Wr(){$r.push(zr),zr=!1}function Gr(){const e=$r.pop();zr=void 0===e||e}function Yr(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const e=Er;Er=void 0;try{t()}finally{Er=e}}}let Qr=0;class Kr{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Jr{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!Er||!zr||Er===this.computed)return;let t=this.activeLink;if(void 0===t||t.sub!==Er)t=this.activeLink=new Kr(Er,this),Er.deps?(t.prevDep=Er.depsTail,Er.depsTail.nextDep=t,Er.depsTail=t):Er.deps=Er.depsTail=t,Xr(t);else if(-1===t.version&&(t.version=this.version,t.nextDep)){const e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=Er.depsTail,t.nextDep=void 0,Er.depsTail.nextDep=t,Er.depsTail=t,Er.deps===t&&(Er.deps=e)}return t}trigger(e){this.version++,Qr++,this.notify(e)}notify(e){Pr();try{0;for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{jr()}}}function Xr(e){if(e.dep.sc++,4&e.sub.flags){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)Xr(e)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Zr=new WeakMap,ei=Symbol(""),ti=Symbol(""),ni=Symbol("");function ri(e,t,n){if(zr&&Er){let t=Zr.get(e);t||Zr.set(e,t=new Map);let r=t.get(n);r||(t.set(n,r=new Jr),r.map=t,r.key=n),r.track()}}function ii(e,t,n,r,i,o){const s=Zr.get(e);if(!s)return void Qr++;const a=e=>{e&&e.trigger()};if(Pr(),"clear"===t)s.forEach(a);else{const i=Ln(e),o=i&&Wn(n);if(i&&"length"===n){const e=Number(r);s.forEach(((t,n)=>{("length"===n||n===ni||!qn(n)&&n>=e)&&a(t)}))}else switch((void 0!==n||s.has(void 0))&&a(s.get(n)),o&&a(s.get(ni)),t){case"add":i?o&&a(s.get("length")):(a(s.get(ei)),Pn(e)&&a(s.get(ti)));break;case"delete":i||(a(s.get(ei)),Pn(e)&&a(s.get(ti)));break;case"set":Pn(e)&&a(s.get(ei))}}jr()}function oi(e){const t=Gi(e);return t===e?t:(ri(t,0,ni),$i(e)?t:t.map(Qi))}function si(e){return ri(e=Gi(e),0,ni),e}const ai={__proto__:null,[Symbol.iterator](){return ci(this,Symbol.iterator,Qi)},concat(...e){return oi(this).concat(...e.map((e=>Ln(e)?oi(e):e)))},entries(){return ci(this,"entries",(e=>(e[1]=Qi(e[1]),e)))},every(e,t){return li(this,"every",e,t,void 0,arguments)},filter(e,t){return li(this,"filter",e,t,(e=>e.map(Qi)),arguments)},find(e,t){return li(this,"find",e,t,Qi,arguments)},findIndex(e,t){return li(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return li(this,"findLast",e,t,Qi,arguments)},findLastIndex(e,t){return li(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return li(this,"forEach",e,t,void 0,arguments)},includes(...e){return fi(this,"includes",e)},indexOf(...e){return fi(this,"indexOf",e)},join(e){return oi(this).join(e)},lastIndexOf(...e){return fi(this,"lastIndexOf",e)},map(e,t){return li(this,"map",e,t,void 0,arguments)},pop(){return hi(this,"pop")},push(...e){return hi(this,"push",e)},reduce(e,...t){return di(this,"reduce",e,t)},reduceRight(e,...t){return di(this,"reduceRight",e,t)},shift(){return hi(this,"shift")},some(e,t){return li(this,"some",e,t,void 0,arguments)},splice(...e){return hi(this,"splice",e)},toReversed(){return oi(this).toReversed()},toSorted(e){return oi(this).toSorted(e)},toSpliced(...e){return oi(this).toSpliced(...e)},unshift(...e){return hi(this,"unshift",e)},values(){return ci(this,"values",Qi)}};function ci(e,t,n){const r=si(e),i=r[t]();return r===e||$i(e)||(i._next=i.next,i.next=()=>{const e=i._next();return e.value&&(e.value=n(e.value)),e}),i}const ui=Array.prototype;function li(e,t,n,r,i,o){const s=si(e),a=s!==e&&!$i(e),c=s[t];if(c!==ui[t]){const t=c.apply(e,o);return a?Qi(t):t}let u=n;s!==e&&(a?u=function(t,r){return n.call(this,Qi(t),r,e)}:n.length>2&&(u=function(t,r){return n.call(this,t,r,e)}));const l=c.call(s,u,r);return a&&i?i(l):l}function di(e,t,n,r){const i=si(e);let o=n;return i!==e&&($i(e)?n.length>3&&(o=function(t,r,i){return n.call(this,t,r,i,e)}):o=function(t,r,i){return n.call(this,t,Qi(r),i,e)}),i[t](o,...r)}function fi(e,t,n){const r=Gi(e);ri(r,0,ni);const i=r[t](...n);return-1!==i&&!1!==i||!Wi(n[0])?i:(n[0]=Gi(n[0]),r[t](...n))}function hi(e,t,n=[]){Wr(),Pr();const r=Gi(e)[t].apply(e,n);return jr(),Gr(),r}const pi=kn("__proto__,__v_isRef,__isVue"),mi=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(qn));function gi(e){qn(e)||(e=String(e));const t=Gi(this);return ri(t,0,e),t.hasOwnProperty(e)}class yi{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){if("__v_skip"===t)return e.__v_skip;const r=this._isReadonly,i=this._isShallow;if("__v_isReactive"===t)return!r;if("__v_isReadonly"===t)return r;if("__v_isShallow"===t)return i;if("__v_raw"===t)return n===(r?i?Pi:Li:i?Ri:Mi).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const o=Ln(e);if(!r){let e;if(o&&(e=ai[t]))return e;if("hasOwnProperty"===t)return gi}const s=Reflect.get(e,t,Ji(e)?e:n);return(qn(t)?mi.has(t):pi(t))?s:(r||ri(e,0,t),i?s:Ji(s)?o&&Wn(t)?s:s.value:Bn(s)?r?qi(s):Fi(s):s)}}class vi extends yi{constructor(e=!1){super(!1,e)}set(e,t,n,r){let i=e[t];if(!this._isShallow){const t=zi(i);if($i(n)||zi(n)||(i=Gi(i),n=Gi(n)),!Ln(e)&&Ji(i)&&!Ji(n))return!t&&(i.value=n,!0)}const o=Ln(e)&&Wn(t)?Number(t)e,Ti=e=>Reflect.getPrototypeOf(e);function Ei(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function Ci(e,t){const n={get(n){const r=this.__v_raw,i=Gi(r),o=Gi(n);e||(tr(n,o)&&ri(i,0,n),ri(i,0,o));const{has:s}=Ti(i),a=t?ki:e?Ki:Qi;return s.call(i,n)?a(r.get(n)):s.call(i,o)?a(r.get(o)):void(r!==i&&r.get(n))},get size(){const t=this.__v_raw;return!e&&ri(Gi(t),0,ei),Reflect.get(t,"size",t)},has(t){const n=this.__v_raw,r=Gi(n),i=Gi(t);return e||(tr(t,i)&&ri(r,0,t),ri(r,0,i)),t===i?n.has(t):n.has(t)||n.has(i)},forEach(n,r){const i=this,o=i.__v_raw,s=Gi(o),a=t?ki:e?Ki:Qi;return!e&&ri(s,0,ei),o.forEach(((e,t)=>n.call(r,a(e),a(t),i)))}};Nn(n,e?{add:Ei("add"),set:Ei("set"),delete:Ei("delete"),clear:Ei("clear")}:{add(e){t||$i(e)||zi(e)||(e=Gi(e));const n=Gi(this);return Ti(n).has.call(n,e)||(n.add(e),ii(n,"add",e,e)),this},set(e,n){t||$i(n)||zi(n)||(n=Gi(n));const r=Gi(this),{has:i,get:o}=Ti(r);let s=i.call(r,e);s||(e=Gi(e),s=i.call(r,e));const a=o.call(r,e);return r.set(e,n),s?tr(n,a)&&ii(r,"set",e,n):ii(r,"add",e,n),this},delete(e){const t=Gi(this),{has:n,get:r}=Ti(t);let i=n.call(t,e);i||(e=Gi(e),i=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return i&&ii(t,"delete",e,void 0),o},clear(){const e=Gi(this),t=0!==e.size,n=e.clear();return t&&ii(e,"clear",void 0,void 0),n}});return["keys","values","entries",Symbol.iterator].forEach((r=>{n[r]=function(e,t,n){return function(...r){const i=this.__v_raw,o=Gi(i),s=Pn(o),a="entries"===e||e===Symbol.iterator&&s,c="keys"===e&&s,u=i[e](...r),l=n?ki:t?Ki:Qi;return!t&&ri(o,0,c?ti:ei),{next(){const{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:a?[l(e[0]),l(e[1])]:l(e),done:t}},[Symbol.iterator](){return this}}}}(r,e,t)})),n}function Oi(e,t){const n=Ci(e,t);return(t,r,i)=>"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?t:Reflect.get(Rn(n,r)&&r in t?n:t,r,i)}const Ai={get:Oi(!1,!1)},Ii={get:Oi(!1,!0)},Ni={get:Oi(!0,!1)},Di={get:Oi(!0,!0)},Mi=new WeakMap,Ri=new WeakMap,Li=new WeakMap,Pi=new WeakMap;function ji(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((e=>zn(e).slice(8,-1))(e))}function Fi(e){return zi(e)?e:Vi(e,!1,_i,Ai,Mi)}function Ui(e){return Vi(e,!1,Si,Ii,Ri)}function qi(e){return Vi(e,!0,wi,Ni,Li)}function Bi(e){return Vi(e,!0,xi,Di,Pi)}function Vi(e,t,n,r,i){if(!Bn(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const o=ji(e);if(0===o)return e;const s=i.get(e);if(s)return s;const a=new Proxy(e,2===o?r:n);return i.set(e,a),a}function Hi(e){return zi(e)?Hi(e.__v_raw):!(!e||!e.__v_isReactive)}function zi(e){return!(!e||!e.__v_isReadonly)}function $i(e){return!(!e||!e.__v_isShallow)}function Wi(e){return!!e&&!!e.__v_raw}function Gi(e){const t=e&&e.__v_raw;return t?Gi(t):e}function Yi(e){return!Rn(e,"__v_skip")&&Object.isExtensible(e)&&rr(e,"__v_skip",!0),e}const Qi=e=>Bn(e)?Fi(e):e,Ki=e=>Bn(e)?qi(e):e;function Ji(e){return!!e&&!0===e.__v_isRef}function Xi(e){return eo(e,!1)}function Zi(e){return eo(e,!0)}function eo(e,t){return Ji(e)?e:new to(e,t)}class to{constructor(e,t){this.dep=new Jr,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:Gi(e),this._value=t?e:Qi(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){const t=this._rawValue,n=this.__v_isShallow||$i(e)||zi(e);e=n?e:Gi(e),tr(e,t)&&(this._rawValue=e,this._value=n?e:Qi(e),this.dep.trigger())}}function no(e){return Ji(e)?e.value:e}const ro={get:(e,t,n)=>"__v_raw"===t?e:no(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return Ji(i)&&!Ji(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function io(e){return Hi(e)?e:new Proxy(e,ro)}class oo{constructor(e){this.__v_isRef=!0,this._value=void 0;const t=this.dep=new Jr,{get:n,set:r}=e(t.track.bind(t),t.trigger.bind(t));this._get=n,this._set=r}get value(){return this._value=this._get()}set value(e){this._set(e)}}function so(e){return new oo(e)}function ao(e){const t=Ln(e)?new Array(e.length):{};for(const n in e)t[n]=fo(e,n);return t}class co{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0}get value(){const e=this._object[this._key];return this._value=void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return function(e,t){const n=Zr.get(e);return n&&n.get(t)}(Gi(this._object),this._key)}}class uo{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function lo(e,t,n){return Ji(e)?e:Fn(e)?new uo(e):Bn(e)&&arguments.length>1?fo(e,t,n):Xi(e)}function fo(e,t,n){const r=e[t];return Ji(r)?r:new co(e,t,n)}class ho{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new Jr(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Qr-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(8&this.flags)&&Er!==this)return Lr(this,!0),!0}get value(){const e=this.dep.track();return Br(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}const po={},mo=new WeakMap;let go;function yo(e,t=!1,n=go){if(n){let t=mo.get(n);t||mo.set(n,t=[]),t.push(e)}}function vo(e,t=1/0,n){if(t<=0||!Bn(e)||e.__v_skip)return e;if((n=n||new Set).has(e))return e;if(n.add(e),t--,Ji(e))vo(e.value,t,n);else if(Ln(e))for(let r=0;r{vo(e,t,n)}));else if($n(e)){for(const r in e)vo(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&vo(e[r],t,n)}return e} /** * @vue/runtime-core v3.5.18 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/const bo=[];let _o=!1;function wo(e,...t){if(_o)return;_o=!0,Wr();const n=bo.length?bo[bo.length-1].component:null,r=n&&n.appContext.config.warnHandler,i=function(){let e=bo[bo.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const r=e.component&&e.component.parent;e=r&&r.vnode}return t}();if(r)To(r,n,11,[e+t.map((e=>{var t,n;return null!=(n=null==(t=e.toString)?void 0:t.call(e))?n:JSON.stringify(e)})).join(""),n&&n.proxy,i.map((({vnode:e})=>`at <${Hu(n,e.type)}>`)).join("\n"),i]);else{const n=[`[Vue warn]: ${e}`,...t];i.length&&n.push("\n",...function(e){const t=[];return e.forEach(((e,n)=>{t.push(...0===n?[]:["\n"],...function({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",r=!!e.component&&null==e.component.parent,i=` at <${Hu(e.component,e.type,r)}`,o=">"+n;return e.props?[i,...So(e.props),o]:[i+o]}(e))})),t}(i)),console.warn(...n)}Gr(),_o=!1}function So(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach((n=>{t.push(...xo(n,e[n]))})),n.length>3&&t.push(" ..."),t}function xo(e,t,n){return Un(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?n?t:[`${e}=${t}`]:Ji(t)?(t=xo(e,Gi(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):Fn(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Gi(t),n?t:[`${e}=`,t])}const ko={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function To(e,t,n,r){try{return r?e(...r):e()}catch(i){Co(i,t,n)}}function Eo(e,t,n,r){if(Fn(e)){const i=To(e,t,n,r);return i&&Vn(i)&&i.catch((e=>{Co(e,t,n)})),i}if(Ln(e)){const i=[];for(let o=0;o=Bo(n)?Oo.push(e):Oo.splice(function(e){let t=Ao+1,n=Oo.length;for(;t>>1,i=Oo[r],o=Bo(i);oBo(e)-Bo(t)));if(Io.length=0,No)return void No.push(...e);for(No=e,Do=0;Donull==e.id?2&e.flags?-1:1/0:e.id;function Vo(e){try{for(Ao=0;AoJo;function Jo(e,t=$o,n){if(!t)return e;if(e._n)return e;const r=(...n)=>{r._d&&nu(-1);const i=Go(t);let o;try{o=e(...n)}finally{Go(i),r._d&&nu(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function Xo(e,t){if(null===$o)return e;const n=qu($o),r=e.dirs||(e.dirs=[]);for(let i=0;ie.__isTeleport,ns=e=>e&&(e.disabled||""===e.disabled),rs=e=>e&&(e.defer||""===e.defer),is=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,os=e=>"function"==typeof MathMLElement&&e instanceof MathMLElement,ss=(e,t)=>{const n=e&&e.to;if(Un(n)){if(t){return t(n)}return null}return n},as={name:"Teleport",__isTeleport:!0,process(e,t,n,r,i,o,s,a,c,u){const{mc:l,pc:d,pbc:f,o:{insert:h,querySelector:p,createText:m,createComment:g}}=u,y=ns(t.props);let{shapeFlag:v,children:b,dynamicChildren:_}=t;if(null==e){const e=t.el=m(""),u=t.anchor=m("");h(e,n,r),h(u,n,r);const d=(e,t)=>{16&v&&(i&&i.isCE&&(i.ce._teleportTarget=e),l(b,e,t,i,o,s,a,c))},f=()=>{const e=t.target=ss(t.props,p),n=ds(e,t,m,h);e&&("svg"!==s&&is(e)?s="svg":"mathml"!==s&&os(e)&&(s="mathml"),y||(d(e,n),ls(t,!1)))};y&&(d(n,u),ls(t,!0)),rs(t.props)?(t.el.__isMounted=!1,dc((()=>{f(),delete t.el.__isMounted}),o)):f()}else{if(rs(t.props)&&!1===e.el.__isMounted)return void dc((()=>{as.process(e,t,n,r,i,o,s,a,c,u)}),o);t.el=e.el,t.targetStart=e.targetStart;const l=t.anchor=e.anchor,h=t.target=e.target,m=t.targetAnchor=e.targetAnchor,g=ns(e.props),v=g?n:h,b=g?l:m;if("svg"===s||is(h)?s="svg":("mathml"===s||os(h))&&(s="mathml"),_?(f(e.dynamicChildren,_,v,i,o,s,a),vc(e,t,!0)):c||d(e,t,v,b,i,o,s,a,!1),y)g?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):cs(t,n,l,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=ss(t.props,p);e&&cs(t,e,null,u,0)}else g&&cs(t,h,m,u,1);ls(t,y)}},remove(e,t,n,{um:r,o:{remove:i}},o){const{shapeFlag:s,children:a,anchor:c,targetStart:u,targetAnchor:l,target:d,props:f}=e;if(d&&(i(u),i(l)),o&&i(c),16&s){const e=o||!ns(f);for(let i=0;i{e.isMounted=!0})),sa((()=>{e.isUnmounting=!0})),e}const ms=[Function,Array],gs={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ms,onEnter:ms,onAfterEnter:ms,onEnterCancelled:ms,onBeforeLeave:ms,onLeave:ms,onAfterLeave:ms,onLeaveCancelled:ms,onBeforeAppear:ms,onAppear:ms,onAfterAppear:ms,onAppearCancelled:ms},ys=e=>{const t=e.subTree;return t.component?ys(t.component):t};function vs(e){let t=e[0];if(e.length>1)for(const n of e)if(n.type!==Qc){t=n;break}return t}const bs={name:"BaseTransition",props:gs,setup(e,{slots:t}){const n=Eu(),r=ps();return()=>{const i=t.default&&Ts(t.default(),!0);if(!i||!i.length)return;const o=vs(i),s=Gi(e),{mode:a}=s;if(r.isLeaving)return Ss(o);const c=xs(o);if(!c)return Ss(o);let u=ws(c,s,r,n,(e=>u=e));c.type!==Qc&&ks(c,u);let l=n.subTree&&xs(n.subTree);if(l&&l.type!==Qc&&!au(c,l)&&ys(n).type!==Qc){let e=ws(l,s,r,n);if(ks(l,e),"out-in"===a&&c.type!==Qc)return r.isLeaving=!0,e.afterLeave=()=>{r.isLeaving=!1,8&n.job.flags||n.update(),delete e.afterLeave,l=void 0},Ss(o);"in-out"===a&&c.type!==Qc?e.delayLeave=(e,t,n)=>{_s(r,l)[String(l.key)]=l,e[fs]=()=>{t(),e[fs]=void 0,delete u.delayedLeave,l=void 0},u.delayedLeave=()=>{n(),delete u.delayedLeave,l=void 0}}:l=void 0}else l&&(l=void 0);return o}}};function _s(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function ws(e,t,n,r,i){const{appear:o,mode:s,persisted:a=!1,onBeforeEnter:c,onEnter:u,onAfterEnter:l,onEnterCancelled:d,onBeforeLeave:f,onLeave:h,onAfterLeave:p,onLeaveCancelled:m,onBeforeAppear:g,onAppear:y,onAfterAppear:v,onAppearCancelled:b}=t,_=String(e.key),w=_s(n,e),S=(e,t)=>{e&&Eo(e,r,9,t)},x=(e,t)=>{const n=t[1];S(e,t),Ln(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},k={mode:s,persisted:a,beforeEnter(t){let r=c;if(!n.isMounted){if(!o)return;r=g||c}t[fs]&&t[fs](!0);const i=w[_];i&&au(e,i)&&i.el[fs]&&i.el[fs](),S(r,[t])},enter(e){let t=u,r=l,i=d;if(!n.isMounted){if(!o)return;t=y||u,r=v||l,i=b||d}let s=!1;const a=e[hs]=t=>{s||(s=!0,S(t?i:r,[e]),k.delayedLeave&&k.delayedLeave(),e[hs]=void 0)};t?x(t,[e,a]):a()},leave(t,r){const i=String(e.key);if(t[hs]&&t[hs](!0),n.isUnmounting)return r();S(f,[t]);let o=!1;const s=t[fs]=n=>{o||(o=!0,r(),S(n?m:p,[t]),t[fs]=void 0,w[i]===e&&delete w[i])};w[i]=e,h?x(h,[t,s]):s()},clone(e){const o=ws(e,t,n,r,i);return i&&i(o),o}};return k}function Ss(e){if($s(e))return(e=hu(e)).children=null,e}function xs(e){if(!$s(e))return ts(e.type)&&e.children?vs(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(16&t)return n[0];if(32&t&&Fn(n.default))return n.default()}}function ks(e,t){6&e.shapeFlag&&e.component?(e.transition=t,ks(e.component.subTree,t)):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Ts(e,t=!1,n){let r=[],i=0;for(let o=0;o1)for(let o=0;oNn({name:e.name},t,{setup:e}))():e}function Cs(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Os(e,t,n,r,i=!1){if(Ln(e))return void e.forEach(((e,o)=>Os(e,t&&(Ln(t)?t[o]:t),n,r,i)));if(Vs(r)&&!i)return void(512&r.shapeFlag&&r.type.__asyncResolved&&r.component.subTree.component&&Os(e,t,n,r.component.subTree));const o=4&r.shapeFlag?qu(r.component):r.el,s=i?null:o,{i:a,r:c}=e,u=t&&t.r,l=a.refs===Tn?a.refs={}:a.refs,d=a.setupState,f=Gi(d),h=d===Tn?()=>!1:e=>Rn(f,e);if(null!=u&&u!==c&&(Un(u)?(l[u]=null,h(u)&&(d[u]=null)):Ji(u)&&(u.value=null)),Fn(c))To(c,a,12,[s,l]);else{const t=Un(c),r=Ji(c);if(t||r){const a=()=>{if(e.f){const n=t?h(c)?d[c]:l[c]:c.value;i?Ln(n)&&Dn(n,o):Ln(n)?n.includes(o)||n.push(o):t?(l[c]=[o],h(c)&&(d[c]=l[c])):(c.value=[o],e.k&&(l[e.k]=c.value))}else t?(l[c]=s,h(c)&&(d[c]=s)):r&&(c.value=s,e.k&&(l[e.k]=s))};s?(a.id=-1,dc(a,n)):a()}}}let As=!1;const Is=()=>{As||(console.error("Hydration completed but contains mismatches."),As=!0)},Ns=e=>{if(1===e.nodeType)return(e=>e.namespaceURI.includes("svg")&&"foreignObject"!==e.tagName)(e)?"svg":(e=>e.namespaceURI.includes("MathML"))(e)?"mathml":void 0},Ds=e=>8===e.nodeType;function Ms(e){const{mt:t,p:n,o:{patchProp:r,createText:i,nextSibling:o,parentNode:s,remove:a,insert:c,createComment:u}}=e,l=(n,r,a,u,v,b=!1)=>{b=b||!!r.dynamicChildren;const _=Ds(n)&&"["===n.data,w=()=>p(n,r,a,u,v,_),{type:S,ref:x,shapeFlag:k,patchFlag:T}=r;let E=n.nodeType;r.el=n,-2===T&&(b=!1,r.dynamicChildren=null);let C=null;switch(S){case Yc:3!==E?""===r.children?(c(r.el=i(""),s(n),n),C=n):C=w():(n.data!==r.children&&(__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&wo("Hydration text mismatch in",n.parentNode,`\n - rendered on server: ${JSON.stringify(n.data)}\n - expected on client: ${JSON.stringify(r.children)}`),Is(),n.data=r.children),C=o(n));break;case Qc:y(n)?(C=o(n),g(r.el=n.content.firstChild,n,a)):C=8!==E||_?w():o(n);break;case Kc:if(_&&(E=(n=o(n)).nodeType),1===E||3===E){C=n;const e=!r.children.length;for(let t=0;t{s=s||!!t.dynamicChildren;const{type:c,props:u,patchFlag:l,shapeFlag:d,dirs:h,transition:p}=t,m="input"===c||"option"===c;if(m||-1!==l){h&&Zo(t,null,n,"created");let c,v=!1;if(y(e)){v=yc(null,p)&&n&&n.vnode.props&&n.vnode.props.appear;const r=e.content.firstChild;if(v){const e=r.getAttribute("class");e&&(r.$cls=e),p.beforeEnter(r)}g(r,e,n),t.el=e=r}if(16&d&&(!u||!u.innerHTML&&!u.textContent)){let r=f(e.firstChild,t,e,n,i,o,s),c=!1;for(;r;){Us(e,1)||(__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&!c&&(wo("Hydration children mismatch on",e,"\nServer rendered element contains more child nodes than client vdom."),c=!0),Is());const t=r;r=r.nextSibling,a(t)}}else if(8&d){let n=t.children;"\n"!==n[0]||"PRE"!==e.tagName&&"TEXTAREA"!==e.tagName||(n=n.slice(1)),e.textContent!==n&&(Us(e,0)||(__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&wo("Hydration text content mismatch on",e,`\n - rendered on server: ${e.textContent}\n - expected on client: ${t.children}`),Is()),e.textContent=t.children)}if(u)if(__VUE_PROD_HYDRATION_MISMATCH_DETAILS__||m||!s||48&l){const i=e.tagName.includes("-");for(const o in u)!__VUE_PROD_HYDRATION_MISMATCH_DETAILS__||h&&h.some((e=>e.dir.created))||!Rs(e,o,u[o],t,n)||Is(),(m&&(o.endsWith("value")||"indeterminate"===o)||An(o)&&!Gn(o)||"."===o[0]||i)&&r(e,o,null,u[o],void 0,n)}else if(u.onClick)r(e,"onClick",null,u.onClick,void 0,n);else if(4&l&&Hi(u.style))for(const e in u.style)u.style[e];(c=u&&u.onVnodeBeforeMount)&&wu(c,n,t),h&&Zo(t,null,n,"beforeMount"),((c=u&&u.onVnodeMounted)||h||v)&&$c((()=>{c&&wu(c,n,t),v&&p.enter(e),h&&Zo(t,null,n,"mounted")}),i)}return e.nextSibling},f=(e,t,r,s,a,u,d)=>{d=d||!!t.dynamicChildren;const f=t.children,h=f.length;let p=!1;for(let m=0;m{const{slotScopeIds:l}=t;l&&(i=i?i.concat(l):l);const d=s(e),h=f(o(e),t,d,n,r,i,a);return h&&Ds(h)&&"]"===h.data?o(t.anchor=h):(Is(),c(t.anchor=u("]"),d,h),h)},p=(e,t,r,i,c,u)=>{if(Us(e.parentElement,1)||(__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&wo("Hydration node mismatch:\n- rendered on server:",e,3===e.nodeType?"(text)":Ds(e)&&"["===e.data?"(start of fragment)":"","\n- expected on client:",t.type),Is()),t.el=null,u){const t=m(e);for(;;){const n=o(e);if(!n||n===t)break;a(n)}}const l=o(e),d=s(e);return a(e),n(null,t,d,l,r,i,Ns(d),c),r&&(r.vnode.el=t.el,Fc(r,t.el)),l},m=(e,t="[",n="]")=>{let r=0;for(;e;)if((e=o(e))&&Ds(e)&&(e.data===t&&r++,e.data===n)){if(0===r)return o(e);r--}return e},g=(e,t,n)=>{const r=t.parentNode;r&&r.replaceChild(e,t);let i=n;for(;i;)i.vnode.el===t&&(i.vnode.el=i.subTree.el=e),i=i.parent},y=e=>1===e.nodeType&&"TEMPLATE"===e.tagName;return[(e,t)=>{if(!t.hasChildNodes())return __VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&wo("Attempting to hydrate existing markup but container is empty. Performing full mount instead."),n(null,e,t),qo(),void(t._vnode=e);l(t.firstChild,e,null,null,null),qo(),t._vnode=e},l]}function Rs(e,t,n,r,i){let o,s,a,c;if("class"===t)e.$cls?(a=e.$cls,delete e.$cls):a=e.getAttribute("class"),c=hr(n),function(e,t){if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0}(Ls(a||""),Ls(c))||(o=2,s="class");else if("style"===t){a=e.getAttribute("style")||"",c=Un(n)?n:function(e){if(!e)return"";if(Un(e))return e;let t="";for(const n in e){const r=e[n];(Un(r)||"number"==typeof r)&&(t+=`${n.startsWith("--")?n:Xn(n)}:${r};`)}return t}(cr(n));const t=Ps(a),u=Ps(c);if(r.dirs)for(const{dir:e,value:n}of r.dirs)"show"!==e.name||n||u.set("display","none");i&&js(i,r,u),function(e,t){if(e.size!==t.size)return!1;for(const[n,r]of e)if(r!==t.get(n))return!1;return!0}(t,u)||(o=3,s="style")}else(e instanceof SVGElement&&yr(t)||e instanceof HTMLElement&&(mr(t)||gr(t)))&&(mr(t)?(a=e.hasAttribute(t),c=!!(u=n)||""===u):null==n?(a=e.hasAttribute(t),c=!1):(a=e.hasAttribute(t)?e.getAttribute(t):"value"===t&&"TEXTAREA"===e.tagName&&e.value,c=!!function(e){if(null==e)return!1;const t=typeof e;return"string"===t||"number"===t||"boolean"===t}(n)&&String(n)),a!==c&&(o=4,s=t));var u;if(null!=o&&!Us(e,o)){const t=e=>!1===e?"(not rendered)":`${s}="${e}"`;return wo(`Hydration ${Fs[o]} mismatch on`,e,`\n - rendered on server: ${t(a)}\n - expected on client: ${t(c)}\n Note: this mismatch is check-only. The DOM will not be rectified in production due to performance overhead.\n You should fix the source of the mismatch.`),!0}return!1}function Ls(e){return new Set(e.trim().split(/\s+/))}function Ps(e){const t=new Map;for(const n of e.split(";")){let[e,r]=n.split(":");e=e.trim(),r=r&&r.trim(),e&&r&&t.set(e,r)}return t}function js(e,t,n){const r=e.subTree;if(e.getCssVars&&(t===r||r&&r.type===Gc&&r.children.includes(t))){const t=e.getCssVars();for(const e in t){const r=kr(t[e]);n.set(`--${br(e,!1)}`,r)}}t===r&&e.parent&&js(e.parent,e.vnode,n)}const Fs={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function Us(e,t){if(0===t||1===t)for(;e&&!e.hasAttribute("data-allow-mismatch");)e=e.parentElement;const n=e&&e.getAttribute("data-allow-mismatch");if(null==n)return!1;if(""===n)return!0;{const e=n.split(",");return!(0!==t||!e.includes("children"))||e.includes(Fs[t])}}const qs=sr().requestIdleCallback||(e=>setTimeout(e,1)),Bs=sr().cancelIdleCallback||(e=>clearTimeout(e));const Vs=e=>!!e.type.__asyncLoader /*! #__NO_SIDE_EFFECTS__ */;function Hs(e){Fn(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:i=200,hydrate:o,timeout:s,suspensible:a=!0,onError:c}=e;let u,l=null,d=0;const f=()=>{let e;return l||(e=l=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),c)return new Promise(((t,n)=>{c(e,(()=>t((d++,l=null,f()))),(()=>n(e)),d+1)}));throw e})).then((t=>e!==l&&l?l:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),u=t,t))))};return Es({name:"AsyncComponentWrapper",__asyncLoader:f,__asyncHydrate(e,t,n){let r=!1;(t.bu||(t.bu=[])).push((()=>r=!0));const i=()=>{r||n()},s=o?()=>{const n=o(i,(t=>function(e,t){if(Ds(e)&&"["===e.data){let n=1,r=e.nextSibling;for(;r;){if(1===r.nodeType){if(!1===t(r))break}else if(Ds(r))if("]"===r.data){if(0==--n)break}else"["===r.data&&n++;r=r.nextSibling}}else t(e)}(e,t)));n&&(t.bum||(t.bum=[])).push(n)}:i;u?s():f().then((()=>!t.isUnmounted&&s()))},get __asyncResolved(){return u},setup(){const e=Tu;if(Cs(e),u)return()=>zs(u,e);const t=t=>{l=null,Co(t,e,13,!r)};if(a&&e.suspense||Ru)return f().then((t=>()=>zs(t,e))).catch((e=>(t(e),()=>r?du(r,{error:e}):null)));const o=Xi(!1),c=Xi(),d=Xi(!!i);return i&&setTimeout((()=>{d.value=!1}),i),null!=s&&setTimeout((()=>{if(!o.value&&!c.value){const e=new Error(`Async component timed out after ${s}ms.`);t(e),c.value=e}}),s),f().then((()=>{o.value=!0,e.parent&&$s(e.parent.vnode)&&e.parent.update()})).catch((e=>{t(e),c.value=e})),()=>o.value&&u?zs(u,e):c.value&&r?du(r,{error:c.value}):n&&!d.value?du(n):void 0}})}function zs(e,t){const{ref:n,props:r,children:i,ce:o}=t.vnode,s=du(e,r,i);return s.ref=n,s.ce=o,delete t.vnode.ce,s}const $s=e=>e.type.__isKeepAlive,Ws={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Eu(),r=n.ctx;if(!r.renderer)return()=>{const e=t.default&&t.default();return e&&1===e.length?e[0]:e};const i=new Map,o=new Set;let s=null;const a=n.suspense,{renderer:{p:c,m:u,um:l,o:{createElement:d}}}=r,f=d("div");function h(e){Xs(e),l(e,n,a,!0)}function p(e){i.forEach(((t,n)=>{const r=Vu(t.type);r&&!e(r)&&m(n)}))}function m(e){const t=i.get(e);!t||s&&au(t,s)?s&&Xs(s):h(t),i.delete(e),o.delete(e)}r.activate=(e,t,n,r,i)=>{const o=e.component;u(e,t,n,0,a),c(o.vnode,e,t,n,o,a,r,e.slotScopeIds,i),dc((()=>{o.isDeactivated=!1,o.a&&nr(o.a);const t=e.props&&e.props.onVnodeMounted;t&&wu(t,o.parent,e)}),a)},r.deactivate=e=>{const t=e.component;_c(t.m),_c(t.a),u(e,f,null,1,a),dc((()=>{t.da&&nr(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&wu(n,t.parent,e),t.isDeactivated=!0}),a)},Tc((()=>[e.include,e.exclude]),(([e,t])=>{e&&p((t=>Gs(e,t))),t&&p((e=>!Gs(t,e)))}),{flush:"post",deep:!0});let g=null;const y=()=>{null!=g&&(Uc(n.subTree.type)?dc((()=>{i.set(g,Zs(n.subTree))}),n.subTree.suspense):i.set(g,Zs(n.subTree)))};return ra(y),oa(y),sa((()=>{i.forEach((e=>{const{subTree:t,suspense:r}=n,i=Zs(t);if(e.type!==i.type||e.key!==i.key)h(e);else{Xs(i);const e=i.component.da;e&&dc(e,r)}}))})),()=>{if(g=null,!t.default)return s=null;const n=t.default(),r=n[0];if(n.length>1)return s=null,n;if(!(su(r)&&(4&r.shapeFlag||128&r.shapeFlag)))return s=null,r;let a=Zs(r);if(a.type===Qc)return s=null,a;const c=a.type,u=Vu(Vs(a)?a.type.__asyncResolved||{}:c),{include:l,exclude:d,max:f}=e;if(l&&(!u||!Gs(l,u))||d&&u&&Gs(d,u))return a.shapeFlag&=-257,s=a,r;const h=null==a.key?c:a.key,p=i.get(h);return a.el&&(a=hu(a),128&r.shapeFlag&&(r.ssContent=a)),g=h,p?(a.el=p.el,a.component=p.component,a.transition&&ks(a,a.transition),a.shapeFlag|=512,o.delete(h),o.add(h)):(o.add(h),f&&o.size>parseInt(f,10)&&m(o.values().next().value)),a.shapeFlag|=256,s=a,Uc(r.type)?r:a}}};function Gs(e,t){return Ln(e)?e.some((e=>Gs(e,t))):Un(e)?e.split(",").includes(t):"[object RegExp]"===zn(e)&&(e.lastIndex=0,e.test(t))}function Ys(e,t){Ks(e,"a",t)}function Qs(e,t){Ks(e,"da",t)}function Ks(e,t,n=Tu){const r=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(ea(t,r,n),n){let e=n.parent;for(;e&&e.parent;)$s(e.parent.vnode)&&Js(r,t,n,e),e=e.parent}}function Js(e,t,n,r){const i=ea(t,e,r,!0);aa((()=>{Dn(r[t],i)}),n)}function Xs(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Zs(e){return 128&e.shapeFlag?e.ssContent:e}function ea(e,t,n=Tu,r=!1){if(n){const i=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...r)=>{Wr();const i=Au(n),o=Eo(t,n,e,r);return i(),Gr(),o});return r?i.unshift(o):i.push(o),o}}const ta=e=>(t,n=Tu)=>{Ru&&"sp"!==e||ea(e,((...e)=>t(...e)),n)},na=ta("bm"),ra=ta("m"),ia=ta("bu"),oa=ta("u"),sa=ta("bum"),aa=ta("um"),ca=ta("sp"),ua=ta("rtg"),la=ta("rtc");function da(e,t=Tu){ea("ec",e,t)}function fa(e,t){return ga("components",e,!0,t)||e}const ha=Symbol.for("v-ndc");function pa(e){return Un(e)?ga("components",e,!1)||e:e||ha}function ma(e){return ga("directives",e)}function ga(e,t,n=!0,r=!1){const i=$o||Tu;if(i){const n=i.type;if("components"===e){const e=Vu(n,!1);if(e&&(e===t||e===Kn(t)||e===Zn(Kn(t))))return n}const o=ya(i[e]||n[e],t)||ya(i.appContext[e],t);return!o&&r?n:o}}function ya(e,t){return e&&(e[t]||e[Kn(t)]||e[Zn(Kn(t))])}function va(e,t,n,r){let i;const o=n&&n[r],s=Ln(e);if(s||Un(e)){let n=!1,r=!1;s&&Hi(e)&&(n=!$i(e),r=zi(e),e=si(e)),i=new Array(e.length);for(let s=0,a=e.length;st(e,n,void 0,o&&o[n])));else{const n=Object.keys(e);i=new Array(n.length);for(let r=0,s=n.length;r{const t=r.fn(...e);return t&&(t.key=r.key),t}:r.fn)}return e}function _a(e,t,n={},r,i){if($o.ce||$o.parent&&Vs($o.parent)&&$o.parent.ce)return"default"!==t&&(n.name=t),Zc(),ou(Gc,null,[du("slot",n,r&&r())],64);let o=e[t];o&&o._c&&(o._d=!1),Zc();const s=o&&wa(o(n)),a=n.key||s&&s.key,c=ou(Gc,{key:(a&&!qn(a)?a:`_${t}`)+(!s&&r?"_fb":"")},s||(r?r():[]),s&&1===e._?64:-2);return!i&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),o&&o._c&&(o._d=!0),c}function wa(e){return e.some((e=>!su(e)||e.type!==Qc&&!(e.type===Gc&&!wa(e.children))))?e:null}function Sa(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:er(r)]=e[r];return n}const xa=e=>e?Nu(e)?qu(e):xa(e.parent):null,ka=Nn(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>xa(e.parent),$root:e=>xa(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>ja(e),$forceUpdate:e=>e.f||(e.f=()=>{Po(e.update)}),$nextTick:e=>e.n||(e.n=Lo.bind(e.proxy)),$watch:e=>Cc.bind(e)}),Ta=(e,t)=>e!==Tn&&!e.__isScriptSetup&&Rn(e,t),Ea={get({_:e},t){if("__v_skip"===t)return!0;const{ctx:n,setupState:r,data:i,props:o,accessCache:s,type:a,appContext:c}=e;let u;if("$"!==t[0]){const a=s[t];if(void 0!==a)switch(a){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return o[t]}else{if(Ta(r,t))return s[t]=1,r[t];if(i!==Tn&&Rn(i,t))return s[t]=2,i[t];if((u=e.propsOptions[0])&&Rn(u,t))return s[t]=3,o[t];if(n!==Tn&&Rn(n,t))return s[t]=4,n[t];Ma&&(s[t]=0)}}const l=ka[t];let d,f;return l?("$attrs"===t&&ri(e.attrs,0,""),l(e)):(d=a.__cssModules)&&(d=d[t])?d:n!==Tn&&Rn(n,t)?(s[t]=4,n[t]):(f=c.config.globalProperties,Rn(f,t)?f[t]:void 0)},set({_:e},t,n){const{data:r,setupState:i,ctx:o}=e;return Ta(i,t)?(i[t]=n,!0):r!==Tn&&Rn(r,t)?(r[t]=n,!0):!Rn(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(o[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:o}},s){let a;return!!n[s]||e!==Tn&&Rn(e,s)||Ta(t,s)||(a=o[0])&&Rn(a,s)||Rn(r,s)||Rn(ka,s)||Rn(i.config.globalProperties,s)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:Rn(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},Ca=Nn({},Ea,{get(e,t){if(t!==Symbol.unscopables)return Ea.get(e,t,e)},has:(e,t)=>"_"!==t[0]&&!ar(t)});function Oa(){return Aa().slots}function Aa(e){const t=Eu();return t.setupContext||(t.setupContext=Uu(t))}function Ia(e){return Ln(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}function Na(e,t){return e&&t?Ln(e)&&Ln(t)?e.concat(t):Nn({},Ia(e),Ia(t)):e||t}function Da(e){const t=Eu();let n=e();return Iu(),Vn(n)&&(n=n.catch((e=>{throw Au(t),e}))),[n,()=>Au(t)]}let Ma=!0;function Ra(e){const t=ja(e),n=e.proxy,r=e.ctx;Ma=!1,t.beforeCreate&&La(t.beforeCreate,e,"bc");const{data:i,computed:o,methods:s,watch:a,provide:c,inject:u,created:l,beforeMount:d,mounted:f,beforeUpdate:h,updated:p,activated:m,deactivated:g,beforeDestroy:y,beforeUnmount:v,destroyed:b,unmounted:_,render:w,renderTracked:S,renderTriggered:x,errorCaptured:k,serverPrefetch:T,expose:E,inheritAttrs:C,components:O,directives:A,filters:I}=t;if(u&&function(e,t,n=Cn){Ln(e)&&(e=Ba(e));for(const r in e){const n=e[r];let i;i=Bn(n)?"default"in n?Ka(n.from||r,n.default,!0):Ka(n.from||r):Ka(n),Ji(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[r]=i}}(u,r,null),s)for(const D in s){const e=s[D];Fn(e)&&(r[D]=e.bind(n))}if(i){const t=i.call(n,n);Bn(t)&&(e.data=Fi(t))}if(Ma=!0,o)for(const D in o){const e=o[D],t=Fn(e)?e.bind(n,n):Fn(e.get)?e.get.bind(n,n):Cn,i=!Fn(e)&&Fn(e.set)?e.set.bind(n):Cn,s=zu({get:t,set:i});Object.defineProperty(r,D,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e})}if(a)for(const D in a)Pa(a[D],r,n,D);if(c){const e=Fn(c)?c.call(n):c;Reflect.ownKeys(e).forEach((t=>{Qa(t,e[t])}))}function N(e,t){Ln(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(l&&La(l,e,"c"),N(na,d),N(ra,f),N(ia,h),N(oa,p),N(Ys,m),N(Qs,g),N(da,k),N(la,S),N(ua,x),N(sa,v),N(aa,_),N(ca,T),Ln(E))if(E.length){const t=e.exposed||(e.exposed={});E.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t,enumerable:!0})}))}else e.exposed||(e.exposed={});w&&e.render===Cn&&(e.render=w),null!=C&&(e.inheritAttrs=C),O&&(e.components=O),A&&(e.directives=A),T&&Cs(e)}function La(e,t,n){Eo(Ln(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function Pa(e,t,n,r){let i=r.includes(".")?Oc(n,r):()=>n[r];if(Un(e)){const n=t[e];Fn(n)&&Tc(i,n)}else if(Fn(e))Tc(i,e.bind(n));else if(Bn(e))if(Ln(e))e.forEach((e=>Pa(e,t,n,r)));else{const r=Fn(e.handler)?e.handler.bind(n):t[e.handler];Fn(r)&&Tc(i,r,e)}}function ja(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:o,config:{optionMergeStrategies:s}}=e.appContext,a=o.get(t);let c;return a?c=a:i.length||n||r?(c={},i.length&&i.forEach((e=>Fa(c,e,s,!0))),Fa(c,t,s)):c=t,Bn(t)&&o.set(t,c),c}function Fa(e,t,n,r=!1){const{mixins:i,extends:o}=t;o&&Fa(e,o,n,!0),i&&i.forEach((t=>Fa(e,t,n,!0)));for(const s in t)if(r&&"expose"===s);else{const r=Ua[s]||n&&n[s];e[s]=r?r(e[s],t[s]):t[s]}return e}const Ua={data:qa,props:za,emits:za,methods:Ha,computed:Ha,beforeCreate:Va,created:Va,beforeMount:Va,mounted:Va,beforeUpdate:Va,updated:Va,beforeDestroy:Va,beforeUnmount:Va,destroyed:Va,unmounted:Va,activated:Va,deactivated:Va,errorCaptured:Va,serverPrefetch:Va,components:Ha,directives:Ha,watch:function(e,t){if(!e)return t;if(!t)return e;const n=Nn(Object.create(null),e);for(const r in t)n[r]=Va(e[r],t[r]);return n},provide:qa,inject:function(e,t){return Ha(Ba(e),Ba(t))}};function qa(e,t){return t?e?function(){return Nn(Fn(e)?e.call(this,this):e,Fn(t)?t.call(this,this):t)}:t:e}function Ba(e){if(Ln(e)){const t={};for(let n=0;n(o.has(e)||(e&&Fn(e.install)?(o.add(e),e.install(c,...t)):Fn(e)&&(o.add(e),e(c,...t))),c),mixin:e=>(i.mixins.includes(e)||i.mixins.push(e),c),component:(e,t)=>t?(i.components[e]=t,c):i.components[e],directive:(e,t)=>t?(i.directives[e]=t,c):i.directives[e],mount(o,s,u){if(!a){const l=c._ceVNode||du(n,r);return l.appContext=i,!0===u?u="svg":!1===u&&(u=void 0),s&&t?t(l,o):e(l,o,u),a=!0,c._container=o,o.__vue_app__=c,qu(l.component)}},onUnmount(e){s.push(e)},unmount(){a&&(Eo(s,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide:(e,t)=>(i.provides[e]=t,c),runWithContext(e){const t=Ya;Ya=c;try{return e()}finally{Ya=t}}};return c}}let Ya=null;function Qa(e,t){if(Tu){let n=Tu.provides;const r=Tu.parent&&Tu.parent.provides;r===n&&(n=Tu.provides=Object.create(r)),n[e]=t}else;}function Ka(e,t,n=!1){const r=Eu();if(r||Ya){let i=Ya?Ya._context.provides:r?null==r.parent||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&Fn(t)?t.call(r&&r.proxy):t}}const Ja={},Xa=()=>Object.create(Ja),Za=e=>Object.getPrototypeOf(e)===Ja;function ec(e,t,n,r){const[i,o]=e.propsOptions;let s,a=!1;if(t)for(let c in t){if(Gn(c))continue;const u=t[c];let l;i&&Rn(i,l=Kn(c))?o&&o.includes(l)?(s||(s={}))[l]=u:n[l]=u:Mc(e.emitsOptions,c)||c in r&&u===r[c]||(r[c]=u,a=!0)}if(o){const t=Gi(n),r=s||Tn;for(let s=0;s{c=!0;const[n,r]=rc(e,t,!0);Nn(s,n),r&&a.push(...r)};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}if(!o&&!c)return Bn(e)&&r.set(e,En),En;if(Ln(o))for(let l=0;l"_"===e||"__"===e||"_ctx"===e||"$stable"===e,sc=e=>Ln(e)?e.map(yu):[yu(e)],ac=(e,t,n)=>{if(t._n)return t;const r=Jo(((...e)=>sc(t(...e))),n);return r._c=!1,r},cc=(e,t,n)=>{const r=e._ctx;for(const i in e){if(oc(i))continue;const n=e[i];if(Fn(n))t[i]=ac(0,n,r);else if(null!=n){const e=sc(n);t[i]=()=>e}}},uc=(e,t)=>{const n=sc(t);e.slots.default=()=>n},lc=(e,t,n)=>{for(const r in t)!n&&oc(r)||(e[r]=t[r])};const dc=$c;function fc(e){return pc(e)}function hc(e){return pc(e,Ms)}function pc(e,t){"boolean"!=typeof __VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&(sr().__VUE_PROD_HYDRATION_MISMATCH_DETAILS__=!1);sr().__VUE__=!0;const{insert:n,remove:r,patchProp:i,createElement:o,createText:s,createComment:a,setText:c,setElementText:u,parentNode:l,nextSibling:d,setScopeId:f=Cn,insertStaticContent:h}=e,p=(e,t,n,r=null,i=null,o=null,s,a=null,c=!!t.dynamicChildren)=>{if(e===t)return;e&&!au(e,t)&&(r=q(e),L(e,i,o,!0),e=null),-2===t.patchFlag&&(c=!1,t.dynamicChildren=null);const{type:u,ref:l,shapeFlag:d}=t;switch(u){case Yc:m(e,t,n,r);break;case Qc:g(e,t,n,r);break;case Kc:null==e&&y(t,n,r,s);break;case Gc:T(e,t,n,r,i,o,s,a,c);break;default:1&d?v(e,t,n,r,i,o,s,a,c):6&d?E(e,t,n,r,i,o,s,a,c):(64&d||128&d)&&u.process(e,t,n,r,i,o,s,a,c,H)}null!=l&&i?Os(l,e&&e.ref,o,t||e,!t):null==l&&e&&null!=e.ref&&Os(e.ref,null,o,e,!0)},m=(e,t,r,i)=>{if(null==e)n(t.el=s(t.children),r,i);else{const n=t.el=e.el;t.children!==e.children&&c(n,t.children)}},g=(e,t,r,i)=>{null==e?n(t.el=a(t.children||""),r,i):t.el=e.el},y=(e,t,n,r)=>{[e.el,e.anchor]=h(e.children,t,n,r,e.el,e.anchor)},v=(e,t,n,r,i,o,s,a,c)=>{"svg"===t.type?s="svg":"math"===t.type&&(s="mathml"),null==e?b(t,n,r,i,o,s,a,c):S(e,t,i,o,s,a,c)},b=(e,t,r,s,a,c,l,d)=>{let f,h;const{props:p,shapeFlag:m,transition:g,dirs:y}=e;if(f=e.el=o(e.type,c,p&&p.is,p),8&m?u(f,e.children):16&m&&w(e.children,f,null,s,a,mc(e,c),l,d),y&&Zo(e,null,s,"created"),_(f,e,e.scopeId,l,s),p){for(const e in p)"value"===e||Gn(e)||i(f,e,null,p[e],c,s);"value"in p&&i(f,"value",null,p.value,c),(h=p.onVnodeBeforeMount)&&wu(h,s,e)}y&&Zo(e,null,s,"beforeMount");const v=yc(a,g);v&&g.beforeEnter(f),n(f,t,r),((h=p&&p.onVnodeMounted)||v||y)&&dc((()=>{h&&wu(h,s,e),v&&g.enter(f),y&&Zo(e,null,s,"mounted")}),a)},_=(e,t,n,r,i)=>{if(n&&f(e,n),r)for(let o=0;o{for(let u=c;u{const c=t.el=e.el;let{patchFlag:l,dynamicChildren:d,dirs:f}=t;l|=16&e.patchFlag;const h=e.props||Tn,p=t.props||Tn;let m;if(n&&gc(n,!1),(m=p.onVnodeBeforeUpdate)&&wu(m,n,t,e),f&&Zo(t,e,n,"beforeUpdate"),n&&gc(n,!0),(h.innerHTML&&null==p.innerHTML||h.textContent&&null==p.textContent)&&u(c,""),d?x(e.dynamicChildren,d,c,n,r,mc(t,o),s):a||N(e,t,c,null,n,r,mc(t,o),s,!1),l>0){if(16&l)k(c,h,p,n,o);else if(2&l&&h.class!==p.class&&i(c,"class",null,p.class,o),4&l&&i(c,"style",h.style,p.style,o),8&l){const e=t.dynamicProps;for(let t=0;t{m&&wu(m,n,t,e),f&&Zo(t,e,n,"updated")}),r)},x=(e,t,n,r,i,o,s)=>{for(let a=0;a{if(t!==n){if(t!==Tn)for(const s in t)Gn(s)||s in n||i(e,s,t[s],null,o,r);for(const s in n){if(Gn(s))continue;const a=n[s],c=t[s];a!==c&&"value"!==s&&i(e,s,c,a,o,r)}"value"in n&&i(e,"value",t.value,n.value,o)}},T=(e,t,r,i,o,a,c,u,l)=>{const d=t.el=e?e.el:s(""),f=t.anchor=e?e.anchor:s("");let{patchFlag:h,dynamicChildren:p,slotScopeIds:m}=t;m&&(u=u?u.concat(m):m),null==e?(n(d,r,i),n(f,r,i),w(t.children||[],r,f,o,a,c,u,l)):h>0&&64&h&&p&&e.dynamicChildren?(x(e.dynamicChildren,p,r,o,a,c,u),(null!=t.key||o&&t===o.subTree)&&vc(e,t,!0)):N(e,t,r,f,o,a,c,u,l)},E=(e,t,n,r,i,o,s,a,c)=>{t.slotScopeIds=a,null==e?512&t.shapeFlag?i.ctx.activate(t,n,r,s,c):C(t,n,r,i,o,s,c):O(e,t,c)},C=(e,t,n,r,i,o,s)=>{const a=e.component=ku(e,r,i);if($s(e)&&(a.ctx.renderer=H),Lu(a,!1,s),a.asyncDep){if(i&&i.registerDep(a,A,s),!e.el){const r=a.subTree=du(Qc);g(null,r,t,n),e.placeholder=r.el}}else A(a,e,t,n,i,o,s)},O=(e,t,n)=>{const r=t.component=e.component;if(function(e,t,n){const{props:r,children:i,component:o}=e,{props:s,children:a,patchFlag:c}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&c>=0))return!(!i&&!a||a&&a.$stable)||r!==s&&(r?!s||jc(r,s,u):!!s);if(1024&c)return!0;if(16&c)return r?jc(r,s,u):!!s;if(8&c){const e=t.dynamicProps;for(let t=0;t{const a=()=>{if(e.isMounted){let{next:t,bu:n,u:r,parent:c,vnode:u}=e;{const n=bc(e);if(n)return t&&(t.el=u.el,I(e,t,s)),void n.asyncDep.then((()=>{e.isUnmounted||a()}))}let d,f=t;gc(e,!1),t?(t.el=u.el,I(e,t,s)):t=u,n&&nr(n),(d=t.props&&t.props.onVnodeBeforeUpdate)&&wu(d,c,t,u),gc(e,!0);const h=Rc(e),m=e.subTree;e.subTree=h,p(m,h,l(m.el),q(m),e,i,o),t.el=h.el,null===f&&Fc(e,h.el),r&&dc(r,i),(d=t.props&&t.props.onVnodeUpdated)&&dc((()=>wu(d,c,t,u)),i)}else{let s;const{el:a,props:c}=t,{bm:u,m:l,parent:d,root:f,type:h}=e,m=Vs(t);if(gc(e,!1),u&&nr(u),!m&&(s=c&&c.onVnodeBeforeMount)&&wu(s,d,t),gc(e,!0),a&&$){const t=()=>{e.subTree=Rc(e),$(a,e.subTree,e,i,null)};m&&h.__asyncHydrate?h.__asyncHydrate(a,e,t):t()}else{f.ce&&!1!==f.ce._def.shadowRoot&&f.ce._injectChildStyle(h);const s=e.subTree=Rc(e);p(null,s,n,r,e,i,o),t.el=s.el}if(l&&dc(l,i),!m&&(s=c&&c.onVnodeMounted)){const e=t;dc((()=>wu(s,d,e)),i)}(256&t.shapeFlag||d&&Vs(d.vnode)&&256&d.vnode.shapeFlag)&&e.a&&dc(e.a,i),e.isMounted=!0,t=n=r=null}};e.scope.on();const c=e.effect=new Nr(a);e.scope.off();const u=e.update=c.run.bind(c),d=e.job=c.runIfDirty.bind(c);d.i=e,d.id=e.uid,c.scheduler=()=>Po(d),gc(e,!0),u()},I=(e,t,n)=>{t.component=e;const r=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,r){const{props:i,attrs:o,vnode:{patchFlag:s}}=e,a=Gi(i),[c]=e.propsOptions;let u=!1;if(!(r||s>0)||16&s){let r;ec(e,t,i,o)&&(u=!0);for(const o in a)t&&(Rn(t,o)||(r=Xn(o))!==o&&Rn(t,r))||(c?!n||void 0===n[o]&&void 0===n[r]||(i[o]=tc(c,a,o,void 0,e,!0)):delete i[o]);if(o!==a)for(const e in o)t&&Rn(t,e)||(delete o[e],u=!0)}else if(8&s){const n=e.vnode.dynamicProps;for(let r=0;r{const{vnode:r,slots:i}=e;let o=!0,s=Tn;if(32&r.shapeFlag){const e=t._;e?n&&1===e?o=!1:lc(i,t,n):(o=!t.$stable,cc(t,i)),s=t}else t&&(uc(e,t),s={default:1});if(o)for(const a in i)oc(a)||null!=s[a]||delete i[a]})(e,t.children,n),Wr(),Uo(e),Gr()},N=(e,t,n,r,i,o,s,a,c=!1)=>{const l=e&&e.children,d=e?e.shapeFlag:0,f=t.children,{patchFlag:h,shapeFlag:p}=t;if(h>0){if(128&h)return void M(l,f,n,r,i,o,s,a,c);if(256&h)return void D(l,f,n,r,i,o,s,a,c)}8&p?(16&d&&U(l,i,o),f!==l&&u(n,f)):16&d?16&p?M(l,f,n,r,i,o,s,a,c):U(l,i,o,!0):(8&d&&u(n,""),16&p&&w(f,n,r,i,o,s,a,c))},D=(e,t,n,r,i,o,s,a,c)=>{t=t||En;const u=(e=e||En).length,l=t.length,d=Math.min(u,l);let f;for(f=0;fl?U(e,i,o,!0,!1,d):w(t,n,r,i,o,s,a,c,d)},M=(e,t,n,r,i,o,s,a,c)=>{let u=0;const l=t.length;let d=e.length-1,f=l-1;for(;u<=d&&u<=f;){const r=e[u],l=t[u]=c?vu(t[u]):yu(t[u]);if(!au(r,l))break;p(r,l,n,null,i,o,s,a,c),u++}for(;u<=d&&u<=f;){const r=e[d],u=t[f]=c?vu(t[f]):yu(t[f]);if(!au(r,u))break;p(r,u,n,null,i,o,s,a,c),d--,f--}if(u>d){if(u<=f){const e=f+1,d=ef)for(;u<=d;)L(e[u],i,o,!0),u++;else{const h=u,m=u,g=new Map;for(u=m;u<=f;u++){const e=t[u]=c?vu(t[u]):yu(t[u]);null!=e.key&&g.set(e.key,u)}let y,v=0;const b=f-m+1;let _=!1,w=0;const S=new Array(b);for(u=0;u=b){L(r,i,o,!0);continue}let l;if(null!=r.key)l=g.get(r.key);else for(y=m;y<=f;y++)if(0===S[y-m]&&au(r,t[y])){l=y;break}void 0===l?L(r,i,o,!0):(S[l-m]=u+1,l>=w?w=l:_=!0,p(r,t[l],n,null,i,o,s,a,c),v++)}const x=_?function(e){const t=e.slice(),n=[0];let r,i,o,s,a;const c=e.length;for(r=0;r>1,e[n[a]]0&&(t[r]=n[o-1]),n[o]=r)}}o=n.length,s=n[o-1];for(;o-- >0;)n[o]=s,s=t[s];return n}(S):En;for(y=x.length-1,u=b-1;u>=0;u--){const e=m+u,d=t[e],f=t[e+1],h=e+1{const{el:a,type:c,transition:u,children:l,shapeFlag:f}=e;if(6&f)return void R(e.component.subTree,t,i,o);if(128&f)return void e.suspense.move(t,i,o);if(64&f)return void c.move(e,t,i,H);if(c===Gc){n(a,t,i);for(let e=0;e{let o;for(;e&&e!==t;)o=d(e),n(e,r,i),e=o;n(t,r,i)})(e,t,i);if(2!==o&&1&f&&u)if(0===o)u.beforeEnter(a),n(a,t,i),dc((()=>u.enter(a)),s);else{const{leave:o,delayLeave:s,afterLeave:c}=u,l=()=>{e.ctx.isUnmounted?r(a):n(a,t,i)},d=()=>{o(a,(()=>{l(),c&&c()}))};s?s(a,l,d):d()}else n(a,t,i)},L=(e,t,n,r=!1,i=!1)=>{const{type:o,props:s,ref:a,children:c,dynamicChildren:u,shapeFlag:l,patchFlag:d,dirs:f,cacheIndex:h}=e;if(-2===d&&(i=!1),null!=a&&(Wr(),Os(a,null,n,e,!0),Gr()),null!=h&&(t.renderCache[h]=void 0),256&l)return void t.ctx.deactivate(e);const p=1&l&&f,m=!Vs(e);let g;if(m&&(g=s&&s.onVnodeBeforeUnmount)&&wu(g,t,e),6&l)F(e.component,n,r);else{if(128&l)return void e.suspense.unmount(n,r);p&&Zo(e,null,t,"beforeUnmount"),64&l?e.type.remove(e,t,n,H,r):u&&!u.hasOnce&&(o!==Gc||d>0&&64&d)?U(u,t,n,!1,!0):(o===Gc&&384&d||!i&&16&l)&&U(c,t,n),r&&P(e)}(m&&(g=s&&s.onVnodeUnmounted)||p)&&dc((()=>{g&&wu(g,t,e),p&&Zo(e,null,t,"unmounted")}),n)},P=e=>{const{type:t,el:n,anchor:i,transition:o}=e;if(t===Gc)return void j(n,i);if(t===Kc)return void(({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=d(e),r(e),e=n;r(t)})(e);const s=()=>{r(n),o&&!o.persisted&&o.afterLeave&&o.afterLeave()};if(1&e.shapeFlag&&o&&!o.persisted){const{leave:t,delayLeave:r}=o,i=()=>t(n,s);r?r(e.el,s,i):i()}else s()},j=(e,t)=>{let n;for(;e!==t;)n=d(e),r(e),e=n;r(t)},F=(e,t,n)=>{const{bum:r,scope:i,job:o,subTree:s,um:a,m:c,a:u,parent:l,slots:{__:d}}=e;_c(c),_c(u),r&&nr(r),l&&Ln(d)&&d.forEach((e=>{l.renderCache[e]=void 0})),i.stop(),o&&(o.flags|=8,L(s,e,t,n)),a&&dc(a,t),dc((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},U=(e,t,n,r=!1,i=!1,o=0)=>{for(let s=o;s{if(6&e.shapeFlag)return q(e.component.subTree);if(128&e.shapeFlag)return e.suspense.next();const t=d(e.anchor||e.el),n=t&&t[es];return n?d(n):t};let B=!1;const V=(e,t,n)=>{null==e?t._vnode&&L(t._vnode,null,null,!0):p(t._vnode||null,e,t,null,null,null,n),t._vnode=e,B||(B=!0,Uo(),qo(),B=!1)},H={p:p,um:L,m:R,r:P,mt:C,mc:w,pc:N,pbc:x,n:q,o:e};let z,$;return t&&([z,$]=t(H)),{render:V,hydrate:z,createApp:Ga(V,z)}}function mc({type:e,props:t},n){return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function gc({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function yc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function vc(e,t,n=!1){const r=e.children,i=t.children;if(Ln(r)&&Ln(i))for(let o=0;oKa(wc);function xc(e,t){return Ec(e,null,t)}function kc(e,t){return Ec(e,null,{flush:"sync"})}function Tc(e,t,n){return Ec(e,t,n)}function Ec(e,t,n=Tn){const{immediate:r,deep:i,flush:o,once:s}=n,a=Nn({},n),c=t&&r||!t&&"post"!==o;let u;if(Ru)if("sync"===o){const e=Sc();u=e.__watcherHandles||(e.__watcherHandles=[])}else if(!c){const e=()=>{};return e.stop=Cn,e.resume=Cn,e.pause=Cn,e}const l=Tu;a.call=(e,t,n)=>Eo(e,l,t,n);let d=!1;"post"===o?a.scheduler=e=>{dc(e,l&&l.suspense)}:"sync"!==o&&(d=!0,a.scheduler=(e,t)=>{t?e():Po(e)}),a.augmentJob=e=>{t&&(e.flags|=4),d&&(e.flags|=2,l&&(e.id=l.uid,e.i=l))};const f=function(e,t,n=Tn){const{immediate:r,deep:i,once:o,scheduler:s,augmentJob:a,call:c}=n,u=e=>i?e:$i(e)||!1===i||0===i?vo(e,1):vo(e);let l,d,f,h,p=!1,m=!1;if(Ji(e)?(d=()=>e.value,p=$i(e)):Hi(e)?(d=()=>u(e),p=!0):Ln(e)?(m=!0,p=e.some((e=>Hi(e)||$i(e))),d=()=>e.map((e=>Ji(e)?e.value:Hi(e)?u(e):Fn(e)?c?c(e,2):e():void 0))):d=Fn(e)?t?c?()=>c(e,2):e:()=>{if(f){Wr();try{f()}finally{Gr()}}const t=go;go=l;try{return c?c(e,3,[h]):e(h)}finally{go=t}}:Cn,t&&i){const e=d,t=!0===i?1/0:i;d=()=>vo(e(),t)}const g=Or(),y=()=>{l.stop(),g&&g.active&&Dn(g.effects,l)};if(o&&t){const e=t;t=(...t)=>{e(...t),y()}}let v=m?new Array(e.length).fill(po):po;const b=e=>{if(1&l.flags&&(l.dirty||e))if(t){const e=l.run();if(i||p||(m?e.some(((e,t)=>tr(e,v[t]))):tr(e,v))){f&&f();const n=go;go=l;try{const r=[e,v===po?void 0:m&&v[0]===po?[]:v,h];v=e,c?c(t,3,r):t(...r)}finally{go=n}}}else l.run()};return a&&a(b),l=new Nr(d),l.scheduler=s?()=>s(b,!1):b,h=e=>yo(e,!1,l),f=l.onStop=()=>{const e=mo.get(l);if(e){if(c)c(e,4);else for(const t of e)t();mo.delete(l)}},t?r?b(!0):v=l.run():s?s(b.bind(null,!0),!0):l.run(),y.pause=l.pause.bind(l),y.resume=l.resume.bind(l),y.stop=y,y}(e,t,a);return Ru&&(u?u.push(f):c&&f()),f}function Cc(e,t,n){const r=this.proxy,i=Un(e)?e.includes(".")?Oc(r,e):()=>r[e]:e.bind(r,r);let o;Fn(t)?o=t:(o=t.handler,n=t);const s=Au(this),a=Ec(i,o.bind(r),n);return s(),a}function Oc(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e{let c,u,l=Tn;return kc((()=>{const t=e[i];tr(c,t)&&(c=t,a())})),{get:()=>(s(),n.get?n.get(c):c),set(e){const s=n.set?n.set(e):e;if(!(tr(s,c)||l!==Tn&&tr(e,l)))return;const d=r.vnode.props;d&&(t in d||i in d||o in d)&&(`onUpdate:${t}`in d||`onUpdate:${i}`in d||`onUpdate:${o}`in d)||(c=e,a()),r.emit(`update:${t}`,s),tr(e,s)&&tr(e,l)&&!tr(s,u)&&a(),l=e,u=s}}}));return a[Symbol.iterator]=()=>{let e=0;return{next:()=>e<2?{value:e++?s||Tn:a,done:!1}:{done:!0}}},a}const Ic=(e,t)=>"modelValue"===t||"model-value"===t?e.modelModifiers:e[`${t}Modifiers`]||e[`${Kn(t)}Modifiers`]||e[`${Xn(t)}Modifiers`];function Nc(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Tn;let i=n;const o=t.startsWith("update:"),s=o&&Ic(r,t.slice(7));let a;s&&(s.trim&&(i=n.map((e=>Un(e)?e.trim():e))),s.number&&(i=n.map(ir)));let c=r[a=er(t)]||r[a=er(Kn(t))];!c&&o&&(c=r[a=er(Xn(t))]),c&&Eo(c,e,6,i);const u=r[a+"Once"];if(u){if(e.emitted){if(e.emitted[a])return}else e.emitted={};e.emitted[a]=!0,Eo(u,e,6,i)}}function Dc(e,t,n=!1){const r=t.emitsCache,i=r.get(e);if(void 0!==i)return i;const o=e.emits;let s={},a=!1;if(!Fn(e)){const r=e=>{const n=Dc(e,t,!0);n&&(a=!0,Nn(s,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return o||a?(Ln(o)?o.forEach((e=>s[e]=null)):Nn(s,o),Bn(e)&&r.set(e,s),s):(Bn(e)&&r.set(e,null),null)}function Mc(e,t){return!(!e||!An(t))&&(t=t.slice(2).replace(/Once$/,""),Rn(e,t[0].toLowerCase()+t.slice(1))||Rn(e,Xn(t))||Rn(e,t))}function Rc(e){const{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[o],slots:s,attrs:a,emit:c,render:u,renderCache:l,props:d,data:f,setupState:h,ctx:p,inheritAttrs:m}=e,g=Go(e);let y,v;try{if(4&n.shapeFlag){const e=i||r,t=e;y=yu(u.call(t,e,l,d,h,f,p)),v=a}else{const e=t;0,y=yu(e.length>1?e(d,{attrs:a,slots:s,emit:c}):e(d,null)),v=t.props?a:Lc(a)}}catch(_){Jc.length=0,Co(_,e,1),y=du(Qc)}let b=y;if(v&&!1!==m){const e=Object.keys(v),{shapeFlag:t}=b;e.length&&7&t&&(o&&e.some(In)&&(v=Pc(v,o)),b=hu(b,v,!1,!0))}return n.dirs&&(b=hu(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&ks(b,n.transition),y=b,Go(g),y}const Lc=e=>{let t;for(const n in e)("class"===n||"style"===n||An(n))&&((t||(t={}))[n]=e[n]);return t},Pc=(e,t)=>{const n={};for(const r in e)In(r)&&r.slice(9)in t||(n[r]=e[r]);return n};function jc(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let i=0;ie.__isSuspense;let qc=0;const Bc={name:"Suspense",__isSuspense:!0,process(e,t,n,r,i,o,s,a,c,u){if(null==e)!function(e,t,n,r,i,o,s,a,c){const{p:u,o:{createElement:l}}=c,d=l("div"),f=e.suspense=Hc(e,i,r,t,d,n,o,s,a,c);u(null,f.pendingBranch=e.ssContent,d,null,r,f,o,s),f.deps>0?(Vc(e,"onPending"),Vc(e,"onFallback"),u(null,e.ssFallback,t,n,r,null,o,s),Wc(f,e.ssFallback)):f.resolve(!1,!0)}(t,n,r,i,o,s,a,c,u);else{if(o&&o.deps>0&&!e.suspense.isInFallback)return t.suspense=e.suspense,t.suspense.vnode=t,void(t.el=e.el);!function(e,t,n,r,i,o,s,a,{p:c,um:u,o:{createElement:l}}){const d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;const f=t.ssContent,h=t.ssFallback,{activeBranch:p,pendingBranch:m,isInFallback:g,isHydrating:y}=d;if(m)d.pendingBranch=f,au(f,m)?(c(m,f,d.hiddenContainer,null,i,d,o,s,a),d.deps<=0?d.resolve():g&&(y||(c(p,h,n,r,i,null,o,s,a),Wc(d,h)))):(d.pendingId=qc++,y?(d.isHydrating=!1,d.activeBranch=m):u(m,i,d),d.deps=0,d.effects.length=0,d.hiddenContainer=l("div"),g?(c(null,f,d.hiddenContainer,null,i,d,o,s,a),d.deps<=0?d.resolve():(c(p,h,n,r,i,null,o,s,a),Wc(d,h))):p&&au(f,p)?(c(p,f,n,r,i,d,o,s,a),d.resolve(!0)):(c(null,f,d.hiddenContainer,null,i,d,o,s,a),d.deps<=0&&d.resolve()));else if(p&&au(f,p))c(p,f,n,r,i,d,o,s,a),Wc(d,f);else if(Vc(t,"onPending"),d.pendingBranch=f,512&f.shapeFlag?d.pendingId=f.component.suspenseId:d.pendingId=qc++,c(null,f,d.hiddenContainer,null,i,d,o,s,a),d.deps<=0)d.resolve();else{const{timeout:e,pendingId:t}=d;e>0?setTimeout((()=>{d.pendingId===t&&d.fallback(h)}),e):0===e&&d.fallback(h)}}(e,t,n,r,i,s,a,c,u)}},hydrate:function(e,t,n,r,i,o,s,a,c){const u=t.suspense=Hc(t,r,n,e.parentNode,document.createElement("div"),null,i,o,s,a,!0),l=c(e,u.pendingBranch=t.ssContent,n,u,o,s);0===u.deps&&u.resolve(!1,!0);return l},normalize:function(e){const{shapeFlag:t,children:n}=e,r=32&t;e.ssContent=zc(r?n.default:n),e.ssFallback=r?zc(n.fallback):du(Qc)}};function Vc(e,t){const n=e.props&&e.props[t];Fn(n)&&n()}function Hc(e,t,n,r,i,o,s,a,c,u,l=!1){const{p:d,m:f,um:h,n:p,o:{parentNode:m,remove:g}}=u;let y;const v=function(e){const t=e.props&&e.props.suspensible;return null!=t&&!1!==t}(e);v&&t&&t.pendingBranch&&(y=t.pendingId,t.deps++);const b=e.props?(e=>{const t=Un(e)?Number(e):NaN;return isNaN(t)?e:t})(e.props.timeout):void 0,_=o,w={vnode:e,parent:t,parentComponent:n,namespace:s,container:r,hiddenContainer:i,deps:0,pendingId:qc++,timeout:"number"==typeof b?b:-1,activeBranch:null,pendingBranch:null,isInFallback:!l,isHydrating:l,isUnmounted:!1,effects:[],resolve(e=!1,n=!1){const{vnode:r,activeBranch:i,pendingBranch:s,pendingId:a,effects:c,parentComponent:u,container:l}=w;let d=!1;w.isHydrating?w.isHydrating=!1:e||(d=i&&s.transition&&"out-in"===s.transition.mode,d&&(i.transition.afterLeave=()=>{a===w.pendingId&&(f(s,l,o===_?p(i):o,0),Fo(c))}),i&&(m(i.el)===l&&(o=p(i)),h(i,u,w,!0)),d||f(s,l,o,0)),Wc(w,s),w.pendingBranch=null,w.isInFallback=!1;let g=w.parent,b=!1;for(;g;){if(g.pendingBranch){g.effects.push(...c),b=!0;break}g=g.parent}b||d||Fo(c),w.effects=[],v&&t&&t.pendingBranch&&y===t.pendingId&&(t.deps--,0!==t.deps||n||t.resolve()),Vc(r,"onResolve")},fallback(e){if(!w.pendingBranch)return;const{vnode:t,activeBranch:n,parentComponent:r,container:i,namespace:o}=w;Vc(t,"onFallback");const s=p(n),u=()=>{w.isInFallback&&(d(null,e,i,s,r,null,o,a,c),Wc(w,e))},l=e.transition&&"out-in"===e.transition.mode;l&&(n.transition.afterLeave=u),w.isInFallback=!0,h(n,r,null,!0),l||u()},move(e,t,n){w.activeBranch&&f(w.activeBranch,e,t,n),w.container=e},next:()=>w.activeBranch&&p(w.activeBranch),registerDep(e,t,n){const r=!!w.pendingBranch;r&&w.deps++;const i=e.vnode.el;e.asyncDep.catch((t=>{Co(t,e,0)})).then((o=>{if(e.isUnmounted||w.isUnmounted||w.pendingId!==e.suspenseId)return;e.asyncResolved=!0;const{vnode:a}=e;Pu(e,o,!1),i&&(a.el=i);const c=!i&&e.subTree.el;t(e,a,m(i||e.subTree.el),i?null:p(e.subTree),w,s,n),c&&g(c),Fc(e,a.el),r&&0==--w.deps&&w.resolve()}))},unmount(e,t){w.isUnmounted=!0,w.activeBranch&&h(w.activeBranch,n,e,t),w.pendingBranch&&h(w.pendingBranch,n,e,t)}};return w}function zc(e){let t;if(Fn(e)){const n=tu&&e._c;n&&(e._d=!1,Zc()),e=e(),n&&(e._d=!0,t=Xc,eu())}if(Ln(e)){const t=function(e,t=!0){let n;for(let r=0;rt!==e))),e}function $c(e,t){t&&t.pendingBranch?Ln(e)?t.effects.push(...e):t.effects.push(e):Fo(e)}function Wc(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let i=t.el;for(;!i&&t.component;)i=(t=t.component.subTree).el;n.el=i,r&&r.subTree===n&&(r.vnode.el=i,Fc(r,i))}const Gc=Symbol.for("v-fgt"),Yc=Symbol.for("v-txt"),Qc=Symbol.for("v-cmt"),Kc=Symbol.for("v-stc"),Jc=[];let Xc=null;function Zc(e=!1){Jc.push(Xc=e?null:[])}function eu(){Jc.pop(),Xc=Jc[Jc.length-1]||null}let tu=1;function nu(e,t=!1){tu+=e,e<0&&Xc&&t&&(Xc.hasOnce=!0)}function ru(e){return e.dynamicChildren=tu>0?Xc||En:null,eu(),tu>0&&Xc&&Xc.push(e),e}function iu(e,t,n,r,i,o){return ru(lu(e,t,n,r,i,o,!0))}function ou(e,t,n,r,i){return ru(du(e,t,n,r,i,!0))}function su(e){return!!e&&!0===e.__v_isVNode}function au(e,t){return e.type===t.type&&e.key===t.key}const cu=({key:e})=>null!=e?e:null,uu=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?Un(e)||Ji(e)||Fn(e)?{i:$o,r:e,k:t,f:!!n}:e:null);function lu(e,t=null,n=null,r=0,i=null,o=(e===Gc?0:1),s=!1,a=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&cu(t),ref:t&&uu(t),scopeId:Wo,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:$o};return a?(bu(c,n),128&o&&e.normalize(c)):n&&(c.shapeFlag|=Un(n)?8:16),tu>0&&!s&&Xc&&(c.patchFlag>0||6&o)&&32!==c.patchFlag&&Xc.push(c),c}const du=function(e,t=null,n=null,r=0,i=null,o=!1){e&&e!==ha||(e=Qc);if(su(e)){const r=hu(e,t,!0);return n&&bu(r,n),tu>0&&!o&&Xc&&(6&r.shapeFlag?Xc[Xc.indexOf(e)]=r:Xc.push(r)),r.patchFlag=-2,r}s=e,Fn(s)&&"__vccOpts"in s&&(e=e.__vccOpts);var s;if(t){t=fu(t);let{class:e,style:n}=t;e&&!Un(e)&&(t.class=hr(e)),Bn(n)&&(Wi(n)&&!Ln(n)&&(n=Nn({},n)),t.style=cr(n))}const a=Un(e)?1:Uc(e)?128:ts(e)?64:Bn(e)?4:Fn(e)?2:0;return lu(e,t,n,r,i,a,o,!0)};function fu(e){return e?Wi(e)||Za(e)?Nn({},e):e:null}function hu(e,t,n=!1,r=!1){const{props:i,ref:o,patchFlag:s,children:a,transition:c}=e,u=t?_u(i||{},t):i,l={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&cu(u),ref:t&&t.ref?n&&o?Ln(o)?o.concat(uu(t)):[o,uu(t)]:uu(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Gc?-1===s?16:16|s:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&hu(e.ssContent),ssFallback:e.ssFallback&&hu(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&ks(l,c.clone(l)),l}function pu(e=" ",t=0){return du(Yc,null,e,t)}function mu(e,t){const n=du(Kc,null,e);return n.staticCount=t,n}function gu(e="",t=!1){return t?(Zc(),ou(Qc,null,e)):du(Qc,null,e)}function yu(e){return null==e||"boolean"==typeof e?du(Qc):Ln(e)?du(Gc,null,e.slice()):su(e)?vu(e):du(Yc,null,String(e))}function vu(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:hu(e)}function bu(e,t){let n=0;const{shapeFlag:r}=e;if(null==t)t=null;else if(Ln(t))n=16;else if("object"==typeof t){if(65&r){const n=t.default;return void(n&&(n._c&&(n._d=!1),bu(e,n()),n._c&&(n._d=!0)))}{n=32;const r=t._;r||Za(t)?3===r&&$o&&(1===$o.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=$o}}else Fn(t)?(t={default:t,_ctx:$o},n=32):(t=String(t),64&r?(n=16,t=[pu(t)]):n=8);e.children=t,e.shapeFlag|=n}function _u(...e){const t={};for(let n=0;nTu||$o;let Cu,Ou;{const e=sr(),t=(t,n)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(n),e=>{r.length>1?r.forEach((t=>t(e))):r[0](e)}};Cu=t("__VUE_INSTANCE_SETTERS__",(e=>Tu=e)),Ou=t("__VUE_SSR_SETTERS__",(e=>Ru=e))}const Au=e=>{const t=Tu;return Cu(e),e.scope.on(),()=>{e.scope.off(),Cu(t)}},Iu=()=>{Tu&&Tu.scope.off(),Cu(null)};function Nu(e){return 4&e.vnode.shapeFlag}let Du,Mu,Ru=!1;function Lu(e,t=!1,n=!1){t&&Ou(t);const{props:r,children:i}=e.vnode,o=Nu(e);!function(e,t,n,r=!1){const i={},o=Xa();e.propsDefaults=Object.create(null),ec(e,t,i,o);for(const s in e.propsOptions[0])s in i||(i[s]=void 0);n?e.props=r?i:Ui(i):e.type.props?e.props=i:e.props=o,e.attrs=o}(e,r,o,t),((e,t,n)=>{const r=e.slots=Xa();if(32&e.vnode.shapeFlag){const e=t.__;e&&rr(r,"__",e,!0);const i=t._;i?(lc(r,t,n),n&&rr(r,"_",i,!0)):cc(t,r)}else t&&uc(e,t)})(e,i,n||t);const s=o?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Ea);const{setup:r}=n;if(r){Wr();const n=e.setupContext=r.length>1?Uu(e):null,i=Au(e),o=To(r,e,0,[e.props,n]),s=Vn(o);if(Gr(),i(),!s&&!e.sp||Vs(e)||Cs(e),s){if(o.then(Iu,Iu),t)return o.then((n=>{Pu(e,n,t)})).catch((t=>{Co(t,e,0)}));e.asyncDep=o}else Pu(e,o,t)}else ju(e,t)}(e,t):void 0;return t&&Ou(!1),s}function Pu(e,t,n){Fn(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Bn(t)&&(e.setupState=io(t)),ju(e,n)}function ju(e,t,n){const r=e.type;if(!e.render){if(!t&&Du&&!r.render){const t=r.template||ja(e).template;if(t){const{isCustomElement:n,compilerOptions:i}=e.appContext.config,{delimiters:o,compilerOptions:s}=r,a=Nn(Nn({isCustomElement:n,delimiters:o},i),s);r.render=Du(t,a)}}e.render=r.render||Cn,Mu&&Mu(e)}{const t=Au(e);Wr();try{Ra(e)}finally{Gr(),t()}}}const Fu={get:(e,t)=>(ri(e,0,""),e[t])};function Uu(e){const t=t=>{e.exposed=t||{}};return{attrs:new Proxy(e.attrs,Fu),slots:e.slots,emit:e.emit,expose:t}}function qu(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(io(Yi(e.exposed)),{get:(t,n)=>n in t?t[n]:n in ka?ka[n](e):void 0,has:(e,t)=>t in e||t in ka})):e.proxy}const Bu=/(?:^|[-_])(\w)/g;function Vu(e,t=!0){return Fn(e)?e.displayName||e.name:e.name||t&&e.__name}function Hu(e,t,n=!1){let r=Vu(t);if(!r&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(r=e[1])}if(!r&&e&&e.parent){const n=e=>{for(const n in e)if(e[n]===t)return n};r=n(e.components||e.parent.type.components)||n(e.appContext.components)}return r?r.replace(Bu,(e=>e.toUpperCase())).replace(/[-_]/g,""):n?"App":"Anonymous"}const zu=(e,t)=>function(e,t,n=!1){let r,i;return Fn(e)?r=e:(r=e.get,i=e.set),new ho(r,i,n)}(e,0,Ru);function $u(e,t,n){const r=arguments.length;return 2===r?Bn(t)&&!Ln(t)?su(t)?du(e,null,[t]):du(e,t):du(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&su(n)&&(n=[n]),du(e,t,n))}function Wu(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r0&&Xc&&Xc.push(e),!0}const Gu="3.5.18",Yu=Cn,Qu=ko,Ku=Ho,Ju=function e(t,n){var r,i;if(Ho=t,Ho)Ho.enabled=!0,zo.forEach((({event:e,args:t})=>Ho.emit(e,...t))),zo=[];else if("undefined"!=typeof window&&window.HTMLElement&&!(null==(i=null==(r=window.navigator)?void 0:r.userAgent)?void 0:i.includes("jsdom"))){(n.__VUE_DEVTOOLS_HOOK_REPLAY__=n.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push((t=>{e(t,n)})),setTimeout((()=>{Ho||(n.__VUE_DEVTOOLS_HOOK_REPLAY__=null,zo=[])}),3e3)}else zo=[]},Xu={createComponentInstance:ku,setupComponent:Lu,renderComponentRoot:Rc,setCurrentRenderingInstance:Go,isVNode:su,normalizeVNode:yu,getComponentPublicInstance:qu,ensureValidVNode:wa,pushWarningContext:function(e){bo.push(e)},popWarningContext:function(){bo.pop()}}; /** * @vue/shared v3.5.18 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/ /*! #__NO_SIDE_EFFECTS__ */ function Zu(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return e=>e in t}const el={},tl=()=>{},nl=Object.assign,rl=Object.prototype.hasOwnProperty,il=(e,t)=>rl.call(e,t),ol=Array.isArray,sl=e=>"[object Set]"===hl(e),al=e=>"[object Date]"===hl(e),cl=e=>"function"==typeof e,ul=e=>"string"==typeof e,ll=e=>"symbol"==typeof e,dl=e=>null!==e&&"object"==typeof e,fl=Object.prototype.toString,hl=e=>fl.call(e),pl=e=>"[object Object]"===hl(e),ml=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},gl=/-(\w)/g,yl=ml((e=>e.replace(gl,((e,t)=>t?t.toUpperCase():"")))),vl=/\B([A-Z])/g,bl=ml((e=>e.replace(vl,"-$1").toLowerCase())),_l=ml((e=>e.charAt(0).toUpperCase()+e.slice(1))),wl=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Sl=e=>{const t=ul(e)?Number(e):NaN;return isNaN(t)?e:t},xl=Zu("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function kl(e){return!!e||""===e}function Tl(e,t){if(e===t)return!0;let n=al(e),r=al(t);if(n||r)return!(!n||!r)&&e.getTime()===t.getTime();if(n=ll(e),r=ll(t),n||r)return e===t;if(n=ol(e),r=ol(t),n||r)return!(!n||!r)&&function(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&rTl(e,t)))}function Cl(e){return null==e?"initial":"string"==typeof e?""===e?" ":e:String(e)} /** * @vue/runtime-dom v3.5.18 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let Ol;const Al="undefined"!=typeof window&&window.trustedTypes;if(Al)try{Ol=Al.createPolicy("vue",{createHTML:e=>e})}catch(JZ){}const Il=Ol?e=>Ol.createHTML(e):e=>e,Nl="undefined"!=typeof document?document:null,Dl=Nl&&Nl.createElement("template"),Ml={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const i="svg"===t?Nl.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?Nl.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?Nl.createElement(e,{is:n}):Nl.createElement(e);return"select"===e&&r&&null!=r.multiple&&i.setAttribute("multiple",r.multiple),i},createText:e=>Nl.createTextNode(e),createComment:e=>Nl.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Nl.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,i,o){const s=n?n.previousSibling:t.lastChild;if(i&&(i===o||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),i!==o&&(i=i.nextSibling););else{Dl.innerHTML=Il("svg"===r?`${e}`:"mathml"===r?`${e}`:e);const i=Dl.content;if("svg"===r||"mathml"===r){const e=i.firstChild;for(;e.firstChild;)i.appendChild(e.firstChild);i.removeChild(e)}t.insertBefore(i,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Rl=Symbol("_vtc"),Ll={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Pl=nl({},gs,Ll),jl=(e=>(e.displayName="Transition",e.props=Pl,e))(((e,{slots:t})=>$u(bs,ql(e),t))),Fl=(e,t=[])=>{ol(e)?e.forEach((e=>e(...t))):e&&e(...t)},Ul=e=>!!e&&(ol(e)?e.some((e=>e.length>1)):e.length>1);function ql(e){const t={};for(const O in e)O in Ll||(t[O]=e[O]);if(!1===e.css)return t;const{name:n="v",type:r,duration:i,enterFromClass:o=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:c=o,appearActiveClass:u=s,appearToClass:l=a,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,p=function(e){if(null==e)return null;if(dl(e))return[Bl(e.enter),Bl(e.leave)];{const t=Bl(e);return[t,t]}}(i),m=p&&p[0],g=p&&p[1],{onBeforeEnter:y,onEnter:v,onEnterCancelled:b,onLeave:_,onLeaveCancelled:w,onBeforeAppear:S=y,onAppear:x=v,onAppearCancelled:k=b}=t,T=(e,t,n,r)=>{e._enterCancelled=r,Hl(e,t?l:a),Hl(e,t?u:s),n&&n()},E=(e,t)=>{e._isLeaving=!1,Hl(e,d),Hl(e,h),Hl(e,f),t&&t()},C=e=>(t,n)=>{const i=e?x:v,s=()=>T(t,e,n);Fl(i,[t,s]),zl((()=>{Hl(t,e?c:o),Vl(t,e?l:a),Ul(i)||Wl(t,r,m,s)}))};return nl(t,{onBeforeEnter(e){Fl(y,[e]),Vl(e,o),Vl(e,s)},onBeforeAppear(e){Fl(S,[e]),Vl(e,c),Vl(e,u)},onEnter:C(!1),onAppear:C(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>E(e,t);Vl(e,d),e._enterCancelled?(Vl(e,f),Kl()):(Kl(),Vl(e,f)),zl((()=>{e._isLeaving&&(Hl(e,d),Vl(e,h),Ul(_)||Wl(e,r,g,n))})),Fl(_,[e,n])},onEnterCancelled(e){T(e,!1,void 0,!0),Fl(b,[e])},onAppearCancelled(e){T(e,!0,void 0,!0),Fl(k,[e])},onLeaveCancelled(e){E(e),Fl(w,[e])}})}function Bl(e){return Sl(e)}function Vl(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e[Rl]||(e[Rl]=new Set)).add(t)}function Hl(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const n=e[Rl];n&&(n.delete(t),n.size||(e[Rl]=void 0))}function zl(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let $l=0;function Wl(e,t,n,r){const i=e._endId=++$l,o=()=>{i===e._endId&&r()};if(null!=n)return setTimeout(o,n);const{type:s,timeout:a,propCount:c}=Gl(e,t);if(!s)return r();const u=s+"end";let l=0;const d=()=>{e.removeEventListener(u,f),o()},f=t=>{t.target===e&&++l>=c&&d()};setTimeout((()=>{l(n[e]||"").split(", "),i=r("transitionDelay"),o=r("transitionDuration"),s=Yl(i,o),a=r("animationDelay"),c=r("animationDuration"),u=Yl(a,c);let l=null,d=0,f=0;"transition"===t?s>0&&(l="transition",d=s,f=o.length):"animation"===t?u>0&&(l="animation",d=u,f=c.length):(d=Math.max(s,u),l=d>0?s>u?"transition":"animation":null,f=l?"transition"===l?o.length:c.length:0);return{type:l,timeout:d,propCount:f,hasTransform:"transition"===l&&/\b(transform|all)(,|$)/.test(r("transitionProperty").toString())}}function Yl(e,t){for(;e.lengthQl(t)+Ql(e[n]))))}function Ql(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}function Kl(){return document.body.offsetHeight}const Jl=Symbol("_vod"),Xl=Symbol("_vsh"),Zl={beforeMount(e,{value:t},{transition:n}){e[Jl]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):ed(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),ed(e,!0),r.enter(e)):r.leave(e,(()=>{ed(e,!1)})):ed(e,t))},beforeUnmount(e,{value:t}){ed(e,t)}};function ed(e,t){e.style.display=t?e[Jl]:"none",e[Xl]=!t}const td=Symbol("");function nd(e){const t=Eu();if(!t)return;const n=t.ut=(n=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach((e=>id(e,n)))},r=()=>{const r=e(t.proxy);t.ce?id(t.ce,r):rd(t.subTree,r),n(r)};ia((()=>{Fo(r)})),ra((()=>{Tc(r,tl,{flush:"post"});const e=new MutationObserver(r);e.observe(t.subTree.el.parentNode,{childList:!0}),aa((()=>e.disconnect()))}))}function rd(e,t){if(128&e.shapeFlag){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push((()=>{rd(n.activeBranch,t)}))}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el)id(e.el,t);else if(e.type===Gc)e.children.forEach((e=>rd(e,t)));else if(e.type===Kc){let{el:n,anchor:r}=e;for(;n&&(id(n,t),n!==r);)n=n.nextSibling}}function id(e,t){if(1===e.nodeType){const n=e.style;let r="";for(const e in t){const i=Cl(t[e]);n.setProperty(`--${e}`,i),r+=`--${e}: ${i};`}n[td]=r}}const od=/(^|;)\s*display\s*:/;const sd=/\s*!important$/;function ad(e,t,n){if(ol(n))n.forEach((n=>ad(e,t,n)));else if(null==n&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=function(e,t){const n=ud[t];if(n)return n;let r=Kn(t);if("filter"!==r&&r in e)return ud[t]=r;r=_l(r);for(let i=0;i{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();Eo(function(e,t){if(ol(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e&&e(t)))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=(()=>yd||(vd.then((()=>yd=0)),yd=Date.now()))(),n}(r,i),a)}else s&&(!function(e,t,n,r){e.removeEventListener(t,n,r)}(e,n,s,a),o[t]=void 0)}}const gd=/(?:Once|Passive|Capture)$/;let yd=0;const vd=Promise.resolve();const bd=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123;const _d={}; /*! #__NO_SIDE_EFFECTS__ */function wd(e,t,n){const r=Es(e,t);pl(r)&&nl(r,t);class i extends xd{constructor(e){super(r,e,n)}}return i.def=r,i} /*! #__NO_SIDE_EFFECTS__ */const Sd="undefined"!=typeof HTMLElement?HTMLElement:class{};class xd extends Sd{constructor(e,t={},n=sf){super(),this._def=e,this._props=t,this._createApp=n,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&n!==sf?this._root=this.shadowRoot:!1!==e.shadowRoot?(this.attachShadow({mode:"open"}),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;this.shadowRoot||this._resolved||this._parseSlots(),this._connected=!0;let e=this;for(;e=e&&(e.parentNode||e.host);)if(e instanceof xd){this._parent=e;break}this._instance||(this._resolved?this._mount(this._def):e&&e._pendingResolve?this._pendingResolve=e._pendingResolve.then((()=>{this._pendingResolve=void 0,this._resolveDef()})):this._resolveDef())}_setParent(e=this._parent){e&&(this._instance.parent=e._instance,this._inheritParentContext(e))}_inheritParentContext(e=this._parent){e&&this._app&&Object.setPrototypeOf(this._app._context.provides,e._instance.provides)}disconnectedCallback(){this._connected=!1,Lo((()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null)}))}_resolveDef(){if(this._pendingResolve)return;for(let n=0;n{for(const t of e)this._setAttr(t.attributeName)})),this._ob.observe(this,{attributes:!0});const e=(e,t=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:n,styles:r}=e;let i;if(n&&!ol(n))for(const o in n){const e=n[o];(e===Number||e&&e.type===Number)&&(o in this._props&&(this._props[o]=Sl(this._props[o])),(i||(i=Object.create(null)))[yl(o)]=!0)}this._numberProps=i,this._resolveProps(e),this.shadowRoot&&this._applyStyles(r),this._mount(e)},t=this._def.__asyncLoader;t?this._pendingResolve=t().then((t=>{t.configureApp=this._def.configureApp,e(this._def=t,!0)})):e(this._def)}_mount(e){this._app=this._createApp(e),this._inheritParentContext(),e.configureApp&&e.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const t=this._instance&&this._instance.exposed;if(t)for(const n in t)il(this,n)||Object.defineProperty(this,n,{get:()=>no(t[n])})}_resolveProps(e){const{props:t}=e,n=ol(t)?t:Object.keys(t||{});for(const r of Object.keys(this))"_"!==r[0]&&n.includes(r)&&this._setProp(r,this[r]);for(const r of n.map(yl))Object.defineProperty(this,r,{get(){return this._getProp(r)},set(e){this._setProp(r,e,!0,!0)}})}_setAttr(e){if(e.startsWith("data-v-"))return;const t=this.hasAttribute(e);let n=t?this.getAttribute(e):_d;const r=yl(e);t&&this._numberProps&&this._numberProps[r]&&(n=Sl(n)),this._setProp(r,n,!1,!0)}_getProp(e){return this._props[e]}_setProp(e,t,n=!0,r=!1){if(t!==this._props[e]&&(t===_d?delete this._props[e]:(this._props[e]=t,"key"===e&&this._app&&(this._app._ceVNode.key=t)),r&&this._instance&&this._update(),n)){const n=this._ob;n&&n.disconnect(),!0===t?this.setAttribute(bl(e),""):"string"==typeof t||"number"==typeof t?this.setAttribute(bl(e),t+""):t||this.removeAttribute(bl(e)),n&&n.observe(this,{attributes:!0})}}_update(){const e=this._createVNode();this._app&&(e.appContext=this._app._context),of(e,this._root)}_createVNode(){const e={};this.shadowRoot||(e.onVnodeMounted=e.onVnodeUpdated=this._renderSlots.bind(this));const t=du(this._def,nl(e,this._props));return this._instance||(t.ce=e=>{this._instance=e,e.ce=this,e.isCE=!0;const t=(e,t)=>{this.dispatchEvent(new CustomEvent(e,pl(t[0])?nl({detail:t},t[0]):{detail:t}))};e.emit=(e,...n)=>{t(e,n),bl(e)!==e&&t(bl(e),n)},this._setParent()}),t}_applyStyles(e,t){if(!e)return;if(t){if(t===this._def||this._styleChildren.has(t))return;this._styleChildren.add(t)}const n=this._nonce;for(let r=e.length-1;r>=0;r--){const t=document.createElement("style");n&&t.setAttribute("nonce",n),t.textContent=e[r],this.shadowRoot.prepend(t)}}_parseSlots(){const e=this._slots={};let t;for(;t=this.firstChild;){const n=1===t.nodeType&&t.getAttribute("slot")||"default";(e[n]||(e[n]=[])).push(t),this.removeChild(t)}}_renderSlots(){const e=(this._teleportTarget||this).querySelectorAll("slot"),t=this._instance.type.__scopeId;for(let n=0;n(delete e.props.mode,e))({name:"TransitionGroup",props:nl({},Pl,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Eu(),r=ps();let i,o;return oa((()=>{if(!i.length)return;const t=e.moveClass||`${e.name||"v"}-move`;if(!function(e,t,n){const r=e.cloneNode(),i=e[Rl];i&&i.forEach((e=>{e.split(/\s+/).forEach((e=>e&&r.classList.remove(e)))}));n.split(/\s+/).forEach((e=>e&&r.classList.add(e))),r.style.display="none";const o=1===t.nodeType?t:t.parentNode;o.appendChild(r);const{hasTransform:s}=Gl(r);return o.removeChild(r),s}(i[0].el,n.vnode.el,t))return void(i=[]);i.forEach(Id),i.forEach(Nd);const r=i.filter(Dd);Kl(),r.forEach((e=>{const n=e.el,r=n.style;Vl(n,t),r.transform=r.webkitTransform=r.transitionDuration="";const i=n[Cd]=e=>{e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener("transitionend",i),n[Cd]=null,Hl(n,t))};n.addEventListener("transitionend",i)})),i=[]})),()=>{const s=Gi(e),a=ql(s);let c=s.tag||Gc;if(i=[],o)for(let e=0;e{const t=e.props["onUpdate:modelValue"]||!1;return ol(t)?e=>((e,...t)=>{for(let n=0;n{if(t.target.composing)return;let r=e.value;n&&(r=r.trim()),o&&(r=wl(r)),e[Pd](r)})),n&&hd(e,"change",(()=>{e.value=e.value.trim()})),t||(hd(e,"compositionstart",Rd),hd(e,"compositionend",Ld),hd(e,"change",Ld))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:i,number:o}},s){if(e[Pd]=Md(s),e.composing)return;const a=null==t?"":t;if((!o&&"number"!==e.type||/^0\d/.test(e.value)?e.value:wl(e.value))!==a){if(document.activeElement===e&&"range"!==e.type){if(r&&t===n)return;if(i&&e.value.trim()===a)return}e.value=a}}},Fd={deep:!0,created(e,t,n){e[Pd]=Md(n),hd(e,"change",(()=>{const t=e._modelValue,n=Hd(e),r=e.checked,i=e[Pd];if(ol(t)){const e=El(t,n),o=-1!==e;if(r&&!o)i(t.concat(n));else if(!r&&o){const n=[...t];n.splice(e,1),i(n)}}else if(sl(t)){const e=new Set(t);r?e.add(n):e.delete(n),i(e)}else i(zd(e,r))}))},mounted:Ud,beforeUpdate(e,t,n){e[Pd]=Md(n),Ud(e,t,n)}};function Ud(e,{value:t,oldValue:n},r){let i;if(e._modelValue=t,ol(t))i=El(t,r.props.value)>-1;else if(sl(t))i=t.has(r.props.value);else{if(t===n)return;i=Tl(t,zd(e,!0))}e.checked!==i&&(e.checked=i)}const qd={created(e,{value:t},n){e.checked=Tl(t,n.props.value),e[Pd]=Md(n),hd(e,"change",(()=>{e[Pd](Hd(e))}))},beforeUpdate(e,{value:t,oldValue:n},r){e[Pd]=Md(r),t!==n&&(e.checked=Tl(t,r.props.value))}},Bd={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const i=sl(t);hd(e,"change",(()=>{const t=Array.prototype.filter.call(e.options,(e=>e.selected)).map((e=>n?wl(Hd(e)):Hd(e)));e[Pd](e.multiple?i?new Set(t):t:t[0]),e._assigning=!0,Lo((()=>{e._assigning=!1}))})),e[Pd]=Md(r)},mounted(e,{value:t}){Vd(e,t)},beforeUpdate(e,t,n){e[Pd]=Md(n)},updated(e,{value:t}){e._assigning||Vd(e,t)}};function Vd(e,t){const n=e.multiple,r=ol(t);if(!n||r||sl(t)){for(let i=0,o=e.options.length;iString(e)===String(s))):El(t,s)>-1}else o.selected=t.has(s);else if(Tl(Hd(o),t))return void(e.selectedIndex!==i&&(e.selectedIndex=i))}n||-1===e.selectedIndex||(e.selectedIndex=-1)}}function Hd(e){return"_value"in e?e._value:e.value}function zd(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const $d={created(e,t,n){Gd(e,t,n,null,"created")},mounted(e,t,n){Gd(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){Gd(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){Gd(e,t,n,r,"updated")}};function Wd(e,t){switch(e){case"SELECT":return Bd;case"TEXTAREA":return jd;default:switch(t){case"checkbox":return Fd;case"radio":return qd;default:return jd}}}function Gd(e,t,n,r,i){const o=Wd(e.tagName,n.props&&n.props.type)[i];o&&o(e,t,n,r)}const Yd=["ctrl","shift","alt","meta"],Qd={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>Yd.some((n=>e[`${n}Key`]&&!t.includes(n)))},Kd=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(n,...r)=>{for(let e=0;e{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=n=>{if(!("key"in n))return;const r=bl(n.key);return t.some((e=>e===r||Jd[e]===r))?e(n):void 0})},Zd=nl({patchProp:(e,t,n,r,i,o)=>{const s="svg"===i;"class"===t?function(e,t,n){const r=e[Rl];r&&(t=(t?[t,...r]:[...r]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,r,s):"style"===t?function(e,t,n){const r=e.style,i=ul(n);let o=!1;if(n&&!i){if(t)if(ul(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&ad(r,t,"")}else for(const e in t)null==n[e]&&ad(r,e,"");for(const e in n)"display"===e&&(o=!0),ad(r,e,n[e])}else if(i){if(t!==n){const e=r[td];e&&(n+=";"+e),r.cssText=n,o=od.test(n)}}else t&&e.removeAttribute("style");Jl in e&&(e[Jl]=o?r.display:"",e[Xl]&&(r.display="none"))}(e,n,r):(e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97))(t)?(e=>e.startsWith("onUpdate:"))(t)||md(e,t,0,r,o):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,r){if(r)return"innerHTML"===t||"textContent"===t||!!(t in e&&bd(t)&&cl(n));if("spellcheck"===t||"draggable"===t||"translate"===t||"autocorrect"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){const t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}if(bd(t)&&ul(n))return!1;return t in e}(e,t,r,s))?(fd(e,t,r),e.tagName.includes("-")||"value"!==t&&"checked"!==t&&"selected"!==t||dd(e,t,r,s,0,"value"!==t)):!e._isVueCE||!/[A-Z]/.test(t)&&ul(r)?("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),dd(e,t,r,s)):fd(e,yl(t),r,0,t)}},Ml);let ef,tf=!1;function nf(){return ef||(ef=fc(Zd))}function rf(){return ef=tf?ef:hc(Zd),tf=!0,ef}const of=(...e)=>{nf().render(...e)},sf=(...e)=>{const t=nf().createApp(...e),{mount:n}=t;return t.mount=e=>{const r=uf(e);if(!r)return;const i=t._component;cl(i)||i.render||i.template||(i.template=r.innerHTML),1===r.nodeType&&(r.textContent="");const o=n(r,!1,cf(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t},af=(...e)=>{const t=rf().createApp(...e),{mount:n}=t;return t.mount=e=>{const t=uf(e);if(t)return n(t,!0,cf(t))},t};function cf(e){return e instanceof SVGElement?"svg":"function"==typeof MathMLElement&&e instanceof MathMLElement?"mathml":void 0}function uf(e){if(ul(e)){return document.querySelector(e)}return e}let lf=!1;var df=Object.freeze(Object.defineProperty({__proto__:null,Transition:jl,TransitionGroup:Ad,VueElement:xd,createApp:sf,createSSRApp:af,defineCustomElement:wd,defineSSRCustomElement:(e,t)=>wd(e,t,af),hydrate:(...e)=>{rf().hydrate(...e)},initDirectivesForSSR:()=>{lf||(lf=!0,jd.getSSRProps=({value:e})=>({value:e}),qd.getSSRProps=({value:e},t)=>{if(t.props&&Tl(t.props.value,e))return{checked:!0}},Fd.getSSRProps=({value:e},t)=>{if(ol(e)){if(t.props&&El(e,t.props.value)>-1)return{checked:!0}}else if(sl(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},$d.getSSRProps=(e,t)=>{if("string"!=typeof t.type)return;const n=Wd(t.type.toUpperCase(),t.props&&t.props.type);return n.getSSRProps?n.getSSRProps(e,t):void 0},Zl.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}})},render:of,useCssModule:function(e="$style"){{const t=Eu();if(!t)return el;const n=t.type.__cssModules;if(!n)return el;const r=n[e];return r||el}},useCssVars:nd,useHost:kd,useShadowRoot:function(){const e=kd();return e&&e.shadowRoot},vModelCheckbox:Fd,vModelDynamic:$d,vModelRadio:qd,vModelSelect:Bd,vModelText:jd,vShow:Zl,withKeys:Xd,withModifiers:Kd,EffectScope:Cr,ReactiveEffect:Nr,TrackOpTypes:{GET:"get",HAS:"has",ITERATE:"iterate"},TriggerOpTypes:{SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},customRef:so,effect:function(e,t){e.effect instanceof Nr&&(e=e.effect.fn);const n=new Nr(e);t&&Nn(n,t);try{n.run()}catch(i){throw n.stop(),i}const r=n.run.bind(n);return r.effect=n,r},effectScope:function(e){return new Cr(e)},getCurrentScope:Or,getCurrentWatcher:function(){return go},isProxy:Wi,isReactive:Hi,isReadonly:zi,isRef:Ji,isShallow:$i,markRaw:Yi,onScopeDispose:Ar,onWatcherCleanup:yo,proxyRefs:io,reactive:Fi,readonly:qi,ref:Xi,shallowReactive:Ui,shallowReadonly:Bi,shallowRef:Zi,stop:function(e){e.effect.stop()},toRaw:Gi,toRef:lo,toRefs:ao,toValue:function(e){return Fn(e)?e():no(e)},triggerRef:function(e){e.dep&&e.dep.trigger()},unref:no,camelize:Kn,capitalize:Zn,normalizeClass:hr,normalizeProps:pr,normalizeStyle:cr,toDisplayString:wr,toHandlerKey:er,BaseTransition:bs,BaseTransitionPropsValidators:gs,Comment:Qc,DeprecationTypes:null,ErrorCodes:{SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"},ErrorTypeStrings:Qu,Fragment:Gc,KeepAlive:Ws,Static:Kc,Suspense:Bc,Teleport:us,Text:Yc,assertNumber:function(e,t){},callWithAsyncErrorHandling:Eo,callWithErrorHandling:To,cloneVNode:hu,compatUtils:null,computed:zu,createBlock:ou,createCommentVNode:gu,createElementBlock:iu,createElementVNode:lu,createHydrationRenderer:hc,createPropsRestProxy:function(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n},createRenderer:fc,createSlots:ba,createStaticVNode:mu,createTextVNode:pu,createVNode:du,defineAsyncComponent:Hs,defineComponent:Es,defineEmits:function(){return null},defineExpose:function(e){},defineModel:function(){},defineOptions:function(e){},defineProps:function(){return null},defineSlots:function(){return null},devtools:Ku,getCurrentInstance:Eu,getTransitionRawChildren:Ts,guardReactiveProps:fu,h:$u,handleError:Co,hasInjectionContext:function(){return!(!Eu()&&!Ya)},hydrateOnIdle:(e=1e4)=>t=>{const n=qs(t,{timeout:e});return()=>Bs(n)},hydrateOnInteraction:(e=[])=>(t,n)=>{Un(e)&&(e=[e]);let r=!1;const i=e=>{r||(r=!0,o(),t(),e.target.dispatchEvent(new e.constructor(e.type,e)))},o=()=>{n((t=>{for(const n of e)t.removeEventListener(n,i)}))};return n((t=>{for(const n of e)t.addEventListener(n,i,{once:!0})})),o},hydrateOnMediaQuery:e=>t=>{if(e){const n=matchMedia(e);if(!n.matches)return n.addEventListener("change",t,{once:!0}),()=>n.removeEventListener("change",t);t()}},hydrateOnVisible:e=>(t,n)=>{const r=new IntersectionObserver((e=>{for(const n of e)if(n.isIntersecting){r.disconnect(),t();break}}),e);return n((e=>{if(e instanceof Element)return function(e){const{top:t,left:n,bottom:r,right:i}=e.getBoundingClientRect(),{innerHeight:o,innerWidth:s}=window;return(t>0&&t0&&r0&&n0&&ir.disconnect()},initCustomFormatter:function(){},inject:Ka,isMemoSame:Wu,isRuntimeOnly:()=>!Du,isVNode:su,mergeDefaults:function(e,t){const n=Ia(e);for(const r in t){if(r.startsWith("__skip"))continue;let e=n[r];e?Ln(e)||Fn(e)?e=n[r]={type:e,default:t[r]}:e.default=t[r]:null===e&&(e=n[r]={default:t[r]}),e&&t[`__skip_${r}`]&&(e.skipFactory=!0)}return n},mergeModels:Na,mergeProps:_u,nextTick:Lo,onActivated:Ys,onBeforeMount:na,onBeforeUnmount:sa,onBeforeUpdate:ia,onDeactivated:Qs,onErrorCaptured:da,onMounted:ra,onRenderTracked:la,onRenderTriggered:ua,onServerPrefetch:ca,onUnmounted:aa,onUpdated:oa,openBlock:Zc,popScopeId:Qo,provide:Qa,pushScopeId:Yo,queuePostFlushCb:Fo,registerRuntimeCompiler:function(e){Du=e,Mu=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,Ca))}},renderList:va,renderSlot:_a,resolveComponent:fa,resolveDirective:ma,resolveDynamicComponent:pa,resolveFilter:null,resolveTransitionHooks:ws,setBlockTracking:nu,setDevtoolsHook:Ju,setTransitionHooks:ks,ssrContextKey:wc,ssrUtils:Xu,toHandlers:Sa,transformVNodeArgs:function(e){},useAttrs:function(){return Aa().attrs},useId:function(){const e=Eu();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""},useModel:Ac,useSSRContext:Sc,useSlots:Oa,useTemplateRef:function(e){const t=Eu(),n=Zi(null);if(t){const r=t.refs===Tn?t.refs={}:t.refs;Object.defineProperty(r,e,{enumerable:!0,get:()=>n.value,set:e=>n.value=e})}return n},useTransitionState:ps,version:Gu,warn:Yu,watch:Tc,watchEffect:xc,watchPostEffect:function(e,t){return Ec(e,null,{flush:"post"})},watchSyncEffect:kc,withAsyncContext:Da,withCtx:Jo,withDefaults:function(e,t){return null},withDirectives:Xo,withMemo:function(e,t,n,r){const i=n[r];if(i&&Wu(i,e))return i;const o=t();return o.memo=e.slice(),o.cacheIndex=r,n[r]=o},withScopeId:Ko},Symbol.toStringTag,{value:"Module"}));function ff(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function hf(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function yf(e){return function(e){if(Array.isArray(e))return vf(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return vf(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return vf(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function vf(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof e)return e;var r=(e.children||[]).map((function(e){return Tf(e)})),i=Object.keys(e.attributes||{}).reduce((function(t,n){var r=e.attributes[n];switch(n){case"class":t.class=kf(r);break;case"style":t.style=xf(r);break;default:t.attrs[n]=r}return t}),{attrs:{},class:{},style:{}});n.class;var o=n.style,s=void 0===o?{}:o,a=gf(n,Sf);return $u(e.tag,hf(hf(hf({},t),{},{class:i.class,style:hf(hf({},i.style),s)},i.attrs),a),r)}var Ef=!1;try{Ef=!0}catch(JZ){}function Cf(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?mf({},e,t):{}}function Of(e){return e&&"object"===pf(e)&&e.prefix&&e.iconName&&e.icon?e:wn.icon?wn.icon(e):null===e?null:"object"===pf(e)&&e.prefix&&e.iconName?e:Array.isArray(e)&&2===e.length?{prefix:e[0],iconName:e[1]}:"string"==typeof e?{prefix:"fas",iconName:e}:void 0}var Af=Es({name:"FontAwesomeIcon",props:{border:{type:Boolean,default:!1},fixedWidth:{type:Boolean,default:!1},flip:{type:[Boolean,String],default:!1,validator:function(e){return[!0,!1,"horizontal","vertical","both"].indexOf(e)>-1}},icon:{type:[Object,Array,String],required:!0},mask:{type:[Object,Array,String],default:null},maskId:{type:String,default:null},listItem:{type:Boolean,default:!1},pull:{type:String,default:null,validator:function(e){return["right","left"].indexOf(e)>-1}},pulse:{type:Boolean,default:!1},rotation:{type:[String,Number],default:null,validator:function(e){return[90,180,270].indexOf(Number.parseInt(e,10))>-1}},swapOpacity:{type:Boolean,default:!1},size:{type:String,default:null,validator:function(e){return["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"].indexOf(e)>-1}},spin:{type:Boolean,default:!1},transform:{type:[String,Object],default:null},symbol:{type:[Boolean,String],default:!1},title:{type:String,default:null},titleId:{type:String,default:null},inverse:{type:Boolean,default:!1},bounce:{type:Boolean,default:!1},shake:{type:Boolean,default:!1},beat:{type:Boolean,default:!1},fade:{type:Boolean,default:!1},beatFade:{type:Boolean,default:!1},flash:{type:Boolean,default:!1},spinPulse:{type:Boolean,default:!1},spinReverse:{type:Boolean,default:!1}},setup:function(e,t){var n=t.attrs,r=zu((function(){return Of(e.icon)})),i=zu((function(){return Cf("classes",function(e){var t,n=(mf(t={"fa-spin":e.spin,"fa-pulse":e.pulse,"fa-fw":e.fixedWidth,"fa-border":e.border,"fa-li":e.listItem,"fa-inverse":e.inverse,"fa-flip":!0===e.flip,"fa-flip-horizontal":"horizontal"===e.flip||"both"===e.flip,"fa-flip-vertical":"vertical"===e.flip||"both"===e.flip},"fa-".concat(e.size),null!==e.size),mf(t,"fa-rotate-".concat(e.rotation),null!==e.rotation),mf(t,"fa-pull-".concat(e.pull),null!==e.pull),mf(t,"fa-swap-opacity",e.swapOpacity),mf(t,"fa-bounce",e.bounce),mf(t,"fa-shake",e.shake),mf(t,"fa-beat",e.beat),mf(t,"fa-fade",e.fade),mf(t,"fa-beat-fade",e.beatFade),mf(t,"fa-flash",e.flash),mf(t,"fa-spin-pulse",e.spinPulse),mf(t,"fa-spin-reverse",e.spinReverse),t);return Object.keys(n).map((function(e){return n[e]?e:null})).filter((function(e){return e}))}(e))})),o=zu((function(){return Cf("transform","string"==typeof e.transform?wn.transform(e.transform):e.transform)})),s=zu((function(){return Cf("mask",Of(e.mask))})),a=zu((function(){return Sn(r.value,hf(hf(hf(hf({},i.value),o.value),s.value),{},{symbol:e.symbol,title:e.title,titleId:e.titleId,maskId:e.maskId}))}));Tc(a,(function(e){if(!e)return function(){var e;!Ef&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find one or more icon(s)",r.value,s.value)}),{immediate:!0});var c=zu((function(){return a.value?Tf(a.value.abstract[0],{},n):null}));return function(){return c.value}}});Es({name:"FontAwesomeLayers",props:{fixedWidth:{type:Boolean,default:!1}},setup:function(e,t){var n=t.slots,r=_n.familyPrefix,i=zu((function(){return["".concat(r,"-layers")].concat(yf(e.fixedWidth?["".concat(r,"-fw")]:[]))}));return function(){return $u("div",{class:i.value},n.default?n.default():[])}}}),Es({name:"FontAwesomeLayersText",props:{value:{type:[String,Number],default:""},transform:{type:[String,Object],default:null},counter:{type:Boolean,default:!1},position:{type:String,default:null,validator:function(e){return["bottom-left","bottom-right","top-left","top-right"].indexOf(e)>-1}}},setup:function(e,t){var n=t.attrs,r=_n.familyPrefix,i=zu((function(){return Cf("classes",[].concat(yf(e.counter?["".concat(r,"-layers-counter")]:[]),yf(e.position?["".concat(r,"-layers-").concat(e.position)]:[])))})),o=zu((function(){return Cf("transform","string"==typeof e.transform?wn.transform(e.transform):e.transform)})),s=zu((function(){var t=xn(e.value.toString(),hf(hf({},o.value),i.value)).abstract;return e.counter&&(t[0].attributes.class=t[0].attributes.class.replace("fa-layers-text","")),t[0]})),a=zu((function(){return Tf(s.value,{},n)}));return function(){return a.value}}});var If=Object.defineProperty,Nf=Object.getOwnPropertySymbols,Df=Object.prototype.hasOwnProperty,Mf=Object.prototype.propertyIsEnumerable,Rf=(e,t,n)=>t in e?If(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Lf=(e,t)=>{for(var n in t||(t={}))Df.call(t,n)&&Rf(e,n,t[n]);if(Nf)for(var n of Nf(t))Mf.call(t,n)&&Rf(e,n,t[n]);return e},Pf=(e,t,n)=>{const r=n.createElement(e);for(const i of Object.keys(t)){let e=t[i];"key"!==i&&!1!==e&&("children"===i?r.textContent=e:r.setAttribute(i,e))}return r},jf=e=>void 0!==e.key?{name:"key",value:e.key}:void 0!==e.name?{name:"name",value:e.name}:void 0!==e.property?{name:"property",value:e.property}:void 0,Ff=["title","meta","link","base","style","script","htmlAttrs","bodyAttrs"],Uf=(e,t)=>{const n=e.getAttribute("data-head-attrs");if(n)for(const i of n.split(","))e.removeAttribute(i);const r=[];for(const i in t){const n=t[i];null!=n&&(!1===n?e.removeAttribute(i):e.setAttribute(i,n),r.push(i))}r.length?e.setAttribute("data-head-attrs",r.join(",")):e.removeAttribute("data-head-attrs")},qf=()=>{let e=[];const t={install(e){e.config.globalProperties.$head=t,e.provide("usehead",t)},get headTags(){const t=[];return e.forEach((e=>{(e=>{const t=[];for(const n of Object.keys(e))if(null!=e[n])if("title"===n)t.push({tag:n,props:{children:e[n]}});else if("base"===n)t.push({tag:n,props:Lf({key:"default"},e[n])});else if(Ff.includes(n)){const r=e[n];Array.isArray(r)?r.forEach((e=>{t.push({tag:n,props:e})})):r&&t.push({tag:n,props:r})}return t})(e.value).forEach((e=>{if("meta"===e.tag||"base"===e.tag){const n=jf(e.props);if(n){let r=-1;for(let i=0;ie!==t))},updateDOM(e){((e,t=window.document)=>{const n=t.head;let r=n.querySelector('meta[name="head:count"]');const i=r?Number(r.getAttribute("content")):0,o=[];if(r)for(let l=0,d=r.previousElementSibling;l{e.nextSibling&&e.nextSibling.nodeType===Node.TEXT_NODE&&e.nextSibling.remove(),e.remove()})),void 0!==a&&(t.title=a),Uf(t.documentElement,c),Uf(t.body,u),s.forEach((e=>{n.insertBefore(e,r)})),r.setAttribute("content",""+s.length)})(t.headTags,e)}};return t},Bf="undefined"!=typeof window,Vf=e=>{const t=Xi(e),n=(()=>{const e=Ka("usehead");if(!e)throw new Error("You may forget to apply app.use(head)");return e})();n.addHeadObjs(t),Bf&&(xc((()=>{n.updateDOM()})),sa((()=>{n.removeHeadObjs(t),n.updateDOM()})))},Hf=function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=0)}([function(e,t,n){var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=n(1);e.exports=function(t,n){var o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],s="object"===("undefined"==typeof document?"undefined":r(document))&&"string"==typeof document.cookie,a="object"===(void 0===t?"undefined":r(t))&&"object"===(void 0===n?"undefined":r(n))&&void 0!==e,c=!s&&!a||s&&a,u=function(e){if(a){var r=t.headers.cookie||"";return e&&(r=(r=n.getHeaders())["set-cookie"]?r["set-cookie"].map((function(e){return e.split(";")[0]})).join(";"):""),r}if(s)return document.cookie||""},l=function(){var e=n.getHeader("Set-Cookie");return(e="string"==typeof e?[e]:e)||[]},d=function(e){return n.setHeader("Set-Cookie",e)},f=function(e,t){if(!t)return e;try{return JSON.parse(e)}catch(n){return e}},h={parseJSON:o,set:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{path:"/"};if(!c)if(t="object"===(void 0===t?"undefined":r(t))?JSON.stringify(t):t,a){var o=l();o.push(i.serialize(e,t,n)),d(o)}else document.cookie=i.serialize(e,t,n)},setAll:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];c||Array.isArray(e)&&e.forEach((function(e){var t=e.name,n=void 0===t?"":t,r=e.value,i=void 0===r?"":r,o=e.opts,s=void 0===o?{path:"/"}:o;h.set(n,i,s)}))},get:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{fromRes:!1,parseJSON:h.parseJSON};if(c)return"";var n=i.parse(u(t.fromRes)),r=n[e];return f(r,t.parseJSON)},getAll:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{fromRes:!1,parseJSON:h.parseJSON};if(c)return{};var t=i.parse(u(e.fromRes));for(var n in t)t[n]=f(t[n],e.parseJSON);return t},remove:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{path:"/"};if(!c){var n=h.get(e);t.expires=new Date(0),void 0!==n&&h.set(e,"",t)}},removeAll:function(){if(!c){var e=i.parse(u());for(var t in e)h.remove(t)}},nodeCookie:i};return h}},function(e,t,n){function r(e,t){try{return t(e)}catch(n){return e}} /*! * cookie * Copyright(c) 2012-2014 Roman Shtylman * Copyright(c) 2015 Douglas Christopher Wilson * MIT Licensed */t.parse=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");for(var n={},o=t||{},a=e.split(s),c=o.decode||i,u=0;ui,setSettings(e){try{localStorage.setItem(r,JSON.stringify(e))}catch(JZ){}i=e},now:()=>Yf()},t&&t.on("plugin:settings:set",((e,t)=>{e===this.plugin.id&&this.fallbacks.setSettings(t)})),this.proxiedOn=new Proxy({},{get:(e,t)=>this.target?this.target.on[t]:(...e)=>{this.onQueue.push({method:t,args:e})}}),this.proxiedTarget=new Proxy({},{get:(e,t)=>this.target?this.target[t]:"on"===t?this.proxiedOn:Object.keys(this.fallbacks).includes(t)?(...e)=>(this.targetQueue.push({method:t,args:e,resolve:()=>{}}),this.fallbacks[t](...e)):(...e)=>new Promise((n=>{this.targetQueue.push({method:t,args:e,resolve:n})}))})}async setRealTarget(e){this.target=e;for(const t of this.onQueue)this.target.on[t.method](...t.args);for(const t of this.targetQueue)t.resolve(await this.target[t.method](...t.args))}}function Kf(e,t){const n=e,r=zf(),i=zf().__VUE_DEVTOOLS_GLOBAL_HOOK__,o=$f&&n.enableEarlyProxy;if(!i||!r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__&&o){const e=o?new Qf(n,i):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:e}),e&&t(e.proxiedTarget)}else i.emit("devtools-plugin:setup",e,t)} /*! * vuex v4.0.2 * (c) 2021 Evan You * @license MIT */function Jf(e){return void 0===e&&(e=null),Ka(null!==e?e:"store")}function Xf(e,t){Object.keys(e).forEach((function(n){return t(e[n],n)}))}function Zf(e){return null!==e&&"object"==typeof e}function eh(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function th(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;rh(e,n,[],e._modules.root,!0),nh(e,n,t)}function nh(e,t,n){var r=e._state;e.getters={},e._makeLocalGettersCache=Object.create(null);var i=e._wrappedGetters,o={};Xf(i,(function(t,n){o[n]=function(e,t){return function(){return e(t)}}(t,e),Object.defineProperty(e.getters,n,{get:function(){return o[n]()},enumerable:!0})})),e._state=Fi({data:t}),e.strict&&function(e){Tc((function(){return e._state.data}),(function(){}),{deep:!0,flush:"sync"})}(e),r&&n&&e._withCommit((function(){r.data=null}))}function rh(e,t,n,r,i){var o=!n.length,s=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[s],e._modulesNamespaceMap[s]=r),!o&&!i){var a=oh(t,n.slice(0,-1)),c=n[n.length-1];e._withCommit((function(){a[c]=r.state}))}var u=r.context=function(e,t,n){var r=""===t,i={dispatch:r?e.dispatch:function(n,r,i){var o=sh(n,r,i),s=o.payload,a=o.options,c=o.type;return a&&a.root||(c=t+c),e.dispatch(c,s)},commit:r?e.commit:function(n,r,i){var o=sh(n,r,i),s=o.payload,a=o.options,c=o.type;a&&a.root||(c=t+c),e.commit(c,s,a)}};return Object.defineProperties(i,{getters:{get:r?function(){return e.getters}:function(){return ih(e,t)}},state:{get:function(){return oh(e.state,n)}}}),i}(e,s,n);r.forEachMutation((function(t,n){!function(e,t,n,r){(e._mutations[t]||(e._mutations[t]=[])).push((function(t){n.call(e,r.state,t)}))}(e,s+n,t,u)})),r.forEachAction((function(t,n){var r=t.root?n:s+n,i=t.handler||t;!function(e,t,n,r){(e._actions[t]||(e._actions[t]=[])).push((function(t){var i,o=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},t);return(i=o)&&"function"==typeof i.then||(o=Promise.resolve(o)),e._devtoolHook?o.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):o}))}(e,r,i,u)})),r.forEachGetter((function(t,n){!function(e,t,n,r){if(e._wrappedGetters[t])return;e._wrappedGetters[t]=function(e){return n(r.state,r.getters,e.state,e.getters)}}(e,s+n,t,u)})),r.forEachChild((function(r,o){rh(e,t,n.concat(o),r,i)}))}function ih(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach((function(i){if(i.slice(0,r)===t){var o=i.slice(r);Object.defineProperty(n,o,{get:function(){return e.getters[i]},enumerable:!0})}})),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function oh(e,t){return t.reduce((function(e,t){return e[t]}),e)}function sh(e,t,n){return Zf(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}var ah=0;function ch(e,t){Kf({id:"org.vuejs.vuex",app:e,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:["vuex bindings"]},(function(n){n.addTimelineLayer({id:"vuex:mutations",label:"Vuex Mutations",color:uh}),n.addTimelineLayer({id:"vuex:actions",label:"Vuex Actions",color:uh}),n.addInspector({id:"vuex",label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree((function(n){if(n.app===e&&"vuex"===n.inspectorId)if(n.filter){var r=[];hh(r,t._modules.root,n.filter,""),n.rootNodes=r}else n.rootNodes=[fh(t._modules.root,"")]})),n.on.getInspectorState((function(n){if(n.app===e&&"vuex"===n.inspectorId){var r=n.nodeId;ih(t,r),n.state=function(e,t,n){t="root"===n?t:t[n];var r=Object.keys(t),i={state:Object.keys(e.state).map((function(t){return{key:t,editable:!0,value:e.state[t]}}))};if(r.length){var o=function(e){var t={};return Object.keys(e).forEach((function(n){var r=n.split("/");if(r.length>1){var i=t,o=r.pop();r.forEach((function(e){i[e]||(i[e]={_custom:{value:{},display:e,tooltip:"Module",abstract:!0}}),i=i[e]._custom.value})),i[o]=ph((function(){return e[n]}))}else t[n]=ph((function(){return e[n]}))})),t}(t);i.getters=Object.keys(o).map((function(e){return{key:e.endsWith("/")?dh(e):e,editable:!1,value:ph((function(){return o[e]}))}}))}return i}((i=t._modules,(s=(o=r).split("/").filter((function(e){return e}))).reduce((function(e,t,n){var r=e[t];if(!r)throw new Error('Missing module "'+t+'" for path "'+o+'".');return n===s.length-1?r:r._children}),"root"===o?i:i.root._children)),"root"===r?t.getters:t._makeLocalGettersCache,r)}var i,o,s})),n.on.editInspectorState((function(n){if(n.app===e&&"vuex"===n.inspectorId){var r=n.nodeId,i=n.path;"root"!==r&&(i=r.split("/").filter(Boolean).concat(i)),t._withCommit((function(){n.set(t._state.data,i,n.state.value)}))}})),t.subscribe((function(e,t){var r={};e.payload&&(r.payload=e.payload),r.state=t,n.notifyComponentUpdate(),n.sendInspectorTree("vuex"),n.sendInspectorState("vuex"),n.addTimelineEvent({layerId:"vuex:mutations",event:{time:Date.now(),title:e.type,data:r}})})),t.subscribeAction({before:function(e,t){var r={};e.payload&&(r.payload=e.payload),e._id=ah++,e._time=Date.now(),r.state=t,n.addTimelineEvent({layerId:"vuex:actions",event:{time:e._time,title:e.type,groupId:e._id,subtitle:"start",data:r}})},after:function(e,t){var r={},i=Date.now()-e._time;r.duration={_custom:{type:"duration",display:i+"ms",tooltip:"Action duration",value:i}},e.payload&&(r.payload=e.payload),r.state=t,n.addTimelineEvent({layerId:"vuex:actions",event:{time:Date.now(),title:e.type,groupId:e._id,subtitle:"end",data:r}})}})}))}var uh=8702998,lh={label:"namespaced",textColor:16777215,backgroundColor:6710886};function dh(e){return e&&"root"!==e?e.split("/").slice(-2,-1)[0]:"Root"}function fh(e,t){return{id:t||"root",label:dh(t),tags:e.namespaced?[lh]:[],children:Object.keys(e._children).map((function(n){return fh(e._children[n],t+n+"/")}))}}function hh(e,t,n,r){r.includes(n)&&e.push({id:r||"root",label:r.endsWith("/")?r.slice(0,r.length-1):r||"Root",tags:t.namespaced?[lh]:[]}),Object.keys(t._children).forEach((function(i){hh(e,t._children[i],n,r+i+"/")}))}function ph(e){try{return e()}catch(JZ){return JZ}}var mh=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"==typeof n?n():n)||{}},gh={namespaced:{configurable:!0}};gh.namespaced.get=function(){return!!this._rawModule.namespaced},mh.prototype.addChild=function(e,t){this._children[e]=t},mh.prototype.removeChild=function(e){delete this._children[e]},mh.prototype.getChild=function(e){return this._children[e]},mh.prototype.hasChild=function(e){return e in this._children},mh.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},mh.prototype.forEachChild=function(e){Xf(this._children,e)},mh.prototype.forEachGetter=function(e){this._rawModule.getters&&Xf(this._rawModule.getters,e)},mh.prototype.forEachAction=function(e){this._rawModule.actions&&Xf(this._rawModule.actions,e)},mh.prototype.forEachMutation=function(e){this._rawModule.mutations&&Xf(this._rawModule.mutations,e)},Object.defineProperties(mh.prototype,gh);var yh=function(e){this.register([],e,!1)};function vh(e,t,n){if(t.update(n),n.modules)for(var r in n.modules){if(!t.getChild(r))return;vh(e.concat(r),t.getChild(r),n.modules[r])}}function bh(e){return new _h(e)}yh.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},yh.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,n){return e+((t=t.getChild(n)).namespaced?n+"/":"")}),"")},yh.prototype.update=function(e){vh([],this.root,e)},yh.prototype.register=function(e,t,n){var r=this;void 0===n&&(n=!0);var i=new mh(t,n);0===e.length?this.root=i:this.get(e.slice(0,-1)).addChild(e[e.length-1],i);t.modules&&Xf(t.modules,(function(t,i){r.register(e.concat(i),t,n)}))},yh.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1],r=t.getChild(n);r&&r.runtime&&t.removeChild(n)},yh.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return!!t&&t.hasChild(n)};var _h=function(e){var t=this;void 0===e&&(e={});var n=e.plugins;void 0===n&&(n=[]);var r=e.strict;void 0===r&&(r=!1);var i=e.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new yh(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._devtools=i;var o=this,s=this.dispatch,a=this.commit;this.dispatch=function(e,t){return s.call(o,e,t)},this.commit=function(e,t,n){return a.call(o,e,t,n)},this.strict=r;var c=this._modules.root.state;rh(this,c,[],this._modules.root),nh(this,c),n.forEach((function(e){return e(t)}))},wh={state:{configurable:!0}};_h.prototype.install=function(e,t){e.provide(t||"store",this),e.config.globalProperties.$store=this,void 0!==this._devtools&&this._devtools&&ch(e,this)},wh.state.get=function(){return this._state.data},wh.state.set=function(e){},_h.prototype.commit=function(e,t,n){var r=this,i=sh(e,t,n),o=i.type,s=i.payload,a={type:o,payload:s},c=this._mutations[o];c&&(this._withCommit((function(){c.forEach((function(e){e(s)}))})),this._subscribers.slice().forEach((function(e){return e(a,r.state)})))},_h.prototype.dispatch=function(e,t){var n=this,r=sh(e,t),i=r.type,o=r.payload,s={type:i,payload:o},a=this._actions[i];if(a){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(s,n.state)}))}catch(JZ){}var c=a.length>1?Promise.all(a.map((function(e){return e(o)}))):a[0](o);return new Promise((function(e,t){c.then((function(t){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(s,n.state)}))}catch(JZ){}e(t)}),(function(e){try{n._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(s,n.state,e)}))}catch(JZ){}t(e)}))}))}},_h.prototype.subscribe=function(e,t){return eh(e,this._subscribers,t)},_h.prototype.subscribeAction=function(e,t){return eh("function"==typeof e?{before:e}:e,this._actionSubscribers,t)},_h.prototype.watch=function(e,t,n){var r=this;return Tc((function(){return e(r.state,r.getters)}),t,Object.assign({},n))},_h.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._state.data=e}))},_h.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"==typeof e&&(e=[e]),this._modules.register(e,t),rh(this,this.state,e,this._modules.get(e),n.preserveState),nh(this,this.state)},_h.prototype.unregisterModule=function(e){var t=this;"string"==typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){delete oh(t.state,e.slice(0,-1))[e[e.length-1]]})),th(this)},_h.prototype.hasModule=function(e){return"string"==typeof e&&(e=[e]),this._modules.isRegistered(e)},_h.prototype.hotUpdate=function(e){this._modules.update(e),th(this,!0)},_h.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(_h.prototype,wh);var Sh=Ch((function(e,t){var n={};return Eh(t).forEach((function(t){var r=t.key,i=t.val;n[r]=function(){var t=this.$store.state,n=this.$store.getters;if(e){var r=Oh(this.$store,"mapState",e);if(!r)return;t=r.context.state,n=r.context.getters}return"function"==typeof i?i.call(this,t,n):t[i]},n[r].vuex=!0})),n})),xh=Ch((function(e,t){var n={};return Eh(t).forEach((function(t){var r=t.key,i=t.val;n[r]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=this.$store.commit;if(e){var o=Oh(this.$store,"mapMutations",e);if(!o)return;r=o.context.commit}return"function"==typeof i?i.apply(this,[r].concat(t)):r.apply(this.$store,[i].concat(t))}})),n})),kh=Ch((function(e,t){var n={};return Eh(t).forEach((function(t){var r=t.key,i=t.val;i=e+i,n[r]=function(){if(!e||Oh(this.$store,"mapGetters",e))return this.$store.getters[i]},n[r].vuex=!0})),n})),Th=Ch((function(e,t){var n={};return Eh(t).forEach((function(t){var r=t.key,i=t.val;n[r]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=this.$store.dispatch;if(e){var o=Oh(this.$store,"mapActions",e);if(!o)return;r=o.context.dispatch}return"function"==typeof i?i.apply(this,[r].concat(t)):r.apply(this.$store,[i].concat(t))}})),n}));function Eh(e){return function(e){return Array.isArray(e)||Zf(e)}(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}})):[]}function Ch(e){return function(t,n){return"string"!=typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n)}}function Oh(e,t,n){return e._modulesNamespaceMap[n]} /*! * vue-router v4.0.10 * (c) 2021 Eduardo San Martin Morote * @license MIT */const Ah="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,Ih=e=>Ah?Symbol(e):"_vr_"+e,Nh=Ih("rvlm"),Dh=Ih("rvd"),Mh=Ih("r"),Rh=Ih("rl"),Lh=Ih("rvl"),Ph="undefined"!=typeof window;function jh(e){return e.__esModule||Ah&&"Module"===e[Symbol.toStringTag]}const Fh=Object.assign;function Uh(e,t){const n={};for(const r in t){const i=t[r];n[r]=Array.isArray(i)?i.map(e):e(i)}return n}let qh=()=>{};const Bh=/\/$/;function Vh(e,t,n="/"){let r,i={},o="",s="";const a=t.indexOf("?"),c=t.indexOf("#",a>-1?a:0);return a>-1&&(r=t.slice(0,a),o=t.slice(a+1,c>-1?c:t.length),i=e(o)),c>-1&&(r=r||t.slice(0,c),s=t.slice(c,t.length)),r=function(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/");let i,o,s=n.length-1;for(i=0;ie===t[n])):1===e.length&&e[0]===t}var Yh,Qh,Kh,Jh;function Xh(e){if(!e)if(Ph){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(Bh,"")}(Qh=Yh||(Yh={})).pop="pop",Qh.push="push",(Jh=Kh||(Kh={})).back="back",Jh.forward="forward",Jh.unknown="";const Zh=/^[^#]+#/;function ep(e,t){return e.replace(Zh,"#")+t}const tp=()=>({left:window.pageXOffset,top:window.pageYOffset});function np(e){let t;if("el"in e){let n=e.el;const r="string"==typeof n&&n.startsWith("#"),i="string"==typeof n?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=function(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}(i,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.pageXOffset,null!=t.top?t.top:window.pageYOffset)}function rp(e,t){return(history.state?history.state.position-t:-1)+e}const ip=new Map;function op(e,t){const{pathname:n,search:r,hash:i}=t,o=e.indexOf("#");if(o>-1){let t=i.includes(e.slice(o))?e.slice(o).length:1,n=i.slice(t);return"/"!==n[0]&&(n="/"+n),Hh(n,"")}return Hh(n,e)+r+i}function sp(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?tp():null}}function ap(e){const{history:t,location:n}=window;let r={value:op(e,n)},i={value:t.state};function o(r,o,s){const a=e.indexOf("#"),c=a>-1?(n.host&&document.querySelector("base")?e:e.slice(a))+r:location.protocol+"//"+location.host+e+r;try{t[s?"replaceState":"pushState"](o,"",c),i.value=o}catch(u){console.error(u),n[s?"replace":"assign"](c)}}return i.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:r,state:i,push:function(e,n){const s=Fh({},i.value,t.state,{forward:e,scroll:tp()});o(s.current,s,!0),o(e,Fh({},sp(r.value,e,null),{position:s.position+1},n),!1),r.value=e},replace:function(e,n){o(e,Fh({},t.state,sp(i.value.back,e,i.value.forward,!0),n,{position:i.value.position}),!0),r.value=e}}}function cp(e){const t=ap(e=Xh(e)),n=function(e,t,n,r){let i=[],o=[],s=null;const a=({state:o})=>{const a=op(e,location),c=n.value,u=t.value;let l=0;if(o){if(n.value=a,t.value=o,s&&s===c)return void(s=null);l=u?o.position-u.position:0}else r(a);i.forEach((e=>{e(n.value,c,{delta:l,type:Yh.pop,direction:l?l>0?Kh.forward:Kh.back:Kh.unknown})}))};function c(){const{history:e}=window;e.state&&e.replaceState(Fh({},e.state,{scroll:tp()}),"")}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",c),{pauseListeners:function(){s=n.value},listen:function(e){i.push(e);const t=()=>{const t=i.indexOf(e);t>-1&&i.splice(t,1)};return o.push(t),t},destroy:function(){for(const e of o)e();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",c)}}}(e,t.state,t.location,t.replace);const r=Fh({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:ep.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function up(e){return"string"==typeof e||"symbol"==typeof e}const lp={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},dp=Ih("nf");var fp,hp;function pp(e,t){return Fh(new Error,{type:e,[dp]:!0},t)}function mp(e,t){return e instanceof Error&&dp in e&&(null==t||!!(e.type&t))}(hp=fp||(fp={}))[hp.aborted=4]="aborted",hp[hp.cancelled=8]="cancelled",hp[hp.duplicated=16]="duplicated";const gp={sensitive:!1,strict:!1,start:!0,end:!0},yp=/[.+*?^${}()[\]/\\]/g;function vp(e,t){let n=0;for(;nt.length?1===t.length&&80===t[0]?1:-1:0}function bp(e,t){let n=0;const r=e.score,i=t.score;for(;n1&&("*"===a||"+"===a)&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:u,regexp:l,repeatable:"*"===a||"+"===a,optional:"*"===a||"?"===a})):t("Invalid state to consume buffer"),u="")}function f(){u+=a}for(;c{o(f)}:qh}function o(e){if(up(e)){const t=r.get(e);t&&(r.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(o),t.alias.forEach(o))}else{let t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&r.delete(e.record.name),e.children.forEach(o),e.alias.forEach(o))}}function s(e){let t=0;for(;t=0;)t++;n.splice(t,0,e),e.record.name&&!Tp(e)&&r.set(e.record.name,e)}return t=Cp({strict:!1,end:!0,sensitive:!1},t),e.forEach((e=>i(e))),{addRoute:i,resolve:function(e,t){let i,o,s,a={};if("name"in e&&e.name){if(i=r.get(e.name),!i)throw pp(1,{location:e});s=i.record.name,a=Fh(function(e,t){let n={};for(let r of t)r in e&&(n[r]=e[r]);return n}(t.params,i.keys.filter((e=>!e.optional)).map((e=>e.name))),e.params),o=i.stringify(a)}else if("path"in e)o=e.path,i=n.find((e=>e.re.test(o))),i&&(a=i.parse(o),s=i.record.name);else{if(i=t.name?r.get(t.name):n.find((e=>e.re.test(t.path))),!i)throw pp(1,{location:e,currentLocation:t});s=i.record.name,a=Fh({},t.params,e.params),o=i.stringify(a)}const c=[];let u=i;for(;u;)c.unshift(u.record),u=u.parent;return{name:s,path:o,params:a,matched:c,meta:Ep(c)}},removeRoute:o,getRoutes:function(){return n},getRecordMatcher:function(e){return r.get(e)}}}function kp(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(let r in e.components)t[r]="boolean"==typeof n?n:n[r];return t}function Tp(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Ep(e){return e.reduce(((e,t)=>Fh(e,t.meta)),{})}function Cp(e,t){let n={};for(let r in e)n[r]=r in t?t[r]:e[r];return n}const Op=/#/g,Ap=/&/g,Ip=/\//g,Np=/=/g,Dp=/\?/g,Mp=/\+/g,Rp=/%5B/g,Lp=/%5D/g,Pp=/%5E/g,jp=/%60/g,Fp=/%7B/g,Up=/%7C/g,qp=/%7D/g,Bp=/%20/g;function Vp(e){return encodeURI(""+e).replace(Up,"|").replace(Rp,"[").replace(Lp,"]")}function Hp(e){return Vp(e).replace(Mp,"%2B").replace(Bp,"+").replace(Op,"%23").replace(Ap,"%26").replace(jp,"`").replace(Fp,"{").replace(qp,"}").replace(Pp,"^")}function zp(e){return function(e){return Vp(e).replace(Op,"%23").replace(Dp,"%3F")}(e).replace(Ip,"%2F")}function $p(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function Wp(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let r=0;re&&Hp(e))):[r&&Hp(r)]).forEach((e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))}))}return t}function Yp(e){const t={};for(let n in e){let r=e[n];void 0!==r&&(t[n]=Array.isArray(r)?r.map((e=>null==e?null:""+e)):null==r?r:""+r)}return t}function Qp(){let e=[];return{add:function(t){return e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}},list:()=>e,reset:function(){e=[]}}}function Kp(e,t,n,r,i){const o=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise(((s,a)=>{const c=e=>{var c;!1===e?a(pp(4,{from:n,to:t})):e instanceof Error?a(e):"string"==typeof(c=e)||c&&"object"==typeof c?a(pp(2,{from:t,to:e})):(o&&r.enterCallbacks[i]===o&&"function"==typeof e&&o.push(e),s())},u=e.call(r&&r.instances[i],t,n,c);let l=Promise.resolve(u);e.length<3&&(l=l.then(c)),l.catch((e=>a(e)))}))}function Jp(e,t,n,r){const i=[];for(const s of e)for(const e in s.components){let a=s.components[e];if("beforeRouteEnter"===t||s.instances[e])if("object"==typeof(o=a)||"displayName"in o||"props"in o||"__vccOpts"in o){const o=(a.__vccOpts||a)[t];o&&i.push(Kp(o,n,r,s,e))}else{let o=a();i.push((()=>o.then((i=>{if(!i)return Promise.reject(new Error(`Couldn't resolve component "${e}" at "${s.path}"`));const o=jh(i)?i.default:i;s.components[e]=o;const a=(o.__vccOpts||o)[t];return a&&Kp(a,n,r,s,e)()}))))}}var o;return i}function Xp(e){const t=Ka(Mh),n=Ka(Rh),r=zu((()=>t.resolve(no(e.to)))),i=zu((()=>{let{matched:e}=r.value,{length:t}=e;const i=e[t-1];let o=n.matched;if(!i||!o.length)return-1;let s=o.findIndex(zh.bind(null,i));if(s>-1)return s;let a=em(e[t-2]);return t>1&&em(i)===a&&o[o.length-1].path!==a?o.findIndex(zh.bind(null,e[t-2])):s})),o=zu((()=>i.value>-1&&function(e,t){for(let n in t){let r=t[n],i=e[n];if("string"==typeof r){if(r!==i)return!1}else if(!Array.isArray(i)||i.length!==r.length||r.some(((e,t)=>e!==i[t])))return!1}return!0}(n.params,r.value.params))),s=zu((()=>i.value>-1&&i.value===n.matched.length-1&&$h(n.params,r.value.params)));return{route:r,href:zu((()=>r.value.href)),isActive:o,isExactActive:s,navigate:function(n={}){return function(e){if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)return;if(e.defaultPrevented)return;if(void 0!==e.button&&0!==e.button)return;if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}e.preventDefault&&e.preventDefault();return!0}(n)?t[no(e.replace)?"replace":"push"](no(e.to)).catch(qh):Promise.resolve()}}}const Zp=Es({name:"RouterLink",props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Xp,setup(e,{slots:t}){const n=Fi(Xp(e)),{options:r}=Ka(Mh),i=zu((()=>({[tm(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[tm(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const r=t.default&&t.default(n);return e.custom?r:$u("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},r)}}});function em(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const tm=(e,t,n)=>null!=e?e:null!=t?t:n;function nm(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const rm=Es({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},setup(e,{attrs:t,slots:n}){const r=Ka(Lh),i=zu((()=>e.route||r.value)),o=Ka(Dh,0),s=zu((()=>i.value.matched[o]));Qa(Dh,o+1),Qa(Nh,s),Qa(Lh,i);const a=Xi();return Tc((()=>[a.value,s.value,e.name]),(([e,t,n],[r,i,o])=>{t&&(t.instances[n]=e,i&&i!==t&&e&&e===r&&(t.leaveGuards.size||(t.leaveGuards=i.leaveGuards),t.updateGuards.size||(t.updateGuards=i.updateGuards))),!e||!t||i&&zh(t,i)&&r||(t.enterCallbacks[n]||[]).forEach((t=>t(e)))}),{flush:"post"}),()=>{const r=i.value,o=s.value,c=o&&o.components[e.name],u=e.name;if(!c)return nm(n.default,{Component:c,route:r});const l=o.props[e.name],d=l?!0===l?r.params:"function"==typeof l?l(r):l:null,f=$u(c,Fh({},d,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(o.instances[u]=null)},ref:a}));return nm(n.default,{Component:f,route:r})||f}}});function im(e){const t=xp(e.routes,e);let n=e.parseQuery||Wp,r=e.stringifyQuery||Gp,i=e.history;const o=Qp(),s=Qp(),a=Qp(),c=Zi(lp);let u=lp;Ph&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const l=Uh.bind(null,(e=>""+e)),d=Uh.bind(null,zp),f=Uh.bind(null,$p);function h(e,o){if(o=Fh({},o||c.value),"string"==typeof e){let r=Vh(n,e,o.path),s=t.resolve({path:r.path},o),a=i.createHref(r.fullPath);return Fh(r,s,{params:f(s.params),hash:$p(r.hash),redirectedFrom:void 0,href:a})}let s;"path"in e?s=Fh({},e,{path:Vh(n,e.path,o.path).path}):(s=Fh({},e,{params:d(e.params)}),o.params=d(o.params));let a=t.resolve(s,o);const u=e.hash||"";a.params=l(f(a.params));const h=function(e,t){let n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(r,Fh({},e,{hash:(p=u,Vp(p).replace(Fp,"{").replace(qp,"}").replace(Pp,"^")),path:a.path}));var p;let m=i.createHref(h);return Fh({fullPath:h,hash:u,query:r===Gp?Yp(e.query):e.query},a,{redirectedFrom:void 0,href:m})}function p(e){return"string"==typeof e?Vh(n,e,c.value.path):Fh({},e)}function m(e,t){if(u!==e)return pp(8,{from:t,to:e})}function g(e){return v(e)}function y(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){const{redirect:n}=t;let r="function"==typeof n?n(e):n;return"string"==typeof r&&(r=r.includes("?")||r.includes("#")?r=p(r):{path:r},r.params={}),Fh({query:e.query,hash:e.hash,params:e.params},r)}}function v(e,t){const n=u=h(e),i=c.value,o=e.state,s=e.force,a=!0===e.replace,l=y(n);if(l)return v(Fh(p(l),{state:o,force:s,replace:a}),t||n);const d=n;let f;return d.redirectedFrom=t,!s&&function(e,t,n){let r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&zh(t.matched[r],n.matched[i])&&$h(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(r,i,n)&&(f=pp(16,{to:d,from:i}),I(i,i,!0,!1)),(f?Promise.resolve(f):_(d,i)).catch((e=>mp(e)?e:O(e,d,i))).then((e=>{if(e){if(mp(e,2))return v(Fh(p(e.to),{state:o,force:s,replace:a}),t||d)}else e=S(d,i,!0,a,o);return w(d,i,e),e}))}function b(e,t){const n=m(e,t);return n?Promise.reject(n):Promise.resolve()}function _(e,t){let n;const[r,i,a]=function(e,t){const n=[],r=[],i=[],o=Math.max(t.matched.length,e.matched.length);for(let s=0;szh(e,o)))?r.push(o):n.push(o));const a=e.matched[s];a&&(t.matched.find((e=>zh(e,a)))||i.push(a))}return[n,r,i]}(e,t);n=Jp(r.reverse(),"beforeRouteLeave",e,t);for(const o of r)o.leaveGuards.forEach((r=>{n.push(Kp(r,e,t))}));const c=b.bind(null,e,t);return n.push(c),om(n).then((()=>{n=[];for(const r of o.list())n.push(Kp(r,e,t));return n.push(c),om(n)})).then((()=>{n=Jp(i,"beforeRouteUpdate",e,t);for(const r of i)r.updateGuards.forEach((r=>{n.push(Kp(r,e,t))}));return n.push(c),om(n)})).then((()=>{n=[];for(const r of e.matched)if(r.beforeEnter&&!t.matched.includes(r))if(Array.isArray(r.beforeEnter))for(const i of r.beforeEnter)n.push(Kp(i,e,t));else n.push(Kp(r.beforeEnter,e,t));return n.push(c),om(n)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),n=Jp(a,"beforeRouteEnter",e,t),n.push(c),om(n)))).then((()=>{n=[];for(const r of s.list())n.push(Kp(r,e,t));return n.push(c),om(n)})).catch((e=>mp(e,8)?e:Promise.reject(e)))}function w(e,t,n){for(const r of a.list())r(e,t,n)}function S(e,t,n,r,o){const s=m(e,t);if(s)return s;const a=t===lp,u=Ph?history.state:{};n&&(r||a?i.replace(e.fullPath,Fh({scroll:a&&u&&u.scroll},o)):i.push(e.fullPath,o)),c.value=e,I(e,t,n,a),A()}let x;function k(){x=i.listen(((e,t,n)=>{let r=h(e);const o=y(r);if(o)return void v(Fh(o,{replace:!0}),r).catch(qh);u=r;const s=c.value;var a,l;Ph&&(a=rp(s.fullPath,n.delta),l=tp(),ip.set(a,l)),_(r,s).catch((e=>mp(e,12)?e:mp(e,2)?(v(e.to,r).then((e=>{mp(e,20)&&!n.delta&&n.type===Yh.pop&&i.go(-1,!1)})).catch(qh),Promise.reject()):(n.delta&&i.go(-n.delta,!1),O(e,r,s)))).then((e=>{(e=e||S(r,s,!1))&&(n.delta?i.go(-n.delta,!1):n.type===Yh.pop&&mp(e,20)&&i.go(-1,!1)),w(r,s,e)})).catch(qh)}))}let T,E=Qp(),C=Qp();function O(e,t,n){A(e);const r=C.list();return r.length?r.forEach((r=>r(e,t,n))):console.error(e),Promise.reject(e)}function A(e){T||(T=!0,k(),E.list().forEach((([t,n])=>e?n(e):t())),E.reset())}function I(t,n,r,i){const{scrollBehavior:o}=e;if(!Ph||!o)return Promise.resolve();let s=!r&&function(e){const t=ip.get(e);return ip.delete(e),t}(rp(t.fullPath,0))||(i||!r)&&history.state&&history.state.scroll||null;return Lo().then((()=>o(t,n,s))).then((e=>e&&np(e))).catch((e=>O(e,t,n)))}const N=e=>i.go(e);let D;const M=new Set;return{currentRoute:c,addRoute:function(e,n){let r,i;return up(e)?(r=t.getRecordMatcher(e),i=n):i=e,t.addRoute(i,r)},removeRoute:function(e){let n=t.getRecordMatcher(e);n&&t.removeRoute(n)},hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map((e=>e.record))},resolve:h,options:e,push:g,replace:function(e){return g(Fh(p(e),{replace:!0}))},go:N,back:()=>N(-1),forward:()=>N(1),beforeEach:o.add,beforeResolve:s.add,afterEach:a.add,onError:C.add,isReady:function(){return T&&c.value!==lp?Promise.resolve():new Promise(((e,t)=>{E.add([e,t])}))},install(e){e.component("RouterLink",Zp),e.component("RouterView",rm),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>no(c)}),Ph&&!D&&c.value===lp&&(D=!0,g(i.location).catch((e=>{})));const t={};for(let r in lp)t[r]=zu((()=>c.value[r]));e.provide(Mh,this),e.provide(Rh,Fi(t)),e.provide(Lh,c);let n=e.unmount;M.add(e),e.unmount=function(){M.delete(e),M.size<1&&(x(),c.value=lp,D=!1,T=!1),n()}}}}function om(e){return e.reduce(((e,t)=>e.then((()=>t()))),Promise.resolve())}function sm(){return Ka(Mh)}function am(){return Ka(Rh)}var cm={exports:{}};!function(e){!function(t){function n(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function r(e,t,r,i,o,s){return n((a=n(n(t,e),n(i,s)))<<(c=o)|a>>>32-c,r);var a,c}function i(e,t,n,i,o,s,a){return r(t&n|~t&i,e,t,o,s,a)}function o(e,t,n,i,o,s,a){return r(t&i|n&~i,e,t,o,s,a)}function s(e,t,n,i,o,s,a){return r(t^n^i,e,t,o,s,a)}function a(e,t,n,i,o,s,a){return r(n^(t|~i),e,t,o,s,a)}function c(e,t){var r,c,u,l,d;e[t>>5]|=128<>>9<<4)]=t;var f=1732584193,h=-271733879,p=-1732584194,m=271733878;for(r=0;r>5]>>>t%32&255);return n}function l(e){var t,n=[];for(n[(e.length>>2)-1]=void 0,t=0;t>5]|=(255&e.charCodeAt(t/8))<>>4&15)+r.charAt(15&t);return i}function f(e){return unescape(encodeURIComponent(e))}function h(e){return function(e){return u(c(l(e),8*e.length))}(f(e))}function p(e,t){return function(e,t){var n,r,i=l(e),o=[],s=[];for(o[15]=s[15]=void 0,i.length>16&&(i=c(i,8*e.length)),n=0;n<16;n+=1)o[n]=909522486^i[n],s[n]=1549556828^i[n];return r=c(o.concat(l(t)),512+8*t.length),u(c(s.concat(r),640))}(f(e),f(t))}function m(e,t,n){return t?n?p(t,e):d(p(t,e)):n?h(e):d(h(e))}e.exports?e.exports=m:t.md5=m}(l)}(cm);var um=cm.exports,lm=function(e,t){return(lm=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)}; /*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */function dm(e,t){function n(){this.constructor=e}lm(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var fm=function(){return(fm=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=km)return console[e].apply(console,arguments)}}function Em(e){return(Em="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}(Sm=wm||(wm={})).log=Tm("log"),Sm.warn=Tm("warn"),Sm.error=Tm("error"),"object"!=typeof process||"object"!=typeof process.env||process;var Cm="function"==typeof Symbol&&null!=Symbol.toStringTag?Symbol.toStringTag:"@@toStringTag";function Om(e,t){for(var n,r=/\r\n|[\n\r]/g,i=1,o=t+1;(n=r.exec(e.body))&&n.index120){for(var f=Math.floor(c/80),h=c%80,p=[],m=0;m",EOF:"",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"});function Jm(e){return(Jm="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Xm(e){return Zm(e,[])}function Zm(e,t){switch(Jm(e)){case"string":return JSON.stringify(e);case"function":return e.name?"[function ".concat(e.name,"]"):"[function]";case"object":return null===e?"null":function(e,t){if(-1!==t.indexOf(e))return"[Circular]";var n=[].concat(t,[e]),r=function(e){var t=e[String($m)];if("function"==typeof t)return t;if("function"==typeof e.inspect)return e.inspect}(e);if(void 0!==r){var i=r.call(e);if(i!==e)return"string"==typeof i?i:Zm(i,n)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>2)return"[Array]";for(var n=Math.min(10,e.length),r=e.length-n,i=[],o=0;o1&&i.push("... ".concat(r," more items"));return"["+i.join(", ")+"]"}(e,n);return function(e,t){var n=Object.keys(e);if(0===n.length)return"{}";if(t.length>2)return"["+function(e){var t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){var n=e.constructor.name;if("string"==typeof n&&""!==n)return n}return t}(e)+"]";return"{ "+n.map((function(n){return n+": "+Zm(e[n],t)})).join(", ")+" }"}(e,n)}(e,t);default:return String(e)}}function eg(e,t){if(!Boolean(e))throw new Error(t)}function tg(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:"GraphQL request",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{line:1,column:1};"string"==typeof e||eg(0,"Body must be a string. Received: ".concat(Xm(e),".")),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||eg(0,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||eg(0,"column in locationOffset is 1-indexed and must be positive.")}var t,n,r;return t=e,(n=[{key:Cm,get:function(){return"Source"}}])&&tg(t.prototype,n),r&&tg(t,r),e}();var rg=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"});function ig(e){var t=e.split(/\r\n|[\n\r]/g),n=function(e){for(var t,n=!0,r=!0,i=0,o=null,s=0;si&&og(t[o-1]);)--o;return t.slice(i,o).join("\n")}function og(e){for(var t=0;t31||9===o));return new Ym(Km.COMMENT,t,a,n,r,i,s.slice(t+1,a))}function dg(e,t,n,r,i,o){var s=e.body,a=n,c=t,u=!1;if(45===a&&(a=s.charCodeAt(++c)),48===a){if((a=s.charCodeAt(++c))>=48&&a<=57)throw Hm(e,c,"Invalid number, unexpected digit after 0: ".concat(ag(a),"."))}else c=fg(e,c,a),a=s.charCodeAt(c);if(46===a&&(u=!0,a=s.charCodeAt(++c),c=fg(e,c,a),a=s.charCodeAt(c)),69!==a&&101!==a||(u=!0,43!==(a=s.charCodeAt(++c))&&45!==a||(a=s.charCodeAt(++c)),c=fg(e,c,a),a=s.charCodeAt(c)),46===a||function(e){return 95===e||e>=65&&e<=90||e>=97&&e<=122}(a))throw Hm(e,c,"Invalid number, expected digit but got: ".concat(ag(a),"."));return new Ym(u?Km.FLOAT:Km.INT,t,c,r,i,o,s.slice(t,c))}function fg(e,t,n){var r=e.body,i=t,o=n;if(o>=48&&o<=57){do{o=r.charCodeAt(++i)}while(o>=48&&o<=57);return i}throw Hm(e,i,"Invalid number, expected digit but got: ".concat(ag(o),"."))}function hg(e,t,n,r,i){for(var o,s,a,c,u=e.body,l=t+1,d=l,f=0,h="";l=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function gg(e,t,n,r,i){for(var o=e.body,s=o.length,a=t+1,c=0;a!==s&&!isNaN(c=o.charCodeAt(a))&&(95===c||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122);)++a;return new Ym(Km.NAME,t,a,n,r,i,o.slice(t,a))}var yg=function(){function e(e,t){var n=function(e){return e instanceof ng}(e)?e:new ng(e);this._lexer=new sg(n),this._options=t}var t=e.prototype;return t.parseName=function(){var e=this.expectToken(Km.NAME);return{kind:zm.NAME,value:e.value,loc:this.loc(e)}},t.parseDocument=function(){var e=this._lexer.token;return{kind:zm.DOCUMENT,definitions:this.many(Km.SOF,this.parseDefinition,Km.EOF),loc:this.loc(e)}},t.parseDefinition=function(){if(this.peek(Km.NAME))switch(this._lexer.token.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return this.parseTypeSystemDefinition();case"extend":return this.parseTypeSystemExtension()}else{if(this.peek(Km.BRACE_L))return this.parseOperationDefinition();if(this.peekDescription())return this.parseTypeSystemDefinition()}throw this.unexpected()},t.parseOperationDefinition=function(){var e=this._lexer.token;if(this.peek(Km.BRACE_L))return{kind:zm.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(e)};var t,n=this.parseOperationType();return this.peek(Km.NAME)&&(t=this.parseName()),{kind:zm.OPERATION_DEFINITION,operation:n,name:t,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseOperationType=function(){var e=this.expectToken(Km.NAME);switch(e.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(e)},t.parseVariableDefinitions=function(){return this.optionalMany(Km.PAREN_L,this.parseVariableDefinition,Km.PAREN_R)},t.parseVariableDefinition=function(){var e=this._lexer.token;return{kind:zm.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(Km.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(Km.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(e)}},t.parseVariable=function(){var e=this._lexer.token;return this.expectToken(Km.DOLLAR),{kind:zm.VARIABLE,name:this.parseName(),loc:this.loc(e)}},t.parseSelectionSet=function(){var e=this._lexer.token;return{kind:zm.SELECTION_SET,selections:this.many(Km.BRACE_L,this.parseSelection,Km.BRACE_R),loc:this.loc(e)}},t.parseSelection=function(){return this.peek(Km.SPREAD)?this.parseFragment():this.parseField()},t.parseField=function(){var e,t,n=this._lexer.token,r=this.parseName();return this.expectOptionalToken(Km.COLON)?(e=r,t=this.parseName()):t=r,{kind:zm.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(Km.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(n)}},t.parseArguments=function(e){var t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(Km.PAREN_L,t,Km.PAREN_R)},t.parseArgument=function(){var e=this._lexer.token,t=this.parseName();return this.expectToken(Km.COLON),{kind:zm.ARGUMENT,name:t,value:this.parseValueLiteral(!1),loc:this.loc(e)}},t.parseConstArgument=function(){var e=this._lexer.token;return{kind:zm.ARGUMENT,name:this.parseName(),value:(this.expectToken(Km.COLON),this.parseValueLiteral(!0)),loc:this.loc(e)}},t.parseFragment=function(){var e=this._lexer.token;this.expectToken(Km.SPREAD);var t=this.expectOptionalKeyword("on");return!t&&this.peek(Km.NAME)?{kind:zm.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(e)}:{kind:zm.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseFragmentDefinition=function(){var e,t=this._lexer.token;return this.expectKeyword("fragment"),!0===(null===(e=this._options)||void 0===e?void 0:e.experimentalFragmentVariables)?{kind:zm.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}:{kind:zm.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}},t.parseFragmentName=function(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()},t.parseValueLiteral=function(e){var t=this._lexer.token;switch(t.kind){case Km.BRACKET_L:return this.parseList(e);case Km.BRACE_L:return this.parseObject(e);case Km.INT:return this._lexer.advance(),{kind:zm.INT,value:t.value,loc:this.loc(t)};case Km.FLOAT:return this._lexer.advance(),{kind:zm.FLOAT,value:t.value,loc:this.loc(t)};case Km.STRING:case Km.BLOCK_STRING:return this.parseStringLiteral();case Km.NAME:switch(this._lexer.advance(),t.value){case"true":return{kind:zm.BOOLEAN,value:!0,loc:this.loc(t)};case"false":return{kind:zm.BOOLEAN,value:!1,loc:this.loc(t)};case"null":return{kind:zm.NULL,loc:this.loc(t)};default:return{kind:zm.ENUM,value:t.value,loc:this.loc(t)}}case Km.DOLLAR:if(!e)return this.parseVariable()}throw this.unexpected()},t.parseStringLiteral=function(){var e=this._lexer.token;return this._lexer.advance(),{kind:zm.STRING,value:e.value,block:e.kind===Km.BLOCK_STRING,loc:this.loc(e)}},t.parseList=function(e){var t=this,n=this._lexer.token;return{kind:zm.LIST,values:this.any(Km.BRACKET_L,(function(){return t.parseValueLiteral(e)}),Km.BRACKET_R),loc:this.loc(n)}},t.parseObject=function(e){var t=this,n=this._lexer.token;return{kind:zm.OBJECT,fields:this.any(Km.BRACE_L,(function(){return t.parseObjectField(e)}),Km.BRACE_R),loc:this.loc(n)}},t.parseObjectField=function(e){var t=this._lexer.token,n=this.parseName();return this.expectToken(Km.COLON),{kind:zm.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e),loc:this.loc(t)}},t.parseDirectives=function(e){for(var t=[];this.peek(Km.AT);)t.push(this.parseDirective(e));return t},t.parseDirective=function(e){var t=this._lexer.token;return this.expectToken(Km.AT),{kind:zm.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e),loc:this.loc(t)}},t.parseTypeReference=function(){var e,t=this._lexer.token;return this.expectOptionalToken(Km.BRACKET_L)?(e=this.parseTypeReference(),this.expectToken(Km.BRACKET_R),e={kind:zm.LIST_TYPE,type:e,loc:this.loc(t)}):e=this.parseNamedType(),this.expectOptionalToken(Km.BANG)?{kind:zm.NON_NULL_TYPE,type:e,loc:this.loc(t)}:e},t.parseNamedType=function(){var e=this._lexer.token;return{kind:zm.NAMED_TYPE,name:this.parseName(),loc:this.loc(e)}},t.parseTypeSystemDefinition=function(){var e=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(e.kind===Km.NAME)switch(e.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}throw this.unexpected(e)},t.peekDescription=function(){return this.peek(Km.STRING)||this.peek(Km.BLOCK_STRING)},t.parseDescription=function(){if(this.peekDescription())return this.parseStringLiteral()},t.parseSchemaDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");var n=this.parseDirectives(!0),r=this.many(Km.BRACE_L,this.parseOperationTypeDefinition,Km.BRACE_R);return{kind:zm.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:r,loc:this.loc(e)}},t.parseOperationTypeDefinition=function(){var e=this._lexer.token,t=this.parseOperationType();this.expectToken(Km.COLON);var n=this.parseNamedType();return{kind:zm.OPERATION_TYPE_DEFINITION,operation:t,type:n,loc:this.loc(e)}},t.parseScalarTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");var n=this.parseName(),r=this.parseDirectives(!0);return{kind:zm.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:r,loc:this.loc(e)}},t.parseObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");var n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseDirectives(!0),o=this.parseFieldsDefinition();return{kind:zm.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:o,loc:this.loc(e)}},t.parseImplementsInterfaces=function(){var e;if(!this.expectOptionalKeyword("implements"))return[];if(!0===(null===(e=this._options)||void 0===e?void 0:e.allowLegacySDLImplementsInterfaces)){var t=[];this.expectOptionalToken(Km.AMP);do{t.push(this.parseNamedType())}while(this.expectOptionalToken(Km.AMP)||this.peek(Km.NAME));return t}return this.delimitedMany(Km.AMP,this.parseNamedType)},t.parseFieldsDefinition=function(){var e;return!0===(null===(e=this._options)||void 0===e?void 0:e.allowLegacySDLEmptyFields)&&this.peek(Km.BRACE_L)&&this._lexer.lookahead().kind===Km.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(Km.BRACE_L,this.parseFieldDefinition,Km.BRACE_R)},t.parseFieldDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseArgumentDefs();this.expectToken(Km.COLON);var i=this.parseTypeReference(),o=this.parseDirectives(!0);return{kind:zm.FIELD_DEFINITION,description:t,name:n,arguments:r,type:i,directives:o,loc:this.loc(e)}},t.parseArgumentDefs=function(){return this.optionalMany(Km.PAREN_L,this.parseInputValueDef,Km.PAREN_R)},t.parseInputValueDef=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(Km.COLON);var r,i=this.parseTypeReference();this.expectOptionalToken(Km.EQUALS)&&(r=this.parseValueLiteral(!0));var o=this.parseDirectives(!0);return{kind:zm.INPUT_VALUE_DEFINITION,description:t,name:n,type:i,defaultValue:r,directives:o,loc:this.loc(e)}},t.parseInterfaceTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");var n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseDirectives(!0),o=this.parseFieldsDefinition();return{kind:zm.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:o,loc:this.loc(e)}},t.parseUnionTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");var n=this.parseName(),r=this.parseDirectives(!0),i=this.parseUnionMemberTypes();return{kind:zm.UNION_TYPE_DEFINITION,description:t,name:n,directives:r,types:i,loc:this.loc(e)}},t.parseUnionMemberTypes=function(){return this.expectOptionalToken(Km.EQUALS)?this.delimitedMany(Km.PIPE,this.parseNamedType):[]},t.parseEnumTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");var n=this.parseName(),r=this.parseDirectives(!0),i=this.parseEnumValuesDefinition();return{kind:zm.ENUM_TYPE_DEFINITION,description:t,name:n,directives:r,values:i,loc:this.loc(e)}},t.parseEnumValuesDefinition=function(){return this.optionalMany(Km.BRACE_L,this.parseEnumValueDefinition,Km.BRACE_R)},t.parseEnumValueDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseDirectives(!0);return{kind:zm.ENUM_VALUE_DEFINITION,description:t,name:n,directives:r,loc:this.loc(e)}},t.parseInputObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");var n=this.parseName(),r=this.parseDirectives(!0),i=this.parseInputFieldsDefinition();return{kind:zm.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:r,fields:i,loc:this.loc(e)}},t.parseInputFieldsDefinition=function(){return this.optionalMany(Km.BRACE_L,this.parseInputValueDef,Km.BRACE_R)},t.parseTypeSystemExtension=function(){var e=this._lexer.lookahead();if(e.kind===Km.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)},t.parseSchemaExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var t=this.parseDirectives(!0),n=this.optionalMany(Km.BRACE_L,this.parseOperationTypeDefinition,Km.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return{kind:zm.SCHEMA_EXTENSION,directives:t,operationTypes:n,loc:this.loc(e)}},t.parseScalarTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var t=this.parseName(),n=this.parseDirectives(!0);if(0===n.length)throw this.unexpected();return{kind:zm.SCALAR_TYPE_EXTENSION,name:t,directives:n,loc:this.loc(e)}},t.parseObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseDirectives(!0),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return{kind:zm.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i,loc:this.loc(e)}},t.parseInterfaceTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseDirectives(!0),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return{kind:zm.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i,loc:this.loc(e)}},t.parseUnionTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseUnionMemberTypes();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:zm.UNION_TYPE_EXTENSION,name:t,directives:n,types:r,loc:this.loc(e)}},t.parseEnumTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseEnumValuesDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:zm.ENUM_TYPE_EXTENSION,name:t,directives:n,values:r,loc:this.loc(e)}},t.parseInputObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseInputFieldsDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:zm.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:r,loc:this.loc(e)}},t.parseDirectiveDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(Km.AT);var n=this.parseName(),r=this.parseArgumentDefs(),i=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var o=this.parseDirectiveLocations();return{kind:zm.DIRECTIVE_DEFINITION,description:t,name:n,arguments:r,repeatable:i,locations:o,loc:this.loc(e)}},t.parseDirectiveLocations=function(){return this.delimitedMany(Km.PIPE,this.parseDirectiveLocation)},t.parseDirectiveLocation=function(){var e=this._lexer.token,t=this.parseName();if(void 0!==rg[t.value])return t;throw this.unexpected(e)},t.loc=function(e){var t;if(!0!==(null===(t=this._options)||void 0===t?void 0:t.noLocation))return new Gm(e,this._lexer.lastToken,this._lexer.source)},t.peek=function(e){return this._lexer.token.kind===e},t.expectToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t;throw Hm(this._lexer.source,t.start,"Expected ".concat(bg(e),", found ").concat(vg(t),"."))},t.expectOptionalToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t},t.expectKeyword=function(e){var t=this._lexer.token;if(t.kind!==Km.NAME||t.value!==e)throw Hm(this._lexer.source,t.start,'Expected "'.concat(e,'", found ').concat(vg(t),"."));this._lexer.advance()},t.expectOptionalKeyword=function(e){var t=this._lexer.token;return t.kind===Km.NAME&&t.value===e&&(this._lexer.advance(),!0)},t.unexpected=function(e){var t=null!=e?e:this._lexer.token;return Hm(this._lexer.source,t.start,"Unexpected ".concat(vg(t),"."))},t.any=function(e,t,n){this.expectToken(e);for(var r=[];!this.expectOptionalToken(n);)r.push(t.call(this));return r},t.optionalMany=function(e,t,n){if(this.expectOptionalToken(e)){var r=[];do{r.push(t.call(this))}while(!this.expectOptionalToken(n));return r}return[]},t.many=function(e,t,n){this.expectToken(e);var r=[];do{r.push(t.call(this))}while(!this.expectOptionalToken(n));return r},t.delimitedMany=function(e,t){this.expectOptionalToken(e);var n=[];do{n.push(t.call(this))}while(this.expectOptionalToken(e));return n},e}();function vg(e){var t=e.value;return bg(e.kind)+(null!=t?' "'.concat(t,'"'):"")}function bg(e){return function(e){return e===Km.BANG||e===Km.DOLLAR||e===Km.AMP||e===Km.PAREN_L||e===Km.PAREN_R||e===Km.SPREAD||e===Km.COLON||e===Km.EQUALS||e===Km.AT||e===Km.BRACKET_L||e===Km.BRACKET_R||e===Km.BRACE_L||e===Km.PIPE||e===Km.BRACE_R}(e)?'"'.concat(e,'"'):e}var _g={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},wg=Object.freeze({});function Sg(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:_g,r=void 0,i=Array.isArray(e),o=[e],s=-1,a=[],c=void 0,u=void 0,l=void 0,d=[],f=[],h=e;do{var p=++s===o.length,m=p&&0!==a.length;if(p){if(u=0===f.length?void 0:d[d.length-1],c=l,l=f.pop(),m){if(i)c=c.slice();else{for(var g={},y=0,v=Object.keys(c);y80&&(a=s+Ag("(\n",Ig(Cg(r,"\n")),"\n)")),Cg([a,Cg(i," "),o]," ")},Argument:function(e){return e.name+": "+e.value},FragmentSpread:function(e){return"..."+e.name+Ag(" ",Cg(e.directives," "))},InlineFragment:function(e){var t=e.typeCondition,n=e.directives,r=e.selectionSet;return Cg(["...",Ag("on ",t),Cg(n," "),r]," ")},FragmentDefinition:function(e){var t=e.name,n=e.typeCondition,r=e.variableDefinitions,i=e.directives,o=e.selectionSet;return"fragment ".concat(t).concat(Ag("(",Cg(r,", "),")")," ")+"on ".concat(n," ").concat(Ag("",Cg(i," ")," "))+o},IntValue:function(e){return e.value},FloatValue:function(e){return e.value},StringValue:function(e,t){var n=e.value;return e.block?function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=-1===e.indexOf("\n"),i=" "===e[0]||"\t"===e[0],o='"'===e[e.length-1],s="\\"===e[e.length-1],a=!r||o||s||n,c="";return!a||r&&i||(c+="\n"+t),c+=t?e.replace(/\n/g,"\n"+t):e,a&&(c+="\n"),'"""'+c.replace(/"""/g,'\\"""')+'"""'}(n,"description"===t?"":" "):JSON.stringify(n)},BooleanValue:function(e){return e.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(e){return e.value},ListValue:function(e){return"["+Cg(e.values,", ")+"]"},ObjectValue:function(e){return"{"+Cg(e.fields,", ")+"}"},ObjectField:function(e){return e.name+": "+e.value},Directive:function(e){return"@"+e.name+Ag("(",Cg(e.arguments,", "),")")},NamedType:function(e){return e.name},ListType:function(e){return"["+e.type+"]"},NonNullType:function(e){return e.type+"!"},SchemaDefinition:Eg((function(e){var t=e.directives,n=e.operationTypes;return Cg(["schema",Cg(t," "),Og(n)]," ")})),OperationTypeDefinition:function(e){return e.operation+": "+e.type},ScalarTypeDefinition:Eg((function(e){return Cg(["scalar",e.name,Cg(e.directives," ")]," ")})),ObjectTypeDefinition:Eg((function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return Cg(["type",t,Ag("implements ",Cg(n," & ")),Cg(r," "),Og(i)]," ")})),FieldDefinition:Eg((function(e){var t=e.name,n=e.arguments,r=e.type,i=e.directives;return t+(Dg(n)?Ag("(\n",Ig(Cg(n,"\n")),"\n)"):Ag("(",Cg(n,", "),")"))+": "+r+Ag(" ",Cg(i," "))})),InputValueDefinition:Eg((function(e){var t=e.name,n=e.type,r=e.defaultValue,i=e.directives;return Cg([t+": "+n,Ag("= ",r),Cg(i," ")]," ")})),InterfaceTypeDefinition:Eg((function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return Cg(["interface",t,Ag("implements ",Cg(n," & ")),Cg(r," "),Og(i)]," ")})),UnionTypeDefinition:Eg((function(e){var t=e.name,n=e.directives,r=e.types;return Cg(["union",t,Cg(n," "),r&&0!==r.length?"= "+Cg(r," | "):""]," ")})),EnumTypeDefinition:Eg((function(e){var t=e.name,n=e.directives,r=e.values;return Cg(["enum",t,Cg(n," "),Og(r)]," ")})),EnumValueDefinition:Eg((function(e){return Cg([e.name,Cg(e.directives," ")]," ")})),InputObjectTypeDefinition:Eg((function(e){var t=e.name,n=e.directives,r=e.fields;return Cg(["input",t,Cg(n," "),Og(r)]," ")})),DirectiveDefinition:Eg((function(e){var t=e.name,n=e.arguments,r=e.repeatable,i=e.locations;return"directive @"+t+(Dg(n)?Ag("(\n",Ig(Cg(n,"\n")),"\n)"):Ag("(",Cg(n,", "),")"))+(r?" repeatable":"")+" on "+Cg(i," | ")})),SchemaExtension:function(e){var t=e.directives,n=e.operationTypes;return Cg(["extend schema",Cg(t," "),Og(n)]," ")},ScalarTypeExtension:function(e){return Cg(["extend scalar",e.name,Cg(e.directives," ")]," ")},ObjectTypeExtension:function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return Cg(["extend type",t,Ag("implements ",Cg(n," & ")),Cg(r," "),Og(i)]," ")},InterfaceTypeExtension:function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return Cg(["extend interface",t,Ag("implements ",Cg(n," & ")),Cg(r," "),Og(i)]," ")},UnionTypeExtension:function(e){var t=e.name,n=e.directives,r=e.types;return Cg(["extend union",t,Cg(n," "),r&&0!==r.length?"= "+Cg(r," | "):""]," ")},EnumTypeExtension:function(e){var t=e.name,n=e.directives,r=e.values;return Cg(["extend enum",t,Cg(n," "),Og(r)]," ")},InputObjectTypeExtension:function(e){var t=e.name,n=e.directives,r=e.fields;return Cg(["extend input",t,Cg(n," "),Og(r)]," ")}};function Eg(e){return function(t){return Cg([t.description,e(t)],"\n")}}function Cg(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return null!==(t=null==e?void 0:e.filter((function(e){return e})).join(n))&&void 0!==t?t:""}function Og(e){return Ag("{\n",Ig(Cg(e,"\n")),"\n}")}function Ag(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return null!=t&&""!==t?e+t+n:""}function Ig(e){return Ag(" ",e.replace(/\n/g,"\n "))}function Ng(e){return-1!==e.indexOf("\n")}function Dg(e){return null!=e&&e.some(Ng)}function Mg(e,t){var n=e.directives;return!n||!n.length||function(e){var t=[];e&&e.length&&e.forEach((function(e){if(function(e){var t=e.name.value;return"skip"===t||"include"===t}(e)){var n=e.arguments;e.name.value,wm(n&&1===n.length,39);var r=n[0];wm(r.name&&"if"===r.name.value,40);var i=r.value;wm(i&&("Variable"===i.kind||"BooleanValue"===i.kind),41),t.push({directive:e,ifArgument:r})}}));return t}(n).every((function(e){var n=e.directive,r=e.ifArgument,i=!1;return"Variable"===r.value.kind?wm(void 0!==(i=t&&t[r.value.name.value]),38):i=r.value.value,"skip"===n.name.value?!i:i}))}function Rg(e,t){return function(e){var t=[];return Sg(e,{Directive:function(e){t.push(e.name.value)}}),t}(t).some((function(t){return e.indexOf(t)>-1}))}function Lg(e){return e&&Rg(["client"],e)&&Rg(["export"],e)}function Pg(e,t){var n=t,r=[];return e.definitions.forEach((function(e){if("OperationDefinition"===e.kind)throw new _m(42);"FragmentDefinition"===e.kind&&r.push(e)})),void 0===n&&(wm(1===r.length,43),n=r[0].name.value),fm(fm({},e),{definitions:gm([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:n}}]}}],e.definitions)})}function jg(e){void 0===e&&(e=[]);var t={};return e.forEach((function(e){t[e.name.value]=e})),t}function Fg(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":var n=t&&t[e.name.value];return wm(n,44),n;default:return null}}function Ug(e){return{__ref:String(e)}}function qg(e){return Boolean(e&&"object"==typeof e&&"string"==typeof e.__ref)}function Bg(e,t,n,r){if(function(e){return"IntValue"===e.kind}(n)||function(e){return"FloatValue"===e.kind}(n))e[t.value]=Number(n.value);else if(function(e){return"BooleanValue"===e.kind}(n)||function(e){return"StringValue"===e.kind}(n))e[t.value]=n.value;else if(function(e){return"ObjectValue"===e.kind}(n)){var i={};n.fields.map((function(e){return Bg(i,e.name,e.value,r)})),e[t.value]=i}else if(function(e){return"Variable"===e.kind}(n)){var o=(r||{})[n.name.value];e[t.value]=o}else if(function(e){return"ListValue"===e.kind}(n))e[t.value]=n.values.map((function(e){var n={};return Bg(n,t,e,r),n[t.value]}));else if(function(e){return"EnumValue"===e.kind}(n))e[t.value]=n.value;else{if(!function(e){return"NullValue"===e.kind}(n))throw new _m(53);e[t.value]=null}}var Vg=["connection","include","skip","client","rest","export"];function Hg(e,t,n){if(t&&n&&n.connection&&n.connection.key){if(n.connection.filter&&n.connection.filter.length>0){var r=n.connection.filter?n.connection.filter:[];r.sort();var i={};return r.forEach((function(e){i[e]=t[e]})),n.connection.key+"("+JSON.stringify(i)+")"}return n.connection.key}var o=e;if(t){var s=function(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});var n,r="boolean"==typeof t.cycles&&t.cycles,i=t.cmp&&(n=t.cmp,function(e){return function(t,r){var i={key:t,value:e[t]},o={key:r,value:e[r]};return n(i,o)}}),o=[];return function e(t){if(t&&t.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0!==t){if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);var n,s;if(Array.isArray(t)){for(s="[",n=0;n1)for(var r=new gy,i=1;i1,i=!1,o=arguments[1],s=o;return new n((function(n){return t.subscribe({next:function(t){var o=!i;if(i=!0,!o||r)try{s=e(s,t)}catch(JZ){return n.error(JZ)}else s=t},error:function(e){n.error(e)},complete:function(){if(!i&&!r)return n.error(new TypeError("Cannot reduce an empty sequence"));n.next(s),n.complete()}})}))}},{key:"concat",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r=0&&i.splice(e,1),s()}});i.push(o)},error:function(e){r.error(e)},complete:function(){s()}});function s(){o.closed&&0===i.length&&r.complete()}return function(){i.forEach((function(e){return e.unsubscribe()})),o.unsubscribe()}}))}},{key:Ty,value:function(){return this}}],[{key:"from",value:function(t){var n="function"==typeof this?this:e;if(null==t)throw new TypeError(t+" is not an object");var r=Cy(t,Ty);if(r){var i=r.call(t);if(Object(i)!==i)throw new TypeError(i+" is not an object");return function(e){return e instanceof jy}(i)&&i.constructor===n?i:new n((function(e){return i.subscribe(e)}))}if(Sy("iterator")&&(r=Cy(t,ky)))return new n((function(e){Iy((function(){if(!e.closed){var n=!0,i=!1,o=void 0;try{for(var s,a=r.call(t)[Symbol.iterator]();!(n=(s=a.next()).done);n=!0){var c=s.value;if(e.next(c),e.closed)return}}catch(u){i=!0,o=u}finally{try{n||null==a.return||a.return()}finally{if(i)throw o}}e.complete()}}))}));if(Array.isArray(t))return new n((function(e){Iy((function(){if(!e.closed){for(var n=0;n0}function Qy(e){return e.errors&&e.errors.length>0||!1}$y(Gy);var Ky="function"==typeof WeakMap&&!("object"==typeof navigator&&"ReactNative"===navigator.product);function Jy(){for(var e=[],t=0;t=300&&Zy(e,t,"Response not successful: Received status code "+e.status),Array.isArray(t)||ov.call(t,"data")||ov.call(t,"errors")||Zy(e,t,"Server response was missing for query '"+(Array.isArray(i)?i.map((function(e){return e.operationName})):i.operationName)+"'."),t}))})).then((function(e){return n.next(e),n.complete(),e})).catch((function(e){"AbortError"!==e.name&&(e.result&&e.result.errors&&e.result.data&&n.next(e.result),n.error(e))})),function(){f&&f.abort()}}))}))},uv=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,cv(t).request)||this;return n.options=t,n}return dm(t,e),t}(rv);const{toString:lv,hasOwnProperty:dv}=Object.prototype,fv=Function.prototype.toString,hv=new Map;function pv(e,t){try{return mv(e,t)}finally{hv.clear()}}function mv(e,t){if(e===t)return!0;const n=lv.call(e);if(n!==lv.call(t))return!1;switch(n){case"[object Array]":if(e.length!==t.length)return!1;case"[object Object]":{if(bv(e,t))return!0;const n=gv(e),r=gv(t),i=n.length;if(i!==r.length)return!1;for(let e=0;e=0&&e.indexOf(t,n)===n}(n,vv)}}return!1}function gv(e){return Object.keys(e).filter(yv,e)}function yv(e){return void 0!==this[e]}const vv="{ [native code] }";function bv(e,t){let n=hv.get(e);if(n){if(n.has(t))return!0}else hv.set(e,n=new Set);return n.add(t),!1}var _v,wv,Sv=function(e){function t(n){var r,i,o=n.graphQLErrors,s=n.networkError,a=n.errorMessage,c=n.extraInfo,u=e.call(this,a)||this;return u.graphQLErrors=o||[],u.networkError=s||null,u.message=a||(i="",Yy((r=u).graphQLErrors)&&r.graphQLErrors.forEach((function(e){var t=e?e.message:"Error message not found.";i+=t+"\n"})),r.networkError&&(i+=r.networkError.message+"\n"),i=i.replace(/\n$/,"")),u.extraInfo=c,u.__proto__=t.prototype,u}return dm(t,e),t}(Error);function xv(e){return!!e&&e<7}(wv=_v||(_v={}))[wv.loading=1]="loading",wv[wv.setVariables=2]="setVariables",wv[wv.fetchMore=3]="fetchMore",wv[wv.refetch=4]="refetch",wv[wv.poll=6]="poll",wv[wv.ready=7]="ready",wv[wv.error=8]="error";var kv=function(){function e(e,t,n,r){this.observer=e,this.options=t,this.fetch=n,this.shouldFetch=r}return e.prototype.reobserve=function(e,t){e?this.updateOptions(e):this.updatePolling();var n=this.fetch(this.options,t);return this.concast&&this.concast.removeObserver(this.observer,!0),n.addObserver(this.observer),(this.concast=n).promise},e.prototype.updateOptions=function(e){return Object.assign(this.options,Jy(e)),this.updatePolling(),this},e.prototype.stop=function(){this.concast&&(this.concast.removeObserver(this.observer),delete this.concast),this.pollingInfo&&(clearTimeout(this.pollingInfo.timeout),this.options.pollInterval=0,this.updatePolling())},e.prototype.updatePolling=function(){var e=this,t=this.pollingInfo,n=this.options.pollInterval;if(n){if((!t||t.interval!==n)&&(wm(n,20),!1!==this.shouldFetch)){(t||(this.pollingInfo={})).interval=n;var r=function(){e.pollingInfo&&(e.shouldFetch&&e.shouldFetch()?e.reobserve({fetchPolicy:"network-only",nextFetchPolicy:e.options.fetchPolicy||"cache-first"},_v.poll).then(i,i):i())},i=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(r,t.interval))};i()}}else t&&(clearTimeout(t.timeout),delete this.pollingInfo)},e}(),Tv=function(e){function t(t){var n=t.queryManager,r=t.queryInfo,i=t.options,o=e.call(this,(function(e){return o.onSubscribe(e)}))||this;o.observers=new Set,o.subscriptions=new Set,o.observer={next:function(e){(o.lastError||o.isDifferentFromLastResult(e))&&(o.updateLastResult(e),Hy(o.observers,"next",e))},error:function(e){o.updateLastResult(fm(fm({},o.lastResult),{error:e,errors:e.graphQLErrors,networkStatus:_v.error,loading:!1})),Hy(o.observers,"error",o.lastError=e)}},o.isTornDown=!1,o.options=i,o.queryId=n.generateQueryId();var s=Kg(i.query);return o.queryName=s&&s.name&&s.name.value,o.queryManager=n,o.queryInfo=r,o}return dm(t,e),Object.defineProperty(t.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),t.prototype.result=function(){var e=this;return new Promise((function(t,n){var r={next:function(n){t(n),e.observers.delete(r),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout((function(){i.unsubscribe()}),0)},error:n},i=e.subscribe(r)}))},t.prototype.getCurrentResult=function(e){void 0===e&&(e=!0);var t=this.lastResult,n=this.queryInfo.networkStatus||t&&t.networkStatus||_v.ready,r=fm(fm({},t),{loading:xv(n),networkStatus:n});if(this.isTornDown)return r;var i=this.options.fetchPolicy,o=void 0===i?"cache-first":i;if("no-cache"===o||"network-only"===o)delete r.partial;else if(!r.data||!this.queryManager.transform(this.options.query).hasForcedResolvers){var s=this.queryInfo.getDiff();r.data=s.complete||this.options.returnPartialData?s.result:void 0,s.complete?(r.networkStatus!==_v.loading||"cache-first"!==o&&"cache-only"!==o||(r.networkStatus=_v.ready,r.loading=!1),delete r.partial):r.partial=!0}return e&&this.updateLastResult(r),r},t.prototype.isDifferentFromLastResult=function(e){return!pv(this.lastResultSnapshot,e)},t.prototype.getLastResult=function(){return this.lastResult},t.prototype.getLastError=function(){return this.lastError},t.prototype.resetLastResults=function(){delete this.lastResult,delete this.lastResultSnapshot,delete this.lastError,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},t.prototype.refetch=function(e){var t={pollInterval:0},n=this.options.fetchPolicy;return"no-cache"!==n&&"cache-and-network"!==n&&(t.fetchPolicy="network-only",t.nextFetchPolicy=n||"cache-first"),e&&!pv(this.options.variables,e)&&(t.variables=this.options.variables=fm(fm({},this.options.variables),e)),this.newReobserver(!1).reobserve(t,_v.refetch)},t.prototype.fetchMore=function(e){var t=this,n=fm(fm({},e.query?e:fm(fm(fm({},this.options),e),{variables:fm(fm({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"}),r=this.queryManager.generateQueryId();return n.notifyOnNetworkStatusChange&&(this.queryInfo.networkStatus=_v.fetchMore,this.observe()),this.queryManager.fetchQuery(r,n,_v.fetchMore).then((function(r){var i=r.data,o=e.updateQuery;return o?t.updateQuery((function(e){return o(e,{fetchMoreResult:i,variables:n.variables})})):t.queryManager.cache.writeQuery({query:n.query,variables:n.variables,data:i}),r})).finally((function(){t.queryManager.stopQuery(r),t.reobserve()}))},t.prototype.subscribeToMore=function(e){var t=this,n=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(n){var r=e.updateQuery;r&&t.updateQuery((function(e,t){var i=t.variables;return r(e,{subscriptionData:n,variables:i})}))},error:function(t){e.onError&&e.onError(t)}});return this.subscriptions.add(n),function(){t.subscriptions.delete(n)&&n.unsubscribe()}},t.prototype.setOptions=function(e){return this.reobserve(e)},t.prototype.setVariables=function(e){if(pv(this.variables,e))return this.observers.size?this.result():Promise.resolve();if(this.options.variables=e,!this.observers.size)return Promise.resolve();var t=this.options.fetchPolicy,n=void 0===t?"cache-first":t,r={fetchPolicy:n,variables:e};return"cache-first"!==n&&"no-cache"!==n&&"network-only"!==n&&(r.fetchPolicy="cache-and-network",r.nextFetchPolicy=n),this.reobserve(r,_v.setVariables)},t.prototype.updateQuery=function(e){var t,n=this.queryManager,r=e(n.cache.diff({query:this.options.query,variables:this.variables,previousResult:null===(t=this.lastResult)||void 0===t?void 0:t.data,returnPartialData:!0,optimistic:!1}).result,{variables:this.variables});r&&(n.cache.writeQuery({query:this.options.query,data:r,variables:this.variables}),n.broadcastQueries())},t.prototype.startPolling=function(e){this.getReobserver().updateOptions({pollInterval:e})},t.prototype.stopPolling=function(){this.reobserver&&this.reobserver.updateOptions({pollInterval:0})},t.prototype.updateLastResult=function(e){var t=this.lastResult;return this.lastResult=e,this.lastResultSnapshot=this.queryManager.assumeImmutableResults?e:By(e),Yy(e.errors)||delete this.lastError,t},t.prototype.onSubscribe=function(e){var t=this;if(e===this.observer)return function(){};try{var n=e._subscription._observer;n&&!n.error&&(n.error=Ev)}catch(i){}var r=!this.observers.size;return this.observers.add(e),this.lastError?e.error&&e.error(this.lastError):this.lastResult&&e.next&&e.next(this.lastResult),r&&this.reobserve().catch((function(e){})),function(){t.observers.delete(e)&&!t.observers.size&&t.tearDownQuery()}},t.prototype.getReobserver=function(){return this.reobserver||(this.reobserver=this.newReobserver(!0))},t.prototype.newReobserver=function(e){var t=this,n=this.queryManager,r=this.queryId;return n.setObservableQuery(this),new kv(this.observer,e?this.options:fm({},this.options),(function(e,i){return n.setObservableQuery(t),n.fetchQueryObservable(r,e,i)}),!n.ssrMode&&function(){return!xv(t.queryInfo.networkStatus)})},t.prototype.reobserve=function(e,t){return this.isTornDown=!1,this.getReobserver().reobserve(e,t)},t.prototype.observe=function(){this.observer.next(this.getCurrentResult(!1))},t.prototype.hasObservers=function(){return this.observers.size>0},t.prototype.tearDownQuery=function(){this.isTornDown||(this.reobserver&&(this.reobserver.stop(),delete this.reobserver),this.subscriptions.forEach((function(e){return e.unsubscribe()})),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},t}(Fy);function Ev(e){}$y(Tv);var Cv=function(){return Object.create(null)},Ov=Array.prototype,Av=Ov.forEach,Iv=Ov.slice,Nv=function(){function e(e,t){void 0===e&&(e=!0),void 0===t&&(t=Cv),this.weakness=e,this.makeData=t}return e.prototype.lookup=function(){for(var e=[],t=0;tglobalThis))||Lv((()=>global))||Object.create(null),jv=Pv["@wry/context:Slot"]||Array["@wry/context:Slot"]||function(e){try{Object.defineProperty(Pv,"@wry/context:Slot",{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(class{constructor(){this.id=["slot",Rv++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let e=Dv;e;e=e.parent)if(this.id in e.slots){const t=e.slots[this.id];if(t===Mv)break;return e!==Dv&&(Dv.slots[this.id]=t),!0}return Dv&&(Dv.slots[this.id]=Mv),!1}getValue(){if(this.hasValue())return Dv.slots[this.id]}withValue(e,t,n,r){const i={__proto__:null,[this.id]:e},o=Dv;Dv={parent:o,slots:i};try{return t.apply(r,n)}finally{Dv=o}}static bind(e){const t=Dv;return function(){const n=Dv;try{return Dv=t,e.apply(this,arguments)}finally{Dv=n}}}static noContext(e,t,n){if(!Dv)return e.apply(n,t);{const r=Dv;try{return Dv=null,e.apply(n,t)}finally{Dv=r}}}});function Fv(){}var Uv,qv=function(){function e(e,t){void 0===e&&(e=1/0),void 0===t&&(t=Fv),this.max=e,this.dispose=t,this.map=new Map,this.newest=null,this.oldest=null}return e.prototype.has=function(e){return this.map.has(e)},e.prototype.get=function(e){var t=this.getNode(e);return t&&t.value},e.prototype.getNode=function(e){var t=this.map.get(e);if(t&&t!==this.newest){var n=t.older,r=t.newer;r&&(r.older=n),n&&(n.newer=r),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=r)}return t},e.prototype.set=function(e,t){var n=this.getNode(e);return n?n.value=t:(n={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=n),this.newest=n,this.oldest=this.oldest||n,this.map.set(e,n),n.value)},e.prototype.clean=function(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)},e.prototype.delete=function(e){var t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),this.dispose(t.value,e),!0)},e}(),Bv=new jv,Vv=Object.prototype.hasOwnProperty,Hv=void 0===(Uv=Array.from)?function(e){var t=[];return e.forEach((function(e){return t.push(e)})),t}:Uv;function zv(e){var t=e.unsubscribe;"function"==typeof t&&(e.unsubscribe=void 0,t())}var $v=[];function Wv(e,t){if(!e)throw new Error(t||"assertion failure")}function Gv(e){switch(e.length){case 0:throw new Error("unknown value");case 1:return e[0];case 2:throw e[1]}}var Yv=function(){function e(t){this.fn=t,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++e.count}return e.prototype.peek=function(){if(1===this.value.length&&!Jv(this))return Qv(this),this.value[0]},e.prototype.recompute=function(e){return Wv(!this.recomputing,"already recomputing"),Qv(this),Jv(this)?function(e,t){ib(e),Bv.withValue(e,Kv,[e,t]),function(e,t){if("function"==typeof e.subscribe)try{zv(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(JZ){return e.setDirty(),!1}return!0}(e,t)&&function(e){if(e.dirty=!1,Jv(e))return;Zv(e)}(e);return Gv(e.value)}(this,e):Gv(this.value)},e.prototype.setDirty=function(){this.dirty||(this.dirty=!0,this.value.length=0,Xv(this),zv(this))},e.prototype.dispose=function(){var e=this;this.setDirty(),ib(this),eb(this,(function(t,n){t.setDirty(),ob(t,e)}))},e.prototype.forget=function(){this.dispose()},e.prototype.dependOn=function(e){e.add(this),this.deps||(this.deps=$v.pop()||new Set),this.deps.add(e)},e.prototype.forgetDeps=function(){var e=this;this.deps&&(Hv(this.deps).forEach((function(t){return t.delete(e)})),this.deps.clear(),$v.push(this.deps),this.deps=null)},e.count=0,e}();function Qv(e){var t=Bv.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),Jv(e)?tb(t,e):nb(t,e),t}function Kv(e,t){e.recomputing=!0,e.value.length=0;try{e.value[0]=e.fn.apply(null,t)}catch(JZ){e.value[1]=JZ}e.recomputing=!1}function Jv(e){return e.dirty||!(!e.dirtyChildren||!e.dirtyChildren.size)}function Xv(e){eb(e,tb)}function Zv(e){eb(e,nb)}function eb(e,t){var n=e.parents.size;if(n)for(var r=Hv(e.parents),i=0;i0&&i===r.length&&n[i-1]===r[i-1]||e.setDirty()),rb(e,t),Jv(e)||Zv(e)}function rb(e,t){var n=e.dirtyChildren;n&&(n.delete(t),0===n.size&&($v.length<100&&$v.push(n),e.dirtyChildren=null))}function ib(e){e.childValues.size>0&&e.childValues.forEach((function(t,n){ob(e,n)})),e.forgetDeps(),Wv(null===e.dirtyChildren)}function ob(e,t){t.parents.delete(e),e.childValues.delete(t),rb(e,t)}var sb={setDirty:!0,dispose:!0,forget:!0};function ab(e){var t=new Map,n=e&&e.subscribe;function r(e){var r=Bv.getValue();if(r){var i=t.get(e);i||t.set(e,i=new Set),r.dependOn(i),"function"==typeof n&&(zv(i),i.unsubscribe=n(e))}}return r.dirty=function(e,n){var r=t.get(e);if(r){var i=n&&Vv.call(sb,n)?n:"setDirty";Hv(r).forEach((function(e){return e[i]()})),t.delete(e),zv(r)}},r}function cb(){var e=new Nv("function"==typeof WeakMap);return function(){return e.lookupArray(arguments)}}cb();var ub=new Set;function lb(e,t){void 0===t&&(t=Object.create(null));var n=new qv(t.max||Math.pow(2,16),(function(e){return e.dispose()})),r=t.keyArgs,i=t.makeCacheKey||cb(),o=function(){var o=i.apply(null,r?r.apply(null,arguments):arguments);if(void 0===o)return e.apply(null,arguments);var s=n.get(o);s||(n.set(o,s=new Yv(e)),s.subscribe=t.subscribe,s.forget=function(){return n.delete(o)});var a=s.recompute(Array.prototype.slice.call(arguments));return n.set(o,s),ub.add(n),Bv.hasValue()||(ub.forEach((function(e){return e.clean()})),ub.clear()),a};function s(e){var t=n.get(e);t&&t.setDirty()}function a(e){var t=n.get(e);if(t)return t.peek()}function c(e){return n.delete(e)}return Object.defineProperty(o,"size",{get:function(){return n.map.size},configurable:!1,enumerable:!1}),o.dirtyKey=s,o.dirty=function(){s(i.apply(null,arguments))},o.peekKey=a,o.peek=function(){return a(i.apply(null,arguments))},o.forgetKey=c,o.forget=function(){return c(i.apply(null,arguments))},o.makeCacheKey=i,o.getKey=r?function(){return i.apply(null,r.apply(null,arguments))}:i,Object.freeze(o)}var db=function(){function e(){this.getFragmentDoc=lb(Pg)}return e.prototype.recordOptimisticTransaction=function(e,t){this.performTransaction(e,t)},e.prototype.transformDocument=function(e){return e},e.prototype.identify=function(e){},e.prototype.gc=function(){return[]},e.prototype.modify=function(e){return!1},e.prototype.transformForLink=function(e){return e},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read({rootId:e.id||"ROOT_QUERY",query:e.query,variables:e.variables,returnPartialData:e.returnPartialData,optimistic:t})},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read({query:this.getFragmentDoc(e.fragment,e.fragmentName),variables:e.variables,rootId:e.id,returnPartialData:e.returnPartialData,optimistic:t})},e.prototype.writeQuery=function(e){return this.write({dataId:e.id||"ROOT_QUERY",result:e.data,query:e.query,variables:e.variables,broadcast:e.broadcast})},e.prototype.writeFragment=function(e){return this.write({dataId:e.id,result:e.data,variables:e.variables,query:this.getFragmentDoc(e.fragment,e.fragmentName),broadcast:e.broadcast})},e}(),fb=function(e,t,n,r,i){this.message=e,this.path=t,this.query=n,this.clientOnly=r,this.variables=i},hb=Object.prototype.hasOwnProperty,pb=/^[_a-z][_0-9a-z]*/i;function mb(e){var t=e.match(pb);return t?t[0]:e}function gb(e,t,n){return!(!t||"object"!=typeof t)&&(Array.isArray(t)?t.every((function(t){return gb(e,t,n)})):e.selections.every((function(e){if(Gg(e)&&Mg(e,n)){var r=$g(e);return hb.call(t,r)&&(!e.selectionSet||gb(e.selectionSet,t[r],n))}return!0})))}function yb(e){return null!==e&&"object"==typeof e&&!qg(e)&&!Array.isArray(e)}var vb,bb,_b=Object.create(null),wb=function(){return _b},Sb=Object.create(null),xb=function(){function e(e,t){var n=this;this.policies=e,this.group=t,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(e,t){return qg(e)?n.get(e.__ref,t):e&&e[t]},this.canRead=function(e){return qg(e)?n.has(e.__ref):"object"==typeof e},this.toReference=function(e,t){if("string"==typeof e)return Ug(e);if(qg(e))return e;var r=n.policies.identify(e)[0];if(r){var i=Ug(r);return t&&n.merge(r,e),i}}}return e.prototype.toObject=function(){return fm({},this.data)},e.prototype.has=function(e){return void 0!==this.lookup(e,!0)},e.prototype.get=function(e,t){if(this.group.depend(e,t),hb.call(this.data,e)){var n=this.data[e];if(n&&hb.call(n,t))return n[t]}return"__typename"===t&&hb.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof Eb?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return t&&this.group.depend(e,"__exists"),hb.call(this.data,e)?this.data[e]:this instanceof Eb?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var n=this,r=this.lookup(e),i=new gy(Cb).merge(r,t);if(this.data[e]=i,i!==r&&(delete this.refs[e],this.group.caching)){var o=Object.create(null);r||(o.__exists=1),Object.keys(t).forEach((function(e){if(!r||r[e]!==i[e]){o[e]=1;var t=mb(e);t===e||n.policies.hasKeyArgs(i.__typename,t)||(o[t]=1),void 0!==i[e]||n instanceof Eb||delete i[e]}})),Object.keys(o).forEach((function(t){return n.group.dirty(e,t)}))}},e.prototype.modify=function(e,t){var n=this,r=this.lookup(e);if(r){var i=Object.create(null),o=!1,s=!0,a={DELETE:_b,INVALIDATE:Sb,isReference:qg,toReference:this.toReference,canRead:this.canRead,readField:function(t,r){return n.policies.readField("string"==typeof t?{fieldName:t,from:r||Ug(e)}:t,{store:n})}};if(Object.keys(r).forEach((function(c){var u=mb(c),l=r[c];if(void 0!==l){var d="function"==typeof t?t:t[c]||t[u];if(d){var f=d===wb?_b:d(l,fm(fm({},a),{fieldName:u,storeFieldName:c,storage:n.getStorage(e,c)}));f===Sb?n.group.dirty(e,c):(f===_b&&(f=void 0),f!==l&&(i[c]=f,o=!0,l=f))}void 0!==l&&(s=!1)}})),o)return this.merge(e,i),s&&(this instanceof Eb?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1},e.prototype.delete=function(e,t,n){var r,i=this.lookup(e);if(i){var o=this.getFieldValue(i,"__typename"),s=t&&n?this.policies.getStoreFieldName({typename:o,fieldName:t,args:n}):t;return this.modify(e,s?((r={})[s]=wb,r):wb)}return!1},e.prototype.evict=function(e){var t=!1;return e.id&&(hb.call(this.data,e.id)&&(t=this.delete(e.id,e.fieldName,e.args)),this instanceof Eb&&(t=this.parent.evict(e)||t),(e.fieldName||t)&&this.group.dirty(e.id,e.fieldName||"__exists")),t},e.prototype.clear=function(){this.replace(null)},e.prototype.extract=function(){var e=this,t=this.toObject(),n=[];return this.getRootIdSet().forEach((function(t){hb.call(e.policies.rootTypenamesById,t)||n.push(t)})),n.length&&(t.__META={extraRootIds:n.sort()}),t},e.prototype.replace=function(e){var t=this;if(Object.keys(this.data).forEach((function(n){e&&hb.call(e,n)||t.delete(n)})),e){var n=e.__META,r=hm(e,["__META"]);Object.keys(r).forEach((function(e){t.merge(e,r[e])})),n&&n.extraRootIds.forEach(this.retain,this)}},e.prototype.retain=function(e){return this.rootIds[e]=(this.rootIds[e]||0)+1},e.prototype.release=function(e){if(this.rootIds[e]>0){var t=--this.rootIds[e];return t||delete this.rootIds[e],t}return 0},e.prototype.getRootIdSet=function(e){return void 0===e&&(e=new Set),Object.keys(this.rootIds).forEach(e.add,e),this instanceof Eb?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e},e.prototype.gc=function(){var e=this,t=this.getRootIdSet(),n=this.toObject();t.forEach((function(r){hb.call(n,r)&&(Object.keys(e.findChildRefIds(r)).forEach(t.add,t),delete n[r])}));var r=Object.keys(n);if(r.length){for(var i=this;i instanceof Eb;)i=i.parent;r.forEach((function(e){return i.delete(e)}))}return r},e.prototype.findChildRefIds=function(e){if(!hb.call(this.refs,e)){var t=this.refs[e]=Object.create(null),n=new Set([this.data[e]]),r=function(e){return null!==e&&"object"==typeof e};n.forEach((function(e){qg(e)?t[e.__ref]=!0:r(e)&&Object.values(e).filter(r).forEach(n.add,n)}))}return this.refs[e]},e.prototype.makeCacheKey=function(){for(var e=[],t=0;t0;if(d&&!c)throw l.missing[0];return{result:l.result,missing:l.missing,complete:!d}},e.prototype.isFresh=function(e,t,n,r){if(Ob(r.store)&&this.knownResults.get(e)===n){var i=this.executeSelectionSet.peek(n,t,r);if(i&&e===i.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t=this,n=e.selectionSet,r=e.objectOrReference,i=e.context;if(qg(r)&&!i.policies.rootTypenamesById[r.__ref]&&!i.store.has(r.__ref))return{result:{},missing:[Ab(new _m(4),i)]};var o=i.variables,s=i.policies,a=i.store,c=[],u={result:null},l=a.getFieldValue(r,"__typename");function d(){return u.missing||(u.missing=[])}function f(e){var t;return e.missing&&(t=d()).push.apply(t,e.missing),e.result}this.config.addTypename&&"string"==typeof l&&!s.rootIdsByTypename[l]&&c.push({__typename:l});var h=new Set(n.selections);return h.forEach((function(e){var n;if(Mg(e,o))if(Gg(e)){var a=s.readField({fieldName:e.name.value,field:e,variables:i.variables,from:r},i),u=$g(e);i.path.push(u);var p=i.clientOnly;i.clientOnly=p||!(!e.directives||!e.directives.some((function(e){return"client"===e.name.value}))),void 0===a?ay.added(e)||d().push(Ab(new _m(5),i)):Array.isArray(a)?a=f(t.executeSubSelectedArray({field:e,array:a,context:i})):e.selectionSet&&null!=a&&(a=f(t.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:a,context:i}))),void 0!==a&&c.push(((n={})[u]=a,n)),i.clientOnly=p,wm(i.path.pop()===u)}else{var m=Fg(e,i.fragmentMap);m&&s.fragmentMatches(m,l)&&m.selectionSet.selections.forEach(h.add,h)}})),u.result=hy(c),this.knownResults.set(u.result,n),u},e.prototype.execSubSelectedArrayImpl=function(e){var t,n=this,r=e.field,i=e.array,o=e.context;function s(e,n){return e.missing&&(t=t||[]).push.apply(t,e.missing),wm(o.path.pop()===n),e.result}return r.selectionSet&&(i=i.filter(o.store.canRead)),{result:i=i.map((function(e,t){return null===e?null:(o.path.push(t),Array.isArray(e)?s(n.executeSubSelectedArray({field:r,array:e,context:o}),t):r.selectionSet?s(n.executeSelectionSet({selectionSet:r.selectionSet,objectOrReference:e,context:o}),t):(wm(o.path.pop()===t),e))})),missing:t}},e}(),Nb=function(){function e(e,t){this.cache=e,this.reader=t}return e.prototype.writeToStore=function(e){var t=e.query,n=e.result,r=e.dataId,i=e.store,o=e.variables,s=Kg(t),a=new gy;o=fm(fm({},ey(s)),o);var c=this.processSelectionSet({result:n||Object.create(null),dataId:r,selectionSet:s.selectionSet,mergeTree:{map:new Map},context:{store:i,written:Object.create(null),merge:function(e,t){return a.merge(e,t)},variables:o,varString:JSON.stringify(o),fragmentMap:jg(Xg(t))}});if(!qg(c))throw new _m(7);return i.retain(c.__ref),c},e.prototype.processSelectionSet=function(e){var t=this,n=e.dataId,r=e.result,i=e.selectionSet,o=e.context,s=e.mergeTree,a=this.cache.policies,c=a.identify(r,i,o.fragmentMap),u=c[0],l=c[1];if("string"==typeof(n=n||u)){var d=o.written[n]||(o.written[n]=[]),f=Ug(n);if(d.indexOf(i)>=0)return f;if(d.push(i),this.reader&&this.reader.isFresh(r,f,i,o))return f}var h=Object.create(null);l&&(h=o.merge(h,l));var p=n&&a.rootTypenamesById[n]||Wg(r,i,o.fragmentMap)||n&&o.store.get(n,"__typename");"string"==typeof p&&(h.__typename=p);var m=new Set(i.selections);if(m.forEach((function(e){var n;if(Mg(e,o.variables))if(Gg(e)){var i=$g(e),c=r[i];if(void 0!==c){var u=a.getStoreFieldName({typename:p,fieldName:e.name.value,field:e,variables:o.variables}),l=Mb(s,u),d=t.processFieldValue(c,e,o,l),f=e.selectionSet&&o.store.getFieldValue(d,"__typename")||void 0,g=a.getMergeFunction(p,e.name.value,f);g?l.info={field:e,typename:p,merge:g}:Rb(s,u),h=o.merge(h,((n={})[u]=d,n))}else if(a.usingPossibleTypes&&!Rg(["defer","client"],e))throw new _m(8)}else{var y=Fg(e,o.fragmentMap);y&&a.fragmentMatches(y,p,r,o.variables)&&y.selectionSet.selections.forEach(m.add,m)}})),"string"==typeof n){var g=Ug(n);return s.map.size&&(h=this.applyMerges(s,g,h,o)),o.store.merge(n,h),g}return h},e.prototype.processFieldValue=function(e,t,n,r){var i=this;return t.selectionSet&&null!==e?Array.isArray(e)?e.map((function(e,o){var s=i.processFieldValue(e,t,n,Mb(r,o));return Rb(r,o),s})):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:n,mergeTree:r}):e},e.prototype.applyMerges=function(e,t,n,r,i){var o,s=this;if(e.map.size&&!qg(n)){var a,c=Array.isArray(n)||!qg(t)&&!yb(t)?void 0:t,u=n;c&&!i&&(i=[qg(c)?c.__ref:c]);var l=function(e,t){return Array.isArray(e)?"number"==typeof t?e[t]:void 0:r.store.getFieldValue(e,String(t))};e.map.forEach((function(e,t){i&&i.push(t);var n=l(c,t),o=l(u,t),d=s.applyMerges(e,n,o,r,i);d!==o&&(a=a||new Map).set(t,d),i&&wm(i.pop()===t)})),a&&(n=Array.isArray(u)?u.slice(0):fm({},u),a.forEach((function(e,t){n[t]=e})))}return e.info?this.cache.policies.runMergeFunction(t,n,e.info,r,i&&(o=r.store).getStorage.apply(o,i)):n},e}(),Db=[];function Mb(e,t){var n=e.map;return n.has(t)||n.set(t,Db.pop()||{map:new Map}),n.get(t)}function Rb(e,t){var n=e.map,r=n.get(t);!r||r.info||r.map.size||(Db.push(r),n.delete(t))}var Lb=null,Pb={},jb=1,Fb=Array,Ub=Fb["@wry/context:Slot"]||function(){var e=function(){function e(){this.id=["slot",jb++,Date.now(),Math.random().toString(36).slice(2)].join(":")}return e.prototype.hasValue=function(){for(var e=Lb;e;e=e.parent)if(this.id in e.slots){var t=e.slots[this.id];if(t===Pb)break;return e!==Lb&&(Lb.slots[this.id]=t),!0}return Lb&&(Lb.slots[this.id]=Pb),!1},e.prototype.getValue=function(){if(this.hasValue())return Lb.slots[this.id]},e.prototype.withValue=function(e,t,n,r){var i,o=((i={__proto__:null})[this.id]=e,i),s=Lb;Lb={parent:s,slots:o};try{return t.apply(r,n)}finally{Lb=s}},e.bind=function(e){var t=Lb;return function(){var n=Lb;try{return Lb=t,e.apply(this,arguments)}finally{Lb=n}}},e.noContext=function(e,t,n){if(!Lb)return e.apply(n,t);var r=Lb;try{return Lb=null,e.apply(n,t)}finally{Lb=r}},e}();try{Object.defineProperty(Fb,"@wry/context:Slot",{value:Fb["@wry/context:Slot"]=e,enumerable:!1,writable:!1,configurable:!1})}finally{return e}}();Ub.bind,Ub.noContext;var qb=new Ub,Bb=new WeakMap;function Vb(e){var t=Bb.get(e);return t||Bb.set(e,t={vars:new Set,dep:ab()}),t}function Hb(e){var t=new Set,n=new Set,r=function(o){if(arguments.length>0){if(e!==o){e=o,t.forEach((function(e){Vb(e).dep.dirty(r),zb(e)}));var s=Array.from(n);n.clear(),s.forEach((function(t){return t(e)}))}}else{var a=qb.getValue();a&&(i(a),Vb(a).dep(r))}return e};r.onNextChange=function(e){return n.add(e),function(){n.delete(e)}};var i=r.attachCache=function(e){return t.add(e),Vb(e).vars.add(r),r};return r.forgetCache=function(e){return t.delete(e)},r}function zb(e){e.broadcastWatches&&e.broadcastWatches()}function $b(e){return void 0!==e.args?e.args:e.field?zg(e.field,e.variables):null}var Wb=function(e,t){var n=e.__typename,r=e.id,i=e._id;if("string"==typeof n&&(t&&(t.keyObject=void 0!==r?{id:r}:void 0!==i?{_id:i}:void 0),void 0===r&&(r=i),void 0!==r))return n+":"+("number"==typeof r||"string"==typeof r?r:JSON.stringify(r))},Gb=function(){},Yb=function(e,t){return t.fieldName},Qb=function(e,t,n){return(0,n.mergeObjects)(e,t)},Kb=function(e,t){return t},Jb=function(){function e(e){this.config=e,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=fm({dataIdFromObject:Wb},e),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),e.possibleTypes&&this.addPossibleTypes(e.possibleTypes),e.typePolicies&&this.addTypePolicies(e.typePolicies)}return e.prototype.identify=function(e,t,n){var r=t&&n?Wg(e,t,n):e.__typename;if(r===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var i,o={typename:r,selectionSet:t,fragmentMap:n},s=r&&this.getTypePolicy(r),a=s&&s.keyFn||this.config.dataIdFromObject;a;){var c=a(e,o);if(!Array.isArray(c)){i=c;break}a=t_(c)}return i=i?String(i):void 0,o.keyObject?[i,o.keyObject]:[i]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach((function(n){var r=e[n],i=r.queryType,o=r.mutationType,s=r.subscriptionType,a=hm(r,["queryType","mutationType","subscriptionType"]);i&&t.setRootTypename("Query",n),o&&t.setRootTypename("Mutation",n),s&&t.setRootTypename("Subscription",n),hb.call(t.toBeAdded,n)?t.toBeAdded[n].push(a):t.toBeAdded[n]=[a]}))},e.prototype.updateTypePolicy=function(e,t){var n=this,r=this.getTypePolicy(e),i=t.keyFields,o=t.fields;function s(e,t){e.merge="function"==typeof t?t:!0===t?Qb:!1===t?Kb:e.merge}s(r,t.merge),r.keyFn=!1===i?Gb:Array.isArray(i)?t_(i):"function"==typeof i?i:r.keyFn,o&&Object.keys(o).forEach((function(t){var r=n.getFieldPolicy(e,t,!0),i=o[t];if("function"==typeof i)r.read=i;else{var a=i.keyArgs,c=i.read,u=i.merge;r.keyFn=!1===a?Yb:Array.isArray(a)?e_(a):"function"==typeof a?a:r.keyFn,"function"==typeof c&&(r.read=c),s(r,u)}r.read&&r.merge&&(r.keyFn=r.keyFn||Yb)}))},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var n="ROOT_"+e.toUpperCase(),r=this.rootTypenamesById[n];t!==r&&(wm(!r||r===e,1),r&&delete this.rootIdsByTypename[r],this.rootIdsByTypename[t]=n,this.rootTypenamesById[n]=t)},e.prototype.addPossibleTypes=function(e){var t=this;this.usingPossibleTypes=!0,Object.keys(e).forEach((function(n){t.getSupertypeSet(n,!0),e[n].forEach((function(e){t.getSupertypeSet(e,!0).add(n);var r=e.match(pb);r&&r[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))}))}))},e.prototype.getTypePolicy=function(e){var t=this;if(!hb.call(this.typePolicies,e)){var n=this.typePolicies[e]=Object.create(null);n.fields=Object.create(null);var r=this.supertypeMap.get(e);r&&r.size&&r.forEach((function(e){var r=t.getTypePolicy(e),i=r.fields,o=hm(r,["fields"]);Object.assign(n,o),Object.assign(n.fields,i)}))}var i=this.toBeAdded[e];return i&&i.length&&i.splice(0).forEach((function(n){t.updateTypePolicy(e,n)})),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t,n){if(e){var r=this.getTypePolicy(e).fields;return r[t]||n&&(r[t]=Object.create(null))}},e.prototype.getSupertypeSet=function(e,t){var n=this.supertypeMap.get(e);return!n&&t&&this.supertypeMap.set(e,n=new Set),n},e.prototype.fragmentMatches=function(e,t,n,r){var i=this;if(!e.typeCondition)return!0;if(!t)return!1;var o=e.typeCondition.name.value;if(t===o)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(o))for(var s=this.getSupertypeSet(t,!0),a=[s],c=function(e){var t=i.getSupertypeSet(e,!1);t&&t.size&&a.indexOf(t)<0&&a.push(t)},u=!(!n||!this.fuzzySubtypes.size),l=0;l=e.lastRequestId){if(o&&"none"===n.errorPolicy)throw e.markError(new Sv({graphQLErrors:i.errors}));e.markResult(i,n,t),e.markReady()}var s={data:i.data,loading:!1,networkStatus:e.networkStatus||_v.ready};return o&&"ignore"!==n.errorPolicy&&(s.errors=i.errors),s}),(function(t){var n=t.hasOwnProperty("graphQLErrors")?t:new Sv({networkError:t});throw r>=e.lastRequestId&&e.markError(n),n}))},e.prototype.fetchQueryObservable=function(e,t,n){var r=this;void 0===n&&(n=_v.loading);var i=this.transform(t.query).document,o=this.getVariables(i,t.variables),s=this.getQuery(e),a=s.networkStatus,c=t.fetchPolicy,u=void 0===c?"cache-first":c,l=t.errorPolicy,d=void 0===l?"none":l,f=t.returnPartialData,h=void 0!==f&&f,p=t.notifyOnNetworkStatusChange,m=void 0!==p&&p,g=t.context,y=void 0===g?{}:g;("cache-first"===u||"cache-and-network"===u||"network-only"===u||"no-cache"===u)&&m&&"number"==typeof a&&a!==n&&xv(n)&&("cache-first"!==u&&(u="cache-and-network"),h=!0);var v=Object.assign({},t,{query:i,variables:o,fetchPolicy:u,errorPolicy:d,returnPartialData:h,notifyOnNetworkStatusChange:m,context:y}),b=function(e){return v.variables=e,r.fetchQueryByPolicy(s,v,n)};this.fetchCancelFns.set(e,(function(e){Promise.resolve().then((function(){return _.cancel(e)}))}));var _=new Gy(this.transform(v.query).hasClientExports?this.localState.addExportedVariables(v.query,v.variables,v.context).then(b):b(v.variables));return _.cleanup((function(){r.fetchCancelFns.delete(e);var n=t.nextFetchPolicy;n&&(t.nextFetchPolicy=void 0,t.fetchPolicy="function"==typeof n?n.call(t,t.fetchPolicy||"cache-first"):n)})),_},e.prototype.fetchQueryByPolicy=function(e,t,n){var r=this,i=t.query,o=t.variables,s=t.fetchPolicy,a=t.errorPolicy,c=t.returnPartialData,u=t.context;e.init({document:i,variables:o,networkStatus:n});var l=function(){return e.getDiff(o)},d=function(t,n){void 0===n&&(n=e.networkStatus||_v.loading);var s=t.result,a=function(e){return Fy.of(fm({data:e,loading:xv(n),networkStatus:n},t.complete?null:{partial:!0}))};return r.transform(i).hasForcedResolvers?r.localState.runResolvers({document:i,remoteResult:{data:s},context:u,variables:o,onlyRunForcedResolvers:!0}).then((function(e){return a(e.data)})):a(s)},f=function(t){return r.getResultsFromLink(e,t,{variables:o,context:u,fetchPolicy:s,errorPolicy:a})};switch(s){default:case"cache-first":return(h=l()).complete?[d(h,e.markReady())]:c?[d(h),f(!0)]:[f(!0)];case"cache-and-network":var h;return(h=l()).complete||c?[d(h),f(!0)]:[f(!0)];case"cache-only":return[d(l(),e.markReady())];case"network-only":return[f(!0)];case"no-cache":return[f(!1)];case"standby":return[]}},e.prototype.getQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new l_(this.cache)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return fm(fm({},t),{clientAwareness:this.clientAwareness})},e}();function p_(e,t){return Jy(e,t,t.variables&&{variables:fm(fm({},e.variables),t.variables)})}var m_=function(){function e(e){var t=this;this.defaultOptions={},this.resetStoreCallbacks=[],this.clearStoreCallbacks=[];var n=e.uri,r=e.credentials,i=e.headers,o=e.cache,s=e.ssrMode,a=void 0!==s&&s,c=e.ssrForceFetchDelay,u=void 0===c?0:c,l=e.connectToDevTools,d=void 0===l?"object"==typeof window&&!window.__APOLLO_CLIENT__&&!1:l,f=e.queryDeduplication,h=void 0===f||f,p=e.defaultOptions,m=e.assumeImmutableResults,g=void 0!==m&&m,y=e.resolvers,v=e.typeDefs,b=e.fragmentMatcher,_=e.name,w=e.version,S=e.link;if(S||(S=n?new uv({uri:n,credentials:r,headers:i}):rv.empty()),!o)throw new _m(9);this.link=S,this.cache=o,this.disableNetworkFetches=a||u>0,this.queryDeduplication=h,this.defaultOptions=p||{},this.typeDefs=v,u&&setTimeout((function(){return t.disableNetworkFetches=!1}),u),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),d&&"object"==typeof window&&(window.__APOLLO_CLIENT__=this),this.version="3.3.20",this.localState=new s_({cache:o,client:this,resolvers:y,fragmentMatcher:b}),this.queryManager=new h_({cache:this.cache,link:this.link,queryDeduplication:h,ssrMode:a,clientAwareness:{name:_,version:w},localState:this.localState,assumeImmutableResults:g,onBroadcast:d?function(){t.devToolsHookCb&&t.devToolsHookCb({action:{},state:{queries:t.queryManager.getQueryStore(),mutations:t.queryManager.mutationStore||{}},dataWithOptimisticResults:t.cache.extract(!0)})}:void 0})}return e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=p_(this.defaultOptions.watchQuery,e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=fm(fm({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=p_(this.defaultOptions.query,e)),wm("cache-and-network"!==e.fetchPolicy,10),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=fm(fm({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=p_(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){return this.queryManager.startGraphQLSubscription(e)},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.cache.readFragment(e,t)},e.prototype.writeQuery=function(e){this.cache.writeQuery(e),this.queryManager.broadcastQueries()},e.prototype.writeFragment=function(e){this.cache.writeFragment(e),this.queryManager.broadcastQueries()},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return iv(this.link,e)},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore()})).then((function(){return Promise.all(e.resetStoreCallbacks.map((function(e){return e()})))})).then((function(){return e.reFetchObservableQueries()}))},e.prototype.clearStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore()})).then((function(){return Promise.all(e.clearStoreCallbacks.map((function(e){return e()})))}))},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},e.prototype.extract=function(e){return this.cache.extract(e)},e.prototype.restore=function(e){return this.cache.restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.setLink=function(e){this.link=this.queryManager.link=e},e}(),g_=function(){return(g_=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=z_){var t=console[e]||console.log;return t.apply(console,arguments)}}}function W_(e){try{return e()}catch(t){}}!function(e){e.debug=$_("debug"),e.log=$_("log"),e.warn=$_("warn"),e.error=$_("error")}(V_||(V_={}));var G_=W_((function(){return globalThis}))||W_((function(){return window}))||W_((function(){return self}))||W_((function(){return global}))||W_((function(){return W_.constructor("return this")()})),Y_="__",Q_=[Y_,Y_].join("DEV");var K_=function(){try{return Boolean(__DEV__)}catch(e){return Object.defineProperty(G_,Q_,{value:"production"!==W_((function(){return"production"})),enumerable:!1,configurable:!0,writable:!0}),G_[Q_]}}();function J_(e){try{return e()}catch(t){}}var X_=J_((function(){return globalThis}))||J_((function(){return window}))||J_((function(){return self}))||J_((function(){return global}))||J_((function(){return J_.constructor("return this")()})),Z_=!1;function ew(){Z_&&(delete X_.process,Z_=!1)}!X_||J_((function(){return"production"}))||J_((function(){return process}))||(Object.defineProperty(X_,"process",{value:{env:{NODE_ENV:"production"}},configurable:!0,enumerable:!1,writable:!0}),Z_=!0),ew(),__DEV__?V_("boolean"==typeof K_,K_):V_("boolean"==typeof K_,39);var tw=function(e,t){return(tw=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};var nw=function(){return(nw=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function iw(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1,i=!1,o=arguments[1],s=o;return new n((function(n){return t.subscribe({next:function(t){var o=!i;if(i=!0,!o||r)try{s=e(s,t)}catch(JZ){return n.error(JZ)}else s=t},error:function(e){n.error(e)},complete:function(){if(!i&&!r)return n.error(new TypeError("Cannot reduce an empty sequence"));n.next(s),n.complete()}})}))},t.concat=function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r=0&&i.splice(e,1),s()}});i.push(o)},error:function(e){r.error(e)},complete:function(){s()}});function s(){o.closed&&0===i.length&&r.complete()}return function(){i.forEach((function(e){return e.unsubscribe()})),o.unsubscribe()}}))},t[dw]=function(){return this},e.from=function(t){var n="function"==typeof this?this:e;if(null==t)throw new TypeError(t+" is not an object");var r=hw(t,dw);if(r){var i=r.call(t);if(Object(i)!==i)throw new TypeError(i+" is not an object");return function(e){return e instanceof xw}(i)&&i.constructor===n?i:new n((function(e){return i.subscribe(e)}))}if(cw("iterator")&&(r=hw(t,lw)))return new n((function(e){gw((function(){if(!e.closed){for(var n,i=rw(r.call(t));!(n=i()).done;){var o=n.value;if(e.next(o),e.closed)return}e.complete()}}))}));if(Array.isArray(t))return new n((function(e){gw((function(){if(!e.closed){for(var n=0;n{"string"==typeof e&&(e=(new Nw.TextEncoder).encode(e)),t=a({outputFormat:"hex"},t);const n=await Nw.crypto.subtle.digest(Dw,e);return"hex"===t.outputFormat?(e=>{const t=new DataView(e);let n="";for(let r=0;rr&&(t=r);let i=Math.max(t-60,0);i<5&&(i=0);let o=Math.min(i+140,r);return o>r-5&&(o=r),o===r&&(i=Math.max(o-140,0)),n=n.slice(i,o),i>0&&(n=`'{snip} ${n}`),oJw(e,t,n)))}function Zw(e,t,n=250,r,i,o,s){if(!(o.exception&&o.exception.values&&s&&Ww(s.originalException,Error)))return;const a=o.exception.values.length>0?o.exception.values[o.exception.values.length-1]:void 0;var c,u;a&&(o.exception.values=(c=eS(e,t,i,s.originalException,r,o.exception.values,a,0),u=n,c.map((e=>(e.value&&(e.value=Yw(e.value,u)),e)))))}function eS(e,t,n,r,i,o,s,a){if(o.length>=n+1)return o;let c=[...o];if(Ww(r[i],Error)){tS(s,a);const o=e(t,r[i]),u=c.length;nS(o,i,u,a),c=eS(e,t,n,r[i],i,[o,...c],o,u)}return Array.isArray(r.errors)&&r.errors.forEach(((r,o)=>{if(Ww(r,Error)){tS(s,a);const u=e(t,r),l=c.length;nS(u,`errors[${o}]`,l,a),c=eS(e,t,n,r,i,[u,...c],u,l)}})),c}function tS(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism=c(a(a({},e.mechanism),"AggregateError"===e.type&&{is_exception_group:!0}),{exception_id:t})}function nS(e,t,n,r){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism=c(a({},e.mechanism),{type:"chained",source:t,exception_id:n,parent_id:r})}function rS(e){return e&&e.Math==Math?e:void 0}const iS="object"==typeof globalThis&&rS(globalThis)||"object"==typeof window&&rS(window)||"object"==typeof self&&rS(self)||"object"==typeof global&&rS(global)||function(){return this}()||{};function oS(){return iS}function sS(e,t,n){const r=n||iS,i=r.__SENTRY__=r.__SENTRY__||{};return i[e]||(i[e]=t())}const aS=oS();function cS(e,t={}){if(!e)return"";try{let n=e;const r=5,i=[];let o=0,s=0;const a=" > ",c=a.length;let u;const l=Array.isArray(t)?t:t.keyAttrs,d=!Array.isArray(t)&&t.maxStringLength||80;for(;n&&o++1&&s+i.length*c+u.length>=d));)i.push(u),s+=u.length,n=n.parentNode;return i.reverse().join(a)}catch(n){return""}}function uS(e,t){const n=e,r=[];let i,o,s,a,c;if(!n||!n.tagName)return"";if(aS.HTMLElement&&n instanceof HTMLElement&&n.dataset&&n.dataset.sentryComponent)return n.dataset.sentryComponent;r.push(n.tagName.toLowerCase());const u=t&&t.length?t.filter((e=>n.getAttribute(e))).map((e=>[e,n.getAttribute(e)])):null;if(u&&u.length)u.forEach((e=>{r.push(`[${e[0]}="${e[1]}"]`)}));else if(n.id&&r.push(`#${n.id}`),i=n.className,i&&Uw(i))for(o=i.split(/\s+/),c=0;c{const r=mS[e];n[e]=t[e],t[e]=r}));try{return e()}finally{r.forEach((e=>{t[e]=n[e]}))}}const yS=function(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return hS?pS.forEach((n=>{t[n]=(...t)=>{e&&gS((()=>{iS.console[n](`Sentry Logger [${n}]:`,...t)}))}})):pS.forEach((e=>{t[e]=()=>{}})),t}(),vS=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function bS(e,t=!1){const{host:n,path:r,pass:i,port:o,projectId:s,protocol:a,publicKey:c}=e;return`${a}://${c}${t&&i?`:${i}`:""}@${n}${o?`:${o}`:""}/${r?`${r}/`:r}${s}`}function _S(e){const t=vS.exec(e);if(!t)return void gS((()=>{console.error(`Invalid Sentry Dsn: ${e}`)}));const[n,r,i="",o,s="",a]=t.slice(1);let c="",u=a;const l=u.split("/");if(l.length>1&&(c=l.slice(0,-1).join("/"),u=l.pop()),u){const e=u.match(/^\d+/);e&&(u=e[0])}return wS({host:o,pass:i,path:c,projectId:u,port:s,protocol:n,publicKey:r})}function wS(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function SS(e){const t="string"==typeof e?_S(e):wS(e);if(t&&function(e){if(!hS)return!0;const{port:t,projectId:n,protocol:r}=e;return!(["protocol","publicKey","host","projectId"].find((t=>!e[t]&&(yS.error(`Invalid Sentry Dsn: ${t} missing`),!0)))||(n.match(/^\d+$/)?function(e){return"http"===e||"https"===e}(r)?t&&isNaN(parseInt(t,10))&&(yS.error(`Invalid Sentry Dsn: Invalid port ${t}`),1):(yS.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),1):(yS.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),1)))}(t))return t}class xS extends Error{constructor(e,t="warn"){super(e),this.message=e,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=t}}function kS(e,t,n){if(!(t in e))return;const r=e[t],i=n(r);"function"==typeof i&&ES(i,r),e[t]=i}function TS(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch(r){hS&&yS.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function ES(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,TS(e,"__sentry_original__",t)}catch(n){}}function CS(e){return e.__sentry_original__}function OS(e){if(Lw(e))return a({message:e.message,name:e.name,stack:e.stack},IS(e));if(Hw(e)){const t=a({type:e.type,target:AS(e.target),currentTarget:AS(e.currentTarget)},IS(e));return"undefined"!=typeof CustomEvent&&Ww(e,CustomEvent)&&(t.detail=e.detail),t}return e}function AS(e){try{return t=e,"undefined"!=typeof Element&&Ww(t,Element)?cS(e):Object.prototype.toString.call(e)}catch(n){return""}var t}function IS(e){if("object"==typeof e&&null!==e){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}return{}}function NS(e){return DS(e,new Map)}function DS(e,t){if(function(e){if(!Vw(e))return!1;try{const t=Object.getPrototypeOf(e).constructor.name;return!t||"Object"===t}catch(JZ){return!0}}(e)){const n=t.get(e);if(void 0!==n)return n;const r={};t.set(e,r);for(const i of Object.keys(e))void 0!==e[i]&&(r[i]=DS(e[i],t));return r}if(Array.isArray(e)){const n=t.get(e);if(void 0!==n)return n;const r=[];return t.set(e,r),e.forEach((e=>{r.push(DS(e,t))})),r}return e}const MS=/\(error: (.*)\)/,RS=/captureMessage|captureException/;function LS(...e){const t=e.sort(((e,t)=>e[0]-t[0])).map((e=>e[1]));return(e,n=0)=>{const r=[],i=e.split("\n");for(let o=n;o1024)continue;const n=MS.test(e)?e.replace(MS,"$1"):e;if(!n.match(/\S*Error: /)){for(const e of t){const t=e(n);if(t){r.push(t);break}}if(r.length>=50)break}}return function(e){if(!e.length)return[];const t=Array.from(e);/sentryWrapped/.test(t[t.length-1].function||"")&&t.pop();t.reverse(),RS.test(t[t.length-1].function||"")&&(t.pop(),RS.test(t[t.length-1].function||"")&&t.pop());return t.slice(0,50).map((e=>c(a({},e),{filename:e.filename||t[t.length-1].filename,function:e.function||"?"})))}(r)}}function PS(e){try{return e&&"function"==typeof e&&e.name||""}catch(JZ){return""}}const jS={},FS={};function US(e,t){jS[e]=jS[e]||[],jS[e].push(t)}function qS(e,t){FS[e]||(t(),FS[e]=!0)}function BS(e,t){const n=e&&jS[e];if(n)for(const r of n)try{r(t)}catch(JZ){hS&&yS.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${PS(r)}\nError:`,JZ)}}function VS(e){const t="console";US(t,e),qS(t,HS)}function HS(){"console"in iS&&pS.forEach((function(e){e in iS.console&&kS(iS.console,e,(function(t){return mS[e]=t,function(...t){BS("console",{args:t,level:e});const n=mS[e];n&&n.apply(iS.console,t)}}))}))}function zS(){const e=iS,t=e.crypto||e.msCrypto;let n=()=>16*Math.random();try{if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");t&&t.getRandomValues&&(n=()=>{const e=new Uint8Array(1);return t.getRandomValues(e),e[0]})}catch(r){}return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,(e=>(e^(15&n())>>e/4).toString(16)))}function $S(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function WS(e){const{message:t,event_id:n}=e;if(t)return t;const r=$S(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"":n||""}function GS(e,t,n){const r=e.exception=e.exception||{},i=r.values=r.values||[],o=i[0]=i[0]||{};o.value||(o.value=t||""),o.type||(o.type=n||"Error")}function YS(e,t){const n=$S(e);if(!n)return;const r=n.mechanism;if(n.mechanism=a(a(a({},{type:"generic",handled:!0}),r),t),t&&"data"in t){const e=a(a({},r&&r.data),t.data);n.mechanism.data=e}}function QS(e){if(e&&e.__sentry_captured__)return!0;try{TS(e,"__sentry_captured__",!0)}catch(t){}return!1}function KS(e){return Array.isArray(e)?e:[e]}const JS=iS;let XS,ZS,ex;function tx(e){US("dom",e),qS("dom",nx)}function nx(){if(!JS.document)return;const e=BS.bind(null,"dom"),t=rx(e,!0);JS.document.addEventListener("click",t,!1),JS.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach((t=>{const n=JS[t]&&JS[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(kS(n,"addEventListener",(function(t){return function(n,r,i){if("click"===n||"keypress"==n)try{const r=this,o=r.__sentry_instrumentation_handlers__=r.__sentry_instrumentation_handlers__||{},s=o[n]=o[n]||{refCount:0};if(!s.handler){const r=rx(e);s.handler=r,t.call(this,n,r,i)}s.refCount++}catch(JZ){}return t.call(this,n,r,i)}})),kS(n,"removeEventListener",(function(e){return function(t,n,r){if("click"===t||"keypress"==t)try{const n=this,i=n.__sentry_instrumentation_handlers__||{},o=i[t];o&&(o.refCount--,o.refCount<=0&&(e.call(this,t,o.handler,r),o.handler=void 0,delete i[t]),0===Object.keys(i).length&&delete n.__sentry_instrumentation_handlers__)}catch(JZ){}return e.call(this,t,n,r)}})))}))}function rx(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;const r=function(e){try{return e.target}catch(JZ){return null}}(n);if(function(e,t){return"keypress"===e&&(!t||!t.tagName||"INPUT"!==t.tagName&&"TEXTAREA"!==t.tagName&&!t.isContentEditable)}(n.type,r))return;TS(n,"_sentryCaptured",!0),r&&!r._sentryId&&TS(r,"_sentryId",zS());const i="keypress"===n.type?"input":n.type;if(!function(e){if(e.type!==ZS)return!1;try{if(!e.target||e.target._sentryId!==ex)return!1}catch(JZ){}return!0}(n)){e({event:n,name:i,global:t}),ZS=n.type,ex=r?r._sentryId:void 0}clearTimeout(XS),XS=JS.setTimeout((()=>{ex=void 0,ZS=void 0}),1e3)}}const ix=oS();function ox(){if(!("fetch"in ix))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(JZ){return!1}}function sx(e){return e&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function ax(){if("string"==typeof EdgeRuntime)return!0;if(!ox())return!1;if(sx(ix.fetch))return!0;let e=!1;const t=ix.document;if(t&&"function"==typeof t.createElement)try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(e=sx(n.contentWindow.fetch)),t.head.removeChild(n)}catch(n){hS&&yS.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return e}function cx(e){const t="fetch";US(t,e),qS(t,ux)}function ux(){ax()&&kS(iS,"fetch",(function(e){return function(...t){const{method:n,url:r}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){const[t,n]=e;return{url:dx(t),method:lx(n,"method")?String(n.method).toUpperCase():"GET"}}const t=e[0];return{url:dx(t),method:lx(t,"method")?String(t.method).toUpperCase():"GET"}}(t),i={args:t,fetchData:{method:n,url:r},startTimestamp:Date.now()};return BS("fetch",a({},i)),e.apply(iS,t).then((e=>(BS("fetch",c(a({},i),{endTimestamp:Date.now(),response:e})),e)),(e=>{throw BS("fetch",c(a({},i),{endTimestamp:Date.now(),error:e})),e}))}}))}function lx(e,t){return!!e&&"object"==typeof e&&!!e[t]}function dx(e){return"string"==typeof e?e:e?lx(e,"url")?e.url:e.toString?e.toString():"":""}let fx=null;function hx(e){const t="error";US(t,e),qS(t,px)}function px(){fx=iS.onerror,iS.onerror=function(e,t,n,r,i){const o={column:r,error:i,line:n,msg:e,url:t};return BS("error",o),!(!fx||fx.__SENTRY_LOADER__)&&fx.apply(this,arguments)},iS.onerror.__SENTRY_INSTRUMENTED__=!0}let mx=null;function gx(e){const t="unhandledrejection";US(t,e),qS(t,yx)}function yx(){mx=iS.onunhandledrejection,iS.onunhandledrejection=function(e){const t=e;return BS("unhandledrejection",t),!(mx&&!mx.__SENTRY_LOADER__)||mx.apply(this,arguments)},iS.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}const vx=oS();const bx=iS;let _x;function wx(e){const t="history";US(t,e),qS(t,Sx)}function Sx(){if(!function(){const e=vx.chrome,t=e&&e.app&&e.app.runtime,n="history"in vx&&!!vx.history.pushState&&!!vx.history.replaceState;return!t&&n}())return;const e=bx.onpopstate;function t(e){return function(...t){const n=t.length>2?t[2]:void 0;if(n){const e=_x,t=String(n);_x=t;BS("history",{from:e,to:t})}return e.apply(this,t)}}bx.onpopstate=function(...t){const n=bx.location.href,r=_x;_x=n;if(BS("history",{from:r,to:n}),e)try{return e.apply(this,t)}catch(i){}},kS(bx.history,"pushState",t),kS(bx.history,"replaceState",t)}const xx=iS;function kx(e){US("xhr",e),qS("xhr",Tx)}function Tx(){if(!xx.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;kS(e,"open",(function(e){return function(...t){const n=Date.now(),r=Uw(t[0])?t[0].toUpperCase():void 0,i=function(e){if(Uw(e))return e;try{return e.toString()}catch(JZ){}return}(t[1]);if(!r||!i)return e.apply(this,t);this.__sentry_xhr_v3__={method:r,url:i,request_headers:{}},"POST"===r&&i.match(/sentry_key/)&&(this.__sentry_own_request__=!0);const o=()=>{const e=this.__sentry_xhr_v3__;if(e&&4===this.readyState){try{e.status_code=this.status}catch(JZ){}BS("xhr",{args:[r,i],endTimestamp:Date.now(),startTimestamp:n,xhr:this})}};return"onreadystatechange"in this&&"function"==typeof this.onreadystatechange?kS(this,"onreadystatechange",(function(e){return function(...t){return o(),e.apply(this,t)}})):this.addEventListener("readystatechange",o),kS(this,"setRequestHeader",(function(e){return function(...t){const[n,r]=t,i=this.__sentry_xhr_v3__;return i&&Uw(n)&&Uw(r)&&(i.request_headers[n.toLowerCase()]=r),e.apply(this,t)}})),e.apply(this,t)}})),kS(e,"send",(function(e){return function(...t){const n=this.__sentry_xhr_v3__;if(!n)return e.apply(this,t);void 0!==t[0]&&(n.body=t[0]);return BS("xhr",{args:[n.method,n.url],startTimestamp:Date.now(),xhr:this}),e.apply(this,t)}}))}function Ex(){return!("undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&__SENTRY_BROWSER_BUNDLE__)&&"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)}function Cx(){return"undefined"!=typeof window&&(!Ex()||void 0!==iS.process&&"renderer"===iS.process.type)}function Ox(e,t=100,n=1/0){try{return Ix("",e,t,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function Ax(e,t=3,n=102400){const r=Ox(e,t);return i=r,function(e){return~-encodeURI(e).split(/%..|./).length}(JSON.stringify(i))>n?Ax(e,t-1,n):r;var i}function Ix(e,t,n=1/0,r=1/0,i=function(){const e="function"==typeof WeakSet,t=e?new WeakSet:[];return[function(n){if(e)return!!t.has(n)||(t.add(n),!1);for(let e=0;e=r){l[p]="[MaxProperties ~]";break}const e=f[p];l[p]=Ix(p,e,c-1,r,i),d++}return s(t),l}const Nx=/^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;function Dx(...e){let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){const i=r>=0?e[r]:"/";i&&(t=`${i}/${t}`,n="/"===i.charAt(0))}return t=function(e,t){let n=0;for(let r=e.length-1;r>=0;r--){const t=e[r];"."===t?e.splice(r,1):".."===t?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}(t.split("/").filter((e=>!!e)),!n).join("/"),(n?"/":"")+t||"."}function Mx(e){let t=0;for(;t=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}function Rx(e,t){let n=function(e){const t=e.length>1024?`${e.slice(-1024)}`:e,n=Nx.exec(t);return n?n.slice(1):[]}(e)[2];return t&&n.slice(-1*t.length)===t&&(n=n.slice(0,n.length-t.length)),n}var Lx;function Px(e){return new Fx((t=>{t(e)}))}function jx(e){return new Fx(((t,n)=>{n(e)}))}!function(e){e[e.PENDING=0]="PENDING";e[e.RESOLVED=1]="RESOLVED";e[e.REJECTED=2]="REJECTED"}(Lx||(Lx={}));class Fx{constructor(e){Fx.prototype.__init.call(this),Fx.prototype.__init2.call(this),Fx.prototype.__init3.call(this),Fx.prototype.__init4.call(this),this._state=Lx.PENDING,this._handlers=[];try{e(this._resolve,this._reject)}catch(JZ){this._reject(JZ)}}then(e,t){return new Fx(((n,r)=>{this._handlers.push([!1,t=>{if(e)try{n(e(t))}catch(JZ){r(JZ)}else n(t)},e=>{if(t)try{n(t(e))}catch(JZ){r(JZ)}else r(e)}]),this._executeHandlers()}))}catch(e){return this.then((e=>e),e)}finally(e){return new Fx(((t,n)=>{let r,i;return this.then((t=>{i=!1,r=t,e&&e()}),(t=>{i=!0,r=t,e&&e()})).then((()=>{i?n(r):t(r)}))}))}__init(){this._resolve=e=>{this._setResult(Lx.RESOLVED,e)}}__init2(){this._reject=e=>{this._setResult(Lx.REJECTED,e)}}__init3(){this._setResult=(e,t)=>{this._state===Lx.PENDING&&(zw(t)?t.then(this._resolve,this._reject):(this._state=e,this._value=t,this._executeHandlers()))}}__init4(){this._executeHandlers=()=>{if(this._state===Lx.PENDING)return;const e=this._handlers.slice();this._handlers=[],e.forEach((e=>{e[0]||(this._state===Lx.RESOLVED&&e[1](this._value),this._state===Lx.REJECTED&&e[2](this._value),e[0]=!0)}))}}}function Ux(e){const t=[];function n(e){return t.splice(t.indexOf(e),1)[0]}return{$:t,add:function(r){if(!(void 0===e||t.lengthn(i))).then(null,(()=>n(i).then(null,(()=>{})))),i},drain:function(e){return new Fx(((n,r)=>{let i=t.length;if(!i)return n(!0);const o=setTimeout((()=>{e&&e>0&&n(!1)}),e);t.forEach((e=>{Px(e).then((()=>{--i||(clearTimeout(o),n(!0))}),r)}))}))}}}function qx(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}const Bx=["fatal","error","warning","log","info","debug"];function Vx(e){return"warn"===e?"warning":Bx.includes(e)?e:"log"}function Hx(){return Date.now()/1e3}const zx=function(){const{performance:e}=iS;if(!e||!e.now)return Hx;const t=Date.now()-e.now(),n=null==e.timeOrigin?t:e.timeOrigin;return()=>(n+e.now())/1e3}(),$x=(()=>{const{performance:e}=iS;if(!e||!e.now)return;const t=36e5,n=e.now(),r=Date.now(),i=e.timeOrigin?Math.abs(e.timeOrigin+n-r):t,o=i{const n=Qx(t);for(const r of Object.keys(n))e[r]=n[r];return e}),{});else{if(!e)return;t=Qx(e)}const n=Object.entries(t).reduce(((e,[t,n])=>{if(t.match(Wx)){e[t.slice("sentry-".length)]=n}return e}),{});return Object.keys(n).length>0?n:void 0}function Yx(e){if(!e)return;return function(e){if(0===Object.keys(e).length)return;return Object.entries(e).reduce(((e,[t,n],r)=>{const i=`${encodeURIComponent(t)}=${encodeURIComponent(n)}`,o=0===r?i:`${e},${i}`;return o.length>8192?(hS&&yS.warn(`Not adding key: ${t} with val: ${n} to baggage header due to exceeding baggage size limits.`),e):o}),"")}(Object.entries(e).reduce(((e,[t,n])=>(n&&(e[`sentry-${t}`]=n),e)),{}))}function Qx(e){return e.split(",").map((e=>e.split("=").map((e=>decodeURIComponent(e.trim()))))).reduce(((e,[t,n])=>(e[t]=n,e)),{})}const Kx=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function Jx(e){if(!e)return;const t=e.match(Kx);if(!t)return;let n;return"1"===t[3]?n=!0:"0"===t[3]&&(n=!1),{traceId:t[1],parentSampled:n,parentSpanId:t[2]}}function Xx(e,t){const n=Jx(e),r=Gx(t),{traceId:i,parentSpanId:o,parentSampled:s}=n||{};return n?{traceId:i||zS(),parentSpanId:o||zS().substring(16),spanId:zS().substring(16),sampled:s,dsc:r||{}}:{traceId:i||zS(),spanId:zS().substring(16)}}function Zx(e=zS(),t=zS().substring(16),n){let r="";return void 0!==n&&(r=n?"-1":"-0"),`${e}-${t}${r}`}function ek(e,t=[]){return[e,t]}function tk(e,t){const[n,r]=e;return[n,[...r,t]]}function nk(e,t){const n=e[1];for(const r of n){if(t(r,r[0].type))return!0}return!1}function rk(e,t){return(t||new TextEncoder).encode(e)}function ik(e,t){const[n,r]=e;let i=JSON.stringify(n);function o(e){"string"==typeof i?i="string"==typeof e?i+e:[rk(i,t),e]:i.push("string"==typeof e?rk(e,t):e)}for(const s of r){const[e,t]=s;if(o(`\n${JSON.stringify(e)}\n`),"string"==typeof t||t instanceof Uint8Array)o(t);else{let e;try{e=JSON.stringify(t)}catch(JZ){e=JSON.stringify(Ox(t))}o(e)}}return"string"==typeof i?i:function(e){const t=e.reduce(((e,t)=>e+t.length),0),n=new Uint8Array(t);let r=0;for(const i of e)n.set(i,r),r+=i.length;return n}(i)}function ok(e,t){const n="string"==typeof e.data?rk(e.data,t):e.data;return[NS({type:"attachment",length:n.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),n]}const sk={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",statsd:"metric_bucket"};function ak(e){return sk[e]}function ck(e){if(!e||!e.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}function uk(e,t,n,r){const i=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return a(a(a({event_id:e.event_id,sent_at:(new Date).toISOString()},t&&{sdk:t}),!!n&&r&&{dsn:bS(r)}),i&&{trace:NS(a({},i))})}function lk(e,t=Date.now()){const n=parseInt(`${e}`,10);if(!isNaN(n))return 1e3*n;const r=Date.parse(`${e}`);return isNaN(r)?6e4:r-t}function dk(e,t,n=Date.now()){return function(e,t){return e[t]||e.all||0}(e,t)>n}function fk(e,{statusCode:t,headers:n},r=Date.now()){const i=a({},e),o=n&&n["x-sentry-rate-limits"],s=n&&n["retry-after"];if(o)for(const a of o.trim().split(",")){const[e,t,,,n]=a.split(":",5),o=parseInt(e,10),s=1e3*(isNaN(o)?60:o);if(t)for(const a of t.split(";"))"metric_bucket"===a&&n&&!n.split(";").includes("custom")||(i[a]=r+s);else i.all=r+s}else s?i.all=r+lk(s,r):429===t&&(i.all=r+6e4);return i}function hk(e,t){const n={type:t.name||t.constructor.name,value:t.message},r=function(e,t){return e(t.stack||"",1)}(e,t);return r.length&&(n.stacktrace={frames:r}),n}function pk(e){let t,n=e[0],r=1;for(;rn.call(t,...e))),t=void 0)}return n}const mk="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,gk="production";function yk(){return sS("globalEventProcessors",(()=>[]))}function vk(e){yk().push(e)}function bk(e,t,n,r=0){return new Fx(((i,o)=>{const s=e[r];if(null===t||"function"!=typeof s)i(t);else{const c=s(a({},t),n);mk&&s.id&&null===c&&yS.log(`Event processor "${s.id}" dropped event`),zw(c)?c.then((t=>bk(e,t,n,r+1).then(i))).then(null,o):bk(e,c,n,r+1).then(i).then(null,o)}}))}function _k(e){const t=zx(),n={sid:zS(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(e){return NS({sid:`${e.sid}`,init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"==typeof e.did||"string"==typeof e.did?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}(n)};return e&&wk(n,e),n}function wk(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||zx(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:zS()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{const t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}function Sk(e,t){let n={};t?n={status:t}:"ok"===e.status&&(n={status:"exited"}),wk(e,n)}function xk(e){const{spanId:t,traceId:n}=e.spanContext(),{data:r,op:i,parent_span_id:o,status:s,tags:a,origin:c}=Ck(e);return NS({data:r,op:i,parent_span_id:o,span_id:t,status:s,tags:a,trace_id:n,origin:c})}function kk(e){const{traceId:t,spanId:n}=e.spanContext();return Zx(t,n,Ok(e))}function Tk(e){return"number"==typeof e?Ek(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?Ek(e.getTime()):zx()}function Ek(e){return e>9999999999?e/1e3:e}function Ck(e){return function(e){return"function"==typeof e.getSpanJSON}(e)?e.getSpanJSON():"function"==typeof e.toJSON?e.toJSON():{}}function Ok(e){const{traceFlags:t}=e.spanContext();return Boolean(1&t)}function Ak(e,t,n,r,i,o){const{normalizeDepth:s=3,normalizeMaxBreadth:u=1e3}=e,l=c(a({},t),{event_id:t.event_id||n.event_id||zS(),timestamp:t.timestamp||Hx()}),d=n.integrations||e.integrations.map((e=>e.name));!function(e,t){const{environment:n,release:r,dist:i,maxValueLength:o=250}=t;"environment"in e||(e.environment="environment"in t?n:gk);void 0===e.release&&void 0!==r&&(e.release=r);void 0===e.dist&&void 0!==i&&(e.dist=i);e.message&&(e.message=Yw(e.message,o));const s=e.exception&&e.exception.values&&e.exception.values[0];s&&s.value&&(s.value=Yw(s.value,o));const a=e.request;a&&a.url&&(a.url=Yw(a.url,o))}(l,e),function(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}(l,d),void 0===t.type&&function(e,t){const n=iS._sentryDebugIds;if(!n)return;let r;const i=Ik.get(t);i?r=i:(r=new Map,Ik.set(t,r));const o=Object.keys(n).reduce(((e,i)=>{let o;const s=r.get(i);s?o=s:(o=t(i),r.set(i,o));for(let t=o.length-1;t>=0;t--){const r=o[t];if(r.filename){e[r.filename]=n[i];break}}return e}),{});try{e.exception.values.forEach((e=>{e.stacktrace.frames.forEach((e=>{e.filename&&(e.debug_id=o[e.filename])}))}))}catch(JZ){}}(l,e.stackParser);const f=function(e,t){if(!t)return e;const n=e?e.clone():new Xk;return n.update(t),n}(r,n.captureContext);n.mechanism&&YS(l,n.mechanism);const h=i&&i.getEventProcessors?i.getEventProcessors():[],p=function(){Jk||(Jk=new Xk);return Jk}().getScopeData();if(o){Qk(p,o.getScopeData())}if(f){Qk(p,f.getScopeData())}const m=[...n.attachments||[],...p.attachments];m.length&&(n.attachments=m),Yk(l,p);return bk([...h,...yk(),...p.eventProcessors],l,n).then((e=>(e&&function(e){const t={};try{e.exception.values.forEach((e=>{e.stacktrace.frames.forEach((e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)}))}))}catch(JZ){}if(0===Object.keys(t).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const n=e.debug_meta.images;Object.keys(t).forEach((e=>{n.push({type:"sourcemap",code_file:e,debug_id:t[e]})}))}(e),"number"==typeof s&&s>0?function(e,t,n){if(!e)return null;const r=a(a(a(a(a({},e),e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map((e=>a(a({},e),e.data&&{data:Ox(e.data,t,n)})))}),e.user&&{user:Ox(e.user,t,n)}),e.contexts&&{contexts:Ox(e.contexts,t,n)}),e.extra&&{extra:Ox(e.extra,t,n)});e.contexts&&e.contexts.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=Ox(e.contexts.trace.data,t,n)));e.spans&&(r.spans=e.spans.map((e=>{const r=Ck(e).data;return r&&(e.data=Ox(r,t,n)),e})));return r}(e,s,u):e)))}const Ik=new WeakMap;function Nk(e){if(e)return function(e){return e instanceof Xk||"function"==typeof e}(e)||function(e){return Object.keys(e).some((e=>Dk.includes(e)))}(e)?{captureContext:e}:e}const Dk=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"];function Mk(e,t){return oT().captureException(e,Nk(t))}function Rk(e,t){const n="string"==typeof t?t:void 0,r="string"!=typeof t?{captureContext:t}:void 0;return oT().captureMessage(e,n,r)}function Lk(e,t){return oT().captureEvent(e,t)}function Pk(e,t){oT().addBreadcrumb(e,t)}function jk(e,t){oT().setContext(e,t)}function Fk(...e){const t=oT();if(2===e.length){const[n,r]=e;return n?t.withScope((()=>(t.getStackTop().scope=n,r(n)))):t.withScope(r)}return t.withScope(e[0])}function Uk(){return oT().getClient()}function qk(){return oT().getScope()}function Bk(e){const t=Uk(),n=sT(),r=qk(),{release:i,environment:o=gk}=t&&t.getOptions()||{},{userAgent:s}=iS.navigator||{},c=_k(a(a({release:i,environment:o,user:r.getUser()||n.getUser()},s&&{userAgent:s}),e)),u=n.getSession();return u&&"ok"===u.status&&wk(u,{status:"exited"}),Vk(),n.setSession(c),r.setSession(c),c}function Vk(){const e=sT(),t=qk(),n=t.getSession()||e.getSession();n&&Sk(n),Hk(),e.setSession(),t.setSession()}function Hk(){const e=sT(),t=qk(),n=Uk(),r=t.getSession()||e.getSession();r&&n&&n.captureSession&&n.captureSession(r)}function zk(e=!1){e?Vk():Hk()}function $k(e){return e.transaction}function Wk(e,t,n){const r=t.getOptions(),{publicKey:i}=t.getDsn()||{},{segment:o}=n&&n.getUser()||{},s=NS({environment:r.environment||gk,release:r.release,user_segment:o,public_key:i,trace_id:e});return t.emit&&t.emit("createDsc",s),s}function Gk(e){const t=Uk();if(!t)return{};const n=Wk(Ck(e).trace_id||"",t,qk()),r=$k(e);if(!r)return n;const i=r&&r._frozenDynamicSamplingContext;if(i)return i;const{sampleRate:o,source:s}=r.metadata;null!=o&&(n.sample_rate=`${o}`);const a=Ck(r);return s&&"url"!==s&&(n.transaction=a.description),n.sampled=String(Ok(r)),t.emit&&t.emit("createDsc",n),n}function Yk(e,t){const{fingerprint:n,span:r,breadcrumbs:i,sdkProcessingMetadata:o}=t;!function(e,t){const{extra:n,tags:r,user:i,contexts:o,level:s,transactionName:c}=t,u=NS(n);u&&Object.keys(u).length&&(e.extra=a(a({},u),e.extra));const l=NS(r);l&&Object.keys(l).length&&(e.tags=a(a({},l),e.tags));const d=NS(i);d&&Object.keys(d).length&&(e.user=a(a({},d),e.user));const f=NS(o);f&&Object.keys(f).length&&(e.contexts=a(a({},f),e.contexts));s&&(e.level=s);c&&(e.transaction=c)}(e,t),r&&function(e,t){e.contexts=a({trace:xk(t)},e.contexts);const n=$k(t);if(n){e.sdkProcessingMetadata=a({dynamicSamplingContext:Gk(t)},e.sdkProcessingMetadata);const r=Ck(n).description;r&&(e.tags=a({transaction:r},e.tags))}}(e,r),function(e,t){e.fingerprint=e.fingerprint?KS(e.fingerprint):[],t&&(e.fingerprint=e.fingerprint.concat(t));e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint}(e,n),function(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}(e,i),function(e,t){e.sdkProcessingMetadata=a(a({},e.sdkProcessingMetadata),t)}(e,o)}function Qk(e,t){const{extra:n,tags:r,user:i,contexts:o,level:s,sdkProcessingMetadata:c,breadcrumbs:u,fingerprint:l,eventProcessors:d,attachments:f,propagationContext:h,transactionName:p,span:m}=t;Kk(e,"extra",n),Kk(e,"tags",r),Kk(e,"user",i),Kk(e,"contexts",o),Kk(e,"sdkProcessingMetadata",c),s&&(e.level=s),p&&(e.transactionName=p),m&&(e.span=m),u.length&&(e.breadcrumbs=[...e.breadcrumbs,...u]),l.length&&(e.fingerprint=[...e.fingerprint,...l]),d.length&&(e.eventProcessors=[...e.eventProcessors,...d]),f.length&&(e.attachments=[...e.attachments,...f]),e.propagationContext=a(a({},e.propagationContext),h)}function Kk(e,t,n){if(n&&Object.keys(n).length){e[t]=a({},e[t]);for(const r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[t][r]=n[r])}}let Jk;class Xk{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=Zk()}static clone(e){return e?e.clone():new Xk}clone(){const e=new Xk;return e._breadcrumbs=[...this._breadcrumbs],e._tags=a({},this._tags),e._extra=a({},this._extra),e._contexts=a({},this._contexts),e._user=this._user,e._level=this._level,e._span=this._span,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._requestSession=this._requestSession,e._attachments=[...this._attachments],e._sdkProcessingMetadata=a({},this._sdkProcessingMetadata),e._propagationContext=a({},this._propagationContext),e._client=this._client,e}setClient(e){this._client=e}getClient(){return this._client}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,segment:void 0,username:void 0},this._session&&wk(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(e){return this._requestSession=e,this}setTags(e){return this._tags=a(a({},this._tags),e),this._notifyScopeListeners(),this}setTag(e,t){return this._tags=c(a({},this._tags),{[e]:t}),this._notifyScopeListeners(),this}setExtras(e){return this._extra=a(a({},this._extra),e),this._notifyScopeListeners(),this}setExtra(e,t){return this._extra=c(a({},this._extra),{[e]:t}),this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSpan(e){return this._span=e,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){const e=this._span;return e&&e.transaction}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;const t="function"==typeof e?e(this):e;if(t instanceof Xk){const e=t.getScopeData();this._tags=a(a({},this._tags),e.tags),this._extra=a(a({},this._extra),e.extra),this._contexts=a(a({},this._contexts),e.contexts),e.user&&Object.keys(e.user).length&&(this._user=e.user),e.level&&(this._level=e.level),e.fingerprint.length&&(this._fingerprint=e.fingerprint),t.getRequestSession()&&(this._requestSession=t.getRequestSession()),e.propagationContext&&(this._propagationContext=e.propagationContext)}else if(Vw(t)){const t=e;this._tags=a(a({},this._tags),t.tags),this._extra=a(a({},this._extra),t.extra),this._contexts=a(a({},this._contexts),t.contexts),t.user&&(this._user=t.user),t.level&&(this._level=t.level),t.fingerprint&&(this._fingerprint=t.fingerprint),t.requestSession&&(this._requestSession=t.requestSession),t.propagationContext&&(this._propagationContext=t.propagationContext)}return this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this._propagationContext=Zk(),this}addBreadcrumb(e,t){const n="number"==typeof t?t:100;if(n<=0)return this;const r=a({timestamp:Hx()},e),i=this._breadcrumbs;return i.push(r),this._breadcrumbs=i.length>n?i.slice(-n):i,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}getAttachments(){return this.getScopeData().attachments}clearAttachments(){return this._attachments=[],this}getScopeData(){const{_breadcrumbs:e,_attachments:t,_contexts:n,_tags:r,_extra:i,_user:o,_level:s,_fingerprint:a,_eventProcessors:c,_propagationContext:u,_sdkProcessingMetadata:l,_transactionName:d,_span:f}=this;return{breadcrumbs:e,attachments:t,contexts:n,tags:r,extra:i,user:o,level:s,fingerprint:a||[],eventProcessors:c,propagationContext:u,sdkProcessingMetadata:l,transactionName:d,span:f}}applyToEvent(e,t={},n=[]){Yk(e,this.getScopeData());return bk([...n,...yk(),...this._eventProcessors],e,t)}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=a(a({},this._sdkProcessingMetadata),e),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){const n=t&&t.event_id?t.event_id:zS();if(!this._client)return yS.warn("No client configured on scope - will not capture exception!"),n;const r=new Error("Sentry syntheticException");return this._client.captureException(e,c(a({originalException:e,syntheticException:r},t),{event_id:n}),this),n}captureMessage(e,t,n){const r=n&&n.event_id?n.event_id:zS();if(!this._client)return yS.warn("No client configured on scope - will not capture message!"),r;const i=new Error(e);return this._client.captureMessage(e,t,c(a({originalException:e,syntheticException:i},n),{event_id:r}),this),r}captureEvent(e,t){const n=t&&t.event_id?t.event_id:zS();return this._client?(this._client.captureEvent(e,c(a({},t),{event_id:n}),this),n):(yS.warn("No client configured on scope - will not capture event!"),n)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((e=>{e(this)})),this._notifyingListeners=!1)}}function Zk(){return{traceId:zS(),spanId:zS().substring(16)}}const eT=parseFloat("7.120.3"),tT=100;class nT{constructor(e,t,n,r=eT){let i,o;this._version=r,t?i=t:(i=new Xk,i.setClient(e)),n?o=n:(o=new Xk,o.setClient(e)),this._stack=[{scope:i}],e&&this.bindClient(e),this._isolationScope=o}isOlderThan(e){return this._version(this.popScope(),e)),(e=>{throw this.popScope(),e})):(this.popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(e,t){const n=this._lastEventId=t&&t.event_id?t.event_id:zS(),r=new Error("Sentry syntheticException");return this.getScope().captureException(e,c(a({originalException:e,syntheticException:r},t),{event_id:n})),n}captureMessage(e,t,n){const r=this._lastEventId=n&&n.event_id?n.event_id:zS(),i=new Error(e);return this.getScope().captureMessage(e,t,c(a({originalException:e,syntheticException:i},n),{event_id:r})),r}captureEvent(e,t){const n=t&&t.event_id?t.event_id:zS();return e.type||(this._lastEventId=n),this.getScope().captureEvent(e,c(a({},t),{event_id:n})),n}lastEventId(){return this._lastEventId}addBreadcrumb(e,t){const{scope:n,client:r}=this.getStackTop();if(!r)return;const{beforeBreadcrumb:i=null,maxBreadcrumbs:o=tT}=r.getOptions&&r.getOptions()||{};if(o<=0)return;const s=Hx(),c=a({timestamp:s},e),u=i?gS((()=>i(c,t))):c;null!==u&&(r.emit&&r.emit("beforeAddBreadcrumb",u,t),n.addBreadcrumb(u,o))}setUser(e){this.getScope().setUser(e),this.getIsolationScope().setUser(e)}setTags(e){this.getScope().setTags(e),this.getIsolationScope().setTags(e)}setExtras(e){this.getScope().setExtras(e),this.getIsolationScope().setExtras(e)}setTag(e,t){this.getScope().setTag(e,t),this.getIsolationScope().setTag(e,t)}setExtra(e,t){this.getScope().setExtra(e,t),this.getIsolationScope().setExtra(e,t)}setContext(e,t){this.getScope().setContext(e,t),this.getIsolationScope().setContext(e,t)}configureScope(e){const{scope:t,client:n}=this.getStackTop();n&&e(t)}run(e){const t=iT(this);try{e(this)}finally{iT(t)}}getIntegration(e){const t=this.getClient();if(!t)return null;try{return t.getIntegration(e)}catch(n){return mk&&yS.warn(`Cannot retrieve integration ${e.id} from the current Hub`),null}}startTransaction(e,t){const n=this._callExtensionMethod("startTransaction",e,t);if(mk&&!n){this.getClient()?yS.warn("Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init':\nSentry.addTracingExtensions();\nSentry.init({...});\n"):yS.warn("Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'")}return n}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(e=!1){if(e)return this.endSession();this._sendSessionUpdate()}endSession(){const e=this.getStackTop().scope,t=e.getSession();t&&Sk(t),this._sendSessionUpdate(),e.setSession()}startSession(e){const{scope:t,client:n}=this.getStackTop(),{release:r,environment:i=gk}=n&&n.getOptions()||{},{userAgent:o}=iS.navigator||{},s=_k(a(a({release:r,environment:i,user:t.getUser()},o&&{userAgent:o}),e)),c=t.getSession&&t.getSession();return c&&"ok"===c.status&&wk(c,{status:"exited"}),this.endSession(),t.setSession(s),s}shouldSendDefaultPii(){const e=this.getClient(),t=e&&e.getOptions();return Boolean(t&&t.sendDefaultPii)}_sendSessionUpdate(){const{scope:e,client:t}=this.getStackTop(),n=e.getSession();n&&t&&t.captureSession&&t.captureSession(n)}_callExtensionMethod(e,...t){const n=rT().__SENTRY__;if(n&&n.extensions&&"function"==typeof n.extensions[e])return n.extensions[e].apply(this,t);mk&&yS.warn(`Extension method ${e} couldn't be found, doing nothing.`)}}function rT(){return iS.__SENTRY__=iS.__SENTRY__||{extensions:{},hub:void 0},iS}function iT(e){const t=rT(),n=cT(t);return uT(t,e),n}function oT(){const e=rT();if(e.__SENTRY__&&e.__SENTRY__.acs){const t=e.__SENTRY__.acs.getCurrentHub();if(t)return t}return function(e=rT()){t=e,t&&t.__SENTRY__&&t.__SENTRY__.hub&&!cT(e).isOlderThan(eT)||uT(e,new nT);var t;return cT(e)}(e)}function sT(){return oT().getIsolationScope()}function aT(e,t={}){const n=rT();return n.__SENTRY__&&n.__SENTRY__.acs?n.__SENTRY__.acs.runWithAsyncContext(e,t):e()}function cT(e){return sS("hub",(()=>new nT),e)}function uT(e,t){if(!e)return!1;return(e.__SENTRY__=e.__SENTRY__||{}).hub=t,!0}function lT(e){return(e||oT()).getScope().getTransaction()}const dT=Jx;let fT=!1;function hT(){const e=lT();if(e){const t="internal_error";mk&&yS.log(`[Tracing] Transaction: ${t} -> Global error occured`),e.setStatus(t)}}var pT;function mT(e){if(e<400&&e>=100)return"ok";if(e>=400&&e<500)switch(e){case 401:return"unauthenticated";case 403:return"permission_denied";case 404:return"not_found";case 409:return"already_exists";case 413:return"failed_precondition";case 429:return"resource_exhausted";default:return"invalid_argument"}if(e>=500&&e<600)switch(e){case 501:return"unimplemented";case 503:return"unavailable";case 504:return"deadline_exceeded";default:return"internal_error"}return"unknown_error"}hT.tag="sentry_tracingErrorCallback",function(e){e.Ok="ok";e.DeadlineExceeded="deadline_exceeded";e.Unauthenticated="unauthenticated";e.PermissionDenied="permission_denied";e.NotFound="not_found";e.ResourceExhausted="resource_exhausted";e.InvalidArgument="invalid_argument";e.Unimplemented="unimplemented";e.Unavailable="unavailable";e.InternalError="internal_error";e.UnknownError="unknown_error";e.Cancelled="cancelled";e.AlreadyExists="already_exists";e.FailedPrecondition="failed_precondition";e.Aborted="aborted";e.OutOfRange="out_of_range";e.DataLoss="data_loss"}(pT||(pT={}));const gT=mT;function yT(e,t){e.setTag("http.status_code",String(t)),e.setData("http.response.status_code",t);const n=mT(t);"unknown_error"!==n&&e.setStatus(n)}function vT(e,t,n=(()=>{})){let r;try{r=e()}catch(JZ){throw t(JZ),n(),JZ}return function(e,t,n){if(zw(e))return e.then((e=>(n(),e)),(e=>{throw t(e),n(),e}));return n(),e}(r,t,n)}function bT(e){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;const t=Uk(),n=e||t&&t.getOptions();return!!n&&(n.enableTracing||"tracesSampleRate"in n||"tracesSampler"in n)}function _T(e){if(!bT())return;const t=xT(e),n=oT(),r=e.scope?e.scope.getSpan():wT();if(e.onlyIfParent&&!r)return;const i=(e.scope||qk()).clone();return ST(n,{parentSpan:r,spanContext:t,forceTransaction:e.forceTransaction,scope:i})}function wT(){return qk().getSpan()}function ST(e,{parentSpan:t,spanContext:n,forceTransaction:r,scope:i}){if(!bT())return;const o=sT();let s;if(t&&!r)s=t.startChild(n);else if(t){const r=Gk(t),{traceId:i,spanId:o}=t.spanContext(),u=Ok(t);s=e.startTransaction(c(a({traceId:i,parentSpanId:o,parentSampled:u},n),{metadata:a({dynamicSamplingContext:r},n.metadata)}))}else{const{traceId:t,dsc:r,parentSpanId:u,sampled:l}=a(a({},o.getPropagationContext()),i.getPropagationContext());s=e.startTransaction(c(a({traceId:t,parentSpanId:u,parentSampled:l},n),{metadata:a({dynamicSamplingContext:r},n.metadata)}))}return i.setSpan(s),function(e,t,n){e&&(TS(e,"_sentryIsolationScope",n),TS(e,"_sentryScope",t))}(s,i,o),s}function xT(e){if(e.startTime){const t=a({},e);return t.startTimestamp=Tk(e.startTime),delete t.startTime,t}return e}let kT;function TT(e){return kT?kT.get(e):void 0}function ET(e){const t=TT(e);if(!t)return;const n={};for(const[,[r,i]]of t)n[r]||(n[r]=[]),n[r].push(NS(i));return n}class CT{constructor(e=1e3){this._maxlen=e,this.spans=[]}add(e){this.spans.length>this._maxlen?e.spanRecorder=void 0:this.spans.push(e)}}class OT{constructor(e={}){this._traceId=e.traceId||zS(),this._spanId=e.spanId||zS().substring(16),this._startTime=e.startTimestamp||zx(),this.tags=e.tags?a({},e.tags):{},this.data=e.data?a({},e.data):{},this.instrumenter=e.instrumenter||"sentry",this._attributes={},this.setAttributes(a({"sentry.origin":e.origin||"manual","sentry.op":e.op},e.attributes)),this._name=e.name||e.description,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),"sampled"in e&&(this._sampled=e.sampled),e.status&&(this._status=e.status),e.endTimestamp&&(this._endTime=e.endTimestamp),void 0!==e.exclusiveTime&&(this._exclusiveTime=e.exclusiveTime),this._measurements=e.measurements?a({},e.measurements):{}}get name(){return this._name||""}set name(e){this.updateName(e)}get description(){return this._name}set description(e){this._name=e}get traceId(){return this._traceId}set traceId(e){this._traceId=e}get spanId(){return this._spanId}set spanId(e){this._spanId=e}set parentSpanId(e){this._parentSpanId=e}get parentSpanId(){return this._parentSpanId}get sampled(){return this._sampled}set sampled(e){this._sampled=e}get attributes(){return this._attributes}set attributes(e){this._attributes=e}get startTimestamp(){return this._startTime}set startTimestamp(e){this._startTime=e}get endTimestamp(){return this._endTime}set endTimestamp(e){this._endTime=e}get status(){return this._status}set status(e){this._status=e}get op(){return this._attributes["sentry.op"]}set op(e){this.setAttribute("sentry.op",e)}get origin(){return this._attributes["sentry.origin"]}set origin(e){this.setAttribute("sentry.origin",e)}spanContext(){const{_spanId:e,_traceId:t,_sampled:n}=this;return{spanId:e,traceId:t,traceFlags:n?1:0}}startChild(e){const t=new OT(c(a({},e),{parentSpanId:this._spanId,sampled:this._sampled,traceId:this._traceId}));t.spanRecorder=this.spanRecorder,t.spanRecorder&&t.spanRecorder.add(t);const n=$k(this);if(t.transaction=n,mk&&n){const r=`[Tracing] Starting '${e&&e.op||"< unknown op >"}' span on transaction '${Ck(t).description||"< unknown name >"}' (${n.spanContext().spanId}).`;yS.log(r),this._logMessage=r}return t}setTag(e,t){return this.tags=c(a({},this.tags),{[e]:t}),this}setData(e,t){return this.data=c(a({},this.data),{[e]:t}),this}setAttribute(e,t){void 0===t?delete this._attributes[e]:this._attributes[e]=t}setAttributes(e){Object.keys(e).forEach((t=>this.setAttribute(t,e[t])))}setStatus(e){return this._status=e,this}setHttpStatus(e){return yT(this,e),this}setName(e){this.updateName(e)}updateName(e){return this._name=e,this}isSuccess(){return"ok"===this._status}finish(e){return this.end(e)}end(e){if(this._endTime)return;const t=$k(this);if(mk&&t&&t.spanContext().spanId!==this._spanId){const e=this._logMessage;e&&yS.log(e.replace("Starting","Finishing"))}this._endTime=Tk(e)}toTraceparent(){return kk(this)}toContext(){return NS({data:this._getData(),description:this._name,endTimestamp:this._endTime,op:this.op,parentSpanId:this._parentSpanId,sampled:this._sampled,spanId:this._spanId,startTimestamp:this._startTime,status:this._status,tags:this.tags,traceId:this._traceId})}updateWithContext(e){return this.data=e.data||{},this._name=e.name||e.description,this._endTime=e.endTimestamp,this.op=e.op,this._parentSpanId=e.parentSpanId,this._sampled=e.sampled,this._spanId=e.spanId||this._spanId,this._startTime=e.startTimestamp||this._startTime,this._status=e.status,this.tags=e.tags||{},this._traceId=e.traceId||this._traceId,this}getTraceContext(){return xk(this)}getSpanJSON(){return NS({data:this._getData(),description:this._name,op:this._attributes["sentry.op"],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:this._status,tags:Object.keys(this.tags).length>0?this.tags:void 0,timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes["sentry.origin"],_metrics_summary:ET(this),profile_id:this._attributes.profile_id,exclusive_time:this._exclusiveTime,measurements:Object.keys(this._measurements).length>0?this._measurements:void 0})}isRecording(){return!this._endTime&&!!this._sampled}toJSON(){return this.getSpanJSON()}_getData(){const{data:e,_attributes:t}=this,n=Object.keys(e).length>0,r=Object.keys(t).length>0;if(n||r)return n&&r?a(a({},e),t):n?e:t}}class AT extends OT{constructor(e,t){super(e),this._contexts={},this._hub=t||oT(),this._name=e.name||"",this._metadata=a({},e.metadata),this._trimEnd=e.trimEnd,this.transaction=this;const n=this._metadata.dynamicSamplingContext;n&&(this._frozenDynamicSamplingContext=a({},n))}get name(){return this._name}set name(e){this.setName(e)}get metadata(){return a(a(a({source:"custom",spanMetadata:{}},this._metadata),this._attributes["sentry.source"]&&{source:this._attributes["sentry.source"]}),this._attributes["sentry.sample_rate"]&&{sampleRate:this._attributes["sentry.sample_rate"]})}set metadata(e){this._metadata=e}setName(e,t="custom"){this._name=e,this.setAttribute("sentry.source",t)}updateName(e){return this._name=e,this}initSpanRecorder(e=1e3){this.spanRecorder||(this.spanRecorder=new CT(e)),this.spanRecorder.add(this)}setContext(e,t){null===t?delete this._contexts[e]:this._contexts[e]=t}setMeasurement(e,t,n=""){this._measurements[e]={value:t,unit:n}}setMetadata(e){this._metadata=a(a({},this._metadata),e)}end(e){const t=Tk(e),n=this._finishTransaction(t);if(n)return this._hub.captureEvent(n)}toContext(){const e=super.toContext();return NS(c(a({},e),{name:this._name,trimEnd:this._trimEnd}))}updateWithContext(e){return super.updateWithContext(e),this._name=e.name||"",this._trimEnd=e.trimEnd,this}getDynamicSamplingContext(){return Gk(this)}setHub(e){this._hub=e}getProfileId(){if(void 0!==this._contexts&&void 0!==this._contexts.profile)return this._contexts.profile.profile_id}_finishTransaction(e){if(void 0!==this._endTime)return;this._name||(mk&&yS.warn("Transaction has no name, falling back to ``."),this._name=""),super.end(e);const t=this._hub.getClient();if(t&&t.emit&&t.emit("finishTransaction",this),!0!==this._sampled)return mk&&yS.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."),void(t&&t.recordDroppedEvent("sample_rate","transaction"));const n=this.spanRecorder?this.spanRecorder.spans.filter((e=>e!==this&&Ck(e).timestamp)):[];if(this._trimEnd&&n.length>0){const e=n.map((e=>Ck(e).timestamp)).filter(Boolean);this._endTime=e.reduce(((e,t)=>e>t?e:t))}const{scope:r,isolationScope:i}={scope:(o=this)._sentryScope,isolationScope:o._sentryIsolationScope};var o;const{metadata:s}=this,{source:u}=s,l=a({contexts:c(a({},this._contexts),{trace:xk(this)}),spans:n,start_timestamp:this._startTime,tags:this.tags,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:a(c(a({},s),{capturedSpanScope:r,capturedSpanIsolationScope:i}),NS({dynamicSamplingContext:Gk(this)})),_metrics_summary:ET(this)},u&&{transaction_info:{source:u}});return Object.keys(this._measurements).length>0&&(mk&&yS.log("[Measurements] Adding measurements to transaction",JSON.stringify(this._measurements,void 0,2)),l.measurements=this._measurements),mk&&yS.log(`[Tracing] Finishing ${this.op} transaction: ${this._name}.`),l}}const IT={idleTimeout:1e3,finalTimeout:3e4,heartbeatInterval:5e3},NT=["heartbeatFailed","idleTimeout","documentHidden","finalTimeout","externalFinish","cancelled"];class DT extends CT{constructor(e,t,n,r){super(r),this._pushActivity=e,this._popActivity=t,this.transactionSpanId=n}add(e){if(e.spanContext().spanId!==this.transactionSpanId){const t=e.end;e.end=(...n)=>(this._popActivity(e.spanContext().spanId),t.apply(e,n)),void 0===Ck(e).timestamp&&this._pushActivity(e.spanContext().spanId)}super.add(e)}}class MT extends AT{constructor(e,t,n=IT.idleTimeout,r=IT.finalTimeout,i=IT.heartbeatInterval,o=!1,s=!1){super(e,t),this._idleHub=t,this._idleTimeout=n,this._finalTimeout=r,this._heartbeatInterval=i,this._onScope=o,this.activities={},this._heartbeatCounter=0,this._finished=!1,this._idleTimeoutCanceledPermanently=!1,this._beforeFinishCallbacks=[],this._finishReason=NT[4],this._autoFinishAllowed=!s,o&&(mk&&yS.log(`Setting idle transaction on scope. Span ID: ${this.spanContext().spanId}`),t.getScope().setSpan(this)),s||this._restartIdleTimeout(),setTimeout((()=>{this._finished||(this.setStatus("deadline_exceeded"),this._finishReason=NT[3],this.end())}),this._finalTimeout)}end(e){const t=Tk(e);if(this._finished=!0,this.activities={},"ui.action.click"===this.op&&this.setAttribute("finishReason",this._finishReason),this.spanRecorder){mk&&yS.log("[Tracing] finishing IdleTransaction",new Date(1e3*t).toISOString(),this.op);for(const e of this._beforeFinishCallbacks)e(this,t);this.spanRecorder.spans=this.spanRecorder.spans.filter((e=>{if(e.spanContext().spanId===this.spanContext().spanId)return!0;Ck(e).timestamp||(e.setStatus("cancelled"),e.end(t),mk&&yS.log("[Tracing] cancelling span since transaction ended early",JSON.stringify(e,void 0,2)));const{start_timestamp:n,timestamp:r}=Ck(e),i=n&&n{this._finished||this._pushActivity(e)},n=e=>{this._finished||this._popActivity(e)};this.spanRecorder=new DT(t,n,this.spanContext().spanId,e),mk&&yS.log("Starting heartbeat"),this._pingHeartbeat()}this.spanRecorder.add(this)}cancelIdleTimeout(e,{restartOnChildSpanChange:t}={restartOnChildSpanChange:!0}){this._idleTimeoutCanceledPermanently=!1===t,this._idleTimeoutID&&(clearTimeout(this._idleTimeoutID),this._idleTimeoutID=void 0,0===Object.keys(this.activities).length&&this._idleTimeoutCanceledPermanently&&(this._finishReason=NT[5],this.end(e)))}setFinishReason(e){this._finishReason=e}sendAutoFinishSignal(){this._autoFinishAllowed||(mk&&yS.log("[Tracing] Received finish signal for idle transaction."),this._restartIdleTimeout(),this._autoFinishAllowed=!0)}_restartIdleTimeout(e){this.cancelIdleTimeout(),this._idleTimeoutID=setTimeout((()=>{this._finished||0!==Object.keys(this.activities).length||(this._finishReason=NT[1],this.end(e))}),this._idleTimeout)}_pushActivity(e){this.cancelIdleTimeout(void 0,{restartOnChildSpanChange:!this._idleTimeoutCanceledPermanently}),mk&&yS.log(`[Tracing] pushActivity: ${e}`),this.activities[e]=!0,mk&&yS.log("[Tracing] new activities count",Object.keys(this.activities).length)}_popActivity(e){if(this.activities[e]&&(mk&&yS.log(`[Tracing] popActivity ${e}`),delete this.activities[e],mk&&yS.log("[Tracing] new activities count",Object.keys(this.activities).length)),0===Object.keys(this.activities).length){const e=zx();this._idleTimeoutCanceledPermanently?this._autoFinishAllowed&&(this._finishReason=NT[5],this.end(e)):this._restartIdleTimeout(e+this._idleTimeout/1e3)}}_beat(){if(this._finished)return;const e=Object.keys(this.activities).join("");e===this._prevHeartbeatString?this._heartbeatCounter++:this._heartbeatCounter=1,this._prevHeartbeatString=e,this._heartbeatCounter>=3?this._autoFinishAllowed&&(mk&&yS.log("[Tracing] Transaction finished because of no change for 3 heart beats"),this.setStatus("deadline_exceeded"),this._finishReason=NT[0],this.end()):this._pingHeartbeat()}_pingHeartbeat(){mk&&yS.log(`pinging Heartbeat -> current counter: ${this._heartbeatCounter}`),setTimeout((()=>{this._beat()}),this._heartbeatInterval)}}function RT(e,t,n){if(!bT(t))return e.sampled=!1,e;if(void 0!==e.sampled)return e.setAttribute("sentry.sample_rate",Number(e.sampled)),e;let r;return"function"==typeof t.tracesSampler?(r=t.tracesSampler(n),e.setAttribute("sentry.sample_rate",Number(r))):void 0!==n.parentSampled?r=n.parentSampled:void 0!==t.tracesSampleRate?(r=t.tracesSampleRate,e.setAttribute("sentry.sample_rate",Number(r))):(r=1,e.setAttribute("sentry.sample_rate",r)),LT(r)?r?(e.sampled=Math.random()1)||(mk&&yS.warn(`[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got ${e}.`),!1)}function PT(){const e=this.getScope().getSpan();return e?{"sentry-trace":kk(e)}:{}}function jT(e,t){const n=this.getClient(),r=n&&n.getOptions()||{},i=r.instrumenter||"sentry",o=e.instrumenter||"sentry";i!==o&&(mk&&yS.error(`A transaction was started with instrumenter=\`${o}\`, but the SDK is configured with the \`${i}\` instrumenter.\nThe transaction will not be sampled. Please use the ${i} instrumentation to start transactions.`),e.sampled=!1);let s=new AT(e,this);return s=RT(s,r,a({name:e.name,parentSampled:e.parentSampled,transactionContext:e,attributes:a(a({},e.data),e.attributes)},t)),s.isRecording()&&s.initSpanRecorder(r._experiments&&r._experiments.maxSpans),n&&n.emit&&n.emit("startTransaction",s),s}function FT(e,t,n,r,i,o,s,c=!1){const u=e.getClient(),l=u&&u.getOptions()||{};let d=new MT(t,e,n,r,s,i,c);return d=RT(d,l,a({name:t.name,parentSampled:t.parentSampled,transactionContext:t,attributes:a(a({},t.data),t.attributes)},o)),d.isRecording()&&d.initSpanRecorder(l._experiments&&l._experiments.maxSpans),u&&u.emit&&u.emit("startTransaction",d),d}function UT(){const e=rT();e.__SENTRY__&&(e.__SENTRY__.extensions=e.__SENTRY__.extensions||{},e.__SENTRY__.extensions.startTransaction||(e.__SENTRY__.extensions.startTransaction=jT),e.__SENTRY__.extensions.traceHeaders||(e.__SENTRY__.extensions.traceHeaders=PT),fT||(fT=!0,hx(hT),gx(hT)))}function qT(e,t,n){const r=lT();r&&r.setMeasurement(e,t,n)}function BT(e,t,n,r){const i=ck(n),o=e.type&&"replay_event"!==e.type?e.type:"event";!function(e,t){t&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||t.name,e.sdk.version=e.sdk.version||t.version,e.sdk.integrations=[...e.sdk.integrations||[],...t.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...t.packages||[]])}(e,n&&n.sdk);const s=uk(e,i,r,t);delete e.sdkProcessingMetadata;return ek(s,[[{type:o},e]])}function VT(e){const t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function HT(e,t){return n=a({sentry_key:e.publicKey,sentry_version:"7"},t&&{sentry_client:`${t.name}/${t.version}`}),Object.keys(n).map((e=>`${encodeURIComponent(e)}=${encodeURIComponent(n[e])}`)).join("&");var n}function zT(e,t={}){const n="string"==typeof t?t:t.tunnel,r="string"!=typeof t&&t._metadata?t._metadata.sdk:void 0;return n||`${function(e){return`${VT(e)}${e.projectId}/envelope/`}(e)}?${HT(e,r)}`}const $T=[];function WT(e){const t=e.defaultIntegrations||[],n=e.integrations;let r;t.forEach((e=>{e.isDefaultInstance=!0})),r=Array.isArray(n)?[...t,...n]:"function"==typeof n?KS(n(t)):t;const i=function(e){const t={};return e.forEach((e=>{const{name:n}=e,r=t[n];r&&!r.isDefaultInstance&&e.isDefaultInstance||(t[n]=e)})),Object.keys(t).map((e=>t[e]))}(r),o=function(e,t){for(let n=0;n"Debug"===e.name));if(-1!==o){const[e]=i.splice(o,1);i.push(e)}return i}function GT(e,t){for(const n of t)n&&n.afterAllSetup&&n.afterAllSetup(e)}function YT(e,t,n){if(n[t.name])mk&&yS.log(`Integration skipped because it was already installed: ${t.name}`);else{if(n[t.name]=t,-1===$T.indexOf(t.name)&&(t.setupOnce(vk,oT),$T.push(t.name)),t.setup&&"function"==typeof t.setup&&t.setup(e),e.on&&"function"==typeof t.preprocessEvent){const n=t.preprocessEvent.bind(t);e.on("preprocessEvent",((t,r)=>n(t,r,e)))}if(e.addEventProcessor&&"function"==typeof t.processEvent){const n=t.processEvent.bind(t),r=Object.assign(((t,r)=>n(t,r,e)),{id:t.name});e.addEventProcessor(r)}mk&&yS.log(`Integration installed: ${t.name}`)}}function QT(e,t){return Object.assign((function(...e){return t(...e)}),{id:e})}function KT(e){return e.replace(/[^\w\-./]+/gi,"")}const JT=[["\n","\\n"],["\r","\\r"],["\t","\\t"],["\\","\\\\"],["|","\\u{7c}"],[",","\\u{2c}"]];function XT(e){return[...e].reduce(((e,t)=>e+function(e){for(const[t,n]of JT)if(e===t)return n;return e}(t)),"")}function ZT(e,t,n,r){const i={sent_at:(new Date).toISOString()};n&&n.sdk&&(i.sdk={name:n.sdk.name,version:n.sdk.version}),r&&t&&(i.dsn=bS(t));return ek(i,[function(e){const t=function(e){let t="";for(const n of e){const e=Object.entries(n.tags),r=e.length>0?`|#${e.map((([e,t])=>`${e}:${t}`)).join(",")}`:"";t+=`${n.name}@${n.unit}:${n.metric}|${n.metricType}${r}|T${n.timestamp}\n`}return t}(e);return[{type:"statsd",length:t.length},t]}(e)])}const eE="Not capturing exception because it's already been captured.";function tE(e){return void 0===e.type}function nE(e){return"transaction"===e.type}function rE(e){const t=Uk();t&&t.addEventProcessor&&t.addEventProcessor(e)}const iE={c:class{constructor(e){this._value=e}get weight(){return 1}add(e){this._value+=e}toString(){return`${this._value}`}},g:class{constructor(e){this._last=e,this._min=e,this._max=e,this._sum=e,this._count=1}get weight(){return 5}add(e){this._last=e,ethis._max&&(this._max=e),this._sum+=e,this._count++}toString(){return`${this._last}:${this._min}:${this._max}:${this._sum}:${this._count}`}},d:class{constructor(e){this._value=[e]}get weight(){return this._value.length}add(e){this._value.push(e)}toString(){return this._value.join(":")}},s:class{constructor(e){this.first=e,this._value=new Set([e])}get weight(){return this._value.size}add(e){this._value.add(e)}toString(){return Array.from(this._value).map((e=>"string"==typeof e?function(e){let t=0;for(let n=0;n>>0}(e):e)).join(":")}}};function oE(e){const t=oT().getStackTop();t.client=e,t.scope.setClient(e)}function sE(e,t,n=Ux(e.bufferSize||30)){let r={};function i(i){const o=[];if(nk(i,((t,n)=>{const i=ak(n);if(dk(r,i)){const r=aE(t,n);e.recordDroppedEvent("ratelimit_backoff",i,r)}else o.push(t)})),0===o.length)return Px();const s=ek(i[0],o),a=t=>{nk(s,((n,r)=>{const i=aE(n,r);e.recordDroppedEvent(t,ak(r),i)}))};return n.add((()=>t({body:ik(s,e.textEncoder)}).then((e=>(void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&mk&&yS.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),r=fk(r,e),e)),(e=>{throw a("network_error"),e})))).then((e=>e),(e=>{if(e instanceof xS)return mk&&yS.error("Skipped sending event because buffer is full."),a("queue_overflow"),Px();throw e}))}return i.__sentry__baseTransport__=!0,{send:i,flush:e=>n.drain(e)}}function aE(e,t){if("event"===t||"transaction"===t)return Array.isArray(e)?e[1]:void 0}function cE(e,t){mk&&yS.info(`[Offline]: ${e}`,t)}function uE(e){return t=>{const n=e(t),r=t.createStore?t.createStore(t):void 0;let i,o=5e3;function s(e,n,r){return i=["replay_event","replay_recording","client_report"],!nk(e,((e,t)=>i.includes(t)))&&(!t.shouldStore||t.shouldStore(e,n,r));var i}function a(e){r&&(i&&clearTimeout(i),i=setTimeout((async()=>{i=void 0;const e=await r.pop();e&&(cE("Attempting to send previously queued event"),u(e).catch((e=>{cE("Failed to retry sending",e)})))}),e),"number"!=typeof i&&i.unref&&i.unref())}function c(){i||(a(o),o=Math.min(2*o,36e5))}async function u(e){try{const t=await n.send(e);let r=100;if(t)if(t.headers&&t.headers["retry-after"])r=lk(t.headers["retry-after"]);else if((t.statusCode||0)>=400)return t;return a(r),o=5e3,t}catch(JZ){if(r&&await s(e,JZ,o))return await r.insert(e),c(),cE("Error sending. Event queued",JZ),{};throw JZ}}return t.flushAtStartup&&c(),{send:u,flush:e=>n.flush(e)}}}function lE(e,t){let n;return nk(e,((e,r)=>(t.includes(r)&&(n=Array.isArray(e)?e[1]:void 0),!!n))),n}function dE(e){return[{type:"span"},e]}function fE(e,t){const n=t&&function(e){return void 0!==e.getClient}(t)?t.getClient():t,r=n&&n.getDsn(),i=n&&n.getOptions().tunnel;return function(e,t){return!!t&&e.includes(t.host)}(e,r)||function(e,t){if(!t)return!1;return hE(e)===hE(t)}(e,i)}function hE(e){return"/"===e[e.length-1]?e.slice(0,-1):e}const pE=new Map,mE=new Set;function gE(e,t){return function(e){if(iS._sentryModuleMetadata)for(const t of Object.keys(iS._sentryModuleMetadata)){const n=iS._sentryModuleMetadata[t];if(mE.has(t))continue;mE.add(t);const r=e(t);for(const e of r.reverse())if(e.filename){pE.set(e.filename,n);break}}}(e),pE.get(t)}const yE=()=>({name:"ModuleMetadata",setupOnce(){},setup(e){"function"==typeof e.on&&e.on("beforeEnvelope",(e=>{nk(e,((e,t)=>{if("event"===t){const t=Array.isArray(e)?e[1]:void 0;t&&(!function(e){try{e.exception.values.forEach((e=>{if(e.stacktrace)for(const t of e.stacktrace.frames||[])delete t.module_metadata}))}catch(t){}}(t),e[1]=t)}}))}))},processEvent:(e,t,n)=>(function(e,t){try{t.exception.values.forEach((t=>{if(t.stacktrace)for(const n of t.stacktrace.frames||[]){if(!n.filename)continue;const t=gE(e,n.filename);t&&(n.module_metadata=t)}}))}catch(n){}}(n.getOptions().stackParser,e),e)}),vE=QT("ModuleMetadata",yE),bE=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/],_E=[/^.*\/healthcheck$/,/^.*\/healthy$/,/^.*\/live$/,/^.*\/ready$/,/^.*\/heartbeat$/,/^.*\/health$/,/^.*\/healthz$/],wE=(e={})=>({name:"InboundFilters",setupOnce(){},processEvent(t,n,r){const i=r.getOptions();return function(e,t){if(t.ignoreInternal&&function(e){try{return"SentryError"===e.exception.values[0].type}catch(JZ){}return!1}(e))return mk&&yS.warn(`Event dropped due to being internal Sentry Error.\nEvent: ${WS(e)}`),!0;if(function(e,t){if(e.type||!t||!t.length)return!1;return function(e){const t=[];e.message&&t.push(e.message);let n;try{n=e.exception.values[e.exception.values.length-1]}catch(JZ){}n&&n.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`));mk&&0===t.length&&yS.error(`Could not extract message for event ${WS(e)}`);return t}(e).some((e=>Xw(e,t)))}(e,t.ignoreErrors))return mk&&yS.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${WS(e)}`),!0;if(function(e,t){if("transaction"!==e.type||!t||!t.length)return!1;const n=e.transaction;return!!n&&Xw(n,t)}(e,t.ignoreTransactions))return mk&&yS.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${WS(e)}`),!0;if(function(e,t){if(!t||!t.length)return!1;const n=xE(e);return!!n&&Xw(n,t)}(e,t.denyUrls))return mk&&yS.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${WS(e)}.\nUrl: ${xE(e)}`),!0;if(!function(e,t){if(!t||!t.length)return!0;const n=xE(e);return!n||Xw(n,t)}(e,t.allowUrls))return mk&&yS.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${WS(e)}.\nUrl: ${xE(e)}`),!0;return!1}(t,function(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:bE],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[],...e.disableTransactionDefaults?[]:_E],ignoreInternal:void 0===e.ignoreInternal||e.ignoreInternal}}(e,i))?null:t}}),SE=QT("InboundFilters",wE);function xE(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch(JZ){}return t?function(e=[]){for(let t=e.length-1;t>=0;t--){const n=e[t];if(n&&""!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(t):null}catch(t){return mk&&yS.error(`Cannot extract url for event ${WS(e)}`),null}}let kE;const TE=new WeakMap,EE=()=>({name:"FunctionToString",setupOnce(){kE=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=CS(this),n=TE.has(Uk())&&void 0!==t?t:this;return kE.apply(n,e)}}catch(JZ){}},setup(e){TE.set(e,!0)}}),CE=QT("FunctionToString",EE),OE=QT("LinkedErrors",((e={})=>{const t=e.limit||5,n=e.key||"cause";return{name:"LinkedErrors",setupOnce(){},preprocessEvent(e,r,i){const o=i.getOptions();Zw(hk,o.stackParser,o.maxValueLength,n,t,e,r)}}}));var AE=Object.freeze(Object.defineProperty({__proto__:null,FunctionToString:CE,InboundFilters:SE,LinkedErrors:OE},Symbol.toStringTag,{value:"Module"}));class IE{constructor(e){this._client=e,this._buckets=new Map,this._interval=setInterval((()=>this.flush()),5e3)}add(e,t,n,r="none",i={},o=zx()){const s=Math.floor(o),a=t.replace(/[^\w\-.]+/gi,"_");const c=function(e){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[KT(n)]=XT(String(e[n])));return t}(i),u=function(e){return e.replace(/[^\w]+/gi,"_")}(r),l=function(e,t,n,r){return`${e}${t}${n}${Object.entries(NS(r)).sort(((e,t)=>e[0].localeCompare(t[0])))}`}(e,a,u,c);let d=this._buckets.get(l);const f=d&&"s"===e?d.metric.weight:0;d?(d.metric.add(n),d.timestampe));this._client.captureAggregateMetrics(e)}this._buckets.clear()}}close(){clearInterval(this._interval),this.flush()}}const NE=()=>({name:"MetricsAggregator",setupOnce(){},setup(e){e.metricsAggregator=new IE(e)}});function DE(e,t,n,r={}){const i=Uk(),o=qk();if(i){if(!i.metricsAggregator)return void(mk&&yS.warn("No metrics aggregator enabled. Please add the MetricsAggregator integration to use metrics APIs"));const{unit:s,tags:c,timestamp:u}=r,{release:l,environment:d}=i.getOptions(),f=o.getTransaction(),h={};l&&(h.release=l),d&&(h.environment=d),f&&(h.transaction=Ck(f).description||""),mk&&yS.log(`Adding value of ${n} to ${e} metric ${t}`),i.metricsAggregator.add(e,t,n,s,a(a({},h),c),u)}}const ME={increment:function(e,t=1,n){DE("c",e,t,n)},distribution:function(e,t,n){DE("d",e,t,n)},set:function(e,t,n){DE("s",e,t,n)},gauge:function(e,t,n){DE("g",e,t,n)},MetricsAggregator:QT("MetricsAggregator",NE),metricsAggregatorIntegration:NE},RE=AE,LE="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,PE=iS;function jE(){PE.document?PE.document.addEventListener("visibilitychange",(()=>{const e=lT();if(PE.document.hidden&&e){const t="cancelled",{op:n,status:r}=Ck(e);LE&&yS.log(`[Tracing] Transaction: ${t} -> since tab moved to the background, op: ${n}`),r||e.setStatus(t),e.setTag("visibilitychange","document.hidden"),e.end()}})):LE&&yS.warn("[Tracing] Could not set up background tab detection due to lack of global document")}const FE=(e,t,n)=>{let r,i;return o=>{t.value>=0&&(o||n)&&(i=t.value-(r||0),(i||void 0===r)&&(r=t.value,t.delta=i,e(t)))}},UE=()=>PE.__WEB_VITALS_POLYFILL__?PE.performance&&(performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]||(()=>{const e=PE.performance.timing,t=PE.performance.navigation.type,n={entryType:"navigation",startTime:0,type:2==t?"back_forward":1===t?"reload":"navigate"};for(const r in e)"navigationStart"!==r&&"toJSON"!==r&&(n[r]=Math.max(e[r]-e.navigationStart,0));return n})()):PE.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0],qE=()=>{const e=UE();return e&&e.activationStart||0},BE=(e,t)=>{const n=UE();let r="navigate";return n&&(r=PE.document&&PE.document.prerendering||qE()>0?"prerender":n.type.replace(/_/g,"-")),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:`v3-${Date.now()}-${Math.floor(8999999999999*Math.random())+1e12}`,navigationType:r}},VE=(e,t,n)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){const r=new PerformanceObserver((e=>{t(e.getEntries())}));return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch(JZ){}},HE=(e,t)=>{const n=r=>{"pagehide"!==r.type&&"hidden"!==PE.document.visibilityState||(e(r),t&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};PE.document&&(addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0))};let zE=-1;const $E=()=>(zE<0&&(PE.document&&PE.document.visibilityState&&(zE="hidden"!==PE.document.visibilityState||PE.document.prerendering?1/0:0),HE((({timeStamp:e})=>{zE=e}),!0)),{get firstHiddenTime(){return zE}});let WE=0,GE=1/0,YE=0;const QE=e=>{e.forEach((e=>{e.interactionId&&(GE=Math.min(GE,e.interactionId),YE=Math.max(YE,e.interactionId),WE=YE?(YE-GE)/7+1:0)}))};let KE;const JE=()=>KE?WE:performance.interactionCount||0,XE=[],ZE={},eC=e=>{const t=XE[XE.length-1],n=ZE[e.interactionId];if(n||XE.length<10||e.duration>t.latency){if(n)n.entries.push(e),n.latency=Math.max(n.latency,e.duration);else{const t={id:e.interactionId,latency:e.duration,entries:[e]};ZE[t.id]=t,XE.push(t)}XE.sort(((e,t)=>t.latency-e.latency)),XE.splice(10).forEach((e=>{delete ZE[e.id]}))}},tC=(e,t)=>{t=t||{},"interactionCount"in performance||KE||(KE=VE("event",QE,{type:"event",buffered:!0,durationThreshold:0}));const n=BE("INP");let r;const i=e=>{e.forEach((e=>{if(e.interactionId&&eC(e),"first-input"===e.entryType){!XE.some((t=>t.entries.some((t=>e.duration===t.duration&&e.startTime===t.startTime))))&&eC(e)}}));const t=(()=>{const e=Math.min(XE.length-1,Math.floor(JE()/50));return XE[e]})();t&&t.latency!==n.value&&(n.value=t.latency,n.entries=t.entries,r())},o=VE("event",i,{durationThreshold:t.durationThreshold||40});r=FE(e,n,t.reportAllChanges),o&&(o.observe({type:"first-input",buffered:!0}),HE((()=>{i(o.takeRecords()),n.value<0&&JE()>0&&(n.value=0,n.entries=[]),r(!0)})))},nC={},rC=e=>{PE.document&&(PE.document.prerendering?addEventListener("prerenderingchange",(()=>rC(e)),!0):"complete"!==PE.document.readyState?addEventListener("load",(()=>rC(e)),!0):setTimeout(e,0))},iC={},oC={};let sC,aC,cC,uC,lC;function dC(e,t=!1){return bC("lcp",e,gC,cC,t)}function fC(e,t){return _C(e,t),oC[e]||(!function(e){const t={};"event"===e&&(t.durationThreshold=0);VE(e,(t=>{hC(e,{entries:t})}),t)}(e),oC[e]=!0),wC(e,t)}function hC(e,t){const n=iC[e];if(n&&n.length)for(const r of n)try{r(t)}catch(JZ){LE&&yS.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${PS(r)}\nError:`,JZ)}}function pC(){return((e,t={})=>{const n=BE("CLS",0);let r,i=0,o=[];const s=e=>{e.forEach((e=>{if(!e.hadRecentInput){const t=o[0],s=o[o.length-1];i&&0!==o.length&&e.startTime-s.startTime<1e3&&e.startTime-t.startTime<5e3?(i+=e.value,o.push(e)):(i=e.value,o=[e]),i>n.value&&(n.value=i,n.entries=o,r&&r())}}))},a=VE("layout-shift",s);if(a){r=FE(e,n,t.reportAllChanges);const i=()=>{s(a.takeRecords()),r(!0)};return HE(i),i}})((e=>{hC("cls",{metric:e}),sC=e}),{reportAllChanges:!0})}function mC(){return(e=>{const t=$E(),n=BE("FID");let r;const i=e=>{e.startTime{e.forEach(i)},s=VE("first-input",o);r=FE(e,n),s&&HE((()=>{o(s.takeRecords()),s.disconnect()}),!0)})((e=>{hC("fid",{metric:e}),aC=e}))}function gC(){return(e=>{const t=$E(),n=BE("LCP");let r;const i=e=>{const i=e[e.length-1];if(i){const e=Math.max(i.startTime-qE(),0);e{nC[n.id]||(i(o.takeRecords()),o.disconnect(),nC[n.id]=!0,r(!0))};return["keydown","click"].forEach((e=>{PE.document&&addEventListener(e,t,{once:!0,capture:!0})})),HE(t,!0),t}})((e=>{hC("lcp",{metric:e}),cC=e}))}function yC(){return((e,t)=>{t=t||{};const n=BE("TTFB"),r=FE(e,n,t.reportAllChanges);rC((()=>{const e=UE();if(e){if(n.value=Math.max(e.responseStart-qE(),0),n.value<0||n.value>performance.now())return;n.entries=[e],r(!0)}}))})((e=>{hC("ttfb",{metric:e}),uC=e}))}function vC(){return tC((e=>{hC("inp",{metric:e}),lC=e}))}function bC(e,t,n,r,i=!1){let o;return _C(e,t),oC[e]||(o=n(),oC[e]=!0),r&&t({metric:r}),wC(e,t,i?o:void 0)}function _C(e,t){iC[e]=iC[e]||[],iC[e].push(t)}function wC(e,t,n){return()=>{n&&n();const r=iC[e];if(!r)return;const i=r.indexOf(t);-1!==i&&r.splice(i,1)}}function SC(e){return"number"==typeof e&&isFinite(e)}function xC(e,t){var n=t,{startTimestamp:r}=n,i=u(n,["startTimestamp"]);return r&&e.startTimestamp>r&&(e.startTimestamp=r),e.startChild(a({startTimestamp:r},i))}function kC(e){return e/1e3}function TC(){return PE&&PE.addEventListener&&PE.performance}let EC,CC,OC=0,AC={};function IC(){const e=TC();if(e&&$x){e.mark&&PE.performance.mark("sentry-tracing-init");const t=bC("fid",(({metric:e})=>{const t=e.entries[e.entries.length-1];if(!t)return;const n=kC($x),r=kC(t.startTime);LE&&yS.log("[Measurements] Adding FID"),AC.fid={value:e.value,unit:"millisecond"},AC["mark.fid"]={value:n+r,unit:"second"}}),mC,aC),n=function(e,t=!1){return bC("cls",e,pC,sC,t)}((({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(LE&&yS.log("[Measurements] Adding CLS"),AC.cls={value:e.value,unit:""},CC=t)}),!0),r=dC((({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(LE&&yS.log("[Measurements] Adding LCP"),AC.lcp={value:e.value,unit:"millisecond"},EC=t)}),!0),i=function(e){return bC("ttfb",e,yC,uC)}((({metric:e})=>{e.entries[e.entries.length-1]&&(LE&&yS.log("[Measurements] Adding TTFB"),AC.ttfb={value:e.value,unit:"millisecond"})}));return()=>{t(),n(),r(),i()}}return()=>{}}function NC(){fC("longtask",(({entries:e})=>{for(const t of e){const e=lT();if(!e)return;const n=kC($x+t.startTime),r=kC(t.duration);e.startChild({description:"Main UI thread blocked",op:"ui.long-task",origin:"auto.ui.browser.metrics",startTimestamp:n,endTimestamp:n+r})}}))}function DC(){fC("event",(({entries:e})=>{for(const t of e){const e=lT();if(!e)return;if("click"===t.name){const n=kC($x+t.startTime),r=kC(t.duration),i={description:cS(t.target),op:`ui.interaction.${t.name}`,origin:"auto.ui.browser.metrics",startTimestamp:n,endTimestamp:n+r},o=fS(t.target);o&&(i.attributes={"ui.component_name":o}),e.startChild(i)}}}))}function MC(e,t){if(TC()&&$x){const n=function(e,t){return n=({metric:n})=>{if(void 0===n.value)return;const r=n.entries.find((e=>e.duration===n.value&&void 0!==RC[e.name])),i=Uk();if(!r||!i)return;const o=RC[r.name],s=i.getOptions(),c=kC($x+r.startTime),u=kC(n.value),l=void 0!==r.interactionId?e[r.interactionId]:void 0;if(void 0===l)return;const{routeName:d,parentContext:f,activeTransaction:h,user:p,replayId:m}=l,g=void 0!==p?p.email||p.id||p.ip_address:void 0,y=void 0!==h?h.getProfileId():void 0,v=new OT({startTimestamp:c,endTimestamp:c+u,op:`ui.interaction.${o}`,name:cS(r.target),attributes:a(a(a({release:s.release,environment:s.environment,transaction:d},void 0!==g&&""!==g?{user:g}:{}),void 0!==y?{profile_id:y}:{}),void 0!==m?{replay_id:m}:{}),exclusiveTime:n.value,measurements:{inp:{value:n.value,unit:"millisecond"}}}),b=function(e,t,n){if(!bT(t))return!1;let r;return r=void 0!==e&&"function"==typeof t.tracesSampler?t.tracesSampler({transactionContext:e,name:e.name,parentSampled:e.parentSampled,attributes:a(a({},e.data),e.attributes),location:PE.location}):void 0!==e&&void 0!==e.sampled?e.sampled:void 0!==t.tracesSampleRate?t.tracesSampleRate:1,LT(r)?!0===r?n:!1===r?0:r*n:(LE&&yS.warn("[Tracing] Discarding interaction span because of invalid sample rate."),!1)}(f,s,t);if(b&&Math.random(){LE&&yS.error("Error while sending interaction:",e)}))}},bC("inp",n,vC,lC);var n}(e,t);return()=>{n()}}return()=>{}}const RC={click:"click",pointerdown:"click",pointerup:"click",mousedown:"click",mouseup:"click",touchstart:"click",touchend:"click",mouseover:"hover",mouseout:"hover",mouseenter:"hover",mouseleave:"hover",pointerover:"hover",pointerout:"hover",pointerenter:"hover",pointerleave:"hover",dragstart:"drag",dragend:"drag",drag:"drag",dragenter:"drag",dragleave:"drag",dragover:"drag",drop:"drag",keydown:"press",keyup:"press",keypress:"press",input:"press"};function LC(e){const t=TC();if(!t||!PE.performance.getEntries||!$x)return;LE&&yS.log("[Tracing] Adding & adjusting spans using Performance API");const n=kC($x),r=t.getEntries(),{op:i,start_timestamp:o}=Ck(e);if(r.slice(OC).forEach((t=>{const r=kC(t.startTime),i=kC(t.duration);if(!("navigation"===e.op&&o&&n+r{PC(e,t,r,n)})),PC(e,t,"secureConnection",n,"TLS/SSL","connectEnd"),PC(e,t,"fetch",n,"cache","domainLookupStart"),PC(e,t,"domainLookup",n,"DNS"),function(e,t,n){t.responseEnd&&(xC(e,{op:"browser",origin:"auto.browser.browser.metrics",description:"request",startTimestamp:n+kC(t.requestStart),endTimestamp:n+kC(t.responseEnd)}),xC(e,{op:"browser",origin:"auto.browser.browser.metrics",description:"response",startTimestamp:n+kC(t.responseStart),endTimestamp:n+kC(t.responseEnd)}))}(e,t,n)}(e,t,n);break;case"mark":case"paint":case"measure":{!function(e,t,n,r,i){const o=i+n,s=o+r;xC(e,{description:t.name,endTimestamp:s,op:t.entryType,origin:"auto.resource.browser.metrics",startTimestamp:o})}(e,t,r,i,n);const o=$E(),s=t.startTime{if(!AC[e]||!o||n>=o)return;const t=AC[e].value,r=n+kC(t),i=Math.abs(1e3*(r-o)),s=i-t;LE&&yS.log(`[Measurements] Normalized ${e} from ${t} to ${i} (${s})`),AC[e].value=i}));const t=AC["mark.fid"];t&&AC.fid&&(xC(e,{description:"first input delay",endTimestamp:t.value+kC(AC.fid.value),op:"ui.action",origin:"auto.ui.browser.metrics",startTimestamp:t.value}),delete AC["mark.fid"]),"fcp"in AC||delete AC.cls,Object.keys(AC).forEach((e=>{qT(e,AC[e].value,AC[e].unit)})),function(e){EC&&(LE&&yS.log("[Measurements] Adding LCP Data"),EC.element&&e.setTag("lcp.element",cS(EC.element)),EC.id&&e.setTag("lcp.id",EC.id),EC.url&&e.setTag("lcp.url",EC.url.trim().slice(0,200)),e.setTag("lcp.size",EC.size));CC&&CC.sources&&(LE&&yS.log("[Measurements] Adding CLS Data"),CC.sources.forEach(((t,n)=>e.setTag(`cls.source.${n+1}`,cS(t.node)))))}(e)}EC=void 0,CC=void 0,AC={}}function PC(e,t,n,r,i,o){const s=o?t[o]:t[`${n}End`],a=t[`${n}Start`];a&&s&&xC(e,{op:"browser",origin:"auto.browser.browser.metrics",description:i||n,startTimestamp:r+kC(a),endTimestamp:r+kC(s)})}function jC(e,t,n,r){const i=t[n];null!=i&&i<2147483647&&(e[r]=i)}function FC(e,t,n,r,i="auto.http.browser"){if(!bT()||!e.fetchData)return;const o=t(e.fetchData.url);if(e.endTimestamp&&o){const t=e.fetchData.__span;if(!t)return;const n=r[t];return void(n&&(!function(e,t){if(t.response){yT(e,t.response.status);const n=t.response&&t.response.headers&&t.response.headers.get("content-length");if(n){const t=parseInt(n);t>0&&e.setAttribute("http.response_content_length",t)}}else t.error&&e.setStatus("internal_error");e.end()}(n,e),delete r[t]))}const s=qk(),u=Uk(),{method:l,url:d}=e.fetchData,f=function(e){try{return new URL(e).href}catch(JZ){return}}(d),h=f?qx(f).host:void 0,p=o?_T({name:`${l} ${d}`,onlyIfParent:!0,attributes:{url:d,type:"fetch","http.method":l,"http.url":f,"server.address":h,"sentry.origin":i},op:"http.client"}):void 0;if(p&&(e.fetchData.__span=p.spanContext().spanId,r[p.spanContext().spanId]=p),n(e.fetchData.url)&&u){const t=e.args[0];e.args[1]=e.args[1]||{};const n=e.args[1];n.headers=function(e,t,n,r,i){const o=i||n.getSpan(),s=sT(),{traceId:u,spanId:l,sampled:d,dsc:f}=a(a({},s.getPropagationContext()),n.getPropagationContext()),h=o?kk(o):Zx(u,l,d),p=Yx(f||(o?Gk(o):Wk(u,t,n))),m=r.headers||("undefined"!=typeof Request&&Ww(e,Request)?e.headers:void 0);if(m){if("undefined"!=typeof Headers&&Ww(m,Headers)){const e=new Headers(m);return e.append("sentry-trace",h),p&&e.append("baggage",p),e}if(Array.isArray(m)){const e=[...m,["sentry-trace",h]];return p&&e.push(["baggage",p]),e}{const e="baggage"in m?m.baggage:void 0,t=[];return Array.isArray(e)?t.push(...e):e&&t.push(e),p&&t.push(p),c(a({},m),{"sentry-trace":h,baggage:t.length>0?t.join(","):void 0})}}return{"sentry-trace":h,baggage:p}}(t,u,s,n,p)}return p}const UC=["localhost",/^\/(?!\/)/],qC={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,tracingOrigins:UC,tracePropagationTargets:UC};function BC(e){const{traceFetch:t,traceXHR:n,tracePropagationTargets:r,tracingOrigins:i,shouldCreateSpanForRequest:o,enableHTTPTimings:s}=a({traceFetch:qC.traceFetch,traceXHR:qC.traceXHR},e),c="function"==typeof o?o:e=>!0,u=e=>function(e,t){return Xw(e,t||UC)}(e,r||i),l={};t&&cx((e=>{const t=FC(e,c,u,l);if(t){const n=zC(e.fetchData.url),r=n?qx(n).host:void 0;t.setAttributes({"http.url":n,"server.address":r})}s&&t&&VC(t)})),n&&kx((e=>{const t=function(e,t,n,r){const i=e.xhr,o=i&&i.__sentry_xhr_v3__;if(!bT()||!i||i.__sentry_own_request__||!o)return;const s=t(o.url);if(e.endTimestamp&&s){const e=i.__sentry_xhr_span_id__;if(!e)return;const t=r[e];return void(t&&void 0!==o.status_code&&(yT(t,o.status_code),t.end(),delete r[e]))}const c=qk(),u=sT(),l=zC(o.url),d=l?qx(l).host:void 0,f=s?_T({name:`${o.method} ${o.url}`,onlyIfParent:!0,attributes:{type:"xhr","http.method":o.method,"http.url":l,url:o.url,"server.address":d,"sentry.origin":"auto.http.browser"},op:"http.client"}):void 0;f&&(i.__sentry_xhr_span_id__=f.spanContext().spanId,r[i.__sentry_xhr_span_id__]=f);const h=Uk();if(i.setRequestHeader&&n(o.url)&&h){const{traceId:e,spanId:t,sampled:n,dsc:r}=a(a({},u.getPropagationContext()),c.getPropagationContext());!function(e,t,n){try{e.setRequestHeader("sentry-trace",t),n&&e.setRequestHeader("baggage",n)}catch(r){}}(i,f?kk(f):Zx(e,t,n),Yx(r||(f?Gk(f):Wk(e,h,c))))}return f}(e,c,u,l);s&&t&&VC(t)}))}function VC(e){const{url:t}=Ck(e).data||{};if(!t||"string"!=typeof t)return;const n=fC("resource",(({entries:r})=>{r.forEach((r=>{if(function(e){return"resource"===e.entryType&&"initiatorType"in e&&"string"==typeof e.nextHopProtocol&&("fetch"===e.initiatorType||"xmlhttprequest"===e.initiatorType)}(r)&&r.name.endsWith(t)){(function(e){const{name:t,version:n}=function(e){let t="unknown",n="unknown",r="";for(const i of e){if("/"===i){[t,n]=e.split("/");break}if(!isNaN(Number(i))){t="h"===r?"http":r,n=e.split(r)[1];break}r+=i}r===e&&(t=r);return{name:t,version:n}}(e.nextHopProtocol),r=[];if(r.push(["network.protocol.version",n],["network.protocol.name",t]),!$x)return r;return[...r,["http.request.redirect_start",HC(e.redirectStart)],["http.request.fetch_start",HC(e.fetchStart)],["http.request.domain_lookup_start",HC(e.domainLookupStart)],["http.request.domain_lookup_end",HC(e.domainLookupEnd)],["http.request.connect_start",HC(e.connectStart)],["http.request.secure_connection_start",HC(e.secureConnectionStart)],["http.request.connection_end",HC(e.connectEnd)],["http.request.request_start",HC(e.requestStart)],["http.request.response_start",HC(e.responseStart)],["http.request.response_end",HC(e.responseEnd)]]})(r).forEach((t=>e.setAttribute(...t))),setTimeout(n)}}))}))}function HC(e=0){return(($x||performance.timeOrigin)+e)/1e3}function zC(e){try{return new URL(e,PE.location.origin).href}catch(JZ){return}}const $C=a(c(a({},IT),{markBackgroundTransactions:!0,routingInstrumentation:function(e,t=!0,n=!0){if(!PE||!PE.location)return void(LE&&yS.warn("Could not initialize routing instrumentation due to invalid location"));let r,i=PE.location.href;t&&(r=e({name:PE.location.pathname,startTimestamp:$x?$x/1e3:void 0,op:"pageload",origin:"auto.pageload.browser",metadata:{source:"url"}})),n&&wx((({to:t,from:n})=>{void 0===n&&i&&-1!==i.indexOf(t)?i=void 0:n!==t&&(i=void 0,r&&(LE&&yS.log(`[Tracing] Finishing current transaction with op: ${r.op}`),r.end()),r=e({name:PE.location.pathname,op:"navigation",origin:"auto.navigation.browser",metadata:{source:"url"}}))}))},startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0,enableLongTask:!0,enableInp:!1,interactionsSampleRate:1,_experiments:{}}),qC);function WC(e){const t=dS(`meta[name=${e}]`);return t?t.getAttribute("content"):void 0}function GC(e){const t=e.attributes&&e.attributes["sentry.source"],n=e.data&&e.data["sentry.source"],r=e.metadata&&e.metadata.source;return t||n||r}const YC=a(c(a({},IT),{instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableInp:!1,interactionsSampleRate:1,_experiments:{}}),qC),QC=(e={})=>{const t=!!LE&&!(!e.tracePropagationTargets&&!e.tracingOrigins);UT(),!e.tracePropagationTargets&&e.tracingOrigins&&(e.tracePropagationTargets=e.tracingOrigins);const n=a(a({},YC),e),r=IC(),i={};n.enableInp&&MC(i,n.interactionsSampleRate),n.enableLongTask&&NC(),n._experiments.enableInteractions&&DC();const o={name:void 0,context:void 0};function s(e){const t=oT(),{beforeStartSpan:i,idleTimeout:s,finalTimeout:u,heartbeatInterval:l}=n,d="pageload"===e.op;let f;if(d){const t=d?XC("sentry-trace"):"",n=d?XC("baggage"):void 0,{traceId:r,dsc:i,parentSpanId:o,sampled:s}=Xx(t,n);f=c(a({traceId:r,parentSpanId:o,parentSampled:s},e),{metadata:c(a({},e.metadata),{dynamicSamplingContext:i}),trimEnd:!0})}else f=a({trimEnd:!0},e);const h=i?i(f):f;h.metadata=h.name!==f.name?c(a({},h.metadata),{source:"custom"}):h.metadata,o.name=h.name,o.context=h,!1===h.sampled&&LE&&yS.log(`[Tracing] Will not send ${h.op} transaction because of beforeNavigate.`),LE&&yS.log(`[Tracing] Starting ${h.op} transaction on scope`);const{location:p}=PE,m=FT(t,h,s,u,!0,{location:p},l,d);return d&&PE.document&&(PE.document.addEventListener("readystatechange",(()=>{["interactive","complete"].includes(PE.document.readyState)&&m.sendAutoFinishSignal()})),["interactive","complete"].includes(PE.document.readyState)&&m.sendAutoFinishSignal()),m.registerBeforeFinishCallback((e=>{r(),LC(e)})),m}return{name:"BrowserTracing",setupOnce:()=>{},afterAllSetup(e){const r=e.getOptions(),{markBackgroundSpan:c,traceFetch:u,traceXHR:l,shouldCreateSpanForRequest:d,enableHTTPTimings:f,_experiments:h}=n,p=r&&r.tracePropagationTargets,m=p||n.tracePropagationTargets;let g;LE&&t&&p&&yS.warn("[Tracing] The `tracePropagationTargets` option was set in the BrowserTracing integration and top level `Sentry.init`. The top level `Sentry.init` value is being used.");let y=PE.location&&PE.location.href;if(e.on&&(e.on("startNavigationSpan",(e=>{g&&(LE&&yS.log(`[Tracing] Finishing current transaction with op: ${Ck(g).op}`),g.end()),g=s(a({op:"navigation"},e))})),e.on("startPageLoadSpan",(e=>{g&&(LE&&yS.log(`[Tracing] Finishing current transaction with op: ${Ck(g).op}`),g.end()),g=s(a({op:"pageload"},e))}))),n.instrumentPageLoad&&e.emit&&PE.location){const t={name:PE.location.pathname,startTimestamp:$x?$x/1e3:void 0,origin:"auto.pageload.browser",attributes:{"sentry.source":"url"}};KC(e,t)}n.instrumentNavigation&&e.emit&&PE.location&&wx((({to:t,from:n})=>{if(void 0===n&&y&&-1!==y.indexOf(t))y=void 0;else if(n!==t){y=void 0;const t={name:PE.location.pathname,origin:"auto.navigation.browser",attributes:{"sentry.source":"url"}};JC(e,t)}})),c&&jE(),h.enableInteractions&&function(e,t){let n;const r=()=>{const{idleTimeout:r,finalTimeout:i,heartbeatInterval:o}=e,s="ui.action.click",a=lT();if(a&&a.op&&["navigation","pageload"].includes(a.op))return void(LE&&yS.warn(`[Tracing] Did not create ${s} transaction because a pageload or navigation transaction is in progress.`));if(n&&(n.setFinishReason("interactionInterrupted"),n.end(),n=void 0),!t.name)return void(LE&&yS.warn(`[Tracing] Did not create ${s} transaction because _latestRouteName is missing.`));const{location:c}=PE,u={name:t.name,op:s,trimEnd:!0,data:{"sentry.source":t.context?ZC(t.context):"url"}};n=FT(oT(),u,r,i,!0,{location:c},o)};["click"].forEach((e=>{PE.document&&addEventListener(e,r,{once:!1,capture:!0})}))}(n,o),n.enableInp&&function(e,t){const n=({entries:n})=>{const r=Uk(),i=void 0!==r&&void 0!==r.getIntegrationByName?r.getIntegrationByName("Replay"):void 0,o=void 0!==i?i.getReplayId():void 0,s=lT(),a=qk(),c=void 0!==a?a.getUser():void 0;n.forEach((n=>{if(function(e){return"duration"in e}(n)){const r=n.interactionId;if(void 0===r)return;const i=e[r],a=n.duration,u=n.startTime,l=Object.keys(e),d=l.length>0?l.reduce(((t,n)=>e[t].duratione[t])).some((e=>e.duration===a&&e.startTime===u)))return}if(!r)return;if(i)i.duration=Math.max(i.duration,a);else if(l.length<10||void 0===d||a>e[d].duration){const n=t.name,i=t.context;n&&i&&(d&&Object.keys(e).length>=10&&delete e[d],e[r]={routeName:n,duration:a,parentContext:i,user:c,activeTransaction:s,replayId:o,startTime:u})}}}))};fC("event",n),fC("first-input",n)}(i,o),BC({traceFetch:u,traceXHR:l,tracePropagationTargets:m,shouldCreateSpanForRequest:d,enableHTTPTimings:f})},options:n}};function KC(e,t){if(!e.emit)return;e.emit("startPageLoadSpan",t);const n=wT();return"pageload"===(n&&Ck(n).op)?n:void 0}function JC(e,t){if(!e.emit)return;e.emit("startNavigationSpan",t);const n=wT();return"navigation"===(n&&Ck(n).op)?n:void 0}function XC(e){const t=dS(`meta[name=${e}]`);return t?t.getAttribute("content"):void 0}function ZC(e){const t=e.attributes&&e.attributes["sentry.source"],n=e.data&&e.data["sentry.source"],r=e.metadata&&e.metadata.source;return t||n||r}const eO=iS;let tO=0;function nO(){return tO>0}function rO(){tO++,setTimeout((()=>{tO--}))}function iO(e,t={},n){if("function"!=typeof e)return e;try{const t=e.__sentry_wrapped__;if(t)return"function"==typeof t?t:e;if(CS(e))return e}catch(JZ){return e}const r=function(){const r=Array.prototype.slice.call(arguments);try{n&&"function"==typeof n&&n.apply(this,arguments);const i=r.map((e=>iO(e,t)));return e.apply(this,i)}catch(i){throw rO(),Fk((e=>{e.addEventProcessor((e=>(t.mechanism&&(GS(e,void 0,void 0),YS(e,t.mechanism)),e.extra=c(a({},e.extra),{arguments:r}),e))),Mk(i)})),i}};try{for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t])}catch(i){}ES(r,e),TS(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get:()=>e.name})}catch(i){}return r}const oO="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function sO(e,t){const n=cO(e,t),r={type:t&&t.name,value:lO(t)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function aO(e,t){return{exception:{values:[sO(e,t)]}}}function cO(e,t){const n=t.stacktrace||t.stack||"",r=function(e){if(e){if("number"==typeof e.framesToPop)return e.framesToPop;if(uO.test(e.message))return 1}return 0}(t);try{return e(n,r)}catch(JZ){}return[]}const uO=/Minified React error #\d+;/i;function lO(e){const t=e&&e.message;return t?t.error&&"string"==typeof t.error.message?t.error.message:t:"No error message"}function dO(e,t,n,r){const i=hO(e,t,n&&n.syntheticException||void 0,r);return YS(i),i.level="error",n&&n.event_id&&(i.event_id=n.event_id),Px(i)}function fO(e,t,n="info",r,i){const o=pO(e,t,r&&r.syntheticException||void 0,i);return o.level=n,r&&r.event_id&&(o.event_id=r.event_id),Px(o)}function hO(e,t,n,r,i){let o;if(jw(t)&&t.error){return aO(e,t.error)}if(Fw(t)||Pw(t,"DOMException")){const i=t;if("stack"in t)o=aO(e,t);else{const t=i.name||(Fw(i)?"DOMError":"DOMException"),s=i.message?`${t}: ${i.message}`:t;o=pO(e,s,n,r),GS(o,s)}return"code"in i&&(o.tags=c(a({},o.tags),{"DOMException.code":`${i.code}`})),o}if(Lw(t))return aO(e,t);if(Vw(t)||Hw(t)){return o=function(e,t,n,r){const i=Uk(),o=i&&i.getOptions().normalizeDepth,s={exception:{values:[{type:Hw(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:mO(t,{isUnhandledRejection:r})}]},extra:{__serialized__:Ax(t,o)}};if(n){const t=cO(e,n);t.length&&(s.exception.values[0].stacktrace={frames:t})}return s}(e,t,n,i),YS(o,{synthetic:!0}),o}return o=pO(e,t,n,r),GS(o,`${t}`,void 0),YS(o,{synthetic:!0}),o}function pO(e,t,n,r){const i={};if(r&&n){const r=cO(e,n);r.length&&(i.exception={values:[{value:t,stacktrace:{frames:r}}]})}if(qw(t)){const{__sentry_template_string__:e,__sentry_template_values__:n}=t;return i.logentry={message:e,params:n},i}return i.message=t,i}function mO(e,{isUnhandledRejection:t}){const n=function(e,t=40){const n=Object.keys(OS(e));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=t)return Yw(n[0],t);for(let r=n.length;r>0;r--){const e=n.slice(0,r).join(", ");if(!(e.length>t))return r===n.length?e:Yw(e,t)}return""}(e),r=t?"promise rejection":"exception";if(jw(e))return`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``;if(Hw(e)){return`Event \`${function(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch(JZ){}}(e)}\` (type=${e.type}) captured as ${r}`}return`Object captured as ${r} with keys: ${n}`}function gO(e,{metadata:t,tunnel:n,dsn:r}){return ek(a(a({event_id:e.event_id,sent_at:(new Date).toISOString()},t&&t.sdk&&{sdk:{name:t.sdk.name,version:t.sdk.version}}),!!n&&!!r&&{dsn:bS(r)}),[function(e){return[{type:"user_report"},e]}(e)])}class yO extends class{constructor(e){if(this._options=e,this._integrations={},this._integrationsInitialized=!1,this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],e.dsn?this._dsn=SS(e.dsn):mk&&yS.warn("No DSN provided, client will not send events."),this._dsn){const t=zT(this._dsn,e);this._transport=e.transport(c(a({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this)},e.transportOptions),{url:t}))}}captureException(e,t,n){if(QS(e))return void(mk&&yS.log(eE));let r=t&&t.event_id;return this._process(this.eventFromException(e,t).then((e=>this._captureEvent(e,t,n))).then((e=>{r=e}))),r}captureMessage(e,t,n,r){let i=n&&n.event_id;const o=qw(e)?e:String(e),s=Bw(e)?this.eventFromMessage(o,t,n):this.eventFromException(e,n);return this._process(s.then((e=>this._captureEvent(e,n,r))).then((e=>{i=e}))),i}captureEvent(e,t,n){if(t&&t.originalException&&QS(t.originalException))return void(mk&&yS.log(eE));let r=t&&t.event_id;const i=(e.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(e,t,i||n).then((e=>{r=e}))),r}captureSession(e){"string"!=typeof e.release?mk&&yS.warn("Discarded session because of missing or non-string release"):(this.sendSession(e),wk(e,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(e){const t=this._transport;return t?(this.metricsAggregator&&this.metricsAggregator.flush(),this._isClientDoneProcessing(e).then((n=>t.flush(e).then((e=>n&&e))))):Px(!0)}close(e){return this.flush(e).then((e=>(this.getOptions().enabled=!1,this.metricsAggregator&&this.metricsAggregator.close(),e)))}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}setupIntegrations(e){(e&&!this._integrationsInitialized||this._isEnabled()&&!this._integrationsInitialized)&&this._setupIntegrations()}init(){this._isEnabled()&&this._setupIntegrations()}getIntegrationById(e){return this.getIntegrationByName(e)}getIntegrationByName(e){return this._integrations[e]}getIntegration(e){try{return this._integrations[e.id]||null}catch(t){return mk&&yS.warn(`Cannot retrieve integration ${e.id} from the current Client`),null}}addIntegration(e){const t=this._integrations[e.name];YT(this,e,this._integrations),t||GT(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);let n=BT(e,this._dsn,this._options._metadata,this._options.tunnel);for(const i of t.attachments||[])n=tk(n,ok(i,this._options.transportOptions&&this._options.transportOptions.textEncoder));const r=this._sendEnvelope(n);r&&r.then((t=>this.emit("afterSendEvent",e,t)),null)}sendSession(e){const t=function(e,t,n,r){const i=ck(n);return ek(a(a({sent_at:(new Date).toISOString()},i&&{sdk:i}),!!r&&t&&{dsn:bS(t)}),["aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()]])}(e,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(t)}recordDroppedEvent(e,t,n){if(this._options.sendClientReports){const r="number"==typeof n?n:1,i=`${e}:${t}`;mk&&yS.log(`Recording outcome: "${i}"${r>1?` (${r} times)`:""}`),this._outcomes[i]=(this._outcomes[i]||0)+r}}captureAggregateMetrics(e){mk&&yS.log(`Flushing aggregated metrics, number of metrics: ${e.length}`);const t=ZT(e,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(t)}on(e,t){this._hooks[e]||(this._hooks[e]=[]),this._hooks[e].push(t)}emit(e,...t){this._hooks[e]&&this._hooks[e].forEach((e=>e(...t)))}_setupIntegrations(){const{integrations:e}=this._options;this._integrations=function(e,t){const n={};return t.forEach((t=>{t&&YT(e,t,n)})),n}(this,e),GT(this,e),this._integrationsInitialized=!0}_updateSessionFromEvent(e,t){let n=!1,r=!1;const i=t.exception&&t.exception.values;if(i){r=!0;for(const e of i){const t=e.mechanism;if(t&&!1===t.handled){n=!0;break}}}const o="ok"===e.status;(o&&0===e.errors||o&&n)&&(wk(e,c(a({},n&&{status:"crashed"}),{errors:e.errors||Number(r||n)})),this.captureSession(e))}_isClientDoneProcessing(e){return new Fx((t=>{let n=0;const r=setInterval((()=>{0==this._numProcessing?(clearInterval(r),t(!0)):(n+=1,e&&n>=e&&(clearInterval(r),t(!1)))}),1)}))}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,n,r=sT()){const i=this.getOptions(),o=Object.keys(this._integrations);return!t.integrations&&o.length>0&&(t.integrations=o),this.emit("preprocessEvent",e,t),Ak(i,e,t,n,this,r).then((e=>{if(null===e)return e;const t=a(a({},r.getPropagationContext()),n?n.getPropagationContext():void 0);if(!(e.contexts&&e.contexts.trace)&&t){const{traceId:r,spanId:i,parentSpanId:o,dsc:s}=t;e.contexts=a({trace:{trace_id:r,span_id:i,parent_span_id:o}},e.contexts);const c=s||Wk(r,this,n);e.sdkProcessingMetadata=a({dynamicSamplingContext:c},e.sdkProcessingMetadata)}return e}))}_captureEvent(e,t={},n){return this._processEvent(e,t,n).then((e=>e.event_id),(e=>{if(mk){const t=e;"log"===t.logLevel?yS.log(t.message):yS.warn(t)}}))}_processEvent(e,t,n){const r=this.getOptions(),{sampleRate:i}=r,o=nE(e),s=tE(e),u=e.type||"error",l=`before send for type \`${u}\``;if(s&&"number"==typeof i&&Math.random()>i)return this.recordDroppedEvent("sample_rate","error",e),jx(new xS(`Discarding event because it's not included in the random sample (sampling rate = ${i})`,"log"));const d="replay_event"===u?"replay":u,f=(e.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(e,t,n,f).then((n=>{if(null===n)throw this.recordDroppedEvent("event_processor",d,e),new xS("An event processor returned `null`, will not send event.","log");if(t.data&&!0===t.data.__sentry__)return n;return function(e,t){const n=`${t} must return \`null\` or a valid event.`;if(zw(e))return e.then((e=>{if(!Vw(e)&&null!==e)throw new xS(n);return e}),(e=>{throw new xS(`${t} rejected with ${e}`)}));if(!Vw(e)&&null!==e)throw new xS(n);return e}(function(e,t,n){const{beforeSend:r,beforeSendTransaction:i}=e;if(tE(t)&&r)return r(t,n);if(nE(t)&&i){if(t.spans){const e=t.spans.length;t.sdkProcessingMetadata=c(a({},t.sdkProcessingMetadata),{spanCountBeforeProcessing:e})}return i(t,n)}return t}(r,n,t),l)})).then((r=>{if(null===r){if(this.recordDroppedEvent("before_send",d,e),o){const t=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",t)}throw new xS(`${l} returned \`null\`, will not send event.`,"log")}const i=n&&n.getSession();if(!o&&i&&this._updateSessionFromEvent(i,r),o){const e=(r.sdkProcessingMetadata&&r.sdkProcessingMetadata.spanCountBeforeProcessing||0)-(r.spans?r.spans.length:0);e>0&&this.recordDroppedEvent("before_send","span",e)}const s=r.transaction_info;if(o&&s&&r.transaction!==e.transaction){const e="custom";r.transaction_info=c(a({},s),{source:e})}return this.sendEvent(r,t),r})).then(null,(e=>{if(e instanceof xS)throw e;throw this.captureException(e,{data:{__sentry__:!0},originalException:e}),new xS(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${e}`)}))}_process(e){this._numProcessing++,e.then((e=>(this._numProcessing--,e)),(e=>(this._numProcessing--,e)))}_sendEnvelope(e){if(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)return this._transport.send(e).then(null,(e=>{mk&&yS.error("Error while sending event:",e)}));mk&&yS.error("Transport disabled")}_clearOutcomes(){const e=this._outcomes;return this._outcomes={},Object.keys(e).map((t=>{const[n,r]=t.split(":");return{reason:n,category:r,quantity:e[t]}}))}}{constructor(e){!function(e,t,n=[t],r="npm"){const i=e._metadata||{};i.sdk||(i.sdk={name:`sentry.javascript.${t}`,packages:n.map((e=>({name:`${r}:@sentry/${e}`,version:"7.120.3"}))),version:"7.120.3"}),e._metadata=i}(e,"browser",["browser"],eO.SENTRY_SDK_SOURCE||"npm"),super(e),e.sendClientReports&&eO.document&&eO.document.addEventListener("visibilitychange",(()=>{"hidden"===eO.document.visibilityState&&this._flushOutcomes()}))}eventFromException(e,t){return dO(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",n){return fO(this._options.stackParser,e,t,n,this._options.attachStacktrace)}captureUserFeedback(e){if(!this._isEnabled())return void(oO&&yS.warn("SDK not enabled, will not capture user feedback."));const t=gO(e,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this._sendEnvelope(t)}_prepareEvent(e,t,n){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,n)}_flushOutcomes(){const e=this._clearOutcomes();if(0===e.length)return void(oO&&yS.log("No outcomes to send"));if(!this._dsn)return void(oO&&yS.log("No dsn provided, will not send outcomes"));oO&&yS.log("Sending outcomes:",e);const t=(n=e,ek((r=this._options.tunnel&&bS(this._dsn))?{dsn:r}:{},[[{type:"client_report"},{timestamp:i||Hx(),discarded_events:n}]]));var n,r,i;this._sendEnvelope(t)}}let vO;function bO(e,t=function(){if(vO)return vO;if(sx(eO.fetch))return vO=eO.fetch.bind(eO);const e=eO.document;let t=eO.fetch;if(e&&"function"==typeof e.createElement)try{const n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n);const r=n.contentWindow;r&&r.fetch&&(t=r.fetch),e.head.removeChild(n)}catch(JZ){oO&&yS.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",JZ)}return vO=t.bind(eO)}()){let n=0,r=0;return sE(e,(function(i){const o=i.body.length;n+=o,r++;const s=a({body:i.body,method:"POST",referrerPolicy:"origin",headers:e.headers,keepalive:n<=6e4&&r<15},e.fetchOptions);try{return t(e.url,s).then((e=>(n-=o,r--,{statusCode:e.status,headers:{"x-sentry-rate-limits":e.headers.get("X-Sentry-Rate-Limits"),"retry-after":e.headers.get("Retry-After")}})))}catch(JZ){return vO=void 0,n-=o,r--,jx(JZ)}}))}function _O(e){return sE(e,(function(t){return new Fx(((n,r)=>{const i=new XMLHttpRequest;i.onerror=r,i.onreadystatechange=()=>{4===i.readyState&&n({statusCode:i.status,headers:{"x-sentry-rate-limits":i.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":i.getResponseHeader("Retry-After")}})},i.open("POST",e.url);for(const t in e.headers)Object.prototype.hasOwnProperty.call(e.headers,t)&&i.setRequestHeader(t,e.headers[t]);i.send(t.body)}))}))}function wO(e,t,n,r){const i={filename:e,function:t,in_app:!0};return void 0!==n&&(i.lineno=n),void 0!==r&&(i.colno=r),i}const SO=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,xO=/\((\S*)(?::(\d+))(?::(\d+))\)/,kO=[30,e=>{const t=SO.exec(e);if(t){if(t[2]&&0===t[2].indexOf("eval")){const e=xO.exec(t[2]);e&&(t[2]=e[1],t[3]=e[2],t[4]=e[3])}const[e,n]=PO(t[1]||"?",t[2]);return wO(n,e,t[3]?+t[3]:void 0,t[4]?+t[4]:void 0)}}],TO=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,EO=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,CO=[50,e=>{const t=TO.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const e=EO.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],n=t[1]||"?";return[n,e]=PO(n,e),wO(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}],OO=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,AO=[40,e=>{const t=OO.exec(e);return t?wO(t[2],t[1]||"?",+t[3],t[4]?+t[4]:void 0):void 0}],IO=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,NO=[10,e=>{const t=IO.exec(e);return t?wO(t[2],t[3]||"?",+t[1]):void 0}],DO=/ line (\d+), column (\d+)\s*(?:in (?:]+)>|([^)]+))\(.*\))? in (.*):\s*$/i,MO=[20,e=>{const t=DO.exec(e);return t?wO(t[5],t[3]||t[4]||"?",+t[1],+t[2]):void 0}],RO=[kO,CO,AO],LO=LS(...RO),PO=(e,t)=>{const n=-1!==e.indexOf("safari-extension"),r=-1!==e.indexOf("safari-web-extension");return n||r?[-1!==e.indexOf("@")?e.split("@")[0]:"?",n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},jO=(e={})=>{const t=a({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},e);return{name:"Breadcrumbs",setupOnce(){},setup(e){t.console&&VS(function(e){return function(t){if(Uk()!==e)return;const n={category:"console",data:{arguments:t.args,logger:"console"},level:Vx(t.level),message:Kw(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;n.message=`Assertion failed: ${Kw(t.args.slice(1)," ")||"console.assert"}`,n.data.arguments=t.args.slice(1)}Pk(n,{input:t.args,level:t.level})}}(e)),t.dom&&tx(function(e,t){return function(n){if(Uk()!==e)return;let r,i,o="object"==typeof t?t.serializeAttribute:void 0,s="object"==typeof t&&"number"==typeof t.maxStringLength?t.maxStringLength:void 0;s&&s>1024&&(oO&&yS.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${s} was configured. Sentry will use 1024 instead.`),s=1024),"string"==typeof o&&(o=[o]);try{const e=n.event,t=function(e){return!!e&&!!e.target}(e)?e.target:e;r=cS(t,{keyAttrs:o,maxStringLength:s}),i=fS(t)}catch(JZ){r=""}if(0===r.length)return;const a={category:`ui.${n.name}`,message:r};i&&(a.data={"ui.component_name":i}),Pk(a,{event:n.event,name:n.name,global:n.global})}}(e,t.dom)),t.xhr&&kx(function(e){return function(t){if(Uk()!==e)return;const{startTimestamp:n,endTimestamp:r}=t,i=t.xhr.__sentry_xhr_v3__;if(!n||!r||!i)return;const{method:o,url:s,status_code:a,body:c}=i;Pk({category:"xhr",data:{method:o,url:s,status_code:a},type:"http"},{xhr:t.xhr,input:c,startTimestamp:n,endTimestamp:r})}}(e)),t.fetch&&cx(function(e){return function(t){if(Uk()!==e)return;const{startTimestamp:n,endTimestamp:r}=t;if(r&&(!t.fetchData.url.match(/sentry_key/)||"POST"!==t.fetchData.method))if(t.error){Pk({category:"fetch",data:t.fetchData,level:"error",type:"http"},{data:t.error,input:t.args,startTimestamp:n,endTimestamp:r})}else{const e=t.response;Pk({category:"fetch",data:c(a({},t.fetchData),{status_code:e&&e.status}),type:"http"},{input:t.args,response:e,startTimestamp:n,endTimestamp:r})}}}(e)),t.history&&wx(function(e){return function(t){if(Uk()!==e)return;let n=t.from,r=t.to;const i=qx(eO.location.href);let o=n?qx(n):void 0;const s=qx(r);o&&o.path||(o=i),i.protocol===s.protocol&&i.host===s.host&&(r=s.relative),i.protocol===o.protocol&&i.host===o.host&&(n=o.relative),Pk({category:"navigation",data:{from:n,to:r}})}}(e)),t.sentry&&e.on&&e.on("beforeSendEvent",function(e){return function(t){Uk()===e&&Pk({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:WS(t)},{event:t})}}(e))}}},FO=QT("Breadcrumbs",jO);const UO=()=>{let e;return{name:"Dedupe",setupOnce(){},processEvent(t){if(t.type)return t;try{if(function(e,t){if(!t)return!1;if(function(e,t){const n=e.message,r=t.message;if(!n&&!r)return!1;if(n&&!r||!n&&r)return!1;if(n!==r)return!1;if(!VO(e,t))return!1;if(!BO(e,t))return!1;return!0}(e,t))return!0;if(function(e,t){const n=HO(t),r=HO(e);if(!n||!r)return!1;if(n.type!==r.type||n.value!==r.value)return!1;if(!VO(e,t))return!1;if(!BO(e,t))return!1;return!0}(e,t))return!0;return!1}(t,e))return oO&&yS.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(n){}return e=t}}},qO=QT("Dedupe",UO);function BO(e,t){let n=zO(e),r=zO(t);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(n=n,r=r,r.length!==n.length)return!1;for(let i=0;i{const t=a({onerror:!0,onunhandledrejection:!0},e);return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&(!function(e){hx((t=>{const{stackParser:n,attachStacktrace:r}=QO();if(Uk()!==e||nO())return;const{msg:i,url:o,line:s,column:a,error:c}=t,u=void 0===c&&Uw(i)?function(e,t,n,r){const i=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;let o=jw(e)?e.message:e,s="Error";const a=o.match(i);a&&(s=a[1],o=a[2]);return GO({exception:{values:[{type:s,value:o}]}},t,n,r)}(i,o,s,a):GO(hO(n,c||i,void 0,r,!1),o,s,a);u.level="error",Lk(u,{originalException:c,mechanism:{handled:!1,type:"onerror"}})}))}(e),YO("onerror")),t.onunhandledrejection&&(!function(e){gx((t=>{const{stackParser:n,attachStacktrace:r}=QO();if(Uk()!==e||nO())return;const i=function(e){if(Bw(e))return e;const t=e;try{if("reason"in t)return t.reason;if("detail"in t&&"reason"in t.detail)return t.detail.reason}catch(n){}return e}(t),o=Bw(i)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(i)}`}]}}:hO(n,i,void 0,r,!0);o.level="error",Lk(o,{originalException:i,mechanism:{handled:!1,type:"onunhandledrejection"}})}))}(e),YO("onunhandledrejection"))}}},WO=QT("GlobalHandlers",$O);function GO(e,t,n,r){const i=e.exception=e.exception||{},o=i.values=i.values||[],s=o[0]=o[0]||{},a=s.stacktrace=s.stacktrace||{},c=a.frames=a.frames||[],u=isNaN(parseInt(r,10))?void 0:r,l=isNaN(parseInt(n,10))?void 0:n,d=Uw(t)&&t.length>0?t:lS();return 0===c.length&&c.push({colno:u,filename:d,function:"?",in_app:!0,lineno:l}),e}function YO(e){oO&&yS.log(`Global Handler attached: ${e}`)}function QO(){const e=Uk();return e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}const KO=()=>({name:"HttpContext",setupOnce(){},preprocessEvent(e){if(!eO.navigator&&!eO.location&&!eO.document)return;const t=e.request&&e.request.url||eO.location&&eO.location.href,{referrer:n}=eO.document||{},{userAgent:r}=eO.navigator||{},i=a(a(a({},e.request&&e.request.headers),n&&{Referer:n}),r&&{"User-Agent":r}),o=c(a(a({},e.request),t&&{url:t}),{headers:i});e.request=o}}),JO=QT("HttpContext",KO),XO=(e={})=>{const t=e.limit||5,n=e.key||"cause";return{name:"LinkedErrors",setupOnce(){},preprocessEvent(e,r,i){const o=i.getOptions();Zw(sO,o.stackParser,o.maxValueLength,n,t,e,r)}}},ZO=QT("LinkedErrors",XO),eA=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],tA=(e={})=>{const t=a({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},e);return{name:"TryCatch",setupOnce(){t.setTimeout&&kS(eO,"setTimeout",rA),t.setInterval&&kS(eO,"setInterval",rA),t.requestAnimationFrame&&kS(eO,"requestAnimationFrame",iA),t.XMLHttpRequest&&"XMLHttpRequest"in eO&&kS(XMLHttpRequest.prototype,"send",oA);const e=t.eventTarget;if(e){(Array.isArray(e)?e:eA).forEach(sA)}}}},nA=QT("TryCatch",tA);function rA(e){return function(...t){const n=t[0];return t[0]=iO(n,{mechanism:{data:{function:PS(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function iA(e){return function(t){return e.apply(this,[iO(t,{mechanism:{data:{function:"requestAnimationFrame",handler:PS(e)},handled:!1,type:"instrument"}})])}}function oA(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach((e=>{e in n&&"function"==typeof n[e]&&kS(n,e,(function(t){const n={mechanism:{data:{function:e,handler:PS(t)},handled:!1,type:"instrument"}},r=CS(t);return r&&(n.mechanism.data.handler=PS(r)),iO(t,n)}))})),e.apply(this,t)}}function sA(e){const t=eO,n=t[e]&&t[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(kS(n,"addEventListener",(function(t){return function(n,r,i){try{"function"==typeof r.handleEvent&&(r.handleEvent=iO(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:PS(r),target:e},handled:!1,type:"instrument"}}))}catch(o){}return t.apply(this,[n,iO(r,{mechanism:{data:{function:"addEventListener",handler:PS(r),target:e},handled:!1,type:"instrument"}}),i])}})),kS(n,"removeEventListener",(function(e){return function(t,n,r){const i=n;try{const n=i&&i.__sentry_wrapped__;n&&e.call(this,t,n,r)}catch(JZ){}return e.call(this,t,i,r)}})))}const aA=[wE(),EE(),tA(),jO(),$O(),XO(),UO(),KO()];function cA(e){return[...aA]}function uA(e={}){void 0===e.defaultIntegrations&&(e.defaultIntegrations=cA()),void 0===e.release&&("string"==typeof __SENTRY_RELEASE__&&(e.release=__SENTRY_RELEASE__),eO.SENTRY_RELEASE&&eO.SENTRY_RELEASE.id&&(e.release=eO.SENTRY_RELEASE.id)),void 0===e.autoSessionTracking&&(e.autoSessionTracking=!0),void 0===e.sendClientReports&&(e.sendClientReports=!0);const t=c(a({},e),{stackParser:(n=e.stackParser||LO,Array.isArray(n)?LS(...n):n),integrations:WT(e),transport:e.transport||(ox()?bO:_O)});var n;!function(e,t){!0===t.debug&&(mk?yS.enable():gS((()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")}))),qk().update(t.initialScope);const n=new e(t);oE(n),function(e){e.init?e.init():e.setupIntegrations&&e.setupIntegrations()}(n)}(yO,t),e.autoSessionTracking&&function(){if(void 0===eO.document)return void(oO&&yS.warn("Session tracking in non-browser environment with @sentry/browser is not supported."));Bk({ignoreDuration:!0}),zk(),wx((({from:e,to:t})=>{void 0!==e&&e!==t&&(Bk({ignoreDuration:!0}),zk())}))}()}var lA=Object.freeze(Object.defineProperty({__proto__:null,GlobalHandlers:WO,TryCatch:nA,Breadcrumbs:FO,LinkedErrors:ZO,HttpContext:JO,Dedupe:qO},Symbol.toStringTag,{value:"Module"}));const dA=iS;function fA(e){let t,n=e[0],r=1;for(;rn.call(t,...e))),t=void 0)}return n}var hA,pA;function mA(e){const t=fA([e,"optionalAccess",e=>e.host]);return Boolean(fA([t,"optionalAccess",e=>e.shadowRoot])===e)}function gA(e){return"[object ShadowRoot]"===Object.prototype.toString.call(e)}function yA(e){try{const n=e.rules||e.cssRules;return n?((t=Array.from(n,vA).join("")).includes(" background-clip: text;")&&!t.includes(" -webkit-background-clip: text;")&&(t=t.replace(" background-clip: text;"," -webkit-background-clip: text; background-clip: text;")),t):null}catch(n){return null}var t}function vA(e){let t;if(function(e){return"styleSheet"in e}(e))try{t=yA(e.styleSheet)||function(e){const{cssText:t}=e;if(t.split('"').length<3)return t;const n=["@import",`url(${JSON.stringify(e.href)})`];return""===e.layerName?n.push("layer"):e.layerName&&n.push(`layer(${e.layerName})`),e.supportsText&&n.push(`supports(${e.supportsText})`),e.media.length&&n.push(e.media.mediaText),n.join(" ")+";"}(e)}catch(n){}else if(function(e){return"selectorText"in e}(e)&&e.selectorText.includes(":"))return function(e){const t=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;return e.replace(t,"$1\\$2")}(e.cssText);return t||e.cssText}(pA=hA||(hA={}))[pA.Document=0]="Document",pA[pA.DocumentType=1]="DocumentType",pA[pA.Element=2]="Element",pA[pA.Text=3]="Text",pA[pA.CDATA=4]="CDATA",pA[pA.Comment=5]="Comment";class bA{constructor(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}getId(e){if(!e)return-1;const t=fA([this,"access",e=>e.getMeta,"call",t=>t(e),"optionalAccess",e=>e.id]);return r=()=>-1,null!=(n=t)?n:r();var n,r}getNode(e){return this.idNodeMap.get(e)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(e){return this.nodeMetaMap.get(e)||null}removeNodeFromMap(e){const t=this.getId(e);this.idNodeMap.delete(t),e.childNodes&&e.childNodes.forEach((e=>this.removeNodeFromMap(e)))}has(e){return this.idNodeMap.has(e)}hasNode(e){return this.nodeMetaMap.has(e)}add(e,t){const n=t.id;this.idNodeMap.set(n,e),this.nodeMetaMap.set(e,t)}replace(e,t){const n=this.getNode(e);if(n){const e=this.nodeMetaMap.get(n);e&&this.nodeMetaMap.set(t,e)}this.idNodeMap.set(e,t)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function _A({maskInputOptions:e,tagName:t,type:n}){return"OPTION"===t&&(t="SELECT"),Boolean(e[t.toLowerCase()]||n&&e[n]||"password"===n||"INPUT"===t&&!n&&e.text)}function wA({isMasked:e,element:t,value:n,maskInputFn:r}){let i=n||"";return e?(r&&(i=r(i,t)),"*".repeat(i.length)):i}function SA(e){return e.toLowerCase()}function xA(e){return e.toUpperCase()}function kA(e){const t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?SA(t):null}function TA(e,t,n){return"INPUT"!==t||"radio"!==n&&"checkbox"!==n?e.value:e.getAttribute("value")||""}let EA=1;const CA=new RegExp("[^a-z0-9-_:]");function OA(){return EA++}let AA,IA;const NA=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,DA=/^(?:[a-z+]+:)?\/\//i,MA=/^www\..*/i,RA=/^(data:)([^,]*),(.*)/i;function LA(e,t){return(e||"").replace(NA,((e,n,r,i,o,s)=>{const a=r||o||s,c=n||i||"";if(!a)return e;if(DA.test(a)||MA.test(a))return`url(${c}${a}${c})`;if(RA.test(a))return`url(${c}${a}${c})`;if("/"===a[0])return`url(${c}${function(e){let t="";return t=e.indexOf("//")>-1?e.split("/").slice(0,3).join("/"):e.split("/")[0],t=t.split("?")[0],t}(t)+a}${c})`;const u=t.split("/"),l=a.split("/");u.pop();for(const t of l)"."!==t&&(".."===t?u.pop():u.push(t));return`url(${c}${u.join("/")}${c})`}))}const PA=/^[^ \t\n\r\u000c]+/,jA=/^[, \t\n\r\u000c]+/;function FA(e,t){if(!t||""===t.trim())return t;const n=e.createElement("a");return n.href=t,n.href}function UA(e){return Boolean("svg"===e.tagName||e.ownerSVGElement)}function qA(){const e=document.createElement("a");return e.href="",e.href}function BA(e,t,n,r,i,o){return r?"src"===n||"href"===n&&("use"!==t||"#"!==r[0])||"xlink:href"===n&&"#"!==r[0]?FA(e,r):"background"!==n||"table"!==t&&"td"!==t&&"th"!==t?"srcset"===n?function(e,t){if(""===t.trim())return t;let n=0;function r(e){let r;const i=e.exec(t.substring(n));return i?(r=i[0],n+=r.length,r):""}const i=[];for(;r(jA),!(n>=t.length);){let o=r(PA);if(","===o.slice(-1))o=FA(e,o.substring(0,o.length-1)),i.push(o);else{let r="";o=FA(e,o);let s=!1;for(;;){const e=t.charAt(n);if(""===e){i.push((o+r).trim());break}if(s)")"===e&&(s=!1);else{if(","===e){n+=1,i.push((o+r).trim());break}"("===e&&(s=!0)}r+=e,n+=1}}}return i.join(", ")}(e,r):"style"===n?LA(r,qA()):"object"===t&&"data"===n?FA(e,r):"function"==typeof o?o(n,r,i):r:FA(e,r):r}function VA(e,t,n){return("video"===e||"audio"===e)&&"autoplay"===t}function HA(e,t,n=1/0,r=0){return e?e.nodeType!==e.ELEMENT_NODE||r>n?-1:t(e)?r:HA(e.parentNode,t,n,r+1):-1}function zA(e,t){return n=>{const r=n;if(null===r)return!1;try{if(e)if("string"==typeof e){if(r.matches(`.${e}`))return!0}else if(function(e,t){for(let n=e.classList.length;n--;){const r=e.classList[n];if(t.test(r))return!0}return!1}(r,e))return!0;return!(!t||!r.matches(t))}catch(JZ){return!1}}}function $A(e,t,n,r,i,o){try{const s=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(null===s)return!1;if("INPUT"===s.tagName){const e=s.getAttribute("autocomplete");if(["current-password","new-password","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc"].includes(e))return!0}let a=-1,c=-1;if(o){if(c=HA(s,zA(r,i)),c<0)return!0;a=HA(s,zA(t,n),c>=0?c:1/0)}else{if(a=HA(s,zA(t,n)),a<0)return!1;c=HA(s,zA(r,i),a>=0?a:1/0)}return a>=0?!(c>=0)||a<=c:!(c>=0)&&!!o}catch(JZ){}return!!o}function WA(e,t){const{doc:n,mirror:r,blockClass:i,blockSelector:o,unblockSelector:s,maskAllText:a,maskAttributeFn:c,maskTextClass:u,unmaskTextClass:l,maskTextSelector:d,unmaskTextSelector:f,inlineStylesheet:h,maskInputOptions:p={},maskTextFn:m,maskInputFn:g,dataURLOptions:y={},inlineImages:v,recordCanvas:b,keepIframeSrcFn:_,newlyAddedElement:w=!1}=t,S=function(e,t){if(!t.hasNode(e))return;const n=t.getId(e);return 1===n?void 0:n}(n,r);switch(e.nodeType){case e.DOCUMENT_NODE:return"CSS1Compat"!==e.compatMode?{type:hA.Document,childNodes:[],compatMode:e.compatMode}:{type:hA.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:hA.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:S};case e.ELEMENT_NODE:return function(e,t){const{doc:n,blockClass:r,blockSelector:i,unblockSelector:o,inlineStylesheet:s,maskInputOptions:a={},maskAttributeFn:c,maskInputFn:u,dataURLOptions:l={},inlineImages:d,recordCanvas:f,keepIframeSrcFn:h,newlyAddedElement:p=!1,rootId:m,maskAllText:g,maskTextClass:y,unmaskTextClass:v,maskTextSelector:b,unmaskTextSelector:_}=t,w=function(e,t,n,r){try{if(r&&e.matches(r))return!1;if("string"==typeof t){if(e.classList.contains(t))return!0}else for(let n=e.classList.length;n--;){const r=e.classList[n];if(t.test(r))return!0}if(n)return e.matches(n)}catch(JZ){}return!1}(e,r,i,o),S=function(e){if(e instanceof HTMLFormElement)return"form";const t=SA(e.tagName);return CA.test(t)?"div":t}(e);let x={};const k=e.attributes.length;for(let E=0;Et.href===e.href));let r=null;t&&(r=yA(t)),r&&(delete x.rel,delete x.href,x._cssText=LA(r,t.href))}if("style"===S&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){const t=yA(e.sheet);t&&(x._cssText=LA(t,qA()))}if("input"===S||"textarea"===S||"select"===S||"option"===S){const t=e,n=kA(t),r=TA(t,xA(S),n),i=t.checked;if("submit"!==n&&"button"!==n&&r){const e=$A(t,y,b,v,_,_A({type:n,tagName:xA(S),maskInputOptions:a}));x.value=wA({isMasked:e,element:t,value:r,maskInputFn:u})}i&&(x.checked=i)}"option"===S&&(e.selected&&!a.select?x.selected=!0:delete x.selected);if("canvas"===S&&f)if("2d"===e.__context)(function(e){const t=e.getContext("2d");if(!t)return!0;for(let n=0;n0!==e)))return!1}return!0})(e)||(x.rr_dataURL=e.toDataURL(l.type,l.quality));else if(!("__context"in e)){const t=e.toDataURL(l.type,l.quality),n=document.createElement("canvas");n.width=e.width,n.height=e.height;t!==n.toDataURL(l.type,l.quality)&&(x.rr_dataURL=t)}if("img"===S&&d){AA||(AA=n.createElement("canvas"),IA=AA.getContext("2d"));const t=e,r=t.crossOrigin;t.crossOrigin="anonymous";const i=()=>{t.removeEventListener("load",i);try{AA.width=t.naturalWidth,AA.height=t.naturalHeight,IA.drawImage(t,0,0),x.rr_dataURL=AA.toDataURL(l.type,l.quality)}catch(e){console.warn(`Cannot inline img src=${t.currentSrc}! Error: ${e}`)}r?x.crossOrigin=r:t.removeAttribute("crossorigin")};t.complete&&0!==t.naturalWidth?i():t.addEventListener("load",i)}"audio"!==S&&"video"!==S||(x.rr_mediaState=e.paused?"paused":"played",x.rr_mediaCurrentTime=e.currentTime);p||(e.scrollLeft&&(x.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(x.rr_scrollTop=e.scrollTop));if(w){const{width:t,height:n}=e.getBoundingClientRect();x={class:x.class,rr_width:`${t}px`,rr_height:`${n}px`}}"iframe"!==S||h(x.src)||(e.contentDocument||(x.rr_src=x.src),delete x.src);let T;try{customElements.get(S)&&(T=!0)}catch(JZ){}return{type:hA.Element,tagName:S,attributes:x,childNodes:[],isSVG:UA(e)||void 0,needBlock:w,rootId:m,isCustom:T}}(e,{doc:n,blockClass:i,blockSelector:o,unblockSelector:s,inlineStylesheet:h,maskAttributeFn:c,maskInputOptions:p,maskInputFn:g,dataURLOptions:y,inlineImages:v,recordCanvas:b,keepIframeSrcFn:_,newlyAddedElement:w,rootId:S,maskAllText:a,maskTextClass:u,unmaskTextClass:l,maskTextSelector:d,unmaskTextSelector:f});case e.TEXT_NODE:return function(e,t){const{maskAllText:n,maskTextClass:r,unmaskTextClass:i,maskTextSelector:o,unmaskTextSelector:s,maskTextFn:a,maskInputOptions:c,maskInputFn:u,rootId:l}=t,d=e.parentNode&&e.parentNode.tagName;let f=e.textContent;const h="STYLE"===d||void 0,p="SCRIPT"===d||void 0,m="TEXTAREA"===d||void 0;if(h&&f){try{e.nextSibling||e.previousSibling||fA([e,"access",e=>e.parentNode,"access",e=>e.sheet,"optionalAccess",e=>e.cssRules])&&(f=yA(e.parentNode.sheet))}catch(y){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${y}`,e)}f=LA(f,qA())}p&&(f="SCRIPT_PLACEHOLDER");const g=$A(e,r,o,i,s,n);h||p||m||!f||!g||(f=a?a(f,e.parentElement):f.replace(/[\S]/g,"*"));m&&f&&(c.textarea||g)&&(f=u?u(f,e.parentNode):f.replace(/[\S]/g,"*"));if("OPTION"===d&&f){f=wA({isMasked:$A(e,r,o,i,s,_A({type:null,tagName:d,maskInputOptions:c})),element:e,value:f,maskInputFn:u})}return{type:hA.Text,textContent:f||"",isStyle:h,rootId:l}}(e,{maskAllText:a,maskTextClass:u,unmaskTextClass:l,maskTextSelector:d,unmaskTextSelector:f,maskTextFn:m,maskInputOptions:p,maskInputFn:g,rootId:S});case e.CDATA_SECTION_NODE:return{type:hA.CDATA,textContent:"",rootId:S};case e.COMMENT_NODE:return{type:hA.Comment,textContent:e.textContent||"",rootId:S};default:return!1}}function GA(e){return null==e?"":e.toLowerCase()}function YA(e,t){const{doc:n,mirror:r,blockClass:i,blockSelector:o,unblockSelector:s,maskAllText:a,maskTextClass:c,unmaskTextClass:u,maskTextSelector:l,unmaskTextSelector:d,skipChild:f=!1,inlineStylesheet:h=!0,maskInputOptions:p={},maskAttributeFn:m,maskTextFn:g,maskInputFn:y,slimDOMOptions:v,dataURLOptions:b={},inlineImages:_=!1,recordCanvas:w=!1,onSerialize:S,onIframeLoad:x,iframeLoadTimeout:k=5e3,onStylesheetLoad:T,stylesheetLoadTimeout:E=5e3,keepIframeSrcFn:C=(()=>!1),newlyAddedElement:O=!1}=t;let{preserveWhiteSpace:A=!0}=t;const I=WA(e,{doc:n,mirror:r,blockClass:i,blockSelector:o,maskAllText:a,unblockSelector:s,maskTextClass:c,unmaskTextClass:u,maskTextSelector:l,unmaskTextSelector:d,inlineStylesheet:h,maskInputOptions:p,maskAttributeFn:m,maskTextFn:g,maskInputFn:y,dataURLOptions:b,inlineImages:_,recordCanvas:w,keepIframeSrcFn:C,newlyAddedElement:O});if(!I)return console.warn(e,"not serialized"),null;let N;N=r.hasNode(e)?r.getId(e):!function(e,t){if(t.comment&&e.type===hA.Comment)return!0;if(e.type===hA.Element){if(t.script&&("script"===e.tagName||"link"===e.tagName&&("preload"===e.attributes.rel||"modulepreload"===e.attributes.rel)&&"script"===e.attributes.as||"link"===e.tagName&&"prefetch"===e.attributes.rel&&"string"==typeof e.attributes.href&&e.attributes.href.endsWith(".js")))return!0;if(t.headFavicon&&("link"===e.tagName&&"shortcut icon"===e.attributes.rel||"meta"===e.tagName&&(GA(e.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===GA(e.attributes.name)||"icon"===GA(e.attributes.rel)||"apple-touch-icon"===GA(e.attributes.rel)||"shortcut icon"===GA(e.attributes.rel))))return!0;if("meta"===e.tagName){if(t.headMetaDescKeywords&&GA(e.attributes.name).match(/^description|keywords$/))return!0;if(t.headMetaSocial&&(GA(e.attributes.property).match(/^(og|twitter|fb):/)||GA(e.attributes.name).match(/^(og|twitter):/)||"pinterest"===GA(e.attributes.name)))return!0;if(t.headMetaRobots&&("robots"===GA(e.attributes.name)||"googlebot"===GA(e.attributes.name)||"bingbot"===GA(e.attributes.name)))return!0;if(t.headMetaHttpEquiv&&void 0!==e.attributes["http-equiv"])return!0;if(t.headMetaAuthorship&&("author"===GA(e.attributes.name)||"generator"===GA(e.attributes.name)||"framework"===GA(e.attributes.name)||"publisher"===GA(e.attributes.name)||"progid"===GA(e.attributes.name)||GA(e.attributes.property).match(/^article:/)||GA(e.attributes.property).match(/^product:/)))return!0;if(t.headMetaVerification&&("google-site-verification"===GA(e.attributes.name)||"yandex-verification"===GA(e.attributes.name)||"csrf-token"===GA(e.attributes.name)||"p:domain_verify"===GA(e.attributes.name)||"verify-v1"===GA(e.attributes.name)||"verification"===GA(e.attributes.name)||"shopify-checkout-api-token"===GA(e.attributes.name)))return!0}}return!1}(I,v)&&(A||I.type!==hA.Text||I.isStyle||I.textContent.replace(/^\s+|\s+$/gm,"").length)?OA():-2;const D=Object.assign(I,{id:N});if(r.add(e,D),-2===N)return null;S&&S(e);let M=!f;if(D.type===hA.Element){M=M&&!D.needBlock,delete D.needBlock;const t=e.shadowRoot;t&&gA(t)&&(D.isShadowHost=!0)}if((D.type===hA.Document||D.type===hA.Element)&&M){v.headWhitespace&&D.type===hA.Element&&"head"===D.tagName&&(A=!1);const t={doc:n,mirror:r,blockClass:i,blockSelector:o,maskAllText:a,unblockSelector:s,maskTextClass:c,unmaskTextClass:u,maskTextSelector:l,unmaskTextSelector:d,skipChild:f,inlineStylesheet:h,maskInputOptions:p,maskAttributeFn:m,maskTextFn:g,maskInputFn:y,slimDOMOptions:v,dataURLOptions:b,inlineImages:_,recordCanvas:w,preserveWhiteSpace:A,onSerialize:S,onIframeLoad:x,iframeLoadTimeout:k,onStylesheetLoad:T,stylesheetLoadTimeout:E,keepIframeSrcFn:C};for(const n of Array.from(e.childNodes)){const e=YA(n,t);e&&D.childNodes.push(e)}if(function(e){return e.nodeType===e.ELEMENT_NODE}(e)&&e.shadowRoot)for(const n of Array.from(e.shadowRoot.childNodes)){const r=YA(n,t);r&&(gA(e.shadowRoot)&&(r.isShadow=!0),D.childNodes.push(r))}}return e.parentNode&&mA(e.parentNode)&&gA(e.parentNode)&&(D.isShadow=!0),D.type===hA.Element&&"iframe"===D.tagName&&function(e,t,n){const r=e.contentWindow;if(!r)return;let i,o=!1;try{i=r.document.readyState}catch(a){return}if("complete"!==i){const r=setTimeout((()=>{o||(t(),o=!0)}),n);return void e.addEventListener("load",(()=>{clearTimeout(r),o=!0,t()}))}const s="about:blank";if(r.location.href!==s||e.src===s||""===e.src)return setTimeout(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}(e,(()=>{const t=e.contentDocument;if(t&&x){const n=YA(t,{doc:t,mirror:r,blockClass:i,blockSelector:o,unblockSelector:s,maskAllText:a,maskTextClass:c,unmaskTextClass:u,maskTextSelector:l,unmaskTextSelector:d,skipChild:!1,inlineStylesheet:h,maskInputOptions:p,maskAttributeFn:m,maskTextFn:g,maskInputFn:y,slimDOMOptions:v,dataURLOptions:b,inlineImages:_,recordCanvas:w,preserveWhiteSpace:A,onSerialize:S,onIframeLoad:x,iframeLoadTimeout:k,onStylesheetLoad:T,stylesheetLoadTimeout:E,keepIframeSrcFn:C});n&&x(e,n)}}),k),D.type===hA.Element&&"link"===D.tagName&&"stylesheet"===D.attributes.rel&&function(e,t,n){let r,i=!1;try{r=e.sheet}catch(s){return}if(r)return;const o=setTimeout((()=>{i||(t(),i=!0)}),n);e.addEventListener("load",(()=>{clearTimeout(o),i=!0,t()}))}(e,(()=>{if(T){const t=YA(e,{doc:n,mirror:r,blockClass:i,blockSelector:o,unblockSelector:s,maskAllText:a,maskTextClass:c,unmaskTextClass:u,maskTextSelector:l,unmaskTextSelector:d,skipChild:!1,inlineStylesheet:h,maskInputOptions:p,maskAttributeFn:m,maskTextFn:g,maskInputFn:y,slimDOMOptions:v,dataURLOptions:b,inlineImages:_,recordCanvas:w,preserveWhiteSpace:A,onSerialize:S,onIframeLoad:x,iframeLoadTimeout:k,onStylesheetLoad:T,stylesheetLoadTimeout:E,keepIframeSrcFn:C});t&&T(e,t)}}),E),D}function QA(e){let t,n=e[0],r=1;for(;rn.call(t,...e))),t=void 0)}return n}function KA(e,t,n=document){const r={capture:!0,passive:!0};return n.addEventListener(e,t,r),()=>n.removeEventListener(e,t,r)}const JA="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.";let XA={map:{},getId:()=>(console.error(JA),-1),getNode:()=>(console.error(JA),null),removeNodeFromMap(){console.error(JA)},has:()=>(console.error(JA),!1),reset(){console.error(JA)}};function ZA(e,t,n={}){let r=null,i=0;return function(...o){const s=Date.now();i||!1!==n.leading||(i=s);const a=t-(s-i),c=this;a<=0||a>t?(r&&(!function(...e){bI("clearTimeout")(...e)}(r),r=null),i=s,e.apply(c,o)):r||!1===n.trailing||(r=_I((()=>{i=!1===n.leading?0:Date.now(),r=null,e.apply(c,o)}),a))}}function eI(e,t,n,r,i=window){const o=i.Object.getOwnPropertyDescriptor(e,t);return i.Object.defineProperty(e,t,r?n:{set(e){_I((()=>{n.set.call(this,e)}),0),o&&o.set&&o.set.call(this,e)}}),()=>eI(e,t,o||{},!0)}function tI(e,t,n){try{if(!(t in e))return()=>{};const r=e[t],i=n(r);return"function"==typeof i&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=i,()=>{e[t]=r}}catch(JZ){return()=>{}}}"undefined"!=typeof window&&window.Proxy&&window.Reflect&&(XA=new Proxy(XA,{get:(e,t,n)=>("map"===t&&console.error(JA),Reflect.get(e,t,n))}));let nI=Date.now;function rI(e){const t=e.document;return{left:t.scrollingElement?t.scrollingElement.scrollLeft:void 0!==e.pageXOffset?e.pageXOffset:QA([t,"optionalAccess",e=>e.documentElement,"access",e=>e.scrollLeft])||QA([t,"optionalAccess",e=>e.body,"optionalAccess",e=>e.parentElement,"optionalAccess",e=>e.scrollLeft])||QA([t,"optionalAccess",e=>e.body,"optionalAccess",e=>e.scrollLeft])||0,top:t.scrollingElement?t.scrollingElement.scrollTop:void 0!==e.pageYOffset?e.pageYOffset:QA([t,"optionalAccess",e=>e.documentElement,"access",e=>e.scrollTop])||QA([t,"optionalAccess",e=>e.body,"optionalAccess",e=>e.parentElement,"optionalAccess",e=>e.scrollTop])||QA([t,"optionalAccess",e=>e.body,"optionalAccess",e=>e.scrollTop])||0}}function iI(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function oI(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function sI(e){if(!e)return null;return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}function aI(e,t,n,r,i){if(!e)return!1;const o=sI(e);if(!o)return!1;const s=zA(t,n);if(!i){const e=r&&o.matches(r);return s(o)&&!e}const a=HA(o,s);let c=-1;return!(a<0)&&(r&&(c=HA(o,zA(null,r))),a>-1&&c<0||ae.shadowRoot]))}/[1-9][0-9]{12}/.test(Date.now().toString())||(nI=()=>(new Date).getTime());class pI{constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}getId(e){return t=this.styleIDMap.get(e),n=()=>-1,null!=t?t:n();var t,n}has(e){return this.styleIDMap.has(e)}add(e,t){if(this.has(e))return this.getId(e);let n;return n=void 0===t?this.id++:t,this.styleIDMap.set(e,n),this.idStyleMap.set(n,e),n}getStyle(e){return this.idStyleMap.get(e)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}}function mI(e){let t=null;return QA([e,"access",e=>e.getRootNode,"optionalCall",e=>e(),"optionalAccess",e=>e.nodeType])===Node.DOCUMENT_FRAGMENT_NODE&&e.getRootNode().host&&(t=e.getRootNode().host),t}function gI(e){const t=e.ownerDocument;if(!t)return!1;const n=function(e){let t,n=e;for(;t=mI(n);)n=t;return n}(e);return t.contains(n)}function yI(e){const t=e.ownerDocument;return!!t&&(t.contains(e)||gI(e))}const vI={};function bI(e){const t=vI[e];if(t)return t;const n=window.document;let r=window[e];if(n&&"function"==typeof n.createElement)try{const t=n.createElement("iframe");t.hidden=!0,n.head.appendChild(t);const i=t.contentWindow;i&&i[e]&&(r=i[e]),n.head.removeChild(t)}catch(JZ){}return vI[e]=r.bind(window)}function _I(...e){return bI("setTimeout")(...e)}var wI=(e=>(e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin",e))(wI||{}),SI=(e=>(e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration",e[e.Selection=14]="Selection",e[e.AdoptedStyleSheet=15]="AdoptedStyleSheet",e[e.CustomElement=16]="CustomElement",e))(SI||{}),xI=(e=>(e[e.MouseUp=0]="MouseUp",e[e.MouseDown=1]="MouseDown",e[e.Click=2]="Click",e[e.ContextMenu=3]="ContextMenu",e[e.DblClick=4]="DblClick",e[e.Focus=5]="Focus",e[e.Blur=6]="Blur",e[e.TouchStart=7]="TouchStart",e[e.TouchMove_Departed=8]="TouchMove_Departed",e[e.TouchEnd=9]="TouchEnd",e[e.TouchCancel=10]="TouchCancel",e))(xI||{}),kI=(e=>(e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e))(kI||{});function TI(e){let t,n=e[0],r=1;for(;rn.call(t,...e))),t=void 0)}return n}function EI(e){return"__ln"in e}class CI{constructor(){this.length=0,this.head=null,this.tail=null}get(e){if(e>=this.length)throw new Error("Position outside of list range");let t=this.head;for(let n=0;ne.next])||null;return t}addNode(e){const t={value:e,previous:null,next:null};if(e.__ln=t,e.previousSibling&&EI(e.previousSibling)){const n=e.previousSibling.__ln.next;t.next=n,t.previous=e.previousSibling.__ln,e.previousSibling.__ln.next=t,n&&(n.previous=t)}else if(e.nextSibling&&EI(e.nextSibling)&&e.nextSibling.__ln.previous){const n=e.nextSibling.__ln.previous;t.previous=n,t.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=t,n&&(n.next=t)}else this.head&&(this.head.previous=t),t.next=this.head,this.head=t;null===t.next&&(this.tail=t),this.length++}removeNode(e){const t=e.__ln;this.head&&(t.previous?(t.previous.next=t.next,t.next?t.next.previous=t.previous:this.tail=t.previous):(this.head=t.next,this.head?this.head.previous=null:this.tail=null),e.__ln&&delete e.__ln,this.length--)}}const OI=(e,t)=>`${e}@${t}`;class AI{constructor(){this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.processMutations=e=>{e.forEach(this.processMutation),this.emit()},this.emit=()=>{if(this.frozen||this.locked)return;const e=[],t=new Set,n=new CI,r=e=>{let t=e,n=-2;for(;-2===n;)t=t&&t.nextSibling,n=t&&this.mirror.getId(t);return n},i=i=>{if(!i.parentNode||!yI(i))return;const o=mA(i.parentNode)?this.mirror.getId(mI(i)):this.mirror.getId(i.parentNode),s=r(i);if(-1===o||-1===s)return n.addNode(i);const a=YA(i,{doc:this.doc,mirror:this.mirror,blockClass:this.blockClass,blockSelector:this.blockSelector,maskAllText:this.maskAllText,unblockSelector:this.unblockSelector,maskTextClass:this.maskTextClass,unmaskTextClass:this.unmaskTextClass,maskTextSelector:this.maskTextSelector,unmaskTextSelector:this.unmaskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:this.inlineStylesheet,maskInputOptions:this.maskInputOptions,maskAttributeFn:this.maskAttributeFn,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,dataURLOptions:this.dataURLOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:e=>{dI(e,this.mirror)&&this.iframeManager.addIframe(e),fI(e,this.mirror)&&this.stylesheetManager.trackLinkElement(e),hI(i)&&this.shadowDomManager.addShadowRoot(i.shadowRoot,this.doc)},onIframeLoad:(e,t)=>{this.iframeManager.attachIframe(e,t),this.shadowDomManager.observeAttachShadow(e)},onStylesheetLoad:(e,t)=>{this.stylesheetManager.attachLinkElement(e,t)}});a&&(e.push({parentId:o,nextId:s,node:a}),t.add(a.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(const a of this.movedSet)NI(this.removes,a,this.mirror)&&!this.movedSet.has(a.parentNode)||i(a);for(const a of this.addedSet)MI(this.droppedSet,a)||NI(this.removes,a,this.mirror)?MI(this.movedSet,a)?i(a):this.droppedSet.add(a):i(a);let o=null;for(;n.length;){let e=null;if(o){const t=this.mirror.getId(o.value.parentNode),n=r(o.value);-1!==t&&-1!==n&&(e=o)}if(!e){let t=n.tail;for(;t;){const n=t;if(t=t.previous,n){const t=this.mirror.getId(n.value.parentNode);if(-1===r(n.value))continue;if(-1!==t){e=n;break}{const t=n.value;if(t.parentNode&&t.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const r=t.parentNode.host;if(-1!==this.mirror.getId(r)){e=n;break}}}}}}if(!e){for(;n.head;)n.removeNode(n.head.value);break}o=e.previous,n.removeNode(e.value),i(e.value)}const s={texts:this.texts.map((e=>({id:this.mirror.getId(e.node),value:e.value}))).filter((e=>!t.has(e.id))).filter((e=>this.mirror.has(e.id))),attributes:this.attributes.map((e=>{const{attributes:t}=e;if("string"==typeof t.style){const n=JSON.stringify(e.styleDiff),r=JSON.stringify(e._unchangedStyles);n.length!t.has(e.id))).filter((e=>this.mirror.has(e.id))),removes:this.removes,adds:e};(s.texts.length||s.attributes.length||s.removes.length||s.adds.length)&&(this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.movedMap={},this.mutationCb(s))},this.processMutation=e=>{if(!cI(e.target,this.mirror))switch(e.type){case"characterData":{const t=e.target.textContent;aI(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||t===e.oldValue||this.texts.push({value:$A(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,this.maskAllText)&&t?this.maskTextFn?this.maskTextFn(t,sI(e.target)):t.replace(/[\S]/g,"*"):t,node:e.target});break}case"attributes":{const t=e.target;let n=e.attributeName,r=e.target.getAttribute(n);if("value"===n){const n=kA(t),i=t.tagName;r=TA(t,i,n);const o=_A({maskInputOptions:this.maskInputOptions,tagName:i,type:n});r=wA({isMasked:$A(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,o),element:t,value:r,maskInputFn:this.maskInputFn})}if(aI(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||r===e.oldValue)return;let i=this.attributeMap.get(e.target);if("IFRAME"===t.tagName&&"src"===n&&!this.keepIframeSrcFn(r)){if(t.contentDocument)return;n="rr_src"}if(i||(i={node:e.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(i),this.attributeMap.set(e.target,i)),"type"===n&&"INPUT"===t.tagName&&"password"===(e.oldValue||"").toLowerCase()&&t.setAttribute("data-rr-is-password","true"),!VA(t.tagName,n)&&(i.attributes[n]=BA(this.doc,SA(t.tagName),SA(n),r,t,this.maskAttributeFn),"style"===n)){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument()}catch(JZ){this.unattachedDoc=this.doc}const n=this.unattachedDoc.createElement("span");e.oldValue&&n.setAttribute("style",e.oldValue);for(const e of Array.from(t.style)){const r=t.style.getPropertyValue(e),o=t.style.getPropertyPriority(e);r!==n.style.getPropertyValue(e)||o!==n.style.getPropertyPriority(e)?i.styleDiff[e]=""===o?r:[r,o]:i._unchangedStyles[e]=[r,o]}for(const e of Array.from(n.style))""===t.style.getPropertyValue(e)&&(i.styleDiff[e]=!1)}break}case"childList":if(aI(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!0))return;e.addedNodes.forEach((t=>this.genAdds(t,e.target))),e.removedNodes.forEach((t=>{const n=this.mirror.getId(t),r=mA(e.target)?this.mirror.getId(e.target.host):this.mirror.getId(e.target);aI(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||cI(t,this.mirror)||!function(e,t){return-1!==t.getId(e)}(t,this.mirror)||(this.addedSet.has(t)?(II(this.addedSet,t),this.droppedSet.add(t)):this.addedSet.has(e.target)&&-1===n||uI(e.target,this.mirror)||(this.movedSet.has(t)&&this.movedMap[OI(n,r)]?II(this.movedSet,t):this.removes.push({parentId:r,id:n,isShadow:!(!mA(e.target)||!gA(e.target))||void 0})),this.mapRemoves.push(t))}))}},this.genAdds=(e,t)=>{if(!this.processedNodeManager.inOtherBuffer(e,this)&&!this.addedSet.has(e)&&!this.movedSet.has(e)){if(this.mirror.hasNode(e)){if(cI(e,this.mirror))return;this.movedSet.add(e);let n=null;t&&this.mirror.hasNode(t)&&(n=this.mirror.getId(t)),n&&-1!==n&&(this.movedMap[OI(this.mirror.getId(e),n)]=!0)}else this.addedSet.add(e),this.droppedSet.delete(e);aI(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(e.childNodes.forEach((e=>this.genAdds(e))),hI(e)&&e.shadowRoot.childNodes.forEach((t=>{this.processedNodeManager.add(t,this),this.genAdds(t,e)})))}}}init(e){["mutationCb","blockClass","blockSelector","unblockSelector","maskAllText","maskTextClass","unmaskTextClass","maskTextSelector","unmaskTextSelector","inlineStylesheet","maskInputOptions","maskAttributeFn","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager"].forEach((t=>{this[t]=e[t]}))}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}isFrozen(){return this.frozen}lock(){this.locked=!0,this.canvasManager.lock()}unlock(){this.locked=!1,this.canvasManager.unlock(),this.emit()}reset(){this.shadowDomManager.reset(),this.canvasManager.reset()}}function II(e,t){e.delete(t),t.childNodes.forEach((t=>II(e,t)))}function NI(e,t,n){return 0!==e.length&&DI(e,t,n)}function DI(e,t,n){const{parentNode:r}=t;if(!r)return!1;const i=n.getId(r);return!!e.some((e=>e.id===i))||DI(e,r,n)}function MI(e,t){return 0!==e.size&&RI(e,t)}function RI(e,t){const{parentNode:n}=t;return!!n&&(!!e.has(n)||RI(e,n))}let LI;const PI=e=>{if(!LI)return e;return(...t)=>{try{return e(...t)}catch(n){if(LI&&!0===LI(n))return()=>{};throw n}}};function jI(e){let t,n=e[0],r=1;for(;rn.call(t,...e))),t=void 0)}return n}const FI=[];function UI(e){try{if("composedPath"in e){const t=e.composedPath();if(t.length)return t[0]}else if("path"in e&&e.path.length)return e.path[0]}catch(JZ){}return e&&e.target}function qI(e,t){const n=new AI;FI.push(n),n.init(e);let r=window.MutationObserver||window.__rrMutationObserver;const i=jI([window,"optionalAccess",e=>e.Zone,"optionalAccess",e=>e.__symbol__,"optionalCall",e=>e("MutationObserver")]);i&&window[i]&&(r=window[i]);const o=new r(PI((t=>{e.onMutation&&!1===e.onMutation(t)||n.processMutations.bind(n)(t)})));return o.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),o}function BI({mouseInteractionCb:e,doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:o,sampling:s}){if(!1===s.mouseInteraction)return()=>{};const c=!0===s.mouseInteraction||void 0===s.mouseInteraction?{}:s.mouseInteraction,u=[];let l=null;return Object.keys(xI).filter((e=>Number.isNaN(Number(e))&&!e.endsWith("_Departed")&&!1!==c[e])).forEach((s=>{let c=SA(s);const d=(t=>s=>{const c=UI(s);if(aI(c,r,i,o,!0))return;let u=null,d=t;if("pointerType"in s){switch(s.pointerType){case"mouse":u=kI.Mouse;break;case"touch":u=kI.Touch;break;case"pen":u=kI.Pen}u===kI.Touch?xI[t]===xI.MouseDown?d="TouchStart":xI[t]===xI.MouseUp&&(d="TouchEnd"):kI.Pen}else lI(s)&&(u=kI.Touch);null!==u?(l=u,(d.startsWith("Touch")&&u===kI.Touch||d.startsWith("Mouse")&&u===kI.Mouse)&&(u=null)):xI[t]===xI.Click&&(u=l,l=null);const f=lI(s)?s.changedTouches[0]:s;if(!f)return;const h=n.getId(c),{clientX:p,clientY:m}=f;PI(e)(a({type:xI[d],id:h,x:p,y:m},null!==u&&{pointerType:u}))})(s);if(window.PointerEvent)switch(xI[s]){case xI.MouseDown:case xI.MouseUp:c=c.replace("mouse","pointer");break;case xI.TouchStart:case xI.TouchEnd:return}u.push(KA(c,d,t))})),PI((()=>{u.forEach((e=>e()))}))}function VI({scrollCb:e,doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:o,sampling:s}){return KA("scroll",PI(ZA(PI((s=>{const a=UI(s);if(!a||aI(a,r,i,o,!0))return;const c=n.getId(a);if(a===t&&t.defaultView){const n=rI(t.defaultView);e({id:c,x:n.left,y:n.top})}else e({id:c,x:a.scrollLeft,y:a.scrollTop})})),s.scroll||100)),t)}const HI=["INPUT","TEXTAREA","SELECT"],zI=new WeakMap;function $I({inputCb:e,doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:o,ignoreClass:s,ignoreSelector:u,maskInputOptions:l,maskInputFn:d,sampling:f,userTriggeredOnInput:h,maskTextClass:p,unmaskTextClass:m,maskTextSelector:g,unmaskTextSelector:y}){function v(e){let n=UI(e);const a=e.isTrusted,c=n&&xA(n.tagName);if("OPTION"===c&&(n=n.parentElement),!n||!c||HI.indexOf(c)<0||aI(n,r,i,o,!0))return;const f=n;if(f.classList.contains(s)||u&&f.matches(u))return;const v=kA(n);let _=TA(f,c,v),w=!1;const S=_A({maskInputOptions:l,tagName:c,type:v}),x=$A(n,p,g,m,y,S);"radio"!==v&&"checkbox"!==v||(w=n.checked),_=wA({isMasked:x,element:n,value:_,maskInputFn:d}),b(n,h?{text:_,isChecked:w,userTriggered:a}:{text:_,isChecked:w});const k=n.name;"radio"===v&&k&&w&&t.querySelectorAll(`input[type="radio"][name="${k}"]`).forEach((e=>{if(e!==n){const t=wA({isMasked:x,element:e,value:TA(e,c,v),maskInputFn:d});b(e,h?{text:t,isChecked:!w,userTriggered:!1}:{text:t,isChecked:!w})}}))}function b(t,r){const i=zI.get(t);if(!i||i.text!==r.text||i.isChecked!==r.isChecked){zI.set(t,r);const i=n.getId(t);PI(e)(c(a({},r),{id:i}))}}const _=("last"===f.input?["change"]:["input","change"]).map((e=>KA(e,PI(v),t))),w=t.defaultView;if(!w)return()=>{_.forEach((e=>e()))};const S=w.Object.getOwnPropertyDescriptor(w.HTMLInputElement.prototype,"value"),x=[[w.HTMLInputElement.prototype,"value"],[w.HTMLInputElement.prototype,"checked"],[w.HTMLSelectElement.prototype,"value"],[w.HTMLTextAreaElement.prototype,"value"],[w.HTMLSelectElement.prototype,"selectedIndex"],[w.HTMLOptionElement.prototype,"selected"]];return S&&S.set&&_.push(...x.map((e=>eI(e[0],e[1],{set(){PI(v)({target:this,isTrusted:!1})}},!1,w)))),PI((()=>{_.forEach((e=>e()))}))}function WI(e){return function(e,t){if(KI("CSSGroupingRule")&&e.parentRule instanceof CSSGroupingRule||KI("CSSMediaRule")&&e.parentRule instanceof CSSMediaRule||KI("CSSSupportsRule")&&e.parentRule instanceof CSSSupportsRule||KI("CSSConditionRule")&&e.parentRule instanceof CSSConditionRule){const n=Array.from(e.parentRule.cssRules).indexOf(e);t.unshift(n)}else if(e.parentStyleSheet){const n=Array.from(e.parentStyleSheet.cssRules).indexOf(e);t.unshift(n)}return t}(e,[])}function GI(e,t,n){let r,i;return e?(e.ownerNode?r=t.getId(e.ownerNode):i=n.getId(e),{styleId:i,id:r}):{}}function YI({mirror:e,stylesheetManager:t},n){let r=null;r="#document"===n.nodeName?e.getId(n):e.getId(n.host);const i="#document"===n.nodeName?jI([n,"access",e=>e.defaultView,"optionalAccess",e=>e.Document]):jI([n,"access",e=>e.ownerDocument,"optionalAccess",e=>e.defaultView,"optionalAccess",e=>e.ShadowRoot]),o=jI([i,"optionalAccess",e=>e.prototype])?Object.getOwnPropertyDescriptor(jI([i,"optionalAccess",e=>e.prototype]),"adoptedStyleSheets"):void 0;return null!==r&&-1!==r&&i&&o?(Object.defineProperty(n,"adoptedStyleSheets",{configurable:o.configurable,enumerable:o.enumerable,get(){return jI([o,"access",e=>e.get,"optionalAccess",e=>e.call,"call",e=>e(this)])},set(e){const n=jI([o,"access",e=>e.set,"optionalAccess",e=>e.call,"call",t=>t(this,e)]);if(null!==r&&-1!==r)try{t.adoptStyleSheets(e,r)}catch(JZ){}return n}}),PI((()=>{Object.defineProperty(n,"adoptedStyleSheets",{configurable:o.configurable,enumerable:o.enumerable,get:o.get,set:o.set})}))):()=>{}}function QI(e,t={}){const n=e.doc.defaultView;if(!n)return()=>{};const r=qI(e,e.doc),i=function({mousemoveCb:e,sampling:t,doc:n,mirror:r}){if(!1===t.mousemove)return()=>{};const i="number"==typeof t.mousemove?t.mousemove:50,o="number"==typeof t.mousemoveCallback?t.mousemoveCallback:500;let s,a=[];const c=ZA(PI((t=>{const n=Date.now()-s;e(a.map((e=>(e.timeOffset-=n,e))),t),a=[],s=null})),o),u=PI(ZA(PI((e=>{const t=UI(e),{clientX:n,clientY:i}=lI(e)?e.changedTouches[0]:e;s||(s=nI()),a.push({x:n,y:i,id:r.getId(t),timeOffset:nI()-s}),c("undefined"!=typeof DragEvent&&e instanceof DragEvent?SI.Drag:e instanceof MouseEvent?SI.MouseMove:SI.TouchMove)})),i,{trailing:!1})),l=[KA("mousemove",u,n),KA("touchmove",u,n),KA("drag",u,n)];return PI((()=>{l.forEach((e=>e()))}))}(e),o=BI(e),s=VI(e),a=function({viewportResizeCb:e},{win:t}){let n=-1,r=-1;return KA("resize",PI(ZA(PI((()=>{const t=iI(),i=oI();n===t&&r===i||(e({width:Number(i),height:Number(t)}),n=t,r=i)})),200)),t)}(e,{win:n}),c=$I(e),u=function({mediaInteractionCb:e,blockClass:t,blockSelector:n,unblockSelector:r,mirror:i,sampling:o,doc:s}){const a=PI((s=>ZA(PI((o=>{const a=UI(o);if(!a||aI(a,t,n,r,!0))return;const{currentTime:c,volume:u,muted:l,playbackRate:d}=a;e({type:s,id:i.getId(a),currentTime:c,volume:u,muted:l,playbackRate:d})})),o.media||500))),c=[KA("play",a(0),s),KA("pause",a(1),s),KA("seeked",a(2),s),KA("volumechange",a(3),s),KA("ratechange",a(4),s)];return PI((()=>{c.forEach((e=>e()))}))}(e),l=function({styleSheetRuleCb:e,mirror:t,stylesheetManager:n},{win:r}){if(!r.CSSStyleSheet||!r.CSSStyleSheet.prototype)return()=>{};const i=r.CSSStyleSheet.prototype.insertRule;r.CSSStyleSheet.prototype.insertRule=new Proxy(i,{apply:PI(((r,i,o)=>{const[s,a]=o,{id:c,styleId:u}=GI(i,t,n.styleMirror);return(c&&-1!==c||u&&-1!==u)&&e({id:c,styleId:u,adds:[{rule:s,index:a}]}),r.apply(i,o)}))});const o=r.CSSStyleSheet.prototype.deleteRule;let s,a;r.CSSStyleSheet.prototype.deleteRule=new Proxy(o,{apply:PI(((r,i,o)=>{const[s]=o,{id:a,styleId:c}=GI(i,t,n.styleMirror);return(a&&-1!==a||c&&-1!==c)&&e({id:a,styleId:c,removes:[{index:s}]}),r.apply(i,o)}))}),r.CSSStyleSheet.prototype.replace&&(s=r.CSSStyleSheet.prototype.replace,r.CSSStyleSheet.prototype.replace=new Proxy(s,{apply:PI(((r,i,o)=>{const[s]=o,{id:a,styleId:c}=GI(i,t,n.styleMirror);return(a&&-1!==a||c&&-1!==c)&&e({id:a,styleId:c,replace:s}),r.apply(i,o)}))})),r.CSSStyleSheet.prototype.replaceSync&&(a=r.CSSStyleSheet.prototype.replaceSync,r.CSSStyleSheet.prototype.replaceSync=new Proxy(a,{apply:PI(((r,i,o)=>{const[s]=o,{id:a,styleId:c}=GI(i,t,n.styleMirror);return(a&&-1!==a||c&&-1!==c)&&e({id:a,styleId:c,replaceSync:s}),r.apply(i,o)}))}));const c={};JI("CSSGroupingRule")?c.CSSGroupingRule=r.CSSGroupingRule:(JI("CSSMediaRule")&&(c.CSSMediaRule=r.CSSMediaRule),JI("CSSConditionRule")&&(c.CSSConditionRule=r.CSSConditionRule),JI("CSSSupportsRule")&&(c.CSSSupportsRule=r.CSSSupportsRule));const u={};return Object.entries(c).forEach((([r,i])=>{u[r]={insertRule:i.prototype.insertRule,deleteRule:i.prototype.deleteRule},i.prototype.insertRule=new Proxy(u[r].insertRule,{apply:PI(((r,i,o)=>{const[s,a]=o,{id:c,styleId:u}=GI(i.parentStyleSheet,t,n.styleMirror);return(c&&-1!==c||u&&-1!==u)&&e({id:c,styleId:u,adds:[{rule:s,index:[...WI(i),a||0]}]}),r.apply(i,o)}))}),i.prototype.deleteRule=new Proxy(u[r].deleteRule,{apply:PI(((r,i,o)=>{const[s]=o,{id:a,styleId:c}=GI(i.parentStyleSheet,t,n.styleMirror);return(a&&-1!==a||c&&-1!==c)&&e({id:a,styleId:c,removes:[{index:[...WI(i),s]}]}),r.apply(i,o)}))})})),PI((()=>{r.CSSStyleSheet.prototype.insertRule=i,r.CSSStyleSheet.prototype.deleteRule=o,s&&(r.CSSStyleSheet.prototype.replace=s),a&&(r.CSSStyleSheet.prototype.replaceSync=a),Object.entries(c).forEach((([e,t])=>{t.prototype.insertRule=u[e].insertRule,t.prototype.deleteRule=u[e].deleteRule}))}))}(e,{win:n}),d=YI(e,e.doc),f=function({styleDeclarationCb:e,mirror:t,ignoreCSSAttributes:n,stylesheetManager:r},{win:i}){const o=i.CSSStyleDeclaration.prototype.setProperty;i.CSSStyleDeclaration.prototype.setProperty=new Proxy(o,{apply:PI(((i,s,a)=>{const[c,u,l]=a;if(n.has(c))return o.apply(s,[c,u,l]);const{id:d,styleId:f}=GI(jI([s,"access",e=>e.parentRule,"optionalAccess",e=>e.parentStyleSheet]),t,r.styleMirror);return(d&&-1!==d||f&&-1!==f)&&e({id:d,styleId:f,set:{property:c,value:u,priority:l},index:WI(s.parentRule)}),i.apply(s,a)}))});const s=i.CSSStyleDeclaration.prototype.removeProperty;return i.CSSStyleDeclaration.prototype.removeProperty=new Proxy(s,{apply:PI(((i,o,a)=>{const[c]=a;if(n.has(c))return s.apply(o,[c]);const{id:u,styleId:l}=GI(jI([o,"access",e=>e.parentRule,"optionalAccess",e=>e.parentStyleSheet]),t,r.styleMirror);return(u&&-1!==u||l&&-1!==l)&&e({id:u,styleId:l,remove:{property:c},index:WI(o.parentRule)}),i.apply(o,a)}))}),PI((()=>{i.CSSStyleDeclaration.prototype.setProperty=o,i.CSSStyleDeclaration.prototype.removeProperty=s}))}(e,{win:n}),h=e.collectFonts?function({fontCb:e,doc:t}){const n=t.defaultView;if(!n)return()=>{};const r=[],i=new WeakMap,o=n.FontFace;n.FontFace=function(e,t,n){const r=new o(e,t,n);return i.set(r,{family:e,buffer:"string"!=typeof t,descriptors:n,fontSource:"string"==typeof t?t:JSON.stringify(Array.from(new Uint8Array(t)))}),r};const s=tI(t.fonts,"add",(function(t){return function(n){return _I(PI((()=>{const t=i.get(n);t&&(e(t),i.delete(n))})),0),t.apply(this,[n])}}));return r.push((()=>{n.FontFace=o})),r.push(s),PI((()=>{r.forEach((e=>e()))}))}(e):()=>{},p=function(e){const{doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:o,selectionCb:s}=e;let a=!0;const c=PI((()=>{const e=t.getSelection();if(!e||a&&jI([e,"optionalAccess",e=>e.isCollapsed]))return;a=e.isCollapsed||!1;const c=[],u=e.rangeCount||0;for(let t=0;t{}}(e),g=[];for(const y of e.plugins)g.push(y.observer(y.callback,n,y.options));return PI((()=>{FI.forEach((e=>e.reset())),r.disconnect(),i(),o(),s(),a(),c(),u(),l(),d(),f(),h(),p(),m(),g.forEach((e=>e()))}))}function KI(e){return void 0!==window[e]}function JI(e){return Boolean(void 0!==window[e]&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class XI{constructor(e){this.generateIdFn=e,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}getId(e,t,n,r){const i=n||this.getIdToRemoteIdMap(e),o=r||this.getRemoteIdToIdMap(e);let s=i.get(t);return s||(s=this.generateIdFn(),i.set(t,s),o.set(s,t)),s}getIds(e,t){const n=this.getIdToRemoteIdMap(e),r=this.getRemoteIdToIdMap(e);return t.map((t=>this.getId(e,t,n,r)))}getRemoteId(e,t,n){const r=n||this.getRemoteIdToIdMap(e);if("number"!=typeof t)return t;const i=r.get(t);return i||-1}getRemoteIds(e,t){const n=this.getRemoteIdToIdMap(e);return t.map((t=>this.getRemoteId(e,t,n)))}reset(e){if(!e)return this.iframeIdToRemoteIdMap=new WeakMap,void(this.iframeRemoteIdToIdMap=new WeakMap);this.iframeIdToRemoteIdMap.delete(e),this.iframeRemoteIdToIdMap.delete(e)}getIdToRemoteIdMap(e){let t=this.iframeIdToRemoteIdMap.get(e);return t||(t=new Map,this.iframeIdToRemoteIdMap.set(e,t)),t}getRemoteIdToIdMap(e){let t=this.iframeRemoteIdToIdMap.get(e);return t||(t=new Map,this.iframeRemoteIdToIdMap.set(e,t)),t}}function ZI(e){let t,n=e[0],r=1;for(;rn.call(t,...e))),t=void 0)}return n}class eN{constructor(){this.crossOriginIframeMirror=new XI(OA),this.crossOriginIframeRootIdMap=new WeakMap}addIframe(){}addLoadListener(){}attachIframe(){}}class tN{constructor(e){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new XI(OA),this.crossOriginIframeRootIdMap=new WeakMap,this.mutationCb=e.mutationCb,this.wrappedEmit=e.wrappedEmit,this.stylesheetManager=e.stylesheetManager,this.recordCrossOriginIframes=e.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new XI(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=e.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}addIframe(e){this.iframes.set(e,!0),e.contentWindow&&this.crossOriginIframeMap.set(e.contentWindow,e)}addLoadListener(e){this.loadListener=e}attachIframe(e,t){this.mutationCb({adds:[{parentId:this.mirror.getId(e),nextId:null,node:t}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),ZI([this,"access",e=>e.loadListener,"optionalCall",t=>t(e)]),e.contentDocument&&e.contentDocument.adoptedStyleSheets&&e.contentDocument.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(e.contentDocument.adoptedStyleSheets,this.mirror.getId(e.contentDocument))}handleMessage(e){const t=e;if("rrweb"!==t.data.type||t.origin!==t.data.origin)return;if(!e.source)return;const n=this.crossOriginIframeMap.get(e.source);if(!n)return;const r=this.transformCrossOriginEvent(n,t.data.event);r&&this.wrappedEmit(r,t.data.isCheckout)}transformCrossOriginEvent(e,t){switch(t.type){case wI.FullSnapshot:{this.crossOriginIframeMirror.reset(e),this.crossOriginIframeStyleMirror.reset(e),this.replaceIdOnNode(t.data.node,e);const n=t.data.node.id;return this.crossOriginIframeRootIdMap.set(e,n),this.patchRootIdOnNode(t.data.node,n),{timestamp:t.timestamp,type:wI.IncrementalSnapshot,data:{source:SI.Mutation,adds:[{parentId:this.mirror.getId(e),nextId:null,node:t.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case wI.Meta:case wI.Load:case wI.DomContentLoaded:return!1;case wI.Plugin:return t;case wI.Custom:return this.replaceIds(t.data.payload,e,["id","parentId","previousId","nextId"]),t;case wI.IncrementalSnapshot:switch(t.data.source){case SI.Mutation:return t.data.adds.forEach((t=>{this.replaceIds(t,e,["parentId","nextId","previousId"]),this.replaceIdOnNode(t.node,e);const n=this.crossOriginIframeRootIdMap.get(e);n&&this.patchRootIdOnNode(t.node,n)})),t.data.removes.forEach((t=>{this.replaceIds(t,e,["parentId","id"])})),t.data.attributes.forEach((t=>{this.replaceIds(t,e,["id"])})),t.data.texts.forEach((t=>{this.replaceIds(t,e,["id"])})),t;case SI.Drag:case SI.TouchMove:case SI.MouseMove:return t.data.positions.forEach((t=>{this.replaceIds(t,e,["id"])})),t;case SI.ViewportResize:return!1;case SI.MediaInteraction:case SI.MouseInteraction:case SI.Scroll:case SI.CanvasMutation:case SI.Input:return this.replaceIds(t.data,e,["id"]),t;case SI.StyleSheetRule:case SI.StyleDeclaration:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleId"]),t;case SI.Font:return t;case SI.Selection:return t.data.ranges.forEach((t=>{this.replaceIds(t,e,["start","end"])})),t;case SI.AdoptedStyleSheet:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleIds"]),ZI([t,"access",e=>e.data,"access",e=>e.styles,"optionalAccess",e=>e.forEach,"call",t=>t((t=>{this.replaceStyleIds(t,e,["styleId"])}))]),t}}return!1}replace(e,t,n,r){for(const i of r)(Array.isArray(t[i])||"number"==typeof t[i])&&(Array.isArray(t[i])?t[i]=e.getIds(n,t[i]):t[i]=e.getId(n,t[i]));return t}replaceIds(e,t,n){return this.replace(this.crossOriginIframeMirror,e,t,n)}replaceStyleIds(e,t,n){return this.replace(this.crossOriginIframeStyleMirror,e,t,n)}replaceIdOnNode(e,t){this.replaceIds(e,t,["id","rootId"]),"childNodes"in e&&e.childNodes.forEach((e=>{this.replaceIdOnNode(e,t)}))}patchRootIdOnNode(e,t){e.type===hA.Document||e.rootId||(e.rootId=t),"childNodes"in e&&e.childNodes.forEach((e=>{this.patchRootIdOnNode(e,t)}))}}class nN{init(){}addShadowRoot(){}observeAttachShadow(){}reset(){}}class rN{constructor(e){this.shadowDoms=new WeakSet,this.restoreHandlers=[],this.mutationCb=e.mutationCb,this.scrollCb=e.scrollCb,this.bypassOptions=e.bypassOptions,this.mirror=e.mirror,this.init()}init(){this.reset(),this.patchAttachShadow(Element,document)}addShadowRoot(e,t){if(!gA(e))return;if(this.shadowDoms.has(e))return;this.shadowDoms.add(e);const n=qI(c(a({},this.bypassOptions),{doc:t,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this}),e);this.restoreHandlers.push((()=>n.disconnect())),this.restoreHandlers.push(VI(c(a({},this.bypassOptions),{scrollCb:this.scrollCb,doc:e,mirror:this.mirror}))),_I((()=>{e.adoptedStyleSheets&&e.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(e.adoptedStyleSheets,this.mirror.getId(e.host)),this.restoreHandlers.push(YI({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},e))}),0)}observeAttachShadow(e){e.contentWindow&&e.contentDocument&&this.patchAttachShadow(e.contentWindow.Element,e.contentDocument)}patchAttachShadow(e,t){const n=this;this.restoreHandlers.push(tI(e.prototype,"attachShadow",(function(e){return function(r){const i=e.call(this,r);return this.shadowRoot&&yI(this)&&n.addShadowRoot(this.shadowRoot,t),i}})))}reset(){this.restoreHandlers.forEach((e=>{try{e()}catch(JZ){}})),this.restoreHandlers=[],this.shadowDoms=new WeakSet}}class iN{reset(){}freeze(){}unfreeze(){}lock(){}unlock(){}snapshot(){}}class oN{constructor(e){this.trackedLinkElements=new WeakSet,this.styleMirror=new pI,this.mutationCb=e.mutationCb,this.adoptedStyleSheetCb=e.adoptedStyleSheetCb}attachLinkElement(e,t){"_cssText"in t.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:t.attributes}]}),this.trackLinkElement(e)}trackLinkElement(e){this.trackedLinkElements.has(e)||(this.trackedLinkElements.add(e),this.trackStylesheetInLinkElement(e))}adoptStyleSheets(e,t){if(0===e.length)return;const n={id:t,styleIds:[]},r=[];for(const i of e){let e;this.styleMirror.has(i)?e=this.styleMirror.getId(i):(e=this.styleMirror.add(i),r.push({styleId:e,rules:Array.from(i.rules||CSSRule,((e,t)=>({rule:vA(e),index:t})))})),n.styleIds.push(e)}r.length>0&&(n.styles=r),this.adoptedStyleSheetCb(n)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(e){}}class sN{constructor(){this.nodeMap=new WeakMap,this.loop=!0,this.periodicallyClear()}periodicallyClear(){!function(...e){bI("requestAnimationFrame")(...e)}((()=>{this.clear(),this.loop&&this.periodicallyClear()}))}inOtherBuffer(e,t){const n=this.nodeMap.get(e);return n&&Array.from(n).some((e=>e!==t))}add(e,t){this.nodeMap.set(e,(this.nodeMap.get(e)||new Set).add(t))}clear(){this.nodeMap=new WeakMap}destroy(){this.loop=!1}}let aN,cN;const uN=new bA;function lN(e={}){const{emit:t,checkoutEveryNms:n,checkoutEveryNth:r,blockClass:i="rr-block",blockSelector:o=null,unblockSelector:s=null,ignoreClass:c="rr-ignore",ignoreSelector:u=null,maskAllText:l=!1,maskTextClass:d="rr-mask",unmaskTextClass:f=null,maskTextSelector:h=null,unmaskTextSelector:p=null,inlineStylesheet:m=!0,maskAllInputs:g,maskInputOptions:y,slimDOMOptions:v,maskAttributeFn:b,maskInputFn:_,maskTextFn:w,maxCanvasSize:S=null,packFn:x,sampling:k={},dataURLOptions:T={},mousemoveWait:E,recordCanvas:C=!1,recordCrossOriginIframes:O=!1,recordAfter:A=("DOMContentLoaded"===e.recordAfter?e.recordAfter:"load"),userTriggeredOnInput:I=!1,collectFonts:N=!1,inlineImages:D=!1,plugins:M,keepIframeSrcFn:R=(()=>!1),ignoreCSSAttributes:L=new Set([]),errorHandler:P,onMutation:j,getCanvasManager:F}=e;LI=P;const U=!O||window.parent===window;let q=!1;if(!U)try{window.parent.document&&(q=!1)}catch(JZ){q=!0}if(U&&!t)throw new Error("emit function is required");void 0!==E&&void 0===k.mousemove&&(k.mousemove=E),uN.reset();const B=!0===g?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,radio:!0,checkbox:!0}:void 0!==y?y:{},V=!0===v||"all"===v?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===v,headMetaDescKeywords:"all"===v}:v||{};let H;!function(e=window){"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=(...e)=>{let t=e[0];if(!(0 in e))throw new TypeError("1 argument is required");do{if(this===t)return!0}while(t=t&&t.parentNode);return!1})}();let z=0;const $=e=>{for(const t of M||[])t.eventProcessor&&(e=t.eventProcessor(e));return x&&!q&&(e=x(e)),e};aN=(e,i)=>{const o=e;if(o.timestamp=nI(),!pk([FI,"access",e=>e[0],"optionalAccess",e=>e.isFrozen,"call",e=>e()])||o.type===wI.FullSnapshot||o.type===wI.IncrementalSnapshot&&o.data.source===SI.Mutation||FI.forEach((e=>e.unfreeze())),U)pk([t,"optionalCall",e=>e($(o),i)]);else if(q){const e={type:"rrweb",event:$(o),origin:window.location.origin,isCheckout:i};window.parent.postMessage(e,"*")}if(o.type===wI.FullSnapshot)H=o,z=0;else if(o.type===wI.IncrementalSnapshot){if(o.data.source===SI.Mutation&&o.data.isAttachIframe)return;z++;const e=r&&z>=r,t=n&&H&&o.timestamp-H.timestamp>n;(e||t)&&ee(!0)}};const W=e=>{aN({type:wI.IncrementalSnapshot,data:a({source:SI.Mutation},e)})},G=e=>aN({type:wI.IncrementalSnapshot,data:a({source:SI.Scroll},e)}),Y=e=>aN({type:wI.IncrementalSnapshot,data:a({source:SI.CanvasMutation},e)}),Q=new oN({mutationCb:W,adoptedStyleSheetCb:e=>aN({type:wI.IncrementalSnapshot,data:a({source:SI.AdoptedStyleSheet},e)})}),K="boolean"==typeof __RRWEB_EXCLUDE_IFRAME__&&__RRWEB_EXCLUDE_IFRAME__?new eN:new tN({mirror:uN,mutationCb:W,stylesheetManager:Q,recordCrossOriginIframes:O,wrappedEmit:aN});for(const a of M||[])a.getMirror&&a.getMirror({nodeMirror:uN,crossOriginIframeMirror:K.crossOriginIframeMirror,crossOriginIframeStyleMirror:K.crossOriginIframeStyleMirror});const J=new sN,X=function(e,t){try{return e?e(t):new iN}catch(JZ){return console.warn("Unable to initialize CanvasManager"),new iN}}(F,{mirror:uN,win:window,mutationCb:e=>aN({type:wI.IncrementalSnapshot,data:a({source:SI.CanvasMutation},e)}),recordCanvas:C,blockClass:i,blockSelector:o,unblockSelector:s,maxCanvasSize:S,sampling:k.canvas,dataURLOptions:T,errorHandler:P}),Z="boolean"==typeof __RRWEB_EXCLUDE_SHADOW_DOM__&&__RRWEB_EXCLUDE_SHADOW_DOM__?new nN:new rN({mutationCb:W,scrollCb:G,bypassOptions:{onMutation:j,blockClass:i,blockSelector:o,unblockSelector:s,maskAllText:l,maskTextClass:d,unmaskTextClass:f,maskTextSelector:h,unmaskTextSelector:p,inlineStylesheet:m,maskInputOptions:B,dataURLOptions:T,maskAttributeFn:b,maskTextFn:w,maskInputFn:_,recordCanvas:C,inlineImages:D,sampling:k,slimDOMOptions:V,iframeManager:K,stylesheetManager:Q,canvasManager:X,keepIframeSrcFn:R,processedNodeManager:J},mirror:uN}),ee=(e=!1)=>{aN({type:wI.Meta,data:{href:window.location.href,width:oI(),height:iI()}},e),Q.reset(),Z.init(),FI.forEach((e=>e.lock()));const t=function(e,t){const{mirror:n=new bA,blockClass:r="rr-block",blockSelector:i=null,unblockSelector:o=null,maskAllText:s=!1,maskTextClass:a="rr-mask",unmaskTextClass:c=null,maskTextSelector:u=null,unmaskTextSelector:l=null,inlineStylesheet:d=!0,inlineImages:f=!1,recordCanvas:h=!1,maskAllInputs:p=!1,maskAttributeFn:m,maskTextFn:g,maskInputFn:y,slimDOM:v=!1,dataURLOptions:b,preserveWhiteSpace:_,onSerialize:w,onIframeLoad:S,iframeLoadTimeout:x,onStylesheetLoad:k,stylesheetLoadTimeout:T,keepIframeSrcFn:E=(()=>!1)}=t||{};return YA(e,{doc:e,mirror:n,blockClass:r,blockSelector:i,unblockSelector:o,maskAllText:s,maskTextClass:a,unmaskTextClass:c,maskTextSelector:u,unmaskTextSelector:l,skipChild:!1,inlineStylesheet:d,maskInputOptions:!0===p?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0}:!1===p?{}:p,maskAttributeFn:m,maskTextFn:g,maskInputFn:y,slimDOMOptions:!0===v||"all"===v?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===v,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:!1===v?{}:v,dataURLOptions:b,inlineImages:f,recordCanvas:h,preserveWhiteSpace:_,onSerialize:w,onIframeLoad:S,iframeLoadTimeout:x,onStylesheetLoad:k,stylesheetLoadTimeout:T,keepIframeSrcFn:E,newlyAddedElement:!1})}(document,{mirror:uN,blockClass:i,blockSelector:o,unblockSelector:s,maskAllText:l,maskTextClass:d,unmaskTextClass:f,maskTextSelector:h,unmaskTextSelector:p,inlineStylesheet:m,maskAllInputs:B,maskAttributeFn:b,maskInputFn:_,maskTextFn:w,slimDOM:V,dataURLOptions:T,recordCanvas:C,inlineImages:D,onSerialize:e=>{dI(e,uN)&&K.addIframe(e),fI(e,uN)&&Q.trackLinkElement(e),hI(e)&&Z.addShadowRoot(e.shadowRoot,document)},onIframeLoad:(e,t)=>{K.attachIframe(e,t),Z.observeAttachShadow(e)},onStylesheetLoad:(e,t)=>{Q.attachLinkElement(e,t)},keepIframeSrcFn:R});if(!t)return console.warn("Failed to snapshot the document");aN({type:wI.FullSnapshot,data:{node:t,initialOffset:rI(window)}}),FI.forEach((e=>e.unlock())),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&Q.adoptStyleSheets(document.adoptedStyleSheets,uN.getId(document))};cN=ee;try{const e=[],t=e=>PI(QI)({onMutation:j,mutationCb:W,mousemoveCb:(e,t)=>aN({type:wI.IncrementalSnapshot,data:{source:t,positions:e}}),mouseInteractionCb:e=>aN({type:wI.IncrementalSnapshot,data:a({source:SI.MouseInteraction},e)}),scrollCb:G,viewportResizeCb:e=>aN({type:wI.IncrementalSnapshot,data:a({source:SI.ViewportResize},e)}),inputCb:e=>aN({type:wI.IncrementalSnapshot,data:a({source:SI.Input},e)}),mediaInteractionCb:e=>aN({type:wI.IncrementalSnapshot,data:a({source:SI.MediaInteraction},e)}),styleSheetRuleCb:e=>aN({type:wI.IncrementalSnapshot,data:a({source:SI.StyleSheetRule},e)}),styleDeclarationCb:e=>aN({type:wI.IncrementalSnapshot,data:a({source:SI.StyleDeclaration},e)}),canvasMutationCb:Y,fontCb:e=>aN({type:wI.IncrementalSnapshot,data:a({source:SI.Font},e)}),selectionCb:e=>{aN({type:wI.IncrementalSnapshot,data:a({source:SI.Selection},e)})},customElementCb:e=>{aN({type:wI.IncrementalSnapshot,data:a({source:SI.CustomElement},e)})},blockClass:i,ignoreClass:c,ignoreSelector:u,maskAllText:l,maskTextClass:d,unmaskTextClass:f,maskTextSelector:h,unmaskTextSelector:p,maskInputOptions:B,inlineStylesheet:m,sampling:k,recordCanvas:C,inlineImages:D,userTriggeredOnInput:I,collectFonts:N,doc:e,maskAttributeFn:b,maskInputFn:_,maskTextFn:w,keepIframeSrcFn:R,blockSelector:o,unblockSelector:s,slimDOMOptions:V,dataURLOptions:T,mirror:uN,iframeManager:K,stylesheetManager:Q,shadowDomManager:Z,processedNodeManager:J,canvasManager:X,ignoreCSSAttributes:L,plugins:pk([M,"optionalAccess",e=>e.filter,"call",e=>e((e=>e.observer)),"optionalAccess",e=>e.map,"call",e=>e((e=>({observer:e.observer,options:e.options,callback:t=>aN({type:wI.Plugin,data:{plugin:e.name,payload:t}})})))])||[]},{});K.addLoadListener((n=>{try{e.push(t(n.contentDocument))}catch(r){console.warn(r)}}));const n=()=>{ee(),e.push(t(document))};return"interactive"===document.readyState||"complete"===document.readyState?n():(e.push(KA("DOMContentLoaded",(()=>{aN({type:wI.DomContentLoaded,data:{}}),"DOMContentLoaded"===A&&n()}))),e.push(KA("load",(()=>{aN({type:wI.Load,data:{}}),"load"===A&&n()}),window))),()=>{e.forEach((e=>e())),J.destroy(),cN=void 0,LI=void 0}}catch(te){console.warn(te)}}lN.mirror=uN,lN.takeFullSnapshot=function(e){if(!cN)throw new Error("please take full snapshot after start recording");cN(e)};function dN(e){return e>9999999999?e:1e3*e}function fN(e){return e>9999999999?e/1e3:e}function hN(e,t){"sentry.transaction"!==t.category&&(["ui.click","ui.input"].includes(t.category)?e.triggerUserActivity():e.checkAndHandleExpiredSession(),e.addUpdate((()=>(e.throttledAddEvent({type:wI.Custom,timestamp:1e3*(t.timestamp||0),data:{tag:"breadcrumb",payload:Ox(t,10,1e3)}}),"console"===t.category))))}function pN(e){return e.closest("button,a")||e}function mN(e){const t=gN(e);return t&&t instanceof Element?pN(t):t}function gN(e){return function(e){return"object"==typeof e&&!!e&&"target"in e}(e)?e.target:e}let yN;function vN(e){return yN||(yN=[],kS(dA,"open",(function(e){return function(...t){if(yN)try{yN.forEach((e=>e()))}catch(JZ){}return e.apply(dA,t)}}))),yN.push(e),()=>{const t=yN?yN.indexOf(e):-1;t>-1&&yN.splice(t,1)}}class bN{constructor(e,t,n=hN){this._lastMutation=0,this._lastScroll=0,this._clicks=[],this._timeout=t.timeout/1e3,this._threshold=t.threshold/1e3,this._scollTimeout=t.scrollTimeout/1e3,this._replay=e,this._ignoreSelector=t.ignoreSelector,this._addBreadcrumbEvent=n}addListeners(){const e=vN((()=>{this._lastMutation=wN()}));this._teardown=()=>{e(),this._clicks=[],this._lastMutation=0,this._lastScroll=0}}removeListeners(){this._teardown&&this._teardown(),this._checkClickTimeout&&clearTimeout(this._checkClickTimeout)}handleClick(e,t){if(function(e,t){if(!_N.includes(e.tagName))return!0;if("INPUT"===e.tagName&&!["submit","button"].includes(e.getAttribute("type")||""))return!0;if("A"===e.tagName&&(e.hasAttribute("download")||e.hasAttribute("target")&&"_self"!==e.getAttribute("target")))return!0;if(t&&e.matches(t))return!0;return!1}(t,this._ignoreSelector)||!function(e){return!(!e.data||"number"!=typeof e.data.nodeId||!e.timestamp)}(e))return;const n={timestamp:fN(e.timestamp),clickBreadcrumb:e,clickCount:0,node:t};this._clicks.some((e=>e.node===n.node&&Math.abs(e.timestamp-n.timestamp)<1))||(this._clicks.push(n),1===this._clicks.length&&this._scheduleCheckClicks())}registerMutation(e=Date.now()){this._lastMutation=fN(e)}registerScroll(e=Date.now()){this._lastScroll=fN(e)}registerClick(e){const t=pN(e);this._handleMultiClick(t)}_handleMultiClick(e){this._getClicks(e).forEach((e=>{e.clickCount++}))}_getClicks(e){return this._clicks.filter((t=>t.node===e))}_checkClicks(){const e=[],t=wN();this._clicks.forEach((n=>{!n.mutationAfter&&this._lastMutation&&(n.mutationAfter=n.timestamp<=this._lastMutation?this._lastMutation-n.timestamp:void 0),!n.scrollAfter&&this._lastScroll&&(n.scrollAfter=n.timestamp<=this._lastScroll?this._lastScroll-n.timestamp:void 0),n.timestamp+this._timeout<=t&&e.push(n)}));for(const n of e){const e=this._clicks.indexOf(n);e>-1&&(this._generateBreadcrumbs(n),this._clicks.splice(e,1))}this._clicks.length&&this._scheduleCheckClicks()}_generateBreadcrumbs(e){const t=this._replay,n=e.scrollAfter&&e.scrollAfter<=this._scollTimeout,r=e.mutationAfter&&e.mutationAfter<=this._threshold,i=!n&&!r,{clickCount:o,clickBreadcrumb:s}=e;if(i){const n=1e3*Math.min(e.mutationAfter||this._timeout,this._timeout),r=n<1e3*this._timeout?"mutation":"timeout",i={type:"default",message:s.message,timestamp:s.timestamp,category:"ui.slowClickDetected",data:c(a({},s.data),{url:dA.location.href,route:t.getCurrentRoute(),timeAfterClickMs:n,endReason:r,clickCount:o||1})};this._addBreadcrumbEvent(t,i)}else if(o>1){const e={type:"default",message:s.message,timestamp:s.timestamp,category:"ui.multiClick",data:c(a({},s.data),{url:dA.location.href,route:t.getCurrentRoute(),clickCount:o,metric:!0})};this._addBreadcrumbEvent(t,e)}}_scheduleCheckClicks(){this._checkClickTimeout&&clearTimeout(this._checkClickTimeout),this._checkClickTimeout=setTimeout((()=>this._checkClicks()),1e3)}}const _N=["A","BUTTON","INPUT"];function wN(){return Date.now()/1e3}function SN(e,t){try{if(!function(e){return 3===e.type}(t))return;const{source:n}=t.data;if(n===SI.Mutation&&e.registerMutation(t.timestamp),n===SI.Scroll&&e.registerScroll(t.timestamp),function(e){return e.data.source===SI.MouseInteraction}(t)){const{type:n,id:r}=t.data,i=lN.mirror.getNode(r);i instanceof HTMLElement&&n===xI.Click&&e.registerClick(i)}}catch(JZ){}}function xN(e){return a({timestamp:Date.now()/1e3,type:"default"},e)}var kN;!function(e){e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment"}(kN||(kN={}));const TN=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled","data-sentry-component"]);function EN(e){const t={};for(const n in e)if(TN.has(n)){let r=n;"data-testid"!==n&&"data-test-id"!==n||(r="testId"),t[r]=e[n]}return t}const CN=e=>t=>{if(!e.isEnabled())return;const n=function(e){const{target:t,message:n}=function(e){const t="click"===e.name;let n,r=null;try{r=t?mN(e.event):gN(e.event),n=cS(r,{maxStringLength:200})||""}catch(JZ){n=""}return{target:r,message:n}}(e);return xN(a({category:`ui.${e.name}`},ON(t,n)))}(t);if(!n)return;const r="click"===t.name,i=r?t.event:void 0;var o,s,c;!(r&&e.clickDetector&&i&&i.target)||i.altKey||i.metaKey||i.ctrlKey||i.shiftKey||(o=e.clickDetector,s=n,c=mN(t.event),o.handleClick(s,c)),hN(e,n)};function ON(e,t){const n=lN.mirror.getId(e),r=n&&lN.mirror.getNode(n),i=r&&lN.mirror.getMeta(r),o=i&&function(e){return e.type===kN.Element}(i)?i:null;return{message:t,data:o?{nodeId:n,node:{id:n,tagName:o.tagName,textContent:Array.from(o.childNodes).map((e=>e.type===kN.Text&&e.textContent)).filter(Boolean).map((e=>e.trim())).join(""),attributes:EN(o.attributes)}}:{}}}function AN(e,t){if(!e.isEnabled())return;e.updateUserActivity();const n=function(e){const{metaKey:t,shiftKey:n,ctrlKey:r,altKey:i,key:o,target:s}=e;if(!s||function(e){return"INPUT"===e.tagName||"TEXTAREA"===e.tagName||e.isContentEditable}(s)||!o)return null;const u=t||r||i,l=1===o.length;if(!u&&l)return null;const d=cS(s,{maxStringLength:200})||"",f=ON(s,d);return xN({category:"ui.keyDown",message:d,data:c(a({},f.data),{metaKey:t,shiftKey:n,ctrlKey:r,altKey:i,key:o})})}(t);n&&hN(e,n)}const IN={resource:function(e){const{entryType:t,initiatorType:n,name:r,responseEnd:i,startTime:o,decodedBodySize:s,encodedBodySize:a,responseStatus:c,transferSize:u}=e;if(["fetch","xmlhttprequest"].includes(n))return null;return{type:`${t}.${n}`,start:DN(o),end:DN(i),name:r,data:{size:u,statusCode:c,decodedBodySize:s,encodedBodySize:a}}},paint:function(e){const{duration:t,entryType:n,name:r,startTime:i}=e,o=DN(i);return{type:n,name:r,start:o,end:o+t,data:void 0}},navigation:function(e){const{entryType:t,name:n,decodedBodySize:r,duration:i,domComplete:o,encodedBodySize:s,domContentLoadedEventStart:a,domContentLoadedEventEnd:c,domInteractive:u,loadEventStart:l,loadEventEnd:d,redirectCount:f,startTime:h,transferSize:p,type:m}=e;if(0===i)return null;return{type:`${t}.${m}`,start:DN(h),end:DN(o),name:n,data:{size:p,decodedBodySize:r,encodedBodySize:s,duration:i,domInteractive:u,domContentLoadedEventStart:a,domContentLoadedEventEnd:c,loadEventStart:l,loadEventEnd:d,domComplete:o,redirectCount:f}}}};function NN(e){return IN[e.entryType]?IN[e.entryType](e):null}function DN(e){return(($x||dA.performance.timeOrigin)+e)/1e3}function MN(e){function t(t){e.performanceEntries.includes(t)||e.performanceEntries.push(t)}function n({entries:e}){e.forEach(t)}const r=[];return["navigation","paint","resource"].forEach((e=>{r.push(fC(e,n))})),r.push(dC((({metric:t})=>{e.replayPerformanceEntries.push(function(e){const t=e.entries,n=t[t.length-1],r=n?n.element:void 0,i=e.value,o=DN(i);return{type:"largest-contentful-paint",name:"largest-contentful-paint",start:o,end:o,data:{value:i,size:i,nodeId:r?lN.mirror.getId(r):void 0}}}(t))}))),()=>{r.forEach((e=>e()))}}const RN="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function LN(e,t){RN&&(yS.info(e),t&&jN(e))}function PN(e,t){RN&&(yS.info(e),t&&setTimeout((()=>{jN(e)}),0))}function jN(e){Pk({category:"console",data:{logger:"replay"},level:"info",message:e},{level:"info"})}class FN extends Error{constructor(){super("Event buffer exceeded maximum size of 20000000.")}}class UN{constructor(){this.events=[],this._totalSize=0,this.hasCheckout=!1}get hasEvents(){return this.events.length>0}get type(){return"sync"}destroy(){this.events=[]}async addEvent(e){const t=JSON.stringify(e).length;if(this._totalSize+=t,this._totalSize>2e7)throw new FN;this.events.push(e)}finish(){return new Promise((e=>{const t=this.events;this.clear(),e(JSON.stringify(t))}))}clear(){this.events=[],this._totalSize=0,this.hasCheckout=!1}getEarliestTimestamp(){const e=this.events.map((e=>e.timestamp)).sort()[0];return e?dN(e):null}}class qN{constructor(e){this._worker=e,this._id=0}ensureReady(){return this._ensureReadyPromise||(this._ensureReadyPromise=new Promise(((e,t)=>{this._worker.addEventListener("message",(({data:n})=>{n.success?e():t()}),{once:!0}),this._worker.addEventListener("error",(e=>{t(e)}),{once:!0})}))),this._ensureReadyPromise}destroy(){LN("[Replay] Destroying compression worker"),this._worker.terminate()}postMessage(e,t){const n=this._getAndIncrementId();return new Promise(((r,i)=>{const o=({data:t})=>{const s=t;if(s.method===e&&s.id===n){if(this._worker.removeEventListener("message",o),!s.success)return RN&&yS.error("[Replay]",s.response),void i(new Error("Error in compression worker"));r(s.response)}};this._worker.addEventListener("message",o),this._worker.postMessage({id:n,method:e,arg:t})}))}_getAndIncrementId(){return this._id++}}class BN{constructor(e){this._worker=new qN(e),this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1}get hasEvents(){return!!this._earliestTimestamp}get type(){return"worker"}ensureReady(){return this._worker.ensureReady()}destroy(){this._worker.destroy()}addEvent(e){const t=dN(e.timestamp);(!this._earliestTimestamp||t2e7?Promise.reject(new FN):this._sendEventToWorker(n)}finish(){return this._finishRequest()}clear(){this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this._worker.postMessage("clear").then(null,(e=>{RN&&yS.warn('[Replay] Sending "clear" message to worker failed',e)}))}getEarliestTimestamp(){return this._earliestTimestamp}_sendEventToWorker(e){return this._worker.postMessage("addEvent",e)}async _finishRequest(){const e=await this._worker.postMessage("finish");return this._earliestTimestamp=null,this._totalSize=0,e}}class VN{constructor(e){this._fallback=new UN,this._compression=new BN(e),this._used=this._fallback,this._ensureWorkerIsLoadedPromise=this._ensureWorkerIsLoaded()}get type(){return this._used.type}get hasEvents(){return this._used.hasEvents}get hasCheckout(){return this._used.hasCheckout}set hasCheckout(e){this._used.hasCheckout=e}destroy(){this._fallback.destroy(),this._compression.destroy()}clear(){return this._used.clear()}getEarliestTimestamp(){return this._used.getEarliestTimestamp()}addEvent(e){return this._used.addEvent(e)}async finish(){return await this.ensureWorkerIsLoaded(),this._used.finish()}ensureWorkerIsLoaded(){return this._ensureWorkerIsLoadedPromise}async _ensureWorkerIsLoaded(){try{await this._compression.ensureReady()}catch(e){return void LN("[Replay] Failed to load the compression worker, falling back to simple buffer")}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){const{events:e,hasCheckout:t}=this._fallback,n=[];for(const i of e)n.push(this._compression.addEvent(i));this._compression.hasCheckout=t,this._used=this._compression;try{await Promise.all(n)}catch(r){RN&&yS.warn("[Replay] Failed to add events when switching buffers.",r)}}}function HN({useCompression:e,workerUrl:t}){if(e&&window.Worker){const e=function(e){try{const t=e||function(){if("undefined"==typeof __SENTRY_EXCLUDE_REPLAY_WORKER__||!__SENTRY_EXCLUDE_REPLAY_WORKER__)return function(){const e=new Blob(['var t=Uint8Array,n=Uint16Array,r=Int32Array,e=new t([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),i=new t([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),a=new t([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),s=function(t,e){for(var i=new n(31),a=0;a<31;++a)i[a]=e+=1<>1|(21845&c)<<1;v=(61680&(v=(52428&v)>>2|(13107&v)<<2))>>4|(3855&v)<<4,u[c]=((65280&v)>>8|(255&v)<<8)>>1}var d=function(t,r,e){for(var i=t.length,a=0,s=new n(r);a>h]=l}else for(o=new n(i),a=0;a>15-t[a]);return o},g=new t(288);for(c=0;c<144;++c)g[c]=8;for(c=144;c<256;++c)g[c]=9;for(c=256;c<280;++c)g[c]=7;for(c=280;c<288;++c)g[c]=8;var w=new t(32);for(c=0;c<32;++c)w[c]=5;var p=d(g,9,0),y=d(w,5,0),m=function(t){return(t+7)/8|0},b=function(n,r,e){return(null==r||r<0)&&(r=0),(null==e||e>n.length)&&(e=n.length),new t(n.subarray(r,e))},M=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],E=function(t,n,r){var e=new Error(n||M[t]);if(e.code=t,Error.captureStackTrace&&Error.captureStackTrace(e,E),!r)throw e;return e},z=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8},A=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8,t[e+2]|=r>>16},_=function(r,e){for(var i=[],a=0;ad&&(d=o[a].s);var g=new n(d+1),w=x(i[c-1],g,0);if(w>e){a=0;var p=0,y=w-e,m=1<e))break;p+=m-(1<>=y;p>0;){var M=o[a].s;g[M]=0&&p;--a){var E=o[a].s;g[E]==e&&(--g[E],++p)}w=e}return{t:new t(g),l:w}},x=function(t,n,r){return-1==t.s?Math.max(x(t.l,n,r+1),x(t.r,n,r+1)):n[t.s]=r},D=function(t){for(var r=t.length;r&&!t[--r];);for(var e=new n(++r),i=0,a=t[0],s=1,o=function(t){e[i++]=t},f=1;f<=r;++f)if(t[f]==a&&f!=r)++s;else{if(!a&&s>2){for(;s>138;s-=138)o(32754);s>2&&(o(s>10?s-11<<5|28690:s-3<<5|12305),s=0)}else if(s>3){for(o(a),--s;s>6;s-=6)o(8304);s>2&&(o(s-3<<5|8208),s=0)}for(;s--;)o(a);s=1,a=t[f]}return{c:e.subarray(0,i),n:r}},T=function(t,n){for(var r=0,e=0;e>8,t[i+2]=255^t[i],t[i+3]=255^t[i+1];for(var a=0;a4&&!H[a[K-1]];--K);var N,P,Q,R,V=v+5<<3,W=T(f,g)+T(h,w)+l,X=T(f,M)+T(h,C)+l+14+3*K+T(q,H)+2*q[16]+3*q[17]+7*q[18];if(c>=0&&V<=W&&V<=X)return k(r,m,t.subarray(c,c+v));if(z(r,m,1+(X15&&(z(r,m,tt[B]>>5&127),m+=tt[B]>>12)}}}else N=p,P=g,Q=y,R=w;for(B=0;B255){A(r,m,N[(nt=rt>>18&31)+257]),m+=P[nt+257],nt>7&&(z(r,m,rt>>23&31),m+=e[nt]);var et=31&rt;A(r,m,Q[et]),m+=R[et],et>3&&(A(r,m,rt>>5&8191),m+=i[et])}else A(r,m,N[rt]),m+=P[rt]}return A(r,m,N[256]),m+P[256]},U=new r([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),F=new t(0),I=function(){for(var t=new Int32Array(256),n=0;n<256;++n){for(var r=n,e=9;--e;)r=(1&r&&-306674912)^r>>>1;t[n]=r}return t}(),S=function(){var t=1,n=0;return{p:function(r){for(var e=t,i=n,a=0|r.length,s=0;s!=a;){for(var o=Math.min(s+2655,a);s>16),i=(65535&i)+15*(i>>16)}t=e,n=i},d:function(){return(255&(t%=65521))<<24|(65280&t)<<8|(255&(n%=65521))<<8|n>>8}}},L=function(a,s,o,f,u){if(!u&&(u={l:1},s.dictionary)){var c=s.dictionary.subarray(-32768),v=new t(c.length+a.length);v.set(c),v.set(a,c.length),a=v,u.w=c.length}return function(a,s,o,f,u,c){var v=c.z||a.length,d=new t(f+v+5*(1+Math.ceil(v/7e3))+u),g=d.subarray(f,d.length-u),w=c.l,p=7&(c.r||0);if(s){p&&(g[0]=c.r>>3);for(var y=U[s-1],M=y>>13,E=8191&y,z=(1<7e3||q>24576)&&(N>423||!w)){p=C(a,g,0,F,I,S,O,q,G,j-G,p),q=L=O=0,G=j;for(var P=0;P<286;++P)I[P]=0;for(P=0;P<30;++P)S[P]=0}var Q=2,R=0,V=E,W=J-K&32767;if(N>2&&H==T(j-W))for(var X=Math.min(M,N)-1,Y=Math.min(32767,j),Z=Math.min(258,N);W<=Y&&--V&&J!=K;){if(a[j+Q]==a[j+Q-W]){for(var $=0;$Q){if(Q=$,R=W,$>X)break;var tt=Math.min(W,$-2),nt=0;for(P=0;Pnt&&(nt=et,K=rt)}}}W+=(J=K)-(K=A[J])&32767}if(R){F[q++]=268435456|h[Q]<<18|l[R];var it=31&h[Q],at=31&l[R];O+=e[it]+i[at],++I[257+it],++S[at],B=j+Q,++L}else F[q++]=a[j],++I[a[j]]}}for(j=Math.max(j,B);j=v&&(g[p/8|0]=w,st=v),p=k(g,p+1,a.subarray(j,st))}c.i=v}return b(d,0,f+m(p)+u)}(a,null==s.level?6:s.level,null==s.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(a.length)))):12+s.mem,o,f,u)},O=function(t,n,r){for(;r;++n)t[n]=r,r>>>=8},j=function(){function n(n,r){if("function"==typeof n&&(r=n,n={}),this.ondata=r,this.o=n||{},this.s={l:0,i:32768,w:32768,z:32768},this.b=new t(98304),this.o.dictionary){var e=this.o.dictionary.subarray(-32768);this.b.set(e,32768-e.length),this.s.i=32768-e.length}}return n.prototype.p=function(t,n){this.ondata(L(t,this.o,0,0,this.s),n)},n.prototype.push=function(n,r){this.ondata||E(5),this.s.l&&E(4);var e=n.length+this.s.z;if(e>this.b.length){if(e>2*this.b.length-32768){var i=new t(-32768&e);i.set(this.b.subarray(0,this.s.z)),this.b=i}var a=this.b.length-this.s.z;a&&(this.b.set(n.subarray(0,a),this.s.z),this.s.z=this.b.length,this.p(this.b,!1)),this.b.set(this.b.subarray(-32768)),this.b.set(n.subarray(a),32768),this.s.z=n.length-a+32768,this.s.i=32766,this.s.w=32768}else this.b.set(n,this.s.z),this.s.z+=n.length;this.s.l=1&r,(this.s.z>this.s.w+8191||r)&&(this.p(this.b,r||!1),this.s.w=this.s.i,this.s.i-=2)},n}();function q(t,n){n||(n={});var r=function(){var t=-1;return{p:function(n){for(var r=t,e=0;e>>8;t=r},d:function(){return~t}}}(),e=t.length;r.p(t);var i,a=L(t,n,10+((i=n).filename?i.filename.length+1:0),8),s=a.length;return function(t,n){var r=n.filename;if(t[0]=31,t[1]=139,t[2]=8,t[8]=n.level<2?4:9==n.level?2:0,t[9]=3,0!=n.mtime&&O(t,4,Math.floor(new Date(n.mtime||Date.now())/1e3)),r){t[3]=8;for(var e=0;e<=r.length;++e)t[e+10]=r.charCodeAt(e)}}(a,n),O(a,s-8,r.d()),O(a,s-4,e),a}var B=function(){function t(t,n){this.c=S(),this.v=1,j.call(this,t,n)}return t.prototype.push=function(t,n){this.c.p(t),j.prototype.push.call(this,t,n)},t.prototype.p=function(t,n){var r=L(t,this.o,this.v&&(this.o.dictionary?6:2),n&&4,this.s);this.v&&(function(t,n){var r=n.level,e=0==r?0:r<6?1:9==r?3:2;if(t[0]=120,t[1]=e<<6|(n.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,n.dictionary){var i=S();i.p(n.dictionary),O(t,2,i.d())}}(r,this.o),this.v=0),n&&O(r,r.length-4,this.c.d()),this.ondata(r,n)},t}(),G="undefined"!=typeof TextEncoder&&new TextEncoder,H="undefined"!=typeof TextDecoder&&new TextDecoder;try{H.decode(F,{stream:!0})}catch(t){}var J=function(){function t(t){this.ondata=t}return t.prototype.push=function(t,n){this.ondata||E(5),this.d&&E(4),this.ondata(K(t),this.d=n||!1)},t}();function K(n,r){if(r){for(var e=new t(n.length),i=0;i>1)),o=0,f=function(t){s[o++]=t};for(i=0;is.length){var h=new t(o+8+(a-i<<1));h.set(s),s=h}var l=n.charCodeAt(i);l<128||r?f(l):l<2048?(f(192|l>>6),f(128|63&l)):l>55295&&l<57344?(f(240|(l=65536+(1047552&l)|1023&n.charCodeAt(++i))>>18),f(128|l>>12&63),f(128|l>>6&63),f(128|63&l)):(f(224|l>>12),f(128|l>>6&63),f(128|63&l))}return b(s,0,o)}const N=new class{constructor(){this._init()}clear(){this._init()}addEvent(t){if(!t)throw new Error("Adding invalid event");const n=this._hasEvents?",":"";this.stream.push(n+t),this._hasEvents=!0}finish(){this.stream.push("]",!0);const t=function(t){let n=0;for(let r=0,e=t.length;r{this._deflatedData.push(t)},this.stream=new J(((t,n)=>{this.deflate.push(t,n)})),this.stream.push("[")}},P={clear:()=>{N.clear()},addEvent:t=>N.addEvent(t),finish:()=>N.finish(),compress:t=>function(t){return q(K(t))}(t)};addEventListener("message",(function(t){const n=t.data.method,r=t.data.id,e=t.data.arg;if(n in P&&"function"==typeof P[n])try{const t=P[n](e);postMessage({id:r,method:n,success:!0,response:t})}catch(t){postMessage({id:r,method:n,success:!1,response:t.message}),console.error(t)}})),postMessage({id:void 0,method:"init",success:!0,response:void 0});']);return URL.createObjectURL(e)}();return""}();if(!t)return;LN("[Replay] Using compression worker"+(e?` from ${e}`:""));const n=new Worker(t);return new VN(n)}catch(t){LN("[Replay] Failed to create compression worker")}}(t);if(e)return e}return LN("[Replay] Using simple buffer"),new UN}function zN(){try{return"sessionStorage"in dA&&!!dA.sessionStorage}catch(JZ){return!1}}function $N(e){!function(){if(!zN())return;try{dA.sessionStorage.removeItem("sentryReplaySession")}catch(JZ){}}(),e.session=void 0}function WN(e){return void 0!==e&&Math.random()e.getContext().initialTimestamp+e.getOptions().maxReplayDuration)||(LN(`[Replay] Skipping event with timestamp ${n} because it is after maxReplayDuration`,e.getOptions()._experiments.traceInternals),!1))}function rD(e){return!e.type}function iD(e){return"transaction"===e.type}function oD(e){return"feedback"===e.type}function sD(e){const t=function(){const e=Uk();if(!e)return!1;const t=e.getTransport();if(!t)return!1;return t.send.__sentry__baseTransport__||!1}();return(n,r)=>{if(!e.isEnabled()||!rD(n)&&!iD(n))return;const i=r&&r.statusCode;t&&(!i||i<200||i>=300)||(iD(n)?function(e,t){const n=e.getContext();t.contexts&&t.contexts.trace&&t.contexts.trace.trace_id&&n.traceIds.size<100&&n.traceIds.add(t.contexts.trace.trace_id)}(e,n):function(e,t){const n=e.getContext();t.event_id&&n.errorIds.size<100&&n.errorIds.add(t.event_id);if("buffer"!==e.recordingMode||!t.tags||!t.tags.replayId)return;const{beforeErrorSampling:r}=e.getOptions();if("function"==typeof r&&!r(t))return;setTimeout((()=>{e.sendBufferedReplayOrFlush()}))}(e,n))}}function aD(e){return t=>{e.isEnabled()&&rD(t)&&function(e,t){const n=t.exception&&t.exception.values&&t.exception.values[0].value;if("string"!=typeof n)return;if(n.match(/reactjs\.org\/docs\/error-decoder\.html\?invariant=(418|419|422|423|425)/)||n.match(/(does not match server-rendered HTML|Hydration failed because)/i)){hN(e,xN({category:"replay.hydrate-error"}))}}(e,t)}}function cD(e,t=!1){const n=t?sD(e):void 0;return Object.assign(((t,r)=>{if(!e.isEnabled())return t;if(function(e){return"replay_event"===e.type}(t))return delete t.breadcrumbs,t;if(!rD(t)&&!iD(t)&&!oD(t))return t;if(!e.checkAndHandleExpiredSession())return t;if(oD(t))return e.flush(),t.contexts.feedback.replay_id=e.getSessionId(),function(e,t){e.triggerUserActivity(),e.addUpdate((()=>!t.timestamp||(e.throttledAddEvent({type:wI.Custom,timestamp:1e3*t.timestamp,data:{tag:"breadcrumb",payload:{timestamp:t.timestamp,type:"default",category:"sentry.feedback",data:{feedbackId:t.event_id}}}}),!1)))}(e,t),t;if(function(e,t){return!(e.type||!e.exception||!e.exception.values||!e.exception.values.length||!t.originalException||!t.originalException.__rrweb__)}(t,r)&&!e.getOptions()._experiments.captureExceptions)return RN&&yS.log("[Replay] Ignoring error from rrweb internals",t),null;return(function(e,t){return"buffer"===e.recordingMode&&"Unable to send Replay"!==t.message&&!(!t.exception||t.type)&&WN(e.getOptions().errorSampleRate)}(e,t)||"session"===e.recordingMode)&&(t.tags=c(a({},t.tags),{replayId:e.getSessionId()})),n&&n(t,{statusCode:200}),t}),{id:"Replay"})}function uD(e,t){return t.map((({type:t,start:n,end:r,name:i,data:o})=>{const s=e.throttledAddEvent({type:wI.Custom,timestamp:n,data:{tag:"performanceSpan",payload:{op:t,description:i,startTimestamp:n,endTimestamp:r,data:o}}});return"string"==typeof s?Promise.resolve(null):s}))}function lD(e){return t=>{if(!e.isEnabled())return;const n=function(e){const{from:t,to:n}=e,r=Date.now()/1e3;return{type:"navigation.push",start:r,end:r,name:n,data:{previous:t}}}(t);null!==n&&(e.getContext().urls.push(n.name),e.triggerUserActivity(),e.addUpdate((()=>(uD(e,[n]),!1))))}}function dD(e,t){e.isEnabled()&&null!==t&&(function(e,t){return(!RN||!e.getOptions()._experiments.traceInternals)&&fE(t,Uk())}(e,t.name)||e.addUpdate((()=>(uD(e,[t]),!0))))}function fD(e,t){if(e)try{if("string"==typeof e)return t.encode(e).length;if(e instanceof URLSearchParams)return t.encode(e.toString()).length;if(e instanceof FormData){const n=_D(e);return t.encode(n).length}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength}catch(JZ){}}function hD(e){if(!e)return;const t=parseInt(e,10);return isNaN(t)?void 0:t}function pD(e){try{if("string"==typeof e)return[e];if(e instanceof URLSearchParams)return[e.toString()];if(e instanceof FormData)return[_D(e)];if(!e)return[void 0]}catch(JZ){return RN&&yS.warn("[Replay] Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return RN&&yS.info("[Replay] Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function mD(e,t){if(!e)return{headers:{},size:void 0,_meta:{warnings:[t]}};const n=a({},e._meta),r=n.warnings||[];return n.warnings=[...r,t],e._meta=n,e}function gD(e,t){if(!t)return null;const{startTimestamp:n,endTimestamp:r,url:i,method:o,statusCode:s,request:a,response:c}=t;return{type:e,start:n/1e3,end:r/1e3,name:i,data:NS({method:o,statusCode:s,request:a,response:c})}}function yD(e){return{headers:{},size:e,_meta:{warnings:["URL_SKIPPED"]}}}function vD(e,t,n){if(!t&&0===Object.keys(e).length)return;if(!t)return{headers:e};if(!n)return{headers:e,size:t};const r={headers:e,size:t},{body:i,warnings:o}=function(e){if(!e||"string"!=typeof e)return{body:e};const t=e.length>15e4,n=function(e){const t=e[0],n=e[e.length-1];return"["===t&&"]"===n||"{"===t&&"}"===n}(e);if(t){const t=e.slice(0,15e4);return n?{body:t,warnings:["MAYBE_JSON_TRUNCATED"]}:{body:`${t}…`,warnings:["TEXT_TRUNCATED"]}}if(n)try{return{body:JSON.parse(e)}}catch(r){}return{body:e}}(n);return r.body=i,o&&o.length>0&&(r._meta={warnings:o}),r}function bD(e,t){return Object.keys(e).reduce(((n,r)=>{const i=r.toLowerCase();return t.includes(i)&&e[r]&&(n[i]=e[r]),n}),{})}function _D(e){return new URLSearchParams(e).toString()}function wD(e,t){return Xw(function(e,t=dA.document.baseURI){if(e.startsWith("http://")||e.startsWith("https://")||e.startsWith(dA.location.origin))return e;const n=new URL(e,t);if(n.origin!==new URL(t).origin)return e;const r=n.href;if(!e.endsWith("/")&&r.endsWith("/"))return r.slice(0,-1);return r}(e),t)}async function SD(e,t,n){try{const r=gD("resource.fetch",await async function(e,t,n){const r=Date.now(),{startTimestamp:i=r,endTimestamp:o=r}=t,{url:s,method:a,status_code:c=0,request_body_size:u,response_body_size:l}=e.data,d=wD(s,n.networkDetailAllowUrls)&&!wD(s,n.networkDetailDenyUrls),f=d?function({networkCaptureBodies:e,networkRequestHeaders:t},n,r){const i=n?function(e,t){if(1===e.length&&"string"!=typeof e[0])return TD(e[0],t);if(2===e.length)return TD(e[1],t);return{}}(n,t):{};if(!e)return vD(i,r,void 0);const o=xD(n),[s,a]=pD(o),c=vD(i,r,s);if(a)return mD(c,a);return c}(n,t.input,u):yD(u),h=await async function(e,{networkCaptureBodies:t,textEncoder:n,networkResponseHeaders:r},i,o){if(!e&&void 0!==o)return yD(o);const s=i?kD(i.headers,r):{};if(!i||!t&&void 0!==o)return vD(s,o,void 0);const[a,c]=await async function(e){const t=function(e){try{return e.clone()}catch(t){RN&&yS.warn("[Replay] Failed to clone response body",t)}}(e);if(!t)return[void 0,"BODY_PARSE_ERROR"];try{return[await function(e){return new Promise(((t,n)=>{const r=setTimeout((()=>n(new Error("Timeout while trying to read response body"))),500);(async function(e){return await e.text()})(e).then((e=>t(e)),(e=>n(e))).finally((()=>clearTimeout(r)))}))}(t)]}catch(n){return RN&&yS.warn("[Replay] Failed to get text body from response",n),[void 0,"BODY_PARSE_ERROR"]}}(i),u=function(e,{networkCaptureBodies:t,textEncoder:n,responseBodySize:r,captureDetails:i,headers:o}){try{const s=e&&e.length&&void 0===r?fD(e,n):r;return i?vD(o,s,t?e:void 0):yD(s)}catch(s){return RN&&yS.warn("[Replay] Failed to serialize response body",s),vD(o,r,void 0)}}(a,{networkCaptureBodies:t,textEncoder:n,responseBodySize:o,captureDetails:e,headers:s});if(c)return mD(u,c);return u}(d,n,t.response,l);return{startTimestamp:i,endTimestamp:o,url:s,method:a,statusCode:c,request:f,response:h}}(e,t,n));dD(n.replay,r)}catch(r){RN&&yS.error("[Replay] Failed to capture fetch breadcrumb",r)}}function xD(e=[]){if(2===e.length&&"object"==typeof e[1])return e[1].body}function kD(e,t){const n={};return t.forEach((t=>{e.get(t)&&(n[t]=e.get(t))})),n}function TD(e,t){if(!e)return{};const n=e.headers;return n?n instanceof Headers?kD(n,t):Array.isArray(n)?{}:bD(n,t):{}}async function ED(e,t,n){try{const r=gD("resource.xhr",function(e,t,n){const r=Date.now(),{startTimestamp:i=r,endTimestamp:o=r,input:s,xhr:a}=t,{url:c,method:u,status_code:l=0,request_body_size:d,response_body_size:f}=e.data;if(!c)return null;if(!a||!wD(c,n.networkDetailAllowUrls)||wD(c,n.networkDetailDenyUrls)){return{startTimestamp:i,endTimestamp:o,url:c,method:u,statusCode:l,request:yD(d),response:yD(f)}}const h=a.__sentry_xhr_v3__,p=h?bD(h.request_headers,n.networkRequestHeaders):{},m=bD(function(e){const t=e.getAllResponseHeaders();if(!t)return{};return t.split("\r\n").reduce(((e,t)=>{const[n,r]=t.split(": ");return e[n.toLowerCase()]=r,e}),{})}(a),n.networkResponseHeaders),[g,y]=n.networkCaptureBodies?pD(s):[void 0],[v,b]=n.networkCaptureBodies?function(e){const t=[];try{return[e.responseText]}catch(JZ){t.push(JZ)}try{return function(e,t){try{if("string"==typeof e)return[e];if(e instanceof Document)return[e.body.outerHTML];if("json"===t&&e&&"object"==typeof e)return[JSON.stringify(e)];if(!e)return[void 0]}catch(JZ){return RN&&yS.warn("[Replay] Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return RN&&yS.info("[Replay] Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}(e.response,e.responseType)}catch(JZ){t.push(JZ)}return RN&&yS.warn("[Replay] Failed to get xhr response body",...t),[void 0]}(a):[void 0],_=vD(p,d,g),w=vD(m,f,v);return{startTimestamp:i,endTimestamp:o,url:c,method:u,statusCode:l,request:y?mD(_,y):_,response:b?mD(w,b):w}}(e,t,n));dD(n.replay,r)}catch(r){RN&&yS.error("[Replay] Failed to capture xhr breadcrumb",r)}}function CD(e,t,n){const{xhr:r,input:i}=t;if(!r)return;const o=fD(i,n.textEncoder),s=r.getResponseHeader("content-length")?hD(r.getResponseHeader("content-length")):function(e,t,n){try{return fD("json"===t&&e&&"object"==typeof e?JSON.stringify(e):e,n)}catch(r){return}}(r.response,r.responseType,n.textEncoder);void 0!==o&&(e.data.request_body_size=o),void 0!==s&&(e.data.response_body_size=s)}function OD(e){const t=Uk();try{const n=new TextEncoder,{networkDetailAllowUrls:r,networkDetailDenyUrls:i,networkCaptureBodies:o,networkRequestHeaders:s,networkResponseHeaders:a}=e.getOptions(),c={replay:e,textEncoder:n,networkDetailAllowUrls:r,networkDetailDenyUrls:i,networkCaptureBodies:o,networkRequestHeaders:s,networkResponseHeaders:a};t&&t.on?t.on("beforeAddBreadcrumb",((e,t)=>function(e,t,n){if(!t.data)return;try{(function(e){return"xhr"===e.category})(t)&&function(e){return e&&e.xhr}(n)&&(CD(t,n,e),ED(t,n,e)),function(e){return"fetch"===e.category}(t)&&function(e){return e&&e.response}(n)&&(!function(e,t,n){const{input:r,response:i}=t,o=fD(r?xD(r):void 0,n.textEncoder),s=i?hD(i.headers.get("content-length")):void 0;void 0!==o&&(e.data.request_body_size=o),void 0!==s&&(e.data.response_body_size=s)}(t,n,e),SD(t,n,e))}catch(JZ){RN&&yS.warn("Error when enriching network breadcrumb")}}(c,e,t))):(cx(function(e){return t=>{if(!e.isEnabled())return;const n=function(e){const{startTimestamp:t,endTimestamp:n,fetchData:r,response:i}=e;if(!n)return null;const{method:o,url:s}=r;return{type:"resource.fetch",start:t/1e3,end:n/1e3,name:s,data:{method:o,statusCode:i?i.status:void 0}}}(t);dD(e,n)}}(e)),kx(function(e){return t=>{if(!e.isEnabled())return;const n=function(e){const{startTimestamp:t,endTimestamp:n,xhr:r}=e,i=r.__sentry_xhr_v3__;if(!t||!n||!i)return null;const{method:o,url:s,status_code:a}=i;return void 0===s?null:{type:"resource.xhr",name:s,start:t/1e3,end:n/1e3,data:{method:o,statusCode:a}}}(t);dD(e,n)}}(e)))}catch(JZ){}}let AD=null;const ID=e=>t=>{if(!e.isEnabled())return;const n=function(e){const t=e.getLastBreadcrumb&&e.getLastBreadcrumb();if(AD===t||!t)return null;if(AD=t,!function(e){return!!e.category}(t)||["fetch","xhr","sentry.event","sentry.transaction"].includes(t.category)||t.category.startsWith("ui."))return null;if("console"===t.category)return function(e){const t=e.data&&e.data.arguments;if(!Array.isArray(t)||0===t.length)return xN(e);let n=!1;const r=t.map((e=>{if(!e)return e;if("string"==typeof e)return e.length>5e3?(n=!0,`${e.slice(0,5e3)}…`):e;if("object"==typeof e)try{const t=Ox(e,7);return JSON.stringify(t).length>5e3?(n=!0,`${JSON.stringify(t,null,2).slice(0,5e3)}…`):t}catch(JZ){}return e}));return xN(c(a({},e),{data:a(c(a({},e.data),{arguments:r}),n?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{})}))}(t);return xN(t)}(t);n&&hN(e,n)};function ND(e){return!(!e||!e.on)}function DD(e){const{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}=e,i=Date.now()/1e3;return{type:"memory",name:"memory",start:i,end:i,data:{memory:{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}}}}function MD(e){let t=!1;return(n,r)=>{if(!e.checkAndHandleExpiredSession())return void(RN&&yS.warn("[Replay] Received replay event after session expired."));const i=r||!t;t=!0,e.clickDetector&&SN(e.clickDetector,n),e.addUpdate((()=>{if("buffer"===e.recordingMode&&i&&e.setInitialState(),!eD(e,n,i))return!0;if(!i)return!1;if(function(e,t){if(!t||!e.session||0!==e.session.segmentId)return;eD(e,function(e){const t=e.getOptions();return{type:wI.Custom,timestamp:Date.now(),data:{tag:"options",payload:{shouldRecordCanvas:e.isRecordingCanvas(),sessionSampleRate:t.sessionSampleRate,errorSampleRate:t.errorSampleRate,useCompressionOption:t.useCompression,blockAllMedia:t.blockAllMedia,maskAllText:t.maskAllText,maskAllInputs:t.maskAllInputs,useCompression:!!e.eventBuffer&&"worker"===e.eventBuffer.type,networkDetailHasUrls:t.networkDetailAllowUrls.length>0,networkCaptureBodies:t.networkCaptureBodies,networkRequestHasHeaders:t.networkRequestHeaders.length>0,networkResponseHasHeaders:t.networkResponseHeaders.length>0}}}}(e),!1)}(e,i),e.session&&e.session.previousSessionId)return!0;if("buffer"===e.recordingMode&&e.session&&e.eventBuffer){const t=e.eventBuffer.getEarliestTimestamp();t&&(LN(`[Replay] Updating session start time to earliest event in buffer to ${new Date(t)}`,e.getOptions()._experiments.traceInternals),e.session.started=t,e.getOptions().stickySession&&YN(e.session))}return"session"===e.recordingMode&&e.flush(),!0}))}}async function RD({recordingData:e,replayId:t,segmentId:n,eventContext:r,timestamp:i,session:o}){const s=function({recordingData:e,headers:t}){let n;const r=`${JSON.stringify(t)}\n`;if("string"==typeof e)n=`${r}${e}`;else{const t=(new TextEncoder).encode(r);n=new Uint8Array(t.length+e.length),n.set(t),n.set(e,t.length)}return n}({recordingData:e,headers:{segment_id:n}}),{urls:u,errorIds:l,traceIds:d,initialTimestamp:f}=r,h=Uk(),p=qk(),m=h&&h.getTransport(),g=h&&h.getDsn();if(!(h&&m&&g&&o.sampled))return;const y={type:"replay_event",replay_start_timestamp:f/1e3,timestamp:i/1e3,error_ids:l,trace_ids:d,urls:u,replay_id:t,segment_id:n,replay_type:o.sampled},v=await async function({client:e,scope:t,replayId:n,event:r}){const i={event_id:n,integrations:"object"!=typeof e._integrations||null===e._integrations||Array.isArray(e._integrations)?void 0:Object.keys(e._integrations)};e.emit&&e.emit("preprocessEvent",r,i);const o=await Ak(e.getOptions(),r,i,t,e,sT());if(!o)return null;o.platform=o.platform||"javascript";const s=e.getSdkMetadata&&e.getSdkMetadata(),{name:u,version:l}=s&&s.sdk||{};return o.sdk=c(a({},o.sdk),{name:u||"sentry.javascript.unknown",version:l||"0.0.0"}),o}({scope:p,client:h,replayId:t,event:y});if(!v)return h.recordDroppedEvent("event_processor","replay",y),void LN("An event processor returned `null`, will not send event.");delete v.sdkProcessingMetadata;const b=function(e,t,n,r){return ek(uk(e,ck(e),r,n),[[{type:"replay_event"},e],[{type:"replay_recording",length:"string"==typeof t?(new TextEncoder).encode(t).length:t.length},t]])}(v,s,g,h.getOptions().tunnel);let _;try{_=await m.send(b)}catch(S){const e=new Error("Unable to send Replay");try{e.cause=S}catch(JZ){}throw e}if(!_)return _;if("number"==typeof _.statusCode&&(_.statusCode<200||_.statusCode>=300))throw new LD(_.statusCode);const w=fk({},_);if(dk(w,"replay"))throw new PD(w);return _}class LD extends Error{constructor(e){super(`Transport returned status code ${e}`)}}class PD extends Error{constructor(e){super("Rate limit hit"),this.rateLimits=e}}async function jD(e,t={count:0,interval:5e3}){const{recordingData:n,options:r}=e;if(n.length)try{return await RD(e),!0}catch(i){if(i instanceof LD||i instanceof PD)throw i;if(jk("Replays",{_retryCount:t.count}),RN&&r._experiments&&r._experiments.captureExceptions&&Mk(i),t.count>=3){const e=new Error("Unable to send Replay - max retries exceeded");try{e.cause=i}catch(JZ){}throw e}return t.interval*=++t.count,new Promise(((n,r)=>{setTimeout((async()=>{try{await jD(e,t),n(!0)}catch(i){r(i)}}),t.interval)}))}}function FD(e,t,n){const r=new Map;let i=!1;return(...o)=>{const s=Math.floor(Date.now()/1e3);if((e=>{const t=e-n;r.forEach(((e,n)=>{ne+t),0)>=t){const e=i;return i=!0,e?"__SKIPPED":"__THROTTLED"}i=!1;const a=r.get(s)||0;return r.set(s,a+1),e(...o)}}class UD{constructor({options:e,recordingOptions:t}){UD.prototype.__init.call(this),UD.prototype.__init2.call(this),UD.prototype.__init3.call(this),UD.prototype.__init4.call(this),UD.prototype.__init5.call(this),UD.prototype.__init6.call(this),this.eventBuffer=null,this.performanceEntries=[],this.replayPerformanceEntries=[],this.recordingMode="session",this.timeouts={sessionIdlePause:3e5,sessionIdleExpire:9e5},this._lastActivity=Date.now(),this._isEnabled=!1,this._isPaused=!1,this._hasInitializedCoreListeners=!1,this._context={errorIds:new Set,traceIds:new Set,urls:[],initialTimestamp:Date.now(),initialUrl:""},this._recordingOptions=t,this._options=e,this._debouncedFlush=function(e,t,n){let r,i,o;const s=n&&n.maxWait?Math.max(n.maxWait,t):0;function a(){return c(),r=e(),r}function c(){void 0!==i&&clearTimeout(i),void 0!==o&&clearTimeout(o),i=o=void 0}function u(){return i&&clearTimeout(i),i=setTimeout(a,t),s&&void 0===o&&(o=setTimeout(a,s)),r}return u.cancel=c,u.flush=function(){return void 0!==i||void 0!==o?a():r},u}((()=>this._flush()),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=FD(((e,t)=>function(e,t,n){return nD(e,t)?tD(e,t,n):Promise.resolve(null)}(this,e,t)),300,5);const{slowClickTimeout:n,slowClickIgnoreSelectors:r}=this.getOptions(),i=n?{threshold:Math.min(3e3,n),timeout:n,scrollTimeout:300,ignoreSelector:r?r.join(","):""}:void 0;i&&(this.clickDetector=new bN(this,i))}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}isRecordingCanvas(){return Boolean(this._canvas)}getOptions(){return this._options}initializeSampling(e){const{errorSampleRate:t,sessionSampleRate:n}=this._options;t<=0&&n<=0||(this._initializeSessionForSampling(e),this.session?!1!==this.session.sampled&&(this.recordingMode="buffer"===this.session.sampled&&0===this.session.segmentId?"buffer":"session",PN(`[Replay] Starting replay in ${this.recordingMode} mode`,this._options._experiments.traceInternals),this._initializeRecording()):this._handleException(new Error("Unable to initialize and create session")))}start(){if(this._isEnabled&&"session"===this.recordingMode)throw new Error("Replay recording is already in progress");if(this._isEnabled&&"buffer"===this.recordingMode)throw new Error("Replay buffering is in progress, call `flush()` to save the replay");PN("[Replay] Starting replay in session mode",this._options._experiments.traceInternals),this._updateUserActivity();const e=ZN({maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire,traceInternals:this._options._experiments.traceInternals},{stickySession:this._options.stickySession,sessionSampleRate:1,allowBuffering:!1});this.session=e,this._initializeRecording()}startBuffering(){if(this._isEnabled)throw new Error("Replay recording is already in progress");PN("[Replay] Starting replay in buffer mode",this._options._experiments.traceInternals);const e=ZN({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,traceInternals:this._options._experiments.traceInternals},{stickySession:this._options.stickySession,sessionSampleRate:0,allowBuffering:!0});this.session=e,this.recordingMode="buffer",this._initializeRecording()}startRecording(){try{const e=this._canvas;this._stopRecording=lN(a(c(a(a({},this._recordingOptions),"buffer"===this.recordingMode&&{checkoutEveryNms:6e4}),{emit:MD(this),onMutation:this._onMutationHandler}),e?{recordCanvas:e.recordCanvas,getCanvasManager:e.getCanvasManager,sampling:e.sampling,dataURLOptions:e.dataURLOptions}:{}))}catch(e){this._handleException(e)}}stopRecording(){try{return this._stopRecording&&(this._stopRecording(),this._stopRecording=void 0),!0}catch(e){return this._handleException(e),!1}}async stop({forceFlush:e=!1,reason:t}={}){if(this._isEnabled){this._isEnabled=!1;try{LN("[Replay] Stopping Replay"+(t?` triggered by ${t}`:""),this._options._experiments.traceInternals),this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),e&&await this._flush({force:!0}),this.eventBuffer&&this.eventBuffer.destroy(),this.eventBuffer=null,$N(this)}catch(n){this._handleException(n)}}}pause(){this._isPaused||(this._isPaused=!0,this.stopRecording(),LN("[Replay] Pausing replay",this._options._experiments.traceInternals))}resume(){this._isPaused&&this._checkSession()&&(this._isPaused=!1,this.startRecording(),LN("[Replay] Resuming replay",this._options._experiments.traceInternals))}async sendBufferedReplayOrFlush({continueRecording:e=!0}={}){if("session"===this.recordingMode)return this.flushImmediate();const t=Date.now();LN("[Replay] Converting buffer to session",this._options._experiments.traceInternals),await this.flushImmediate();const n=this.stopRecording();e&&n&&"session"!==this.recordingMode&&(this.recordingMode="session",this.session&&(this._updateUserActivity(t),this._updateSessionActivity(t),this._maybeSaveSession()),this.startRecording())}addUpdate(e){const t=e();"buffer"!==this.recordingMode&&!0!==t&&this._debouncedFlush()}triggerUserActivity(){if(this._updateUserActivity(),this._stopRecording)this.checkAndHandleExpiredSession(),this._updateSessionActivity();else{if(!this._checkSession())return;this.resume()}}updateUserActivity(){this._updateUserActivity(),this._updateSessionActivity()}conditionalFlush(){return"buffer"===this.recordingMode?Promise.resolve():this.flushImmediate()}flush(){return this._debouncedFlush()}flushImmediate(){return this._debouncedFlush(),this._debouncedFlush.flush()}cancelFlush(){this._debouncedFlush.cancel()}getSessionId(){return this.session&&this.session.id}checkAndHandleExpiredSession(){if(!(this._lastActivity&&KN(this._lastActivity,this.timeouts.sessionIdlePause)&&this.session&&"session"===this.session.sampled))return!!this._checkSession();this.pause()}setInitialState(){const e=`${dA.location.pathname}${dA.location.hash}${dA.location.search}`,t=`${dA.location.origin}${e}`;this.performanceEntries=[],this.replayPerformanceEntries=[],this._clearContext(),this._context.initialUrl=t,this._context.initialTimestamp=Date.now(),this._context.urls.push(t)}throttledAddEvent(e,t){const n=this._throttledAddEvent(e,t);if("__THROTTLED"===n){const e=xN({category:"replay.throttled"});this.addUpdate((()=>!eD(this,{type:5,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e,metric:!0}})))}return n}getCurrentRoute(){const e=this.lastTransaction||qk().getTransaction(),t=(e&&Ck(e).data||{})["sentry.source"];if(e&&t&&["route","custom"].includes(t))return Ck(e).description}_initializeRecording(){this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=HN({useCompression:this._options.useCompression,workerUrl:this._options.workerUrl}),this._removeListeners(),this._addListeners(),this._isEnabled=!0,this._isPaused=!1,this.startRecording()}_handleException(e){RN&&yS.error("[Replay]",e),RN&&this._options._experiments&&this._options._experiments.captureExceptions&&Mk(e)}_initializeSessionForSampling(e){const t=this._options.errorSampleRate>0,n=ZN({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,traceInternals:this._options._experiments.traceInternals,previousSessionId:e},{stickySession:this._options.stickySession,sessionSampleRate:this._options.sessionSampleRate,allowBuffering:t});this.session=n}_checkSession(){if(!this.session)return!1;const e=this.session;return!XN(e,{sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration})||(this._refreshSession(e),!1)}async _refreshSession(e){this._isEnabled&&(await this.stop({reason:"refresh session"}),this.initializeSampling(e.id))}_addListeners(){try{dA.document.addEventListener("visibilitychange",this._handleVisibilityChange),dA.addEventListener("blur",this._handleWindowBlur),dA.addEventListener("focus",this._handleWindowFocus),dA.addEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.addListeners(),this._hasInitializedCoreListeners||(!function(e){const t=qk(),n=Uk();t.addScopeListener(ID(e)),tx(CN(e)),wx(lD(e)),OD(e);const r=cD(e,!ND(n));n&&n.addEventProcessor?n.addEventProcessor(r):rE(r),ND(n)&&(n.on("beforeSendEvent",aD(e)),n.on("afterSendEvent",sD(e)),n.on("createDsc",(t=>{const n=e.getSessionId();n&&e.isEnabled()&&"session"===e.recordingMode&&e.checkAndHandleExpiredSession()&&(t.replay_id=n)})),n.on("startTransaction",(t=>{e.lastTransaction=t})),n.on("finishTransaction",(t=>{e.lastTransaction=t})),n.on("beforeSendFeedback",((t,n)=>{const r=e.getSessionId();n&&n.includeReplay&&e.isEnabled()&&r&&t.contexts&&t.contexts.feedback&&(t.contexts.feedback.replay_id=r)})))}(this),this._hasInitializedCoreListeners=!0)}catch(e){this._handleException(e)}this._performanceCleanupCallback=MN(this)}_removeListeners(){try{dA.document.removeEventListener("visibilitychange",this._handleVisibilityChange),dA.removeEventListener("blur",this._handleWindowBlur),dA.removeEventListener("focus",this._handleWindowFocus),dA.removeEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.removeListeners(),this._performanceCleanupCallback&&this._performanceCleanupCallback()}catch(e){this._handleException(e)}}__init(){this._handleVisibilityChange=()=>{"visible"===dA.document.visibilityState?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()}}__init2(){this._handleWindowBlur=()=>{const e=xN({category:"ui.blur"});this._doChangeToBackgroundTasks(e)}}__init3(){this._handleWindowFocus=()=>{const e=xN({category:"ui.focus"});this._doChangeToForegroundTasks(e)}}__init4(){this._handleKeyboardEvent=e=>{AN(this,e)}}_doChangeToBackgroundTasks(e){if(!this.session)return;JN(this.session,{maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire})||(e&&this._createCustomBreadcrumb(e),this.conditionalFlush())}_doChangeToForegroundTasks(e){if(!this.session)return;this.checkAndHandleExpiredSession()?e&&this._createCustomBreadcrumb(e):LN("[Replay] Document has become active, but session has expired")}_updateUserActivity(e=Date.now()){this._lastActivity=e}_updateSessionActivity(e=Date.now()){this.session&&(this.session.lastActivity=e,this._maybeSaveSession())}_createCustomBreadcrumb(e){this.addUpdate((()=>{this.throttledAddEvent({type:wI.Custom,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e}})}))}_addPerformanceEntries(){const e=(t=this.performanceEntries,t.map(NN).filter(Boolean)).concat(this.replayPerformanceEntries);var t;return this.performanceEntries=[],this.replayPerformanceEntries=[],Promise.all(uD(this,e))}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[]}_updateInitialTimestampFromEventBuffer(){const{session:e,eventBuffer:t}=this;if(!e||!t)return;if(e.segmentId)return;const n=t.getEarliestTimestamp();n&&nthis._options.maxReplayDuration+3e4)throw new Error("Session is too long, not sending replay");const n=this._popEventContext(),r=this.session.segmentId++;this._maybeSaveSession();const i=await this.eventBuffer.finish();await jD({replayId:e,recordingData:i,segmentId:r,eventContext:n,session:this.session,options:this.getOptions(),timestamp:t})}catch(t){this._handleException(t),this.stop({reason:"sendReplay"});const e=Uk();e&&e.recordDroppedEvent("send_error","replay")}}else RN&&yS.error("[Replay] No session or eventBuffer found to flush.")}__init5(){this._flush=async({force:e=!1}={})=>{if(!this._isEnabled&&!e)return;if(!this.checkAndHandleExpiredSession())return void(RN&&yS.error("[Replay] Attempting to finish replay event after session expired."));if(!this.session)return;const t=this.session.started,n=Date.now()-t;this._debouncedFlush.cancel();const r=nthis._options.maxReplayDuration+5e3;if(r||i)return LN(`[Replay] Session duration (${Math.floor(n/1e3)}s) is too ${r?"short":"long"}, not sending replay.`,this._options._experiments.traceInternals),void(r&&this._debouncedFlush());const o=this.eventBuffer;if(o&&0===this.session.segmentId&&!o.hasCheckout&&LN("[Replay] Flushing initial segment without checkout.",this._options._experiments.traceInternals),!this._flushLock)return this._flushLock=this._runFlush(),await this._flushLock,void(this._flushLock=void 0);try{await this._flushLock}catch(s){RN&&yS.error(s)}finally{this._debouncedFlush()}}}_maybeSaveSession(){this.session&&this._options.stickySession&&YN(this.session)}__init6(){this._onMutationHandler=e=>{const t=e.length,n=this._options.mutationLimit,r=n&&t>n;if(t>this._options.mutationBreadcrumbLimit||r){const e=xN({category:"replay.mutations",data:{count:t,limit:r}});this._createCustomBreadcrumb(e)}return!r||(this.stop({reason:"mutationLimit",forceFlush:"session"===this.recordingMode}),!1)}}}function qD(e,t,n,r){const i=[...e,..."string"==typeof r?r.split(","):[],...t];return void 0!==n&&("string"==typeof n&&i.push(`.${n}`),gS((()=>{console.warn("[Replay] You are using a deprecated configuration item for privacy. Read the documentation on how to use the new privacy configuration.")}))),i.join(",")}const BD='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',VD=["content-length","content-type","accept"];let HD=!1;const zD=e=>new $D(e);class $D{static __initStatic(){this.id="Replay"}constructor({flushMinDelay:e=5e3,flushMaxDelay:t=5500,minReplayDuration:n=4999,maxReplayDuration:r=36e5,stickySession:i=!0,useCompression:o=!0,workerUrl:s,_experiments:u={},sessionSampleRate:l,errorSampleRate:d,maskAllText:f=!0,maskAllInputs:h=!0,blockAllMedia:p=!0,mutationBreadcrumbLimit:m=750,mutationLimit:g=1e4,slowClickTimeout:y=7e3,slowClickIgnoreSelectors:v=[],networkDetailAllowUrls:b=[],networkDetailDenyUrls:_=[],networkCaptureBodies:w=!0,networkRequestHeaders:S=[],networkResponseHeaders:x=[],mask:k=[],maskAttributes:T=["title","placeholder"],unmask:E=[],block:C=[],unblock:O=[],ignore:A=[],maskFn:I,beforeAddRecordingEvent:N,beforeErrorSampling:D,blockClass:M,blockSelector:R,maskInputOptions:L,maskTextClass:P,maskTextSelector:j,ignoreClass:F}={}){this.name=$D.id;const U=function({mask:e,unmask:t,block:n,unblock:r,ignore:i,blockClass:o,blockSelector:s,maskTextClass:a,maskTextSelector:c,ignoreClass:u}){const l={maskTextSelector:qD(e,[".sentry-mask","[data-sentry-mask]"],a,c),unmaskTextSelector:qD(t,[".sentry-unmask","[data-sentry-unmask]"]),blockSelector:qD(n,[".sentry-block","[data-sentry-block]",'base[href="/"]'],o,s),unblockSelector:qD(r,[".sentry-unblock","[data-sentry-unblock]"]),ignoreSelector:qD(i,[".sentry-ignore","[data-sentry-ignore]",'input[type="file"]'],u)};return o instanceof RegExp&&(l.blockClass=o),a instanceof RegExp&&(l.maskTextClass=a),l}({mask:k,unmask:E,block:C,unblock:O,ignore:A,blockClass:M,blockSelector:R,maskTextClass:P,maskTextSelector:j,ignoreClass:F});if(this._recordingOptions=c(a({maskAllInputs:h,maskAllText:f,maskInputOptions:c(a({},L||{}),{password:!0}),maskTextFn:I,maskInputFn:I,maskAttributeFn:(e,t,n)=>function({el:e,key:t,maskAttributes:n,maskAllText:r,privacyOptions:i,value:o}){return r?i.unmaskTextSelector&&e.matches(i.unmaskTextSelector)?o:n.includes(t)||"value"===t&&"INPUT"===e.tagName&&["submit","button"].includes(e.getAttribute("type")||"")?o.replace(/[\S]/g,"*"):o:o}({maskAttributes:T,maskAllText:f,privacyOptions:U,key:e,value:t,el:n})},U),{slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,errorHandler:e=>{try{e.__rrweb__=!0}catch(t){}}}),this._initialOptions={flushMinDelay:e,flushMaxDelay:t,minReplayDuration:Math.min(n,15e3),maxReplayDuration:Math.min(r,36e5),stickySession:i,sessionSampleRate:l,errorSampleRate:d,useCompression:o,workerUrl:s,blockAllMedia:p,maskAllInputs:h,maskAllText:f,mutationBreadcrumbLimit:m,mutationLimit:g,slowClickTimeout:y,slowClickIgnoreSelectors:v,networkDetailAllowUrls:b,networkDetailDenyUrls:_,networkCaptureBodies:w,networkRequestHeaders:WD(S),networkResponseHeaders:WD(x),beforeAddRecordingEvent:N,beforeErrorSampling:D,_experiments:u},"number"==typeof l&&(console.warn(`[Replay] You are passing \`sessionSampleRate\` to the Replay integration.\nThis option is deprecated and will be removed soon.\nInstead, configure \`replaysSessionSampleRate\` directly in the SDK init options, e.g.:\nSentry.init({ replaysSessionSampleRate: ${l} })`),this._initialOptions.sessionSampleRate=l),"number"==typeof d&&(console.warn(`[Replay] You are passing \`errorSampleRate\` to the Replay integration.\nThis option is deprecated and will be removed soon.\nInstead, configure \`replaysOnErrorSampleRate\` directly in the SDK init options, e.g.:\nSentry.init({ replaysOnErrorSampleRate: ${d} })`),this._initialOptions.errorSampleRate=d),this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${BD}`:BD),this._isInitialized&&Cx())throw new Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return HD}set _isInitialized(e){HD=e}setupOnce(){Cx()&&(this._setup(),setTimeout((()=>this._initialize())))}start(){this._replay&&this._replay.start()}startBuffering(){this._replay&&this._replay.startBuffering()}stop(){return this._replay?this._replay.stop({forceFlush:"session"===this._replay.recordingMode}):Promise.resolve()}flush(e){return this._replay&&this._replay.isEnabled()?this._replay.sendBufferedReplayOrFlush(e):Promise.resolve()}getReplayId(){if(this._replay&&this._replay.isEnabled())return this._replay.getSessionId()}_initialize(){this._replay&&(this._maybeLoadFromReplayCanvasIntegration(),this._replay.initializeSampling())}_setup(){const e=function(e){const t=Uk(),n=t&&t.getOptions(),r=a({sessionSampleRate:0,errorSampleRate:0},NS(e));if(!n)return gS((()=>{console.warn("SDK client is not available.")})),r;null==e.sessionSampleRate&&null==e.errorSampleRate&&null==n.replaysSessionSampleRate&&null==n.replaysOnErrorSampleRate&&gS((()=>{console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set.")}));"number"==typeof n.replaysSessionSampleRate&&(r.sessionSampleRate=n.replaysSessionSampleRate);"number"==typeof n.replaysOnErrorSampleRate&&(r.errorSampleRate=n.replaysOnErrorSampleRate);return r}(this._initialOptions);this._replay=new UD({options:e,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(){try{const e=Uk().getIntegrationByName("ReplayCanvas");if(!e)return;this._replay._canvas=e.getOptions()}catch(JZ){}}}function WD(e){return[...VD,...e.map((e=>e.toLowerCase()))]}var GD;function YD(e,t,n=1/0,r=0){return e?e.nodeType!==e.ELEMENT_NODE||r>n?-1:t(e)?r:YD(e.parentNode,t,n,r+1):-1}function QD(e,t){return n=>{const r=n;if(null===r)return!1;try{if(e)if("string"==typeof e){if(r.matches(`.${e}`))return!0}else if(function(e,t){for(let n=e.classList.length;n--;){const r=e.classList[n];if(t.test(r))return!0}return!1}(r,e))return!0;return!(!t||!r.matches(t))}catch(JZ){return!1}}}$D.__initStatic(),function(e){e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment"}(GD||(GD={}));const KD="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.";let JD={map:{},getId:()=>(console.error(KD),-1),getNode:()=>(console.error(KD),null),removeNodeFromMap(){console.error(KD)},has:()=>(console.error(KD),!1),reset(){console.error(KD)}};function XD(e,t,n,r,i=window){const o=i.Object.getOwnPropertyDescriptor(e,t);return i.Object.defineProperty(e,t,r?n:{set(e){iM((()=>{n.set.call(this,e)}),0),o&&o.set&&o.set.call(this,e)}}),()=>XD(e,t,o||{},!0)}function ZD(e,t,n){try{if(!(t in e))return()=>{};const r=e[t],i=n(r);return"function"==typeof i&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=i,()=>{e[t]=r}}catch(JZ){return()=>{}}}function eM(e,t,n,r,i){if(!e)return!1;const o=function(e){return e?e.nodeType===e.ELEMENT_NODE?e:e.parentElement:null}(e);if(!o)return!1;const s=QD(t,n);if(!i){const e=r&&o.matches(r);return s(o)&&!e}const a=YD(o,s);let c=-1;return!(a<0)&&(r&&(c=YD(o,QD(null,r))),a>-1&&c<0||a("map"===t&&console.error(KD),Reflect.get(e,t,n))})),/[1-9][0-9]{12}/.test(Date.now().toString());const tM={};function nM(e){const t=tM[e];if(t)return t;const n=window.document;let r=window[e];if(n&&"function"==typeof n.createElement)try{const t=n.createElement("iframe");t.hidden=!0,n.head.appendChild(t);const i=t.contentWindow;i&&i[e]&&(r=i[e]),n.head.removeChild(t)}catch(JZ){}return tM[e]=r.bind(window)}function rM(...e){return nM("requestAnimationFrame")(...e)}function iM(...e){return nM("setTimeout")(...e)}var oM=(e=>(e[e["2D"]=0]="2D",e[e.WebGL=1]="WebGL",e[e.WebGL2=2]="WebGL2",e))(oM||{});let sM;const aM=e=>{if(!sM)return e;return(...t)=>{try{return e(...t)}catch(n){if(sM&&!0===sM(n))return()=>{};throw n}}};for(var cM="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",uM="undefined"==typeof Uint8Array?[]:new Uint8Array(256),lM=0;lM{if(!e||!mM(e,t)&&"object"!=typeof e)return;const r=function(e,t){let n=dM.get(e);return n||(n=new Map,dM.set(e,n)),n.has(t)||n.set(t,[]),n.get(t)}(n,e.constructor.name);let i=r.indexOf(e);return-1===i&&(i=r.length,r.push(e)),i};function hM(e,t,n){if(e instanceof Array)return e.map((e=>hM(e,t,n)));if(null===e)return e;if(e instanceof Float32Array||e instanceof Float64Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Uint8Array||e instanceof Uint16Array||e instanceof Int16Array||e instanceof Int8Array||e instanceof Uint8ClampedArray){return{rr_type:e.constructor.name,args:[Object.values(e)]}}if(e instanceof ArrayBuffer){return{rr_type:e.constructor.name,base64:function(e){var t,n=new Uint8Array(e),r=n.length,i="";for(t=0;t>2],i+=cM[(3&n[t])<<4|n[t+1]>>4],i+=cM[(15&n[t+1])<<2|n[t+2]>>6],i+=cM[63&n[t+2]];return r%3==2?i=i.substring(0,i.length-1)+"=":r%3==1&&(i=i.substring(0,i.length-2)+"=="),i}(e)}}if(e instanceof DataView){return{rr_type:e.constructor.name,args:[hM(e.buffer,t,n),e.byteOffset,e.byteLength]}}if(e instanceof HTMLImageElement){const t=e.constructor.name,{src:n}=e;return{rr_type:t,src:n}}if(e instanceof HTMLCanvasElement){return{rr_type:"HTMLImageElement",src:e.toDataURL()}}if(e instanceof ImageData){return{rr_type:e.constructor.name,args:[hM(e.data,t,n),e.width,e.height]}}if(mM(e,t)||"object"==typeof e){return{rr_type:e.constructor.name,index:fM(e,t,n)}}return e}const pM=(e,t,n)=>e.map((e=>hM(e,t,n))),mM=(e,t)=>{const n=["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter((e=>"function"==typeof t[e]));return Boolean(n.find((n=>e instanceof t[n])))};function gM(e,t,n,r,i){const o=[];try{const s=ZD(e.HTMLCanvasElement.prototype,"getContext",(function(e){return function(o,...s){if(!eM(this,t,n,r,!0)){const e=function(e){return"experimental-webgl"===e?"webgl":e}(o);if("__context"in this||(this.__context=e),i&&["webgl","webgl2"].includes(e))if(s[0]&&"object"==typeof s[0]){const e=s[0];e.preserveDrawingBuffer||(e.preserveDrawingBuffer=!0)}else s.splice(0,1,{preserveDrawingBuffer:!0})}return e.apply(this,[o,...s])}}));o.push(s)}catch(JZ){console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return()=>{o.forEach((e=>e()))}}function yM(e,t,n,r,i,o,s,a){const c=[],u=Object.getOwnPropertyNames(e);for(const l of u)if(!["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(l))try{if("function"!=typeof e[l])continue;const s=ZD(e,l,(function(e){return function(...s){const c=e.apply(this,s);if(fM(c,a,this),"tagName"in this.canvas&&!eM(this.canvas,r,i,o,!0)){const e=pM(s,a,this),r={type:t,property:l,args:e};n(this.canvas,r)}return c}}));c.push(s)}catch(JZ){const i=XD(e,l,{set(e){n(this.canvas,{type:t,property:l,args:[e],setter:!0})}});c.push(i)}return c}class vM{reset(){this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers()}freeze(){this.frozen=!0}unfreeze(){this.frozen=!1}lock(){this.locked=!0}unlock(){this.locked=!1}constructor(e){this.pendingCanvasMutations=new Map,this.rafStamps={latestId:0,invokeId:null},this.frozen=!1,this.locked=!1,this.processMutation=(e,t)=>{!(this.rafStamps.invokeId&&this.rafStamps.latestId!==this.rafStamps.invokeId)&&this.rafStamps.invokeId||(this.rafStamps.invokeId=this.rafStamps.latestId),this.pendingCanvasMutations.has(e)||this.pendingCanvasMutations.set(e,[]),this.pendingCanvasMutations.get(e).push(t)};const{sampling:t="all",win:n,blockClass:r,blockSelector:i,unblockSelector:o,maxCanvasSize:s,recordCanvas:a,dataURLOptions:c,errorHandler:u}=e;this.mutationCb=e.mutationCb,this.mirror=e.mirror,this.options=e,u&&(sM=u),e.enableManualSnapshot||aM((()=>{a&&"all"===t&&this.initCanvasMutationObserver(n,r,i,o),a&&"number"==typeof t&&this.initCanvasFPSObserver(t,n,r,i,o,s,{dataURLOptions:c})}))()}initCanvasFPSObserver(e,t,n,r,i,o,s){const a=gM(t,n,r,i,!0),c=this.takeSnapshot(!1,e,t,n,r,i,o,s.dataURLOptions);this.resetObservers=()=>{a(),cancelAnimationFrame(c)}}initCanvasMutationObserver(e,t,n,r){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();const i=gM(e,t,n,r,!1),o=function(e,t,n,r,i){const o=[],s=Object.getOwnPropertyNames(t.CanvasRenderingContext2D.prototype);for(const a of s)try{if("function"!=typeof t.CanvasRenderingContext2D.prototype[a])continue;const s=ZD(t.CanvasRenderingContext2D.prototype,a,(function(o){return function(...s){return eM(this.canvas,n,r,i,!0)||iM((()=>{const n=pM(s,t,this);e(this.canvas,{type:oM["2D"],property:a,args:n})}),0),o.apply(this,s)}}));o.push(s)}catch(JZ){const r=XD(t.CanvasRenderingContext2D.prototype,a,{set(t){e(this.canvas,{type:oM["2D"],property:a,args:[t],setter:!0})}});o.push(r)}return()=>{o.forEach((e=>e()))}}(this.processMutation.bind(this),e,t,n,r),s=function(e,t,n,r,i,o){const s=[];return s.push(...yM(t.WebGLRenderingContext.prototype,oM.WebGL,e,n,r,i,0,t)),void 0!==t.WebGL2RenderingContext&&s.push(...yM(t.WebGL2RenderingContext.prototype,oM.WebGL2,e,n,r,i,0,t)),()=>{s.forEach((e=>e()))}}(this.processMutation.bind(this),e,t,n,r,this.mirror);this.resetObservers=()=>{i(),o(),s()}}snapshot(e){const{options:t}=this,n=this.takeSnapshot(!0,"all"===t.sampling?2:t.sampling||2,t.win,t.blockClass,t.blockSelector,t.unblockSelector,t.maxCanvasSize,t.dataURLOptions,e);this.resetObservers=()=>{cancelAnimationFrame(n)}}takeSnapshot(e,t,n,r,i,o,s,a,c){const u=new Map,l=new Worker(function(){const e=new Blob(['for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t="undefined"==typeof Uint8Array?[]:new Uint8Array(256),a=0;a<64;a++)t[e.charCodeAt(a)]=a;var n=function(t){var a,n=new Uint8Array(t),r=n.length,s="";for(a=0;a>2],s+=e[(3&n[a])<<4|n[a+1]>>4],s+=e[(15&n[a+1])<<2|n[a+2]>>6],s+=e[63&n[a+2]];return r%3==2?s=s.substring(0,s.length-1)+"=":r%3==1&&(s=s.substring(0,s.length-2)+"=="),s};const r=new Map,s=new Map;const i=self;i.onmessage=async function(e){if(!("OffscreenCanvas"in globalThis))return i.postMessage({id:e.data.id});{const{id:t,bitmap:a,width:o,height:f,maxCanvasSize:c,dataURLOptions:g}=e.data,u=async function(e,t,a){const r=e+"-"+t;if("OffscreenCanvas"in globalThis){if(s.has(r))return s.get(r);const i=new OffscreenCanvas(e,t);i.getContext("2d");const o=await i.convertToBlob(a),f=await o.arrayBuffer(),c=n(f);return s.set(r,c),c}return""}(o,f,g),[h,d]=function(e,t,a){if(!a)return[e,t];const[n,r]=a;if(e<=n&&t<=r)return[e,t];let s=e,i=t;return s>n&&(i=Math.floor(n*t/e),s=n),i>r&&(s=Math.floor(r*e/t),i=r),[s,i]}(o,f,c),l=new OffscreenCanvas(h,d),w=l.getContext("bitmaprenderer"),p=h===o&&d===f?a:await createImageBitmap(a,{resizeWidth:h,resizeHeight:d,resizeQuality:"low"});w.transferFromImageBitmap(p),a.close();const y=await l.convertToBlob(g),v=y.type,b=await y.arrayBuffer(),m=n(b);if(p.close(),!r.has(t)&&await u===m)return r.set(t,m),i.postMessage({id:t});if(r.get(t)===m)return i.postMessage({id:t});i.postMessage({id:t,type:v,base64:m,width:o,height:f}),r.set(t,m)}};']);return URL.createObjectURL(e)}());l.onmessage=e=>{const t=e.data,{id:n}=t;if(u.set(n,!1),!("base64"in t))return;const{base64:r,type:i,width:o,height:s}=t;this.mutationCb({id:n,type:oM["2D"],commands:[{property:"clearRect",args:[0,0,o,s]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:r}],type:i}]},0,0,o,s]}]})};const d=1e3/t;let f,h=0;const p=t=>{h&&t-h{if(e)return[e];const t=[];return n.document.querySelectorAll("canvas").forEach((e=>{eM(e,r,i,o,!0)||t.push(e)})),t})(c).forEach((t=>{const n=this.mirror.getId(t);if(!u.get(n)&&t.width&&t.height){if(u.set(n,!0),!e&&["webgl","webgl2"].includes(t.__context)){const e=t.getContext(t.__context);!1===pk([e,"optionalAccess",e=>e.getContextAttributes,"call",e=>e(),"optionalAccess",e=>e.preserveDrawingBuffer])&&e.clear(e.COLOR_BUFFER_BIT)}createImageBitmap(t).then((e=>{l.postMessage({id:n,bitmap:e,width:t.width,height:t.height,dataURLOptions:a,maxCanvasSize:s},[e])})).catch((e=>{aM((()=>{throw e}))()}))}}))),f=rM(p)};return f=rM(p),f}startPendingCanvasMutationFlusher(){rM((()=>this.flushPendingCanvasMutations()))}startRAFTimestamping(){const e=t=>{this.rafStamps.latestId=t,rM(e)};rM(e)}flushPendingCanvasMutations(){this.pendingCanvasMutations.forEach(((e,t)=>{const n=this.mirror.getId(t);this.flushPendingCanvasMutationFor(t,n)})),rM((()=>this.flushPendingCanvasMutations()))}flushPendingCanvasMutationFor(e,t){if(this.frozen||this.locked)return;const n=this.pendingCanvasMutations.get(e);if(!n||-1===t)return;const r=n.map((e=>{const t=e,{type:n}=t;return u(t,["type"])})),{type:i}=n[0];this.mutationCb({id:t,type:i,commands:r}),this.pendingCanvasMutations.delete(e)}}const bM={low:{sampling:{canvas:1},dataURLOptions:{type:"image/webp",quality:.25}},medium:{sampling:{canvas:2},dataURLOptions:{type:"image/webp",quality:.4}},high:{sampling:{canvas:4},dataURLOptions:{type:"image/webp",quality:.5}}},_M=(e={})=>{const[t,n]=e.maxCanvasSize||[],r={quality:e.quality||"medium",enableManualSnapshot:e.enableManualSnapshot,maxCanvasSize:[t?Math.min(t,1280):1280,n?Math.min(n,1280):1280]};let i;const o=new Promise((e=>i=e));return{name:"ReplayCanvas",setupOnce(){},getOptions(){const{quality:e,enableManualSnapshot:t,maxCanvasSize:n}=r;return a({enableManualSnapshot:t,recordCanvas:!0,getCanvasManager:e=>{const r=new vM(c(a({},e),{enableManualSnapshot:t,maxCanvasSize:n,errorHandler:e=>{try{"object"==typeof e&&(e.__rrweb__=!0)}catch(t){}}}));return i(r),r}},bM[e||"medium"]||bM.medium)},async snapshot(e){(await o).snapshot(e)}}},wM=QT("ReplayCanvas",_M),SM=iS,xM={fontFamily:"system-ui, 'Helvetica Neue', Arial, sans-serif",fontSize:"14px",background:"#ffffff",backgroundHover:"#f6f6f7",foreground:"#2b2233",border:"1.5px solid rgba(41, 35, 47, 0.13)",borderRadius:"25px",boxShadow:"0px 4px 24px 0px rgba(43, 34, 51, 0.12)",success:"#268d75",error:"#df3338",submitBackground:"rgba(88, 74, 192, 1)",submitBackgroundHover:"rgba(108, 95, 199, 1)",submitBorder:"rgba(108, 95, 199, 1)",submitOutlineFocus:"#29232f",submitForeground:"#ffffff",submitForegroundHover:"#ffffff",cancelBackground:"transparent",cancelBackgroundHover:"var(--background-hover)",cancelBorder:"var(--border)",cancelOutlineFocus:"var(--input-outline-focus)",cancelForeground:"var(--foreground)",cancelForegroundHover:"var(--foreground)",inputBackground:"inherit",inputForeground:"inherit",inputBorder:"var(--border)",inputOutlineFocus:"rgba(108, 95, 199, 1)",formBorderRadius:"20px",formContentBorderRadius:"6px"},kM={light:xM,dark:c(a({},xM),{background:"#29232f",backgroundHover:"#352f3b",foreground:"#ebe6ef",border:"1.5px solid rgba(235, 230, 239, 0.15)",success:"#2da98c",error:"#f55459"})},TM="widget",EM="api";async function CM({feedback:{message:e,email:t,name:n,source:r,url:i}},{includeReplay:o=!0}={}){const s=Uk(),a=s&&s.getTransport(),c=s&&s.getDsn();if(!s||!a||!c)return;const u={contexts:{feedback:{contact_email:t,name:n,message:e,url:i,source:r}},type:"feedback"};return Fk((async e=>{e.clearBreadcrumbs(),[EM,TM].includes(String(r))&&e.setLevel("info");const t=await async function({client:e,scope:t,event:n}){const r={};e.emit&&e.emit("preprocessEvent",n,r);const i=await Ak(e.getOptions(),n,r,t,e,sT());return null===i?(e.recordDroppedEvent("event_processor","feedback",n),null):(i.platform=i.platform||"javascript",i)}({scope:e,client:s,event:u});if(!t)return;s.emit&&s.emit("beforeSendFeedback",t,{includeReplay:Boolean(o)});const n=BT(t,c,s.getOptions()._metadata,s.getOptions().tunnel);let i;try{i=await a.send(n)}catch(l){const e=new Error("Unable to send Feedback");try{e.cause=l}catch(JZ){}throw e}if(i){if("number"==typeof i.statusCode&&(i.statusCode<200||i.statusCode>=300))throw new Error("Unable to send Feedback");return i}}))}function OM({name:e,email:t,message:n,source:r=EM,url:i=lS()},o={}){if(!n)throw new Error("Unable to submit feedback with empty message");return CM({feedback:{name:e,email:t,message:n,url:i,source:r}},o)}const AM="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function IM(e,t){return c(a(a({},e),t),{themeDark:a(a({},e.themeDark),t.themeDark),themeLight:a(a({},e.themeLight),t.themeLight)})}function NM(e){return`\n --background: ${e.background};\n --background-hover: ${e.backgroundHover};\n --foreground: ${e.foreground};\n --error: ${e.error};\n --success: ${e.success};\n --border: ${e.border};\n --border-radius: ${e.borderRadius};\n --box-shadow: ${e.boxShadow};\n\n --submit-background: ${e.submitBackground};\n --submit-background-hover: ${e.submitBackgroundHover};\n --submit-border: ${e.submitBorder};\n --submit-outline-focus: ${e.submitOutlineFocus};\n --submit-foreground: ${e.submitForeground};\n --submit-foreground-hover: ${e.submitForegroundHover};\n\n --cancel-background: ${e.cancelBackground};\n --cancel-background-hover: ${e.cancelBackgroundHover};\n --cancel-border: ${e.cancelBorder};\n --cancel-outline-focus: ${e.cancelOutlineFocus};\n --cancel-foreground: ${e.cancelForeground};\n --cancel-foreground-hover: ${e.cancelForegroundHover};\n\n --input-background: ${e.inputBackground};\n --input-foreground: ${e.inputForeground};\n --input-border: ${e.inputBorder};\n --input-outline-focus: ${e.inputOutlineFocus};\n\n --form-border-radius: ${e.formBorderRadius};\n --form-content-border-radius: ${e.formContentBorderRadius};\n `}function DM({id:e,colorScheme:t,themeDark:n,themeLight:r}){try{const i=SM.document,o=i.createElement("div");o.id=e;const s=o.attachShadow({mode:"open"});return s.appendChild(function(e,t,n){const r=e.createElement("style");return r.textContent=`\n:host {\n --bottom: 1rem;\n --right: 1rem;\n --top: auto;\n --left: auto;\n --z-index: 100000;\n --font-family: ${n.light.fontFamily};\n --font-size: ${n.light.fontSize};\n\n position: fixed;\n left: var(--left);\n right: var(--right);\n bottom: var(--bottom);\n top: var(--top);\n z-index: var(--z-index);\n\n font-family: var(--font-family);\n font-size: var(--font-size);\n\n ${NM("dark"===t?n.dark:n.light)}\n}\n\n${"system"===t?`\n@media (prefers-color-scheme: dark) {\n :host {\n ${NM(n.dark)}\n }\n}`:""}\n}`,r}(i,t,{dark:n,light:r})),s.appendChild(function(e){const t=e.createElement("style");return t.textContent="\n.dialog {\n line-height: 25px;\n background-color: rgba(0, 0, 0, 0.05);\n border: none;\n position: fixed;\n inset: 0;\n z-index: 10000;\n width: 100vw;\n height: 100vh;\n display: flex;\n align-items: center;\n justify-content: center;\n opacity: 1;\n transition: opacity 0.2s ease-in-out;\n}\n\n.dialog:not([open]) {\n opacity: 0;\n pointer-events: none;\n visibility: hidden;\n}\n.dialog:not([open]) .dialog__content {\n transform: translate(0, -16px) scale(0.98);\n}\n\n.dialog__content {\n position: fixed;\n left: var(--left);\n right: var(--right);\n bottom: var(--bottom);\n top: var(--top);\n\n border: var(--border);\n border-radius: var(--form-border-radius);\n background-color: var(--background);\n color: var(--foreground);\n\n width: 320px;\n max-width: 100%;\n max-height: calc(100% - 2rem);\n display: flex;\n flex-direction: column;\n box-shadow: var(--box-shadow);\n transition: transform 0.2s ease-in-out;\n transform: translate(0, 0) scale(1);\n}\n\n.dialog__header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n font-size: 20px;\n font-weight: 600;\n padding: 24px 24px 0 24px;\n margin: 0;\n margin-bottom: 16px;\n}\n\n.brand-link {\n display: inline-flex;\n}\n\n.error {\n color: var(--error);\n margin-bottom: 16px;\n}\n\n.form {\n display: grid;\n overflow: auto;\n flex-direction: column;\n gap: 16px;\n padding: 0 24px 24px;\n}\n\n.form__error-container {\n color: var(--error);\n}\n\n.form__error-container--hidden {\n display: none;\n}\n\n.form__label {\n display: flex;\n flex-direction: column;\n gap: 4px;\n margin: 0px;\n}\n\n.form__label__text {\n display: grid;\n gap: 4px;\n align-items: center;\n grid-auto-flow: column;\n grid-auto-columns: max-content;\n}\n\n.form__label__text--required {\n font-size: 0.85em;\n}\n\n.form__input {\n line-height: inherit;\n background-color: var(--input-background);\n box-sizing: border-box;\n border: var(--input-border);\n border-radius: var(--form-content-border-radius);\n color: var(--input-foreground);\n font-family: inherit;\n font-size: var(--font-size);\n font-weight: 500;\n padding: 6px 12px;\n}\n\n.form__input::placeholder {\n color: var(--input-foreground);\n opacity: 0.65;\n}\n\n.form__input:focus-visible {\n outline: 1px auto var(--input-outline-focus);\n}\n\n.form__input--textarea {\n font-family: inherit;\n resize: vertical;\n}\n\n.btn-group {\n display: grid;\n gap: 8px;\n margin-top: 8px;\n}\n\n.btn {\n line-height: inherit;\n border: var(--cancel-border);\n border-radius: var(--form-content-border-radius);\n cursor: pointer;\n font-family: inherit;\n font-size: var(--font-size);\n font-weight: 600;\n padding: 6px 16px;\n}\n.btn[disabled] {\n opacity: 0.6;\n pointer-events: none;\n}\n\n.btn--primary {\n background-color: var(--submit-background);\n border-color: var(--submit-border);\n color: var(--submit-foreground);\n}\n.btn--primary:hover {\n background-color: var(--submit-background-hover);\n color: var(--submit-foreground-hover);\n}\n.btn--primary:focus-visible {\n outline: 1px auto var(--submit-outline-focus);\n}\n\n.btn--default {\n background-color: var(--cancel-background);\n color: var(--cancel-foreground);\n font-weight: 500;\n}\n.btn--default:hover {\n background-color: var(--cancel-background-hover);\n color: var(--cancel-foreground-hover);\n}\n.btn--default:focus-visible {\n outline: 1px auto var(--cancel-outline-focus);\n}\n\n.success-message {\n background-color: var(--background);\n border: var(--border);\n border-radius: var(--border-radius);\n box-shadow: var(--box-shadow);\n font-weight: 600;\n color: var(--success);\n padding: 12px 24px;\n line-height: 25px;\n display: grid;\n align-items: center;\n grid-auto-flow: column;\n gap: 6px;\n cursor: default;\n}\n\n.success-icon path {\n fill: var(--success);\n}\n",t}(i)),{shadow:s,host:o}}catch(JZ){throw yS.warn("[Feedback] Browser does not support shadow DOM API"),new Error("Browser does not support shadow DOM API.")}}async function MM(e,t,n){if(!e)return;e.hideError();try{return await OM(c(a({},t),{source:TM}),n)}catch(r){AM&&yS.error(r),e&&e.showError("There was a problem submitting feedback, please wait and try again.")}}function RM(e,t){return Object.entries(t).forEach((([t,n])=>{e.setAttributeNS(null,t,n)})),e}function LM(e,t,...n){const r=SM.document.createElement(e);t&&Object.entries(t).forEach((([e,t])=>{"className"===e&&"string"==typeof t?r.setAttribute("class",t):"boolean"==typeof t&&t?r.setAttribute(e,""):"string"==typeof t?r.setAttribute(e,t):e.startsWith("on")&&"function"==typeof t&&r.addEventListener(e.substring(2).toLowerCase(),t)}));for(const i of n)PM(r,i);return r}function PM(e,t){const n=SM.document;if(null!=t)if(Array.isArray(t))for(const r of t)PM(e,r);else!1===t||("string"==typeof t?e.appendChild(n.createTextNode(t)):t instanceof Node?e.appendChild(t):e.appendChild(n.createTextNode(String(t))))}function jM({buttonLabel:e,onClick:t}){const n=LM("button",{type:"button",className:"widget__actor","aria-label":e,"aria-hidden":"false"},function(){const e=e=>SM.document.createElementNS("http://www.w3.org/2000/svg",e),t=RM(e("svg"),{class:"feedback-icon",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"}),n=RM(e("g"),{clipPath:"url(#clip0_57_80)"}),r=RM(e("path"),{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.6622 15H12.3997C12.2129 14.9959 12.031 14.9396 11.8747 14.8375L8.04965 12.2H7.49956V19.1C7.4875 19.3348 7.3888 19.5568 7.22256 19.723C7.05632 19.8892 6.83435 19.9879 6.59956 20H2.04956C1.80193 19.9968 1.56535 19.8969 1.39023 19.7218C1.21511 19.5467 1.1153 19.3101 1.11206 19.0625V12.2H0.949652C0.824431 12.2017 0.700142 12.1783 0.584123 12.1311C0.468104 12.084 0.362708 12.014 0.274155 11.9255C0.185602 11.8369 0.115689 11.7315 0.0685419 11.6155C0.0213952 11.4995 -0.00202913 11.3752 -0.00034808 11.25V3.75C-0.00900498 3.62067 0.0092504 3.49095 0.0532651 3.36904C0.0972798 3.24712 0.166097 3.13566 0.255372 3.04168C0.344646 2.94771 0.452437 2.87327 0.571937 2.82307C0.691437 2.77286 0.82005 2.74798 0.949652 2.75H8.04965L11.8747 0.1625C12.031 0.0603649 12.2129 0.00407221 12.3997 0H15.6622C15.9098 0.00323746 16.1464 0.103049 16.3215 0.278167C16.4966 0.453286 16.5964 0.689866 16.5997 0.9375V3.25269C17.3969 3.42959 18.1345 3.83026 18.7211 4.41679C19.5322 5.22788 19.9878 6.32796 19.9878 7.47502C19.9878 8.62209 19.5322 9.72217 18.7211 10.5333C18.1345 11.1198 17.3969 11.5205 16.5997 11.6974V14.0125C16.6047 14.1393 16.5842 14.2659 16.5395 14.3847C16.4948 14.5035 16.4268 14.6121 16.3394 14.7042C16.252 14.7962 16.147 14.8698 16.0307 14.9206C15.9144 14.9714 15.7891 14.9984 15.6622 15ZM1.89695 10.325H1.88715V4.625H8.33715C8.52423 4.62301 8.70666 4.56654 8.86215 4.4625L12.6872 1.875H14.7247V13.125H12.6872L8.86215 10.4875C8.70666 10.3835 8.52423 10.327 8.33715 10.325H2.20217C2.15205 10.3167 2.10102 10.3125 2.04956 10.3125C1.9981 10.3125 1.94708 10.3167 1.89695 10.325ZM2.98706 12.2V18.1625H5.66206V12.2H2.98706ZM16.5997 9.93612V5.01393C16.6536 5.02355 16.7072 5.03495 16.7605 5.04814C17.1202 5.13709 17.4556 5.30487 17.7425 5.53934C18.0293 5.77381 18.2605 6.06912 18.4192 6.40389C18.578 6.73866 18.6603 7.10452 18.6603 7.47502C18.6603 7.84552 18.578 8.21139 18.4192 8.54616C18.2605 8.88093 18.0293 9.17624 17.7425 9.41071C17.4556 9.64518 17.1202 9.81296 16.7605 9.90191C16.7072 9.91509 16.6536 9.9265 16.5997 9.93612Z"});t.appendChild(n).appendChild(r);const i=e("defs"),o=RM(e("clipPath"),{id:"clip0_57_80"}),s=RM(e("rect"),{width:"20",height:"20",fill:"white"});return o.appendChild(s),i.appendChild(o),t.appendChild(i).appendChild(o).appendChild(s),{get el(){return t}}}().el,e?LM("span",{className:"widget__actor__text"},e):null);return n.addEventListener("click",(function(e){t&&t(e)})),{get el(){return n},show:()=>{n.classList.remove("widget__actor--hidden"),n.setAttribute("aria-hidden","false")},hide:()=>{n.classList.add("widget__actor--hidden"),n.setAttribute("aria-hidden","true")}}}function FM(e,t){const n=e.get(t);return"string"==typeof n?n.trim():""}function UM({nameLabel:e,namePlaceholder:t,emailLabel:n,emailPlaceholder:r,messageLabel:i,messagePlaceholder:o,isRequiredLabel:s,cancelButtonLabel:a,submitButtonLabel:c,showName:u,showEmail:l,isNameRequired:d,isEmailRequired:f,defaultName:h,defaultEmail:p,onCancel:m,onSubmit:g}){const{el:y}=function({label:e}){return{el:LM("button",{type:"submit",className:"btn btn--primary","aria-label":e},e)}}({label:c});const v=LM("div",{className:"form__error-container form__error-container--hidden","aria-hidden":"true"});const b=LM("input",{id:"name",type:u?"text":"hidden","aria-hidden":u?"false":"true",name:"name",required:d,className:"form__input",placeholder:t,value:h}),_=LM("input",{id:"email",type:l?"text":"hidden","aria-hidden":l?"false":"true",name:"email",required:f,className:"form__input",placeholder:r,value:p}),w=LM("textarea",{id:"message",autoFocus:"true",rows:"5",name:"message",required:!0,className:"form__input form__input--textarea",placeholder:o}),S=LM("button",{type:"button",className:"btn btn--default","aria-label":a,onClick:e=>{m&&m(e)}},a),x=LM("form",{className:"form",onSubmit:function(e){if(e.preventDefault(),e.target instanceof HTMLFormElement)try{if(g){const t=new FormData(e.target),n={name:FM(t,"name"),email:FM(t,"email"),message:FM(t,"message")};g(n)}}catch(t){}}},[v,u&&LM("label",{htmlFor:"name",className:"form__label"},[LM("span",{className:"form__label__text"},e,d&&LM("span",{className:"form__label__text--required"},` ${s}`)),b]),!u&&b,l&&LM("label",{htmlFor:"email",className:"form__label"},[LM("span",{className:"form__label__text"},n,f&&LM("span",{className:"form__label__text--required"},` ${s}`)),_]),!l&&_,LM("label",{htmlFor:"message",className:"form__label"},[LM("span",{className:"form__label__text"},i,LM("span",{className:"form__label__text--required"},` ${s}`)),w]),LM("div",{className:"btn-group"},[y,S])]);return{get el(){return x},showError:function(e){v.textContent=e,v.classList.remove("form__error-container--hidden"),v.setAttribute("aria-hidden","false")},hideError:function(){v.textContent="",v.classList.add("form__error-container--hidden"),v.setAttribute("aria-hidden","true")}}}function qM(e){var t=e,{formTitle:n,showBranding:r,showName:i,showEmail:o,isNameRequired:s,isEmailRequired:c,colorScheme:l,defaultName:d,defaultEmail:f,onClosed:h,onCancel:p,onSubmit:m}=t,g=u(t,["formTitle","showBranding","showName","showEmail","isNameRequired","isEmailRequired","colorScheme","defaultName","defaultEmail","onClosed","onCancel","onSubmit"]);let y=null;function v(){y&&(y.open=!1)}const{el:b,showError:_,hideError:w}=UM(a({showEmail:o,showName:i,isEmailRequired:c,isNameRequired:s,defaultName:d,defaultEmail:f,onSubmit:m,onCancel:p},g));return y=LM("dialog",{className:"dialog",open:!0,onClick:function(){v(),h&&h()}},LM("div",{className:"dialog__content",onClick:e=>{e.stopPropagation()}},LM("h2",{className:"dialog__header"},n,r&&LM("a",{className:"brand-link",target:"_blank",href:"https://sentry.io/welcome/",title:"Powered by Sentry",rel:"noopener noreferrer"},function({colorScheme:e}){const t=e=>SM.document.createElementNS("http://www.w3.org/2000/svg",e),n=RM(t("svg"),{class:"sentry-logo",width:"32",height:"30",viewBox:"0 0 72 66",fill:"none"}),r=RM(t("path"),{transform:"translate(11, 11)",d:"M29,2.26a4.67,4.67,0,0,0-8,0L14.42,13.53A32.21,32.21,0,0,1,32.17,40.19H27.55A27.68,27.68,0,0,0,12.09,17.47L6,28a15.92,15.92,0,0,1,9.23,12.17H4.62A.76.76,0,0,1,4,39.06l2.94-5a10.74,10.74,0,0,0-3.36-1.9l-2.91,5a4.54,4.54,0,0,0,1.69,6.24A4.66,4.66,0,0,0,4.62,44H19.15a19.4,19.4,0,0,0-8-17.31l2.31-4A23.87,23.87,0,0,1,23.76,44H36.07a35.88,35.88,0,0,0-16.41-31.8l4.67-8a.77.77,0,0,1,1.05-.27c.53.29,20.29,34.77,20.66,35.17a.76.76,0,0,1-.68,1.13H40.6q.09,1.91,0,3.81h4.78A4.59,4.59,0,0,0,50,39.43a4.49,4.49,0,0,0-.62-2.28Z"});n.append(r);const i=t("defs"),o=t("style");return o.textContent=`\n path {\n fill: ${"dark"===e?"#fff":"#362d59"};\n }`,"system"===e&&(o.textContent+="\n @media (prefers-color-scheme: dark) {\n path: {\n fill: '#fff';\n }\n }\n "),i.append(o),n.append(i),{get el(){return n}}}({colorScheme:l}).el)),b)),{get el(){return y},showError:_,hideError:w,open:function(){y&&(y.open=!0)},close:v,checkIsOpen:function(){return y&&!0===y.open||!1}}}function BM({message:e,onRemove:t}){function n(){r&&(r.remove(),t&&t())}const r=LM("div",{className:"success-message",onClick:n},function(){const e=e=>SM.document.createElementNS("http://www.w3.org/2000/svg",e),t=RM(e("svg"),{class:"success-icon",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"}),n=RM(e("g"),{clipPath:"url(#clip0_57_156)"}),r=RM(e("path"),{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.55544 15.1518C4.87103 16.0308 6.41775 16.5 8 16.5C10.1217 16.5 12.1566 15.6571 13.6569 14.1569C15.1571 12.6566 16 10.6217 16 8.5C16 6.91775 15.5308 5.37103 14.6518 4.05544C13.7727 2.73985 12.5233 1.71447 11.0615 1.10897C9.59966 0.503466 7.99113 0.34504 6.43928 0.653721C4.88743 0.962403 3.46197 1.72433 2.34315 2.84315C1.22433 3.96197 0.462403 5.38743 0.153721 6.93928C-0.15496 8.49113 0.00346625 10.0997 0.608967 11.5615C1.21447 13.0233 2.23985 14.2727 3.55544 15.1518ZM4.40546 3.1204C5.46945 2.40946 6.72036 2.03 8 2.03C9.71595 2.03 11.3616 2.71166 12.575 3.92502C13.7883 5.13838 14.47 6.78405 14.47 8.5C14.47 9.77965 14.0905 11.0306 13.3796 12.0945C12.6687 13.1585 11.6582 13.9878 10.476 14.4775C9.29373 14.9672 7.99283 15.0953 6.73777 14.8457C5.48271 14.596 4.32987 13.9798 3.42502 13.075C2.52018 12.1701 1.90397 11.0173 1.65432 9.76224C1.40468 8.50718 1.5328 7.20628 2.0225 6.02404C2.5122 4.8418 3.34148 3.83133 4.40546 3.1204Z"}),i=RM(e("path"),{d:"M6.68775 12.4297C6.78586 12.4745 6.89218 12.4984 7 12.5C7.11275 12.4955 7.22315 12.4664 7.32337 12.4145C7.4236 12.3627 7.51121 12.2894 7.58 12.2L12 5.63999C12.0848 5.47724 12.1071 5.28902 12.0625 5.11098C12.0178 4.93294 11.9095 4.77744 11.7579 4.67392C11.6064 4.57041 11.4221 4.52608 11.24 4.54931C11.0579 4.57254 10.8907 4.66173 10.77 4.79999L6.88 10.57L5.13 8.56999C5.06508 8.49566 4.98613 8.43488 4.89768 8.39111C4.80922 8.34735 4.713 8.32148 4.61453 8.31498C4.51605 8.30847 4.41727 8.32147 4.32382 8.35322C4.23038 8.38497 4.14413 8.43484 4.07 8.49999C3.92511 8.63217 3.83692 8.81523 3.82387 9.01092C3.81083 9.2066 3.87393 9.39976 4 9.54999L6.43 12.24C6.50187 12.3204 6.58964 12.385 6.68775 12.4297Z"});t.appendChild(n).append(i,r);const o=e("defs"),s=RM(e("clipPath"),{id:"clip0_57_156"}),a=RM(e("rect"),{width:"16",height:"16",fill:"white",transform:"translate(0 0.5)"});return s.appendChild(a),o.appendChild(s),t.appendChild(o).appendChild(s).appendChild(a),{get el(){return t}}}().el,e);return{el:r,remove:n}}function VM(e){var t=e,{shadow:n,options:r}=t,i=r,{shouldCreateActor:o=!0}=i,s=u(i,["shouldCreateActor"]),{attachTo:a}=t;let c,l,d=!1;async function f(e){if(!l)return;const t=[];if(s.isNameRequired&&!e.name&&t.push(s.nameLabel),s.isEmailRequired&&!e.email&&t.push(s.emailLabel),e.message||t.push(s.messageLabel),t.length>0)return void l.showError(`Please enter in the following required fields: ${t.join(", ")}`);await MM(l,e)?(v(),function(){if(n)try{const e=BM({message:s.successMessageText,onRemove:()=>{t&&clearTimeout(t),p()}});if(!e.el)throw new Error("Unable to show success message");n.appendChild(e.el);const t=setTimeout((()=>{e&&e.remove()}),5e3)}catch(e){yS.error(e)}}(),s.onSubmitSuccess&&s.onSubmitSuccess()):s.onSubmitError&&s.onSubmitError()}function h(){const e=Uk(),t=e&&e.getIntegrationByName&&e.getIntegrationByName("Replay");t&&t.flush().catch((e=>{AM&&yS.error(e)}))}function p(){c&&c.show()}function m(){c&&c.hide()}function g(){try{if(l)return l.open(),d=!0,s.onFormOpen&&s.onFormOpen(),void h();const e=s.useSentryUser,t=qk(),r=t&&t.getUser();if(l=qM({colorScheme:s.colorScheme,showBranding:s.showBranding,showName:s.showName||s.isNameRequired,showEmail:s.showEmail||s.isEmailRequired,isNameRequired:s.isNameRequired,isEmailRequired:s.isEmailRequired,formTitle:s.formTitle,cancelButtonLabel:s.cancelButtonLabel,submitButtonLabel:s.submitButtonLabel,emailLabel:s.emailLabel,emailPlaceholder:s.emailPlaceholder,messageLabel:s.messageLabel,messagePlaceholder:s.messagePlaceholder,nameLabel:s.nameLabel,namePlaceholder:s.namePlaceholder,isRequiredLabel:s.isRequiredLabel,defaultName:e&&r&&r[e.name]||"",defaultEmail:e&&r&&r[e.email]||"",onClosed:()=>{p(),d=!1,s.onFormClose&&s.onFormClose()},onCancel:()=>{y(),p()},onSubmit:f}),!l.el)throw new Error("Unable to open Feedback dialog");n.appendChild(l.el),m(),s.onFormOpen&&s.onFormOpen(),h()}catch(e){yS.error(e)}}function y(){l&&(l.close(),d=!1,s.onFormClose&&s.onFormClose())}function v(){if(l){y();const e=l.el;e&&e.remove(),l=void 0}}function b(){d||g(),m()}return a?a.addEventListener("click",b):o&&(c=jM({buttonLabel:s.buttonLabel,onClick:b}),c.el&&n.appendChild(c.el)),{get actor(){return c},get dialog(){return l},showActor:p,hideActor:m,removeActor:function(){c&&c.el&&c.el.remove()},openDialog:g,closeDialog:y,removeDialog:v}}const HM=SM.document;class zM{static __initStatic(){this.id="Feedback"}constructor({autoInject:e=!0,id:t="sentry-feedback",isEmailRequired:n=!1,isNameRequired:r=!1,showBranding:i=!0,showEmail:o=!0,showName:s=!0,useSentryUser:c={email:"email",name:"username"},themeDark:u,themeLight:l,colorScheme:d="system",buttonLabel:f="Report a Bug",cancelButtonLabel:h="Cancel",submitButtonLabel:p="Send Bug Report",formTitle:m="Report a Bug",emailPlaceholder:g="your.email@example.org",emailLabel:y="Email",messagePlaceholder:v="What's the bug? What did you expect?",messageLabel:b="Description",namePlaceholder:_="Your Name",nameLabel:w="Name",isRequiredLabel:S="(required)",successMessageText:x="Thank you for your report!",onFormClose:k,onFormOpen:T,onSubmitError:E,onSubmitSuccess:C}={}){this.name=zM.id,this._host=null,this._shadow=null,this._widget=null,this._widgets=new Set,this._hasInsertedActorStyles=!1,this.options={autoInject:e,showBranding:i,id:t,isEmailRequired:n,isNameRequired:r,showEmail:o,showName:s,useSentryUser:c,colorScheme:d,themeDark:a(a({},kM.dark),u),themeLight:a(a({},kM.light),l),buttonLabel:f,cancelButtonLabel:h,submitButtonLabel:p,formTitle:m,emailLabel:y,emailPlaceholder:g,messageLabel:b,messagePlaceholder:v,nameLabel:w,namePlaceholder:_,isRequiredLabel:S,successMessageText:x,onFormClose:k,onFormOpen:T,onSubmitError:E,onSubmitSuccess:C}}setupOnce(){if(Cx())try{this._cleanupWidgetIfExists();const{autoInject:e}=this.options;if(!e)return;this._createWidget(this.options)}catch(e){AM&&yS.error(e)}}openDialog(){this._widget||this._createWidget(c(a({},this.options),{shouldCreateActor:!1})),this._widget&&this._widget.openDialog()}closeDialog(){this._widget&&this._widget.closeDialog()}attachTo(e,t){try{const n=IM(this.options,t||{});return this._ensureShadowHost(n,(({shadow:t})=>{const r="string"==typeof e?HM.querySelector(e):"function"==typeof e.addEventListener?e:null;if(!r)return AM&&yS.error("[Feedback] Unable to attach to target element"),null;const i=VM({shadow:t,options:n,attachTo:r});return this._widgets.add(i),this._widget||(this._widget=i),i}))}catch(n){return AM&&yS.error(n),null}}createWidget(e){try{return this._createWidget(IM(this.options,e||{}))}catch(t){return AM&&yS.error(t),null}}removeWidget(e){if(!e)return!1;try{if(this._widgets.has(e))return e.removeActor(),e.removeDialog(),this._widgets.delete(e),this._widget===e&&(this._widget=null),!0}catch(t){AM&&yS.error(t)}return!1}getWidget(){return this._widget}remove(){this._host&&this._host.remove(),this._initialize()}_initialize(){this._host=null,this._shadow=null,this._widget=null,this._widgets=new Set,this._hasInsertedActorStyles=!1}_cleanupWidgetIfExists(){this._host&&this.remove();const e=HM.querySelector(`#${this.options.id}`);e&&e.remove()}_createWidget(e){return this._ensureShadowHost(e,(({shadow:t})=>{const n=VM({shadow:t,options:e});return!this._hasInsertedActorStyles&&n.actor&&(t.appendChild(function(e){const t=e.createElement("style");return t.textContent="\n.widget__actor {\n position: fixed;\n left: var(--left);\n right: var(--right);\n bottom: var(--bottom);\n top: var(--top);\n z-index: var(--z-index);\n\n line-height: 16px;\n\n display: flex;\n align-items: center;\n gap: 8px;\n\n border-radius: var(--border-radius);\n cursor: pointer;\n font-family: inherit;\n font-size: var(--font-size);\n font-weight: 600;\n padding: 16px;\n text-decoration: none;\n z-index: 9000;\n\n color: var(--foreground);\n background-color: var(--background);\n border: var(--border);\n box-shadow: var(--box-shadow);\n opacity: 1;\n transition: opacity 0.1s ease-in-out;\n}\n\n.widget__actor:hover {\n background-color: var(--background-hover);\n}\n\n.widget__actor svg {\n width: 16px;\n height: 16px;\n}\n\n.widget__actor--hidden {\n opacity: 0;\n pointer-events: none;\n visibility: hidden;\n}\n\n.widget__actor__text {\n}\n\n@media (max-width: 600px) {\n .widget__actor__text {\n display: none;\n }\n}\n\n.feedback-icon path {\n fill: var(--foreground);\n}\n",t}(HM)),this._hasInsertedActorStyles=!0),this._widgets.add(n),this._widget||(this._widget=n),n}))}_ensureShadowHost(e,t){let n=!1;if(!this._shadow||!this._host){const{id:t,colorScheme:r,themeLight:i,themeDark:o}=e,{shadow:s,host:a}=DM({id:t,colorScheme:r,themeLight:i,themeDark:o});this._shadow=s,this._host=a,n=!0}this._host.dataset.sentryFeedbackColorscheme=e.colorScheme;const r=t({shadow:this._shadow,host:this._host});return n&&HM.body.appendChild(this._host),r}}zM.__initStatic();const $M=(e={})=>{const t=e.levels||pS;return{name:"CaptureConsole",setupOnce(){},setup(e){"console"in iS&&VS((({args:n,level:r})=>{Uk()===e&&t.includes(r)&&function(e,t){const n={level:Vx(t),extra:{arguments:e}};Fk((r=>{if(r.addEventProcessor((e=>(e.logger="console",YS(e,{handled:!1,type:"console"}),e))),"assert"===t&&!1===e[0]){const t=`Assertion failed: ${Kw(e.slice(1)," ")||"console.assert"}`;return r.setExtra("arguments",e.slice(1)),void Rk(t,n)}const i=e.find((e=>e instanceof Error));if("error"===t&&i)return void Mk(i,n);Rk(Kw(e," "),n)}))}(n,r)}))}}};QT("CaptureConsole",$M);const WM=(e={})=>{const t=a({debugger:!1,stringify:!1},e);return{name:"Debug",setupOnce(){},setup(e){e.on&&e.on("beforeSendEvent",((e,n)=>{t.debugger,gS((()=>{t.stringify?(console.log(JSON.stringify(e,null,2)),n&&Object.keys(n).length&&console.log(JSON.stringify(n,null,2))):(console.log(e),n&&Object.keys(n).length&&console.log(n))}))}))}}};QT("Debug",WM);const GM="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,YM=()=>{let e;return{name:"Dedupe",setupOnce(){},processEvent(t){if(t.type)return t;try{if(function(e,t){if(!t)return!1;if(function(e,t){const n=e.message,r=t.message;if(!n&&!r)return!1;if(n&&!r||!n&&r)return!1;if(n!==r)return!1;if(!KM(e,t))return!1;if(!QM(e,t))return!1;return!0}(e,t))return!0;if(function(e,t){const n=JM(t),r=JM(e);if(!n||!r)return!1;if(n.type!==r.type||n.value!==r.value)return!1;if(!KM(e,t))return!1;if(!QM(e,t))return!1;return!0}(e,t))return!0;return!1}(t,e))return GM&&yS.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(n){}return e=t}}};function QM(e,t){let n=XM(e),r=XM(t);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(n=n,r=r,r.length!==n.length)return!1;for(let i=0;i{const t=e.depth||3,n=e.captureErrorCause||!1;return{name:"ExtraErrorData",setupOnce(){},processEvent:(e,r)=>function(e,t={},n,r){if(!t.originalException||!Lw(t.originalException))return e;const i=t.originalException.name||t.originalException.constructor.name,o=function(e,t){try{const n=["name","message","stack","line","column","fileName","lineNumber","columnNumber","toJSON"],r={};for(const t of Object.keys(e)){if(-1!==n.indexOf(t))continue;const i=e[t];r[t]=Lw(i)?i.toString():i}if(t&&void 0!==e.cause&&(r.cause=Lw(e.cause)?e.cause.toString():e.cause),"function"==typeof e.toJSON){const t=e.toJSON();for(const e of Object.keys(t)){const n=t[e];r[e]=Lw(n)?n.toString():n}}return r}catch(n){GM&&yS.error("Unable to extract extra data from the Error object:",n)}return null}(t.originalException,r);if(o){const t=a({},e.contexts),r=Ox(o,n);return Vw(r)&&(TS(r,"__sentry_skip_normalization__",!0),t[i]=r),c(a({},e),{contexts:t})}return e}(e,r,t,n)}};QT("ExtraErrorData",ZM);const eR=iS,tR=new WeakMap,nR=(e={})=>{const t=e.types||["crash","deprecation","intervention"];function n(e){if(tR.has(Uk()))for(const t of e)Fk((e=>{e.setExtra("url",t.url);const n=`ReportingObserver [${t.type}]`;let r="No details available";if(t.body){const n={};for(const e in t.body)n[e]=t.body[e];if(e.setExtra("body",n),"crash"===t.type){const e=t.body;r=[e.crashId||"",e.reason||""].join(" ").trim()||r}else{r=t.body.message||r}}Rk(`${n}: ${r}`)}))}return{name:"ReportingObserver",setupOnce(){if(!("ReportingObserver"in ix))return;new eR.ReportingObserver(n,{buffered:!0,types:t}).observe()},setup(e){tR.set(e,!0)}}};QT("ReportingObserver",nR);const rR=(e={})=>{const t=e.root,n=e.prefix||"app:///",r=e.iteratee||(e=>{if(!e.filename)return e;const r=/^[a-zA-Z]:\\/.test(e.filename)||e.filename.includes("\\")&&!e.filename.includes("/"),i=/^\//.test(e.filename);if(r||i){const i=r?e.filename.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"):e.filename,o=t?function(e,t){e=Dx(e).slice(1),t=Dx(t).slice(1);const n=Mx(e.split("/")),r=Mx(t.split("/")),i=Math.min(n.length,r.length);let o=i;for(let a=0;a{return a(a({},e),e.stacktrace&&{stacktrace:(t=e.stacktrace,c(a({},t),{frames:t&&t.frames&&t.frames.map((e=>r(e)))}))});var t}))})})}catch(t){return e}}(t)),t}}};QT("RewriteFrames",rR);const iR=()=>{const e=Date.now();return{name:"SessionTiming",setupOnce(){},processEvent(t){const n=Date.now();return c(a({},t),{extra:c(a({},t.extra),{"session:start":e,"session:duration":n-e,"session:end":n})})}}};QT("SessionTiming",iR);const oR=(e={})=>{const t=a({failedRequestStatusCodes:[[500,599]],failedRequestTargets:[/.*/]},e);return{name:"HttpClient",setupOnce(){},setup(e){!function(e,t){if(!ax())return;cx((n=>{if(Uk()!==e)return;const{response:r,args:i}=n,[o,s]=i;r&&function(e,t,n,r){if(cR(e,n.status,n.url)){const e=function(e,t){if(!t&&e instanceof Request)return e;if(e instanceof Request&&e.bodyUsed)return e;return new Request(e,t)}(t,r);let i,o,s,a;lR()&&([{headers:i,cookies:s},{headers:o,cookies:a}]=[{cookieHeader:"Cookie",obj:e},{cookieHeader:"Set-Cookie",obj:n}].map((({cookieHeader:e,obj:t})=>{const n=function(e){const t={};return e.forEach(((e,n)=>{t[n]=e})),t}(t.headers);let r;try{const t=n[e]||n[e.toLowerCase()]||void 0;t&&(r=aR(t))}catch(JZ){GM&&yS.log(`Could not extract cookies from header ${e}`)}return{headers:n,cookies:r}})));Lk(uR({url:e.url,method:e.method,status:n.status,requestHeaders:i,responseHeaders:o,requestCookies:s,responseCookies:a}))}}(t,o,r,s)}))}(e,t),function(e,t){if(!("XMLHttpRequest"in iS))return;kx((n=>{if(Uk()!==e)return;const r=n.xhr,i=r.__sentry_xhr_v3__;if(!i)return;const{method:o,request_headers:s}=i;try{!function(e,t,n,r){if(cR(e,t.status,t.responseURL)){let e,i,o;if(lR()){try{const e=t.getResponseHeader("Set-Cookie")||t.getResponseHeader("set-cookie")||void 0;e&&(i=aR(e))}catch(JZ){GM&&yS.log("Could not extract cookies from response headers")}try{o=function(e){const t=e.getAllResponseHeaders();if(!t)return{};return t.split("\r\n").reduce(((e,t)=>{const[n,r]=t.split(": ");return e[n]=r,e}),{})}(t)}catch(JZ){GM&&yS.log("Could not extract headers from response")}e=r}Lk(uR({url:t.responseURL,method:n,status:t.status,requestHeaders:e,responseHeaders:o,responseCookies:i}))}}(t,r,o,s)}catch(JZ){GM&&yS.warn("Error while extracting response event form XHR response",JZ)}}))}(e,t)}}};function sR(e){if(e){const t=e["Content-Length"]||e["content-length"];if(t)return parseInt(t,10)}}function aR(e){return e.split("; ").reduce(((e,t)=>{const[n,r]=t.split("=");return e[n]=r,e}),{})}function cR(e,t,n){return function(e,t){return e.some((e=>"number"==typeof e?e===t:t>=e[0]&&t<=e[1]))}(e.failedRequestStatusCodes,t)&&(r=e.failedRequestTargets,i=n,r.some((e=>"string"==typeof e?i.includes(e):e.test(i))))&&!fE(n,Uk());var r,i}function uR(e){const t=`HTTP Client Error with status code: ${e.status}`,n={message:t,exception:{values:[{type:"Error",value:t}]},request:{url:e.url,method:e.method,headers:e.requestHeaders,cookies:e.requestCookies},contexts:{response:{status_code:e.status,headers:e.responseHeaders,cookies:e.responseCookies,body_size:sR(e.responseHeaders)}}};return YS(n,{type:"http.client",handled:!1}),n}function lR(){const e=Uk();return!!e&&Boolean(e.getOptions().sendDefaultPii)}QT("HttpClient",oR);const dR=iS,fR=(e={})=>{const t=null!=e.frameContextLines?e.frameContextLines:7;return{name:"ContextLines",setupOnce(){},processEvent:e=>function(e,t){const n=dR.document,r=dR.location&&(i=dR.location.href,i.split(/[\?#]/,1)[0]);var i;if(!n||!r)return e;const o=e.exception&&e.exception.values;if(!o||!o.length)return e;const s=n.documentElement.innerHTML;if(!s)return e;const a=["","",...s.split("\n"),""];return o.forEach((e=>{const n=e.stacktrace;n&&n.frames&&(n.frames=n.frames.map((e=>function(e,t,n,r){if(e.filename!==n||!e.lineno||!t.length)return e;return function(e,t,n=5){if(void 0===t.lineno)return;const r=e.length,i=Math.max(Math.min(r-1,t.lineno-1),0);t.pre_context=e.slice(Math.max(0,i-n),i).map((e=>Qw(e,0))),t.context_line=Qw(e[Math.min(r-1,i)],t.colno||0),t.post_context=e.slice(Math.min(i+1,r),i+1+n).map((e=>Qw(e,0)))}(t,e,r),e}(e,a,r,t))))})),e}(e,t)}};function hR(e){return new Promise(((t,n)=>{e.oncomplete=e.onsuccess=()=>t(e.result),e.onabort=e.onerror=()=>n(e.error)}))}function pR(e){return hR(e.getAllKeys())}function mR(e){let t;function n(){return null==t&&(t=function(e,t){const n=indexedDB.open(e);n.onupgradeneeded=()=>n.result.createObjectStore(t);const r=hR(n);return e=>r.then((n=>e(n.transaction(t,"readwrite").objectStore(t))))}(e.dbName||"sentry-offline",e.storeName||"queue")),t}return{insert:async t=>{try{const r=await ik(t,e.textEncoder);await function(e,t,n){return e((e=>pR(e).then((r=>{if(!(r.length>=n))return e.put(t,Math.max(...r,0)+1),hR(e.transaction)}))))}(n(),r,e.maxQueueSize||30)}catch(r){}},pop:async()=>{try{const t=await function(e){return e((e=>pR(e).then((t=>{if(0!==t.length)return hR(e.get(t[0])).then((n=>(e.delete(t[0]),hR(e.transaction).then((()=>n)))))}))))}(n());if(t)return function(e,t,n){let r="string"==typeof e?t.encode(e):e;function i(e){const t=r.subarray(0,e);return r=r.subarray(e+1),t}function o(){let e=r.indexOf(10);return e<0&&(e=r.length),JSON.parse(n.decode(i(e)))}const s=o(),a=[];for(;r.length;){const e=o(),t="number"==typeof e.length?e.length:void 0;a.push([e,t?i(t):o()])}return[s,a]}(t,e.textEncoder||new TextEncoder,e.textDecoder||new TextDecoder)}catch(t){}}}}QT("ContextLines",fR);const gR=String(0);let yR="",vR="",bR="",_R=eO.navigator&&eO.navigator.userAgent||"",wR="";const SR=eO.navigator&&eO.navigator.language||eO.navigator&&eO.navigator.languages&&eO.navigator.languages[0]||"";const xR=eO.navigator&&eO.navigator.userAgentData;var kR;function TR(e){return function(e){return!("thread_metadata"in e)}(e)?function(e){let t,n=0;const r={samples:[],stacks:[],frames:[],thread_metadata:{[gR]:{name:"main"}}};if(!e.samples.length)return r;const i=e.samples[0].timestamp,o="number"==typeof performance.timeOrigin?performance.timeOrigin:$x||0,s=o-($x||o);for(let a=0;a{if(yR=e.platform||"",bR=e.architecture||"",wR=e.model||"",vR=e.platformVersion||"",e.fullVersionList&&e.fullVersionList.length>0){const t=e.fullVersionList[e.fullVersionList.length-1];_R=`${t.brand} ${t.version}`}})).catch((e=>{}));const OR=new WeakMap;function AR(e){const t=iS._sentryDebugIds;if(!t)return[];const n=Uk(),r=n&&n.getOptions(),i=r&&r.stackParser;if(!i)return[];let o;const s=OR.get(i);s?o=s:(o=new Map,OR.set(i,o));const a=Object.keys(t).reduce(((e,n)=>{let r;const s=o.get(n);s?r=s:(r=i(n),o.set(n,r));for(let i=r.length-1;i>=0;i--){const o=r[i],s=o&&o.filename;if(o&&s){e[s]=t[n];break}}return e}),{}),c=[];for(const u of e)u&&a[u]&&c.push({type:"sourcemap",code_file:u,debug_id:a[u]});return c}let IR=!1;function NR(e){if(IR)return oO&&yS.log("[Profiling] Profiling has been disabled for the duration of the current user session."),!1;if(!e.isRecording())return oO&&yS.log("[Profiling] Discarding profile because transaction was not sampled."),!1;const t=Uk(),n=t&&t.getOptions();if(!n)return oO&&yS.log("[Profiling] Profiling disabled, no options found."),!1;const r=n.profilesSampleRate;if(!("number"!=typeof(i=r)&&"boolean"!=typeof i||"number"==typeof i&&isNaN(i)?(oO&&yS.warn(`[Profiling] Invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(i)} of type ${JSON.stringify(typeof i)}.`),0):!0===i||!1===i||!(i<0||i>1)||(oO&&yS.warn(`[Profiling] Invalid sample rate. Sample rate must be between 0 and 1. Got ${i}.`),0)))return oO&&yS.warn("[Profiling] Discarding profile because of invalid sample rate."),!1;var i;if(!r)return oO&&yS.log("[Profiling] Discarding profile because a negative sampling decision was inherited or profileSampleRate is set to 0"),!1;return!!(!0===r||Math.random()(o&&(eO.clearTimeout(o),o=void 0),oO&&yS.log(`[Profiling] stopped profiling of transaction: ${Ck(e).description}`),t?(function(e,t){if(MR.set(e,t),MR.size>30){const e=MR.keys().next().value;MR.delete(e)}}(r,t),null):(oO&&yS.log(`[Profiling] profiler returned null profile for: ${Ck(e).description}`,"this may indicate an overlapping transaction or a call to stopProfiling with a profile title that was never started"),null)))).catch((e=>(oO&&yS.log("[Profiling] error while stopping profiler:",e),null))):null}let o=eO.setTimeout((()=>{oO&&yS.log("[Profiling] max profile duration elapsed, stopping profiling for:",Ck(e).description),i()}),3e4);const s=e.end.bind(e);return e.end=function(){return e?(i().then((()=>{e.setContext("profile",{profile_id:r,start_timestamp:t}),s()}),(()=>{s()})),e):s()},e}const PR=()=>({name:"BrowserProfiling",setupOnce(){},setup(e){const t=qk().getTransaction();t&&CR(t)&&NR(t)&&LR(t),"function"==typeof e.on?(e.on("startTransaction",(e=>{NR(e)&&LR(e)})),e.on("beforeEnvelope",(e=>{if(!MR.size)return;const t=function(e){const t=[];return nk(e,((e,n)=>{if("transaction"===n)for(let r=1;r{if(!e)return"";if(e.$root===e)return"";if(!e.$options)return"";const n=e.$options;let r=n.name||n._componentTag;const i=n.__file;if(!r&&i){const e=i.match(/([^/\\]+)\.vue$/);e&&(r=e[1])}return(r?`<${o=r,o.replace(BR,(e=>e.toUpperCase())).replace(/[-_]/g,"")}>`:"")+(i&&!1!==t?` at ${i}`:"");var o},HR=(e,t)=>{const{errorHandler:n,warnHandler:r,silent:i}=e.config;e.config.errorHandler=(o,s,a)=>{const c=VR(s,!1),u=s?(e=>{if(e&&(e._isVue||e.__isVue)&&e.$parent){const t=[];let n=0;for(;e;){if(t.length>0){const r=t[t.length-1];if(r.constructor===e.constructor){n++,e=e.$parent;continue}n>0&&(t[t.length-1]=[r,n],n=0)}t.push(e),e=e.$parent}return`\n\nfound in\n\n${t.map(((e,t)=>{return`${(0===t?"---\x3e ":(n=" ",r=5+2*t,n.repeat?n.repeat(r):n))+(Array.isArray(e)?`${VR(e[0])}... (${e[1]} recursive calls)`:VR(e))}`;var n,r})).join("\n")}`}return`\n\n(found in ${VR(e)})`})(s):"",l={componentName:c,lifecycleHook:a,trace:u};if(t.attachProps&&s&&(s.$options&&s.$options.propsData?l.propsData=s.$options.propsData:s.$props&&(l.propsData=s.$props)),setTimeout((()=>{Mk(o,{captureContext:{contexts:{vue:l}},mechanism:{handled:!1}})})),"function"==typeof n&&n.call(e,o,s,a),t.logErrors){const e="undefined"!=typeof console,t=`Error in ${a}: "${o&&o.toString()}"`;r?r.call(null,t,s,u):e&&!i&&gS((()=>{console.error(`[Vue warn]: ${t}${u}`)}))}}},zR="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,$R={activate:["activated","deactivated"],create:["beforeCreate","created"],unmount:["beforeUnmount","unmounted"],destroy:["beforeDestroy","destroyed"],mount:["beforeMount","mounted"],update:["beforeUpdate","updated"]};const WR=e=>{const t=(e.hooks||[]).concat(qR).filter(((e,t,n)=>n.indexOf(e)===t)),n={};for(const r of t){const t=$R[r];if(t)for(const i of t)n[i]=function(){const n=this.$root===this;if(n){wT()&&(this.$_sentryRootSpan=this.$_sentryRootSpan||_T({name:"Application Render",op:"ui.vue.render",origin:"auto.ui.vue"}))}const o=VR(this,!1),s=Array.isArray(e.trackComponents)?e.trackComponents.indexOf(o)>-1:e.trackComponents;var a,c,u;if(n||s)if(this.$_sentrySpans=this.$_sentrySpans||{},i==t[0]){if(this.$root&&this.$root.$_sentryRootSpan||wT()){const e=this.$_sentrySpans[r];e&&e.end(),this.$_sentrySpans[r]=_T({name:`Vue <${o}>`,op:`ui.vue.${r}`,origin:"auto.ui.vue"})}}else{const t=this.$_sentrySpans[r];if(!t)return;t.end(),a=this,c=zx(),u=e.timeout,a.$_sentryRootSpanTimer&&clearTimeout(a.$_sentryRootSpanTimer),a.$_sentryRootSpanTimer=setTimeout((()=>{a.$root&&a.$root.$_sentryRootSpan&&(a.$root.$_sentryRootSpan.end(c),a.$root.$_sentryRootSpan=void 0)}),u)}};else zR&&yS.warn(`Unknown hook: ${r}`)}return n},GR={Vue:iS.Vue,attachProps:!0,logErrors:!0,hooks:qR,timeout:2e3,trackComponents:!1},YR=(e={})=>({name:"Vue",setupOnce(){},setup(t){!function(e,t){const n=a(a(a({},GR),e.getOptions()),t);if(!n.Vue&&!n.app)return void gS((()=>{console.warn("[@sentry/vue]: Misconfigured SDK. Vue specific errors will not be captured.\nUpdate your `Sentry.init` call with an appropriate config option:\n`app` (Application Instance - Vue 3) or `Vue` (Vue Constructor - Vue 2).")}));if(n.app){KS(n.app).forEach((e=>KR(e,n)))}else n.Vue&&KR(n.Vue,n)}(t,e)}}),QR=QT("Vue",YR);const KR=(e,t)=>{const n=e;!0===(n._instance&&n._instance.isMounted)&&gS((()=>{console.warn("[@sentry/vue]: Misconfigured SDK. Vue app is already mounted. Make sure to call `app.mount()` after `Sentry.init()`.")})),HR(e,t),bT(t)&&e.mixin(WR(a(a({},t),t.tracingOptions)))};function JR(e={}){uA(a({_metadata:{sdk:{name:"sentry.javascript.vue",packages:[{name:"npm:@sentry/vue",version:"7.120.3"}],version:"7.120.3"}},defaultIntegrations:[...cA(),YR()]},e))}function XR(e,t,n){e.onError((e=>Mk(e,{mechanism:{handled:!1}}))),e.beforeEach(((e,r,i)=>{const o=null==r.name&&0===r.matched.length,s={"sentry.origin":"auto.navigation.vue"};for(const t of Object.keys(e.params))s[`params.${t}`]=e.params[t];for(const t of Object.keys(e.query)){const n=e.query[t];n&&(s[`query.${t}`]=n)}let u=e.path,l="url";if(e.name&&"path"!==t.routeLabel?(u=e.name.toString(),l="custom"):e.matched[0]&&e.matched[0].path&&(u=e.matched[0].path,l="route"),t.instrumentPageLoad&&o){const e=qk().getTransaction();if(e){"custom"!==(Ck(e).data||{})["sentry.source"]&&(e.updateName(u),e.setAttribute("sentry.source",l)),e.setAttributes(c(a({},s),{"sentry.origin":"auto.pageload.vue"}))}}t.instrumentNavigation&&!o&&(s["sentry.source"]=l,n({name:u,op:"navigation",attributes:s})),i&&i()}))}var ZR=Object.freeze(Object.defineProperty({__proto__:null,init:JR,vueRouterInstrumentation:function(e,t={}){return(n,r=!0,i=!0)=>{r&&eO&&eO.location&&n({name:eO.location.pathname,op:"pageload",attributes:{"sentry.origin":"auto.pageload.vue","sentry.source":"url"}}),XR(e,{routeLabel:t.routeLabel||"name",instrumentNavigation:i,instrumentPageLoad:r},n)}},browserTracingIntegration:function(e={}){if(!e.router)return QC(e);const t=QC(c(a({},e),{instrumentNavigation:!1})),{router:n,instrumentNavigation:r=!0,instrumentPageLoad:i=!0,routeLabel:o="name"}=e;return c(a({},t),{afterAllSetup(e){t.afterAllSetup(e);XR(n,{routeLabel:o,instrumentNavigation:r,instrumentPageLoad:i},(t=>{JC(e,t)}))}})},attachErrorHandler:HR,createTracingMixins:WR,VueIntegration:QR,vueIntegration:YR,FunctionToString:CE,Hub:nT,InboundFilters:SE,ModuleMetadata:vE,SDK_VERSION:"7.120.3",SEMANTIC_ATTRIBUTE_SENTRY_OP:"sentry.op",SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN:"sentry.origin",SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE:"sentry.sample_rate",SEMANTIC_ATTRIBUTE_SENTRY_SOURCE:"sentry.source",Scope:Xk,addBreadcrumb:Pk,addEventProcessor:rE,addGlobalEventProcessor:vk,addIntegration:function(e){const t=Uk();t&&t.addIntegration?t.addIntegration(e):mk&&yS.warn(`Cannot add integration "${e.name}" because no SDK Client is available.`)},addTracingExtensions:UT,captureEvent:Lk,captureException:Mk,captureMessage:Rk,captureSession:zk,close:async function(e){const t=Uk();return t?t.close(e):(mk&&yS.warn("Cannot flush events and disable SDK. No client defined."),Promise.resolve(!1))},configureScope:function(e){oT().configureScope(e)},continueTrace:({sentryTrace:e,baggage:t},n)=>{const r=qk(),{traceparentData:i,dynamicSamplingContext:o,propagationContext:s}=function(e,t){const n=Jx(e),r=Gx(t),{traceId:i,parentSpanId:o,parentSampled:s}=n||{};return n?{traceparentData:n,dynamicSamplingContext:r||{},propagationContext:{traceId:i||zS(),parentSpanId:o||zS().substring(16),spanId:zS().substring(16),sampled:s,dsc:r||{}}}:{traceparentData:n,dynamicSamplingContext:void 0,propagationContext:{traceId:i||zS(),spanId:zS().substring(16)}}}(e,t);r.setPropagationContext(s),mk&&i&&yS.log(`[Tracing] Continuing trace ${i.traceId}.`);const u=c(a({},i),{metadata:NS({dynamicSamplingContext:o})});return n?aT((()=>n(u))):u},createTransport:sE,endSession:Vk,extractTraceparentData:dT,flush:async function(e){const t=Uk();return t?t.flush(e):(mk&&yS.warn("Cannot flush events. No client defined."),Promise.resolve(!1))},functionToStringIntegration:EE,getActiveSpan:wT,getActiveTransaction:lT,getClient:Uk,getCurrentHub:oT,getCurrentScope:qk,getHubFromCarrier:cT,getSpanStatusFromHttpCode:mT,inboundFiltersIntegration:wE,isInitialized:function(){return!!Uk()},lastEventId:function(){return oT().lastEventId()},makeMain:iT,makeMultiplexedTransport:function(e,t){return n=>{const r=e(n),i=new Map;function o(t,r){const o=r?`${t}:${r}`:t;let s=i.get(o);if(!s){const u=_S(t);if(!u)return;const l=zT(u,n.tunnel);s=r?function(e,t){return n=>{const r=e(n);return c(a({},r),{send:async e=>{const n=lE(e,["event","transaction","profile","replay_event"]);return n&&(n.release=t),r.send(e)}})}}(e,r)(c(a({},n),{url:l})):e(c(a({},n),{url:l})),i.set(o,s)}return[t,s]}return{send:async function(e){const n=t({envelope:e,getEvent:function(t){const n=t&&t.length?t:["event"];return lE(e,n)}}).map((e=>"string"==typeof e?o(e,void 0):o(e.dsn,e.release))).filter((e=>!!e));return 0===n.length&&n.push(["",r]),(await Promise.all(n.map((([t,n])=>n.send(function(e,t){return ek(t?c(a({},e[0]),{dsn:t}):e[0],e[1])}(e,t))))))[0]},flush:async function(e){const t=[await r.flush(e)];for(const[,n]of i)t.push(await n.flush(e));return t.every((e=>e))}}}},metrics:ME,moduleMetadataIntegration:yE,parameterize:function(e,...t){const n=new String(String.raw(e,...t));return n.__sentry_template_string__=e.join("\0").replace(/%/g,"%%").replace(/\0/g,"%s"),n.__sentry_template_values__=t,n},setContext:jk,setCurrentClient:oE,setExtra:function(e,t){oT().setExtra(e,t)},setExtras:function(e){oT().setExtras(e)},setHttpStatus:yT,setMeasurement:qT,setTag:function(e,t){oT().setTag(e,t)},setTags:function(e){oT().setTags(e)},setUser:function(e){oT().setUser(e)},spanStatusfromHttpCode:gT,startInactiveSpan:_T,startSession:Bk,startSpan:function(e,t){const n=xT(e);return aT((()=>Fk(e.scope,(r=>{const i=oT(),o=r.getSpan(),s=e.onlyIfParent&&!o?void 0:ST(i,{parentSpan:o,spanContext:n,forceTransaction:e.forceTransaction,scope:r});return vT((()=>t(s)),(()=>{if(s){const{status:e}=Ck(s);e&&"ok"!==e||s.setStatus("internal_error")}}),(()=>s&&s.end()))}))))},startSpanManual:function(e,t){const n=xT(e);return aT((()=>Fk(e.scope,(r=>{const i=oT(),o=r.getSpan(),s=e.onlyIfParent&&!o?void 0:ST(i,{parentSpan:o,spanContext:n,forceTransaction:e.forceTransaction,scope:r});function a(){s&&s.end()}return vT((()=>t(s,a)),(()=>{if(s&&s.isRecording()){const{status:e}=Ck(s);e&&"ok"!==e||s.setStatus("internal_error")}}))}))))},startTransaction:function(e,t){return oT().startTransaction(a({},e),t)},trace:function(e,t,n=(()=>{}),r=(()=>{})){const i=oT(),o=qk(),s=o.getSpan(),a=xT(e),c=ST(i,{parentSpan:s,spanContext:a,forceTransaction:!1,scope:o});return o.setSpan(c),vT((()=>t(c)),(e=>{c&&c.setStatus("internal_error"),n(e,c)}),(()=>{c&&c.end(),o.setSpan(s),r()}))},withActiveSpan:function(e,t){return Fk((n=>(n.setSpan(e),t(n))))},withIsolationScope:function(e){return aT((()=>e(sT())))},withScope:Fk,WINDOW:eO,BrowserClient:yO,makeFetchTransport:bO,makeXHRTransport:_O,chromeStackLineParser:kO,defaultStackLineParsers:RO,defaultStackParser:LO,geckoStackLineParser:CO,opera10StackLineParser:NO,opera11StackLineParser:MO,winjsStackLineParser:AO,eventFromException:dO,eventFromMessage:fO,exceptionFromError:sO,createUserFeedbackEnvelope:gO,captureUserFeedback:function(e){const t=Uk();t&&t.captureUserFeedback(e)},defaultIntegrations:aA,forceLoad:function(){},getDefaultIntegrations:cA,onLoad:function(e){e()},showReportDialog:(e={},t=oT())=>{if(!eO.document)return void(oO&&yS.error("Global document not defined in showReportDialog call"));const{client:n,scope:r}=t.getStackTop(),i=e.dsn||n&&n.getDsn();if(!i)return void(oO&&yS.error("DSN not configured for showReportDialog call"));r&&(e.user=a(a({},r.getUser()),e.user)),e.eventId||(e.eventId=t.lastEventId());const o=eO.document.createElement("script");o.async=!0,o.crossOrigin="anonymous",o.src=function(e,t){const n=SS(e);if(!n)return"";const r=`${VT(n)}embed/error-page/`;let i=`dsn=${bS(n)}`;for(const o in t)if("dsn"!==o&&"onClose"!==o)if("user"===o){const e=t.user;if(!e)continue;e.name&&(i+=`&name=${encodeURIComponent(e.name)}`),e.email&&(i+=`&email=${encodeURIComponent(e.email)}`)}else i+=`&${encodeURIComponent(o)}=${encodeURIComponent(t[o])}`;return`${r}?${i}`}(i,e),e.onLoad&&(o.onload=e.onLoad);const{onClose:s}=e;if(s){const e=t=>{if("__sentry_reportdialog_closed__"===t.data)try{s()}finally{eO.removeEventListener("message",e)}};eO.addEventListener("message",e)}const c=eO.document.head||eO.document.body;c?c.appendChild(o):oO&&yS.error("Not injecting report dialog. No injection point found in HTML")},wrap:function(e){return iO(e)()},Breadcrumbs:FO,breadcrumbsIntegration:jO,Dedupe:qO,GlobalHandlers:WO,globalHandlersIntegration:$O,HttpContext:JO,httpContextIntegration:KO,LinkedErrors:ZO,linkedErrorsIntegration:XO,TryCatch:nA,browserApiErrorsIntegration:tA,Replay:$D,getReplay:function(){const e=Uk();return e&&e.getIntegrationByName&&e.getIntegrationByName("Replay")},replayIntegration:zD,ReplayCanvas:wM,replayCanvasIntegration:_M,Feedback:zM,feedbackIntegration:e=>new zM(e),sendFeedback:OM,captureConsoleIntegration:$M,contextLinesIntegration:fR,debugIntegration:WM,dedupeIntegration:YM,extraErrorDataIntegration:ZM,httpClientIntegration:oR,reportingObserverIntegration:nR,rewriteFramesIntegration:rR,sessionTimingIntegration:iR,BrowserTracing:class{constructor(e){this.name="BrowserTracing",this._hasSetTracePropagationTargets=!1,UT(),LE&&(this._hasSetTracePropagationTargets=!(!e||!e.tracePropagationTargets&&!e.tracingOrigins)),this.options=a(a({},$C),e),void 0!==this.options._experiments.enableLongTask&&(this.options.enableLongTask=this.options._experiments.enableLongTask),e&&!e.tracePropagationTargets&&e.tracingOrigins&&(this.options.tracePropagationTargets=e.tracingOrigins),this._collectWebVitals=IC(),this._interactionIdToRouteNameMapping={},this.options.enableInp&&MC(this._interactionIdToRouteNameMapping,this.options.interactionsSampleRate),this.options.enableLongTask&&NC(),this.options._experiments.enableInteractions&&DC(),this._latestRoute={name:void 0,context:void 0}}setupOnce(e,t){this._getCurrentHub=t;const n=t().getClient(),r=n&&n.getOptions(),{routingInstrumentation:i,startTransactionOnLocationChange:o,startTransactionOnPageLoad:s,markBackgroundTransactions:a,traceFetch:c,traceXHR:u,shouldCreateSpanForRequest:l,enableHTTPTimings:d,_experiments:f}=this.options,h=r&&r.tracePropagationTargets,p=h||this.options.tracePropagationTargets;LE&&this._hasSetTracePropagationTargets&&h&&yS.warn("[Tracing] The `tracePropagationTargets` option was set in the BrowserTracing integration and top level `Sentry.init`. The top level `Sentry.init` value is being used."),i((e=>{const n=this._createRouteTransaction(e);return this.options._experiments.onStartRouteTransaction&&this.options._experiments.onStartRouteTransaction(n,e,t),n}),s,o),a&&jE(),f.enableInteractions&&this._registerInteractionListener(),this.options.enableInp&&this._registerInpInteractionListener(),BC({traceFetch:c,traceXHR:u,tracePropagationTargets:p,shouldCreateSpanForRequest:l,enableHTTPTimings:d})}_createRouteTransaction(e){if(!this._getCurrentHub)return void(LE&&yS.warn(`[Tracing] Did not create ${e.op} transaction because _getCurrentHub is invalid.`));const t=this._getCurrentHub(),{beforeNavigate:n,idleTimeout:r,finalTimeout:i,heartbeatInterval:o}=this.options,s="pageload"===e.op;let u;if(s){const t=s?WC("sentry-trace"):"",n=s?WC("baggage"):void 0,{traceId:r,dsc:i,parentSpanId:o,sampled:l}=Xx(t,n);u=c(a({traceId:r,parentSpanId:o,parentSampled:l},e),{metadata:c(a({},e.metadata),{dynamicSamplingContext:i}),trimEnd:!0})}else u=a({trimEnd:!0},e);const l="function"==typeof n?n(u):u,d=void 0===l?c(a({},u),{sampled:!1}):l;d.metadata=d.name!==u.name?c(a({},d.metadata),{source:"custom"}):d.metadata,this._latestRoute.name=d.name,this._latestRoute.context=d,!1===d.sampled&&LE&&yS.log(`[Tracing] Will not send ${d.op} transaction because of beforeNavigate.`),LE&&yS.log(`[Tracing] Starting ${d.op} transaction on scope`);const{location:f}=PE,h=FT(t,d,r,i,!0,{location:f},o,s);return s&&PE.document&&(PE.document.addEventListener("readystatechange",(()=>{["interactive","complete"].includes(PE.document.readyState)&&h.sendAutoFinishSignal()})),["interactive","complete"].includes(PE.document.readyState)&&h.sendAutoFinishSignal()),h.registerBeforeFinishCallback((e=>{this._collectWebVitals(),LC(e)})),h}_registerInteractionListener(){let e;const t=()=>{const{idleTimeout:t,finalTimeout:n,heartbeatInterval:r}=this.options,i="ui.action.click",o=lT();if(o&&o.op&&["navigation","pageload"].includes(o.op))return void(LE&&yS.warn(`[Tracing] Did not create ${i} transaction because a pageload or navigation transaction is in progress.`));if(e&&(e.setFinishReason("interactionInterrupted"),e.end(),e=void 0),!this._getCurrentHub)return void(LE&&yS.warn(`[Tracing] Did not create ${i} transaction because _getCurrentHub is invalid.`));if(!this._latestRoute.name)return void(LE&&yS.warn(`[Tracing] Did not create ${i} transaction because _latestRouteName is missing.`));const s=this._getCurrentHub(),{location:a}=PE,c={name:this._latestRoute.name,op:i,trimEnd:!0,data:{"sentry.source":this._latestRoute.context?GC(this._latestRoute.context):"url"}};e=FT(s,c,t,n,!0,{location:a},r)};["click"].forEach((e=>{PE.document&&addEventListener(e,t,{once:!1,capture:!0})}))}_registerInpInteractionListener(){const e=({entries:e})=>{const t=Uk(),n=void 0!==t&&void 0!==t.getIntegrationByName?t.getIntegrationByName("Replay"):void 0,r=void 0!==n?n.getReplayId():void 0,i=lT(),o=qk(),s=void 0!==o?o.getUser():void 0;e.forEach((e=>{if(function(e){return"duration"in e}(e)){const t=e.interactionId;if(void 0===t)return;const n=this._interactionIdToRouteNameMapping[t],o=e.duration,a=e.startTime,c=Object.keys(this._interactionIdToRouteNameMapping),u=c.length>0?c.reduce(((e,t)=>this._interactionIdToRouteNameMapping[e].durationthis._interactionIdToRouteNameMapping[e])).some((e=>e.duration===o&&e.startTime===a)))return}if(!t)return;if(n)n.duration=Math.max(n.duration,o);else if(c.length<10||void 0===u||o>this._interactionIdToRouteNameMapping[u].duration){const e=this._latestRoute.name,n=this._latestRoute.context;e&&n&&(u&&Object.keys(this._interactionIdToRouteNameMapping).length>=10&&delete this._interactionIdToRouteNameMapping[u],this._interactionIdToRouteNameMapping[t]={routeName:e,duration:o,parentContext:n,user:s,activeTransaction:i,replayId:r,startTime:a})}}}))};fC("event",e),fC("first-input",e)}},defaultRequestInstrumentationOptions:qC,instrumentOutgoingRequests:BC,startBrowserTracingNavigationSpan:JC,startBrowserTracingPageLoadSpan:KC,makeBrowserOfflineTransport:function(e){return function(e){return t=>e(c(a({},t),{createStore:mR}))}(uE(e))},onProfilingStartRouteTransaction:function(e){return e?NR(e)?LR(e):e:(oO&&yS.log("[Profiling] Transaction is undefined, skipping profiling"),e)},BrowserProfilingIntegration:jR,browserProfilingIntegration:PR,Integrations:UR},Symbol.toStringTag,{value:"Module"})),eL=rL;function tL(e){return e&&e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function nL(e){return e}function rL(e,t){const n=(t=t||{}).delimiter||".",r=t.maxDepth,i=t.transformKey||nL,o={};return function e(s,a,c){c=c||1,Object.keys(s).forEach((function(u){const l=s[u],d=t.safe&&Array.isArray(l),f=Object.prototype.toString.call(l),h=tL(l),p="[object Object]"===f||"[object Array]"===f,m=a?a+n+i(u):i(u);if(!d&&!h&&p&&Object.keys(l).length&&(!t.maxDepth||c0&&(l=a(u.shift()),d=a(u[0]))}f[l]=e(t[c],n)})),s};var iL="object"==typeof globalThis?globalThis:"object"==typeof self?self:"object"==typeof window?window:"object"==typeof global?global:{},oL=/^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;var sL=function(e){var t=new Set([e]),n=new Set,r=e.match(oL);if(!r)return function(){return!1};var i=+r[1],o=+r[2],s=+r[3];if(null!=r[4])return function(t){return t===e};function a(e){return n.add(e),!1}function c(e){return t.add(e),!0}return function(e){if(t.has(e))return!0;if(n.has(e))return!1;var r=e.match(oL);if(!r)return a(e);var u=+r[1],l=+r[2],d=+r[3];return null!=r[4]||i!==u?a(e):0===i?o===l&&s<=d?c(e):a(e):o<=l?c(e):a(e)}}("1.3.0"),aL="1.3.0".split(".")[0],cL=Symbol.for("opentelemetry.js.api."+aL),uL=iL;function lL(e,t,n,r){var i;void 0===r&&(r=!1);var o=uL[cL]=null!==(i=uL[cL])&&void 0!==i?i:{version:"1.3.0"};if(!r&&o[e]){var s=new Error("@opentelemetry/api: Attempted duplicate registration of API: "+e);return n.error(s.stack||s.message),!1}if("1.3.0"!==o.version){s=new Error("@opentelemetry/api: All API registration versions must match");return n.error(s.stack||s.message),!1}return o[e]=t,n.debug("@opentelemetry/api: Registered a global for "+e+" v1.3.0."),!0}function dL(e){var t,n,r=null===(t=uL[cL])||void 0===t?void 0:t.version;if(r&&sL(r))return null===(n=uL[cL])||void 0===n?void 0:n[e]}function fL(e,t){t.debug("@opentelemetry/api: Unregistering a global for "+e+" v1.3.0.");var n=uL[cL];n&&delete n[e]}var hL,pL,mL=function(){function e(e){this._namespace=e.namespace||"DiagComponentLogger"}return e.prototype.debug=function(){for(var e=[],t=0;t0)&&!(r=o.next()).done;)s.push(r.value)}catch(a){i={error:a}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}(n),!1))}(pL=hL||(hL={}))[pL.NONE=0]="NONE",pL[pL.ERROR=30]="ERROR",pL[pL.WARN=50]="WARN",pL[pL.INFO=60]="INFO",pL[pL.DEBUG=70]="DEBUG",pL[pL.VERBOSE=80]="VERBOSE",pL[pL.ALL=9999]="ALL";var yL=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(a){i={error:a}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s},vL=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i=r?i.bind(t):function(){}}return ehL.ALL&&(e=hL.ALL),t=t||{},{error:n("error",hL.ERROR),warn:n("warn",hL.WARN),info:n("info",hL.INFO),debug:n("debug",hL.DEBUG),verbose:n("verbose",hL.VERBOSE)}}(null!==(i=n.logLevel)&&void 0!==i?i:hL.INFO,e);if(a&&!n.suppressOverrideMessage){var u=null!==(o=(new Error).stack)&&void 0!==o?o:"";a.warn("Current logger will be overwritten from "+u),c.warn("Current logger will overwrite one already registered from "+u)}return lL("diag",c,t,!0)},t.disable=function(){fL("diag",t)},t.createComponentLogger=function(e){return new mL(e)},t.verbose=e("verbose"),t.debug=e("debug"),t.info=e("info"),t.warn=e("warn"),t.error=e("error")}return e.instance=function(){return this._instance||(this._instance=new e),this._instance},e}(),_L=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},wL=function(){function e(e){this._entries=e?new Map(e):new Map}return e.prototype.getEntry=function(e){var t=this._entries.get(e);if(t)return Object.assign({},t)},e.prototype.getAllEntries=function(){return Array.from(this._entries.entries()).map((function(e){var t=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(a){i={error:a}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}(e,2);return[t[0],t[1]]}))},e.prototype.setEntry=function(t,n){var r=new e(this._entries);return r._entries.set(t,n),r},e.prototype.removeEntry=function(t){var n=new e(this._entries);return n._entries.delete(t),n},e.prototype.removeEntries=function(){for(var t,n,r=[],i=0;i0)&&!(r=o.next()).done;)s.push(r.value)}catch(a){i={error:a}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s},YL=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i0)&&!(r=o.next()).done;)s.push(r.value)}catch(a){i={error:a}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s},JL=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;it._currentContext.get(e),t.setValue=(e,n)=>{const r=new HP(t._currentContext);return r._currentContext.set(e,n),r},t.deleteValue=e=>{const n=new HP(t._currentContext);return n._currentContext.delete(e),n}}}VP.ROOT_CONTEXT=new HP,Object.defineProperty(BP,"__esModule",{value:!0}),BP.NoopContextManager=void 0;const zP=VP;BP.NoopContextManager=class{active(){return zP.ROOT_CONTEXT}with(e,t,n,...r){return t.call(n,...r)}bind(e,t){return t}enable(){return this}disable(){return this}};var $P={},WP={},GP={};Object.defineProperty(GP,"__esModule",{value:!0}),GP._globalThis=void 0,GP._globalThis="object"==typeof globalThis?globalThis:"object"==typeof self?self:"object"==typeof window?window:"object"==typeof l?l:{},function(e){var t=l&&l.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=l&&l.__exportStar||function(e,n){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||t(n,e,r)};Object.defineProperty(e,"__esModule",{value:!0}),n(GP,e)}(WP);var YP={};Object.defineProperty(YP,"__esModule",{value:!0}),YP.VERSION=void 0,YP.VERSION="1.3.0";var QP={};Object.defineProperty(QP,"__esModule",{value:!0}),QP.isCompatible=QP._makeCompatibilityCheck=void 0;const KP=YP,JP=/^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;function XP(e){const t=new Set([e]),n=new Set,r=e.match(JP);if(!r)return()=>!1;const i=+r[1],o=+r[2],s=+r[3];if(null!=r[4])return function(t){return t===e};function a(e){return n.add(e),!1}function c(e){return t.add(e),!0}return function(e){if(t.has(e))return!0;if(n.has(e))return!1;const r=e.match(JP);if(!r)return a(e);const u=+r[1],l=+r[2],d=+r[3];return null!=r[4]||i!==u?a(e):0===i?o===l&&s<=d?c(e):a(e):o<=l?c(e):a(e)}}QP._makeCompatibilityCheck=XP,QP.isCompatible=XP(KP.VERSION),Object.defineProperty($P,"__esModule",{value:!0}),$P.unregisterGlobal=$P.getGlobal=$P.registerGlobal=void 0;const ZP=WP,ej=YP,tj=QP,nj=ej.VERSION.split(".")[0],rj=Symbol.for(`opentelemetry.js.api.${nj}`),ij=ZP._globalThis;$P.registerGlobal=function(e,t,n,r=!1){var i;const o=ij[rj]=null!==(i=ij[rj])&&void 0!==i?i:{version:ej.VERSION};if(!r&&o[e]){const t=new Error(`@opentelemetry/api: Attempted duplicate registration of API: ${e}`);return n.error(t.stack||t.message),!1}if(o.version!==ej.VERSION){const e=new Error("@opentelemetry/api: All API registration versions must match");return n.error(e.stack||e.message),!1}return o[e]=t,n.debug(`@opentelemetry/api: Registered a global for ${e} v${ej.VERSION}.`),!0},$P.getGlobal=function(e){var t,n;const r=null===(t=ij[rj])||void 0===t?void 0:t.version;if(r&&(0,tj.isCompatible)(r))return null===(n=ij[rj])||void 0===n?void 0:n[e]},$P.unregisterGlobal=function(e,t){t.debug(`@opentelemetry/api: Unregistering a global for ${e} v${ej.VERSION}.`);const n=ij[rj];n&&delete n[e]};var oj={},sj={};Object.defineProperty(sj,"__esModule",{value:!0}),sj.DiagComponentLogger=void 0;const aj=$P;function cj(e,t,n){const r=(0,aj.getGlobal)("diag");if(r)return n.unshift(t),r[e](...n)}sj.DiagComponentLogger=class{constructor(e){this._namespace=e.namespace||"DiagComponentLogger"}debug(...e){return cj("debug",this._namespace,e)}error(...e){return cj("error",this._namespace,e)}info(...e){return cj("info",this._namespace,e)}warn(...e){return cj("warn",this._namespace,e)}verbose(...e){return cj("verbose",this._namespace,e)}};var uj={},lj={};!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.DiagLogLevel=void 0,function(e){e[e.NONE=0]="NONE",e[e.ERROR=30]="ERROR",e[e.WARN=50]="WARN",e[e.INFO=60]="INFO",e[e.DEBUG=70]="DEBUG",e[e.VERBOSE=80]="VERBOSE",e[e.ALL=9999]="ALL"}(e.DiagLogLevel||(e.DiagLogLevel={}))}(lj),Object.defineProperty(uj,"__esModule",{value:!0}),uj.createLogLevelDiagLogger=void 0;const dj=lj;uj.createLogLevelDiagLogger=function(e,t){function n(n,r){const i=t[n];return"function"==typeof i&&e>=r?i.bind(t):function(){}}return edj.DiagLogLevel.ALL&&(e=dj.DiagLogLevel.ALL),t=t||{},{error:n("error",dj.DiagLogLevel.ERROR),warn:n("warn",dj.DiagLogLevel.WARN),info:n("info",dj.DiagLogLevel.INFO),debug:n("debug",dj.DiagLogLevel.DEBUG),verbose:n("verbose",dj.DiagLogLevel.VERBOSE)}},Object.defineProperty(oj,"__esModule",{value:!0}),oj.DiagAPI=void 0;const fj=sj,hj=uj,pj=lj,mj=$P;class gj{constructor(){function e(e){return function(...t){const n=(0,mj.getGlobal)("diag");if(n)return n[e](...t)}}const t=this;t.setLogger=(e,n={logLevel:pj.DiagLogLevel.INFO})=>{var r,i,o;if(e===t){const e=new Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation");return t.error(null!==(r=e.stack)&&void 0!==r?r:e.message),!1}"number"==typeof n&&(n={logLevel:n});const s=(0,mj.getGlobal)("diag"),a=(0,hj.createLogLevelDiagLogger)(null!==(i=n.logLevel)&&void 0!==i?i:pj.DiagLogLevel.INFO,e);if(s&&!n.suppressOverrideMessage){const e=null!==(o=(new Error).stack)&&void 0!==o?o:"";s.warn(`Current logger will be overwritten from ${e}`),a.warn(`Current logger will overwrite one already registered from ${e}`)}return(0,mj.registerGlobal)("diag",a,t,!0)},t.disable=()=>{(0,mj.unregisterGlobal)("diag",t)},t.createComponentLogger=e=>new fj.DiagComponentLogger(e),t.verbose=e("verbose"),t.debug=e("debug"),t.info=e("info"),t.warn=e("warn"),t.error=e("error")}static instance(){return this._instance||(this._instance=new gj),this._instance}}oj.DiagAPI=gj,Object.defineProperty(qP,"__esModule",{value:!0}),qP.ContextAPI=void 0;const yj=$P,vj=oj,bj=new BP.NoopContextManager;class _j{constructor(){}static getInstance(){return this._instance||(this._instance=new _j),this._instance}setGlobalContextManager(e){return(0,yj.registerGlobal)("context",e,vj.DiagAPI.instance())}active(){return this._getContextManager().active()}with(e,t,n,...r){return this._getContextManager().with(e,t,n,...r)}bind(e,t){return this._getContextManager().bind(e,t)}_getContextManager(){return(0,yj.getGlobal)("context")||bj}disable(){this._getContextManager().disable(),(0,yj.unregisterGlobal)("context",vj.DiagAPI.instance())}}qP.ContextAPI=_j;var wj={};Object.defineProperty(wj,"__esModule",{value:!0}),wj.getSpanContext=wj.setSpanContext=wj.deleteSpan=wj.setSpan=wj.getActiveSpan=wj.getSpan=void 0;const Sj=RP,xj=qP,kj=(0,VP.createContextKey)("OpenTelemetry Context Key SPAN");function Tj(e){return e.getValue(kj)||void 0}function Ej(e,t){return e.setValue(kj,t)}wj.getSpan=Tj,wj.getActiveSpan=function(){return Tj(xj.ContextAPI.getInstance().active())},wj.setSpan=Ej,wj.deleteSpan=function(e){return e.deleteValue(kj)},wj.setSpanContext=function(e,t){return Ej(e,new Sj.NonRecordingSpan(t))},wj.getSpanContext=function(e){var t;return null===(t=Tj(e))||void 0===t?void 0:t.spanContext()};var Cj={};Object.defineProperty(Cj,"__esModule",{value:!0}),Cj.wrapSpanContext=Cj.isSpanContextValid=Cj.isValidSpanId=Cj.isValidTraceId=void 0;const Oj=LP,Aj=RP,Ij=/^([0-9a-f]{32})$/i,Nj=/^[0-9a-f]{16}$/i;function Dj(e){return Ij.test(e)&&e!==Oj.INVALID_TRACEID}function Mj(e){return Nj.test(e)&&e!==Oj.INVALID_SPANID}Cj.isValidTraceId=Dj,Cj.isValidSpanId=Mj,Cj.isSpanContextValid=function(e){return Dj(e.traceId)&&Mj(e.spanId)},Cj.wrapSpanContext=function(e){return new Aj.NonRecordingSpan(e)},Object.defineProperty(UP,"__esModule",{value:!0});var Rj=UP.NoopTracer=void 0;const Lj=wj,Pj=RP,jj=Cj,Fj=qP.ContextAPI.getInstance();Rj=UP.NoopTracer=class{startSpan(e,t,n){if(Boolean(null==t?void 0:t.root))return new Pj.NonRecordingSpan;const r=n&&(0,Lj.getSpanContext)(n);return"object"==typeof(i=r)&&"string"==typeof i.spanId&&"string"==typeof i.traceId&&"number"==typeof i.traceFlags&&(0,jj.isSpanContextValid)(r)?new Pj.NonRecordingSpan(r):new Pj.NonRecordingSpan;var i}startActiveSpan(e,t,n,r){let i,o,s;if(arguments.length<2)return;2===arguments.length?s=t:3===arguments.length?(i=t,s=n):(i=t,o=n,s=r);const a=null!=o?o:Fj.active(),c=this.startSpan(e,i,a),u=(0,Lj.setSpan)(a,c);return Fj.with(u,s,void 0,c)}};var Uj={AWS_LAMBDA_INVOKED_ARN:"aws.lambda.invoked_arn",DB_SYSTEM:"db.system",DB_CONNECTION_STRING:"db.connection_string",DB_USER:"db.user",DB_JDBC_DRIVER_CLASSNAME:"db.jdbc.driver_classname",DB_NAME:"db.name",DB_STATEMENT:"db.statement",DB_OPERATION:"db.operation",DB_MSSQL_INSTANCE_NAME:"db.mssql.instance_name",DB_CASSANDRA_KEYSPACE:"db.cassandra.keyspace",DB_CASSANDRA_PAGE_SIZE:"db.cassandra.page_size",DB_CASSANDRA_CONSISTENCY_LEVEL:"db.cassandra.consistency_level",DB_CASSANDRA_TABLE:"db.cassandra.table",DB_CASSANDRA_IDEMPOTENCE:"db.cassandra.idempotence",DB_CASSANDRA_SPECULATIVE_EXECUTION_COUNT:"db.cassandra.speculative_execution_count",DB_CASSANDRA_COORDINATOR_ID:"db.cassandra.coordinator.id",DB_CASSANDRA_COORDINATOR_DC:"db.cassandra.coordinator.dc",DB_HBASE_NAMESPACE:"db.hbase.namespace",DB_REDIS_DATABASE_INDEX:"db.redis.database_index",DB_MONGODB_COLLECTION:"db.mongodb.collection",DB_SQL_TABLE:"db.sql.table",EXCEPTION_TYPE:"exception.type",EXCEPTION_MESSAGE:"exception.message",EXCEPTION_STACKTRACE:"exception.stacktrace",EXCEPTION_ESCAPED:"exception.escaped",FAAS_TRIGGER:"faas.trigger",FAAS_EXECUTION:"faas.execution",FAAS_DOCUMENT_COLLECTION:"faas.document.collection",FAAS_DOCUMENT_OPERATION:"faas.document.operation",FAAS_DOCUMENT_TIME:"faas.document.time",FAAS_DOCUMENT_NAME:"faas.document.name",FAAS_TIME:"faas.time",FAAS_CRON:"faas.cron",FAAS_COLDSTART:"faas.coldstart",FAAS_INVOKED_NAME:"faas.invoked_name",FAAS_INVOKED_PROVIDER:"faas.invoked_provider",FAAS_INVOKED_REGION:"faas.invoked_region",NET_TRANSPORT:"net.transport",NET_PEER_IP:"net.peer.ip",NET_PEER_PORT:"net.peer.port",NET_PEER_NAME:"net.peer.name",NET_HOST_IP:"net.host.ip",NET_HOST_PORT:"net.host.port",NET_HOST_NAME:"net.host.name",NET_HOST_CONNECTION_TYPE:"net.host.connection.type",NET_HOST_CONNECTION_SUBTYPE:"net.host.connection.subtype",NET_HOST_CARRIER_NAME:"net.host.carrier.name",NET_HOST_CARRIER_MCC:"net.host.carrier.mcc",NET_HOST_CARRIER_MNC:"net.host.carrier.mnc",NET_HOST_CARRIER_ICC:"net.host.carrier.icc",PEER_SERVICE:"peer.service",ENDUSER_ID:"enduser.id",ENDUSER_ROLE:"enduser.role",ENDUSER_SCOPE:"enduser.scope",THREAD_ID:"thread.id",THREAD_NAME:"thread.name",CODE_FUNCTION:"code.function",CODE_NAMESPACE:"code.namespace",CODE_FILEPATH:"code.filepath",CODE_LINENO:"code.lineno",HTTP_METHOD:"http.method",HTTP_URL:"http.url",HTTP_TARGET:"http.target",HTTP_HOST:"http.host",HTTP_SCHEME:"http.scheme",HTTP_STATUS_CODE:"http.status_code",HTTP_FLAVOR:"http.flavor",HTTP_USER_AGENT:"http.user_agent",HTTP_REQUEST_CONTENT_LENGTH:"http.request_content_length",HTTP_REQUEST_CONTENT_LENGTH_UNCOMPRESSED:"http.request_content_length_uncompressed",HTTP_RESPONSE_CONTENT_LENGTH:"http.response_content_length",HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED:"http.response_content_length_uncompressed",HTTP_SERVER_NAME:"http.server_name",HTTP_ROUTE:"http.route",HTTP_CLIENT_IP:"http.client_ip",AWS_DYNAMODB_TABLE_NAMES:"aws.dynamodb.table_names",AWS_DYNAMODB_CONSUMED_CAPACITY:"aws.dynamodb.consumed_capacity",AWS_DYNAMODB_ITEM_COLLECTION_METRICS:"aws.dynamodb.item_collection_metrics",AWS_DYNAMODB_PROVISIONED_READ_CAPACITY:"aws.dynamodb.provisioned_read_capacity",AWS_DYNAMODB_PROVISIONED_WRITE_CAPACITY:"aws.dynamodb.provisioned_write_capacity",AWS_DYNAMODB_CONSISTENT_READ:"aws.dynamodb.consistent_read",AWS_DYNAMODB_PROJECTION:"aws.dynamodb.projection",AWS_DYNAMODB_LIMIT:"aws.dynamodb.limit",AWS_DYNAMODB_ATTRIBUTES_TO_GET:"aws.dynamodb.attributes_to_get",AWS_DYNAMODB_INDEX_NAME:"aws.dynamodb.index_name",AWS_DYNAMODB_SELECT:"aws.dynamodb.select",AWS_DYNAMODB_GLOBAL_SECONDARY_INDEXES:"aws.dynamodb.global_secondary_indexes",AWS_DYNAMODB_LOCAL_SECONDARY_INDEXES:"aws.dynamodb.local_secondary_indexes",AWS_DYNAMODB_EXCLUSIVE_START_TABLE:"aws.dynamodb.exclusive_start_table",AWS_DYNAMODB_TABLE_COUNT:"aws.dynamodb.table_count",AWS_DYNAMODB_SCAN_FORWARD:"aws.dynamodb.scan_forward",AWS_DYNAMODB_SEGMENT:"aws.dynamodb.segment",AWS_DYNAMODB_TOTAL_SEGMENTS:"aws.dynamodb.total_segments",AWS_DYNAMODB_COUNT:"aws.dynamodb.count",AWS_DYNAMODB_SCANNED_COUNT:"aws.dynamodb.scanned_count",AWS_DYNAMODB_ATTRIBUTE_DEFINITIONS:"aws.dynamodb.attribute_definitions",AWS_DYNAMODB_GLOBAL_SECONDARY_INDEX_UPDATES:"aws.dynamodb.global_secondary_index_updates",MESSAGING_SYSTEM:"messaging.system",MESSAGING_DESTINATION:"messaging.destination",MESSAGING_DESTINATION_KIND:"messaging.destination_kind",MESSAGING_TEMP_DESTINATION:"messaging.temp_destination",MESSAGING_PROTOCOL:"messaging.protocol",MESSAGING_PROTOCOL_VERSION:"messaging.protocol_version",MESSAGING_URL:"messaging.url",MESSAGING_MESSAGE_ID:"messaging.message_id",MESSAGING_CONVERSATION_ID:"messaging.conversation_id",MESSAGING_MESSAGE_PAYLOAD_SIZE_BYTES:"messaging.message_payload_size_bytes",MESSAGING_MESSAGE_PAYLOAD_COMPRESSED_SIZE_BYTES:"messaging.message_payload_compressed_size_bytes",MESSAGING_OPERATION:"messaging.operation",MESSAGING_CONSUMER_ID:"messaging.consumer_id",MESSAGING_RABBITMQ_ROUTING_KEY:"messaging.rabbitmq.routing_key",MESSAGING_KAFKA_MESSAGE_KEY:"messaging.kafka.message_key",MESSAGING_KAFKA_CONSUMER_GROUP:"messaging.kafka.consumer_group",MESSAGING_KAFKA_CLIENT_ID:"messaging.kafka.client_id",MESSAGING_KAFKA_PARTITION:"messaging.kafka.partition",MESSAGING_KAFKA_TOMBSTONE:"messaging.kafka.tombstone",RPC_SYSTEM:"rpc.system",RPC_SERVICE:"rpc.service",RPC_METHOD:"rpc.method",RPC_GRPC_STATUS_CODE:"rpc.grpc.status_code",RPC_JSONRPC_VERSION:"rpc.jsonrpc.version",RPC_JSONRPC_REQUEST_ID:"rpc.jsonrpc.request_id",RPC_JSONRPC_ERROR_CODE:"rpc.jsonrpc.error_code",RPC_JSONRPC_ERROR_MESSAGE:"rpc.jsonrpc.error_message",MESSAGE_TYPE:"message.type",MESSAGE_ID:"message.id",MESSAGE_COMPRESSED_SIZE:"message.compressed_size",MESSAGE_UNCOMPRESSED_SIZE:"message.uncompressed_size"},qj={exports:{}};function Bj(e){try{return JSON.stringify(e)}catch(JZ){return'"[Circular]"'}}const Vj=function(e,t,n){var r=n&&n.stringify||Bj;if("object"==typeof e&&null!==e){var i=t.length+1;if(1===i)return e;var o=new Array(i);o[0]=r(e);for(var s=1;s-1?l:0,e.charCodeAt(f+1)){case 100:case 102:if(u>=a)break;if(null==t[u])break;l=a)break;if(null==t[u])break;l=a)break;if(void 0===t[u])break;l",l=f+2,f++;break}c+=r(t[u]),l=f+2,f++;break;case 115:if(u>=a)break;l-1&&(o=!1);const s=Object.keys(e.customLevels||{}),a=["error","fatal","warn","info","debug","trace"].concat(s);"function"==typeof n&&a.forEach((function(e){n[e]=n})),(!1===e.enabled||e.browser.disabled)&&(e.level="silent");const c=e.level||"info",u=Object.create(n);u.log||(u.log=sF),function(e,t,n){const r={};t.forEach((e=>{r[e]=n[e]?n[e]:Hj[e]||Hj[Yj[e]||"log"]||sF})),e[Wj]=r}(u,a,n),Qj({},u),Object.defineProperty(u,"levelVal",{get:function(){return $j(this.level,this)}}),Object.defineProperty(u,"level",{get:function(){return this._level},set:function(e){if("silent"!==e&&!this.levels.values[e])throw Error("unknown level "+e);this._level=e,Jj(this,l,u,"error"),Jj(this,l,u,"fatal"),Jj(this,l,u,"warn"),Jj(this,l,u,"info"),Jj(this,l,u,"debug"),Jj(this,l,u,"trace"),s.forEach((e=>{Jj(this,l,u,e)}))}});const l={transmit:t,serialize:i,asObject:e.browser.asObject,formatters:e.browser.formatters,levels:a,timestamp:rF(e),messageKey:e.messageKey||"msg",onChild:e.onChild||sF};function d(n,o,s){if(!o)throw new Error("missing bindings for child Pino");s=s||{},i&&o.serializers&&(s.serializers=o.serializers);const a=s.serializers;if(i&&a){var c=Object.assign({},r,a),u=!0===e.browser.serialize?Object.keys(c):i;delete o.serializers,Zj([o],u,c,this._stdErrSerialize)}function l(e){this._childLevel=1+(0|e._childLevel),this.bindings=o,c&&(this.serializers=c,this._serialize=u),t&&(this._logEvent=tF([].concat(e._logEvent.bindings,o)))}l.prototype=this;const f=new l(this);return Qj(this,f),f.child=function(...e){return d.call(this,n,...e)},f.level=s.level||this.level,n.onChild(f),f}return u.levels=function(e){const t=e.customLevels||{},n=Object.assign({},Kj.levels.values,t),r=Object.assign({},Kj.levels.labels,function(e){const t={};return Object.keys(e).forEach((function(n){t[e[n]]=n})),t}(t));return{values:n,labels:r}}(e),u.level=c,u.setMaxListeners=u.getMaxListeners=u.emit=u.addListener=u.on=u.prependListener=u.once=u.prependOnceListener=u.removeListener=u.removeAllListeners=u.listeners=u.listenerCount=u.eventNames=u.write=u.flush=sF,u.serializers=r,u._serialize=i,u._stdErrSerialize=o,u.child=function(...e){return d.call(this,l,...e)},t&&(u._logEvent=tF()),u}function Jj(e,t,n,r){if(Object.defineProperty(e,r,{value:$j(e.level,n)>$j(r,n)?sF:n[Wj][r],writable:!0,enumerable:!0,configurable:!0}),e[r]===sF){if(!t.transmit)return;const i=$j(t.transmit.level||e.level,n);if($j(r,n)e)}=i.formatters||{},a=n.slice();let c=a[0];const u={};if(r&&(u.time=r),o){const n=o(t,e.levels.values[t]);Object.assign(u,n)}else u.level=e.levels.values[t];let l=1+(0|e._childLevel);if(l<1&&(l=1),null!==c&&"object"==typeof c){for(;l--&&"object"==typeof a[0];)Object.assign(u,a.shift());c=a.length?Vj(a.shift(),a):void 0}else"string"==typeof c&&(c=Vj(a.shift(),a));void 0!==c&&(u[i.messageKey]=c);return s(u)}function Zj(e,t,n,r){for(const i in e)if(r&&e[i]instanceof Error)e[i]=Kj.stdSerializers.err(e[i]);else if("object"==typeof e[i]&&!Array.isArray(e[i])&&t)for(const r in e[i])t.indexOf(r)>-1&&r in n&&(e[i][r]=n[r](e[i][r]))}function eF(e,t,n,r=!1){const i=t.send,o=t.ts,s=t.methodLevel,a=t.methodValue,c=t.val,u=e._logEvent.bindings;r||Zj(n,e._serialize||Object.keys(e.serializers),e.serializers,void 0===e._stdErrSerialize||e._stdErrSerialize),e._logEvent.ts=o,e._logEvent.messages=n.filter((function(e){return-1===u.indexOf(e)})),e._logEvent.level.label=s,e._logEvent.level.value=a,i(s,e._logEvent,c),e._logEvent=tF(u)}function tF(e){return{ts:0,messages:[],bindings:e||[],level:{label:"",value:0}}}function nF(e){const t={type:e.constructor.name,msg:e.message,stack:e.stack};for(const n in e)void 0===t[n]&&(t[n]=e[n]);return t}function rF(e){return"function"==typeof e.timestamp?e.timestamp:!1===e.timestamp?aF:cF}function iF(){return{}}function oF(e){return e}function sF(){}function aF(){return!1}function cF(){return Date.now()}function uF(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function lF(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}function dF(e){lF(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):("string"!=typeof e&&"[object String]"!==t||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}function fF(e,t){lF(2,arguments);var n=dF(e),r=uF(t);return isNaN(r)?new Date(NaN):r?(n.setDate(n.getDate()+r),n):n}function hF(e,t){lF(2,arguments);var n=dF(e),r=uF(t);if(isNaN(r))return new Date(NaN);if(!r)return n;var i=n.getDate(),o=new Date(n.getTime());o.setMonth(n.getMonth()+r+1,0);var s=o.getDate();return i>=s?o:(n.setFullYear(o.getFullYear(),o.getMonth(),i),n)}function pF(e,t){lF(2,arguments);var n=dF(e).getTime(),r=uF(t);return new Date(n+r)}function mF(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function gF(e){lF(1,arguments);var t=dF(e);return t.setHours(0,0,0,0),t}Kj.levels={values:{fatal:60,error:50,warn:40,info:30,debug:20,trace:10},labels:{10:"trace",20:"debug",30:"info",40:"warn",50:"error",60:"fatal"}},Kj.stdSerializers=zj,Kj.stdTimeFunctions=Object.assign({},{nullTime:aF,epochTime:cF,unixTime:function(){return Math.round(Date.now()/1e3)},isoTime:function(){return new Date(Date.now()).toISOString()}}),qj.exports.default=Kj,qj.exports.pino=Kj;function yF(e,t){lF(2,arguments);var n=gF(e),r=gF(t),i=n.getTime()-mF(n),o=r.getTime()-mF(r);return Math.round((i-o)/864e5)}function vF(e,t){lF(2,arguments);var n=uF(t);return hF(e,12*n)}function bF(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{inclusive:!1};lF(2,arguments);var r=e||{},i=t||{},o=dF(r.start).getTime(),s=dF(r.end).getTime(),a=dF(i.start).getTime(),c=dF(i.end).getTime();if(!(o<=s&&a<=c))throw new RangeError("Invalid interval");return n.inclusive?o<=c&&a<=s:o0?"in "+r:r+" ago":r},formatLong:CF,formatRelative:function(e,t,n,r){return OF[e]},localize:{ordinalNumber:function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:AF({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:AF({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:AF({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:AF({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:AF({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(NF={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}},function(e,t){var n=String(e),r=t||{},i=n.match(NF.matchPattern);if(!i)return null;var o=i[0],s=n.match(NF.parsePattern);if(!s)return null;var a=NF.valueCallback?NF.valueCallback(s[0]):s[0];return{value:a=r.valueCallback?r.valueCallback(a):a,rest:n.slice(o.length)}}),era:IF({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:IF({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:IF({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:IF({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:IF({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};function MF(e,t){lF(2,arguments);var n=uF(t);return pF(e,-n)}function RF(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length0?n:1-n;return RF("yy"===t?r%100:r,t.length)},M:function(e,t){var n=e.getUTCMonth();return"M"===t?String(n+1):RF(n+1,2)},d:function(e,t){return RF(e.getUTCDate(),t.length)},a:function(e,t){var n=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return"am"===n?"a.m.":"p.m."}},h:function(e,t){return RF(e.getUTCHours()%12||12,t.length)},H:function(e,t){return RF(e.getUTCHours(),t.length)},m:function(e,t){return RF(e.getUTCMinutes(),t.length)},s:function(e,t){return RF(e.getUTCSeconds(),t.length)},S:function(e,t){var n=t.length,r=e.getUTCMilliseconds();return RF(Math.floor(r*Math.pow(10,n-3)),t.length)}};function PF(e){lF(1,arguments);var t=1,n=dF(e),r=n.getUTCDay(),i=(r=i.getTime()?n+1:t.getTime()>=s.getTime()?n:n-1}function FF(e){lF(1,arguments);var t=jF(e),n=new Date(0);n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0);var r=PF(n);return r}function UF(e){lF(1,arguments);var t=dF(e),n=PF(t).getTime()-FF(t).getTime();return Math.round(n/6048e5)+1}function qF(e,t){lF(1,arguments);var n=t||{},r=n.locale,i=r&&r.options&&r.options.weekStartsOn,o=null==i?0:uF(i),s=null==n.weekStartsOn?o:uF(n.weekStartsOn);if(!(s>=0&&s<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var a=dF(e),c=a.getUTCDay(),u=(c=1&&c<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var u=new Date(0);u.setUTCFullYear(r+1,0,c),u.setUTCHours(0,0,0,0);var l=qF(u,t),d=new Date(0);d.setUTCFullYear(r,0,c),d.setUTCHours(0,0,0,0);var f=qF(d,t);return n.getTime()>=l.getTime()?r+1:n.getTime()>=f.getTime()?r:r-1}function VF(e,t){lF(1,arguments);var n=t||{},r=n.locale,i=r&&r.options&&r.options.firstWeekContainsDate,o=null==i?1:uF(i),s=null==n.firstWeekContainsDate?o:uF(n.firstWeekContainsDate),a=BF(e,t),c=new Date(0);c.setUTCFullYear(a,0,s),c.setUTCHours(0,0,0,0);var u=qF(c,t);return u}function HF(e,t){lF(1,arguments);var n=dF(e),r=qF(n,t).getTime()-VF(n,t).getTime();return Math.round(r/6048e5)+1}var zF="midnight",$F="noon",WF="morning",GF="afternoon",YF="evening",QF="night";function KF(e,t){var n=e>0?"-":"+",r=Math.abs(e),i=Math.floor(r/60),o=r%60;if(0===o)return n+String(i);var s=t||"";return n+String(i)+s+RF(o,2)}function JF(e,t){return e%60==0?(e>0?"-":"+")+RF(Math.abs(e)/60,2):XF(e,t)}function XF(e,t){var n=t||"",r=e>0?"-":"+",i=Math.abs(e);return r+RF(Math.floor(i/60),2)+n+RF(i%60,2)}var ZF={G:function(e,t,n){var r=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){var r=e.getUTCFullYear(),i=r>0?r:1-r;return n.ordinalNumber(i,{unit:"year"})}return LF.y(e,t)},Y:function(e,t,n,r){var i=BF(e,r),o=i>0?i:1-i;return"YY"===t?RF(o%100,2):"Yo"===t?n.ordinalNumber(o,{unit:"year"}):RF(o,t.length)},R:function(e,t){return RF(jF(e),t.length)},u:function(e,t){return RF(e.getUTCFullYear(),t.length)},Q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return RF(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return RF(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){var r=e.getUTCMonth();switch(t){case"M":case"MM":return LF.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){var r=e.getUTCMonth();switch(t){case"L":return String(r+1);case"LL":return RF(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){var i=HF(e,r);return"wo"===t?n.ordinalNumber(i,{unit:"week"}):RF(i,t.length)},I:function(e,t,n){var r=UF(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):RF(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):LF.d(e,t)},D:function(e,t,n){var r=function(e){lF(1,arguments);var t=dF(e),n=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var r=t.getTime(),i=n-r;return Math.floor(i/864e5)+1}(e);return"Do"===t?n.ordinalNumber(r,{unit:"dayOfYear"}):RF(r,t.length)},E:function(e,t,n){var r=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){var i=e.getUTCDay(),o=(i-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return RF(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});case"eeee":default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){var i=e.getUTCDay(),o=(i-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return RF(o,t.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});case"cccc":default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,n){var r=e.getUTCDay(),i=0===r?7:r;switch(t){case"i":return String(i);case"ii":return RF(i,t.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){var r=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){var r,i=e.getUTCHours();switch(r=12===i?$F:0===i?zF:i/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){var r,i=e.getUTCHours();switch(r=i>=17?YF:i>=12?GF:i>=4?WF:QF,t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){var r=e.getUTCHours()%12;return 0===r&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return LF.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):LF.H(e,t)},K:function(e,t,n){var r=e.getUTCHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):RF(r,t.length)},k:function(e,t,n){var r=e.getUTCHours();return 0===r&&(r=24),"ko"===t?n.ordinalNumber(r,{unit:"hour"}):RF(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):LF.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):LF.s(e,t)},S:function(e,t){return LF.S(e,t)},X:function(e,t,n,r){var i=(r._originalDate||e).getTimezoneOffset();if(0===i)return"Z";switch(t){case"X":return JF(i);case"XXXX":case"XX":return XF(i);case"XXXXX":case"XXX":default:return XF(i,":")}},x:function(e,t,n,r){var i=(r._originalDate||e).getTimezoneOffset();switch(t){case"x":return JF(i);case"xxxx":case"xx":return XF(i);case"xxxxx":case"xxx":default:return XF(i,":")}},O:function(e,t,n,r){var i=(r._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+KF(i,":");case"OOOO":default:return"GMT"+XF(i,":")}},z:function(e,t,n,r){var i=(r._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+KF(i,":");case"zzzz":default:return"GMT"+XF(i,":")}},t:function(e,t,n,r){var i=r._originalDate||e;return RF(Math.floor(i.getTime()/1e3),t.length)},T:function(e,t,n,r){return RF((r._originalDate||e).getTime(),t.length)}};function eU(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}}function tU(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}}var nU={p:tU,P:function(e,t){var n,r=e.match(/(P+)(p+)?/),i=r[1],o=r[2];if(!o)return eU(e,t);switch(i){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;case"PPPP":default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",eU(i,t)).replace("{{time}}",tU(o,t))}},rU=["D","DD"],iU=["YY","YYYY"];function oU(e){return-1!==rU.indexOf(e)}function sU(e){return-1!==iU.indexOf(e)}function aU(e,t,n){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://git.io/fxCyr"));if("YY"===e)throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://git.io/fxCyr"));if("D"===e)throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://git.io/fxCyr"));if("DD"===e)throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://git.io/fxCyr"))}var cU=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,uU=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,lU=/^'([^]*?)'?$/,dU=/''/g,fU=/[a-zA-Z]/;function hU(e,t,n){lF(2,arguments);var r=String(t),i=n||{},o=i.locale||DF,s=o.options&&o.options.firstWeekContainsDate,a=null==s?1:uF(s),c=null==i.firstWeekContainsDate?a:uF(i.firstWeekContainsDate);if(!(c>=1&&c<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var u=o.options&&o.options.weekStartsOn,l=null==u?0:uF(u),d=null==i.weekStartsOn?l:uF(i.weekStartsOn);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!o.localize)throw new RangeError("locale must contain localize property");if(!o.formatLong)throw new RangeError("locale must contain formatLong property");var f=dF(e);if(!_F(f))throw new RangeError("Invalid time value");var h=mF(f),p=MF(f,h),m={firstWeekContainsDate:c,weekStartsOn:d,locale:o,_originalDate:f},g=r.match(uU).map((function(e){var t=e[0];return"p"===t||"P"===t?(0,nU[t])(e,o.formatLong,m):e})).join("").match(cU).map((function(n){if("''"===n)return"'";var r=n[0];if("'"===r)return pU(n);var s=ZF[r];if(s)return!i.useAdditionalWeekYearTokens&&sU(n)&&aU(n,t,e),!i.useAdditionalDayOfYearTokens&&oU(n)&&aU(n,t,e),s(p,n,o.localize,m);if(r.match(fU))throw new RangeError("Format string contains an unescaped latin alphabet character `"+r+"`");return n})).join("");return g}function pU(e){return e.match(lU)[1].replace(dU,"'")}function mU(e,t){if(null==e)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in t=t||{})t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function gU(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only ".concat(arguments.length," present"));var n=dF(e);if(!_F(n))throw new RangeError("Invalid time value");var r=t||{},i=null==r.format?"extended":String(r.format),o=null==r.representation?"complete":String(r.representation);if("extended"!==i&&"basic"!==i)throw new RangeError("format must be 'extended' or 'basic'");if("date"!==o&&"time"!==o&&"complete"!==o)throw new RangeError("representation must be 'date', 'time', or 'complete'");var s="",a="",c="extended"===i?"-":"",u="extended"===i?":":"";if("time"!==o){var l=RF(n.getDate(),2),d=RF(n.getMonth()+1,2),f=RF(n.getFullYear(),4);s="".concat(f).concat(c).concat(d).concat(c).concat(l)}if("date"!==o){var h=n.getTimezoneOffset();if(0!==h){var p=Math.abs(h),m=RF(Math.floor(p/60),2),g=RF(p%60,2),y=h<0?"+":"-";a="".concat(y).concat(m,":").concat(g)}else a="Z";var v=RF(n.getHours(),2),b=RF(n.getMinutes(),2),_=RF(n.getSeconds(),2),w=""===s?"":"T",S=[v,b,_].join(u);s="".concat(s).concat(w).concat(S).concat(a)}return s}function yU(e){lF(1,arguments);var t=dF(e),n=t.getDay();return n}function vU(e){lF(1,arguments);var t=dF(e),n=t.getFullYear(),r=t.getMonth(),i=new Date(0);return i.setFullYear(n,r+1,0),i.setHours(0,0,0,0),i.getDate()}function bU(e){lF(1,arguments);var t=dF(e),n=t.getMonth();return n}function _U(e){lF(1,arguments);var t=dF(e),n=t.getFullYear();return n}function wU(e,t){lF(2,arguments);var n=uF(t);return fF(e,-n)}function SU(e,t){lF(2,arguments);var n=uF(t);return hF(e,-n)}function xU(e,t){lF(2,arguments);var n=dF(e),r=dF(t);return n.getTime()>r.getTime()}function kU(e,t){lF(2,arguments);var n=dF(e),r=dF(t);return n.getTime()=0&&a<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var c=dF(e),u=uF(t),l=c.getUTCDay(),d=u%7,f=(d+7)%7,h=(f0,i=r?t:1-t;if(i<=50)n=e||100;else{var o=i+50;n=e+100*Math.floor(o/100)-(e>=o%100?100:0)}return r?n:1-n}var rq=[31,28,31,30,31,30,31,31,30,31,30,31],iq=[31,29,31,30,31,30,31,31,30,31,30,31];function oq(e){return e%400==0||e%4==0&&e%100!=0}var sq={G:{priority:140,parse:function(e,t,n,r){switch(t){case"G":case"GG":case"GGG":return n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"});case"GGGGG":return n.era(e,{width:"narrow"});case"GGGG":default:return n.era(e,{width:"wide"})||n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"})}},set:function(e,t,n,r){return t.era=n,e.setUTCFullYear(n,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["R","u","t","T"]},y:{priority:130,parse:function(e,t,n,r){var i=function(e){return{year:e,isTwoDigitYear:"yy"===t}};switch(t){case"y":return ZU(4,e,i);case"yo":return n.ordinalNumber(e,{unit:"year",valueCallback:i});default:return ZU(t.length,e,i)}},validate:function(e,t,n){return t.isTwoDigitYear||t.year>0},set:function(e,t,n,r){var i=e.getUTCFullYear();if(n.isTwoDigitYear){var o=nq(n.year,i);return e.setUTCFullYear(o,0,1),e.setUTCHours(0,0,0,0),e}var s="era"in t&&1!==t.era?1-n.year:n.year;return e.setUTCFullYear(s,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","u","w","I","i","e","c","t","T"]},Y:{priority:130,parse:function(e,t,n,r){var i=function(e){return{year:e,isTwoDigitYear:"YY"===t}};switch(t){case"Y":return ZU(4,e,i);case"Yo":return n.ordinalNumber(e,{unit:"year",valueCallback:i});default:return ZU(t.length,e,i)}},validate:function(e,t,n){return t.isTwoDigitYear||t.year>0},set:function(e,t,n,r){var i=BF(e,r);if(n.isTwoDigitYear){var o=nq(n.year,i);return e.setUTCFullYear(o,0,r.firstWeekContainsDate),e.setUTCHours(0,0,0,0),qF(e,r)}var s="era"in t&&1!==t.era?1-n.year:n.year;return e.setUTCFullYear(s,0,r.firstWeekContainsDate),e.setUTCHours(0,0,0,0),qF(e,r)},incompatibleTokens:["y","R","u","Q","q","M","L","I","d","D","i","t","T"]},R:{priority:130,parse:function(e,t,n,r){return eq("R"===t?4:t.length,e)},set:function(e,t,n,r){var i=new Date(0);return i.setUTCFullYear(n,0,4),i.setUTCHours(0,0,0,0),PF(i)},incompatibleTokens:["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]},u:{priority:130,parse:function(e,t,n,r){return eq("u"===t?4:t.length,e)},set:function(e,t,n,r){return e.setUTCFullYear(n,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["G","y","Y","R","w","I","i","e","c","t","T"]},Q:{priority:120,parse:function(e,t,n,r){switch(t){case"Q":case"QQ":return ZU(t.length,e);case"Qo":return n.ordinalNumber(e,{unit:"quarter"});case"QQQ":return n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(e,{width:"wide",context:"formatting"})||n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=1&&t<=4},set:function(e,t,n,r){return e.setUTCMonth(3*(n-1),1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]},q:{priority:120,parse:function(e,t,n,r){switch(t){case"q":case"qq":return ZU(t.length,e);case"qo":return n.ordinalNumber(e,{unit:"quarter"});case"qqq":return n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(e,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(e,{width:"wide",context:"standalone"})||n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,n){return t>=1&&t<=4},set:function(e,t,n,r){return e.setUTCMonth(3*(n-1),1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]},M:{priority:110,parse:function(e,t,n,r){var i=function(e){return e-1};switch(t){case"M":return KU(EU,e,i);case"MM":return ZU(2,e,i);case"Mo":return n.ordinalNumber(e,{unit:"month",valueCallback:i});case"MMM":return n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(e,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(e,{width:"wide",context:"formatting"})||n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=0&&t<=11},set:function(e,t,n,r){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]},L:{priority:110,parse:function(e,t,n,r){var i=function(e){return e-1};switch(t){case"L":return KU(EU,e,i);case"LL":return ZU(2,e,i);case"Lo":return n.ordinalNumber(e,{unit:"month",valueCallback:i});case"LLL":return n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(e,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(e,{width:"wide",context:"standalone"})||n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,n){return t>=0&&t<=11},set:function(e,t,n,r){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]},w:{priority:100,parse:function(e,t,n,r){switch(t){case"w":return KU(AU,e);case"wo":return n.ordinalNumber(e,{unit:"week"});default:return ZU(t.length,e)}},validate:function(e,t,n){return t>=1&&t<=53},set:function(e,t,n,r){return qF(function(e,t,n){lF(2,arguments);var r=dF(e),i=uF(t),o=HF(r,n)-i;return r.setUTCDate(r.getUTCDate()-7*o),r}(e,n,r),r)},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","i","t","T"]},I:{priority:100,parse:function(e,t,n,r){switch(t){case"I":return KU(AU,e);case"Io":return n.ordinalNumber(e,{unit:"week"});default:return ZU(t.length,e)}},validate:function(e,t,n){return t>=1&&t<=53},set:function(e,t,n,r){return PF(function(e,t){lF(2,arguments);var n=dF(e),r=uF(t),i=UF(n)-r;return n.setUTCDate(n.getUTCDate()-7*i),n}(e,n,r),r)},incompatibleTokens:["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]},d:{priority:90,subPriority:1,parse:function(e,t,n,r){switch(t){case"d":return KU(CU,e);case"do":return n.ordinalNumber(e,{unit:"date"});default:return ZU(t.length,e)}},validate:function(e,t,n){var r=oq(e.getUTCFullYear()),i=e.getUTCMonth();return r?t>=1&&t<=iq[i]:t>=1&&t<=rq[i]},set:function(e,t,n,r){return e.setUTCDate(n),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","w","I","D","i","e","c","t","T"]},D:{priority:90,subPriority:1,parse:function(e,t,n,r){switch(t){case"D":case"DD":return KU(OU,e);case"Do":return n.ordinalNumber(e,{unit:"date"});default:return ZU(t.length,e)}},validate:function(e,t,n){return oq(e.getUTCFullYear())?t>=1&&t<=366:t>=1&&t<=365},set:function(e,t,n,r){return e.setUTCMonth(0,n),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]},E:{priority:90,parse:function(e,t,n,r){switch(t){case"E":case"EE":case"EEE":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEE":default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=0&&t<=6},set:function(e,t,n,r){return(e=TU(e,n,r)).setUTCHours(0,0,0,0),e},incompatibleTokens:["D","i","e","c","t","T"]},e:{priority:90,parse:function(e,t,n,r){var i=function(e){var t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"e":case"ee":return ZU(t.length,e,i);case"eo":return n.ordinalNumber(e,{unit:"day",valueCallback:i});case"eee":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeeee":return n.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeee":default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=0&&t<=6},set:function(e,t,n,r){return(e=TU(e,n,r)).setUTCHours(0,0,0,0),e},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]},c:{priority:90,parse:function(e,t,n,r){var i=function(e){var t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"c":case"cc":return ZU(t.length,e,i);case"co":return n.ordinalNumber(e,{unit:"day",valueCallback:i});case"ccc":return n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"ccccc":return n.day(e,{width:"narrow",context:"standalone"});case"cccccc":return n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"cccc":default:return n.day(e,{width:"wide",context:"standalone"})||n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,n){return t>=0&&t<=6},set:function(e,t,n,r){return(e=TU(e,n,r)).setUTCHours(0,0,0,0),e},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]},i:{priority:90,parse:function(e,t,n,r){var i=function(e){return 0===e?7:e};switch(t){case"i":case"ii":return ZU(t.length,e);case"io":return n.ordinalNumber(e,{unit:"day"});case"iii":return n.day(e,{width:"abbreviated",context:"formatting",valueCallback:i})||n.day(e,{width:"short",context:"formatting",valueCallback:i})||n.day(e,{width:"narrow",context:"formatting",valueCallback:i});case"iiiii":return n.day(e,{width:"narrow",context:"formatting",valueCallback:i});case"iiiiii":return n.day(e,{width:"short",context:"formatting",valueCallback:i})||n.day(e,{width:"narrow",context:"formatting",valueCallback:i});case"iiii":default:return n.day(e,{width:"wide",context:"formatting",valueCallback:i})||n.day(e,{width:"abbreviated",context:"formatting",valueCallback:i})||n.day(e,{width:"short",context:"formatting",valueCallback:i})||n.day(e,{width:"narrow",context:"formatting",valueCallback:i})}},validate:function(e,t,n){return t>=1&&t<=7},set:function(e,t,n,r){return(e=function(e,t){lF(2,arguments);var n=uF(t);n%7==0&&(n-=7);var r=1,i=dF(e),o=i.getUTCDay(),s=((n%7+7)%7=1&&t<=12},set:function(e,t,n,r){var i=e.getUTCHours()>=12;return i&&n<12?e.setUTCHours(n+12,0,0,0):i||12!==n?e.setUTCHours(n,0,0,0):e.setUTCHours(0,0,0,0),e},incompatibleTokens:["H","K","k","t","T"]},H:{priority:70,parse:function(e,t,n,r){switch(t){case"H":return KU(IU,e);case"Ho":return n.ordinalNumber(e,{unit:"hour"});default:return ZU(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=23},set:function(e,t,n,r){return e.setUTCHours(n,0,0,0),e},incompatibleTokens:["a","b","h","K","k","t","T"]},K:{priority:70,parse:function(e,t,n,r){switch(t){case"K":return KU(DU,e);case"Ko":return n.ordinalNumber(e,{unit:"hour"});default:return ZU(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=11},set:function(e,t,n,r){return e.getUTCHours()>=12&&n<12?e.setUTCHours(n+12,0,0,0):e.setUTCHours(n,0,0,0),e},incompatibleTokens:["a","b","h","H","k","t","T"]},k:{priority:70,parse:function(e,t,n,r){switch(t){case"k":return KU(NU,e);case"ko":return n.ordinalNumber(e,{unit:"hour"});default:return ZU(t.length,e)}},validate:function(e,t,n){return t>=1&&t<=24},set:function(e,t,n,r){var i=n<=24?n%24:n;return e.setUTCHours(i,0,0,0),e},incompatibleTokens:["a","b","h","H","K","t","T"]},m:{priority:60,parse:function(e,t,n,r){switch(t){case"m":return KU(RU,e);case"mo":return n.ordinalNumber(e,{unit:"minute"});default:return ZU(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=59},set:function(e,t,n,r){return e.setUTCMinutes(n,0,0),e},incompatibleTokens:["t","T"]},s:{priority:50,parse:function(e,t,n,r){switch(t){case"s":return KU(LU,e);case"so":return n.ordinalNumber(e,{unit:"second"});default:return ZU(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=59},set:function(e,t,n,r){return e.setUTCSeconds(n,0),e},incompatibleTokens:["t","T"]},S:{priority:30,parse:function(e,t,n,r){return ZU(t.length,e,(function(e){return Math.floor(e*Math.pow(10,3-t.length))}))},set:function(e,t,n,r){return e.setUTCMilliseconds(n),e},incompatibleTokens:["t","T"]},X:{priority:10,parse:function(e,t,n,r){switch(t){case"X":return JU($U,e);case"XX":return JU(WU,e);case"XXXX":return JU(GU,e);case"XXXXX":return JU(QU,e);case"XXX":default:return JU(YU,e)}},set:function(e,t,n,r){return t.timestampIsSet?e:new Date(e.getTime()-n)},incompatibleTokens:["t","T","x"]},x:{priority:10,parse:function(e,t,n,r){switch(t){case"x":return JU($U,e);case"xx":return JU(WU,e);case"xxxx":return JU(GU,e);case"xxxxx":return JU(QU,e);case"xxx":default:return JU(YU,e)}},set:function(e,t,n,r){return t.timestampIsSet?e:new Date(e.getTime()-n)},incompatibleTokens:["t","T","X"]},t:{priority:40,parse:function(e,t,n,r){return XU(e)},set:function(e,t,n,r){return[new Date(1e3*n),{timestampIsSet:!0}]},incompatibleTokens:"*"},T:{priority:20,parse:function(e,t,n,r){return XU(e)},set:function(e,t,n,r){return[new Date(n),{timestampIsSet:!0}]},incompatibleTokens:"*"}},aq=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,cq=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,uq=/^'([^]*?)'?$/,lq=/''/g,dq=/\S/,fq=/[a-zA-Z]/;function hq(e,t,n,r){lF(3,arguments);var i=String(e),o=String(t),s=r||{},a=s.locale||DF;if(!a.match)throw new RangeError("locale must contain match property");var c=a.options&&a.options.firstWeekContainsDate,u=null==c?1:uF(c),l=null==s.firstWeekContainsDate?u:uF(s.firstWeekContainsDate);if(!(l>=1&&l<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var d=a.options&&a.options.weekStartsOn,f=null==d?0:uF(d),h=null==s.weekStartsOn?f:uF(s.weekStartsOn);if(!(h>=0&&h<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===o)return""===i?dF(n):new Date(NaN);var p,m={firstWeekContainsDate:l,weekStartsOn:h,locale:a},g=[{priority:10,subPriority:-1,set:pq,index:0}],y=o.match(cq).map((function(e){var t=e[0];return"p"===t||"P"===t?(0,nU[t])(e,a.formatLong,m):e})).join("").match(aq),v=[];for(p=0;p0&&dq.test(i))return new Date(NaN);var C=g.map((function(e){return e.priority})).sort((function(e,t){return t-e})).filter((function(e,t,n){return n.indexOf(e)===t})).map((function(e){return g.filter((function(t){return t.priority===e})).sort((function(e,t){return t.subPriority-e.subPriority}))})).map((function(e){return e[0]})),O=dF(n);if(isNaN(O))return new Date(NaN);var A=MF(O,mF(O)),I={};for(p=0;p2)return n;if(/:/.test(r[0])?(n.date=null,t=r[0]):(n.date=r[0],t=r[1],vq.timeZoneDelimiter.test(n.date)&&(n.date=e.split(vq.timeZoneDelimiter)[0],t=e.substr(n.date.length,e.length))),t){var i=vq.timezone.exec(t);i?(n.time=t.replace(i[1],""),n.timezone=i[1]):n.time=t}return n}function kq(e,t){var n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:null};var i=r[1]&&parseInt(r[1]),o=r[2]&&parseInt(r[2]);return{year:null==o?i:100*o,restDateString:e.slice((r[1]||r[2]).length)}}function Tq(e,t){if(null===t)return null;var n=e.match(bq);if(!n)return null;var r=!!n[4],i=Eq(n[1]),o=Eq(n[2])-1,s=Eq(n[3]),a=Eq(n[4]),c=Eq(n[5])-1;if(r)return function(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}(0,a,c)?function(e,t,n){var r=new Date(0);r.setUTCFullYear(e,0,4);var i=r.getUTCDay()||7,o=7*(t-1)+n+1-i;return r.setUTCDate(r.getUTCDate()+o),r}(t,a,c):new Date(NaN);var u=new Date(0);return function(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(Iq[t]||(Nq(e)?29:28))}(t,o,s)&&function(e,t){return t>=1&&t<=(Nq(e)?366:365)}(t,i)?(u.setUTCFullYear(t,o,Math.max(i,s)),u):new Date(NaN)}function Eq(e){return e?parseInt(e):1}function Cq(e){var t=e.match(_q);if(!t)return null;var n=Oq(t[1]),r=Oq(t[2]),i=Oq(t[3]);return function(e,t,n){if(24===e)return 0===t&&0===n;return n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}(n,r,i)?36e5*n+6e4*r+1e3*i:NaN}function Oq(e){return e&&parseFloat(e.replace(",","."))||0}function Aq(e){if("Z"===e)return 0;var t=e.match(wq);if(!t)return 0;var n="+"===t[1]?-1:1,r=parseInt(t[2]),i=t[3]&&parseInt(t[3])||0;return function(e,t){return t>=0&&t<=59}(0,i)?n*(36e5*r+6e4*i):NaN}var Iq=[31,null,31,30,31,30,31,31,30,31,30,31];function Nq(e){return e%400==0||e%4==0&&e%100}function Dq(e,t){lF(2,arguments);var n=uF(t);return vF(e,-n)}var Mq={prefix:"fal",iconName:"trash-can",icon:[448,512,[61460,"trash-alt"],"f2ed","M164.2 39.5L148.9 64H299.1L283.8 39.5c-2.9-4.7-8.1-7.5-13.6-7.5H177.7c-5.5 0-10.6 2.8-13.6 7.5zM311 22.6L336.9 64H384h32 16c8.8 0 16 7.2 16 16s-7.2 16-16 16H416V432c0 44.2-35.8 80-80 80H112c-44.2 0-80-35.8-80-80V96H16C7.2 96 0 88.8 0 80s7.2-16 16-16H32 64h47.1L137 22.6C145.8 8.5 161.2 0 177.7 0h92.5c16.6 0 31.9 8.5 40.7 22.6zM64 96V432c0 26.5 21.5 48 48 48H336c26.5 0 48-21.5 48-48V96H64zm80 80V400c0 8.8-7.2 16-16 16s-16-7.2-16-16V176c0-8.8 7.2-16 16-16s16 7.2 16 16zm96 0V400c0 8.8-7.2 16-16 16s-16-7.2-16-16V176c0-8.8 7.2-16 16-16s16 7.2 16 16zm96 0V400c0 8.8-7.2 16-16 16s-16-7.2-16-16V176c0-8.8 7.2-16 16-16s16 7.2 16 16z"]},Rq={prefix:"fal",iconName:"bag-shopping",icon:[448,512,["shopping-bag"],"f290","M160 96v32H288V96c0-35.3-28.7-64-64-64s-64 28.7-64 64zm-32 64H48c-8.8 0-16 7.2-16 16V416c0 35.3 28.7 64 64 64H352c35.3 0 64-28.7 64-64V176c0-8.8-7.2-16-16-16H320v80c0 8.8-7.2 16-16 16s-16-7.2-16-16V160H160v80c0 8.8-7.2 16-16 16s-16-7.2-16-16V160zm0-32V96c0-53 43-96 96-96s96 43 96 96v32h80c26.5 0 48 21.5 48 48V416c0 53-43 96-96 96H96c-53 0-96-43-96-96V176c0-26.5 21.5-48 48-48h80z"]},Lq={prefix:"fal",iconName:"wand-magic-sparkles",icon:[576,512,["magic-wand-sparkles"],"e2ca","M458.3 34.9c3.1-3.1 8.2-3.1 11.3 0l39.4 39.4c3.1 3.1 3.1 8.2 0 11.3L388.7 206.1l-50.7-50.7L458.3 34.9zM66.9 426.3L315.3 177.9l50.7 50.7L117.7 477.1c-3.1 3.1-8.2 3.1-11.3 0L66.9 437.7c-3.1-3.1-3.1-8.2 0-11.3zM435.7 12.3L44.3 403.7c-15.6 15.6-15.6 40.9 0 56.6l39.4 39.4c15.6 15.6 40.9 15.6 56.6 0L531.7 108.3c15.6-15.6 15.6-40.9 0-56.6L492.3 12.3c-15.6-15.6-40.9-15.6-56.6 0zM128 80c0-8.8-7.2-16-16-16s-16 7.2-16 16v48H48c-8.8 0-16 7.2-16 16s7.2 16 16 16H96v48c0 8.8 7.2 16 16 16s16-7.2 16-16V160h48c8.8 0 16-7.2 16-16s-7.2-16-16-16H128V80zM464 320c-8.8 0-16 7.2-16 16v48H400c-8.8 0-16 7.2-16 16s7.2 16 16 16h48v48c0 8.8 7.2 16 16 16s16-7.2 16-16V416h48c8.8 0 16-7.2 16-16s-7.2-16-16-16H480V336c0-8.8-7.2-16-16-16zM252.2 16c0-6.7-5.4-12.2-12.2-12.2s-12.2 5.4-12.2 12.2V35.8H208c-6.7 0-12.2 5.4-12.2 12.2s5.4 12.2 12.2 12.2h19.8V80c0 6.7 5.4 12.2 12.2 12.2s12.2-5.4 12.2-12.2V60.2H272c6.7 0 12.2-5.4 12.2-12.2s-5.4-12.2-12.2-12.2H252.2V16z"]},Pq={prefix:"fal",iconName:"gift",icon:[512,512,[127873],"f06b","M365.1 32c-17.6 0-33.9 9-43.2 23.9l-45 72.1H288h80c26.5 0 48-21.5 48-48s-21.5-48-48-48h-2.9zm-130 96l-45-72.1C180.8 41 164.5 32 146.9 32H144c-26.5 0-48 21.5-48 48s21.5 48 48 48h80 11.1zM256 101l38.8-62c15.2-24.2 41.7-39 70.3-39H368c44.2 0 80 35.8 80 80c0 18-6 34.6-16 48h32c26.5 0 48 21.5 48 48v64c0 20.9-13.4 38.7-32 45.3V288 448c0 35.3-28.7 64-64 64H96c-35.3 0-64-28.7-64-64V288v-2.7C13.4 278.7 0 260.9 0 240V176c0-26.5 21.5-48 48-48H80C70 114.6 64 98 64 80C64 35.8 99.8 0 144 0h2.9c28.6 0 55.2 14.7 70.3 39L256 101zM144 160H48c-8.8 0-16 7.2-16 16v64c0 8.8 7.2 16 16 16H64 240V160H224 144zm128 0v96H448h16c8.8 0 16-7.2 16-16V176c0-8.8-7.2-16-16-16H368 288 272zM240 288H64V448c0 17.7 14.3 32 32 32H240V288zm32 192H416c17.7 0 32-14.3 32-32V288H272V480z"]},jq={prefix:"fal",iconName:"circle-check",icon:[512,512,[61533,"check-circle"],"f058","M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM363.3 203.3c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L224 297.4l-52.7-52.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l64 64c6.2 6.2 16.4 6.2 22.6 0l128-128z"]},Fq={prefix:"fal",iconName:"heart",icon:[512,512,[128153,128154,128155,128156,128420,129293,129294,129505,9829,10084,61578],"f004","M244 130.6l-12-13.5-4.2-4.7c-26-29.2-65.3-42.8-103.8-35.8c-53.3 9.7-92 56.1-92 110.3v3.5c0 32.3 13.4 63.1 37.1 85.1L253 446.8c.8 .7 1.9 1.2 3 1.2s2.2-.4 3-1.2L443 275.5c23.6-22 37-52.8 37-85.1v-3.5c0-54.2-38.7-100.6-92-110.3c-38.5-7-77.8 6.6-103.8 35.8l-4.2 4.7-12 13.5c-3 3.4-7.4 5.4-12 5.4s-8.9-2-12-5.4zm34.9-57.1C311 48.4 352.7 37.7 393.7 45.1C462.2 57.6 512 117.3 512 186.9v3.5c0 36-13.1 70.6-36.6 97.5c-3.4 3.8-6.9 7.5-10.7 11l-184 171.3c-.8 .8-1.7 1.5-2.6 2.2c-6.3 4.9-14.1 7.5-22.1 7.5c-9.2 0-18-3.5-24.8-9.7L47.2 299c-3.8-3.5-7.3-7.2-10.7-11C13.1 261 0 226.4 0 190.4v-3.5C0 117.3 49.8 57.6 118.3 45.1c40.9-7.4 82.6 3.2 114.7 28.4c6.7 5.3 13 11.1 18.7 17.6l4.2 4.7 4.2-4.7c4.2-4.7 8.6-9.1 13.3-13.1c1.8-1.5 3.6-3 5.4-4.5z"]},Uq={prefix:"fal",iconName:"cart-circle-plus",icon:[640,512,[],"e3f3","M16 0C7.2 0 0 7.2 0 16s7.2 16 16 16H53.9c7.6 0 14.2 5.3 15.7 12.8l58.9 288c6.1 29.8 32.3 51.2 62.7 51.2H320.7c-.5-5.3-.7-10.6-.7-16s.2-10.7 .7-16H191.2c-15.2 0-28.3-10.7-31.4-25.6L152 288H339.2c5.9-11.4 12.9-22.2 21-32H145.4L106.1 64H539.5L507.4 192.4c10.9 .7 21.5 2.4 31.7 5L570.6 71.8c5-20.2-10.2-39.8-31-39.8H99.1C92.5 13 74.4 0 53.9 0H16zM168 456a24 24 0 1 1 48 0 24 24 0 1 1 -48 0zm80 0a56 56 0 1 0 -112 0 56 56 0 1 0 112 0zm136-88a112 112 0 1 1 224 0 112 112 0 1 1 -224 0zm256 0a144 144 0 1 0 -288 0 144 144 0 1 0 288 0zM512 304c0-8.8-7.2-16-16-16s-16 7.2-16 16v48H432c-8.8 0-16 7.2-16 16s7.2 16 16 16h48v48c0 8.8 7.2 16 16 16s16-7.2 16-16V384h48c8.8 0 16-7.2 16-16s-7.2-16-16-16H512V304z"]},qq={prefix:"fal",iconName:"circle-question",icon:[512,512,[62108,"question-circle"],"f059","M480 256A224 224 0 1 0 32 256a224 224 0 1 0 448 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zm168.7-86.2c6.5-24.6 28.7-41.8 54.2-41.8H280c35.5 0 64 29 64 64.3c0 24-13.4 46.2-34.9 57.2L272 268.3V288c0 8.8-7.2 16-16 16s-16-7.2-16-16V258.5c0-6 3.4-11.5 8.7-14.3l45.8-23.4c10.7-5.4 17.5-16.6 17.5-28.7c0-17.8-14.4-32.3-32-32.3H222.9c-10.9 0-20.5 7.4-23.2 17.9l-.2 .7c-2.2 8.5-11 13.7-19.5 11.4s-13.7-11-11.4-19.5l.2-.7zM232 352a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z"]},Bq={prefix:"fal",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM208 352c-8.8 0-16 7.2-16 16s7.2 16 16 16h96c8.8 0 16-7.2 16-16s-7.2-16-16-16H272V240c0-8.8-7.2-16-16-16H216c-8.8 0-16 7.2-16 16s7.2 16 16 16h24v96H208zm48-168a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"]},Vq={prefix:"fal",iconName:"circle-x",icon:[512,512,[],"e12e","M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM172.1 133.6c-5.8-6.7-15.9-7.5-22.6-1.7s-7.5 15.9-1.7 22.6L234.9 256 147.9 357.6c-5.8 6.7-5 16.8 1.7 22.6s16.8 5 22.6-1.7L256 280.6l83.9 97.8c5.8 6.7 15.8 7.5 22.6 1.7s7.5-15.8 1.7-22.6L277.1 256l87.1-101.6c5.8-6.7 5-16.8-1.7-22.6s-16.8-5-22.6 1.7L256 231.4l-83.9-97.8z"]},Hq={prefix:"fal",iconName:"truck-fast",icon:[640,512,["shipping-fast"],"f48b","M128 32H352c17.7 0 32 14.3 32 32V384H250.5c-13.2-37.3-48.7-64-90.5-64c-24.6 0-47 9.2-64 24.4V288H64v96 32c0 53 43 96 96 96s96-43 96-96H384c0 53 43 96 96 96s96-43 96-96h48c8.8 0 16-7.2 16-16s-7.2-16-16-16H608V235.8c0-11.5-4.1-22.5-11.6-31.2l-78.7-91.8C508.6 102.1 495.3 96 481.3 96H416V64c0-35.3-28.7-64-64-64H128C92.7 0 64 28.7 64 64V96H16c-8.8 0-16 7.2-16 16s7.2 16 16 16H240c8.8 0 16-7.2 16-16s-7.2-16-16-16H96V64c0-17.7 14.3-32 32-32zM570.9 224H416V128h65.3c4.7 0 9.1 2 12.1 5.6L570.9 224zM416 256H576V384h-5.5c-13.2-37.3-48.7-64-90.5-64c-24.6 0-47 9.2-64 24.4V256zM96 416a64 64 0 1 1 128 0A64 64 0 1 1 96 416zm384-64a64 64 0 1 1 0 128 64 64 0 1 1 0-128zM48 160c-8.8 0-16 7.2-16 16s7.2 16 16 16H272c8.8 0 16-7.2 16-16s-7.2-16-16-16H48zM16 224c-8.8 0-16 7.2-16 16s7.2 16 16 16H240c8.8 0 16-7.2 16-16s-7.2-16-16-16H16z"]},zq={prefix:"fal",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M324.5 411.1c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L214.6 256 347.1 123.5c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L192 233.4 59.5 100.9c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6L169.4 256 36.9 388.5c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L192 278.6 324.5 411.1z"]},$q={prefix:"fal",iconName:"shield-quartered",icon:[512,512,[],"e575","M66.8 112.3C55.5 117 47.9 127.7 48 139.8c.1 20 1.9 43.2 6.3 68.2H240V38.8L66.8 112.3zM61.1 240C82.3 324.6 133.3 420.1 240 472.6V240H61.1zM272 240V472.6c106.7-52.5 157.7-148 179-232.6H272zm185.8-32c4.3-24.9 6.2-48.2 6.3-68.2c.1-12.1-7.5-22.8-18.8-27.6L272 38.8V208H457.8zM231 7.8c16-6.8 34-6.8 50 0l176.7 75c22 9.3 38.4 31 38.3 57.2c-.5 99.2-41.3 280.7-213.6 363.2c-16.7 8-36.1 8-52.8 0C57.3 420.7 16.5 239.2 16 140c-.1-26.2 16.3-47.9 38.3-57.2L231 7.8z"]},Wq={prefix:"fal",iconName:"magnifying-glass-plus",icon:[512,512,["search-plus"],"f00e","M208 32a176 176 0 1 1 0 352 176 176 0 1 1 0-352zm0 384c51.7 0 99-18.8 135.3-50L484.7 507.3c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L366 343.3c31.2-36.4 50-83.7 50-135.3C416 93.1 322.9 0 208 0S0 93.1 0 208S93.1 416 208 416zM192 304c0 8.8 7.2 16 16 16s16-7.2 16-16V224h80c8.8 0 16-7.2 16-16s-7.2-16-16-16H224V112c0-8.8-7.2-16-16-16s-16 7.2-16 16v80H112c-8.8 0-16 7.2-16 16s7.2 16 16 16h80v80z"]},Gq={prefix:"fal",iconName:"magnifying-glass-minus",icon:[512,512,["search-minus"],"f010","M208 32a176 176 0 1 1 0 352 176 176 0 1 1 0-352zm0 384c51.7 0 99-18.8 135.3-50L484.7 507.3c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L366 343.3c31.2-36.4 50-83.7 50-135.3C416 93.1 322.9 0 208 0S0 93.1 0 208S93.1 416 208 416zM112 192c-8.8 0-16 7.2-16 16s7.2 16 16 16H304c8.8 0 16-7.2 16-16s-7.2-16-16-16H112z"]},Yq={prefix:"fal",iconName:"x",icon:[384,512,[120],"58","M380.2 58.3c5.7-6.7 4.9-16.8-1.9-22.5s-16.8-4.9-22.6 1.9L192 231.2 28.2 37.7c-5.7-6.7-15.8-7.6-22.5-1.9s-7.6 15.8-1.9 22.5L171 256 3.8 453.7c-5.7 6.7-4.9 16.8 1.9 22.6s16.8 4.9 22.5-1.9L192 280.8 355.8 474.3c5.7 6.7 15.8 7.6 22.6 1.9s7.6-15.8 1.9-22.6L213 256 380.2 58.3z"]};function Qq(e,t){for(var n=0;n1&&i.endsWith(o[1])&&(r=o[0]),"".concat(r," - ").concat(i)}},{key:"_addNth",value:function(t){if((t=e._removeEmptyString(t))>3&&t<21)return"th";switch(t%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}}},{key:"_removeEmptyString",value:function(e){"number"==typeof e&&(e=e.toString().trim());for(var t=e.split(""),n=[],r=0;r1&&(n+="s"),[e+" "+n+" ago","in "+e+" "+n]},zh_CN:function(e,t){if(0===t)return["刚刚","片刻后"];var n=nB.IndexMapZH[parseInt(t/2)];return[e+" "+n+"前",e+" "+n+"后"]}};tB.register=function(e,t){rB[e]=t},Object.defineProperty(Zq,"__esModule",{value:!0}),Zq.setTidAttr=Zq.getDateAttr=Zq.getAttr=Zq.nextInterval=Zq.diffSec=Zq.formatDiff=Zq.toDate=Zq.toInt=void 0;var iB=eB,oB=tB,sB=Zq.toInt=function(e){return parseInt(e)},aB=Zq.toDate=function(e){return e instanceof Date?e:!isNaN(e)||/^\d+$/.test(e)?new Date(sB(e)):(e=(e||"").trim().replace(/\.\d+/,"").replace(/-/,"/").replace(/-/,"/").replace(/(\d)T(\d)/,"$1 $2").replace(/Z/," UTC").replace(/([\+\-]\d\d)\:?(\d\d)/," $1$2"),new Date(e))};Zq.formatDiff=function(e,t,n){t=oB.Locales[t]?t:oB.Locales[n]?n:"en";for(var r=0,i=e<0?1:0,o=e=Math.abs(e);e>=iB.SEC_ARRAY[r]&&r(0===(r*=2)?9:1)&&(r+=1),oB.Locales[t](e,r,o)[i].replace("%s",e)},Zq.diffSec=function(e,t){return((t=t?aB(t):new Date)-aB(e))/1e3},Zq.nextInterval=function(e){for(var t=1,n=0,r=Math.abs(e);e>=iB.SEC_ARRAY[n]&&n{if(!this.HAS_DOCUMENT_COOKIE)return;const e=this.cookies;this.cookies=vB(document.cookie),this._checkChanges(e)};const n="undefined"==typeof document?"":document.cookie;this.cookies=function(e){return"string"==typeof e?vB(e):"object"==typeof e&&null!==e?e:{}}(e||n),this.defaultSetOptions=t,this.HAS_DOCUMENT_COOKIE=function(){const e="undefined"==typeof global?void 0:global.TEST_HAS_DOCUMENT_COOKIE;return"boolean"==typeof e?e:"object"==typeof document&&"string"==typeof document.cookie}()}_emitChange(e){for(let t=0;t{e[t]!==this.cookies[t]&&this._emitChange({name:t,value:TB(this.cookies[t])})}))}_startPolling(){this.pollingInterval=setInterval(this.update,300)}_stopPolling(){this.pollingInterval&&clearInterval(this.pollingInterval)}get(e,t={}){return t.doNotUpdate||this.update(),TB(this.cookies[e],t)}getAll(e={}){e.doNotUpdate||this.update();const t={};for(let n in this.cookies)t[n]=TB(this.cookies[n],e);return t}set(e,t,n){n=n?Object.assign(Object.assign({},this.defaultSetOptions),n):this.defaultSetOptions;const r="string"==typeof t?t:JSON.stringify(t);this.cookies=Object.assign(Object.assign({},this.cookies),{[e]:r}),this.HAS_DOCUMENT_COOKIE&&(document.cookie=bB(e,r,n)),this._emitChange({name:e,value:t,options:n})}remove(e,t){const n=t=Object.assign(Object.assign(Object.assign({},this.defaultSetOptions),t),{expires:new Date(1970,1,1,0,0,1),maxAge:0});this.cookies=Object.assign({},this.cookies),delete this.cookies[e],this.HAS_DOCUMENT_COOKIE&&(document.cookie=bB(e,"",n)),this._emitChange({name:e,value:void 0,options:t})}addChangeListener(e){this.changeListeners.push(e),this.HAS_DOCUMENT_COOKIE&&1===this.changeListeners.length&&("object"==typeof window&&"cookieStore"in window?window.cookieStore.addEventListener("change",this.update):this._startPolling())}removeChangeListener(e){const t=this.changeListeners.indexOf(e);t>=0&&this.changeListeners.splice(t,1),this.HAS_DOCUMENT_COOKIE&&0===this.changeListeners.length&&("object"==typeof window&&"cookieStore"in window?window.cookieStore.removeEventListener("change",this.update):this._stopPolling())}}function CB(e,{doNotParse:t=!1,autoUpdateDependencies:n=!1}={},r=new EB){const i=n?[...e||[]]:e;let o=r.getAll({doNotParse:!0});const s=Xi(0),c=()=>{const e=r.getAll({doNotParse:!0});(function(e,t,n){if(!e)return!0;for(const r of e)if(t[r]!==n[r])return!0;return!1})(i||null,e,o)&&s.value++,o=e};var u;return r.addChangeListener(c),u=()=>{r.removeChangeListener(c)},Or()&&Ar(u),{get:(...e)=>(n&&i&&!i.includes(e[0])&&i.push(e[0]),s.value,r.get(e[0],a({doNotParse:t},e[1]))),getAll:(...e)=>(s.value,r.getAll(a({doNotParse:t},e[0]))),set:(...e)=>r.set(...e),remove:(...e)=>r.remove(...e),addChangeListener:(...e)=>r.addChangeListener(...e),removeChangeListener:(...e)=>r.removeChangeListener(...e)}}class OB extends Error{}class AB extends OB{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}}class IB extends OB{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}}class NB extends OB{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}}class DB extends OB{}class MB extends OB{constructor(e){super(`Invalid unit ${e}`)}}class RB extends OB{}class LB extends OB{constructor(){super("Zone is an abstract class")}}const PB="numeric",jB="short",FB="long",UB={year:PB,month:PB,day:PB},qB={year:PB,month:jB,day:PB},BB={year:PB,month:jB,day:PB,weekday:jB},VB={year:PB,month:FB,day:PB},HB={year:PB,month:FB,day:PB,weekday:FB},zB={hour:PB,minute:PB},$B={hour:PB,minute:PB,second:PB},WB={hour:PB,minute:PB,second:PB,timeZoneName:jB},GB={hour:PB,minute:PB,second:PB,timeZoneName:FB},YB={hour:PB,minute:PB,hour12:!1},QB={hour:PB,minute:PB,second:PB,hour12:!1},KB={hour:PB,minute:PB,second:PB,hour12:!1,timeZoneName:jB},JB={hour:PB,minute:PB,second:PB,hour12:!1,timeZoneName:FB},XB={year:PB,month:PB,day:PB,hour:PB,minute:PB},ZB={year:PB,month:PB,day:PB,hour:PB,minute:PB,second:PB},eV={year:PB,month:jB,day:PB,hour:PB,minute:PB},tV={year:PB,month:jB,day:PB,hour:PB,minute:PB,second:PB},nV={year:PB,month:jB,day:PB,weekday:jB,hour:PB,minute:PB},rV={year:PB,month:FB,day:PB,hour:PB,minute:PB,timeZoneName:jB},iV={year:PB,month:FB,day:PB,hour:PB,minute:PB,second:PB,timeZoneName:jB},oV={year:PB,month:FB,day:PB,weekday:FB,hour:PB,minute:PB,timeZoneName:FB},sV={year:PB,month:FB,day:PB,weekday:FB,hour:PB,minute:PB,second:PB,timeZoneName:FB};function aV(e){return void 0===e}function cV(e){return"number"==typeof e}function uV(e){return"number"==typeof e&&e%1==0}function lV(){try{return"undefined"!=typeof Intl&&Intl.DateTimeFormat}catch(JZ){return!1}}function dV(){return!aV(Intl.DateTimeFormat.prototype.formatToParts)}function fV(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(JZ){return!1}}function hV(e,t,n){if(0!==e.length)return e.reduce(((e,r)=>{const i=[t(r),r];return e&&n(e[0],i[0])===e[0]?e:i}),null)[1]}function pV(e,t){return t.reduce(((t,n)=>(t[n]=e[n],t)),{})}function mV(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function gV(e,t,n){return uV(e)&&e>=t&&e<=n}function yV(e,t=2){const n=e<0?"-":"",r=n?-1*e:e;let i;return i=r.toString().length=0&&(t=new Date(t),t.setUTCFullYear(t.getUTCFullYear()-1900)),+t}function TV(e){const t=(e+Math.floor(e/4)-Math.floor(e/100)+Math.floor(e/400))%7,n=e-1,r=(n+Math.floor(n/4)-Math.floor(n/100)+Math.floor(n/400))%7;return 4===t||3===r?53:52}function EV(e){return e>99?e:e>60?1900+e:2e3+e}function CV(e,t,n,r=null){const i=new Date(e),o={hour12:!1,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};r&&(o.timeZone=r);const s=Object.assign({timeZoneName:t},o),a=lV();if(a&&dV()){const e=new Intl.DateTimeFormat(n,s).formatToParts(i).find((e=>"timezonename"===e.type.toLowerCase()));return e?e.value:null}if(a){const e=new Intl.DateTimeFormat(n,o).format(i);return new Intl.DateTimeFormat(n,s).format(i).substring(e.length).replace(/^[, \u200e]+/,"")}return null}function OV(e,t){let n=parseInt(e,10);Number.isNaN(n)&&(n=0);const r=parseInt(t,10)||0;return 60*n+(n<0||Object.is(n,-0)?-r:r)}function AV(e){const t=Number(e);if("boolean"==typeof e||""===e||Number.isNaN(t))throw new RB(`Invalid unit value ${e}`);return t}function IV(e,t,n){const r={};for(const i in e)if(mV(e,i)){if(n.indexOf(i)>=0)continue;const o=e[i];if(null==o)continue;r[t(i)]=AV(o)}return r}function NV(e,t){const n=Math.trunc(Math.abs(e/60)),r=Math.trunc(Math.abs(e%60)),i=e>=0?"+":"-";switch(t){case"short":return`${i}${yV(n,2)}:${yV(r,2)}`;case"narrow":return`${i}${n}${r>0?`:${r}`:""}`;case"techie":return`${i}${yV(n,2)}${yV(r,2)}`;default:throw new RangeError(`Value format ${t} is out of range for property format`)}}function DV(e){return pV(e,["hour","minute","second","millisecond"])}const MV=/[A-Za-z_+-]{1,256}(:?\/[A-Za-z_+-]{1,256}(\/[A-Za-z_+-]{1,256})?)?/;function RV(e){return JSON.stringify(e,Object.keys(e).sort())}const LV=["January","February","March","April","May","June","July","August","September","October","November","December"],PV=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],jV=["J","F","M","A","M","J","J","A","S","O","N","D"];function FV(e){switch(e){case"narrow":return[...jV];case"short":return[...PV];case"long":return[...LV];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const UV=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],qV=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],BV=["M","T","W","T","F","S","S"];function VV(e){switch(e){case"narrow":return[...BV];case"short":return[...qV];case"long":return[...UV];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const HV=["AM","PM"],zV=["Before Christ","Anno Domini"],$V=["BC","AD"],WV=["B","A"];function GV(e){switch(e){case"narrow":return[...WV];case"short":return[...$V];case"long":return[...zV];default:return null}}function YV(e,t){let n="";for(const r of e)r.literal?n+=r.val:n+=t(r.val);return n}const QV={D:UB,DD:qB,DDD:VB,DDDD:HB,t:zB,tt:$B,ttt:WB,tttt:GB,T:YB,TT:QB,TTT:KB,TTTT:JB,f:XB,ff:eV,fff:rV,ffff:oV,F:ZB,FF:tV,FFF:iV,FFFF:sV};class KV{static create(e,t={}){return new KV(e,t)}static parseFormat(e){let t=null,n="",r=!1;const i=[];for(let o=0;o0&&i.push({literal:r,val:n}),t=null,n="",r=!r):r||s===t?n+=s:(n.length>0&&i.push({literal:!1,val:n}),n=s,t=s)}return n.length>0&&i.push({literal:r,val:n}),i}static macroTokenToFormatOpts(e){return QV[e]}constructor(e,t){this.opts=t,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,t){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(e,Object.assign({},this.opts,t)).format()}formatDateTime(e,t={}){return this.loc.dtFormatter(e,Object.assign({},this.opts,t)).format()}formatDateTimeParts(e,t={}){return this.loc.dtFormatter(e,Object.assign({},this.opts,t)).formatToParts()}resolvedOptions(e,t={}){return this.loc.dtFormatter(e,Object.assign({},this.opts,t)).resolvedOptions()}num(e,t=0){if(this.opts.forceSimple)return yV(e,t);const n=Object.assign({},this.opts);return t>0&&(n.padTo=t),this.loc.numberFormatter(n).format(e)}formatDateTimeFromString(e,t){const n="en"===this.loc.listingMode(),r=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar&&dV(),i=(t,n)=>this.loc.extract(e,t,n),o=t=>e.isOffsetFixed&&0===e.offset&&t.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,t.format):"",s=()=>n?function(e){return HV[e.hour<12?0:1]}(e):i({hour:"numeric",hour12:!0},"dayperiod"),a=(t,r)=>n?function(e,t){return FV(t)[e.month-1]}(e,t):i(r?{month:t}:{month:t,day:"numeric"},"month"),c=(t,r)=>n?function(e,t){return VV(t)[e.weekday-1]}(e,t):i(r?{weekday:t}:{weekday:t,month:"long",day:"numeric"},"weekday"),u=t=>{const n=KV.macroTokenToFormatOpts(t);return n?this.formatWithSystemDefault(e,n):t},l=t=>n?function(e,t){return GV(t)[e.year<0?0:1]}(e,t):i({era:t},"era");return YV(KV.parseFormat(t),(t=>{switch(t){case"S":return this.num(e.millisecond);case"u":case"SSS":return this.num(e.millisecond,3);case"s":return this.num(e.second);case"ss":return this.num(e.second,2);case"m":return this.num(e.minute);case"mm":return this.num(e.minute,2);case"h":return this.num(e.hour%12==0?12:e.hour%12);case"hh":return this.num(e.hour%12==0?12:e.hour%12,2);case"H":return this.num(e.hour);case"HH":return this.num(e.hour,2);case"Z":return o({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return o({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return o({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:this.loc.locale});case"z":return e.zoneName;case"a":return s();case"d":return r?i({day:"numeric"},"day"):this.num(e.day);case"dd":return r?i({day:"2-digit"},"day"):this.num(e.day,2);case"c":return this.num(e.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"E":return this.num(e.weekday);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return r?i({month:"numeric",day:"numeric"},"month"):this.num(e.month);case"LL":return r?i({month:"2-digit",day:"numeric"},"month"):this.num(e.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return r?i({month:"numeric"},"month"):this.num(e.month);case"MM":return r?i({month:"2-digit"},"month"):this.num(e.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return r?i({year:"numeric"},"year"):this.num(e.year);case"yy":return r?i({year:"2-digit"},"year"):this.num(e.year.toString().slice(-2),2);case"yyyy":return r?i({year:"numeric"},"year"):this.num(e.year,4);case"yyyyyy":return r?i({year:"numeric"},"year"):this.num(e.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(e.weekYear.toString().slice(-2),2);case"kkkk":return this.num(e.weekYear,4);case"W":return this.num(e.weekNumber);case"WW":return this.num(e.weekNumber,2);case"o":return this.num(e.ordinal);case"ooo":return this.num(e.ordinal,3);case"q":return this.num(e.quarter);case"qq":return this.num(e.quarter,2);case"X":return this.num(Math.floor(e.ts/1e3));case"x":return this.num(e.ts);default:return u(t)}}))}formatDurationFromString(e,t){const n=e=>{switch(e[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"M":return"month";case"y":return"year";default:return null}},r=KV.parseFormat(t),i=r.reduce(((e,{literal:t,val:n})=>t?e:e.concat(n)),[]);return YV(r,(e=>t=>{const r=n(t);return r?this.num(e.get(r),t.length):t})(e.shiftTo(...i.map(n).filter((e=>e)))))}}class JV{constructor(e,t){this.reason=e,this.explanation=t}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}class XV{get type(){throw new LB}get name(){throw new LB}get universal(){throw new LB}offsetName(e,t){throw new LB}formatOffset(e,t){throw new LB}offset(e){throw new LB}equals(e){throw new LB}get isValid(){throw new LB}}let ZV=null;class eH extends XV{static get instance(){return null===ZV&&(ZV=new eH),ZV}get type(){return"local"}get name(){return lV()?(new Intl.DateTimeFormat).resolvedOptions().timeZone:"local"}get universal(){return!1}offsetName(e,{format:t,locale:n}){return CV(e,t,n)}formatOffset(e,t){return NV(this.offset(e),t)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return"local"===e.type}get isValid(){return!0}}const tH=RegExp(`^${MV.source}$`);let nH={};const rH={year:0,month:1,day:2,hour:3,minute:4,second:5};let iH={};class oH extends XV{static create(e){return iH[e]||(iH[e]=new oH(e)),iH[e]}static resetCache(){iH={},nH={}}static isValidSpecifier(e){return!(!e||!e.match(tH))}static isValidZone(e){try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch(JZ){return!1}}static parseGMTOffset(e){if(e){const t=e.match(/^Etc\/GMT(0|[+-]\d{1,2})$/i);if(t)return-60*parseInt(t[1])}return null}constructor(e){super(),this.zoneName=e,this.valid=oH.isValidZone(e)}get type(){return"iana"}get name(){return this.zoneName}get universal(){return!1}offsetName(e,{format:t,locale:n}){return CV(e,t,n,this.name)}formatOffset(e,t){return NV(this.offset(e),t)}offset(e){const t=new Date(e);if(isNaN(t))return NaN;const n=(u=this.name,nH[u]||(nH[u]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:u,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})),nH[u]),[r,i,o,s,a,c]=n.formatToParts?function(e,t){const n=e.formatToParts(t),r=[];for(let i=0;i=0?d:1e3+d,(kV({year:r,month:i,day:o,hour:24===s?0:s,minute:a,second:c,millisecond:0})-l)/6e4}equals(e){return"iana"===e.type&&e.name===this.name}get isValid(){return this.valid}}let sH=null;class aH extends XV{static get utcInstance(){return null===sH&&(sH=new aH(0)),sH}static instance(e){return 0===e?aH.utcInstance:new aH(e)}static parseSpecifier(e){if(e){const t=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(t)return new aH(OV(t[1],t[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${NV(this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,t){return NV(this.fixed,t)}get universal(){return!0}offset(){return this.fixed}equals(e){return"fixed"===e.type&&e.fixed===this.fixed}get isValid(){return!0}}class cH extends XV{constructor(e){super(),this.zoneName=e}get type(){return"invalid"}get name(){return this.zoneName}get universal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function uH(e,t){let n;if(aV(e)||null===e)return t;if(e instanceof XV)return e;if("string"==typeof e){const r=e.toLowerCase();return"local"===r?t:"utc"===r||"gmt"===r?aH.utcInstance:null!=(n=oH.parseGMTOffset(e))?aH.instance(n):oH.isValidSpecifier(r)?oH.create(e):aH.parseSpecifier(r)||new cH(e)}return cV(e)?aH.instance(e):"object"==typeof e&&e.offset&&"number"==typeof e.offset?e:new cH(e)}let lH=()=>Date.now(),dH=null,fH=null,hH=null,pH=null,mH=!1;class gH{static get now(){return lH}static set now(e){lH=e}static get defaultZoneName(){return gH.defaultZone.name}static set defaultZoneName(e){dH=e?uH(e):null}static get defaultZone(){return dH||eH.instance}static get defaultLocale(){return fH}static set defaultLocale(e){fH=e}static get defaultNumberingSystem(){return hH}static set defaultNumberingSystem(e){hH=e}static get defaultOutputCalendar(){return pH}static set defaultOutputCalendar(e){pH=e}static get throwOnInvalid(){return mH}static set throwOnInvalid(e){mH=e}static resetCaches(){EH.resetCache(),oH.resetCache()}}let yH={};function vH(e,t={}){const n=JSON.stringify([e,t]);let r=yH[n];return r||(r=new Intl.DateTimeFormat(e,t),yH[n]=r),r}let bH={};let _H={};let wH=null;function SH(e,t,n,r,i){const o=e.listingMode(n);return"error"===o?null:"en"===o?r(t):i(t)}class xH{constructor(e,t,n){if(this.padTo=n.padTo||0,this.floor=n.floor||!1,!t&&lV()){const t={useGrouping:!1};n.padTo>0&&(t.minimumIntegerDigits=n.padTo),this.inf=function(e,t={}){const n=JSON.stringify([e,t]);let r=bH[n];return r||(r=new Intl.NumberFormat(e,t),bH[n]=r),r}(e,t)}}format(e){if(this.inf){const t=this.floor?Math.floor(e):e;return this.inf.format(t)}return yV(this.floor?Math.floor(e):_V(e,3),this.padTo)}}class kH{constructor(e,t,n){let r;if(this.opts=n,this.hasIntl=lV(),e.zone.universal&&this.hasIntl){const t=e.offset/60*-1,i=t>=0?`Etc/GMT+${t}`:`Etc/GMT${t}`,o=oH.isValidZone(i);0!==e.offset&&o?(r=i,this.dt=e):(r="UTC",n.timeZoneName?this.dt=e:this.dt=0===e.offset?e:x$.fromMillis(e.ts+60*e.offset*1e3))}else"local"===e.zone.type?this.dt=e:(this.dt=e,r=e.zone.name);if(this.hasIntl){const e=Object.assign({},this.opts);r&&(e.timeZone=r),this.dtf=vH(t,e)}}format(){if(this.hasIntl)return this.dtf.format(this.dt.toJSDate());{const e=function(e){const t="EEEE, LLLL d, yyyy, h:mm a";switch(RV(pV(e,["weekday","era","year","month","day","hour","minute","second","timeZoneName","hour12"]))){case RV(UB):return"M/d/yyyy";case RV(qB):return"LLL d, yyyy";case RV(BB):return"EEE, LLL d, yyyy";case RV(VB):return"LLLL d, yyyy";case RV(HB):return"EEEE, LLLL d, yyyy";case RV(zB):return"h:mm a";case RV($B):return"h:mm:ss a";case RV(WB):case RV(GB):return"h:mm a";case RV(YB):return"HH:mm";case RV(QB):return"HH:mm:ss";case RV(KB):case RV(JB):return"HH:mm";case RV(XB):return"M/d/yyyy, h:mm a";case RV(eV):return"LLL d, yyyy, h:mm a";case RV(rV):return"LLLL d, yyyy, h:mm a";case RV(oV):return t;case RV(ZB):return"M/d/yyyy, h:mm:ss a";case RV(tV):return"LLL d, yyyy, h:mm:ss a";case RV(nV):return"EEE, d LLL yyyy, h:mm a";case RV(iV):return"LLLL d, yyyy, h:mm:ss a";case RV(sV):return"EEEE, LLLL d, yyyy, h:mm:ss a";default:return t}}(this.opts),t=EH.create("en-US");return KV.create(t).formatDateTimeFromString(this.dt,e)}}formatToParts(){return this.hasIntl&&dV()?this.dtf.formatToParts(this.dt.toJSDate()):[]}resolvedOptions(){return this.hasIntl?this.dtf.resolvedOptions():{locale:"en-US",numberingSystem:"latn",outputCalendar:"gregory"}}}class TH{constructor(e,t,n){this.opts=Object.assign({style:"long"},n),!t&&fV()&&(this.rtf=function(e,t={}){const n=t,{base:r}=n,i=u(n,["base"]),o=JSON.stringify([e,i]);let s=_H[o];return s||(s=new Intl.RelativeTimeFormat(e,t),_H[o]=s),s}(e,n))}format(e,t){return this.rtf?this.rtf.format(e,t):function(e,t,n="always",r=!1){const i={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},o=-1===["hours","minutes","seconds"].indexOf(e);if("auto"===n&&o){const n="days"===e;switch(t){case 1:return n?"tomorrow":`next ${i[e][0]}`;case-1:return n?"yesterday":`last ${i[e][0]}`;case 0:return n?"today":`this ${i[e][0]}`}}const s=Object.is(t,-0)||t<0,a=Math.abs(t),c=1===a,u=i[e],l=r?c?u[1]:u[2]||u[1]:c?i[e][0]:e;return s?`${a} ${l} ago`:`in ${a} ${l}`}(t,e,this.opts.numeric,"long"!==this.opts.style)}formatToParts(e,t){return this.rtf?this.rtf.formatToParts(e,t):[]}}class EH{static fromOpts(e){return EH.create(e.locale,e.numberingSystem,e.outputCalendar,e.defaultToEN)}static create(e,t,n,r=!1){const i=e||gH.defaultLocale,o=i||(r?"en-US":function(){if(wH)return wH;if(lV()){const e=(new Intl.DateTimeFormat).resolvedOptions().locale;return wH=e&&"und"!==e?e:"en-US",wH}return wH="en-US",wH}()),s=t||gH.defaultNumberingSystem,a=n||gH.defaultOutputCalendar;return new EH(o,s,a,i)}static resetCache(){wH=null,yH={},bH={},_H={}}static fromObject({locale:e,numberingSystem:t,outputCalendar:n}={}){return EH.create(e,t,n)}constructor(e,t,n,r){const[i,o,s]=function(e){const t=e.indexOf("-u-");if(-1===t)return[e];{let n;const r=e.substring(0,t);try{n=vH(e).resolvedOptions()}catch(JZ){n=vH(r).resolvedOptions()}const{numberingSystem:i,calendar:o}=n;return[r,i,o]}}(e);this.locale=i,this.numberingSystem=t||o||null,this.outputCalendar=n||s||null,this.intl=function(e,t,n){return lV()?n||t?(e+="-u",n&&(e+=`-ca-${n}`),t&&(e+=`-nu-${t}`),e):e:[]}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=r,this.fastNumbersCached=null}get fastNumbers(){var e;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(e=this).numberingSystem||"latn"===e.numberingSystem)&&("latn"===e.numberingSystem||!e.locale||e.locale.startsWith("en")||lV()&&"latn"===new Intl.DateTimeFormat(e.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(e=!0){const t=lV()&&dV(),n=this.isEnglish(),r=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t||n&&r||e?!t||n&&r?"en":"intl":"error"}clone(e){return e&&0!==Object.getOwnPropertyNames(e).length?EH.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,e.defaultToEN||!1):this}redefaultToEN(e={}){return this.clone(Object.assign({},e,{defaultToEN:!0}))}redefaultToSystem(e={}){return this.clone(Object.assign({},e,{defaultToEN:!1}))}months(e,t=!1,n=!0){return SH(this,e,n,FV,(()=>{const n=t?{month:e,day:"numeric"}:{month:e},r=t?"format":"standalone";return this.monthsCache[r][e]||(this.monthsCache[r][e]=function(e){const t=[];for(let n=1;n<=12;n++){const r=x$.utc(2016,n,1);t.push(e(r))}return t}((e=>this.extract(e,n,"month")))),this.monthsCache[r][e]}))}weekdays(e,t=!1,n=!0){return SH(this,e,n,VV,(()=>{const n=t?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},r=t?"format":"standalone";return this.weekdaysCache[r][e]||(this.weekdaysCache[r][e]=function(e){const t=[];for(let n=1;n<=7;n++){const r=x$.utc(2016,11,13+n);t.push(e(r))}return t}((e=>this.extract(e,n,"weekday")))),this.weekdaysCache[r][e]}))}meridiems(e=!0){return SH(this,void 0,e,(()=>HV),(()=>{if(!this.meridiemCache){const e={hour:"numeric",hour12:!0};this.meridiemCache=[x$.utc(2016,11,13,9),x$.utc(2016,11,13,19)].map((t=>this.extract(t,e,"dayperiod")))}return this.meridiemCache}))}eras(e,t=!0){return SH(this,e,t,GV,(()=>{const t={era:e};return this.eraCache[e]||(this.eraCache[e]=[x$.utc(-40,1,1),x$.utc(2017,1,1)].map((e=>this.extract(e,t,"era")))),this.eraCache[e]}))}extract(e,t,n){const r=this.dtFormatter(e,t).formatToParts().find((e=>e.type.toLowerCase()===n));return r?r.value:null}numberFormatter(e={}){return new xH(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,t={}){return new kH(e,this.intl,t)}relFormatter(e={}){return new TH(this.intl,this.isEnglish(),e)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||lV()&&new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}}function CH(...e){const t=e.reduce(((e,t)=>e+t.source),"");return RegExp(`^${t}$`)}function OH(...e){return t=>e.reduce((([e,n,r],i)=>{const[o,s,a]=i(t,r);return[Object.assign(e,o),n||s,a]}),[{},null,1]).slice(0,2)}function AH(e,...t){if(null==e)return[null,null];for(const[n,r]of t){const t=n.exec(e);if(t)return r(t)}return[null,null]}function IH(...e){return(t,n)=>{const r={};let i;for(i=0;ivoid 0!==e&&(t||e&&l)?-e:e;return[{years:f(vV(n)),months:f(vV(r)),weeks:f(vV(i)),days:f(vV(o)),hours:f(vV(s)),minutes:f(vV(a)),seconds:f(vV(c),"-0"===c),milliseconds:f(bV(u),d)}]}const GH={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function YH(e,t,n,r,i,o,s){const a={year:2===t.length?EV(vV(t)):vV(t),month:PV.indexOf(n)+1,day:vV(r),hour:vV(i),minute:vV(o)};return s&&(a.second=vV(s)),e&&(a.weekday=e.length>3?UV.indexOf(e)+1:qV.indexOf(e)+1),a}const QH=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function KH(e){const[,t,n,r,i,o,s,a,c,u,l,d]=e,f=YH(t,i,r,n,o,s,a);let h;return h=c?GH[c]:u?0:OV(l,d),[f,new aH(h)]}const JH=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,XH=/^(Monday|Tuesday|Wedsday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,ZH=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function ez(e){const[,t,n,r,i,o,s,a]=e;return[YH(t,i,r,n,o,s,a),aH.utcInstance]}function tz(e){const[,t,n,r,i,o,s,a]=e;return[YH(t,a,n,r,i,o,s),aH.utcInstance]}const nz=CH(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,RH),rz=CH(/(\d{4})-?W(\d\d)(?:-?(\d))?/,RH),iz=CH(/(\d{4})-?(\d{3})/,RH),oz=CH(MH),sz=OH(qH,BH,VH),az=OH(LH,BH,VH),cz=OH(PH,BH),uz=OH(BH,VH);const lz=OH(BH);const dz=CH(/(\d{4})-(\d\d)-(\d\d)/,FH),fz=CH(jH),hz=OH(qH,BH,VH,HH),pz=OH(BH,VH,HH);const mz={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},gz=Object.assign({years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6}},mz),yz=Object.assign({years:{quarters:4,months:12,weeks:52.1775,days:365.2425,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:30.436875/7,days:30.436875,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3}},mz),vz=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],bz=vz.slice(0).reverse();function _z(e,t,n=!1){const r={values:n?t.values:Object.assign({},e.values,t.values||{}),loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy};return new Sz(r)}function wz(e,t,n,r,i){const o=e[i][n],s=t[n]/o,a=!(Math.sign(s)===Math.sign(r[i]))&&0!==r[i]&&Math.abs(s)<=1?(c=s)<0?Math.floor(c):Math.ceil(c):Math.trunc(s);var c;r[i]+=a,t[n]-=a*o}class Sz{constructor(e){const t="longterm"===e.conversionAccuracy||!1;this.values=e.values,this.loc=e.loc||EH.create(),this.conversionAccuracy=t?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=t?yz:gz,this.isLuxonDuration=!0}static fromMillis(e,t){return Sz.fromObject(Object.assign({milliseconds:e},t))}static fromObject(e){if(null==e||"object"!=typeof e)throw new RB("Duration.fromObject: argument expected to be an object, got "+(null===e?"null":typeof e));return new Sz({values:IV(e,Sz.normalizeUnit,["locale","numberingSystem","conversionAccuracy","zone"]),loc:EH.fromObject(e),conversionAccuracy:e.conversionAccuracy})}static fromISO(e,t){const[n]=AH(e,[$H,WH]);if(n){const e=Object.assign(n,t);return Sz.fromObject(e)}return Sz.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,t){const[n]=AH(e,[zH,lz]);if(n){const e=Object.assign(n,t);return Sz.fromObject(e)}return Sz.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,t=null){if(!e)throw new RB("need to specify a reason the Duration is invalid");const n=e instanceof JV?e:new JV(e,t);if(gH.throwOnInvalid)throw new NB(n);return new Sz({invalid:n})}static normalizeUnit(e){const t={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e?e.toLowerCase():e];if(!t)throw new MB(e);return t}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,t={}){const n=Object.assign({},t,{floor:!1!==t.round&&!1!==t.floor});return this.isValid?KV.create(this.loc,n).formatDurationFromString(this,e):"Invalid Duration"}toObject(e={}){if(!this.isValid)return{};const t=Object.assign({},this.values);return e.includeConfig&&(t.conversionAccuracy=this.conversionAccuracy,t.numberingSystem=this.loc.numberingSystem,t.locale=this.loc.locale),t}toISO(){if(!this.isValid)return null;let e="P";return 0!==this.years&&(e+=this.years+"Y"),0===this.months&&0===this.quarters||(e+=this.months+3*this.quarters+"M"),0!==this.weeks&&(e+=this.weeks+"W"),0!==this.days&&(e+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(e+="T"),0!==this.hours&&(e+=this.hours+"H"),0!==this.minutes&&(e+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(e+=_V(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===e&&(e+="T0S"),e}toISOTime(e={}){if(!this.isValid)return null;const t=this.toMillis();if(t<0||t>=864e5)return null;e=Object.assign({suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended"},e);const n=this.shiftTo("hours","minutes","seconds","milliseconds");let r="basic"===e.format?"hhmm":"hh:mm";e.suppressSeconds&&0===n.seconds&&0===n.milliseconds||(r+="basic"===e.format?"ss":":ss",e.suppressMilliseconds&&0===n.milliseconds||(r+=".SSS"));let i=n.toFormat(r);return e.includePrefix&&(i="T"+i),i}toJSON(){return this.toISO()}toString(){return this.toISO()}toMillis(){return this.as("milliseconds")}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;const t=xz(e),n={};for(const r of vz)(mV(t.values,r)||mV(this.values,r))&&(n[r]=t.get(r)+this.get(r));return _z(this,{values:n},!0)}minus(e){if(!this.isValid)return this;const t=xz(e);return this.plus(t.negate())}mapUnits(e){if(!this.isValid)return this;const t={};for(const n of Object.keys(this.values))t[n]=AV(e(this.values[n],n));return _z(this,{values:t},!0)}get(e){return this[Sz.normalizeUnit(e)]}set(e){if(!this.isValid)return this;return _z(this,{values:Object.assign(this.values,IV(e,Sz.normalizeUnit,[]))})}reconfigure({locale:e,numberingSystem:t,conversionAccuracy:n}={}){const r={loc:this.loc.clone({locale:e,numberingSystem:t})};return n&&(r.conversionAccuracy=n),_z(this,r)}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;const e=this.toObject();return function(e,t){bz.reduce(((n,r)=>aV(t[r])?n:(n&&wz(e,t,n,t,r),r)),null)}(this.matrix,e),_z(this,{values:e},!0)}shiftTo(...e){if(!this.isValid)return this;if(0===e.length)return this;e=e.map((e=>Sz.normalizeUnit(e)));const t={},n={},r=this.toObject();let i;for(const o of vz)if(e.indexOf(o)>=0){i=o;let e=0;for(const t in n)e+=this.matrix[t][o]*n[t],n[t]=0;cV(r[o])&&(e+=r[o]);const s=Math.trunc(e);t[o]=s,n[o]=e-s;for(const n in r)vz.indexOf(n)>vz.indexOf(o)&&wz(this.matrix,r,n,t,o)}else cV(r[o])&&(n[o]=r[o]);for(const o in n)0!==n[o]&&(t[i]+=o===i?n[o]:n[o]/this.matrix[i][o]);return _z(this,{values:t},!0).normalize()}negate(){if(!this.isValid)return this;const e={};for(const t of Object.keys(this.values))e[t]=-this.values[t];return _z(this,{values:e},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(e){if(!this.isValid||!e.isValid)return!1;if(!this.loc.equals(e.loc))return!1;for(const r of vz)if(t=this.values[r],n=e.values[r],!(void 0===t||0===t?void 0===n||0===n:t===n))return!1;var t,n;return!0}}function xz(e){if(cV(e))return Sz.fromMillis(e);if(Sz.isDuration(e))return e;if("object"==typeof e)return Sz.fromObject(e);throw new RB(`Unknown duration argument ${e} of type ${typeof e}`)}const kz="Invalid Interval";class Tz{constructor(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}static invalid(e,t=null){if(!e)throw new RB("need to specify a reason the Interval is invalid");const n=e instanceof JV?e:new JV(e,t);if(gH.throwOnInvalid)throw new IB(n);return new Tz({invalid:n})}static fromDateTimes(e,t){const n=k$(e),r=k$(t),i=function(e,t){return e&&e.isValid?t&&t.isValid?te}isBefore(e){return!!this.isValid&&this.e<=e}contains(e){return!!this.isValid&&(this.s<=e&&this.e>e)}set({start:e,end:t}={}){return this.isValid?Tz.fromDateTimes(e||this.s,t||this.e):this}splitAt(...e){if(!this.isValid)return[];const t=e.map(k$).filter((e=>this.contains(e))).sort(),n=[];let{s:r}=this,i=0;for(;r+this.e?this.e:e;n.push(Tz.fromDateTimes(r,o)),r=o,i+=1}return n}splitBy(e){const t=xz(e);if(!this.isValid||!t.isValid||0===t.as("milliseconds"))return[];let n,{s:r}=this,i=1;const o=[];for(;re*i)));n=+e>+this.e?this.e:e,o.push(Tz.fromDateTimes(r,n)),r=n,i+=1}return o}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s=e.e)}equals(e){return!(!this.isValid||!e.isValid)&&(this.s.equals(e.s)&&this.e.equals(e.e))}intersection(e){if(!this.isValid)return this;const t=this.s>e.s?this.s:e.s,n=this.e=n?null:Tz.fromDateTimes(t,n)}union(e){if(!this.isValid)return this;const t=this.se.e?this.e:e.e;return Tz.fromDateTimes(t,n)}static merge(e){const[t,n]=e.sort(((e,t)=>e.s-t.s)).reduce((([e,t],n)=>t?t.overlaps(n)||t.abutsStart(n)?[e,t.union(n)]:[e.concat([t]),n]:[e,n]),[[],null]);return n&&t.push(n),t}static xor(e){let t=null,n=0;const r=[],i=e.map((e=>[{time:e.s,type:"s"},{time:e.e,type:"e"}])),o=Array.prototype.concat(...i).sort(((e,t)=>e.time-t.time));for(const s of o)n+="s"===s.type?1:-1,1===n?t=s.time:(t&&+t!=+s.time&&r.push(Tz.fromDateTimes(t,s.time)),t=null);return Tz.merge(r)}difference(...e){return Tz.xor([this].concat(e)).map((e=>this.intersection(e))).filter((e=>e&&!e.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:kz}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:kz}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:kz}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:kz}toFormat(e,{separator:t=" – "}={}){return this.isValid?`${this.s.toFormat(e)}${t}${this.e.toFormat(e)}`:kz}toDuration(e,t){return this.isValid?this.e.diff(this.s,e,t):Sz.invalid(this.invalidReason)}mapEndpoints(e){return Tz.fromDateTimes(e(this.s),e(this.e))}}class Ez{static hasDST(e=gH.defaultZone){const t=x$.now().setZone(e).set({month:12});return!e.universal&&t.offset!==t.set({month:6}).offset}static isValidIANAZone(e){return oH.isValidSpecifier(e)&&oH.isValidZone(e)}static normalizeZone(e){return uH(e,gH.defaultZone)}static months(e="long",{locale:t=null,numberingSystem:n=null,locObj:r=null,outputCalendar:i="gregory"}={}){return(r||EH.create(t,n,i)).months(e)}static monthsFormat(e="long",{locale:t=null,numberingSystem:n=null,locObj:r=null,outputCalendar:i="gregory"}={}){return(r||EH.create(t,n,i)).months(e,!0)}static weekdays(e="long",{locale:t=null,numberingSystem:n=null,locObj:r=null}={}){return(r||EH.create(t,n,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:t=null,numberingSystem:n=null,locObj:r=null}={}){return(r||EH.create(t,n,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return EH.create(e).meridiems()}static eras(e="short",{locale:t=null}={}){return EH.create(t,null,"gregory").eras(e)}static features(){let e=!1,t=!1,n=!1,r=!1;if(lV()){e=!0,t=dV(),r=fV();try{n="America/New_York"===new Intl.DateTimeFormat("en",{timeZone:"America/New_York"}).resolvedOptions().timeZone}catch(JZ){n=!1}}return{intl:e,intlTokens:t,zones:n,relative:r}}}function Cz(e,t){const n=e=>e.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),r=n(t)-n(e);return Math.floor(Sz.fromMillis(r).as("days"))}function Oz(e,t,n,r){let[i,o,s,a]=function(e,t,n){const r=[["years",(e,t)=>t.year-e.year],["quarters",(e,t)=>t.quarter-e.quarter],["months",(e,t)=>t.month-e.month+12*(t.year-e.year)],["weeks",(e,t)=>{const n=Cz(e,t);return(n-n%7)/7}],["days",Cz]],i={};let o,s;for(const[a,c]of r)if(n.indexOf(a)>=0){o=a;let n=c(e,t);s=e.plus({[a]:n}),s>t?(e=e.plus({[a]:n-1}),n-=1):e=s,i[a]=n}return[e,i,s,o]}(e,t,n);const c=t-i,u=n.filter((e=>["hours","minutes","seconds","milliseconds"].indexOf(e)>=0));0===u.length&&(s0?Sz.fromMillis(c,r).shiftTo(...u).plus(l):l}const Az={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Iz={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Nz=Az.hanidec.replace(/[\[|\]]/g,"").split("");function Dz({numberingSystem:e},t=""){return new RegExp(`${Az[e||"latn"]}${t}`)}function Mz(e,t=(e=>e)){return{regex:e,deser:([e])=>t(function(e){let t=parseInt(e,10);if(isNaN(t)){t="";for(let n=0;n=n&&r<=i&&(t+=r-n)}}return parseInt(t,10)}return t}(e))}}const Rz=`( |${String.fromCharCode(160)})`,Lz=new RegExp(Rz,"g");function Pz(e){return e.replace(/\./g,"\\.?").replace(Lz,Rz)}function jz(e){return e.replace(/\./g,"").replace(Lz," ").toLowerCase()}function Fz(e,t){return null===e?null:{regex:RegExp(e.map(Pz).join("|")),deser:([n])=>e.findIndex((e=>jz(n)===jz(e)))+t}}function Uz(e,t){return{regex:e,deser:([,e,t])=>OV(e,t),groups:t}}function qz(e){return{regex:e,deser:([e])=>e}}const Bz={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour:{numeric:"h","2-digit":"hh"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"}};let Vz=null;function Hz(e,t){if(e.literal)return e;const n=KV.macroTokenToFormatOpts(e.val);if(!n)return e;const r=KV.create(t,n).formatDateTimeParts((Vz||(Vz=x$.fromMillis(1555555555555)),Vz)).map((e=>function(e,t,n){const{type:r,value:i}=e;if("literal"===r)return{literal:!0,val:i};const o=n[r];let s=Bz[r];return"object"==typeof s&&(s=s[o]),s?{literal:!1,val:s}:void 0}(e,0,n)));return r.includes(void 0)?e:r}function zz(e,t,n){const r=function(e,t){return Array.prototype.concat(...e.map((e=>Hz(e,t))))}(KV.parseFormat(n),e),i=r.map((t=>function(e,t){const n=Dz(t),r=Dz(t,"{2}"),i=Dz(t,"{3}"),o=Dz(t,"{4}"),s=Dz(t,"{6}"),a=Dz(t,"{1,2}"),c=Dz(t,"{1,3}"),u=Dz(t,"{1,6}"),l=Dz(t,"{1,9}"),d=Dz(t,"{2,4}"),f=Dz(t,"{4,6}"),h=e=>{return{regex:RegExp((t=e.val,t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([e])=>e,literal:!0};var t},p=(p=>{if(e.literal)return h(p);switch(p.val){case"G":return Fz(t.eras("short",!1),0);case"GG":return Fz(t.eras("long",!1),0);case"y":return Mz(u);case"yy":return Mz(d,EV);case"yyyy":return Mz(o);case"yyyyy":return Mz(f);case"yyyyyy":return Mz(s);case"M":return Mz(a);case"MM":return Mz(r);case"MMM":return Fz(t.months("short",!0,!1),1);case"MMMM":return Fz(t.months("long",!0,!1),1);case"L":return Mz(a);case"LL":return Mz(r);case"LLL":return Fz(t.months("short",!1,!1),1);case"LLLL":return Fz(t.months("long",!1,!1),1);case"d":return Mz(a);case"dd":return Mz(r);case"o":return Mz(c);case"ooo":return Mz(i);case"HH":return Mz(r);case"H":return Mz(a);case"hh":return Mz(r);case"h":return Mz(a);case"mm":return Mz(r);case"m":case"q":return Mz(a);case"qq":return Mz(r);case"s":return Mz(a);case"ss":return Mz(r);case"S":return Mz(c);case"SSS":return Mz(i);case"u":return qz(l);case"a":return Fz(t.meridiems(),0);case"kkkk":return Mz(o);case"kk":return Mz(d,EV);case"W":return Mz(a);case"WW":return Mz(r);case"E":case"c":return Mz(n);case"EEE":return Fz(t.weekdays("short",!1,!1),1);case"EEEE":return Fz(t.weekdays("long",!1,!1),1);case"ccc":return Fz(t.weekdays("short",!0,!1),1);case"cccc":return Fz(t.weekdays("long",!0,!1),1);case"Z":case"ZZ":return Uz(new RegExp(`([+-]${a.source})(?::(${r.source}))?`),2);case"ZZZ":return Uz(new RegExp(`([+-]${a.source})(${r.source})?`),2);case"z":return qz(/[a-z_+-/]{1,256}?/i);default:return h(p)}})(e)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return p.token=e,p}(t,e))),o=i.find((e=>e.invalidReason));if(o)return{input:t,tokens:r,invalidReason:o.invalidReason};{const[e,n]=function(e){return[`^${e.map((e=>e.regex)).reduce(((e,t)=>`${e}(${t.source})`),"")}$`,e]}(i),o=RegExp(e,"i"),[s,a]=function(e,t,n){const r=e.match(t);if(r){const e={};let t=1;for(const i in n)if(mV(n,i)){const o=n[i],s=o.groups?o.groups+1:1;!o.literal&&o.token&&(e[o.token.val[0]]=o.deser(r.slice(t,t+s))),t+=s}return[r,e]}return[r,{}]}(t,o,n),[c,u]=a?function(e){let t;return t=aV(e.Z)?aV(e.z)?null:oH.create(e.z):new aH(e.Z),aV(e.q)||(e.M=3*(e.q-1)+1),aV(e.h)||(e.h<12&&1===e.a?e.h+=12:12===e.h&&0===e.a&&(e.h=0)),0===e.G&&e.y&&(e.y=-e.y),aV(e.u)||(e.S=bV(e.u)),[Object.keys(e).reduce(((t,n)=>{const r=(e=>{switch(e){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(n);return r&&(t[r]=e[n]),t}),{}),t]}(a):[null,null];if(mV(a,"a")&&mV(a,"H"))throw new DB("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:r,regex:o,rawMatches:s,matches:a,result:c,zone:u}}}const $z=[0,31,59,90,120,151,181,212,243,273,304,334],Wz=[0,31,60,91,121,152,182,213,244,274,305,335];function Gz(e,t){return new JV("unit out of range",`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function Yz(e,t,n){const r=new Date(Date.UTC(e,t-1,n)).getUTCDay();return 0===r?7:r}function Qz(e,t,n){return n+(wV(e)?Wz:$z)[t-1]}function Kz(e,t){const n=wV(e)?Wz:$z,r=n.findIndex((e=>eTV(t)?(s=t+1,a=1):s=t,Object.assign({weekYear:s,weekNumber:a,weekday:o},DV(e))}function Xz(e){const{weekYear:t,weekNumber:n,weekday:r}=e,i=Yz(t,1,4),o=SV(t);let s,a=7*n+r-i-3;a<1?(s=t-1,a+=SV(s)):a>o?(s=t+1,a-=SV(t)):s=t;const{month:c,day:u}=Kz(s,a);return Object.assign({year:s,month:c,day:u},DV(e))}function Zz(e){const{year:t,month:n,day:r}=e,i=Qz(t,n,r);return Object.assign({year:t,ordinal:i},DV(e))}function e$(e){const{year:t,ordinal:n}=e,{month:r,day:i}=Kz(t,n);return Object.assign({year:t,month:r,day:i},DV(e))}function t$(e){const t=uV(e.year),n=gV(e.month,1,12),r=gV(e.day,1,xV(e.year,e.month));return t?n?!r&&Gz("day",e.day):Gz("month",e.month):Gz("year",e.year)}function n$(e){const{hour:t,minute:n,second:r,millisecond:i}=e,o=gV(t,0,23)||24===t&&0===n&&0===r&&0===i,s=gV(n,0,59),a=gV(r,0,59),c=gV(i,0,999);return o?s?a?!c&&Gz("millisecond",i):Gz("second",r):Gz("minute",n):Gz("hour",t)}const r$="Invalid DateTime";function i$(e){return new JV("unsupported zone",`the zone "${e.name}" is not supported`)}function o$(e){return null===e.weekData&&(e.weekData=Jz(e.c)),e.weekData}function s$(e,t){const n={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new x$(Object.assign({},n,t,{old:n}))}function a$(e,t,n){let r=e-60*t*1e3;const i=n.offset(r);if(t===i)return[r,t];r-=60*(i-t)*1e3;const o=n.offset(r);return i===o?[r,i]:[e-60*Math.min(i,o)*1e3,Math.max(i,o)]}function c$(e,t){const n=new Date(e+=60*t*1e3);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function u$(e,t,n){return a$(kV(e),t,n)}function l$(e,t){const n=e.o,r=e.c.year+Math.trunc(t.years),i=e.c.month+Math.trunc(t.months)+3*Math.trunc(t.quarters),o=Object.assign({},e.c,{year:r,month:i,day:Math.min(e.c.day,xV(r,i))+Math.trunc(t.days)+7*Math.trunc(t.weeks)}),s=Sz.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),a=kV(o);let[c,u]=a$(a,n,e.zone);return 0!==s&&(c+=s,u=e.zone.offset(c)),{ts:c,o:u}}function d$(e,t,n,r,i){const{setZone:o,zone:s}=n;if(e&&0!==Object.keys(e).length){const r=t||s,i=x$.fromObject(Object.assign(e,n,{zone:r,setZone:void 0}));return o?i:i.setZone(s)}return x$.invalid(new JV("unparsable",`the input "${i}" can't be parsed as ${r}`))}function f$(e,t,n=!0){return e.isValid?KV.create(EH.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(e,t):null}function h$(e,{suppressSeconds:t=!1,suppressMilliseconds:n=!1,includeOffset:r,includePrefix:i=!1,includeZone:o=!1,spaceZone:s=!1,format:a="extended"}){let c="basic"===a?"HHmm":"HH:mm";t&&0===e.second&&0===e.millisecond||(c+="basic"===a?"ss":":ss",n&&0===e.millisecond||(c+=".SSS")),(o||r)&&s&&(c+=" "),o?c+="z":r&&(c+="basic"===a?"ZZZ":"ZZ");let u=f$(e,c);return i&&(u="T"+u),u}const p$={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},m$={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},g$={ordinal:1,hour:0,minute:0,second:0,millisecond:0},y$=["year","month","day","hour","minute","second","millisecond"],v$=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],b$=["year","ordinal","hour","minute","second","millisecond"];function _$(e){const t={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[e.toLowerCase()];if(!t)throw new MB(e);return t}function w$(e,t){for(const a of y$)aV(e[a])&&(e[a]=p$[a]);const n=t$(e)||n$(e);if(n)return x$.invalid(n);const r=gH.now(),i=t.offset(r),[o,s]=u$(e,i,t);return new x$({ts:o,zone:t,o:s})}function S$(e,t,n){const r=!!aV(n.round)||n.round,i=(e,i)=>{e=_V(e,r||n.calendary?0:2,!0);return t.loc.clone(n).relFormatter(n).format(e,i)},o=r=>n.calendary?t.hasSame(e,r)?0:t.startOf(r).diff(e.startOf(r),r).get(r):t.diff(e,r).get(r);if(n.unit)return i(o(n.unit),n.unit);for(const s of n.units){const e=o(s);if(Math.abs(e)>=1)return i(e,s)}return i(e>t?-0:0,n.units[n.units.length-1])}class x${constructor(e){const t=e.zone||gH.defaultZone;let n=e.invalid||(Number.isNaN(e.ts)?new JV("invalid input"):null)||(t.isValid?null:i$(t));this.ts=aV(e.ts)?gH.now():e.ts;let r=null,i=null;if(!n){if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(t))[r,i]=[e.old.c,e.old.o];else{const e=t.offset(this.ts);r=c$(this.ts,e),n=Number.isNaN(r.year)?new JV("invalid input"):null,r=n?null:r,i=n?null:e}}this._zone=t,this.loc=e.loc||EH.create(),this.invalid=n,this.weekData=null,this.c=r,this.o=i,this.isLuxonDateTime=!0}static now(){return new x$({})}static local(e,t,n,r,i,o,s){return aV(e)?x$.now():w$({year:e,month:t,day:n,hour:r,minute:i,second:o,millisecond:s},gH.defaultZone)}static utc(e,t,n,r,i,o,s){return aV(e)?new x$({ts:gH.now(),zone:aH.utcInstance}):w$({year:e,month:t,day:n,hour:r,minute:i,second:o,millisecond:s},aH.utcInstance)}static fromJSDate(e,t={}){const n=(r=e,"[object Date]"===Object.prototype.toString.call(r)?e.valueOf():NaN);var r;if(Number.isNaN(n))return x$.invalid("invalid input");const i=uH(t.zone,gH.defaultZone);return i.isValid?new x$({ts:n,zone:i,loc:EH.fromObject(t)}):x$.invalid(i$(i))}static fromMillis(e,t={}){if(cV(e))return e<-864e13||e>864e13?x$.invalid("Timestamp out of range"):new x$({ts:e,zone:uH(t.zone,gH.defaultZone),loc:EH.fromObject(t)});throw new RB(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,t={}){if(cV(e))return new x$({ts:1e3*e,zone:uH(t.zone,gH.defaultZone),loc:EH.fromObject(t)});throw new RB("fromSeconds requires a numerical input")}static fromObject(e){const t=uH(e.zone,gH.defaultZone);if(!t.isValid)return x$.invalid(i$(t));const n=gH.now(),r=t.offset(n),i=IV(e,_$,["zone","locale","outputCalendar","numberingSystem"]),o=!aV(i.ordinal),s=!aV(i.year),a=!aV(i.month)||!aV(i.day),c=s||a,u=i.weekYear||i.weekNumber,l=EH.fromObject(e);if((c||o)&&u)throw new DB("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&o)throw new DB("Can't mix ordinal dates with month/day");const d=u||i.weekday&&!c;let f,h,p=c$(n,r);d?(f=v$,h=m$,p=Jz(p)):o?(f=b$,h=g$,p=Zz(p)):(f=y$,h=p$);let m=!1;for(const w of f){aV(i[w])?i[w]=m?h[w]:p[w]:m=!0}const g=(d?function(e){const t=uV(e.weekYear),n=gV(e.weekNumber,1,TV(e.weekYear)),r=gV(e.weekday,1,7);return t?n?!r&&Gz("weekday",e.weekday):Gz("week",e.week):Gz("weekYear",e.weekYear)}(i):o?function(e){const t=uV(e.year),n=gV(e.ordinal,1,SV(e.year));return t?!n&&Gz("ordinal",e.ordinal):Gz("year",e.year)}(i):t$(i))||n$(i);if(g)return x$.invalid(g);const y=d?Xz(i):o?e$(i):i,[v,b]=u$(y,r,t),_=new x$({ts:v,zone:t,o:b,loc:l});return i.weekday&&c&&e.weekday!==_.weekday?x$.invalid("mismatched weekday",`you can't specify both a weekday of ${i.weekday} and a date of ${_.toISO()}`):_}static fromISO(e,t={}){const[n,r]=AH(e,[nz,sz],[rz,az],[iz,cz],[oz,uz]);return d$(n,r,t,"ISO 8601",e)}static fromRFC2822(e,t={}){const[n,r]=AH(function(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(e),[QH,KH]);return d$(n,r,t,"RFC 2822",e)}static fromHTTP(e,t={}){const[n,r]=AH(e,[JH,ez],[XH,ez],[ZH,tz]);return d$(n,r,t,"HTTP",t)}static fromFormat(e,t,n={}){if(aV(e)||aV(t))throw new RB("fromFormat requires an input string and a format");const{locale:r=null,numberingSystem:i=null}=n,o=EH.fromOpts({locale:r,numberingSystem:i,defaultToEN:!0}),[s,a,c]=function(e,t,n){const{result:r,zone:i,invalidReason:o}=zz(e,t,n);return[r,i,o]}(o,e,t);return c?x$.invalid(c):d$(s,a,n,`format ${t}`,e)}static fromString(e,t,n={}){return x$.fromFormat(e,t,n)}static fromSQL(e,t={}){const[n,r]=AH(e,[dz,hz],[fz,pz]);return d$(n,r,t,"SQL",e)}static invalid(e,t=null){if(!e)throw new RB("need to specify a reason the DateTime is invalid");const n=e instanceof JV?e:new JV(e,t);if(gH.throwOnInvalid)throw new AB(n);return new x$({invalid:n})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}get(e){return this[e]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?o$(this).weekYear:NaN}get weekNumber(){return this.isValid?o$(this).weekNumber:NaN}get weekday(){return this.isValid?o$(this).weekday:NaN}get ordinal(){return this.isValid?Zz(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ez.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ez.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ez.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ez.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.universal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1}).offset||this.offset>this.set({month:5}).offset)}get isInLeapYear(){return wV(this.year)}get daysInMonth(){return xV(this.year,this.month)}get daysInYear(){return this.isValid?SV(this.year):NaN}get weeksInWeekYear(){return this.isValid?TV(this.weekYear):NaN}resolvedLocaleOpts(e={}){const{locale:t,numberingSystem:n,calendar:r}=KV.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:t,numberingSystem:n,outputCalendar:r}}toUTC(e=0,t={}){return this.setZone(aH.instance(e),t)}toLocal(){return this.setZone(gH.defaultZone)}setZone(e,{keepLocalTime:t=!1,keepCalendarTime:n=!1}={}){if((e=uH(e,gH.defaultZone)).equals(this.zone))return this;if(e.isValid){let r=this.ts;if(t||n){const t=e.offset(this.ts),n=this.toObject();[r]=u$(n,t,e)}return s$(this,{ts:r,zone:e})}return x$.invalid(i$(e))}reconfigure({locale:e,numberingSystem:t,outputCalendar:n}={}){return s$(this,{loc:this.loc.clone({locale:e,numberingSystem:t,outputCalendar:n})})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;const t=IV(e,_$,[]),n=!aV(t.weekYear)||!aV(t.weekNumber)||!aV(t.weekday),r=!aV(t.ordinal),i=!aV(t.year),o=!aV(t.month)||!aV(t.day),s=i||o,a=t.weekYear||t.weekNumber;if((s||r)&&a)throw new DB("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(o&&r)throw new DB("Can't mix ordinal dates with month/day");let c;n?c=Xz(Object.assign(Jz(this.c),t)):aV(t.ordinal)?(c=Object.assign(this.toObject(),t),aV(t.day)&&(c.day=Math.min(xV(c.year,c.month),c.day))):c=e$(Object.assign(Zz(this.c),t));const[u,l]=u$(c,this.o,this.zone);return s$(this,{ts:u,o:l})}plus(e){if(!this.isValid)return this;return s$(this,l$(this,xz(e)))}minus(e){if(!this.isValid)return this;return s$(this,l$(this,xz(e).negate()))}startOf(e){if(!this.isValid)return this;const t={},n=Sz.normalizeUnit(e);switch(n){case"years":t.month=1;case"quarters":case"months":t.day=1;case"weeks":case"days":t.hour=0;case"hours":t.minute=0;case"minutes":t.second=0;case"seconds":t.millisecond=0}if("weeks"===n&&(t.weekday=1),"quarters"===n){const e=Math.ceil(this.month/3);t.month=3*(e-1)+1}return this.set(t)}endOf(e){return this.isValid?this.plus({[e]:1}).startOf(e).minus(1):this}toFormat(e,t={}){return this.isValid?KV.create(this.loc.redefaultToEN(t)).formatDateTimeFromString(this,e):r$}toLocaleString(e=UB){return this.isValid?KV.create(this.loc.clone(e),e).formatDateTime(this):r$}toLocaleParts(e={}){return this.isValid?KV.create(this.loc.clone(e),e).formatDateTimeParts(this):[]}toISO(e={}){return this.isValid?`${this.toISODate(e)}T${this.toISOTime(e)}`:null}toISODate({format:e="extended"}={}){let t="basic"===e?"yyyyMMdd":"yyyy-MM-dd";return this.year>9999&&(t="+"+t),f$(this,t)}toISOWeekDate(){return f$(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:e=!1,suppressSeconds:t=!1,includeOffset:n=!0,includePrefix:r=!1,format:i="extended"}={}){return h$(this,{suppressSeconds:t,suppressMilliseconds:e,includeOffset:n,includePrefix:r,format:i})}toRFC2822(){return f$(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return f$(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return f$(this,"yyyy-MM-dd")}toSQLTime({includeOffset:e=!0,includeZone:t=!1}={}){return h$(this,{includeOffset:e,includeZone:t,spaceZone:!0})}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():r$}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(e={}){if(!this.isValid)return{};const t=Object.assign({},this.c);return e.includeConfig&&(t.outputCalendar=this.outputCalendar,t.numberingSystem=this.loc.numberingSystem,t.locale=this.loc.locale),t}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(e,t="milliseconds",n={}){if(!this.isValid||!e.isValid)return Sz.invalid(this.invalid||e.invalid,"created by diffing an invalid DateTime");const r=Object.assign({locale:this.locale,numberingSystem:this.numberingSystem},n),i=(a=t,Array.isArray(a)?a:[a]).map(Sz.normalizeUnit),o=e.valueOf()>this.valueOf(),s=Oz(o?this:e,o?e:this,i,r);var a;return o?s.negate():s}diffNow(e="milliseconds",t={}){return this.diff(x$.now(),e,t)}until(e){return this.isValid?Tz.fromDateTimes(this,e):this}hasSame(e,t){if(!this.isValid)return!1;const n=e.valueOf(),r=this.setZone(e.zone,{keepLocalTime:!0});return r.startOf(t)<=n&&n<=r.endOf(t)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(e={}){if(!this.isValid)return null;const t=e.base||x$.fromObject({zone:this.zone}),n=e.padding?thise.valueOf()),Math.min)}static max(...e){if(!e.every(x$.isDateTime))throw new RB("max requires all arguments be DateTimes");return hV(e,(e=>e.valueOf()),Math.max)}static fromFormatExplain(e,t,n={}){const{locale:r=null,numberingSystem:i=null}=n;return zz(EH.fromOpts({locale:r,numberingSystem:i,defaultToEN:!0}),e,t)}static fromStringExplain(e,t,n={}){return x$.fromFormatExplain(e,t,n)}static get DATE_SHORT(){return UB}static get DATE_MED(){return qB}static get DATE_MED_WITH_WEEKDAY(){return BB}static get DATE_FULL(){return VB}static get DATE_HUGE(){return HB}static get TIME_SIMPLE(){return zB}static get TIME_WITH_SECONDS(){return $B}static get TIME_WITH_SHORT_OFFSET(){return WB}static get TIME_WITH_LONG_OFFSET(){return GB}static get TIME_24_SIMPLE(){return YB}static get TIME_24_WITH_SECONDS(){return QB}static get TIME_24_WITH_SHORT_OFFSET(){return KB}static get TIME_24_WITH_LONG_OFFSET(){return JB}static get DATETIME_SHORT(){return XB}static get DATETIME_SHORT_WITH_SECONDS(){return ZB}static get DATETIME_MED(){return eV}static get DATETIME_MED_WITH_SECONDS(){return tV}static get DATETIME_MED_WITH_WEEKDAY(){return nV}static get DATETIME_FULL(){return rV}static get DATETIME_FULL_WITH_SECONDS(){return iV}static get DATETIME_HUGE(){return oV}static get DATETIME_HUGE_WITH_SECONDS(){return sV}}function k$(e){if(x$.isDateTime(e))return e;if(e&&e.valueOf&&cV(e.valueOf()))return x$.fromJSDate(e);if(e&&"object"==typeof e)return x$.fromObject(e);throw new RB(`Unknown datetime argument: ${e}, of type ${typeof e}`)}var T$={exports:{}},E$={};Object.defineProperty(E$,"__esModule",{value:!0});function C$(e){return e.reduce((function(e,t){var n=e.events;e=e.additionalParams;return"index"in t?{additionalParams:e,events:n.concat([t])}:{events:n,additionalParams:t}}),{events:[],additionalParams:void 0})}var O$=function(e){return void 0===e},A$=function(e){return"function"==typeof e};function I$(e){return function(t){for(var n=[],r=arguments.length-1;0{"default"!==n&&(e.exports[n]=t[n])}))}(T$);var fW=T$.exports,hW={},pW={},mW={},gW={},yW=l&&l.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(gW,"__esModule",{value:!0});var vW=yW({0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}),bW=String.fromCodePoint||function(e){var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e)};gW.default=function(e){return e>=55296&&e<=57343||e>1114111?"�":(e in vW.default&&(e=vW.default[e]),bW(e))};var _W={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"};var wW={Aacute:"Á",aacute:"á",Acirc:"Â",acirc:"â",acute:"´",AElig:"Æ",aelig:"æ",Agrave:"À",agrave:"à",amp:"&",AMP:"&",Aring:"Å",aring:"å",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",brvbar:"¦",Ccedil:"Ç",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",Eacute:"É",eacute:"é",Ecirc:"Ê",ecirc:"ê",Egrave:"È",egrave:"è",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",Iacute:"Í",iacute:"í",Icirc:"Î",icirc:"î",iexcl:"¡",Igrave:"Ì",igrave:"ì",iquest:"¿",Iuml:"Ï",iuml:"ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",Ntilde:"Ñ",ntilde:"ñ",Oacute:"Ó",oacute:"ó",Ocirc:"Ô",ocirc:"ô",Ograve:"Ò",ograve:"ò",ordf:"ª",ordm:"º",Oslash:"Ø",oslash:"ø",Otilde:"Õ",otilde:"õ",Ouml:"Ö",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",THORN:"Þ",thorn:"þ",times:"×",Uacute:"Ú",uacute:"ú",Ucirc:"Û",ucirc:"û",Ugrave:"Ù",ugrave:"ù",uml:"¨",Uuml:"Ü",uuml:"ü",Yacute:"Ý",yacute:"ý",yen:"¥",yuml:"ÿ"};var SW={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'},xW=l&&l.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(mW,"__esModule",{value:!0});var kW=xW(gW),TW=xW(_W),EW=xW(wW),CW=xW(SW);function OW(e){return" "===e||"\n"===e||"\t"===e||"\f"===e||"\r"===e}function AW(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"}function IW(e,t,n){var r=e.toLowerCase();return e===r?function(e,i){i===r?e._state=t:(e._state=n,e._index--)}:function(i,o){o===r||o===e?i._state=t:(i._state=n,i._index--)}}function NW(e,t){var n=e.toLowerCase();return function(r,i){i===n||i===e?r._state=t:(r._state=3,r._index--)}}var DW=IW("C",24,16),MW=IW("D",25,16),RW=IW("A",26,16),LW=IW("T",27,16),PW=IW("A",28,16),jW=NW("R",35),FW=NW("I",36),UW=NW("P",37),qW=NW("T",38),BW=IW("R",40,1),VW=IW("I",41,1),HW=IW("P",42,1),zW=IW("T",43,1),$W=NW("Y",45),WW=NW("L",46),GW=NW("E",47),YW=IW("Y",49,1),QW=IW("L",50,1),KW=IW("E",51,1),JW=NW("I",54),XW=NW("T",55),ZW=NW("L",56),eG=NW("E",57),tG=IW("I",58,1),nG=IW("T",59,1),rG=IW("L",60,1),iG=IW("E",61,1),oG=IW("#",63,64),sG=IW("X",66,65),aG=function(){function e(e,t){var n;this._state=1,this.buffer="",this.sectionStart=0,this._index=0,this.bufferOffset=0,this.baseState=1,this.special=1,this.running=!0,this.ended=!1,this.cbs=t,this.xmlMode=!!(null==e?void 0:e.xmlMode),this.decodeEntities=null===(n=null==e?void 0:e.decodeEntities)||void 0===n||n}return e.prototype.reset=function(){this._state=1,this.buffer="",this.sectionStart=0,this._index=0,this.bufferOffset=0,this.baseState=1,this.special=1,this.running=!0,this.ended=!1},e.prototype.write=function(e){this.ended&&this.cbs.onerror(Error(".write() after done!")),this.buffer+=e,this.parse()},e.prototype.end=function(e){this.ended&&this.cbs.onerror(Error(".end() after done!")),e&&this.write(e),this.ended=!0,this.running&&this.finish()},e.prototype.pause=function(){this.running=!1},e.prototype.resume=function(){this.running=!0,this._indexthis.sectionStart&&this.cbs.ontext(this.getSection()),this._state=2,this.sectionStart=this._index):!this.decodeEntities||"&"!==e||1!==this.special&&4!==this.special||(this._index>this.sectionStart&&this.cbs.ontext(this.getSection()),this.baseState=1,this._state=62,this.sectionStart=this._index)},e.prototype.isTagStartChar=function(e){return AW(e)||this.xmlMode&&!OW(e)&&"/"!==e&&">"!==e},e.prototype.stateBeforeTagName=function(e){"/"===e?this._state=5:"<"===e?(this.cbs.ontext(this.getSection()),this.sectionStart=this._index):">"===e||1!==this.special||OW(e)?this._state=1:"!"===e?(this._state=15,this.sectionStart=this._index+1):"?"===e?(this._state=17,this.sectionStart=this._index+1):this.isTagStartChar(e)?(this._state=this.xmlMode||"s"!==e&&"S"!==e?this.xmlMode||"t"!==e&&"T"!==e?3:52:32,this.sectionStart=this._index):this._state=1},e.prototype.stateInTagName=function(e){("/"===e||">"===e||OW(e))&&(this.emitToken("onopentagname"),this._state=8,this._index--)},e.prototype.stateBeforeClosingTagName=function(e){OW(e)||(">"===e?this._state=1:1!==this.special?4===this.special||"s"!==e&&"S"!==e?4!==this.special||"t"!==e&&"T"!==e?(this._state=1,this._index--):this._state=53:this._state=33:this.isTagStartChar(e)?(this._state=6,this.sectionStart=this._index):(this._state=20,this.sectionStart=this._index))},e.prototype.stateInClosingTagName=function(e){(">"===e||OW(e))&&(this.emitToken("onclosetag"),this._state=7,this._index--)},e.prototype.stateAfterClosingTagName=function(e){">"===e&&(this._state=1,this.sectionStart=this._index+1)},e.prototype.stateBeforeAttributeName=function(e){">"===e?(this.cbs.onopentagend(),this._state=1,this.sectionStart=this._index+1):"/"===e?this._state=4:OW(e)||(this._state=9,this.sectionStart=this._index)},e.prototype.stateInSelfClosingTag=function(e){">"===e?(this.cbs.onselfclosingtag(),this._state=1,this.sectionStart=this._index+1,this.special=1):OW(e)||(this._state=8,this._index--)},e.prototype.stateInAttributeName=function(e){("="===e||"/"===e||">"===e||OW(e))&&(this.cbs.onattribname(this.getSection()),this.sectionStart=-1,this._state=10,this._index--)},e.prototype.stateAfterAttributeName=function(e){"="===e?this._state=11:"/"===e||">"===e?(this.cbs.onattribend(void 0),this._state=8,this._index--):OW(e)||(this.cbs.onattribend(void 0),this._state=9,this.sectionStart=this._index)},e.prototype.stateBeforeAttributeValue=function(e){'"'===e?(this._state=12,this.sectionStart=this._index+1):"'"===e?(this._state=13,this.sectionStart=this._index+1):OW(e)||(this._state=14,this.sectionStart=this._index,this._index--)},e.prototype.handleInAttributeValue=function(e,t){e===t?(this.emitToken("onattribdata"),this.cbs.onattribend(t),this._state=8):this.decodeEntities&&"&"===e&&(this.emitToken("onattribdata"),this.baseState=this._state,this._state=62,this.sectionStart=this._index)},e.prototype.stateInAttributeValueDoubleQuotes=function(e){this.handleInAttributeValue(e,'"')},e.prototype.stateInAttributeValueSingleQuotes=function(e){this.handleInAttributeValue(e,"'")},e.prototype.stateInAttributeValueNoQuotes=function(e){OW(e)||">"===e?(this.emitToken("onattribdata"),this.cbs.onattribend(null),this._state=8,this._index--):this.decodeEntities&&"&"===e&&(this.emitToken("onattribdata"),this.baseState=this._state,this._state=62,this.sectionStart=this._index)},e.prototype.stateBeforeDeclaration=function(e){this._state="["===e?23:"-"===e?18:16},e.prototype.stateInDeclaration=function(e){">"===e&&(this.cbs.ondeclaration(this.getSection()),this._state=1,this.sectionStart=this._index+1)},e.prototype.stateInProcessingInstruction=function(e){">"===e&&(this.cbs.onprocessinginstruction(this.getSection()),this._state=1,this.sectionStart=this._index+1)},e.prototype.stateBeforeComment=function(e){"-"===e?(this._state=19,this.sectionStart=this._index+1):this._state=16},e.prototype.stateInComment=function(e){"-"===e&&(this._state=21)},e.prototype.stateInSpecialComment=function(e){">"===e&&(this.cbs.oncomment(this.buffer.substring(this.sectionStart,this._index)),this._state=1,this.sectionStart=this._index+1)},e.prototype.stateAfterComment1=function(e){this._state="-"===e?22:19},e.prototype.stateAfterComment2=function(e){">"===e?(this.cbs.oncomment(this.buffer.substring(this.sectionStart,this._index-2)),this._state=1,this.sectionStart=this._index+1):"-"!==e&&(this._state=19)},e.prototype.stateBeforeCdata6=function(e){"["===e?(this._state=29,this.sectionStart=this._index+1):(this._state=16,this._index--)},e.prototype.stateInCdata=function(e){"]"===e&&(this._state=30)},e.prototype.stateAfterCdata1=function(e){this._state="]"===e?31:29},e.prototype.stateAfterCdata2=function(e){">"===e?(this.cbs.oncdata(this.buffer.substring(this.sectionStart,this._index-2)),this._state=1,this.sectionStart=this._index+1):"]"!==e&&(this._state=29)},e.prototype.stateBeforeSpecialS=function(e){"c"===e||"C"===e?this._state=34:"t"===e||"T"===e?this._state=44:(this._state=3,this._index--)},e.prototype.stateBeforeSpecialSEnd=function(e){2!==this.special||"c"!==e&&"C"!==e?3!==this.special||"t"!==e&&"T"!==e?this._state=1:this._state=48:this._state=39},e.prototype.stateBeforeSpecialLast=function(e,t){("/"===e||">"===e||OW(e))&&(this.special=t),this._state=3,this._index--},e.prototype.stateAfterSpecialLast=function(e,t){">"===e||OW(e)?(this.special=1,this._state=6,this.sectionStart=this._index-t,this._index--):this._state=1},e.prototype.parseFixedEntity=function(e){if(void 0===e&&(e=this.xmlMode?CW.default:TW.default),this.sectionStart+1=2;){var n=this.buffer.substr(e,t);if(Object.prototype.hasOwnProperty.call(EW.default,n))return this.emitPartial(EW.default[n]),void(this.sectionStart+=t+1);t--}},e.prototype.stateInNamedEntity=function(e){";"===e?(this.parseFixedEntity(),1===this.baseState&&this.sectionStart+1"9")&&!AW(e)&&(this.xmlMode||this.sectionStart+1===this._index||(1!==this.baseState?"="!==e&&this.parseFixedEntity(EW.default):this.parseLegacyEntity()),this._state=this.baseState,this._index--)},e.prototype.decodeNumericEntity=function(e,t,n){var r=this.sectionStart+e;if(r!==this._index){var i=this.buffer.substring(r,this._index),o=parseInt(i,t);this.emitPartial(kW.default(o)),this.sectionStart=n?this._index+1:this._index}this._state=this.baseState},e.prototype.stateInNumericEntity=function(e){";"===e?this.decodeNumericEntity(2,10,!0):(e<"0"||e>"9")&&(this.xmlMode?this._state=this.baseState:this.decodeNumericEntity(2,10,!1),this._index--)},e.prototype.stateInHexEntity=function(e){";"===e?this.decodeNumericEntity(3,16,!0):(e<"a"||e>"f")&&(e<"A"||e>"F")&&(e<"0"||e>"9")&&(this.xmlMode?this._state=this.baseState:this.decodeNumericEntity(3,16,!1),this._index--)},e.prototype.cleanup=function(){this.sectionStart<0?(this.buffer="",this.bufferOffset+=this._index,this._index=0):this.running&&(1===this._state?(this.sectionStart!==this._index&&this.cbs.ontext(this.buffer.substr(this.sectionStart)),this.buffer="",this.bufferOffset+=this._index,this._index=0):this.sectionStart===this._index?(this.buffer="",this.bufferOffset+=this._index,this._index=0):(this.buffer=this.buffer.substr(this.sectionStart),this._index-=this.sectionStart,this.bufferOffset+=this.sectionStart),this.sectionStart=0)},e.prototype.parse=function(){for(;this._index0&&fG[e].has(r=this.stack[this.stack.length-1]);)this.onclosetag(r);!this.options.xmlMode&&hG.has(e)||(this.stack.push(e),pG.has(e)?this.foreignContext.push(!0):mG.has(e)&&this.foreignContext.push(!1)),null===(n=(t=this.cbs).onopentagname)||void 0===n||n.call(t,e),this.cbs.onopentag&&(this.attribs={})},e.prototype.onopentagend=function(){var e,t;this.updatePosition(1),this.attribs&&(null===(t=(e=this.cbs).onopentag)||void 0===t||t.call(e,this.tagname,this.attribs),this.attribs=null),!this.options.xmlMode&&this.cbs.onclosetag&&hG.has(this.tagname)&&this.cbs.onclosetag(this.tagname),this.tagname=""},e.prototype.onclosetag=function(e){if(this.updatePosition(1),this.lowerCaseTagNames&&(e=e.toLowerCase()),(pG.has(e)||mG.has(e))&&this.foreignContext.pop(),!this.stack.length||!this.options.xmlMode&&hG.has(e))this.options.xmlMode||"br"!==e&&"p"!==e||(this.onopentagname(e),this.closeCurrentTag());else{var t=this.stack.lastIndexOf(e);if(-1!==t)if(this.cbs.onclosetag)for(t=this.stack.length-t;t--;)this.cbs.onclosetag(this.stack.pop());else this.stack.length=t;else"p"!==e||this.options.xmlMode||(this.onopentagname(e),this.closeCurrentTag())}},e.prototype.onselfclosingtag=function(){this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?this.closeCurrentTag():this.onopentagend()},e.prototype.closeCurrentTag=function(){var e,t,n=this.tagname;this.onopentagend(),this.stack[this.stack.length-1]===n&&(null===(t=(e=this.cbs).onclosetag)||void 0===t||t.call(e,n),this.stack.pop())},e.prototype.onattribname=function(e){this.lowerCaseAttributeNames&&(e=e.toLowerCase()),this.attribname=e},e.prototype.onattribdata=function(e){this.attribvalue+=e},e.prototype.onattribend=function(e){var t,n;null===(n=(t=this.cbs).onattribute)||void 0===n||n.call(t,this.attribname,this.attribvalue,e),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribname="",this.attribvalue=""},e.prototype.getInstructionName=function(e){var t=e.search(gG),n=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(n=n.toLowerCase()),n},e.prototype.ondeclaration=function(e){if(this.cbs.onprocessinginstruction){var t=this.getInstructionName(e);this.cbs.onprocessinginstruction("!"+t,"!"+e)}},e.prototype.onprocessinginstruction=function(e){if(this.cbs.onprocessinginstruction){var t=this.getInstructionName(e);this.cbs.onprocessinginstruction("?"+t,"?"+e)}},e.prototype.oncomment=function(e){var t,n,r,i;this.updatePosition(4),null===(n=(t=this.cbs).oncomment)||void 0===n||n.call(t,e),null===(i=(r=this.cbs).oncommentend)||void 0===i||i.call(r)},e.prototype.oncdata=function(e){var t,n,r,i,o,s;this.updatePosition(1),this.options.xmlMode||this.options.recognizeCDATA?(null===(n=(t=this.cbs).oncdatastart)||void 0===n||n.call(t),null===(i=(r=this.cbs).ontext)||void 0===i||i.call(r,e),null===(s=(o=this.cbs).oncdataend)||void 0===s||s.call(o)):this.oncomment("[CDATA["+e+"]]")},e.prototype.onerror=function(e){var t,n;null===(n=(t=this.cbs).onerror)||void 0===n||n.call(t,e)},e.prototype.onend=function(){var e,t;if(this.cbs.onclosetag)for(var n=this.stack.length;n>0;this.cbs.onclosetag(this.stack[--n]));null===(t=(e=this.cbs).onend)||void 0===t||t.call(e)},e.prototype.reset=function(){var e,t,n,r;null===(t=(e=this.cbs).onreset)||void 0===t||t.call(e),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack=[],null===(r=(n=this.cbs).onparserinit)||void 0===r||r.call(n,this)},e.prototype.parseComplete=function(e){this.reset(),this.end(e)},e.prototype.write=function(e){this.tokenizer.write(e)},e.prototype.end=function(e){this.tokenizer.end(e)},e.prototype.pause=function(){this.tokenizer.pause()},e.prototype.resume=function(){this.tokenizer.resume()},e.prototype.parseChunk=function(e){this.write(e)},e.prototype.done=function(e){this.end(e)},e}();pW.Parser=yG;var vG={},bG={};!function(e){var t,n;Object.defineProperty(e,"__esModule",{value:!0}),e.Doctype=e.CDATA=e.Tag=e.Style=e.Script=e.Comment=e.Directive=e.Text=e.Root=e.isTag=e.ElementType=void 0,(n=t=e.ElementType||(e.ElementType={})).Root="root",n.Text="text",n.Directive="directive",n.Comment="comment",n.Script="script",n.Style="style",n.Tag="tag",n.CDATA="cdata",n.Doctype="doctype",e.isTag=function(e){return e.type===t.Tag||e.type===t.Script||e.type===t.Style},e.Root=t.Root,e.Text=t.Text,e.Directive=t.Directive,e.Comment=t.Comment,e.Script=t.Script,e.Style=t.Style,e.Tag=t.Tag,e.CDATA=t.CDATA,e.Doctype=t.Doctype}(bG);var _G={},wG=l&&l.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),SG=l&&l.__assign||function(){return(SG=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(TG);_G.NodeWithChildren=IG;var NG=function(e){function t(t){return e.call(this,xG.ElementType.Root,t)||this}return wG(t,e),t}(IG);_G.Document=NG;var DG=function(e){function t(t,n,r,i){void 0===r&&(r=[]),void 0===i&&(i="script"===t?xG.ElementType.Script:"style"===t?xG.ElementType.Style:xG.ElementType.Tag);var o=e.call(this,i,r)||this;return o.name=t,o.attribs=n,o}return wG(t,e),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}}))},enumerable:!1,configurable:!0}),t}(IG);function MG(e){return(0,xG.isTag)(e)}function RG(e){return e.type===xG.ElementType.CDATA}function LG(e){return e.type===xG.ElementType.Text}function PG(e){return e.type===xG.ElementType.Comment}function jG(e){return e.type===xG.ElementType.Directive}function FG(e){return e.type===xG.ElementType.Root}function UG(e,t){var n;if(void 0===t&&(t=!1),LG(e))n=new CG(e.data);else if(PG(e))n=new OG(e.data);else if(MG(e)){var r=t?qG(e.children):[],i=new DG(e.name,SG({},e.attribs),r);r.forEach((function(e){return e.parent=i})),null!=e.namespace&&(i.namespace=e.namespace),e["x-attribsNamespace"]&&(i["x-attribsNamespace"]=SG({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(i["x-attribsPrefix"]=SG({},e["x-attribsPrefix"])),n=i}else if(RG(e)){r=t?qG(e.children):[];var o=new IG(xG.ElementType.CDATA,r);r.forEach((function(e){return e.parent=o})),n=o}else if(FG(e)){r=t?qG(e.children):[];var s=new NG(r);r.forEach((function(e){return e.parent=s})),e["x-mode"]&&(s["x-mode"]=e["x-mode"]),n=s}else{if(!jG(e))throw new Error("Not implemented yet: ".concat(e.type));var a=new AG(e.name,e.data);null!=e["x-name"]&&(a["x-name"]=e["x-name"],a["x-publicId"]=e["x-publicId"],a["x-systemId"]=e["x-systemId"]),n=a}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function qG(e){for(var t=e.map((function(e){return UG(e,!0)})),n=1;n1?hY(e):e.charCodeAt(0)).toString(16).toUpperCase()+";"}var mY=new RegExp(oY.source+"|"+fY.source,"g");function gY(e){return function(t){return t.replace(mY,(function(t){return e[t]||pY(t)}))}}nY.escape=function(e){return e.replace(mY,pY)},nY.escapeUTF8=function(e){return e.replace(oY,pY)},function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXMLStrict=e.decodeHTML5Strict=e.decodeHTML4Strict=e.decodeHTML5=e.decodeHTML4=e.decodeHTMLStrict=e.decodeHTML=e.decodeXML=e.encodeHTML5=e.encodeHTML4=e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=e.encode=e.decodeStrict=e.decode=void 0;var t=WG,n=nY;e.decode=function(e,n){return(!n||n<=0?t.decodeXML:t.decodeHTML)(e)},e.decodeStrict=function(e,n){return(!n||n<=0?t.decodeXML:t.decodeHTMLStrict)(e)},e.encode=function(e,t){return(!t||t<=0?n.encodeXML:n.encodeHTML)(e)};var r=nY;Object.defineProperty(e,"encodeXML",{enumerable:!0,get:function(){return r.encodeXML}}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:function(){return r.encodeHTML}}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return r.encodeNonAsciiHTML}}),Object.defineProperty(e,"escape",{enumerable:!0,get:function(){return r.escape}}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:function(){return r.escapeUTF8}}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:function(){return r.encodeHTML}}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:function(){return r.encodeHTML}});var i=WG;Object.defineProperty(e,"decodeXML",{enumerable:!0,get:function(){return i.decodeXML}}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:function(){return i.decodeHTML}}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:function(){return i.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:function(){return i.decodeHTML}}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:function(){return i.decodeHTML}}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:function(){return i.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:function(){return i.decodeHTMLStrict}}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:function(){return i.decodeXML}})}($G);var yY={};Object.defineProperty(yY,"__esModule",{value:!0}),yY.attributeNames=yY.elementNames=void 0,yY.elementNames=new Map([["altglyph","altGlyph"],["altglyphdef","altGlyphDef"],["altglyphitem","altGlyphItem"],["animatecolor","animateColor"],["animatemotion","animateMotion"],["animatetransform","animateTransform"],["clippath","clipPath"],["feblend","feBlend"],["fecolormatrix","feColorMatrix"],["fecomponenttransfer","feComponentTransfer"],["fecomposite","feComposite"],["feconvolvematrix","feConvolveMatrix"],["fediffuselighting","feDiffuseLighting"],["fedisplacementmap","feDisplacementMap"],["fedistantlight","feDistantLight"],["fedropshadow","feDropShadow"],["feflood","feFlood"],["fefunca","feFuncA"],["fefuncb","feFuncB"],["fefuncg","feFuncG"],["fefuncr","feFuncR"],["fegaussianblur","feGaussianBlur"],["feimage","feImage"],["femerge","feMerge"],["femergenode","feMergeNode"],["femorphology","feMorphology"],["feoffset","feOffset"],["fepointlight","fePointLight"],["fespecularlighting","feSpecularLighting"],["fespotlight","feSpotLight"],["fetile","feTile"],["feturbulence","feTurbulence"],["foreignobject","foreignObject"],["glyphref","glyphRef"],["lineargradient","linearGradient"],["radialgradient","radialGradient"],["textpath","textPath"]]),yY.attributeNames=new Map([["definitionurl","definitionURL"],["attributename","attributeName"],["attributetype","attributeType"],["basefrequency","baseFrequency"],["baseprofile","baseProfile"],["calcmode","calcMode"],["clippathunits","clipPathUnits"],["diffuseconstant","diffuseConstant"],["edgemode","edgeMode"],["filterunits","filterUnits"],["glyphref","glyphRef"],["gradienttransform","gradientTransform"],["gradientunits","gradientUnits"],["kernelmatrix","kernelMatrix"],["kernelunitlength","kernelUnitLength"],["keypoints","keyPoints"],["keysplines","keySplines"],["keytimes","keyTimes"],["lengthadjust","lengthAdjust"],["limitingconeangle","limitingConeAngle"],["markerheight","markerHeight"],["markerunits","markerUnits"],["markerwidth","markerWidth"],["maskcontentunits","maskContentUnits"],["maskunits","maskUnits"],["numoctaves","numOctaves"],["pathlength","pathLength"],["patterncontentunits","patternContentUnits"],["patterntransform","patternTransform"],["patternunits","patternUnits"],["pointsatx","pointsAtX"],["pointsaty","pointsAtY"],["pointsatz","pointsAtZ"],["preservealpha","preserveAlpha"],["preserveaspectratio","preserveAspectRatio"],["primitiveunits","primitiveUnits"],["refx","refX"],["refy","refY"],["repeatcount","repeatCount"],["repeatdur","repeatDur"],["requiredextensions","requiredExtensions"],["requiredfeatures","requiredFeatures"],["specularconstant","specularConstant"],["specularexponent","specularExponent"],["spreadmethod","spreadMethod"],["startoffset","startOffset"],["stddeviation","stdDeviation"],["stitchtiles","stitchTiles"],["surfacescale","surfaceScale"],["systemlanguage","systemLanguage"],["tablevalues","tableValues"],["targetx","targetX"],["targety","targetY"],["textlength","textLength"],["viewbox","viewBox"],["viewtarget","viewTarget"],["xchannelselector","xChannelSelector"],["ychannelselector","yChannelSelector"],["zoomandpan","zoomAndPan"]]);var vY=l&&l.__assign||function(){return(vY=Object.assign||function(e){for(var t,n=1,r=arguments.length;n";case SY.Comment:return function(e){return"\x3c!--"+e.data+"--\x3e"}(e);case SY.CDATA:return function(e){return""}(e);case SY.Script:case SY.Style:case SY.Tag:return function(e,t){var n;"foreign"===t.xmlMode&&(e.name=null!==(n=kY.elementNames.get(e.name))&&void 0!==n?n:e.name,e.parent&&AY.has(e.parent.name)&&(t=vY(vY({},t),{xmlMode:!1})));!t.xmlMode&&IY.has(e.name)&&(t=vY(vY({},t),{xmlMode:"foreign"}));var r="<"+e.name,i=function(e,t){if(e)return Object.keys(e).map((function(n){var r,i,o=null!==(r=e[n])&&void 0!==r?r:"";return"foreign"===t.xmlMode&&(n=null!==(i=kY.attributeNames.get(n))&&void 0!==i?i:n),t.emptyAttrs||t.xmlMode||""!==o?n+'="'+(!1!==t.decodeEntities?xY.encodeXML(o):o.replace(/"/g,"""))+'"':n})).join(" ")}(e.attribs,t);i&&(r+=" "+i);0===e.children.length&&(t.xmlMode?!1!==t.selfClosingTags:t.selfClosingTags&&EY.has(e.name))?(t.xmlMode||(r+=" "),r+="/>"):(r+=">",e.children.length>0&&(r+=CY(e.children,t)),!t.xmlMode&&EY.has(e.name)||(r+=""));return r}(e,t);case SY.Text:return function(e,t){var n=e.data||"";!1===t.decodeEntities||!t.xmlMode&&e.parent&&TY.has(e.parent.name)||(n=xY.encodeXML(n));return n}(e,t)}}zG.default=CY;var AY=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),IY=new Set(["svg","math"]);var NY=l&&l.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(HG,"__esModule",{value:!0}),HG.innerText=HG.textContent=HG.getText=HG.getInnerHTML=HG.getOuterHTML=void 0;var DY=vG,MY=NY(zG),RY=bG;function LY(e,t){return(0,MY.default)(e,t)}HG.getOuterHTML=LY,HG.getInnerHTML=function(e,t){return(0,DY.hasChildren)(e)?e.children.map((function(e){return LY(e,t)})).join(""):""},HG.getText=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,DY.isTag)(t)?"br"===t.name?"\n":e(t.children):(0,DY.isCDATA)(t)?e(t.children):(0,DY.isText)(t)?t.data:""},HG.textContent=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,DY.hasChildren)(t)&&!(0,DY.isComment)(t)?e(t.children):(0,DY.isText)(t)?t.data:""},HG.innerText=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,DY.hasChildren)(t)&&(t.type===RY.ElementType.Tag||(0,DY.isCDATA)(t))?e(t.children):(0,DY.isText)(t)?t.data:""};var PY={};Object.defineProperty(PY,"__esModule",{value:!0}),PY.prevElementSibling=PY.nextElementSibling=PY.getName=PY.hasAttrib=PY.getAttributeValue=PY.getSiblings=PY.getParent=PY.getChildren=void 0;var jY=vG,FY=[];function UY(e){var t;return null!==(t=e.children)&&void 0!==t?t:FY}function qY(e){return e.parent||null}PY.getChildren=UY,PY.getParent=qY,PY.getSiblings=function(e){var t=qY(e);if(null!=t)return UY(t);for(var n=[e],r=e.prev,i=e.next;null!=r;)n.unshift(r),r=r.prev;for(;null!=i;)n.push(i),i=i.next;return n},PY.getAttributeValue=function(e,t){var n;return null===(n=e.attribs)||void 0===n?void 0:n[t]},PY.hasAttrib=function(e,t){return null!=e.attribs&&Object.prototype.hasOwnProperty.call(e.attribs,t)&&null!=e.attribs[t]},PY.getName=function(e){return e.name},PY.nextElementSibling=function(e){for(var t=e.next;null!==t&&!(0,jY.isTag)(t);)t=t.next;return t},PY.prevElementSibling=function(e){for(var t=e.prev;null!==t&&!(0,jY.isTag)(t);)t=t.prev;return t};var BY={};function VY(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var t=e.parent.children;t.splice(t.lastIndexOf(e),1)}}Object.defineProperty(BY,"__esModule",{value:!0}),BY.prepend=BY.prependChild=BY.append=BY.appendChild=BY.replaceElement=BY.removeElement=void 0,BY.removeElement=VY,BY.replaceElement=function(e,t){var n=t.prev=e.prev;n&&(n.next=t);var r=t.next=e.next;r&&(r.prev=t);var i=t.parent=e.parent;if(i){var o=i.children;o[o.lastIndexOf(e)]=t}},BY.appendChild=function(e,t){if(VY(t),t.next=null,t.parent=e,e.children.push(t)>1){var n=e.children[e.children.length-2];n.next=t,t.prev=n}else t.prev=null},BY.append=function(e,t){VY(t);var n=e.parent,r=e.next;if(t.next=r,t.prev=e,e.next=t,t.parent=n,r){if(r.prev=t,n){var i=n.children;i.splice(i.lastIndexOf(r),0,t)}}else n&&n.children.push(t)},BY.prependChild=function(e,t){if(VY(t),t.parent=e,t.prev=null,1!==e.children.unshift(t)){var n=e.children[1];n.prev=t,t.next=n}else t.next=null},BY.prepend=function(e,t){VY(t);var n=e.parent;if(n){var r=n.children;r.splice(r.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=n,t.prev=e.prev,t.next=e,e.prev=t};var HY={};Object.defineProperty(HY,"__esModule",{value:!0}),HY.findAll=HY.existsOne=HY.findOne=HY.findOneChild=HY.find=HY.filter=void 0;var zY=vG;function $Y(e,t,n,r){for(var i=[],o=0,s=t;o0){var c=$Y(e,a.children,n,r);if(i.push.apply(i,c),(r-=c.length)<=0)break}}return i}HY.filter=function(e,t,n,r){return void 0===n&&(n=!0),void 0===r&&(r=1/0),Array.isArray(t)||(t=[t]),$Y(e,t,n,r)},HY.find=$Y,HY.findOneChild=function(e,t){return t.find(e)},HY.findOne=function e(t,n,r){void 0===r&&(r=!0);for(var i=null,o=0;o0&&(i=e(t,s.children)))}return i},HY.existsOne=function e(t,n){return n.some((function(n){return(0,zY.isTag)(n)&&(t(n)||n.children.length>0&&e(t,n.children))}))},HY.findAll=function(e,t){for(var n,r,i=[],o=t.filter(zY.isTag);r=o.shift();){var s=null===(n=r.children)||void 0===n?void 0:n.filter(zY.isTag);s&&s.length>0&&o.unshift.apply(o,s),e(r)&&i.push(r)}return i};var WY={};Object.defineProperty(WY,"__esModule",{value:!0}),WY.getElementsByTagType=WY.getElementsByTagName=WY.getElementById=WY.getElements=WY.testElement=void 0;var GY=vG,YY=HY,QY={tag_name:function(e){return"function"==typeof e?function(t){return(0,GY.isTag)(t)&&e(t.name)}:"*"===e?GY.isTag:function(t){return(0,GY.isTag)(t)&&t.name===e}},tag_type:function(e){return"function"==typeof e?function(t){return e(t.type)}:function(t){return t.type===e}},tag_contains:function(e){return"function"==typeof e?function(t){return(0,GY.isText)(t)&&e(t.data)}:function(t){return(0,GY.isText)(t)&&t.data===e}}};function KY(e,t){return"function"==typeof t?function(n){return(0,GY.isTag)(n)&&t(n.attribs[e])}:function(n){return(0,GY.isTag)(n)&&n.attribs[e]===t}}function JY(e,t){return function(n){return e(n)||t(n)}}function XY(e){var t=Object.keys(e).map((function(t){var n=e[t];return Object.prototype.hasOwnProperty.call(QY,t)?QY[t](n):KY(t,n)}));return 0===t.length?null:t.reduce(JY)}WY.testElement=function(e,t){var n=XY(e);return!n||n(t)},WY.getElements=function(e,t,n,r){void 0===r&&(r=1/0);var i=XY(e);return i?(0,YY.filter)(i,t,n,r):[]},WY.getElementById=function(e,t,n){return void 0===n&&(n=!0),Array.isArray(t)||(t=[t]),(0,YY.findOne)(KY("id",e),t,n)},WY.getElementsByTagName=function(e,t,n,r){return void 0===n&&(n=!0),void 0===r&&(r=1/0),(0,YY.filter)(QY.tag_name(e),t,n,r)},WY.getElementsByTagType=function(e,t,n,r){return void 0===n&&(n=!0),void 0===r&&(r=1/0),(0,YY.filter)(QY.tag_type(e),t,n,r)};var ZY={};Object.defineProperty(ZY,"__esModule",{value:!0}),ZY.uniqueSort=ZY.compareDocumentPosition=ZY.removeSubsets=void 0;var eQ=vG;function tQ(e,t){var n=[],r=[];if(e===t)return 0;for(var i=(0,eQ.hasChildren)(e)?e:e.parent;i;)n.unshift(i),i=i.parent;for(i=(0,eQ.hasChildren)(t)?t:t.parent;i;)r.unshift(i),i=i.parent;for(var o=Math.min(n.length,r.length),s=0;sc.indexOf(l)?a===t?20:4:a===e?10:2}ZY.removeSubsets=function(e){for(var t=e.length;--t>=0;){var n=e[t];if(t>0&&e.lastIndexOf(n,t-1)>=0)e.splice(t,1);else for(var r=n.parent;r;r=r.parent)if(e.includes(r)){e.splice(t,1);break}}return e},ZY.compareDocumentPosition=tQ,ZY.uniqueSort=function(e){return(e=e.filter((function(e,t,n){return!n.includes(e,t+1)}))).sort((function(e,t){var n=tQ(e,t);return 2&n?-1:4&n?1:0})),e};var nQ={};Object.defineProperty(nQ,"__esModule",{value:!0}),nQ.getFeed=void 0;var rQ=HG,iQ=WY;nQ.getFeed=function(e){var t=cQ(dQ,e);return t?"feed"===t.name?function(e){var t,n=e.children,r={type:"atom",items:(0,iQ.getElementsByTagName)("entry",n).map((function(e){var t,n=e.children,r={media:aQ(n)};lQ(r,"id","id",n),lQ(r,"title","title",n);var i=null===(t=cQ("link",n))||void 0===t?void 0:t.attribs.href;i&&(r.link=i);var o=uQ("summary",n)||uQ("content",n);o&&(r.description=o);var s=uQ("updated",n);return s&&(r.pubDate=new Date(s)),r}))};lQ(r,"id","id",n),lQ(r,"title","title",n);var i=null===(t=cQ("link",n))||void 0===t?void 0:t.attribs.href;i&&(r.link=i);lQ(r,"description","subtitle",n);var o=uQ("updated",n);o&&(r.updated=new Date(o));return lQ(r,"author","email",n,!0),r}(t):function(e){var t,n,r=null!==(n=null===(t=cQ("channel",e.children))||void 0===t?void 0:t.children)&&void 0!==n?n:[],i={type:e.name.substr(0,3),id:"",items:(0,iQ.getElementsByTagName)("item",e.children).map((function(e){var t=e.children,n={media:aQ(t)};lQ(n,"id","guid",t),lQ(n,"title","title",t),lQ(n,"link","link",t),lQ(n,"description","description",t);var r=uQ("pubDate",t);return r&&(n.pubDate=new Date(r)),n}))};lQ(i,"title","title",r),lQ(i,"link","link",r),lQ(i,"description","description",r);var o=uQ("lastBuildDate",r);o&&(i.updated=new Date(o));return lQ(i,"author","managingEditor",r,!0),i}(t):null};var oQ=["url","type","lang"],sQ=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function aQ(e){return(0,iQ.getElementsByTagName)("media:content",e).map((function(e){for(var t=e.attribs,n={medium:t.medium,isDefault:!!t.isDefault},r=0,i=oQ;r * * Copyright (c) 2014-2017, Jon Schlinkert. * Released under the MIT License. */ function MQ(e){return"[object Object]"===Object.prototype.toString.call(e)}Object.defineProperty(DQ,"__esModule",{value:!0}),DQ.isPlainObject=function(e){var t,n;return!1!==MQ(e)&&(void 0===(t=e.constructor)||!1!==MQ(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf"))};var RQ=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===LQ}(e)}(e)};var LQ="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function PQ(e,t){return!1!==t.clone&&t.isMergeableObject(e)?BQ((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function jQ(e,t,n){return e.concat(t).map((function(e){return PQ(e,n)}))}function FQ(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function UQ(e,t){try{return t in e}catch(n){return!1}}function qQ(e,t,n){var r={};return n.isMergeableObject(e)&&FQ(e).forEach((function(t){r[t]=PQ(e[t],n)})),FQ(t).forEach((function(i){(function(e,t){return UQ(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,i)||(UQ(e,i)&&n.isMergeableObject(t[i])?r[i]=function(e,t){if(!t.customMerge)return BQ;var n=t.customMerge(e);return"function"==typeof n?n:BQ}(i,n)(e[i],t[i],n):r[i]=PQ(t[i],n))})),r}function BQ(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||jQ,n.isMergeableObject=n.isMergeableObject||RQ,n.cloneUnlessOtherwiseSpecified=PQ;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):qQ(e,t,n):PQ(t,n)}BQ.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return BQ(e,n,t)}),{})};var VQ=BQ,HQ={exports:{}};!function(e){var t,n;t=l,n=function(){return function(e){function t(e){return" "===e||"\t"===e||"\n"===e||"\f"===e||"\r"===e}function n(t){var n,r=t.exec(e.substring(m));if(r)return n=r[0],m+=n.length,n}for(var r,i,o,s,a,c=e.length,u=/^[ \t\n\r\u000c]+/,l=/^[, \t\n\r\u000c]+/,d=/^[^ \t\n\r\u000c]+/,f=/[,]+$/,h=/^\d+$/,p=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,m=0,g=[];;){if(n(l),m>=c)return g;r=n(d),i=[],","===r.slice(-1)?(r=r.replace(f,""),v()):y()}function y(){for(n(u),o="",s="in descriptor";;){if(a=e.charAt(m),"in descriptor"===s)if(t(a))o&&(i.push(o),o="",s="after descriptor");else{if(","===a)return m+=1,o&&i.push(o),void v();if("("===a)o+=a,s="in parens";else{if(""===a)return o&&i.push(o),void v();o+=a}}else if("in parens"===s)if(")"===a)o+=a,s="in descriptor";else{if(""===a)return i.push(o),void v();o+=a}else if("after descriptor"===s)if(t(a));else{if(""===a)return void v();s="in descriptor",m-=1}m+=1}}function v(){var t,n,o,s,a,c,u,l,d,f=!1,m={};for(s=0;s",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;null==e&&(e=QQ.isColorSupported),KQ&&e&&(t=KQ(t));let n,r,i=t.split(/\r?\n/),o=Math.max(this.line-3,0),s=Math.min(this.line+2,i.length),a=String(s).length;if(e){let{bold:e,red:t,gray:i}=QQ.createColors(!0);n=n=>e(t(n)),r=e=>i(e)}else n=r=e=>e;return i.slice(o,s).map(((e,t)=>{let i=o+1+t,s=" "+(" "+i).slice(-a)+" | ";if(i===this.line){let t=r(s.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return n(">")+r(s)+e+"\n "+t+n("^")}return" "+r(s)+e})).join("\n")}toString(){let e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e}}var XQ=JQ;JQ.default=JQ;var ZQ={};ZQ.isClean=Symbol("isClean"),ZQ.my=Symbol("my");const eK={colon:": ",indent:" ",beforeDecl:"\n",beforeRule:"\n",beforeOpen:" ",beforeClose:"\n",beforeComment:"\n",after:"\n",emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};class tK{constructor(e){this.builder=e}stringify(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)}document(e){this.body(e)}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}comment(e){let t=this.raw(e,"left","commentLeft"),n=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+n+"*/",e)}decl(e,t){let n=this.raw(e,"between","colon"),r=e.prop+n+this.rawValue(e,"value");e.important&&(r+=e.raws.important||" !important"),t&&(r+=";"),this.builder(r,e)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}atrule(e,t){let n="@"+e.name,r=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?n+=e.raws.afterName:r&&(n+=" "),e.nodes)this.block(e,n+r);else{let i=(e.raws.between||"")+(t?";":"");this.builder(n+r+i,e)}}body(e){let t=e.nodes.length-1;for(;t>0&&"comment"===e.nodes[t].type;)t-=1;let n=this.raw(e,"semicolon");for(let r=0;r{if(r=e.raws[t],void 0!==r)return!1}))}var s;return void 0===r&&(r=eK[n]),o.rawCache[n]=r,r}rawSemicolon(e){let t;return e.walk((e=>{if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&(t=e.raws.semicolon,void 0!==t))return!1})),t}rawEmptyBody(e){let t;return e.walk((e=>{if(e.nodes&&0===e.nodes.length&&(t=e.raws.after,void 0!==t))return!1})),t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;return e.walk((n=>{let r=n.parent;if(r&&r!==e&&r.parent&&r.parent===e&&void 0!==n.raws.before){let e=n.raws.before.split("\n");return t=e[e.length-1],t=t.replace(/\S/g,""),!1}})),t}rawBeforeComment(e,t){let n;return e.walkComments((e=>{if(void 0!==e.raws.before)return n=e.raws.before,n.includes("\n")&&(n=n.replace(/[^\n]+$/,"")),!1})),void 0===n?n=this.raw(t,null,"beforeDecl"):n&&(n=n.replace(/\S/g,"")),n}rawBeforeDecl(e,t){let n;return e.walkDecls((e=>{if(void 0!==e.raws.before)return n=e.raws.before,n.includes("\n")&&(n=n.replace(/[^\n]+$/,"")),!1})),void 0===n?n=this.raw(t,null,"beforeRule"):n&&(n=n.replace(/\S/g,"")),n}rawBeforeRule(e){let t;return e.walk((n=>{if(n.nodes&&(n.parent!==e||e.first!==n)&&void 0!==n.raws.before)return t=n.raws.before,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t}rawBeforeClose(e){let t;return e.walk((e=>{if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return t=e.raws.after,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t}rawBeforeOpen(e){let t;return e.walk((e=>{if("decl"!==e.type&&(t=e.raws.between,void 0!==t))return!1})),t}rawColon(e){let t;return e.walkDecls((e=>{if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1})),t}beforeAfter(e,t){let n;n="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");let r=e.parent,i=0;for(;r&&"root"!==r.type;)i+=1,r=r.parent;if(n.includes("\n")){let t=this.raw(e,null,"indent");if(t.length)for(let e=0;edK(e,n))):("object"===o&&null!==i&&(i=dK(i)),n[r]=i)}return n}class fK{constructor(e={}){this.raws={},this[sK]=!1,this[aK]=!0;for(let t in e)if("nodes"===t){this.nodes=[];for(let n of e[t])"function"==typeof n.clone?this.append(n.clone()):this.append(n)}else this[t]=e[t]}error(e,t={}){if(this.source){let{start:n,end:r}=this.rangeBy(t);return this.source.input.error(e,{line:n.line,column:n.column},{line:r.line,column:r.column},t)}return new cK(e)}warn(e,t,n){let r={node:this};for(let i in n)r[i]=n[i];return e.warn(t,r)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(e=lK){e.stringify&&(e=e.stringify);let t="";return e(this,(e=>{t+=e})),t}assign(e={}){for(let t in e)this[t]=e[t];return this}clone(e={}){let t=dK(this);for(let n in e)t[n]=e[n];return t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}replaceWith(...e){if(this.parent){let t=this,n=!1;for(let r of e)r===this?n=!0:n?(this.parent.insertAfter(t,r),t=r):this.parent.insertBefore(t,r);n||this.remove()}return this}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}before(e){return this.parent.insertBefore(this,e),this}after(e){return this.parent.insertAfter(this,e),this}root(){let e=this;for(;e.parent&&"document"!==e.parent.type;)e=e.parent;return e}raw(e,t){return(new uK).raw(this,e,t)}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}toJSON(e,t){let n={},r=null==t;t=t||new Map;let i=0;for(let o in this){if(!Object.prototype.hasOwnProperty.call(this,o))continue;if("parent"===o||"proxyCache"===o)continue;let e=this[o];if(Array.isArray(e))n[o]=e.map((e=>"object"==typeof e&&e.toJSON?e.toJSON(null,t):e));else if("object"==typeof e&&e.toJSON)n[o]=e.toJSON(null,t);else if("source"===o){let r=t.get(e.input);null==r&&(r=i,t.set(e.input,i),i++),n[o]={inputId:r,start:e.start,end:e.end}}else n[o]=e}return r&&(n.inputs=[...t.keys()].map((e=>e.toJSON()))),n}positionInside(e){let t=this.toString(),n=this.source.start.column,r=this.source.start.line;for(let i=0;i(e[t]===n||(e[t]=n,"prop"!==t&&"value"!==t&&"name"!==t&&"params"!==t&&"important"!==t&&"text"!==t||e.markDirty()),!0),get:(e,t)=>"proxyOf"===t?e:"root"===t?()=>e.root().toProxy():e[t]}}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}markDirty(){if(this[sK]){this[sK]=!1;let e=this;for(;e=e.parent;)e[sK]=!1}}get proxyOf(){return this}}var hK=fK;fK.default=fK;let pK=hK;class mK extends pK{constructor(e){e&&void 0!==e.value&&"string"!=typeof e.value&&(e=c(a({},e),{value:String(e.value)})),super(e),this.type="decl"}get variable(){return this.prop.startsWith("--")||"$"===this.prop[0]}}var gK=mK;mK.default=mK;var yK={nanoid:(e=21)=>{let t="",n=e;for(;n--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},customAlphabet:(e,t=21)=>(n=t)=>{let r="",i=n;for(;i--;)r+=e[Math.random()*e.length|0];return r}};let{SourceMapConsumer:vK,SourceMapGenerator:bK}=YQ,{existsSync:_K,readFileSync:wK}=YQ,{dirname:SK,join:xK}=YQ;class kK{constructor(e,t){if(!1===t.map)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let n=t.map?t.map.prev:void 0,r=this.loadMap(t.from,n);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=SK(this.mapFile)),r&&(this.text=r)}consumer(){return this.consumerCache||(this.consumerCache=new vK(this.text)),this.consumerCache}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}startWith(e,t){return!!e&&e.substr(0,t.length)===t}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/gm);if(!t)return;let n=e.lastIndexOf(t.pop()),r=e.indexOf("*/",n);n>-1&&r>-1&&(this.annotation=this.getAnnotationURL(e.substring(n,r)))}decodeInline(e){if(/^data:application\/json;charset=utf-?8,/.test(e)||/^data:application\/json,/.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(e)||/^data:application\/json;base64,/.test(e))return t=e.substr(RegExp.lastMatch.length),Buffer?Buffer.from(t,"base64").toString():window.atob(t);var t;let n=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+n)}loadFile(e){if(this.root=SK(e),_K(e))return this.mapFile=e,wK(e,"utf-8").toString().trim()}loadMap(e,t){if(!1===t)return!1;if(t){if("string"==typeof t)return t;if("function"!=typeof t){if(t instanceof vK)return bK.fromSourceMap(t).toString();if(t instanceof bK)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}{let n=t(e);if(n){let e=this.loadFile(n);if(!e)throw new Error("Unable to load previous source map: "+n.toString());return e}}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let t=this.annotation;return e&&(t=xK(SK(e),t)),this.loadFile(t)}}}isMap(e){return"object"==typeof e&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))}}var TK=kK;kK.default=kK;let{SourceMapConsumer:EK,SourceMapGenerator:CK}=YQ,{fileURLToPath:OK,pathToFileURL:AK}=YQ,{resolve:IK,isAbsolute:NK}=YQ,{nanoid:DK}=yK,MK=YQ,RK=XQ,LK=TK,PK=Symbol("fromOffsetCache"),jK=Boolean(EK&&CK),FK=Boolean(IK&&NK);class UK{constructor(e,t={}){if(null==e||"object"==typeof e&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),"\ufeff"===this.css[0]||"￾"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!FK||/^\w+:\/\//.test(t.from)||NK(t.from)?this.file=t.from:this.file=IK(t.from)),FK&&jK){let e=new LK(this.css,t);if(e.text){this.map=e;let t=e.consumer().file;!this.file&&t&&(this.file=this.mapResolve(t))}}this.file||(this.id=""),this.map&&(this.map.file=this.from)}fromOffset(e){let t,n;if(this[PK])n=this[PK];else{let e=this.css.split("\n");n=new Array(e.length);let t=0;for(let r=0,i=e.length;r=t)r=n.length-1;else{let t,i=n.length-2;for(;r>1),e=n[t+1])){r=t;break}r=t+1}}return{line:r+1,col:e-n[r]+1}}error(e,t,n,r={}){let i,o,s;if(t&&"object"==typeof t){let e=t,r=n;if("number"==typeof e.offset){let r=this.fromOffset(e.offset);t=r.line,n=r.col}else t=e.line,n=e.column;if("number"==typeof r.offset){let e=this.fromOffset(r.offset);o=e.line,s=e.col}else o=r.line,s=r.column}else if(!n){let e=this.fromOffset(t);t=e.line,n=e.col}let a=this.origin(t,n,o,s);return i=a?new RK(e,void 0===a.endLine?a.line:{line:a.line,column:a.column},void 0===a.endLine?a.column:{line:a.endLine,column:a.endColumn},a.source,a.file,r.plugin):new RK(e,void 0===o?t:{line:t,column:n},void 0===o?n:{line:o,column:s},this.css,this.file,r.plugin),i.input={line:t,column:n,endLine:o,endColumn:s,source:this.css},this.file&&(AK&&(i.input.url=AK(this.file).toString()),i.input.file=this.file),i}origin(e,t,n,r){if(!this.map)return!1;let i,o,s=this.map.consumer(),a=s.originalPositionFor({line:e,column:t});if(!a.source)return!1;"number"==typeof n&&(i=s.originalPositionFor({line:n,column:r})),o=NK(a.source)?AK(a.source):new URL(a.source,this.map.consumer().sourceRoot||AK(this.map.mapFile));let c={url:o.toString(),line:a.line,column:a.column,endLine:i&&i.line,endColumn:i&&i.column};if("file:"===o.protocol){if(!OK)throw new Error("file: protocol is not available in this PostCSS build");c.file=OK(o)}let u=s.sourceContentFor(a.source);return u&&(c.source=u),c}mapResolve(e){return/^\w+:\/\//.test(e)?e:IK(this.map.consumer().sourceRoot||this.map.root||".",e)}get from(){return this.file||this.id}toJSON(){let e={};for(let t of["hasBOM","css","file","id"])null!=this[t]&&(e[t]=this[t]);return this.map&&(e.map=a({},this.map),e.map.consumerCache&&(e.map.consumerCache=void 0)),e}}var qK=UK;UK.default=UK,MK&&MK.registerInput&&MK.registerInput(UK);let{SourceMapConsumer:BK,SourceMapGenerator:VK}=YQ,{dirname:HK,resolve:zK,relative:$K,sep:WK}=YQ,{pathToFileURL:GK}=YQ,YK=qK,QK=Boolean(BK&&VK),KK=Boolean(HK&&zK&&$K&&WK);var JK=class{constructor(e,t,n,r){this.stringify=e,this.mapOpts=n.map||{},this.root=t,this.opts=n,this.css=r,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute}isMap(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk((e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}}));else{let e=new YK(this.css,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}isInline(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;let e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some((e=>e.inline)))}isSourcesContent(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some((e=>e.withContent()))}clearAnnotation(){if(!1!==this.mapOpts.annotation)if(this.root){let e;for(let t=this.root.nodes.length-1;t>=0;t--)e=this.root.nodes[t],"comment"===e.type&&0===e.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(t)}else this.css&&(this.css=this.css.replace(/(\n)?\/\*#[\S\s]*?\*\/$/gm,""))}setSourcesContent(){let e={};if(this.root)this.root.walk((t=>{if(t.source){let n=t.source.input.from;if(n&&!e[n]){e[n]=!0;let r=this.usesFileUrls?this.toFileUrl(n):this.toUrl(this.path(n));this.map.setSourceContent(r,t.source.input.css)}}}));else if(this.css){let e=this.opts.from?this.toUrl(this.path(this.opts.from)):"";this.map.setSourceContent(e,this.css)}}applyPrevMaps(){for(let e of this.previous()){let t,n=this.toUrl(this.path(e.file)),r=e.root||HK(e.file);!1===this.mapOpts.sourcesContent?(t=new BK(e.text),t.sourcesContent&&(t.sourcesContent=t.sourcesContent.map((()=>null)))):t=e.consumer(),this.map.applySourceMap(t,n,this.toUrl(this.path(r)))}}isAnnotation(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some((e=>e.annotation)))}toBase64(e){return Buffer?Buffer.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}addAnnotation(){let e;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";let t="\n";this.css.includes("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}generateMap(){if(this.root)this.generateString();else if(1===this.previous().length){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=VK.fromSourceMap(e)}else this.map=new VK({file:this.outputFile()}),this.map.addMapping({source:this.opts.from?this.toUrl(this.path(this.opts.from)):"",generated:{line:1,column:0},original:{line:1,column:0}});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}path(e){if(0===e.indexOf("<"))return e;if(/^\w+:\/\//.test(e))return e;if(this.mapOpts.absolute)return e;let t=this.opts.to?HK(this.opts.to):".";return"string"==typeof this.mapOpts.annotation&&(t=HK(zK(t,this.mapOpts.annotation))),e=$K(t,e)}toUrl(e){return"\\"===WK&&(e=e.replace(/\\/g,"/")),encodeURI(e).replace(/[#?]/g,encodeURIComponent)}toFileUrl(e){if(GK)return GK(e).toString();throw new Error("`map.absolute` option is not available in this PostCSS build")}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}generateString(){this.css="",this.map=new VK({file:this.outputFile()});let e,t,n=1,r=1,i="",o={source:"",generated:{line:0,column:0},original:{line:0,column:0}};this.stringify(this.root,((s,a,c)=>{if(this.css+=s,a&&"end"!==c&&(o.generated.line=n,o.generated.column=r-1,a.source&&a.source.start?(o.source=this.sourcePath(a),o.original.line=a.source.start.line,o.original.column=a.source.start.column-1,this.map.addMapping(o)):(o.source=i,o.original.line=1,o.original.column=0,this.map.addMapping(o))),e=s.match(/\n/g),e?(n+=e.length,t=s.lastIndexOf("\n"),r=s.length-t):r+=s.length,a&&"start"!==c){let e=a.parent||{raws:{}};("decl"===a.type||"atrule"===a.type&&!a.nodes)&&a===e.last&&!e.raws.semicolon||(a.source&&a.source.end?(o.source=this.sourcePath(a),o.original.line=a.source.end.line,o.original.column=a.source.end.column-1,o.generated.line=n,o.generated.column=r-2,this.map.addMapping(o)):(o.source=i,o.original.line=1,o.original.column=0,o.generated.line=n,o.generated.column=r-1,this.map.addMapping(o)))}}))}generate(){if(this.clearAnnotation(),KK&&QK&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,(t=>{e+=t})),[e]}}};let XK=hK;class ZK extends XK{constructor(e){super(e),this.type="comment"}}var eJ=ZK;ZK.default=ZK;let tJ,nJ,rJ,iJ,{isClean:oJ,my:sJ}=ZQ,aJ=gK,cJ=eJ,uJ=hK;function lJ(e){return e.map((e=>(e.nodes&&(e.nodes=lJ(e.nodes)),delete e.source,e)))}function dJ(e){if(e[oJ]=!1,e.proxyOf.nodes)for(let t of e.proxyOf.nodes)dJ(t)}class fJ extends uJ{push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}each(e){if(!this.proxyOf.nodes)return;let t,n,r=this.getIterator();for(;this.indexes[r]{let r;try{r=e(t,n)}catch(JZ){throw t.addToError(JZ)}return!1!==r&&t.walk&&(r=t.walk(e)),r}))}walkDecls(e,t){return t?e instanceof RegExp?this.walk(((n,r)=>{if("decl"===n.type&&e.test(n.prop))return t(n,r)})):this.walk(((n,r)=>{if("decl"===n.type&&n.prop===e)return t(n,r)})):(t=e,this.walk(((e,n)=>{if("decl"===e.type)return t(e,n)})))}walkRules(e,t){return t?e instanceof RegExp?this.walk(((n,r)=>{if("rule"===n.type&&e.test(n.selector))return t(n,r)})):this.walk(((n,r)=>{if("rule"===n.type&&n.selector===e)return t(n,r)})):(t=e,this.walk(((e,n)=>{if("rule"===e.type)return t(e,n)})))}walkAtRules(e,t){return t?e instanceof RegExp?this.walk(((n,r)=>{if("atrule"===n.type&&e.test(n.name))return t(n,r)})):this.walk(((n,r)=>{if("atrule"===n.type&&n.name===e)return t(n,r)})):(t=e,this.walk(((e,n)=>{if("atrule"===e.type)return t(e,n)})))}walkComments(e){return this.walk(((t,n)=>{if("comment"===t.type)return e(t,n)}))}append(...e){for(let t of e){let e=this.normalize(t,this.last);for(let t of e)this.proxyOf.nodes.push(t)}return this.markDirty(),this}prepend(...e){e=e.reverse();for(let t of e){let e=this.normalize(t,this.first,"prepend").reverse();for(let t of e)this.proxyOf.nodes.unshift(t);for(let t in this.indexes)this.indexes[t]=this.indexes[t]+e.length}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}insertBefore(e,t){let n,r=this.index(e),i=0===r&&"prepend",o=this.normalize(t,this.proxyOf.nodes[r],i).reverse();r=this.index(e);for(let s of o)this.proxyOf.nodes.splice(r,0,s);for(let s in this.indexes)n=this.indexes[s],r<=n&&(this.indexes[s]=n+o.length);return this.markDirty(),this}insertAfter(e,t){let n,r=this.index(e),i=this.normalize(t,this.proxyOf.nodes[r]).reverse();r=this.index(e);for(let o of i)this.proxyOf.nodes.splice(r+1,0,o);for(let o in this.indexes)n=this.indexes[o],r=e&&(this.indexes[n]=t-1);return this.markDirty(),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}replaceValues(e,t,n){return n||(n=t,t={}),this.walkDecls((r=>{t.props&&!t.props.includes(r.prop)||t.fast&&!r.value.includes(t.fast)||(r.value=r.value.replace(e,n))})),this.markDirty(),this}every(e){return this.nodes.every(e)}some(e){return this.nodes.some(e)}index(e){return"number"==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}normalize(e,t){if("string"==typeof e)e=lJ(tJ(e).nodes);else if(Array.isArray(e)){e=e.slice(0);for(let t of e)t.parent&&t.parent.removeChild(t,"ignore")}else if("root"===e.type&&"document"!==this.type){e=e.nodes.slice(0);for(let t of e)t.parent&&t.parent.removeChild(t,"ignore")}else if(e.type)e=[e];else if(e.prop){if(void 0===e.value)throw new Error("Value field is missed in node creation");"string"!=typeof e.value&&(e.value=String(e.value)),e=[new aJ(e)]}else if(e.selector)e=[new nJ(e)];else if(e.name)e=[new rJ(e)];else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new cJ(e)]}return e.map((e=>(e[sJ]||fJ.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[oJ]&&dJ(e),void 0===e.raws.before&&t&&void 0!==t.raws.before&&(e.raws.before=t.raws.before.replace(/\S/g,"")),e.parent=this.proxyOf,e)))}getProxyProcessor(){return{set:(e,t,n)=>(e[t]===n||(e[t]=n,"name"!==t&&"params"!==t&&"selector"!==t||e.markDirty()),!0),get:(e,t)=>"proxyOf"===t?e:e[t]?"each"===t||"string"==typeof t&&t.startsWith("walk")?(...n)=>e[t](...n.map((e=>"function"==typeof e?(t,n)=>e(t.toProxy(),n):e))):"every"===t||"some"===t?n=>e[t](((e,...t)=>n(e.toProxy(),...t))):"root"===t?()=>e.root().toProxy():"nodes"===t?e.nodes.map((e=>e.toProxy())):"first"===t||"last"===t?e[t].toProxy():e[t]:e[t]}}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}}fJ.registerParse=e=>{tJ=e},fJ.registerRule=e=>{nJ=e},fJ.registerAtRule=e=>{rJ=e},fJ.registerRoot=e=>{iJ=e};var hJ=fJ;fJ.default=fJ,fJ.rebuild=e=>{"atrule"===e.type?Object.setPrototypeOf(e,rJ.prototype):"rule"===e.type?Object.setPrototypeOf(e,nJ.prototype):"decl"===e.type?Object.setPrototypeOf(e,aJ.prototype):"comment"===e.type?Object.setPrototypeOf(e,cJ.prototype):"root"===e.type&&Object.setPrototypeOf(e,iJ.prototype),e[sJ]=!0,e.nodes&&e.nodes.forEach((e=>{fJ.rebuild(e)}))};let pJ,mJ,gJ=hJ;class yJ extends gJ{constructor(e){super(a({type:"document"},e)),this.nodes||(this.nodes=[])}toResult(e={}){return new pJ(new mJ,this,e).stringify()}}yJ.registerLazyResult=e=>{pJ=e},yJ.registerProcessor=e=>{mJ=e};var vJ=yJ;yJ.default=yJ;class bJ{constructor(e,t={}){if(this.type="warning",this.text=e,t.node&&t.node.source){let e=t.node.rangeBy(t);this.line=e.start.line,this.column=e.start.column,this.endLine=e.end.line,this.endColumn=e.end.column}for(let n in t)this[n]=t[n]}toString(){return this.node?this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}var _J=bJ;bJ.default=bJ;let wJ=_J;class SJ{constructor(e,t,n){this.processor=e,this.messages=[],this.root=t,this.opts=n,this.css=void 0,this.map=void 0}toString(){return this.css}warn(e,t={}){t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);let n=new wJ(e,t);return this.messages.push(n),n}warnings(){return this.messages.filter((e=>"warning"===e.type))}get content(){return this.css}}var xJ=SJ;SJ.default=SJ;const kJ="'".charCodeAt(0),TJ='"'.charCodeAt(0),EJ="\\".charCodeAt(0),CJ="/".charCodeAt(0),OJ="\n".charCodeAt(0),AJ=" ".charCodeAt(0),IJ="\f".charCodeAt(0),NJ="\t".charCodeAt(0),DJ="\r".charCodeAt(0),MJ="[".charCodeAt(0),RJ="]".charCodeAt(0),LJ="(".charCodeAt(0),PJ=")".charCodeAt(0),jJ="{".charCodeAt(0),FJ="}".charCodeAt(0),UJ=";".charCodeAt(0),qJ="*".charCodeAt(0),BJ=":".charCodeAt(0),VJ="@".charCodeAt(0),HJ=/[\t\n\f\r "#'()/;[\\\]{}]/g,zJ=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,$J=/.[\n"'(/\\]/,WJ=/[\da-f]/i;let GJ=hJ;class YJ extends GJ{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}}var QJ=YJ;YJ.default=YJ,GJ.registerAtRule(YJ);let KJ,JJ,XJ=hJ;class ZJ extends XJ{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}removeChild(e,t){let n=this.index(e);return!t&&0===n&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[n].raws.before),super.removeChild(e)}normalize(e,t,n){let r=super.normalize(e);if(t)if("prepend"===n)this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let i of r)i.raws.before=t.raws.before;return r}toResult(e={}){return new KJ(new JJ,this,e).stringify()}}ZJ.registerLazyResult=e=>{KJ=e},ZJ.registerProcessor=e=>{JJ=e};var eX=ZJ;ZJ.default=ZJ,XJ.registerRoot(ZJ);let tX={split(e,t,n){let r=[],i="",o=!1,s=0,a=!1,c="",u=!1;for(let l of e)u?u=!1:"\\"===l?u=!0:a?l===c&&(a=!1):'"'===l||"'"===l?(a=!0,c=l):"("===l?s+=1:")"===l?s>0&&(s-=1):0===s&&t.includes(l)&&(o=!0),o?(""!==i&&r.push(i.trim()),i="",o=!1):i+=l;return(n||""!==i)&&r.push(i.trim()),r},space:e=>tX.split(e,[" ","\n","\t"]),comma:e=>tX.split(e,[","],!0)};var nX=tX;tX.default=tX;let rX=hJ,iX=nX;class oX extends rX{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return iX.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,n=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(n)}}var sX=oX;oX.default=oX,rX.registerRule(oX);let aX=gK,cX=function(e,t={}){let n,r,i,o,s,a,c,u,l,d,f=e.css.valueOf(),h=t.ignoreErrors,p=f.length,m=0,g=[],y=[];function v(t){throw e.error("Unclosed "+t,m)}return{back:function(e){y.push(e)},nextToken:function(e){if(y.length)return y.pop();if(m>=p)return;let t=!!e&&e.ignoreUnclosed;switch(n=f.charCodeAt(m),n){case OJ:case AJ:case NJ:case DJ:case IJ:r=m;do{r+=1,n=f.charCodeAt(r)}while(n===AJ||n===OJ||n===NJ||n===DJ||n===IJ);d=["space",f.slice(m,r)],m=r-1;break;case MJ:case RJ:case jJ:case FJ:case BJ:case UJ:case PJ:{let e=String.fromCharCode(n);d=[e,e,m];break}case LJ:if(u=g.length?g.pop()[1]:"",l=f.charCodeAt(m+1),"url"===u&&l!==kJ&&l!==TJ&&l!==AJ&&l!==OJ&&l!==NJ&&l!==IJ&&l!==DJ){r=m;do{if(a=!1,r=f.indexOf(")",r+1),-1===r){if(h||t){r=m;break}v("bracket")}for(c=r;f.charCodeAt(c-1)===EJ;)c-=1,a=!a}while(a);d=["brackets",f.slice(m,r+1),m,r],m=r}else r=f.indexOf(")",m+1),o=f.slice(m,r+1),-1===r||$J.test(o)?d=["(","(",m]:(d=["brackets",o,m,r],m=r);break;case kJ:case TJ:i=n===kJ?"'":'"',r=m;do{if(a=!1,r=f.indexOf(i,r+1),-1===r){if(h||t){r=m+1;break}v("string")}for(c=r;f.charCodeAt(c-1)===EJ;)c-=1,a=!a}while(a);d=["string",f.slice(m,r+1),m,r],m=r;break;case VJ:HJ.lastIndex=m+1,HJ.test(f),r=0===HJ.lastIndex?f.length-1:HJ.lastIndex-2,d=["at-word",f.slice(m,r+1),m,r],m=r;break;case EJ:for(r=m,s=!0;f.charCodeAt(r+1)===EJ;)r+=1,s=!s;if(n=f.charCodeAt(r+1),s&&n!==CJ&&n!==AJ&&n!==OJ&&n!==NJ&&n!==DJ&&n!==IJ&&(r+=1,WJ.test(f.charAt(r)))){for(;WJ.test(f.charAt(r+1));)r+=1;f.charCodeAt(r+1)===AJ&&(r+=1)}d=["word",f.slice(m,r+1),m,r],m=r;break;default:n===CJ&&f.charCodeAt(m+1)===qJ?(r=f.indexOf("*/",m+2)+1,0===r&&(h||t?r=f.length:v("comment")),d=["comment",f.slice(m,r+1),m,r],m=r):(zJ.lastIndex=m+1,zJ.test(f),r=0===zJ.lastIndex?f.length-1:zJ.lastIndex-2,d=["word",f.slice(m,r+1),m,r],g.push(d),m=r)}return m++,d},endOfFile:function(){return 0===y.length&&m>=p},position:function(){return m}}},uX=eJ,lX=QJ,dX=eX,fX=sX;const hX={empty:!0,space:!0};let pX=hJ,mX=class{constructor(e){this.input=e,this.root=new dX,this.current=this.root,this.spaces="",this.semicolon=!1,this.customProperty=!1,this.createTokenizer(),this.root.source={input:e,start:{offset:0,line:1,column:1}}}createTokenizer(){this.tokenizer=cX(this.input)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()}comment(e){let t=new uX;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]);let n=e[1].slice(2,-2);if(/^\s*$/.test(n))t.text="",t.raws.left=n,t.raws.right="";else{let e=n.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2],t.raws.left=e[1],t.raws.right=e[3]}}emptyRule(e){let t=new fX;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}other(e){let t=!1,n=null,r=!1,i=null,o=[],s=e[1].startsWith("--"),a=[],c=e;for(;c;){if(n=c[0],a.push(c),"("===n||"["===n)i||(i=c),o.push("("===n?")":"]");else if(s&&r&&"{"===n)i||(i=c),o.push("}");else if(0===o.length){if(";"===n){if(r)return void this.decl(a,s);break}if("{"===n)return void this.rule(a);if("}"===n){this.tokenizer.back(a.pop()),t=!0;break}":"===n&&(r=!0)}else n===o[o.length-1]&&(o.pop(),0===o.length&&(i=null));c=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),o.length>0&&this.unclosedBracket(i),t&&r){if(!s)for(;a.length&&(c=a[a.length-1][0],"space"===c||"comment"===c);)this.tokenizer.back(a.pop());this.decl(a,s)}else this.unknownWord(a)}rule(e){e.pop();let t=new fX;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}decl(e,t){let n=new aX;this.init(n,e[0][2]);let r,i=e[e.length-1];for(";"===i[0]&&(this.semicolon=!0,e.pop()),n.source.end=this.getPosition(i[3]||i[2]||function(e){for(let t=e.length-1;t>=0;t--){let n=e[t],r=n[3]||n[2];if(r)return r}}(e));"word"!==e[0][0];)1===e.length&&this.unknownWord(e),n.raws.before+=e.shift()[1];for(n.source.start=this.getPosition(e[0][2]),n.prop="";e.length;){let t=e[0][0];if(":"===t||"space"===t||"comment"===t)break;n.prop+=e.shift()[1]}for(n.raws.between="";e.length;){if(r=e.shift(),":"===r[0]){n.raws.between+=r[1];break}"word"===r[0]&&/\w/.test(r[1])&&this.unknownWord([r]),n.raws.between+=r[1]}"_"!==n.prop[0]&&"*"!==n.prop[0]||(n.raws.before+=n.prop[0],n.prop=n.prop.slice(1));let o,s=[];for(;e.length&&(o=e[0][0],"space"===o||"comment"===o);)s.push(e.shift());this.precheckMissedSemicolon(e);for(let a=e.length-1;a>=0;a--){if(r=e[a],"!important"===r[1].toLowerCase()){n.important=!0;let t=this.stringFrom(e,a);t=this.spacesFromEnd(e)+t," !important"!==t&&(n.raws.important=t);break}if("important"===r[1].toLowerCase()){let t=e.slice(0),r="";for(let e=a;e>0;e--){let n=t[e][0];if(0===r.trim().indexOf("!")&&"space"!==n)break;r=t.pop()[1]+r}0===r.trim().indexOf("!")&&(n.important=!0,n.raws.important=r,e=t)}if("space"!==r[0]&&"comment"!==r[0])break}e.some((e=>"space"!==e[0]&&"comment"!==e[0]))&&(n.raws.between+=s.map((e=>e[1])).join(""),s=[]),this.raw(n,"value",s.concat(e),t),n.value.includes(":")&&!t&&this.checkMissedSemicolon(e)}atrule(e){let t,n,r,i=new lX;i.name=e[1].slice(1),""===i.name&&this.unnamedAtrule(i,e),this.init(i,e[2]);let o=!1,s=!1,a=[],c=[];for(;!this.tokenizer.endOfFile();){if(t=(e=this.tokenizer.nextToken())[0],"("===t||"["===t?c.push("("===t?")":"]"):"{"===t&&c.length>0?c.push("}"):t===c[c.length-1]&&c.pop(),0===c.length){if(";"===t){i.source.end=this.getPosition(e[2]),this.semicolon=!0;break}if("{"===t){s=!0;break}if("}"===t){if(a.length>0){for(r=a.length-1,n=a[r];n&&"space"===n[0];)n=a[--r];n&&(i.source.end=this.getPosition(n[3]||n[2]))}this.end(e);break}a.push(e)}else a.push(e);if(this.tokenizer.endOfFile()){o=!0;break}}i.raws.between=this.spacesAndCommentsFromEnd(a),a.length?(i.raws.afterName=this.spacesAndCommentsFromStart(a),this.raw(i,"params",a),o&&(e=a[a.length-1],i.source.end=this.getPosition(e[3]||e[2]),this.spaces=i.raws.between,i.raws.between="")):(i.raws.afterName="",i.params=""),s&&(i.nodes=[],this.current=i)}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let e=this.current.nodes[this.current.nodes.length-1];e&&"rule"===e.type&&!e.raws.ownSemicolon&&(e.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(e){let t=this.input.fromOffset(e);return{offset:e,line:t.line,column:t.col}}init(e,t){this.current.push(e),e.source={start:this.getPosition(t),input:this.input},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)}raw(e,t,n,r){let i,o,s,a,c=n.length,u="",l=!0;for(let d=0;de+t[1]),"");e.raws[t]={value:u,raw:r}}e[t]=u}spacesAndCommentsFromEnd(e){let t,n="";for(;e.length&&(t=e[e.length-1][0],"space"===t||"comment"===t);)n=e.pop()[1]+n;return n}spacesAndCommentsFromStart(e){let t,n="";for(;e.length&&(t=e[0][0],"space"===t||"comment"===t);)n+=e.shift()[1];return n}spacesFromEnd(e){let t,n="";for(;e.length&&(t=e[e.length-1][0],"space"===t);)n=e.pop()[1]+n;return n}stringFrom(e,t){let n="";for(let r=t;r=0&&(n=e[i],"space"===n[0]||(r+=1,2!==r));i--);throw this.input.error("Missed semicolon","word"===n[0]?n[3]+1:n[2])}},gX=qK;function yX(e,t){let n=new gX(e,t),r=new mX(n);try{r.parse()}catch(JZ){throw JZ}return r.root}var vX=yX;yX.default=yX,pX.registerParse(yX);let{isClean:bX,my:_X}=ZQ,wX=JK,SX=oK,xX=hJ,kX=vJ,TX=xJ,EX=vX,CX=eX;const OX={document:"Document",root:"Root",atrule:"AtRule",rule:"Rule",decl:"Declaration",comment:"Comment"},AX={postcssPlugin:!0,prepare:!0,Once:!0,Document:!0,Root:!0,Declaration:!0,Rule:!0,AtRule:!0,Comment:!0,DeclarationExit:!0,RuleExit:!0,AtRuleExit:!0,CommentExit:!0,RootExit:!0,DocumentExit:!0,OnceExit:!0},IX={postcssPlugin:!0,prepare:!0,Once:!0};function NX(e){return"object"==typeof e&&"function"==typeof e.then}function DX(e){let t=!1,n=OX[e.type];return"decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append?[n,n+"-"+t,0,n+"Exit",n+"Exit-"+t]:t?[n,n+"-"+t,n+"Exit",n+"Exit-"+t]:e.append?[n,0,n+"Exit"]:[n,n+"Exit"]}function MX(e){let t;return t="document"===e.type?["Document",0,"DocumentExit"]:"root"===e.type?["Root",0,"RootExit"]:DX(e),{node:e,events:t,eventIndex:0,visitors:[],visitorIndex:0,iterator:0}}function RX(e){return e[bX]=!1,e.nodes&&e.nodes.forEach((e=>RX(e))),e}let LX={};class PX{constructor(e,t,n){let r;if(this.stringified=!1,this.processed=!1,"object"!=typeof t||null===t||"root"!==t.type&&"document"!==t.type)if(t instanceof PX||t instanceof TX)r=RX(t.root),t.map&&(void 0===n.map&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=t.map);else{let e=EX;n.syntax&&(e=n.syntax.parse),n.parser&&(e=n.parser),e.parse&&(e=e.parse);try{r=e(t,n)}catch(i){this.processed=!0,this.error=i}r&&!r[_X]&&xX.rebuild(r)}else r=RX(t);this.result=new TX(e,r,n),this.helpers=c(a({},LX),{result:this.result,postcss:LX}),this.plugins=this.processor.plugins.map((e=>"object"==typeof e&&e.prepare?a(a({},e),e.prepare(this.result)):e))}get[Symbol.toStringTag](){return"LazyResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.stringify().css}get content(){return this.stringify().content}get map(){return this.stringify().map}get root(){return this.sync().root}get messages(){return this.sync().messages}warnings(){return this.sync().warnings()}toString(){return this.css}then(e,t){return this.async().then(e,t)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins){if(NX(this.runOnRoot(e)))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[bX];)e[bX]=!0,this.walkSync(e);if(this.listeners.OnceExit)if("document"===e.type)for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e)}return this.result}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=SX;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let n=new wX(t,this.result.root,this.result.opts).generate();return this.result.css=n[0],this.result.map=n[1],this.result}walkSync(e){e[bX]=!0;let t=DX(e);for(let n of t)if(0===n)e.nodes&&e.each((e=>{e[bX]||this.walkSync(e)}));else{let t=this.listeners[n];if(t&&this.visitSync(t,e.toProxy()))return}}visitSync(e,t){for(let[n,r]of e){let e;this.result.lastPlugin=n;try{e=r(t,this.helpers)}catch(JZ){throw this.handleError(JZ,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(NX(e))throw this.getAsyncError()}}runOnRoot(e){this.result.lastPlugin=e;try{if("object"==typeof e&&e.Once){if("document"===this.result.root.type){let t=this.result.root.nodes.map((t=>e.Once(t,this.helpers)));return NX(t[0])?Promise.all(t):t}return e.Once(this.result.root,this.helpers)}if("function"==typeof e)return e(this.result.root,this.result)}catch(t){throw this.handleError(t)}}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let n=this.result.lastPlugin;try{t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin?n.postcssVersion:(e.plugin=n.postcssPlugin,e.setMessage())}catch(r){console&&console.error&&console.error(r)}return e}async runAsync(){this.plugin=0;for(let t=0;t0;){let e=this.visitTick(t);if(NX(e))try{await e}catch(JZ){let n=t[t.length-1].node;throw this.handleError(JZ,n)}}}if(this.listeners.OnceExit)for(let[t,n]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if("document"===e.type){let t=e.nodes.map((e=>n(e,this.helpers)));await Promise.all(t)}else await n(e,this.helpers)}catch(JZ){throw this.handleError(JZ)}}}return this.processed=!0,this.stringify()}prepareVisitors(){this.listeners={};let e=(e,t,n)=>{this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push([e,n])};for(let t of this.plugins)if("object"==typeof t)for(let n in t){if(!AX[n]&&/^[A-Z]/.test(n))throw new Error(`Unknown event ${n} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!IX[n])if("object"==typeof t[n])for(let r in t[n])e(t,"*"===r?n:n+"-"+r.toLowerCase(),t[n][r]);else"function"==typeof t[n]&&e(t,n,t[n])}this.hasListener=Object.keys(this.listeners).length>0}visitTick(e){let t=e[e.length-1],{node:n,visitors:r}=t;if("root"!==n.type&&"document"!==n.type&&!n.parent)return void e.pop();if(r.length>0&&t.visitorIndex{LX=e};var jX=PX;PX.default=PX,CX.registerLazyResult(PX),kX.registerLazyResult(PX);let FX=JK,UX=oK,qX=vX;const BX=xJ;class VX{constructor(e,t,n){let r;t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=n,this._map=void 0;let i=UX;this.result=new BX(this._processor,r,this._opts),this.result.css=t;let o=this;Object.defineProperty(this.result,"root",{get:()=>o.root});let s=new FX(i,r,this._opts,t);if(s.isMap()){let[e,t]=s.generate();e&&(this.result.css=e),t&&(this.result.map=t)}}get[Symbol.toStringTag](){return"NoWorkResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.result.css}get content(){return this.result.css}get map(){return this.result.map}get root(){if(this._root)return this._root;let e,t=qX;try{e=t(this._css,this._opts)}catch(n){this.error=n}if(this.error)throw this.error;return this._root=e,e}get messages(){return[]}warnings(){return[]}toString(){return this._css}then(e,t){return this.async().then(e,t)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}sync(){if(this.error)throw this.error;return this.result}}var HX=VX;VX.default=VX;let zX=HX,$X=jX,WX=vJ,GX=eX;class YX{constructor(e=[]){this.version="8.4.23",this.plugins=this.normalize(e)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}process(e,t={}){return 0===this.plugins.length&&void 0===t.parser&&void 0===t.stringifier&&void 0===t.syntax?new zX(this,e,t):new $X(this,e,t)}normalize(e){let t=[];for(let n of e)if(!0===n.postcss?n=n():n.postcss&&(n=n.postcss),"object"==typeof n&&Array.isArray(n.plugins))t=t.concat(n.plugins);else if("object"==typeof n&&n.postcssPlugin)t.push(n);else if("function"==typeof n)t.push(n);else if("object"!=typeof n||!n.parse&&!n.stringify)throw new Error(n+" is not a PostCSS plugin");return t}}var QX=YX;YX.default=YX,GX.registerProcessor(YX),WX.registerProcessor(YX);let KX=gK,JX=TK,XX=eJ,ZX=QJ,eZ=qK,tZ=eX,nZ=sX;function rZ(e,t){if(Array.isArray(e))return e.map((e=>rZ(e)));let n=e,{inputs:r}=n,i=u(n,["inputs"]);if(r){t=[];for(let e of r){let n=c(a({},e),{__proto__:eZ.prototype});n.map&&(n.map=c(a({},n.map),{__proto__:JX.prototype})),t.push(n)}}if(i.nodes&&(i.nodes=e.nodes.map((e=>rZ(e,t)))),i.source){let e=i.source,{inputId:n}=e,r=u(e,["inputId"]);i.source=r,null!=n&&(i.source.input=t[n])}if("root"===i.type)return new tZ(i);if("decl"===i.type)return new KX(i);if("rule"===i.type)return new nZ(i);if("comment"===i.type)return new XX(i);if("atrule"===i.type)return new ZX(i);throw new Error("Unknown node type: "+e.type)}var iZ=rZ;rZ.default=rZ;let oZ=XQ,sZ=gK,aZ=jX,cZ=hJ,uZ=QX,lZ=oK,dZ=iZ,fZ=vJ,hZ=_J,pZ=eJ,mZ=QJ,gZ=xJ,yZ=qK,vZ=vX,bZ=nX,_Z=sX,wZ=eX,SZ=hK;function xZ(...e){return 1===e.length&&Array.isArray(e[0])&&(e=e[0]),new uZ(e)}xZ.plugin=function(e,t){let n,r=!1;function i(...n){console&&console.warn&&!r&&(r=!0,console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),{}.LANG&&{}.LANG.startsWith("cn")&&console.warn(e+": 里面 postcss.plugin 被弃用. 迁移指南:\nhttps://www.w3ctech.com/topic/2226"));let i=t(...n);return i.postcssPlugin=e,i.postcssVersion=(new uZ).version,i}return Object.defineProperty(i,"postcss",{get:()=>(n||(n=i()),n)}),i.process=function(e,t,n){return xZ([i(n)]).process(e,t)},i},xZ.stringify=lZ,xZ.parse=vZ,xZ.fromJSON=dZ,xZ.list=bZ,xZ.comment=e=>new pZ(e),xZ.atRule=e=>new mZ(e),xZ.decl=e=>new sZ(e),xZ.rule=e=>new _Z(e),xZ.root=e=>new wZ(e),xZ.document=e=>new fZ(e),xZ.CssSyntaxError=oZ,xZ.Declaration=sZ,xZ.Container=cZ,xZ.Processor=uZ,xZ.Document=fZ,xZ.Comment=pZ,xZ.Warning=hZ,xZ.AtRule=mZ,xZ.Result=gZ,xZ.Input=yZ,xZ.Rule=_Z,xZ.Root=wZ,xZ.Node=SZ,aZ.registerPostcss(xZ);var kZ=xZ;xZ.default=xZ;const TZ=hW,EZ=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")},{isPlainObject:CZ}=DQ,OZ=VQ,AZ=HQ.exports,{parse:IZ}=kZ,NZ=["img","audio","video","picture","svg","object","map","iframe","embed"],DZ=["script","style"];function MZ(e,t){e&&Object.keys(e).forEach((function(n){t(e[n],n)}))}function RZ(e,t){return{}.hasOwnProperty.call(e,t)}function LZ(e,t){const n=[];return MZ(e,(function(e){t(e)&&n.push(e)})),n}var PZ=FZ;const jZ=/^[^\0\t\n\f\r /<=>]+$/;function FZ(e,t,n){if(null==e)return"";let r="",i="";function o(e,t){const n=this;this.tag=e,this.attribs=t||{},this.tagPosition=r.length,this.text="",this.mediaChildren=[],this.updateParentNodeText=function(){if(m.length){m[m.length-1].text+=n.text}},this.updateParentNodeMediaChildren=function(){if(m.length&&NZ.includes(this.tag)){m[m.length-1].mediaChildren.push(this.tag)}}}(t=Object.assign({},FZ.defaults,t)).parser=Object.assign({},UZ,t.parser),DZ.forEach((function(e){t.allowedTags&&t.allowedTags.indexOf(e)>-1&&!t.allowVulnerableTags&&console.warn(`\n\n⚠️ Your \`allowedTags\` option includes, \`${e}\`, which is inherently\nvulnerable to XSS attacks. Please remove it from \`allowedTags\`.\nOr, to disable this warning, add the \`allowVulnerableTags\` option\nand ensure you are accounting for this risk.\n\n`)}));const s=t.nonTextTags||["script","style","textarea","option"];let a,c;t.allowedAttributes&&(a={},c={},MZ(t.allowedAttributes,(function(e,t){a[t]=[];const n=[];e.forEach((function(e){"string"==typeof e&&e.indexOf("*")>=0?n.push(EZ(e).replace(/\\\*/g,".*")):a[t].push(e)})),n.length&&(c[t]=new RegExp("^("+n.join("|")+")$"))})));const u={},l={},d={};MZ(t.allowedClasses,(function(e,t){a&&(RZ(a,t)||(a[t]=[]),a[t].push("class")),u[t]=[],d[t]=[];const n=[];e.forEach((function(e){"string"==typeof e&&e.indexOf("*")>=0?n.push(EZ(e).replace(/\\\*/g,".*")):e instanceof RegExp?d[t].push(e):u[t].push(e)})),n.length&&(l[t]=new RegExp("^("+n.join("|")+")$"))}));const f={};let h,p,m,g,y,v,b;MZ(t.transformTags,(function(e,t){let n;"function"==typeof e?n=e:"string"==typeof e&&(n=FZ.simpleTransform(e)),"*"===t?h=n:f[t]=n}));let _=!1;S();const w=new TZ.Parser({onopentag:function(e,n){if(t.enforceHtmlBoundary&&"html"===e&&S(),v)return void b++;const w=new o(e,n);m.push(w);let E=!1;const C=!!w.text;let O;if(RZ(f,e)&&(O=f[e](e,n),w.attribs=n=O.attribs,void 0!==O.text&&(w.innerText=O.text),e!==O.tagName&&(w.name=e=O.tagName,y[p]=O.tagName)),h&&(O=h(e,n),w.attribs=n=O.attribs,e!==O.tagName&&(w.name=e=O.tagName,y[p]=O.tagName)),(t.allowedTags&&-1===t.allowedTags.indexOf(e)||"recursiveEscape"===t.disallowedTagsMode&&!function(e){for(const t in e)if(RZ(e,t))return!1;return!0}(g)||null!=t.nestingLimit&&p>=t.nestingLimit)&&(E=!0,g[p]=!0,"discard"===t.disallowedTagsMode&&-1!==s.indexOf(e)&&(v=!0,b=1),g[p]=!0),p++,E){if("discard"===t.disallowedTagsMode)return;i=r,r=""}r+="<"+e,"script"===e&&(t.allowedScriptHostnames||t.allowedScriptDomains)&&(w.innerText=""),(!a||RZ(a,e)||a["*"])&&MZ(n,(function(n,i){if(!jZ.test(i))return void delete w.attribs[i];let o,s=!1;if(!a||RZ(a,e)&&-1!==a[e].indexOf(i)||a["*"]&&-1!==a["*"].indexOf(i)||RZ(c,e)&&c[e].test(i)||c["*"]&&c["*"].test(i))s=!0;else if(a&&a[e])for(const t of a[e])if(CZ(t)&&t.name&&t.name===i){s=!0;let e="";if(!0===t.multiple){const r=n.split(" ");for(const n of r)-1!==t.values.indexOf(n)&&(""===e?e=n:e+=" "+n)}else t.values.indexOf(n)>=0&&(e=n);n=e}if(s){if(-1!==t.allowedSchemesAppliedToAttributes.indexOf(i)&&k(e,n))return void delete w.attribs[i];if("script"===e&&"src"===i){let e=!0;try{const r=new URL(n);if(t.allowedScriptHostnames||t.allowedScriptDomains){const n=(t.allowedScriptHostnames||[]).find((function(e){return e===r.hostname})),i=(t.allowedScriptDomains||[]).find((function(e){return r.hostname===e||r.hostname.endsWith(`.${e}`)}));e=n||i}}catch(JZ){e=!1}if(!e)return void delete w.attribs[i]}if("iframe"===e&&"src"===i){let e=!0;try{if((n=n.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,"$1//")).startsWith("relative:"))throw new Error("relative: exploit attempt");let r="relative://relative-site";for(let e=0;e<100;e++)r+=`/${e}`;const i=new URL(n,r);if(i&&"relative-site"===i.hostname&&"relative:"===i.protocol)e=RZ(t,"allowIframeRelativeUrls")?t.allowIframeRelativeUrls:!t.allowedIframeHostnames&&!t.allowedIframeDomains;else if(t.allowedIframeHostnames||t.allowedIframeDomains){const n=(t.allowedIframeHostnames||[]).find((function(e){return e===i.hostname})),r=(t.allowedIframeDomains||[]).find((function(e){return i.hostname===e||i.hostname.endsWith(`.${e}`)}));e=n||r}}catch(JZ){e=!1}if(!e)return void delete w.attribs[i]}if("srcset"===i)try{if(o=AZ(n),o.forEach((function(e){k("srcset",e.url)&&(e.evil=!0)})),o=LZ(o,(function(e){return!e.evil})),!o.length)return void delete w.attribs[i];n=LZ(o,(function(e){return!e.evil})).map((function(e){if(!e.url)throw new Error("URL missing");return e.url+(e.w?` ${e.w}w`:"")+(e.h?` ${e.h}h`:"")+(e.d?` ${e.d}x`:"")})).join(", "),w.attribs[i]=n}catch(JZ){return void delete w.attribs[i]}if("class"===i){const t=u[e],r=u["*"],o=l[e],s=d[e],a=[o,l["*"]].concat(s).filter((function(e){return e}));if(!(n=T(n,t&&r?OZ(t,r):t||r,a)).length)return void delete w.attribs[i]}if("style"===i)try{const r=IZ(e+" {"+n+"}");if(0===(n=function(e){return e.nodes[0].nodes.reduce((function(e,t){return e.push(`${t.prop}:${t.value}${t.important?" !important":""}`),e}),[]).join(";")}(function(e,t){if(!t)return e;const n=e.nodes[0];let r;r=t[n.selector]&&t["*"]?OZ(t[n.selector],t["*"]):t[n.selector]||t["*"];r&&(e.nodes[0].nodes=n.nodes.reduce(function(e){return function(t,n){if(RZ(e,n.prop)){e[n.prop].some((function(e){return e.test(n.value)}))&&t.push(n)}return t}}(r),[]));return e}(r,t.allowedStyles))).length)return void delete w.attribs[i]}catch(JZ){return void delete w.attribs[i]}r+=" "+i,n&&n.length&&(r+='="'+x(n,!0)+'"')}else delete w.attribs[i]})),-1!==t.selfClosing.indexOf(e)?r+=" />":(r+=">",!w.innerText||C||t.textFilter||(r+=x(w.innerText),_=!0)),E&&(r=i+x(r),i="")},ontext:function(e){if(v)return;const n=m[m.length-1];let i;if(n&&(i=n.tag,e=void 0!==n.innerText?n.innerText:e),"discard"!==t.disallowedTagsMode||"script"!==i&&"style"!==i){const n=x(e,!1);t.textFilter&&!_?r+=t.textFilter(n,i):_||(r+=n)}else r+=e;if(m.length){m[m.length-1].text+=e}},onclosetag:function(e){if(v){if(b--,b)return;v=!1}const n=m.pop();if(!n)return;v=!!t.enforceHtmlBoundary&&"html"===e,p--;const o=g[p];if(o){if(delete g[p],"discard"===t.disallowedTagsMode)return void n.updateParentNodeText();i=r,r=""}y[p]&&(e=y[p],delete y[p]),t.exclusiveFilter&&t.exclusiveFilter(n)?r=r.substr(0,n.tagPosition):(n.updateParentNodeMediaChildren(),n.updateParentNodeText(),-1===t.selfClosing.indexOf(e)?(r+="",o&&(r=i+x(r),i=""),_=!1):o&&(r=i,i=""))}},t.parser);return w.write(e),w.end(),r;function S(){r="",p=0,m=[],g={},y={},v=!1,b=0}function x(e,n){return"string"!=typeof e&&(e+=""),t.parser.decodeEntities&&(e=e.replace(/&/g,"&").replace(//g,">"),n&&(e=e.replace(/"/g,"""))),e=e.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,"&").replace(//g,">"),n&&(e=e.replace(/"/g,""")),e}function k(e,n){const r=(n=(n=n.replace(/[\x00-\x20]+/g,"")).replace(//g,"")).match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!r)return!!n.match(/^[/\\]{2}/)&&!t.allowProtocolRelative;const i=r[1].toLowerCase();return RZ(t.allowedSchemesByTag,e)?-1===t.allowedSchemesByTag[e].indexOf(i):!t.allowedSchemes||-1===t.allowedSchemes.indexOf(i)}function T(e,t,n){return t?(e=e.split(/\s+/)).filter((function(e){return-1!==t.indexOf(e)||n.some((function(t){return t.test(e)}))})).join(" "):e}}const UZ={decodeEntities:!0};FZ.defaults={allowedTags:["address","article","aside","footer","header","h1","h2","h3","h4","h5","h6","hgroup","main","nav","section","blockquote","dd","div","dl","dt","figcaption","figure","hr","li","main","ol","p","pre","ul","a","abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rb","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","caption","col","colgroup","table","tbody","td","tfoot","th","thead","tr"],disallowedTagsMode:"discard",allowedAttributes:{a:["href","name","target"],img:["src","srcset","alt","title","width","height","loading"]},selfClosing:["img","br","hr","area","base","basefont","input","link","meta"],allowedSchemes:["http","https","ftp","mailto","tel"],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:["href","src","cite"],allowProtocolRelative:!0,enforceHtmlBoundary:!1},FZ.simpleTransform=function(e,t,n){return n=void 0===n||n,t=t||{},function(r,i){let o;if(n)for(o in t)i[o]=t[o];else i=t;return{tagName:e,attribs:i}}};var qZ=PZ;function BZ(e){return"function"==typeof e?e():no(e)}const VZ="undefined"!=typeof window&&"undefined"!=typeof document;"undefined"!=typeof WorkerGlobalScope&&(globalThis,WorkerGlobalScope);const HZ=Object.prototype.toString,zZ=()=>{};function $Z(e,t,n){let r=(null==n?void 0:n.immediate)?[]:[...e instanceof Function?e():Array.isArray(e)?e:BZ(e)];return Tc(e,((e,n,i)=>{const o=Array.from({length:r.length}),s=[];for(const t of e){let e=!1;for(let n=0;n!o[t]));t(e,r,s,a,i),r=[...e]}),n)}function WZ(e,t,n){let r;r=Ji(n)?{evaluating:n}:n||{};const{lazy:i=!1,evaluating:o,shallow:s=!0,onError:a=zZ}=r,c=Xi(!i),u=s?Zi(t):Xi(t);let l=0;return xc((async t=>{if(!c.value)return;l++;const n=l;let r=!1;o&&Promise.resolve().then((()=>{o.value=!0}));try{const i=await e((e=>{t((()=>{o&&(o.value=!1),r||e()}))}));n===l&&(u.value=i)}catch(JZ){a(JZ)}finally{o&&n===l&&(o.value=!1),r=!0}})),i?zu((()=>(c.value=!0,u.value))):u}function GZ(e){var t;const n=BZ(e);return null!=(t=null==n?void 0:n.$el)?t:n}const YZ=VZ?window:void 0;function QZ(...e){let t,n,r,i;if("string"==typeof e[0]||Array.isArray(e[0])?([n,r,i]=e,t=YZ):[t,n,r,i]=e,!t)return zZ;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const o=[],s=()=>{o.forEach((e=>e())),o.length=0},c=Tc((()=>[GZ(t),BZ(i)]),(([e,t])=>{if(s(),!e)return;const i=(c=t,"[object Object]"===HZ.call(c)?a({},t):t);var c;o.push(...n.flatMap((t=>r.map((n=>((e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)))(e,t,n,i))))))}),{immediate:!0,flush:"post"}),u=()=>{c(),s()};var l;return l=u,Or()&&Ar(l),u}function KZ(e={}){const{window:t=YZ,behavior:n="auto"}=e;if(!t)return{x:Xi(0),y:Xi(0)};const r=Xi(t.scrollX),i=Xi(t.scrollY),o=zu({get:()=>r.value,set(e){scrollTo({left:e,behavior:n})}}),s=zu({get:()=>i.value,set(e){scrollTo({top:e,behavior:n})}});return QZ(t,"scroll",(()=>{r.value=t.scrollX,i.value=t.scrollY}),{capture:!1,passive:!0}),{x:o,y:s}}VZ&&window.document,VZ&&window.navigator,VZ&&window.location;export{Tc as $,m_ as A,Mw as B,D_ as C,Fi as D,iu as E,du as F,Xo as G,uv as H,o_ as I,Zl as J,lu as K,ma as L,Yq as M,Rj as N,Lo as O,fa as P,gu as Q,nd as R,mP as S,jl as T,wr as U,ra as V,aa as W,sm as X,pu as Y,no as Z,ao as _,ou as a,Mq as a$,$u as a0,jd as a1,Gc as a2,Kd as a3,Hs as a4,Da as a5,va as a6,Kq as a7,am as a8,CB as a9,Rq as aA,l as aB,yB as aC,Pq as aD,Qa as aE,Yi as aF,ba as aG,Jf as aH,f as aI,df as aJ,$Z as aK,Yo as aL,Qo as aM,Ko as aN,Ui as aO,Sa as aP,qd as aQ,hq as aR,Sq as aS,gq as aT,SF as aU,yF as aV,Th as aW,Sh as aX,kh as aY,xh as aZ,Bd as a_,mu as aa,xc as ab,cr as ac,Xd as ad,qi as ae,sa as af,x$ as ag,lo as ah,Bc as ai,Ka as aj,kg as ak,fW as al,qZ as am,KZ as an,na as ao,im as ap,cp as aq,bh as ar,qf as as,af as at,Af as au,pr as av,fu as aw,_u as ax,ca as ay,WZ as az,pa as b,Ji as b0,Fd as b1,jq as b2,Vq as b3,zq as b4,Na as b5,Ac as b6,Bq as b7,qq as b8,Ws as b9,Oa as bA,zQ as bB,YQ as bC,d as bD,Hq as bE,Lq as bF,$q as bG,Gq as bH,Wq as bI,ZR as bJ,$d as ba,us as bb,_F as bc,_U as bd,vU as be,hU as bf,bU as bg,yU as bh,kU as bi,SU as bj,Dq as bk,hF as bl,vF as bm,xU as bn,xF as bo,bF as bp,kF as bq,wF as br,wU as bs,fF as bt,gU as bu,yq as bv,Ad as bw,ia as bx,Fq as by,Uq as bz,zu as c,Es as d,Hf as e,MP as f,Uj as g,jP as h,Xi as i,N_ as j,eL as k,JR as l,$O as m,hr as n,Zc as o,zD as p,um as q,_a as r,Mk as s,Pk as t,Vf as u,Iw as v,Jo as w,y as x,rv as y,j_ as z}; //# sourceMappingURL=vendor.82ce4f28.js.map