PageSourceSearch

https://energy-spot-estimator.lovable.app/assets/index-2ocyC4L-.js

js energy-spot-estimator.lovable.app collected 2026-10-03 03:30:16 UTC 1,077,411 bytes, 356 lines download raw bytes

vendor: 6,122 bytes, lines 1-9
1var aw=t=>{throw TypeError(t)};var Np=(t,e,r)=>e.has(t)||aw("Cannot "+r);var U=(t,e,r)=>(Np(t,e,"read from private field"),r?r.call(t):e.get(t)),qe=(t,e,r)=>e.has(t)?aw("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,r),Se=(t,e,r,n)=>(Np(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r),Gt=(t,e,r)=>(Np(t,e,"access private method"),r);var Gc=(t,e,r,n)=>({set _(i){Se(t,e,i,r)},get _(){return U(t,e,n)}});function dA(t,e){for(var r=0;r<e.length;r++){const n=e[r];if(typeof n!="string"&&!Array.isArray(n)){for(const i in n)if(i!=="default"&&!(i in t)){const o=Object.getOwnPropertyDescriptor(n,i);o&&Object.defineProperty(t,i,o.get?o:{enumerable:!0,get:()=>n[i]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&n(a)}).observe(document,{childList:!0,subtree:!0});function r(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function n(i){if(i.ep)return;i.ep=!0;const o=r(i);fetch(i.href,o)}})();function Gm(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var TS={exports:{}},kh={},PS={exports:{}},Re={};/**
2 * @license React
3 * react.production.min.js
4 *
5 * Copyright (c) Facebook, Inc. and its affiliates.
6 *
7 * This source code is licensed under the MIT license found in the
8 * LICENSE file in the root directory of this source tree.
9 */var Pc=Symbol.for("react.element"),fA=Symbol.for("react.portal"),hA=Symbol.for("react.fragment"),pA=Symbol.for("react.strict_mode"),vA=Symbol.for("react.profiler"),mA=Symbol.for("react.provider"),gA=Symbol.for("react.context"),yA=Symbol.for("react.forward_ref"),wA=Symbol.for("react.suspense"),bA=Symbol.for("react.memo"),xA=Symbol.for("react.lazy"),sw=Symbol.iterator;function SA(t){return t===null||typeof t!="object"?null:(t=sw&&t[sw]||t["@@iterator"],typeof t=="function"?t:null)}var RS={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},AS=Object.assign,OS={};function dl(t,e,r){this.props=t,this.context=e,this.refs=OS,this.updater=r||RS}dl.prototype.isReactComponent={};dl.prototype.setState=function(t,e){if(typeof t!="object"&&typeof t!="function"&&t!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")};dl.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function _S(){}_S.prototype=dl.prototype;function Xm(t,e,r){this.props=t,this.context=e,this.refs=OS,this.updater=r||RS}var Zm=Xm.prototype=new _S;Zm.constructor=Xm;AS(Zm,dl.prototype);Zm.isPureReactComponent=!0;var lw=Array.isArray,NS=Object.prototype.hasOwnProperty,Ym={current:null},jS={key:!0,ref:!0,__self:!0,__source:!0};function FS(t,e,r){var n,i={},o=null,a=null;if(e!=null)for(n in e.ref!==void 0&&(a=e.ref),e.key!==void 0&&(o=""+e.key),e)NS.call(e,n)&&!jS.hasOwnProperty(n)&&(i[n]=e[n]);var s=arguments.length-2;if(s===1)i.children=r;else if(1<s){for(var u=Array(s),l=0;l<s;l++)u[l]=arguments[l+2];i.children=u}if(t&&t.defaultProps)for(n in s=t.defaultProps,s)i[n]===void 0&&(i[n]=s[n]);return{$$typeof:Pc,type:t,key:o,ref:a,props:i,_owner:Ym.current}}function kA(t,e){return{$$typeof:Pc,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}}function Jm(t){return typeof t=="object"&&t!==null&&t.$$typeof===Pc}function CA(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(r){return e[r]})}var uw=/\/+/g;function jp(t,e){return typeof t=="object"&&t!==null&&t.key!=null?CA(""+t.key):e.toString(36)}function qd(t,e,r,n,i){var o=typeof t;(o==="undefined"||o==="boolean")&&(t=null);var a=!1;if(t===null)a=!0;else switch(o){case"string":case"number":a=!0;break;case"object":switch(t.$$typeof){case Pc:case fA:a=!0}}if(a)return a=t,i=i(a),t=n===""?"."+jp(a,0):n,lw(i)?(r="",t!=null&&(r=t.replace(uw,"$&/")+"/"),qd(i,e,r,"",function(l){return l})):i!=null&&(Jm(i)&&(i=kA(i,r+(!i.key||a&&a.key===i.key?"":(""+i.key).replace(uw,"$&/")+"/")+t)),e.push(i)),1;if(a=0,n=n===""?".":n+":",lw(t))for(var s=0;s<t.length;s++){o=t[s];var u=n+jp(o,s);a+=qd(o,e,r,u,i)}else if(u=SA(t),typeof u=="function")for(t=u.call(t),s=0;!(o=t.next()).done;)o=o.value,u=n+jp(o,s++),a+=qd(o,e,r,u,i);else if(o==="object")throw e=String(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.");return a}function Xc(t,e,r){if(t==null)return t;var n=[],i=0;return qd(t,n,"","",function(o){return e.call(r,o,i++)}),n}function EA(t){if(t._status===-1){var e=t._result;e=e(),e.then(function(r){(t._status===0||t._status===-1)&&(t._status=1,t._result=r)},function(r){(t._status===0||t._status===-1)&&(t._status=2,t._result=r)}),t._status===-1&&(t._status=0,t._result=e)}if(t._status===1)return t._result.default;throw t._result}var cr={current:null},Hd={transition:null},TA={ReactCurrentDispatcher:cr,ReactCurrentBatchConfig:Hd,ReactCurrentOwner:Ym};function IS(){throw Error("act(...) is not supported in production builds of React.")}Re.Children={map:Xc,forEach:function(t,e,r){Xc(t,function(){e.apply(this,arguments)},r)},count:function(t){var e=0;return Xc(t,function(){e++}),e},toArray:function(t){return Xc(t,function(e){return e})||[]},only:function(t){if(!Jm(t))throw Error("React.Children.only expected to receive a single React element child.");return t}};Re.Component=dl;Re.Fragment=hA;Re.Profiler=vA;Re.PureComponent=Xm;Re.StrictMode=pA;Re.Suspense=wA;
vendor: 4,893 bytes, lines 9-25
9Re.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=TA;Re.act=IS;Re.cloneElement=function(t,e,r){if(t==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var n=AS({},t.props),i=t.key,o=t.ref,a=t._owner;if(e!=null){if(e.ref!==void 0&&(o=e.ref,a=Ym.current),e.key!==void 0&&(i=""+e.key),t.type&&t.type.defaultProps)var s=t.type.defaultProps;for(u in e)NS.call(e,u)&&!jS.hasOwnProperty(u)&&(n[u]=e[u]===void 0&&s!==void 0?s[u]:e[u])}var u=arguments.length-2;if(u===1)n.children=r;else if(1<u){s=Array(u);for(var l=0;l<u;l++)s[l]=arguments[l+2];n.children=s}return{$$typeof:Pc,type:t.type,key:i,ref:o,props:n,_owner:a}};Re.createContext=function(t){return t={$$typeof:gA,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},t.Provider={$$typeof:mA,_context:t},t.Consumer=t};Re.createElement=FS;Re.createFactory=function(t){var e=FS.bind(null,t);return e.type=t,e};Re.createRef=function(){return{current:null}};Re.forwardRef=function(t){return{$$typeof:yA,render:t}};Re.isValidElement=Jm;Re.lazy=function(t){return{$$typeof:xA,_payload:{_status:-1,_result:t},_init:EA}};Re.memo=function(t,e){return{$$typeof:bA,type:t,compare:e===void 0?null:e}};Re.startTransition=function(t){var e=Hd.transition;Hd.transition={};try{t()}finally{Hd.transition=e}};Re.unstable_act=IS;Re.useCallback=function(t,e){return cr.current.useCallback(t,e)};Re.useContext=function(t){return cr.current.useContext(t)};Re.useDebugValue=function(){};Re.useDeferredValue=function(t){return cr.current.useDeferredValue(t)};Re.useEffect=function(t,e){return cr.current.useEffect(t,e)};Re.useId=function(){return cr.current.useId()};Re.useImperativeHandle=function(t,e,r){return cr.current.useImperativeHandle(t,e,r)};Re.useInsertionEffect=function(t,e){return cr.current.useInsertionEffect(t,e)};Re.useLayoutEffect=function(t,e){return cr.current.useLayoutEffect(t,e)};Re.useMemo=function(t,e){return cr.current.useMemo(t,e)};Re.useReducer=function(t,e,r){return cr.current.useReducer(t,e,r)};Re.useRef=function(t){return cr.current.useRef(t)};Re.useState=function(t){return cr.current.useState(t)};Re.useSyncExternalStore=function(t,e,r){return cr.current.useSyncExternalStore(t,e,r)};Re.useTransition=function(){return cr.current.useTransition()};Re.version="18.3.1";PS.exports=Re;var x=PS.exports;const X=Gm(x),Qm=dA({__proto__:null,default:X},[x]);/**
10 * @license React
11 * react-jsx-runtime.production.min.js
12 *
13 * Copyright (c) Facebook, Inc. and its affiliates.
14 *
15 * This source code is licensed under the MIT license found in the
16 * LICENSE file in the root directory of this source tree.
17 */var PA=x,RA=Symbol.for("react.element"),AA=Symbol.for("react.fragment"),OA=Object.prototype.hasOwnProperty,_A=PA.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,NA={key:!0,ref:!0,__self:!0,__source:!0};function DS(t,e,r){var n,i={},o=null,a=null;r!==void 0&&(o=""+r),e.key!==void 0&&(o=""+e.key),e.ref!==void 0&&(a=e.ref);for(n in e)OA.call(e,n)&&!NA.hasOwnProperty(n)&&(i[n]=e[n]);if(t&&t.defaultProps)for(n in e=t.defaultProps,e)i[n]===void 0&&(i[n]=e[n]);return{$$typeof:RA,type:t,key:o,ref:a,props:i,_owner:_A.current}}kh.Fragment=AA;kh.jsx=DS;kh.jsxs=DS;TS.exports=kh;var b=TS.exports,MS={exports:{}},Ir={},LS={exports:{}},BS={};/**
18 * @license React
19 * scheduler.production.min.js
20 *
21 * Copyright (c) Facebook, Inc. and its affiliates.
22 *
23 * This source code is licensed under the MIT license found in the
24 * LICENSE file in the root directory of this source tree.
25 */(function(t){function e(I,B){var z=I.length;I.push(B);e:for(;0<z;){var Q=z-1>>>1,Y=I[Q];if(0<i(Y,B))I[Q]=B,I[z]=Y,z=Q;else break e}}function r(I){return I.length===0?null:I[0]}function n(I){if(I.length===0)return null;var B=I[0],z=I.pop();if(z!==B){I[0]=z;e:for(var Q=0,Y=I.length,de=Y>>>1;Q<de;){var ee=2*(Q+1)-1,Ye=I[ee],tt=ee+1,Z=I[tt];if(0>i(Ye,z))tt<Y&&0>i(Z,Ye)?(I[Q]=Z,I[tt]=z,Q=tt):(I[Q]=Ye,I[ee]=z,Q=ee);else if(tt<Y&&0>i(Z,z))I[Q]=Z,I[tt]=z,Q=tt;else break e}}return B}function i(I,B){var z=I.sortIndex-B.sortIndex;return z!==0?z:I.id-B.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;t.unstable_now=function(){return o.now()}}else{var a=Date,s=a.now();t.unstable_now=function(){return a.now()-s}}var u=[],l=[],c=1,d=null,h=3,f=!1,m=!1,p=!1,g=typeof setTimeout=="function"?setTimeout:null,v=typeof clearTimeout=="function"?clearTimeout:null,y=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function w(I){for(var B=r(l);B!==null;){if(B.callback===null)n(l);else if(B.startTime<=I)n(l),B.sortIndex=B.expirationTime,e(u,B);else break;B=r(l)}}function S(I){if(p=!1,w(I),!m)if(r(u)!==null)m=!0,j(k);else{var B=r(l);
vendor: 9,324 bytes, lines 25-34
25B!==null&&V(S,B.startTime-I)}}function k(I,B){m=!1,p&&(p=!1,v(R),R=-1),f=!0;var z=h;try{for(w(B),d=r(u);d!==null&&(!(d.expirationTime>B)||I&&!O());){var Q=d.callback;if(typeof Q=="function"){d.callback=null,h=d.priorityLevel;var Y=Q(d.expirationTime<=B);B=t.unstable_now(),typeof Y=="function"?d.callback=Y:d===r(u)&&n(u),w(B)}else n(u);d=r(u)}if(d!==null)var de=!0;else{var ee=r(l);ee!==null&&V(S,ee.startTime-B),de=!1}return de}finally{d=null,h=z,f=!1}}var C=!1,E=null,R=-1,A=5,_=-1;function O(){return!(t.unstable_now()-_<A)}function D(){if(E!==null){var I=t.unstable_now();_=I;var B=!0;try{B=E(!0,I)}finally{B?M():(C=!1,E=null)}}else C=!1}var M;if(typeof y=="function")M=function(){y(D)};else if(typeof MessageChannel<"u"){var L=new MessageChannel,N=L.port2;L.port1.onmessage=D,M=function(){N.postMessage(null)}}else M=function(){g(D,0)};function j(I){E=I,C||(C=!0,M())}function V(I,B){R=g(function(){I(t.unstable_now())},B)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(I){I.callback=null},t.unstable_continueExecution=function(){m||f||(m=!0,j(k))},t.unstable_forceFrameRate=function(I){0>I||125<I?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):A=0<I?Math.floor(1e3/I):5},t.unstable_getCurrentPriorityLevel=function(){return h},t.unstable_getFirstCallbackNode=function(){return r(u)},t.unstable_next=function(I){switch(h){case 1:case 2:case 3:var B=3;break;default:B=h}var z=h;h=B;try{return I()}finally{h=z}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(I,B){switch(I){case 1:case 2:case 3:case 4:case 5:break;default:I=3}var z=h;h=I;try{return B()}finally{h=z}},t.unstable_scheduleCallback=function(I,B,z){var Q=t.unstable_now();switch(typeof z=="object"&&z!==null?(z=z.delay,z=typeof z=="number"&&0<z?Q+z:Q):z=Q,I){case 1:var Y=-1;break;case 2:Y=250;break;case 5:Y=1073741823;break;case 4:Y=1e4;break;default:Y=5e3}return Y=z+Y,I={id:c++,callback:B,priorityLevel:I,startTime:z,expirationTime:Y,sortIndex:-1},z>Q?(I.sortIndex=z,e(l,I),r(u)===null&&I===r(l)&&(p?(v(R),R=-1):p=!0,V(S,z-Q))):(I.sortIndex=Y,e(u,I),m||f||(m=!0,j(k))),I},t.unstable_shouldYield=O,t.unstable_wrapCallback=function(I){var B=h;return function(){var z=h;h=B;try{return I.apply(this,arguments)}finally{h=z}}}})(BS);LS.exports=BS;var jA=LS.exports;/**
26 * @license React
27 * react-dom.production.min.js
28 *
29 * Copyright (c) Facebook, Inc. and its affiliates.
30 *
31 * This source code is licensed under the MIT license found in the
32 * LICENSE file in the root directory of this source tree.
33 */var FA=x,Nr=jA;function q(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,r=1;r<arguments.length;r++)e+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var US=new Set,Fu={};function Na(t,e){Ys(t,e),Ys(t+"Capture",e)}function Ys(t,e){for(Fu[t]=e,t=0;t<e.length;t++)US.add(e[t])}var pi=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Zv=Object.prototype.hasOwnProperty,IA=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,cw={},dw={};function DA(t){return Zv.call(dw,t)?!0:Zv.call(cw,t)?!1:IA.test(t)?dw[t]=!0:(cw[t]=!0,!1)}function MA(t,e,r,n){if(r!==null&&r.type===0)return!1;switch(typeof e){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(t=t.toLowerCase().slice(0,5),t!=="data-"&&t!=="aria-");default:return!1}}function LA(t,e,r,n){if(e===null||typeof e>"u"||MA(t,e,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!e;case 4:return e===!1;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}return!1}function dr(t,e,r,n,i,o,a){this.acceptsBooleans=e===2||e===3||e===4,this.attributeName=n,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=t,this.type=e,this.sanitizeURL=o,this.removeEmptyString=a}var qt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){qt[t]=new dr(t,0,!1,t,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var e=t[0];qt[e]=new dr(e,1,!1,t[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(t){qt[t]=new dr(t,2,!1,t.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){qt[t]=new dr(t,2,!1,t,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(t){qt[t]=new dr(t,3,!1,t.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(t){qt[t]=new dr(t,3,!0,t,null,!1,!1)});["capture","download"].forEach(function(t){qt[t]=new dr(t,4,!1,t,null,!1,!1)});["cols","rows","size","span"].forEach(function(t){qt[t]=new dr(t,6,!1,t,null,!1,!1)});["rowSpan","start"].forEach(function(t){qt[t]=new dr(t,5,!1,t.toLowerCase(),null,!1,!1)});var $m=/[\-:]([a-z])/g;function eg(t){return t[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(t){var e=t.replace($m,eg);qt[e]=new dr(e,1,!1,t,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(t){var e=t.replace($m,eg);qt[e]=new dr(e,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(t){var e=t.replace($m,eg);qt[e]=new dr(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(t){qt[t]=new dr(t,1,!1,t.toLowerCase(),null,!1,!1)});qt.xlinkHref=new dr("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(t){qt[t]=new dr(t,1,!1,t.toLowerCase(),null,!0,!0)});function tg(t,e,r,n){var i=qt.hasOwnProperty(e)?qt[e]:null;(i!==null?i.type!==0:n||!(2<e.length)||e[0]!=="o"&&e[0]!=="O"||e[1]!=="n"&&e[1]!=="N")&&(LA(e,r,i,n)&&(r=null),n||i===null?DA(e)&&(r===null?t.removeAttribute(e):t.setAttribute(e,""+r)):i.mustUseProperty?t[i.propertyName]=r===null?i.type===3?!1:"":r:(e=i.attributeName,n=i.attributeNamespace,r===null?t.removeAttribute(e):(i=i.type,r=i===3||i===4&&r===!0?"":""+r,n?t.setAttributeNS(n,e,r):t.setAttribute(e,r))))}var xi=FA.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Zc=Symbol.for("react.element"),fs=Symbol.for("react.portal"),hs=Symbol.for("react.fragment"),rg=Symbol.for("react.strict_mode"),Yv=Symbol.for("react.profiler"),zS=Symbol.for("react.provider"),VS=Symbol.for("react.context"),ng=Symbol.for("react.forward_ref"),Jv=Symbol.for("react.suspense"),Qv=Symbol.for("react.suspense_list"),ig=Symbol.for("react.memo"),Bi=Symbol.for("react.lazy"),WS=Symbol.for("react.offscreen"),fw=Symbol.iterator;function _l(t){return t===null||typeof t!="object"?null:(t=fw&&t[fw]||t["@@iterator"],typeof t=="function"?t:null)}var vt=Object.assign,Fp;function Jl(t){if(Fp===void 0)try{throw Error()}catch(r){var e=r.stack.trim().match(/\n( *(at )?)/);Fp=e&&e[1]||""}return`
34`+Fp+t}var Ip=!1;function Dp(t,e){if(!t||Ip)return"";Ip=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(e)if(e=function(){throw Error()},Object.defineProperty(e.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(e,[])}catch(l){var n=l}Reflect.construct(t,[],e)}else{try{e.call()}catch(l){n=l}t.call(e.prototype)}else{try{throw Error()}catch(l){n=l}t()}}
vendor: 8,477 bytes, lines 34-37
34catch(l){if(l&&n&&typeof l.stack=="string"){for(var i=l.stack.split(`
35`),o=n.stack.split(`
36`),a=i.length-1,s=o.length-1;1<=a&&0<=s&&i[a]!==o[s];)s--;for(;1<=a&&0<=s;a--,s--)if(i[a]!==o[s]){if(a!==1||s!==1)do if(a--,s--,0>s||i[a]!==o[s]){var u=`
37`+i[a].replace(" at new "," at ");return t.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",t.displayName)),u}while(1<=a&&0<=s);break}}}finally{Ip=!1,Error.prepareStackTrace=r}return(t=t?t.displayName||t.name:"")?Jl(t):""}function BA(t){switch(t.tag){case 5:return Jl(t.type);case 16:return Jl("Lazy");case 13:return Jl("Suspense");case 19:return Jl("SuspenseList");case 0:case 2:case 15:return t=Dp(t.type,!1),t;case 11:return t=Dp(t.type.render,!1),t;case 1:return t=Dp(t.type,!0),t;default:return""}}function $v(t){if(t==null)return null;if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case hs:return"Fragment";case fs:return"Portal";case Yv:return"Profiler";case rg:return"StrictMode";case Jv:return"Suspense";case Qv:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case VS:return(t.displayName||"Context")+".Consumer";case zS:return(t._context.displayName||"Context")+".Provider";case ng:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case ig:return e=t.displayName||null,e!==null?e:$v(t.type)||"Memo";case Bi:e=t._payload,t=t._init;try{return $v(t(e))}catch{}}return null}function UA(t){var e=t.type;switch(t.tag){case 24:return"Cache";case 9:return(e.displayName||"Context")+".Consumer";case 10:return(e._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return t=e.render,t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case 7:return"Fragment";case 5:return e;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return $v(e);case 8:return e===rg?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e}return null}function Co(t){switch(typeof t){case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function qS(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function zA(t){var e=qS(t)?"checked":"value",r=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),n=""+t[e];if(!t.hasOwnProperty(e)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var i=r.get,o=r.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return i.call(this)},set:function(a){n=""+a,o.call(this,a)}}),Object.defineProperty(t,e,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(a){n=""+a},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function Yc(t){t._valueTracker||(t._valueTracker=zA(t))}function HS(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var r=e.getValue(),n="";return t&&(n=qS(t)?t.checked?"true":"false":t.value),t=n,t!==r?(e.setValue(t),!0):!1}function bf(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}function e0(t,e){var r=e.checked;return vt({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??t._wrapperState.initialChecked})}function hw(t,e){var r=e.defaultValue==null?"":e.defaultValue,n=e.checked!=null?e.checked:e.defaultChecked;r=Co(e.value!=null?e.value:r),t._wrapperState={initialChecked:n,initialValue:r,controlled:e.type==="checkbox"||e.type==="radio"?e.checked!=null:e.value!=null}}function KS(t,e){e=e.checked,e!=null&&tg(t,"checked",e,!1)}function t0(t,e){KS(t,e);var r=Co(e.value),n=e.type;if(r!=null)n==="number"?(r===0&&t.value===""||t.value!=r)&&(t.value=""+r):t.value!==""+r&&(t.value=""+r);else if(n==="submit"||n==="reset"){t.removeAttribute("value");return}e.hasOwnProperty("value")?r0(t,e.type,r):e.hasOwnProperty("defaultValue")&&r0(t,e.type,Co(e.defaultValue)),e.checked==null&&e.defaultChecked!=null&&(t.defaultChecked=!!e.defaultChecked)}function pw(t,e,r){if(e.hasOwnProperty("value")||e.hasOwnProperty("defaultValue")){var n=e.type;if(!(n!=="submit"&&n!=="reset"||e.value!==void 0&&e.value!==null))return;e=""+t._wrapperState.initialValue,r||e===t.value||(t.value=e),t.defaultValue=e}r=t.name,r!==""&&(t.name=""),t.defaultChecked=!!t._wrapperState.initialChecked,r!==""&&(t.name=r)}function r0(t,e,r){(e!=="number"||bf(t.ownerDocument)!==t)&&(r==null?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+r&&(t.defaultValue=""+r))}var Ql=Array.isArray;function Rs(t,e,r,n){if(t=t.options,e){e={};for(var i=0;i<r.length;i++)e["$"+r[i]]=!0;for(r=0;r<t.length;r++)i=e.hasOwnProperty("$"+t[r].value),t[r].selected!==i&&(t[r].selected=i),i&&n&&(t[r].defaultSelected=!0)}else{for(r=""+Co(r),e=null,i=0;i<t.length;i++){if(t[i].value===r){t[i].selected=!0,n&&(t[i].defaultSelected=!0);return}e!==null||t[i].disabled||(e=t[i])}e!==null&&(e.selected=!0)}}function n0(t,e){if(e.dangerouslySetInnerHTML!=null)throw Error(q(91));return vt({},e,{value:void 0,defaultValue:void 0,children:""+t._wrapperState.initialValue})}function vw(t,e){var r=e.value;if(r==null){if(r=e.children,e=e.defaultValue,r!=null){if(e!=null)throw Error(q(92));if(Ql(r)){if(1<r.length)throw Error(q(93));r=r[0]}e=r}e==null&&(e=""),r=e}t._wrapperState={initialValue:Co(r)}}function GS(t,e){var r=Co(e.value),n=Co(e.defaultValue);r!=null&&(r=""+r,r!==t.value&&(t.value=r),e.defaultValue==null&&t.defaultValue!==r&&(t.defaultValue=r)),n!=null&&(t.defaultValue=""+n)}function mw(t){var e=t.textContent;e===t._wrapperState.initialValue&&e!==""&&e!==null&&(t.value=e)}function XS(t){switch(t){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function i0(t,e){return t==null||t==="http://www.w3.org/1999/xhtml"?XS(e):t==="http://www.w3.org/2000/svg"&&e==="foreignObject"?"http://www.w3.org/1999/xhtml":t}var Jc,ZS=function(t){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(e,r,n,i){MSApp.execUnsafeLocalFunction(function(){return t(e,r,n,i)})}:t}(function(t,e){if(t.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in t)t.innerHTML=e;else{for(Jc=Jc||document.createElement("div"),Jc.innerHTML="<svg>"+e.valueOf().toString()+"</svg>",e=Jc.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;e.firstChild;)t.appendChild(e.firstChild)}});function Iu(t,e){if(e){var r=t.firstChild;if(r&&r===t.lastChild&&r.nodeType===3){r.nodeValue=e;return}}t.textContent=e}var fu={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},VA=["Webkit","ms","Moz","O"];Object.keys(fu).forEach(function(t){VA.forEach(function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),fu[e]=fu[t]})});function YS(t,e,r){return e==null||typeof e=="boolean"||e===""?"":r||typeof e!="number"||e===0||fu.hasOwnProperty(t)&&fu[t]?(""+e).trim():e+"px"}function JS(t,e){t=t.style;for(var r in e)if(e.hasOwnProperty(r)){var n=r.indexOf("--")===0,i=YS(r,e[r],n);r==="float"&&(r="cssFloat"),n?t.setProperty(r,i):t[r]=i}}var WA=vt({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function o0(t,e){if(e){if(WA[t]&&(e.children!=null||e.dangerouslySetInnerHTML!=null))throw Error(q(137,t));if(e.dangerouslySetInnerHTML!=null){if(e.children!=null)throw Error(q(60));if(typeof e.dangerouslySetInnerHTML!="object"||!("__html"in e.dangerouslySetInnerHTML))throw Error(q(61))}if(e.style!=null&&typeof e.style!="object")throw Error(q(62))}}function a0(t,e){if(t.indexOf("-")===-1)return typeof e.is=="str
37ing";switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var s0=null;function og(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var l0=null,As=null,Os=null;function gw(t){if(t=Oc(t)){if(typeof l0!="function")throw Error(q(280));var e=t.stateNode;e&&(e=Rh(e),l0(t.stateNode,t.type,e))}}function QS(t){As?Os?Os.push(t):Os=[t]:As=t}function $S(){if(As){var t=As,e=Os;if(Os=As=null,gw(t),e)for(t=0;t<e.length;t++)gw(e[t])}}function ek(t,e){return t(e)}function tk(){}var Mp=!1;function rk(t,e,r){if(Mp)return t(e,r);Mp=!0;try{return ek(t,e,r)}finally{Mp=!1,(As!==null||Os!==null)&&(tk(),$S())}}function Du(t,e){var r=t.stateNode;if(r===null)return null;var n=Rh(r);if(n===null)return null;r=n[e];e:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(t=t.type,n=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!n;break e;default:t=!1}if(t)return null;if(r&&typeof r!="function")throw Error(q(231,e,typeof r));return r}var u0=!1;if(pi)try{var Nl={};Object.defineProperty(Nl,"passive",{get:function(){u0=!0}}),window.addEventListener("test",Nl,Nl),window.removeEventListener("test",Nl,Nl)}catch{u0=!1}function qA(t,e,r,n,i,o,a,s,u){var l=Array.prototype.slice.call(arguments,3);try{e.apply(r,l)}catch(c){this.onError(c)}}var hu=!1,xf=null,Sf=!1,c0=null,HA={onError:function(t){hu=!0,xf=t}};function KA(t,e,r,n,i,o,a,s,u){hu=!1,xf=null,qA.apply(HA,arguments)}function GA(t,e,r,n,i,o,a,s,u){if(KA.apply(this,arguments),hu){if(hu){var l=xf;hu=!1,xf=null}else throw Error(q(198));Sf||(Sf=!0,c0=l)}}function ja(t){var e=t,r=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,e.flags&4098&&(r=e.return),t=e.return;while(t)}return e.tag===3?r:null}function nk(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function yw(t){if(ja(t)!==t)throw Error(q(188))}function XA(t){var e=t.alternate;if(!e){if(e=ja(t),e===null)throw Error(q(188));return e!==t?null:t}for(var r=t,n=e;;){var i=r.return;if(i===null)break;var o=i.alternate;if(o===null){if(n=i.return,n!==null){r=n;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===r)return yw(i),t;if(o===n)return yw(i),e;o=o.sibling}throw Error(q(188))}if(r.return!==n.return)r=i,n=o;else{for(var a=!1,s=i.child;s;){if(s===r){a=!0,r=i,n=o;break}if(s===n){a=!0,n=i,r=o;break}s=s.sibling}if(!a){for(s=o.child;s;){if(s===r){a=!0,r=o,n=i;break}if(s===n){a=!0,n=o,r=i;break}s=s.sibling}if(!a)throw Error(q(189))}}if(r.alternate!==n)throw Error(q(190))}if(r.tag!==3)throw Error(q(188));return r.stateNode.current===r?t:e}function ik(t){return t=XA(t),t!==null?ok(t):null}function ok(t){if(t.tag===5||t.tag===6)return t;for(t=t.child;t!==null;){var e=ok(t);if(e!==null)return e;t=t.sibling}return null}var ak=Nr.unstable_scheduleCallback,ww=Nr.unstable_cancelCallback,ZA=Nr.unstable_shouldYield,YA=Nr.unstable_requestPaint,xt=Nr.unstable_now,JA=Nr.unstable_getCurrentPriorityLevel,ag=Nr.unstable_ImmediatePriority,sk=Nr.unstable_UserBlockingPriority,kf=Nr.unstable_NormalPriority,QA=Nr.unstable_LowPriority,lk=Nr.unstable_IdlePriority,Ch=null,Wn=null;function $A(t){if(Wn&&typeof Wn.onCommitFiberRoot=="function")try{Wn.onCommitFiberRoot(Ch,t,void 0,(t.current.flags&128)===128)}catch{}}var kn=Math.clz32?Math.clz32:rO,eO=Math.log,tO=Math.LN2;function rO(t){return t>>>=0,t===0?32:31-(eO(t)/tO|0)|0}var Qc=64,$c=4194304;function $l(t){switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return t&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return t}}function Cf(t,e){var r=t.pendingLanes;if(r===0)return 0;var n=0,i=t.suspendedLanes,o=t.pingedLanes,a=r&268435455;if(a!==0){var s=a&~i;s!==0?n=$l(s):(o&=a,o!==0&&(n=$l(o)))}else a=r&~i,a!==0?n=$l(a):o!==0&&(n=$l(o));if(n===0)return 0;if(e!==0&&e!==n&&!(e&i)&&(i=n&-n,o=e&-e,i>=o||i===16&&(o&4194240)!==0))return e;if(n&4&&(n|=r&16),e=t.entangledLanes,e!==0)for(t=t.entanglements,e&=n;0<e;)r=31-kn(e),i=1<<r,n|=t[r],e&=~i;return n}function nO(t,e){switch(t){case 1:case 2:case 4:return e+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function iO(t,e){for(var r=t.suspendedLanes,n=t.pingedLanes,i=t.expirationTimes,o=t.pendingLanes;0<o;){var a=31-kn(o),s=1<<a,u=i[a];u===-1?(!(s&r)||s&n)&&(i[a]=nO(s,e)):u<=e&&(t.expiredLanes|=s),o&=~s}}function d0(t){return t=t.pendingLanes&-1073741825,t!==0?t:t&1073741824?1073741824:0}function uk(){var t=Qc;return Qc<<=1,!(Qc&4194240)&&(Qc=64),t}function Lp(t){for(var e=[],r=0;31>r;r++)e.push(t);return e}function Rc(t,e,r){t.pendingLanes|=e,e!==536870912&&(t.suspendedLanes=0,t.pingedLanes=0),t=t.eventTimes,e=31-kn(e),t[e]=r}function oO(t,e){var r=t.pendingLanes&~e;t.pendingLanes=e,t.suspendedLanes=0,t.pingedLanes=0,t.expiredLanes&=e,t.mutableReadLanes&=e,t.entangledLanes&=e,e=t.entanglements;var n=t.eventTimes;for(t=t.expirationTimes;0<r;){var i=31-kn(r),o=1<<i;e[i]=0,n[i]=-1,t[i]=-1,r&=~o}}function sg(t,e){var r=t.entangledLanes|=e;for(t=t.entanglements;r;){var n=31-kn(r),i=1<<n;i&e|t[n]&e&&(t[n]|=e),r&=~i}}var Qe=0;function ck(t){return t&=-t,1<t?4<t?t&268435455?16:536870912:4:1}var dk,lg,fk,hk,pk,f0=!1,ed=[],uo=null,co=null,fo=null,Mu=new Map,Lu=new Map,qi=[],aO="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function bw(t,e){switch(t){case"focusin":case"focusout":uo=null;break;case"dragenter":case"dragleave":co=null;break;case"mouseover":case"mouseout":fo=null;break;case"pointerover":case"pointerout":Mu.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":Lu.delete(e.pointerId)}}function jl(t,e,r,n,i,o){return t===null||t.nativeEvent!==o?(t={blockedOn:e,domEventName:r,eventSystemFlags:n,nativeEvent:o,targetContainers:[i]},e!==null&&(e=Oc(e),e!==null&&lg(e)),t):(t.eventSystemFlags|=n,e=t.targetContainers,i!==null&&e.indexOf(i)===-1&&e.push(i),t)}function sO(t,e,r,n,i){switch(e){case"focusin":return uo=jl(uo,t,e,r,n,i),!0;case"dragenter":return co=jl(co,t,e,r,n,i),!0;case"mouseover":return fo=jl(fo,t,e,r,n,i),!0;case"pointerover":var o=i.pointerId;return Mu.set(o,jl(Mu.get(o)||null,t,e,r,n,i)),!0;case"gotpointercapture":return o=i.pointerId,Lu.set(o,jl(Lu.get(o)||null,t,e,r,n,i)),!0}return!1}function vk(t){var e=ra(t.target);if(e!==null){var r=ja(e);if(r!==null){if(e=r.tag,e===13){if(e=nk(r),e!==null){t.blockedOn=e,pk(t.priority,function(){fk(r)});return}}else if(e===3&&r.stateNode.current.memoizedState.isDehydrated){t.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Kd(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var r=h0(t.domEventName,t.eventSystemFlags,e[0],t.nativeEvent);if(r===null){r=t.nativeEvent;var n=new r.constructor(r.type,r);s0=n,r.target.dispatchEvent(n),s0=null}else return e=Oc(r),e!==null&&lg(e),t.blockedOn=r,!1;e.shift()}return!0}function xw(t,e,r){Kd(t)&&r.delete(e)}function lO(){f0=!1,uo!==null&&Kd(uo)&&(uo=null),co!==null&&Kd(co)&&(co=null),fo!==null&&Kd(fo)&&(fo=null),Mu.forEach(xw),Lu.forEach(xw)}function Fl(t,e){t.blockedOn===e&&(t.blockedOn=null,f0||(f0=!0,Nr.unstable_scheduleCallback(Nr.unstable_NormalPriority,lO)))}function Bu(t){function e(i){return Fl(i,t)}if(0<ed.length){Fl(ed[0],t);for(var r=1;r<ed.length;r++){var n=ed[r];n.blockedOn===t&&(n.blockedOn=null)}}for(uo!==null&&Fl(uo,t),co!==null&&Fl(co,t),fo!==null&&Fl(fo,t),Mu.forEach(e),Lu.forEach(e),r=0;r<qi.length;r++)n=qi[r],n.blockedOn===t&&(n.blockedOn=null);for(;0<qi.length&&(r=qi[0],r.blockedOn===null);)vk(r),r.blockedOn===null&&qi.shift()}var _s=xi.ReactCurrentBatchConfig,Ef=!0;function uO(t,e,r,n){var i=Qe,o=_s.transition;_s.transition=null;try{Qe=1,ug(t,e,r,n)}finally{Qe=i,_s.transition=o}}function cO(t,e,r,n){var i=Qe,o=_s.transition;_s.transition=null;try{Qe=4,ug(t,e,r,n)}finally{Qe=i,_s.transition=o}}function ug(t,e,r,n){if(Ef){var i=h0(t,e,r,n);if(i===null)Xp(t,e,n,Tf,r),bw(t,n);else if(sO(i,t,e,r,n))n.stopPropagation();
vendor: 10,909 bytes, line 37
37else if(bw(t,n),e&4&&-1<aO.indexOf(t)){for(;i!==null;){var o=Oc(i);if(o!==null&&dk(o),o=h0(t,e,r,n),o===null&&Xp(t,e,n,Tf,r),o===i)break;i=o}i!==null&&n.stopPropagation()}else Xp(t,e,n,null,r)}}var Tf=null;function h0(t,e,r,n){if(Tf=null,t=og(n),t=ra(t),t!==null)if(e=ja(t),e===null)t=null;else if(r=e.tag,r===13){if(t=nk(e),t!==null)return t;t=null}else if(r===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null);return Tf=t,null}function mk(t){switch(t){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(JA()){case ag:return 1;case sk:return 4;case kf:case QA:return 16;case lk:return 536870912;default:return 16}default:return 16}}var ro=null,cg=null,Gd=null;function gk(){if(Gd)return Gd;var t,e=cg,r=e.length,n,i="value"in ro?ro.value:ro.textContent,o=i.length;for(t=0;t<r&&e[t]===i[t];t++);var a=r-t;for(n=1;n<=a&&e[r-n]===i[o-n];n++);return Gd=i.slice(t,1<n?1-n:void 0)}function Xd(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function td(){return!0}function Sw(){return!1}function Dr(t){function e(r,n,i,o,a){this._reactName=r,this._targetInst=i,this.type=n,this.nativeEvent=o,this.target=a,this.currentTarget=null;for(var s in t)t.hasOwnProperty(s)&&(r=t[s],this[s]=r?r(o):o[s]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?td:Sw,this.isPropagationStopped=Sw,this}return vt(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=td)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=td)},persist:function(){},isPersistent:td}),e}var fl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},dg=Dr(fl),Ac=vt({},fl,{view:0,detail:0}),dO=Dr(Ac),Bp,Up,Il,Eh=vt({},Ac,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:fg,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==Il&&(Il&&t.type==="mousemove"?(Bp=t.screenX-Il.screenX,Up=t.screenY-Il.screenY):Up=Bp=0,Il=t),Bp)},movementY:function(t){return"movementY"in t?t.movementY:Up}}),kw=Dr(Eh),fO=vt({},Eh,{dataTransfer:0}),hO=Dr(fO),pO=vt({},Ac,{relatedTarget:0}),zp=Dr(pO),vO=vt({},fl,{animationName:0,elapsedTime:0,pseudoElement:0}),mO=Dr(vO),gO=vt({},fl,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),yO=Dr(gO),wO=vt({},fl,{data:0}),Cw=Dr(wO),bO={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},xO={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},SO={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function kO(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=SO[t])?!!e[t]:!1}function fg(){return kO}var CO=vt({},Ac,{key:function(t){if(t.key){var e=bO[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=Xd(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?xO[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:fg,charCode:function(t){return t.type==="keypress"?Xd(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Xd(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),EO=Dr(CO),TO=vt({},Eh,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ew=Dr(TO),PO=vt({},Ac,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:fg}),RO=Dr(PO),AO=vt({},fl,{propertyName:0,elapsedTime:0,pseudoElement:0}),OO=Dr(AO),_O=vt({},Eh,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),NO=Dr(_O),jO=[9,13,27,32],hg=pi&&"CompositionEvent"in window,pu=null;pi&&"documentMode"in document&&(pu=document.documentMode);var FO=pi&&"TextEvent"in window&&!pu,yk=pi&&(!hg||pu&&8<pu&&11>=pu),Tw=" ",Pw=!1;function wk(t,e){switch(t){case"keyup":return jO.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function bk(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var ps=!1;function IO(t,e){switch(t){case"compositionend":return bk(e);case"keypress":return e.which!==32?null:(Pw=!0,Tw);case"textInput":return t=e.data,t===Tw&&Pw?null:t;default:return null}}function DO(t,e){if(ps)return t==="compositionend"||!hg&&wk(t,e)?(t=gk(),Gd=cg=ro=null,ps=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return yk&&e.locale!=="ko"?null:e.data;default:return null}}var MO={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Rw(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!MO[t.type]:e==="textarea"}function xk(t,e,r,n){QS(n),e=Pf(e,"onChange"),0<e.length&&(r=new dg("onChange","change",null,r,n),t.push({event:r,listeners:e}))}var vu=null,Uu=null;function LO(t){Nk(t,0)}function Th(t){var e=gs(t);if(HS(e))return t}function BO(t,e){if(t==="change")return e}var Sk=!1;if(pi){var Vp;if(pi){var Wp="oninput"in document;if(!Wp){var Aw=document.createElement("div");Aw.setAttribute("oninput","return;"),Wp=typeof Aw.oninput=="function"}Vp=Wp}else Vp=!1;Sk=Vp&&(!document.documentMode||9<document.documentMode)}function Ow(){vu&&(vu.detachEvent("onpropertychange",kk),Uu=vu=null)}function kk(t){if(t.propertyName==="value"&&Th(Uu)){var e=[];xk(e,Uu,t,og(t)),rk(LO,e)}}function UO(t,e,r){t==="focusin"?(Ow(),vu=e,Uu=r,vu.attachEvent("onpropertychange",kk)):t==="focusout"&&Ow()}function zO(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Th(Uu)}function VO(t,e){if(t==="click")return Th(e)}function WO(t,e){if(t==="input"||t==="change")return Th(e)}function qO(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var Tn=typeof Object.is=="function"?Object.is:qO;function zu(t,e){if(Tn(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var r=Object.keys(t),n=Object.keys(e);if(r.length!==n.length)return!1;for(n=0;n<r.length;n++){var i=r[n];if(!Zv.call(e,i)||!Tn(t[i],e[i]))return!1}return!0}function _w(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Nw(t,e){var r=_w(t);t=0;for(var n;r;){if(r.nodeType===3){if(n=t+r.textContent.length,t<=e&&n>=e)return{node:r,offset:e-t};t=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=_w(r)}}function Ck(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?Ck(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function Ek(){for(var t=window,e=bf();e instanceof t.HTMLIFrameElement;){try{var r=typeof e.contentWindow.location.href=="string"}catch{r=!1}if(r)t=e.contentWindow;else break;e=bf(t.document)}return e}function pg(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}function HO(t){var e=Ek(),r=t.focusedElem,n=t.selectionRange;if(e!==r&&r&&r.ownerDocument&&Ck(r.ownerDocument.documentElement,r)){if(n!==null&&pg(r)){if(e=n.start,t=n.end,t===void 0&&(t=e),"selectionStart"in r)r.selectionStart=e,r.selectionEnd=Math.min(t,r.value.length);else if(t=(e=r.ownerDocument||document)&&e.defaultView||window,t.getSelection){t=t.getSelection();var i=r.textContent.length,o=Math.min(n.start,i);n=n.end===void 0?o:Math.min(n.end,i),!t.extend&&o>n&&(i=n,n=o,o=i),i=Nw(r,o);var a=Nw(r,n);i&&a&&(t.rangeCount!==1||t.anchorNode!==i.node||t.anchorOffset!==i.offset||t.focusNode!==a.node||t.focusOffset!==a.offset)&&(e=e.createRange(),e.setStart(i.node,i.offset),t.removeAllRanges(),o>n?(t.addRange(e),t.extend(a.node,a.offset)):(e.setEnd(a.node,a.offset),t.addRange(e)))}}for(e=[],t=r;t=t.parentNode;)t.nodeType===1&&e.push({element:t,left:t.scrollLeft,top:t.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r<e.length;r++)t=e[r],t.element.scrollLeft=t.left,t.element.scrollTop=t.top}}var KO=pi&&"documentMode"in document&&11>=document.documentMode,vs=null,p0=null,mu=null,v0=!1;function jw(t,e,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;v0||vs==null||vs!==bf(n)||(n=vs,"selectionStart"in n&&pg(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focu
vendor: 4,501 bytes, line 37
37sNode:n.focusNode,focusOffset:n.focusOffset}),mu&&zu(mu,n)||(mu=n,n=Pf(p0,"onSelect"),0<n.length&&(e=new dg("onSelect","select",null,e,r),t.push({event:e,listeners:n}),e.target=vs)))}function rd(t,e){var r={};return r[t.toLowerCase()]=e.toLowerCase(),r["Webkit"+t]="webkit"+e,r["Moz"+t]="moz"+e,r}var ms={animationend:rd("Animation","AnimationEnd"),animationiteration:rd("Animation","AnimationIteration"),animationstart:rd("Animation","AnimationStart"),transitionend:rd("Transition","TransitionEnd")},qp={},Tk={};pi&&(Tk=document.createElement("div").style,"AnimationEvent"in window||(delete ms.animationend.animation,delete ms.animationiteration.animation,delete ms.animationstart.animation),"TransitionEvent"in window||delete ms.transitionend.transition);function Ph(t){if(qp[t])return qp[t];if(!ms[t])return t;var e=ms[t],r;for(r in e)if(e.hasOwnProperty(r)&&r in Tk)return qp[t]=e[r];return t}var Pk=Ph("animationend"),Rk=Ph("animationiteration"),Ak=Ph("animationstart"),Ok=Ph("transitionend"),_k=new Map,Fw="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function jo(t,e){_k.set(t,e),Na(e,[t])}for(var Hp=0;Hp<Fw.length;Hp++){var Kp=Fw[Hp],GO=Kp.toLowerCase(),XO=Kp[0].toUpperCase()+Kp.slice(1);jo(GO,"on"+XO)}jo(Pk,"onAnimationEnd");jo(Rk,"onAnimationIteration");jo(Ak,"onAnimationStart");jo("dblclick","onDoubleClick");jo("focusin","onFocus");jo("focusout","onBlur");jo(Ok,"onTransitionEnd");Ys("onMouseEnter",["mouseout","mouseover"]);Ys("onMouseLeave",["mouseout","mouseover"]);Ys("onPointerEnter",["pointerout","pointerover"]);Ys("onPointerLeave",["pointerout","pointerover"]);Na("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Na("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Na("onBeforeInput",["compositionend","keypress","textInput","paste"]);Na("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Na("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Na("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var eu="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),ZO=new Set("cancel close invalid load scroll toggle".split(" ").concat(eu));function Iw(t,e,r){var n=t.type||"unknown-event";t.currentTarget=r,GA(n,e,void 0,t),t.currentTarget=null}function Nk(t,e){e=(e&4)!==0;for(var r=0;r<t.length;r++){var n=t[r],i=n.event;n=n.listeners;e:{var o=void 0;if(e)for(var a=n.length-1;0<=a;a--){var s=n[a],u=s.instance,l=s.currentTarget;if(s=s.listener,u!==o&&i.isPropagationStopped())break e;Iw(i,s,l),o=u}else for(a=0;a<n.length;a++){if(s=n[a],u=s.instance,l=s.currentTarget,s=s.listener,u!==o&&i.isPropagationStopped())break e;Iw(i,s,l),o=u}}}if(Sf)throw t=c0,Sf=!1,c0=null,t}function at(t,e){var r=e[b0];r===void 0&&(r=e[b0]=new Set);var n=t+"__bubble";r.has(n)||(jk(e,t,2,!1),r.add(n))}function Gp(t,e,r){var n=0;e&&(n|=4),jk(r,t,n,e)}var nd="_reactListening"+Math.random().toString(36).slice(2);function Vu(t){if(!t[nd]){t[nd]=!0,US.forEach(function(r){r!=="selectionchange"&&(ZO.has(r)||Gp(r,!1,t),Gp(r,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[nd]||(e[nd]=!0,Gp("selectionchange",!1,e))}}function jk(t,e,r,n){switch(mk(e)){case 1:var i=uO;break;case 4:i=cO;break;default:i=ug}r=i.bind(null,e,r,t),i=void 0,!u0||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(i=!0),n?i!==void 0?t.addEventListener(e,r,{capture:!0,passive:i}):t.addEventListener(e,r,!0):i!==void 0?t.addEventListener(e,r,{passive:i}):t.addEventListener(e,r,!1)}function Xp(t,e,r,n,i){var o=n;if(!(e&1)&&!(e&2)&&n!==null)e:for(;;){if(n===null)return;var a=n.tag;if(a===3||a===4){var s=n.stateNode.containerInfo;
vendor: 1,708 bytes, line 37
37if(s===i||s.nodeType===8&&s.parentNode===i)break;if(a===4)for(a=n.return;a!==null;){var u=a.tag;if((u===3||u===4)&&(u=a.stateNode.containerInfo,u===i||u.nodeType===8&&u.parentNode===i))return;a=a.return}for(;s!==null;){if(a=ra(s),a===null)return;if(u=a.tag,u===5||u===6){n=o=a;continue e}s=s.parentNode}}n=n.return}rk(function(){var l=o,c=og(r),d=[];e:{var h=_k.get(t);if(h!==void 0){var f=dg,m=t;switch(t){case"keypress":if(Xd(r)===0)break e;case"keydown":case"keyup":f=EO;break;case"focusin":m="focus",f=zp;break;case"focusout":m="blur",f=zp;break;case"beforeblur":case"afterblur":f=zp;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":f=kw;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":f=hO;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":f=RO;break;case Pk:case Rk:case Ak:f=mO;break;case Ok:f=OO;break;case"scroll":f=dO;break;case"wheel":f=NO;break;case"copy":case"cut":case"paste":f=yO;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":f=Ew}var p=(e&4)!==0,g=!p&&t==="scroll",v=p?h!==null?h+"Capture":null:h;p=[];for(var y=l,w;y!==null;){w=y;var S=w.stateNode;if(w.tag===5&&S!==null&&(w=S,v!==null&&(S=Du(y,v),S!=null&&p.push(Wu(y,S,w)))),g)break;y=y.return}0<p.length&&(h=new f(h,m,null,r,c),d.push({event:h,listeners:p}))}}if(!(e&7)){e:{if(h=t==="mouseover"||t==="pointerover",f=t==="mouseout"||t==="pointerout",h&&r!==s0&&(m=r.relatedTarget||r.fromElement)&&(ra(m)||m[vi])
vendor: 8,432 bytes, lines 37-38
37)break e;if((f||h)&&(h=c.window===c?c:(h=c.ownerDocument)?h.defaultView||h.parentWindow:window,f?(m=r.relatedTarget||r.toElement,f=l,m=m?ra(m):null,m!==null&&(g=ja(m),m!==g||m.tag!==5&&m.tag!==6)&&(m=null)):(f=null,m=l),f!==m)){if(p=kw,S="onMouseLeave",v="onMouseEnter",y="mouse",(t==="pointerout"||t==="pointerover")&&(p=Ew,S="onPointerLeave",v="onPointerEnter",y="pointer"),g=f==null?h:gs(f),w=m==null?h:gs(m),h=new p(S,y+"leave",f,r,c),h.target=g,h.relatedTarget=w,S=null,ra(c)===l&&(p=new p(v,y+"enter",m,r,c),p.target=w,p.relatedTarget=g,S=p),g=S,f&&m)t:{for(p=f,v=m,y=0,w=p;w;w=Ka(w))y++;for(w=0,S=v;S;S=Ka(S))w++;for(;0<y-w;)p=Ka(p),y--;for(;0<w-y;)v=Ka(v),w--;for(;y--;){if(p===v||v!==null&&p===v.alternate)break t;p=Ka(p),v=Ka(v)}p=null}else p=null;f!==null&&Dw(d,h,f,p,!1),m!==null&&g!==null&&Dw(d,g,m,p,!0)}}e:{if(h=l?gs(l):window,f=h.nodeName&&h.nodeName.toLowerCase(),f==="select"||f==="input"&&h.type==="file")var k=BO;else if(Rw(h))if(Sk)k=WO;else{k=zO;var C=UO}else(f=h.nodeName)&&f.toLowerCase()==="input"&&(h.type==="checkbox"||h.type==="radio")&&(k=VO);if(k&&(k=k(t,l))){xk(d,k,r,c);break e}C&&C(t,h,l),t==="focusout"&&(C=h._wrapperState)&&C.controlled&&h.type==="number"&&r0(h,"number",h.value)}switch(C=l?gs(l):window,t){case"focusin":(Rw(C)||C.contentEditable==="true")&&(vs=C,p0=l,mu=null);break;case"focusout":mu=p0=vs=null;break;case"mousedown":v0=!0;break;case"contextmenu":case"mouseup":case"dragend":v0=!1,jw(d,r,c);break;case"selectionchange":if(KO)break;case"keydown":case"keyup":jw(d,r,c)}var E;if(hg)e:{switch(t){case"compositionstart":var R="onCompositionStart";break e;case"compositionend":R="onCompositionEnd";break e;case"compositionupdate":R="onCompositionUpdate";break e}R=void 0}else ps?wk(t,r)&&(R="onCompositionEnd"):t==="keydown"&&r.keyCode===229&&(R="onCompositionStart");R&&(yk&&r.locale!=="ko"&&(ps||R!=="onCompositionStart"?R==="onCompositionEnd"&&ps&&(E=gk()):(ro=c,cg="value"in ro?ro.value:ro.textContent,ps=!0)),C=Pf(l,R),0<C.length&&(R=new Cw(R,t,null,r,c),d.push({event:R,listeners:C}),E?R.data=E:(E=bk(r),E!==null&&(R.data=E)))),(E=FO?IO(t,r):DO(t,r))&&(l=Pf(l,"onBeforeInput"),0<l.length&&(c=new Cw("onBeforeInput","beforeinput",null,r,c),d.push({event:c,listeners:l}),c.data=E))}Nk(d,e)})}function Wu(t,e,r){return{instance:t,listener:e,currentTarget:r}}function Pf(t,e){for(var r=e+"Capture",n=[];t!==null;){var i=t,o=i.stateNode;i.tag===5&&o!==null&&(i=o,o=Du(t,r),o!=null&&n.unshift(Wu(t,o,i)),o=Du(t,e),o!=null&&n.push(Wu(t,o,i))),t=t.return}return n}function Ka(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5);return t||null}function Dw(t,e,r,n,i){for(var o=e._reactName,a=[];r!==null&&r!==n;){var s=r,u=s.alternate,l=s.stateNode;if(u!==null&&u===n)break;s.tag===5&&l!==null&&(s=l,i?(u=Du(r,o),u!=null&&a.unshift(Wu(r,u,s))):i||(u=Du(r,o),u!=null&&a.push(Wu(r,u,s)))),r=r.return}a.length!==0&&t.push({event:e,listeners:a})}var YO=/\r\n?/g,JO=/\u0000|\uFFFD/g;function Mw(t){return(typeof t=="string"?t:""+t).replace(YO,`
38`).replace(JO,"")}function id(t,e,r){if(e=Mw(e),Mw(t)!==e&&r)throw Error(q(425))}function Rf(){}var m0=null,g0=null;function y0(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var w0=typeof setTimeout=="function"?setTimeout:void 0,QO=typeof clearTimeout=="function"?clearTimeout:void 0,Lw=typeof Promise=="function"?Promise:void 0,$O=typeof queueMicrotask=="function"?queueMicrotask:typeof Lw<"u"?function(t){return Lw.resolve(null).then(t).catch(e_)}:w0;function e_(t){setTimeout(function(){throw t})}function Zp(t,e){var r=e,n=0;do{var i=r.nextSibling;if(t.removeChild(r),i&&i.nodeType===8)if(r=i.data,r==="/$"){if(n===0){t.removeChild(i),Bu(e);return}n--}else r!=="$"&&r!=="$?"&&r!=="$!"||n++;r=i}while(r);Bu(e)}function ho(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?")break;if(e==="/$")return null}}return t}function Bw(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var r=t.data;if(r==="$"||r==="$!"||r==="$?"){if(e===0)return t;e--}else r==="/$"&&e++}t=t.previousSibling}return null}var hl=Math.random().toString(36).slice(2),Bn="__reactFiber$"+hl,qu="__reactProps$"+hl,vi="__reactContainer$"+hl,b0="__reactEvents$"+hl,t_="__reactListeners$"+hl,r_="__reactHandles$"+hl;function ra(t){var e=t[Bn];if(e)return e;for(var r=t.parentNode;r;){if(e=r[vi]||r[Bn]){if(r=e.alternate,e.child!==null||r!==null&&r.child!==null)for(t=Bw(t);t!==null;){if(r=t[Bn])return r;t=Bw(t)}return e}t=r,r=t.parentNode}return null}function Oc(t){return t=t[Bn]||t[vi],!t||t.tag!==5&&t.tag!==6&&t.tag!==13&&t.tag!==3?null:t}function gs(t){if(t.tag===5||t.tag===6)return t.stateNode;throw Error(q(33))}function Rh(t){return t[qu]||null}var x0=[],ys=-1;function Fo(t){return{current:t}}function st(t){0>ys||(t.current=x0[ys],x0[ys]=null,ys--)}function it(t,e){ys++,x0[ys]=t.current,t.current=e}var Eo={},er=Fo(Eo),yr=Fo(!1),ga=Eo;function Js(t,e){var r=t.type.contextTypes;if(!r)return Eo;var n=t.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===e)return n.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in r)i[o]=e[o];return n&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=i),i}function wr(t){return t=t.childContextTypes,t!=null}function Af(){st(yr),st(er)}function Uw(t,e,r){if(er.current!==Eo)throw Error(q(168));it(er,e),it(yr,r)}function Fk(t,e,r){var n=t.stateNode;if(e=e.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var i in n)if(!(i in e))throw Error(q(108,UA(t)||"Unknown",i));return vt({},r,n)}function Of(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||Eo,ga=er.current,it(er,t),it(yr,yr.current),!0}function zw(t,e,r){var n=t.stateNode;if(!n)throw Error(q(169));r?(t=Fk(t,e,ga),n.__reactInternalMemoizedMergedChildContext=t,st(yr),st(er),it(er,t)):st(yr),it(yr,r)}var oi=null,Ah=!1,Yp=!1;function Ik(t){oi===null?oi=[t]:oi.push(t)}function n_(t){Ah=!0,Ik(t)}function Io(){if(!Yp&&oi!==null){Yp=!0;var t=0,e=Qe;try{var r=oi;for(Qe=1;t<r.length;t++){var n=r[t];do n=n(!0);while(n!==null)}oi=null,Ah=!1}catch(i){throw oi!==null&&(oi=oi.slice(t+1)),ak(ag,Io),i}finally{Qe=e,Yp=!1}}return null}var ws=[],bs=0,_f=null,Nf=0,zr=[],Vr=0,ya=null,li=1,ui="";function Go(t,e){ws[bs++]=Nf,ws[bs++]=_f,_f=t,Nf=e}function Dk(t,e,r){zr[Vr++]=li,zr[Vr++]=ui,zr[Vr++]=ya,ya=t;var n=li;t=ui;var i=32-kn(n)-1;n&=~(1<<i),r+=1;var o=32-kn(e)+i;if(30<o){var a=i-i%5;o=(n&(1<<a)-1).toString(32),n>>=a,i-=a,li=1<<32-kn(e)+i|r<<i|n,ui=o+t}else li=1<<o|r<<i|n,ui=t}function vg(t){t.return!==null&&(Go(t,1),Dk(t,1,0))}function mg(t){for(;t===_f;)_f=ws[--bs],ws[bs]=null,Nf=ws[--bs],ws[bs]=null;for(;t===ya;)ya=zr[--Vr],zr[Vr]=null,ui=zr[--Vr],zr[Vr]=null,li=zr[--Vr],zr[Vr]=null}var Ar=null,Er=null,dt=!1,xn=null;function Mk(t,e){var r=Hr(5,null,null,0);r.elementType="DELETED",r.stateNode=e,r.return=t,e=t.deletions,e===null?(t.deletions=[r],t.flags|=16):e.push(r)}function Vw(t,e){switch(t.tag){case 5:var r=t.type;return e=e.nodeType!==1||r.toLowerCase()!==e.nodeName.toLowerCase()?null:e,e!==null?(t.stateNode=e,Ar=t,Er=ho(e.firstChild),!0):!1;case 6:return e=t.pendingProps===""||e.nodeType!==3?null:e,e!==null?(t.stateNode=e,Ar=t,Er=null,!0):!1;case 13:return e=e.nodeType!==8?null:e,e!==null?(r=ya!==null?{id:li,overflow:ui}:null,t.memoizedState={dehydrated:e,treeContext:r,retryLane:1073741824},r=Hr(18,null,null,0),r.stateNode=e,r.return=t,t.child=r,Ar=t,Er=null,!0):!1;default:return!1}}function S0(t){return(t.mode&1)!==0&&(t.flags&128)===0}function k0(t){if(dt){var e=Er;if(e){var r=e;if(!Vw(t,e)){if(S0(t))throw Error(q(418));e=ho(r.nextSibling);var n=Ar;e&&Vw(t,e)?Mk(n,r):(t.flags=t.flags&-4097|2,dt=!1,Ar=t)}}else{if(S0(t))throw Error(q(418));t.flags=t.flags&-4097|2,dt=!1,Ar=t}}}function Ww(t){for(t=t.return;t!==null&&t.tag!==5&&t.tag!==3&&t.tag!==13;)t=t.return;Ar=t}function od(t){if(t!==Ar)return!1;if(!dt)return Ww(t),dt=!0,!1;var e;if((e=t.tag!==3)&&!(e=t.tag!==5)&&(e=t.type,e=e!=="head"&&e!=="body"&&!y0(t.type,t.memoizedProps)),e&&(e=Er)){if(S0(t))throw Lk(),Error(q(418));for(;e;)Mk(t,e),e=ho(e.nextSibling)}if(Ww(t),t.tag===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(q(317));e:{for(t=t.nextSibling,e=0;t;
vendor: 10,279 bytes, line 38
38){if(t.nodeType===8){var r=t.data;if(r==="/$"){if(e===0){Er=ho(t.nextSibling);break e}e--}else r!=="$"&&r!=="$!"&&r!=="$?"||e++}t=t.nextSibling}Er=null}}else Er=Ar?ho(t.stateNode.nextSibling):null;return!0}function Lk(){for(var t=Er;t;)t=ho(t.nextSibling)}function Qs(){Er=Ar=null,dt=!1}function gg(t){xn===null?xn=[t]:xn.push(t)}var i_=xi.ReactCurrentBatchConfig;function Dl(t,e,r){if(t=r.ref,t!==null&&typeof t!="function"&&typeof t!="object"){if(r._owner){if(r=r._owner,r){if(r.tag!==1)throw Error(q(309));var n=r.stateNode}if(!n)throw Error(q(147,t));var i=n,o=""+t;return e!==null&&e.ref!==null&&typeof e.ref=="function"&&e.ref._stringRef===o?e.ref:(e=function(a){var s=i.refs;a===null?delete s[o]:s[o]=a},e._stringRef=o,e)}if(typeof t!="string")throw Error(q(284));if(!r._owner)throw Error(q(290,t))}return t}function ad(t,e){throw t=Object.prototype.toString.call(e),Error(q(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t))}function qw(t){var e=t._init;return e(t._payload)}function Bk(t){function e(v,y){if(t){var w=v.deletions;w===null?(v.deletions=[y],v.flags|=16):w.push(y)}}function r(v,y){if(!t)return null;for(;y!==null;)e(v,y),y=y.sibling;return null}function n(v,y){for(v=new Map;y!==null;)y.key!==null?v.set(y.key,y):v.set(y.index,y),y=y.sibling;return v}function i(v,y){return v=go(v,y),v.index=0,v.sibling=null,v}function o(v,y,w){return v.index=w,t?(w=v.alternate,w!==null?(w=w.index,w<y?(v.flags|=2,y):w):(v.flags|=2,y)):(v.flags|=1048576,y)}function a(v){return t&&v.alternate===null&&(v.flags|=2),v}function s(v,y,w,S){return y===null||y.tag!==6?(y=nv(w,v.mode,S),y.return=v,y):(y=i(y,w),y.return=v,y)}function u(v,y,w,S){var k=w.type;return k===hs?c(v,y,w.props.children,S,w.key):y!==null&&(y.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===Bi&&qw(k)===y.type)?(S=i(y,w.props),S.ref=Dl(v,y,w),S.return=v,S):(S=tf(w.type,w.key,w.props,null,v.mode,S),S.ref=Dl(v,y,w),S.return=v,S)}function l(v,y,w,S){return y===null||y.tag!==4||y.stateNode.containerInfo!==w.containerInfo||y.stateNode.implementation!==w.implementation?(y=iv(w,v.mode,S),y.return=v,y):(y=i(y,w.children||[]),y.return=v,y)}function c(v,y,w,S,k){return y===null||y.tag!==7?(y=va(w,v.mode,S,k),y.return=v,y):(y=i(y,w),y.return=v,y)}function d(v,y,w){if(typeof y=="string"&&y!==""||typeof y=="number")return y=nv(""+y,v.mode,w),y.return=v,y;if(typeof y=="object"&&y!==null){switch(y.$$typeof){case Zc:return w=tf(y.type,y.key,y.props,null,v.mode,w),w.ref=Dl(v,null,y),w.return=v,w;case fs:return y=iv(y,v.mode,w),y.return=v,y;case Bi:var S=y._init;return d(v,S(y._payload),w)}if(Ql(y)||_l(y))return y=va(y,v.mode,w,null),y.return=v,y;ad(v,y)}return null}function h(v,y,w,S){var k=y!==null?y.key:null;if(typeof w=="string"&&w!==""||typeof w=="number")return k!==null?null:s(v,y,""+w,S);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case Zc:return w.key===k?u(v,y,w,S):null;case fs:return w.key===k?l(v,y,w,S):null;case Bi:return k=w._init,h(v,y,k(w._payload),S)}if(Ql(w)||_l(w))return k!==null?null:c(v,y,w,S,null);ad(v,w)}return null}function f(v,y,w,S,k){if(typeof S=="string"&&S!==""||typeof S=="number")return v=v.get(w)||null,s(y,v,""+S,k);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case Zc:return v=v.get(S.key===null?w:S.key)||null,u(y,v,S,k);case fs:return v=v.get(S.key===null?w:S.key)||null,l(y,v,S,k);case Bi:var C=S._init;return f(v,y,w,C(S._payload),k)}if(Ql(S)||_l(S))return v=v.get(w)||null,c(y,v,S,k,null);ad(y,S)}return null}function m(v,y,w,S){for(var k=null,C=null,E=y,R=y=0,A=null;E!==null&&R<w.length;R++){E.index>R?(A=E,E=null):A=E.sibling;var _=h(v,E,w[R],S);if(_===null){E===null&&(E=A);break}t&&E&&_.alternate===null&&e(v,E),y=o(_,y,R),C===null?k=_:C.sibling=_,C=_,E=A}if(R===w.length)return r(v,E),dt&&Go(v,R),k;if(E===null){for(;R<w.length;R++)E=d(v,w[R],S),E!==null&&(y=o(E,y,R),C===null?k=E:C.sibling=E,C=E);return dt&&Go(v,R),k}for(E=n(v,E);R<w.length;R++)A=f(E,v,R,w[R],S),A!==null&&(t&&A.alternate!==null&&E.delete(A.key===null?R:A.key),y=o(A,y,R),C===null?k=A:C.sibling=A,C=A);return t&&E.forEach(function(O){return e(v,O)}),dt&&Go(v,R),k}function p(v,y,w,S){var k=_l(w);if(typeof k!="function")throw Error(q(150));if(w=k.call(w),w==null)throw Error(q(151));for(var C=k=null,E=y,R=y=0,A=null,_=w.next();E!==null&&!_.done;R++,_=w.next()){E.index>R?(A=E,E=null):A=E.sibling;var O=h(v,E,_.value,S);if(O===null){E===null&&(E=A);break}t&&E&&O.alternate===null&&e(v,E),y=o(O,y,R),C===null?k=O:C.sibling=O,C=O,E=A}if(_.done)return r(v,E),dt&&Go(v,R),k;if(E===null){for(;!_.done;R++,_=w.next())_=d(v,_.value,S),_!==null&&(y=o(_,y,R),C===null?k=_:C.sibling=_,C=_);return dt&&Go(v,R),k}for(E=n(v,E);!_.done;R++,_=w.next())_=f(E,v,R,_.value,S),_!==null&&(t&&_.alternate!==null&&E.delete(_.key===null?R:_.key),y=o(_,y,R),C===null?k=_:C.sibling=_,C=_);return t&&E.forEach(function(D){return e(v,D)}),dt&&Go(v,R),k}function g(v,y,w,S){if(typeof w=="object"&&w!==null&&w.type===hs&&w.key===null&&(w=w.props.children),typeof w=="object"&&w!==null){switch(w.$$typeof){case Zc:e:{for(var k=w.key,C=y;C!==null;){if(C.key===k){if(k=w.type,k===hs){if(C.tag===7){r(v,C.sibling),y=i(C,w.props.children),y.return=v,v=y;break e}}else if(C.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===Bi&&qw(k)===C.type){r(v,C.sibling),y=i(C,w.props),y.ref=Dl(v,C,w),y.return=v,v=y;break e}r(v,C);break}else e(v,C);C=C.sibling}w.type===hs?(y=va(w.props.children,v.mode,S,w.key),y.return=v,v=y):(S=tf(w.type,w.key,w.props,null,v.mode,S),S.ref=Dl(v,y,w),S.return=v,v=S)}return a(v);case fs:e:{for(C=w.key;y!==null;){if(y.key===C)if(y.tag===4&&y.stateNode.containerInfo===w.containerInfo&&y.stateNode.implementation===w.implementation){r(v,y.sibling),y=i(y,w.children||[]),y.return=v,v=y;break e}else{r(v,y);break}else e(v,y);y=y.sibling}y=iv(w,v.mode,S),y.return=v,v=y}return a(v);case Bi:return C=w._init,g(v,y,C(w._payload),S)}if(Ql(w))return m(v,y,w,S);if(_l(w))return p(v,y,w,S);ad(v,w)}return typeof w=="string"&&w!==""||typeof w=="number"?(w=""+w,y!==null&&y.tag===6?(r(v,y.sibling),y=i(y,w),y.return=v,v=y):(r(v,y),y=nv(w,v.mode,S),y.return=v,v=y),a(v)):r(v,y)}return g}var $s=Bk(!0),Uk=Bk(!1),jf=Fo(null),Ff=null,xs=null,yg=null;function wg(){yg=xs=Ff=null}function bg(t){var e=jf.current;st(jf),t._currentValue=e}function C0(t,e,r){for(;t!==null;){var n=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,n!==null&&(n.childLanes|=e)):n!==null&&(n.childLanes&e)!==e&&(n.childLanes|=e),t===r)break;t=t.return}}function Ns(t,e){Ff=t,yg=xs=null,t=t.dependencies,t!==null&&t.firstContext!==null&&(t.lanes&e&&(mr=!0),t.firstContext=null)}function Jr(t){var e=t._currentValue;if(yg!==t)if(t={context:t,memoizedValue:e,next:null},xs===null){if(Ff===null)throw Error(q(308));xs=t,Ff.dependencies={lanes:0,firstContext:t}}else xs=xs.next=t;return e}var na=null;function xg(t){na===null?na=[t]:na.push(t)}function zk(t,e,r,n){var i=e.interleaved;return i===null?(r.next=r,xg(e)):(r.next=i.next,i.next=r),e.interleaved=r,mi(t,n)}function mi(t,e){t.lanes|=e;var r=t.alternate;for(r!==null&&(r.lanes|=e),r=t,t=t.return;t!==null;)t.childLanes|=e,r=t.alternate,r!==null&&(r.childLanes|=e),r=t,t=t.return;return r.tag===3?r.stateNode:null}var Ui=!1;function Sg(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Vk(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,effects:t.effects})}function ci(t,e){return{eventTime:t,lane:e,tag:0,payload:null,callback:null,next:null}}function po(t,e,r){var n=t.updateQueue;if(n===null)return null;if(n=n.shared,ze&2){var i=n.pending;return i===null?e.next=e:(e.next=i.next,i.next=e),n.pending=e,mi(t,r)}return i=n.interleaved,i===null?(e.next=e,xg(n)):(e.next=i.next,i.next=e),n.interleaved=e,mi(t,r)}function Zd(t,e,r){if(e=e.updateQueue,e!==null&&(e=e.shared,(r&4194240)!==0)){var n=e.lanes;n&=t.pendingLanes,r|=n,e.lanes=r,sg(t,r)}}function Hw(t,e){var r=t.updateQueue,n=t.alternate;if(n!==null&&(n=n.updateQueue,r===n)){var i=null,o=null;if(r=r.firstBaseUpdate,r!==null){do{var a={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};o===null?i=o=a:o=o.next=a,r=r.next}while(r!==null);o===null?i=o=e:o=o.next=e}else i=o=e;r={baseState:n.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:n.shared,effects:n.effects},t.updateQueue=r;return}t=r.lastBaseUpdate,t===null?r.firstBaseUpdate=e:t.next=e,r.lastBaseUpdate=e}function If(t,e,r,n){var i=t.updateQueue;Ui=!1;var o=i.firstBaseUpdate,a=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var u=s,l=u.next;u.next=null,a===null?o=l:a.next=l,a=u;var c=t.alternate;c!==null&&(c=c.updateQueue,s=c.lastBaseUpdate,s!==a&&(s===null?c.firstBaseUpdate=l:s.next=l,c.lastBaseUpdate=u))}if(o!==null){var d=i.baseState;a=0,c=l=u=null,s=o;do{var h=s.lane,f=s.eventTime;if((n&h)===h){c!==null&&(c=c.next={eventTime:f,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var m=t,p=s;switch(h=e,f=r,p.tag){case 1:if(m=p.payload,typeof m=="function"){d=m.call(f,d,h);break e}d=m;break e;case 3:m.flags=m.flags&-65537|128;case 0:if(m=p.payload,h=typeof m=="function"?m.call(f,d,h):m,h==null)break e;d=vt({},d,h);break e;case 2:Ui=!0}}s.callback!==null&&s.lane!==0&&(t.flags|=64,h=i.effects,h===null?i.effects=[s]:h.push(s))}else f={eventTime:f,lane:h,tag:s.tag,payload:s.payload,callback:s.callback,next:null},c===null?(l=c=f,u=d):c=c.next=f,a|=h;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;h=s,s=h.next,h.next=null,i.lastBaseUpdate=h,i.shared.pending=null}}while(!0);if(c===null&&(u=d),i.baseState=u,i.firstBaseUpdate=l,i.lastBaseUpdate=c,e=i.shared.interleaved,e!==null){i=e;do a|=i.lane,i=i.next;while(i!==e)}else o===null&&(i.shared.lanes=0);ba|=a,t.lanes=a,t.memoizedState=d}}function Kw(t,e,r){if(t=e.effects,e.effects=null,t!==null)for(e=0;e<t.length;e++){var n=t[e],i=n.callback;if(i!==null){if(n.callback=null,n=r,typeof i!="function")throw Error(q(191,i));i.call(n)}}}var _c={},qn=Fo(_c),Hu=Fo(_c),Ku=Fo(_c);function ia(t){if(t===_c)throw Error(q(174));return t}function kg(t,e){switch(it(Ku,e),it(Hu,t),it(qn,_c),t=e.nodeType,t){case 9:case 11:e=(e
vendor: 6,847 bytes, line 38
38=e.documentElement)?e.namespaceURI:i0(null,"");break;default:t=t===8?e.parentNode:e,e=t.namespaceURI||null,t=t.tagName,e=i0(e,t)}st(qn),it(qn,e)}function el(){st(qn),st(Hu),st(Ku)}function Wk(t){ia(Ku.current);var e=ia(qn.current),r=i0(e,t.type);e!==r&&(it(Hu,t),it(qn,r))}function Cg(t){Hu.current===t&&(st(qn),st(Hu))}var ht=Fo(0);function Df(t){for(var e=t;e!==null;){if(e.tag===13){var r=e.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return e}else if(e.tag===19&&e.memoizedProps.revealOrder!==void 0){if(e.flags&128)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var Jp=[];function Eg(){for(var t=0;t<Jp.length;t++)Jp[t]._workInProgressVersionPrimary=null;Jp.length=0}var Yd=xi.ReactCurrentDispatcher,Qp=xi.ReactCurrentBatchConfig,wa=0,pt=null,Pt=null,Ft=null,Mf=!1,gu=!1,Gu=0,o_=0;function Xt(){throw Error(q(321))}function Tg(t,e){if(e===null)return!1;for(var r=0;r<e.length&&r<t.length;r++)if(!Tn(t[r],e[r]))return!1;return!0}function Pg(t,e,r,n,i,o){if(wa=o,pt=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,Yd.current=t===null||t.memoizedState===null?u_:c_,t=r(n,i),gu){o=0;do{if(gu=!1,Gu=0,25<=o)throw Error(q(301));o+=1,Ft=Pt=null,e.updateQueue=null,Yd.current=d_,t=r(n,i)}while(gu)}if(Yd.current=Lf,e=Pt!==null&&Pt.next!==null,wa=0,Ft=Pt=pt=null,Mf=!1,e)throw Error(q(300));return t}function Rg(){var t=Gu!==0;return Gu=0,t}function In(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ft===null?pt.memoizedState=Ft=t:Ft=Ft.next=t,Ft}function Qr(){if(Pt===null){var t=pt.alternate;t=t!==null?t.memoizedState:null}else t=Pt.next;var e=Ft===null?pt.memoizedState:Ft.next;if(e!==null)Ft=e,Pt=t;else{if(t===null)throw Error(q(310));Pt=t,t={memoizedState:Pt.memoizedState,baseState:Pt.baseState,baseQueue:Pt.baseQueue,queue:Pt.queue,next:null},Ft===null?pt.memoizedState=Ft=t:Ft=Ft.next=t}return Ft}function Xu(t,e){return typeof e=="function"?e(t):e}function $p(t){var e=Qr(),r=e.queue;if(r===null)throw Error(q(311));r.lastRenderedReducer=t;var n=Pt,i=n.baseQueue,o=r.pending;if(o!==null){if(i!==null){var a=i.next;i.next=o.next,o.next=a}n.baseQueue=i=o,r.pending=null}if(i!==null){o=i.next,n=n.baseState;var s=a=null,u=null,l=o;do{var c=l.lane;if((wa&c)===c)u!==null&&(u=u.next={lane:0,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null}),n=l.hasEagerState?l.eagerState:t(n,l.action);else{var d={lane:c,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null};u===null?(s=u=d,a=n):u=u.next=d,pt.lanes|=c,ba|=c}l=l.next}while(l!==null&&l!==o);u===null?a=n:u.next=s,Tn(n,e.memoizedState)||(mr=!0),e.memoizedState=n,e.baseState=a,e.baseQueue=u,r.lastRenderedState=n}if(t=r.interleaved,t!==null){i=t;do o=i.lane,pt.lanes|=o,ba|=o,i=i.next;while(i!==t)}else i===null&&(r.lanes=0);return[e.memoizedState,r.dispatch]}function ev(t){var e=Qr(),r=e.queue;if(r===null)throw Error(q(311));r.lastRenderedReducer=t;var n=r.dispatch,i=r.pending,o=e.memoizedState;if(i!==null){r.pending=null;var a=i=i.next;do o=t(o,a.action),a=a.next;while(a!==i);Tn(o,e.memoizedState)||(mr=!0),e.memoizedState=o,e.baseQueue===null&&(e.baseState=o),r.lastRenderedState=o}return[o,n]}function qk(){}function Hk(t,e){var r=pt,n=Qr(),i=e(),o=!Tn(n.memoizedState,i);if(o&&(n.memoizedState=i,mr=!0),n=n.queue,Ag(Xk.bind(null,r,n,t),[t]),n.getSnapshot!==e||o||Ft!==null&&Ft.memoizedState.tag&1){if(r.flags|=2048,Zu(9,Gk.bind(null,r,n,i,e),void 0,null),Dt===null)throw Error(q(349));wa&30||Kk(r,e,i)}return i}function Kk(t,e,r){t.flags|=16384,t={getSnapshot:e,value:r},e=pt.updateQueue,e===null?(e={lastEffect:null,stores:null},pt.updateQueue=e,e.stores=[t]):(r=e.stores,r===null?e.stores=[t]:r.push(t))}function Gk(t,e,r,n){e.value=r,e.getSnapshot=n,Zk(e)&&Yk(t)}function Xk(t,e,r){return r(function(){Zk(e)&&Yk(t)})}function Zk(t){var e=t.getSnapshot;t=t.value;try{var r=e();return!Tn(t,r)}catch{return!0}}function Yk(t){var e=mi(t,1);e!==null&&Cn(e,t,1,-1)}function Gw(t){var e=In();return typeof t=="function"&&(t=t()),e.memoizedState=e.baseState=t,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Xu,lastRenderedState:t},e.queue=t,t=t.dispatch=l_.bind(null,pt,t),[e.memoizedState,t]}function Zu(t,e,r,n){return t={tag:t,create:e,destroy:r,deps:n,next:null},e=pt.updateQueue,e===null?(e={lastEffect:null,stores:null},pt.updateQueue=e,e.lastEffect=t.next=t):(r=e.lastEffect,r===null?e.lastEffect=t.next=t:(n=r.next,r.next=t,t.next=n,e.lastEffect=t)),t}function Jk(){return Qr().memoizedState}function Jd(t,e,r,n){var i=In();pt.flags|=t,i.memoizedState=Zu(1|e,r,void 0,n===void 0?null:n)}function Oh(t,e,r,n){var i=Qr();n=n===void 0?null:n;var o=void 0;if(Pt!==null){var a=Pt.memoizedState;if(o=a.destroy,n!==null&&Tg(n,a.deps)){i.memoizedState=Zu(e,r,o,n);return}}pt.flags|=t,i.memoizedState=Zu(1|e,r,o,n)}function Xw(t,e){return Jd(8390656,8,t,e)}function Ag(t,e){return Oh(2048,8,t,e)}function Qk(t,e){return Oh(4,2,t,e)}function $k(t,e){return Oh(4,4,t,e)}function eC(t,e){if(typeof e=="function")return t=t(),e(t),function(){e(null)};if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function tC(t,e,r){return r=r!=null?r.concat([t]):null,Oh(4,4,eC.bind(null,e,t),r)}function Og(){}function rC(t,e){var r=Qr();e=e===void 0?null:e;var n=r.memoizedState;return n!==null&&e!==null&&Tg(e,n[1])?n[0]:(r.memoizedState=[t,e],t)}function nC(t,e){var r=Qr();e=e===void 0?null:e;var n=r.memoizedState;return n!==null&&e!==null&&Tg(e,n[1])?n[0]:(t=t(),r.memoizedState=[t,e],t)}function iC(t,e,r){return wa&21?(Tn(r,e)||(r=uk(),pt.lanes|=r,ba|=r,t.baseState=!0),e):(t.baseState&&(t.baseState=!1,mr=!0),t.memoizedState=r)}function a_(t,e){var r=Qe;Qe=r!==0&&4>r?r:4,t(!0);var n=Qp.transition;Qp.transition={};try{t(!1),e()}finally{Qe=r,Qp.transition=n}}function oC(){return Qr().memoizedState}function s_(t,e,r){var n=mo(t);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},aC(t))sC(e,r);else if(r=zk(t,e,r,n),r!==null){var i=sr();Cn(r,t,n,i),lC(r,e,n)}}function l_(t,e,r){var n=mo(t),i={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(aC(t))sC(e,i);else{var o=t.alternate;if(t.lanes===0&&(o===null||o.lanes===0)&&(o=e.lastRenderedReducer,o!==null))try{var a=e.lastRenderedState,s=o(a,r);if(i.hasEagerState=!0,i.eagerState=s,Tn(s,a)){var u=e.interleaved;u===null?(i.next=i,xg(e)):(i.next=u.next,u.next=i),e.interleaved=i;return}}catch{}finally{}r=zk(t,e,i,n),r!==null&&(i=sr(),Cn(r,t,n,i),lC(r,e,n))}}function aC(t){var e=t.alternate;return t===pt||e!==null&&e===pt}function sC(t,e){gu=Mf=!0;var r=t.pending;r===null?e.next=e:(e.next=r.next,r.next=e),t.pending=e}function lC(t,e,r){if(r&4194240){var n=e.lanes;
vendor: 6,772 bytes, lines 38-40
38n&=t.pendingLanes,r|=n,e.lanes=r,sg(t,r)}}var Lf={readContext:Jr,useCallback:Xt,useContext:Xt,useEffect:Xt,useImperativeHandle:Xt,useInsertionEffect:Xt,useLayoutEffect:Xt,useMemo:Xt,useReducer:Xt,useRef:Xt,useState:Xt,useDebugValue:Xt,useDeferredValue:Xt,useTransition:Xt,useMutableSource:Xt,useSyncExternalStore:Xt,useId:Xt,unstable_isNewReconciler:!1},u_={readContext:Jr,useCallback:function(t,e){return In().memoizedState=[t,e===void 0?null:e],t},useContext:Jr,useEffect:Xw,useImperativeHandle:function(t,e,r){return r=r!=null?r.concat([t]):null,Jd(4194308,4,eC.bind(null,e,t),r)},useLayoutEffect:function(t,e){return Jd(4194308,4,t,e)},useInsertionEffect:function(t,e){return Jd(4,2,t,e)},useMemo:function(t,e){var r=In();return e=e===void 0?null:e,t=t(),r.memoizedState=[t,e],t},useReducer:function(t,e,r){var n=In();return e=r!==void 0?r(e):e,n.memoizedState=n.baseState=e,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:e},n.queue=t,t=t.dispatch=s_.bind(null,pt,t),[n.memoizedState,t]},useRef:function(t){var e=In();return t={current:t},e.memoizedState=t},useState:Gw,useDebugValue:Og,useDeferredValue:function(t){return In().memoizedState=t},useTransition:function(){var t=Gw(!1),e=t[0];return t=a_.bind(null,t[1]),In().memoizedState=t,[e,t]},useMutableSource:function(){},useSyncExternalStore:function(t,e,r){var n=pt,i=In();if(dt){if(r===void 0)throw Error(q(407));r=r()}else{if(r=e(),Dt===null)throw Error(q(349));wa&30||Kk(n,e,r)}i.memoizedState=r;var o={value:r,getSnapshot:e};return i.queue=o,Xw(Xk.bind(null,n,o,t),[t]),n.flags|=2048,Zu(9,Gk.bind(null,n,o,r,e),void 0,null),r},useId:function(){var t=In(),e=Dt.identifierPrefix;if(dt){var r=ui,n=li;r=(n&~(1<<32-kn(n)-1)).toString(32)+r,e=":"+e+"R"+r,r=Gu++,0<r&&(e+="H"+r.toString(32)),e+=":"}else r=o_++,e=":"+e+"r"+r.toString(32)+":";return t.memoizedState=e},unstable_isNewReconciler:!1},c_={readContext:Jr,useCallback:rC,useContext:Jr,useEffect:Ag,useImperativeHandle:tC,useInsertionEffect:Qk,useLayoutEffect:$k,useMemo:nC,useReducer:$p,useRef:Jk,useState:function(){return $p(Xu)},useDebugValue:Og,useDeferredValue:function(t){var e=Qr();return iC(e,Pt.memoizedState,t)},useTransition:function(){var t=$p(Xu)[0],e=Qr().memoizedState;return[t,e]},useMutableSource:qk,useSyncExternalStore:Hk,useId:oC,unstable_isNewReconciler:!1},d_={readContext:Jr,useCallback:rC,useContext:Jr,useEffect:Ag,useImperativeHandle:tC,useInsertionEffect:Qk,useLayoutEffect:$k,useMemo:nC,useReducer:ev,useRef:Jk,useState:function(){return ev(Xu)},useDebugValue:Og,useDeferredValue:function(t){var e=Qr();return Pt===null?e.memoizedState=t:iC(e,Pt.memoizedState,t)},useTransition:function(){var t=ev(Xu)[0],e=Qr().memoizedState;return[t,e]},useMutableSource:qk,useSyncExternalStore:Hk,useId:oC,unstable_isNewReconciler:!1};function pn(t,e){if(t&&t.defaultProps){e=vt({},e),t=t.defaultProps;for(var r in t)e[r]===void 0&&(e[r]=t[r]);return e}return e}function E0(t,e,r,n){e=t.memoizedState,r=r(n,e),r=r==null?e:vt({},e,r),t.memoizedState=r,t.lanes===0&&(t.updateQueue.baseState=r)}var _h={isMounted:function(t){return(t=t._reactInternals)?ja(t)===t:!1},enqueueSetState:function(t,e,r){t=t._reactInternals;var n=sr(),i=mo(t),o=ci(n,i);o.payload=e,r!=null&&(o.callback=r),e=po(t,o,i),e!==null&&(Cn(e,t,i,n),Zd(e,t,i))},enqueueReplaceState:function(t,e,r){t=t._reactInternals;var n=sr(),i=mo(t),o=ci(n,i);o.tag=1,o.payload=e,r!=null&&(o.callback=r),e=po(t,o,i),e!==null&&(Cn(e,t,i,n),Zd(e,t,i))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var r=sr(),n=mo(t),i=ci(r,n);i.tag=2,e!=null&&(i.callback=e),e=po(t,i,n),e!==null&&(Cn(e,t,n,r),Zd(e,t,n))}};function Zw(t,e,r,n,i,o,a){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(n,o,a):e.prototype&&e.prototype.isPureReactComponent?!zu(r,n)||!zu(i,o):!0}function uC(t,e,r){var n=!1,i=Eo,o=e.contextType;return typeof o=="object"&&o!==null?o=Jr(o):(i=wr(e)?ga:er.current,n=e.contextTypes,o=(n=n!=null)?Js(t,i):Eo),e=new e(r,o),t.memoizedState=e.state!==null&&e.state!==void 0?e.state:null,e.updater=_h,t.stateNode=e,e._reactInternals=t,n&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=i,t.__reactInternalMemoizedMaskedChildContext=o),e}function Yw(t,e,r,n){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(r,n),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(r,n),e.state!==t&&_h.enqueueReplaceState(e,e.state,null)}function T0(t,e,r,n){var i=t.stateNode;i.props=r,i.state=t.memoizedState,i.refs={},Sg(t);var o=e.contextType;typeof o=="object"&&o!==null?i.context=Jr(o):(o=wr(e)?ga:er.current,i.context=Js(t,o)),i.state=t.memoizedState,o=e.getDerivedStateFromProps,typeof o=="function"&&(E0(t,e,o,r),i.state=t.memoizedState),typeof e.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(e=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),e!==i.state&&_h.enqueueReplaceState(i,i.state,null),If(t,r,i,n),i.state=t.memoizedState),typeof i.componentDidMount=="function"&&(t.flags|=4194308)}function tl(t,e){try{var r="",n=e;do r+=BA(n),n=n.return;while(n);var i=r}catch(o){i=`
39Error generating stack: `+o.message+`
40`+o.stack}return{value:t,source:e,stack:i,digest:null}}function tv(t,e,r){return{value:t,source:null,stack:r??null,digest:e??null}}function P0(t,e){try{console.error(e.value)}catch(r){setTimeout(function(){throw r})}}var f_=typeof WeakMap=="function"?WeakMap:Map;function cC(t,e,r){r=ci(-1,r),r.tag=3,r.payload={element:null};var n=e.value;return r.callback=function(){Uf||(Uf=!0,M0=n),P0(t,e)},r}function dC(t,e,r){r=ci(-1,r),r.tag=3;var n=t.type.getDerivedStateFromError;if(typeof n=="function"){var i=e.value;r.payload=function(){return n(i)},r.callback=function(){P0(t,e)}}var o=t.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(r.callback=function(){P0(t,e),typeof n!="function"&&(vo===null?vo=new Set([this]):vo.add(this));var a=e.stack;this.componentDidCatch(e.value,{componentStack:a!==null?a:""})}),r}function Jw(t,e,r){var n=t.pingCache;if(n===null){n=t.pingCache=new f_;var i=new Set;n.set(e,i)}else i=n.get(e),i===void 0&&(i=new Set,n.set(e,i));i.has(r)||(i.add(r),t=T_.bind(null,t,e,r),e.then(t,t))}function Qw(t){do{var e;if((e=t.tag===13)&&(e=t.memoizedState,e=e!==null?e.dehydrated!==null:!0),e)return t;t=t.return}while(t!==null);return null}function $w(t,e,r,n,i){return t.mode&1?(t.flags|=65536,t.lanes=i,t):(t===e?t.flags|=65536:(t.flags|=128,r.flags|=131072,r.flags&=-52805,r.tag===1&&(r.alternate===null?r.tag=17:(e=ci(-1,
vendor: 9,719 bytes, line 40
401),e.tag=2,po(r,e,1))),r.lanes|=1),t)}var h_=xi.ReactCurrentOwner,mr=!1;function ir(t,e,r,n){e.child=t===null?Uk(e,null,r,n):$s(e,t.child,r,n)}function eb(t,e,r,n,i){r=r.render;var o=e.ref;return Ns(e,i),n=Pg(t,e,r,n,o,i),r=Rg(),t!==null&&!mr?(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~i,gi(t,e,i)):(dt&&r&&vg(e),e.flags|=1,ir(t,e,n,i),e.child)}function tb(t,e,r,n,i){if(t===null){var o=r.type;return typeof o=="function"&&!Lg(o)&&o.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(e.tag=15,e.type=o,fC(t,e,o,n,i)):(t=tf(r.type,null,n,e,e.mode,i),t.ref=e.ref,t.return=e,e.child=t)}if(o=t.child,!(t.lanes&i)){var a=o.memoizedProps;if(r=r.compare,r=r!==null?r:zu,r(a,n)&&t.ref===e.ref)return gi(t,e,i)}return e.flags|=1,t=go(o,n),t.ref=e.ref,t.return=e,e.child=t}function fC(t,e,r,n,i){if(t!==null){var o=t.memoizedProps;if(zu(o,n)&&t.ref===e.ref)if(mr=!1,e.pendingProps=n=o,(t.lanes&i)!==0)t.flags&131072&&(mr=!0);else return e.lanes=t.lanes,gi(t,e,i)}return R0(t,e,r,n,i)}function hC(t,e,r){var n=e.pendingProps,i=n.children,o=t!==null?t.memoizedState:null;if(n.mode==="hidden")if(!(e.mode&1))e.memoizedState={baseLanes:0,cachePool:null,transitions:null},it(ks,Sr),Sr|=r;else{if(!(r&1073741824))return t=o!==null?o.baseLanes|r:r,e.lanes=e.childLanes=1073741824,e.memoizedState={baseLanes:t,cachePool:null,transitions:null},e.updateQueue=null,it(ks,Sr),Sr|=t,null;e.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=o!==null?o.baseLanes:r,it(ks,Sr),Sr|=n}else o!==null?(n=o.baseLanes|r,e.memoizedState=null):n=r,it(ks,Sr),Sr|=n;return ir(t,e,i,r),e.child}function pC(t,e){var r=e.ref;(t===null&&r!==null||t!==null&&t.ref!==r)&&(e.flags|=512,e.flags|=2097152)}function R0(t,e,r,n,i){var o=wr(r)?ga:er.current;return o=Js(e,o),Ns(e,i),r=Pg(t,e,r,n,o,i),n=Rg(),t!==null&&!mr?(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~i,gi(t,e,i)):(dt&&n&&vg(e),e.flags|=1,ir(t,e,r,i),e.child)}function rb(t,e,r,n,i){if(wr(r)){var o=!0;Of(e)}else o=!1;if(Ns(e,i),e.stateNode===null)Qd(t,e),uC(e,r,n),T0(e,r,n,i),n=!0;else if(t===null){var a=e.stateNode,s=e.memoizedProps;a.props=s;var u=a.context,l=r.contextType;typeof l=="object"&&l!==null?l=Jr(l):(l=wr(r)?ga:er.current,l=Js(e,l));var c=r.getDerivedStateFromProps,d=typeof c=="function"||typeof a.getSnapshotBeforeUpdate=="function";d||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==n||u!==l)&&Yw(e,a,n,l),Ui=!1;var h=e.memoizedState;a.state=h,If(e,n,a,i),u=e.memoizedState,s!==n||h!==u||yr.current||Ui?(typeof c=="function"&&(E0(e,r,c,n),u=e.memoizedState),(s=Ui||Zw(e,r,s,n,h,u,l))?(d||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(e.flags|=4194308)):(typeof a.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=n,e.memoizedState=u),a.props=n,a.state=u,a.context=l,n=s):(typeof a.componentDidMount=="function"&&(e.flags|=4194308),n=!1)}else{a=e.stateNode,Vk(t,e),s=e.memoizedProps,l=e.type===e.elementType?s:pn(e.type,s),a.props=l,d=e.pendingProps,h=a.context,u=r.contextType,typeof u=="object"&&u!==null?u=Jr(u):(u=wr(r)?ga:er.current,u=Js(e,u));var f=r.getDerivedStateFromProps;(c=typeof f=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==d||h!==u)&&Yw(e,a,n,u),Ui=!1,h=e.memoizedState,a.state=h,If(e,n,a,i);var m=e.memoizedState;s!==d||h!==m||yr.current||Ui?(typeof f=="function"&&(E0(e,r,f,n),m=e.memoizedState),(l=Ui||Zw(e,r,l,n,h,m,u)||!1)?(c||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(n,m,u),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(n,m,u)),typeof a.componentDidUpdate=="function"&&(e.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof a.componentDidUpdate!="function"||s===t.memoizedProps&&h===t.memoizedState||(e.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===t.memoizedProps&&h===t.memoizedState||(e.flags|=1024),e.memoizedProps=n,e.memoizedState=m),a.props=n,a.state=m,a.context=u,n=l):(typeof a.componentDidUpdate!="function"||s===t.memoizedProps&&h===t.memoizedState||(e.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===t.memoizedProps&&h===t.memoizedState||(e.flags|=1024),n=!1)}return A0(t,e,r,n,o,i)}function A0(t,e,r,n,i,o){pC(t,e);var a=(e.flags&128)!==0;if(!n&&!a)return i&&zw(e,r,!1),gi(t,e,o);n=e.stateNode,h_.current=e;var s=a&&typeof r.getDerivedStateFromError!="function"?null:n.render();return e.flags|=1,t!==null&&a?(e.child=$s(e,t.child,null,o),e.child=$s(e,null,s,o)):ir(t,e,s,o),e.memoizedState=n.state,i&&zw(e,r,!0),e.child}function vC(t){var e=t.stateNode;e.pendingContext?Uw(t,e.pendingContext,e.pendingContext!==e.context):e.context&&Uw(t,e.context,!1),kg(t,e.containerInfo)}function nb(t,e,r,n,i){return Qs(),gg(i),e.flags|=256,ir(t,e,r,n),e.child}var O0={dehydrated:null,treeContext:null,retryLane:0};function _0(t){return{baseLanes:t,cachePool:null,transitions:null}}function mC(t,e,r){var n=e.pendingProps,i=ht.current,o=!1,a=(e.flags&128)!==0,s;if((s=a)||(s=t!==null&&t.memoizedState===null?!1:(i&2)!==0),s?(o=!0,e.flags&=-129):(t===null||t.memoizedState!==null)&&(i|=1),it(ht,i&1),t===null)return k0(e),t=e.memoizedState,t!==null&&(t=t.dehydrated,t!==null)?(e.mode&1?t.data==="$!"?e.lanes=8:e.lanes=1073741824:e.lanes=1,null):(a=n.children,t=n.fallback,o?(n=e.mode,o=e.child,a={mode:"hidden",children:a},!(n&1)&&o!==null?(o.childLanes=0,o.pendingProps=a):o=Fh(a,n,0,null),t=va(t,n,r,null),o.return=e,t.return=e,o.sibling=t,e.child=o,e.child.memoizedState=_0(r),e.memoizedState=O0,t):_g(e,a));if(i=t.memoizedState,i!==null&&(s=i.dehydrated,s!==null))return p_(t,e,a,n,s,i,r);if(o){o=n.fallback,a=e.mode,i=t.child,s=i.sibling;var u={mode:"hidden",children:n.children};return!(a&1)&&e.child!==i?(n=e.child,n.childLanes=0,n.pendingProps=u,e.deletions=null):(n=go(i,u),n.subtreeFlags=i.subtreeFlags&14680064),s!==null?o=go(s,o):(o=va(o,a,r,null),o.flags|=2),o.return=e,n.return=e,n.sibling=o,e.child=n,n=o,o=e.child,a=t.child.memoizedState,a=a===null?_0(r):{baseLanes:a.baseLanes|r,cachePool:null,transitions:a.transitions},o.memoizedState=a,o.childLanes=t.childLanes&~r,e.memoizedState=O0,n}return o=t.child,t=o.sibling,n=go(o,{mode:"visible",children:n.children}),!(e.mode&1)&&(n.lanes=r),n.return=e,n.sibling=null,t!==null&&(r=e.deletions,r===null?(e.deletions=[t],e.flags|=16):r.push(t)),e.child=n,e.memoizedState=null,n}function _g(t,e){return e=Fh({mode:"visible",children:e},t.mode,0,null),e.return=t,t.child=e}function sd(t,e,r,n){return n!==null&&gg(n),$s(e,t.child,null,r),t=_g(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function p_(t,e,r,n,i,o,a){if(r)return e.flags&256?(e.flags&=-257,n=tv(Error(q(422))),sd(t,e,a,n)):e.memoizedState!==null?(e.child=t.child,e.flags|=128,null):(o=n.fallback,i=e.mode,n=Fh({mode:"visible",children:n.children},i,0,null),o=va(o,i,a,null),o.flags|=2,n.return=e,o.return=e,n.sibling=o,e.child=n,e.mode&1&&$s(e,t.child,null,a),e.child.memoizedState=_0(a),e.memoizedState=O0,o);if(!(e.mode&1))return sd(t,e,a,null);if(i.data==="$!"){if(n=i.nextSibling&&i.nextSibling.dataset,n)var s=n.dgst;return n=s,o=Error(q(419)),n=tv(o,n,void 0),sd(t,e,a,n)}if(s=(a&t.childLanes)!==0,mr||s){if(n=Dt,n!==null){switch(a&-a){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(n.suspendedLanes|a)?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,mi(t,i),Cn(n,t,i,-1))}return Mg(),n=tv(Error(q(421))),sd(t,e,a,n)}return i.data==="$?"?(e.flags|=128,e.child=t.child,e=P_.bind(null,t),i._reactRetry=e,null):(t=o.treeContext,Er=ho(i.nextSibling),Ar=e,dt=!0,xn=null,t!==null&&(zr[Vr++]=li,zr[Vr++]=ui,zr[Vr++]=ya,li=t.id,ui=t.overflow,ya=e),e=_g(e,n.children),e.flags|=4096,e)}function ib(t,e,r){t.lanes|=e;var n=t.alternate;n!==null&&(n.lanes|=e),C0(t.return,e,r)}function rv(t,e,r,n,i){var o=t.memoizedState;o===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:i}:(o.isBackwards=e,o.rendering=null,o.renderingStartTime=0,o.last=n,o.tail=r,o.tailMode=i)}function gC(t,e,r){var n=e.pendingProps,i=n.revealOrder,o=n.tail;if(ir(t,e,n.children,r),n=ht.current,n&2)n=n&1|2,e.flags|=128;else{if(t!==null&&t.flags&128)e:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&ib(t,r,e);else if(t.tag===19)ib(t,r,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}n&=1}if(it(ht,n),!(e.mode&1))e.memoizedState=null;else switch(i){case"forwards":for(r=e.child,i=null;r!==null;)t=r.alternate,t!==null&&Df(t)===null&&(i=r),r=r.sibling;r=i,r===null?(i=e.child,e.child=null):(i=r.sibling,r.sibling=null),rv(e,!1,i,r,o);break;case"backwards":for(r=null,i=e.child,e.child=null;i!==null;){if(t=i.alternate,t!==null&&Df(t)===null){e.child=i;break}t=i.sibling,i.sibling=r,r=i,i=t}rv(e,!0,r,null,o);break;case"together":rv(e,!1,null,null,void 0);break;default:e.memoizedState=null}return e.child}function Qd(t,e){!(e.mode&1)&&t!==null&&(t.alternate=null,e.alternate=null,e.flags|=2)}
vendor: 5,608 bytes, line 40
40function gi(t,e,r){if(t!==null&&(e.dependencies=t.dependencies),ba|=e.lanes,!(r&e.childLanes))return null;if(t!==null&&e.child!==t.child)throw Error(q(153));if(e.child!==null){for(t=e.child,r=go(t,t.pendingProps),e.child=r,r.return=e;t.sibling!==null;)t=t.sibling,r=r.sibling=go(t,t.pendingProps),r.return=e;r.sibling=null}return e.child}function v_(t,e,r){switch(e.tag){case 3:vC(e),Qs();break;case 5:Wk(e);break;case 1:wr(e.type)&&Of(e);break;case 4:kg(e,e.stateNode.containerInfo);break;case 10:var n=e.type._context,i=e.memoizedProps.value;it(jf,n._currentValue),n._currentValue=i;break;case 13:if(n=e.memoizedState,n!==null)return n.dehydrated!==null?(it(ht,ht.current&1),e.flags|=128,null):r&e.child.childLanes?mC(t,e,r):(it(ht,ht.current&1),t=gi(t,e,r),t!==null?t.sibling:null);it(ht,ht.current&1);break;case 19:if(n=(r&e.childLanes)!==0,t.flags&128){if(n)return gC(t,e,r);e.flags|=128}if(i=e.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),it(ht,ht.current),n)break;return null;case 22:case 23:return e.lanes=0,hC(t,e,r)}return gi(t,e,r)}var yC,N0,wC,bC;yC=function(t,e){for(var r=e.child;r!==null;){if(r.tag===5||r.tag===6)t.appendChild(r.stateNode);else if(r.tag!==4&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===e)break;for(;r.sibling===null;){if(r.return===null||r.return===e)return;r=r.return}r.sibling.return=r.return,r=r.sibling}};N0=function(){};wC=function(t,e,r,n){var i=t.memoizedProps;if(i!==n){t=e.stateNode,ia(qn.current);var o=null;switch(r){case"input":i=e0(t,i),n=e0(t,n),o=[];break;case"select":i=vt({},i,{value:void 0}),n=vt({},n,{value:void 0}),o=[];break;case"textarea":i=n0(t,i),n=n0(t,n),o=[];break;default:typeof i.onClick!="function"&&typeof n.onClick=="function"&&(t.onclick=Rf)}o0(r,n);var a;r=null;for(l in i)if(!n.hasOwnProperty(l)&&i.hasOwnProperty(l)&&i[l]!=null)if(l==="style"){var s=i[l];for(a in s)s.hasOwnProperty(a)&&(r||(r={}),r[a]="")}else l!=="dangerouslySetInnerHTML"&&l!=="children"&&l!=="suppressContentEditableWarning"&&l!=="suppressHydrationWarning"&&l!=="autoFocus"&&(Fu.hasOwnProperty(l)?o||(o=[]):(o=o||[]).push(l,null));for(l in n){var u=n[l];if(s=i!=null?i[l]:void 0,n.hasOwnProperty(l)&&u!==s&&(u!=null||s!=null))if(l==="style")if(s){for(a in s)!s.hasOwnProperty(a)||u&&u.hasOwnProperty(a)||(r||(r={}),r[a]="");for(a in u)u.hasOwnProperty(a)&&s[a]!==u[a]&&(r||(r={}),r[a]=u[a])}else r||(o||(o=[]),o.push(l,r)),r=u;else l==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,s=s?s.__html:void 0,u!=null&&s!==u&&(o=o||[]).push(l,u)):l==="children"?typeof u!="string"&&typeof u!="number"||(o=o||[]).push(l,""+u):l!=="suppressContentEditableWarning"&&l!=="suppressHydrationWarning"&&(Fu.hasOwnProperty(l)?(u!=null&&l==="onScroll"&&at("scroll",t),o||s===u||(o=[])):(o=o||[]).push(l,u))}r&&(o=o||[]).push("style",r);var l=o;(e.updateQueue=l)&&(e.flags|=4)}};bC=function(t,e,r,n){r!==n&&(e.flags|=4)};function Ml(t,e){if(!dt)switch(t.tailMode){case"hidden":e=t.tail;for(var r=null;e!==null;)e.alternate!==null&&(r=e),e=e.sibling;r===null?t.tail=null:r.sibling=null;break;case"collapsed":r=t.tail;for(var n=null;r!==null;)r.alternate!==null&&(n=r),r=r.sibling;n===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:n.sibling=null}}function Zt(t){var e=t.alternate!==null&&t.alternate.child===t.child,r=0,n=0;if(e)for(var i=t.child;i!==null;)r|=i.lanes|i.childLanes,n|=i.subtreeFlags&14680064,n|=i.flags&14680064,i.return=t,i=i.sibling;else for(i=t.child;i!==null;)r|=i.lanes|i.childLanes,n|=i.subtreeFlags,n|=i.flags,i.return=t,i=i.sibling;return t.subtreeFlags|=n,t.childLanes=r,e}function m_(t,e,r){var n=e.pendingProps;switch(mg(e),e.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Zt(e),null;case 1:return wr(e.type)&&Af(),Zt(e),null;case 3:return n=e.stateNode,el(),st(yr),st(er),Eg(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(t===null||t.child===null)&&(od(e)?e.flags|=4:t===null||t.memoizedState.isDehydrated&&!(e.flags&256)||(e.flags|=1024,xn!==null&&(U0(xn),xn=null))),N0(t,e),Zt(e),null;case 5:Cg(e);var i=ia(Ku.current);if(r=e.type,t!==null&&e.stateNode!=null)wC(t,e,r,n,i),t.ref!==e.ref&&(e.flags|=512,e.flags|=2097152);else{if(!n){if(e.stateNode===null)throw Error(q(166));return Zt(e),null}if(t=ia(qn.current),od(e)){n=e.stateNode,r=e.type;var o=e.memoizedProps;switch(n[Bn]=e,n[qu]=o,t=(e.mode&1)!==0,r){case"dialog":at("cancel",n),at("close",n);break;case"iframe":case"object":case"embed":at("load",n);break;case"video":case"audio":for(i=0;i<eu.length;i++)at(eu[i],n);break;case"source":at("error",n);break;case"img":case"image":case"link":at("error",n),at("load",n);break;case"details":at("toggle",n);break;case"input":hw(n,o),at("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!o.multiple},at("invalid",n);break;case"textarea":vw(n,o),at("invalid",n)}o0(r,o),i=null;for(var a in o)if(o.hasOwnProperty(a)){var s=o[a];a==="children"?typeof s=="string"?n.textContent!==s&&(o.suppressHydrationWarning!==!0&&id(n.textContent,s,t),i=["children",s]):typeof s=="number"&&n.textContent!==""+s&&(o.suppressHydrationWarning!==!0&&id(n.textContent,s,t),i=["children",""+s]):Fu.hasOwnProperty(a)&&s!=null&&a==="onScroll"&&at("scroll",n)}switch(r){case"input":Yc(n),pw(n,o,!0);break;case"textarea":Yc(n),mw(n);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(n.onclick=Rf)}n=i,e.updateQueue=n,n!==null&&(e.flags|=4)}else{a=i.nodeType===9?i:i.ownerDocument,t==="http://www.w3.org/1999/xhtml"&&(t=XS(r)),t==="http://www.w3.org/1999/xhtml"?r==="script"?(t=a.createElement("div"),t.innerHTML="<script><\/script>
40",t=t.removeChild(t.firstChild)):typeof n.is=="string"?t=a.createElement(r,{is:n.is}):(t=a.createElement(r),r==="select"&&(a=t,n.multiple?a.multiple=!0:n.size&&(a.size=n.size))):t=a.createElementNS(t,r),t[Bn]=e,t[qu]=n,yC(t,e,!1,!1),e.stateNode=t;e:{switch(a=a0(r,n),r){case"dialog":at("cancel",t),at("close",t),i=n;break;case"iframe":case"object":case"embed":at("load",t),i=n;break;case"video":case"audio":for(i=0;i<eu.length;i++)at(eu[i],t);i=n;break;case"source":at("error",t),i=n;break;case"img":case"image":case"link":at("error",t),at("load",t),i=n;break;case"details":at("toggle",t),i=n;break;case"input":hw(t,n),i=e0(t,n),at("invalid",t);break;case"option":i=n;break;case"select":t._wrapperState={wasMultiple:!!n.multiple},i=vt({},n,{value:void 0}),at("invalid",t);break;case"textarea":vw(t,n),i=n0(t,n),at("invalid",t);break;default:i=n}o0(r,i),s=i;for(o in s)if(s.hasOwnProperty(o)){var u=s[o];o==="style"?JS(t,u):o==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,u!=null&&ZS(t,u)):o==="children"?typeof u=="string"?(r!=="textarea"||u!=="")&&Iu(t,u):typeof u=="number"&&Iu(t,""+u):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(Fu.hasOwnProperty(o)?u!=null&&o==="onScroll"&&at("scroll",t):u!=null&&tg(t,o,u,a))}switch(r){case"input":Yc(t),pw(t,n,!1);break;case"textarea":Yc(t),mw(t);break;case"option":n.value!=null&&t.setAttribute("value",""+Co(n.value));break;case"select":t.multiple=!!n.multiple,o=n.value,o!=null?Rs(t,!!n.multiple,o,!1):n.defaultValue!=null&&Rs(t,!!n.multiple,n.defaultValue,!0);break;default:typeof i.onClick=="function"&&(t.onclick=Rf)}switch(r){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break e;case"img":n=!0;break e;default:n=!1}}n&&(e.flags|=4)}e.ref!==null&&(e.flags|=512,e.flags|=2097152)}return Zt(e),null;case 6:if(t&&e.stateNode!=null)bC(t,e,t.memoizedProps,n);else{if(typeof n!="string"&&e.stateNode===null)throw Error(q(166));if(r=ia(Ku.current),ia(qn.current),od(e)){if(n=e.stateNode,r=e.memoizedProps,n[Bn]=e,(o=n.nodeValue!==r)&&(t=Ar,t!==null))switch(t.tag){case 3:id(n.nodeValue,r,(t.mode&1)!==0);break;case 5:t.memoizedProps.suppressHydrationWarning!==!0&&id(n.nodeValue,r,(t.mode&1)!==0)}o&&(e.flags|=4)}else n=(r.nodeType===9?r:r.ownerDocument).createTextNode(n),n[Bn]=e,e.stateNode=n}return Zt(e),null;case 13:if(st(ht),n=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(dt&&Er!==null&&e.mode&1&&!(e.flags&128))Lk(),Qs(),e.flags|=98560,o=!1;else if(o=od(e),n!==null&&n.dehydrated!==null){if(t===null){if(!o)throw Error(q(318));if(o=e.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(q(317));o[Bn]=e}else Qs(),!(e.flags&128)&&(e.memoizedState=null),e.flags|=4;Zt(e),o=!1}else xn!==null&&(U0(xn),xn=null),o=!0;if(!o)return e.flags&65536?e:null}return e.flags&128?(e.lanes=r,e):(n=n!==null,n!==(t!==null&&t.memoizedState!==null)&&n&&(e.child.flags|=8192,e.mode&1&&(t===null||ht.current&1?Ot===0&&(Ot=3):Mg())),e.updateQueue!==null&&(e.flags|=4),Zt(e),null);case 4:return el(),N0(t,e),t===null&&Vu(e.stateNode.containerInfo),Zt(e),null;case 10:return bg(e.type._context),Zt(e),null;case 17:return wr(e.type)&&Af(),Zt(e),null;case 19:if(st(ht),o=e.memoizedState,o===null)return Zt(e),null;if(n=(e.flags&128)!==0,a=o.rendering,a===null)if(n)Ml(o,!1);else{if(Ot!==0||t!==null&&t.flags&128)for(t=e.child;t!==null;){if(a=Df(t),a!==null){for(e.flags|=128,Ml(o,!1),n=a.updateQueue,n!==null&&(e.updateQueue=n,e.flags|=4),e.subtreeFlags=0,n=r,r=e.child;r!==null;)o=r,t=n,o.flags&=14680066,a=o.alternate,a===null?(o.childLanes=0,o.lanes=t,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=a.childLanes,o.lanes=a.lanes,o.child=a.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=a.memoizedProps,o.memoizedState=a.memoizedState,o.updateQueue=a.updateQueue,o.type=a.type,t=a.dependencies,o.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),r=r.sibling;return it(ht,ht.current&1|2),e.child}t=t.sibling}o.tail!==null&&xt()>rl&&(e.flags|=128,n=!0,Ml(o,!1),e.lanes=4194304)}else{if(!n)if(t=Df(a),t!==null){if(e.flags|=128,n=!0,r=t.updateQueue,r!==null&&(e.updateQueue=r,e.flags|=4),Ml(o,!0),o.tail===null&&o.tailMode==="hidden"&&!a.alternate&&!dt)return Zt(e),null}else 2*xt()-o.renderingStartTime>rl&&r!==1073741824&&(e.flags|=128,n=!0,Ml(o,!1),e.lanes=4194304);o.isBackwards?(a.sibling=e.child,e.child=a):(r=o.last,r!==null?r.sibling=a:e.child=a,o.last=a)}return o.tail!==null?(e=o.tail,o.rendering=e,o.tail=e.sibling,o.renderingStartTime=xt(),e.sibling=null,r=ht.current,it(ht,n?r&1|2:r&1),e):(Zt(e),null);case 22:case 23:return Dg(),n=e.memoizedState!==null,t!==null&&t.memoizedState!==null!==n&&(e.flags|=8192),n&&e.mode&1?Sr&1073741824&&(Zt(e),e.subtreeFlags&6&&(e.flags|=8192)):Zt(e),null;case 24:return null;case 25:return null}throw Error(q(156,e.tag))}function g_(t,e){switch(mg(e),e.tag){case 1:return wr(e.type)&&Af(),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;
vendor: 27,251 bytes, line 40
40case 3:return el(),st(yr),st(er),Eg(),t=e.flags,t&65536&&!(t&128)?(e.flags=t&-65537|128,e):null;case 5:return Cg(e),null;case 13:if(st(ht),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(q(340));Qs()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return st(ht),null;case 4:return el(),null;case 10:return bg(e.type._context),null;case 22:case 23:return Dg(),null;case 24:return null;default:return null}}var ld=!1,$t=!1,y_=typeof WeakSet=="function"?WeakSet:Set,$=null;function Ss(t,e){var r=t.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){wt(t,e,n)}else r.current=null}function j0(t,e,r){try{r()}catch(n){wt(t,e,n)}}var ob=!1;function w_(t,e){if(m0=Ef,t=Ek(),pg(t)){if("selectionStart"in t)var r={start:t.selectionStart,end:t.selectionEnd};else e:{r=(r=t.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var i=n.anchorOffset,o=n.focusNode;n=n.focusOffset;try{r.nodeType,o.nodeType}catch{r=null;break e}var a=0,s=-1,u=-1,l=0,c=0,d=t,h=null;t:for(;;){for(var f;d!==r||i!==0&&d.nodeType!==3||(s=a+i),d!==o||n!==0&&d.nodeType!==3||(u=a+n),d.nodeType===3&&(a+=d.nodeValue.length),(f=d.firstChild)!==null;)h=d,d=f;for(;;){if(d===t)break t;if(h===r&&++l===i&&(s=a),h===o&&++c===n&&(u=a),(f=d.nextSibling)!==null)break;d=h,h=d.parentNode}d=f}r=s===-1||u===-1?null:{start:s,end:u}}else r=null}r=r||{start:0,end:0}}else r=null;for(g0={focusedElem:t,selectionRange:r},Ef=!1,$=e;$!==null;)if(e=$,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,$=t;else for(;$!==null;){e=$;try{var m=e.alternate;if(e.flags&1024)switch(e.tag){case 0:case 11:case 15:break;case 1:if(m!==null){var p=m.memoizedProps,g=m.memoizedState,v=e.stateNode,y=v.getSnapshotBeforeUpdate(e.elementType===e.type?p:pn(e.type,p),g);v.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var w=e.stateNode.containerInfo;w.nodeType===1?w.textContent="":w.nodeType===9&&w.documentElement&&w.removeChild(w.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(q(163))}}catch(S){wt(e,e.return,S)}if(t=e.sibling,t!==null){t.return=e.return,$=t;break}$=e.return}return m=ob,ob=!1,m}function yu(t,e,r){var n=e.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var i=n=n.next;do{if((i.tag&t)===t){var o=i.destroy;i.destroy=void 0,o!==void 0&&j0(e,r,o)}i=i.next}while(i!==n)}}function Nh(t,e){if(e=e.updateQueue,e=e!==null?e.lastEffect:null,e!==null){var r=e=e.next;do{if((r.tag&t)===t){var n=r.create;r.destroy=n()}r=r.next}while(r!==e)}}function F0(t){var e=t.ref;if(e!==null){var r=t.stateNode;switch(t.tag){case 5:t=r;break;default:t=r}typeof e=="function"?e(t):e.current=t}}function xC(t){var e=t.alternate;e!==null&&(t.alternate=null,xC(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&(delete e[Bn],delete e[qu],delete e[b0],delete e[t_],delete e[r_])),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function SC(t){return t.tag===5||t.tag===3||t.tag===4}function ab(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||SC(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function I0(t,e,r){var n=t.tag;if(n===5||n===6)t=t.stateNode,e?r.nodeType===8?r.parentNode.insertBefore(t,e):r.insertBefore(t,e):(r.nodeType===8?(e=r.parentNode,e.insertBefore(t,r)):(e=r,e.appendChild(t)),r=r._reactRootContainer,r!=null||e.onclick!==null||(e.onclick=Rf));else if(n!==4&&(t=t.child,t!==null))for(I0(t,e,r),t=t.sibling;t!==null;)I0(t,e,r),t=t.sibling}function D0(t,e,r){var n=t.tag;if(n===5||n===6)t=t.stateNode,e?r.insertBefore(t,e):r.appendChild(t);else if(n!==4&&(t=t.child,t!==null))for(D0(t,e,r),t=t.sibling;t!==null;)D0(t,e,r),t=t.sibling}var Bt=null,wn=!1;function Oi(t,e,r){for(r=r.child;r!==null;)kC(t,e,r),r=r.sibling}function kC(t,e,r){if(Wn&&typeof Wn.onCommitFiberUnmount=="function")try{Wn.onCommitFiberUnmount(Ch,r)}catch{}switch(r.tag){case 5:$t||Ss(r,e);case 6:var n=Bt,i=wn;Bt=null,Oi(t,e,r),Bt=n,wn=i,Bt!==null&&(wn?(t=Bt,r=r.stateNode,t.nodeType===8?t.parentNode.removeChild(r):t.removeChild(r)):Bt.removeChild(r.stateNode));break;case 18:Bt!==null&&(wn?(t=Bt,r=r.stateNode,t.nodeType===8?Zp(t.parentNode,r):t.nodeType===1&&Zp(t,r),Bu(t)):Zp(Bt,r.stateNode));break;case 4:n=Bt,i=wn,Bt=r.stateNode.containerInfo,wn=!0,Oi(t,e,r),Bt=n,wn=i;break;case 0:case 11:case 14:case 15:if(!$t&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){i=n=n.next;do{var o=i,a=o.destroy;o=o.tag,a!==void 0&&(o&2||o&4)&&j0(r,e,a),i=i.next}while(i!==n)}Oi(t,e,r);break;case 1:if(!$t&&(Ss(r,e),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(s){wt(r,e,s)}Oi(t,e,r);break;case 21:Oi(t,e,r);break;case 22:r.mode&1?($t=(n=$t)||r.memoizedState!==null,Oi(t,e,r),$t=n):Oi(t,e,r);break;default:Oi(t,e,r)}}function sb(t){var e=t.updateQueue;if(e!==null){t.updateQueue=null;var r=t.stateNode;r===null&&(r=t.stateNode=new y_),e.forEach(function(n){var i=R_.bind(null,t,n);r.has(n)||(r.add(n),n.then(i,i))})}}function ln(t,e){var r=e.deletions;if(r!==null)for(var n=0;n<r.length;n++){var i=r[n];try{var o=t,a=e,s=a;e:for(;s!==null;){switch(s.tag){case 5:Bt=s.stateNode,wn=!1;break e;case 3:Bt=s.stateNode.containerInfo,wn=!0;break e;case 4:Bt=s.stateNode.containerInfo,wn=!0;break e}s=s.return}if(Bt===null)throw Error(q(160));kC(o,a,i),Bt=null,wn=!1;var u=i.alternate;u!==null&&(u.return=null),i.return=null}catch(l){wt(i,e,l)}}if(e.subtreeFlags&12854)for(e=e.child;e!==null;)CC(e,t),e=e.sibling}function CC(t,e){var r=t.alternate,n=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:if(ln(e,t),_n(t),n&4){try{yu(3,t,t.return),Nh(3,t)}catch(p){wt(t,t.return,p)}try{yu(5,t,t.return)}catch(p){wt(t,t.return,p)}}break;case 1:ln(e,t),_n(t),n&512&&r!==null&&Ss(r,r.return);break;case 5:if(ln(e,t),_n(t),n&512&&r!==null&&Ss(r,r.return),t.flags&32){var i=t.stateNode;try{Iu(i,"")}catch(p){wt(t,t.return,p)}}if(n&4&&(i=t.stateNode,i!=null)){var o=t.memoizedProps,a=r!==null?r.memoizedProps:o,s=t.type,u=t.updateQueue;if(t.updateQueue=null,u!==null)try{s==="input"&&o.type==="radio"&&o.name!=null&&KS(i,o),a0(s,a);var l=a0(s,o);for(a=0;a<u.length;a+=2){var c=u[a],d=u[a+1];c==="style"?JS(i,d):c==="dangerouslySetInnerHTML"?ZS(i,d):c==="children"?Iu(i,d):tg(i,c,d,l)}switch(s){case"input":t0(i,o);break;case"textarea":GS(i,o);break;case"select":var h=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!o.multiple;var f=o.value;f!=null?Rs(i,!!o.multiple,f,!1):h!==!!o.multiple&&(o.defaultValue!=null?Rs(i,!!o.multiple,o.defaultValue,!0):Rs(i,!!o.multiple,o.multiple?[]:"",!1))}i[qu]=o}catch(p){wt(t,t.return,p)}}break;case 6:if(ln(e,t),_n(t),n&4){if(t.stateNode===null)throw Error(q(162));i=t.stateNode,o=t.memoizedProps;try{i.nodeValue=o}catch(p){wt(t,t.return,p)}}break;case 3:if(ln(e,t),_n(t),n&4&&r!==null&&r.memoizedState.isDehydrated)try{Bu(e.containerInfo)}catch(p){wt(t,t.return,p)}break;case 4:ln(e,t),_n(t);break;case 13:ln(e,t),_n(t),i=t.child,i.flags&8192&&(o=i.memoizedState!==null,i.stateNode.isHidden=o,!o||i.alternate!==null&&i.alternate.memoizedState!==null||(Fg=xt())),n&4&&sb(t);break;case 22:if(c=r!==null&&r.memoizedState!==null,t.mode&1?($t=(l=$t)||c,ln(e,t),$t=l):ln(e,t),_n(t),n&8192){if(l=t.memoizedState!==null,(t.stateNode.isHidden=l)&&!c&&t.mode&1)for($=t,c=t.child;c!==null;){for(d=$=c;$!==null;){switch(h=$,f=h.child,h.tag){case 0:case 11:case 14:case 15:yu(4,h,h.return);break;case 1:Ss(h,h.return);var m=h.stateNode;if(typeof m.componentWillUnmount=="function"){n=h,r=h.return;try{e=n,m.props=e.memoizedProps,m.state=e.memoizedState,m.componentWillUnmount()}catch(p){wt(n,r,p)}}break;case 5:Ss(h,h.return);break;case 22:if(h.memoizedState!==null){ub(d);continue}}f!==null?(f.return=h,$=f):ub(d)}c=c.sibling}e:for(c=null,d=t;;){if(d.tag===5){if(c===null){c=d;try{i=d.stateNode,l?(o=i.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(s=d.stateNode,u=d.memoizedProps.style,a=u!=null&&u.hasOwnProperty("display")?u.display:null,s.style.display=YS("display",a))}catch(p){wt(t,t.return,p)}}}else if(d.tag===6){if(c===null)try{d.stateNode.nodeValue=l?"":d.memoizedProps}catch(p){wt(t,t.return,p)}}else if((d.tag!==22&&d.tag!==23||d.memoizedState===null||d===t)&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===t)break e;for(;d.sibling===null;){if(d.return===null||d.return===t)break e;c===d&&(c=null),d=d.return}c===d&&(c=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:ln(e,t),_n(t),n&4&&sb(t);break;case 21:break;default:ln(e,t),_n(t)}}function _n(t){var e=t.flags;if(e&2){try{e:{for(var r=t.return;r!==null;){if(SC(r)){var n=r;break e}r=r.return}throw Error(q(160))}switch(n.tag){case 5:var i=n.stateNode;n.flags&32&&(Iu(i,""),n.flags&=-33);var o=ab(t);D0(t,o,i);break;case 3:case 4:var a=n.stateNode.containerInfo,s=ab(t);I0(t,s,a);break;default:throw Error(q(161))}}catch(u){wt(t,t.return,u)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function b_(t,e,r){$=t,EC(t)}function EC(t,e,r){for(var n=(t.mode&1)!==0;$!==null;){var i=$,o=i.child;if(i.tag===22&&n){var a=i.memoizedState!==null||ld;if(!a){var s=i.alternate,u=s!==null&&s.memoizedState!==null||$t;s=ld;var l=$t;if(ld=a,($t=u)&&!l)for($=i;$!==null;)a=$,u=a.child,a.tag===22&&a.memoizedState!==null?cb(i):u!==null?(u.return=a,$=u):cb(i);for(;o!==null;)$=o,EC(o),o=o.sibling;$=i,ld=s,$t=l}lb(t)}else i.subtreeFlags&8772&&o!==null?(o.return=i,$=o):lb(t)}}function lb(t){for(;$!==null;){var e=$;if(e.flags&8772){var r=e.alternate;try{if(e.flags&8772)switch(e.tag){case 0:case 11:case 15:$t||Nh(5,e);break;case 1:var n=e.stateNode;if(e.flags&4&&!$t)if(r===null)n.componentDidMount();else{var i=e.elementType===e.type?r.memoizedProps:pn(e.type,r.memoizedProps);n.componentDidUpdate(i,r.memoizedState,n.__reactInternalSnapshotBeforeUpdate)}var o=e.updateQueue;o!==null&&Kw(e,o,n);break;case 3:var a=e.updateQueue;if(a!==null){if(r=null,e.child!==null)switch(e.child.tag){case 5:r=e.child.stateNode;break;case 1:r=e.child.stateNode}Kw(e,a,r)}break;case 5:var s=e.stateNode;if(r===null&&e.flags&4){r=s;var u=e.memoizedProps;switch(e.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&r.focus();break;case"img":u.src&&(r.src=u.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(e.memoizedState===null){var l=e.alternate;if(l!==null){var c=l.memoizedState;if(c!==null){var d=c.dehydrated;d!==null&&Bu(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(q(163))}$t||e.flags&512&&F0(e)}catch(h){wt(e,e.return,h)}}if(e===t){$=null;break}if(r=e.sibling,r!==null){r.return=e.return,$=r;break}$=e.return}}function ub(t){for(;$!==null;){var e=$;if(e===t){$=null;break}var r=e.sibling;if(r!==null){r.return=e.return,$=r;break}$=e.return}}function cb(t){for(;$!==null;){var e=$;try{switch(e.tag){case 0:case 11:case 15:var r=e.return;try{Nh(4,e)}catch(u){wt(e,r,u)}break;case 1:var n=e.stateNode;if(typeof n.componentDidMount=="function"){var i=e.return;try{n.componentDidMount()}catch(u){wt(e,i,u)}}var o=e.return;try{F0(e)}catch(u){wt(e,o,u)}break;case 5:var a=e.return;try{F0(e)}catch(u){wt(e,a,u)}}}catch(u){wt(e,e.return,u)}if(e===t){$=null;break}var s=e.sibling;if(s!==null){s.return=e.return,$=s;break}$=e.return}}var x_=Math.ceil,Bf=xi.ReactCurrentDispatcher,Ng=xi.ReactCurrentOwner,Xr=xi.ReactCurrentBatchConfig,ze=0,Dt=null,Ct=null,Vt=0,Sr=0,ks=Fo(0),Ot=0,Yu=null,ba=0,jh=0,jg=0,wu=null,vr=null,Fg=0,rl=1/0,ei=null,Uf=!1,M0=null,vo=null,ud=!1,no=null,zf=0,bu=0,L0=null,$d=-1,ef=0;function sr(){return ze&6?xt():$d!==-1?$d:$d=xt()}function mo(t){return t.mode&1?ze&2&&Vt!==0?Vt&-Vt:i_.transition!==null?(ef===0&&(ef=uk()),ef):(t=Qe,t!==0||(t=window.event,t=t===void 0?16:mk(t.type)),t):1}function Cn(t,e,r,n){if(50<bu)throw bu=0,L0=null,Error(q(185));Rc(t,r,n),(!(ze&2)||t!==Dt)&&(t===Dt&&(!(ze&2)&&(jh|=r),Ot===4&&Hi(t,Vt)),br(t,n),r===1&&ze===0&&!(e.mode&1)&&(rl=xt()+500,Ah&&Io()))}function br(t,e){var r=t.callbackNode;iO(t,e);var n=Cf(t,t===Dt?Vt:0);if(n===0)r!==null&&ww(r),t.callbackNode=null,t.callbackPriority=0;else if(e=n&-n,t.callbackPriority!==e){if(r!=null&&ww(r),e===1)t.tag===0?n_(db.bind(null,t)):Ik(db.bind(null,t)),$O(function(){!(ze&6)&&Io()}),r=null;else{switch(ck(n)){case 1:r=ag;break;case 4:r=sk;break;case 16:r=kf;break;case 536870912:r=lk;break;default:r=kf}r=jC(r,TC.bind(null,t))}t.callbackPriority=e,t.callbackNode=r}}function TC(t,e){if($d=-1,ef=0,ze&6)throw Error(q(327));var r=t.callbackNode;if(js()&&t.callbackNode!==r)return null;var n=Cf(t,t===Dt?Vt:0);if(n===0)return null;if(n&30||n&t.expiredLanes||e)e=Vf(t,n);else{e=n;var i=ze;ze|=2;var o=RC();(Dt!==t||Vt!==e)&&(ei=null,rl=xt()+500,pa(t,e));do try{C_();break}catch(s){PC(t,s)}while(!0);wg(),Bf.current=o,ze=i,Ct!==null?e=0:(Dt=null,Vt=0,e=Ot)}if(e!==0){if(e===2&&(i=d0(t),i!==0&&(n=i,e=B0(t,i))),e===1)throw r=Yu,pa(t,0),Hi(t,n),br(t,xt()),r;if(e===6)Hi(t,n);else{if(i=t.current.alternate,!(n&30)&&!S_(i)&&(e=Vf(t,n),e===2&&(o=d0(t),o!==0&&(n=o,e=B0(t,o))),e===1))throw r=Yu,pa(t,0),Hi(t,n),br(t,xt()),r;switch(t.finishedWork=i,t.finishedLanes=n,e){case 0:case 1:throw Error(q(345));case 2:Xo(t,vr,ei);break;case 3:if(Hi(t,n),(n&130023424)===n&&(e=Fg+500-xt(),10<e)){if(Cf(t,0)!==0)break;if(i=t.suspendedLanes,(i&n)!==n){sr(),t.pingedLanes|=t.suspendedLanes&i;break}t.timeoutHandle=w0(Xo.bind(null,t,vr,ei),e);break}Xo(t,vr,ei);break;case 4:if(Hi(t,n),(n&4194240)===n)break;for(e=t.eventTimes,i=-1;0<n;){var a=31-kn(n);o=1<<a,a=e[a],a>i&&(i=a),n&=~o}if(n=i,n=xt()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*x_(n/1960))-n,10<n){t.timeoutHandle=w0(Xo.bind(null,t,vr,ei),n);break}Xo(t,vr,ei);break;case 5:Xo(t,vr,ei);break;default:throw Error(q(329))}}}return br(t,xt()),t.callbackNode===r?TC.bind(null,t):null}function B0(t,e){var r=wu;return t.current.memoizedState.isDehydrated&&(pa(t,e).flags|=256),t=Vf(t,e),t!==2&&(e=vr,vr=r,e!==null&&U0(e)),t}function U0(t){vr===null?vr=t:vr.push.apply(vr,t)}function S_(t){for(var e=t;;){if(e.flags&16384){var r=e.updateQueue;if(r!==null&&(r=r.stores,r!==null))for(var n=0;n<r.length;n++){var i=r[n],o=i.getSnapshot;i=i.value;try{if(!Tn(o(),i))return!1}catch{return!1}}}if(r=e.child,e.subtreeFlags&16384&&r!==null)r.return=e,e=r;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function Hi(t,e){for(e&=~jg,e&=~jh,t.suspendedLanes|=e,t.pingedLanes&=~e,t=t.expirationTimes;0<e;){var r=31-kn(e),n=1<<r;t[r]=-1,e&=~n}}function db(t){if(ze&6)throw Error(q(327));js();var e=Cf(t,0);if(!(e&1))return br(t,xt()),null;var r=Vf(t,e);if(t.tag!==0&&r===2){var n=d0(t);n!==0&&(e=n,r=B0(t,n))}if(r===1)throw r=Yu,pa(t,0),Hi(t,e),br(t,xt()),r;if(r===6)throw Error(q(345));return t.finishedWork=t.current.alternate,t.finishedLanes=e,Xo(t,vr,ei),br(t,xt()),null}function Ig(t,e){var r=ze;ze|=1;try{return t(e)}finally{ze=r,ze===0&&(rl=xt()+500,Ah&&Io())}}function xa(t){no!==null&&no.tag===0&&!(ze&6)&&js();var e=ze;ze|=1;var r=Xr.transition,n=Qe;try{if(Xr.transition=null,Qe=1,t)return t()}finally{Qe=n,Xr.transition=r,ze=e,!(ze&6)&&Io()}}function Dg(){Sr=ks.current,st(ks)}function pa(t,e){t.finishedWork=null,t.finishedLanes=0;var r=t.timeoutHandle;if(r!==-1&&(t.timeoutHandle=-1,QO(r)),Ct!==null)for(r=Ct.return;r!==null;){var n=r;switch(mg(n),n.tag){case 1:n=n.type.childContextTypes,n!=null&&Af();break;case 3:el(),st(yr),st(er),Eg();break;case 5:Cg(n);break;case 4:el();break;case 13:st(ht);break;case 19:st(ht);break;case 10:bg(n.type._context);break;case 22:case 23:Dg()}r=r.return}if(Dt=t,Ct=t=go(t.current,null),Vt=Sr=e,Ot=0,Yu=null,jg=jh=ba=0,vr=wu=null,na!==null){for(e=0;e<na.length;e++)if(r=na[e],n=r.interleaved,n!==null){r.interleaved=null;var i=n.next,o=r.pending;if(o!==null){var a=o.next;o.next=i,n.next=a}r.pending=n}na=null}return t}function PC(t,e){do{var r=Ct;try{if(wg(),Yd.current=Lf,Mf){for(var n=pt.memoizedState;n!==null;){var i=n.queue;i!==null&&(i.pending=null),n=n.next}Mf=!1}if(wa=0,Ft=Pt=pt=null,gu=!1,Gu=0,Ng.current=null,r===null||r.return===null){Ot=1,Yu=e,Ct=null;break}e:{var o=t,a=r.return,s=r,u=e;if(e=Vt,s.flags|=32768,u!==null&&typeof u=="object"&&typeof u.then=="function"){var l=u,c=s,d=c.tag;if(!(c.mode&1)&&(d===0||d===11||d===15)){var h=c.alternate;h?(c.updateQueue=h.updateQueue,c.memoizedState=h.memoizedState,c.lanes=h.lanes):(c.updateQueue=null,c.memoizedState=null)}var f=Qw(a);if(f!==null){f.flags&=-257,$w(f,a,s,o,e),f.mode&1&&Jw(o,l,e),e=f,u=l;var m=e.updateQueue;if(m===null){var p=new Set;p.add(u),e.updateQueue=p}else m.add(u);break e}else{if(!(e&1)){Jw(o,l,e),Mg();break e}u=Error(q(426))}}else if(dt&&s.mode&1){var g=Qw(a);if(g!==null){!(g.flags&65536)&&(g.flags|=256),$w(g,a,s,o,e),gg(tl(u,s));break e}}o=u=tl(u,s),Ot!==4&&(Ot=2),wu===null?wu=[o]:wu.push(o),o=a;do{switch(o.tag){case 3:o.flags|=65536,e&=-e,o.lanes|=e;var v=cC(o,u,e);Hw(o,v);break e;case 1:s=u;var y=o.type,w=o.stateNode;if(!(o.flags&128)&&(typeof y.getDerivedStateFromError=="function"||w!==null&&typeof w.componentDidCatch=="function"&&(vo===null||!vo.has(w)))){o.flags|=65536,e&=-e,o.lanes|=e;var S=dC(o,s,e);Hw(o,S);break e}}o=o.return}while(o!==null)}OC(r)}catch(k){e=k,Ct===r&&r!==null&&(Ct=r=r.return);continue}break}while(!0)}function RC(){var t=Bf.current;return Bf.current=Lf,t===null?Lf:t}function Mg(){(Ot===0||Ot===3||Ot===2)&&(Ot=4),Dt===null||!(ba&268435455)&&!(jh&268435455)||Hi(Dt,Vt)}function Vf(t,e){var r=ze;ze|=2;var n=RC();(Dt!==t||Vt!==e)&&(ei=null,pa(t,e));do try{k_();break}catch(i){PC(t,i)}while(!0);if(wg(),ze=r,Bf.current=n,Ct!==null)throw Error(q(261));return Dt=null,Vt=0,Ot}function k_(){for(;Ct!==null;)AC(Ct)}function C_(){for(;Ct!==null&&!ZA();)AC(Ct)}function AC(t){var e=NC(t.alternate,t,Sr);t.memoizedProps=t.pendingProps,e===null?OC(t):Ct=e,Ng.current=null}function OC(t){var e=t;do{var r=e.alternate;if(t=e.return,e.flags&32768){if(r=g_(r,e),r!==null){r.flags&=32767,Ct=r;return}if(t!==null)t.flags|=32768,t.subtreeFlags=0,t.deletions=null;else{Ot=6,Ct=null;return}}else if(r=m_(r,e,Sr),r!==null){Ct=r;return}if(e=e.sibling,e!==null){Ct=e;return}Ct=e=t}while(e!==null);Ot===0&&(Ot=5)}function Xo(t,e,r){var n=Qe,i=Xr.transition;try{Xr.transition=null,Qe=1,E_(t,e,r,n)}finally{Xr.transition=i,Qe=n}return null}function E_(t,e,r,n){do js();while(no!==null);if(ze&6)throw Error(q(327));r=t.finishedWork;var i=t.finishedLanes;if(r===null)return null;if(t.finishedWork=null,t.finishedLanes=0,r===t.current)throw Error(q(177));t.callbackNode=null,t.callbackPriority=0;var o=r.lanes|r.childLanes;if(oO(t,o),t===Dt&&(Ct=Dt=null,Vt=0),!(r.subtreeFlags&2064)&&!(r.flags&2064)||ud||(ud=!0,jC(kf,function(){return js(),null})),o=(r.flags&15990)!==0,r.subtreeFlags&15990||o){o=Xr.transition,Xr.transition=null;var a=Qe;Qe=1;var s=ze;ze|=4,Ng.current=null,w_(t,r),CC(r,t),HO(g0),Ef=!!m0,g0=m0=null,t.current=r,b_(r),YA(),ze=s,Qe=a,Xr.transition=o}else t.current=r;if(ud&&(ud=!1,no=t,zf=i),o=t.pendingLanes,o===0&&(vo=null),$A(r.stateNode),br(t,xt()),e!==null)for(n=t.onRecoverableError,r=0;r<e.length;r++)i=e[r],n(i.value,{componentStack:i.stack,digest:i.digest});if(Uf)throw Uf=!1,t=M0,M0=null,t;return zf&1&&t.tag!==0&&js(),o=t.pendingLanes,o&1?t===L0?bu++:(bu=0,L0=t):bu=0,Io(),null}function js(){if(no!==null){var t=ck(zf),e=Xr.transition,r=Qe;try{if(Xr.transition=null,Qe=16>t?16:t,no===null)var n=!1;else{if(t=no,no=null,zf=0,ze&6)throw Error(q(331));var i=ze;for(ze|=4,$=t.current;$!==null;){var o=$,a=o.child;if($.flags&16){var s=o.deletions;if(s!==null){for(var u=0;u<s.length;u++){var l=s[u];for($=l;$!==null;){var c=$;switch(c.tag){case 0:case 11:case 15:yu(8,c,o)}var d=c.child;if(d!==null)d.return=c,$=d;else for(;$!==null;){c=$;var h=c.sibling,f=c.return;if(xC(c),c===l){$=null;break}if(h!==null){h.return=f,$=h;break}$=f}}}var m=o.alternate;if(m!==null){var p=m.child;if(p!==null){m.child=null;do{var g=p.sibling;p.sibling=null,p=g}while(p!==null)}}$=o}}if(o.subtreeFlags&2064&&a!==null)a.return=o,$=a;else e:for(;$!==null;){if(o=$,o.flags&2048)switch(o.tag){case 0:case 11:case 15:yu(9,o,o.return)}var v=o.sibling;if(v!==null){v.return=o.return,$=v;break e}$=o.return}}var y=t.current;for($=y;$!==null;){a=$;var w=a.child;if(a.subtreeFlags&2064&&w!==null)w.return=a,$=w;else e:for(a=y;$!==null;){if(s=$,s.flags&2048)try{switch(s.tag){case 0:case 11:case 15:Nh(9,s)}}catch(k){wt(s,s.return,k)}if(s===a){$=null;break e}var S=s.sibling;if(S!==null){S.return=s.return,$=S;break e}$=s.return}}if(ze=i,Io(),Wn&&typeof Wn.onPostCommitFiberRoot=="function")try{Wn.onPostCommitFiberRoot(Ch,t)}catch{}n=!0}return n}finally{Qe=r,Xr.transition=e}}return!1}function fb(t,e,r){e=tl(r,e),e=cC(t,e,1),t=po(t,e,1),e=sr(),t!==null&&(Rc(t,1,e),br(t,e))}function wt(t,e,r){if(t.tag===3)fb(t,t,r);else for(;e!==null;){if(e.tag===3){fb(e,t,r);break}else if(e.tag===1){var n=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(vo===null||!vo.has(n))){t=tl(r,t),t=dC(e,t,1),e=po(e,t,1),t=sr(),e!==null&&(Rc(e,1,t),br(e,t));break}}e=e.return}}function T_(t,e,r){var n=t.pingCache;n!==null&&n.delete(e),e=sr(),t.pingedLanes|=t.suspendedLanes&r,Dt===t&&(Vt&r)===r&&(Ot===4||Ot===3&&(Vt&130023424)===Vt&&500>xt()-Fg?pa(t,0):jg|=r),br(t,e)}function _C(t,e){e===0&&(t.mode&1?(e=$c,$c<<=1,!($c&130023424)&&($c=4194304)):e=1);var r=sr();t=mi(t,e),t!==null&&(Rc(t,e,r),br(t,r))}function P_(t){var e=t.memoizedState,r=0;e!==null&&(r=e.retryLane),_C(t,r)}function R_(t,e){var r=0;switch(t.tag){case 13:var n=t.stateNode,i=t.memoizedState;i!==null&&(r=i.retryLane);break;case 19:n=t.stateNode;break;default:throw Error(q(314))}n!==null&&n.delete(e),_C(t,r)}var NC;NC=function(t,e,r){if(t!==null)if(t.memoizedProps!==e.pendingProps||yr.current)mr=!0;else{if(!(t.lanes&r)&&!(e.flags&128))return mr=!1,v_(t,e,r);mr=!!(t.flags&131072)}else mr=!1,dt&&e.flags&1048576&&Dk(e,Nf,e.index);switch(e.lanes=0,e.tag){case 2:var n=e.type;Qd(t,e),t=e.pendingProps;var i=Js(e,er.current);Ns(e,r),i=Pg(null,e,n,t,i,r);var o=Rg();return e.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(e.tag=1,e.memoizedState=null,e.updateQueue=null,wr(n)?(o=!0,Of(e)):o=!1,e.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Sg(e),i.updater=_h,e.stateNode=i,i._reactInternals=e,T0(e,n,t,r),e=A0(null,e,n,!0,o,r)):(e.tag=0,dt&&o&&vg(e),ir(null,e,i,r),e=e.child),e;case 16:n=e.elementType;e:{switch(Qd(t,e),t=e.pendingProps,i=n._init,n=i(n._payload),e.type=n,i=e.tag=O_(n),t=pn(n,t),i){case 0:e=R0(null,e,n,t,r);break e;case 1:e=rb(null,e,n,t,r);break e;case 11:e=eb(null,e,n,t,r);break e;case 14:e=tb(null,e,n,pn(n.type,t),r);break e}throw Error(q(306,n,""))}return e;case 0:return n=e.type,i=e.pendingProps,i=e.elementType===n?i:pn(n,i),R0(t,e,n,i,r);case 1:return n=e.type,i=e.pendingProps,i=e.elementType===n?i:pn(n,i),rb(t,e,n,i,r);case 3:e:{if(vC(e),t===null)throw Error(q(387));n=e.pendingProps,o=e.memoizedState,i=o.element,Vk(t,e),If(e,n,null,r);var a=e.memoizedState;if(n=a.element,o.isDehydrated)if(o={element:n,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},e.updateQueue.baseState=o,e.memoizedState=o,e.flags&256){i=tl(Error(q(423)),e),e=nb(t,e,n,r,i);break e}else if(n!==i){i=tl(Error(q(424)),e),e=nb(t,e,n,r,i);break e}else for(Er=ho(e.stateNode.containerInfo.firstChild),Ar=e,dt=!0,xn=null,r=Uk(e,null,n,r),e.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(Qs(),n===i){e=gi(t,e,r);break e}ir(t,e,n,r)}e=e.child}return e;case 5:return Wk(e),t===null&&k0(e),n=e.type,i=e.pendingProps,o=t!==null?t.memoizedProps:null,a=i.children,y0(n,i)?a=null:o!==null&&y0(n,o)&&(e.flags|=32),pC(t,e),ir(t,e,a,r),e.child;case 6:return t===null&&k0(e),null;case 13:return mC(t,e,r);case 4:return kg(e,e.stateNode.containerInfo),n=e.pendingProps,t===null?e.child=$s(e,null,n,r):ir(t,e,n,r),e.child;case 11:return n=e.type,i=e.pendingProps,i=e.elementType===n?i:pn(n,i),eb(t,e,n,i,r);case 7:return ir(t,e,e.pendingProps,r),e.child;case 8:return ir(t,e,e.pendingProps.children,r),e.child;case 12:return ir(t,e,e.pendingProps.children,r),e.child;case 10:e:{if(n=e.type._context,i=e.pendingProps,o=e.memoizedProps,a=i.value,it(jf,n._currentValue),n._currentValue=a,o!==null)if(Tn(o.value,a)){if(o.children===i.children&&!yr.current){e=gi(t,e,r);break e}}else for(o=e.child,o!==null&&(o.return=e);o!==null;){var s=o.dependencies;if(s!==null){a=o.child;for(var u=s.firstContext;u!==null;){if(u.context===n){if(o.tag===1){u=ci(-1,r&-r),u.tag=2;var l=o.updateQueue;if(l!==null){l=l.shared;var c=l.pending;c===null?u.next=u:(u.next=c.next,c.next=u),l.pending=u}}o.lanes|=r,u=o.alternate,u!==null&&(u.lanes|=r),C0(o.return,r,e),s.lanes|=r;break}u=u.next}}else if(o.tag===10)a=o.type===e.type?null:o.child;else if(o.tag===18){if(a=o.return,a===null)throw Error(q(341));a.lanes|=r,s=a.alternate,s!==null&&(s.lanes|=r),C0(a,r,e),a=o.sibling}else a=o.child;if(a!==null)a.return=o;else for(a=o;a!==null;){if(a===e){a=null;break}if(o=a.sibling,o!==null){o.return=a.return,a=o;break}a=a.return}o=a}ir(t,e,i.children,r),e=e.child}return e;case 9:return i=e.type,n=e.pendingProps.children,Ns(e,r),i=Jr(i),n=n(i),e.flags|=1,ir(t,e,n,r),e.child;case 14:return n=e.type,i=pn(n,e.pendingProps),i=pn(n.type,i),tb(t,e,n,i,r);case 15:return fC(t,e,e.type,e.pendingProps,r);case 17:return n=e.type,i=e.pendingProps,i=e.elementType===n?i:pn(n,i),Qd(t,e),e.tag=1,wr(n)?(t=!0,Of(e)):t=!1,Ns(e,r),uC(e,n,i),T0(e,n,i,r),A0(null,e,n,!0,t,r);case 19:return gC(t,e,r);case 22:return hC(t,e,r)}throw Error(q(156,e.tag))};function jC(t,e){return ak(t,e)}function A_(t,e,r,n){this.tag=t,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Hr(t,e,r,n){return new A_(t,e,r,n)}function Lg(t){return t=t.prototype,!(!t||!t.isReactComponent)}function O_(t){if(typeof t=="function")return Lg(t)?1:0;if(t!=null){if(t=t.$$typeof,t===ng)return 11;if(t===ig)return 14}return 2}function go(t,e){var r=t.alternate;return r===null?(r=Hr(t.tag,e,t.key,t.mode),r.elementType=t.elementType,r.type=t.type,r.stateNode=t.stateNode,r.alternate=t,t.alternate=r):(r.pendingProps=e,r.type=t.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=t.flags&14680064,r.childLanes=t.childLanes,r.lanes=t.lanes,r.child=t.child,r.memoizedProps=t.memoizedProps,r.memoizedState=t.memoizedState,r.updateQueue=t.updateQueue,e=t.dependencies,r.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},r.sibling=t.sibling,r.index=t.index,r.ref=t.ref,r}function tf(t,e,r,n,i,o){var a=2;if(n=t,typeof t=="function")Lg(t)&&(a=1);else if(typeof t=="string")a=5;else e:switch(t){case hs:return va(r.children,i,o,e);case rg:a=8,i|=8;break;case Yv:return t=Hr(12,r,e,i|2),t.elementType=Yv,t.lanes=o,t;
vendor: 6,033 bytes, line 40
40case Jv:return t=Hr(13,r,e,i),t.elementType=Jv,t.lanes=o,t;case Qv:return t=Hr(19,r,e,i),t.elementType=Qv,t.lanes=o,t;case WS:return Fh(r,i,o,e);default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case zS:a=10;break e;case VS:a=9;break e;case ng:a=11;break e;case ig:a=14;break e;case Bi:a=16,n=null;break e}throw Error(q(130,t==null?t:typeof t,""))}return e=Hr(a,r,e,i),e.elementType=t,e.type=n,e.lanes=o,e}function va(t,e,r,n){return t=Hr(7,t,n,e),t.lanes=r,t}function Fh(t,e,r,n){return t=Hr(22,t,n,e),t.elementType=WS,t.lanes=r,t.stateNode={isHidden:!1},t}function nv(t,e,r){return t=Hr(6,t,null,e),t.lanes=r,t}function iv(t,e,r){return e=Hr(4,t.children!==null?t.children:[],t.key,e),e.lanes=r,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function __(t,e,r,n,i){this.tag=e,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Lp(0),this.expirationTimes=Lp(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Lp(0),this.identifierPrefix=n,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Bg(t,e,r,n,i,o,a,s,u){return t=new __(t,e,r,s,u),e===1?(e=1,o===!0&&(e|=8)):e=0,o=Hr(3,null,null,e),t.current=o,o.stateNode=t,o.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},Sg(o),t}function N_(t,e,r){var n=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:fs,key:n==null?null:""+n,children:t,containerInfo:e,implementation:r}}function FC(t){if(!t)return Eo;t=t._reactInternals;e:{if(ja(t)!==t||t.tag!==1)throw Error(q(170));var e=t;do{switch(e.tag){case 3:e=e.stateNode.context;break e;case 1:if(wr(e.type)){e=e.stateNode.__reactInternalMemoizedMergedChildContext;break e}}e=e.return}while(e!==null);throw Error(q(171))}if(t.tag===1){var r=t.type;if(wr(r))return Fk(t,r,e)}return e}function IC(t,e,r,n,i,o,a,s,u){return t=Bg(r,n,!0,t,i,o,a,s,u),t.context=FC(null),r=t.current,n=sr(),i=mo(r),o=ci(n,i),o.callback=e??null,po(r,o,i),t.current.lanes=i,Rc(t,i,n),br(t,n),t}function Ih(t,e,r,n){var i=e.current,o=sr(),a=mo(i);return r=FC(r),e.context===null?e.context=r:e.pendingContext=r,e=ci(o,a),e.payload={element:t},n=n===void 0?null:n,n!==null&&(e.callback=n),t=po(i,e,a),t!==null&&(Cn(t,i,a,o),Zd(t,i,a)),a}function Wf(t){if(t=t.current,!t.child)return null;switch(t.child.tag){case 5:return t.child.stateNode;default:return t.child.stateNode}}function hb(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var r=t.retryLane;t.retryLane=r!==0&&r<e?r:e}}function Ug(t,e){hb(t,e),(t=t.alternate)&&hb(t,e)}function j_(){return null}var DC=typeof reportError=="function"?reportError:function(t){console.error(t)};function zg(t){this._internalRoot=t}Dh.prototype.render=zg.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(q(409));Ih(t,e,null,null)};Dh.prototype.unmount=zg.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;xa(function(){Ih(null,t,null,null)}),e[vi]=null}};function Dh(t){this._internalRoot=t}Dh.prototype.unstable_scheduleHydration=function(t){if(t){var e=hk();t={blockedOn:null,target:t,priority:e};for(var r=0;r<qi.length&&e!==0&&e<qi[r].priority;r++);qi.splice(r,0,t),r===0&&vk(t)}};function Vg(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function Mh(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11&&(t.nodeType!==8||t.nodeValue!==" react-mount-point-unstable "))}function pb(){}function F_(t,e,r,n,i){if(i){if(typeof n=="function"){var o=n;n=function(){var l=Wf(a);o.call(l)}}var a=IC(e,n,t,0,null,!1,!1,"",pb);return t._reactRootContainer=a,t[vi]=a.current,Vu(t.nodeType===8?t.parentNode:t),xa(),a}for(;i=t.lastChild;)t.removeChild(i);if(typeof n=="function"){var s=n;n=function(){var l=Wf(u);s.call(l)}}var u=Bg(t,0,!1,null,null,!1,!1,"",pb);return t._reactRootContainer=u,t[vi]=u.current,Vu(t.nodeType===8?t.parentNode:t),xa(function(){Ih(e,u,r,n)}),u}function Lh(t,e,r,n,i){var o=r._reactRootContainer;if(o){var a=o;if(typeof i=="function"){var s=i;i=function(){var u=Wf(a);s.call(u)}}Ih(e,a,t,i)}else a=F_(r,e,t,i,n);return Wf(a)}dk=function(t){switch(t.tag){case 3:var e=t.stateNode;if(e.current.memoizedState.isDehydrated){var r=$l(e.pendingLanes);r!==0&&(sg(e,r|1),br(e,xt()),!(ze&6)&&(rl=xt()+500,Io()))}break;case 13:xa(function(){var n=mi(t,1);if(n!==null){var i=sr();Cn(n,t,1,i)}}),Ug(t,1)}};lg=function(t){if(t.tag===13){var e=mi(t,134217728);if(e!==null){var r=sr();Cn(e,t,134217728,r)}Ug(t,134217728)}};fk=function(t){if(t.tag===13){var e=mo(t),r=mi(t,e);if(r!==null){var n=sr();Cn(r,t,e,n)}Ug(t,e)}};hk=function(){return Qe};pk=function(t,e){var r=Qe;try{return Qe=t,e()}finally{Qe=r}};l0=function(t,e,r){switch(e){case"input":if(t0(t,r),e=r.name,r.type==="radio"&&e!=null){for(r=t;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+e)+'][type="radio"]'),e=0;e<r.length;e++){var n=r[e];if(n!==t&&n.form===t.form){var i=Rh(n);if(!i)throw Error(q(90));HS(n),t0(n,i)}}}break;case"textarea":GS(t,r);break;case"select":e=r.value,e!=null&&Rs(t,!!r.multiple,e,!1)}};ek=Ig;tk=xa;var I_={usingClientEntryPoint:!1,Events:[Oc,gs,Rh,QS,$S,Ig]},Ll={findFiberByHostInstance:ra,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},D_={bundleType:Ll.bundleType,version:Ll.version,rendererPackageName:Ll.rendererPackageName,rendererConfig:Ll.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:xi.ReactCurrentDispatcher,findHostInstanceByFiber:function(t){return t=ik(t),t===null?null:t.stateNode}
40,findFiberByHostInstance:Ll.findFiberByHostInstance||j_,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var cd=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!cd.isDisabled&&cd.supportsFiber)try{Ch=cd.inject(D_),Wn=cd}catch{}}Ir.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=I_;Ir.createPortal=function(t,e){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Vg(e))throw Error(q(200));return N_(t,e,null,r)};Ir.createRoot=function(t,e){if(!Vg(t))throw Error(q(299));var r=!1,n="",i=DC;return e!=null&&(e.unstable_strictMode===!0&&(r=!0),e.identifierPrefix!==void 0&&(n=e.identifierPrefix),e.onRecoverableError!==void 0&&(i=e.onRecoverableError)),e=Bg(t,1,!1,null,null,r,!1,n,i),t[vi]=e.current,Vu(t.nodeType===8?t.parentNode:t),new zg(e)};Ir.findDOMNode=function(t){if(t==null)return null;if(t.nodeType===1)return t;var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(q(188)):(t=Object.keys(t).join(","),Error(q(268,t)));return t=ik(e),t=t===null?null:t.stateNode,t};Ir.flushSync=function(t){return xa(t)};Ir.hydrate=function(t,e,r){if(!Mh(e))throw Error(q(200));return Lh(null,t,e,!0,r)};Ir.hydrateRoot=function(t,e,r){if(!Vg(t))throw Error(q(405));var n=r!=null&&r.hydratedSources||null,i=!1,o="",a=DC;if(r!=null&&(r.unstable_strictMode===!0&&(i=!0),r.identifierPrefix!==void 0&&(o=r.identifierPrefix),r.onRecoverableError!==void 0&&(a=r.onRecoverableError)),e=IC(e,null,t,1,r??null,i,!1,o,a),t[vi]=e.current,Vu(t),n)for(t=0;t<n.length;t++)r=n[t],i=r._getVersion,i=i(r._source),e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[r,i]:e.mutableSourceEagerHydrationData.push(r,i);return new Dh(e)};Ir.render=function(t,e,r){if(!Mh(e))throw Error(q(200));return Lh(null,t,e,!1,r)};Ir.unmountComponentAtNode=function(t){if(!Mh(t))throw Error(q(40));return t._reactRootContainer?(xa(function(){Lh(null,null,t,!1,function(){t._reactRootContainer=null,t[vi]=null})}),!0):!1};Ir.unstable_batchedUpdates=Ig;Ir.unstable_renderSubtreeIntoContainer=function(t,e,r,n){if(!Mh(r))throw Error(q(200));if(t==null||t._reactInternals===void 0)throw Error(q(38));return Lh(t,e,r,!1,n)};Ir.version="18.3.1-next-f1338f8080-20240426";function MC(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(MC)}catch(t){console.error(t)}}MC(),MS.exports=Ir;var Fa=MS.exports;const LC=Gm(Fa);var BC,vb=Fa;BC=vb.createRoot,vb.hydrateRoot;const M_=1,L_=1e6;let ov=0;function B_(){return ov=(ov+1)%Number.MAX_SAFE_INTEGER,ov.toString()}const av=new Map,mb=t=>{if(av.has(t))return;const e=setTimeout(()=>{av.delete(t),xu({type:"REMOVE_TOAST",toastId:t})},L_);av.set(t,e)},U_=(t,e)=>{switch(e.type){case"ADD_TOAST":return{...t,toasts:[e.toast,...t.toasts].slice(0,M_)};case"UPDATE_TOAST":return{...t,toasts:t.toasts.map(r=>r.id===e.toast.id?{...r,...e.toast}:r)};case"DISMISS_TOAST":{const{toastId:r}=e;return r?mb(r):t.toasts.forEach(n=>{mb(n.id)}),{...t,toasts:t.toasts.map(n=>
vendor: 14,122 bytes, line 40
40n.id===r||r===void 0?{...n,open:!1}:n)}}case"REMOVE_TOAST":return e.toastId===void 0?{...t,toasts:[]}:{...t,toasts:t.toasts.filter(r=>r.id!==e.toastId)}}},rf=[];let nf={toasts:[]};function xu(t){nf=U_(nf,t),rf.forEach(e=>{e(nf)})}function z_({...t}){const e=B_(),r=i=>xu({type:"UPDATE_TOAST",toast:{...i,id:e}}),n=()=>xu({type:"DISMISS_TOAST",toastId:e});return xu({type:"ADD_TOAST",toast:{...t,id:e,open:!0,onOpenChange:i=>{i||n()}}}),{id:e,dismiss:n,update:r}}function V_(){const[t,e]=x.useState(nf);return x.useEffect(()=>(rf.push(e),()=>{const r=rf.indexOf(e);r>-1&&rf.splice(r,1)}),[t]),{...t,toast:z_,dismiss:r=>xu({type:"DISMISS_TOAST",toastId:r})}}function ye(t,e,{checkForDefaultPrevented:r=!0}={}){return function(i){if(t==null||t(i),r===!1||!i.defaultPrevented)return e==null?void 0:e(i)}}function gb(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function UC(...t){return e=>{let r=!1;const n=t.map(i=>{const o=gb(i,e);return!r&&typeof o=="function"&&(r=!0),o});if(r)return()=>{for(let i=0;i<n.length;i++){const o=n[i];typeof o=="function"?o():gb(t[i],null)}}}}function Je(...t){return x.useCallback(UC(...t),t)}function Ia(t,e=[]){let r=[];function n(o,a){const s=x.createContext(a),u=r.length;r=[...r,a];const l=d=>{var v;const{scope:h,children:f,...m}=d,p=((v=h==null?void 0:h[t])==null?void 0:v[u])||s,g=x.useMemo(()=>m,Object.values(m));return b.jsx(p.Provider,{value:g,children:f})};l.displayName=o+"Provider";function c(d,h){var p;const f=((p=h==null?void 0:h[t])==null?void 0:p[u])||s,m=x.useContext(f);if(m)return m;if(a!==void 0)return a;throw new Error(`\`${d}\` must be used within \`${o}\``)}return[l,c]}const i=()=>{const o=r.map(a=>x.createContext(a));return function(s){const u=(s==null?void 0:s[t])||o;return x.useMemo(()=>({[`__scope${t}`]:{...s,[t]:u}}),[s,u])}};return i.scopeName=t,[n,W_(i,...e)]}function W_(...t){const e=t[0];if(t.length===1)return e;const r=()=>{const n=t.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(o){const a=n.reduce((s,{useScope:u,scopeName:l})=>{const d=u(o)[`__scope${l}`];return{...s,...d}},{});return x.useMemo(()=>({[`__scope${e.scopeName}`]:a}),[a])}};return r.scopeName=e.scopeName,r}function Ju(t){const e=H_(t),r=x.forwardRef((n,i)=>{const{children:o,...a}=n,s=x.Children.toArray(o),u=s.find(G_);if(u){const l=u.props.children,c=s.map(d=>d===u?x.Children.count(l)>1?x.Children.only(null):x.isValidElement(l)?l.props.children:null:d);return b.jsx(e,{...a,ref:i,children:x.isValidElement(l)?x.cloneElement(l,void 0,c):null})}return b.jsx(e,{...a,ref:i,children:o})});return r.displayName=`${t}.Slot`,r}var q_=Ju("Slot");function H_(t){const e=x.forwardRef((r,n)=>{const{children:i,...o}=r;if(x.isValidElement(i)){const a=Z_(i),s=X_(o,i.props);return i.type!==x.Fragment&&(s.ref=n?UC(n,a):a),x.cloneElement(i,s)}return x.Children.count(i)>1?x.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var zC=Symbol("radix.slottable");function K_(t){const e=({children:r})=>b.jsx(b.Fragment,{children:r});return e.displayName=`${t}.Slottable`,e.__radixId=zC,e}function G_(t){return x.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===zC}function X_(t,e){const r={...e};for(const n in e){const i=t[n],o=e[n];/^on[A-Z]/.test(n)?i&&o?r[n]=(...s)=>{const u=o(...s);return i(...s),u}:i&&(r[n]=i):n==="style"?r[n]={...i,...o}:n==="className"&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...t,...r}}function Z_(t){var n,i;let e=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?t.ref:(e=(i=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:i.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}function Wg(t){const e=t+"CollectionProvider",[r,n]=Ia(e),[i,o]=r(e,{collectionRef:{current:null},itemMap:new Map}),a=p=>{const{scope:g,children:v}=p,y=X.useRef(null),w=X.useRef(new Map).current;return b.jsx(i,{scope:g,itemMap:w,collectionRef:y,children:v})};a.displayName=e;const s=t+"CollectionSlot",u=Ju(s),l=X.forwardRef((p,g)=>{const{scope:v,children:y}=p,w=o(s,v),S=Je(g,w.collectionRef);return b.jsx(u,{ref:S,children:y})});l.displayName=s;const c=t+"CollectionItemSlot",d="data-radix-collection-item",h=Ju(c),f=X.forwardRef((p,g)=>{const{scope:v,children:y,...w}=p,S=X.useRef(null),k=Je(g,S),C=o(c,v);return X.useEffect(()=>(C.itemMap.set(S,{ref:S,...w}),()=>void C.itemMap.delete(S))),b.jsx(h,{[d]:"",ref:k,children:y})});f.displayName=c;function m(p){const g=o(t+"CollectionConsumer",p);return X.useCallback(()=>{const y=g.collectionRef.current;if(!y)return[];const w=Array.from(y.querySelectorAll(`[${d}]`));return Array.from(g.itemMap.values()).sort((C,E)=>w.indexOf(C.ref.current)-w.indexOf(E.ref.current))},[g.collectionRef,g.itemMap])}return[{Provider:a,Slot:l,ItemSlot:f},m,n]}var Y_=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Ne=Y_.reduce((t,e)=>{const r=Ju(`Primitive.${e}`),n=x.forwardRef((i,o)=>{const{asChild:a,...s}=i,u=a?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),b.jsx(u,{...s,ref:o})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{});function VC(t,e){t&&Fa.flushSync(()=>t.dispatchEvent(e))}function Pn(t){const e=x.useRef(t);return x.useEffect(()=>{e.current=t}),x.useMemo(()=>(...r)=>{var n;return(n=e.current)==null?void 0:n.call(e,...r)},[])}function J_(t,e=globalThis==null?void 0:globalThis.document){const r=Pn(t);x.useEffect(()=>{const n=i=>{i.key==="Escape"&&r(i)};return e.addEventListener("keydown",n,{capture:!0}),()=>e.removeEventListener("keydown",n,{capture:!0})},[r,e])}var Q_="DismissableLayer",z0="dismissableLayer.update",$_="dismissableLayer.pointerDownOutside",eN="dismissableLayer.focusOutside",yb,WC=x.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Bh=x.forwardRef((t,e)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:i,onFocusOutside:o,onInteractOutside:a,onDismiss:s,...u}=t,l=x.useContext(WC),[c,d]=x.useState(null),h=(c==null?void 0:c.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,f]=x.useState({}),m=Je(e,E=>d(E)),p=Array.from(l.layers),[g]=[...l.layersWithOutsidePointerEventsDisabled].slice(-1),v=p.indexOf(g),y=c?p.indexOf(c):-1,w=l.layersWithOutsidePointerEventsDisabled.size>0,S=y>=v,k=rN(E=>{const R=E.target,A=[...l.branches].some(_=>_.contains(R));!S||A||(i==null||i(E),a==null||a(E),E.defaultPrevented||s==null||s())},h),C=nN(E=>{const R=E.target;[...l.branches].some(_=>_.contains(R))||(o==null||o(E),a==null||a(E),E.defaultPrevented||s==null||s())},h);return J_(E=>{y===l.layers.size-1&&(n==null||n(E),!E.defaultPrevented&&s&&(E.preventDefault(),s()))},h),x.useEffect(()=>{if(c)return r&&(l.layersWithOutsidePointerEventsDisabled.size===0&&(yb=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),l.layersWithOutsidePointerEventsDisabled.add(c)),l.layers.add(c),wb(),()=>{r&&l.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=yb)}},[c,h,r,l]),x.useEffect(()=>()=>{c&&(l.layers.delete(c),l.layersWithOutsidePointerEventsDisabled.delete(c),wb())},[c,l]),x.useEffect(()=>{const E=()=>f({});return document.addEventListener(z0,E),()=>document.removeEventListener(z0,E)},[]),b.jsx(Ne.div,{...u,ref:m,style:{pointerEvents:w?S?"auto":"none":void 0,...t.style},onFocusCapture:ye(t.onFocusCapture,C.onFocusCapture),onBlurCapture:ye(t.onBlurCapture,C.onBlurCapture),onPointerDownCapture:ye(t.onPointerDownCapture,k.onPointerDownCapture)})});Bh.displayName=Q_;var tN="DismissableLayerBranch",qC=x.forwardRef((t,e)=>{const r=x.useContext(WC),n=x.useRef(null),i=Je(e,n);return x.useEffect(()=>{const o=n.current;if(o)return r.branches.add(o),()=>{r.branches.delete(o)}},[r.branches]),b.jsx(Ne.div,{...t,ref:i})});qC.displayName=tN;function rN(t,e=globalThis==null?void 0:globalThis.document){const r=Pn(t),n=x.useRef(!1),i=x.useRef(()=>{});return x.useEffect(()=>{const o=s=>{if(s.target&&!n.current){let u=function(){HC($_,r,l,{discrete:!0})};const l={originalEvent:s};s.pointerType==="touch"?(e.removeEventListener("click",i.current),i.current=u,e.addEventListener("click",i.current,{once:!0})):u()}else e.removeEventListener("click",i.current);n.current=!1},a=window.setTimeout(()=>{e.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(a),e.removeEventListener("pointerdown",o),e.removeEventListener("click",i.current)}},[e,r]),{onPointerDownCapture:()=>n.current=!0}}function nN(t,e=globalThis==null?void 0:globalThis.document){const r=Pn(t),n=x.useRef(!1);return x.useEffect(()=>{const i=o=>{o.target&&!n.current&&HC(eN,r,{originalEvent:o},{discrete:!1})};return e.addEventListener("focusin",i),()=>e.removeEventListener("focusin",i)},[e,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function wb(){const t=new CustomEvent(z0);document.dispatchEvent(t)}function HC(t,e,r,{discrete:n}){const i=r.originalEvent.target,o=new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:r});e&&i.addEventListener(t,e,{once:!0}),n?VC(i,o):i.dispatchEvent(o)}var iN=Bh,oN=qC,Ht=globalThis!=null&&globalThis.document?x.useLayoutEffect:()=>{},aN="Portal",qg=x.forwardRef((t,e)=>{var s;const{container:r,...n}=t,[i,o]=x.useState(!1);Ht(()=>o(!0),[]);const a=r||i&&((s=globalThis==null?void 0:globalThis.document)==null?void 0:s.body);return a?LC.createPortal(b.jsx(Ne.div,{...n,ref:e}),a):null});qg.displayName=aN;function sN(t,e){return x.useReducer((r,n)=>e[r][n]??r,t)}var Uh=t=>{const{present:e,children:r}=t,n=lN(e),i=typeof r=="function"?r({present:n.isPresent}):x.Children.only(r),o=Je(n.ref,uN(i));return typeof r=="function"||n.isPresent?x.cloneElement(i,{ref:o}):null};Uh.displayName="Presence";function lN(t){const[e,r]=x.useState(),n=x.useRef(null),i=x.useRef(t),o=x.useRef("none"),a=t?"mounted":"unmounted",[s,u]=sN(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return x.useEffect(()=>{const l=dd(n.current);o.current=s==="mounted"?l:"none"},[s]),Ht(()=>{const l=n.current,c=i.current;if(c!==t){const h=o.current,f=dd(l);t?u("MOUNT"):f==="none"||(l==null?void 0:l.display)==="none"?u("UNMOUNT"):u(c&&h!==f?"ANIMATION_OUT":"UNMOUNT"),i.current=t}},[t,u]),Ht(()=>{if(e){let l;const c=e.ownerDocument.defaultView??window,d=f=>{const p=dd(n.current).includes(f.animationName);if(f.target===e&&p&&(u("ANIMATION_END"),!i.current)){const g=e.style.animationFillMode;e.style.animationFillMode="forwards",l=c.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=g)})}},h=f=>{f.target===e&&(o.current=dd(n.current))};return e.addEventListener("animationstart",h),e.addEventListener("animationcancel",d),e.addEventListener("animationend",d),()=>{c.clearTimeout(l),e.removeEventListener("animationstart",h),e.removeEventListener("animationcancel",d),e.removeEventListener("animationend",d)}}else u("ANIMATION_END")},[e,u]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:x.useCallback(l=>{n.current=l?getComputedStyle(l):null,r(l)},[])}}function dd(t){return(t==null?void 0:t.animationName)||"none"}function uN(t){var n,i;let e=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?t.ref:(e=(i=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:i.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}var cN=Qm[" useInsertionEffect ".trim().toString()]||Ht;function Qu({prop:t,defaultProp:e,onChange:r=()=>{},caller:n}){const[i,o,a]=dN({defaultProp:e,onChange:r}),s=t!==void 0,u=s?t:i;{const c=x.useRef(t!==void 0);x.useEffect(()=>{const d=c.current;d!==s&&console.warn(`${n} is changing from ${d?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),c.current=s},[s,n])}const l=x.useCallback(c=>{var d;if(s){const h=fN(c)?c(t):c;h!==t&&((d=a.current)==null||d.call(a,h))}else o(c)},[s,t,o,a]);return[u,l]}function dN({defaultProp:t,onChange:e}){const[r,n]=x.useState(t),i=x.useRef(r),o=x.useRef(e);return cN(()=>{o.current=e},[e]),x.useEffect(()=>{var a;i.current!==r&&((a=o.current)==null||a.call(o,r),i.current=r)},[r,i]),[r,n,o]}function fN(t){return typeof t=="function"}var KC=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),hN="VisuallyHidden",zh=x.forwardRef((t,e)=>b.jsx(Ne.span,{...t,ref:e,style:{...KC,...t.style}}));zh.displayName=hN;var pN=zh,Hg="ToastProvider",[Kg,vN,mN]=Wg("Toast"),[GC,WV]=Ia("Toast",[mN]),[gN,Vh]=GC(Hg),XC=t=>{const{__scopeToast:e,label:r="Notification",duration:n=5e3,swipeDirection:i="right",swipeThreshold:o=50,children:a}=t,[s,u]=x.useState(null),[l,c]=x.useState(0),d=x.useRef(!1),h=x.useRef(!1);return r.trim()||console.error(`Invalid prop \`label\` supplied to \`${Hg}\`. Expected non-empty \`string\`.`),b.jsx(Kg.Provider,{scope:e,children:b.jsx(gN,{scope:e,label:r,duration:n,swipeDirection:i,swipeThreshold:o,toastCount:l,viewport:s,onViewportChange:u,onToastAdd:x.useCallback(()=>c(f=>f+1),[]),onToastRemove:x.useCallback(()=>c(f=>f-1),[]),isFocusedToastEscapeKeyDownRef:d,isClosePausedRef:h,children:a})})};XC.displayName=Hg;var ZC="ToastViewport",yN=["F8"],V0="toast.viewportPause",W0="toast.viewportResume",YC=x.forwardRef((t,e)=>{const{__scopeToast:r,hotkey:n=yN,label:i="Notifications ({hotkey})",...o}=t,a=Vh(ZC,r),s=vN(r),u=x.useRef(null),l=x.useRef(null),c=x.useRef(null),d=x.useRef(null),h=Je(e,d,a.onViewportChange),f=n.join("+").replace(/Key/g,"").replace(/Digit/g,""),m=a.toastCount>0;x.useEffect(()=>{const g=v=>{var w;n.length!==0&&n.every(S=>v[S]||v.code===S)&&((w=d.current)==null||w.focus())};return document.addEventListener("keydown",g),()=>document.removeEventListener("keydown",g)},[n]),x.useEffect(()=>{const g=u.current,v=d.current;if(m&&g&&v){const y=()=>
40{if(!a.isClosePausedRef.current){const C=new CustomEvent(V0);v.dispatchEvent(C),a.isClosePausedRef.current=!0}},w=()=>{if(a.isClosePausedRef.current){const C=new CustomEvent(W0);v.dispatchEvent(C),a.isClosePausedRef.current=!1}},S=C=>{!g.contains(C.relatedTarget)&&w()},k=()=>{g.contains(document.activeElement)||w()};return g.addEventListener("focusin",y),g.addEventListener("focusout",S),g.addEventListener("pointermove",y),g.addEventListener("pointerleave",k),window.addEventListener("blur",y),window.addEventListener("focus",w),()=>{g.removeEventListener("focusin",y),g.removeEventListener("focusout",S),g.removeEventListener("pointermove",y),g.removeEventListener("pointerleave",k),window.removeEventListener("blur",y),window.removeEventListener("focus",w)}}},[m,a.isClosePausedRef]);const p=x.useCallback(({tabbingDirection:g})=>{const y=s().map(w=>{const S=w.ref.current,k=[S,..._N(S)];return g==="forwards"?k:k.reverse()});return(g==="forwards"?y.reverse():y).flat()},[s]);return x.useEffect(()=>{const g=d.current;if(g){const v=y=>
40{var k,C,E;const w=y.altKey||y.ctrlKey||y.metaKey;if(y.key==="Tab"&&!w){const R=document.activeElement,A=y.shiftKey;if(y.target===g&&A){(k=l.current)==null||k.focus();return}const D=p({tabbingDirection:A?"backwards":"forwards"}),M=D.findIndex(L=>L===R);sv(D.slice(M+1))?y.preventDefault():A?(C=l.current)==null||C.focus():(E=c.current)==null||E.focus()}};return g.addEventListener("keydown",v),()=>g.removeEventListener("keydown",v)}},[s,p]),b.jsxs(oN,{ref:u,role:"region","aria-label":i.replace("{hotkey}",f),tabIndex:-1,style:{pointerEvents:m?void 0:"none"},children:[m&&b.jsx(q0,{ref:l,onFocusFromOutsideViewport:()=>{const g=p({tabbingDirection:"forwards"});sv(g)}}),b.jsx(Kg.Slot,{scope:r,children:b.jsx(Ne.ol,{tabIndex:-1,...o,ref:h})}),m&&b.jsx(q0,{ref:c,onFocusFromOutsideViewport:()=>{const g=p({tabbingDirection:"backwards"});sv(g)}})]})});YC.displayName=ZC;var JC="ToastFocusProxy",q0=x.forwardRef((t,e)=>{const{__scopeToast:r,onFocusFromOutsideViewport:n,...i}=t,o=Vh(JC,r);return b.jsx(zh,{"aria-hidden":!0,tabIndex:0,...i,ref:e,style:{position:"fixed"},onFocus:a=>{var l;const s=a.relatedTarget;!((l=o.viewport)!=null&&l.contains(s))&&n()}})});q0.displayName=JC;var Nc="Toast",wN="toast.swipeStart",bN="toast.swipeMove",xN="toast.swipeCancel",SN="toast.swipeEnd",QC=x.forwardRef((t,e)=>{const{forceMount:r,open:n,defaultOpen:i,onOpenChange:o,...a}=t,[s,u]=Qu({prop:n,defaultProp:i??!0,onChange:o,caller:Nc});return b.jsx(Uh,{present:r||s,children:b.jsx(EN,{open:s,...a,ref:e,onClose:()=>u(!1),onPause:Pn(t.onPause),onResume:Pn(t.onResume),onSwipeStart:ye(t.onSwipeStart,l=>{l.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:ye(t.onSwipeMove,l=>{const{x:c,y:d}=l.detail.delta;l.currentTarget.setAttribute("data-swipe","move"),l.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${c}px`),l.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${d}px`)}),onSwipeCancel:ye(t.onSwipeCancel,l=>{l.currentTarget.setAttribute("data-swipe","cancel"),l.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),l.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),l.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),l.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:ye(t.onSwipeEnd,l=>{const{x:c,y:d}=l.detail.delta;l.currentTarget.setAttribute("data-swipe","end"),l.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),l.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),l.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${c}px`),l.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${d}px`),u(!1)})})})});QC.displayName=Nc;var[kN,CN]=GC(Nc,{onClose(){}}),EN=x.forwardRef((t,e)=>{const{__scopeToast:r,type:n="foreground",duration:i,open:o,onClose:a,onEscapeKeyDown:s,onPause:u,onResume:l,onSwipeStart:c,onSwipeMove:d,onSwipeCancel:h,onSwipeEnd:f,...m}=t,p=Vh(Nc,r),[g,v]=x.useState(null),y=Je(e,L=>v(L)),w=x.useRef(null),S=x.useRef(null),k=i||p.duration,C=x.useRef(0),E=x.useRef(k),R=x.useRef(0),{onToastAdd:A,onToastRemove:_}=p,O=Pn(()=>{var N;(g==null?void 0:g.contains(document.activeElement))&&((N=p.viewport)==null||N.focus()),a()}),D=x.useCallback(L=>{!L||L===1/0||(window.clearTimeout(R.current),C.current=new Date().getTime(),R.current=window.setTimeout(O,L))},[O]);x.useEffect(()=>{const L=p.viewport;if(L){const N=()=>{D(E.current),l==null||l()},j=()=>{const V=new Date().getTime()-C.current;E.current=E.current-V,window.clearTimeout(R.current),u==null||u()};return L.addEventListener(V0,j),L.addEventListener(W0,N),()=>{L.removeEventListener(V0,j),L.removeEventListener(W0,N)}}},[p.viewport,k,u,l,D]),x.useEffect(()=>{o&&!p.isClosePausedRef.current&&D(k)},[o,k,p.isClosePausedRef,D]),x.useEffect(()=>(A(),()=>_()),[A,_]);const M=x.useMemo(()=>g?oE(g):null,[g]);return p.viewport?b.jsxs(b.Fragment,{children:[M&&b.jsx(TN,{__scopeToast:r,role:"status","aria-live":n==="foreground"?"assertive":"polite","aria-atomic":!0,children:M}),b.jsx(kN,{scope:r,onClose:O,children:Fa.createPortal(b.jsx(Kg.ItemSlot,{scope:r,children:b.jsx(iN,{asChild:!0,onEscapeKeyDown:ye(s,()=>{p.isFocusedToastEscapeKeyDownRef.current||O(),p.isFocusedToastEscapeKeyDownRef.current=!1}),children:b.jsx(Ne.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":o?"open":"closed","data-swipe-direction":p.swipeDirection,...m,ref:y,style:{userSelect:"none",touchAction:"none",...t.style},onKeyDown:ye(t.onKeyDown,L=>{L.key==="Escape"&&(s==null||s(L.nativeEvent),L.nativeEvent.defaultPrevented||(p.isFocusedToastEscapeKeyDownRef.current=!0,O()))}),onPointerDown:ye(t.onPointerDown,L=>{L.button===0&&(w.current={x:L.clientX,y:L.clientY})}),onPointerMove:ye(t.onPointerMove,L=>{if(!w.current)return;const N=L.clientX-w.current.x,j=L.clientY-w.current.y,V=!!S.current,I=["left","right"].includes(p.swipeDirection),B=["left","up"].includes(p.swipeDirection)?Math.min:Math.max,z=I?B(0,N):0,Q=I?0:B(0,j),Y=L.pointerType==="touch"?10:2,de={x:z,y:Q},ee={originalEvent:L,delta:de};V?(S.current=de,fd(bN,d,ee,{discrete:!1})):bb(de,p.swipeDirection,Y)?(S.current=de,fd(wN,c,ee,{discrete:!1}),L.target.setPointerCapture(L.pointerId)):(Math.abs(N)>Y||Math.abs(j)>Y)&&(w.current=null)}),onPointerUp:ye(t.onPointerUp,L=>{const N=S.current,j=L.target;if(j.hasPointerCapture(L.pointerId)&&j.releasePointerCapture(L.pointerId),S.current=null,w.current=null,N){const V=L.currentTarget,I={originalEvent:L,delta:N};bb(N,p.swipeDirection,p.swipeThreshold)?fd(SN,f,I,{discrete:!0}):fd(xN,h,I,{discrete:!0}),V.addEventListener("click",B=>B.preventDefault(),{once:!0})}})})})}),p.viewport)})]}):null}),TN=t=>{const{__scopeToast:e,children:r,...n}=t,i=Vh(Nc,e),[o,a]=x.useState(!1),[s,u]=x.useState(!1);return AN(()=>a(!0)),x.useEffect(()=>{const l=window.setTimeout(()=>u(!0),1e3);return()=>window.clearTimeout(l)},[]),s?null:b.jsx(qg,{asChild:!0,children:b.jsx(zh,{...n,children:o&&b.jsxs(b.Fragment,{children:[i.label," ",r]})})})},PN="ToastTitle",$C=x.forwardRef((t,e)=>{const{__scopeToast:r,...n}=t;return b.jsx(Ne.div,{...n,ref:e})});$C.displayName=PN;var RN="ToastDescription",eE=x.forwardRef((t,e)=>{const{__scopeToast:r,...n}=t;return b.jsx(Ne.div,{...n,ref:e})});eE.displayName=RN;var tE="ToastAction",rE=x.forwardRef((t,e)=>{const{altText:r,...n}=t;return r.trim()?b.jsx(iE,{altText:r,asChild:!0,children:b.jsx(Gg,{...n,ref:e})}):(console.error(`Invalid prop \`altText\` supplied to \`${tE}\`. Expected non-empty \`string\`.`),null)});rE.displayName=tE;var nE="ToastClose",Gg=x.forwardRef((t,e)=>{const{__scopeToast:r,...n}=t,i=CN(nE,r);return b.jsx(iE,{asChild:!0,children:b.jsx(Ne.button,{type:"button",...n,ref:e,onClick:ye(t.onClick,i.onClose)})})});Gg.displayName=nE;var iE=x.forwardRef((t,e)=>{const{__scopeToast:r,altText:n,...i}=t;return b.jsx(Ne.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":n||void 0,...i,ref:e})});function oE(t){const e=[];
vendor: 4,789 bytes, lines 40-70
40return Array.from(t.childNodes).forEach(n=>{if(n.nodeType===n.TEXT_NODE&&n.textContent&&e.push(n.textContent),ON(n)){const i=n.ariaHidden||n.hidden||n.style.display==="none",o=n.dataset.radixToastAnnounceExclude==="";if(!i)if(o){const a=n.dataset.radixToastAnnounceAlt;a&&e.push(a)}else e.push(...oE(n))}}),e}function fd(t,e,r,{discrete:n}){const i=r.originalEvent.currentTarget,o=new CustomEvent(t,{bubbles:!0,cancelable:!0,detail:r});e&&i.addEventListener(t,e,{once:!0}),n?VC(i,o):i.dispatchEvent(o)}var bb=(t,e,r=0)=>{const n=Math.abs(t.x),i=Math.abs(t.y),o=n>i;return e==="left"||e==="right"?o&&n>r:!o&&i>r};function AN(t=()=>{}){const e=Pn(t);Ht(()=>{let r=0,n=0;return r=window.requestAnimationFrame(()=>n=window.requestAnimationFrame(e)),()=>{window.cancelAnimationFrame(r),window.cancelAnimationFrame(n)}},[e])}function ON(t){return t.nodeType===t.ELEMENT_NODE}function _N(t){const e=[],r=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const i=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||i?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)e.push(r.currentNode);return e}function sv(t){const e=document.activeElement;return t.some(r=>r===e?!0:(r.focus(),document.activeElement!==e))}var NN=XC,aE=YC,sE=QC,lE=$C,uE=eE,cE=rE,dE=Gg;function fE(t){var e,r,n="";if(typeof t=="string"||typeof t=="number")n+=t;else if(typeof t=="object")if(Array.isArray(t)){var i=t.length;for(e=0;e<i;e++)t[e]&&(r=fE(t[e]))&&(n&&(n+=" "),n+=r)}else for(r in t)t[r]&&(n&&(n+=" "),n+=r);return n}function hE(){for(var t,e,r=0,n="",i=arguments.length;r<i;r++)(t=arguments[r])&&(e=fE(t))&&(n&&(n+=" "),n+=e);return n}const xb=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,Sb=hE,Xg=(t,e)=>r=>{var n;if((e==null?void 0:e.variants)==null)return Sb(t,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:i,defaultVariants:o}=e,a=Object.keys(i).map(l=>{const c=r==null?void 0:r[l],d=o==null?void 0:o[l];if(c===null)return null;const h=xb(c)||xb(d);return i[l][h]}),s=r&&Object.entries(r).reduce((l,c)=>{let[d,h]=c;return h===void 0||(l[d]=h),l},{}),u=e==null||(n=e.compoundVariants)===null||n===void 0?void 0:n.reduce((l,c)=>{let{class:d,className:h,...f}=c;return Object.entries(f).every(m=>{let[p,g]=m;return Array.isArray(g)?g.includes({...o,...s}[p]):{...o,...s}[p]===g})?[...l,d,h]:l},[]);return Sb(t,a,u,r==null?void 0:r.class,r==null?void 0:r.className)};/**
41 * @license lucide-react v0.462.0 - ISC
42 *
43 * This source code is licensed under the ISC license.
44 * See the LICENSE file in the root directory of this source tree.
45 */const jN=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),pE=(...t)=>t.filter((e,r,n)=>!!e&&e.trim()!==""&&n.indexOf(e)===r).join(" ").trim();/**
46 * @license lucide-react v0.462.0 - ISC
47 *
48 * This source code is licensed under the ISC license.
49 * See the LICENSE file in the root directory of this source tree.
50 */var FN={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
51 * @license lucide-react v0.462.0 - ISC
52 *
53 * This source code is licensed under the ISC license.
54 * See the LICENSE file in the root directory of this source tree.
55 */const IN=x.forwardRef(({color:t="currentColor",size:e=24,strokeWidth:r=2,absoluteStrokeWidth:n,className:i="",children:o,iconNode:a,...s},u)=>x.createElement("svg",{ref:u,...FN,width:e,height:e,stroke:t,strokeWidth:n?Number(r)*24/Number(e):r,className:pE("lucide",i),...s},[...a.map(([l,c])=>x.createElement(l,c)),...Array.isArray(o)?o:[o]]));/**
56 * @license lucide-react v0.462.0 - ISC
57 *
58 * This source code is licensed under the ISC license.
59 * See the LICENSE file in the root directory of this source tree.
60 */const rt=(t,e)=>{const r=x.forwardRef(({className:n,...i},o)=>x.createElement(IN,{ref:o,iconNode:e,className:pE(`lucide-${jN(t)}`,n),...i}));return r.displayName=`${t}`,r};/**
61 * @license lucide-react v0.462.0 - ISC
62 *
63 * This source code is licensed under the ISC license.
64 * See the LICENSE file in the root directory of this source tree.
65 */const DN=rt("Briefcase",[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]]);/**
66 * @license lucide-react v0.462.0 - ISC
67 *
68 * This source code is licensed under the ISC license.
69 * See the LICENSE file in the root directory of this source tree.
70 */const MN=rt("Building2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}
70],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]]);/**
71 * @license lucide-react v0.462.0 - ISC
72 *
73 * This source code is licensed under the ISC license.
74 * See the LICENSE file in the root directory of this source tree.
75 */const LN=rt("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);/**
76 * @license lucide-react v0.462.0 - ISC
77 *
78 * This source code is licensed under the ISC license.
79 * See the LICENSE file in the root directory of this source tree.
80 */const vE=rt("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
81 * @license lucide-react v0.462.0 - ISC
82 *
83 * This source code is licensed under the ISC license.
84 * See the LICENSE file in the root directory of this source tree.
85 */const mE=rt("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
86 * @license lucide-react v0.462.0 - ISC
87 *
88 * This source code is licensed under the ISC license.
89 * See the LICENSE file in the root directory of this source tree.
90 */const Zg=rt("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/**
91 * @license lucide-react v0.462.0 - ISC
92 *
93 * This source code is licensed under the ISC license.
94 * See the LICENSE file in the root directory of this source tree.
95 */const Yg=rt("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
96 * @license lucide-react v0.462.0 - ISC
97 *
98 * This source code is licensed under the ISC license.
99 * See the LICENSE file in the root directory of this source tree.
100 */const BN=rt("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/**
101 * @license lucide-react v0.462.0 - ISC
102 *
103 * This source code is licensed under the ISC license.
104 * See the LICENSE file in the root directory of this source tree.
105 */const UN=rt("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/**
106 * @license lucide-react v0.462.0 - ISC
107 *
108 * This source code is licensed under the ISC license.
109 * See the LICENSE file in the root directory of this source tree.
110 */const zN=rt("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);/**
111 * @license lucide-react v0.462.0 - ISC
112 *
113 * This source code is licensed under the ISC license.
114 * See the LICENSE file in the root directory of this source tree.
115 */const gE=rt("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
116 * @license lucide-react v0.462.0 - ISC
117 *
118 * This source code is licensed under the ISC license.
119 * See the LICENSE file in the root directory of this source tree.
120 */const VN=rt("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);/**
121 * @license lucide-react v0.462.0 - ISC
122 *
123 * This source code is licensed under the ISC license.
124 * See the LICENSE file in the root directory of this source tree.
125 */const WN=rt("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]]);/**
126 * @license lucide-react v0.462.0 - ISC
127 *
128 * This source code is licensed under the ISC license.
129 * See the LICENSE file in the root directory of this source tree.
130 */const Jg=rt("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);/**
131 * @license lucide-react v0.462.0 - ISC
132 *
133 * This source code is licensed under the ISC license.
134 * See the LICENSE file in the root directory of this source tree.
135 */const qN=rt("LogIn",[["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",ke
135y:"u53s6r"}],["polyline",{points:"10 17 15 12 10 7",key:"1ail0h"}],["line",{x1:"15",x2:"3",y1:"12",y2:"12",key:"v6grx8"}]]);/**
136 * @license lucide-react v0.462.0 - ISC
137 *
138 * This source code is licensed under the ISC license.
139 * See the LICENSE file in the root directory of this source tree.
140 */const HN=rt("LogOut",[["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}],["polyline",{points:"16 17 21 12 16 7",key:"1gabdz"}],["line",{x1:"21",x2:"9",y1:"12",y2:"12",key:"1uyos4"}]]);/**
141 * @license lucide-react v0.462.0 - ISC
142 *
143 * This source code is licensed under the ISC license.
144 * See the LICENSE file in the root directory of this source tree.
145 */const KN=rt("MapPin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);/**
146 * @license lucide-react v0.462.0 - ISC
147 *
148 * This source code is licensed under the ISC license.
149 * See the LICENSE file in the root directory of this source tree.
150 */const kb=rt("MessageCircle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);/**
151 * @license lucide-react v0.462.0 - ISC
152 *
153 * This source code is licensed under the ISC license.
154 * See the LICENSE file in the root directory of this source tree.
155 */const GN=rt("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);/**
156 * @license lucide-react v0.462.0 - ISC
157 *
158 * This source code is licensed under the ISC license.
159 * See the LICENSE file in the root directory of this source tree.
160 */const XN=rt("RotateCcw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);/**
161 * @license lucide-react v0.462.0 - ISC
162 *
163 * This source code is licensed under the ISC license.
164 * See the LICENSE file in the root directory of this source tree.
165 */const ZN=rt("Ruler",[["path",{d:"M21.3 15.3a2.4 2.4 0 0 1 0 3.4l-2.6 2.6a2.4 2.4 0 0 1-3.4 0L2.7 8.7a2.41 2.41 0 0 1 0-3.4l2.6-2.6a2.41 2.41 0 0 1 3.4 0Z",key:"icamh8"}],["path",{d:"m14.5 12.5 2-2",key:"inckbg"}],["path",{d:"m11.5 9.5 2-2",key:"fmmyf7"}],["path",{d:"m8.5 6.5 2-2",key:"vc6u1g"}],["path",{d:"m17.5 15.5 2-2",key:"wo5hmg"}]]);/**
166 * @license lucide-react v0.462.0 - ISC
167 *
168 * This source code is licensed under the ISC license.
169 * See the LICENSE file in the root directory of this source tree.
170 */const YN=rt("Scale",[["path",{d:"m16 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"7g6ntu"}],["path",{d:"m2 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"ijws7r"}],["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M12 3v18",key:"108xh3"}],["path",{d:"M3 7h2c2 0 5-1 7-2 2 1 5 2 7 2h2",key:"3gwbw2"}]]);/**
171 * @license lucide-react v0.462.0 - ISC
172 *
173 * This source code is licensed under the ISC license.
174 * See the LICENSE file in the root directory of this source tree.
175 */const JN=rt("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
176 * @license lucide-react v0.462.0 - ISC
177 *
178 * This source code is licensed under the ISC license.
179 * See the LICENSE file in the root directory of this source tree.
180 */const Cb=rt("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);/**
181 * @license lucide-react v0.462.0 - ISC
182 *
183 * This source code is licensed under the ISC license.
184 * See the LICENSE file in the root directory of this source tree.
185 */const QN=rt("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/**
186 * @license lucide-react v0.462.0 - ISC
187 *
188 * This source code is licensed under the ISC license.
189 * See the LICENSE file in the root directory of this source tree.
190 */const Eb=rt("Warehouse",[["path",{d:"M22 8.35V20a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8.35A2 2 0 0 1 3.26 6.5l8-3.2a2 2 0 0 1 1.48 0l8 3.2A2 2 0 0 1 22 8.35Z",key:"gksnxg"}],["path",{d:"M6 18h12",key:"9pbo8z"}],["path",{d:"M6 14h12",key:"4cwo0f"}],["rect",{width:"12",height:"12",x:"6",y:"10",key:"apd30q"}]]);/**
191 * @license lucide-react v0.462.0 - ISC
192 *
193 * This source code is licensed under the ISC license.
194 * See the LICENSE file in the root directory of this source tree.
195 */const $N=rt("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
vendor: 12,256 bytes, line 195
195],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),Qg="-",ej=t=>{const e=rj(t),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=t;return{getClassGroupId:a=>{const s=a.split(Qg);return s[0]===""&&s.length!==1&&s.shift(),yE(s,e)||tj(a)},getConflictingClassGroupIds:(a,s)=>{const u=r[a]||[];return s&&n[a]?[...u,...n[a]]:u}}},yE=(t,e)=>{var a;if(t.length===0)return e.classGroupId;const r=t[0],n=e.nextPart.get(r),i=n?yE(t.slice(1),n):void 0;if(i)return i;if(e.validators.length===0)return;const o=t.join(Qg);return(a=e.validators.find(({validator:s})=>s(o)))==null?void 0:a.classGroupId},Tb=/^\[(.+)\]$/,tj=t=>{if(Tb.test(t)){const e=Tb.exec(t)[1],r=e==null?void 0:e.substring(0,e.indexOf(":"));if(r)return"arbitrary.."+r}},rj=t=>{const{theme:e,prefix:r}=t,n={nextPart:new Map,validators:[]};return ij(Object.entries(t.classGroups),r).forEach(([o,a])=>{H0(a,n,o,e)}),n},H0=(t,e,r,n)=>{t.forEach(i=>{if(typeof i=="string"){const o=i===""?e:Pb(e,i);o.classGroupId=r;return}if(typeof i=="function"){if(nj(i)){H0(i(n),e,r,n);return}e.validators.push({validator:i,classGroupId:r});return}Object.entries(i).forEach(([o,a])=>{H0(a,Pb(e,o),r,n)})})},Pb=(t,e)=>{let r=t;return e.split(Qg).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},nj=t=>t.isThemeGetter,ij=(t,e)=>e?t.map(([r,n])=>{const i=n.map(o=>typeof o=="string"?e+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([a,s])=>[e+a,s])):o);return[r,i]}):t,oj=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,r=new Map,n=new Map;const i=(o,a)=>{r.set(o,a),e++,e>t&&(e=0,n=r,r=new Map)};return{get(o){let a=r.get(o);if(a!==void 0)return a;if((a=n.get(o))!==void 0)return i(o,a),a},set(o,a){r.has(o)?r.set(o,a):i(o,a)}}},wE="!",aj=t=>{const{separator:e,experimentalParseClassName:r}=t,n=e.length===1,i=e[0],o=e.length,a=s=>{const u=[];let l=0,c=0,d;for(let g=0;g<s.length;g++){let v=s[g];if(l===0){if(v===i&&(n||s.slice(g,g+o)===e)){u.push(s.slice(c,g)),c=g+o;continue}if(v==="/"){d=g;continue}}v==="["?l++:v==="]"&&l--}const h=u.length===0?s:s.substring(c),f=h.startsWith(wE),m=f?h.substring(1):h,p=d&&d>c?d-c:void 0;return{modifiers:u,hasImportantModifier:f,baseClassName:m,maybePostfixModifierPosition:p}};return r?s=>r({className:s,parseClassName:a}):a},sj=t=>{if(t.length<=1)return t;const e=[];let r=[];return t.forEach(n=>{n[0]==="["?(e.push(...r.sort(),n),r=[]):r.push(n)}),e.push(...r.sort()),e},lj=t=>({cache:oj(t.cacheSize),parseClassName:aj(t),...ej(t)}),uj=/\s+/,cj=(t,e)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:i}=e,o=[],a=t.trim().split(uj);let s="";for(let u=a.length-1;u>=0;u-=1){const l=a[u],{modifiers:c,hasImportantModifier:d,baseClassName:h,maybePostfixModifierPosition:f}=r(l);let m=!!f,p=n(m?h.substring(0,f):h);if(!p){if(!m){s=l+(s.length>0?" "+s:s);continue}if(p=n(h),!p){s=l+(s.length>0?" "+s:s);continue}m=!1}const g=sj(c).join(":"),v=d?g+wE:g,y=v+p;if(o.includes(y))continue;o.push(y);const w=i(p,m);for(let S=0;S<w.length;++S){const k=w[S];o.push(v+k)}s=l+(s.length>0?" "+s:s)}return s};function dj(){let t=0,e,r,n="";for(;t<arguments.length;)(e=arguments[t++])&&(r=bE(e))&&(n&&(n+=" "),n+=r);return n}const bE=t=>{if(typeof t=="string")return t;let e,r="";for(let n=0;n<t.length;n++)t[n]&&(e=bE(t[n]))&&(r&&(r+=" "),r+=e);return r};function fj(t,...e){let r,n,i,o=a;function a(u){const l=e.reduce((c,d)=>d(c),t());return r=lj(l),n=r.cache.get,i=r.cache.set,o=s,s(u)}function s(u){const l=n(u);if(l)return l;const c=cj(u,r);return i(u,c),c}return function(){return o(dj.apply(null,arguments))}}const ot=t=>{const e=r=>r[t]||[];return e.isThemeGetter=!0,e},xE=/^\[(?:([a-z-]+):)?(.+)\]$/i,hj=/^\d+\/\d+$/,pj=new Set(["px","full","screen"]),vj=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,mj=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,gj=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,yj=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,wj=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Jn=t=>Fs(t)||pj.has(t)||hj.test(t),_i=t=>pl(t,"length",Pj),Fs=t=>!!t&&!Number.isNaN(Number(t)),lv=t=>pl(t,"number",Fs),Bl=t=>!!t&&Number.isInteger(Number(t)),bj=t=>t.endsWith("%")&&Fs(t.slice(0,-1)),Te=t=>xE.test(t),Ni=t=>vj.test(t),xj=new Set(["length","size","percentage"]),Sj=t=>pl(t,xj,SE),kj=t=>pl(t,"position",SE),Cj=new Set(["image","url"]),Ej=t=>pl(t,Cj,Aj),Tj=t=>pl(t,"",Rj),Ul=()=>!0,pl=(t,e,r)=>{const n=xE.exec(t);return n?n[1]?typeof e=="string"?n[1]===e:e.has(n[1]):r(n[2]):!1},Pj=t=>mj.test(t)&&!gj.test(t),SE=()=>!1,Rj=t=>yj.test(t),Aj=t=>wj.test(t),Oj=()=>{const t=ot("colors"),e=ot("spacing"),r=ot("blur"),n=ot("brightness"),i=ot("borderColor"),o=ot("borderRadius"),a=ot("borderSpacing"),s=ot("borderWidth"),u=ot("contrast"),l=ot("grayscale"),c=ot("hueRotate"),d=ot("invert"),h=ot("gap"),f=ot("gradientColorStops"),m=ot("gradientColorStopPositions"),p=ot("inset"),g=ot("margin"),v=ot("opacity"),y=ot("padding"),w=ot("saturate"),S=ot("scale"),k=ot("sepia"),C=ot("skew"),E=ot("space"),R=ot("translate"),A=()=>["auto","contain","none"],_=()=>["auto","hidden","clip","visible","scroll"],O=()=>["auto",Te,e],D=()=>[Te,e],M=()=>["",Jn,_i],L=()=>["auto",Fs,Te],N=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],j=()=>["solid","dashed","dotted","double","none"],V=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],I=()=>["start","end","center","between","around","evenly","stretch"],B=()=>["","0",Te],z=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Q=()=>[Fs,Te];return{cacheSize:500,separator:":",theme:{colors:[Ul],spacing:[Jn,_i],blur:["none","",Ni,Te],brightness:Q(),borderColor:[t],borderRadius:["none","","full",Ni,Te],borderSpacing:D(),borderWidth:M(),contrast:Q(),grayscale:B(),hueRotate:Q(),invert:B(),gap:D(),gradientColorStops:[t],gradientColorStopPositions:[bj,_i],inset:O(),margin:O(),opacity:Q(),padding:D(),saturate:Q(),scale:Q(),sepia:B(),skew:Q(),space:D(),translate:D()},classGroups:{aspect:[{aspect:["auto","square","video",Te]}],container:["container"],columns:[{columns:[Ni]}],"break-after":[{"break-after":z()}],"break-before":[{"break-before":z()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...N(),Te]}],overflow:[{overflow:_()}],"overflow-x":[{"overflow-x":_()}],"overflow-y":[{"overflow-y":_()}],overscroll:[{overscroll:A()}],"overscroll-x":[{"overscroll-x":A()}],"overscroll-y":[{"overscroll-y":A()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[p]}],"inset-x":[{"inset-x":[p]}],"inset-y":[{"inset-y":[p]}],start:[{start:[p]}],end:[{end:[p]}],top:[{top:[p]}],right:[{right:[p]}],bottom:[{bottom:[p]}],left:[{left:[p]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Bl,Te]}],basis:[{basis:O()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Te]}],grow:[{grow:B()}],shrink:[{shrink:B()}],order:[{order:["first","last","none",Bl,Te]}],"grid-cols":[{"grid-cols":[Ul]}],"col-start-end":[{col:["auto",{span:["full",Bl,Te]},Te]}],"col-start":[{"col-start":L()}],"col-end":[{"col-end":L()}],"grid-rows":[{"grid-rows":[Ul]}],"row-start-end":[{row:["auto",{span:[Bl,Te]},Te]}],"row-start":[{"row-start":L()}],"row-end":[{"row-end":L()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Te]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Te]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...I()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...I(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...I(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[E]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[E]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Te,e]}],"min-w":[{"min-w":[Te,e,"min","max","fit"]}],"max-w":[{"max-w":[Te,e,"none","full","min","max","fit","prose",{screen:[Ni]},Ni]}],h:[{h:[Te,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Te,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Te,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Te,e,"auto","min","max","fit"]}],"font-size":[{text:["base",Ni,_i]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",lv]}],"font-family":[{font:[Ul]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",Te]}],"line-clamp":[{"line-clamp":["none",Fs,lv]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Jn,Te]}],"list-image":[{"list-image":["none",Te]}],"list-style-type":[{list:["none","disc","decimal",Te]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...j(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Jn,_i]}],"underline-offset":[{"underline-offset":["auto",Jn,Te]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:D()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Te]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Te]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...N(),kj]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Sj]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Ej]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[m]}
vendor: 5,180 bytes, line 195
195],"gradient-via-pos":[{via:[m]}],"gradient-to-pos":[{to:[m]}],"gradient-from":[{from:[f]}],"gradient-via":[{via:[f]}],"gradient-to":[{to:[f]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[...j(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:j()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...j()]}],"outline-offset":[{"outline-offset":[Jn,Te]}],"outline-w":[{outline:[Jn,_i]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:M()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[Jn,_i]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",Ni,Tj]}],"shadow-color":[{shadow:[Ul]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...V(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":V()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",Ni,Te]}],grayscale:[{grayscale:[l]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[d]}],saturate:[{saturate:[w]}],sepia:[{sepia:[k]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[l]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[w]}],"backdrop-sepia":[{"backdrop-sepia":[k]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Te]}],duration:[{duration:Q()}],ease:[{ease:["linear","in","out","in-out",Te]}],delay:[{delay:Q()}],animate:[{animate:["none","spin","ping","pulse","bounce",Te]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[Bl,Te]}],"translate-x":[{"translate-x":[R]}],"translate-y":[{"translate-y":[R]}],"skew-x":[{"skew-x":[C]}],"skew-y":[{"skew-y":[C]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Te]}],accent:[{accent:["auto",t]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Te]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":D()}],"scroll-mx":[{"scroll-mx":D()}],"scroll-my":[{"scroll-my":D()}],"scroll-ms":[{"scroll-ms":D()}],"scroll-me":[{"scroll-me":D()}],"scroll-mt":[{"scroll-mt":D()}],"scroll-mr":[{"scroll-mr":D()}],"scroll-mb":[{"scroll-mb":D()}],"scroll-ml":[{"scroll-ml":D()}],"scroll-p":[{"scroll-p":D()}],"scroll-px":[{"scroll-px":D()}],"scroll-py":[{"scroll-py":D()}],"scroll-ps":[{"scroll-ps":D()}],"scroll-pe":[{"scroll-pe":D()}],"scroll-pt":[{"scroll-pt":D()}],"scroll-pr":[{"scroll-pr":D()}],"scroll-pb":[{"scroll-pb":D()}],"scroll-pl":[{"scroll-pl":D()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}
vendor: 4,647 bytes, line 195
195],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Te]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[Jn,_i,lv]}],stroke:[{stroke:[t,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},_j=fj(Oj);function De(...t){return _j(hE(t))}const Nj=NN,kE=x.forwardRef(({className:t,...e},r)=>b.jsx(aE,{ref:r,className:De("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",t),...e}));kE.displayName=aE.displayName;const jj=Xg("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),CE=x.forwardRef(({className:t,variant:e,...r},n)=>b.jsx(sE,{ref:n,className:De(jj({variant:e}),t),...r}));CE.displayName=sE.displayName;const Fj=x.forwardRef(({className:t,...e},r)=>b.jsx(cE,{ref:r,className:De("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors group-[.destructive]:border-muted/40 hover:bg-secondary group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 group-[.destructive]:focus:ring-destructive disabled:pointer-events-none disabled:opacity-50",t),...e}));Fj.displayName=cE.displayName;const EE=x.forwardRef(({className:t,...e},r)=>b.jsx(dE,{ref:r,className:De("absolute right-2 top-2 rounded-md p-1 text-foreground
195/50 opacity-0 transition-opacity group-hover:opacity-100 group-[.destructive]:text-red-300 hover:text-foreground group-[.destructive]:hover:text-red-50 focus:opacity-100 focus:outline-none focus:ring-2 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",t),"toast-close":"",...e,children:b.jsx($N,{className:"h-4 w-4"})}));EE.displayName=dE.displayName;const TE=x.forwardRef(({className:t,...e},r)=>b.jsx(lE,{ref:r,className:De("text-sm font-semibold",t),...e}));TE.displayName=lE.displayName;const PE=x.forwardRef(({className:t,...e},r)=>b.jsx(uE,{ref:r,className:De("text-sm opacity-90",t),...e}));PE.displayName=uE.displayName;function Ij(){const{toasts:t}=V_();return b.jsxs(Nj,{children:[t.map(function({id:e,title:r,description:n,action:i,...o}){return b.jsxs(CE,{...o,children:[b.jsxs("div",{className:"grid gap-1",children:[r&&b.jsx(TE,{children:r}),n&&b.jsx(PE,{children:n})]}),i,b.jsx(EE,{})]},e)}),b.jsx(kE,{})]})}var Rb=["light","dark"],Dj="(prefers-color-scheme: dark)",Mj=x.createContext(void 0),Lj={setTheme:t=>{},themes:[]},Bj=()=>{var t;return(t=x.useContext(Mj))!=null?t:Lj};x.memo(({forcedTheme:t,storageKey:e,attribute:r,enableSystem:n,enableColorScheme:i,defaultTheme:o,value:a,attrs:s,nonce:u})=>{let l=o==="system",c=r==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${s.map(m=>`'${m}'`).join(",")})`};`:`var d=document.documentElement,n='${r}',s='setAttribute';`,d=i?Rb.includes(o)&&o?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${o}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",h=(m,p=!1,g=!0)=>{let v=a?a[m]:m,y=p?m+"|| ''":`'${v}'`,w="";return i&&g&&!p&&Rb.includes(m)&&(w+=`d.style.colorScheme = '${m}';`),r==="class"?p||v?w+=`c.add(${y})`:w+="null":v&&(w+=`d[s](n,${y})`),w},f=t?`!function(){${c}${h(t)}}()`:n?`!function(){try{${c}var e=localStorage.getItem('${e}');if('system'===e||(!e&&${l})){var t='${Dj}',m=window.matchMedia(t);if(m.media!==t||m.matches){${h("dark")}}else{${h("light")}}}else if(e){${a?`var x=${JSON.stringify(a)};`:""}${h(a?"x[e]":"e",!0)}}${l?"":"else{"+h(o,!1,!1)+"}"}${d}}catch(e){}}()`:`!function(){try{${c}var e=localStorage.getItem('${e}');if(e){${a?`var x=${JSON.stringify(a)};`:""}${h(a?"x[e]":"e",!0)}}else{${h(o,!1,!1)};}${d}}catch(t){}}();`;return x.createElement("script",{nonce:u,dangerouslySetInnerHTML:{__html:f}})});var Uj=t=>{switch(t){case"success":return Wj;case"info":return Hj;case"warning":return qj;case"error":return Kj;default:return null}},zj=Array(12).fill(0),Vj=({visible:t,className:e})=>X.createElement("div",{className:["sonner-loading-wrapper",e].filter(Boolean).join(" "),"data-visible":t},X.createElement("div",{className:"sonner-spinner"},zj.map((r,n)=>X.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${n}`})))),Wj=X.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},X.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),qj=X.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},X.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),Hj=X.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},X.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),Kj=X.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},X.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),Gj=X.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},X.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),X.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),Xj=()=>{let[t,e]=X.useState(document.hidden);return X.useEffect(()=>{let r=()=>{e(document.hidden)};return document.addEventListener("visibilitychange",r),()=>window.removeEventListener("visibilitychange",r)},[]),t},K0=1,Zj=class{constructor(){this.subscribe=t=>(this.subscribers.push(t),()=>{let e=this.subscribers.indexOf(t);this.subscribers.splice(e,1)}),this.publish=t=>
195{this.subscribers.forEach(e=>e(t))},this.addToast=t=>{this.publish(t),this.toasts=[...this.toasts,t]},this.create=t=>{var e;let{message:r,...n}=t,i=typeof(t==null?void 0:t.id)=="number"||((e=t.id)==null?void 0:e.length)>0?t.id:K0++,o=this.toasts.find(s=>s.id===i),a=t.dismissible===void 0?!0:t.dismissible;return this.dismissedToasts.has(i)&&this.dismissedToasts.delete(i),o?this.toasts=this.toasts.map(s=>s.id===i?(this.publish({...s,...t,id:i,title:r}),{...s,...t,id:i,dismissible:a,title:r}):s):this.addToast({title:r,...n,dismissible:a,id:i}),i},this.dismiss=t=>(this.dismissedToasts.add(t),t||this.toasts.forEach(e=>{this.subscribers.forEach(r=>r({id:e.id,dismiss:!0}))}),this.subscribers.forEach(e=>e({id:t,dismiss:!0})),t),this.message=(t,e)=>this.create({...e,message:t}),this.error=(t,e)=>this.create({...e,message:t,type:"error"}),this.success=(t,e)=>this.create({...e,type:"success",message:t}),this.info=(t,e)=>this.create({...e,type:"info",message:t}),this.warning=(t,e)=>this.create({...e,type:"warning",message:t}),this.loading=(t,e)=>this.create({...e,type:"loading",message:t}),this.promise=(t,e)=>{if(!e)return;let r;e.loading!==void 0&&(r=this.create({...e,promise:t,type:"loading",message:e.loading,description:typeof e.description!="function"?e.description:void 0}));let n=t instanceof Promise?t:t(),i=r!==void 0,o,a=n.then(async u=>{if(o=["resolve",u],X.isValidElement(u))i=!1,this.create({id:r,type:"default",message:u});else if(Jj(u)&&!u.ok){i=!1;let l=typeof e.error=="function"?await e.error(`HTTP error! status: ${u.status}`):e.error,c=typeof e.description=="function"?await e.description(`HTTP error! status: ${u.status}`):e.description;this.create({id:r,type:"error",message:l,description:c})}else if(e.success!==void 0){i=!1;let l=typeof e.success=="function"?await e.success(u):e.success,c=typeof e.description=="function"?await e.description(u):e.description;this.create({id:r,type:"success",message:l,description:c})}}).catch(async u=>{if(o=["reject",u],e.error!==void 0){i=!1;let l=typeof e.error=="function"?await e.error(u):e.error,c=typeof e.description=="function"?await e.description(u):e.description;this.create({id:r,type:"error",message:l,description:c})}}).finally(()=>{var u;i&&(this.dismiss(r),r=void 0),(u=e.finally)==null||u.call(e)}),s=()=>new Promise((u,l)=>a.then(()=>o[0]==="reject"?l(o[1]):u(o[1])).catch(l));return typeof r!="string"&&typeof r!="number"?{unwrap:s}:Object.assign(r,{unwrap:s})},this.custom=(t,e)=>{let r=(e==null?void 0:e.id)||K0++;return this.create({jsx:t(r),id:r,...e}),r},this.getActiveToasts=()=>this.toasts.filter(t=>!this.dismissedToasts.has(t.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},hr=new Zj,Yj=(t,e)=>{let r=(e==null?void 0:e.id)||K0++;return hr.addToast({title:t,...e,id:r}),r},Jj=t=>t&&typeof t=="object"&&"ok"in t&&typeof t.ok=="boolean"&&"status"in t&&typeof t.status=="number",Qj=Yj,$j=()=>hr.toasts,eF=()=>hr.getActiveToasts();Object.assign(Qj,{success:hr.success,info:hr.info,warning:hr.warning,error:hr.error,custom:hr.custom,message:hr.message,promise:hr.promise,dismiss:hr.dismiss,loading:hr.loading},{getHistory:$j,getToasts:eF});function tF(t,{insertAt:e}={}){if(typeof document>"u")return;let r=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",e==="top"&&r.firstChild?r.insertBefore(n,r.firstChild):r.appendChild(n),n.styleSheet?n.styleSheet.cssText=t:n.appendChild(document.createTextNode(t))}tF(`:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted="true"]){transform:translateY(-10px)}@media (hover: none) and (pointer: coarse){:where([data-sonner-toaster][data-lifted="true"]){transform:none}}:where([data-sonner-toaster][data-x-position="right"]){right:var(--offset-right)}:where([data-sonner-toaster][data-x-position="left"]){left:var(--offset-left)}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:var(--offset-top)}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:var(--offset-bottom)}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;
195left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:-50%;right:-50%;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}
195:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y, 0px)) translate(var(--swipe-amount-x, 0px));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-bg-hover: hsl(0, 0%, 12%);--normal-border: hsl(0, 0%, 20%);--normal-border-hover: hsl(0, 0%, 25%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);
195--error-text: hsl(358, 100%, 81%)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}
196`);function hd(t){return t.label!==void 0}var rF=3,nF="32px",iF="16px",Ab=4e3,oF=356,aF=14,sF=20,lF=200;function un(...t){return t.filter(Boolean).join(" ")}function uF(t){let[e,r]=t.split("-"),n=[];return e&&n.push(e),r&&n.push(r),n}var cF=t=>{var e,r,n,i,o,a,s,u,l,c,d;let{invert:h,toast:f,unstyled:m,interacting:p,setHeights:g,visibleToasts:v,heights:y,index:w,toasts:S,expanded:k,removeToast:C,defaultRichColors:E,closeButton:R,style:A,cancelButtonStyle:_,actionButtonStyle:O,className:D="",descriptionClassName:M="",duration:L,position:N,gap:j,loadingIcon:V,expandByDefault:I,classNames:B,icons:z,closeButtonAriaLabel:Q="Close toast",pauseWhenPageIsHidden:Y}=t,[de,ee]=X.useState(null),[Ye,tt]=X.useState(null),[Z,ae]=X.useState(!1),[lt,je]=X.useState(!1),[Le,We]=X.useState(!1),[Kt,Mr]=X.useState(!1),[Uo,Ti]=X.useState(!1),[zo,Al]=X.useState(0),[Va,ew]=X.useState(0),Ol=X.useRef(f.duration||L||Ab),tw=X.useRef(null),Vo=X.useRef(null),rA=w===0,nA=w+1<=v,Lr=f.type,Wa=f.dismissible!==!1,iA=f.className||"",oA=f.descriptionClassName||"",Kc=X.useMemo(()=>y.findIndex(xe=>xe.toastId===f.id)||0,[y,f.id]),aA=X.useMemo(()=>{var xe;return(xe=f.closeButton)!=null?xe:R},[f.closeButton,R]),rw=X.useMemo(()=>f.duration||L||Ab,[f.duration,L]),Op=X.useRef(0),qa=X.useRef(0),nw=X.useRef(0),Ha=X.useRef(null),[sA,lA]=N.split("-"),iw=X.useMemo(()=>y.reduce((xe,$e,ut)=>ut>=Kc?xe:xe+$e.height,0),[y,Kc]),ow=Xj(),uA=f.invert||h,_p=Lr==="loading";qa.current=X.useMemo(()=>Kc*j+iw,[Kc,iw]),X.useEffect(()=>{Ol.current=rw},[rw]),X.useEffect(()=>{ae(!0)},[]),X.useEffect(()=>{let xe=Vo.current;if(xe){let $e=xe.getBoundingClientRect().height;return ew($e),g(ut=>[{toastId:f.id,height:$e,position:f.position},...ut]),()=>g(ut=>ut.filter(on=>on.toastId!==f.id))}},[g,f.id]),X.useLayoutEffect(()=>{if(!Z)return;let xe=Vo.current,$e=xe.style.height;xe.style.height="auto";let ut=xe.getBoundingClientRect().height;xe.style.height=$e,ew(ut),g(on=>on.find(an=>an.toastId===f.id)?on.map(an=>an.toastId===f.id?{...an,height:ut}:an):[{toastId:f.id,height:ut,position:f.position},...on])},[Z,f.title,f.description,g,f.id]);let Pi=X.useCallback(()=>{je(!0),Al(qa.current),g(xe=>xe.filter($e=>$e.toastId!==f.id)),setTimeout(()=>{C(f)},lF)},[f,C,g,qa]);X.useEffect(()=>{if(f.promise&&Lr==="loading"||f.duration===1/0||f.type==="loading")return;let xe;return k||p||Y&&ow?(()=>{if(nw.current<Op.current){let $e=new Date().getTime()-Op.current;Ol.current=Ol.current-$e}
196nw.current=new Date().getTime()})():Ol.current!==1/0&&(Op.current=new Date().getTime(),xe=setTimeout(()=>{var $e;($e=f.onAutoClose)==null||$e.call(f,f),Pi()},Ol.current)),()=>clearTimeout(xe)},[k,p,f,Lr,Y,ow,Pi]),X.useEffect(()=>{f.delete&&Pi()},[Pi,f.delete]);function cA(){var xe,$e,ut;return z!=null&&z.loading?X.createElement("div",{className:un(B==null?void 0:B.loader,(xe=f==null?void 0:f.classNames)==null?void 0:xe.loader,"sonner-loader"),"data-visible":Lr==="loading"},z.loading):V?X.createElement("div",{className:un(B==null?void 0:B.loader,($e=f==null?void 0:f.classNames)==null?void 0:$e.loader,"sonner-loader"),"data-visible":Lr==="loading"},V):X.createElement(Vj,{className:un(B==null?void 0:B.loader,(ut=f==null?void 0:f.classNames)==null?void 0:ut.loader),visible:Lr==="loading"})}return X.createElement("li",{tabIndex:0,ref:Vo,className:un(D,iA,B==null?void 0:B.toast,(e=f==null?void 0:f.classNames)==null?void 0:e.toast,B==null?void 0:B.default,B==null?void 0:B[Lr],(r=f==null?void 0:f.classNames)==null?void 0:r[Lr]),"data-sonner-toast":"","data-rich-colors":(n=f.richColors)!=null?n:E,"data-styled":!(f.jsx||f.unstyled||m),"data-mounted":Z,"data-promise":!!f.promise,"data-swiped":Uo,"data-removed":lt,"data-visible":nA,"data-y-position":sA,"data-x-position":lA,"data-index":w,"data-front":rA,"data-swiping":Le,"data-dismissible":Wa,"data-type":Lr,"data-invert":uA,"data-swipe-out":Kt,"data-swipe-direction":Ye,"data-expanded":!!(k||I&&Z),style:{"--index":w,"--toasts-before":w,"--z-index":S.length-w,"--offset":`${lt?zo:qa.current}px`,"--initial-height":I?"auto":`${Va}px`,...A,...f.style},onDragEnd:()=>{We(!1),ee(null),Ha.current=null},onPointerDown:xe=>{_p||!Wa||(tw.current=new Date,Al(qa.current),xe.target.setPointerCapture(xe.pointerId),xe.target.tagName!=="BUTTON"&&(We(!0),Ha.current={x:xe.clientX,y:xe.clientY}))},onPointerUp:()=>{var xe,$e,ut,on;if(Kt||!Wa)return;Ha.current=null;let an=Number(((xe=Vo.current)==null?void 0:xe.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Ri=Number((($e=Vo.current)==null?void 0:$e.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Wo=new Date().getTime()-((ut=tw.current)==null?void 0:ut.getTime()),sn=de==="x"?an:Ri,Ai=Math.abs(sn)/Wo;if(Math.abs(sn)>=sF||Ai>.11){Al(qa.current),(on=f.onDismiss)==null||on.call(f,f),tt(de==="x"?an>0?"right":"left":Ri>0?"down":"up"),Pi(),Mr(!0),Ti(!1);return}We(!1),ee(null)},onPointerMove:xe=>{var $e,ut,on,an;if(!Ha.current||!Wa||(($e=window.getSelection())==null?void 0:$e.toString().length)>0)return;let Ri=xe.clientY-Ha.current.y,Wo=xe.clientX-Ha.current.x,sn=(ut=t.swipeDirections)!=null?ut:uF(N);!de&&(Math.abs(Wo)>1||Math.abs(Ri)>1)&&ee(Math.abs(Wo)>Math.abs(Ri)?"x":"y");let Ai={x:0,y:0};de==="y"?(sn.includes("top")||sn.includes("bottom"))&&(sn.includes("top")&&Ri<0||sn.includes("bottom")&&Ri>0)&&(Ai.y=Ri):de==="x"&&(sn.includes("left")||sn.includes("right"))&&(sn.includes("left")&&Wo<0||sn.includes("right")&&Wo>0)&&(Ai.x=Wo),(Math.abs(Ai.x)>0||Math.abs(Ai.y)>0)&&Ti(!0),(on=Vo.current)==null||on.style.setProperty("--swipe-amount-x",`${Ai.x}px`),(an=Vo.current)==null||an.style.setProperty("--swipe-amount-y",`${Ai.y}px`)}},aA&&!f.jsx?X.createElement("button",{"aria-label":Q,"data-disabled":_p,"data-close-button":!0,onClick:_p||!Wa?()=>{}:()=>{var xe;Pi(),(xe=f.onDismiss)==null||xe.call(f,f)},className:un(B==null?void 0:B.closeButton,(i=f==null?void 0:f.classNames)==null?void 0:i.closeButton)},(o=z==null?void 0:z.close)!=null?o:Gj):null,f.jsx||x.isValidElement(f.title)?f.jsx?f.jsx:typeof f.title=="function"?f.title():f.title:X.createElement(X.Fragment,null,Lr||f.icon||f.promise?X.createElement("div",{"data-icon":"",className:un(B==null?void 0:B.icon,(a=f==null?void 0:f.classNames)==null?void 0:a.icon)},f.promise||f.type==="loading"&&!f.icon?f.icon||cA():null,f.type!=="loading"?f.icon||(z==null?void 0:z[Lr])||Uj(Lr):null):null,X.createElement("div",{"data-content":"",className:un(B==null?void 0:B.content,(s=f==null?void 0:f.classNames)==null?void 0:s.content)},X.createElement("div",{"data-title":"",className:un(B==null?void 0:B.title,(u=f==null?void 0:f.classNames)==null?void 0:u.title)},typeof f.title=="function"?f.title():f.title),f.description?X.createElement("div",{"data-description":"",className:un(M,oA,B==null?void 0:B.description,(l=f==null?void 0:f.classNames)==null?void 0:l.description)},typeof f.description=="function"?f.description():f.description):null),x.isValidElement(f.cancel)?f.cancel:f.cancel&&hd(f.cancel)?X.createElement("button",{"data-button":!0,"data-cancel":!0,style:f.cancelButtonStyle||_,onClick:xe=>{var $e,ut;hd(f.cancel)&&Wa&&((ut=($e=f.cancel).onClick)==null||ut.call($e,xe),Pi())},className:un(B==null?void 0:B.cancelButton,(c=f==null?void 0:f.classNames)==null?void 0:c.cancelButton)},f.cancel.label):null,x.isValidElement(f.action)?f.action:f.action&&hd(f.action)?X.createElement("button",{"data-button":!0,"data-action":!0,style:f.actionButtonStyle||O,onClick:xe=>{var $e,ut;hd(f.action)&&((ut=($e=f.action).onClick)==null||ut.call($e,xe),!xe.defaultPrevented&&Pi())},className:un(B==null?void 0:B.actionButton,(d=f==null?void 0:f.classNames)==null?void 0:d.actionButton)},f.action.label):null))};function Ob(){if(typeof window>"u"||typeof document>"u")return"ltr";let t=document.documentElement.getAttribute("dir");return t==="auto"||!t?window.getComputedStyle(document.documentElement).direction:t}function dF(t,e){let r={};return[t,e].forEach((n,i)=>{let o=i===1,a=o?"--mobile-offset":"--offset",s=o?iF:nF;function u(l){["top","right","bottom","left"].forEach(c=>{r[`${a}-${c}`]=typeof l=="number"?`${l}px`:l})}typeof n=="number"||typeof n=="string"?u(n):typeof n=="object"?["top","right","bottom","left"].forEach(l=>{n[l]===void 0?r[`${a}-${l}`]=s:r[`${a}-${l}`]=typeof n[l]=="number"?`${n[l]}px`:n[l]}):u(s)}),r}var fF=x.forwardRef(function(t,e){let{invert:r,position:n="bottom-right",hotkey:i=["altKey","KeyT"],expand:o,closeButton:a,className:s,offset:u,mobileOffset:l,theme:c="light",richColors:d,duration:h,style:f,visibleToasts:m=rF,toastOptions:p,dir:g=Ob(),gap:v=aF,loadingIcon:y,icons:w,containerAriaLabel:S="Notifications",pauseWhenPageIsHidden:k}=t,[C,E]=X.useState([]),R=X.useMemo(()=>Array.from(new Set([n].concat(C.filter(Y=>Y.position).map(Y=>Y.position)))),[C,n]),[A,_]=X.useState([]),[O,D]=X.useState(!1),[M,L]=X.useState(!1),[N,j]=X.useState(c!=="system"?c:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dar
196k":"light"),V=X.useRef(null),I=i.join("+").replace(/Key/g,"").replace(/Digit/g,""),B=X.useRef(null),z=X.useRef(!1),Q=X.useCallback(Y=>{E(de=>{var ee;return(ee=de.find(Ye=>Ye.id===Y.id))!=null&&ee.delete||hr.dismiss(Y.id),de.filter(({id:Ye})=>Ye!==Y.id)})},[]);return X.useEffect(()=>hr.subscribe(Y=>{if(Y.dismiss){E(de=>de.map(ee=>ee.id===Y.id?{...ee,delete:!0}:ee));return}setTimeout(()=>{LC.flushSync(()=>{E(de=>{let ee=de.findIndex(Ye=>Ye.id===Y.id);return ee!==-1?[...de.slice(0,ee),{...de[ee],...Y},...de.slice(ee+1)]:[Y,...de]})})})}),[]),X.useEffect(()=>{if(c!=="system"){j(c);return}if(c==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?j("dark"):j("light")),typeof window>"u")return;let Y=window.matchMedia("(prefers-color-scheme: dark)");try{Y.addEventListener("change",({matches:de})=>{j(de?"dark":"light")})}catch{Y.addListener(({matches:ee})=>{try{j(ee?"dark":"light")}catch(Ye){console.error(Ye)}})}},[c]),X.useEffect(()=>{C.length<=1&&D(!1)},[C]),X.useEffect(()=>{let Y=de=>{var ee,Ye;i.every(tt=>de[tt]||de.code===tt)&&(D(!0),(ee=V.current)==null||ee.focus()),de.code==="Escape"&&(document.activeElement===V.current||(Ye=V.current)!=null&&Ye.contains(document.activeElement))&&D(!1)};return document.addEventListener("keydown",Y),()=>document.removeEventListener("keydown",Y)},[i]),X.useEffect(()=>{if(V.current)return()=>{B.current&&(B.current.focus({preventScroll:!0}),B.current=null,z.current=!1)}},[V.current]),X.createElement("section",{ref:e,"aria-label":`${S} ${I}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},R.map((Y,de)=>{var ee;let[Ye,tt]=Y.split("-");return C.length?X.createElement("ol",{key:Y,dir:g==="auto"?Ob():g,tabIndex:-1,ref:V,className:s,"data-sonner-toaster":!0,"data-theme":N,"data-y-position":Ye,"data-lifted":O&&C.length>1&&!o,"data-x-position":tt,style:{"--front-toast-height":`${((ee=A[0])==null?void 0:ee.height)||0}px`,"--width":`${oF}px`,"--gap":`${v}px`,...f,...dF(u,l)},onBlur:Z=>{z.current&&!Z.currentTarget.contains(Z.relatedTarget)&&(z.current=!1,B.current&&(B.current.focus({preventScroll:!0}),B.current=null))},onFocus:Z=>{Z.target instanceof HTMLElement&&Z.target.dataset.dismissible==="false"||z.current||(z.current=!0,B.current=Z.relatedTarget)},onMouseEnter:()=>D(!0),onMouseMove:()=>D(!0),onMouseLeave:()=>{M||D(!1)},onDragEnd:()=>D(!1),onPointerDown:Z=>{Z.target instanceof HTMLElement&&Z.target.dataset.dismissible==="false"||L(!0)},onPointerUp:()=>L(!1)},C.filter(Z=>!Z.position&&de===0||Z.position===Y).map((Z,ae)=>{var lt,je;return X.createElement(cF,{key:Z.id,icons:w,index:ae,toast:Z,defaultRichColors:d,duration:(lt=p==null?void 0:p.duration)!=null?lt:h,className:p==null?void 0:p.className,descriptionClassName:p==null?void 0:p.descriptionClassName,invert:r,visibleToasts:m,closeButton:(je=p==null?void 0:p.closeButton)!=null?je:a,interacting:M,position:Y,style:p==null?void 0:p.style,unstyled:p==null?void 0:p.unstyled,classNames:p==null?void 0:p.classNames,cancelButtonStyle:p==null?void 0:p.cancelButtonStyle,actionButtonStyle:p==null?void 0:p.actionButtonStyle,removeToast:Q,toasts:C.filter(Le=>Le.position==Z.position),heights:A.filter(Le=>Le.position==Z.position),setHeights:_,expandByDefault:o,gap:v,loadingIcon:y,expanded:O,pauseWhenPageIsHidden:k,swipeDirections:t.swipeDirections})})):null}))});const hF=({...t})=>{const{theme:e="system"}=Bj();return b.jsx(fF,{theme:e,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...t})};var pF=Qm[" useId ".trim().toString()]||(()=>{}),vF=0;function $g(t){const[e,r]=x.useState(pF());return Ht(()=>{r(n=>n??String(vF++))},[t]),e?`radix-${e}`:""}const mF=["top","right","bottom","left"],To=Math.min,kr=Math.max,qf=Math.round,pd=Math.floor,Hn=t=>({x:t,y:t}
vendor: 11,917 bytes, line 196
196),gF={left:"right",right:"left",bottom:"top",top:"bottom"},yF={start:"end",end:"start"};function G0(t,e,r){return kr(t,To(e,r))}function yi(t,e){return typeof t=="function"?t(e):t}function wi(t){return t.split("-")[0]}function vl(t){return t.split("-")[1]}function ey(t){return t==="x"?"y":"x"}function ty(t){return t==="y"?"height":"width"}const wF=new Set(["top","bottom"]);function Vn(t){return wF.has(wi(t))?"y":"x"}function ry(t){return ey(Vn(t))}function bF(t,e,r){r===void 0&&(r=!1);const n=vl(t),i=ry(t),o=ty(i);let a=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[o]>e.floating[o]&&(a=Hf(a)),[a,Hf(a)]}function xF(t){const e=Hf(t);return[X0(t),e,X0(e)]}function X0(t){return t.replace(/start|end/g,e=>yF[e])}const _b=["left","right"],Nb=["right","left"],SF=["top","bottom"],kF=["bottom","top"];function CF(t,e,r){switch(t){case"top":case"bottom":return r?e?Nb:_b:e?_b:Nb;case"left":case"right":return e?SF:kF;default:return[]}}function EF(t,e,r,n){const i=vl(t);let o=CF(wi(t),r==="start",n);return i&&(o=o.map(a=>a+"-"+i),e&&(o=o.concat(o.map(X0)))),o}function Hf(t){return t.replace(/left|right|bottom|top/g,e=>gF[e])}function TF(t){return{top:0,right:0,bottom:0,left:0,...t}}function RE(t){return typeof t!="number"?TF(t):{top:t,right:t,bottom:t,left:t}}function Kf(t){const{x:e,y:r,width:n,height:i}=t;return{width:n,height:i,top:r,left:e,right:e+n,bottom:r+i,x:e,y:r}}function jb(t,e,r){let{reference:n,floating:i}=t;const o=Vn(e),a=ry(e),s=ty(a),u=wi(e),l=o==="y",c=n.x+n.width/2-i.width/2,d=n.y+n.height/2-i.height/2,h=n[s]/2-i[s]/2;let f;switch(u){case"top":f={x:c,y:n.y-i.height};break;case"bottom":f={x:c,y:n.y+n.height};break;case"right":f={x:n.x+n.width,y:d};break;case"left":f={x:n.x-i.width,y:d};break;default:f={x:n.x,y:n.y}}switch(vl(e)){case"start":f[a]-=h*(r&&l?-1:1);break;case"end":f[a]+=h*(r&&l?-1:1);break}return f}const PF=async(t,e,r)=>{const{placement:n="bottom",strategy:i="absolute",middleware:o=[],platform:a}=r,s=o.filter(Boolean),u=await(a.isRTL==null?void 0:a.isRTL(e));let l=await a.getElementRects({reference:t,floating:e,strategy:i}),{x:c,y:d}=jb(l,n,u),h=n,f={},m=0;for(let p=0;p<s.length;p++){const{name:g,fn:v}=s[p],{x:y,y:w,data:S,reset:k}=await v({x:c,y:d,initialPlacement:n,placement:h,strategy:i,middlewareData:f,rects:l,platform:a,elements:{reference:t,floating:e}});c=y??c,d=w??d,f={...f,[g]:{...f[g],...S}},k&&m<=50&&(m++,typeof k=="object"&&(k.placement&&(h=k.placement),k.rects&&(l=k.rects===!0?await a.getElementRects({reference:t,floating:e,strategy:i}):k.rects),{x:c,y:d}=jb(l,h,u)),p=-1)}return{x:c,y:d,placement:h,strategy:i,middlewareData:f}};async function $u(t,e){var r;e===void 0&&(e={});const{x:n,y:i,platform:o,rects:a,elements:s,strategy:u}=t,{boundary:l="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:h=!1,padding:f=0}=yi(e,t),m=RE(f),g=s[h?d==="floating"?"reference":"floating":d],v=Kf(await o.getClippingRect({element:(r=await(o.isElement==null?void 0:o.isElement(g)))==null||r?g:g.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(s.floating)),boundary:l,rootBoundary:c,strategy:u})),y=d==="floating"?{x:n,y:i,width:a.floating.width,height:a.floating.height}:a.reference,w=await(o.getOffsetParent==null?void 0:o.getOffsetParent(s.floating)),S=await(o.isElement==null?void 0:o.isElement(w))?await(o.getScale==null?void 0:o.getScale(w))||{x:1,y:1}:{x:1,y:1},k=Kf(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:y,offsetParent:w,strategy:u}):y);return{top:(v.top-k.top+m.top)/S.y,bottom:(k.bottom-v.bottom+m.bottom)/S.y,left:(v.left-k.left+m.left)/S.x,right:(k.right-v.right+m.right)/S.x}}const RF=t=>({name:"arrow",options:t,async fn(e){const{x:r,y:n,placement:i,rects:o,platform:a,elements:s,middlewareData:u}=e,{element:l,padding:c=0}=yi(t,e)||{};if(l==null)return{};const d=RE(c),h={x:r,y:n},f=ry(i),m=ty(f),p=await a.getDimensions(l),g=f==="y",v=g?"top":"left",y=g?"bottom":"right",w=g?"clientHeight":"clientWidth",S=o.reference[m]+o.reference[f]-h[f]-o.floating[m],k=h[f]-o.reference[f],C=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l));let E=C?C[w]:0;(!E||!await(a.isElement==null?void 0:a.isElement(C)))&&(E=s.floating[w]||o.floating[m]);const R=S/2-k/2,A=E/2-p[m]/2-1,_=To(d[v],A),O=To(d[y],A),D=_,M=E-p[m]-O,L=E/2-p[m]/2+R,N=G0(D,L,M),j=!u.arrow&&vl(i)!=null&&L!==N&&o.reference[m]/2-(L<D?_:O)-p[m]/2<0,V=j?L<D?L-D:L-M:0;return{[f]:h[f]+V,data:{[f]:N,centerOffset:L-N-V,...j&&{alignmentOffset:V}},reset:j}}}),AF=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var r,n;const{placement:i,middlewareData:o,rects:a,initialPlacement:s,platform:u,elements:l}=e,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:h,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:p=!0,...g}=yi(t,e);if((r=o.arrow)!=null&&r.alignmentOffset)return{};const v=wi(i),y=Vn(s),w=wi(s)===s,S=await(u.isRTL==null?void 0:u.isRTL(l.floating)),k=h||(w||!p?[Hf(s)]:xF(s)),C=m!=="none";!h&&C&&k.push(...EF(s,p,m,S));const E=[s,...k],R=await $u(e,g),A=[];let _=((n=o.flip)==null?void 0:n.overflows)||[];if(c&&A.push(R[v]),d){const L=bF(i,a,S);A.push(R[L[0]],R[L[1]])}if(_=[..._,{placement:i,overflows:A}],!A.every(L=>L<=0)){var O,D;const L=(((O=o.flip)==null?void 0:O.index)||0)+1,N=E[L];if(N&&(!(d==="alignment"?y!==Vn(N):!1)||_.every(I=>I.overflows[0]>0&&Vn(I.placement)===y)))return{data:{index:L,overflows:_},reset:{placement:N}};let j=(D=_.filter(V=>V.overflows[0]<=0).sort((V,I)=>V.overflows[1]-I.overflows[1])[0])==null?void 0:D.placement;if(!j)switch(f){case"bestFit":{var M;const V=(M=_.filter(I=>{if(C){const B=Vn(I.placement);return B===y||B==="y"}return!0}).map(I=>[I.placement,I.overflows.filter(B=>B>0).reduce((B,z)=>B+z,0)]).sort((I,B)=>I[1]-B[1])[0])==null?void 0:M[0];V&&(j=V);break}case"initialPlacement":j=s;break}if(i!==j)return{reset:{placement:j}}}return{}}}};function Fb(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function Ib(t){return mF.some(e=>t[e]>=0)}const OF=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:r}=e,{strategy:n="referenceHidden",...i}=yi(t,e);switch(n){case"referenceHidden":{const o=await $u(e,{...i,elementContext:"reference"}),a=Fb(o,r.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:Ib(a)}}}case"escaped":{const o=await $u(e,{...i,altBoundary:!0}),a=Fb(o,r.floating);return{data:{escapedOffsets:a,escaped:Ib(a)}}}default:return{}}}}},AE=new Set(["left","top"]);async function _F(t,e){const{placement:r,platform:n,elements:i}=t,o=await(n.isRTL==null?void 0:n.isRTL(i.floating)),a=wi(r),s=vl(r),u=Vn(r)==="y",l=AE.has(a)?-1:1,c=o&&u?-1:1,d=yi(e,t);let{mainAxis:h,crossAxis:f,alignmentAxis:m}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m=="number"&&(f=s==="end"?m*-1:m),u?{x:f*c,y:h*l}:{x:h*l,y:f*c}}const NF=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,n;const{x:i,y:o,placement:a,middlewareData:s}=e,u=await _F(e,t);return a===((r=s.offset)==null?void 0:r.placement)&&(n=s.arrow)!=null&&n.alignmentOffset?{}:{x:i+u.x,y:o+u.y,data:{...u,placement:a}}}}},jF=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:r,y:n,placement:i}=e,{mainAxis:o=!0,crossAxis:a=!1,limiter:s={fn:g=>{let{x:v,y}=g;return{x:v,y}}},...u}=yi(t,e),l={x:r,y:n},c=await $u(e,u),d=Vn(wi(i)),h=ey(d);let f=l[h],m=l[d];if(o){const g=h==="y"?"top":"left",v=h==="y"?"bottom":"right",y=f+c[g],w=f-c[v];f=G0(y,f,w)}if(a){const g=d==="y"?"top":"left",v=d==="y"?"bottom":"right",y=m+c[g],w=m-c[v];m=G0(y,m,w)}const p=s.fn({...e,[h]:f,[d]:m});return{...p,data:{x:p.x-r,y:p.y-n,enabled:{[h]:o,[d]:a}}}}}},FF=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:r,y:n,placement:i,rects:o,middlewareData:a}=e,{offset:s=0,mainAxis:u=!0,crossAxis:l=!0}=yi(t,e),c={x:r,y:n},d=Vn(i),h=ey(d);let f=c[h],m=c[d];const p=yi(s,e),g=typeof p=="number"?{mainAxis:p,crossAxis:0}:{mainAxis:0,crossAxis:0,...p};if(u){const w=h==="y"?"height":"width",S=o.reference[h]-o.floating[w]+g.mainAxis,k=o.reference[h]+o.reference[w]-g.mainAxis;f<S?f=S:f>k&&(f=k)}if(l){var v,y;const w=h==="y"?"width":"height",S=AE.has(wi(i)),k=o.reference[d]-o.floating[w]+(S&&((v=a.offset)==null?void 0:v[d])||0)+(S?0:g.crossAxis),C=o.reference[d]+o.reference[w]+(S?0:((y=a.offset)==null?void 0:y[d])||0)-(S?g.crossAxis:0);m<k?m=k:m>C&&(m=C)}return{[h]:f,[d]:m}}}},IF=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var r,n;const{placement:i,rects:o,platform:a,elements:s}=e,{apply:u=()=>{},...l}=yi(t,e),c=await $u(e,l),d=wi(i),h=vl(i),f=Vn(i)==="y",{width:m,height:p}=o.floating;let g,v;d==="top"||d==="bottom"?(g=d,v=h===(await(a.isRTL==null?void 0:a.isRTL(s.floating))?"start":"end")?"left":"right"):(v=d,g=h==="end"?"top":"bottom");const y=p-c.top-c.bottom,w=m-c.left-c.right,S=To(p-c[g],y),k=To(m-c[v],w),C=!e.middlewareData.shift;let E=S,R=k;if((r=e.middlewareData.shift)!=null&&r.enabled.x&&(R=w),(n=e.middlewareData.shift)!=null&&n.enabled.y&&(E=y),C&&!h){const _=kr(c.left,0),O=kr(c.right,0),D=kr(c.top,0),M=kr(c.bottom,0);f?R=m-2*(_!==0||O!==0?_+O:kr(c.left,c.right)):E=p-2*(D!==0||M!==0?D+M:kr(c.top,c.bottom))}await u({...e,availableWidth:R,availableHeight:E});const A=await a.getDimensions(s.floating);return m!==A.width||p!==A.height?{reset:{rects:!0}}:{}}}};function Wh(){return typeof window<"u"}function ml(t){return OE(t)?(t.nodeName||"").toLowerCase():"#document"}function Or(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Zn(t){var e;return(e=(OE(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function OE(t){return Wh()?t instanceof Node||t instanceof Or(t).Node:!1}function Rn(t){return Wh()?t instanceof Element||t instanceof Or(t).Element:!1}function Gn(t){return Wh()?t instanceof HTMLElement||t instanceof Or(t).HTMLElement:!1}function Db(t){return!Wh()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Or(t).ShadowRoot}const DF=new Set(["inline","contents"]);function jc(t){const{overflow:e,overflowX:r,overflowY:n,display:i}=An(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!DF.has(i)}const MF=new Set(["table","td","th"]);function LF(t){return MF.has(ml(t))}const BF=[":popover-open",":modal"];function qh(t){return BF.some(e=>{try{return t.matches(e)}catch{return!1}})}const UF=["transform","translate","scale","rotate","perspective"],zF=["transform","translate","scale","rotate","perspective","filter"],VF=["paint","layout","strict","content"];function ny(t){const e=iy(),r=Rn(t)?An(t):t;return UF.some(n=>r[n]?r[n]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||zF.some(n=>(r.willChange||"").includes(n))||VF.some(n=>(r.contain||"").includes(n))}function WF(t){let e=Po(t);for(;Gn(e)&&!nl(e);){if(ny(e))return e;if(qh(e))return null;e=Po(e)}return null}function iy(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const qF=new Set(["html","body","#document"]);function nl(t){return qF.has(ml(t))}function An(t){return Or(t).getComputedStyle(t)}function Hh(t){return Rn(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Po(t){if(ml(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Db(t)&&t.host||Zn(t);return Db(e)?e.host:e}function _E(t){const e=Po(t);return nl(e)?t.ownerDocument?t.ownerDocument.body:t.body:Gn(e)&&jc(e)?e:_E(e)}function ec(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);const i=_E(t),o=i===((n=t.ownerDocument)==null?void 0:n.body),a=Or(i);if(o){const s=Z0(a);
vendor: 4,593 bytes, line 196
196return e.concat(a,a.visualViewport||[],jc(i)?i:[],s&&r?ec(s):[])}return e.concat(i,ec(i,[],r))}function Z0(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function NE(t){const e=An(t);let r=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const i=Gn(t),o=i?t.offsetWidth:r,a=i?t.offsetHeight:n,s=qf(r)!==o||qf(n)!==a;return s&&(r=o,n=a),{width:r,height:n,$:s}}function oy(t){return Rn(t)?t:t.contextElement}function Is(t){const e=oy(t);if(!Gn(e))return Hn(1);const r=e.getBoundingClientRect(),{width:n,height:i,$:o}=NE(e);let a=(o?qf(r.width):r.width)/n,s=(o?qf(r.height):r.height)/i;return(!a||!Number.isFinite(a))&&(a=1),(!s||!Number.isFinite(s))&&(s=1),{x:a,y:s}}const HF=Hn(0);function jE(t){const e=Or(t);return!iy()||!e.visualViewport?HF:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function KF(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==Or(t)?!1:e}function Sa(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);const i=t.getBoundingClientRect(),o=oy(t);let a=Hn(1);e&&(n?Rn(n)&&(a=Is(n)):a=Is(t));const s=KF(o,r,n)?jE(o):Hn(0);let u=(i.left+s.x)/a.x,l=(i.top+s.y)/a.y,c=i.width/a.x,d=i.height/a.y;if(o){const h=Or(o),f=n&&Rn(n)?Or(n):n;let m=h,p=Z0(m);for(;p&&n&&f!==m;){const g=Is(p),v=p.getBoundingClientRect(),y=An(p),w=v.left+(p.clientLeft+parseFloat(y.paddingLeft))*g.x,S=v.top+(p.clientTop+parseFloat(y.paddingTop))*g.y;u*=g.x,l*=g.y,c*=g.x,d*=g.y,u+=w,l+=S,m=Or(p),p=Z0(m)}}return Kf({width:c,height:d,x:u,y:l})}function ay(t,e){const r=Hh(t).scrollLeft;return e?e.left+r:Sa(Zn(t)).left+r}function FE(t,e,r){r===void 0&&(r=!1);const n=t.getBoundingClientRect(),i=n.left+e.scrollLeft-(r?0:ay(t,n)),o=n.top+e.scrollTop;return{x:i,y:o}}function GF(t){let{elements:e,rect:r,offsetParent:n,strategy:i}=t;const o=i==="fixed",a=Zn(n),s=e?qh(e.floating):!1;if(n===a||s&&o)return r;let u={scrollLeft:0,scrollTop:0},l=Hn(1);const c=Hn(0),d=Gn(n);if((d||!d&&!o)&&((ml(n)!=="body"||jc(a))&&(u=Hh(n)),Gn(n))){const f=Sa(n);l=Is(n),c.x=f.x+n.clientLeft,c.y=f.y+n.clientTop}const h=a&&!d&&!o?FE(a,u,!0):Hn(0);return{width:r.width*l.x,height:r.height*l.y,x:r.x*l.x-u.scrollLeft*l.x+c.x+h.x,y:r.y*l.y-u.scrollTop*l.y+c.y+h.y}}function XF(t){return Array.from(t.getClientRects())}function ZF(t){const e=Zn(t),r=Hh(t),n=t.ownerDocument.body,i=kr(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),o=kr(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let a=-r.scrollLeft+ay(t);const s=-r.scrollTop;return An(n).direction==="rtl"&&(a+=kr(e.clientWidth,n.clientWidth)-i),{width:i,height:o,x:a,y:s}}function YF(t,e){const r=Or(t),n=Zn(t),i=r.visualViewport;let o=n.clientWidth,a=n.clientHeight,s=0,u=0;if(i){o=i.width,a=i.height;const l=iy();(!l||l&&e==="fixed")&&(s=i.offsetLeft,u=i.offsetTop)}return{width:o,height:a,x:s,y:u}}const JF=new Set(["absolute","fixed"]);function QF(t,e){const r=Sa(t,!0,e==="fixed"),n=r.top+t.clientTop,i=r.left+t.clientLeft,o=Gn(t)?Is(t):Hn(1),a=t.clientWidth*o.x,s=t.clientHeight*o.y,u=i*o.x,l=n*o.y;return{width:a,height:s,x:u,y:l}}function Mb(t,e,r){let n;if(e==="viewport")n=YF(t,r);else if(e==="document")n=ZF(Zn(t));else if(Rn(e))n=QF(e,r);else{const i=jE(t);n={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return Kf(n)}function IE(t,e){const r=Po(t);return r===e||!Rn(r)||nl(r)?!1:An(r).position==="fixed"||IE(r,e)}function $F(t,e){const r=e.get(t);if(r)return r;let n=ec(t,[],!1).filter(s=>Rn(s)&&ml(s)!=="body"),i=null;const o=An(t).position==="fixed";let a=o?Po(t):t;for(;Rn(a)&&!nl(a);){const s=An(a),u=ny(a);!u&&s.position==="fixed"&&(i=null),(o?!u&&!i:!u&&s.position==="static"&&!!i&&JF.has(i.position)||jc(a)&&!u&&IE(t,a))?n=n.filter(c=>c!==a):i=s,a=Po(a)}return e.set(t,n),n}function eI(t){let{element:e,boundary:r,rootBoundary:n,strategy:i}=t;const a=[...r==="clippingAncestors"?qh(e)?[]:$F(e,this._c):[].concat(r),n],s=a[0],u=a.reduce((l,c)=>{const d=Mb(e,c,i);return l.top=kr(d.top,l.top),l.right=To(d.right,l.right),l.bottom=To(d.bottom,l.bottom),l.left=kr(d.left,l.left),l},Mb(e,s,i));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function tI(t){const{width:e,height:r}=NE(t);return{width:e,height:r}}function rI(t,e,r){const n=Gn(e),i=Zn(e),o=r==="fixed",a=Sa(t,!0,o,e);let s={scrollLeft:0,scrollTop:0};const u=Hn(0);function l(){u.x=ay(i)}if(n||!n&&!o)if((ml(e)!=="body"||jc(i))&&(s=Hh(e)),n){const f=Sa(e,!0,o,e);u.x=f.x+e.clientLeft,u.y=f.y+e.clientTop}else i&&l();o&&!n&&i&&l();const c=i&&!n&&!o?FE(i,s):Hn(0),d=a.left+s.scrollLeft-u.x-c.x,h=a.top+s.scrollTop-u.y-c.y;return{x:d,y:h,width:a.width,height:a.height}}function uv(t){return An(t).position==="static"}
vendor: 8,559 bytes, line 196
196function Lb(t,e){if(!Gn(t)||An(t).position==="fixed")return null;if(e)return e(t);let r=t.offsetParent;return Zn(t)===r&&(r=r.ownerDocument.body),r}function DE(t,e){const r=Or(t);if(qh(t))return r;if(!Gn(t)){let i=Po(t);for(;i&&!nl(i);){if(Rn(i)&&!uv(i))return i;i=Po(i)}return r}let n=Lb(t,e);for(;n&&LF(n)&&uv(n);)n=Lb(n,e);return n&&nl(n)&&uv(n)&&!ny(n)?r:n||WF(t)||r}const nI=async function(t){const e=this.getOffsetParent||DE,r=this.getDimensions,n=await r(t.floating);return{reference:rI(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function iI(t){return An(t).direction==="rtl"}const oI={convertOffsetParentRelativeRectToViewportRelativeRect:GF,getDocumentElement:Zn,getClippingRect:eI,getOffsetParent:DE,getElementRects:nI,getClientRects:XF,getDimensions:tI,getScale:Is,isElement:Rn,isRTL:iI};function ME(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function aI(t,e){let r=null,n;const i=Zn(t);function o(){var s;clearTimeout(n),(s=r)==null||s.disconnect(),r=null}function a(s,u){s===void 0&&(s=!1),u===void 0&&(u=1),o();const l=t.getBoundingClientRect(),{left:c,top:d,width:h,height:f}=l;if(s||e(),!h||!f)return;const m=pd(d),p=pd(i.clientWidth-(c+h)),g=pd(i.clientHeight-(d+f)),v=pd(c),w={rootMargin:-m+"px "+-p+"px "+-g+"px "+-v+"px",threshold:kr(0,To(1,u))||1};let S=!0;function k(C){const E=C[0].intersectionRatio;if(E!==u){if(!S)return a();E?a(!1,E):n=setTimeout(()=>{a(!1,1e-7)},1e3)}E===1&&!ME(l,t.getBoundingClientRect())&&a(),S=!1}try{r=new IntersectionObserver(k,{...w,root:i.ownerDocument})}catch{r=new IntersectionObserver(k,w)}r.observe(t)}return a(!0),o}function sI(t,e,r,n){n===void 0&&(n={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:u=!1}=n,l=oy(t),c=i||o?[...l?ec(l):[],...ec(e)]:[];c.forEach(v=>{i&&v.addEventListener("scroll",r,{passive:!0}),o&&v.addEventListener("resize",r)});const d=l&&s?aI(l,r):null;let h=-1,f=null;a&&(f=new ResizeObserver(v=>{let[y]=v;y&&y.target===l&&f&&(f.unobserve(e),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var w;(w=f)==null||w.observe(e)})),r()}),l&&!u&&f.observe(l),f.observe(e));let m,p=u?Sa(t):null;u&&g();function g(){const v=Sa(t);p&&!ME(p,v)&&r(),p=v,m=requestAnimationFrame(g)}return r(),()=>{var v;c.forEach(y=>{i&&y.removeEventListener("scroll",r),o&&y.removeEventListener("resize",r)}),d==null||d(),(v=f)==null||v.disconnect(),f=null,u&&cancelAnimationFrame(m)}}const lI=NF,uI=jF,cI=AF,dI=IF,fI=OF,Bb=RF,hI=FF,pI=(t,e,r)=>{const n=new Map,i={platform:oI,...r},o={...i.platform,_c:n};return PF(t,e,{...i,platform:o})};var vI=typeof document<"u",mI=function(){},of=vI?x.useLayoutEffect:mI;function Gf(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let r,n,i;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(r=t.length,r!==e.length)return!1;for(n=r;n--!==0;)if(!Gf(t[n],e[n]))return!1;return!0}if(i=Object.keys(t),r=i.length,r!==Object.keys(e).length)return!1;for(n=r;n--!==0;)if(!{}.hasOwnProperty.call(e,i[n]))return!1;for(n=r;n--!==0;){const o=i[n];if(!(o==="_owner"&&t.$$typeof)&&!Gf(t[o],e[o]))return!1}return!0}return t!==t&&e!==e}function LE(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function Ub(t,e){const r=LE(t);return Math.round(e*r)/r}function cv(t){const e=x.useRef(t);return of(()=>{e.current=t}),e}function gI(t){t===void 0&&(t={});const{placement:e="bottom",strategy:r="absolute",middleware:n=[],platform:i,elements:{reference:o,floating:a}={},transform:s=!0,whileElementsMounted:u,open:l}=t,[c,d]=x.useState({x:0,y:0,strategy:r,placement:e,middlewareData:{},isPositioned:!1}),[h,f]=x.useState(n);Gf(h,n)||f(n);const[m,p]=x.useState(null),[g,v]=x.useState(null),y=x.useCallback(I=>{I!==C.current&&(C.current=I,p(I))},[]),w=x.useCallback(I=>{I!==E.current&&(E.current=I,v(I))},[]),S=o||m,k=a||g,C=x.useRef(null),E=x.useRef(null),R=x.useRef(c),A=u!=null,_=cv(u),O=cv(i),D=cv(l),M=x.useCallback(()=>{if(!C.current||!E.current)return;const I={placement:e,strategy:r,middleware:h};O.current&&(I.platform=O.current),pI(C.current,E.current,I).then(B=>{const z={...B,isPositioned:D.current!==!1};L.current&&!Gf(R.current,z)&&(R.current=z,Fa.flushSync(()=>{d(z)}))})},[h,e,r,O,D]);of(()=>{l===!1&&R.current.isPositioned&&(R.current.isPositioned=!1,d(I=>({...I,isPositioned:!1})))},[l]);const L=x.useRef(!1);of(()=>(L.current=!0,()=>{L.current=!1}),[]),of(()=>{if(S&&(C.current=S),k&&(E.current=k),S&&k){if(_.current)return _.current(S,k,M);M()}},[S,k,M,_,A]);const N=x.useMemo(()=>({reference:C,floating:E,setReference:y,setFloating:w}),[y,w]),j=x.useMemo(()=>({reference:S,floating:k}),[S,k]),V=x.useMemo(()=>{const I={position:r,left:0,top:0};if(!j.floating)return I;const B=Ub(j.floating,c.x),z=Ub(j.floating,c.y);return s?{...I,transform:"translate("+B+"px, "+z+"px)",...LE(j.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:B,top:z}},[r,s,j.floating,c.x,c.y]);return x.useMemo(()=>({...c,update:M,refs:N,elements:j,floatingStyles:V}),[c,M,N,j,V])}const yI=t=>{function e(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:t,fn(r){const{element:n,padding:i}=typeof t=="function"?t(r):t;return n&&e(n)?n.current!=null?Bb({element:n.current,padding:i}).fn(r):{}:n?Bb({element:n,padding:i}).fn(r):{}}}},wI=(t,e)=>({...lI(t),options:[t,e]}),bI=(t,e)=>({...uI(t),options:[t,e]}),xI=(t,e)=>({...hI(t),options:[t,e]}),SI=(t,e)=>({...cI(t),options:[t,e]}),kI=(t,e)=>({...dI(t),options:[t,e]}),CI=(t,e)=>({...fI(t),options:[t,e]}),EI=(t,e)=>({...yI(t),options:[t,e]});var TI="Arrow",BE=x.forwardRef((t,e)=>{const{children:r,width:n=10,height:i=5,...o}=t;return b.jsx(Ne.svg,{...o,ref:e,width:n,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?r:b.jsx("polygon",{points:"0,0 30,0 15,10"})})});BE.displayName=TI;var PI=BE;function sy(t){const[e,r]=x.useState(void 0);return Ht(()=>{if(t){r({width:t.offsetWidth,height:t.offsetHeight});const n=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const o=i[0];let a,s;if("borderBoxSize"in o){const u=o.borderBoxSize,l=Array.isArray(u)?u[0]:u;a=l.inlineSize,s=l.blockSize}else a=t.offsetWidth,s=t.offsetHeight;r({width:a,height:s})});return n.observe(t,{box:"border-box"}),()=>n.unobserve(t)}else r(void 0)},[t]),e}var ly="Popper",[UE,Kh]=Ia(ly),[RI,zE]=UE(ly),VE=t=>{const{__scopePopper:e,children:r}=t,[n,i]=x.useState(null);return b.jsx(RI,{scope:e,anchor:n,onAnchorChange:i,children:r})};VE.displayName=ly;var WE="PopperAnchor",qE=x.forwardRef((t,e)=>{const{__scopePopper:r,virtualRef:n,...i}=t,o=zE(WE,r),a=x.useRef(null),s=Je(e,a);return x.useEffect(()=>{o.onAnchorChange((n==null?void 0:n.current)||a.current)}),n?null:b.jsx(Ne.div,{...i,ref:s})});qE.displayName=WE;var uy="PopperContent",[AI,OI]=UE(uy),HE=x.forwardRef((t,e)=>{var Z,ae,lt,je,Le,We;const{__scopePopper:r,side:n="bottom",sideOffset:i=0,align:o="center",alignOffset:a=0,arrowPadding:s=0,avoidCollisions:u=!0,collisionBoundary:l=[],collisionPadding:c=0,sticky:d="partial",hideWhenDetached:h=!1,updatePositionStrategy:f="optimized",onPlaced:m,...p}=t,g=zE(uy,r),[v,y]=x.useState(null),w=Je(e,Kt=>y(Kt)),[S,k]=x.useState(null),C=sy(S),E=(C==null?void 0:C.width)??0,R=(C==null?void 0:C.height)??0,A=n+(o!=="center"?"-"+o:""),_=typeof c=="number"?c:{top:0,right:0,bottom:0,left:0,...c},O=Array.isArray(l)?l:[l],D=O.length>0,M={padding:_,boundary:O.filter(NI),altBoundary:D},{refs:L,floatingStyles:N,placement:j,isPositioned:V,middlewareData:I}=gI({strategy:"fixed",placement:A,whileElementsMounted:(...Kt)=>sI(...Kt,{animationFrame:f==="always"}),elements:{reference:g.anchor},middleware:[wI({mainAxis:i+R,alignmentAxis:a}),u&&bI({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?xI():void 0,...M}),u&&SI({...M}),kI({...M,apply:({elements:Kt,rects:Mr,availableWidth:Uo,availableHeight:Ti})=>{const{width:zo,height:Al}=Mr.reference,Va=Kt.floating.style;Va.setProperty("--radix-popper-available-width",`${Uo}px`),Va.setProperty("--radix-popper-available-height",`${Ti}px`),Va.setProperty("--radix-popper-anchor-width",`${zo}px`),Va.setProperty("--radix-popper-anchor-height",`${Al}px`)}}),S&&EI({element:S,padding:s}),jI({arrowWidth:E,arrowHeight:R}),h&&CI({strategy:"referenceHidden",...M})]}),[B,z]=XE(j),Q=Pn(m);Ht(()=>{V&&(Q==null||Q())},[V,Q]);const Y=(Z=I.arrow)==null?void 0:Z.x,de=(ae=I.arrow)==null?void 0:ae.y,ee=((lt=I.arrow)==null?void 0:lt.centerOffset)!==0,[Ye,tt]=x.use
vendor: 8,440 bytes, line 196
196State();return Ht(()=>{v&&tt(window.getComputedStyle(v).zIndex)},[v]),b.jsx("div",{ref:L.setFloating,"data-radix-popper-content-wrapper":"",style:{...N,transform:V?N.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Ye,"--radix-popper-transform-origin":[(je=I.transformOrigin)==null?void 0:je.x,(Le=I.transformOrigin)==null?void 0:Le.y].join(" "),...((We=I.hide)==null?void 0:We.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:b.jsx(AI,{scope:r,placedSide:B,onArrowChange:k,arrowX:Y,arrowY:de,shouldHideArrow:ee,children:b.jsx(Ne.div,{"data-side":B,"data-align":z,...p,ref:w,style:{...p.style,animation:V?void 0:"none"}})})})});HE.displayName=uy;var KE="PopperArrow",_I={top:"bottom",right:"left",bottom:"top",left:"right"},GE=x.forwardRef(function(e,r){const{__scopePopper:n,...i}=e,o=OI(KE,n),a=_I[o.placedSide];return b.jsx("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:b.jsx(PI,{...i,ref:r,style:{...i.style,display:"block"}})})});GE.displayName=KE;function NI(t){return t!==null}var jI=t=>({name:"transformOrigin",options:t,fn(e){var g,v,y;const{placement:r,rects:n,middlewareData:i}=e,a=((g=i.arrow)==null?void 0:g.centerOffset)!==0,s=a?0:t.arrowWidth,u=a?0:t.arrowHeight,[l,c]=XE(r),d={start:"0%",center:"50%",end:"100%"}[c],h=(((v=i.arrow)==null?void 0:v.x)??0)+s/2,f=(((y=i.arrow)==null?void 0:y.y)??0)+u/2;let m="",p="";return l==="bottom"?(m=a?d:`${h}px`,p=`${-u}px`):l==="top"?(m=a?d:`${h}px`,p=`${n.floating.height+u}px`):l==="right"?(m=`${-u}px`,p=a?d:`${f}px`):l==="left"&&(m=`${n.floating.width+u}px`,p=a?d:`${f}px`),{data:{x:m,y:p}}}});function XE(t){const[e,r="center"]=t.split("-");return[e,r]}var FI=VE,ZE=qE,YE=HE,JE=GE,[Gh,qV]=Ia("Tooltip",[Kh]),cy=Kh(),QE="TooltipProvider",II=700,zb="tooltip.open",[DI,$E]=Gh(QE),eT=t=>{const{__scopeTooltip:e,delayDuration:r=II,skipDelayDuration:n=300,disableHoverableContent:i=!1,children:o}=t,a=x.useRef(!0),s=x.useRef(!1),u=x.useRef(0);return x.useEffect(()=>{const l=u.current;return()=>window.clearTimeout(l)},[]),b.jsx(DI,{scope:e,isOpenDelayedRef:a,delayDuration:r,onOpen:x.useCallback(()=>{window.clearTimeout(u.current),a.current=!1},[]),onClose:x.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(()=>a.current=!0,n)},[n]),isPointerInTransitRef:s,onPointerInTransitChange:x.useCallback(l=>{s.current=l},[]),disableHoverableContent:i,children:o})};eT.displayName=QE;var tT="Tooltip",[HV,Xh]=Gh(tT),Y0="TooltipTrigger",MI=x.forwardRef((t,e)=>{const{__scopeTooltip:r,...n}=t,i=Xh(Y0,r),o=$E(Y0,r),a=cy(r),s=x.useRef(null),u=Je(e,s,i.onTriggerChange),l=x.useRef(!1),c=x.useRef(!1),d=x.useCallback(()=>l.current=!1,[]);return x.useEffect(()=>()=>document.removeEventListener("pointerup",d),[d]),b.jsx(ZE,{asChild:!0,...a,children:b.jsx(Ne.button,{"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute,...n,ref:u,onPointerMove:ye(t.onPointerMove,h=>{h.pointerType!=="touch"&&!c.current&&!o.isPointerInTransitRef.current&&(i.onTriggerEnter(),c.current=!0)}),onPointerLeave:ye(t.onPointerLeave,()=>{i.onTriggerLeave(),c.current=!1}),onPointerDown:ye(t.onPointerDown,()=>{i.open&&i.onClose(),l.current=!0,document.addEventListener("pointerup",d,{once:!0})}),onFocus:ye(t.onFocus,()=>{l.current||i.onOpen()}),onBlur:ye(t.onBlur,i.onClose),onClick:ye(t.onClick,i.onClose)})})});MI.displayName=Y0;var LI="TooltipPortal",[KV,BI]=Gh(LI,{forceMount:void 0}),il="TooltipContent",rT=x.forwardRef((t,e)=>{const r=BI(il,t.__scopeTooltip),{forceMount:n=r.forceMount,side:i="top",...o}=t,a=Xh(il,t.__scopeTooltip);return b.jsx(Uh,{present:n||a.open,children:a.disableHoverableContent?b.jsx(nT,{side:i,...o,ref:e}):b.jsx(UI,{side:i,...o,ref:e})})}),UI=x.forwardRef((t,e)=>{const r=Xh(il,t.__scopeTooltip),n=$E(il,t.__scopeTooltip),i=x.useRef(null),o=Je(e,i),[a,s]=x.useState(null),{trigger:u,onClose:l}=r,c=i.current,{onPointerInTransitChange:d}=n,h=x.useCallback(()=>{s(null),d(!1)},[d]),f=x.useCallback((m,p)=>{const g=m.currentTarget,v={x:m.clientX,y:m.clientY},y=HI(v,g.getBoundingClientRect()),w=KI(v,y),S=GI(p.getBoundingClientRect()),k=ZI([...w,...S]);s(k),d(!0)},[d]);return x.useEffect(()=>()=>h(),[h]),x.useEffect(()=>{if(u&&c){const m=g=>f(g,c),p=g=>f(g,u);return u.addEventListener("pointerleave",m),c.addEventListener("pointerleave",p),()=>{u.removeEventListener("pointerleave",m),c.removeEventListener("pointerleave",p)}}},[u,c,f,h]),x.useEffect(()=>{if(a){const m=p=>{const g=p.target,v={x:p.clientX,y:p.clientY},y=(u==null?void 0:u.contains(g))||(c==null?void 0:c.contains(g)),w=!XI(v,a);y?h():w&&(h(),l())};return document.addEventListener("pointermove",m),()=>document.removeEventListener("pointermove",m)}},[u,c,a,l,h]),b.jsx(nT,{...t,ref:o})}),[zI,VI]=Gh(tT,{isInside:!1}),WI=K_("TooltipContent"),nT=x.forwardRef((t,e)=>{const{__scopeTooltip:r,children:n,"aria-label":i,onEscapeKeyDown:o,onPointerDownOutside:a,...s}=t,u=Xh(il,r),l=cy(r),{onClose:c}=u;return x.useEffect(()=>(document.addEventListener(zb,c),()=>document.removeEventListener(zb,c)),[c]),x.useEffect(()=>{if(u.trigger){const d=h=>{const f=h.target;f!=null&&f.contains(u.trigger)&&c()};return window.addEventListener("scroll",d,{capture:!0}),()=>window.removeEventListener("scroll",d,{capture:!0})}},[u.trigger,c]),b.jsx(Bh,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:d=>d.preventDefault(),onDismiss:c,children:b.jsxs(YE,{"data-state":u.stateAttribute,...l,...s,ref:e,style:{...s.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[b.jsx(WI,{children:n}),b.jsx(zI,{scope:r,isInside:!0,children:b.jsx(pN,{id:u.contentId,role:"tooltip",children:i||n})})]})})});rT.displayName=il;var iT="TooltipArrow",qI=x.forwardRef((t,e)=>{const{__scopeTooltip:r,...n}=t,i=cy(r);return VI(iT,r).isInside?null:b.jsx(JE,{...i,...n,ref:e})});qI.displayName=iT;function HI(t,e){const r=Math.abs(e.top-t.y),n=Math.abs(e.bottom-t.y),i=Math.abs(e.right-t.x),o=Math.abs(e.left-t.x);switch(Math.min(r,n,i,o)){case o:return"left";case i:return"right";case r:return"top";case n:return"bottom";default:throw new Error("unreachable")}}function KI(t,e,r=5){const n=[];switch(e){case"top":n.push({x:t.x-r,y:t.y+r},{x:t.x+r,y:t.y+r});break;case"bottom":n.push({x:t.x-r,y:t.y-r},{x:t.x+r,y:t.y-r});break;case"left":n.push({x:t.x+r,y:t.y-r},{x:t.x+r,y:t.y+r});break;case"right":n.push({x:t.x-r,y:t.y-r},{x:t.x-r,y:t.y+r});break}return n}function GI(t){const{top:e,right:r,bottom:n,left:i}=t;return[{x:i,y:e},{x:r,y:e},{x:r,y:n},{x:i,y:n}]}function XI(t,e){const{x:r,y:n}=t;let i=!1;for(let o=0,a=e.length-1;o<e.length;a=o++){const s=e[o],u=e[a],l=s.x,c=s.y,d=u.x,h=u.y;c>n!=h>n&&r<(d-l)*(n-c)/(h-c)+l&&(i=!i)}return i}function ZI(t){const e=t.slice();return e.sort((r,n)=>r.x<n.x?-1:r.x>n.x?1:r.y<n.y?-1:r.y>n.y?1:0),YI(e)}function YI(t){if(t.length<=1)return t.slice();const e=[];for(let n=0;n<t.length;n++){const i=t[n];for(;e.length>=2;){const o=e[e.length-1],a=e[e.length-2];if((o.x-a.x)*(i.y-a.y)>=(o.y-a.y)*(i.x-a.x))e.pop();else break}e.push(i)}e.pop();const r=[];for(let n=t.length-1;n>=0;n--){const i=t[n];for(;r.length>=2;){const o=r[r.length-1],a=r[r.length-2];if((o.x-a.x)*(i.y-a.y)>=(o.y-a.y)*(i.x-a.x))r.pop();else break}r.push(i)}return r.pop(),e.length===1&&r.length===1&&e[0].x===r[0].x&&e[0].y===r[0].y?e:e.concat(r)}var JI=eT,oT=rT;const QI=JI,$I=x.forwardRef(({className:t,sideOffset:e=4,...r},n)=>b.jsx(oT,{ref:n,sideOffset:e,className:De("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
196de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...r}));$I.displayName=oT.displayName;var Zh=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Yh=typeof window>"u"||"Deno"in globalThis;function vn(){}function eD(t,e){return typeof t=="function"?t(e):t}function tD(t){return typeof t=="number"&&t>=0&&t!==1/0}function rD(t,e){return Math.max(t+(e||0)-Date.now(),0)}function J0(t,e){return typeof t=="function"?t(e):t}function nD(t,e){return typeof t=="function"?t(e):t}function Vb(t,e){const{type:r="all",exact:n,fetchStatus:i,predicate:o,queryKey:a,stale:s}=t;if(a){if(n){if(e.queryHash!==dy(a,e.options))return!1}else if(!rc(e.queryKey,a))return!1}if(r!=="all"){const u=e.isActive();if(r==="active"&&!u||r==="inactive"&&u)return!1}return!(typeof s=="boolean"&&e.isStale()!==s||i&&i!==e.state.fetchStatus||o&&!o(e))}function Wb(t,e){const{exact:r,status:n,predicate:i,mutationKey:o}=t;if(o){if(!e.options.mutationKey)return!1;if(r){if(tc(e.options.mutationKey)!==tc(o))return!1}else if(!rc(e.options.mutationKey,o))return!1}return!(n&&e.state.status!==n||i&&!i(e))}function dy(t,e){return((e==null?void 0:e.queryKeyHashFn)||tc)(t)}function tc(t){return JSON.stringify(t,(e,r)=>Q0(r)?Object.keys(r).sort().reduce((n,i)=>(n[i]=r[i],n),{}):r)}function rc(t,e){return t===e?!0:typeof t!=typeof e?!1:t&&e&&typeof t=="object"&&typeof e=="object"?Object.keys(e).every(r=>rc(t[r],e[r])):!1}function aT(t,e){if(t===e)return t;const r=qb(t)&&qb(e);if(r||Q0(t)&&Q0(e)){const n=r?t:Object.keys(t),i=n.length,o=r?e:Object.keys(e),a=o.length,s=r?[]:{},u=new Set(n);let l=0;for(let c=0;c<a;c++){const d=r?c:o[c];(!r&&u.has(d)||r)&&t[d]===void 0&&e[d]===void 0?(s[d]=void 0,l++):(s[d]=aT(t[d],e[d]),s[d]===t[d]&&t[d]!==void 0&&l++)}return i===a&&l===i?t:s}return e}function qb(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function Q0(t){if(!Hb(t))return!1;const e=t.constructor;if(e===void 0)return!0;const r=e.prototype;return!(!Hb(r)||!r.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(t)!==Object.prototype)}function Hb(t){return Object.prototype.toString.call(t)==="[object Object]"}function iD(t){return new Promise(e=>{setTimeout(e,t)})}function oD(t,e,r){return typeof r.structuralSharing=="function"?r.structuralSharing(t,e):r.structuralSharing!==!1?aT(t,e):e}function aD(t,e,r=0){const n=[...t,e];return r&&n.length>r?n.slice(1):n}function sD(t,e,r=0){const n=[e,...t];return r&&n.length>r?n.slice(0,-1):n}var fy=Symbol();function sT(t,e){return!t.queryFn&&(e!=null&&e.initialPromise)?()=>e.initialPromise:!t.queryFn||t.queryFn===fy?()=>Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)):t.queryFn}var la,Ji,Vs,yS,lD=(yS=class extends Zh{constructor(){super();qe(this,la);qe(this,Ji);qe(this,Vs);Se(this,Vs,e=>{if(!Yh&&window.addEventListener){const r=()=>e();return window.addEventListener("visibilitychange",r,!1),()=>{window.removeEventListener("visibilitychange",r)}}})}onSubscribe(){U(this,Ji)||this.setEventListener(U(this,Vs))}onUnsubscribe(){var e;this.hasListeners()||((e=U(this,Ji))==null||e.call(this),Se(this,Ji,void 0))}setEventListener(e){var r;Se(this,Vs,e),(r=U(this,Ji))==null||r.call(this),Se(this,Ji,e(n=>{typeof n=="boolean"?this.setFocused(n):this.onFocus()}))}setFocused(e){U(this,la)!==e&&(Se(this,la,e),this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(r=>{r(e)})}isFocused(){var e;return typeof U(this,la)=="boolean"?U(this,la):((e=globalThis.document)==null?void 0:e.visibilityState)!=="hidden"}},la=new WeakMap,Ji=new WeakMap,Vs=new WeakMap,yS),lT=new lD,Ws,Qi,qs,wS,uD=(wS=class extends Zh{constructor(){super();qe(this,Ws,!0);qe(this,Qi);qe(this,qs);Se(this,qs,e=>{if(!Yh&&window.addEventListener){const r=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",r,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",r),window.removeEventListener("offline",n
vendor: 4,353 bytes, line 196
196)}}})}onSubscribe(){U(this,Qi)||this.setEventListener(U(this,qs))}onUnsubscribe(){var e;this.hasListeners()||((e=U(this,Qi))==null||e.call(this),Se(this,Qi,void 0))}setEventListener(e){var r;Se(this,qs,e),(r=U(this,Qi))==null||r.call(this),Se(this,Qi,e(this.setOnline.bind(this)))}setOnline(e){U(this,Ws)!==e&&(Se(this,Ws,e),this.listeners.forEach(n=>{n(e)}))}isOnline(){return U(this,Ws)}},Ws=new WeakMap,Qi=new WeakMap,qs=new WeakMap,wS),Xf=new uD;function cD(){let t,e;const r=new Promise((i,o)=>{t=i,e=o});r.status="pending",r.catch(()=>{});function n(i){Object.assign(r,i),delete r.resolve,delete r.reject}return r.resolve=i=>{n({status:"fulfilled",value:i}),t(i)},r.reject=i=>{n({status:"rejected",reason:i}),e(i)},r}function dD(t){return Math.min(1e3*2**t,3e4)}function uT(t){return(t??"online")==="online"?Xf.isOnline():!0}var cT=class extends Error{constructor(t){super("CancelledError"),this.revert=t==null?void 0:t.revert,this.silent=t==null?void 0:t.silent}};function dv(t){return t instanceof cT}function dT(t){let e=!1,r=0,n=!1,i;const o=cD(),a=p=>{var g;n||(h(new cT(p)),(g=t.abort)==null||g.call(t))},s=()=>{e=!0},u=()=>{e=!1},l=()=>lT.isFocused()&&(t.networkMode==="always"||Xf.isOnline())&&t.canRun(),c=()=>uT(t.networkMode)&&t.canRun(),d=p=>{var g;n||(n=!0,(g=t.onSuccess)==null||g.call(t,p),i==null||i(),o.resolve(p))},h=p=>{var g;n||(n=!0,(g=t.onError)==null||g.call(t,p),i==null||i(),o.reject(p))},f=()=>new Promise(p=>{var g;i=v=>{(n||l())&&p(v)},(g=t.onPause)==null||g.call(t)}).then(()=>{var p;i=void 0,n||(p=t.onContinue)==null||p.call(t)}),m=()=>{if(n)return;let p;const g=r===0?t.initialPromise:void 0;try{p=g??t.fn()}catch(v){p=Promise.reject(v)}Promise.resolve(p).then(d).catch(v=>{var C;if(n)return;const y=t.retry??(Yh?0:3),w=t.retryDelay??dD,S=typeof w=="function"?w(r,v):w,k=y===!0||typeof y=="number"&&r<y||typeof y=="function"&&y(r,v);if(e||!k){h(v);return}r++,(C=t.onFail)==null||C.call(t,r,v),iD(S).then(()=>l()?void 0:f()).then(()=>{e?h(v):m()})})};return{promise:o,cancel:a,continue:()=>(i==null||i(),o),cancelRetry:s,continueRetry:u,canStart:c,start:()=>(c()?m():f().then(m),o)}}var fD=t=>setTimeout(t,0);function hD(){let t=[],e=0,r=s=>{s()},n=s=>{s()},i=fD;const o=s=>{e?t.push(s):i(()=>{r(s)})},a=()=>{const s=t;t=[],s.length&&i(()=>{n(()=>{s.forEach(u=>{r(u)})})})};return{batch:s=>{let u;e++;try{u=s()}finally{e--,e||a()}return u},batchCalls:s=>(...u)=>{o(()=>{s(...u)})},schedule:o,setNotifyFunction:s=>{r=s},setBatchNotifyFunction:s=>{n=s},setScheduler:s=>{i=s}}}var or=hD(),ua,bS,fT=(bS=class{constructor(){qe(this,ua)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),tD(this.gcTime)&&Se(this,ua,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(Yh?1/0:5*60*1e3))}clearGcTimeout(){U(this,ua)&&(clearTimeout(U(this,ua)),Se(this,ua,void 0))}},ua=new WeakMap,bS),Hs,ca,Ur,da,Jt,Ec,fa,gn,$n,xS,pD=(xS=class extends fT{constructor(e){super();qe(this,gn);qe(this,Hs);qe(this,ca);qe(this,Ur);qe(this,da);qe(this,Jt);qe(this,Ec);qe(this,fa);Se(this,fa,!1),Se(this,Ec,e.defaultOptions),this.setOptions(e.options),this.observers=[],Se(this,da,e.client),Se(this,Ur,U(this,da).getQueryCache()),this.queryKey=e.queryKey,this.queryHash=e.queryHash,Se(this,Hs,mD(this.options)),this.state=e.state??U(this,Hs),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var e;return(e=U(this,Jt))==null?void 0:e.promise}setOptions(e){this.options={...U(this,Ec),...e},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&U(this,Ur).remove(this)}setData(e,r){const n=oD(this.state.data,e,this.options);return Gt(this,gn,$n).call(this,{data:n,type:"success",dataUpdatedAt:r==null?void 0:r.updatedAt,manual:r==null?void 0:r.manual}),n}setState(e,r){Gt(this,gn,$n).call(this,{type:"setState",state:e,setStateOptions:r})}cancel(e){var n,i;const r=(n=U(this,Jt))==null?void 0:n.promise;return(i=U(this,Jt))==null||i.cancel(e),r?r.then(vn).catch(vn):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(U(this,Hs))}isActive(){return this.observers.some(e=>nD(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===fy||this.state.dataUpdateCount+this.state.errorUpdate
196Count===0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>J0(e.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e==="static"?!1:this.state.isInvalidated?!0:!rD(this.state.dataUpdatedAt,e)}onFocus(){var r;const e=this.observers.find(n=>n.shouldFetchOnWindowFocus());e==null||e.refetch({cancelRefetch:!1}),(r=U(this,Jt))==null||r.continue()}onOnline(){var r;const e=this.observers.find(n=>n.shouldFetchOnReconnect());e==null||e.refetch({cancelRefetch:!1}),(r=U(this,Jt))==null||r.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),U(this,Ur).notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(r=>r!==e),this.observers.length||(U(this,Jt)&&(U(this,fa)?U(this,Jt).cancel({revert:!0}):U(this,Jt).cancelRetry()),this.scheduleGc()),U(this,Ur).notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Gt(this,gn,$n).call(this,{type:"invalidate"})}fetch(e,r){var l,c,d;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(r!=null&&r.cancelRefetch))this.cancel({silent:!0});else if(U(this,Jt))return U(this,Jt).continueRetry(),U(this,Jt).promise}if(e&&this.setOptions(e),!this.options.queryFn){const h=this.observers.find(f=>f.options.queryFn);h&&this.setOptions(h.options)}const n=new AbortController,i=h=>{Object.defineProperty(h,"signal",{enumerable:!0,get:()=>(Se(this,fa,!0),n.signal)})},o=()=>{const h=sT(this.options,r),m=(()=>{const p={client:U(this,da),queryKey:this.queryKey,meta:this.meta};return i(p),p})();return Se(this,fa,!1),this.options.persister?this.options.persister(h,m,this):h(m)},s=(()=>{const h={fetchOptions:r,options:this.options,queryKey:this.queryKey,client:U(this,da),state:this.state,fetchFn:o};return i(h),h})();(l=this.options.behavior)==null||l.onFetch(s,this),Se(this,ca,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((c=s.fetchOptions)==null?void 0:c.meta))&&Gt(this,gn,$n).call(this,{type:"fetch",meta:(d=s.fetchOptions)==null?void 0:d.meta});const u=h=>{var f,m,p,g;dv(h)&&h.silent||Gt(this,gn,$n).call(this,{type:"error",error:h}),dv(h)||((m=(f=U(this,Ur).config).onError)==null||m.call(f,h,this),(g=(p=U(this,Ur).config).onSettled)==null||g.call(p,this.state.data,h,this)),this.scheduleGc()};return Se(this,Jt,dT({initialPromise:r==null?void 0:r.initialPromise,fn:s.fetchFn,abort:n.abort.bind(n),onSuccess:h=>{var f,m,p,g;if(h===void 0){u(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(h)}catch(v){u(v);return}(m=(f=U(this,Ur).config).onSuccess)==null||m.call(f,h,this),(g=(p=U(this,Ur).config).onSettled)==null||g.call(p,h,this.state.error,this),this.scheduleGc()},onError:u,onFail:(h,f)=>{Gt(this,gn,$n).call(this,{type:"failed",failureCount:h,error:f})},onPause:()=>{Gt(this,gn,$n).call(this,{type:"pause"})},onContinue:()=>{Gt(this,gn,$n).call(this,{type:"continue"})},retry:s.options.retry,retryDelay:s.options.retryDelay,networkMode:s.options.networkMode,canRun:()=>!0})),U(this,Jt).start()}},Hs=new WeakMap,ca=new WeakMap,Ur=new WeakMap,da=new WeakMap,Jt=new WeakMap,Ec=new WeakMap,fa=new WeakMap,gn=new WeakSet,$n=function(e){const r=n=>{switch(e.type){case"failed":return{...n,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...n,fetchStatus:"paused"};case"continue":return{...n,fetchStatus:"fetching"};case"fetch":return{...n,...vD(n.data,this.options),fetchMeta:e.meta??null};case"success":return Se(this,ca,void 0),{...n,data:e.data,dataUpdateCount:n.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const i=e.error;return dv(i)&&i.revert&&U(this,ca)?{...U(this,ca),fetchStatus:"idle"}
vendor: 5,105 bytes, line 196
196:{...n,error:i,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"};case"invalidate":return{...n,isInvalidated:!0};case"setState":return{...n,...e.state}}};this.state=r(this.state),or.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate()}),U(this,Ur).notify({query:this,type:"updated",action:e})})},xS);function vD(t,e){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:uT(e.networkMode)?"fetching":"paused",...t===void 0&&{error:null,status:"pending"}}}function mD(t){const e=typeof t.initialData=="function"?t.initialData():t.initialData,r=e!==void 0,n=r?typeof t.initialDataUpdatedAt=="function"?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:r?n??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}var Dn,SS,gD=(SS=class extends Zh{constructor(e={}){super();qe(this,Dn);this.config=e,Se(this,Dn,new Map)}build(e,r,n){const i=r.queryKey,o=r.queryHash??dy(i,r);let a=this.get(o);return a||(a=new pD({client:e,queryKey:i,queryHash:o,options:e.defaultQueryOptions(r),state:n,defaultOptions:e.getQueryDefaults(i)}),this.add(a)),a}add(e){U(this,Dn).has(e.queryHash)||(U(this,Dn).set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const r=U(this,Dn).get(e.queryHash);r&&(e.destroy(),r===e&&U(this,Dn).delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){or.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return U(this,Dn).get(e)}getAll(){return[...U(this,Dn).values()]}find(e){const r={exact:!0,...e};return this.getAll().find(n=>Vb(r,n))}findAll(e={}){const r=this.getAll();return Object.keys(e).length>0?r.filter(n=>Vb(e,n)):r}notify(e){or.batch(()=>{this.listeners.forEach(r=>{r(e)})})}onFocus(){or.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){or.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},Dn=new WeakMap,SS),Mn,nr,ha,Ln,Ii,kS,yD=(kS=class extends fT{constructor(e){super();qe(this,Ln);qe(this,Mn);qe(this,nr);qe(this,ha);this.mutationId=e.mutationId,Se(this,nr,e.mutationCache),Se(this,Mn,[]),this.state=e.state||wD(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){U(this,Mn).includes(e)||(U(this,Mn).push(e),this.clearGcTimeout(),U(this,nr).notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){Se(this,Mn,U(this,Mn).filter(r=>r!==e)),this.scheduleGc(),U(this,nr).notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){U(this,Mn).length||(this.state.status==="pending"?this.scheduleGc():U(this,nr).remove(this))}continue(){var e;return((e=U(this,ha))==null?void 0:e.continue())??this.execute(this.state.variables)}async execute(e){var o,a,s,u,l,c,d,h,f,m,p,g,v,y,w,S,k,C,E,R;const r=()=>{Gt(this,Ln,Ii).call(this,{type:"continue"})};Se(this,ha,dT({fn:()=>this.options.mutationFn?this.options.mutationFn(e):Promise.reject(new Error("No mutationFn found")),onFail:(A,_)=>{Gt(this,Ln,Ii).call(this,{type:"failed",failureCount:A,error:_})},onPause:()=>{Gt(this,Ln,Ii).call(this,{type:"pause"})},onContinue:r,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>U(this,nr).canRun(this)}));const n=this.state.status==="pending",i=!U(this,ha).canStart();try{if(n)r();else{Gt(this,Ln,Ii).call(this,{type:"pending",variables:e,isPaused:i}),await((a=(o=U(this,nr).config).onMutate)==null?void 0:a.call(o,e,this));const _=await((u=(s=this.options).onMutate)==null?void 0:u.call(s,e));_!==this.state.context&&Gt(this,Ln,Ii).call(this,{type:"pending",context:_,variables:e,isPaused:i})}const A=await U(this,ha).start();return await((c=(l=U(this,nr).config).onSuccess)==null?void 0:c.call(l,A,e,this.state.context,this)),await((h=(d=this.options).onSuccess)==null?void 0:h.call(d,A,e,this.state.context)),await((m=(f=U(this,nr).config).onSettled)==null?void 0:m.call(f,A,null,this.state.variables,this.state.context,this)),await((g=(p=this.options).onSettled)==null?void 0:g.call(p,A,null,e,this.state.context)),Gt(this,Ln,Ii).call(this,{type:"success",data:A}),A}catch(A){try{throw await((y=(v=U(this,nr).config).onError)==null?void 0:y.call(v,A,e,this.state.context,this)),await((S=(w=this.options).onError)==null?void 0:S.call(w,A,e,this.state.context)),await((C=(k=U(this,nr).config).onSettled)==null?void 0:C.call(k,void 0,A,this.state.variables,this.state.context,this)),await((R=(E=this.options).onSettled)==null?void 0:R.call(E,void 0,A,e,this.state.context)),A}finally{Gt(this,Ln,Ii).call(this,{type:"error",error:A})}}finally{U(this,nr).runNext(this)}}},Mn=new WeakMap,nr=new WeakMap,ha=new WeakMap,Ln=new WeakSet,Ii=function(e){const r=n=>{switch(e.type){case"failed":return{...n,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...n,isPaused:!0};case"continue":return{...n,isPaused:!1};
196case"pending":return{...n,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...n,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...n,data:void 0,error:e.error,failureCount:n.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=r(this.state),or.batch(()=>{U(this,Mn).forEach(n=>{n.onMutationUpdate(e)}),U(this,nr).notify({mutation:this,type:"updated",action:e})})},kS);function wD(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var si,yn,Tc,CS,bD=(CS=class extends Zh{constructor(e={}){super();qe(this,si);qe(this,yn);qe(this,Tc);this.config=e,Se(this,si,new Set),Se(this,yn,new Map),Se(this,Tc,0)}build(e,r,n){const i=new yD({mutationCache:this,mutationId:++Gc(this,Tc)._,options:e.defaultMutationOptions(r),state:n});return this.add(i),i}add(e){U(this,si).add(e);const r=vd(e);if(typeof r=="string"){const n=U(this,yn).get(r);n?n.push(e):U(this,yn).set(r,[e])}this.notify({type:"added",mutation:e})}remove(e){if(U(this,si).delete(e)){const r=vd(e);if(typeof r=="string"){const n=U(this,yn).get(r);if(n)if(n.length>1){const i=n.indexOf(e);i!==-1&&n.splice(i,1)}else n[0]===e&&U(this,yn).delete(r)}}this.notify({type:"removed",mutation:e})}canRun(e){const r=vd(e);if(typeof r=="string"){const n=U(this,yn).get(r),i=n==null?void 0:n.find(o=>o.state.status==="pending");return!i||i===e}else return!0}runNext(e){var n;const r=vd(e);if(typeof r=="string"){const i=(n=U(this,yn).get(r))==null?void 0:n.find(o=>o!==e&&o.state.isPaused);return(i==null?void 0:i.continue())??Promise.resolve()}else return Promise.resolve()}clear(){or.batch(()=>{U(this,si).forEach(e=>{this.notify({type:"removed",mutation:e})}),U(this,si).clear(),U(this,yn).clear()})}getAll(){return Array.from(U(this,si))}find(e){const r={exact:!0,...e};return this.getAll().find(n=>Wb(r,n))}findAll(e={}){return this.getAll().filter(r=>Wb(e,r))}notify(e){or.batch(()=>{this.listeners.forEach(r=>{r(e)})})}resumePausedMutations(){const e=this.getAll().filter(r=>
vendor: 6,897 bytes, lines 196-205
196r.state.isPaused);return or.batch(()=>Promise.all(e.map(r=>r.continue().catch(vn))))}},si=new WeakMap,yn=new WeakMap,Tc=new WeakMap,CS);function vd(t){var e;return(e=t.options.scope)==null?void 0:e.id}function Kb(t){return{onFetch:(e,r)=>{var c,d,h,f,m;const n=e.options,i=(h=(d=(c=e.fetchOptions)==null?void 0:c.meta)==null?void 0:d.fetchMore)==null?void 0:h.direction,o=((f=e.state.data)==null?void 0:f.pages)||[],a=((m=e.state.data)==null?void 0:m.pageParams)||[];let s={pages:[],pageParams:[]},u=0;const l=async()=>{let p=!1;const g=w=>{Object.defineProperty(w,"signal",{enumerable:!0,get:()=>(e.signal.aborted?p=!0:e.signal.addEventListener("abort",()=>{p=!0}),e.signal)})},v=sT(e.options,e.fetchOptions),y=async(w,S,k)=>{if(p)return Promise.reject();if(S==null&&w.pages.length)return Promise.resolve(w);const E=(()=>{const O={client:e.client,queryKey:e.queryKey,pageParam:S,direction:k?"backward":"forward",meta:e.options.meta};return g(O),O})(),R=await v(E),{maxPages:A}=e.options,_=k?sD:aD;return{pages:_(w.pages,R,A),pageParams:_(w.pageParams,S,A)}};if(i&&o.length){const w=i==="backward",S=w?xD:Gb,k={pages:o,pageParams:a},C=S(n,k);s=await y(k,C,w)}else{const w=t??o.length;do{const S=u===0?a[0]??n.initialPageParam:Gb(n,s);if(u>0&&S==null)break;s=await y(s,S),u++}while(u<w)}return s};e.options.persister?e.fetchFn=()=>{var p,g;return(g=(p=e.options).persister)==null?void 0:g.call(p,l,{client:e.client,queryKey:e.queryKey,meta:e.options.meta,signal:e.signal},r)}:e.fetchFn=l}}}function Gb(t,{pages:e,pageParams:r}){const n=e.length-1;return e.length>0?t.getNextPageParam(e[n],e,r[n],r):void 0}function xD(t,{pages:e,pageParams:r}){var n;return e.length>0?(n=t.getPreviousPageParam)==null?void 0:n.call(t,e[0],e,r[0],r):void 0}var mt,$i,eo,Ks,Gs,to,Xs,Zs,ES,SD=(ES=class{constructor(t={}){qe(this,mt);qe(this,$i);qe(this,eo);qe(this,Ks);qe(this,Gs);qe(this,to);qe(this,Xs);qe(this,Zs);Se(this,mt,t.queryCache||new gD),Se(this,$i,t.mutationCache||new bD),Se(this,eo,t.defaultOptions||{}),Se(this,Ks,new Map),Se(this,Gs,new Map),Se(this,to,0)}mount(){Gc(this,to)._++,U(this,to)===1&&(Se(this,Xs,lT.subscribe(async t=>{t&&(await this.resumePausedMutations(),U(this,mt).onFocus())})),Se(this,Zs,Xf.subscribe(async t=>{t&&(await this.resumePausedMutations(),U(this,mt).onOnline())})))}unmount(){var t,e;Gc(this,to)._--,U(this,to)===0&&((t=U(this,Xs))==null||t.call(this),Se(this,Xs,void 0),(e=U(this,Zs))==null||e.call(this),Se(this,Zs,void 0))}isFetching(t){return U(this,mt).findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return U(this,$i).findAll({...t,status:"pending"}).length}getQueryData(t){var r;const e=this.defaultQueryOptions({queryKey:t});return(r=U(this,mt).get(e.queryHash))==null?void 0:r.state.data}ensureQueryData(t){const e=this.defaultQueryOptions(t),r=U(this,mt).build(this,e),n=r.state.data;return n===void 0?this.fetchQuery(t):(t.revalidateIfStale&&r.isStaleByTime(J0(e.staleTime,r))&&this.prefetchQuery(e),Promise.resolve(n))}getQueriesData(t){return U(this,mt).findAll(t).map(({queryKey:e,state:r})=>{const n=r.data;return[e,n]})}setQueryData(t,e,r){const n=this.defaultQueryOptions({queryKey:t}),i=U(this,mt).get(n.queryHash),o=i==null?void 0:i.state.data,a=eD(e,o);if(a!==void 0)return U(this,mt).build(this,n).setData(a,{...r,manual:!0})}setQueriesData(t,e,r){return or.batch(()=>U(this,mt).findAll(t).map(({queryKey:n})=>[n,this.setQueryData(n,e,r)]))}getQueryState(t){var r;const e=this.defaultQueryOptions({queryKey:t});return(r=U(this,mt).get(e.queryHash))==null?void 0:r.state}removeQueries(t){const e=U(this,mt);or.batch(()=>{e.findAll(t).forEach(r=>{e.remove(r)})})}resetQueries(t,e){const r=U(this,mt);return or.batch(()=>(r.findAll(t).forEach(n=>{n.reset()}),this.refetchQueries({type:"active",...t},e)))}cancelQueries(t,e={}){const r={revert:!0,...e},n=or.batch(()=>U(this,mt).findAll(t).map(i=>i.cancel(r)));return Promise.all(n).then(vn).catch(vn)}invalidateQueries(t,e={}){return or.batch(()=>(U(this,mt).findAll(t).forEach(r=>{r.invalidate()}),(t==null?void 0:t.refetchType)==="none"?Promise.resolve():this.refetchQueries({...t,type:(t==null?void 0:t.refetchType)??(t==null?void 0:t.type)??"active"},e)))}refetchQueries(t,e={}){const r={...e,cancelRefetch:e.cancelRefetch??!0},n=or.batch(()=>U(this,mt).findAll(t).filter(i=>!i.isDisabled()&&!i.isStatic()).map(i=>{let o=i.fetch(void 0,r);return r.throwOnError||(o=o.catch(vn)),i.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(n).then(vn)}fetchQuery(t){const e=this.defaultQueryOptions(t);e.retry===void 0&&(e.retry=!1);const r=U(this,mt).build(this,e);return r.isStaleByTime(J0(e.staleTime,r))?r.fetch(e):Promise.resolve(r.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(vn).catch(vn)}fetchInfiniteQuery(t){return t.behavior=Kb(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(vn).catch(vn)}ensureInfiniteQueryData(t){return t.behavior=Kb(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return Xf.isOnline()?U(this,$i).resumePausedMutations():Promise.resolve()}getQueryCache(){return U(this,mt)}getMutationCache(){return U(this,$i)}getDefaultOptions(){return U(this,eo)}setDefaultOptions(t){Se(this,eo,t)}setQueryDefaults(t,e){U(this,Ks).set(tc(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){const e=[...U(this,Ks).values()],r={};return e.forEach(n=>{rc(t,n.queryKey)&&Object.assign(r,n.defaultOptions)}),r}setMutationDefaults(t,e){U(this,Gs).set(tc(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){const e=[...U(this,Gs).values()],r={};return e.forEach(n=>{rc(t,n.mutationKey)&&Object.assign(r,n.defaultOptions)}),r}defaultQueryOptions(t){if(t._defaulted)return t;const e={...U(this,eo).queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return e.queryHash||(e.queryHash=dy(e.queryKey,e)),e.refetchOnReconnect===void 0&&(e.refetchOnReconnect=e.networkMode!=="always"),e.throwOnError===void 0&&(e.throwOnError=!!e.suspense),!e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),e.queryFn===fy&&(e.enabled=!1),e}defaultMutationOptions(t){return t!=null&&t._defaulted?t:{...U(this,eo).mutations,...(t==null?void 0:t.mutationKey)&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){U(this,mt).clear(),U(this,$i).clear()}},mt=new WeakMap,$i=new WeakMap,eo=new WeakMap,Ks=new WeakMap,Gs=new WeakMap,to=new WeakMap,Xs=new WeakMap,Zs=new WeakMap,ES),kD=x.createContext(void 0),CD=({client:t,children:e})=>(x.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),b.jsx(kD.Provider,{value:t,children:e}));/**
197 * @remix-run/router v1.23.0
198 *
199 * Copyright (c) Remix Software Inc.
200 *
201 * This source code is licensed under the MIT license found in the
202 * LICENSE.md file in the root directory of this source tree.
203 *
204 * @license MIT
205 */function nc(){return nc=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];
vendor: 5,028 bytes, line 205
205for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},nc.apply(this,arguments)}var io;(function(t){t.Pop="POP",t.Push="PUSH",t.Replace="REPLACE"})(io||(io={}));const Xb="popstate";function ED(t){t===void 0&&(t={});function e(n,i){let{pathname:o,search:a,hash:s}=n.location;return $0("",{pathname:o,search:a,hash:s},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function r(n,i){return typeof i=="string"?i:pT(i)}return PD(e,r,null,t)}function _t(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function hT(t,e){if(!t){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function TD(){return Math.random().toString(36).substr(2,8)}function Zb(t,e){return{usr:t.state,key:t.key,idx:e}}function $0(t,e,r,n){return r===void 0&&(r=null),nc({pathname:typeof t=="string"?t:t.pathname,search:"",hash:""},typeof e=="string"?gl(e):e,{state:r,key:e&&e.key||n||TD()})}function pT(t){let{pathname:e="/",search:r="",hash:n=""}=t;return r&&r!=="?"&&(e+=r.charAt(0)==="?"?r:"?"+r),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function gl(t){let e={};if(t){let r=t.indexOf("#");r>=0&&(e.hash=t.substr(r),t=t.substr(0,r));let n=t.indexOf("?");n>=0&&(e.search=t.substr(n),t=t.substr(0,n)),t&&(e.pathname=t)}return e}function PD(t,e,r,n){n===void 0&&(n={});let{window:i=document.defaultView,v5Compat:o=!1}=n,a=i.history,s=io.Pop,u=null,l=c();l==null&&(l=0,a.replaceState(nc({},a.state,{idx:l}),""));function c(){return(a.state||{idx:null}).idx}function d(){s=io.Pop;let g=c(),v=g==null?null:g-l;l=g,u&&u({action:s,location:p.location,delta:v})}function h(g,v){s=io.Push;let y=$0(p.location,g,v);l=c()+1;let w=Zb(y,l),S=p.createHref(y);try{a.pushState(w,"",S)}catch(k){if(k instanceof DOMException&&k.name==="DataCloneError")throw k;i.location.assign(S)}o&&u&&u({action:s,location:p.location,delta:1})}function f(g,v){s=io.Replace;let y=$0(p.location,g,v);l=c();let w=Zb(y,l),S=p.createHref(y);a.replaceState(w,"",S),o&&u&&u({action:s,location:p.location,delta:0})}function m(g){let v=i.location.origin!=="null"?i.location.origin:i.location.href,y=typeof g=="string"?g:pT(g);return y=y.replace(/ $/,"%20"),_t(v,"No window.location.(origin|href) available to create URL for href: "+y),new URL(y,v)}let p={get action(){return s},get location(){return t(i,a)},listen(g){if(u)throw new Error("A history only accepts one active listener");return i.addEventListener(Xb,d),u=g,()=>{i.removeEventListener(Xb,d),u=null}},createHref(g){return e(i,g)},createURL:m,encodeLocation(g){let v=m(g);return{pathname:v.pathname,search:v.search,hash:v.hash}},push:h,replace:f,go(g){return a.go(g)}};return p}var Yb;(function(t){t.data="data",t.deferred="deferred",t.redirect="redirect",t.error="error"})(Yb||(Yb={}));function RD(t,e,r){return r===void 0&&(r="/"),AD(t,e,r,!1)}function AD(t,e,r,n){let i=typeof e=="string"?gl(e):e,o=gT(i.pathname||"/",r);if(o==null)return null;let a=vT(t);OD(a);let s=null;for(let u=0;s==null&&u<a.length;++u){let l=zD(o);s=BD(a[u],l,n)}return s}function vT(t,e,r,n){e===void 0&&(e=[]),r===void 0&&(r=[]),n===void 0&&(n="");let i=(o,a,s)=>{let u={relativePath:s===void 0?o.path||"":s,caseSensitive:o.caseSensitive===!0,childrenIndex:a,route:o};u.relativePath.startsWith("/")&&(_t(u.relativePath.startsWith(n),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+n+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(n.length));let l=ma([n,u.relativePath]),c=r.concat(u);o.children&&o.children.length>0&&(_t(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+l+'".')),vT(o.children,e,c,l)),!(o.path==null&&!o.index)&&e.push({path:l,score:MD(l,o.index),routesMeta:c})};return t.forEach((o,a)=>{var s;if(o.path===""||!((s=o.path)!=null&&s.includes("?")))i(o,a);else for(let u of mT(o.path))i(o,a,u)}),e}function mT(t){let e=t.split("/");if(e.length===0)return[];let[r,...n]=e,i=r.endsWith("?"),o=r.replace(/\?$/,"");if(n.length===0)return i?[o,""]:[o];let a=mT(n.join("/")),s=[];return s.push(...a.map(u=>u===""?o:[o,u].join("/"))),i&&s.push(...a),s.map(u=>t.startsWith("/")&&u===""?"/":u)}function OD(t){t.sort((e,r)=>e.score!==r.score?r.score-e.score:LD(e.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}const _D=/^:[\w-]+$/,ND=3,jD=2,FD=1,ID=10,DD=-2,Jb=t=>t==="*";function MD(t,e){let r=t.split("/"),n=r.length;return r.some(Jb)&&(n+=DD),e&&(n+=jD),r.filter(i=>!Jb(i)).reduce((i,o)=>i+(_D.test(o)?ND:o===""?FD:ID),n)}function LD(t,e){return t.length===e.length&&t.slice(0,-1).every((n,i)=>n===e[i])?t[t.length-1]-e[e.length-1]:0}function BD(t,e,r){let{routesMeta:n}=t,i={},o="/",a=[];for(let s=0;s<n.length;++s){let u=n[s],l=s===n.length-1,c=o==="/"?e:e.slice(o.length)||"/",d=Qb({path:u.relativePath,caseSensitive:u.caseSensitive,end:l},c),h=u.route;if(!d&&l&&r&&!n[n.length-1].route.index&&(d=Qb({path:u.relativePath,caseSensitive:u.caseSensitive,end:!1},c)),!d)return null;
vendor: 13,192 bytes, lines 205-223
205Object.assign(i,d.params),a.push({params:i,pathname:ma([o,d.pathname]),pathnameBase:GD(ma([o,d.pathnameBase])),route:h}),d.pathnameBase!=="/"&&(o=ma([o,d.pathnameBase]))}return a}function Qb(t,e){typeof t=="string"&&(t={path:t,caseSensitive:!1,end:!0});let[r,n]=UD(t.path,t.caseSensitive,t.end),i=e.match(r);if(!i)return null;let o=i[0],a=o.replace(/(.)\/+$/,"$1"),s=i.slice(1);return{params:n.reduce((l,c,d)=>{let{paramName:h,isOptional:f}=c;if(h==="*"){let p=s[d]||"";a=o.slice(0,o.length-p.length).replace(/(.)\/+$/,"$1")}const m=s[d];return f&&!m?l[h]=void 0:l[h]=(m||"").replace(/%2F/g,"/"),l},{}),pathname:o,pathnameBase:a,pattern:t}}function UD(t,e,r){e===void 0&&(e=!1),r===void 0&&(r=!0),hT(t==="*"||!t.endsWith("*")||t.endsWith("/*"),'Route path "'+t+'" will be treated as if it were '+('"'+t.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+t.replace(/\*$/,"/*")+'".'));let n=[],i="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(a,s,u)=>(n.push({paramName:s,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)"));return t.endsWith("*")?(n.push({paramName:"*"}),i+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?i+="\\/*$":t!==""&&t!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,e?void 0:"i"),n]}function zD(t){try{return t.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(e){return hT(!1,'The URL path "'+t+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+e+").")),t}}function gT(t,e){if(e==="/")return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;let r=e.endsWith("/")?e.length-1:e.length,n=t.charAt(r);return n&&n!=="/"?null:t.slice(r)||"/"}function VD(t,e){e===void 0&&(e="/");let{pathname:r,search:n="",hash:i=""}=typeof t=="string"?gl(t):t;return{pathname:r?r.startsWith("/")?r:WD(r,e):e,search:XD(n),hash:ZD(i)}}function WD(t,e){let r=e.replace(/\/+$/,"").split("/");return t.split("/").forEach(i=>{i===".."?r.length>1&&r.pop():i!=="."&&r.push(i)}),r.length>1?r.join("/"):"/"}function fv(t,e,r,n){return"Cannot include a '"+t+"' character in a manually specified "+("`to."+e+"` field ["+JSON.stringify(n)+"].  Please separate it out to the ")+("`to."+r+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function qD(t){return t.filter((e,r)=>r===0||e.route.path&&e.route.path.length>0)}function HD(t,e){let r=qD(t);return e?r.map((n,i)=>i===r.length-1?n.pathname:n.pathnameBase):r.map(n=>n.pathnameBase)}function KD(t,e,r,n){n===void 0&&(n=!1);let i;typeof t=="string"?i=gl(t):(i=nc({},t),_t(!i.pathname||!i.pathname.includes("?"),fv("?","pathname","search",i)),_t(!i.pathname||!i.pathname.includes("#"),fv("#","pathname","hash",i)),_t(!i.search||!i.search.includes("#"),fv("#","search","hash",i)));let o=t===""||i.pathname==="",a=o?"/":i.pathname,s;if(a==null)s=r;else{let d=e.length-1;if(!n&&a.startsWith("..")){let h=a.split("/");for(;h[0]==="..";)h.shift(),d-=1;i.pathname=h.join("/")}s=d>=0?e[d]:"/"}let u=VD(i,s),l=a&&a!=="/"&&a.endsWith("/"),c=(o||a===".")&&r.endsWith("/");return!u.pathname.endsWith("/")&&(l||c)&&(u.pathname+="/"),u}const ma=t=>t.join("/").replace(/\/\/+/g,"/"),GD=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),XD=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,ZD=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t;function YD(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}const yT=["post","put","patch","delete"];new Set(yT);const JD=["get",...yT];new Set(JD);/**
206 * React Router v6.30.1
207 *
208 * Copyright (c) Remix Software Inc.
209 *
210 * This source code is licensed under the MIT license found in the
211 * LICENSE.md file in the root directory of this source tree.
212 *
213 * @license MIT
214 */function ic(){return ic=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},ic.apply(this,arguments)}const hy=x.createContext(null),QD=x.createContext(null),Jh=x.createContext(null),Qh=x.createContext(null),yl=x.createContext({outlet:null,matches:[],isDataRoute:!1}),wT=x.createContext(null);function $h(){return x.useContext(Qh)!=null}function py(){return $h()||_t(!1),x.useContext(Qh).location}function bT(t){x.useContext(Jh).static||x.useLayoutEffect(t)}function xT(){let{isDataRoute:t}=x.useContext(yl);return t?d3():$D()}function $D(){$h()||_t(!1);let t=x.useContext(hy),{basename:e,future:r,navigator:n}=x.useContext(Jh),{matches:i}=x.useContext(yl),{pathname:o}=py(),a=JSON.stringify(HD(i,r.v7_relativeSplatPath)),s=x.useRef(!1);return bT(()=>{s.current=!0}),x.useCallback(function(l,c){if(c===void 0&&(c={}),!s.current)return;if(typeof l=="number"){n.go(l);return}let d=KD(l,JSON.parse(a),o,c.relative==="path");t==null&&e!=="/"&&(d.pathname=d.pathname==="/"?e:ma([e,d.pathname])),(c.replace?n.replace:n.push)(d,c.state,c)},[e,n,a,o,t])}function e3(t,e){return t3(t,e)}function t3(t,e,r,n){$h()||_t(!1);let{navigator:i}=x.useContext(Jh),{matches:o}=x.useContext(yl),a=o[o.length-1],s=a?a.params:{};a&&a.pathname;let u=a?a.pathnameBase:"/";a&&a.route;let l=py(),c;if(e){var d;let g=typeof e=="string"?gl(e):e;u==="/"||(d=g.pathname)!=null&&d.startsWith(u)||_t(!1),c=g}else c=l;let h=c.pathname||"/",f=h;if(u!=="/"){let g=u.replace(/^\//,"").split("/");f="/"+h.replace(/^\//,"").split("/").slice(g.length).join("/")}let m=RD(t,{pathname:f}),p=a3(m&&m.map(g=>Object.assign({},g,{params:Object.assign({},s,g.params),pathname:ma([u,i.encodeLocation?i.encodeLocation(g.pathname).pathname:g.pathname]),pathnameBase:g.pathnameBase==="/"?u:ma([u,i.encodeLocation?i.encodeLocation(g.pathnameBase).pathname:g.pathnameBase])})),o,r,n);return e&&p?x.createElement(Qh.Provider,{value:{location:ic({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:io.Pop}},p):p}function r3(){let t=c3(),e=YD(t)?t.status+" "+t.statusText:t instanceof Error?t.message:JSON.stringify(t),r=t instanceof Error?t.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return x.createElement(x.Fragment,null,x.createElement("h2",null,"Unexpected Application Error!"),x.createElement("h3",{style:{fontStyle:"italic"}},e),r?x.createElement("pre",{style:i},r):null,null)}const n3=x.createElement(r3,null);class i3 extends x.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,r){return r.location!==e.location||r.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:r.error,location:r.location,revalidation:e.revalidation||r.revalidation}}componentDidCatch(e,r){console.error("React Router caught the following error during render",e,r)}render(){return this.state.error!==void 0?x.createElement(yl.Provider,{value:this.props.routeContext},x.createElement(wT.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function o3(t){let{routeContext:e,match:r,children:n}=t,i=x.useContext(hy);return i&&i.static&&i.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=r.route.id),x.createElement(yl.Provider,{value:e},n)}function a3(t,e,r,n){var i;if(e===void 0&&(e=[]),r===void 0&&(r=null),n===void 0&&(n=null),t==null){var o;if(!r)return null;if(r.errors)t=r.matches;else if((o=n)!=null&&o.v7_partialHydration&&e.length===0&&!r.initialized&&r.matches.length>0)t=r.matches;else return null}let a=t,s=(i=r)==null?void 0:i.errors;if(s!=null){let c=a.findIndex(d=>d.route.id&&(s==null?void 0:s[d.route.id])!==void 0);c>=0||_t(!1),a=a.slice(0,Math.min(a.length,c+1))}let u=!1,l=-1;if(r&&n&&n.v7_partialHydration)for(let c=0;c<a.length;c++){let d=a[c];if((d.route.HydrateFallback||d.route.hydrateFallbackElement)&&(l=c),d.route.id){let{loaderData:h,errors:f}=r,m=d.route.loader&&h[d.route.id]===void 0&&(!f||f[d.route.id]===void 0);if(d.route.lazy||m){u=!0,l>=0?a=a.slice(0,l+1):a=[a[0]];break}}}return a.reduceRight((c,d,h)=>{let f,m=!1,p=null,g=null;r&&(f=s&&d.route.id?s[d.route.id]:void 0,p=d.route.errorElement||n3,u&&(l<0&&h===0?(m=!0,g=null):l===h&&(m=!0,g=d.route.hydrateFallbackElement||null)));let v=e.concat(a.slice(0,h+1)),y=()=>{let w;return f?w=p:m?w=g:d.route.Component?w=x.createElement(d.route.Component,null):d.route.element?w=d.route.element:w=c,x.createElement(o3,{match:d,routeContext:{outlet:c,matches:v,isDataRoute:r!=null},children:w})};return r&&(d.route.ErrorBoundary||d.route.errorElement||h===0)?x.createElement(i3,{location:r.location,revalidation:r.revalidation,component:p,error:f,children:y(),routeContext:{outlet:null,matches:v,isDataRoute:!0}}):y()},null)}var ST=function(t){return t.UseBlocker="useBlocker",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t}(ST||{}),Zf=function(t){return t.UseBlocker="useBlocker",t.UseLoaderData="useLoaderData",t.UseActionData="useActionData",t.UseRouteError="useRouteError",t.UseNavigation="useNavigation",t.UseRouteLoaderData="useRouteLoaderData",t.UseMatches="useMatches",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t.UseRouteId="useRouteId",t}(Zf||{});function s3(t){let e=x.useContext(hy);return e||_t(!1),e}function l3(t){let e=x.useContext(QD);return e||_t(!1),e}function u3(t){let e=x.useContext(yl);return e||_t(!1),e}function kT(t){let e=u3(),r=e.matches[e.matches.length-1];return r.route.id||_t(!1),r.route.id}function c3(){var t;let e=x.useContext(wT),r=l3(Zf.UseRouteError),n=kT(Zf.UseRouteError);return e!==void 0?e:(t=r.errors)==null?void 0:t[n]}function d3(){let{router:t}=s3(ST.UseNavigateStable),e=kT(Zf.UseNavigateStable),r=x.useRef(!1);return bT(()=>{r.current=!0}),x.useCallback(function(i,o){o===void 0&&(o={}),r.current&&(typeof i=="number"?t.navigate(i):t.navigate(i,ic({fromRouteId:e},o)))},[t,e])}function f3(t,e){t==null||t.v7_startTransition,t==null||t.v7_relativeSplatPath}function tu(t){_t(!1)}function h3(t){let{basename:e="/",children:r=null,location:n,navigationType:i=io.Pop,navigator:o,static:a=!1,future:s}=t;$h()&&_t(!1);let u=e.replace(/^\/*/,"/"),l=x.useMemo(()=>({basename:u,navigator:o,static:a,future:ic({v7_relativeSplatPath:!1},s)}),[u,s,o,a]);typeof n=="string"&&(n=gl(n));let{pathname:c="/",search:d="",hash:h="",state:f=null,key:m="default"}=n,p=x.useMemo(()=>{let g=gT(c,u);return g==null?null:{location:{pathname:g,search:d,hash:h,state:f,key:m},navigationType:i}},[u,c,d,h,f,m,i]);return p==null?null:x.createElement(Jh.Provider,{value:l},x.createElement(Qh.Provider,{children:r,value:p}))}function p3(t){let{children:e,location:r}=t;return e3(em(e),r)}new Promise(()=>{});function em(t,e){e===void 0&&(e=[]);let r=[];return x.Children.forEach(t,(n,i)=>{if(!x.isValidElement(n))return;let o=[...e,i];if(n.type===x.Fragment){r.push.apply(r,em(n.props.children,o));return}n.type!==tu&&_t(!1),!n.props.index||!n.props.children||_t(!1);let a={id:n.props.id||o.join("-"),caseSensitive:n.props.caseSensitive,element:n.props.element,Component:n.props.Component,index:n.props.index,path:n.props.path,loader:n.props.loader,action:n.props.action,errorElement:n.props.errorElement,ErrorBoundary:n.props.ErrorBoundary,hasErrorBoundary:n.props.ErrorBoundary!=null||n.props.errorElement!=null,shouldRevalidate:n.props.shouldRevalidate,handle:n.props.handle,lazy:n.props.lazy};n.props.children&&(a.children=em(n.props.children,o)),r.push(a)}),r}/**
215 * React Router DOM v6.30.1
216 *
217 * Copyright (c) Remix Software Inc.
218 *
219 * This source code is licensed under the MIT license found in the
220 * LICENSE.md file in the root directory of this source tree.
221 *
222 * @license MIT
223 */const v3="6";try{window.__reactRouterVersion=v3}catch{}const m3="startTransition",$b=Qm[m3];function g3(t){let{basename:e,children:r,future:n,window:i}=t,o=x.useRef();o.current==null&&(o.current=ED({window:i,v5Compat:!0}));let a=o.current,[s,u]=x.useState({action:a.action,location:a.location}),{v7_startTransition:l}=n||{},c=x.useCallback(d=>{l&&$b?$b(()=>u(d)):u(d)},[u,l]);return x.useLayoutEffect(()=>a.listen(c),[a,c]),x.useEffect(()=>f3(n),[n]),x.createElement(h3,{basename:e,children:r,location:s.location,navigationType:s.action,navigator:a,future:n})}var ex;(function(t){t.UseScrollRestoration="useScrollRestoration",t.UseSubmit="useSubmit",t.UseSubmitFetcher="useSubmitFetcher",t.UseFetcher="useFetcher",t.useViewTransitionState="useViewTransitionState"})(ex||(ex={}));var tx;(function(t){t.UseFetcher="useFetcher",t.UseFetchers="useFetchers",t.UseScrollRestoration="useScrollRestoration"})(tx||(tx={}));function y3(t,e,r,n){function i(o){return o instanceof r?o:new r(function(a){a(o)})}return new(r||(r=Promise))(function(o,a){function s(c){try{l(n.next(c))}catch(d){a(d)}}function u(c){try{l(n.throw(c))}catch(d){a(d)}}function l(c){c.done?o(c.value):i(c.value).then(s,u)}l((n=n.apply(t,e||[])).next())})}const w3=t=>t?(...e)=>t(...e):(...e)=>fetch(...e);
223class vy extends Error{constructor(e,r="FunctionsError",n){super(e),this.name=r,this.context=n}}class b3 extends vy{constructor(e){super("Failed to send a request to the Edge Function","FunctionsFetchError",e)}}class rx extends vy{constructor(e){super("Relay Error invoking the Edge Function","FunctionsRelayError",e)}}class nx extends vy{constructor(e){super("Edge Function returned a non-2xx status code","FunctionsHttpError",e)}}var tm;(function(t){t.Any="any",t.ApNortheast1="ap-northeast-1",t.ApNortheast2="ap-northeast-2",t.ApSouth1="ap-south-1",t.ApSoutheast1="ap-southeast-1",t.ApSoutheast2="ap-southeast-2",t.CaCentral1="ca-central-1",t.EuCentral1="eu-central-1",t.EuWest1="eu-west-1",t.EuWest2="eu-west-2",t.EuWest3="eu-west-3",t.SaEast1="sa-east-1",t.UsEast1="us-east-1",t.UsWest1="us-west-1",t.UsWest2="us-west-2"})(tm||(tm={}));class x3{constructor(e,{headers:r={},customFetch:n,region:i=tm.Any}={}){this.url=e,this.headers=r,this.region=i,this.fetch=w3(n)}setAuth(e){this.headers.Authorization=`Bearer ${e}`}invoke(e){return y3(this,arguments,void 0,function*(r,n={}){var i;let o,a;try{const{headers:s,method:u,body:l,signal:c,timeout:d}=n;let h={},{region:f}=n;f||(f=this.region);const m=new URL(`${this.url}/${r}`);f&&f!=="any"&&(h["x-region"]=f,m.searchParams.set("forceFunctionRegion",f));let p;l&&(s&&!Object.prototype.hasOwnProperty.call(s,"Content-Type")||!s)?typeof Blob<"u"&&l instanceof Blob||l instanceof ArrayBuffer?(h["Content-Type"]="application/octet-stream",p=l):typeof l=="string"?(h["Content-Type"]="text/plain",p=l):typeof FormData<"u"&&l instanceof FormData?p=l:(h["Content-Type"]="application/json",p=JSON.stringify(l)):l&&typeof l!="string"&&!(typeof Blob<"u"&&l instanceof Blob)&&!(l instanceof ArrayBuffer)&&!(typeof FormData<"u"&&l instanceof FormData)?p=JSON.stringify(l):p=l;let g=c;d&&(a=new AbortController,o=setTimeout(()=>a.abort(),d),c?(g=a.signal,c.addEventListener("abort",()=>a.abort())):g=a.signal);const v=yield this.fetch(m.toString(),{method:u||"POST",headers:Object.assign(Object.assign(Object.assign({},h),this.headers),s),body:p,signal:g}).catch(k=>{throw new b3(k)}),y=v.headers.get("x-relay-error");if(y&&y==="true")throw new rx(v);if(!v.ok)throw new nx(v);let w=((i=v.headers.get("Content-Type"))!==null&&i!==void 0?i:"text/plain").split(";")[0].trim(),S;return w==="application/json"?S=yield v.json():w==="application/octet-stream"||w==="application/pdf"?S=yield v.blob():w==="text/event-stream"?S=v:w==="multipart/form-data"?S=yield v.formData():S=yield v.text(),{data:S,error:null,response:v}}catch(s){return{data:null,error:s,response:s instanceof nx||s instanceof rx?s.context:void 0}}finally{o&&clearTimeout(o)}})}}var S3=class extends Error{constructor(t){super(t.message),this.name="PostgrestError",this.details=t.details,this.hint=t.hint,this.co
223de=t.code}},k3=class{constructor(t){var e,r,n;this.shouldThrowOnError=!1,this.method=t.method,this.url=t.url,this.headers=new Headers(t.headers),this.schema=t.schema,this.body=t.body,this.shouldThrowOnError=(e=t.shouldThrowOnError)!==null&&e!==void 0?e:!1,this.signal=t.signal,this.isMaybeSingle=(r=t.isMaybeSingle)!==null&&r!==void 0?r:!1,this.urlLengthLimit=(n=t.urlLengthLimit)!==null&&n!==void 0?n:8e3,t.fetch?this.fetch=t.fetch:this.fetch=fetch}throwOnError(){return this.shouldThrowOnError=!0,this}setHeader(t,e){return this.headers=new Headers(this.headers),this.headers.set(t,e),this}then(t,e){var r=this;this.schema===void 0||(["GET","HEAD"].includes(this.method)?this.headers.set("Accept-Profile",this.schema):this.headers.set("Content-Profile",this.schema)),this.method!=="GET"&&this.method!=="HEAD"&&this.headers.set("Content-Type","application/json");const n=this.fetch;let i=n(this.url.toString(),{method:this.method,headers:this.headers,body:JSON.stringify(this.body),signal:this.signal}).then(async o=>{let a=null,s=null,u=null,l=o.status,c=o.statusText;if(o.ok){var d,h;if(r.method!=="HEAD"){var f;const v=await o.text();v===""||(r.headers.get("Accept")==="text/csv"||r.headers.get("Accept")&&(!((f=r.headers.get("Accept"))===null||f===void 0)&&f.includes("application/vnd.pgrst.plan+text"))?s=v:s=JSON.parse(v))}const p=(d=r.headers.get("Prefer"))===null||d===void 0?void 0:d.match(/count=(exact|planned|estimated)/),g=(h=o.headers.get("content-range"))===null||h===void 0?void 0:h.split("/");p&&g&&g.length>1&&(u=parseInt(g[1])),r.isMaybeSingle&&r.method==="GET"&&Array.isArray(s)&&(s.length>1?(a={code:"PGRST116",details:`Results contain ${s.length} rows, application/vnd.pgrst.object+json requires 1 row`,hint:null,message:"JSON object requested, multiple (or no) rows returned"},s=null,u=null,l=406,c="Not Acceptable"):s.length===1?s=s[0]:s=null)}else{var m;const p=await o.text();try{a=JSON.parse(p),Array.isArray(a)&&o.status===404&&(s=[],a=null,l=200,c="OK")}catch{o.status===404&&p===""?(l=204,c="No Content"):a={message:p}}if(a&&r.isMaybeSingle&&(!(a==null||(m=a.details)===null||m===void 0)&&m.includes("0 rows"))&&(a=null,l=200,c="OK"),a&&r.shouldThrowOnError)throw new S3(a)}return{error:a,data:s,count:u,status:l,statusText:c}});return this.shouldThrowOnError||(i=i.catch(o=>{var a;let s="",u="",l="";const c=o==null?void 0:o.cause;if(c){var d,h,f,m;const v=(d=c==null?void 0:c.message)!==null&&d!==void 0?d:"",y=(h=c==null?void 0:c.code)!==null&&h!==void 0?h:"";s=`${(f=o==null?void 0:o.name)!==null&&f!==void 0?f:"FetchError"}: ${o==null?void 0:o.message}`,s+=`
224
225Caused by: ${(m=c==null?void 0:c.name)!==null&&m!==void 0?m:"Error"}: ${v}`,y&&(s+=` (${y})`),c!=null&&c.stack&&(s+=`
226${c.stack}`)}else{var p;s=(p=o==null?void 0:o.stack)!==null&&p!==void 0?p:""}const g=this.url.toString().length;return(o==null?void 0:o.name)==="AbortError"||(o==null?void 0:o.code)==="ABORT_ERR"?(l="",u="Request was aborted (timeout or manual cancellation)",g>this.urlLengthLimit&&(u+=`. Note: Your request URL is ${g} characters, which may exceed server limits. If selecting many fields, consider using views. If filtering with large arrays (e.g., .in('id', [many IDs])), consider using an RPC function to pass values server-side.`)):((c==null?void 0:c.name)==="HeadersOverflowError"||(c==null?void 0:c.code)==="UND_ERR_HEADERS_OVERFLOW")&&(l="",u="HTTP headers exceeded server limits (typically 16KB)",g>this.urlLengthLimit&&(u+=`. Your request URL is ${g} characters. If selecting many fields, consider using views. If filtering with large arrays (e.g., .in('id', [200+ IDs])), consider using an RPC function instead.`)),{error:{message:`${(a=o==null?void 0:o.name)!==null&&a!==void 0?a:"FetchError"}: ${o==null?void 0:o.message}`,details:s,hint:u,code:l},data:null,count:null,status:0,statusText:""}})),i.then(t,e)}returns(){return this}overrideTypes(){return this}},C3=class extends k3{select(t){let e=!1;const r=(t??"*").split("").map(n=>/\s/.test(n)&&!e?"":(n==='"'&&(e=!e),n)).join("");return this.url.searchParams.set("select",r),this.headers.append("Prefer","return=representation"),this}order(t,{ascending:e=!0,nullsFirst:r,foreignTable:n,referencedTable:i=n}={}){const o=i?`${i}.order`:"order",a=this.url.searchParams.get(o);return this.url.searchParams.set(o,`${a?`${a},`:""}${t}.${e?"asc":"desc"}${r===void 0?"":r?".nullsfirst":".nullslast"}`),this}limit(t,{foreignTable:e,referencedTable:r=e}={}){const n=typeof r>"u"?"limit":`${r}.limit`;return this.url.searchParams.set(n,`${t}`),this}range(t,e,{foreignTable:r,referencedTable:n=r}={}){const i=typeof n>"u"?"offset":`${n}.offset`,o=typeof n>"u"?"limit":`${n}.limit`;return this.url.searchParams.set(i,`${t}`),this.url.searchParams.set(o,`${e-t+1}`),this}abortSignal(t){return this.signal=t,this}single(){return this.headers.set("Accept","application/vnd.pgrst.object+json"),this}maybeSingle(){return this.method==="GET"?this.headers.set("Accept","application/json"):this.headers.set("Accept","application/vnd.pgrst.object+json"),this.isMaybeSingle=!0,this}csv(){return this.headers.set("Accept","text/csv"),this}geojson(){return this.headers.set("Accept","application/geo+json"),this}
226explain({analyze:t=!1,verbose:e=!1,settings:r=!1,buffers:n=!1,wal:i=!1,format:o="text"}={}){var a;const s=[t?"analyze":null,e?"verbose":null,r?"settings":null,n?"buffers":null,i?"wal":null].filter(Boolean).join("|"),u=(a=this.headers.get("Accept"))!==null&&a!==void 0?a:"application/json";return this.headers.set("Accept",`application/vnd.pgrst.plan+${o}; for="${u}"; options=${s};`),o==="json"?this:this}rollback(){return this.headers.append("Prefer","tx=rollback"),this}returns(){return this}maxAffected(t){return this.headers.append("Prefer","handling=strict"),this.headers.append("Prefer",`max-affected=${t}`),this}};const ix=new RegExp("[,()]");var ls=class extends C3{eq(t,e){return this.url.searchParams.append(t,`eq.${e}`),this}neq(t,e){return this.url.searchParams.append(t,`neq.${e}`),this}gt(t,e){return this.url.searchParams.append(t,`gt.${e}`),this}gte(t,e){return this.url.searchParams.append(t,`gte.${e}`),this}lt(t,e){return this.url.searchParams.append(t,`lt.${e}`),this}lte(t,e){return this.url.searchParams.append(t,`lte.${e}`),this}like(t,e){return this.url.searchParams.append(t,`like.${e}`),this}likeAllOf(t,e){return this.url.searchParams.append(t,`like(all).{${e.join(",")}}`),this}likeAnyOf(t,e){return this.url.searchParams.append(t,`like(any).{${e.join(",")}}`),this}ilike(t,e){return this.url.searchParams.append(t,`ilike.${e}`),this}ilikeAllOf(t,e){return this.url.searchParams.append(t,`ilike(all).{${e.join(",")}}`),this}ilikeAnyOf(t,e){return this.url.searchParams.append(t,`ilike(any).{${e.join(",")}}`),this}regexMatch(t,e){return this.url.searchParams.append(t,`match.${e}`),this}regexIMatch(t,e){return this.url.searchParams.append(t,`imatch.${e}`),this}is(t,e){return this.url.searchParams.append(t,`is.${e}`),this}isDistinct(t,e){return this.url.searchParams.append(t,`isdistinct.${e}`),this}in(t,e){const r=Array.from(new Set(e)).map(n=>typeof n=="string"&&ix.test(n)?`"${n}"`:`${n}`).join(",");return this.url.searchParams.append(t,`in.(${r})`),this}notIn(t,e){const r=Array.from(new Set(e)).map(n=>typeof n=="string"&&ix.test(n)?`"${n}"`:`${n}`).join(",");return this.url.searchParams.append(t,`not.in.(${r})`),this}contains(t,e){return typeof e=="string"?this.url.searchParams.append(t,`cs.${e}`):Array.isArray(e)?this.url.searchParams.append(t,`cs.{${e.join(",")}}`):this.url.searchParams.append(t,`cs.${JSON.stringify(e)}`),this}containedBy(t,e){return typeof e=="string"?this.url.searchParams.append(t,`cd.${e}`):Array.isArray(e)?this.url.searchParams.append(t,`cd.{${e.join(",")}}`):this.url.searchParams.append(t,`cd.${JSON.stringify(e)}`),this}rangeGt(t,e){return this.url.searchParams.append(t,`sr.${e}`),this}rangeGte(t,e){return this.url.searchParams.append(t,`nxl.${e}`),this}rangeLt(t,e){return this.url.searchParams.append(t,`sl.${e}`),this}rangeLte(t,e){return this.url.searchParams.append(t,`nxr.${e}`),this}rangeAdjacent(t,e){return this.url.searchParams.append(t,`adj.${e}`),this}overlaps(t,e){return typeof e=="string"?this.url.searchParams.append(t,`ov.${e}`):this.url.searchParams.append(t,`ov.{${e.join(",")}}`),this}textSearch(t,e,{config:r,type:n}={}){let i="";n==="plain"?i="pl":n==="phrase"?i="ph":n==="websearch"&&(i="w");const o=r===void 0?"":`(${r})`;return this.url.searchParams.append(t,`${i}fts${o}.${e}`),this}match(t){return Object.entries(t).forEach(([e,r])=>{this.url.searchParams.append(e,`eq.${r}`)}),this}not(t,e,r){return this.url.searchParams.append(t,`not.${e}.${r}`),this}or(t,{foreignTable:e,referencedTable:r=e}={}){const n=r?`${r}.or`:"or";return this.url.searchParams.append(n,`(${t})`),this}filter(t,e,r){return this.url.searchParams.append(t,`${e}.${r}`),this}},E3=class{constructor(t,{headers:e={},schema:r,fetch:n,urlLengthLimit:i=8e3}){this.url=t,this.headers=new Headers(e),this.schema=r,this.fetch=n,this.urlLengthLimit=i}cloneRequestState(){return{url:new URL(this.url.toString()),headers:new Headers(this.headers)}}select(t,e){const{head:r=!1,count:n}=e??{},i=r?"HEAD":"GET";let o=!1;const a=(t??"*").split("").map(l=>/\s/.test(l)&&!o?"":(l==='"'&&(o=!o),l)).join(""),{url:s,headers:u}=this.cloneRequestState();return s.searchParams.set("select",a),n&&u.append("Prefer",`count=${n}`),new ls({method:i,url:s,headers:u,schema:this.schema,fetch:this.fetch,urlLengthLimit:this.urlLengthLimit})}insert(t,{count:e,defaultToNull:r=!0}={}){var n;const i="POST",{url:o,headers:a}=this.cloneRequestState();if(e&&a.append("Prefer",`count=${e}`),r||a.append("Prefer","missing=default"),Array.isArray(t)){const s=t.reduce((u,l)=>u.concat(Object.keys(l)),[]);if(s.length>
2260){const u=[...new Set(s)].map(l=>`"${l}"`);o.searchParams.set("columns",u.join(","))}}return new ls({method:i,url:o,headers:a,schema:this.schema,body:t,fetch:(n=this.fetch)!==null&&n!==void 0?n:fetch,urlLengthLimit:this.urlLengthLimit})}upsert(t,{onConflict:e,ignoreDuplicates:r=!1,count:n,defaultToNull:i=!0}={}){var o;const a="POST",{url:s,headers:u}=this.cloneRequestState();if(u.append("Prefer",`resolution=${r?"ignore":"merge"}-duplicates`),e!==void 0&&s.searchParams.set("on_conflict",e),n&&u.append("Prefer",`count=${n}`),i||u.append("Prefer","missing=default"),Array.isArray(t)){const l=t.reduce((c,d)=>c.concat(Object.keys(d)),[]);if(l.length>0){const c=[...new Set(l)].map(d=>`"${d}"`);s.searchParams.set("columns",c.join(","))}}return new ls({method:a,url:s,headers:u,schema:this.schema,body:t,fetch:(o=this.fetch)!==null&&o!==void 0?o:fetch,urlLengthLimit:this.urlLengthLimit})}update(t,{count:e}={}){var r;const n="PATCH",{url:i,headers:o}=this.cloneRequestState();return e&&o.append("Prefer",`count=${e}`),new ls({method:n,url:i,headers:o,schema:this.schema,body:t,fetch:(r=this.fetch)!==null&&r!==void 0?r:fetch,urlLengthLimit:this.urlLengthLimit})}delete({count:t}={}){var e;const r="DELETE",{url:n,headers:i}=this.cloneRequestState();return t&&i.append("Prefer",`count=${t}`),new ls({method:r,url:n,headers:i,schema:this.schema,fetch:(e=this.fetch)!==null&&e!==void 0?e:fetch,urlLengthLimit:this.urlLengthLimit})}};function oc(t){"@babel/helpers - typeof";return oc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},oc(t)}function T3(t,e){if(oc(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(oc(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function P3(t){var e=T3(t,"string");return oc(e)=="symbol"?e:e+""}function R3(t,e,r){return(e=P3(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ox(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function md(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?ox(Object(r),!0).forEach(function(n){R3(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ox(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}var A3=class CT{constructor(e,{headers:r={},schema:n,fetch:i,timeout:o,urlLengthLimit:a=8e3}={}){this.url=e,this.headers=new Headers(r),this.schemaName=n,this.urlLengthLimit=a;const s=i??globalThis.fetch;o!==void 0&&o>0?this.fetch=(u,l)=>{const c=new AbortController,d=setTimeout(()=>c.abort(),o),h=l==null?void 0:l.signal;if(h){if(h.aborted)return clearTimeout(d),s(u,l);const f=()=>{clearTimeout(d),c.abort()};return h.addEventListener("abort",f,{once:!0}),s(u,md(md({},l),{},{signal:c.signal})).finally(()=>{clearTimeout(d),h.removeEventListener("abort",f)})}return s(u,md(md({},l),{},{signal:c.signal})).finally(()=>clearTimeout(d))}:this.fetch=s}from(e){if(!e||typeof e!="string"||e.trim()==="")throw new Error("Invalid relation name: relation must be a non-empty string.");return new E3(new URL(`${this.url}/${e}`),{headers:new Headers(this.headers),schema:this.schemaName,fetch:this.fetch,urlLengthLimit:this.urlLengthLimit})}schema(e){return new CT(this.url,{headers:this.headers,schema:e,fetch:this.fetch,urlLengthLimit:this.urlLengthLimit})}rpc(e,r={},{head:n=!1,get:i=!1,count:o}={}){var a;let s;const u=new URL(`${this.url}/rpc/${e}`);let l;const c=f=>f!==null&&typeof f=="object"&&(!Array.isArray(f)||f.some(c)),d=n&&Object.values(r).some(c);d?(s="POST",l=r):n||i?(s=n?"HEAD":"GET",Object.entries(r).filter(([f,m])=>m!==void 0).map(([f,m])=>[f,Array.isArray(m)?`{${m.join(",")}}`:`${m}
226`]).forEach(([f,m])=>{u.searchParams.append(f,m)})):(s="POST",l=r);const h=new Headers(this.headers);return d?h.set("Prefer",o?`count=${o},return=minimal`:"return=minimal"):o&&h.set("Prefer",`count=${o}`),new ls({method:s,url:u,headers:h,schema:this.schemaName,body:l,fetch:(a=this.fetch)!==null&&a!==void 0?a:fetch,urlLengthLimit:this.urlLengthLimit})}};class O3{constructor(){}static detectEnvironment(){var e;if(typeof WebSocket<"u")return{type:"native",constructor:WebSocket};if(typeof globalThis<"u"&&typeof globalThis.WebSocket<"u")return{type:"native",constructor:globalThis.WebSocket};if(typeof global<"u"&&typeof global.WebSocket<"u")return{type:"native",constructor:global.WebSocket};if(typeof globalThis<"u"&&typeof globalThis.WebSocketPair<"u"&&typeof globalThis.WebSocket>"u")return{type:"cloudflare",error:"Cloudflare Workers detected. WebSocket clients are not supported in Cloudflare Workers.",workaround:"Use Cloudflare Workers WebSocket API for server-side WebSocket handling, or deploy to a different runtime."};if(typeof globalThis<"u"&&globalThis.EdgeRuntime||typeof navigator<"u"&&(!((e=navigator.userAgent)===null||e===void 0)&&e.includes("Vercel-Edge")))return{type:"unsupported",error:"Edge runtime detected (Vercel Edge/Netlify Edge). WebSockets are not supported in edge functions.",workaround:"Use serverless functions or a different deployment target for WebSocket functionality."};const r=globalThis.process;if(r){const n=r.versions;if(n&&n.node){const i=n.node,o=parseInt(i.replace(/^v/,"").split(".")[0]);return o>=22?typeof globalThis.WebSocket<"u"?{type:"native",constructor:globalThis.WebSocket}:{type:"unsupported",error:`Node.js ${o} detected but native WebSocket not found.`,workaround:"Provide a WebSocket implementation via the transport option."}:{type:"unsupported",error:`Node.js ${o} detected without native WebSocket support.`,workaround:`For Node.js < 22, install "ws" package and provide it via the transport option:
227import ws from "ws"
228new RealtimeClient(url, { transport: ws })`}}}return{type:"unsupported",error:"Unknown JavaScript runtime without WebSocket support.",workaround:"Ensure you're running in a supported environment (browser, Node.js, Deno) or provide a custom WebSocket implementation."}}static getWebSocketConstructor(){const e=this.detectEnvironment();if(e.constructor)return e.constructor;let r=e.error||"WebSocket not supported in this environment.";throw e.workaround&&(r+=`
229
230Suggested solution: ${e.workaround}`),new Error(r)}static createWebSocket(e,r){const n=this.getWebSocketConstructor();return new n(e,r)}static isWebSocketSupported(){try{const e=this.detectEnvironment();return e.type==="native"||e.type==="ws"}catch{return!1}}}const _3="2.95.3",N3=`realtime-js/${_3}`,j3="1.0.0",ET="2.0.0",ax=ET,rm=1e4,F3=1e3,I3=100;var zi;(function(t){t[t.connecting=0]="connecting",t[t.open=1]="open",t[t.closing=2]="closing",t[t.closed=3]="closed"})(zi||(zi={}));var Et;(function(t){t.closed="closed",t.errored="errored",t.joined="joined",t.joining="joining",t.leaving="leaving"})(Et||(Et={}));var bn;(function(t){t.close="phx_close",t.error="phx_error",t.join="phx_join",t.reply="phx_reply",t.leave="phx_leave",t.access_token="access_token"})(bn||(bn={}));var nm;(function(t){t.websocket="websocket"})(nm||(nm={}));var Yo;(function(t){t.Connecting="connecting",t.Open="open",t.Closing="closing",t.Closed="closed"})(Yo||(Yo={}));class D3{constructor(e){this.HEADER_LENGTH=1,this.USER_BROADCAST_PUSH_META_LENGTH=6,this.KINDS={userBroadcastPush:3,userBroadcast:4},this.BINARY_ENCODING=0,this.JSON_ENCODING=1,this.BROADCAST_EVENT="broadcast",this.allowedMetadataKeys=[],this.allowedMetadataKeys=e??[]}encode(e,r){if(e.event===this.BROADCAST_EVENT&&!(e.payload instanceof ArrayBuffer)&&typeof e.payload.event=="string")return r(this._binaryEncodeUserBroadcastPush(e));let n=[e.join_ref,e.ref,e.topic,e.event,e.payload];return r(JSON.stringify(n))}_binaryEncodeUserBroadcastPush(e){var r;return this._isArrayBuffer((r=e.payload)===null||r===void 0?void 0:r.payload)?this._encodeBinaryUserBroadcastPush(e):this._encodeJsonUserBroadcastPush(e)}_encodeBinaryUserBroadcastPush(e){var r,n;const i=(n=(r=e.payload)===null||r===void 0?void 0:r.payload)!==null&&n!==void 0?n:new ArrayBuffer(0);return this._encodeUserBroadcastPush(e,this.BINARY_ENCODING,i)}_encodeJsonUserBroadcastPush(e){var r,n;const i=(n=(r=e.payload)===null||r===void 0?void 0:r.payload)!==null&&n!==void 0?n:{},a=new TextEncoder().encode(JSON.stringify(i)).buffer;return this._encodeUserBroadcastPush(e,this.JSON_ENCODING,a)}_encodeUserBroadcastPush(e,r,n){var i,o;const a=e.topic,s=(i=e.ref)!==null&&i!==void 0?i:"",u=(o=e.join_ref)!==null&&o!==void 0?o:"",l=e.payload.event,c=this.allowedMetadataKeys?this._pick(e.payload,this.allowedMetadataKeys):{},d=Object.keys(c).length===0?"":JSON.stringify(c);if(u.length>255)throw new Error(`joinRef length ${u.length} exceeds maximum of 255`);if(s.length>255)throw new Error(`ref length ${s.length} exceeds maximum of 255`);if(a.length>255)throw new Error(`topic length ${a.length} exceeds maximum of 255`);if(l.length>255)throw new Error(`userEvent length ${l.length} exceeds maximum of 255`);if(d.length>255)throw new Error(`metadata length ${d.length} exceeds maximum of 255`);const h=this.USER_BROADCAST_PUSH_META_LENGTH+u.length+s.length+a.length+l.length+d.length,f=new ArrayBuffer(this.HEADER_LENGTH+h);let m=new DataView(f),p=0;m.setUint8(p++,this.KINDS.userBroadcastPush),m.setUint8(p++,u.length),m.setUint8(p++,s.length),m.setUint8(p++,a.length),m.setUint8(p++,l.length),m.setUint8(p++,d.length),m.setUint8(p++,r),Array.from(u,v=>m.setUint8(p++,v.charCodeAt(0))),Array.from(s,v=>m.setUint8(p++,v.charCodeAt(0))),Array.from(a,v=>m.setUint8(p++,v.charCodeAt(0))),Array.from(l,v=>m.setUint8(p++,v.charCodeAt(0))),Array.from(d,v=>m.setUint8(p++,v.charCodeAt(0)));var g=new Uint8Array(f.byteLength+n.byteLength);return g.set(new Uint8Array(f),0),g.set(new Uint8Array(n),f.byteLength),g.buffer}decode(e,r){if(this._isArrayBuffer(e)){let n=this._binaryDecode(e);return r(n)}if(typeof e=="string"){const n=JSON.parse(e),[i,o,a,s,u]=n;return r({join_ref:i,ref:o,topic:a,event:s,payload:u})}return r({})}_binaryDecode(e){const r=new DataView(e),n=r.getUint8(0),i=new TextDecoder;switch(n){case this.KINDS.userBroadcast:return this._decodeUserBroadcast(e,r,i)}}_decodeUserBroadcast(e,r,n){const i=r.getUint8(1),o=r.getUint8(2),a=r.getUint8(3),s=r.getUint8(4);let u=this.HEADER_LENGTH+4;const l=n.decode(e.slice(u,u+i));u=u+i;const c=n.decode(e.slice(u,u+o));u=u+o;const d=n.decode(e.slice(u,u+a));u=u+a;const h=e.slice(u,e.byteLength),f=s===this.JSON_ENCODING?JSON.parse(n.decode(h)):h,m={type:this.BROADCAST_EVENT,event:c,payload:f};return a>0&&(m.meta=JSON.parse(d)),{join_ref:null,ref:null,topic:l,event:this.BROADCAST_EVENT,payload:m}}_isArrayBuffer(e){var r;return e instanceof ArrayBuffer||((r=e==null?void 0:e.constructor)===null||r===void 0?void 0:r.name)==="ArrayBuffer"}_pick(e,r){return!e||typeof e!="object"?{}:Object.fromEntries(Object.entries(e).filter(([n])=>r.includes(n)))}}class TT{constructor(e,r){this.callback=e,this.timerCalc=r,this.timer=void 0,this.tries=0,this.callback=e,this.timerCalc=r}reset(){this.tries=0,clearTimeout(this.timer),this.timer=void 0}scheduleTimeout(){clearTimeout(this.timer),this.timer=setTimeout(()=>{this.tries=this.tries+1,this.callback()},this.timerCalc(this.tries+1))}}var nt;(function(t){t.abstime="abstime",t.bool="bool",t.date="date",t.daterange="daterange",t.float4="float4",t.float8="float8",t.int2="int2",t.int4="int4",t.int4range="int4range",t.int8="int8",t.int8range="int8range",t.json="json",t.jsonb="jsonb",t.money="money",t.numeric="numeric",t.oid="oid",t.reltime="reltime",t.text="text",t.time="time",t.timestamp="timestamp",t.timestamptz="timestamptz",t.timetz="timetz",t.t
230srange="tsrange",t.tstzrange="tstzrange"})(nt||(nt={}));const sx=(t,e,r={})=>{var n;const i=(n=r.skipTypes)!==null&&n!==void 0?n:[];return e?Object.keys(e).reduce((o,a)=>(o[a]=M3(a,t,e,i),o),{}):{}},M3=(t,e,r,n)=>{const i=e.find(s=>s.name===t),o=i==null?void 0:i.type,a=r[t];return o&&!n.includes(o)?PT(o,a):im(a)},PT=(t,e)=>{if(t.charAt(0)==="_"){const r=t.slice(1,t.length);return z3(e,r)}switch(t){case nt.bool:return L3(e);case nt.float4:case nt.float8:case nt.int2:case nt.int4:case nt.int8:case nt.numeric:case nt.oid:return B3(e);case nt.json:case nt.jsonb:return U3(e);case nt.timestamp:return V3(e);case nt.abstime:case nt.date:case nt.daterange:case nt.int4range:case nt.int8range:case nt.money:case nt.reltime:case nt.text:case nt.time:case nt.timestamptz:case nt.timetz:case nt.tsrange:case nt.tstzrange:return im(e);default:return im(e)}},im=t=>t,L3=t=>{switch(t){case"t":return!0;case"f":return!1;default:return t}},B3=t=>{if(typeof t=="string"){const e=parseFloat(t);if(!Number.isNaN(e))return e}return t},U3=t=>{if(typeof t=="string")try{return JSON.parse(t)}catch{return t}return t},z3=(t,e)=>{if(typeof t!="string")return t;const r=t.length-1,n=t[r];if(t[0]==="{"&&n==="}"){let o;const a=t.slice(1,r);try{o=JSON.parse("["+a+"]")}catch{o=a?a.split(","):[]}return o.map(s=>PT(e,s))}return t},V3=t=>typeof t=="string"?t.replace(" ","T"):t,RT=t=>{const e=new URL(t);return e.protocol=e.protocol.replace(/^ws/i,"http"),e.pathname=e.pathname.replace(/\/+$/,"").replace(/\/socket\/websocket$/i,"").replace(/\/socket$/i,"").replace(/\/websocket$/i,""),e.pathname===""||e.pathname==="/"?e.pathname="/api/broadcast":e.pathname=e.pathname+"/api/broadcast",e.href};class hv{constructor(e,r,n={},i=rm){this.channel=e,this.event=r,this.payload=n,this.timeout=i,this.sent=!1,this.timeoutTimer=void 0,this.ref="",this.receivedResp=null,this.recHooks=[],this.refEvent=null}resend(e){this.timeout=e,this._cancelRefEvent(),this.ref="",this.refEvent=null,this.receivedResp=null,this.sent=!1,this.send()}send(){this._hasReceived("timeout")||(this.startTimeout(),this.sent=!0,this.channel.socket.push({topic:this.channel.topic,event:this.event,payload:this.payload,ref:this.ref,join_ref:this.channel._joinRef()}))}updatePayload(e){this.payload=Object.assign(Object.assign({},this.payload),e)}receive(e,r){var n;return this._hasReceived(e)&&r((n=this.receivedResp)===null||n===void 0?void 0:n.response),this.recHooks.push({status:e,callback:r}),this}startTimeout(){if(this.timeoutTimer)return;this.ref=this.channel.socket._makeRef(),this.refEvent=this.channel._replyEventName(this.ref);const e=r=>{this._cancelRefEvent(),this._cancelTimeout(),this.receivedResp=r,this._matchReceive(r)};this.channel._on(this.refEvent,{},e),this.timeoutTimer=setTimeout(()=>{this.trigger("timeout",{})},this.timeout)}trigger(e,r){this.refEvent&&this.channel._trigger(this.refEvent,{status:e,response:r})}destroy(){this._cancelRefEvent(),this._cancelTimeout()}_cancelRefEvent(){this.refEvent&&this.channel._off(this.refEvent,{})}_cancelTimeout(){clearTimeout(this.timeoutTimer),this.timeoutTimer=void 0}_matchReceive({status:e,response:r}){this.recHooks.filter(n=>n.status===e).forEach(n=>n.callback(r))}_hasReceived(e){return this.receivedResp&&this.receivedResp.status===e}}var lx;(function(t){t.SYNC="sync",t.JOIN="join",t.LEAVE="leave"})(lx||(lx={}));class Su{constructor(e,r){this.channel=e,this.state={},this.pendingDiffs=[],this.joinRef=null,this.enabled=!1,this.caller={onJoin:()=>{},onLeave:()=>{},onSync:()=>{}};const n=(r==null?void 0:r.events)||{state:"presence_state",diff:"presence_diff"};this.channel._on(n.state,{},i=>{const{onJoin:o,onLeave:a,onSync:s}=this.caller;this.joinRef=this.channel._joinRef(),this.state=Su.syncState(this.state,i,o,a),this.pendingDiffs.forEach(u=>{this.state=Su.syncDiff(this.state,u,o,a)}),this.pendingDiffs=[],s()}),this.channel._on(n.diff,{},i=>{const{onJoin:o,onLeave:a,onSync:s}=this.caller;this.inPendingSyncState()?this.pendingDiffs.push(i):(this.state=Su.syncDiff(this.state,i,o,a),s())}),this.onJoin((i,o,a)=>{this.channel._trigger("presence",{event:"join",key:i,currentPresences:o,newPresences:a})}),this.onLeave((i,o,a)=>{this.channel._trigger("presence",{event:"leave",key:i,currentPresences:o,leftPresences:a})}),this.onSync(()=>{this.channel._trigger("presence",{event:"sync"})})}static syncState(e,r,n,i){const o=this.cloneDeep(e),a=this.transformState(r),s={},u={};return this.map(o,(l,c)=>{a[l]||(u[l]=c)}),this.map(a,(l,c)=>{const d=o[l];if(d){const h=c.map(g=>g.presence_ref),f=d.map(g=>g.presence_ref),m=c.filter(g=>f.indexOf(g.presence_ref)<0),p=d.filter(g=>h.indexOf(g.presence_ref)<0);m.length>0&&(s[l]=m),p.length>0&&(u[l]=p)}else s[l]=c}),this.syncDiff(o,{joins:s,leaves:u},n,i)}static syncDiff(e,r,n,i){const{joins:o,leaves:a}={joins:this.transformState(r.joins),leaves:this.transformState(r.leaves)};return n||(n=()=>{}),i||(i=()=>{}),this.map(o,(s,u)=>{var l;const c=(l=e[s])!==null&&l!==void 0?l:[];if(e[s]=this.cloneDeep(u),c.length>0){const d=e[s].map(f=>f.presence_ref),h=c.filter(f=>d.indexOf(f.presence_ref)<0);e[s].unshift(...h)}n(s,c,u)}),this.map(a,(s,u)=>{let l=e[s];if(!l)return;const c=u.map(d=>d.presence_ref);l=l.filter(d=>c.indexOf(d.presence_ref)<0),e[s]=l,i(s,l,u),l.length===0&&delete e[s]}),e}static map(e,r){return Object.getOwnPropertyNames(e).map(n=>r(n,e[n]))}static transformState(e){return e=this.cloneDeep(e),Object.getOwnPropertyNames(e).reduce((r,n)=>{const i=e[n];return"metas"in i?r[n]=i.metas.map(o=>(o.presence_ref=o.phx_ref,delete o.phx_ref,delete o.phx_ref_prev,o)):r[n]=i,r},{})}static cloneDeep(e){return JSON.parse(JSON.stringify(e))}onJoin(e){this.caller.onJoin=e}onLeave(e){this.caller.onLeave=e}onSync(e){this.caller.onSync=e}inPendingSyncState(){return!this.joinRef||this.joinRef!==this.channel._joinRef()}}var ux;(function(t){t.ALL="*",t.INSERT="INSERT",t.UPDATE="UPDATE",t.DELET
230E="DELETE"})(ux||(ux={}));var ku;(function(t){t.BROADCAST="broadcast",t.PRESENCE="presence",t.POSTGRES_CHANGES="postgres_changes",t.SYSTEM="system"})(ku||(ku={}));var ti;(function(t){t.SUBSCRIBED="SUBSCRIBED",t.TIMED_OUT="TIMED_OUT",t.CLOSED="CLOSED",t.CHANNEL_ERROR="CHANNEL_ERROR"})(ti||(ti={}));class Cs{constructor(e,r={config:{}},n){var i,o;if(this.topic=e,this.params=r,this.socket=n,this.bindings={},this.state=Et.closed,this.joinedOnce=!1,this.pushBuffer=[],this.subTopic=e.replace(/^realtime:/i,""),this.params.config=Object.assign({broadcast:{ack:!1,self:!1},presence:{key:"",enabled:!1},private:!1},r.config),this.timeout=this.socket.timeout,this.joinPush=new hv(this,bn.join,this.params,this.timeout),this.rejoinTimer=new TT(()=>this._rejoinUntilConnected(),this.socket.reconnectAfterMs),this.joinPush.receive("ok",()=>{this.state=Et.joined,this.rejoinTimer.reset(),this.pushBuffer.forEach(a=>a.send()),this.pushBuffer=[]}),this._onClose(()=>{this.rejoinTimer.reset(),this.socket.log("channel",`close ${this.topic} ${this._joinRef()}`),this.state=Et.closed,this.socket._remove(this)}),this._onError(a=>{this._isLeaving()||this._isClosed()||(this.socket.log("channel",`error ${this.topic}`,a),this.state=Et.errored,this.rejoinTimer.scheduleTimeout())}),this.joinPush.receive("timeout",()=>{this._isJoining()&&(this.socket.log("channel",`timeout ${this.topic}`,this.joinPush.timeout),this.state=Et.errored,this.rejoinTimer.scheduleTimeout())}),this.joinPush.receive("error",a=>{this._isLeaving()||this._isClosed()||(this.socket.log("channel",`error ${this.topic}`,a),this.state=Et.errored,this.rejoinTimer.scheduleTimeout())}),this._on(bn.reply,{},(a,s)=>{this._trigger(this._replyEventName(s),a)}),this.presence=new Su(this),this.broadcastEndpointURL=RT(this.socket.endPoint),this.private=this.params.config.private||!1,!this.private&&(!((o=(i=this.params.config)===null||i===void 0?void 0:i.broadcast)===null||o===void 0)&&o.replay))throw`tried to use replay on public channel '${this.topic}'. It must be a private channel.`}subscribe(e,r=this.timeout){var n,i,o;if(this.socket.isConnected()||this.socket.connect(),this.state==Et.closed){const{config:{broadcast:a,presence:s,private:u}}=this.params,l=(i=(n=this.bindings.postgres_changes)===null||n===void 0?void 0:n.map(f=>f.filter))!==null&&i!==void 0?i:[],c=!!this.bindings[ku.PRESENCE]&&this.bindings[ku.PRESENCE].length>0||((o=this.params.config.presence)===null||o===void 0?void 0:o.enabled)===!0,d={},h={broadcast:a,presence:Object.assign(Object.assign({},s),{enabled:c}),postgres_changes:l,private:u};this.socket.accessTokenValue&&(d.access_token=this.socket.accessTokenValue),this._onError(f=>e==null?void 0:e(ti.CHANNEL_ERROR,f)),this._onClose(()=>e==null?void 0:e(ti.CLOSED)),this.updateJoinPayload(Object.assign({config:h},d)),this.joinedOnce=!0,this._rejoin(r),this.joinPush.receive("ok",async({postgres_changes:f})=>{var m;if(this.socket._isManualToken()||this.socket.setAuth(),f===void 0){e==null||e(ti.SUBSCRIBED);return}else{const p=this.bindings.postgres_changes,g=(m=p==null?void 0:p.length)!==null&&m!==void 0?m:0,v=[];for(let y=0;y<g;y++){const w=p[y],{filter:{event:S,schema:k,table:C,filter:E}}=w,R=f&&f[y];if(R&&R.event===S&&Cs.isFilterValueEqual(R.schema,k)&&Cs.isFilterValueEqual(R.table,C)&&Cs.isFilterValueEqual(R.filter,E))v.push(Object.assign(Object.assign({},w),{id:R.id}));else{this.unsubscribe(),this.state=Et.errored,e==null||e(ti.CHANNEL_ERROR,new Error("mismatch between server and client bindings for postgres changes"));return}}this.bindings.postgres_changes=v,e&&e(ti.SUBSCRIBED);return}}).receive("error",f=>{this.state=Et.errored,e==null||e(ti.CHANNEL_ERROR,new Error(JSON.stringify(Object.values(f).join(", ")||"error")))}).receive("timeout",()=>{e==null||e(ti.TIMED_OUT)})}return this}presenceState(){return this.presence.state}async track(e,r={}){return await this.send({type:"presence",event:"track",payload:e},r.timeout||this.timeout)}async untrack(e={}){return await this.send({type:"presence",event:"untrack"},e)}on(e,r,n){return this.state===Et.joined&&e===ku.PRESENCE&&(this.socket.log("channel",`resubscribe to ${this.topic} due to change in presence callbacks on joined channel`),this.unsubscribe().then(async()=>await this.subscribe())),this._on(e,r,n)}async httpSend(e,r,n={}){var i;if(r==null)return Promise.reject("Payload is required for httpSend()");const o={apikey:this.socket.apiKey?this.socket.apiKey:"","Content-Type":"application/json"};this.socket.accessTokenValue&&(o.Authorization=`Bearer ${this.socket.accessTokenValue}`);const a={method:"POST",headers:o,body:JSON.stringify({messages:[{topic:this.subTopic,event:e,payload:r,private:this.private}]})},s=await this._fetchWithTimeout(this.broadcastEndpointURL,a,(i=n.timeout)!==null&&i!==void 0?i:this.timeout);if(s.status===202)return{success:!0};let u=s.statusText;
230try{const l=await s.json();u=l.error||l.message||u}catch{}return Promise.reject(new Error(u))}async send(e,r={}){var n,i;if(!this._canPush()&&e.type==="broadcast"){console.warn("Realtime send() is automatically falling back to REST API. This behavior will be deprecated in the future. Please use httpSend() explicitly for REST delivery.");const{event:o,payload:a}=e,s={apikey:this.socket.apiKey?this.socket.apiKey:"","Content-Type":"application/json"};this.socket.accessTokenValue&&(s.Authorization=`Bearer ${this.socket.accessTokenValue}`);const u={method:"POST",headers:s,body:JSON.stringify({messages:[{topic:this.subTopic,event:o,payload:a,private:this.private}]})};try{const l=await this._fetchWithTimeout(this.broadcastEndpointURL,u,(n=r.timeout)!==null&&n!==void 0?n:this.timeout);return await((i=l.body)===null||i===void 0?void 0:i.cancel()),l.ok?"ok":"error"}catch(l){return l.name==="AbortError"?"timed out":"error"}}else return new Promise(o=>{var a,s,u;const l=this._push(e.type,e,r.timeout||this.timeout);e.type==="broadcast"&&!(!((u=(s=(a=this.params)===null||a===void 0?void 0:a.config)===null||s===void 0?void 0:s.broadcast)===null||u===void 0)&&u.ack)&&o("ok"),l.receive("ok",()=>o("ok")),l.receive("error",()=>o("error")),l.receive("timeout",()=>o("timed out"))})}updateJoinPayload(e){this.joinPush.updatePayload(e)}unsubscribe(e=this.timeout){this.state=Et.leaving;const r=()=>{this.socket.log("channel",`leave ${this.topic}`),this._trigger(bn.close,"leave",this._joinRef())};this.joinPush.destroy();let n=null;return new Promise(i=>{n=new hv(this,bn.leave,{},e),n.receive("ok",()=>{r(),i("ok")}).receive("timeout",()=>{r(),i("timed out")}).receive("error",()=>{i("error")}),n.send(),this._canPush()||n.trigger("ok",{})}).finally(()=>{n==null||n.destroy()})}teardown(){this.pushBuffer.forEach(e=>e.destroy()),this.pushBuffer=[],this.rejoinTimer.reset(),this.joinPush.destroy(),this.state=Et.closed,this.bindings={}}async _fetchWithTimeout(e,r,n){const i=new AbortController,o=setTimeout(()=>i.abort(),n),a=await this.socket.fetch(e,Object.assign(Object.assign({},r),{signal:i.signal}));return clearTimeout(o),a}_push(e,r,n=this.timeout){if(!this.joinedOnce)throw`tried to push '${e}' to '${this.topic}' before joining. Use channel.subscribe() before pushing events`;let i=new hv(this,e,r,n);return this._canPush()?i.send():this._addToPushBuffer(i),i}_addToPushBuffer(e){if(e.startTimeout(),this.pushBuffer.push(e),this.pushBuffer.length>I3){const r=this.pushBuffer.shift();r&&(r.destroy(),this.socket.log("channel",`discarded push due to buffer overflow: ${r.event}`,r.payload))}}_onMessage(e,r,n){return r}_isMember(e){return this.topic===e}_joinRef(){return this.joinPush.ref}_trigger(e,r,n){var i,o;const a=e.toLocaleLowerCase(),{close:s,error:u,leave:l,join:c}=bn;if(n&&[s,u,l,c].indexOf(a)>=0&&n!==this._joinRef())return;let h=this._onMessage(a,r,n);if(r&&!h)throw"channel onMessage callbacks must return the payload, modified or unmodified";["insert","update","delete"].includes(a)?(i=this.bindings.postgres_changes)===null||i===void 0||i.filter(f=>{var m,p,g;return((m=f.filter)===null||m===void 0?void 0:m.event)==="*"||((g=(p=f.filter)===null||p===void 0?void 0:p.event)===null||g===void 0?void 0:g.toLocaleLowerCase())===a}).map(f=>f.callback(h,n)):(o=this.bindings[a])===null||o===void 0||o.filter(f=>{var m,p,g,v,y,w;if(["broadcast","presence","postgres_changes"].includes(a))if("id"in f){const S=f.id,k=(m=f.filter)===null||m===void 0?void 0:m.event;return S&&((p=r.ids)===null||p===void 0?void 0:p.includes(S))&&(k==="*"||(k==null?void 0:k.toLocaleLowerCase())===((g=r.data)===null||g===void 0?void 0:g.type.toLocaleLowerCase()))}else{const S=(y=(v=f==null?void 0:f.filter)===null||v===void 0?void 0:v.event)===null||y===void 0?void 0:y.toLocaleLowerCase();return S==="*"||S===((w=r==null?void 0:r.event)===null||w===void 0?void 0:w.toLocaleLowerCase())}else return f.type.toLocaleLowerCase()===a}).map(f=>{if(typeof h=="object"&&"ids"in h){const m=h.data,{schema:p,table:g,commit_timestamp:v,type:y,errors:w}=m;h=Object.assign(Object.assign({},{schema:p,table:g,commit_timestamp:v,eventType:y,new:{},old:{},errors:w}),this._getPayloadRecords(m))}f.callback(h,n)})}_isClosed(){return this.state===Et.closed}_isJoined(){return this.state===Et.joined}_isJoining(){return this.state===Et.joining}_isLeaving(){return this.state===Et.leaving}_replyEventName(e){return`chan_reply_${e}`}_on(e,r,n){const i=e.toLocaleLowerCase(),o={type:i,filter:r,callback:n};return this.bindings[i]?this.bindings[i].push(o):this.bindings[i]=[o],this}_off(e,r){const n=e.toLocaleLowerCase();return this.bindings[n]&&(this.bindings[n]=this.bindings[n].filter(i=>{var o;return!(((o=i.type)===null||o===void 0?void 0:o.toLocaleLowerCase())===n&&Cs.isEqual(i.filter,r))})),this}static isEqual(e,r){if(Object.keys(e).length!==Object.keys(r).length)return!1;for(const n in e)if(e[n]!==r[n])return!1;return!0}static isFilterValueEqual(e,r){return(e??void 0)===(r??void 0)}_rejoinUntilConnected(){this.rejoinTimer.scheduleTimeout(),this.socket.isConnected()&&this._rejoin()}_onClose(e){this._on(bn.close,{},e)}_onError(e){this._on(bn.error,{},r=>e(r))}_canPush(){return this.socket.isConnected()&&this._isJoined()}_rejoin(e=this.timeout){this._isLeaving()||(this.socket._leaveOpenTopic(this.topic),this.state=Et.joining,this.joinPush.resend(e))}_getPayloadRecords(e){const r={new:{},old:{}};return(e.type==="INSERT"||e.type==="UPDATE")&&(r.new=sx(e.columns,e.record)),(e.type==="UPDATE"||e.type==="DELETE")&&(r.old=sx(e.columns,e.old_record)),r}}const pv=()=>{},gd={HEARTBEAT_INTERVAL:25e3,RECONNECT_DELAY:10,HEARTBEAT_TIMEOUT_FALLBACK:100},W3=[1e3,2e3,5e3,1e4],q3=1e4,H3=`
231  addEventListener("message", (e) => {
232    if (e.data.event === "start") {
233      setInterval(() => postMessage({ event: "keepAlive" }), e.data.interval);
234    }
235  });`;class K3{constructor(e,r){var n;if(this.accessTokenValue=null,this.apiKey=null,this._manuallySetToken=!1,this.channels=new Array,this.endPoint="",this.httpEndpoint="",this.headers={},this.params={},this.timeout=rm,this.transport=null,this.heartbeatIntervalMs=gd.HEARTBEAT_INTERVAL,this.heartbeatTimer=void 0,this.pendingHeartbeatRef=null,this.heartbeatCallback=pv,this.ref=0,this.reconnectTimer=null,this.vsn=ax,this.logger=pv,this.conn=null,this.sendBuffer=[],this.serializer
235=new D3,this.stateChangeCallbacks={open:[],close:[],error:[],message:[]},this.accessToken=null,this._connectionState="disconnected",this._wasManualDisconnect=!1,this._authPromise=null,this._heartbeatSentAt=null,this._resolveFetch=i=>i?(...o)=>i(...o):(...o)=>fetch(...o),!(!((n=r==null?void 0:r.params)===null||n===void 0)&&n.apikey))throw new Error("API key is required to connect to Realtime");this.apiKey=r.params.apikey,this.endPoint=`${e}/${nm.websocket}`,this.httpEndpoint=RT(e),this._initializeOptions(r),this._setupReconnectionTimer(),this.fetch=this._resolveFetch(r==null?void 0:r.fetch)}connect(){if(!(this.isConnecting()||this.isDisconnecting()||this.conn!==null&&this.isConnected())){if(this._setConnectionState("connecting"),this.accessToken&&!this._authPromise&&this._setAuthSafely("connect"),this.transport)this.conn=new this.transport(this.endpointURL());else try{this.conn=O3.createWebSocket(this.endpointURL())}catch(e){this._setConnectionState("disconnected");const r=e.message;throw r.includes("Node.js")?new Error(`${r}
236
237To use Realtime in Node.js, you need to provide a WebSocket implementation:
238
239Option 1: Use Node.js 22+ which has native WebSocket support
240Option 2: Install and provide the "ws" package:
241
242  npm install ws
243
244  import ws from "ws"
245  const client = new RealtimeClient(url, {
246    ...options,
247    transport: ws
248  })`):new Error(`WebSocket not available: ${r}`)}this._setupConnectionHandlers()}}endpointURL(){return this._appendParams(this.endPoint,Object.assign({},this.params,{vsn:this.vsn}))}disconnect(e,r){if(!this.isDisconnecting())if(this._setConnectionState("disconnecting",!0),this.conn){const n=setTimeout(()=>{this._setConnectionState("disconnected")},100);this.conn.onclose=()=>{clearTimeout(n),this._setConnectionState("disconnected")},typeof this.conn.close=="function"&&(e?this.conn.close(e,r??""):this.conn.close()),this._teardownConnection()}else this._setConnectionState("disconnected")}getChannels(){return this.channels}async removeChannel(e){const r=await e.unsubscribe();return r==="ok"&&this._remove(e),this.channels.length===0&&this.disconnect(),r}async removeAllChannels(){const e=await Promise.all(this.channels.map(r=>r.unsubscribe()));return this.channels=[],this.disconnect(),e}log(e,r,n){this.logger(e,r,n)}connectionState(){switch(this.conn&&this.conn.readyState){case zi.connecting:return Yo.Connecting;case zi.open:return Yo.Open;case zi.closing:return Yo.Closing;default:return Yo.Closed}}isConnected(){return this.connectionState()===Yo.Open}isConnecting(){return this._connectionState==="connecting"}isDisconnecting(){return this._connectionState==="disconnecting"}channel(e,r={config:{}}){const n=`realtime:${e}`,i=this.getChannels().find(o=>o.topic===n);if(i)return i;{const o=new Cs(`realtime:${e}`,r,this);return this.channels.push(o),o}}push(e){const{topic:r,event:n,payload:i,ref:o}=e,a=()=>{this.encode(e,s=>{var u;(u=this.conn)===null||u===void 0||u.send(s)})};this.log("push",`${r} ${n} (${o})`,i),this.isConnected()?a():this.sendBuffer.push(a)}async setAuth(e=null){this._authPromise=this._performAuth(e);try{await this._authPromise}finally{this._authPromise=null}}_isManualToken(){return this._manuallySetToken}async sendHeartbeat(){var e;if(!this.isConnected()){try{this.heartbeatCallback("disconnected")}catch(r){this.log("error","error in heartbeat callback",r)}return}if(this.pendingHeartbeatRef){this.pendingHeartbeatRef=null,this._heartbeatSentAt=null,this.log("transport","heartbeat timeout. Attempting to re-establish connection");try{this.heartbeatCallback("timeout")}catch(r){this.log("error","error in heartbeat callback",r)}this._wasManualDisconnect=!1,(e=this.conn)===null||e===void 0||e.close(F3,"heartbeat timeout"),setTimeout(()=>{var r;this.isConnected()||(r=this.reconnectTimer)===null||r===void 0||r.sc
vendor: 3,886 bytes, line 248
248heduleTimeout()},gd.HEARTBEAT_TIMEOUT_FALLBACK);return}this._heartbeatSentAt=Date.now(),this.pendingHeartbeatRef=this._makeRef(),this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:this.pendingHeartbeatRef});try{this.heartbeatCallback("sent")}catch(r){this.log("error","error in heartbeat callback",r)}this._setAuthSafely("heartbeat")}onHeartbeat(e){this.heartbeatCallback=e}flushSendBuffer(){this.isConnected()&&this.sendBuffer.length>0&&(this.sendBuffer.forEach(e=>e()),this.sendBuffer=[])}_makeRef(){let e=this.ref+1;return e===this.ref?this.ref=0:this.ref=e,this.ref.toString()}_leaveOpenTopic(e){let r=this.channels.find(n=>n.topic===e&&(n._isJoined()||n._isJoining()));r&&(this.log("transport",`leaving duplicate topic "${e}"`),r.unsubscribe())}_remove(e){this.channels=this.channels.filter(r=>r.topic!==e.topic)}_onConnMessage(e){this.decode(e.data,r=>{if(r.topic==="phoenix"&&r.event==="phx_reply"&&r.ref&&r.ref===this.pendingHeartbeatRef){const l=this._heartbeatSentAt?Date.now()-this._heartbeatSentAt:void 0;try{this.heartbeatCallback(r.payload.status==="ok"?"ok":"error",l)}catch(c){this.log("error","error in heartbeat callback",c)}this._heartbeatSentAt=null,this.pendingHeartbeatRef=null}const{topic:n,event:i,payload:o,ref:a}=r,s=a?`(${a})`:"",u=o.status||"";this.log("receive",`${u} ${n} ${i} ${s}`.trim(),o),this.channels.filter(l=>l._isMember(n)).forEach(l=>l._trigger(i,o,a)),this._triggerStateCallbacks("message",r)})}_clearTimer(e){var r;e==="heartbeat"&&this.heartbeatTimer?(clearInterval(this.heartbeatTimer),this.heartbeatTimer=void 0):e==="reconnect"&&((r=this.reconnectTimer)===null||r===void 0||r.reset())}_clearAllTimers(){this._clearTimer("heartbeat"),this._clearTimer("reconnect")}_setupConnectionHandlers(){this.conn&&("binaryType"in this.conn&&(this.conn.binaryType="arraybuffer"),this.conn.onopen=()=>this._onConnOpen(),this.conn.onerror=e=>this._onConnError(e),this.conn.onmessage=e=>this._onConnMessage(e),this.conn.onclose=e=>this._onConnClose(e),this.conn.readyState===zi.open&&this._onConnOpen())}_teardownConnection(){if(this.conn){if(this.conn.readyState===zi.open||this.conn.readyState===zi.connecting)try{this.conn.close()}catch(e){this.log("error","Error closing connection",e)}this.conn.onopen=null,this.conn.onerror=null,this.conn.onmessage=null,this.conn.onclose=null,this.conn=null}this._clearAllTimers(),this._terminateWorker(),this.channels.forEach(e=>e.teardown())}_onConnOpen(){this._setConnectionState("connected"),this.log("transport",`connected to ${this.endpointURL()}`),(this._authPromise||(this.accessToken&&!this.accessTokenValue?this.setAuth():Promise.resolve())).then(()=>{this.flushSendBuffer()}).catch(r=>{this.log("error","error waiting for auth on connect",r),this.flushSendBuffer()}),this._clearTimer("reconnect"),this.worker?this.workerRef||this._startWorkerHeartbeat():this._startHeartbeat(),this._triggerStateCallbacks("open")}_startHeartbeat(){this.heartbeatTimer&&clearInterval(this.heartbeatTimer),this.heartbeatTimer=setInterval(()=>this.sendHeartbeat(),this.heartbeatIntervalMs)}_startWorkerHeartbeat(){this.workerUrl?this.log("worker",`starting worker for from ${this.workerUrl}`):this.log("worker","starting default worker");const e=this._workerObjectUrl(this.workerUrl);this.workerRef=new Worker(e),this.workerRef.onerror=r=>{this.log("worker","worker error",r.message),this._terminateWorker()},this.workerRef.onmessage=r=>{r.data.event==="keepAlive"&&this.sendHeartbeat()},this.workerRef.postMessage({event:"start",interval:this.heartbeatIntervalMs})}_terminateWorker(){this.workerRef&&(this.log("worker","terminating worker"),this.workerRef.terminate(),this.workerRef=void 0)}_onConnClose(e){var r;this._setConnectionState("disconnected"),this.log("transport","close",e),this._triggerChanError(),this._clearTimer("heartbeat"),this._wasManualDisconnect||(r=this.reconnectTimer)===null||r===void 0||r.sc
248heduleTimeout(),this._triggerStateCallbacks("close",e)}_onConnError(e){this._setConnectionState("disconnected"),this.log("transport",`${e}`),this._triggerChanError(),this._triggerStateCallbacks("error",e);try{this.heartbeatCallback("error")}catch(r){this.log("error","error in heartbeat callback",r)}}_triggerChanError(){this.channels.forEach(e=>e._trigger(bn.error))}_appendParams(e,r){if(Object.keys(r).length===0)return e;const n=e.match(/\?/)?"&":"?",i=new URLSearchParams(r);return`${e}${n}${i}`}_workerObjectUrl(e){let r;if(e)r=e;else{const n=new Blob([H3],{type:"application/javascript"});r=URL.createObjectURL(n)}return r}_setConnectionState(e,r=!1){this._connectionState=e,e==="connecting"?this._wasManualDisconnect=!1:e==="disconnecting"&&(this._wasManualDisconnect=r)}async _performAuth(e=null){let r,n=!1;if(e)r=e,n=!0;else if(this.accessToken)try{r=await this.accessToken()}catch(i){this.log("error","Error fetching access token from callback",i),r=this.accessTokenValue}else r=this.accessTokenValue;n?this._manuallySetToken=!0:this.accessToken&&(this._manuallySetToken=!1),this.accessTokenValue!=r&&(this.accessTokenValue=r,this.channels.forEach(i=>{const o={access_token:r,version:N3};r&&i.updateJoinPayload(o),i.joinedOnce&&i._isJoined()&&i._push(bn.access_token,{access_token:r})}))}async _waitForAuthIfNeeded(){this._authPromise&&await this._authPromise}_setAuthSafely(e="general"){this._isManualToken()||this.setAuth().catch(r=>{this.log("error",`Error setting auth in ${e}`,r)})}_triggerStateCallbacks(e,r){try{this.stateChangeCallbacks[e].forEach(n=>{try{n(r)}catch(i){this.log("error",`error in ${e} callback`,i)}})}catch(n){this.log("error",`error triggering ${e} callbacks`,n)}}_setupReconnectionTimer(){this.reconnectTimer=new TT(async()=>{setTimeout(async()=>{await this._waitForAuthIfNeeded(),this.isConnected()||this.connect()},gd.RECONNECT_DELAY)},this.reconnectAfterMs)}_initializeOptions(e){var r,n,i,o,a,s,u,l,c,d,h,f;switch(this.transport=(r=e==null?void 0:e.transport)!==null&&r!==void 0?r:null,this.timeout=(n=e==null?void 0:e.timeout)!==null&&n!==void 0?n:rm,this.heartbeatIntervalMs=(i=e==null?void 0:e.heartbeatIntervalMs)!==null&&i!==void 0?i:gd.HEARTBEAT_INTERVAL,this.worker=(o=e==null?void 0:e.worker)!==null&&o!==void 0?o:!1,this.accessToken=(a=e==null?void 0:e.accessToken)!==null&&a!==void 0?a:null,this.heartbeatCallback=(s=e==null?void 0:e.heartbeatCallback)!==null&&s!==void 0?s:pv,this.vsn=(u=e==null?void 0:e.vsn)!==null&&u!==void 0?u:ax,e!=null&&e.params&&(this.params=e.params),e!=null&&e.logger&&(this.logger=e.logger),(e!=null&&e.logLevel||e!=null&&e.log_level)&&(this.logLevel=e.logLevel||e.log_level,this.params=Object.assign(Object.assign({},this.params),{log_level:this.logLevel})),this.reconnectAfterMs=(l=e==null?void 0:e.reconnectAfterMs)!==null&&l!==void 0?l:m=>W3[m-1]||q3,this.vsn){case j3:this.encode=(c=e==null?void 0:e.encode)!==null&&c!==void 0?c:(m,p)=>p(JSON.stringify(m)),this.decode=(d=e==null?void 0:e.decode)!==null&&d!==void 0?d:(m,p)=>p(JSON.parse(m));break;case ET:this.encode=(h=e==null?void 0:e.encode)!==null&&h!==void 0?h:this.serializer.encode.bind(this.serializer),this.decode=(f=e==null?void 0:e.decode)!==null&&f!==void 0?f:this.serializer.decode.bind(this.serializer);break;default:throw new Error(`Unsupported serializer version: ${this.vsn}`)}if(this.worker){if(typeof window<"u"&&!window.Worker)throw new Error("Web Worker is not supported");this.workerUrl=e==null?void 0:e.workerUrl}}}var ac=class extends Error{constructor(t,e){var r;super(t),this.name="IcebergError",this.status=e.status,this.icebergType=e.icebergType,this.icebergCode=e.icebergCode,this.details=e.details,this.isCommitStateUnknown=e.icebergType==="CommitStateUnknownException"||[500,502,504].includes(e.status)&&((r=e.icebergType)==null?void 0:r.includes("CommitState"))===!0}isNotFound(){return this.status===404}isConflict(){return this.status===409}isAuthenticationTimeout(){return this.status===419}};function G3(t,e,r){const n=new URL(e,t);if(r)for(const[i,o]of Object.entries(r))o!==void 0&&n.searchParams.set(i,o);return n.toString()}async function X3(t){return!t||t.type==="none"?{}:t.type==="bearer"?{Authorization:`Bearer ${t.token}`}:t.type==="header"?{[t.name]:t.value}:t.type==="custom"?await t.getHeaders():{}}function Z3(t){const e=t.fetchImpl??globalThis.fetch;return{async request({method:r,path:n,query:i,body:o,headers:a}){const s=G3(t.baseUrl,n,i),u=await X3(t.auth),l=await e(s,{method:r,headers:{...o?{"Content-Type":"application/json"}:{},...u,...a},body:o?JSON.stringify(o):void 0}),c=await l.text(),d=(l.headers.get("content-type")||"").includes("application/json"),h=d&&c?JSON.parse(c):c;if(!l.ok){const f=d?h:void 0,m=f==null?void 0:f.error;throw new ac((m==null?void 0:m.message)??`Request failed with status ${l.status}`,{status:l.status,icebergType:m==null?void 0:m.type,icebergCode:m==null?void 0:m.code,details:f})}return{status:l.status,headers:l.headers,data:h}}}}function yd(t){return t.join("�")}var Y3=class{constructor(t,e=""){this.client=t,this.prefix=e}async listNamespaces(t){const e=t?{parent:yd(t.namespace)}:void 0;return(await this.client.request({method:"GET",path:`${this.prefix}/namespaces`,query:e})).data.namespaces.map(n=>({namespace:n}))}async createNamespace(t,e){const r={namespace:t.namespace,properties:e==null?void 0:e.properties};return(await this.client.request({method:"POST",path:`${this.prefix}/namespaces`,body:r})).data}async dropNamespace(t){await this.client.request({method:"DELETE",path:`${this.prefix}/namespaces/${yd(t.namespace)}`})}async loadNamespaceMetadata(t){return{properties:(await this.client.request({method:"GET",path:`${this.prefix}/namespaces/${yd(t.namespace)}`})).data.properties}}async namespaceExists(t){try{return await this.client.request({method:"HEAD",path:`${this.prefix}/namespaces/${yd(t.namespace)}`}),!0}catch(e){if(e instanceof ac&&e.status===404)return!1;throw e}}async createNamespaceIfNotExists(t,e){try{return await this.createNamespace(t,e)}catch(r){if(r instanceof ac&&r.status===409)return;throw r}}};function Ga(t){return t.join("�")}var J3=class{constructor(t,e="",r){this.client=t,this.prefix=e,this.accessDelegation=r}async listTables(t){return(await this.client.request({method:"GET",path:`${this.prefix}/namespaces/${Ga(t.namespace)}/tables`})).data.identifiers}async createTable(t,e){const r={};return this.accessDelegation&&(r["X-Iceberg-Access-Delegation"]=this.accessDelegation),(await this.client.request({method:"POST",path:`${this.prefix}/namespaces/${Ga(t.namespace)}/tables`,body:e,headers:r})).data.metadata}async updateTable(t,e){const r=await this.client.request({method:"POST",path:`${this.prefix}/namespaces/${Ga(t.namespace)}
248/tables/${t.name}`,body:e});return{"metadata-location":r.data["metadata-location"],metadata:r.data.metadata}}async dropTable(t,e){await this.client.request({method:"DELETE",path:`${this.prefix}/namespaces/${Ga(t.namespace)}/tables/${t.name}`,query:{purgeRequested:String((e==null?void 0:e.purge)??!1)}})}async loadTable(t){const e={};return this.accessDelegation&&(e["X-Iceberg-Access-Delegation"]=this.accessDelegation),(await this.client.request({method:"GET",path:`${this.prefix}/namespaces/${Ga(t.namespace)}/tables/${t.name}`,headers:e})).data.metadata}async tableExists(t){const e={};this.accessDelegation&&(e["X-Iceberg-Access-Delegation"]=this.accessDelegation);try{return await this.client.request({method:"HEAD",path:`${this.prefix}/namespaces/${Ga(t.namespace)}/tables/${t.name}`,headers:e}),!0}catch(r){if(r instanceof ac&&r.status===404)return!1;throw r}}async createTableIfNotExists(t,e){try{return await this.createTable(t,e)}catch(r){if(r instanceof ac&&r.status===409)return await this.loadTable({namespace:t.namespace,name:e.name});throw r}}},Q3=class{constructor(t){var n;let e="v1";t.catalogName&&(e+=`/${t.catalogName}`);const r=t.baseUrl.endsWith("/")?t.baseUrl:`${t.baseUrl}/`;this.client=Z3({baseUrl:r,auth:t.auth,fetchImpl:t.fetch}),this.accessDelegation=(n=t.accessDelegation)==null?void 0:n.join(","),this.namespaceOps=new Y3(this.client,e),this.tableOps=new J3(this.client,e,this.accessDelegation)}async listNamespaces(t){return this.namespaceOps.listNamespaces(t)}async createNamespace(t,e){return this.namespaceOps.createNamespace(t,e)}async dropNamespace(t){await this.namespaceOps.dropNamespace(t)}async loadNamespaceMetadata(t){return this.namespaceOps.loadNamespaceMetadata(t)}async listTables(t){return this.tableOps.listTables(t)}async createTable(t,e){return this.tableOps.createTable(t,e)}async updateTable(t,e){return this.tableOps.updateTable(t,e)}async dropTable(t,e){await this.tableOps.dropTable(t,e)}async loadTable(t){return this.tableOps.loadTable(t)}async namespaceExists(t){return this.namespaceOps.namespaceExists(t)}async tableExists(t){return this.tableOps.tableExists(t)}async createNamespaceIfNotExists(t,e){return this.namespaceOps.createNamespaceIfNotExists(t,e)}async createTableIfNotExists(t,e){return this.tableOps.createTableIfNotExists(t,e)}},ep=class extends Error{constructor(t,e="storage",r,n){super(t),this.__isStorageError=!0,this.namespace=e,this.name=e==="vectors"?"StorageVectorsError":"StorageError",this.status=r,this.statusCode=n}};function tp(t){return typeof t=="object"&&t!==null&&"__isStorageError"in t}var wd=class extends ep{constructor(t,e,r,n="storage"){super(t,n,e,r),this.name=n==="vectors"?"StorageVectorsApiError":"StorageApiError",this.status=e,this.statusCode=r}toJSON(){return{name:this.name,message:this.message,status:this.status,statusCode:this.statusCode}}},AT=class extends ep{constructor(t,e,r="storage"){super(t,r),this.name=r==="vectors"?"StorageVectorsUnknownError":"StorageUnknownError",this.originalError=e}};const $3=t=>t?(...e)=>t(...e):(...e)=>fetch(...e),e5=t=>{if(typeof t!="object"||t===null)return!1;const e=Object.getPrototypeOf(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},om=t=>{if(Array.isArray(t))return t.map(r=>om(r));if(typeof t=="function"||t!==Object(t))return t;const e={};return Object.entries(t).forEach(([r,n])=>{const i=r.replace(/([-_][a-z])/gi,o=>o.toUpperCase().replace(/[-_]/g,""));e[i]=om(n)}),e},t5=t=>!t||typeof t!="string"||t.length===0||t.length>100||t.trim()!==t||t.includes("/")||t.includes("\\")?!1:/^[\w!.\*'() &$@=;:+,?-]+$/.test(t);function sc(t){"@babel/helpers - typeof";return sc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},sc(t)}function r5(t,e){if(sc(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(sc(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function n5(t){var e=r5(t,"string");return sc(e)=="symbol"?e:e+""}function i5(t,e,r){return(e=n5(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function cx(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function ue(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};
248e%2?cx(Object(r),!0).forEach(function(n){i5(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):cx(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}const dx=t=>{var e;return t.msg||t.message||t.error_description||(typeof t.error=="string"?t.error:(e=t.error)===null||e===void 0?void 0:e.message)||JSON.stringify(t)},o5=async(t,e,r,n)=>{if(t&&typeof t=="object"&&"status"in t&&"ok"in t&&typeof t.status=="number"&&!(r!=null&&r.noResolveJson)){const i=t,o=i.status||500;if(typeof i.json=="function")i.json().then(a=>{const s=(a==null?void 0:a.statusCode)||(a==null?void 0:a.code)||o+"";e(new wd(dx(a),o,s,n))}).catch(()=>{if(n==="vectors"){const a=o+"";e(new wd(i.statusText||`HTTP ${o} error`,o,a,n))}else{const a=o+"";e(new wd(i.statusText||`HTTP ${o} error`,o,a,n))}});else{const a=o+"";e(new wd(i.statusText||`HTTP ${o} error`,o,a,n))}}else e(new AT(dx(t),t,n))},a5=(t,e,r,n)=>{const i={method:t,headers:(e==null?void 0:e.headers)||{}};return t==="GET"||t==="HEAD"||!n?ue(ue({},i),r):(e5(n)?(i.headers=ue({"Content-Type":"application/json"},e==null?void 0:e.headers),i.body=JSON.stringify(n)):i.body=n,e!=null&&e.duplex&&(i.duplex=e.duplex),ue(ue({},i),r))};async function zl(t,e,r,n,i,o,a){return new Promise((s,u)=>{t(r,a5(e,n,i,o)).then(l=>{if(!l.ok)throw l;if(n!=null&&n.noResolveJson)return l;if(a==="vectors"){const c=l.headers.get("content-type");if(l.headers.get("content-length")==="0"||l.status===204)return{};if(!c||!c.includes("application/json"))return{}}return l.json()}).then(l=>s(l)).catch(l=>o5(l,u,n,a))})}function OT(t="storage"){return{get:async(e,r,n,i)=>zl(e,"GET",r,n,i,void 0,t),post:async(e,r,n,i,o)=>zl(e,"POST",r,i,o,n,t),put:async(e,r,n,i,o)=>zl(e,"PUT",r,i,o,n,t),head:async(e,r,n,i)=>zl(e,"HEAD",r,ue(ue({},n),{},{noResolveJson:!0}),i,void 0,t),remove:async(e,r,n,i,o)=>zl(e,"DELETE",r,i,o,n,t)}}const s5=OT("storage"),{get:lc,post:mn,put:am,head:l5,remove:my}=s5,Cr=OT("vectors");var wl=class{constructor(t,e={},r,n="storage"){this.shouldThrowOnError=!1,this.url=t,this.headers=e,this.fetch=$3(r),this.namespace=n}throwOnError(){return this.shouldThrowOnError=!0,this}async handleOperation(t){var e=this;try{return{data:await t(),error:null}}catch(r){if(e.shouldThrowOnError)throw r;if(tp(r))return{data:null,error:r};throw r}}},u5=class{constructor(t,e){this.downloadFn=t,this.shouldThrowOnError=e}then(t,e){return this.execute().then(t,e)}async execute(){var t=this;try{return{data:(await t.downloadFn()).body,error:null}}catch(e){if(t.shouldThrowOnError)throw e;if(tp(e))return{data:null,error:e};throw e}}};let _T;_T=Symbol.toStringTag;var c5=class{constructor(t,e){this.downloadFn=t,this.shouldThrowOnError=e,this[_T]="BlobDownloadBuilder",this.promise=null}asStream(){return new u5(this.downloadFn,this.shouldThrowOnError)}then(t,e){return this.getPromise().then(t,e)}catch(t){return this.getPromise().catch(t)}finally(t){return this.getPromise().finally(t)}getPromise(){return this.promise||(this.promise=this.execute()),this.promise}async execute(){var t=this;try{return{data:await(await t.downloadFn()).blob(),error:null}}catch(e){if(t.shouldThrowOnError)throw e;if(tp(e))return{data:null,error:e};throw e}}};const d5={limit:100,offset:0,sortBy:{column:"name",order:"asc"}},fx={cacheControl:"3600",contentType:"text/plain;charset=UTF-8",upsert:!1};var f5=class extends wl{constructor(t,e={},r,n){super(t,e,n,"storage"),this.bucketId=r}async uploadOrUpdate(t,e,r,n){var i=this;return i.handleOperation(async()=>{let o;const a=ue(ue({},fx),n);let s=ue(ue({},i.headers),t==="POST"&&{"x-upsert":String(a.upsert)});const u=a.metadata;typeof Blob<"u"&&r instanceof Blob?(o=new FormData,o.append("cacheControl",a.cacheControl),u&&o.append("metadata",i.encodeMetadata(u)),o.append("",r)):typeof FormData<"u"&&r instanceof FormData?(o=r,o.has("cacheControl")||o.append("cacheControl",a.cacheControl),u&&!o.has("metadata")&&o.append("metadata",i.encodeMetadata(u))):(o=r,s["cache-control"]=`max-age=${a.cacheControl}`,s["content-type"]=a.contentType,u&&(s["x-metadata"]=i.toBase64(i.encodeMetadata(u))),(typeof ReadableStream<"u"&&o instanceof ReadableStream||o&&typeof o=="object"&&"pipe"in o&&typeof o.pipe=="function")&&!a.duplex&&(a.duplex="half")),n!=null&&n.headers&&(s=ue(ue({},s),n.headers));const l=i._removeEmptyFolders(e),c=i._getFinalPath(l),d=await(t=="PUT"?am:mn)(i.fetch,`${i.url}/object/${c}`,o,ue({headers:s},a!=null&&a.duplex?{duplex:a.duplex}:{}));return{path:l,id:d.Id,fullPath:d.Key}})}async upload(t,e,r){return this.uploadOrUpdate("POST",t,e,r)}
248async uploadToSignedUrl(t,e,r,n){var i=this;const o=i._removeEmptyFolders(t),a=i._getFinalPath(o),s=new URL(i.url+`/object/upload/sign/${a}`);return s.searchParams.set("token",e),i.handleOperation(async()=>{let u;const l=ue({upsert:fx.upsert},n),c=ue(ue({},i.headers),{"x-upsert":String(l.upsert)});return typeof Blob<"u"&&r instanceof Blob?(u=new FormData,u.append("cacheControl",l.cacheControl),u.append("",r)):typeof FormData<"u"&&r instanceof FormData?(u=r,u.append("cacheControl",l.cacheControl)):(u=r,c["cache-control"]=`max-age=${l.cacheControl}`,c["content-type"]=l.contentType),{path:o,fullPath:(await am(i.fetch,s.toString(),u,{headers:c})).Key}})}async createSignedUploadUrl(t,e){var r=this;return r.handleOperation(async()=>{let n=r._getFinalPath(t);const i=ue({},r.headers);e!=null&&e.upsert&&(i["x-upsert"]="true");const o=await mn(r.fetch,`${r.url}/object/upload/sign/${n}`,{},{headers:i}),a=new URL(r.url+o.url),s=a.searchParams.get("token");if(!s)throw new ep("No token returned by API");return{signedUrl:a.toString(),path:t,token:s}})}async update(t,e,r){return this.uploadOrUpdate("PUT",t,e,r)}async move(t,e,r){var n=this;return n.handleOperation(async()=>await mn(n.fetch,`${n.url}/object/move`,{bucketId:n.bucketId,sourceKey:t,destinationKey:e,destinationBucket:r==null?void 0:r.destinationBucket},{headers:n.headers}))}async copy(t,e,r){var n=this;return n.handleOperation(async()=>({path:(await mn(n.fetch,`${n.url}/object/copy`,{bucketId:n.bucketId,sourceKey:t,destinationKey:e,destinationBucket:r==null?void 0:r.destinationBucket},{headers:n.headers})).Key}))}async createSignedUrl(t,e,r){var n=this;return n.handleOperation(async()=>{let i=n._getFinalPath(t),o=await mn(n.fetch,`${n.url}/object/sign/${i}`,ue({expiresIn:e},r!=null&&r.transform?{transform:r.transform}:{}),{headers:n.headers});const a=r!=null&&r.download?`&download=${r.download===!0?"":r.download}`:"";return{signedUrl:encodeURI(`${n.url}${o.signedURL}${a}`)}})}async createSignedUrls(t,e,r){var n=this;return n.handleOperation(async()=>{const i=await mn(n.fetch,`${n.url}/object/sign/${n.bucketId}`,{expiresIn:e,paths:t},{headers:n.headers}),o=r!=null&&r.download?`&download=${r.download===!0?"":r.download}`:"";return i.map(a=>ue(ue({},a),{},{signedUrl:a.signedURL?encodeURI(`${n.url}${a.signedURL}${o}`):null}))})}download(t,e,r){const n=typeof(e==null?void 0:e.transform)<"u"?"render/image/authenticated":"object",i=this.transformOptsToQueryString((e==null?void 0:e.transform)||{}),o=i?`?${i}`:"",a=this._getFinalPath(t),s=()=>lc(this.fetch,`${this.url}/${n}/${a}${o}`,{headers:this.headers,noResolveJson:!0},r);return new c5(s,this.shouldThrowOnError)}async info(t){var e=this;const r=e._getFinalPath(t);return e.handleOperation(async()=>om(await lc(e.fetch,`${e.url}/object/info/${r}`,{headers:e.headers})))}async exists(t){var e=this;const r=e._getFinalPath(t);try{return await l5(e.fetch,`${e.url}/object/${r}`,{headers:e.headers}),{data:!0,error:null}}catch(n){if(e.shouldThrowOnError)throw n;if(tp(n)&&n instanceof AT){const i=n.originalError;if([400,404].includes(i==null?void 0:i.status))return{data:!1,error:n}}throw n}}getPublicUrl(t,e){const r=this._getFinalPath(t),n=[],i=e!=null&&e.download?`download=${e.download===!0?"":e.download}`:"";i!==""&&n.push(i);const o=typeof(e==null?void 0:e.transform)<"u"?"render/image":"object",a=this.transformOptsToQueryString((e==null?void 0:e.transform)||{});a!==""&&n.push(a);let s=n.join("&");return s!==""&&(s=`?${s}`),{data:{publicUrl:encodeURI(`${this.url}/${o}/public/${r}${s}`)}}}async remove(t){var e=this;return e.handleOperation(async()=>await my(e.fetch,`${e.url}/object/${e.bucketId}`,{prefixes:t},{headers:e.headers}))}async list(t,e,r){var n=this;return n.handleOperation(async()=>{const i=ue(ue(ue({},d5),e),{},{prefix:t||""});return await mn(n.fetch,`${n.url}/object/list/${n.bucketId}`,i,{headers:n.headers},r)})}async listV2(t,e){var r=this;return r.handleOperation(async()=>{const n=ue({},t);return await mn(r.fetch,`${r.url}/object/list-v2/${r.bucketId}`,n,{headers:r.headers},e)})}encodeMetadata(t){return JSON.stringify(t)}toBase64(t){return typeof Buffer<"u"?Buffer.from(t).toString("base64"):btoa(t)}_getFinalPath(t){return`${this.bucketId}/${t.replace(/^\/+/,"")}`}_removeEmptyFolders(t){return t.replace(/^\/|\/$/g,"").replace(/\/+/g,"/")}transformOptsToQueryString(t){const e=[];return t.width&&e.push(`width=${t.width}`),t.height&&e.push(`height=${t.height}`),t.resize&&e.push(`resize=${t.resize}`),t.format&&e.push(`format=${t.format}`),t.quality&&e.push(`quality=${t.quality}`),e.join("&")}};const h5="2.95.3",Fc={"X-Client-Info":`storage-js/${h5}`};var p5=class extends wl{constructor(t,e={},r,n){const i=new URL(t);n!=null&&n.useNewHostname&&/supabase\.(co|in|red)$/.test(i.hostname)&&!i.hostname.includes("storage.supabase.")&&(i.hostname=i.hostname.replace("supabase.","storage.supabase."));const o=i.href.replace(/\/$/,""),a=ue(ue({},Fc),e);super(o,a,r,"storage")}async listBuckets(t){var e=this;return e.handleOperation(async()=>{const r=e.listBucketOptionsToQueryString(t);return await lc(e.fetch,`${e.url}/bucket${r}`,{headers:e.headers})})}async getBucket(t){var e=this;return e.handleOperation(async()=>await lc(e.fetch,`${e.url}/bucket/${t}`,{headers:e.headers}))}async createBucket(t,e={public:!1}){var r=this;return r.handleOperation(async()=>await mn(r.fetch,`${r.url}/bucket`,{id:t,name:t,type:e.type,public:e.public,file_size_limit:e.fileSizeLimit,allowed_mime_types:e.allowedMimeTypes},{headers:r.headers}))}async updateBucket(t,e){var r=this;return r.handleOperation(async()=>await am(r.fetch,`${r.url}/bucket/${t}`,{id:t,name:t,public:e.public,file_size_limit:e.fileSizeLimit,allowed_mime_types:e.allowedMimeTypes},{headers:r.headers}))}async emptyBucket(t){var e=this;return e.handleOperation(async()=>await mn(e.fetch,`${e.url}/bucket/${t}/empty`,{},{headers:e.headers}))}async deleteBucket(t){var e=this;return e.handleOperation(async()=>await my(e.fetch,`${e.url}/bucket/${t}`,{},{headers:e.headers}))}listBucketOptionsToQueryString(t){const e={};return t&&("limit"in t&&(e.limit=String(t.limit)),"offset"in t&&(e.offset=String(t.offset)),t.search&&(e.search=t.search),t.sortColumn&&(e.sortColumn=t.sortColumn),t.sortOrder&&(e.sortOrder=t.sortOrder)),Object.keys(e).length>0?"?"+new URLSearchParams(e).toString():""}},v5=class extends wl{constructor(t,e={},r){const n=t.replace(/\/$/,""),i=ue(ue({},Fc),e);super(n,i,r,"storage")}async createBucket(t){var e=this;return e.handleOperation(async()=>await mn(e.fetch,`${e.url}/bucket`,{name:t},{headers:e.headers}))}async listBuckets(t){var e=this;return e.handleOperation(async()=>
248{const r=new URLSearchParams;(t==null?void 0:t.limit)!==void 0&&r.set("limit",t.limit.toString()),(t==null?void 0:t.offset)!==void 0&&r.set("offset",t.offset.toString()),t!=null&&t.sortColumn&&r.set("sortColumn",t.sortColumn),t!=null&&t.sortOrder&&r.set("sortOrder",t.sortOrder),t!=null&&t.search&&r.set("search",t.search);const n=r.toString(),i=n?`${e.url}/bucket?${n}`:`${e.url}/bucket`;return await lc(e.fetch,i,{headers:e.headers})})}async deleteBucket(t){var e=this;return e.handleOperation(async()=>await my(e.fetch,`${e.url}/bucket/${t}`,{},{headers:e.headers}))}from(t){var e=this;if(!t5(t))throw new ep("Invalid bucket name: File, folder, and bucket names must follow AWS object key naming guidelines and should avoid the use of any other characters.");const r=new Q3({baseUrl:this.url,catalogName:t,auth:{type:"custom",getHeaders:async()=>e.headers},fetch:this.fetch}),n=this.shouldThrowOnError;return new Proxy(r,{get(i,o){const a=i[o];return typeof a!="function"?a:async(...s)=>{try{return{data:await a.apply(i,s),error:null}}catch(u){if(n)throw u;return{data:null,error:u}}}}})}},m5=class extends wl{constructor(t,e={},r){const n=t.replace(/\/$/,""),i=ue(ue({},Fc),{},{"Content-Type":"application/json"},e);super(n,i,r,"vectors")}async createIndex(t){var e=this;return e.handleOperation(async()=>await Cr.post(e.fetch,`${e.url}/CreateIndex`,t,{headers:e.headers})||{})}async getIndex(t,e){var r=this;return r.handleOperation(async()=>await Cr.post(r.fetch,`${r.url}/GetIndex`,{vectorBucketName:t,indexName:e},{headers:r.headers}))}async listIndexes(t){var e=this;return e.handleOperation(async()=>await Cr.post(e.fetch,`${e.url}/ListIndexes`,t,{headers:e.headers}))}async deleteIndex(t,e){var r=this;return r.handleOperation(async()=>await Cr.post(r.fetch,`${r.url}/DeleteIndex`,{vectorBucketName:t,indexName:e},{headers:r.headers})||{})}},g5=class extends wl{constructor(t,e={},r){const n=t.replace(/\/$/,""),i=ue(ue({},Fc),{},{"Content-Type":"application/json"},e);super(n,i,r,"vectors")}async putVectors(t){var e=this;if(t.vectors.length<1||t.vectors.length>500)throw new Error("Vector batch size must be between 1 and 500 items");return e.handleOperation(async()=>await Cr.post(e.fetch,`${e.url}/PutVectors`,t,{headers:e.headers})||{})}async getVectors(t){var e=this;return e.handleOperation(async()=>await Cr.post(e.fetch,`${e.url}/GetVectors`,t,{headers:e.headers}))}async listVectors(t){var e=this;if(t.segmentCount!==void 0){if(t.segmentCount<1||t.segmentCount>16)throw new Error("segmentCount must be between 1 and 16");if(t.segmentIndex!==void 0&&(t.segmentIndex<0||t.segmentIndex>=t.segmentCount))throw new Error(`segmentIndex must be between 0 and ${t.segmentCount-1}`)}return e.handleOperation(async()=>await Cr.post(e.fetch,`${e.url}/ListVectors`,t,{headers:e.headers}))}async queryVectors(t){var e=this;return e.handleOperation(async()=>await Cr.post(e.fetch,`${e.url}/QueryVectors`,t,{headers:e.headers}))}async deleteVectors(t){var e=this;if(t.keys.length<1||t.keys.length>500)throw new Error("Keys batch size must be between 1 and 500 items");return e.handleOperation(async()=>await Cr.post(e.fetch,`${e.url}/DeleteVectors`,t,{headers:e.headers})||{})}},y5=class extends wl{constructor(t,e={},r){const n=t.replace(/\/$/,""),i=ue(ue({},Fc),{},{"Content-Type":"application/json"},e);super(n,i,r,"vectors")}async createBucket(t){var e=this;return e.handleOperation(async()=>await Cr.post(e.fetch,`${e.url}/CreateVectorBucket`,{vectorBucketName:t},{headers:e.headers})||{})}async getBucket(t){var e=this;return e.handleOperation(async()=>await Cr.post(e.fetch,`${e.url}/GetVectorBucket`,{vectorBucketName:t},{headers:e.headers}))}async listBuckets(t={}){var e=this;return e.handleOperation(async()=>await Cr.post(e.fetch,`${e.url}/ListVectorBuckets`,t,{headers:e.headers}))}async deleteBucket(t){var e=this;return e.handleOperation(async()=>await Cr.post(e.fetch,`${e.url}/DeleteVectorBucket`,{vectorBucketName:t},{headers:e.headers})||{})}},w5=class extends y5{constructor(t,e={}){super(t,e.headers||{},e.fetch)}from(t){return new b5(this.url,this.headers,t,this.fetch)}async createBucket(t){var e=()=>super.createBucket,r=this;return e().call(r,t)}async getBucket(t){var e=()=>super.getBucket,r=this;return e().call(r,t)}async listBuckets(t={}){var e=()=>super.listBuckets,r=this;return e().call(r,t)}async deleteBucket(t){var e=()=>super.deleteBucket,r=this;return e().call(r,t)}},b5=class extends m5{constructor(t,e,r,n){super(t,e,n),this.vectorBucketName=r}async createIndex(t){var e=()=>super.createIndex,r=this;return e().call(r,ue(ue({},t),{},{vectorBucketName:r.vectorBucketName}))}async listIndexes(t={}){var e=()=>super.listIndexes,r=this;return e().call(r,ue(ue({},t),{},{vectorBucketName:r.vectorBucketName}))}async getIndex(t){var e=()=>super.getIndex,r=this;return e().call(r,r.vectorBucketName,t)}async deleteIndex(t){var e=()=>super.deleteIndex,r=this;return e().call(r,r.vectorBucketName,t)}index(t){return new x5(this.url,this.headers,this.vectorBucketName,t,this.fetch)}},x5=class extends g5{constructor(t,e,r,n,i){super(t,e,i),this.vectorBucketName=r,this.indexName=n}async putVectors(t){var e=()=>super.putVectors,r=this;return e().call(r,ue(ue({},t),{},{vectorBucketName:r.vectorBucketName,indexName:r.indexName}))}async getVectors(t){var e=()=>super.getVectors,r=this;return e().call(r,ue(ue({},t),{},{vectorBucketName:r.vectorBucketName,indexName:r.indexName}))}async listVectors(t={}){var e=()=>super.listVectors,r=this;return e().call(r,ue(ue({},t),{},{vectorBucketName:r.vectorBucketName,indexName:r.indexName}))}async queryVectors(t){var e=()=>super.queryVectors,r=this;return e().call(r,ue(ue({},t),{},{vectorBucketName:r.vectorBucketName,indexName:r.indexName}))}async deleteVectors(t){var e=()=>super.deleteVectors,r=this;return e().call(r,ue(ue({},t),{},{vectorBucketName:r.vectorBucketName,indexName:r.indexName}))}},S5=class extends p5{constructor(t,e={},r,n){super(t,e,r,n)}from(t){return new f5(this.url,this.headers,t,this.fetch)}get vectors(){return new w5(this.url+"/vector",{headers:this.headers,fetch:this.fetch})}get analytics(){return new v5(this.url+"/iceberg",this.headers,this.fetch)}};function rp(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(t);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]]);return r}const NT="2.95.3",us=30*1e3,sm=3,vv=sm*us,k5="http://localhost:9999",C5="supabase.auth.token",E5={"X-Client-Info":`gotrue-js/${NT}`}
248,lm="X-Supabase-Api-Version",jT={"2024-01-01":{timestamp:Date.parse("2024-01-01T00:00:00.0Z"),name:"2024-01-01"}},T5=/^([a-z0-9_-]{4})*($|[a-z0-9_-]{3}$|[a-z0-9_-]{2}$)$/i,P5=10*60*1e3;class uc extends Error{constructor(e,r,n){super(e),this.__isAuthError=!0,this.name="AuthError",this.status=r,this.code=n}}function ne(t){return typeof t=="object"&&t!==null&&"__isAuthError"in t}class R5 extends uc{constructor(e,r,n){super(e,r,n),this.name="AuthApiError",this.status=r,this.code=n}}function A5(t){return ne(t)&&t.name==="AuthApiError"}class Jo extends uc{constructor(e,r){super(e),this.name="AuthUnknownError",this.originalError=r}}class Si extends uc{constructor(e,r,n,i){super(e,n,i),this.name=r,this.status=n}}class xr extends Si{constructor(){super("Auth session missing!","AuthSessionMissingError",400,void 0)}}function mv(t){return ne(t)&&t.name==="AuthSessionMissingError"}class Xa extends Si{constructor(){super("Auth session or user missing","AuthInvalidTokenResponseError",500,void 0)}}class bd extends Si{constructor(e){super(e,"AuthInvalidCredentialsError",400,void 0)}}class xd extends Si{constructor(e,r=null){super(e,"AuthImplicitGrantRedirectError",500,void 0),this.details=null,this.details=r}toJSON(){return{name:this.name,message:this.message,status:this.status,details:this.details}}}function O5(t){return ne(t)&&t.name==="AuthImplicitGrantRedirectError"}class hx extends Si{constructor(e,r=null){super(e,"AuthPKCEGrantCodeExchangeError",500,void 0),this.details=null,this.details=r}toJSON(){return{name:this.name,message:this.message,status:this.status,details:this.details}}}class _5 extends Si{constructor(){super("PKCE code verifier not found in storage. This can happen if the auth flow was initiated in a different browser or device, or if the storage was cleared. For SSR frameworks (Next.js, SvelteKit, etc.), use @supabase/ssr on both the server and client to store the code verifier in cookies.","AuthPKCECodeVerifierMissingError",400,"pkce_code_verifier_not_found")}}class um extends Si{constructor(e,r){super(e,"AuthRetryableFetchError",r,void 0)}}function gv(t){return ne(t)&&t.name==="AuthRetryableFetchError"}class px extends Si{constructor(e,r,n){super(e,"AuthWeakPasswordError",r,"weak_password"),this.reasons=n}}class cm extends Si{constructor(e){super(e,"AuthInvalidJwtError",400,"invalid_jwt")}}const Yf="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".split(""),vx=` 	
249\r=`.split(""),N5=(()=>{const t=new Array(128);for(let e=0;e<t.length;e+=1)t[e]=-1;for(let e=0;e<vx.length;e+=1)t[vx[e].charCodeAt(0)]=-2;for(let e=0;e<Yf.length;e+=1)t[Yf[e].charCodeAt(0)]=e;return t})();function mx(t,e,r){if(t!==null)for(e.queue=e.queue<<8|t,e.queuedBits+=8;e.queuedBits>=6;){const n=e.queue>>e.queuedBits-6&63;r(Yf[n]),e.queuedBits-=6}else if(e.queuedBits>0)for(e.queue=e.queue<<6-e.queuedBits,e.queuedBits=6;e.queuedBits>=6;){const n=e.queue>>e.queuedBits-6&63;r(Yf[n]),e.queuedBits-=6}}function FT(t,e,r){const n=N5[t];if(n>-1)for(e.queue=e.queue<<6|n,e.queuedBits+=6;e.queuedBits>=8;)r(e.queue>>e.queuedBits-8&255),e.queuedBits-=8;else{if(n===-2)return;throw new Error(`Invalid Base64-URL character "${String.fromCharCode(t)}"`)}}function gx(t){const e=[],r=a=>{e.push(String.fromCodePoint(a))},n={utf8seq:0,codepoint:0},i={queue:0,queuedBits:0},o=a=>{I5(a,n,r)};for(let a=0;a<t.length;a+=1)FT(t.charCodeAt(a),i,o);return e.join("")}function j5(t,e){if(t<=127){e(t);return}else if(t<=2047){e(192|t>>6),e(128|t&63);return}else if(t<=65535){e(224|t>>12),e(128|t>>6&63),e(128|t&63);return}else if(t<=1114111){e(240|t>>18),e(128|t>>12&63),e(128|t>>6&63),e(128|t&63);return}throw new Error(`Unrecognized Unicode codepoint: ${t.toString(16)}`)}function F5(t,e){for(let r=0;r<t.length;r+=1){let n=t.charCodeAt(r);if(n>55295&&n<=56319){const i=(n-55296)*1024&65535;n=(t.charCodeAt(r+1)-56320&65535|i)+65536,r+=1}j5(n,e)}}function I5(t,e,r){if(e.utf8seq===0){if(t<=127){r(t);return}for(let n=1;n<6;n+=1)if(!(t>>7-n&1)){e.utf8seq=n;break}if(e.utf8seq===2)e.codepoint=t&31;else if(e.utf8seq===3)e.codepoint=t&15;else if(e.utf8seq===4)e.codepoint=t&7;else throw new Error("Invalid UTF-8 sequence");e.utf8seq-=1}else if(e.utf8seq>0){if(t<=127)throw new Error("Invalid UTF-8 sequence");e.codepoint=e.codepoint<<6|t&63,e.utf8seq-=1,e.utf8seq===0&&r(e.codepoint)}}function Ds(t){const e=[],r={queue:0,queuedBits:0},n=i=>{e.push(i)};for(let i=0;i<t.length;
249i+=1)FT(t.charCodeAt(i),r,n);return new Uint8Array(e)}function D5(t){const e=[];return F5(t,r=>e.push(r)),new Uint8Array(e)}function oa(t){const e=[],r={queue:0,queuedBits:0},n=i=>{e.push(i)};return t.forEach(i=>mx(i,r,n)),mx(null,r,n),e.join("")}function M5(t){return Math.round(Date.now()/1e3)+t}function L5(){return Symbol("auth-callback")}const Lt=()=>typeof window<"u"&&typeof document<"u",qo={tested:!1,writable:!1},IT=()=>{if(!Lt())return!1;try{if(typeof globalThis.localStorage!="object")return!1}catch{return!1}if(qo.tested)return qo.writable;const t=`lswt-${Math.random()}${Math.random()}`;try{globalThis.localStorage.setItem(t,t),globalThis.localStorage.removeItem(t),qo.tested=!0,qo.writable=!0}catch{qo.tested=!0,qo.writable=!1}return qo.writable};function B5(t){const e={},r=new URL(t);if(r.hash&&r.hash[0]==="#")try{new URLSearchParams(r.hash.substring(1)).forEach((i,o)=>{e[o]=i})}catch{}return r.searchParams.forEach((n,i)=>{e[i]=n}),e}const DT=t=>t?(...e)=>t(...e):(...e)=>fetch(...e),U5=t=>typeof t=="object"&&t!==null&&"status"in t&&"ok"in t&&"json"in t&&typeof t.json=="function",cs=async(t,e,r)=>{await t.setItem(e,JSON.stringify(r))},Ho=async(t,e)=>{const r=await t.getItem(e);if(!r)return null;try{return JSON.parse(r)}catch{return r}},Mt=async(t,e)=>{await t.removeItem(e)};
249class np{constructor(){this.promise=new np.promiseConstructor((e,r)=>{this.resolve=e,this.reject=r})}}np.promiseConstructor=Promise;function Sd(t){const e=t.split(".");if(e.length!==3)throw new cm("Invalid JWT structure");for(let n=0;n<e.length;n++)if(!T5.test(e[n]))throw new cm("JWT not in base64url format");return{header:JSON.parse(gx(e[0])),payload:JSON.parse(gx(e[1])),signature:Ds(e[2]),raw:{header:e[0],payload:e[1]}}}async function z5(t){return await new Promise(e=>{setTimeout(()=>e(null),t)})}function V5(t,e){return new Promise((n,i)=>{(async()=>{for(let o=0;o<1/0;o++)try{const a=await t(o);if(!e(o,null,a)){n(a);return}}catch(a){if(!e(o,a)){i(a);return}}})()})}function W5(t){return("0"+t.toString(16)).substr(-2)}function q5(){const e=new Uint32Array(56);if(typeof crypto>"u"){const r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~",n=r.length;let i="";for(let o=0;o<56;o++)i+=r.charAt(Math.floor(Math.random()*n));return i}return crypto.getRandomValues(e),Array.from(e,W5).join("")}async function H5(t){const r=new TextEncoder().encode(t),n=await crypto.subtle.digest("SHA-256",r),i=new Uint8Array(n);return Array.from(i).map(o=>String.fromCharCode(o)).join("")}async function K5(t){if(!(typeof crypto<"u"&&typeof crypto.subtle<"u"&&typeof TextEncoder<"u"))return console.warn("WebCrypto API is not supported. Code challenge method will default to use plain instead of sha256."),t;const r=await H5(t);return btoa(r).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}async function Za(t,e,r=!1){const n=q5();let i=n;r&&(i+="/PASSWORD_RECOVERY"),await cs(t,`${e}-code-verifier`,i);const o=await K5(n);return[o,n===o?"plain":"s256"]}const G5=/^2[0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|1[0-9]|2[0-9]|3[0-1])$/i;function X5(t){const e=t.headers.get(lm);if(!e||!e.match(G5))return null;try{return new Date(`${e}T00:00:00.0Z`)}catch{return null}}function Z5(t){if(!t)throw new Error("Missing exp claim");const e=Math.floor(Date.now()/1e3);if(t<=e)throw new Error("JWT has expired")}function Y5(t){switch(t){case"RS256":return{name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-256"}};case"ES256":return{name:"ECDSA",namedCurve:"P-256",hash:{name:"SHA-256"}};default:throw new Error("Invalid alg claim")}}const J5=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/;function Ya(t){if(!J5.test(t))throw new Error("@supabase/auth-js: Expected parameter to be UUID but is not")}function yv(){const t={};return new Proxy(t,{get:(e,r)=>{if(r==="__isUserNotAvailableProxy")return!0;if(typeof r=="symbol"){const n=r.toString();if(n==="Symbol(Symbol.toPrimitive)"||n==="Symbol(Symbol.toStringTag)"||n==="Symbol(util.inspect.custom)")return}throw new Error(`@supabase/auth-js: client was created with userStorage option and there was no user stored in the user storage. Accessing the "${r}" property of the session object is not supported. Please use getUser() instead.`)},set:(e,r)=>{throw new Error(`@supabase/auth-js: client was created with userStorage option and there was no user stored in the user storage. Setting the "${r}" property of the session object is not supported. Please use getUser() to fetch a user object you can manipulate.`)},deleteProperty:(e,r)=>{throw new Error(`@supabase/auth-js: client was created with userStorage option and there was no user stored in the user storage. Deleting the "${r}" property of the session object is not supported. Please use getUser() to fetch a user object you can manipulate.`)}})}function Q5(t,e){return new Proxy(t,{get:(r,n,i)=>{if(n==="__isInsecureUserWarningProxy")return!0;if(typeof n=="symbol"){const o=n.toString();if(o==="Symbol(Symbol.toPrimitive)"||o==="Symbol(Symbol.toStringTag)"||o==="Symbol(util.inspect.custom)"||o==="Symbol(nodejs.util.inspect.custom)")return Reflect.get(r,n,i)}return!e.value&&typeof n=="string"&&(console.warn("Using the user object as returned from supabase.auth.getSession() or from some supabase.auth.onAuthStateChange() events could be insecure! This value comes directly from the storage medium (usually cookies on the server) and may not be authentic. Use supabase.auth.getUser() instead which authenticates the data by contacting the Supabase Auth server."),e.value=!0),Reflect.get(r,n,i)}})}function yx(t){return JSON.parse(JSON.stringify(t))}const Zo=t=>t.msg||t.message||t.error_description||t.error||JSON.stringify(t),$5=[502,503,504];async function wx(t){var e;if(!U5(t))throw new um(Zo(t),0);if($5.includes(t.status))throw new um(Zo(t),t.status);let r;try{r=await t.json()}catch(o){throw new Jo(Zo(o),o)}let n;const i=X5(t);if(i&&i.getTime()>=jT["2024-01-01"].timestamp&&typeof r=="object"&&r&&typeof r.code=="string"?n=r.code:typeof r=="object"&&r&&typeof r.error_code=="string"&&(n=r.error_code),n){if(n==="weak_password")throw new px(Zo(r),t.status,((e=r.weak_password)===null||e===void 0?void 0:e.reasons)||[]);if(n==="session_not_found")throw new xr}else if(typeof r=="object"&&r&&typeof r.weak_password=="object"&&r.weak_password&&Array.isArray(r.weak_password.reasons)&&r.weak_password.reasons.length&&r.weak_password.reasons.reduce((o,a)=>
249o&&typeof a=="string",!0))throw new px(Zo(r),t.status,r.weak_password.reasons);throw new R5(Zo(r),t.status||500,n)}const e8=(t,e,r,n)=>{const i={method:t,headers:(e==null?void 0:e.headers)||{}};return t==="GET"?i:(i.headers=Object.assign({"Content-Type":"application/json;charset=UTF-8"},e==null?void 0:e.headers),i.body=JSON.stringify(n),Object.assign(Object.assign({},i),r))};async function se(t,e,r,n){var i;const o=Object.assign({},n==null?void 0:n.headers);o[lm]||(o[lm]=jT["2024-01-01"].name),n!=null&&n.jwt&&(o.Authorization=`Bearer ${n.jwt}`);const a=(i=n==null?void 0:n.query)!==null&&i!==void 0?i:{};n!=null&&n.redirectTo&&(a.redirect_to=n.redirectTo);const s=Object.keys(a).length?"?"+new URLSearchParams(a).toString():"",u=await t8(t,e,r+s,{headers:o,noResolveJson:n==null?void 0:n.noResolveJson},{},n==null?void 0:n.body);return n!=null&&n.xform?n==null?void 0:n.xform(u):{data:Object.assign({},u),error:null}}async function t8(t,e,r,n,i,o){const a=e8(e,n,i,o);let s;try{s=await t(r,Object.assign({},a))}catch(u){throw console.error(u),new um(Zo(u),0)}if(s.ok||await wx(s),n!=null&&n.noResolveJson)return s;try{return await s.json()}catch(u){await wx(u)}}function cn(t){var e;let r=null;i8(t)&&(r=Object.assign({},t),t.expires_at||(r.expires_at=M5(t.expires_in)));const n=(e=t.user)!==null&&e!==void 0?e:t;return{data:{session:r,user:n},error:null}}function bx(t){const e=cn(t);return!e.error&&t.weak_password&&typeof t.weak_password=="object"&&Array.isArray(t.weak_password.reasons)&&t.weak_password.reasons.length&&t.weak_password.message&&typeof t.weak_password.message=="string"&&t.weak_password.reasons.reduce((r,n)=>r&&typeof n=="string",!0)&&(e.data.weak_password=t.weak_password),e}function Ki(t){var e;return{data:{user:(e=t.user)!==null&&e!==void 0?e:t},error:null}}function r8(t){return{data:t,error:null}}function n8(t){const{action_link:e,email_otp:r,hashed_token:n,redirect_to:i,verification_type:o}=t,a=rp(t,["action_link","email_otp","hashed_token","redirect_to","verification_type"]),s={action_link:e,email_otp:r,hashed_token:n,redirect_to:i,verification_type:o},u=Object.assign({},a);return{data:{properties:s,user:u},error:null}}function xx(t){return t}function i8(t){return t.access_token&&t.refresh_token&&t.expires_in}const wv=["global","local","others"];class o8{constructor({url:e="",headers:r={},fetch:n}){this.url=e,this.headers=r,this.fetch=DT(n),this.mfa={listFactors:this._listFactors.bind(this),deleteFactor:this._deleteFactor.bind(this)},this.oauth={listClients:this._listOAuthClients.bind(this),createClient:this._createOAuthClient.bind(this),getClient:this._getOAuthClient.bind(this),updateClient:this._updateOAuthClient.bind(this),deleteClient:this._deleteOAuthClient.bind(this),regenerateClientSecret:this._regenerateOAuthClientSecret.bind(this)}}async signOut(e,r=wv[0]){if(wv.indexOf(r)<0)throw new Error(`@supabase/auth-js: Parameter scope must be one of ${wv.join(", ")}`);try{return await se(this.fetch,"POST",`${this.url}/logout?scope=${r}`,{headers:this.headers,jwt:e,noResolveJson:!0}),{data:null,error:null}}catch(n){if(ne(n))return{data:null,error:n};throw n}}async inviteUserByEmail(e,r={}){try{return await se(this.fetch,"POST",`${this.url}/invite`,{body:{email:e,data:r.data},headers:this.headers,redirectTo:r.redirectTo,xform:Ki})}catch(n){if(ne(n))return{data:{user:null},error:n};throw n}}async generateLink(e){try{const{options:r}=e,n=rp(e,["options"]),i=Object.assign(Object.assign({},n),r);return"newEmail"in n&&(i.new_email=n==null?void 0:n.newEmail,delete i.newEmail),await se(this.fetch,"POST",`${this.url}/admin/generate_link`,{body:i,headers:this.headers,xform:n8,redirectTo:r==null?void 0:r.redirectTo})}catch(r){if(ne(r))return{data:{properties:null,user:null},error:r};throw r}}async createUser(e){try{return await se(this.fetch,"POST",`${this.url}/admin/users`,{body:e,headers:this.headers,xform:Ki})}catch(r){if(ne(r))return{data:{user:null},error:r};throw r}}async listUsers(e){var r,n,i,o,a,s,u;try{const l={nextPage:null,lastPage:0,total:0},c=await se(this.fetch,"GET",`${this.url}/admin/users`,{headers:this.headers,noResolveJson:!0,query:{page:(n=(r=e==null?void 0:e.page)===null||r===void 0?void 0:r.toString())!==null&&n!==void 0?n:"",per_page:(o=(i=e==null?void 0:e.perPage)===null||i===void 0?void 0:i.toString())!==null&&o!==void 0?o:""},xform:xx});if(c.error)throw c.error;const d=await c.json(),h=(a=c.headers.get("x-total-count"))!==null&&a!==void 0?a:0,f=(u=(s=c.headers.get("link"))===null||s===void 0?void 0:s.split(","))!==null&&u!==void 0?u:[];return f.length>0&&(f.forEach(m=>{const p=parseInt(m.split(";")[0].split("=")[1].substring(0,1)),g=JSON.parse(m.split(";")[1].split("=")[1]);l[`${g}Page`]=p}),l.total=parseInt(h)),{data:Object.assign(Object.assign({},d),l),error:null}}catch(l){if(ne(l))return{data:{users:[]},error:l};throw l}}async getUserById(e){Ya(e);try{return await se(this.fetch,"GET",`${this.url}/admin/users/${e}`,{headers:this.headers,xform:Ki})}catch(r){if(ne(r))return{data:{user:null},error:r};throw r}}async updateUserById(e,r){Ya(e);try{return await se(this.fetch,"PUT",`${this.url}/admin/users/${e}`,{body:r,headers:this.headers,xform:Ki})}catch(n){if(ne(n))return{data:{user:null},error:n};throw n}}async deleteUser(e,r=!1){Ya(e);
249try{return await se(this.fetch,"DELETE",`${this.url}/admin/users/${e}`,{headers:this.headers,body:{should_soft_delete:r},xform:Ki})}catch(n){if(ne(n))return{data:{user:null},error:n};throw n}}async _listFactors(e){Ya(e.userId);try{const{data:r,error:n}=await se(this.fetch,"GET",`${this.url}/admin/users/${e.userId}/factors`,{headers:this.headers,xform:i=>({data:{factors:i},error:null})});return{data:r,error:n}}catch(r){if(ne(r))return{data:null,error:r};throw r}}async _deleteFactor(e){Ya(e.userId),Ya(e.id);try{return{data:await se(this.fetch,"DELETE",`${this.url}/admin/users/${e.userId}/factors/${e.id}`,{headers:this.headers}),error:null}}catch(r){if(ne(r))return{data:null,error:r};throw r}}async _listOAuthClients(e){var r,n,i,o,a,s,u;try{const l={nextPage:null,lastPage:0,total:0},c=await se(this.fetch,"GET",`${this.url}/admin/oauth/clients`,{headers:this.headers,noResolveJson:!0,query:{page:(n=(r=e==null?void 0:e.page)===null||r===void 0?void 0:r.toString())!==null&&n!==void 0?n:"",per_page:(o=(i=e==null?void 0:e.perPage)===null||i===void 0?void 0:i.toString())!==null&&o!==void 0?o:""},xform:xx});if(c.error)throw c.error;const d=await c.json(),h=(a=c.headers.get("x-total-count"))!==null&&a!==void 0?a:0,f=(u=(s=c.headers.get("link"))===null||s===void 0?void 0:s.split(","))!==null&&u!==void 0?u:[];return f.length>0&&(f.forEach(m=>{const p=parseInt(m.split(";")[0].split("=")[1].substring(0,1)),g=JSON.parse(m.split(";")[1].split("=")[1]);l[`${g}Page`]=p}),l.total=parseInt(h)),{data:Object.assign(Object.assign({},d),l),error:null}}catch(l){if(ne(l))return{data:{clients:[]},error:l};throw l}}async _createOAuthClient(e){try{return await se(this.fetch,"POST",`${this.url}/admin/oauth/clients`,{body:e,headers:this.headers,xform:r=>({data:r,error:null})})}catch(r){if(ne(r))return{data:null,error:r};throw r}}async _getOAuthClient(e){try{return await se(this.fetch,"GET",`${this.url}/admin/oauth/clients/${e}`,{headers:this.headers,xform:r=>({data:r,error:null})})}catch(r){if(ne(r))return{data:null,error:r};throw r}}async _updateOAuthClient(e,r){try{return await se(this.fetch,"PUT",`${this.url}/admin/oauth/clients/${e}`,{body:r,headers:this.headers,xform:n=>({data:n,error:null})})}catch(n){if(ne(n))return{data:null,error:n};throw n}}async _deleteOAuthClient(e){try{return await se(this.fetch,"DELETE",`${this.url}/admin/oauth/clients/${e}`,{headers:this.headers,noResolveJson:!0}),{data:null,error:null}}catch(r){if(ne(r))return{data:null,error:r};throw r}}async _regenerateOAuthClientSecret(e){try{return await se(this.fetch,"POST",`${this.url}/admin/oauth/clients/${e}/regenerate_secret`,{headers:this.headers,xform:r=>({data:r,error:null})})}catch(r){if(ne(r))return{data:null,error:r};throw r}}}function Sx(t={}){return{getItem:e=>t[e]||null,setItem:(e,r)=>{t[e]=r},removeItem:e=>{delete t[e]}}}const Ja={debug:!!(globalThis&&IT()&&globalThis.localStorage&&globalThis.localStorage.getItem("supabase.gotrue-js.locks.debug")==="true")};class MT extends Error{constructor(e){super(e),this.isAcquireTimeout=!0}}class a8 extends MT{}async function s8(t,e,r){Ja.debug&&console.log("@supabase/gotrue-js: navigatorLock: acquire lock",t,e);const n=new globalThis.AbortController;return e>0&&setTimeout(()=>{n.abort(),Ja.debug&&console.log("@supabase/gotrue-js: navigatorLock acquire timed out",t)},e),await Promise.resolve().then(()=>globalThis.navigator.locks.request(t,e===0?{mode:"exclusive",ifAvailable:!0}:{mode:"exclusive",signal:n.signal},async i=>{if(i){Ja.debug&&console.log("@supabase/gotrue-js: navigatorLock: acquired",t,i.name);try{return await r()}finally{Ja.debug&&console.log("@supabase/gotrue-js: navigatorLock: released",t,i.name)}}else{if(e===0)throw Ja.debug&&console.log("@supabase/gotrue-js: navigatorLock: not immediately available",t),new a8(`Acquiring an exclusive Navigator LockManager lock "${t}" immediately failed`);if(Ja.debug)try{const o=await globalThis.navigator.locks.query();console.log("@supabase/gotrue-js: Navigator LockManager state",JSON.stringify(o,null,"  "))}catch(o){console.warn("@supabase/gotrue-js: Error when querying Navigator LockManager state",o)}return console.warn("@supabase/gotrue-js: Navigator LockManager returned a null lock when using #request without ifAvailable set to true, it appears this browser is not following the LockManager spec https://developer.mozilla.org/en-US/docs/Web/API/LockManager/request"),await r()}}))}function l8(){if(typeof globalThis!="object")try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__}catch{typeof self<"u"&&(self.globalThis=self)}}function LT(t){if(!/^0x[a-fA-F0-9]{40}$/.test(t))throw new Error(`@supabase/auth-js: Address "${t}
249" is invalid.`);return t.toLowerCase()}function u8(t){return parseInt(t,16)}function c8(t){const e=new TextEncoder().encode(t);return"0x"+Array.from(e,n=>n.toString(16).padStart(2,"0")).join("")}function d8(t){var e;const{chainId:r,domain:n,expirationTime:i,issuedAt:o=new Date,nonce:a,notBefore:s,requestId:u,resources:l,scheme:c,uri:d,version:h}=t;{if(!Number.isInteger(r))throw new Error(`@supabase/auth-js: Invalid SIWE message field "chainId". Chain ID must be a EIP-155 chain ID. Provided value: ${r}`);if(!n)throw new Error('@supabase/auth-js: Invalid SIWE message field "domain". Domain must be provided.');if(a&&a.length<8)throw new Error(`@supabase/auth-js: Invalid SIWE message field "nonce". Nonce must be at least 8 characters. Provided value: ${a}`);if(!d)throw new Error('@supabase/auth-js: Invalid SIWE message field "uri". URI must be provided.');if(h!=="1")throw new Error(`@supabase/auth-js: Invalid SIWE message field "version". Version must be '1'. Provided value: ${h}`);if(!((e=t.statement)===null||e===void 0)&&e.includes(`
250`))throw new Error(`@supabase/auth-js: Invalid SIWE message field "statement". Statement must not include '\\n'. Provided value: ${t.statement}`)}const f=LT(t.address),m=c?`${c}://${n}`:n,p=t.statement?`${t.statement}
251`:"",g=`${m} wants you to sign in with your Ethereum account:
252${f}
253
254${p}`;let v=`URI: ${d}
255Version: ${h}
256Chain ID: ${r}${a?`
257Nonce: ${a}`:""}
258Issued At: ${o.toISOString()}`;if(i&&(v+=`
259Expiration Time: ${i.toISOString()}`),s&&(v+=`
260Not Before: ${s.toISOString()}`),u&&(v+=`
261Request ID: ${u}`),l){let y=`
262Resources:`;for(const w of l){if(!w||typeof w!="string")throw new Error(`@supabase/auth-js: Invalid SIWE message field "resources". Every resource must be a valid string. Provided value: ${w}`);y+=`
263- ${w}`}v+=y}return`${g}
264${v}`}class St extends Error{constructor({message:e,code:r,cause:n,name:i}){var o;super(e,{cause:n}),this.__isWebAuthnError=!0,this.name=(o=i??(n instanceof Error?n.name:void 0))!==null&&o!==void 0?o:"Unknown Error",this.code=r}}class Jf extends St{constructor(e,r){super({code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:r,message:e}),this.name="WebAuthnUnknownError",this.originalError=r}}function f8({error:t,options:e}){var r,n,i;const{publicKey:o}=e;if(!o)throw Error("options was missing required publicKey property");if(t.name==="AbortError"){if(e.signal instanceof AbortSignal)return new St({message:"Registration ceremony was sent an abort signal",code:"ERROR_CEREMONY_ABORTED",cause:t})}else if(t.name==="ConstraintError"){if(((r=o.authenticatorSelection)===null||r===void 0?void 0:r.requireResidentKey)===!0)return new St({message:"Discoverable credentials were required but no available authenticator supported it",code:"ERROR_AUTHENTICATOR_MISSING_DISCOVERABLE_CREDENTIAL_SUPPORT",cause:t});if(e.mediation==="conditional"&&((n=o.authenticatorSelection)===null||n===void 0?void 0:n.userVerification)==="required")return new St({message:"User verification was required during automatic registration but it could not be performed",code:"ERROR_AUTO_REGISTER_USER_VERIFICATION_FAILURE",cause:t});if(((i=o.authenticatorSelection)===null||i===void 0?void 0:i.userVerification)==="required")return new St({message:"User verification was required but no available authenticator supported it",code:"ERROR_AUTHENTICATOR_MISSING_USER_VERIFICATION_SUPPORT",cause:t})}else{if(t.name==="InvalidStateError")return new St({message:"The authenticator was previously registered",code:"ERROR_AUTHENTICATOR_PREVIOUSLY_REGISTERED",cause:t});if(t.name==="NotAllowedError")return new St({message:t.message,code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:t});if(t.name==="NotSupportedError")return o.pubKeyCredParams.filter(s=>s.type==="public-key").length===0?new St({message:'No entry in pubKeyCredParams was of type "public-key"',code:"ERROR_MALFORMED_PUBKEYCREDPARAMS",cause:t}):new St({message:"No available authenticator supported any of the specified pubKeyCredParams algorithms",code:"ERROR_AUTHENTICATOR_NO_SUPPORTED_PUBKEYCREDPARAMS_ALG",cause:t});if(t.name==="SecurityError"){const a=window.location.hostname;if(BT(a)){if(o.rp.id!==a)return new St({message:`The RP ID "${o.rp.id}
264" is invalid for this domain`,code:"ERROR_INVALID_RP_ID",cause:t})}else return new St({message:`${window.location.hostname} is an invalid domain`,code:"ERROR_INVALID_DOMAIN",cause:t})}else if(t.name==="TypeError"){if(o.user.id.byteLength<1||o.user.id.byteLength>64)return new St({message:"User ID was not between 1 and 64 characters",code:"ERROR_INVALID_USER_ID_LENGTH",cause:t})}else if(t.name==="UnknownError")return new St({message:"The authenticator was unable to process the specified options, or could not create a new credential",code:"ERROR_AUTHENTICATOR_GENERAL_ERROR",cause:t})}return new St({message:"a Non-Webauthn related error has occurred",code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:t})}function h8({error:t,options:e}){const{publicKey:r}=e;if(!r)throw Error("options was missing required publicKey property");if(t.name==="AbortError"){if(e.signal instanceof AbortSignal)return new St({message:"Authentication ceremony was sent an abort signal",code:"ERROR_CEREMONY_ABORTED",cause:t})}else{if(t.name==="NotAllowedError")return new St({message:t.message,code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:t});if(t.name==="SecurityError"){const n=window.location.hostname;if(BT(n)){if(r.rpId!==n)return new St({message:`The RP ID "${r.rpId}" is invalid for this domain`,code:"ERROR_INVALID_RP_ID",cause:t})}else return new St({message:`${window.location.hostname} is an invalid domain`,code:"ERROR_INVALID_DOMAIN",cause:t})}else if(t.name==="UnknownError")return new St({message:"The authenticator was unable to process the specified options, or could not create a new assertion signature",code:"ERROR_AUTHENTICATOR_GENERAL_ERROR",cause:t})}return new St({message:"a Non-Webauthn related error has occurred",code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:t})}class p8{createNewAbortSignal(){if(this.controller){const r=new Error("Cancelling existing WebAuthn API call for new one");r.name="AbortError",this.controller.abort(r)}const e=new AbortController;return this.controller=e,e.signal}cancelCeremony(){if(this.controller){const e=new Error("Manually cancelling existing WebAuthn API call");e.name="AbortError",this.controller.abort(e),this.controller=void 0}}}const v8=new p8;function m8(t){if(!t)throw new Error("Credential creation options are required");if(typeof PublicKeyCredential<"u"&&"parseCreationOptionsFromJSON"in PublicKeyCredential&&typeof PublicKeyCredential.parseCreationOptionsFromJSON=="function")return PublicKeyCredential.parseCreationOptionsFromJSON(t);const{challenge:e,user:r,excludeCredentials:n}=t,i=rp(t,["challenge","user","excludeCredentials"]),o=Ds(e).buffer,a=Object.assign(Object.assign({},r),{id:Ds(r.id).buffer}),s=Object.assign(Object.assign({},i),{challenge:o,user:a});if(n&&n.length>0){s.excludeCredentials=new Array(n.length);for(let u=0;u<n.length;u++){const l=n[u];s.excludeCredentials[u]=Object.assign(Object.assign({},l),{id:Ds(l.id).buffer,type:l.type||"public-key",transports:l.transports})}}return s}function g8(t){if(!t)throw new Error("Credential request options are required");if(typeof PublicKeyCredential<"u"&&"parseRequestOptionsFromJSON"in PublicKeyCredential&&typeof PublicKeyCredential.parseRequestOptionsFromJSON=="function")return PublicKeyCredential.parseRequestOptionsFromJSON(t);const{challenge:e,allowCredentials:r}=t,n=rp(t,["challenge","allowCredentials"]),i=Ds(e).buffer,o=Object.assign(Object.assign({},n),{challenge:i});if(r&&r.length>0){o.allowCredentials=new Array(r.length);for(let a=0;a<r.length;a++){const s=r[a];o.allowCredentials[a]=Object.assign(Object.assign({},s),{id:Ds(s.id).buffer,type:s.type||"public-key",transports:s.transports})}}return o}function y8(t){var e;if("toJSON"in t&&typeof t.toJSON=="function")return t.toJSON();const r=t;return{id:t.id,rawId:t.id,response:{attestationObject:oa(new Uint8Array(t.response.attestationObject)),clientDataJSON:oa(new Uint8Array(t.response.clientDataJSON))},type:"public-key",clientExtensionResults:t.getClientExtensionResults(),authenticatorAttachment:(e=r.authenticatorAttachment)!==null&&e!==void 0?e:void 0}}function w8(t){var e;if("toJSON"in t&&typeof t.toJSON=="function")return t.toJSON();const r=t,n=t.getClientExtensionResults(),i=t.response;return{id:t.id,rawId:t.id,response:{authenticatorData:oa(new Uint8Array(i.authenticatorData)),clientDataJSON:oa(new Uint8Array(i.clientDataJSON)),signature:oa(new Uint8Array(i.signature)),userHandle:i.userHandle?oa(new Uint8Array(i.userHandle)):void 0},type:"public-key",clientExtensionResults:n,authenticatorAttachment:(e=r.authenticatorAttachment)!==null&&e!==void 0?e:void 0}}function BT(t){return t==="localhost"||/^([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}$/i.test(t)}function kx(){var t,e;return!!(Lt()&&"PublicKeyCredential"in window&&window.PublicKeyCredential&&"credentials"in navigator&&typeof((t=navigator==null?void 0:navigator.credentials)===null||t===void 0?void 0:t.create)=="function"&&typeof((e=navigator==null?void 0:navigator.credentials)===null||e===void 0?void 0:e.get)=="function")}async function b8(t){try{const e=await navigator.credentials.create(t);return e?e instanceof PublicKeyCredential?{data:e,error:null}:{data:null,error:new Jf("Browser returned unexpected credential type",e)}:{data:null,error:new Jf("Empty credential response",e)}}catch(e){return{data:null,error:f8({error:e,options:t})}}}async function x8(t){try{const e=await navigator.credentials.get(t);return e?e instanceof PublicKeyCredential?{data:e,error:null}:{data:null,error:new Jf("Browser returned unexpected credential type",e)}:{data:null,error:new Jf("Empty credential response",e)}}catch(e){return{data:null,error:h8({error:e,options:t})}}}const S8={hints:["security-key"],authenticatorSelection:{authenticatorAttachment:"cross-platform",requireResidentKey:!1,userVerification:"preferred",residentKey:"discouraged"},attestation:"direct"},k8={userVerification:"preferred",hints:["security-key"],attestation:"direct"};function Qf(...t){const e=i=>i!==null&&typeof i=="object"&&!Array.isArray(i),r=i=>i instanceof ArrayBuffer||ArrayBuffer.isView(i),n={};for(const i of t)if(i)for(const o in i){const a=i[o];if(a!==void 0)if(Array.isArray(a))n[o]=a;
264else if(r(a))n[o]=a;else if(e(a)){const s=n[o];e(s)?n[o]=Qf(s,a):n[o]=Qf(a)}else n[o]=a}return n}function C8(t,e){return Qf(S8,t,e||{})}function E8(t,e){return Qf(k8,t,e||{})}class T8{constructor(e){this.client=e,this.enroll=this._enroll.bind(this),this.challenge=this._challenge.bind(this),this.verify=this._verify.bind(this),this.authenticate=this._authenticate.bind(this),this.register=this._register.bind(this)}async _enroll(e){return this.client.mfa.enroll(Object.assign(Object.assign({},e),{factorType:"webauthn"}))}async _challenge({factorId:e,webauthn:r,friendlyName:n,signal:i},o){var a;try{const{data:s,error:u}=await this.client.mfa.challenge({factorId:e,webauthn:r});if(!s)return{data:null,error:u};const l=i??v8.createNewAbortSignal();if(s.webauthn.type==="create"){const{user:c}=s.webauthn.credential_options.publicKey;if(!c.name){const d=n;if(d)c.name=`${c.id}:${d}`;else{const f=(await this.client.getUser()).data.user,m=((a=f==null?void 0:f.user_metadata)===null||a===void 0?void 0:a.name)||(f==null?void 0:f.email)||(f==null?void 0:f.id)||"User";c.name=`${c.id}:${m}`}}c.displayName||(c.displayName=c.name)}switch(s.webauthn.type){case"create":{const c=C8(s.webauthn.credential_options.publicKey,o==null?void 0:o.create),{data:d,error:h}=await b8({publicKey:c,signal:l});return d?{data:{factorId:e,challengeId:s.id,webauthn:{type:s.webauthn.type,credential_response:d}},error:null}:{data:null,error:h}}case"request":{const c=E8(s.webauthn.credential_options.publicKey,o==null?void 0:o.request),{data:d,error:h}=await x8(Object.assign(Object.assign({},s.webauthn.credential_options),{publicKey:c,signal:l}));return d?{data:{factorId:e,challengeId:s.id,webauthn:{type:s.webauthn.type,credential_response:d}},error:null}:{data:null,error:h}}}}catch(s){return ne(s)?{data:null,error:s}:{data:null,error:new Jo("Unexpected error in challenge",s)}}}async _verify({challengeId:e,factorId:r,webauthn:n}){return this.client.mfa.verify({factorId:r,challengeId:e,webauthn:n})}async _authenticate({factorId:e,webauthn:{rpId:r=typeof window<"u"?window.location.hostname:void 0,rpOrigins:n=typeof window<"u"?[window.location.origin]:void 0,signal:i}={}},o){if(!r)return{data:null,error:new uc("rpId is required for WebAuthn authentication")};try{if(!kx())return{data:null,error:new Jo("Browser does not support WebAuthn",null)};const{data:a,error:s}=await this.challenge({factorId:e,webauthn:{rpId:r,rpOrigins:n},signal:i},{request:o});if(!a)return{data:null,error:s};const{webauthn:u}=a;return this._verify({factorId:e,challengeId:a.challengeId,webauthn:{type:u.type,rpId:r,rpOrigins:n,credential_response:u.credential_response}})}catch(a){return ne(a)?{data:null,error:a}:{data:null,error:new Jo("Unexpected error in authenticate",a)}}}async _register({friendlyName:e,webauthn:{rpId:r=typeof window<"u"?window.location.hostname:void 0,rpOrigins:n=typeof window<"u"?[window.location.origin]:void 0,signal:i}={}},o){if(!r)return{data:null,error:new uc("rpId is required for WebAuthn registration")};try{if(!kx())return{data:null,error:new Jo("Browser does not support WebAuthn",null)};const{data:a,error:s}=await this._enroll({friendlyName:e});if(!a)return await this.client.mfa.listFactors().then(c=>{var d;return(d=c.data)===null||d===void 0?void 0:d.all.find(h=>h.factor_type==="webauthn"&&h.friendly_name===e&&h.status!=="unverified")}).then(c=>c?this.client.mfa.unenroll({factorId:c==null?void 0:c.id}):void 0),{data:null,error:s};const{data:u,error:l}=await this._challenge({factorId:a.id,friendlyName:a.friendly_name,webauthn:{rpId:r,rpOrigins:n},signal:i},{create:o});return u?this._verify({factorId:a.id,challengeId:u.challengeId,webauthn:{rpId:r,rpOrigins:n,type:u.webauthn.type,credential_response:u.webauthn.credential_response}}):{data:null,error:l}}catch(a){return ne(a)?{data:null,error:a}:{data:null,error:new Jo("Unexpected error in register",a)}}}}l8();const P8={url:k5,storageKey:C5,autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,headers:E5,flowType:"implicit",debug:!1,hasCustomAuthorizationHeader:!1,throwOnError:!1,lockAcquireTimeout:1e4};async function Cx(t,e,r){return await r()}const Qa={};class cc{get jwks(){var e,r;return(r=(e=Qa[this.storageKey])===null||e===void 0?void 0:e.jwks)!==null&&r!==void 0?r:{keys:[]}}set jwks(e){Qa[this.storageKey]=Object.assign(Object.assign({},Qa[this.storageKey]),{jwks:e})}get jwks_cached_at(){var e,r;return(r=(e=Qa[this.storageKey])===null||e===void 0?void 0:e.cachedAt)!==null&&r!==void 0?r:Number.MIN_SAFE_INTEGER}set jwks_cached_at(e){Qa[this.storageKey]=Object.assign(Object.assign({},Qa[this.storageKey]),{cachedAt:e})}constructor(e){var r,n,i;this.userStorage=null,this.memoryStorage=null,this.stateChangeEmitters=new Map,this.autoRefreshTicker=null,this.autoRefreshTickTimeout=null,this.visibilityChangedCallback=null,this.refreshingDeferred=null,this.initializePromise=null,this.detectSessionInUrl=!0,this.hasCustomAuthorizationHeader=!1,this.suppressGetSessionWarning=!1,this.lockAcquired=!1,this.pendingInLock=[],this.broadcastChannel=null,this.logger=console.log;const o=Object.assign(Object.assign({},P8),e);if(this.storageKey=o.storageKey,this.instanceID=(r=cc.nextInstanceID[this.storageKey])!==null&&r!==void 0?r:0,cc.nextInstanceID[this.storageKey]=this.instanceID+1,this.logDebugMessages=!!o.debug,typeof o.debug=="function"&&(this.logger=o.debug),this.instanceID>0&&Lt()){const a=`${this._logPrefix()} Multiple GoTrueClient instances detected in the same browser context. It is not an error, but this should be avoided as it may produce undefined behavior when used concurrently under the same storage key.`;console.warn(a),this.logDebugMessages&&console.trace(a)}if(this.persistSession=o.persistSession,this.autoRefreshToken=o.autoRefreshToken,this.admin=new o8({url:o.url,headers:o.headers,fetch:o.fetch}),this.url=o.url,this.headers=o.headers,this.fetch=DT(o.fetch),this.lock=o.lock||Cx,this.detectSessionInUrl=o.detectSessionInUrl,this.flowType=o.flowType,this.hasCustomAuthorizationHeader=o.hasCustomAuthorizationHeader,this.throwOnError=o.throwOnError,this.lockAcquireTimeout=o.lockAcquireTimeout,o.lock?this.lock=o.lock:this.persistSession&&Lt()&&(!((n=globalThis==null?void 0:globalThis.navigator)===null||n===void 0)&&n.locks)?this.lock=s8:this.lock=Cx,this.jwks||(this.jwks={keys:[]},this.jwks_cached_at=Number.MIN_SAFE_INTEGER),this.mfa={verify:this._verify.bind(this),enroll:this._enroll.bind(this),unenroll:this._unenroll.bind(this),challenge:this._challenge.bind(this),listFactors:this._listFactors.bind(this),challengeAndVerify:this._challengeAndVerify.bind(this),getAuthenticatorAssuranceLevel:this._getAuthenticatorAssuranceLevel.bind(this),webauthn:new T8(this)}
264,this.oauth={getAuthorizationDetails:this._getAuthorizationDetails.bind(this),approveAuthorization:this._approveAuthorization.bind(this),denyAuthorization:this._denyAuthorization.bind(this),listGrants:this._listOAuthGrants.bind(this),revokeGrant:this._revokeOAuthGrant.bind(this)},this.persistSession?(o.storage?this.storage=o.storage:IT()?this.storage=globalThis.localStorage:(this.memoryStorage={},this.storage=Sx(this.memoryStorage)),o.userStorage&&(this.userStorage=o.userStorage)):(this.memoryStorage={},this.storage=Sx(this.memoryStorage)),Lt()&&globalThis.BroadcastChannel&&this.persistSession&&this.storageKey){try{this.broadcastChannel=new globalThis.BroadcastChannel(this.storageKey)}catch(a){console.error("Failed to create a new BroadcastChannel, multi-tab state changes will not be available",a)}(i=this.broadcastChannel)===null||i===void 0||i.addEventListener("message",async a=>{this._debug("received broadcast notification from other tab or client",a);try{await this._notifyAllSubscribers(a.data.event,a.data.session,!1)}catch(s){this._debug("#broadcastChannel","error",s)}})}this.initialize().catch(a=>{this._debug("#initialize()","error",a)})}isThrowOnErrorEnabled(){return this.throwOnError}_returnResult(e){if(this.throwOnError&&e&&e.error)throw e.error;return e}_logPrefix(){return`GoTrueClient@${this.storageKey}:${this.instanceID} (${NT}) ${new Date().toISOString()}`}_debug(...e){return this.logDebugMessages&&this.logger(this._logPrefix(),...e),this}async initialize(){return this.initializePromise?await this.initializePromise:(this.initializePromise=(async()=>await this._acquireLock(this.lockAcquireTimeout,async()=>await this._initialize()))(),await this.initializePromise)}async _initialize(){var e;try{let r={},n="none";if(Lt()&&(r=B5(window.location.href),this._isImplicitGrantCallback(r)?n="implicit":await this._isPKCECallback(r)&&(n="pkce")),Lt()&&this.detectSessionInUrl&&n!=="none"){const{data:i,error:o}=await this._getSessionFromURL(r,n);if(o){if(this._debug("#_initialize()","error detecting session from URL",o),O5(o)){const u=(e=o.details)===null||e===void 0?void 0:e.code;if(u==="identity_already_exists"||u==="identity_not_found"||u==="single_identity_not_deletable")return{error:o}}return{error:o}}const{session:a,redirectType:s}=i;return this._debug("#_initialize()","detected session in URL",a,"redirect type",s),await this._saveSession(a),setTimeout(async()=>{s==="recovery"?await this._notifyAllSubscribers("PASSWORD_RECOVERY",a):await this._notifyAllSubscribers("SIGNED_IN",a)},0),{error:null}}return await this._recoverAndRefresh(),{error:null}}catch(r){return ne(r)?this._returnResult({error:r}):this._returnResult({error:new Jo("Unexpected error during initialization",r)})}finally{await this._handleVisibilityChange(),this._debug("#_initialize()","end")}}async signInAnonymously(e){var r,n,i;try{const o=await se(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,body:{data:(n=(r=e==null?void 0:e.options)===null||r===void 0?void 0:r.data)!==null&&n!==void 0?n:{},gotrue_meta_security:{captcha_token:(i=e==null?void 0:e.options)===null||i===void 0?void 0:i.captchaToken}},xform:cn}),{data:a,error:s}=o;if(s||!a)return this._returnResult({data:{user:null,session:null},error:s});const u=a.session,l=a.user;return a.session&&(await this._saveSession(a.session),await this._notifyAllSubscribers("SIGNED_IN",u)),this._returnResult({data:{user:l,session:u},error:null})}catch(o){if(ne(o))return this._returnResult({data:{user:null,session:null},error:o});throw o}}async signUp(e){var r,n,i;try{let o;if("email"in e){const{email:c,password:d,options:h}=e;let f=null,m=null;this.flowType==="pkce"&&([f,m]=await Za(this.storage,this.storageKey)),o=await se(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,redirectTo:h==null?void 0:h.emailRedirectTo,body:{email:c,password:d,data:(r=h==null?void 0:h.data)!==null&&r!==void 0?r:{},gotrue_meta_security:{captcha_token:h==null?void 0:h.captchaToken},code_challenge:f,code_challenge_method:m},xform:cn})}else if("phone"in e){const{phone:c,password:d,options:h}=e;o=await se(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,body:{phone:c,password:d,data:(n=h==null?void 0:h.data)!==null&&n!==void 0?n:{},channel:(i=h==null?void 0:h.channel)!==null&&i!==void 0?i:"sms",gotrue_meta_security:{captcha_token:h==null?void 0:h.captchaToken}},xform:cn})}else throw new bd("You must provide either an email or phone number and a password");const{data:a,error:s}=o;if(s||!a)return await Mt(this.storage,`${this.storageKey}-code-verifier`),this._returnResult({data:{user:null,session:null},error:s});const u=a.session,l=a.user;return a.session&&(await this._saveSession(a.session),await this._notifyAllSubscribers("SIGNED_IN",u)),this._returnResult({data:{user:l,session:u},error:null})}catch(o){if(await Mt(this.storage,`${this.storageKey}-code-verifier`),ne(o))return this._returnResult({data:{user:null,session:null},error:o});throw o}}async signInWithPassword(e){try{let r;if("email"in e){const{email:o,password:a,options:s}=e;r=await se(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{email:o,password:a,gotrue_meta_security:{captcha_token:s==null?void 0:s.captchaToken}},xform:bx})}else if("phone"in e){const{phone:o,password:a,options:s}=e;r=await se(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{phone:o,password:a,gotrue_meta_security:{captcha_token:s==null?void 0:s.captchaToken}},xform:bx})}else throw new bd("You must provide either an email or phone number and a password");const{data:n,error:i}=r;if(i)return this._returnResult({data:{user:null,session:null},error:i});if(!n||!n.session||!n.user){const o=new Xa;return this._returnResult({data:{user:null,session:null},error:o})}return n.session&&(await this._saveSession(n.session),await this._notifyAllSubscribers("SIGNED_IN",n.session)),this._returnResult({data:Object.assign({user:n.user,session:n.session},n.weak_password?{weakPassword:n.weak_password}:null),error:i})}catch(r){if(ne(r))return this._returnResult({data:{user:null,session:null},error:r});throw r}}async signInWithOAuth(e){var r,n,i,o;return await this._handleProviderSignIn(e.provider,{redirectTo:(r=e.options)===null||r===void 0?void 0:r.redirectTo,scopes:(n=e.options)===null||n===void 0?void 0:n.scopes,queryParams:(i=e.options)===null||i===void 0?void 0:i.queryParams,skipBrowserRedirect:(o=e.options)===null||o===void 0?void 0:o.skipBrowserRedirect})}async exchangeCodeForSession(e){return await this.initializePromise,this._acquireLock(this.lockAcquireTimeout,async()=>this._exchangeCodeForSession(e))}async signInWithWeb3(e){const{chain:r}=e;switch(r){case"ethereum":return await this.signInWithEthereum(e);case"solana":return await this.signInWithSolana(e);default:throw new Error(`@supabase/auth-js: Unsupported chain "${r}"`)}}async signInWithEthereum(e){var r,n,i,o,a,s,u,l,c,d,h;let f,m;if("message"in e)f=e.message,m=e.signature;else{const{chain:p,wallet:g,statement:v,options:y}=e;let w;if(Lt())if(typeof g=="object")w=g;else{const A=window;if("ethereum"in A&&typeof A.ethereum=="object"&&"request"in A.ethereum&&typeof A.ethereum.request=="function")w=A.ethereum;else throw new Error("@supabase/auth-js: No compatible Ethereum wallet interface on the window object (window.ethereum) detected. Make sure the user already has a wallet installed and connected for this app. Prefer passing the wallet interface object directly to signInWithWeb3({ chain: 'ethereum', wallet: resolvedUserWallet }) instead.")}else{if(typeof g!="object"||!(y!=null&&y.url))throw new Error("@supabase/auth-js: Both wallet and url must be specified in non-browser environments.");w=g}const S=new URL((r=y==null?void 0:y.url)!==null&&r!==void 0?r:window.location.href),k=await w.request({method:"eth_requestAccounts"}).then(A=>A).catch(()=>{throw new Error("@supabase/auth-js: Wallet method eth_requestAccounts is missing or invalid")});if(!k||k.length===0)throw new Error("@supabase/auth-js: No accounts available. Please ensure the wallet is connected.");const C=LT(k[0]);let E=(n=y==null?void 0:y.signInWithEthereum)===null||n===void 0?void 0:n.chainId;if(!E){const A=await w.request({method:"eth_chainId"});E=u8(A)}const R={domain:S.host,address:C,statement:v,uri:S.href,version:"1",chainId:E,nonce:(i=y==null?void 0:y.signInWithEthereum)===null||i===void 0?void 0:i.nonce,issuedAt:(a=(o=y==null?void 0:y.signInWithEthereum)===null||o===void 0?void 0:o.issuedAt)!==null&&a!==void 0?a:new Date,expirationTime:(s=y==null?void 0:y.signInWithEthereum)===null||s===void 0?void 0:s.expirationTime,notBefore:(u=y==null?void 0:y.signInWithEthereum)===null||u===void 0?void 0:u.notBefore,requestId:(l=y==null?void 0:y.signInWithEthereum)===null||l===void 0?void 0:l.requestId,resources:(c=y==null?void 0:y.signInWithEthereum)===null||c===void 0?void 0:c.resources};f=d8(R),m=await w.request({method:"personal_sign",params:[c8(f),C]})}try{const{data:p,error:g}=await se(this.fetch,"POST",`${this.url}/token?grant_type=web3`,{headers:this.headers,body:Object.assign({chain:"ethereum",message:f,signature:m},!((d=e.options)===null||d===void 0)&&d.captchaToken?{gotrue_meta_security:{captcha_token:(h=e.options)===null||h===void 0?void 0:h.captchaToken}}:null),xform:cn});if(g)throw g;if(!p||!p.session||!p.user){const v=new Xa;return this._returnResult({data:{user:null,session:null},error:v})}return p.session&&(await this._saveSession(p.session),await this._notifyAllSubscribers("SIGNED_IN",p.session)),this._returnResult({data:Object.assign({},p),error:g})}catch(p){if(ne(p))return this._returnResult({data:{user:null,session:null},error:p});throw p}}async signInWithSolana(e){var r,n,i,o,a,s,u,l,c,d,h,f;let m,p;if("message"in e)m=e.message,p=e.signature;else{const{chain:g,wallet:v,statement:y,options:w}=e;let S;if(Lt())if(typeof v=="object")S=v;else{const C=window;if("solana"in C&&typeof C.solana=="object"&&("signIn"in C.solana&&typeof C.solana.signIn=="function"||"signMessage"in C.solana&&typeof C.solana.signMessage=="function"))S=C.solana;else throw new Error("@supabase/auth-js: No compatible Solana wallet interface on the window object (window.solana) detected. Make sure the user already has a wallet installed and connected for this app. Prefer passing the wallet interface object directly to signInWithWeb3({ chain: 'solana', wallet: resolvedUserWallet }) instead.")}else{if(typeof v!="object"||!(w!=null&&w.url))throw new Error("@supabase/auth-js: Both wallet and url must be specified in non-browser environments.");S=v}const k=new URL((r=w==null?void 0:w.url)!==null&&r!==void 0?r:window.location.href);if("signIn"in S&&S.signIn){const C=await S.signIn(Object.assign(Object.assign(Object.assign({issuedAt:new Date().toISOString()},w==null?void 0:w.signInWithSolana),{version:"1",domain:k.host,uri:k.href}),y?{statement:y}:null));let E;if(Array.isArray(C)&&C[0]&&typeof C[0]=="object")E=C[0];else if(C&&typeof C=="object"&&"signedMessage"in C&&"signature"in C)E=C;else throw new Error("@supabase/auth-js: Wallet method signIn() returned unrecognized value");if("signedMessage"in E&&"signature"in E&&(typeof E.signedMessage=="string"||E.signedMessage instanceof Uint8Array)&&E.signature instanceof Uint8Array)m=typeof E.signedMessage=="string"?E.signedMessage:new TextDecoder().decode(E.signedMessage),p=E.signature;else throw new Error("@supabase/auth-js: Wallet method signIn() API returned object without signedMessage and signature fields")}else{if(!("signMessage"in S)||typeof S.signMessage!="function"||!("publicKey"in S)||typeof S!="object"||!S.publicKey||!("toBase58"in S.publicKey)||typeof S.publicKey.toBase58!="function")throw new Error("@supabase/auth-js: Wallet does not have a compatible signMessage() and publicKey.toBase58() API");m=[`${k.host} wants you to sign in with your Solana account:`,S.publicKey.toBase58(),...y?["",y,""]:[""],"Version: 1",`URI: ${k.href}`,`Issued At: ${(i=(n=w==null?void 0:w.signInWithSolana)===null||n===void 0?void 0:n.issuedAt)!==null&&i!==void 0?i:new Date().toISOString()}`,...!((o=w==null?void 0:w.signInWithSolana)===null||o===void 0)&&o.notBefore?[`Not Before: ${w.signInWithSolana.notBefore}`]:[],...!((a=w==null?void 0:w.signInWithSolana)===null||a===void 0)&&a.expirationTime?[`Expiration Time: ${w.signInWithSolana.expirationTime}`]:[],...!((s=w==null?void 0:w.signInWithSolana)===null||s===void 0)&&s.chainId?[`Chain ID: ${w.signInWithSolana.chainId}`]:[],...!((u=w==null?void 0:w.signInWithSolana)===null||u===void 0)&&u.nonce?[`Nonce: ${w.signInWithSolana.nonce}`]:[],...!((l=w==null?void 0:w.signInWithSolana)===null||l===void 0)&&l.requestId?[`Request ID: ${w.signInWithSolana.requestId}`]:[],...!((d=(c=w==null?void 0:w.signInWithSolana)===null||c===void 0?void 0:c.resources)===null||d===void 0)&&d.length?["Resources",...w.sign
264InWithSolana.resources.map(E=>`- ${E}`)]:[]].join(`
265`);const C=await S.signMessage(new TextEncoder().encode(m),"utf8");if(!C||!(C instanceof Uint8Array))throw new Error("@supabase/auth-js: Wallet signMessage() API returned an recognized value");p=C}}try{const{data:g,error:v}=await se(this.fetch,"POST",`${this.url}/token?grant_type=web3`,{headers:this.headers,body:Object.assign({chain:"solana",message:m,signature:oa(p)},!((h=e.options)===null||h===void 0)&&h.captchaToken?{gotrue_meta_security:{captcha_token:(f=e.options)===null||f===void 0?void 0:f.captchaToken}}:null),xform:cn});if(v)throw v;if(!g||!g.session||!g.user){const y=new Xa;return this._returnResult({data:{user:null,session:null},error:y})}return g.session&&(await this._saveSession(g.session),await this._notifyAllSubscribers("SIGNED_IN",g.session)),this._returnResult({data:Object.assign({},g),error:v})}catch(g){if(ne(g))return this._returnResult({data:{user:null,session:null},error:g});throw g}}async _exchangeCodeForSession(e){const r=await Ho(this.storage,`${this.storageKey}-code-verifier`),[n,i]=(r??"").split("/");try{if(!n&&this.flowType==="pkce")throw new _5;const{data:o,error:a}=await se(this.fetch,"POST",`${this.url}/token?grant_type=pkce`,{headers:this.headers,body:{auth_code:e,code_verifier:n},xform:cn});if(await Mt(this.storage,`${this.storageKey}-code-verifier`),a)throw a;if(!o||!o.session||!o.user){const s=new Xa;return this._returnResult({data:{user:null,session:null,redirectType:null},error:s})}return o.session&&(await this._saveSession(o.session),await this._notifyAllSubscribers("SIGNED_IN",o.session)),this._returnResult({data:Object.assign(Object.assign({},o),{redirectType:i??null}),error:a})}catch(o){if(await Mt(this.storage,`${this.storageKey}-code-verifier`),ne(o))return this._returnResult({data:{user:null,session:null,redirectType:null},error:o});throw o}}async signInWithIdToken(e){try{const{options:r,provider:n,token:i,access_token:o,nonce:a}=e,s=await se(this.fetch,"POST",`${this.url}/token?grant_type=id_token`,{headers:this.headers,body:{provider:n,id_token:i,access_token:o,nonce:a,gotrue_meta_security:{captcha_token:r==null?void 0:r.captchaToken}},xform:cn}),{data:u,error:l}=s;if(l)return this._returnResult({data:{user:null,session:null},error:l});if(!u||!u.session||!u.user){const c=new Xa;return this._returnResult({data:{user:null,session:null},error:c})}return u.session&&(await this._saveSession(u.session),await this._notifyAllSubscribers("SIGNED_IN",u.session)),this._returnResult({data:u,error:l})}catch(r){if(ne(r))return this._returnResult({data:{user:null,session:null},error:r});throw r}}async signInWithOtp(e){var r,n,i,o,a;try{if("email"in e){const{email:s,options:u}=e;let l=null,c=null;this.flowType==="pkce"&&([l,c]=await Za(this.storage,this.storageKey));const{error:d}=await se(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{email:s,data:(r=u==null?void 0:u.data)!==null&&r!==void 0?r:{},create_user:(n=u==null?void 0:u.shouldCreateUser)!==null&&n!==void 0?n:!0,gotrue_meta_security:{captcha_token:u==null?void 0:u.captchaToken},code_challenge:l,code_challenge_method:c},redirectTo:u==null?void 0:u.emailRedirectTo});return this._returnResult({data:{user:null,session:null},error:d})}if("phone"in e){const{phone:s,options:u}=e,{data:l,error:c}=await se(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{phone:s,data:(i=u==null?void 0:u.data)!==null&&i!==void 0?i:{},create_user:(o=u==null?void 0:u.shouldCreateUser)!==null&&o!==void 0?o:!0,gotrue_meta_security:{captcha_token:u==null?void 0:u.captchaToken},channel:(a=u==null?void 0:u.channel)!==null&&a!==void 0?a:"sms"}});return this._returnResult({data:{user:null,session:null,messageId:l==null?void 0:l.message_id},error:c})}throw new bd("You must provide either an email or phone number.")}catch(s){if(await Mt(this.storage,`${this.storageKey}-code-verifier`),ne(s))return this._returnResult({data:{user:null,session:null},error:s});throw s}}async verifyOtp(e){var r,n;try{let i,o;"options"in e&&(i=(r=e.options)===null||r===void 0?void 0:r.redirectTo,o=(n=e.options)===null||n===void 0?void 0:n.captchaToken);const{data:a,error:s}=await se(this.fetch,"POST",`${this.url}/verify`,{headers:this.headers,body:Object.assign(Object.assign({},e),{gotrue_meta_security:{captcha_token:o}}),redirectTo:i,xform:cn});if(s)throw s;if(!a)throw new Error("An error occurred on token verification.");const u=a.session,l=a.user;return u!=null&&u.access_token&&(await this._saveSession(u),await this._notifyAllSubscribers(e.type=="recovery"?"PASSWORD_RECOVERY":"SIGNED_IN",u)),this._returnResult({data:{user:l,session:u},error:null})}catch(i){if(ne(i))return this._returnResult({data:{user:null,session:null},error:i});throw i}}async signInWithSSO(e){var r,n,i,o,a;try{let s=null,u=null;this.flowType==="pkce"&&([s,u]=await Za(this.storage,this.storageKey));const l=await se(this.fetch,"POST",`${this.url}/sso`,{body:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},"providerId"in e?{provider_id:e.providerId}:null),"domain"in e?{domain:e.domain}:null),{redirect_to:(n=(r=e.options)===null||r===void 0?void 0:r.redirectTo)!==null&&n!==void 0?n:void 0}),!((i=e==null?void 0:e.options)===null||i===void 0)&&i.captchaToken?{gotrue_meta_security:{captcha_token:e.options.captchaToken}}:null),{skip_http_redirect:!0,code_challenge:s,code_challenge_method:u}),headers:this.headers,xform:r8});return!((o=l.data)===null||o===void 0)&&o.url&&Lt()&&!(!((a=e.options)===null||a===void 0)&&a.skipBrowserRedirect)&&window.location.assign(l.data.url),this._returnResult(l)}catch(s){if(await Mt(this.storage,`${this.storageKey}-code-verifier`),ne(s))return this._returnResult({data:null,error:s});throw s}}async reauthenticate(){return await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>await this._reauthenticate())}async _reauthenticate(){try{return await this._useSession(async e=>{const{data:{session:r},error:n}=e;if(n)throw n;if(!r)throw new xr;
265const{error:i}=await se(this.fetch,"GET",`${this.url}/reauthenticate`,{headers:this.headers,jwt:r.access_token});return this._returnResult({data:{user:null,session:null},error:i})})}catch(e){if(ne(e))return this._returnResult({data:{user:null,session:null},error:e});throw e}}async resend(e){try{const r=`${this.url}/resend`;if("email"in e){const{email:n,type:i,options:o}=e,{error:a}=await se(this.fetch,"POST",r,{headers:this.headers,body:{email:n,type:i,gotrue_meta_security:{captcha_token:o==null?void 0:o.captchaToken}},redirectTo:o==null?void 0:o.emailRedirectTo});return this._returnResult({data:{user:null,session:null},error:a})}else if("phone"in e){const{phone:n,type:i,options:o}=e,{data:a,error:s}=await se(this.fetch,"POST",r,{headers:this.headers,body:{phone:n,type:i,gotrue_meta_security:{captcha_token:o==null?void 0:o.captchaToken}}});return this._returnResult({data:{user:null,session:null,messageId:a==null?void 0:a.message_id},error:s})}throw new bd("You must provide either an email or phone number and a type")}catch(r){if(ne(r))return this._returnResult({data:{user:null,session:null},error:r});throw r}}async getSession(){return await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>this._useSession(async r=>r))}async _acquireLock(e,r){this._debug("#_acquireLock","begin",e);try{if(this.lockAcquired){const n=this.pendingInLock.length?this.pendingInLock[this.pendingInLock.length-1]:Promise.resolve(),i=(async()=>(await n,await r()))();return this.pendingInLock.push((async()=>{try{await i}catch{}})()),i}return await this.lock(`lock:${this.storageKey}`,e,async()=>{this._debug("#_acquireLock","lock acquired for storage key",this.storageKey);try{this.lockAcquired=!0;const n=r();for(this.pendingInLock.push((async()=>{try{await n}catch{}})()),await n;this.pendingInLock.length;){const i=[...this.pendingInLock];await Promise.all(i),this.pendingInLock.splice(0,i.length)}return await n}finally{this._debug("#_acquireLock","lock released for storage key",this.storageKey),this.lockAcquired=!1}})}finally{this._debug("#_acquireLock","end")}}async _useSession(e){this._debug("#_useSession","begin");try{const r=await this.__loadSession();return await e(r)}finally{this._debug("#_useSession","end")}}async __loadSession(){this._debug("#__loadSession()","begin"),this.lockAcquired||this._debug("#__loadSession()","used outside of an acquired lock!",new Error().stack);try{let e=null;const r=await Ho(this.storage,this.storageKey);if(this._debug("#getSession()","session from storage",r),r!==null&&(this._isValidSession(r)?e=r:(this._debug("#getSession()","session from storage is not valid"),await this._removeSession())),!e)return{data:{session:null},error:null};const n=e.expires_at?e.expires_at*1e3-Date.now()<vv:!1;if(this._debug("#__loadSession()",`session has${n?"":" not"} expired`,"expires_at",e.expires_at),!n){if(this.userStorage){const a=await Ho(this.userStorage,this.storageKey+"-user");a!=null&&a.user?e.user=a.user:e.user=yv()}if(this.storage.isServer&&e.user&&!e.user.__isUserNotAvailableProxy){const a={value:this.suppressGetSessionWarning};e.user=Q5(e.user,a),a.value&&(this.suppressGetSessionWarning=!0)}return{data:{session:e},error:null}}const{data:i,error:o}=await this._callRefreshToken(e.refresh_token);return o?this._returnResult({data:{session:null},error:o}):this._returnResult({data:{session:i},error:null})}finally{this._debug("#__loadSession()","end")}}async getUser(e){if(e)return await this._getUser(e);await this.initializePromise;const r=await this._acquireLock(this.lockAcquireTimeout,async()=>await this._getUser());return r.data.user&&(this.suppressGetSessionWarning=!0),r}async _getUser(e){try{return e?await se(this.fetch,"GET",`${this.url}/user`,{headers:this.headers,jwt:e,xform:Ki}):await this._useSession(async r=>{var n,i,o;const{data:a,error:s}=r;if(s)throw s;return!(!((n=a.session)===null||n===void 0)&&n.access_token)&&!this.hasCustomAuthorizationHeader?{data:{user:null},error:new xr}:await se(this.fetch,"GET",`${this.url}/user`,{headers:this.headers,jwt:(o=(i=a.session)===null||i===void 0?void 0:i.access_token)!==null&&o!==void 0?o:void 0,xform:Ki})})}catch(r){if(ne(r))return mv(r)&&(await this._removeSession(),await Mt(this.storage,`${this.storageKey}-code-verifier`)),this._returnResult({data:{user:null},error:r});throw r}}async updateUser(e,r={}){return await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>await this._updateUser(e,r))}async _updateUser(e,r={}){try{return await this._useSession(async n=>{const{data:i,error:o}=n;
265if(o)throw o;if(!i.session)throw new xr;const a=i.session;let s=null,u=null;this.flowType==="pkce"&&e.email!=null&&([s,u]=await Za(this.storage,this.storageKey));const{data:l,error:c}=await se(this.fetch,"PUT",`${this.url}/user`,{headers:this.headers,redirectTo:r==null?void 0:r.emailRedirectTo,body:Object.assign(Object.assign({},e),{code_challenge:s,code_challenge_method:u}),jwt:a.access_token,xform:Ki});if(c)throw c;return a.user=l.user,await this._saveSession(a),await this._notifyAllSubscribers("USER_UPDATED",a),this._returnResult({data:{user:a.user},error:null})})}catch(n){if(await Mt(this.storage,`${this.storageKey}-code-verifier`),ne(n))return this._returnResult({data:{user:null},error:n});throw n}}async setSession(e){return await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>await this._setSession(e))}async _setSession(e){try{if(!e.access_token||!e.refresh_token)throw new xr;const r=Date.now()/1e3;let n=r,i=!0,o=null;const{payload:a}=Sd(e.access_token);if(a.exp&&(n=a.exp,i=n<=r),i){const{data:s,error:u}=await this._callRefreshToken(e.refresh_token);if(u)return this._returnResult({data:{user:null,session:null},error:u});if(!s)return{data:{user:null,session:null},error:null};o=s}else{const{data:s,error:u}=await this._getUser(e.access_token);if(u)return this._returnResult({data:{user:null,session:null},error:u});o={access_token:e.access_token,refresh_token:e.refresh_token,user:s.user,token_type:"bearer",expires_in:n-r,expires_at:n},await this._saveSession(o),await this._notifyAllSubscribers("SIGNED_IN",o)}return this._returnResult({data:{user:o.user,session:o},error:null})}catch(r){if(ne(r))return this._returnResult({data:{session:null,user:null},error:r});throw r}}async refreshSession(e){return await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>await this._refreshSession(e))}async _refreshSession(e){try{return await this._useSession(async r=>{var n;if(!e){const{data:a,error:s}=r;if(s)throw s;e=(n=a.session)!==null&&n!==void 0?n:void 0}if(!(e!=null&&e.refresh_token))throw new xr;const{data:i,error:o}=await this._callRefreshToken(e.refresh_token);return o?this._returnResult({data:{user:null,session:null},error:o}):i?this._returnResult({data:{user:i.user,session:i},error:null}):this._returnResult({data:{user:null,session:null},error:null})})}catch(r){if(ne(r))return this._returnResult({data:{user:null,session:null},error:r});throw r}}async _getSessionFromURL(e,r){try{if(!Lt())throw new xd("No browser detected.");if(e.error||e.error_description||e.error_code)throw new xd(e.error_description||"Error in URL with unspecified error_description",{error:e.error||"unspecified_error",code:e.error_code||"unspecified_code"});switch(r){case"implicit":if(this.flowType==="pkce")throw new hx("Not a valid PKCE flow url.");break;case"pkce":if(this.flowType==="implicit")throw new xd("Not a valid implicit grant flow url.");break;default:}if(r==="pkce"){if(this._debug("#_initialize()","begin","is PKCE flow",!0),!e.code)throw new hx("No code detected.");const{data:y,error:w}=await this._exchangeCodeForSession(e.code);if(w)throw w;const S=new URL(window.location.href);return S.searchParams.delete("code"),window.history.replaceState(window.history.state,"",S.toString()),{data:{session:y.session,redirectType:null},error:null}}const{provider_token:n,provider_refresh_token:i,access_token:o,refresh_token:a,expires_in:s,expires_at:u,token_type:l}=e;if(!o||!s||!a||!l)throw new xd("No session defined in URL");const c=Math.round(Date.now()/1e3),d=parseInt(s);let h=c+d;u&&(h=parseInt(u));const f=h-c;f*1e3<=us&&console.warn(`@supabase/gotrue-js: Session as retrieved from URL expires in ${f}s, should have been closer to ${d}s`);const m=h-d;c-m>=120?console.warn("@supabase/gotrue-js: Session as retrieved from URL was issued over 120s ago, URL could be stale",m,h,c):c-m<0&&console.warn("@supabase/gotrue-js: Session as retrieved from URL was issued in the future? Check the device clock for skew",m,h,c);const{data:p,error:g}=await this._getUser(o);if(g)throw g;const v={provider_token:n,provider_refresh_token:i,access_token:o,expires_in:d,expires_at:h,refresh_token:a,token_type:l,user:p.user};return window.location.hash="",this._debug("#_getSessionFromURL()","clearing window.location.hash"),this._returnResult({data:{session:v,redirectType:e.type},error:null})}catch(n){if(ne(n))return this._returnResult({data:{session:null,redirectType:null},error:n});throw n}}_isImplicitGrantCallback(e){return typeof this.detectSessionInUrl=="function"?this.detectSessionInUrl(new URL(window.location.href),e):!!(e.access_token||e.error_description)}async _isPKCECallback(e){const r=await Ho(this.storage,`${this.storageKey}-code-verifier`);return!!(e.code&&r)}async signOut(e={scope:"global"}){return await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>await this._signOut(e))}async _signOut({scope:e}={scope:"global"}){return await this._useSession(async r=>{var n;const{data:i,error:o}=r;if(o&&!mv(o))return this._returnResult({error:o});const a=(n=i.session)===null||n===void 0?void 0:n.access_token;if(a){const{error:s}=await this.admin.signOut(a,e);
265if(s&&!(A5(s)&&(s.status===404||s.status===401||s.status===403)||mv(s)))return this._returnResult({error:s})}return e!=="others"&&(await this._removeSession(),await Mt(this.storage,`${this.storageKey}-code-verifier`)),this._returnResult({error:null})})}onAuthStateChange(e){const r=L5(),n={id:r,callback:e,unsubscribe:()=>{this._debug("#unsubscribe()","state change callback with id removed",r),this.stateChangeEmitters.delete(r)}};return this._debug("#onAuthStateChange()","registered callback with id",r),this.stateChangeEmitters.set(r,n),(async()=>(await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>{this._emitInitialSession(r)})))(),{data:{subscription:n}}}async _emitInitialSession(e){return await this._useSession(async r=>{var n,i;try{const{data:{session:o},error:a}=r;if(a)throw a;await((n=this.stateChangeEmitters.get(e))===null||n===void 0?void 0:n.callback("INITIAL_SESSION",o)),this._debug("INITIAL_SESSION","callback id",e,"session",o)}catch(o){await((i=this.stateChangeEmitters.get(e))===null||i===void 0?void 0:i.callback("INITIAL_SESSION",null)),this._debug("INITIAL_SESSION","callback id",e,"error",o),console.error(o)}})}async resetPasswordForEmail(e,r={}){let n=null,i=null;this.flowType==="pkce"&&([n,i]=await Za(this.storage,this.storageKey,!0));try{return await se(this.fetch,"POST",`${this.url}/recover`,{body:{email:e,code_challenge:n,code_challenge_method:i,gotrue_meta_security:{captcha_token:r.captchaToken}},headers:this.headers,redirectTo:r.redirectTo})}catch(o){if(await Mt(this.storage,`${this.storageKey}-code-verifier`),ne(o))return this._returnResult({data:null,error:o});throw o}}async getUserIdentities(){var e;try{const{data:r,error:n}=await this.getUser();if(n)throw n;return this._returnResult({data:{identities:(e=r.user.identities)!==null&&e!==void 0?e:[]},error:null})}catch(r){if(ne(r))return this._returnResult({data:null,error:r});throw r}}async linkIdentity(e){return"token"in e?this.linkIdentityIdToken(e):this.linkIdentityOAuth(e)}async linkIdentityOAuth(e){var r;try{const{data:n,error:i}=await this._useSession(async o=>{var a,s,u,l,c;const{data:d,error:h}=o;if(h)throw h;const f=await this._getUrlForProvider(`${this.url}/user/identities/authorize`,e.provider,{redirectTo:(a=e.options)===null||a===void 0?void 0:a.redirectTo,scopes:(s=e.options)===null||s===void 0?void 0:s.scopes,queryParams:(u=e.options)===null||u===void 0?void 0:u.queryParams,skipBrowserRedirect:!0});return await se(this.fetch,"GET",f,{headers:this.headers,jwt:(c=(l=d.session)===null||l===void 0?void 0:l.access_token)!==null&&c!==void 0?c:void 0})});if(i)throw i;return Lt()&&!(!((r=e.options)===null||r===void 0)&&r.skipBrowserRedirect)&&window.location.assign(n==null?void 0:n.url),this._returnResult({data:{provider:e.provider,url:n==null?void 0:n.url},error:null})}catch(n){if(ne(n))return this._returnResult({data:{provider:e.provider,url:null},error:n});throw n}}async linkIdentityIdToken(e){return await this._useSession(async r=>{var n;try{const{error:i,data:{session:o}}=r;if(i)throw i;const{options:a,provider:s,token:u,access_token:l,nonce:c}=e,d=await se(this.fetch,"POST",`${this.url}/token?grant_type=id_token`,{headers:this.headers,jwt:(n=o==null?void 0:o.access_token)!==null&&n!==void 0?n:void 0,body:{provider:s,id_token:u,access_token:l,nonce:c,link_identity:!0,gotrue_meta_security:{captcha_token:a==null?void 0:a.captchaToken}},xform:cn}),{data:h,error:f}=d;return f?this._returnResult({data:{user:null,session:null},error:f}):!h||!h.session||!h.user?this._returnResult({data:{user:null,session:null},error:new Xa}):(h.session&&(await this._saveSession(h.session),await this._notifyAllSubscribers("USER_UPDATED",h.session)),this._returnResult({data:h,error:f}))}catch(i){if(await Mt(this.storage,`${this.storageKey}-code-verifier`),ne(i))return this._returnResult({data:{user:null,session:null},error:i});throw i}})}async unlinkIdentity(e){try{return await this._useSession(async r=>{var n,i;const{data:o,error:a}=r;if(a)throw a;return await se(this.fetch,"DELETE",`${this.url}/user/identities/${e.identity_id}`,{headers:this.headers,jwt:(i=(n=o.session)===null||n===void 0?void 0:n.access_token)!==null&&i!==void 0?i:void 0})})}catch(r){if(ne(r))return this._returnResult({data:null,error:r});throw r}}async _refreshAccessToken(e){const r=`#_refreshAccessToken(${e.substring(0,5)}...)`;this._debug(r,"begin");try{const n=Date.now();return await V5(async i=>(i>0&&await z5(200*Math.pow(2,i-1)),this._debug(r,"refreshing attempt",i),await se(this.fetch,"POST",`${this.url}/token?grant_type=refresh_token`,{body:{refresh_token:e},headers:this.headers,xform:cn})),(i,o)=>{const a=200*Math.pow(2,i);return o&&gv(o)&&Date.now()+a-n<us})}catch(n){if(this._debug(r,"error",n),ne(n))return this._returnResult({data:{session:null,user:null},error:n});throw n}finally{this._debug(r,"end")}}_isValidSession(e){return typeof e=="object"&&e!==null&&"access_token"in e&&"refresh_token"in e&&"expires_at"in e}async _handleProviderSignIn(e,r){const n=await this._getUrlForProvider(`${this.url}/authorize`,e,{redirectTo:r.redirectTo,scopes:r.scopes,queryParams:r.queryParams});return this._debug("#_handleProviderSignIn()","provider",e,"options",r,"url",n),Lt()&&!r.skipBrowserRedirect&&window.location.assign(n),{data:{provider:e,url:n},error:null}}async _recoverAndRefresh(){var e,r;const n="#_recoverAndRefresh()";this._debug(n,"begin");try{const i=await Ho(this.storage,this.storageKey);if(i&&this.userStorage){let a=await Ho(this.userStorage,this.storageKey+"-user");!this.storage.isServer&&Object.is(this.storage,this.userStorage)&&!a&&(a={user:i.user},await cs(this.userStorage,this.storageKey+"-user",a)),i.user=(e=a==null?void 0:a.user)!==null&&e!==void 0?e:yv()}else if(i&&!i.user&&!i.user){const a=await Ho(this.storage,this.storageKey+"-user");a&&(a!=null&&a.user)?(i.user=a.user,await Mt(this.storage,this.storageKey+"-user"),await cs(this.storage,this.storageKey,i)):i.user=yv()}
265if(this._debug(n,"session from storage",i),!this._isValidSession(i)){this._debug(n,"session is not valid"),i!==null&&await this._removeSession();return}const o=((r=i.expires_at)!==null&&r!==void 0?r:1/0)*1e3-Date.now()<vv;if(this._debug(n,`session has${o?"":" not"} expired with margin of ${vv}s`),o){if(this.autoRefreshToken&&i.refresh_token){const{error:a}=await this._callRefreshToken(i.refresh_token);a&&(console.error(a),gv(a)||(this._debug(n,"refresh failed with a non-retryable error, removing the session",a),await this._removeSession()))}}else if(i.user&&i.user.__isUserNotAvailableProxy===!0)try{const{data:a,error:s}=await this._getUser(i.access_token);!s&&(a!=null&&a.user)?(i.user=a.user,await this._saveSession(i),await this._notifyAllSubscribers("SIGNED_IN",i)):this._debug(n,"could not get user data, skipping SIGNED_IN notification")}catch(a){console.error("Error getting user data:",a),this._debug(n,"error getting user data, skipping SIGNED_IN notification",a)}else await this._notifyAllSubscribers("SIGNED_IN",i)}catch(i){this._debug(n,"error",i),console.error(i);return}finally{this._debug(n,"end")}}async _callRefreshToken(e){var r,n;if(!e)throw new xr;if(this.refreshingDeferred)return this.refreshingDeferred.promise;const i=`#_callRefreshToken(${e.substring(0,5)}...)`;this._debug(i,"begin");try{this.refreshingDeferred=new np;const{data:o,error:a}=await this._refreshAccessToken(e);if(a)throw a;if(!o.session)throw new xr;await this._saveSession(o.session),await this._notifyAllSubscribers("TOKEN_REFRESHED",o.session);const s={data:o.session,error:null};return this.refreshingDeferred.resolve(s),s}catch(o){if(this._debug(i,"error",o),ne(o)){const a={data:null,error:o};return gv(o)||await this._removeSession(),(r=this.refreshingDeferred)===null||r===void 0||r.resolve(a),a}throw(n=this.refreshingDeferred)===null||n===void 0||n.reject(o),o}finally{this.refreshingDeferred=null,this._debug(i,"end")}}async _notifyAllSubscribers(e,r,n=!0){const i=`#_notifyAllSubscribers(${e})`;this._debug(i,"begin",r,`broadcast = ${n}`);try{this.broadcastChannel&&n&&this.broadcastChannel.postMessage({event:e,session:r});const o=[],a=Array.from(this.stateChangeEmitters.values()).map(async s=>{try{await s.callback(e,r)}catch(u){o.push(u)}});if(await Promise.all(a),o.length>0){for(let s=0;s<o.length;s+=1)console.error(o[s]);throw o[0]}}finally{this._debug(i,"end")}}async _saveSession(e){this._debug("#_saveSession()",e),this.suppressGetSessionWarning=!0,await Mt(this.storage,`${this.storageKey}-code-verifier`);const r=Object.assign({},e),n=r.user&&r.user.__isUserNotAvailableProxy===!0;if(this.userStorage){!n&&r.user&&await cs(this.userStorage,this.storageKey+"-user",{user:r.user});const i=Object.assign({},r);delete i.user;const o=yx(i);await cs(this.storage,this.storageKey,o)}else{const i=yx(r);await cs(this.storage,this.storageKey,i)}}async _removeSession(){this._debug("#_removeSession()"),this.suppressGetSessionWarning=!1,await Mt(this.storage,this.storageKey),await Mt(this.storage,this.storageKey+"-code-verifier"),await Mt(this.storage,this.storageKey+"-user"),this.userStorage&&await Mt(this.userStorage,this.storageKey+"-user"),await this._notifyAllSubscribers("SIGNED_OUT",null)}_removeVisibilityChangedCallback(){this._debug("#_removeVisibilityChangedCallback()");const e=this.visibilityChangedCallback;this.visibilityChangedCallback=null;try{e&&Lt()&&(window!=null&&window.removeEventListener)&&window.removeEventListener("visibilitychange",e)}catch(r){console.error("removing visibilitychange callback failed",r)}}async _startAutoRefresh(){await this._stopAutoRefresh(),this._debug("#_startAutoRefresh()");const e=setInterval(()=>this._autoRefreshTokenTick(),us);this.autoRefreshTicker=e,e&&typeof e=="object"&&typeof e.unref=="function"?e.unref():typeof Deno<"u"&&typeof Deno.unrefTimer=="function"&&Deno.unrefTimer(e);const r=setTimeout(async()=>{await this.initializePromise,await this._autoRefreshTokenTick()},0);this.autoRefreshTickTimeout=r,r&&typeof r=="object"&&typeof r.unref=="function"?r.unref():typeof Deno<"u"&&typeof Deno.unrefTimer=="function"&&Deno.unrefTimer(r)}async _stopAutoRefresh(){this._debug("#_stopAutoRefresh()");const e=this.autoRefreshTicker;this.autoRefreshTicker=null,e&&clearInterval(e);const r=this.autoRefreshTickTimeout;this.autoRefreshTickTimeout=null,r&&clearTimeout(r)}async startAutoRefresh(){this._removeVisibilityChangedCallback(),await this._startAutoRefresh()}async stopAutoRefresh(){this._removeVisibilityChangedCallback(),await this._stopAutoRefresh()}async _autoRefreshTokenTick(){this._debug("#_autoRefreshTokenTick()","begin");try{await this._acquireLock(0,async()=>{try{const e=Date.now();try{return await this._useSession(async r=>{const{data:{session:n}}=r;if(!n||!n.refresh_token||!n.expires_at){this._debug("#_autoRefreshTokenTick()","no session");return}const i=Math.floor((n.expires_at*1e3-e)/us);this._debug("#_autoRefreshTokenTick()",`access token expires in ${i} ticks, a tick lasts ${us}ms, refresh threshold is ${sm} ticks`),i<=sm&&await this._callRefreshToken(n.refresh_token)})}catch(r){console.error("Auto refresh tick failed with error. This is likely a transient error.",r)}}finally{this._debug("#_autoRefreshTokenTick()","end")}})}catch(e){if(e.isAcquireTimeout||e instanceof MT)this._debug("auto refresh token tick lock not available");else throw e}}async _handleVisibilityChange(){if(this._debug("#_handleVisibilityChange()"),!Lt()||!(window!=null&&window.addEventListener))return this.autoRefreshToken&&this.startAutoRefresh(),!1;try{this.visibilityChangedCallback=async()=>{try{await this._onVisibilityChanged(!1)}catch(e){this._debug("#visibilityChangedCallback","error",e)}},window==null||window.addEventListener("visibilitychange",this.visibilityChangedCallback),await this._onVisibilityChanged(!0)}catch(e){console.error("_handleVisibilityChange",e)}}async _onVisibilityChanged(e){const r=`#_onVisibilityChanged(${e})`;this._debug(r,"visibilityState",document.visibilityState),document.visibilityState==="visible"?(this.autoRefreshToken&&this._startAutoRefresh(),e||(
265await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>{if(document.visibilityState!=="visible"){this._debug(r,"acquired the lock to recover the session, but the browser visibilityState is no longer visible, aborting");return}await this._recoverAndRefresh()}))):document.visibilityState==="hidden"&&this.autoRefreshToken&&this._stopAutoRefresh()}async _getUrlForProvider(e,r,n){const i=[`provider=${encodeURIComponent(r)}`];if(n!=null&&n.redirectTo&&i.push(`redirect_to=${encodeURIComponent(n.redirectTo)}`),n!=null&&n.scopes&&i.push(`scopes=${encodeURIComponent(n.scopes)}`),this.flowType==="pkce"){const[o,a]=await Za(this.storage,this.storageKey),s=new URLSearchParams({code_challenge:`${encodeURIComponent(o)}`,code_challenge_method:`${encodeURIComponent(a)}`});i.push(s.toString())}if(n!=null&&n.queryParams){const o=new URLSearchParams(n.queryParams);i.push(o.toString())}return n!=null&&n.skipBrowserRedirect&&i.push(`skip_http_redirect=${n.skipBrowserRedirect}`),`${e}?${i.join("&")}`}async _unenroll(e){try{return await this._useSession(async r=>{var n;const{data:i,error:o}=r;return o?this._returnResult({data:null,error:o}):await se(this.fetch,"DELETE",`${this.url}/factors/${e.factorId}`,{headers:this.headers,jwt:(n=i==null?void 0:i.session)===null||n===void 0?void 0:n.access_token})})}catch(r){if(ne(r))return this._returnResult({data:null,error:r});throw r}}async _enroll(e){try{return await this._useSession(async r=>{var n,i;const{data:o,error:a}=r;if(a)return this._returnResult({data:null,error:a});const s=Object.assign({friendly_name:e.friendlyName,factor_type:e.factorType},e.factorType==="phone"?{phone:e.phone}:e.factorType==="totp"?{issuer:e.issuer}:{}),{data:u,error:l}=await se(this.fetch,"POST",`${this.url}/factors`,{body:s,headers:this.headers,jwt:(n=o==null?void 0:o.session)===null||n===void 0?void 0:n.access_token});return l?this._returnResult({data:null,error:l}):(e.factorType==="totp"&&u.type==="totp"&&(!((i=u==null?void 0:u.totp)===null||i===void 0)&&i.qr_code)&&(u.totp.qr_code=`data:image/svg+xml;utf-8,${u.totp.qr_code}`),this._returnResult({data:u,error:null}))})}catch(r){if(ne(r))return this._returnResult({data:null,error:r});throw r}}async _verify(e){return this._acquireLock(this.lockAcquireTimeout,async()=>{try{return await this._useSession(async r=>{var n;const{data:i,error:o}=r;if(o)return this._returnResult({data:null,error:o});const a=Object.assign({challenge_id:e.challengeId},"webauthn"in e?{webauthn:Object.assign(Object.assign({},e.webauthn),{credential_response:e.webauthn.type==="create"?y8(e.webauthn.credential_response):w8(e.webauthn.credential_response)})}:{code:e.code}),{data:s,error:u}=await se(this.fetch,"POST",`${this.url}/factors/${e.factorId}/verify`,{body:a,headers:this.headers,jwt:(n=i==null?void 0:i.session)===null||n===void 0?void 0:n.access_token});return u?this._returnResult({data:null,error:u}):(await this._saveSession(Object.assign({expires_at:Math.round(Date.now()/1e3)+s.expires_in},s)),await this._notifyAllSubscribers("MFA_CHALLENGE_VERIFIED",s),this._returnResult({data:s,error:u}))})}catch(r){if(ne(r))return this._returnResult({data:null,error:r});throw r}})}async _challenge(e){return this._acquireLock(this.lockAcquireTimeout,async()=>{try{return await this._useSession(async r=>{var n;const{data:i,error:o}=r;if(o)return this._returnResult({data:null,error:o});const a=await se(this.fetch,"POST",`${this.url}/factors/${e.factorId}/challenge`,{body:e,headers:this.headers,jwt:(n=i==null?void 0:i.session)===null||n===void 0?void 0:n.access_token});if(a.error)return a;const{data:s}=a;if(s.type!=="webauthn")return{data:s,error:null};switch(s.webauthn.type){case"create":return{data:Object.assign(Object.assign({},s),{webauthn:Object.assign(Object.assign({},s.webauthn),{credential_options:Object.assign(Object.assign({},s.webauthn.credential_options),{publicKey:m8(s.webauthn.credential_options.publicKey)})})}),error:null};case"request":return{data:Object.assign(Object.assign({},s),{webauthn:Object.assign(Object.assign({},s.webauthn),{credential_options:Object.assign(Object.assign({},s.webauthn.credential_options),{publicKey:g8(s.webauthn.credential_options.publicKey)})})}),error:null}}})}catch(r){if(ne(r))return this._returnResult({data:null,error:r});throw r}})}async _challengeAndVerify(e){const{data:r,error:n}=await this._challenge({factorId:e.factorId});return n?this._returnResult({data:null,error:n}):await this._verify({factorId:e.factorId,challengeId:r.id,code:e.code})}async _listFactors(){var e;const{data:{user:r},error:n}=await this.getUser();if(n)return{data:null,error:n};const i={all:[],phone:[],totp:[],webauthn:[]};for(const o of(e=r==null?void 0:r.factors)!==null&&e!==void 0?e:[])i.all.push(o),o.status==="verified"&&i[o.factor_type].push(o);return{data:i,error:null}}async _getAuthenticatorAssuranceLevel(e){var r,n,i,o;if(e)try{const{payload:f}=Sd(e);let m=null;f.aal&&(m=f.aal);let p=m;const{data:{user:g},error:v}=await this.getUser(e);if(v)return this._returnResult({data:null,error:v});((n=(r=g==null?void 0:g.factors)===null||r===void 0?void 0:r.filter(S=>S.status==="verified"))!==null&&n!==void 0?n:[]).length>0&&(p="aal2");const w=f.amr||[];return{data:{currentLevel:m,nextLevel:p,currentAuthenticationMethods:w},error:null}}catch(f){if(ne(f))return this._returnResult({data:null,error:f});throw f}const{data:{session:a},error:s}
265=await this.getSession();if(s)return this._returnResult({data:null,error:s});if(!a)return{data:{currentLevel:null,nextLevel:null,currentAuthenticationMethods:[]},error:null};const{payload:u}=Sd(a.access_token);let l=null;u.aal&&(l=u.aal);let c=l;((o=(i=a.user.factors)===null||i===void 0?void 0:i.filter(f=>f.status==="verified"))!==null&&o!==void 0?o:[]).length>0&&(c="aal2");const h=u.amr||[];return{data:{currentLevel:l,nextLevel:c,currentAuthenticationMethods:h},error:null}}async _getAuthorizationDetails(e){try{return await this._useSession(async r=>{const{data:{session:n},error:i}=r;return i?this._returnResult({data:null,error:i}):n?await se(this.fetch,"GET",`${this.url}/oauth/authorizations/${e}`,{headers:this.headers,jwt:n.access_token,xform:o=>({data:o,error:null})}):this._returnResult({data:null,error:new xr})})}catch(r){if(ne(r))return this._returnResult({data:null,error:r});throw r}}async _approveAuthorization(e,r){try{return await this._useSession(async n=>{const{data:{session:i},error:o}=n;if(o)return this._returnResult({data:null,error:o});if(!i)return this._returnResult({data:null,error:new xr});const a=await se(this.fetch,"POST",`${this.url}/oauth/authorizations/${e}/consent`,{headers:this.headers,jwt:i.access_token,body:{action:"approve"},xform:s=>({data:s,error:null})});return a.data&&a.data.redirect_url&&Lt()&&!(r!=null&&r.skipBrowserRedirect)&&window.location.assign(a.data.redirect_url),a})}catch(n){if(ne(n))return this._returnResult({data:null,error:n});throw n}}async _denyAuthorization(e,r){try{return await this._useSession(async n=>{const{data:{session:i},error:o}=n;if(o)return this._returnResult({data:null,error:o});if(!i)return this._returnResult({data:null,error:new xr});const a=await se(this.fetch,"POST",`${this.url}/oauth/authorizations/${e}/consent`,{headers:this.headers,jwt:i.access_token,body:{action:"deny"},xform:s=>({data:s,error:null})});return a.data&&a.data.redirect_url&&Lt()&&!(r!=null&&r.skipBrowserRedirect)&&window.location.assign(a.data.redirect_url),a})}catch(n){if(ne(n))return this._returnResult({data:null,error:n});throw n}}async _listOAuthGrants(){try{return await this._useSession(async e=>{const{data:{session:r},error:n}=e;return n?this._returnResult({data:null,error:n}):r?await se(this.fetch,"GET",`${this.url}/user/oauth/grants`,{headers:this.headers,jwt:r.access_token,xform:i=>({data:i,error:null})}):this._returnResult({data:null,error:new xr})})}catch(e){if(ne(e))return this._returnResult({data:null,error:e});throw e}}async _revokeOAuthGrant(e){try{return await this._useSession(async r=>{const{data:{session:n},error:i}=r;return i?this._returnResult({data:null,error:i}):n?(await se(this.fetch,"DELETE",`${this.url}/user/oauth/grants`,{headers:this.headers,jwt:n.access_token,query:{client_id:e.clientId},noResolveJson:!0}),{data:{},error:null}):this._returnResult({data:null,error:new xr})})}catch(r){if(ne(r))return this._returnResult({data:null,error:r});throw r}}async fetchJwk(e,r={keys:[]}){let n=r.keys.find(s=>s.kid===e);if(n)return n;const i=Date.now();if(n=this.jwks.keys.find(s=>s.kid===e),n&&this.jwks_cached_at+P5>i)return n;const{data:o,error:a}=await se(this.fetch,"GET",`${this.url}/.well-known/jwks.json`,{headers:this.headers});if(a)throw a;return!o.keys||o.keys.length===0||(this.jwks=o,this.jwks_cached_at=i,n=o.keys.find(s=>s.kid===e),!n)?null:n}async getClaims(e,r={}){try{let n=e;if(!n){const{data:f,error:m}
265=await this.getSession();if(m||!f.session)return this._returnResult({data:null,error:m});n=f.session.access_token}const{header:i,payload:o,signature:a,raw:{header:s,payload:u}}=Sd(n);r!=null&&r.allowExpired||Z5(o.exp);const l=!i.alg||i.alg.startsWith("HS")||!i.kid||!("crypto"in globalThis&&"subtle"in globalThis.crypto)?null:await this.fetchJwk(i.kid,r!=null&&r.keys?{keys:r.keys}:r==null?void 0:r.jwks);if(!l){const{error:f}=await this.getUser(n);if(f)throw f;return{data:{claims:o,header:i,signature:a},error:null}}const c=Y5(i.alg),d=await crypto.subtle.importKey("jwk",l,c,!0,["verify"]);if(!await crypto.subtle.verify(c,d,a,D5(`${s}.${u}`)))throw new cm("Invalid JWT signature");return{data:{claims:o,header:i,signature:a},error:null}}catch(n){if(ne(n))return this._returnResult({data:null,error:n});throw n}}}cc.nextInstanceID={};const R8=cc,A8="2.95.3";let ru="";typeof Deno<"u"?ru="deno":typeof document<"u"?ru="web":typeof navigator<"u"&&navigator.product==="ReactNative"?ru="react-native":ru="node";const O8={"X-Client-Info":`supabase-js-${ru}/${A8}`},_8={headers:O8},N8={schema:"public"},j8={autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,flowType:"implicit"},F8={};function dc(t){"@babel/helpers - typeof";return dc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},dc(t)}function I8(t,e){if(dc(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(dc(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function D8(t){var e=I8(t,"string");return dc(e)=="symbol"?e:e+""}function M8(t,e,r){return(e=D8(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ex(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function gt(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Ex(Object(r),!0).forEach(function(n){M8(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ex(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}const L8=t=>t?(...e)=>t(...e):(...e)=>fetch(...e),B8=()=>Headers,U8=(t,e,r)=>{const n=L8(r),i=B8();return async(o,a)=>{var s;const u=(s=await e())!==null&&s!==void 0?s:t;let l=new i(a==null?void 0:a.headers);return l.has("apikey")||l.set("apikey",t),l.has("Authorization")||l.set("Authorization",`Bearer ${u}`),n(o,gt(gt({},a),{},{headers:l}))}};function z8(t){return t.endsWith("/")?t:t+"/"}function V8(t,e){var r,n;const{db:i,auth:o,realtime:a,global:s}=t,{db:u,auth:l,realtime:c,global:d}=e,h={db:gt(gt({},u),i),auth:gt(gt({},l),o),realtime:gt(gt({},c),a),storage:{},global:gt(gt(gt({},d),s),{},{headers:gt(gt({},(r=d==null?void 0:d.headers)!==null&&r!==void 0?r:{}),(n=s==null?void 0:s.headers)!==null&&n!==void 0?n:{})}),accessToken:async()=>""};return t.accessToken?h.accessToken=t.accessToken:delete h.accessToken,h}function W8(t){const e=t==null?void 0:t.trim();if(!e)throw new Error("supabaseUrl is required.");if(!e.match(/^https?:\/\//i))throw new Error("Invalid supabaseUrl: Must be a valid HTTP or HTTPS URL.");try{return new URL(z8(e))}catch{throw Error("Invalid supabaseUrl: Provided URL is malformed.")}}var q8=class extends R8{constructor(t){super(t)}},H8=class{constructor(t,e,r){var n,i;this.supabaseUrl=t,this.supabaseKey=e;const o=W8(t);if(!e)throw new Error("supabaseKey is required.");this.realtimeUrl=new URL("realtime/v1",o),this.realtimeUrl.protocol=this.realtimeUrl.protocol.replace("http","ws"),this.authUrl=new URL("auth/v1",o),this.storageUrl=new URL("storage/v1",o),this.functionsUrl=new URL("functions/v1",o);const a=`sb-${o.hostname.split(".")[0]}-auth-token`,s={db:N8,realtime:F8,auth:gt(gt({},j8),{},{storageKey:a}),global:_8},u=V8(r??{},s);if(this.storageKey=(n=u.auth.storageKey)!==null&&n!==void 0?n:"",this.headers=(i=u.global.headers)!==null&&i!==void 0?i:{},u.accessToken)this.accessToken=u.accessToken,this.auth=new Proxy({},{get:(c,d)=>{throw new Error(`@supabase/supabase-js: Supabase Client is configured with the accessToken option, accessing supabase.auth.${String(d)} is not possible`)}});else{var l;this.auth=this._initSupabaseAuthClient((l=u.auth)!==null&&l!==void 0?l:{},this.headers,u.global.fetch)}this.fetch=U8(e,this._getAccessToken.bind(this),u.global.fetch),this.realtime=this._initRealtimeClient(gt({headers:this.headers,accessToken:this._getAccessToken.bind(this)},u.realtime)),this.accessToken&&Promise.resolve(this.accessToken()).then(c=>this.realtime.setAuth(c)).catch(c=>console.warn("Failed to set initial Realtime auth token:",c)),this.rest=new A3(new URL("rest/v1",o).href,{headers:this.headers,schema:u.db.schema,fetch:this.fetch,timeout:u.db.timeout,urlLengthLimit:u.db.urlLengthLimit}),this.storage=new S5(this.storageUrl.href,this.headers,this.fetch,r==null?void 0:r.storage),u.accessToken||this._listenForAuthEvents()}get functions(){return new x3(this.functionsUrl.href,{headers:this.headers,customFetch:this.fetch})}from(t){return this.rest.from(t)}schema(t){return this.rest.schema(t)}rpc(t,e={},r={head:!1,get:!1,count:void 0}){return this.rest.rpc(t,e,r)}channel(t,e={config:{}}){return this.realtime.channel(t,e)}getChannels(){return this.realtime.getChannels()}removeChannel(t){return this.realtime.removeChannel(t)}removeAllChannels(){return this.realtime.removeAllChannels()}async _getAccessToken(){var t=this,e,r;if(t.accessToken)return await t.accessToken();const{data:n}=await t.auth.getSession();return(e=(r=n.session)===null||r===void 0?void 0:r.access_token)!==null&&e!==void 0?e:t.supabaseKey}_initSupabaseAuthClient({autoRefreshToken:t,persistSession:e,detectSessionInUrl:r,storage:n,userStorage:i,storageKey:o,flowType:a,lock:s,debug:u,throwOnError:l},c,d){const h={Authorization:`Bearer ${this.supabaseKey}`,apikey:`${this.supabaseKey}`};return new q8({url:this.authUrl.href,headers:gt(gt({},h),c),storageKey:o,autoRefreshToken:t,persistSession:e,detectSessionInUrl:r,storage:n,userStorage:i,flowType:a,lock:s,debug:u,throwOnError:l,fetch:d,hasCustomAuthorizationHeader:Object.keys(this.headers).some(f=>f.toLowerCase()==="authorization")})}_initRealtimeClient(t){return new K3(this.realtimeUrl.href,gt(gt({},t),{},{params:gt(gt({},{apikey:this.supabaseKey}),t==null?void 0:t.params)}))}_listenForAuthEvents(){return this.auth.onAuthStateChange((t,e)=>{this._handleTokenChanged(t,"CLIENT",e==null?void 0:e.access_token)})}_handleTokenChanged(t,e,r){(t==="TOKEN_REFRESHED"||t==="SIGNED_IN")&&this.changedAccessToken!==r?(this.changedAccessToken=r,this.realtime.setAuth(r)):t==="SIGNED_OUT"&&(this.realtime.setAuth(),e=="STORAGE"&&this.auth.signOut(),this.changedAccessToken=void 0)}};const K8=(t,e,r)=>new H8(t,e,r);function G8(){if(typeof window<"u")return!1;const t=globalThis.process;if(!t)return!1;const e=t.version;if(e==null)return!1;const r=e.match(/^v(\d+)\./);return r?parseInt(r[1],10)<=18:!1}G8()&&console.warn("⚠️  Node.js 18 and below are deprecated and will no longer be supported in future versions of @supabase/supabase-js. Please upgrade to N
265ode.js 20 or later. For more information, visit: https://github.com/orgs/supabase/discussions/37217");const X8="https://tontqiepovknpnwhkici.supabase.co",Z8="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InRvbnRxaWVwb3ZrbnBud2hraWNpIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NzA0NjE2MDIsImV4cCI6MjA4NjAzNzYwMn0.2XszRvMiNEDZlgck4DhtysBcczLte-Z_imHZLC2iL1c",Qo=K8(X8,Z8,{auth:{storage:localStorage,persistSession:!0,autoRefreshToken:!0}}),UT=x.createContext(void 0);function Y8({children:t}){const[e,r]=x.useState(null),[n,i]=x.useState(null),[o,a]=x.useState(!0),[s,u]=x.useState(null),l=async h=>{const{data:f}=await Qo.from("user_roles").select("role").eq("user_id",h).limit(1).single();u(f==null?void 0:f.role)};x.useEffect(()=>{const{data:{subscription:h}}=Qo.auth.onAuthStateChange(async(f,m)=>{i(m),r((m==null?void 0:m.user)??null),m!=null&&m.user?setTimeout(()=>l(m.user.id),0):u(null),a(!1)});return Qo.auth.getSession().then(({data:{session:f}})=>{i(f),r((f==null?void 0:f.user)??null),f!=null&&f.user&&l(f.user.id),a(!1)}),()=>h.unsubscribe()},[]);const c=async(h,f)=>{const{error:m}=await Qo.auth.signInWithPassword({email:h,password:f});return m?{error:m.message}:{error:null}},d=async()=>{await Qo.auth.signOut(),u(null)};return b.jsx(UT.Provider,{value:{user:e,session:n,loading:o,role:s,signIn:c,signOut:d},children:t})}function zT(){const t=x.useContext(UT);if(!t)throw new Error("useAuth must be used within AuthProvider");return t}var Ke;(function(t){t.assertEqual=i=>{};function e(i){}t.assertIs=e;function r(i){throw new Error}t.assertNever=r,t.arrayToEnum=i=>{const o={};for(const a of i)o[a]=a;return o},t.getValidEnumValues=i=>{const o=t.objectKeys(i).filter(s=>typeof i[i[s]]!="number"),a={};for(const s of o)a[s]=i[s];return t.objectValues(a)},t.objectValues=i=>t.objectKeys(i).map(function(o){return i[o]}),t.objectKeys=typeof Object.keys=="function"?i=>Object.keys(i):i=>{const o=[];for(const a in i)Object.prototype.hasOwnProperty.call(i,a)&&o.push(a);return o},t.find=(i,o)=>{for(const a of i)if(o(a))return a},t.isInteger=typeof Number.isInteger=="function"?i=>Number.isInteger(i):i=>typeof i=="number"&&Number.isFinite(i)&&Math.floor(i)===i;function n(i,o=" | "){return i.map(a=>typeof a=="string"?`'${a}'`:a).join(o)}t.joinValues=n,t.jsonStringifyReplacer=(i,o)=>typeof o=="bigint"?o.toString():o})(Ke||(Ke={}));var Tx;(function(t){t.mergeShapes=(e,r)=>({...e,...r})})(Tx||(Tx={}));const te=Ke.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Vi=t=>{switch(typeof t){case"undefined":return te.undefined;case"string":return te.string;case"number":return Number.isNaN(t)?te.nan:te.number;case"boolean":return te.boolean;case"function":return te.function;case"bigint":return te.bigint;case"symbol":return te.symbol;case"object":return Array.isArray(t)?te.array:t===null?te.null:t.then&&typeof t.then=="function"&&t.catch&&typeof t.catch=="function"?te.promise:typeof Map<"u"&&t instanceof Map?te.map:typeof Set<"u"&&t instanceof Set?te.set:typeof Date<"u"&&t instanceof Date?te.date:te.object;default:return te.unknown}}
vendor: 6,015 bytes, line 265
265,G=Ke.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class bi extends Error{get errors(){return this.issues}constructor(e){super(),this.issues=[],this.addIssue=n=>{this.issues=[...this.issues,n]},this.addIssues=(n=[])=>{this.issues=[...this.issues,...n]};const r=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,r):this.__proto__=r,this.name="ZodError",this.issues=e}format(e){const r=e||function(o){return o.message},n={_errors:[]},i=o=>{for(const a of o.issues)if(a.code==="invalid_union")a.unionErrors.map(i);else if(a.code==="invalid_return_type")i(a.returnTypeError);else if(a.code==="invalid_arguments")i(a.argumentsError);else if(a.path.length===0)n._errors.push(r(a));else{let s=n,u=0;for(;u<a.path.length;){const l=a.path[u];u===a.path.length-1?(s[l]=s[l]||{_errors:[]},s[l]._errors.push(r(a))):s[l]=s[l]||{_errors:[]},s=s[l],u++}}};return i(this),n}static assert(e){if(!(e instanceof bi))throw new Error(`Not a ZodError: ${e}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,Ke.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(e=r=>r.message){const r={},n=[];for(const i of this.issues)if(i.path.length>0){const o=i.path[0];r[o]=r[o]||[],r[o].push(e(i))}else n.push(e(i));return{formErrors:n,fieldErrors:r}}get formErrors(){return this.flatten()}}bi.create=t=>new bi(t);const dm=(t,e)=>{let r;switch(t.code){case G.invalid_type:t.received===te.undefined?r="Required":r=`Expected ${t.expected}, received ${t.received}`;break;case G.invalid_literal:r=`Invalid literal value, expected ${JSON.stringify(t.expected,Ke.jsonStringifyReplacer)}`;break;case G.unrecognized_keys:r=`Unrecognized key(s) in object: ${Ke.joinValues(t.keys,", ")}`;break;case G.invalid_union:r="Invalid input";break;case G.invalid_union_discriminator:r=`Invalid discriminator value. Expected ${Ke.joinValues(t.options)}`;break;case G.invalid_enum_value:r=`Invalid enum value. Expected ${Ke.joinValues(t.options)}, received '${t.received}'`;break;case G.invalid_arguments:r="Invalid function arguments";break;case G.invalid_return_type:r="Invalid function return type";break;case G.invalid_date:r="Invalid date";break;case G.invalid_string:typeof t.validation=="object"?"includes"in t.validation?(r=`Invalid input: must include "${t.validation.includes}"`,typeof t.validation.position=="number"&&(r=`${r} at one or more positions greater than or equal to ${t.validation.position}`)):"startsWith"in t.validation?r=`Invalid input: must start with "${t.validation.startsWith}"`:"endsWith"in t.validation?r=`Invalid input: must end with "${t.validation.endsWith}"`:Ke.assertNever(t.validation):t.validation!=="regex"?r=`Invalid ${t.validation}`:r="Invalid";break;case G.too_small:t.type==="array"?r=`Array must contain ${t.exact?"exactly":t.inclusive?"at least":"more than"} ${t.minimum} element(s)`:t.type==="string"?r=`String must contain ${t.exact?"exactly":t.inclusive?"at least":"over"} ${t.minimum} character(s)`:t.type==="number"?r=`Number must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${t.minimum}`:t.type==="bigint"?r=`Number must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${t.minimum}`:t.type==="date"?r=`Date must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(t.minimum))}`:r="Invalid input";break;case G.too_big:t.type==="array"?r=`Array must contain ${t.exact?"exactly":t.inclusive?"at most":"less than"} ${t.maximum} element(s)`:t.type==="string"?r=`String must contain ${t.exact?"exactly":t.inclusive?"at most":"under"} ${t.maximum} character(s)`:t.type==="number"?r=`Number must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="bigint"?r=`BigInt must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="date"?r=`Date must be ${t.exact?"exactly":t.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(t.maximum))}`:r="Invalid input";break;case G.custom:r="Invalid input";break;case G.invalid_intersection_types:r="Intersection results could not be merged";break;case G.not_multiple_of:r=`Number must be a multiple of ${t.multipleOf}`;break;case G.not_finite:r="Number must be finite";break;default:r=e.defaultError,Ke.assertNever(t)}return{message:r}};let J8=dm;function Q8(){return J8}const $8=t=>{const{data:e,path:r,errorMaps:n,issueData:i}=t,o=[...r,...i.path||[]],a={...i,path:o};if(i.message!==void 0)return{...i,path:o,message:i.message};let s="";const u=n.filter(l=>!!l).slice().reverse();for(const l of u)s=l(a,{data:e,defaultError:s}).message;return{...i,path:o,message:s}};function J(t,e){const r=Q8(),n=$8({issueData:e,data:t.data,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,r,r===dm?void 0:dm].filter(i=>!!i)});t.common.issues.push(n)}class jr{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(e,r){const n=[];for(const i of r){if(i.status==="aborted")return we;i.status==="dirty"&&e.dirty(),n.push(i.value)}return{status:e.value,value:n}}static async mergeObjectAsync(e,r){const n=[];for(const i of r){const o=await i.key,a=await i.value;n.push({key:o,value:a})}return jr.mergeObjectSync(e,n)}static mergeObjectSync(e,r){const n={};for(const i of r){const{key:o,value:a}=i;if(o.status==="aborted"||a.status==="aborted")return we;o.status==="dirty"&&e.dirty(),a.status==="dirty"&&e.dirty(),o.value!=="__proto__"&&(typeof a.value<"u"||i.alwaysSet)&&(n[o.value]=a.value)}return{status:e.value,value:n}}}const we=Object.freeze({status:"aborted"}),nu=t=>({status:"dirty",value:t}),rn=t=>
vendor: 5,526 bytes, line 265
265({status:"valid",value:t}),Px=t=>t.status==="aborted",Rx=t=>t.status==="dirty",ol=t=>t.status==="valid",$f=t=>typeof Promise<"u"&&t instanceof Promise;var re;(function(t){t.errToObj=e=>typeof e=="string"?{message:e}:e||{},t.toString=e=>typeof e=="string"?e:e==null?void 0:e.message})(re||(re={}));class Ro{constructor(e,r,n,i){this._cachedPath=[],this.parent=e,this.data=r,this._path=n,this._key=i}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const Ax=(t,e)=>{if(ol(e))return{success:!0,data:e.value};if(!t.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const r=new bi(t.common.issues);return this._error=r,this._error}}};function Pe(t){if(!t)return{};const{errorMap:e,invalid_type_error:r,required_error:n,description:i}=t;if(e&&(r||n))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return e?{errorMap:e,description:i}:{errorMap:(a,s)=>{const{message:u}=t;return a.code==="invalid_enum_value"?{message:u??s.defaultError}:typeof s.data>"u"?{message:u??n??s.defaultError}:a.code!=="invalid_type"?{message:s.defaultError}:{message:u??r??s.defaultError}},description:i}}class Ve{get description(){return this._def.description}_getType(e){return Vi(e.data)}_getOrReturnCtx(e,r){return r||{common:e.parent.common,data:e.data,parsedType:Vi(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new jr,ctx:{common:e.parent.common,data:e.data,parsedType:Vi(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){const r=this._parse(e);if($f(r))throw new Error("Synchronous parse encountered promise.");return r}_parseAsync(e){const r=this._parse(e);return Promise.resolve(r)}parse(e,r){const n=this.safeParse(e,r);if(n.success)return n.data;throw n.error}safeParse(e,r){const n={common:{issues:[],async:(r==null?void 0:r.async)??!1,contextualErrorMap:r==null?void 0:r.errorMap},path:(r==null?void 0:r.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:Vi(e)},i=this._parseSync({data:e,path:n.path,parent:n});return Ax(n,i)}"~validate"(e){var n,i;const r={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:Vi(e)};if(!this["~standard"].async)try{const o=this._parseSync({data:e,path:[],parent:r});return ol(o)?{value:o.value}:{issues:r.common.issues}}catch(o){(i=(n=o==null?void 0:o.message)==null?void 0:n.toLowerCase())!=null&&i.includes("encountered")&&(this["~standard"].async=!0),r.common={issues:[],async:!0}}return this._parseAsync({data:e,path:[],parent:r}).then(o=>ol(o)?{value:o.value}:{issues:r.common.issues})}async parseAsync(e,r){const n=await this.safeParseAsync(e,r);if(n.success)return n.data;throw n.error}async safeParseAsync(e,r){const n={common:{issues:[],contextualErrorMap:r==null?void 0:r.errorMap,async:!0},path:(r==null?void 0:r.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:Vi(e)},i=this._parse({data:e,path:n.path,parent:n}),o=await($f(i)?i:Promise.resolve(i));return Ax(n,o)}refine(e,r){const n=i=>typeof r=="string"||typeof r>"u"?{message:r}:typeof r=="function"?r(i):r;return this._refinement((i,o)=>{const a=e(i),s=()=>o.addIssue({code:G.custom,...n(i)});return typeof Promise<"u"&&a instanceof Promise?a.then(u=>u?!0:(s(),!1)):a?!0:(s(),!1)})}refinement(e,r){return this._refinement((n,i)=>e(n)?!0:(i.addIssue(typeof r=="function"?r(n,i):r),!1))}_refinement(e){return new sl({schema:this,typeName:be.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:r=>this["~validate"](r)}}optional(){return yo.create(this,this._def)}nullable(){return ll.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return Kn.create(this)}promise(){return nh.create(this,this._def)}or(e){return th.create([this,e],this._def)}and(e){return rh.create(this,e,this._def)}transform(e){return new sl({...Pe(this._def),schema:this,typeName:be.ZodEffects,effect:{type:"transform",transform:e}})}default(e){const r=typeof e=="function"?e:()=>e;return new pm({...Pe(this._def),innerType:this,defaultValue:r,typeName:be.ZodDefault})}brand(){return new S4({typeName:be.ZodBranded,type:this,...Pe(this._def)})}catch(e){const r=typeof e=="function"?e:()=>e;
vendor: 4,959 bytes, line 265
265return new vm({...Pe(this._def),innerType:this,catchValue:r,typeName:be.ZodCatch})}describe(e){const r=this.constructor;return new r({...this._def,description:e})}pipe(e){return gy.create(this,e)}readonly(){return mm.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const e4=/^c[^\s-]{8,}$/i,t4=/^[0-9a-z]+$/,r4=/^[0-9A-HJKMNP-TV-Z]{26}$/i,n4=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,i4=/^[a-z0-9_-]{21}$/i,o4=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,a4=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,s4=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,l4="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let bv;const u4=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-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-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,h4=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,p4=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,VT="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",v4=new RegExp(`^${VT}$`);function WT(t){let e="[0-5]\\d";t.precision?e=`${e}\\.\\d{${t.precision}}`:t.precision==null&&(e=`${e}(\\.\\d+)?`);const r=t.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${e})${r}`}function m4(t){return new RegExp(`^${WT(t)}$`)}function g4(t){let e=`${VT}T${WT(t)}`;const r=[];return r.push(t.local?"Z?":"Z"),t.offset&&r.push("([+-]\\d{2}:?\\d{2})"),e=`${e}(${r.join("|")})`,new RegExp(`^${e}$`)}function y4(t,e){return!!((e==="v4"||!e)&&u4.test(t)||(e==="v6"||!e)&&d4.test(t))}function w4(t,e){if(!o4.test(t))return!1;try{const[r]=t.split(".");if(!r)return!1;const n=r.replace(/-/g,"+").replace(/_/g,"/").padEnd(r.length+(4-r.length%4)%4,"="),i=JSON.parse(atob(n));return!(typeof i!="object"||i===null||"typ"in i&&(i==null?void 0:i.typ)!=="JWT"||!i.alg||e&&i.alg!==e)}catch{return!1}}function b4(t,e){return!!((e==="v4"||!e)&&c4.test(t)||(e==="v6"||!e)&&f4.test(t))}class oo extends Ve{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==te.string){const o=this._getOrReturnCtx(e);return J(o,{code:G.invalid_type,expected:te.string,received:o.parsedType}),we}const n=new jr;let i;for(const o of this._def.checks)if(o.kind==="min")e.data.length<o.value&&(i=this._getOrReturnCtx(e,i),J(i,{code:G.too_small,minimum:o.value,type:"string",inclusive:!0,exact:!1,message:o.message}),n.dirty());else if(o.kind==="max")e.data.length>o.value&&(i=this._getOrReturnCtx(e,i),J(i,{code:G.too_big,maximum:o.value,type:"string",inclusive:!0,exact:!1,message:o.message}),n.dirty());else if(o.kind==="length"){const a=e.data.length>o.value,s=e.data.length<o.value;(a||s)&&(i=this._getOrReturnCtx(e,i),a?J(i,{code:G.too_big,maximum:o.value,type:"string",inclusive:!0,exact:!0,message:o.message}):s&&J(i,{code:G.too_small,minimum:o.value,type:"string",inclusive:!0,exact:!0,message:o.message}),n.dirty())}else if(o.kind==="email")s4.test(e.data)||(i=this._getOrReturnCtx(e,i),J(i,{validation:"email",code:G.invali
vendor: 15,881 bytes, line 265
265d_string,message:o.message}),n.dirty());else if(o.kind==="emoji")bv||(bv=new RegExp(l4,"u")),bv.test(e.data)||(i=this._getOrReturnCtx(e,i),J(i,{validation:"emoji",code:G.invalid_string,message:o.message}),n.dirty());else if(o.kind==="uuid")n4.test(e.data)||(i=this._getOrReturnCtx(e,i),J(i,{validation:"uuid",code:G.invalid_string,message:o.message}),n.dirty());else if(o.kind==="nanoid")i4.test(e.data)||(i=this._getOrReturnCtx(e,i),J(i,{validation:"nanoid",code:G.invalid_string,message:o.message}),n.dirty());else if(o.kind==="cuid")e4.test(e.data)||(i=this._getOrReturnCtx(e,i),J(i,{validation:"cuid",code:G.invalid_string,message:o.message}),n.dirty());else if(o.kind==="cuid2")t4.test(e.data)||(i=this._getOrReturnCtx(e,i),J(i,{validation:"cuid2",code:G.invalid_string,message:o.message}),n.dirty());else if(o.kind==="ulid")r4.test(e.data)||(i=this._getOrReturnCtx(e,i),J(i,{validation:"ulid",code:G.invalid_string,message:o.message}),n.dirty());else if(o.kind==="url")try{new URL(e.data)}catch{i=this._getOrReturnCtx(e,i),J(i,{validation:"url",code:G.invalid_string,message:o.message}),n.dirty()}else o.kind==="regex"?(o.regex.lastIndex=0,o.regex.test(e.data)||(i=this._getOrReturnCtx(e,i),J(i,{validation:"regex",code:G.invalid_string,message:o.message}),n.dirty())):o.kind==="trim"?e.data=e.data.trim():o.kind==="includes"?e.data.includes(o.value,o.position)||(i=this._getOrReturnCtx(e,i),J(i,{code:G.invalid_string,validation:{includes:o.value,position:o.position},message:o.message}),n.dirty()):o.kind==="toLowerCase"?e.data=e.data.toLowerCase():o.kind==="toUpperCase"?e.data=e.data.toUpperCase():o.kind==="startsWith"?e.data.startsWith(o.value)||(i=this._getOrReturnCtx(e,i),J(i,{code:G.invalid_string,validation:{startsWith:o.value},message:o.message}),n.dirty()):o.kind==="endsWith"?e.data.endsWith(o.value)||(i=this._getOrReturnCtx(e,i),J(i,{code:G.invalid_string,validation:{endsWith:o.value},message:o.message}),n.dirty()):o.kind==="datetime"?g4(o).test(e.data)||(i=this._getOrReturnCtx(e,i),J(i,{code:G.invalid_string,validation:"datetime",message:o.message}),n.dirty()):o.kind==="date"?v4.test(e.data)||(i=this._getOrReturnCtx(e,i),J(i,{code:G.invalid_string,validation:"date",message:o.message}),n.dirty()):o.kind==="time"?m4(o).test(e.data)||(i=this._getOrReturnCtx(e,i),J(i,{code:G.invalid_string,validation:"time",message:o.message}),n.dirty()):o.kind==="duration"?a4.test(e.data)||(i=this._getOrReturnCtx(e,i),J(i,{validation:"duration",code:G.invalid_string,message:o.message}),n.dirty()):o.kind==="ip"?y4(e.data,o.version)||(i=this._getOrReturnCtx(e,i),J(i,{validation:"ip",code:G.invalid_string,message:o.message}),n.dirty()):o.kind==="jwt"?w4(e.data,o.alg)||(i=this._getOrReturnCtx(e,i),J(i,{validation:"jwt",code:G.invalid_string,message:o.message}),n.dirty()):o.kind==="cidr"?b4(e.data,o.version)||(i=this._getOrReturnCtx(e,i),J(i,{validation:"cidr",code:G.invalid_string,message:o.message}),n.dirty()):o.kind==="base64"?h4.test(e.data)||(i=this._getOrReturnCtx(e,i),J(i,{validation:"base64",code:G.invalid_string,message:o.message}),n.dirty()):o.kind==="base64url"?p4.test(e.data)||(i=this._getOrReturnCtx(e,i),J(i,{validation:"base64url",code:G.invalid_string,message:o.message}),n.dirty()):Ke.assertNever(o);return{status:n.value,value:e.data}}_regex(e,r,n){return this.refinement(i=>e.test(i),{validation:r,code:G.invalid_string,...re.errToObj(n)})}_addCheck(e){return new oo({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...re.errToObj(e)})}url(e){return this._addCheck({kind:"url",...re.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...re.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...re.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...re.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...re.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...re.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...re.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...re.errToObj(e)})}base64url(e){return this._addCheck({kind:"base64url",...re.errToObj(e)})}jwt(e){return this._addCheck({kind:"jwt",...re.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...re.errToObj(e)})}cidr(e){return this._addCheck({kind:"cidr",...re.errToObj(e)})}datetime(e){return typeof e=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:typeof(e==null?void 0:e.precision)>"u"?null:e==null?void 0:e.precision,offset:(e==null?void 0:e.offset)??!1,local:(e==null?void 0:e.local)??!1,...re.errToObj(e==null?void 0:e.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return typeof e=="string"?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:typeof(e==null?void 0:e.precision)>"u"?null:e==null?void 0:e.precision,...re.errToObj(e==null?void 0:e.message)})}duration(e){return this._addCheck({kind:"duration",...re.errToObj(e)})}regex(e,r){return this._addCheck({kind:"regex",regex:e,...re.errToObj(r)})}includes(e,r){return this._addCheck({kind:"includes",value:e,position:r==null?void 0:r.position,...re.errToObj(r==null?void 0:r.message)})}startsWith(e,r){return this._addCheck({kind:"startsWith",value:e,...re.errToObj(r)})}endsWith(e,r){return this._addCheck({kind:"endsWith",value:e,...re.errToObj(r)})}min(e,r){return this._addCheck({kind:"min",value:e,...re.errToObj(r)})}max(e,r){return this._addCheck({kind:"max",value:e,...re.errToObj(r)})}length(e,r){return this._addCheck({kind:"length",value:e,...re.errToObj(r)})}nonempty(e){return this.min(1,re.errToObj(e))}trim(){return new oo({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new oo({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new oo({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>e.kind==="datetime")}get isDate(){return!!this._def.checks.find(e=>e.kind==="date")}get isTime(){return!!this._def.checks.find(e=>e.kind==="time")}get isDuration(){return!!this._def.checks.find(e=>e.kind==="duration")}get isEmail(){return!!this._def.checks.find(e=>e.kind==="email")}get isURL(){return!!this._def.checks.find(e=>e.kind==="url")}get isEmoji(){return!!this._def.checks.find(e=>e.kind==="emoji")}get isUUID(){return!!this._def.checks.find(e=>e.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(e=>e.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(e=>e.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(e=>e.kind==="cuid2")}get isULID(){return!!this._def.checks.find(e=>e.kind==="ulid")}get isIP(){return!!this._def.checks.find(e=>e.kind==="ip")}get isCIDR(){return!!this._def.checks.find(e=>e.kind==="cidr")}get isBase64(){return!!this._def.checks.find(e=>e.kind==="base64")}get isBase64url(){return!!this._def.checks.find(e=>e.kind==="base64url")}get minLength(){let e=null;for(const r of this._def.checks)r.kind==="min"&&(e===null||r.value>e)&&(e=r.value);return e}get maxLength(){let e=null;for(const r of this._def.checks)r.kind==="max"&&(e===null||r.value<e)&&(e=r.value);return e}}oo.create=t=>new oo({checks:[],typeName:be.ZodString,coerce:(t==null?void 0:t.coerce)??!1,...Pe(t)});function x4(t,e){const r=(t.toString().split(".")[1]||"").length,n=(e.toString().split(".")[1]||"").length,i=r>n?r:n,o=Number.parseInt(t.toFixed(i).replace(".","")),a=Number.parseInt(e.toFixed(i).replace(".",""));return o%a/10**i}class fc extends Ve{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==te.number){const o=this._getOrReturnCtx(e);return J(o,{code:G.invalid_type,expected:te.number,received:o.parsedType}),we}let n;const i=new jr;for(const o of this._def.checks)o.kind==="int"?Ke.isInteger(e.data)||(n=this._getOrReturnCtx(e,n),J(n,{code:G.invalid_type,expected:"integer",received:"float",message:o.message}),i.dirty()):o.kind==="min"?(o.inclusive?e.data<o.value:e.data<=o.value)&&(n=this._getOrReturnCtx(e,n),J(n,{code:G.too_small,minimum:o.value,type:"number",inclusive:o.inclusive,exact:!1,message:o.message}),i.dirty()):o.kind==="max"?(o.inclusive?e.data>o.value:e.data>=o.value)&&(n=this._getOrReturnCtx(e,n),J(n,{code:G.too_big,maximum:o.value,type:"number",inclusive:o.inclusive,exact:!1,message:o.message}),i.dirty()):o.kind==="multipleOf"?x4(e.data,o.value)!==0&&(n=this._getOrReturnCtx(e,n),J(n,{code:G.not_multiple_of,multipleOf:o.value,message:o.message}),i.dirty()):o.kind==="finite"?Number.isFinite(e.data)||(n=this._getOrReturnCtx(e,n),J(n,{code:G.not_finite,message:o.message}),i.dirty()):Ke.assertNever(o);return{status:i.value,value:e.data}}gte(e,r){return this.setLimit("min",e,!0,re.toString(r))}gt(e,r){return this.setLimit("min",e,!1,re.toString(r))}lte(e,r){return this.setLimit("max",e,!0,re.toString(r))}lt(e,r){return this.setLimit("max",e,!1,re.toString(r))}setLimit(e,r,n,i){return new fc({...this._def,checks:[...this._def.checks,{kind:e,value:r,inclusive:n,message:re.toString(i)}]})}_addCheck(e){return new fc({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:re.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:re.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:re.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:re.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:re.toString(e)})}multipleOf(e,r){return this._addCheck({kind:"multipleOf",value:e,message:re.toString(r)})}finite(e){return this._addCheck({kind:"finite",message:re.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:re.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:re.toString(e)})}get minValue(){let e=null;for(const r of this._def.checks)r.kind==="min"&&(e===null||r.value>e)&&(e=r.value);return e}get maxValue(){let e=null;for(const r of this._def.checks)r.kind==="max"&&(e===null||r.value<e)&&(e=r.value);return e}get isInt(){return!!this._def.checks.find(e=>e.kind==="int"||e.kind==="multipleOf"&&Ke.isInteger(e.value))}get isFinite(){let e=null,r=null;for(const n of this._def.checks){if(n.kind==="finite"||n.kind==="int"||n.kind==="multipleOf")return!0;n.kind==="min"?(r===null||n.value>r)&&(r=n.value):n.kind==="max"&&(e===null||n.value<e)&&(e=n.value)}return Number.isFinite(r)&&Number.isFinite(e)}}fc.create=t=>new fc({checks:[],typeName:be.ZodNumber,coerce:(t==null?void 0:t.coerce)||!1,...Pe(t)});class hc extends Ve{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce)try{e.data=BigInt(e.data)}catch{return this._getInvalidInput(e)}if(this._getType(e)!==te.bigint)return this._getInvalidInput(e);let n;const i=new jr;for(const o of this._def.checks)o.kind==="min"?(o.inclusive?e.data<o.value:e.data<=o.value)&&(n=this._getOrReturnCtx(e,n),J(n,{code:G.too_small,type:"bigint",minimum:o.value,inclusive:o.inclusive,message:o.message}),i.dirty()):o.kind==="max"?(o.inclusive?e.data>o.value:e.data>=o.value)&&(n=this._getOrReturnCtx(e,n),J(n,{code:G.too_big,type:"bigint",maximum:o.value,inclusive:o.inclusive,message:o.message}),i.dirty()):o.kind==="multipleOf"?e.data%o.value!==BigInt(0)&&(n=this._getOrReturnCtx(e,n),J(n,{code:G.not_multiple_of,multipleOf:o.value,message:o.message}),i.dirty()):Ke.assertNever(o);return{status:i.value,value:e.data}}_getInvalidInput(e){const r=this._getOrReturnCtx(e);return J(r,{code:G.invalid_type,expected:te.bigint,received:r.parsedType}),we}gte(e,r){return this.setLimit("min",e,!0,re.toString(r))}gt(e,r){return this.setLimit("min",e,!1,re.toString(r))}lte(e,r){return this.setLimit("max",e,!0,re.toString(r))}lt(e,r){return this.setLimit("max",e,!1,re.toString(r))}setLimit(e,r,n,i){return new hc({...this._def,checks:[...this._def.checks,{kind:e,value:r,inclusive:n,message:re.toString(i)}]})}_addCheck(e){return new hc({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:re.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:re.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:re.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:re.toString(e)})}multipleOf(e,r){return this._addCheck({kind:"multipleOf",value:e,message:re.toString(r)})}get minValue(){let e=null;for(const r of this._def.checks)r.kind==="min"&&(e===null||r.value>e)&&(e=r.value);return e}get maxValue(){let e=null;for(const r of this._def.checks)r.kind==="max"&&(e===null||r.value<e)&&(e=r.value);return e}}hc.create=t=>new hc({checks:[],typeName:be.ZodBigInt,coerce:(t==null?void 0:t.coerce)??!1,...Pe(t)});class fm extends Ve{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==te.boolean){const n=this._getOrReturnCtx(e);return J(n,{code:G.invalid_type,expected:te.boolean,received:n.parsedType}),we}return rn(e.data)}}fm.create=t=>new fm({typeName:be.ZodBoolean,coerce:(t==null?void 0:t.coerce)||!1,...Pe(t)});class eh extends Ve{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==te.date){const o=this._getOrReturnCtx(e);return J(o,{code:G.invalid_type,expected:te.date,received:o.parsedType}),we}if(Number.isNaN(e.data.getTime())){const o=this._getOrReturnCtx(e);return J(o,{code:G.invalid_date}),we}const n=new jr;let i;for(const o of this._def.checks)o.kind==="min"?e.data.getTime()<o.value&&(i=this._getOrReturnCtx(e,i),J(i,{code:G.too_small,message:o.message,inclusive:!0,exact:!1,minimum:o.value,type:"date"}),n.dirty()):o.kind==="max"?e.data.getTime()>o.value&&(i=this._getOrReturnCtx(e,i),J(i,{code:G.too_big,message:o.message,inclusive:!0,exact:!1,maximum:o.value,type:"date"}),n.dirty()):Ke.assertNever(o);return{status:n.value,value:new Date(e.data.getTime())}}_addCheck(e){return new eh({...this._def,checks:[...this._def.checks,e]})}min(e,r){return this._addCheck({kind:"min",value:e.getTime(),message:re.toString(r)})}max(e,r){return this._addCheck({kind:"max",value:e.getTime(),message:re.toString(r)})}get minDate(){let e=null;for(const r of this._def.checks)r.kind==="min"&&(e===null||r.value>e)&&(e=r.value);return e!=null?new Date(e):null}get maxDate(){let e=null;for(const r of this._def.checks)r.kind==="max"&&(e===null||r.value<e)&&(e=r.value);return e!=null?new Date(e):null}}eh.create=t=>new eh({checks:[],coerce:(t==null?void 0:t.coerce)||!1,typeName:be.ZodDate,...Pe(t)});class Ox extends Ve{_parse(e){if(this._getType(e)!==te.symbol){const n=this._getOrReturnCtx(e);return J(n,{code:G.invalid_type,expected:te.symbol,received:n.parsedType}),we}return rn(e.data)}}Ox.create=t=>new Ox({typeName:be.ZodSymbol,...Pe(t)});class _x extends Ve{_parse(e){if(this._getType(e)!==te.undefined){const n=this._getOrReturnCtx(e);return J(n,{code:G.invalid_type,expected:te.undefined,received:n.parsedType}),we}return rn(e.data)}}_x.create=t=>new _x({typeName:be.ZodUndefined,...Pe(t)});class Nx extends Ve{_parse(e){if(this._getType(e)!==te.null){const n=this._getOrReturnCtx(e);return J(n,{code:G.invalid_type,expected:te.null,received:n.parsedType}),we}return rn(e.data)}}Nx.create=t=>new Nx({typeName:be.ZodNull,...Pe(t)});class jx extends Ve{constructor(){super(...arguments),this._any=!0}_parse(e){return rn(e.data)}}jx.create=t=>new jx({typeName:be.ZodAny,...Pe(t)});class Fx extends Ve{constructor(){super(...arguments),this._unknown=!0}_parse(e){return rn(e.data)}}Fx.create=t=>new Fx({typeName:be.ZodUnknown,...Pe(t)});class Ao extends Ve{_parse(e){const r=this._getOrReturnCtx(e);
vendor: 5,949 bytes, line 265
265return J(r,{code:G.invalid_type,expected:te.never,received:r.parsedType}),we}}Ao.create=t=>new Ao({typeName:be.ZodNever,...Pe(t)});class Ix extends Ve{_parse(e){if(this._getType(e)!==te.undefined){const n=this._getOrReturnCtx(e);return J(n,{code:G.invalid_type,expected:te.void,received:n.parsedType}),we}return rn(e.data)}}Ix.create=t=>new Ix({typeName:be.ZodVoid,...Pe(t)});class Kn extends Ve{_parse(e){const{ctx:r,status:n}=this._processInputParams(e),i=this._def;if(r.parsedType!==te.array)return J(r,{code:G.invalid_type,expected:te.array,received:r.parsedType}),we;if(i.exactLength!==null){const a=r.data.length>i.exactLength.value,s=r.data.length<i.exactLength.value;(a||s)&&(J(r,{code:a?G.too_big:G.too_small,minimum:s?i.exactLength.value:void 0,maximum:a?i.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:i.exactLength.message}),n.dirty())}if(i.minLength!==null&&r.data.length<i.minLength.value&&(J(r,{code:G.too_small,minimum:i.minLength.value,type:"array",inclusive:!0,exact:!1,message:i.minLength.message}),n.dirty()),i.maxLength!==null&&r.data.length>i.maxLength.value&&(J(r,{code:G.too_big,maximum:i.maxLength.value,type:"array",inclusive:!0,exact:!1,message:i.maxLength.message}),n.dirty()),r.common.async)return Promise.all([...r.data].map((a,s)=>i.type._parseAsync(new Ro(r,a,r.path,s)))).then(a=>jr.mergeArray(n,a));const o=[...r.data].map((a,s)=>i.type._parseSync(new Ro(r,a,r.path,s)));return jr.mergeArray(n,o)}get element(){return this._def.type}min(e,r){return new Kn({...this._def,minLength:{value:e,message:re.toString(r)}})}max(e,r){return new Kn({...this._def,maxLength:{value:e,message:re.toString(r)}})}length(e,r){return new Kn({...this._def,exactLength:{value:e,message:re.toString(r)}})}nonempty(e){return this.min(1,e)}}Kn.create=(t,e)=>new Kn({type:t,minLength:null,maxLength:null,exactLength:null,typeName:be.ZodArray,...Pe(e)});function ds(t){if(t instanceof yt){const e={};for(const r in t.shape){const n=t.shape[r];e[r]=yo.create(ds(n))}return new yt({...t._def,shape:()=>e})}else return t instanceof Kn?new Kn({...t._def,type:ds(t.element)}):t instanceof yo?yo.create(ds(t.unwrap())):t instanceof ll?ll.create(ds(t.unwrap())):t instanceof ka?ka.create(t.items.map(e=>ds(e))):t}class yt extends Ve{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const e=this._def.shape(),r=Ke.objectKeys(e);return this._cached={shape:e,keys:r},this._cached}_parse(e){if(this._getType(e)!==te.object){const l=this._getOrReturnCtx(e);return J(l,{code:G.invalid_type,expected:te.object,received:l.parsedType}),we}const{status:n,ctx:i}=this._processInputParams(e),{shape:o,keys:a}=this._getCached(),s=[];if(!(this._def.catchall instanceof Ao&&this._def.unknownKeys==="strip"))for(const l in i.data)a.includes(l)||s.push(l);const u=[];for(const l of a){const c=o[l],d=i.data[l];u.push({key:{status:"valid",value:l},value:c._parse(new Ro(i,d,i.path,l)),alwaysSet:l in i.data})}if(this._def.catchall instanceof Ao){const l=this._def.unknownKeys;if(l==="passthrough")for(const c of s)u.push({key:{status:"valid",value:c},value:{status:"valid",value:i.data[c]}});else if(l==="strict")s.length>0&&(J(i,{code:G.unrecognized_keys,keys:s}),n.dirty());else if(l!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const l=this._def.catchall;for(const c of s){const d=i.data[c];u.push({key:{status:"valid",value:c},value:l._parse(new Ro(i,d,i.path,c)),alwaysSet:c in i.data})}}return i.common.async?Promise.resolve().then(async()=>{const l=[];for(const c of u){const d=await c.key,h=await c.value;l.push({key:d,value:h,alwaysSet:c.alwaysSet})}return l}).then(l=>jr.mergeObjectSync(n,l)):jr.mergeObjectSync(n,u)}get shape(){return this._def.shape()}strict(e){return re.errToObj,new yt({...this._def,unknownKeys:"strict",...e!==void 0?{errorMap:(r,n)=>{var o,a;const i=((a=(o=this._def).errorMap)==null?void 0:a.call(o,r,n).message)??n.defaultError;return r.code==="unrecognized_keys"?{message:re.errToObj(e).message??i}:{message:i}}}:{}})}strip(){return new yt({...this._def,unknownKeys:"strip"})}passthrough(){return new yt({...this._def,unknownKeys:"passthrough"})}extend(e){return new yt({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new yt({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:be.ZodObject})}setKey(e,r){return this.augment({[e]:r})}catchall(e){return new yt({...this._def,catchall:e})}pick(e){const r={};for(const n of Ke.objectKeys(e))e[n]&&this.shape[n]&&(r[n]=this.shape[n]);return new yt({...this._def,shape:()=>r})}omit(e){const r={};for(const n of Ke.objectKeys(this.shape))e[n]||(r[n]=this.shape[n]);return new yt({...this._def,shape:()=>r})}deepPartial(){return ds(this)}partial(e){const r={};for(const n of Ke.objectKeys(this.shape)){const i=this.shape[n];e&&!e[n]?r[n]=i:r[n]=i.optional()}return new yt({...this._def,shape:()=>r})}required(e){const r={};for(const n of Ke.objectKeys(this.shape))if(e&&!e[n])r[n]=this.shape[n];else{let o=this.shape[n];for(;o instanceof yo;)o=o._def.innerType;r[n]=o}return new yt({...this._def,shape:()=>r})}keyof(){return qT(Ke.objectKeys(this.shape))}}yt.create=(t,e)=>new yt({shape:()=>t,unknownKeys:"strip",catchall:Ao.create(),typeName:be.ZodObject,...Pe(e)});yt.strictCreate=(t,e)=>new yt({shape:()=>t,unknownKeys:"strict",catchall:Ao.create(),typeName:be.ZodObject,...Pe(e)});yt.lazycreate=(t,e)=>new yt({shape:t,unknownKeys:"strip",catchall:Ao.create(),typeName:be.ZodObject,...Pe(e)});class th extends Ve{_parse(e){const{ctx:r}=this._processInputParams(e),n=this._def.options;function i(o){for(const s of o)if(s.result.status==="valid")return s.result;for(const s of o)if(s.result.status==="dirty")return r.common.issues.push(...s.ctx.common.issues),s.result;const a=o.map(s=>new bi(s.ctx.common.issues));
vendor: 3,330 bytes, line 265
265return J(r,{code:G.invalid_union,unionErrors:a}),we}if(r.common.async)return Promise.all(n.map(async o=>{const a={...r,common:{...r.common,issues:[]},parent:null};return{result:await o._parseAsync({data:r.data,path:r.path,parent:a}),ctx:a}})).then(i);{let o;const a=[];for(const u of n){const l={...r,common:{...r.common,issues:[]},parent:null},c=u._parseSync({data:r.data,path:r.path,parent:l});if(c.status==="valid")return c;c.status==="dirty"&&!o&&(o={result:c,ctx:l}),l.common.issues.length&&a.push(l.common.issues)}if(o)return r.common.issues.push(...o.ctx.common.issues),o.result;const s=a.map(u=>new bi(u));return J(r,{code:G.invalid_union,unionErrors:s}),we}}get options(){return this._def.options}}th.create=(t,e)=>new th({options:t,typeName:be.ZodUnion,...Pe(e)});function hm(t,e){const r=Vi(t),n=Vi(e);if(t===e)return{valid:!0,data:t};if(r===te.object&&n===te.object){const i=Ke.objectKeys(e),o=Ke.objectKeys(t).filter(s=>i.indexOf(s)!==-1),a={...t,...e};for(const s of o){const u=hm(t[s],e[s]);if(!u.valid)return{valid:!1};a[s]=u.data}return{valid:!0,data:a}}else if(r===te.array&&n===te.array){if(t.length!==e.length)return{valid:!1};const i=[];for(let o=0;o<t.length;o++){const a=t[o],s=e[o],u=hm(a,s);if(!u.valid)return{valid:!1};i.push(u.data)}return{valid:!0,data:i}}else return r===te.date&&n===te.date&&+t==+e?{valid:!0,data:t}:{valid:!1}}class rh extends Ve{_parse(e){const{status:r,ctx:n}=this._processInputParams(e),i=(o,a)=>{if(Px(o)||Px(a))return we;const s=hm(o.value,a.value);return s.valid?((Rx(o)||Rx(a))&&r.dirty(),{status:r.value,value:s.data}):(J(n,{code:G.invalid_intersection_types}),we)};return n.common.async?Promise.all([this._def.left._parseAsync({data:n.data,path:n.path,parent:n}),this._def.right._parseAsync({data:n.data,path:n.path,parent:n})]).then(([o,a])=>i(o,a)):i(this._def.left._parseSync({data:n.data,path:n.path,parent:n}),this._def.right._parseSync({data:n.data,path:n.path,parent:n}))}}rh.create=(t,e,r)=>new rh({left:t,right:e,typeName:be.ZodIntersection,...Pe(r)});class ka extends Ve{_parse(e){const{status:r,ctx:n}=this._processInputParams(e);if(n.parsedType!==te.array)return J(n,{code:G.invalid_type,expected:te.array,received:n.parsedType}),we;if(n.data.length<this._def.items.length)return J(n,{code:G.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),we;!this._def.rest&&n.data.length>this._def.items.length&&(J(n,{code:G.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),r.dirty());const o=[...n.data].map((a,s)=>{const u=this._def.items[s]||this._def.rest;return u?u._parse(new Ro(n,a,n.path,s)):null}).filter(a=>!!a);return n.common.async?Promise.all(o).then(a=>jr.mergeArray(r,a)):jr.mergeArray(r,o)}get items(){return this._def.items}rest(e){return new ka({...this._def,rest:e})}}ka.create=(t,e)=>{if(!Array.isArray(t))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new ka({items:t,typeName:be.ZodTuple,rest:null,...Pe(e)})};class Dx extends Ve{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:r,ctx:n}=this._processInputParams(e);if(n.parsedType!==te.map)return J(n,{code:G.invalid_type,expected:te.map,received:n.parsedType}),we;const i=this._def.keyType,o=this._def.valueType,a=[...n.data.entries()].map(([s,u],l)=>
vendor: 4,106 bytes, line 265
265({key:i._parse(new Ro(n,s,n.path,[l,"key"])),value:o._parse(new Ro(n,u,n.path,[l,"value"]))}));if(n.common.async){const s=new Map;return Promise.resolve().then(async()=>{for(const u of a){const l=await u.key,c=await u.value;if(l.status==="aborted"||c.status==="aborted")return we;(l.status==="dirty"||c.status==="dirty")&&r.dirty(),s.set(l.value,c.value)}return{status:r.value,value:s}})}else{const s=new Map;for(const u of a){const l=u.key,c=u.value;if(l.status==="aborted"||c.status==="aborted")return we;(l.status==="dirty"||c.status==="dirty")&&r.dirty(),s.set(l.value,c.value)}return{status:r.value,value:s}}}}Dx.create=(t,e,r)=>new Dx({valueType:e,keyType:t,typeName:be.ZodMap,...Pe(r)});class pc extends Ve{_parse(e){const{status:r,ctx:n}=this._processInputParams(e);if(n.parsedType!==te.set)return J(n,{code:G.invalid_type,expected:te.set,received:n.parsedType}),we;const i=this._def;i.minSize!==null&&n.data.size<i.minSize.value&&(J(n,{code:G.too_small,minimum:i.minSize.value,type:"set",inclusive:!0,exact:!1,message:i.minSize.message}),r.dirty()),i.maxSize!==null&&n.data.size>i.maxSize.value&&(J(n,{code:G.too_big,maximum:i.maxSize.value,type:"set",inclusive:!0,exact:!1,message:i.maxSize.message}),r.dirty());const o=this._def.valueType;function a(u){const l=new Set;for(const c of u){if(c.status==="aborted")return we;c.status==="dirty"&&r.dirty(),l.add(c.value)}return{status:r.value,value:l}}const s=[...n.data.values()].map((u,l)=>o._parse(new Ro(n,u,n.path,l)));return n.common.async?Promise.all(s).then(u=>a(u)):a(s)}min(e,r){return new pc({...this._def,minSize:{value:e,message:re.toString(r)}})}max(e,r){return new pc({...this._def,maxSize:{value:e,message:re.toString(r)}})}size(e,r){return this.min(e,r).max(e,r)}nonempty(e){return this.min(1,e)}}pc.create=(t,e)=>new pc({valueType:t,minSize:null,maxSize:null,typeName:be.ZodSet,...Pe(e)});class Mx extends Ve{get schema(){return this._def.getter()}_parse(e){const{ctx:r}=this._processInputParams(e);return this._def.getter()._parse({data:r.data,path:r.path,parent:r})}}Mx.create=(t,e)=>new Mx({getter:t,typeName:be.ZodLazy,...Pe(e)});class Lx extends Ve{_parse(e){if(e.data!==this._def.value){const r=this._getOrReturnCtx(e);return J(r,{received:r.data,code:G.invalid_literal,expected:this._def.value}),we}return{status:"valid",value:e.data}}get value(){return this._def.value}}Lx.create=(t,e)=>new Lx({value:t,typeName:be.ZodLiteral,...Pe(e)});function qT(t,e){return new al({values:t,typeName:be.ZodEnum,...Pe(e)})}class al extends Ve{_parse(e){if(typeof e.data!="string"){const r=this._getOrReturnCtx(e),n=this._def.values;return J(r,{expected:Ke.joinValues(n),received:r.parsedType,code:G.invalid_type}),we}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(e.data)){const r=this._getOrReturnCtx(e),n=this._def.values;return J(r,{received:r.data,code:G.invalid_enum_value,options:n}),we}return rn(e.data)}get options(){return this._def.values}get enum(){const e={};for(const r of this._def.values)e[r]=r;return e}get Values(){const e={};for(const r of this._def.values)e[r]=r;return e}get Enum(){const e={};for(const r of this._def.values)e[r]=r;return e}extract(e,r=this._def){return al.create(e,{...this._def,...r})}exclude(e,r=this._def){return al.create(this.options.filter(n=>!e.includes(n)),{...this._def,...r})}}al.create=qT;class Bx extends Ve{_parse(e){const r=Ke.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(e);if(n.parsedType!==te.string&&n.parsedType!==te.number){const i=Ke.objectValues(r);return J(n,{expected:Ke.joinValues(i),received:n.parsedType,code:G.invalid_type}),we}if(this._cache||(this._cache=new Set(Ke.getValidEnumValues(this._def.values))),!this._cache.has(e.data)){const i=Ke.objectValues(r);return J(n,{received:n.data,code:G.invalid_enum_value,options:i}),we}return rn(e.data)}get enum(){return this._def.values}}Bx.create=(t,e)=>new Bx({values:t,typeName:be.ZodNativeEnum,...Pe(e)});class nh extends Ve{unwrap(){return this._def.type}_parse(e){const{ctx:r}=this._processInputParams(e);if(r.parsedType!==te.promise&&r.common.async===!1)return J(r,{code:G.invali
vendor: 8,223 bytes, line 265
265d_type,expected:te.promise,received:r.parsedType}),we;const n=r.parsedType===te.promise?r.data:Promise.resolve(r.data);return rn(n.then(i=>this._def.type.parseAsync(i,{path:r.path,errorMap:r.common.contextualErrorMap})))}}nh.create=(t,e)=>new nh({type:t,typeName:be.ZodPromise,...Pe(e)});class sl extends Ve{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===be.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){const{status:r,ctx:n}=this._processInputParams(e),i=this._def.effect||null,o={addIssue:a=>{J(n,a),a.fatal?r.abort():r.dirty()},get path(){return n.path}};if(o.addIssue=o.addIssue.bind(o),i.type==="preprocess"){const a=i.transform(n.data,o);if(n.common.async)return Promise.resolve(a).then(async s=>{if(r.value==="aborted")return we;const u=await this._def.schema._parseAsync({data:s,path:n.path,parent:n});return u.status==="aborted"?we:u.status==="dirty"||r.value==="dirty"?nu(u.value):u});{if(r.value==="aborted")return we;const s=this._def.schema._parseSync({data:a,path:n.path,parent:n});return s.status==="aborted"?we:s.status==="dirty"||r.value==="dirty"?nu(s.value):s}}if(i.type==="refinement"){const a=s=>{const u=i.refinement(s,o);if(n.common.async)return Promise.resolve(u);if(u instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return s};if(n.common.async===!1){const s=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});return s.status==="aborted"?we:(s.status==="dirty"&&r.dirty(),a(s.value),{status:r.value,value:s.value})}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(s=>s.status==="aborted"?we:(s.status==="dirty"&&r.dirty(),a(s.value).then(()=>({status:r.value,value:s.value}))))}if(i.type==="transform")if(n.common.async===!1){const a=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!ol(a))return we;const s=i.transform(a.value,o);if(s instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:r.value,value:s}}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(a=>ol(a)?Promise.resolve(i.transform(a.value,o)).then(s=>({status:r.value,value:s})):we);Ke.assertNever(i)}}sl.create=(t,e,r)=>new sl({schema:t,typeName:be.ZodEffects,effect:e,...Pe(r)});sl.createWithPreprocess=(t,e,r)=>new sl({schema:e,effect:{type:"preprocess",transform:t},typeName:be.ZodEffects,...Pe(r)});class yo extends Ve{_parse(e){return this._getType(e)===te.undefined?rn(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}yo.create=(t,e)=>new yo({innerType:t,typeName:be.ZodOptional,...Pe(e)});class ll extends Ve{_parse(e){return this._getType(e)===te.null?rn(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}ll.create=(t,e)=>new ll({innerType:t,typeName:be.ZodNullable,...Pe(e)});class pm extends Ve{_parse(e){const{ctx:r}=this._processInputParams(e);let n=r.data;return r.parsedType===te.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:r.path,parent:r})}removeDefault(){return this._def.innerType}}pm.create=(t,e)=>new pm({innerType:t,typeName:be.ZodDefault,defaultValue:typeof e.default=="function"?e.default:()=>e.default,...Pe(e)});class vm extends Ve{_parse(e){const{ctx:r}=this._processInputParams(e),n={...r,common:{...r.common,issues:[]}},i=this._def.innerType._parse({data:n.data,path:n.path,parent:{...n}});return $f(i)?i.then(o=>({status:"valid",value:o.status==="valid"?o.value:this._def.catchValue({get error(){return new bi(n.common.issues)},input:n.data})})):{status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new bi(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}}vm.create=(t,e)=>new vm({innerType:t,typeName:be.ZodCatch,catchValue:typeof e.catch=="function"?e.catch:()=>e.catch,...Pe(e)});class Ux extends Ve{_parse(e){if(this._getType(e)!==te.nan){const n=this._getOrReturnCtx(e);return J(n,{code:G.invalid_type,expected:te.nan,received:n.parsedType}),we}return{status:"valid",value:e.data}}}Ux.create=t=>new Ux({typeName:be.ZodNaN,...Pe(t)});class S4 extends Ve{_parse(e){const{ctx:r}=this._processInputParams(e),n=r.data;return this._def.type._parse({data:n,path:r.path,parent:r})}unwrap(){return this._def.type}}class gy extends Ve{_parse(e){const{status:r,ctx:n}=this._processInputParams(e);if(n.common.async)return(async()=>{const o=await this._def.in._parseAsync({data:n.data,path:n.path,parent:n});return o.status==="aborted"?we:o.status==="dirty"?(r.dirty(),nu(o.value)):this._def.out._parseAsync({data:o.value,path:n.path,parent:n})})();{const i=this._def.in._parseSync({data:n.data,path:n.path,parent:n});return i.status==="aborted"?we:i.status==="dirty"?(r.dirty(),{status:"dirty",value:i.value}):this._def.out._parseSync({data:i.value,path:n.path,parent:n})}}static create(e,r){return new gy({in:e,out:r,typeName:be.ZodPipeline})}}class mm extends Ve{_parse(e){const r=this._def.innerType._parse(e),n=i=>(ol(i)&&(i.value=Object.freeze(i.value)),i);return $f(r)?r.then(i=>n(i)):n(r)}unwrap(){return this._def.innerType}}mm.create=(t,e)=>new mm({innerType:t,typeName:be.ZodReadonly,...Pe(e)});yt.lazycreate;var be;(function(t){t.ZodString="ZodString",t.ZodNumber="ZodNumber",t.ZodNaN="ZodNaN",t.ZodBigInt="ZodBigInt",t.ZodBoolean="ZodBoolean",t.ZodDate="ZodDate",t.ZodSymbol="ZodSymbol",t.ZodUndefined="ZodUndefined",t.ZodNull="ZodNull",t.ZodAny="ZodAny",t.ZodUnknown="ZodUnknown",t.ZodNever="ZodNever",t.ZodVoid="ZodVoid",t.ZodArray="ZodArray",t.ZodObject="ZodObject",t.ZodUnion="ZodUnion",t.ZodDiscriminatedUnion="ZodDiscriminatedUnion",t.ZodIntersection="ZodIntersection",t.ZodTuple="ZodTuple",t.ZodRecord="ZodRecord",t.ZodMap="ZodMap",t.ZodSet="ZodSet",t.ZodFunction="ZodFunction",t.ZodLazy="ZodLazy",t.ZodLiteral="ZodLiteral",t.ZodEnum="ZodEnum",t.ZodEffects="ZodEffects",t.ZodNativeEnum="ZodNativeEnum",t.ZodOptional="ZodOptional",t.ZodNullable="ZodNullable",t.ZodDefault="ZodDefault",t.ZodCatch="ZodCatch",t.ZodPromise="ZodPromise",t.ZodBranded="ZodBranded",t.ZodPipeline="ZodPipeline",t.ZodReadonly="ZodReadonly"})(be||(be={}));const Vl=oo.create,k4=fm.create;Ao.create;Kn.create;const C4=yt.create;yt.strictCreate;th.create;rh.create;ka.create;al.create;nh.create;yo.create;ll.create;const ih=[{id:"audi",name:"Audi",models:[{id:"e-tron-gt",name:"e-tron GT",chargerType:"Type 2"},{id:"q4-e-tron",name:"Q4 e-tron",chargerType:"Type 2"},{id:"q8-e-tron",name:"Q8 e-tron",chargerType:"Type 2"}]},{id:"bmw",name:"BMW",models:[{id:"i4",name:"i4",chargerType:"Type 2"},{id:"i5",name:"i5",chargerType:"Type 2"},{id:"i7",name:"i7",chargerType:"Type 2"},{id:"ix1",name:"iX1",chargerType:"Type 2"},{id:"ix3",name:"iX3",chargerType:"Type 2"}]},{id:"byd",name:"BYD",models:[{id:"dolphin",name:"Dolphin",chargerType:"Type 2"},{id:"dolphin-mini",name:"Dolphin Mini",chargerType:"Type 2"},{id:"king",name:"King",chargerType:"Type 2"},{id:"seal",name:"Seal",chargerType:"Type 2"},{id:"song-plus",name:"Song Plus",chargerType:"Type 2"},{id:"tan",name:"Tan",chargerType:"Type 2"},{id:"yuan-plus",name:"Yuan Plus",chargerType:"Type 2"}]},{id:"caoa-chery",name:"CAOA Chery",models:[{id:"icool",name:"iCar",chargerType:"Type 2"},{id:"arrizo-6",name:"Arrizo 6 Híbrido",chargerType:"Type 2"}]},{id:"chevrolet",name:"Chevrolet",models:[{id:"bolt-ev",name:"Bolt EV",chargerType:"Type 1"},{id:"bolt-euv",name:"Bolt EUV",chargerType:"Type 1"},{id:"equinox-ev",name:"Equinox EV",chargerType:"Type 2"}]},{id:"fiat",name:"Fiat",models:[{id:"500e",name:"500e",chargerType:"Type 2"}]},{id:"ford",name:"Ford",models:[{id:"mustang-mach-e",name:"Mustang Mach-E",chargerType:"Type 2"}]},{id:"gwm",name:"GWM",models:[{id:"ora-03-skin",name:"Ora 03 Skin",chargerType:"Type 2"},{id:"ora-03-gt",name:"Ora 03 GT",chargerType:"Type 2"}]},{id:"hyundai",name:"Hyundai",models:[{id:"ioniq-5",name:"IONIQ 5",chargerType:"Type 2"},{id:"ioniq-6",name:"IONIQ 6",chargerType:"Type 2"},{id:"kona-ev",name:"Kona EV",chargerType:"Type 2"}]},{id:"jac",name:"JAC",models:[{id:"e-js1",name:"E-JS1",chargerType:"Type 2"},{id:"e-j7",name:"E-J7",chargerType:"Type 2"}]}
265,{id:"jaguar",name:"Jaguar",models:[{id:"i-pace",name:"I-PACE",chargerType:"Type 2"}]},{id:"kia",name:"Kia",models:[{id:"ev6",name:"EV6",chargerType:"Type 2"},{id:"niro-ev",name:"Niro EV",chargerType:"Type 2"},{id:"soul-ev",name:"Soul EV",chargerType:"Type 2"}]},{id:"lexus",name:"Lexus",models:[{id:"rz-450e",name:"RZ 450e",chargerType:"Type 2"},{id:"ux-300e",name:"UX 300e",chargerType:"Type 2"}]},{id:"mercedes",name:"Mercedes-Benz",models:[{id:"eqa",name:"EQA",chargerType:"Type 2"},{id:"eqb",name:"EQB",chargerType:"Type 2"},{id:"eqe",name:"EQE",chargerType:"Type 2"},{id:"eqs",name:"EQS",chargerType:"Type 2"}]},{id:"mini",name:"Mini",models:[{id:"cooper-se",name:"Cooper SE",chargerType:"Type 2"},{id:"countryman-se",name:"Countryman SE",chargerType:"Type 2"}]},{id:"nissan",name:"Nissan",models:[{id:"leaf",name:"Leaf",chargerType:"Type 1"},{id:"ariya",name:"Ariya",chargerType:"Type 2"}]},{id:"peugeot",name:"Peugeot",models:[{id:"e-208",name:"e-208",chargerType:"Type 2"},{id:"e-2008",name:"e-2008",chargerType:"Type 2"}]},{id:"porsche",name:"Porsche",models:[{id:"macan-electric",name:"Macan Electric",chargerType:"Type 2"},{id:"taycan",name:"Taycan",chargerType:"Type 2"},{id:"taycan-cross",name:"Taycan Cross Turismo",chargerType:"Type 2"}]},{id:"renault",name:"Renault",models:[{id:"kwid-e-tech",name:"Kwid E-Tech",chargerType:"Type 2"},{id:"megane-e-tech",name:"Megane E-Tech",chargerType:"Type 2"},{id:"zoe",name:"Zoe",chargerType:"Type 2"}]},{id:"tesla",name:"Tesla",models:[{id:"model-3",name:"Model 3",chargerType:"Type 2"},{id:"model-s",name:"Model S",chargerType:"Type 2"},{id:"model-x",name:"Model X",chargerType:"Type 2"},{id:"model-y",name:"Model Y",chargerType:"Type 2"}]},{id:"volkswagen",name:"Volkswagen",models:[{id:"id3",name:"ID.3",chargerType:"Type 2"},{id:"id4",name:"ID.4",chargerType:"Type 2"},{id:"id-buzz",name:"ID.Buzz",chargerType:"Type 2"}]},{id:"volvo",name:"Volvo",models:[{id:"c40",name:"C40 Recharge",chargerType:"Type 2"},{id:"ex30",name:"EX30",chargerType:"Type 2"},{id:"ex90",name:"EX90",chargerType:"Type 2"},{id:"xc40-recharge",name:"XC40 Recharge",chargerType:"Type 2"}]}],HT=[{city:"São Paulo",state:"SP"},{city:"Campinas",state:"SP"},{city:"Santos",state:"SP"},{city:"São Bernardo do Campo",state:"SP"},{city:"Santo André",state:"SP"},{city:"Osasco",state:"SP"},{city:"Guarulhos",state:"SP"},{city:"Ribeirão Preto",state:"SP"},{city:"Sorocaba",state:"SP"},{city:"Rio de Janeiro",state:"RJ"},{city:"Niterói",state:"RJ"},{city:"Belo Horizonte",state:"MG"},{city:"Curitiba",state:"PR"},{city:"Porto Alegre",state:"RS"},{city:"Brasília",state:"DF"},{city:"Florianópolis",state:"SC"}],kd={BASE_COST_PER_METER:100,MIN_DISTANCE:0,MAX_DISTANCE:200,VARIANCE_PERCENTAGE:.12};function KT(t){const{distance:e,housingType:r,garageType:n,parkingCoverage:i}=t;if(e>kd.MAX_DISTANCE)return{type:"technical_visit_required",reason:"distance_over_limit"};if(r==="commercial_building")return{type:"technical_visit_required",reason:"commercial_building"};const o=kd.BASE_COST_PER_METER*e,a=r==="residential_building"?o/4:0,s=n==="open"?o/4:0,u=i==="uncovered"?o/4:0,l=o+a+s+u,c=Math.round(l*(1-kd.VARIANCE_PERCENTAGE)/100)*100,d=Math.round(l*(1+kd.VARIANCE_PERCENTAGE)/100)*100;return{type:"calculated",min:Math.max(c,0),max:Math.max(d,0)}}function zx(t){return new Intl.NumberFormat("pt-BR",{style:"currency",currency:"BRL",minimumFractionDigits:0,maximumFractionDigits:0}).format(t)}const E4=C4({cep:Vl(),logradouro:Vl().optional().default(""),bairro:Vl().optional().default(""),localidade:Vl().min(1),uf:Vl().length(2),erro:k4().optional()});async function T4(t){const e=t.replace(/\D/g,"");if(e.length!==8)return null;try{const r=await fetch(`https://viacep.com.br/ws/${e}/json/`);if(r.ok){const n=await r.json(),i=E4.parse(n);if(!i.erro)return i}}catch{}try{const r=await fetch(`https://brasilapi.com.br/api/cep/v1/${e}`);if(!r.ok)return null;const n=await r.json();if(n.city&&n.state)return{cep:e,logradouro:n.street||"",bairro:n.neighborhood||"",localidade:n.city,uf:n.state}}catch{}return null}function GT(t,e){return HT.some(r=>r.city.toLowerCase()===t.toLowerCase()&&r.state.toLowerCase()===e.toLowerCase())}function P4(t){const e=t.replace(/\D/g,"");return e.length<=5?e:`${e.slice(0,5)}-${e.slice(5,8)}`}function R4({currentStep:t,totalSteps:e}){const r=t/e*100;return b.jsxs("div",{className:"w-full mb-8",children:[b.jsx("div",{className:"flex justify-between mb-2",children:Array.from({length:e},(n,i)=>i+1).map(n=>b.jsx("div",{className:`flex items-center justify-center w-8 h-8 rounded-full text-sm font-semibold transition-all duration-300 ${n<t?"bg-primary text-primary-foreground":n===t?"bg-primary text-primary-foreground shadow-button animate-pulse-glow":"bg-secondary text-muted-foreground"}`,children:n<t?b.jsx("svg",{className:"w-4 h-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:b.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})}):n},n))}),b.jsx("div",{className:"h-1 bg-secondary rounded-full overflow-hidden",children:b.jsx("div",{className:"h-full bg-gradient-primary transition-all duration-500 ease-out",style:{width:`${r}%`}})})]})}function oh(t,[e,r]){return Math.min(r,Math.max(e,t))}var A4=x.createContext(void 0);function XT(t){const e=x.useContext(A4);return t||e||"ltr"}var xv=0;function O4(){x.useEffect(()=>{const t=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",t[0]??Vx()),document.body.insertAdjacentElement("beforeend",t[1]??Vx()),xv++,()=>{xv===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e
vendor: 4,220 bytes, line 265
265=>e.remove()),xv--}},[])}function Vx(){const t=document.createElement("span");return t.setAttribute("data-radix-focus-guard",""),t.tabIndex=0,t.style.outline="none",t.style.opacity="0",t.style.position="fixed",t.style.pointerEvents="none",t}var Sv="focusScope.autoFocusOnMount",kv="focusScope.autoFocusOnUnmount",Wx={bubbles:!1,cancelable:!0},_4="FocusScope",ZT=x.forwardRef((t,e)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:i,onUnmountAutoFocus:o,...a}=t,[s,u]=x.useState(null),l=Pn(i),c=Pn(o),d=x.useRef(null),h=Je(e,p=>u(p)),f=x.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;x.useEffect(()=>{if(n){let p=function(w){if(f.paused||!s)return;const S=w.target;s.contains(S)?d.current=S:Di(d.current,{select:!0})},g=function(w){if(f.paused||!s)return;const S=w.relatedTarget;S!==null&&(s.contains(S)||Di(d.current,{select:!0}))},v=function(w){if(document.activeElement===document.body)for(const k of w)k.removedNodes.length>0&&Di(s)};document.addEventListener("focusin",p),document.addEventListener("focusout",g);const y=new MutationObserver(v);return s&&y.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",p),document.removeEventListener("focusout",g),y.disconnect()}}},[n,s,f.paused]),x.useEffect(()=>{if(s){Hx.add(f);const p=document.activeElement;if(!s.contains(p)){const v=new CustomEvent(Sv,Wx);s.addEventListener(Sv,l),s.dispatchEvent(v),v.defaultPrevented||(N4(M4(YT(s)),{select:!0}),document.activeElement===p&&Di(s))}return()=>{s.removeEventListener(Sv,l),setTimeout(()=>{const v=new CustomEvent(kv,Wx);s.addEventListener(kv,c),s.dispatchEvent(v),v.defaultPrevented||Di(p??document.body,{select:!0}),s.removeEventListener(kv,c),Hx.remove(f)},0)}}},[s,l,c,f]);const m=x.useCallback(p=>{if(!r&&!n||f.paused)return;const g=p.key==="Tab"&&!p.altKey&&!p.ctrlKey&&!p.metaKey,v=document.activeElement;if(g&&v){const y=p.currentTarget,[w,S]=j4(y);w&&S?!p.shiftKey&&v===S?(p.preventDefault(),r&&Di(w,{select:!0})):p.shiftKey&&v===w&&(p.preventDefault(),r&&Di(S,{select:!0})):v===y&&p.preventDefault()}},[r,n,f.paused]);return b.jsx(Ne.div,{tabIndex:-1,...a,ref:h,onKeyDown:m})});ZT.displayName=_4;function N4(t,{select:e=!1}={}){const r=document.activeElement;for(const n of t)if(Di(n,{select:e}),document.activeElement!==r)return}function j4(t){const e=YT(t),r=qx(e,t),n=qx(e.reverse(),t);return[r,n]}function YT(t){const e=[],r=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const i=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||i?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)e.push(r.currentNode);return e}function qx(t,e){for(const r of t)if(!F4(r,{upTo:e}))return r}function F4(t,{upTo:e}){if(getComputedStyle(t).visibility==="hidden")return!0;for(;t;){if(e!==void 0&&t===e)return!1;if(getComputedStyle(t).display==="none")return!0;t=t.parentElement}return!1}function I4(t){return t instanceof HTMLInputElement&&"select"in t}function Di(t,{select:e=!1}={}){if(t&&t.focus){const r=document.activeElement;t.focus({preventScroll:!0}),t!==r&&I4(t)&&e&&t.select()}}var Hx=D4();function D4(){let t=[];return{add(e){const r=t[0];e!==r&&(r==null||r.pause()),t=Kx(t,e),t.unshift(e)},remove(e){var r;t=Kx(t,e),(r=t[0])==null||r.resume()}}}function Kx(t,e){const r=[...t],n=r.indexOf(e);return n!==-1&&r.splice(n,1),r}function M4(t){return t.filter(e=>e.tagName!=="A")}function yy(t){const e=x.useRef({value:t,previous:t});return x.useMemo(()=>(e.current.value!==t&&(e.current.previous=e.current.value,e.current.value=t),e.current.previous),[t])}var L4=function(t){if(typeof document>"u")return null;var e=Array.isArray(t)?t[0]:t;return e.ownerDocument.body},$a=new WeakMap,Cd=new WeakMap,Ed={},Cv=0,JT=function(t){return t&&(t.host||JT(t.parentNode))},B4=function(t,e){return e.map(function(r){if(t.contains(r))return r;var n=JT(r);return n&&t.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",t,". Doing nothing"),null)}).filter(function(r){return!!r})},U4=function(t,e,r,n){var i=B4(e,Array.isArray(t)?t:[t]);Ed[r]||(Ed[r]=new WeakMap);var o=Ed[r],a=[],s=new Set,u=new Set(i),l=function(d){!d||s.has(d)||(s.add(d),l(d.parentNode))};
vendor: 7,011 bytes, lines 265-280
265i.forEach(l);var c=function(d){!d||u.has(d)||Array.prototype.forEach.call(d.children,function(h){if(s.has(h))c(h);else try{var f=h.getAttribute(n),m=f!==null&&f!=="false",p=($a.get(h)||0)+1,g=(o.get(h)||0)+1;$a.set(h,p),o.set(h,g),a.push(h),p===1&&m&&Cd.set(h,!0),g===1&&h.setAttribute(r,"true"),m||h.setAttribute(n,"true")}catch(v){console.error("aria-hidden: cannot operate on ",h,v)}})};return c(e),s.clear(),Cv++,function(){a.forEach(function(d){var h=$a.get(d)-1,f=o.get(d)-1;$a.set(d,h),o.set(d,f),h||(Cd.has(d)||d.removeAttribute(n),Cd.delete(d)),f||d.removeAttribute(r)}),Cv--,Cv||($a=new WeakMap,$a=new WeakMap,Cd=new WeakMap,Ed={})}},z4=function(t,e,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(t)?t:[t]),i=L4(t);return i?(n.push.apply(n,Array.from(i.querySelectorAll("[aria-live]"))),U4(n,i,r,"aria-hidden")):function(){return null}},Gi=function(){return Gi=Object.assign||function(e){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},Gi.apply(this,arguments)};function V4(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(t);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]]);return r}function W4(t,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,o;n<i;n++)(o||!(n in e))&&(o||(o=Array.prototype.slice.call(e,0,n)),o[n]=e[n]);return t.concat(o||Array.prototype.slice.call(e))}var af="right-scroll-bar-position",sf="width-before-scroll-bar",q4="with-scroll-bars-hidden",H4="--removed-body-scroll-bar-size";function Ev(t,e){return typeof t=="function"?t(e):t&&(t.current=e),t}function K4(t,e){var r=x.useState(function(){return{value:t,callback:e,facade:{get current(){return r.value},set current(n){var i=r.value;i!==n&&(r.value=n,r.callback(n,i))}}}})[0];return r.callback=e,r.facade}var G4=typeof window<"u"?x.useLayoutEffect:x.useEffect,Gx=new WeakMap;function X4(t,e){var r=K4(null,function(n){return t.forEach(function(i){return Ev(i,n)})});return G4(function(){var n=Gx.get(r);if(n){var i=new Set(n),o=new Set(t),a=r.current;i.forEach(function(s){o.has(s)||Ev(s,null)}),o.forEach(function(s){i.has(s)||Ev(s,a)})}Gx.set(r,t)},[t]),r}var ah=function(){return ah=Object.assign||function(e){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},ah.apply(this,arguments)};function Z4(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(t);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]]);return r}function Y4(t){return t}function J4(t,e){e===void 0&&(e=Y4);var r=[],n=!1,i={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:t},useMedium:function(o){var a=e(o,n);return r.push(a),function(){r=r.filter(function(s){return s!==a})}},assignSyncMedium:function(o){for(n=!0;r.length;){var a=r;r=[],a.forEach(o)}r={push:function(s){return o(s)},filter:function(){return r}}},assignMedium:function(o){n=!0;var a=[];if(r.length){var s=r;r=[],s.forEach(o),a=r}var u=function(){var c=a;a=[],c.forEach(o)},l=function(){return Promise.resolve().then(u)};l(),r={push:function(c){a.push(c),l()},filter:function(c){return a=a.filter(c),r}}}};return i}function Q4(t){t===void 0&&(t={});var e=J4(null);return e.options=ah({async:!0,ssr:!1},t),e}var QT=function(t){var e=t.sideCar,r=Z4(t,["sideCar"]);if(!e)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=e.read();if(!n)throw new Error("Sidecar medium not found");return x.createElement(n,ah({},r))};QT.isSideCarExport=!0;function $4(t,e){return t.useMedium(e),QT}var $T=Q4(),Tv=function(){},ip=x.forwardRef(function(t,e){var r=x.useRef(null),n=x.useState({onScrollCapture:Tv,onWheelCapture:Tv,onTouchMoveCapture:Tv}),i=n[0],o=n[1],a=t.forwardProps,s=t.children,u=t.className,l=t.removeScrollBar,c=t.enabled,d=t.shards,h=t.sideCar,f=t.noRelative,m=t.noIsolation,p=t.inert,g=t.allowPinchZoom,v=t.as,y=v===void 0?"div":v,w=t.gapMode,S=V4(t,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),k=h,C=X4([r,e]),E=Gi(Gi({},S),i);return x.createElement(x.Fragment,null,c&&x.createElement(k,{sideCar:$T,removeScrollBar:l,shards:d,noRelative:f,noIsolation:m,inert:p,setCallbacks:o,allowPinchZoom:!!g,lockRef:r,gapMode:w}),a?x.cloneElement(x.Children.only(s),Gi(Gi({},E),{ref:C})):x.createElement(y,Gi({},E,{className:u,ref:C}),s))});ip.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};ip.classNames={fullWidth:sf,zeroRight:af};var eM=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function tM(){if(!document)return null;var t=document.createElement("style");t.type="text/css";var e=eM();return e&&t.setAttribute("nonce",e),t}function rM(t,e){t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e))}function nM(t){var e=document.head||document.getElementsByTagName("head")[0];e.appendChild(t)}var iM=function(){var t=0,e=null;return{add:function(r){t==0&&(e=tM())&&(rM(e,r),nM(e)),t++},remove:function(){t--,!t&&e&&(e.parentNode&&e.parentNode.removeChild(e),e=null)}}},oM=function(){var t=iM();return function(e,r){x.useEffect(function(){return t.add(e),function(){t.remove()}},[e&&r])}},e2=function(){var t=oM(),e=function(r){var n=r.styles,i=r.dynamic;return t(n,i),null};return e},aM={left:0,top:0,right:0,gap:0},Pv=function(t){return parseInt(t||"",10)||0},sM=function(t){var e=window.getComputedStyle(document.body),r=e[t==="padding"?"paddingLeft":"marginLeft"],n=e[t==="padding"?"paddingTop":"marginTop"],i=e[t==="padding"?"paddingRight":"marginRight"];return[Pv(r),Pv(n),Pv(i)]},lM=function(t){if(t===void 0&&(t="margin"),typeof window>"u")return aM;var e=sM(t),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:e[0],top:e[1],right:e[2],gap:Math.max(0,n-r+e[2]-e[0])}},uM=e2(),Ms="data-scroll-locked",cM=function(t,e,r,n){var i=t.left,o=t.top,a=t.right,s=t.gap;return r===void 0&&(r="margin"),`
266  .`.concat(q4,` {
267   overflow: hidden `).concat(n,`;
268   padding-right: `).concat(s,"px ").concat(n,`;
269  }
270  body[`).concat(Ms,`] {
271    overflow: hidden `).concat(n,`;
272    overscroll-behavior: contain;
273    `).concat([e&&"position: relative ".concat(n,";"),r==="margin"&&`
274    padding-left: `.concat(i,`px;
275    padding-top: `).concat(o,`px;
276    padding-right: `).concat(a,`px;
277    margin-left:0;
278    margin-top:0;
279    margin-right: `).concat(s,"px ").concat(n,`;
280    `),r==="padding"&&"padding-right: ".concat(s,"px ").concat(n,";
280")].filter(Boolean).join(""),`
281  }
282  
283  .`).concat(af,` {
284    right: `).concat(s,"px ").concat(n,`;
285  }
286  
287  .`).concat(sf,` {
288    margin-right: `).concat(s,"px ").concat(n,`;
289  }
290  
291  .`).concat(af," .").concat(af,` {
292    right: 0 `).concat(n,`;
293  }
294  
295  .`).concat(sf," .").concat(sf,` {
296    margin-right: 0 `).concat(n,`;
297  }
298  
299  body[`).concat(Ms,`] {
300    `).concat(H4,": ").concat(s,`px;
301  }
302`)},Xx=function(){var t=parseInt(document.body.getAttribute(Ms)||"0",10);return isFinite(t)?t:0},dM=function(){x.useEffect(function(){return document.body.setAttribute(Ms,(Xx()+1).toString()),function(){var t=Xx()-1;t<=0?document.body.removeAttribute(Ms):document.body.setAttribute(Ms,t.toString())}},[])},fM=function(t){var e=t.noRelative,r=t.noImportant,n=t.gapMode,i=n===void 0?"margin":n;dM();var o=x.useMemo(function(){return lM(i)},[i]);return x.createElement(uM,{styles:cM(o,!e,i,r?"":"!important")})},gm=!1;if(typeof window<"u")try{var Td=Object.defineProperty({},"passive",{get:function(){return gm=!0,!0}});window.addEventListener("test",Td,Td),window.removeEventListener("test",Td,Td)}catch{gm=!1}var es=gm?{passive:!1}:!1,hM=function(t){return t.tagName==="TEXTAREA"},t2=function(t,e){if(!(t instanceof Element))return!1;var r=window.getComputedStyle(t);return r[e]!=="hidden"&&!(r.overflowY===r.overflowX&&!hM(t)&&r[e]==="visible")},pM=function(t){return t2(t,"overflowY")},vM=function(t){return t2(t,"overflowX")},Zx=function(t,e){var r=e.ownerDocument,n=e;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var i=r2(t,n);if(i){var o=n2(t,n),a=o[1],s=o[2];if(a>s)return!0}n=n.parentNode}while(n&&n!==r.body);return!1},mM=function(t){var e=t.scrollTop,r=t.scrollHeight,n=t.clientHeight;return[e,r,n]},gM=function(t){var e=t.scrollLeft,r=t.scrollWidth,n=t.clientWidth;return[e,r,n]},r2=function(t,e){return t==="v"?pM(e):vM(e)},n2=function(t,e){return t==="v"?mM(e):gM(e)},yM=function(t,e){return t==="h"&&e==="rtl"?-1:1},wM=function(t,e,r,n,i){var o=yM(t,window.getComputedStyle(e).direction),a=o*n,s=r.target,u=e.contains(s),l=!1,c=a>0,d=0,h=0;do{if(!s)break;var f=n2(t,s),m=f[0],p=f[1],g=f[2],v=p-g-o*m;(m||v)&&r2(t,s)&&(d+=v,h+=m);var y=s.parentNode;s=y&&y.nodeType===Node.DOCUMENT_FRAGMENT_NODE?y.host:y}while(!u&&s!==document.body||u&&(e.contains(s)||e===s));return(c&&(Math.abs(d)<1||!i)||!c&&(Math.abs(h)<1||!i))&&(l=!0),l},Pd=function(t){return"changedTouches"in t?[t.changedTouches[0].clientX,t.changedTouches[0].clientY]:[0,0]},Yx=function(t){return[t.deltaX,t.deltaY]},Jx=function(t){return t&&"current"in t?t.current:t},bM=function(t,e){return t[0]===e[0]&&t[1]===e[1]},xM=function(t){return`
303  .block-interactivity-`.concat(t,` {pointer-events: none;}
304  .allow-interactivity-`).concat(t,` {pointer-events: all;}
305`)},SM=0,ts=[];function kM(t){var e=x.useRef([]),r=x.useRef([0,0]),n=x.useRef(),i=x.useState(SM++)[0],o=x.use
vendor: 5,032 bytes, line 305
305State(e2)[0],a=x.useRef(t);x.useEffect(function(){a.current=t},[t]),x.useEffect(function(){if(t.inert){document.body.classList.add("block-interactivity-".concat(i));var p=W4([t.lockRef.current],(t.shards||[]).map(Jx),!0).filter(Boolean);return p.forEach(function(g){return g.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),p.forEach(function(g){return g.classList.remove("allow-interactivity-".concat(i))})}}},[t.inert,t.lockRef.current,t.shards]);var s=x.useCallback(function(p,g){if("touches"in p&&p.touches.length===2||p.type==="wheel"&&p.ctrlKey)return!a.current.allowPinchZoom;var v=Pd(p),y=r.current,w="deltaX"in p?p.deltaX:y[0]-v[0],S="deltaY"in p?p.deltaY:y[1]-v[1],k,C=p.target,E=Math.abs(w)>Math.abs(S)?"h":"v";if("touches"in p&&E==="h"&&C.type==="range")return!1;var R=Zx(E,C);if(!R)return!0;if(R?k=E:(k=E==="v"?"h":"v",R=Zx(E,C)),!R)return!1;if(!n.current&&"changedTouches"in p&&(w||S)&&(n.current=k),!k)return!0;var A=n.current||k;return wM(A,g,p,A==="h"?w:S,!0)},[]),u=x.useCallback(function(p){var g=p;if(!(!ts.length||ts[ts.length-1]!==o)){var v="deltaY"in g?Yx(g):Pd(g),y=e.current.filter(function(k){return k.name===g.type&&(k.target===g.target||g.target===k.shadowParent)&&bM(k.delta,v)})[0];if(y&&y.should){g.cancelable&&g.preventDefault();return}if(!y){var w=(a.current.shards||[]).map(Jx).filter(Boolean).filter(function(k){return k.contains(g.target)}),S=w.length>0?s(g,w[0]):!a.current.noIsolation;S&&g.cancelable&&g.preventDefault()}}},[]),l=x.useCallback(function(p,g,v,y){var w={name:p,delta:g,target:v,should:y,shadowParent:CM(v)};e.current.push(w),setTimeout(function(){e.current=e.current.filter(function(S){return S!==w})},1)},[]),c=x.useCallback(function(p){r.current=Pd(p),n.current=void 0},[]),d=x.useCallback(function(p){l(p.type,Yx(p),p.target,s(p,t.lockRef.current))},[]),h=x.useCallback(function(p){l(p.type,Pd(p),p.target,s(p,t.lockRef.current))},[]);x.useEffect(function(){return ts.push(o),t.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:h}),document.addEventListener("wheel",u,es),document.addEventListener("touchmove",u,es),document.addEventListener("touchstart",c,es),function(){ts=ts.filter(function(p){return p!==o}),document.removeEventListener("wheel",u,es),document.removeEventListener("touchmove",u,es),document.removeEventListener("touchstart",c,es)}},[]);var f=t.removeScrollBar,m=t.inert;return x.createElement(x.Fragment,null,m?x.createElement(o,{styles:xM(i)}):null,f?x.createElement(fM,{noRelative:t.noRelative,gapMode:t.gapMode}):null)}function CM(t){for(var e=null;t!==null;)t instanceof ShadowRoot&&(e=t.host,t=t.host),t=t.parentNode;return e}const EM=$4($T,kM);var i2=x.forwardRef(function(t,e){return x.createElement(ip,Gi({},t,{ref:e,sideCar:EM}))});i2.classNames=ip.classNames;var TM=[" ","Enter","ArrowUp","ArrowDown"],PM=[" ","Enter"],Ca="Select",[op,ap,RM]=Wg(Ca),[bl,GV]=Ia(Ca,[RM,Kh]),sp=Kh(),[AM,Do]=bl(Ca),[OM,_M]=bl(Ca),o2=t=>{const{__scopeSelect:e,children:r,open:n,defaultOpen:i,onOpenChange:o,value:a,defaultValue:s,onValueChange:u,dir:l,name:c,autoComplete:d,disabled:h,required:f,form:m}=t,p=sp(e),[g,v]=x.useState(null),[y,w]=x.useState(null),[S,k]=x.useState(!1),C=XT(l),[E,R]=Qu({prop:n,defaultProp:i??!1,onChange:o,caller:Ca}),[A,_]=Qu({prop:a,defaultProp:s,onChange:u,caller:Ca}),O=x.useRef(null),D=g?m||!!g.closest("form"):!0,[M,L]=x.useState(new Set),N=Array.from(M).map(j=>j.props.value).join(";");return b.jsx(FI,{...p,children:b.jsxs(AM,{required:f,scope:e,trigger:g,onTriggerChange:v,valueNode:y,onValueNodeChange:w,valueNodeHasChildren:S,onValueNodeHasChildrenChange:k,contentId:$g(),value:A,onValueChange:_,open:E,onOpenChange:R,dir:C,triggerPointerDownPosRef:O,disabled:h,children:[b.jsx(op.Provider,{scope:e,children:b.jsx(OM,{scope:t.__scopeSelect,onNativeOptionAdd:x.useCallback(j=>{L(V=>new Set(V).add(j))},[]),onNativeOptionRemove:x.useCallback(j=>{L(V=>{const I=new Set(V);return I.delete(j),I})},[]),children:r})}),D?b.jsxs(A2,{"aria-hidden":!0,required:f,tabIndex:-1,name:c,autoComplete:d,value:A,onChange:j=>_(j.target.value),disabled:h,form:m,children:[A===void 0?b.jsx("option",{value:""}):null,Array.from(M)]},N):null]})})};o2.displayName=Ca;var a2="SelectTrigger",s2=x.forwardRef((t,e)=>{const{__scopeSelect:r,disabled:n=!1,...i}=t,o=sp(r),a=Do(a2,r),s=a.disabled||n,u=Je(e,a.onTriggerChange),l=ap(r),c=x.useRef("touch"),[d,h,f]=_2(p=>{const g=l().filter(w=>!w.disabled),v=g.find(w=>w.value===a.value),y=N2(g,p,v);y!==void 0&&a.onValueChange(y.value)}),m=p=>{s||(a.onOpenChange(!0),f()),p&&(a.triggerPointerDownPosRef.current={x:Math.round(p.pageX),y:Math.round(p.pageY)})};return b.jsx(ZE,{asChild:!0,...o,children:b.jsx(Ne.button,{type:"button",role:"combobox","aria-controls":a.contentId,"aria-expanded":a.open,"aria-required":a.required,"aria-autocomplete":"none",dir:a.dir,"data-state":a.open?"open":"closed",disabled:s,"data-disabled":s?"":void 0,"data-placeholder":O2(a.value)?"":void 0,...i,ref:u,onClick:ye(i.onClick,p=>
vendor: 16,081 bytes, line 305
305{p.currentTarget.focus(),c.current!=="mouse"&&m(p)}),onPointerDown:ye(i.onPointerDown,p=>{c.current=p.pointerType;const g=p.target;g.hasPointerCapture(p.pointerId)&&g.releasePointerCapture(p.pointerId),p.button===0&&p.ctrlKey===!1&&p.pointerType==="mouse"&&(m(p),p.preventDefault())}),onKeyDown:ye(i.onKeyDown,p=>{const g=d.current!=="";!(p.ctrlKey||p.altKey||p.metaKey)&&p.key.length===1&&h(p.key),!(g&&p.key===" ")&&TM.includes(p.key)&&(m(),p.preventDefault())})})})});s2.displayName=a2;var l2="SelectValue",u2=x.forwardRef((t,e)=>{const{__scopeSelect:r,className:n,style:i,children:o,placeholder:a="",...s}=t,u=Do(l2,r),{onValueNodeHasChildrenChange:l}=u,c=o!==void 0,d=Je(e,u.onValueNodeChange);return Ht(()=>{l(c)},[l,c]),b.jsx(Ne.span,{...s,ref:d,style:{pointerEvents:"none"},children:O2(u.value)?b.jsx(b.Fragment,{children:a}):o})});u2.displayName=l2;var NM="SelectIcon",c2=x.forwardRef((t,e)=>{const{__scopeSelect:r,children:n,...i}=t;return b.jsx(Ne.span,{"aria-hidden":!0,...i,ref:e,children:n||"▼"})});c2.displayName=NM;var jM="SelectPortal",d2=t=>b.jsx(qg,{asChild:!0,...t});d2.displayName=jM;var Ea="SelectContent",f2=x.forwardRef((t,e)=>{const r=Do(Ea,t.__scopeSelect),[n,i]=x.useState();if(Ht(()=>{i(new DocumentFragment)},[]),!r.open){const o=n;return o?Fa.createPortal(b.jsx(h2,{scope:t.__scopeSelect,children:b.jsx(op.Slot,{scope:t.__scopeSelect,children:b.jsx("div",{children:t.children})})}),o):null}return b.jsx(p2,{...t,ref:e})});f2.displayName=Ea;var fn=10,[h2,Mo]=bl(Ea),FM="SelectContentImpl",IM=Ju("SelectContent.RemoveScroll"),p2=x.forwardRef((t,e)=>{const{__scopeSelect:r,position:n="item-aligned",onCloseAutoFocus:i,onEscapeKeyDown:o,onPointerDownOutside:a,side:s,sideOffset:u,align:l,alignOffset:c,arrowPadding:d,collisionBoundary:h,collisionPadding:f,sticky:m,hideWhenDetached:p,avoidCollisions:g,...v}=t,y=Do(Ea,r),[w,S]=x.useState(null),[k,C]=x.useState(null),E=Je(e,Z=>S(Z)),[R,A]=x.useState(null),[_,O]=x.useState(null),D=ap(r),[M,L]=x.useState(!1),N=x.useRef(!1);x.useEffect(()=>{if(w)return z4(w)},[w]),O4();const j=x.useCallback(Z=>{const[ae,...lt]=D().map(We=>We.ref.current),[je]=lt.slice(-1),Le=document.activeElement;for(const We of Z)if(We===Le||(We==null||We.scrollIntoView({block:"nearest"}),We===ae&&k&&(k.scrollTop=0),We===je&&k&&(k.scrollTop=k.scrollHeight),We==null||We.focus(),document.activeElement!==Le))return},[D,k]),V=x.useCallback(()=>j([R,w]),[j,R,w]);x.useEffect(()=>{M&&V()},[M,V]);const{onOpenChange:I,triggerPointerDownPosRef:B}=y;x.useEffect(()=>{if(w){let Z={x:0,y:0};const ae=je=>{var Le,We;Z={x:Math.abs(Math.round(je.pageX)-(((Le=B.current)==null?void 0:Le.x)??0)),y:Math.abs(Math.round(je.pageY)-(((We=B.current)==null?void 0:We.y)??0))}},lt=je=>{Z.x<=10&&Z.y<=10?je.preventDefault():w.contains(je.target)||I(!1),document.removeEventListener("pointermove",ae),B.current=null};return B.current!==null&&(document.addEventListener("pointermove",ae),document.addEventListener("pointerup",lt,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",ae),document.removeEventListener("pointerup",lt,{capture:!0})}}},[w,I,B]),x.useEffect(()=>{const Z=()=>I(!1);return window.addEventListener("blur",Z),window.addEventListener("resize",Z),()=>{window.removeEventListener("blur",Z),window.removeEventListener("resize",Z)}},[I]);const[z,Q]=_2(Z=>{const ae=D().filter(Le=>!Le.disabled),lt=ae.find(Le=>Le.ref.current===document.activeElement),je=N2(ae,Z,lt);je&&setTimeout(()=>je.ref.current.focus())}),Y=x.useCallback((Z,ae,lt)=>{const je=!N.current&&!lt;(y.value!==void 0&&y.value===ae||je)&&(A(Z),je&&(N.current=!0))},[y.value]),de=x.useCallback(()=>w==null?void 0:w.focus(),[w]),ee=x.useCallback((Z,ae,lt)=>{const je=!N.current&&!lt;(y.value!==void 0&&y.value===ae||je)&&O(Z)},[y.value]),Ye=n==="popper"?ym:v2,tt=Ye===ym?{side:s,sideOffset:u,align:l,alignOffset:c,arrowPadding:d,collisionBoundary:h,collisionPadding:f,sticky:m,hideWhenDetached:p,avoidCollisions:g}:{};return b.jsx(h2,{scope:r,content:w,viewport:k,onViewportChange:C,itemRefCallback:Y,selectedItem:R,onItemLeave:de,itemTextRefCallback:ee,focusSelectedItem:V,selectedItemText:_,position:n,isPositioned:M,searchRef:z,children:b.jsx(i2,{as:IM,allowPinchZoom:!0,children:b.jsx(ZT,{asChild:!0,trapped:y.open,onMountAutoFocus:Z=>{Z.preventDefault()},onUnmountAutoFocus:ye(i,Z=>{var ae;(ae=y.trigger)==null||ae.focus({preventScroll:!0}),Z.preventDefault()}),children:b.jsx(Bh,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:Z=>Z.preventDefault(),onDismiss:()=>y.onOpenChange(!1),children:b.jsx(Ye,{role:"listbox",id:y.contentId,"data-state":y.open?"open":"closed",dir:y.dir,onContextMenu:Z=>Z.preventDefault(),...v,...tt,onPlaced:()=>L(!0),ref:E,style:{display:"flex",flexDirection:"column",outline:"none",...v.style},onKeyDown:ye(v.onKeyDown,Z=>{const ae=Z.ctrlKey||Z.altKey||Z.metaKey;if(Z.key==="Tab"&&Z.preventDefault(),!ae&&Z.key.length===1&&Q(Z.key),["ArrowUp","ArrowDown","Home","End"].includes(Z.key)){let je=D().filter(Le=>!Le.disabled).map(Le=>Le.ref.current);if(["ArrowUp","End"].includes(Z.key)&&(je=je.slice().reverse()),["ArrowUp","ArrowDown"].includes(Z.key)){const Le=Z.target,We=je.indexOf(Le);je=je.slice(We+1)}setTimeout(()=>j(je)),Z.preventDefault()}})})})})})})});p2.displayName=FM;var DM="SelectItemAlignedPosition",v2=x.forwardRef((t,e)=>{const{__scopeSelect:r,onPlaced:n,...i}=t,o=Do(Ea,r),a=Mo(Ea,r),[s,u]=x.useState(null),[l,c]=x.useState(null),d=Je(e,E=>c(E)),h=ap(r),f=x.useRef(!1),m=x.useRef(!0),{viewport:p,selectedItem:g,selectedItemText:v,focusSelectedItem:y}=a,w=x.useCallback(()=>{if(o.trigger&&o.valueNode&&s&&l&&p&&g&&v){const E=o.trigger.getBoundingClientRect(),R=l.getBoundingClientRect(),A=o.valueNode.getBoundingClientRect(),_=v.getBoundingClientRect();if(o.dir!=="rtl"){const Le=_.left-R.left,We=A.left-Le,Kt=E.left-We,Mr=E.width+Kt,Uo=Math.max(Mr,R.width),Ti=window.innerWidth-fn,zo=oh(We,[fn,Math.max(fn,Ti-Uo)]);s.style.minWidth=Mr+"px",s.style.left=zo+"px"}else{const Le=R.right-_.right,We=window.innerWidth-A.right-Le,Kt=window.innerWidth-E.right-We,Mr=E.width+Kt,Uo=Math.max(Mr,R.width),Ti=window.innerWidth-fn,zo=oh(We,[fn,Math.max(fn,Ti-Uo)]);s.style.minWidth=Mr+"px",s.style.right=zo+"px"}const O=h(),D=window.innerHeight-fn*2,M=p.scrollHeight,L=window.getComputedStyle(l),N=parseInt(L.borderTopWidth,10),j=parseInt(L.paddingTop,10),V=parseInt(L.borderBottomWidth,10),I=parseInt(L.paddingBottom,10),B=N+j+M+I+V,z=Math.min(g.offsetHeight*5,B),Q=window.getComputedStyle(p),Y=parseInt(Q.paddingTop,10),de=parseInt(Q.paddingBottom,10),ee=E.top+E.height/2-fn,Ye=D-ee,tt=g.offsetHeight/2,Z=g.offsetTop+tt,ae=N+j+Z,lt=B-ae;if(ae<=ee){const Le=O.length>0&&g===O[O.length-1].ref.current;s.style.bottom="0px";const We=l.clientHeight-p.offsetTop-p.offsetHeight,Kt=Math.max(Ye,tt+(Le?de:0)+We+V),Mr=ae+Kt;s.style.height=Mr+"px"}else{const Le=O.length>0&&g===O[0].ref.current;s.style.top="0px";const Kt=Math.max(ee,N+p.offsetTop+(Le?Y:0)+tt)+lt;s.style.height=Kt+"px",p.scrollTop=ae-ee+p.offsetTop}s.style.margin=`${fn}px 0`,s.style.minHeight=z+"px",s.style.maxHeight=D+"px",n==null||n(),requestAnimationFrame(()=>f.current=!0)}},[h,o.trigger,o.valueNode,s,l,p,g,v,o.dir,n]);Ht(()=>w(),[w]);const[S,k]=x.useState();Ht(()=>{l&&k(window.getComputedStyle(l).zIndex)},[l]);const C=x.useCallback(E=>{E&&m.current===!0&&(w(),y==null||y(),m.current=!1)},[w,y]);return b.jsx(LM,{scope:r,contentWrapper:s,shouldExpandOnScrollRef:f,onScrollButtonChange:C,children:b.jsx("div",{ref:u,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:S},children:b.jsx(Ne.div,{...i,ref:d,style:{boxSizing:"border-box",maxHeight:"100%",...i.style}})})})});v2.displayName=DM;var MM="SelectPopperPosition",ym=x.forwardRef((t,e)=>{const{__scopeSelect:r,align:n="start",collisionPadding:i=fn,...o}=t,a=sp(r);return b.jsx(YE,{...a,...o,ref:e,align:n,collisionPadding:i,style:{boxSizing:"border-box",...o.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});ym.displayName=MM;var[LM,wy]=bl(Ea,{}),wm="SelectViewport",m2=x.forwardRef((t,e)=>{const{__scopeSelect:r,nonce:n,...i}=t,o=Mo(wm,r),a=wy(wm,r),s=Je(e,o.onViewportChange),u=x.useRef(0);return b.jsxs(b.Fragment,{children:[b.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:n}),b.jsx(op.Slot,{scope:r,children:b.jsx(Ne.div,{"data-radix-select-viewport":"",role:"presentation",...i,ref:s,style:{position:"relative",flex:1,overflow:"hidden auto",...i.style},onScroll:ye(i.onScroll,l=>{const c=l.currentTarget,{contentWrapper:d,shouldExpandOnScrollRef:h}=a;if(h!=null&&h.current&&d){const f=Math.abs(u.current-c.scrollTop);if(f>0){const m=window.innerHeight-fn*2,p=parseFloat(d.style.minHeight),g=parseFloat(d.style.height),v=Math.max(p,g);if(v<m){const y=v+f,w=Math.min(m,y),S=y-w;d.style.height=w+"px",d.style.bottom==="0px"&&(c.scrollTop=S>0?S:0,d.style.justifyContent="flex-end")}}}u.current=c.scrollTop})})})]})});m2.displayName=wm;var g2="SelectGroup",[BM,UM]=bl(g2),zM=x.forwardRef((t,e)=>{const{__scopeSelect:r,...n}=t,i=$g();return b.jsx(BM,{scope:r,id:i,children:b.jsx(Ne.div,{role:"group","aria-labelledby":i,...n,ref:e})})});zM.displayName=g2;var y2="SelectLabel",w2=x.forwardRef((t,e)=>{const{__scopeSelect:r,...n}=t,i=UM(y2,r);return b.jsx(Ne.div,{id:i.id,...n,ref:e})});w2.displayName=y2;var sh="SelectItem",[VM,b2]=bl(sh),x2=x.forwardRef((t,e)=>{const{__scopeSelect:r,value:n,disabled:i=!1,textValue:o,...a}=t,s=Do(sh,r),u=Mo(sh,r),l=s.value===n,[c,d]=x.useState(o??""),[h,f]=x.useState(!1),m=Je(e,y=>{var w;return(w=u.itemRefCallback)==null?void 0:w.call(u,y,n,i)}),p=$g(),g=x.useRef("touch"),v=()=>{i||(s.onValueChange(n),s.onOpenChange(!1))};if(n==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return b.jsx(VM,{scope:r,value:n,disabled:i,textId:p,isSelected:l,onItemTextChange:x.useCallback(y=>{d(w=>w||((y==null?void 0:y.textContent)??"").trim())},[]),children:b.jsx(op.ItemSlot,{scope:r,value:n,disabled:i,textValue:c,children:b.jsx(Ne.div,{role:"option","aria-labelledby":p,"data-highlighted":h?"":void 0,"aria-selected":l&&h,"data-state":l?"checked":"unchecked","aria-disabled":i||void 0,"data-disabled":i?"":void 0,tabIndex:i?void 0:-1,...a,ref:m,onFocus:ye(a.onFocus,()=>f(!0)),onBlur:ye(a.onBlur,()=>f(!1)),onClick:ye(a.onClick,()=>{g.current!=="mouse"&&v()}),onPointerUp:ye(a.onPointerUp,()=>{g.current==="mouse"&&v()}),onPointerDown:ye(a.onPointerDown,y=>{g.current=y.pointerType}),onPointerMove:ye(a.onPointerMove,y=>{var w;g.current=y.pointerType,i?(w=u.onItemLeave)==null||w.call(u):g.current==="mouse"&&y.currentTarget.focus({preventScroll:!0})}),onPointerLeave:ye(a.onPointerLeave,y=>{var w;y.currentTarget===document.activeElement&&((w=u.onItemLeave)==null||w.call(u))}),onKeyDown:ye(a.onKeyDown,y=>{var S;((S=u.searchRef)==null?void 0:S.current)!==""&&y.key===" "||(PM.includes(y.key)&&v(),y.key===" "&&y.preventDefault())})})})})});x2.displayName=sh;var iu="SelectItemText",S2=x.forwardRef((t,e)=>{const{__scopeSelect:r,className:n,style:i,...o}=t,a=Do(iu,r),s=Mo(iu,r),u=b2(iu,r),l=_M(iu,r),[c,d]=x.useState(null),h=Je(e,v=>d(v),u.onItemTextChange,v=>{var y;return(y=s.itemTextRefCallback)==null?void 0:y.call(s,v,u.value,u.disabled)}),f=c==null?void 0:c.textContent,m=x.useMemo(()=>b.jsx("option",{value:u.value,disabled:u.disabled,children:f},u.value),[u.disabled,u.value,f]),{onNativeOptionAdd:p,onNativeOptionRemove:g}=l;return Ht(()=>(p(m),()=>g(m)),[p,g,m]),b.jsxs(b.Fragment,{children:[b.jsx(Ne.span,{id:u.textId,...o,ref:h}),u.isSelected&&a.valueNode&&!a.valueNodeHasChildren?Fa.createPortal(o.children,a.valueNode):null]})});S2.displayName=iu;var k2="SelectItemIndicator",C2=x.forwardRef((t,e)=>{const{__scopeSelect:r,...n}=t;return b2(k2,r).isSelected?b.jsx(Ne.span,{"aria-hidden":!0,...n,ref:e}):null});C2.displayName=k2;var bm="SelectScrollUpButton",E2=x.forwardRef((t,e)=>{const r=Mo(bm,t.__scopeSelect),n=wy(bm,t.__scopeSelect),[i,o]=x.useState(!1),a=Je(e,n.onScrollButtonChange);return Ht(()=>{if(r.viewport&&r.isPositioned){let s=function(){const l=u.scrollTop>0;o(l)};const u=r.viewport;return s(),u.addEventListener("scroll",s),()=>u.removeEventListener("scroll",s)}},[r.viewport,r.isPositioned]),i?b.jsx(P2,{...t,ref:a,onAutoScroll:()=>{const{viewport:s,selectedItem:u}=r;s&&u&&(s.scrollTop=s.scrollTop-u.offsetHeight)}}):null});E2.displayName=bm;var xm="SelectScrollDownButton",T2=x.forwardRef((t,e)=>{const r=Mo(xm,t.__scopeSelect),n=wy(xm,t.__scopeSelect),[i,o]=x.useState(!1),a=Je(e,n.onScrollButtonChange);return Ht(()=>{if(r.viewport&&r.isPositioned){let s=function(){const l=u.scrollHeight-u.clientHeight,c=Math.ceil(u.scrollTop)<l;o(c)};const u=r.viewport;return s(),u.addEventListener("scroll",s),()=>u.removeEventListener("scroll",s)}},[r.viewport,r.isPositioned]),i?b.jsx(P2,{...t,ref:a,onAutoScroll:()=>{const{viewport:s,selectedItem:u}=r;s&&u&&(s.scrollTop=s.scrollTop+u.offsetHeight)}}):null});T2.displayName=xm;var P2=x.forwardRef((t,e)=>{const{__scopeSelect:r,onAutoScroll:n,...i}=t,o=Mo("SelectScrollButton",r),a=x.useRef(null),s=ap(r),u=x.useCallback(()=>{a.current!==null&&(window.clearInterval(a.current),a.current=null)},[]);return x.useEffect(()=>()=>u(),[u]),Ht(()=>{var c;const l=s().find(d=>d.ref.current===document.activeElement);(c=l==null?void 0:l.ref.current)==null||c.scrollIntoView({block:"nearest"})},[s]),b.jsx(Ne.div,{"aria-hidden":!0,...i,ref:e,style:{flexShrink:0,...i.style},onPointerDown:ye(i.onPointerDown,()=>{a.current===null&&(a.current=window.setInterval(n,50))}),onPointerMove:ye(i.onPointerMove,()=>{var l;(l=o.onItemLeave)==null||l.call(o),a.current===null&&(a.current=window.setInterval(n,50))}),onPointerLeave:ye(i.onPointerLeave,()=>{u()})})}),WM="SelectSeparator",R2=x.forwardRef((t,e)=>{const{__scopeSelect:r,...n}=t;return b.jsx(Ne.div,{"aria-hidden":!0,...n,ref:e})});R2.displayName=WM;var Sm="SelectArrow",qM=x.forwardRef((t,e)=>{const{__scopeSelect:r,...n}=t,i=sp(r),o=Do(Sm,r),a=Mo(Sm,r);return o.open&&a.position==="popper"?b.jsx(JE,{...i,...n,ref:e}):null});qM.displayName=Sm;var HM="SelectBubbleInput",A2=x.forwardRef(({__scopeSelect:t,value:e,...r},n)=>{const i=x.useRef(null),o=Je(n,i),a=yy(e);return x.useEffect(()=>{const s=i.current;if(!s)return;const u=window.HTMLSelectElement.prototype,c=Object.getOwnPropertyDescriptor(u,"value").set;if(a!==e&&c){const d=new Event("change",{bubbles:!0});c.call(s,e),s.dispatchEvent(d)}},[a,e]),b.jsx(Ne.select,{...r,style:{...KC,...r.style},ref:o,defaultValue:e})});A2.displayName=HM;function O2(t){return t===""||t===void 0}function _2(t){const e=Pn(t),r=x.useRef(""),n=x.useRef(0),i=x.useCallback(a=>{const s=r.current+a;e(s),function u(l){r.current=l,window.clearTimeout(n.current),l!==""&&(n.current=window.setTimeout(()=>u(""),1e3))}(s)},[e]),o=x.useCallback(()=>{r.current="",window.clearTimeout(n.current)},[]);return x.useEffect(()=>()=>window.clearTimeout(n.current),[]),[r,i,o]}function N2(t,e,r){const i=e.length>1&&Array.from(e).every(l=>l===e[0])?e[0]:e,o=r?t.indexOf(r):-1;let a=KM(t,Math.max(o,0));i.length===1&&(a=a.filter(l=>l!==r));const u=a.find(l=>l.textValue.toLowerCase().startsWith(i.toLowerCase()));return u!==r?u:void 0}function KM(t,e){return t.map((r,n)=>t[(e+n)%t.length])}var GM=o2,j2=s2,XM=u2,ZM=c2,YM=d2,F2=f2,JM=m2,I2=w2,D2=x2,QM=S2,$M=C2,M2=E2,L2=T2,B2=R2;const $o=GM,ea=XM,Xi=x.forwardRef(({className:t,children:e,...r},n)=>b.jsxs(j2,{ref:n,className:De("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm r
305ing-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",t),...r,children:[e,b.jsx(ZM,{asChild:!0,children:b.jsx(mE,{className:"h-4 w-4 opacity-50"})})]}));Xi.displayName=j2.displayName;const U2=x.forwardRef(({className:t,...e},r)=>b.jsx(M2,{ref:r,className:De("flex cursor-default items-center justify-center py-1",t),...e,children:b.jsx(BN,{className:"h-4 w-4"})}));U2.displayName=M2.displayName;const z2=x.forwardRef(({className:t,...e},r)=>b.jsx(L2,{ref:r,className:De("flex cursor-default items-center justify-center py-1",t),...e,children:b.jsx(mE,{className:"h-4 w-4"})}));z2.displayName=L2.displayName;const Zi=x.forwardRef(({className:t,children:e,position:r="popper",...n},i)=>b.jsx(YM,{children:b.jsxs(F2,{ref:i,className:De("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",r==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",t),position:r,...n,children:[b.jsx(U2,{}),b.jsx(JM,{className:De("p-1",r==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:e}),b.jsx(z2,{})]})}));Zi.displayName=F2.displayName;const eL=x.forwardRef(({className:t,...e},r)=>b.jsx(I2,{ref:r,className:De("py-1.5 pl-8 pr-2 text-sm font-semibold",t),...e}));eL.displayName=I2.displayName;const Yt=x.forwardRef(({className:t,children:e,...r},n)=>b.jsxs(D2,{ref:n,className:De("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 focus:bg-accent focus:text-accent-foreground",t),...r,children:[b.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:b.jsx($M,{children:b.jsx(vE,{className:"h-4 w-4"})})}),b.jsx(QM,{children:e})]}));Yt.displayName=D2.displayName;const tL=x.forwardRef(({className:t,...e},r)=>b.jsx(B2,{ref:r,className:De("-mx-1 my-1 h-px bg-muted",t),...e}));tL.displayName=B2.displayName;const rL=Xg("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),Qt=x.forwardRef(({className:t,variant:e,size:r,asChild:n=!1,...i},o)=>{const a=n?q_:"button";return b.jsx(a,{className:De(rL({variant:e,size:r,className:t})),ref:o,...i})});Qt.displayName="Button";function nL({onNext:t,initialBrand:e="",initialModel:r=""}){var c;const[n,i]=x.useState(e),[o,a]=x.useState(r),s=n?((c=ih.find(d=>d.id===n))==null?void 0:c.models)||[]:[],u=d=>{i(d),a("")},l=n&&o;return b.jsxs("div",{className:"step-enter",children:[b.jsxs("div",{className:"text-center mb-8",children:[b.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-foreground mb-2",children:"Qual é o seu veículo elétrico?"}),b.jsx("p",{className:"text-muted-foreground",children:"Selecione a marca e o modelo do seu carro"})]}),b.jsxs("div",{className:"space-y-4",children:[b.jsxs("div",{children:[b.jsx("label",{className:"block text-sm font-medium text-foreground mb-2",children:"Marca"}),b.jsxs($o,{value:n,onValueChange:u,children:[b.jsx(Xi,{className:"w-full h-14 bg-input border-border text-foreground",children:b.jsx(ea,{placeholder:"Selecione a marca"})}),b.jsx(Zi,{className:"bg-card border-border",children:ih.map(d=>b.jsx(Yt,{value:d.id,className:"text-foreground hover:bg-secondary",children:d.name},d.id))})]})]}),b.jsxs("div",{children:[b.jsx("label",{className:"block text-sm font-medium text-foreground mb-2",children:"Modelo"}),b.jsxs($o,{value:o,onValueChange:a,disabled:!n,children:[b.jsx(Xi,{className:"w-full h-14 bg-input border-border text-foreground disabled:opacity-50",children:b.jsx(ea,{placeholder:n?"Selecione o modelo":"Primeiro selecione a marca"})}),b.jsx(Zi,{className:"bg-card border-border",children:s.map(d=>b.jsx(Yt,{value:d.id,className:"text-foreground hover:bg-secondary",children:d.name},d.id))})]})]})]}),b.jsxs(Qt,{onClick:()=>t(n,o),disabled:!l,className:"w-full h-14 mt-8 bg-gradient-primary text-primary-foreground font-display font-semibold text-lg hover:opacity-90 transition-all shadow-button disabled:opacity-50 disabled:shadow-none",children:["Próximo",b.jsx(Yg,{className:"ml-2 w-5 h-5"})]})]})}var V2=["PageUp","PageDown"],W2=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],q2={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageDown","ArrowUp","ArrowLeft"]},xl="Slider",[km,iL,oL]=Wg(xl),[H2,XV]=Ia(xl,[oL]),[aL,lp]=H2(xl),K2=x.forwardRef((t,e)=>{const{name:r,min:n=0,max:i=100,step:o=1,orientation:a="horizontal",disabled:s=!1,minStepsBetweenThumbs:u=0,defaultValue:l=[n],value:c,onValueChange:d=()=>{},onValueCommit:h=()=>{},inverted:f=!1,form:m,...p}=t,g=x.useRef(new Set),v=x.useRef(0),w=a==="horizontal"?sL:lL,[S=[],k]=Qu({prop:c,defaultProp:l,onChange:O=>{var M;(M=[...g.current][v.current])==null||M.focus(),d(O)}}),C=x.useRef(S);function E(O){const D=hL(S,O);_(O,D)}function R(O){_(O,v.current)}function A(){const O=C.current[v.current];S[v.current]!==O&&h(S)}function _(O,D,{commit:M}={commit:!1}){const L=gL(o),N=yL(Math.round((O-n)/o)*o+n,L),j=oh(N,[n,i]);k((V=[])=>{const I=dL(V,j,D);if(mL(I,u*o)){v.current=I.indexOf(j);const B=String(I)!==String(V);return B&&M&&h(I),B?I:V}else return V})}return b.jsx(aL,{scope:t.__scopeSlider,name:r,disabled:s,min:n,max:i,valueIndexToChangeRef:v,thumbs:g.current,values:S,orientation:a,form:m,children:b.jsx(km.Provider,{scope:t.__scopeSlider,children:b.jsx(km.Slot,{scope:t.__scopeSlider,children:b.jsx(w,{"aria-disabled":s,"data-disabled":s?"":void 0,...p,ref:e,onPointerDown:ye(p.onPointerDown,()=>{s||(C.current=S)}),min:n,max:i,inverted:f,onSlideStart:s?void 0:E,onSlideMove:s?void 0:R,onSlideEnd:s?void 0:A,onHomeKeyDown:()=>!s&&_(n,0,{commit:!0}),onEndKeyDown:()=>!s&&_(i,S.length-1,{commit:!0}),onStepKeyDown:({event:O,direction:D})=>{if(!s){const N=V2.includes(O.key)||O.shiftKey&&W2.includes(O.key)?10:1,j=v.current,V=S[j],I=o*N*D;_(V+I,j,{commit:!0})}}})})})})});K2.displayName=xl;var[G2,X2]=H2(xl,{startEdge:"left",endEdge:"right",size:"width",direction:1}),sL=x.forwardRef((t,e)=>{const{min:r,max:n,dir:i,inverted:o,onSlideStart:a,onSlideMove:s,onSlideEnd:u,onStepKeyDown:l,...c}=t,[d,h]=x.useState(null),f=Je(e,w=>h(w)),m=x.useRef(void 0),p=XT(i),g=p==="ltr",v=g&&!o||!g&&o;function y(w){const S=m.current||d.getBoundingClientRect(),k=[0,S.width],E=by(k,v?[r,n]:[n,r]);return m.current=S,E(w-S.left)}
305return b.jsx(G2,{scope:t.__scopeSlider,startEdge:v?"left":"right",endEdge:v?"right":"left",direction:v?1:-1,size:"width",children:b.jsx(Z2,{dir:p,"data-orientation":"horizontal",...c,ref:f,style:{...c.style,"--radix-slider-thumb-transform":"translateX(-50%)"},onSlideStart:w=>{const S=y(w.clientX);a==null||a(S)},onSlideMove:w=>{const S=y(w.clientX);s==null||s(S)},onSlideEnd:()=>{m.current=void 0,u==null||u()},onStepKeyDown:w=>{const k=q2[v?"from-left":"from-right"].includes(w.key);l==null||l({event:w,direction:k?-1:1})}})})}),lL=x.forwardRef((t,e)=>{const{min:r,max:n,inverted:i,onSlideStart:o,onSlideMove:a,onSlideEnd:s,onStepKeyDown:u,...l}=t,c=x.useRef(null),d=Je(e,c),h=x.useRef(void 0),f=!i;function m(p){const g=h.current||c.current.getBoundingClientRect(),v=[0,g.height],w=by(v,f?[n,r]:[r,n]);return h.current=g,w(p-g.top)}return b.jsx(G2,{scope:t.__scopeSlider,startEdge:f?"bottom":"top",endEdge:f?"top":"bottom",size:"height",direction:f?1:-1,children:b.jsx(Z2,{"data-orientation":"vertical",...l,ref:d,style:{...l.style,"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:p=>{const g=m(p.clientY);o==null||o(g)},onSlideMove:p=>{const g=m(p.clientY);a==null||a(g)},onSlideEnd:()=>{h.current=void 0,s==null||s()},onStepKeyDown:p=>{const v=q2[f?"from-bottom":"from-top"].includes(p.key);u==null||u({event:p,direction:v?-1:1})}})})}),Z2=x.forwardRef((t,e)=>{const{__scopeSlider:r,onSlideStart:n,onSlideMove:i,onSlideEnd:o,onHomeKeyDown:a,onEndKeyDown:s,onStepKeyDown:u,...l}=t,c=lp(xl,r);return b.jsx(Ne.span,{...l,ref:e,onKeyDown:ye(t.onKeyDown,d=>{d.key==="Home"?(a(d),d.preventDefault()):d.key==="End"?(s(d),d.preventDefault()):V2.concat(W2).includes(d.key)&&(u(d),d.preventDefault())}),onPointerDown:ye(t.onPointerDown,d=>{const h=d.target;h.setPointerCapture(d.pointerId),d.preventDefault(),c.thumbs.has(h)?h.focus():n(d)}),onPointerMove:ye(t.onPointerMove,d=>{d.target.hasPointerCapture(d.pointerId)&&i(d)}),onPointerUp:ye(t.onPointerUp,d=>{const h=d.target;h.hasPointerCapture(d.pointerId)&&(h.releasePointerCapture(d.pointerId),o(d))})})}),Y2="SliderTrack",J2=x.forwardRef((t,e)=>{const{__scopeSlider:r,...n}=t,i=lp(Y2,r);return b.jsx(Ne.span,{"data-disabled":i.disabled?"":void 0,"data-orientation":i.orientation,...n,ref:e})});J2.displayName=Y2;var Cm="SliderRange",Q2=x.forwardRef((t,e)=>{const{__scopeSlider:r,...n}=t,i=lp(Cm,r),o=X2(Cm,r),a=x.useRef(null),s=Je(e,a),u=i.values.length,l=i.values.map(h=>tP(h,i.min,i.max)),c=u>1?Math.min(...l):0,d=100-Math.max(...l);return b.jsx(Ne.span,{"data-orientation":i.orientation,"data-disabled":i.disabled?"":void 0,...n,ref:s,style:{...t.style,[o.startEdge]:c+"%",[o.endEdge]:d+"%"}})});Q2.displayName=Cm;var Em="SliderThumb",$2=x.forwardRef((t,e)=>{const r=iL(t.__scopeSlider),[n,i]=x.useState(null),o=Je(e,s=>i(s)),a=x.useMemo(()=>n?r().findIndex(s=>s.ref.current===n):-1,[r,n]);return b.jsx(uL,{...t,ref:o,index:a})}),uL=x.forwardRef((t,e)=>{const{__scopeSlider:r,index:n,name:i,...o}=t,a=lp(Em,r),s=X2(Em,r),[u,l]=x.useState(null),c=Je(e,y=>l(y)),d=u?a.form||!!u.closest("form"):!0,h=sy(u),f=a.values[n],m=f===void 0?0:tP(f,a.min,a.max),p=fL(n,a.values.length),g=h==null?void 0:h[s.size],v=g?pL(g,m,s.direction):0;return x.useEffect(()=>{if(u)return a.thumbs.add(u),()=>{a.thumbs.delete(u)}},[u,a.thumbs]),b.jsxs("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[s.startEdge]:`calc(${m}% + ${v}
305px)`},children:[b.jsx(km.ItemSlot,{scope:t.__scopeSlider,children:b.jsx(Ne.span,{role:"slider","aria-label":t["aria-label"]||p,"aria-valuemin":a.min,"aria-valuenow":f,"aria-valuemax":a.max,"aria-orientation":a.orientation,"data-orientation":a.orientation,"data-disabled":a.disabled?"":void 0,tabIndex:a.disabled?void 0:0,...o,ref:c,style:f===void 0?{display:"none"}:t.style,onFocus:ye(t.onFocus,()=>{a.valueIndexToChangeRef.current=n})})}),d&&b.jsx(eP,{name:i??(a.name?a.name+(a.values.length>1?"[]":""):void 0),form:a.form,value:f},n)]})});$2.displayName=Em;var cL="RadioBubbleInput",eP=x.forwardRef(({__scopeSlider:t,value:e,...r},n)=>{const i=x.useRef(null),o=Je(i,n),a=yy(e);return x.useEffect(()=>{const s=i.current;if(!s)return;const u=window.HTMLInputElement.prototype,c=Object.getOwnPropertyDescriptor(u,"value").set;if(a!==e&&c){const d=new Event("input",{bubbles:!0});c.call(s,e),s.dispatchEvent(d)}},[a,e]),b.jsx(Ne.input,{style:{display:"none"},...r,ref:o,defaultValue:e})});eP.displayName=cL;function dL(t=[],e,r){const n=[...t];return n[r]=e,n.sort((i,o)=>i-o)}function tP(t,e,r){const o=100/(r-e)*(t-e);return oh(o,[0,100])}function fL(t,e){return e>2?`Value ${t+1} of ${e}`:e===2?["Minimum","Maximum"][t]:void 0}function hL(t,e){if(t.length===1)return 0;const r=t.map(i=>Math.abs(i-e)),n=Math.min(...r);return r.indexOf(n)}function pL(t,e,r){const n=t/2,o=by([0,50],[0,n]);return(n-o(e)*r)*r}function vL(t){return t.slice(0,-1).map((e,r)=>t[r+1]-e)}function mL(t,e){if(e>0){const r=vL(t);return Math.min(...r)>=e}return!0}function by(t,e){return r=>{if(t[0]===t[1]||e[0]===e[1])return e[0];const n=(e[1]-e[0])/(t[1]-t[0]);return e[0]+n*(r-t[0])}}function gL(t){return(String(t).split(".")[1]||"").length}function yL(t,e){const r=Math.pow(10,e);return Math.round(t*r)/r}var rP=K2,wL=J2,bL=Q2,xL=$2;const nP=x.forwardRef(({className:t,...e},r)=>b.jsxs(rP,{ref:r,className:De("relative flex w-full touch-none select-none items-center",t),...e,children:[b.jsx(wL,{className:"relative h-2 w-full grow overflow-hidden rounded-full bg-secondary",children:b.jsx(bL,{className:"absolute h-full bg-primary"})}),b.jsx(xL,{className:"block h-5 w-5 rounded-full border-2 border-primary bg-background ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50"})]}));nP.displayName=rP.displayName;const wo=x.forwardRef(({className:t,type:e,...r},n)=>b.jsx("input",{type:e,className:De("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",t),ref:n,...r}));wo.displayName="Input";function SL({onNext:t,onBack:e,initialData:r}){const[n,i]=x.useState((r==null?void 0:r.housingType)||null),[o,a]=x.useState((r==null?void 0:r.distance)||15),[s,u]=x.useState((r==null?void 0:r.parkingOwnership)||null),[l,c]=x.useState((r==null?void 0:r.garageType)||null),[d,h]=x.useState((r==null?void 0:r.parkingCoverage)||null),[f,m]=x.useState((r==null?void 0:r.cep)||""),[p,g]=x.useState((r==null?void 0:r.city)||""),[v,y]=x.useState((r==null?void 0:r.state)||""),[w,S]=x.useState(!1),[k,C]=x.useState(""),[E,R]=x.useState(null),A=n==="residential_building",_=async M=>{const L=P4(M);m(L),C(""),g(""),y(""),R(null);const N=L.replace(/\D/g,"");if(N.length===8){S(!0);const j=await T4(N);if(S(!1),j){if(!GT(j.localidade,j.uf)){const I=HT.some(B=>B.state.toLowerCase()===j.uf.toLowerCase());C(I?`Cidade ${j.localidade}/${j.uf} não atendida no momento`:"Região não atendida no momento"),g(j.localidade),y(j.uf),R(!1);return}g(j.localidade),y(j.uf),R(!0)}else C("CEP não encontrado")}},O=n!==null&&l!==null&&d!==null&&p!==""&&(n!=="residential_building"||s!==null),D=()=>{!O||!n||!l||!d||t({housingType:n,distance:o,parkingOwnership:n==="residential_building"?s:null,garageType:l,parkingCoverage:d,cep:f,city:p,state:v})};return b.jsxs("div",{className:"step-enter space-y-6",children:[b.jsxs("div",{children:[b.jsx("div",{className:"text-center mb-4",children:b.jsx("h2",{className:"text-xl md:text-2xl font-display font-bold text-foreground",children:"Tipo de local"})}),b.jsxs("div",{className:"grid grid-cols-3 gap-2",children:[b.jsxs("button",{onClick:()=>{i("house"),u(null)},className:`p-4 rounded-xl border-2 transition-all duration-300 text-center ${n==="house"?"border-primary bg-primary/5 shadow-glow":"border-border bg-secondary hover:border-primary/40"}`,children:[b.jsx(WN,{className:`w-6 h-6 mx-auto mb-2 ${n==="house"?"text-primary":"text-muted-foreground"}`}),b.jsx("h3",{className:"font-semibold text-foreground text-sm",children:"Casa"})]}),b.jsxs("button",{onClick:()=>i("residential_building"),className:`p-4 rounded-xl border-2 transition-all duration-300 text-center ${n==="residential_building"?"border-primary bg-primary/5 shadow-glow":"border-border bg-secondary hover:border-primary/40"}`,children:[b.jsx(MN,{className:`w-6 h-6 mx-auto mb-2 ${n==="residential_building"?"text-primary":"text-muted-foreground"}`}),b.jsx("h3",{className:"font-semibold text-foreground text-sm",children:"Prédio Residencial"})]}),b.jsxs("button",{onClick:()=>{i("commercial_building"),u(null)},className:`p-4 rounded-xl border-2 transition-all duration-300 text-center ${n==="commercial_building"?"border-primary bg-primary/5 shadow-glow":"border-border bg-secondary hover:border-primary/40"}`,children:[b.jsx(DN,{className:`w-6 h-6 mx-auto mb-2 ${n==="commercial_building"?"text-primary":"text-muted-foreground"}`}),b.jsx("h3",{className:"font-semibold text-foreground text-sm",children:"Prédio Comercial"})]})]})]}),A&&b.jsxs("div",{className:"space-y-2",children:[b.jsx("label",{className:"block text-sm font-medium text-foreground",children:"Tipo de vaga"}),b.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[b.jsxs("button",{onClick:()=>u("private"),className:`p-4 rounded-xl border-2 transition-all duration-300 flex items-center gap-3 ${s==="private"?"border-primary bg-primary/5":"border-border bg-secondary hover:border-primary/40"}`,children:[b.jsx(Jg,{className:`w-5 h-5 ${s==="private"?"text-primary":"text-muted-foreground"}`}),b.jsx("span",{className:"font-medium text-foreground text-sm",children:"Vaga Privativa"})]}),b.jsxs("button",{onClick:()=>u("shared"),className:`p-4 rounded-xl border-2 transition-all duration-300 flex items-center gap-3 ${s==="shared"?"border-primary bg-primary/5":"border-border bg-secondary hover:border-primary/40"}`,children:[b.jsx(QN,{className:`w-5 h-5 ${s==="shared"?"text-primary":"text-muted-foreground"}`}),b.jsx("span",{className:"font-medium text-foreground text-sm",children:"Vaga Compartilhada"})]})]})]}),b.jsxs("div",{className:"space-y-2",children:[b.jsx("label",{className:"block text-sm font-medium text-foreground",children:"Tipo de garagem"}),b.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[b.jsxs("button",{onClick:()=>c("closed"),className:`p-4 rounded-xl border-2 transition-all duration-300 flex items-center gap-3 ${l==="closed"?"border-primary bg-primary/5":"border-border bg-secondary hover:border-primary/40"}`,children:[b.jsx(Eb,{className:`w-5 h-5 ${l==="closed"?"text-primary":"text-muted-foreground"}`}),b.jsx("span",{className:"font-medium text-foreground text-sm",children:"Garagem Fechada"})]}),b.jsxs("button",{onClick:()=>c("open"),className:`p-4 rounded-xl border-2 transition-all duration-300 flex items-center gap-3 ${l==="open"?"border-primary bg-primary/5":"border-border bg-secondary hover:border-primary/40"}`,children:[b.jsx(Cb,{className:`w-5 h-5 ${l==="open"?"text-primary":"text-muted-foreground"}`}),b.jsx("span",{className:"font-medium text-foreground text-sm",children:"Garagem Aberta"})]})]})]}),b.jsxs("div",{className:"space-y-2",children:[b.jsx("label",{className:"block text-sm font-medium text-foreground",children:"Cobertura da vaga"}),b.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[b.jsxs("button",{onClick:()=>h("covered"),className:`p-4 rounded-xl border-2 transition-all duration-300 flex items-center gap-3 ${d==="covered"?"border-primary bg-primary/5":"border-border bg-secondary hover:border-primary/40"}`,children:[b.jsx(Eb,{className:`w-5 h-5 ${d==="covered"?"text-primary":"text-muted-foreground"}`}),b.jsx("span",{className:"font-medium text-foreground text-sm",children:"Vaga Coberta"})]}),b.jsxs("button",{onClick:()=>h("uncovered"),className:`p-4 rounded-xl border-2 transition-all duration-300 flex items-center gap-3 ${d==="uncovered"?"border-primary bg-primary/5":"border-border bg-secondary hover:border-primary/40"}`,children:[b.jsx(Cb,{className:`w-5 h-5 ${d==="uncovered"?"text-primary":"text-muted-foreground"}`}),b.jsx("span",{className:"font-medium text-foreground text-sm",children:"Vaga Descoberta"})]})]})]}),b.jsxs("div",{children:[b.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[b.jsx(ZN,{className:"w-4 h-4 text-primary"}),b.jsx("label",{className:"text-sm font-medium text-foreground",children:"Distância da Vaga até o Elevador Social"})]}),b.jsxs("div",{className:"bg-secondary rounded-xl p-4 border border-border",children:[b.jsxs("div",{className:"flex justify-between items-center mb-3",children:[b.jsxs("span",{className:"text-2xl font-display font-bold text-primary",children:[o>200?">200":o,"m"]}),b.jsx("span",{className:"text-xs text-muted-foreground",children:"metros"})]}),b.jsx(nP,{value:[Math.min(o,200)],onValueChange:M=>a(M[0]),min:0,max:200,step:5,className:"w-full"}),b.jsxs("div",{className:"flex justify-between mt-2 text-xs text-muted-foreground",children:[b.jsx("span",{children:"0m"}),b.jsx("button",{onClick:()=>a(201),className:`px-2 py-1 rounded transition-colors ${o>200?"bg-primary/10 text-primary font-semibold":"hover:text-foreground"}`,children:">200m"})]})]})]}),b.jsxs("div",{children:[b.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[b.jsx(KN,{className:"w-4 h-4 text-primary"}),b.jsx("label",{className:"text-sm font-medium text-foreground",children:"CEP do local"})]}),b.jsx(wo,{value:f,onChange:M=>_(M.target.value),placeholder:"00000-000",maxLength:9,className:"h-12 bg-input border-border text-foreground"}),w&&b.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:"Buscando CEP..."}),k&&b.jsx("p",{className:"text-sm text-destructive mt-1",children:k}),p&&v&&E===!0&&b.jsxs("div",{className:"mt-2 p-3 rounded-lg bg-secondary border border-border",children:[b.jsxs("p",{className:"text-sm text-foreground font-medium",children:[p," - ",v]}),b.jsx("p",{className:"text-sm text-primary mt-1 font-medium",children:"✓ Atendemos esta região"})]})]}),b.jsxs("div",{className:"flex gap-3 pt-2",children:[b.jsxs(Qt,{onClick:e,variant:"outline",className:"flex-1 h-12 border-border text-foreground hover:bg-secondary",children:[b.jsx(Zg,{className:"mr-2 w-5 h-5"}),"Voltar"]}),b.jsxs(Qt,{onClick:D,disabled:!O,className:"flex-[2] h-12 bg-gradient-primary text-primary-foreground font-display font-semibold hover:opacity-90 transition-all shadow-button disabled:opacity-50 disabled:shadow-none",children:["Próximo",b.jsx(Yg,{className:"ml-2 w-5 h-5"})]})]})]})}function kL(){const t=new URLSearchParams(window.location.search);return{utm_source:t.get("utm_source")||null,utm_medium:t.get("utm_medium")||null,utm_campaign:t.get("utm_campaign")||null,utm_content:t.get("utm_content")||null,utm_term:t.get("utm_term")||null,gclid:t.get("gclid")||null,fbclid:t.get("fbclid")||null}}function CL(t){const e=t.replace(/\D/g,"");return e.length<=2?e:e.length<=7?`(${e.slice(0,2)}) ${e.slice(2)}`:e.length<=11?`(${e.slice(0,2)}) ${e.slice(2,7)}-${e.slice(7)}`:`(${e.slice(0,2)}) ${e.slice(2,7)}-${e.slice(7,11)}`}function EL(t){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t)}function TL(t){const e=t.replace(/\D/g,"");return e.length>=10&&e.length<=11}function PL({onNext:t,onBack:e,context:r}){const[n,i]=x.useState(""),[o,a]=x.useState(""),[s,u]=x.useState(""),[l,c]=x.useState({}),[d,h]=x.useState(!1),f=x.useRef(null);x.useState(()=>{});const m=g=>{a(CL(g.target.value))},p=async()=>{var w;const g={},v=n.trim(),y=s.trim();if(v?v.length>100&&(g.name="Nome deve ter no máximo 100 caracteres"):g.name="Nome é obrigatório",TL(o)||(g.phone="WhatsApp inválido"),EL(y)?y.length>255&&(g.email="E-mail deve ter no máximo 255 caracteres"):g.email="E-mail inválido",Object.keys(g).length>0){c(g);return}h(!0);try{const S=kL();await fetch("https://tontqiepovknpnwhkici.supabase.co/functions/v1/save-lead",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:v,phone:o.replace(/\D/g,""),email:y,brand:r.brand,model:r.model,housing_type:r.housingType,distance:r.distance,parking_ownership:r.parkingOwnership,garage_type:r.garageType,parking_coverage:r.parkingCoverage,cep:r.cep,city:r.city,state:r.state,region_served:r.regionServed,estimated_min:r.estimatedMin??null,estimated_max:r.estimatedMax??null,
vendor: 5,874 bytes, line 305
305needs_technical_visit:r.needsTechnicalVisit,utm_source:S.utm_source,utm_medium:S.utm_medium,utm_campaign:S.utm_campaign,utm_content:S.utm_content,utm_term:S.utm_term,meta_click_id:S.fbclid,gclid:S.gclid,_hp_field:((w=f.current)==null?void 0:w.value)||""})})}catch{}t({name:v,phone:o,email:y})};return b.jsxs("div",{className:"step-enter",children:[b.jsxs("div",{className:"text-center mb-8",children:[b.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-foreground mb-2",children:"Seu orçamento está pronto!"}),b.jsx("p",{className:"text-muted-foreground",children:"Para receber a estimativa detalhada, preencha abaixo"})]}),b.jsx("div",{className:"absolute -left-[9999px]","aria-hidden":"true",tabIndex:-1,children:b.jsx("input",{ref:f,type:"text",name:"website_url",autoComplete:"off",tabIndex:-1})}),b.jsxs("div",{className:"space-y-4",children:[b.jsxs("div",{children:[b.jsx("label",{className:"block text-sm font-medium text-foreground mb-2",children:"Seu nome"}),b.jsx(wo,{type:"text",placeholder:"Como podemos te chamar?",value:n,maxLength:100,onChange:g=>{i(g.target.value),l.name&&c({...l,name:void 0})},className:`h-14 bg-input border-border text-foreground placeholder:text-muted-foreground ${l.name?"border-destructive":""}`}),l.name&&b.jsx("p",{className:"text-sm text-destructive mt-1",children:l.name})]}),b.jsxs("div",{children:[b.jsx("label",{className:"block text-sm font-medium text-foreground mb-2",children:"WhatsApp"}),b.jsx(wo,{type:"tel",placeholder:"(11) 99999-9999",value:o,onChange:g=>{m(g),l.phone&&c({...l,phone:void 0})},className:`h-14 bg-input border-border text-foreground placeholder:text-muted-foreground ${l.phone?"border-destructive":""}`}),l.phone&&b.jsx("p",{className:"text-sm text-destructive mt-1",children:l.phone})]}),b.jsxs("div",{children:[b.jsx("label",{className:"block text-sm font-medium text-foreground mb-2",children:"E-mail"}),b.jsx(wo,{type:"email",placeholder:"[email protected]",value:s,maxLength:255,onChange:g=>{u(g.target.value),l.email&&c({...l,email:void 0})},className:`h-14 bg-input border-border text-foreground placeholder:text-muted-foreground ${l.email?"border-destructive":""}`}),l.email&&b.jsx("p",{className:"text-sm text-destructive mt-1",children:l.email})]})]}),b.jsxs("div",{className:"flex items-center gap-2 mt-4 text-sm text-muted-foreground",children:[b.jsx(Jg,{className:"w-4 h-4"}),b.jsx("span",{children:"Prometemos não fazer spam. Contato exclusivo para seu orçamento."})]}),b.jsxs("div",{className:"flex gap-3 mt-8",children:[b.jsxs(Qt,{onClick:e,variant:"outline",className:"flex-1 h-14 border-border text-foreground hover:bg-secondary",children:[b.jsx(Zg,{className:"mr-2 w-5 h-5"}),"Voltar"]}),b.jsx(Qt,{onClick:p,disabled:d,className:"flex-[2] h-14 bg-gradient-primary text-primary-foreground font-display font-semibold text-lg hover:opacity-90 transition-all shadow-button disabled:opacity-50",children:d?b.jsx("div",{className:"w-5 h-5 border-2 border-primary-foreground border-t-transparent rounded-full animate-spin"}):b.jsxs(b.Fragment,{children:[b.jsx(gE,{className:"mr-2 w-5 h-5"}),"Ver Resultado"]})})]})]})}var up="Checkbox",[RL,ZV]=Ia(up),[AL,xy]=RL(up);function OL(t){const{__scopeCheckbox:e,checked:r,children:n,defaultChecked:i,disabled:o,form:a,name:s,onCheckedChange:u,required:l,value:c="on",internal_do_not_use_render:d}=t,[h,f]=Qu({prop:r,defaultProp:i??!1,onChange:u,caller:up}),[m,p]=x.useState(null),[g,v]=x.useState(null),y=x.useRef(!1),w=m?!!a||!!m.closest("form"):!0,S={checked:h,disabled:o,setChecked:f,control:m,setControl:p,name:s,form:a,value:c,hasConsumerStoppedPropagationRef:y,required:l,defaultChecked:bo(i)?!1:i,isFormControl:w,bubbleInput:g,setBubbleInput:v};return b.jsx(AL,{scope:e,...S,children:_L(d)?d(S):n})}var iP="CheckboxTrigger",oP=x.forwardRef(({__scopeCheckbox:t,onKeyDown:e,onClick:r,...n},i)=>{const{control:o,value:a,disabled:s,checked:u,required:l,setControl:c,setChecked:d,hasConsumerStoppedPropagationRef:h,isFormControl:f,bubbleInput:m}=xy(iP,t),p=Je(i,c),g=x.useRef(u);return x.useEffect(()=>{const v=o==null?void 0:o.form;if(v){const y=()=>d(g.current);return v.addEventListener("reset",y),()=>v.removeEventListener("reset",y)}},[o,d]),b.jsx(Ne.button,{type:"button",role:"checkbox","aria-checked":bo(u)?"mixed":u,"aria-required":l,"data-state":cP(u),"data-disabled":s?"":void 0,disabled:s,value:a,...n,ref:p,onKeyDown:ye(e,v=>{v.key==="Enter"&&v.preventDefault()}),onClick:ye(r,v=>{d(y=>bo(y)?!0:!y),m&&f&&(h.current=v.isPropagationStopped(),h.current||v.stopPropagation())})})});oP.displayName=iP;var Sy=x.forwardRef((t,e)=>{const{__scopeCheckbox:r,name:n,checked:i,defaultChecked:o,required:a,disabled:s,value:u,onCheckedChange:l,form:c,...d}=t;return b.jsx(OL,{__scopeCheckbox:r,checked:i,defaultChecked:o,disabled:s,required:a,onCheckedChange:l,name:n,form:c,value:u,internal_do_not_use_render:({isFormControl:h})=>b.jsxs(b.Fragment,{children:[b.jsx(oP,{...d,ref:e,__scopeCheckbox:r}),h&&b.jsx(uP,{__scopeCheckbox:r})]})})});Sy.displayName=up;var aP="CheckboxIndicator",sP=x.forwardRef((t,e)=>{const{__scopeCheckbox:r,forceMount:n,...i}=t,o=xy(aP,r);return b.jsx(Uh,{present:n||bo(o.checked)||o.checked===!0,children:b.jsx(Ne.span,{"data-state":cP(o.checked),"data-disabled":o.disabled?"":void 0,...i,ref:e,style:{pointerEvents:"none",...t.style}})})});sP.displayName=aP;var lP="CheckboxBubbleInput",uP=x.forwardRef(({__scopeCheckbox:t,...e},r)=>{const{control:n,hasConsumerStoppedPropagationRef:i,checked:o,defaultChecked:a,required:s,disabled:u,name:l,value:c,form:d,bubbleInput:h,setBubbleInput:f}=xy(lP,t),m=Je(r,f),p=yy(o),g=sy(n);x.useEffect(()=>{const y=h;if(!y)return;const w=window.HTMLInputElement.prototype,k=Object.getOwnPropertyDescriptor(w,"checked").set,C=!i.current;if(p!==o&&k){const E=new Event("click",{bubbles:C});y.indeterminate=bo(o),k.call(y,bo(o)?!1:o),y.dispatchEvent(E)}},[h,p,o,i]);
305const v=x.useRef(bo(o)?!1:o);return b.jsx(Ne.input,{type:"checkbox","aria-hidden":!0,defaultChecked:a??v.current,required:s,disabled:u,name:l,value:c,form:d,...e,tabIndex:-1,ref:m,style:{...e.style,...g,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});uP.displayName=lP;function _L(t){return typeof t=="function"}function bo(t){return t==="indeterminate"}function cP(t){return bo(t)?"indeterminate":t?"checked":"unchecked"}const Tm=x.forwardRef(({className:t,...e},r)=>b.jsx(Sy,{ref:r,className:De("peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",t),...e,children:b.jsx(sP,{className:De("flex items-center justify-center text-current"),children:b.jsx(vE,{className:"h-4 w-4"})})}));Tm.displayName=Sy.displayName;/*! *****************************************************************************
306Copyright (c) Microsoft Corporation.
307
308Permission to use, copy, modify, and/or distribute this software for any
309purpose with or without fee is hereby granted.
310
311THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
312REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
313AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
314INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
315LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
316OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
317PERFORMANCE OF THIS SOFTWARE.
318***************************************************************************** */var Pm=function(t,e){return Pm=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)n.hasOwnProperty(i)&&(r[i]=n[i])},Pm(t,e)};function K(t,e){Pm(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}var ve=function(){return ve=Object.assign||function(e){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},ve.apply(this,arguments)};function NL(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(t);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]]);return r}function ke(t,e,r,n){function i(o){return o instanceof r?o:new r(function(a){a(o)})}return new(r||(r=Promise))(function(o,a){function s(c){try{l(n.next(c))}catch(d){a(d)}}function u(c){try{l(n.throw(c))}catch(d){a(d)}}function l(c){c.done?o(c.value):i(c.value).then(s,u)}l((n=n.apply(t,[])).next())})}function Ce(t,e){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,i,o,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(l){return function(c){return u([l,c])}}function u(l){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(o=l[0]&2?i.return:l[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,l[1])).done)return o;switch(i=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return r.label++,{value:l[1],done:!1};case 5:r.label++,i=l[1],l=[0];continue;case 7:l=r.ops.pop(),r.trys.pop();continue;default:if(o=r.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){r.label=l[1];break}if(l[0]===6&&r.label<o[1]){r.label=o[1],o=l;break}if(o&&r.label<o[2]){r.label=o[2],r.ops.push(l);break}o[2]&&r.ops.pop(),r.trys.pop();continue}l=e.call(t,r)}catch(c){l=[6,c],i=0}finally{n=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}function Ie(){for(var t=0,e=0,r=arguments.length;e<r;e++)t+=arguments[e].length;for(var n=Array(t),i=0,e=0;e<r;e++)for(var o=arguments[e],a=0,s=o.length;a<s;a++,i++)n[i]=o[a];return n}var Es="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
vendor: 8,843 bytes, line 318
318+/",ou=new Uint8Array(256);for(var Rd=0;Rd<Es.length;Rd++)ou[Es.charCodeAt(Rd)]=Rd;var jL=function(t){for(var e="",r=t.length,n=0;n<r;n+=3)e+=Es[t[n]>>2],e+=Es[(t[n]&3)<<4|t[n+1]>>4],e+=Es[(t[n+1]&15)<<2|t[n+2]>>6],e+=Es[t[n+2]&63];return r%3===2?e=e.substring(0,e.length-1)+"=":r%3===1&&(e=e.substring(0,e.length-2)+"=="),e},Qx=function(t){var e=t.length*.75,r=t.length,n,i=0,o,a,s,u;t[t.length-1]==="="&&(e--,t[t.length-2]==="="&&e--);var l=new Uint8Array(e);for(n=0;n<r;n+=4)o=ou[t.charCodeAt(n)],a=ou[t.charCodeAt(n+1)],s=ou[t.charCodeAt(n+2)],u=ou[t.charCodeAt(n+3)],l[i++]=o<<2|a>>4,l[i++]=(a&15)<<4|s>>2,l[i++]=(s&3)<<6|u&63;return l},FL=/^(data)?:?([\w\/\+]+)?;?(charset=[\w-]+|base64)?.*,/i,IL=function(t){var e=t.trim(),r=e.substring(0,100),n=r.match(FL);if(!n)return Qx(e);var i=n[0],o=e.substring(i.length);return Qx(o)},pe=function(t){return t.charCodeAt(0)},DL=function(t){return t.codePointAt(0)},Ic=function(t,e){return Sn(t.toString(16),e,"0").toUpperCase()},cp=function(t){return Ic(t,2)},di=function(t){return String.fromCharCode(t)},ML=function(t){return di(parseInt(t,16))},Sn=function(t,e,r){for(var n="",i=0,o=e-t.length;i<o;i++)n+=r;return n+t},Ut=function(t,e,r){for(var n=t.length,i=0;i<n;i++)e[r++]=t.charCodeAt(i);return n},LL=function(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")},Dc=function(t){return t.replace(/\t|\u0085|\u2028|\u2029/g,"    ").replace(/[\b\v]/g,"")},BL=["\\n","\\f","\\r","\\u000B"],dP=function(t){return/^[\n\f\r\u000B]$/.test(t)},fP=function(t){return t.split(/[\n\f\r\u000B]/)},hP=function(t){return t.replace(/[\n\f\r\u000B]/g," ")},pP=function(t,e){var r=t.charCodeAt(e),n,i=e+1,o=1;return r>=55296&&r<=56319&&t.length>i&&(n=t.charCodeAt(i),n>=56320&&n<=57343&&(o=2)),[t.slice(e,e+o),o]},UL=function(t){for(var e=[],r=0,n=t.length;r<n;){var i=pP(t,r),o=i[0],a=i[1];e.push(o),r+=a}return e},zL=function(t){for(var e=BL.join("|"),r=["$"],n=0,i=t.length;n<i;n++){var o=t[n];if(dP(o))throw new TypeError("`wordBreak` must not include "+e);r.push(o===""?".":LL(o))}var a=r.join("|");return new RegExp("("+e+")|((.*?)("+a+"))","gm")},VL=function(t,e,r,n){for(var i=zL(e),o=Dc(t).match(i),a="",s=0,u=[],l=function(){a!==""&&u.push(a),a="",s=0},c=0,d=o.length;c<d;c++){var h=o[c];if(dP(h))l();else{var f=n(h);s+f>r&&l(),a+=h,s+=f}}return l(),u},WL=/^D:(\d\d\d\d)(\d\d)?(\d\d)?(\d\d)?(\d\d)?(\d\d)?([+\-Z])?(\d\d)?'?(\d\d)?'?$/,vP=function(t){var e=t.match(WL);if(e){var r=e[1],n=e[2],i=n===void 0?"01":n,o=e[3],a=o===void 0?"01":o,s=e[4],u=s===void 0?"00":s,l=e[5],c=l===void 0?"00":l,d=e[6],h=d===void 0?"00":d,f=e[7],m=f===void 0?"Z":f,p=e[8],g=p===void 0?"00":p,v=e[9],y=v===void 0?"00":v,w=m==="Z"?"Z":""+m+g+":"+y,S=new Date(r+"-"+i+"-"+a+"T"+u+":"+c+":"+h+w);return S}},ky=function(t,e){for(var r,n=0,i;n<t.length;){var o=t.substring(n).match(e);if(!o)return{match:i,pos:n};i=o,n+=((r=o.index)!==null&&r!==void 0?r:0)+o[0].length}return{match:i,pos:n}},lh=function(t){return t[t.length-1]},Rm=function(t){if(t instanceof Uint8Array)return t;for(var e=t.length,r=new Uint8Array(e),n=0;n<e;n++)r[n]=t.charCodeAt(n);return r},qL=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var r=t.length,n=[],i=0;i<r;i++){var o=t[i];n[i]=o instanceof Uint8Array?o:Rm(o)}for(var a=0,i=0;i<r;i++)a+=t[i].length;for(var s=new Uint8Array(a),u=0,l=0;l<r;l++)for(var c=n[l],d=0,h=c.length;d<h;d++)s[u++]=c[d];return s},HL=function(t){for(var e=0,r=0,n=t.length;r<n;r++)e+=t[r].length;for(var i=new Uint8Array(e),o=0,r=0,n=t.length;r<n;r++){var a=t[r];i.set(a,o),o+=a.length}return i},mP=function(t){for(var e="",r=0,n=t.length;r<n;r++)e+=di(t[r]);return e},KL=function(t,e){return t.id-e.id},GL=function(t,e){for(var r=[],n=0,i=t.length;n<i;n++){var o=t[n],a=t[n-1];(n===0||e(o)!==e(a))&&r.push(o)}return r},rs=function(t){for(var e=t.length,r=0,n=Math.floor(e/2);r<n;r++){var i=r,o=e-r-1,a=t[r];t[i]=t[o],t[o]=a}return t},XL=function(t){for(var e=0,r=0,n=t.length;r<n;r++)e+=t[r];return e},ZL=function(t,e){for(var r=new Array(e-t),n=0,i=r.length;n<i;n++)r[n]=t+n;return r},YL=function(t,e){for(var r=new Array(e.length),n=0,i=e.length;n<i;n++)r[n]=t[e[n]];return r},JL=function(t){return t instanceof Uint8Array||t instanceof ArrayBuffer||typeof t=="string"},Wl=function(t){if(typeof t=="string")return IL(t);if(t instanceof ArrayBuffer)return new Uint8Array(t);if(t instanceof Uint8Array)return t;throw new TypeError("`input` must be one of `string | ArrayBuffer | Uint8Array`")},ul=function(){return new Promise(function(t){setTimeout(function(){return t()},0)})},QL=function(t,e){e===void 0&&(e=!0);var r=[];e&&r.push(65279);for(var n=0,i=t.length;n<i;){var o=t.codePointAt(n);if(o<65536)r.push(o),n+=1;else if(o<1114112)r.push(gP(o),yP(o)),n+=2;else throw new Error("Invalid code point: 0x"+cp(o))}return new Uint16Array(r)},$L=function(t){return t>=0&&t<=65535},eB=function(t){return t>=65536&&t<=1114111},gP=function(t){return Math.floor((t-65536)/1024)+55296},yP=function(t){return(t-65536)%1024+56320},xo;(function(t){t.BigEndian="BigEndian",t.LittleEndian="LittleEndian"})(xo||(xo={}));var ql="�".codePointAt(0),wP=function(t,e){if(e===void 0&&(e=!0),t.length<=1)return String.fromCodePoint(ql);for(var r=e?rB(t):xo.BigEndian,n=e?2:0,i=[];t.length-n>=2;){var o=e1(t[n++],t[n++],r);if(tB(o))if(t.length-n<2)i.push(ql);else{var a=e1(t[n++],t[n++],r);$x(a)?i.push(o,a):i.push(ql)}else $x(o)?(n+=2,i.push(ql)):i.push(o)}return n<t.length&&i.push(ql),String.fromCodePoint.apply(String,i)},tB=function(t){return t>=55296&&t<=56319},$x=function(t){return t>=56320&&t<=57343},e1=function(t,e,r){if(r===xo.LittleEndian)return e<<8|t;if(r===xo.BigEndian)return t<<8|e;throw new Error("Invalid byteOrder: "+r)},rB=function(t){return bP(t)?xo.BigEndian:xP(t)?xo.LittleEndian:xo.BigEndian},bP=function(t){return t[0]===254&&t[1]===255},xP=function(t){return t[0]===255&&t[1]===254},SP=function(t){return bP(t)||xP(t)},nB=function(t){var e=String(t);if(Math.abs(t)<1){var r=parseInt(t.toString().split("e-")[1]);if(r){var n=t<0;n&&(t*=-1),t*=Math.pow(10,r-1),e="0."+new Array(r).join("0")+t.toString().substring(2),n&&(e="-"+e)}}else{var r=parseInt(t.toString().split("+")[1]);r>20&&(r-=20,t/=Math.pow(10,r),e=t.toString()+new Array(r+1).join("0"))}return e},lf=function(t){return Math.ceil(t.toString(2).length/8)},ns=function(t){for(var e=new Uint8Array(lf(t)),r=1;r<=e.length;r++)e[r-1]=t>>(e.length-r)*8;return e},Mc=function(t){throw new Error(t)},ki={};(function(t){var e=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";function r(o,a){return Object.prototype.hasOwnProperty.call(o,a)}t.assign=function(o){for(var a=Array.prototype.slice.call(arguments,1);a.length;){var s=a.shift();if(s){if(typeof s!="object")throw new TypeError(s+"must be non-object");for(var u in s)r(s,u)&&(o[u]=s[u])}}return o},t.shrinkBuf=function(o,a){return o.length===a?o:o.subarray?o.subarray(0,a):(o.length=a,o)};var n={arraySet:function(o,a,s,u,l){if(a.subarray&&o.subarray){o.set(a.subarray(s,s+u),l);return}for(var c=0;c<u;c++)o[l+c]=a[s+c]},flattenChunks:function(o){var a,s,u,l,c,d;for(u=0,a=0,s=o.length;a<s;a++)u+=o[a].length;for(d=new Uint8Array(u),l=0,a=0,s=o.length;a<s;a++)c=o[a],d.set(c,l),l+=c.length;return d}},i={arraySet:function(o,a,s,u,l){for(var c=0;c<u;c++)o[l+c]=a[s+c]},flattenChunks:function(o){return[].concat.apply([],o)}};t.setTyped=function(o){o?(t.Buf8=Uint8Array,t.Buf16=Uint16Array,t.Buf32=Int32Array,t.assign(t,n)):(t.Buf8=Array,t.Buf16=Array,t.Buf32=Array,t.assign(t,i))},t.setTyped(e)})(ki);var Lc={},Yn={},Sl={},iB=ki,oB=4,t1=0,r1=1,aB=2;function kl(t){for(var e=t.length;--e>=0;)t[e]=0}var sB=0,kP=1,lB=2,uB=3,cB=258,Cy=29,Bc=256,vc=Bc+1+Cy,Ls=30,Ey=19,CP=2*vc+1,aa=15,Rv=16,dB=7,Ty=256,EP=16,TP=17,PP=18,Am=[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],uf=[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],fB=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],RP=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],hB=512,ai=new Array((vc+2)*2);kl(ai);var Cu=new Array(Ls*2);kl(Cu);var mc=new Array(hB);kl(mc);var gc=new Array(cB-uB+1);kl(gc);var Py=new Array(Cy);kl(Py);var uh=new Array(Ls);kl(uh);function Av(t,e,r,n,i){this.static_tree=t,this.extra_bits=e,this.extra_base=r,this.elems=n,this.max_length=i,this.has_stree=t&&t.length}var AP,OP,_P;function Ov(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}function NP(t){return t<256?mc[t]:mc[256+(t>>>7)]}function yc(t,e){t.pending_buf[t.pending++]=e&255,t.pending_buf[t.pending++]=e>>>8&255}function gr(t,e,r){t.bi_valid>Rv-r?(t.bi_buf|=e<<t.bi_valid&65535,yc(t,t.bi_buf),t.bi_buf=e>>Rv-t.bi_valid,t.bi_valid+=r-Rv):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=r)}function Un(t,e,r){gr(t,r[e*2],r[e*2+1])}function jP(t,e){var r=0;do r|=t&1,t>>>=1,r<<=1;while(--e>0);return r>>>1}function pB(t){t.bi_valid===16?(yc(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>
vendor: 20,499 bytes, line 318
318=8&&(t.pending_buf[t.pending++]=t.bi_buf&255,t.bi_buf>>=8,t.bi_valid-=8)}function vB(t,e){var r=e.dyn_tree,n=e.max_code,i=e.stat_desc.static_tree,o=e.stat_desc.has_stree,a=e.stat_desc.extra_bits,s=e.stat_desc.extra_base,u=e.stat_desc.max_length,l,c,d,h,f,m,p=0;for(h=0;h<=aa;h++)t.bl_count[h]=0;for(r[t.heap[t.heap_max]*2+1]=0,l=t.heap_max+1;l<CP;l++)c=t.heap[l],h=r[r[c*2+1]*2+1]+1,h>u&&(h=u,p++),r[c*2+1]=h,!(c>n)&&(t.bl_count[h]++,f=0,c>=s&&(f=a[c-s]),m=r[c*2],t.opt_len+=m*(h+f),o&&(t.static_len+=m*(i[c*2+1]+f)));if(p!==0){do{for(h=u-1;t.bl_count[h]===0;)h--;t.bl_count[h]--,t.bl_count[h+1]+=2,t.bl_count[u]--,p-=2}while(p>0);for(h=u;h!==0;h--)for(c=t.bl_count[h];c!==0;)d=t.heap[--l],!(d>n)&&(r[d*2+1]!==h&&(t.opt_len+=(h-r[d*2+1])*r[d*2],r[d*2+1]=h),c--)}}function FP(t,e,r){var n=new Array(aa+1),i=0,o,a;for(o=1;o<=aa;o++)n[o]=i=i+r[o-1]<<1;for(a=0;a<=e;a++){var s=t[a*2+1];s!==0&&(t[a*2]=jP(n[s]++,s))}}function mB(){var t,e,r,n,i,o=new Array(aa+1);for(r=0,n=0;n<Cy-1;n++)for(Py[n]=r,t=0;t<1<<Am[n];t++)gc[r++]=n;for(gc[r-1]=n,i=0,n=0;n<16;n++)for(uh[n]=i,t=0;t<1<<uf[n];t++)mc[i++]=n;for(i>>=7;n<Ls;n++)for(uh[n]=i<<7,t=0;t<1<<uf[n]-7;t++)mc[256+i++]=n;for(e=0;e<=aa;e++)o[e]=0;for(t=0;t<=143;)ai[t*2+1]=8,t++,o[8]++;for(;t<=255;)ai[t*2+1]=9,t++,o[9]++;for(;t<=279;)ai[t*2+1]=7,t++,o[7]++;for(;t<=287;)ai[t*2+1]=8,t++,o[8]++;for(FP(ai,vc+1,o),t=0;t<Ls;t++)Cu[t*2+1]=5,Cu[t*2]=jP(t,5);AP=new Av(ai,Am,Bc+1,vc,aa),OP=new Av(Cu,uf,0,Ls,aa),_P=new Av(new Array(0),fB,0,Ey,dB)}function IP(t){var e;for(e=0;e<vc;e++)t.dyn_ltree[e*2]=0;for(e=0;e<Ls;e++)t.dyn_dtree[e*2]=0;for(e=0;e<Ey;e++)t.bl_tree[e*2]=0;t.dyn_ltree[Ty*2]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function DP(t){t.bi_valid>8?yc(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0}function gB(t,e,r,n){DP(t),yc(t,r),yc(t,~r),iB.arraySet(t.pending_buf,t.window,e,r,t.pending),t.pending+=r}function n1(t,e,r,n){var i=e*2,o=r*2;return t[i]<t[o]||t[i]===t[o]&&n[e]<=n[r]}function _v(t,e,r){for(var n=t.heap[r],i=r<<1;i<=t.heap_len&&(i<t.heap_len&&n1(e,t.heap[i+1],t.heap[i],t.depth)&&i++,!n1(e,n,t.heap[i],t.depth));)t.heap[r]=t.heap[i],r=i,i<<=1;t.heap[r]=n}function i1(t,e,r){var n,i,o=0,a,s;if(t.last_lit!==0)do n=t.pending_buf[t.d_buf+o*2]<<8|t.pending_buf[t.d_buf+o*2+1],i=t.pending_buf[t.l_buf+o],o++,n===0?Un(t,i,e):(a=gc[i],Un(t,a+Bc+1,e),s=Am[a],s!==0&&(i-=Py[a],gr(t,i,s)),n--,a=NP(n),Un(t,a,r),s=uf[a],s!==0&&(n-=uh[a],gr(t,n,s)));while(o<t.last_lit);Un(t,Ty,e)}function Om(t,e){var r=e.dyn_tree,n=e.stat_desc.static_tree,i=e.stat_desc.has_stree,o=e.stat_desc.elems,a,s,u=-1,l;for(t.heap_len=0,t.heap_max=CP,a=0;a<o;a++)r[a*2]!==0?(t.heap[++t.heap_len]=u=a,t.depth[a]=0):r[a*2+1]=0;for(;t.heap_len<2;)l=t.heap[++t.heap_len]=u<2?++u:0,r[l*2]=1,t.depth[l]=0,t.opt_len--,i&&(t.static_len-=n[l*2+1]);for(e.max_code=u,a=t.heap_len>>1;a>=1;a--)_v(t,r,a);l=o;do a=t.heap[1],t.heap[1]=t.heap[t.heap_len--],_v(t,r,1),s=t.heap[1],t.heap[--t.heap_max]=a,t.heap[--t.heap_max]=s,r[l*2]=r[a*2]+r[s*2],t.depth[l]=(t.depth[a]>=t.depth[s]?t.depth[a]:t.depth[s])+1,r[a*2+1]=r[s*2+1]=l,t.heap[1]=l++,_v(t,r,1);while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],vB(t,e),FP(r,u,t.bl_count)}function o1(t,e,r){var n,i=-1,o,a=e[0*2+1],s=0,u=7,l=4;for(a===0&&(u=138,l=3),e[(r+1)*2+1]=65535,n=0;n<=r;n++)o=a,a=e[(n+1)*2+1],!(++s<u&&o===a)&&(s<l?t.bl_tree[o*2]+=s:o!==0?(o!==i&&t.bl_tree[o*2]++,t.bl_tree[EP*2]++):s<=10?t.bl_tree[TP*2]++:t.bl_tree[PP*2]++,s=0,i=o,a===0?(u=138,l=3):o===a?(u=6,l=3):(u=7,l=4))}function a1(t,e,r){var n,i=-1,o,a=e[0*2+1],s=0,u=7,l=4;for(a===0&&(u=138,l=3),n=0;n<=r;n++)if(o=a,a=e[(n+1)*2+1],!(++s<u&&o===a)){if(s<l)do Un(t,o,t.bl_tree);while(--s!==0);else o!==0?(o!==i&&(Un(t,o,t.bl_tree),s--),Un(t,EP,t.bl_tree),gr(t,s-3,2)):s<=10?(Un(t,TP,t.bl_tree),gr(t,s-3,3)):(Un(t,PP,t.bl_tree),gr(t,s-11,7));s=0,i=o,a===0?(u=138,l=3):o===a?(u=6,l=3):(u=7,l=4)}}function yB(t){var e;for(o1(t,t.dyn_ltree,t.l_desc.max_code),o1(t,t.dyn_dtree,t.d_desc.max_code),Om(t,t.bl_desc),e=Ey-1;e>=3&&t.bl_tree[RP[e]*2+1]===0;e--);return t.opt_len+=3*(e+1)+5+5+4,e}function wB(t,e,r,n){var i;for(gr(t,e-257,5),gr(t,r-1,5),gr(t,n-4,4),i=0;i<n;i++)gr(t,t.bl_tree[RP[i]*2+1],3);a1(t,t.dyn_ltree,e-1),a1(t,t.dyn_dtree,r-1)}function bB(t){var e=4093624447,r;for(r=0;r<=31;r++,e>>>=1)if(e&1&&t.dyn_ltree[r*2]!==0)return t1;if(t.dyn_ltree[9*2]!==0||t.dyn_ltree[10*2]!==0||t.dyn_ltree[13*2]!==0)return r1;for(r=32;r<Bc;r++)if(t.dyn_ltree[r*2]!==0)return r1;return t1}var s1=!1;function xB(t){s1||(mB(),s1=!0),t.l_desc=new Ov(t.dyn_ltree,AP),t.d_desc=new Ov(t.dyn_dtree,OP),t.bl_desc=new Ov(t.bl_tree,_P),t.bi_buf=0,t.bi_valid=0,IP(t)}function MP(t,e,r,n){gr(t,(sB<<1)+(n?1:0),3),gB(t,e,r)}function SB(t){gr(t,kP<<1,3),Un(t,Ty,ai),pB(t)}function kB(t,e,r,n){var i,o,a=0;t.level>0?(t.strm.data_type===aB&&(t.strm.data_type=bB(t)),Om(t,t.l_desc),Om(t,t.d_desc),a=yB(t),i=t.opt_len+3+7>>>3,o=t.static_len+3+7>>>3,o<=i&&(i=o)):i=o=r+5,r+4<=i&&e!==-1?MP(t,e,r,n):t.strategy===oB||o===i?(gr(t,(kP<<1)+(n?1:0),3),i1(t,ai,Cu)):(gr(t,(lB<<1)+(n?1:0),3),wB(t,t.l_desc.max_code+1,t.d_desc.max_code+1,a+1),i1(t,t.dyn_ltree,t.dyn_dtree)),IP(t),n&&DP(t)}function CB(t,e,r){return t.pending_buf[t.d_buf+t.last_lit*2]=e>>>8&255,t.pending_buf[t.d_buf+t.last_lit*2+1]=e&255,t.pending_buf[t.l_buf+t.last_lit]=r&255,t.last_lit++,e===0?t.dyn_ltree[r*2]++:(t.matches++,e--,t.dyn_ltree[(gc[r]+Bc+1)*2]++,t.dyn_dtree[NP(e)*2]++),t.last_lit===t.lit_bufsize-1}Sl._tr_init=xB;Sl._tr_stored_block=MP;Sl._tr_flush_block=kB;Sl._tr_tally=CB;Sl._tr_align=SB;function EB(t,e,r,n){for(var i=t&65535|0,o=t>>>16&65535|0,a=0;r!==0;){a=r>2e3?2e3:r,r-=a;do i=i+e[n++]|0,o=o+i|0;while(--a);i%=65521,o%=65521}return i|o<<16|0}var LP=EB;function TB(){for(var t,e=[],r=0;r<256;r++){t=r;for(var n=0;n<8;n++)t=t&1?3988292384^t>>>1:t>>>1;e[r]=t}return e}var PB=TB();function RB(t,e,r,n){var i=PB,o=n+r;t^=-1;for(var a=n;a<o;a++)t=t>>>8^i[(t^e[a])&255];return t^-1}var BP=RB,Ry={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},ar=ki,Zr=Sl,UP=LP,Mi=BP,AB=Ry,Da=0,OB=1,_B=3,So=4,l1=5,zn=0,u1=1,Yr=-2,NB=-3,Nv=-5,jB=-1,FB=1,Ad=2,IB=3,DB=4,MB=0,LB=2,dp=8,BB=9,UB=15,zB=8,VB=29,WB=256,_m=WB+1+VB,qB=30,HB=19,KB=2*_m+1,GB=15,Fe=3,ao=258,En=ao+Fe+1,XB=32,fp=42,Nm=69,cf=73,df=91,ff=103,sa=113,au=666,At=1,Uc=2,Ta=3,Cl=4,ZB=3;function so(t,e){return t.msg=AB[e],e}function c1(t){return(t<<1)-(t>4?9:0)}function Yi(t){for(var e=t.length;--e>=0;)t[e]=0}function Li(t){var e=t.state,r=e.pending;r>t.avail_out&&(r=t.avail_out),r!==0&&(ar.arraySet(t.output,e.pending_buf,e.pending_out,r,t.next_out),t.next_out+=r,e.pending_out+=r,t.total_out+=r,t.avail_out-=r,e.pending-=r,e.pending===0&&(e.pending_out=0))}function zt(t,e){Zr._tr_flush_block(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,Li(t.strm)}function He(t,e){t.pending_buf[t.pending++]=e}function Hl(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=e&255}function YB(t,e,r,n){var i=t.avail_in;return i>n&&(i=n),i===0?0:(t.avail_in-=i,ar.arraySet(e,t.input,t.next_in,i,r),t.state.wrap===1?t.adler=UP(t.adler,e,i,r):t.state.wrap===2&&(t.adler=Mi(t.adler,e,i,r)),t.next_in+=i,t.total_in+=i,i)}function zP(t,e){var r=t.max_chain_length,n=t.strstart,i,o,a=t.prev_length,s=t.nice_match,u=t.strstart>t.w_size-En?t.strstart-(t.w_size-En):0,l=t.window,c=t.w_mask,d=t.prev,h=t.strstart+ao,f=l[n+a-1],m=l[n+a];t.prev_length>=t.good_match&&(r>>=2),s>t.lookahead&&(s=t.lookahead);do if(i=e,!(l[i+a]!==m||l[i+a-1]!==f||l[i]!==l[n]||l[++i]!==l[n+1])){n+=2,i++;do;while(l[++n]===l[++i]&&l[++n]===l[++i]&&l[++n]===l[++i]&&l[++n]===l[++i]&&l[++n]===l[++i]&&l[++n]===l[++i]&&l[++n]===l[++i]&&l[++n]===l[++i]&&n<h);if(o=ao-(h-n),n=h-ao,o>a){if(t.match_start=e,a=o,o>=s)break;f=l[n+a-1],m=l[n+a]}}while((e=d[e&c])>u&&--r!==0);return a<=t.lookahead?a:t.lookahead}function Pa(t){var e=t.w_size,r,n,i,o,a;do{if(o=t.window_size-t.lookahead-t.strstart,t.strstart>=e+(e-En)){ar.arraySet(t.window,t.window,e,e,0),t.match_start-=e,t.strstart-=e,t.block_start-=e,n=t.hash_size,r=n;do i=t.head[--r],t.head[r]=i>=e?i-e:0;while(--n);n=e,r=n;do i=t.prev[--r],t.prev[r]=i>=e?i-e:0;while(--n);o+=e}if(t.strm.avail_in===0)break;if(n=YB(t.strm,t.window,t.strstart+t.lookahead,o),t.lookahead+=n,t.lookahead+t.insert>=Fe)for(a=t.strstart-t.insert,t.ins_h=t.window[a],t.ins_h=(t.ins_h<<t.hash_shift^t.window[a+1])&t.hash_mask;t.insert&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[a+Fe-1])&t.hash_mask,t.prev[a&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=a,a++,t.insert--,!(t.lookahead+t.insert<Fe)););}while(t.lookahead<En&&t.strm.avail_in!==0)}function JB(t,e){var r=65535;for(r>t.pending_buf_size-5&&(r=t.pending_buf_size-5);;){if(t.lookahead<=1){if(Pa(t),t.lookahead===0&&e===Da)return At;if(t.lookahead===0)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+r;if((t.strstart===0||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,zt(t,!1),t.strm.avail_out===0)||t.strstart-t.block_start>=t.w_size-En&&(zt(t,!1),t.strm.avail_out===0))return At}return t.insert=0,e===So?(zt(t,!0),t.strm.avail_out===0?Ta:Cl):(t.strstart>t.block_start&&(zt(t,!1),t.strm.avail_out===0),At)}function jv(t,e){for(var r,n;;){if(t.lookahead<En){if(Pa(t),t.lookahead<En&&e===Da)return At;if(t.lookahead===0)break}if(r=0,t.lookahead>=Fe&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+Fe-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),r!==0&&t.strstart-r<=t.w_size-En&&(t.match_length=zP(t,r)),t.match_length>=Fe)if(n=Zr._tr_tally(t,t.strstart-t.match_start,t.match_length-Fe),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=Fe){t.match_length--;do t.strstart++,t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+Fe-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart;while(--t.match_length!==0);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+1])&t.hash_mask;else n=Zr._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(zt(t,!1),t.strm.avail_out===0))return At}return t.insert=t.strstart<Fe-1?t.strstart:Fe-1,e===So?(zt(t,!0),t.strm.avail_out===0?Ta:Cl):t.last_lit&&(zt(t,!1),t.strm.avail_out===0)?At:Uc}function is(t,e){for(var r,n,i;;){if(t.lookahead<En){if(Pa(t),t.lookahead<En&&e===Da)return At;if(t.lookahead===0)break}if(r=0,t.lookahead>=Fe&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+Fe-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=Fe-1,r!==0&&t.prev_length<t.max_lazy_match&&t.strstart-r<=t.w_size-En&&(t.match_length=zP(t,r),t.match_length<=5&&(t.strategy===FB||t.match_length===Fe&&t.strstart-t.match_start>4096)&&(t.match_length=Fe-1)),t.prev_length>=Fe&&t.match_length<=t.prev_length){i=t.strstart+t.lookahead-Fe,n=Zr._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-Fe),t.lookahead-=t.prev_length-1,t.prev_length-=2;do++t.strstart<=i&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+Fe-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart);while(--t.prev_length!==0);if(t.match_available=0,t.match_length=Fe-1,t.strstart++,n&&(zt(t,!1),t.strm.avail_out===0))return At}else if(t.match_available){if(n=Zr._tr_tally(t,0,t.window[t.strstart-1]),n&&zt(t,!1),t.strstart++,t.lookahead--,t.strm.avail_out===0)return At}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(n=Zr._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<Fe-1?t.strstart:Fe-1,e===So?(zt(t,!0),t.strm.avail_out===0?Ta:Cl):t.last_lit&&(zt(t,!1),t.strm.avail_out===0)?At:Uc}function QB(t,e){for(var r,n,i,o,a=t.window;;){if(t.lookahead<=ao){if(Pa(t),t.lookahead<=ao&&e===Da)return At;if(t.lookahead===0)break}if(t.match_length=0,t.lookahead>=Fe&&t.strstart>0&&(i=t.strstart-1,n=a[i],n===a[++i]&&n===a[++i]&&n===a[++i])){o=t.strstart+ao;do;while(n===a[++i]&&n===a[++i]&&n===a[++i]&&n===a[++i]&&n===a[++i]&&n===a[++i]&&n===a[++i]&&n===a[++i]&&i<o);t.match_length=ao-(o-i),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=Fe?(r=Zr._tr_tally(t,1,t.match_length-Fe),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(r=Zr._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),r&&(zt(t,!1),t.strm.avail_out===0))return At}return t.insert=0,e===So?(zt(t,!0),t.strm.avail_out===0?Ta:Cl):t.last_lit&&(zt(t,!1),t.strm.avail_out===0)?At:Uc}function $B(t,e){for(var r;;){if(t.lookahead===0&&(Pa(t),t.lookahead===0)){if(e===Da)return At;break}if(t.match_length=0,r=Zr._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,r&&(zt(t,!1),t.strm.avail_out===0))return At}return t.insert=0,e===So?(zt(t,!0),t.strm.avail_out===0?Ta:Cl):t.last_lit&&(zt(t,!1),t.strm.avail_out===0)?At:Uc}function Nn(t,e,r,n,i){this.good_length=t,this.max_lazy=e,this.nice_length=r,this.max_chain=n,this.func=i}var Ts;Ts=[new Nn(0,0,0,0,JB),new Nn(4,4,8,4,jv),new Nn(4,5,16,8,jv),new Nn(4,6,32,32,jv),new Nn(4,4,16,16,is),new Nn(8,16,32,32,is),new Nn(8,16,128,128,is),new Nn(8,32,128,256,is),new Nn(32,128,258,1024,is),new Nn(32,258,258,4096,is)];function eU(t){t.window_size=2*t.w_size,Yi(t.head),t.max_lazy_match=Ts[t.level].max_lazy,t.good_match=Ts[t.level].good_length,t.nice_match=Ts[t.level].nice_length,t.max_chain_length=Ts[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=Fe-1,t.match_available=0,t.ins_h=0}function tU(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=dp,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new ar.Buf16(KB*2),this.dyn_dtree=new ar.Buf16((2*qB+1)*2),this.bl_tree=new ar.Buf16((2*HB+1)*2),Yi(this.dyn_ltree),Yi(this.dyn_dtree),Yi(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new ar.Buf16(GB+1),this.heap=new ar.Buf16(2*_m+1),Yi(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new ar.Buf16(2*_m+1),Yi(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function VP(t){var e;return!t||!t.state?so(t,Yr):(t.total_in=t.total_out=0,t.data_type=LB,e=t.state,e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?fp:sa,t.adler=e.wrap===2?0:1,e.last_flush=Da,Zr._tr_init(e),zn)}function WP(t){var e=VP(t);return e===zn&&eU(t.state),e}function rU(t,e){return!t||!t.state||t.state.wrap!==2?Yr:(t.state.gzhead=e,zn)}function qP(t,e,r,n,i,o){if(!t)return Yr;var a=1;if(e===jB&&(e=6),n<0?(a=0,n=-n):n>15&&(a=2,n-=16),i<1||i>BB||r!==dp||n<8||n>15||e<0||e>9||o<0||o>DB)return so(t,Yr);n===8&&(n=9);var s=new tU;return t.state=s,s.strm=t,s.wrap=a,s.gzhead=null,s.w_bits=n,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=i+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+Fe-1)/Fe),s.window=new ar.Buf8(s.w_size*2),s.head=new ar.Buf16(s.hash_size),s.prev=new ar.Buf16(s.w_size),s.lit_bufsize=1<<i+6,s.pending_buf_size=s.lit_bufsize*4,s.pending_buf=new ar.Buf8(s.pending_buf_size),s.d_buf=1*s.lit_bufsize,s.l_buf=3*s.lit_bufsize,s.level=e,s.strategy=o,s.method=r,WP(t)}function nU(t,e){return qP(t,e,dp,UB,zB,MB)}function iU(t,e){var r,n,i,o;if(!t||!t.state||e>l1||e<0)return t?so(t,Yr):Yr;if(n=t.state,!t.output||!t.input&&t.avail_in!==0||n.status===au&&e!==So)return so(t,t.avail_out===0?Nv:Yr);if(n.strm=t,r=n.last_flush,n.last_flush=e,n.status===fp)if(n.wrap===2)t.adler=0,He(n,31),He(n,139),He(n,8),n.gzhead?(He(n,(n.gzhead.text?1:0)+(n.gzhead.hcrc?2:0)+(n.gzhead.extra?4:0)+(n.gzhead.name?8:0)+(n.gzhead.comment?16:0)),He(n,n.gzhead.time&255),He(n,n.gzhead.time>>8&255),He(n,n.gzhead.time>>16&255),He(n,n.gzhead.time>>24&255),He(n,n.level===9?2:n.strategy>=Ad||n.level<2?4:0),He(n,n.gzhead.os&255),n.gzhead.extra&&n.gzhead.extra.length&&(He(n,n.gzhead.extra.length&255),He(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(t.adler=Mi(t.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=Nm):(He(n,0),He(n,0),He(n,0),He(n,0),He(n,0),He(n,n.level===9?2:n.strategy>=Ad||n.level<2?4:0),He(n,ZB),n.status=sa);else{var a=dp+(n.w_bits-8<<4)<<8,s=-1;n.strategy>=Ad||n.level<2?s=0:n.level<6?s=1:n.level===6?s=2:s=3,a|=s<<6,n.strstart!==0&&(a|=XB),a+=31-a%31,n.status=sa,Hl(n,a),n.strstart!==0&&(Hl(n,t.adler>>>16),Hl(n,t.adler&65535)),t.adler=1}if(n.status===Nm)if(n.gzhead.extra){for(i=n.pending;n.gzindex<(n.gzhead.extra.length&65535)&&!(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>i&&(t.adler=Mi(t.adler,n.pending_buf,n.pending-i,i)),Li(t),i=n.pending,n.pending===n.pending_buf_size));)He(n,n.gzhead.extra[n.gzindex]&255),n.gzindex++;n.gzhead.hcrc&&n.pending>i&&(t.adler=Mi(t.adler,n.pending_buf,n.pending-i,i)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=cf)}else n.status=cf;if(n.status===cf)if(n.gzhead.name){i=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>i&&(t.adler=Mi(t.adler,n.pending_buf,n.pending-i,i)),Li(t),i=n.pending,n.pending===n.pending_buf_size)){o=1;break}n.gzindex<n.gzhead.name.length?o=n.gzhead.name.charCodeAt(n.gzindex++)&255:o=0,He(n,o)}while(o!==0);n.gzhead.hcrc&&n.pending>i&&(t.adler=Mi(t.adler,n.pending_buf,n.pending-i,i)),o===0&&(n.gzindex=0,n.status=df)}else n.status=df;if(n.status===df)if(n.gzhead.comment){i=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>i&&(t.adler=Mi(t.adler,n.pending_buf,n.pending-i,i)),Li(t),i=n.pending,n.pending===n.pending_buf_size)){o=1;break}n.gzindex<n.gzhead.comment.length?o=n.gzhead.comment.charCodeAt(n.gzindex++)&255:o=0,He(n,o)}while(o!==0);n.gzhead.hcrc&&n.pending>i&&(t.adler=Mi(t.adler,n.pending_buf,n.pending-i,i)),o===0&&(n.status=ff)}else n.status=ff;if(n.status===ff&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&Li(t),n.pending+2<=n.pending_buf_size&&(He(n,t.adler&255),He(n,t.adler>>8&255),t.adler=0,n.status=sa)):n.status=sa),n.pending!==0){if(Li(t),t.avail_out===0)return n.last_flush=-1,zn}else if(t.avail_in===0&&c1(e)<=c1(r)&&e!==So)return so(t,Nv);if(n.status===au&&t.avail_in!==0)return so(t,Nv);if(t.avail_in!==0||n.lookahead!==0||e!==Da&&n.status!==au){var u=n.strategy===Ad?$B(n,e):n.strategy===IB?QB(n,e):Ts[n.level].func(n,e);if((u===Ta||u===Cl)&&(n.status=au),u===At||u===Ta)return t.avail_out===0&&(n.last_flush=-1),zn;if(u===Uc&&(e===OB?Zr._tr_align(n):e!==l1&&(Zr._tr_stored_block(n,0,0,!1),e===_B&&(Yi(n.head),n.lookahead===0&&(n.strstart=0,n.block_start=0,n.insert=0))),Li(t),t.avail_out===0))return n.last_flush=-1,zn}return e!==So?zn:n.wrap<=0?u1:(n.wrap===2?(He(n,t.adler&255),He(n,t.adler>>8&255),He(n,t.adler>>16&255),He(n,t.adler>>24&255),He(n,t.total_in&255),He(n,t.total_in>>8&255),He(n,t.total_in>>16&255),He(n,t.total_in>>24&255)):(Hl(n,t.adler>>>16),Hl(n,t.adler&65535)),Li(t),n.wrap>0&&(n.wrap=-n.wrap),n.pending!==0?zn:u1)}function oU(t){var e;return!t||!t.state?Yr:(e=t.state.status,e!==fp&&e!==Nm&&e!==cf&&e!==df&&e!==ff&&e!==sa&&e!==au?so(t,Yr):(t.state=null,e===sa?so(t,NB):zn))}function aU(t,e){var r=e.length,n,i,o,a,s,u,l,c;if(!t||!t.state||(n=t.state,a=n.wrap,a===2||a===1&&n.status!==fp||n.lookahead))return Yr;for(a===1&&(t.adler=UP(t.adler,e,r,0)),n.wrap=0,r>=n.w_size&&(a===0&&(Yi(n.head),n.strstart=0,n.block_start=0,n.insert=0),c=new ar.Buf8(n.w_size),ar.arraySet(c,e,r-n.w_size,n.w_size,0),e=c,r=n.w_size),s=t.avail_in,u=t.next_in,l=t.input,t.avail_in=r,t.next_in=0,t.input=e,Pa(n);n.lookahead>=Fe;){i=n.strstart,o=n.lookahead-(Fe-1);do n.ins_h=(n.ins_h<<n.hash_shift^n.window[i+Fe-1])&n.hash_mask,n.prev[i&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=i,i++;while(--o);n.strstart=i,n.lookahead=Fe-1,Pa(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=Fe-1,n.match_available=0,t.next_in=u,t.input
vendor: 1,715 bytes, line 318
318=l,t.avail_in=s,n.wrap=a,zn}Yn.deflateInit=nU;Yn.deflateInit2=qP;Yn.deflateReset=WP;Yn.deflateResetKeep=VP;Yn.deflateSetHeader=rU;Yn.deflate=iU;Yn.deflateEnd=oU;Yn.deflateSetDictionary=aU;Yn.deflateInfo="pako deflate (from Nodeca project)";var Ma={},hp=ki,HP=!0,KP=!0;try{String.fromCharCode.apply(null,[0])}catch{HP=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{KP=!1}var wc=new hp.Buf8(256);for(var ji=0;ji<256;ji++)wc[ji]=ji>=252?6:ji>=248?5:ji>=240?4:ji>=224?3:ji>=192?2:1;wc[254]=wc[254]=1;Ma.string2buf=function(t){var e,r,n,i,o,a=t.length,s=0;for(i=0;i<a;i++)r=t.charCodeAt(i),(r&64512)===55296&&i+1<a&&(n=t.charCodeAt(i+1),(n&64512)===56320&&(r=65536+(r-55296<<10)+(n-56320),i++)),s+=r<128?1:r<2048?2:r<65536?3:4;for(e=new hp.Buf8(s),o=0,i=0;o<s;i++)r=t.charCodeAt(i),(r&64512)===55296&&i+1<a&&(n=t.charCodeAt(i+1),(n&64512)===56320&&(r=65536+(r-55296<<10)+(n-56320),i++)),r<128?e[o++]=r:r<2048?(e[o++]=192|r>>>6,e[o++]=128|r&63):r<65536?(e[o++]=224|r>>>12,e[o++]=128|r>>>6&63,e[o++]=128|r&63):(e[o++]=240|r>>>18,e[o++]=128|r>>>12&63,e[o++]=128|r>>>6&63,e[o++]=128|r&63);return e};function GP(t,e){if(e<65534&&(t.subarray&&KP||!t.subarray&&HP))return String.fromCharCode.apply(null,hp.shrinkBuf(t,e));for(var r="",n=0;n<e;n++)r+=String.fromCharCode(t[n]);return r}Ma.buf2binstring=function(t){return GP(t,t.length)};Ma.binstring2buf=function(t){for(var e=new hp.Buf8(t.length),r=0,n=e.length;r<n;r++)e[r]=t.charCodeAt(r);return e};Ma.buf2string=function(t,e){var r,n,i,o,a=e||t.length,s=new Array(a*2);for(n=0,r=0;r<a;){if(i=t[r++],i<128){s[n++]=i;continue}if(o=wc[i],o>4){s[n++]=65533,r+=o-1;continue}for(i&=o===2?31:o===3?15:7;o>1&&r<a;)i=i<<6|t[r++]&63,o--;if(o>1){s[n++]=65533;continue}
vendor: 1,582 bytes, line 318
318i<65536?s[n++]=i:(i-=65536,s[n++]=55296|i>>10&1023,s[n++]=56320|i&1023)}return GP(s,n)};Ma.utf8border=function(t,e){var r;for(e=e||t.length,e>t.length&&(e=t.length),r=e-1;r>=0&&(t[r]&192)===128;)r--;return r<0||r===0?e:r+wc[t[r]]>e?r:e};function sU(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var XP=sU,Eu=Yn,Tu=ki,jm=Ma,Fm=Ry,lU=XP,ZP=Object.prototype.toString,uU=0,Fv=4,Bs=0,d1=1,f1=2,cU=-1,dU=0,fU=8;function Ra(t){if(!(this instanceof Ra))return new Ra(t);this.options=Tu.assign({level:cU,method:fU,chunkSize:16384,windowBits:15,memLevel:8,strategy:dU,to:""},t||{});var e=this.options;e.raw&&e.windowBits>0?e.windowBits=-e.windowBits:e.gzip&&e.windowBits>0&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new lU,this.strm.avail_out=0;var r=Eu.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(r!==Bs)throw new Error(Fm[r]);if(e.header&&Eu.deflateSetHeader(this.strm,e.header),e.dictionary){var n;if(typeof e.dictionary=="string"?n=jm.string2buf(e.dictionary):ZP.call(e.dictionary)==="[object ArrayBuffer]"?n=new Uint8Array(e.dictionary):n=e.dictionary,r=Eu.deflateSetDictionary(this.strm,n),r!==Bs)throw new Error(Fm[r]);this._dict_set=!0}}Ra.prototype.push=function(t,e){var r=this.strm,n=this.options.chunkSize,i,o;if(this.ended)return!1;o=e===~~e?e:e===!0?Fv:uU,typeof t=="string"?r.input=jm.string2buf(t):ZP.call(t)==="[object ArrayBuffer]"?r.input
vendor: 6,183 bytes, line 318
318=new Uint8Array(t):r.input=t,r.next_in=0,r.avail_in=r.input.length;do{if(r.avail_out===0&&(r.output=new Tu.Buf8(n),r.next_out=0,r.avail_out=n),i=Eu.deflate(r,o),i!==d1&&i!==Bs)return this.onEnd(i),this.ended=!0,!1;(r.avail_out===0||r.avail_in===0&&(o===Fv||o===f1))&&(this.options.to==="string"?this.onData(jm.buf2binstring(Tu.shrinkBuf(r.output,r.next_out))):this.onData(Tu.shrinkBuf(r.output,r.next_out)))}while((r.avail_in>0||r.avail_out===0)&&i!==d1);return o===Fv?(i=Eu.deflateEnd(this.strm),this.onEnd(i),this.ended=!0,i===Bs):(o===f1&&(this.onEnd(Bs),r.avail_out=0),!0)};Ra.prototype.onData=function(t){this.chunks.push(t)};Ra.prototype.onEnd=function(t){t===Bs&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Tu.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};function Ay(t,e){var r=new Ra(e);if(r.push(t,!0),r.err)throw r.msg||Fm[r.err];return r.result}function hU(t,e){return e=e||{},e.raw=!0,Ay(t,e)}function pU(t,e){return e=e||{},e.gzip=!0,Ay(t,e)}Lc.Deflate=Ra;Lc.deflate=Ay;Lc.deflateRaw=hU;Lc.gzip=pU;var zc={},On={},Od=30,vU=12,mU=function(e,r){var n,i,o,a,s,u,l,c,d,h,f,m,p,g,v,y,w,S,k,C,E,R,A,_,O;n=e.state,i=e.next_in,_=e.input,o=i+(e.avail_in-5),a=e.next_out,O=e.output,s=a-(r-e.avail_out),u=a+(e.avail_out-257),l=n.dmax,c=n.wsize,d=n.whave,h=n.wnext,f=n.window,m=n.hold,p=n.bits,g=n.lencode,v=n.distcode,y=(1<<n.lenbits)-1,w=(1<<n.distbits)-1;e:do{p<15&&(m+=_[i++]<<p,p+=8,m+=_[i++]<<p,p+=8),S=g[m&y];t:for(;;){if(k=S>>>24,m>>>=k,p-=k,k=S>>>16&255,k===0)O[a++]=S&65535;else if(k&16){C=S&65535,k&=15,k&&(p<k&&(m+=_[i++]<<p,p+=8),C+=m&(1<<k)-1,m>>>=k,p-=k),p<15&&(m+=_[i++]<<p,p+=8,m+=_[i++]<<p,p+=8),S=v[m&w];r:for(;;){if(k=S>>>24,m>>>=k,p-=k,k=S>>>16&255,k&16){if(E=S&65535,k&=15,p<k&&(m+=_[i++]<<p,p+=8,p<k&&(m+=_[i++]<<p,p+=8)),E+=m&(1<<k)-1,E>l){e.msg="invalid distance too far back",n.mode=Od;break e}if(m>>>=k,p-=k,k=a-s,E>k){if(k=E-k,k>d&&n.sane){e.msg="invalid distance too far back",n.mode=Od;break e}if(R=0,A=f,h===0){if(R+=c-k,k<C){C-=k;do O[a++]=f[R++];while(--k);R=a-E,A=O}}else if(h<k){if(R+=c+h-k,k-=h,k<C){C-=k;do O[a++]=f[R++];while(--k);if(R=0,h<C){k=h,C-=k;do O[a++]=f[R++];while(--k);R=a-E,A=O}}}else if(R+=h-k,k<C){C-=k;do O[a++]=f[R++];while(--k);R=a-E,A=O}for(;C>2;)O[a++]=A[R++],O[a++]=A[R++],O[a++]=A[R++],C-=3;C&&(O[a++]=A[R++],C>1&&(O[a++]=A[R++]))}else{R=a-E;do O[a++]=O[R++],O[a++]=O[R++],O[a++]=O[R++],C-=3;while(C>2);C&&(O[a++]=O[R++],C>1&&(O[a++]=O[R++]))}}else if(k&64){e.msg="invalid distance code",n.mode=Od;break e}else{S=v[(S&65535)+(m&(1<<k)-1)];continue r}break}}else if(k&64)if(k&32){n.mode=vU;break e}else{e.msg="invalid literal/length code",n.mode=Od;break e}else{S=g[(S&65535)+(m&(1<<k)-1)];continue t}break}}while(i<o&&a<u);C=p>>3,i-=C,p-=C<<3,m&=(1<<p)-1,e.next_in=i,e.next_out=a,e.avail_in=i<o?5+(o-i):5-(i-o),e.avail_out=a<u?257+(u-a):257-(a-u),n.hold=m,n.bits=p},h1=ki,os=15,p1=852,v1=592,m1=0,Iv=1,g1=2,gU=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],yU=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],wU=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],bU=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64],xU=function(e,r,n,i,o,a,s,u){var l=u.bits,c=0,d=0,h=0,f=0,m=0,p=0,g=0,v=0,y=0,w=0,S,k,C,E,R,A=null,_=0,O,D=new h1.Buf16(os+1),M=new h1.Buf16(os+1),L=null,N=0,j,V,I;for(c=0;c<=os;c++)D[c]=0;for(d=0;d<i;d++)D[r[n+d]]++;for(m=l,f=os;f>=1&&D[f]===0;f--);if(m>f&&(m=f),f===0)return o[a++]=1<<24|64<<16|0,o[a++]=1<<24|64<<16|0,u.bits=1,0;for(h=1;h<f&&D[h]===0;h++);for(m<h&&(m=h),v=1,c=1;c<=os;c++)if(v<<=1,v-=D[c],v<0)return-1;if(v>0&&(e===m1||f!==1))return-1;for(M[1]=0,c=1;c<os;c++)M[c+1]=M[c]+D[c];for(d=0;d<i;d++)r[n+d]!==0&&(s[M[r[n+d]]++]=d);if(e===m1?(A=L=s,O=19):e===Iv?(A=gU,_-=257,L=yU,N-=257,O=256):(A=wU,L=bU,O=-1),w=0,d=0,c=h,R=a,p=m,g=0,C=-1,y=1<<m,E=y-1,e===Iv&&y>p1||e===g1&&y>v1)return 1;for(;;){j=c-g,s[d]<O?(V=0,I=s[d]):s[d]>O?(V=L[N+s[d]],I=A[_+s[d]]):(V=96,I=0),S=1<<c-g,k=1<<p,h=k;do k-=S,o[R+(w>>g)+k]=j<<24|V<<16|I|0;while(k!==0);for(S=1<<c-1;w&S;)S>>=1;if(S!==0?(w&=S-1,w+=S):w=0,d++,--D[c]===0){if(c===f)break;c=r[n+s[d]]}if(c>m&&(w&E)!==C){for(g===0&&(g=m),R+=h,p=c-g,v=1<<p;p+g<f&&(v-=D[p+g],!(v<=0));)p++,v<<=1;if(y+=1<<p,e===Iv&&y>p1||e===g1&&y>v1)return 1;C=w&E,o[C]=m<<24|p<<16|R-a|0}}return w!==0&&(o[R+w]=c-g<<24|64<<16|0),u.bits=m,0},Tr=ki,Im=LP,jn=BP,SU=mU,Pu=xU,kU=0,YP=1,JP=2,y1=4,CU=5,_d=6,Aa=0,EU=1,TU=2,$r=-2,QP=-3,$P=-4,PU=-5,w1=8,eR=1,b1=2,x1=3,S1=4,k1=5,C1=6,E1=7,T1=8,P1=9,R1=10,ch=11,Qn=12,Dv=13,A1=14,Mv=15,O1=16,_1=17,N1=18,j1=19,Nd=20,jd=21,F1=22,I1=23,D1=24,M1=25,L1=26,Lv=27,B1=28,U1=29,ct=30,tR=31,RU=32,AU=852,OU=592,_U=15,NU=_U;function z1(t){return(t>>>24&255)+(t>>>8&65280)+((t&65280)<<8)+((t&255)<<24)}function jU(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Tr.Buf16(320),this.work=new Tr.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function rR(t){var e;return!t||!t.state?$r:(e=t.state,t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=e.wrap&1),e.mode=eR,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new Tr.Buf32(AU),e.distcode=e.distdyn=new Tr.Buf32(OU),e.sane=1,e.back=-1,Aa)}function nR(t){var e;return!t||!t.state?$r:(e=t.state,e.wsize=0,e.whave=0,e.wnext=0,rR(t))}function iR(t,e){var r,n;return!t||!t.state||(n=t.state,e<0?(r=0,e=-e):(r=(e>>4)+1,e<48&&(e&=15)),e&&(e<8||e>15))?$r:(n.window!==null&&n.wbits!==e&&(n.window=null),n.wrap=r,n.wbits=e,nR(t))}function oR(t,e){var r,n;return t?(n=new jU,t.state=n,n.window=null,r=iR(t,e),r!==Aa&&(t.state=null),r):$r}function FU(t){return oR(t,NU)}var V1=!0,Bv,Uv;function IU(t){if(V1){var e;
vendor: 5,900 bytes, line 318
318for(Bv=new Tr.Buf32(512),Uv=new Tr.Buf32(32),e=0;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(Pu(YP,t.lens,0,288,Bv,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;Pu(JP,t.lens,0,32,Uv,0,t.work,{bits:5}),V1=!1}t.lencode=Bv,t.lenbits=9,t.distcode=Uv,t.distbits=5}function aR(t,e,r,n){var i,o=t.state;return o.window===null&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new Tr.Buf8(o.wsize)),n>=o.wsize?(Tr.arraySet(o.window,e,r-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):(i=o.wsize-o.wnext,i>n&&(i=n),Tr.arraySet(o.window,e,r-n,i,o.wnext),n-=i,n?(Tr.arraySet(o.window,e,r-n,n,0),o.wnext=n,o.whave=o.wsize):(o.wnext+=i,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=i))),0}function DU(t,e){var r,n,i,o,a,s,u,l,c,d,h,f,m,p,g=0,v,y,w,S,k,C,E,R,A=new Tr.Buf8(4),_,O,D=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!t||!t.state||!t.output||!t.input&&t.avail_in!==0)return $r;r=t.state,r.mode===Qn&&(r.mode=Dv),a=t.next_out,i=t.output,u=t.avail_out,o=t.next_in,n=t.input,s=t.avail_in,l=r.hold,c=r.bits,d=s,h=u,R=Aa;e:for(;;)switch(r.mode){case eR:if(r.wrap===0){r.mode=Dv;break}for(;c<16;){if(s===0)break e;s--,l+=n[o++]<<c,c+=8}if(r.wrap&2&&l===35615){r.check=0,A[0]=l&255,A[1]=l>>>8&255,r.check=jn(r.check,A,2,0),l=0,c=0,r.mode=b1;break}if(r.flags=0,r.head&&(r.head.done=!1),!(r.wrap&1)||(((l&255)<<8)+(l>>8))%31){t.msg="incorrect header check",r.mode=ct;break}if((l&15)!==w1){t.msg="unknown compression method",r.mode=ct;break}if(l>>>=4,c-=4,E=(l&15)+8,r.wbits===0)r.wbits=E;else if(E>r.wbits){t.msg="invalid window size",r.mode=ct;break}r.dmax=1<<E,t.adler=r.check=1,r.mode=l&512?R1:Qn,l=0,c=0;break;case b1:for(;c<16;){if(s===0)break e;s--,l+=n[o++]<<c,c+=8}if(r.flags=l,(r.flags&255)!==w1){t.msg="unknown compression method",r.mode=ct;break}if(r.flags&57344){t.msg="unknown header flags set",r.mode=ct;break}r.head&&(r.head.text=l>>8&1),r.flags&512&&(A[0]=l&255,A[1]=l>>>8&255,r.check=jn(r.check,A,2,0)),l=0,c=0,r.mode=x1;case x1:for(;c<32;){if(s===0)break e;s--,l+=n[o++]<<c,c+=8}r.head&&(r.head.time=l),r.flags&512&&(A[0]=l&255,A[1]=l>>>8&255,A[2]=l>>>16&255,A[3]=l>>>24&255,r.check=jn(r.check,A,4,0)),l=0,c=0,r.mode=S1;case S1:for(;c<16;){if(s===0)break e;s--,l+=n[o++]<<c,c+=8}r.head&&(r.head.xflags=l&255,r.head.os=l>>8),r.flags&512&&(A[0]=l&255,A[1]=l>>>8&255,r.check=jn(r.check,A,2,0)),l=0,c=0,r.mode=k1;case k1:if(r.flags&1024){for(;c<16;){if(s===0)break e;s--,l+=n[o++]<<c,c+=8}r.length=l,r.head&&(r.head.extra_len=l),r.flags&512&&(A[0]=l&255,A[1]=l>>>8&255,r.check=jn(r.check,A,2,0)),l=0,c=0}else r.head&&(r.head.extra=null);r.mode=C1;case C1:if(r.flags&1024&&(f=r.length,f>s&&(f=s),f&&(r.head&&(E=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),Tr.arraySet(r.head.extra,n,o,f,E)),r.flags&512&&(r.check=jn(r.check,n,f,o)),s-=f,o+=f,r.length-=f),r.length))break e;r.length=0,r.mode=E1;case E1:if(r.flags&2048){if(s===0)break e;f=0;do E=n[o+f++],r.head&&E&&r.length<65536&&(r.head.name+=String.fromCharCode(E));while(E&&f<s);if(r.flags&512&&(r.check=jn(r.check,n,f,o)),s-=f,o+=f,E)break e}else r.head&&(r.head.name=null);r.length=0,r.mode=T1;case T1:if(r.flags&4096){if(s===0)break e;f=0;do E=n[o+f++],r.head&&E&&r.length<65536&&(r.head.comment+=String.fromCharCode(E));while(E&&f<s);if(r.flags&512&&(r.check=jn(r.check,n,f,o)),s-=f,o+=f,E)break e}else r.head&&(r.head.comment=null);r.mode=P1;case P1:if(r.flags&512){for(;c<16;){if(s===0)break e;s--,l+=n[o++]<<c,c+=8}if(l!==(r.check&65535)){t.msg="header crc mismatch",r.mode=ct;break}l=0,c=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),t.adler=r.check=0,r.mode=Qn;break;case R1:for(;c<32;){if(s===0)break e;s--,l+=n[o++]<<c,c+=8}t.adler=r.check=z1(l),l=0,c=0,r.mode=ch;case ch:if(r.havedict===0)return t.next_out=a,t.avail_out=u,t.next_in=o,t.avail_in=s,r.hold=l,r.bits=c,TU;t.adler=r.check=1,r.mode=Qn;case Qn:if(e===CU||e===_d)break e;case Dv:if(r.last){l>>>=c&7,c-=c&7,r.mode=Lv;break}for(;c<3;){if(s===0)break e;s--,l+=n[o++]<<c,c+=8}switch(r.last=l&1,l>>>=1,c-=1,l&3){case 0:r.mode=A1;break;case 1:if(IU(r),r.mode=Nd,e===_d){l>>>=2,c-=2;break e}break;case 2:r.mode=_1;break;case 3:t.msg="invalid block type",r.mode=ct}l>>>=2,c-=2;break;case A1:for(l>>>=c&7,c-=c&7;c<32;){if(s===0)break e;s--,l+=n[o++]<<c,c+=8}if((l&65535)!==(l>>>16^65535)){t.msg="invalid stored block lengths",r.mode=ct;break}if(r.length=l&65535,l=0,c=0,r.mode=Mv,e===_d)break e;case Mv:r.mode=O1;case O1:if(f=r.length,f){if(f>s&&(f=s),f>u&&(f=u),f===0)break e;Tr.arraySet(i,n,o,f,a),s-=f,o+=f,u-=f,a+=f,r.length-=f;break}r.mode=Qn;break;case _1:for(;c<14;){if(s===0)break e;s--,l+=n[o++]<<c,c+=8}if(r.nlen=(l&31)+257,l>>>=5,c-=5,r.ndist=(l&31)+1,l>>>=5,c-=5,r.ncode=(l&15)+4,l>>>=4,c-=4,r.nlen>286||r.ndist>30){t.msg="too many length or distance symbols",r.mode=ct;break}r.have=0,r.mode=N1;case N1:for(;r.have<r.ncode;){for(;c<3;){if(s===0)break e;s--,l+=n[o++]<<c,c+=8}r.lens[D[r.have++]]=l&7,l>>>=3,c-=3}for(;r.have<19;)r.lens[D[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,_={bits:r.lenbits},R=Pu(kU,r.lens,0,19,r.lencode,0,r.work,_),r.lenbits=_.bits,R){t.msg="invalid code lengths set",r.mode=ct;break}r.have=0,r.mode=j1;case j1:for(;r.have<r.nlen+r.ndist;){for(;g=r.lencode[l&(1<<r.lenbits)-1],v=g>>>24,y=g>>>16&255,w=g&65535,!(v<=c);){if(s===0)break e;s--,l+=n[o++]<<c,c+=8}if(w<16)l>>>=v,c-=v,r.lens[r.have++]=w;else{if(w===16){for(O=v+2;c<O;){if(s===0)break e;s--,l+=n[o++]<<c,c+=8}if(l>>>=v,c-=v,r.have===0){t.msg="invalid bit length repeat",r.mode=ct;break}E=r.lens[r.have-1],f=3+(l&3),l>>>=2,c-=2}else if(w===17){for(O=v+3;c<O;){if(s===0)break e;s--,l+=n[o++]<<c,c+=8}l>>>=v,c-=v,E=0,f=3+(l&7),l>>>=3,c-=3}else{for(O=v+7;c<O;){if(s===0)break e;s--,l+=n[o++]<<c,c+=8}l>>>=v,c-=v,E=0,f=11+(l&127),l>>>=7,c-=7}if(r.have+f>r.nlen+r.ndist){t.msg="invalid bit length repeat",r.mode=ct;break}for(;f--;)r.lens[r.have++]=E}}if(r.mode===ct)break;
vendor: 4,178 bytes, line 318
318if(r.lens[256]===0){t.msg="invalid code -- missing end-of-block",r.mode=ct;break}if(r.lenbits=9,_={bits:r.lenbits},R=Pu(YP,r.lens,0,r.nlen,r.lencode,0,r.work,_),r.lenbits=_.bits,R){t.msg="invalid literal/lengths set",r.mode=ct;break}if(r.distbits=6,r.distcode=r.distdyn,_={bits:r.distbits},R=Pu(JP,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,_),r.distbits=_.bits,R){t.msg="invalid distances set",r.mode=ct;break}if(r.mode=Nd,e===_d)break e;case Nd:r.mode=jd;case jd:if(s>=6&&u>=258){t.next_out=a,t.avail_out=u,t.next_in=o,t.avail_in=s,r.hold=l,r.bits=c,SU(t,h),a=t.next_out,i=t.output,u=t.avail_out,o=t.next_in,n=t.input,s=t.avail_in,l=r.hold,c=r.bits,r.mode===Qn&&(r.back=-1);break}for(r.back=0;g=r.lencode[l&(1<<r.lenbits)-1],v=g>>>24,y=g>>>16&255,w=g&65535,!(v<=c);){if(s===0)break e;s--,l+=n[o++]<<c,c+=8}if(y&&!(y&240)){for(S=v,k=y,C=w;g=r.lencode[C+((l&(1<<S+k)-1)>>S)],v=g>>>24,y=g>>>16&255,w=g&65535,!(S+v<=c);){if(s===0)break e;s--,l+=n[o++]<<c,c+=8}l>>>=S,c-=S,r.back+=S}if(l>>>=v,c-=v,r.back+=v,r.length=w,y===0){r.mode=L1;break}if(y&32){r.back=-1,r.mode=Qn;break}if(y&64){t.msg="invalid literal/length code",r.mode=ct;break}r.extra=y&15,r.mode=F1;case F1:if(r.extra){for(O=r.extra;c<O;){if(s===0)break e;s--,l+=n[o++]<<c,c+=8}r.length+=l&(1<<r.extra)-1,l>>>=r.extra,c-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=I1;case I1:for(;g=r.distcode[l&(1<<r.distbits)-1],v=g>>>24,y=g>>>16&255,w=g&65535,!(v<=c);){if(s===0)break e;s--,l+=n[o++]<<c,c+=8}if(!(y&240)){for(S=v,k=y,C=w;g=r.distcode[C+((l&(1<<S+k)-1)>>S)],v=g>>>24,y=g>>>16&255,w=g&65535,!(S+v<=c);){if(s===0)break e;s--,l+=n[o++]<<c,c+=8}l>>>=S,c-=S,r.back+=S}if(l>>>=v,c-=v,r.back+=v,y&64){t.msg="invalid distance code",r.mode=ct;break}r.offset=w,r.extra=y&15,r.mode=D1;case D1:if(r.extra){for(O=r.extra;c<O;){if(s===0)break e;s--,l+=n[o++]<<c,c+=8}r.offset+=l&(1<<r.extra)-1,l>>>=r.extra,c-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){t.msg="invalid distance too far back",r.mode=ct;break}r.mode=M1;case M1:if(u===0)break e;if(f=h-u,r.offset>f){if(f=r.offset-f,f>r.whave&&r.sane){t.msg="invalid distance too far back",r.mode=ct;break}f>r.wnext?(f-=r.wnext,m=r.wsize-f):m=r.wnext-f,f>r.length&&(f=r.length),p=r.window}else p=i,m=a-r.offset,f=r.length;f>u&&(f=u),u-=f,r.length-=f;do i[a++]=p[m++];while(--f);r.length===0&&(r.mode=jd);break;case L1:if(u===0)break e;i[a++]=r.length,u--,r.mode=jd;break;case Lv:if(r.wrap){for(;c<32;){if(s===0)break e;s--,l|=n[o++]<<c,c+=8}if(h-=u,t.total_out+=h,r.total+=h,h&&(t.adler=r.check=r.flags?jn(r.check,i,h,a-h):Im(r.check,i,h,a-h)),h=u,(r.flags?l:z1(l))!==r.check){t.msg="incorrect data check",r.mode=ct;break}l=0,c=0}r.mode=B1;case B1:if(r.wrap&&r.flags){for(;c<32;){if(s===0)break e;s--,l+=n[o++]<<c,c+=8}if(l!==(r.total&4294967295)){t.msg="incorrect length check",r.mode=ct;break}l=0,c=0}r.mode=U1;case U1:R=EU;break e;case ct:R=QP;break e;case tR:return $P;case RU:default:return $r}return t.next_out=a,t.avail_out=u,t.next_in=o,t.avail_in=s,r.hold=l,r.bits=c,(r.wsize||h!==t.avail_out&&r.mode<ct&&(r.mode<Lv||e!==y1))&&aR(t,t.output,t.next_out,h-t.avail_out),d-=t.avail_in,h-=t.avail_out,t.total_in+=d,t.total_out+=h,r.total+=h,r.wrap&&h&&(t.adler=r.check=r.flags?jn(r.check,i,h,t.next_out-h):Im(r.check,i,h,t.next_out-h)),t.data_type=r.bits+(r.last?64:0)+(r.mode===Qn?128:0)+(r.mode===Nd||r.mode===Mv?256:0),(d===0&&h===0||e===y1)&&R===Aa&&(R=PU),R}function MU(t){if(!t||!t.state)return $r;var e=t.state;return e.window&&(e.window=null),t.state=null,Aa}function LU(t,e){var r;return!t||!t.state||(r=t.state,!(r.wrap&2))?$r:(r.head=e,e.done=!1,Aa)}function BU(t,e){var r=e.length,n,i,o;return!t||!t.state||(n=t.state,n.wrap!==0&&n.mode!==ch)?$r:n.mode===ch&&(i=1,i=Im(i,e,r,0),i!==n.check)?QP:(o=aR(t,e,r,r),o?(n.mode=tR,$P):(n.havedict=1,Aa))}On.inflateReset=nR;On.inflateReset2=iR;On.inflateResetKeep=rR;On.inflateInit=FU;On.inflateInit2=oR;On.inflate=DU;On.inflateEnd=MU;On.inflateGetHeader=LU;On.inflateSetDictionary=BU;On.inflateInfo="pako inflate (from Nodeca project)";var sR={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ER
vendor: 1,612 bytes, line 318
318ROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};function UU(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var zU=UU,Us=On,Ru=ki,hf=Ma,bt=sR,Dm=Ry,VU=XP,WU=zU,lR=Object.prototype.toString;function Oa(t){if(!(this instanceof Oa))return new Oa(t);this.options=Ru.assign({chunkSize:16384,windowBits:0,to:""},t||{});var e=this.options;e.raw&&e.windowBits>=0&&e.windowBits<16&&(e.windowBits=-e.windowBits,e.windowBits===0&&(e.windowBits=-15)),e.windowBits>=0&&e.windowBits<16&&!(t&&t.windowBits)&&(e.windowBits+=32),e.windowBits>15&&e.windowBits<48&&(e.windowBits&15||(e.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new VU,this.strm.avail_out=0;var r=Us.inflateInit2(this.strm,e.windowBits);if(r!==bt.Z_OK)throw new Error(Dm[r]);if(this.header=new WU,Us.inflateGetHeader(this.strm,this.header),e.dictionary&&(typeof e.dictionary=="string"?e.dictionary=hf.string2buf(e.dictionary):lR.call(e.dictionary)==="[object ArrayBuffer]"&&(e.dictionary=new Uint8Array(e.dictionary)),e.raw&&(r=Us.inflateSetDictionary(this.strm,e.dictionary),r!==bt.Z_OK)))throw new Error(Dm[r])}Oa.prototype.push=function(t,e){var r=this.strm,n=this.options.chunkSize,i=this.options.dictionary,o,a,s,u,l,c=!1;if(this.ended)return!1;a=e===~~e?e:e===!0?bt.Z_FINISH:bt.Z_NO_FLUSH,typeof t=="string"?r.input=hf.binstring2buf(t):lR.call(t)==="[object ArrayBuffer]"?r.input
vendor: 4,729 bytes, line 318
318=new Uint8Array(t):r.input=t,r.next_in=0,r.avail_in=r.input.length;do{if(r.avail_out===0&&(r.output=new Ru.Buf8(n),r.next_out=0,r.avail_out=n),o=Us.inflate(r,bt.Z_NO_FLUSH),o===bt.Z_NEED_DICT&&i&&(o=Us.inflateSetDictionary(this.strm,i)),o===bt.Z_BUF_ERROR&&c===!0&&(o=bt.Z_OK,c=!1),o!==bt.Z_STREAM_END&&o!==bt.Z_OK)return this.onEnd(o),this.ended=!0,!1;r.next_out&&(r.avail_out===0||o===bt.Z_STREAM_END||r.avail_in===0&&(a===bt.Z_FINISH||a===bt.Z_SYNC_FLUSH))&&(this.options.to==="string"?(s=hf.utf8border(r.output,r.next_out),u=r.next_out-s,l=hf.buf2string(r.output,s),r.next_out=u,r.avail_out=n-u,u&&Ru.arraySet(r.output,r.output,s,u,0),this.onData(l)):this.onData(Ru.shrinkBuf(r.output,r.next_out))),r.avail_in===0&&r.avail_out===0&&(c=!0)}while((r.avail_in>0||r.avail_out===0)&&o!==bt.Z_STREAM_END);return o===bt.Z_STREAM_END&&(a=bt.Z_FINISH),a===bt.Z_FINISH?(o=Us.inflateEnd(this.strm),this.onEnd(o),this.ended=!0,o===bt.Z_OK):(a===bt.Z_SYNC_FLUSH&&(this.onEnd(bt.Z_OK),r.avail_out=0),!0)};Oa.prototype.onData=function(t){this.chunks.push(t)};Oa.prototype.onEnd=function(t){t===bt.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Ru.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};function Oy(t,e){var r=new Oa(e);if(r.push(t,!0),r.err)throw r.msg||Dm[r.err];return r.result}function qU(t,e){return e=e||{},e.raw=!0,Oy(t,e)}zc.Inflate=Oa;zc.inflate=Oy;zc.inflateRaw=qU;zc.ungzip=Oy;var HU=ki.assign,KU=Lc,GU=zc,XU=sR,uR={};HU(uR,KU,GU,XU);var ZU=uR;const pp=Gm(ZU);var W1="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",su=new Uint8Array(256);for(var Fd=0;Fd<W1.length;Fd++)su[W1.charCodeAt(Fd)]=Fd;var YU=function(t){var e=t.length*.75,r=t.length,n,i=0,o,a,s,u;t[t.length-1]==="="&&(e--,t[t.length-2]==="="&&e--);var l=new Uint8Array(e);for(n=0;n<r;n+=4)o=su[t.charCodeAt(n)],a=su[t.charCodeAt(n+1)],s=su[t.charCodeAt(n+2)],u=su[t.charCodeAt(n+3)],l[i++]=o<<2|a>>4,l[i++]=(a&15)<<4|s>>2,l[i++]=(s&3)<<6|u&63;return l},JU=function(t){for(var e="",r=0;r<t.length;r++)e+=String.fromCharCode(t[r]);return e},cR=function(t){return JU(pp.inflate(YU(t)))},QU=function(t,e,r){for(var n="",i=0,o=e-t.length;i<o;i++)n+=r;return n+t};const $U="eJyFWdtyGjkQ/RVqnnar8Bb4lpg3jEnCxgEvGDtxKg9iphm01oyILrZxKv++mrGd3az6KC8UnNa0+nrUGr5lI11VVLtskF198FaU1Dns9w9OOkf7/ePDrJu90bWbiorCgpH2RpLZO9WqaCReqZ8lnReJqKTa/SwL8DXJctPs9Lxs4oSS+bAuVVjXC7/tG/lAxYV0+SYbOOOpm402wojckVlQ8+T4wVFdUDHXlaifrTs91Q/Z4PNeMLu7t3/U6746POm+7vW/dLNlWGuUrOlCW+mkrrPBXr/X+4/gciPz25qszQbhyeyKjG2XZb3ewR+9Xi/sMdVO5k+ebHemcaHzW/57p3/y+qQbPk967We//TxoP191hoVeUWexs44q25nUuTZbbYSj4o9OZ6hUZ97osZ05WTJ3AQ37jMOqQtblIt9QG7lWycKJuhCmeJGGhSOxffccyqPj/W728eXX4cFJNxvavAmRyQbH++HnGf34vdc/etXNFq54d50NXh+2X6/C137v+CnQH8gZmYdQfP6WXX8MCppQTYMlditCBL53/wfTQ65EFeNfvQ6erlQsqX21akJc1rGs0EoJE+NbMnlToZFAVEFkQ3iABW2uGH3CUK1ojUTgMWEbjfaWeUp5G6N5aC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qUIeiaEHIfCg5Kpuu0ApiToaGPSY0uaQsyr65L2oKi1yFt1PLaQ3lzfXTgXodGoJYzglndSLDMPg1sTPJpQJHJigw0QrGERqD9YhyTOgONQDUyuF1zaxuokc/BW2ztXCMrGZ9WMW1oQZHIXWNBkSCfRZEL5BMUiZw6CzVSFCfUSGZFNjIldoKDkonTKQiJIGzWmFd3BizJJ9SINoLDriOfUCOZS+zg+KGD1qGiLNMLxtJD1/ns00ON6EzyUCM6vbxhoBKaqbG3DFQCNiL1iHccBPV0DHhQH/JW8EW90dkyFKGywCJU0WkVSvSGeiSUODWFFD0HYdPQVoiRgfPMA+/nnRgiAyNYSjpWNQcNSMrtFCUH4ZIRpSCWocFCSuhCEY6hoUClc0WC52BJlCYYLQdhN+hygRRRlo5BKRRLS6oihSqh+ZzzRGG1Mo4Iz1LoP0qsxDGFzk0JE42ji0jCPejomJKCuwil4m5CiRMEUMVSzVLDUstSx1Juc0oVWMpqY295qVltmtWmWW2a1aZZbZrVplltmtWmWW2G1WZYbYbVZlhthtVmWG2G1WZYbYbVZlhtltVmWW2W1WZZbZbVZlltltVmWW2W1QYjQCh7E2aAQHeGhCFgPoNoy8KNb2wxBhmGKBxoUZXlLGsLI6AsftEDHV0wIURVbANLcTKlGGBIKPOAxCmhePCKUwFzAmpDFRQvjA9R06Hq8TONvshgKDCuRAZTXigUxjxNFfKRo3CLhnIJBMFRvMZpqpNBMlQJzGT5WFQMVQI/AikPMIhEU1aDjqJvQwmjSHB05cC9jbYwc5UtAHNLhDw41ha+lEqF4JaH3gmB61SYcqInxTDmQK8v08vjqv4zDf1N0w3Lf4A8/vwPpfK11w==";var hz={Courier:rz,"Courier-Bold":$U,"Courier-Oblique":tz,"Courier-BoldOblique":ez,Helvetica:az,"Helvetica-Bold":nz,"Helvetica-Oblique":oz,"Helvetica-BoldOblique":iz,"Times-Roman":cz,"Times-Bold":sz,"Times-Italic":uz,"Times-BoldItalic":lz,Symbol:dz,ZapfDingbats:fz},bc;(function(t){t.Courier="Courier",t.CourierBold="Courier-Bold",t.CourierOblique="Courier-Oblique",t.CourierBoldOblique="Courier-BoldOblique",t.Helvetica="Helvetica",t.Helvetica
vendor: 817 bytes, line 318
318Bold="Helvetica-Bold",t.HelveticaOblique="Helvetica-Oblique",t.HelveticaBoldOblique="Helvetica-BoldOblique",t.TimesRoman="Times-Roman",t.TimesRomanBold="Times-Bold",t.TimesRomanItalic="Times-Italic",t.TimesRomanBoldItalic="Times-BoldItalic",t.Symbol="Symbol",t.ZapfDingbats="ZapfDingbats"})(bc||(bc={}));var q1={},pz=function(){function t(){var e=this;this.getWidthOfGlyph=function(r){return e.CharWidths[r]},this.getXAxisKerningForPair=function(r,n){return(e.KernPairXAmounts[r]||{})[n]}}return t.load=function(e){var r=q1[e];if(r)return r;var n=cR(hz[e]),i=Object.assign(new t,JSON.parse(n));return i.CharWidths=i.CharMetrics.reduce(function(o,a){return o[a.N]=a.WX,o},{}),i.KernPairXAmounts=i.KernPairs.reduce(function(o,a){var s=a[0],u=a[1],l=a[2];return o[s]||(o[s]={}),o[s][u]=l,o},{}),q1[e]=i,i},t}();const vz=
vendor: 6,083 bytes, line 318
318"eJztWsuy48iN/Ret74KZfHtX47meqfGjPHaXx4/wgpJ4JbooUU1JVXXb0f9u4JwESF13R7TD29koIpFi8gCJBHDA/Pvm+nraTuPmZ3/f5HHzs7/k8WlzvXS7fvPXp02eqyR/2vRfd2N3gqhUUfm0Od9P236+DoczxLWK66fNpZ93/fkGWaOy5mnTnUR67c57lRaZSItM/tnN/XnsX/DfIqg0JOk8HI4UK4BCAFzG+xWCQgXF02Y3nU4dJJVKKrx5mPgKBVMImOvYXY+QKJRCoHzXzxMErQrap810hqaloioF1e0L5kvFUwqe23Hu+Q+1TinWeZnuMwSKrRRsL8Nn/kOxlYLtOnzFWE1Viqmu/eceVioVaylYe1OwVKilQD0PCYgiLRtVcJz4kEItW13mNLi0UsCVAB77KyxTKeJKEPff3rsREkVcCeLD3He3HqArBV0J6G/v/fU2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Vd5eL19YYSPd6FqPwBkNQo/h2NQxdQQ3bn/dpCxrGrqCW7U8rKZl/mfi0Xytk3Am66ZhYbg4y+KAVslDwbXdNL2d5qU5hnYBlTZaa6hs2t1qWdaeeTptcLco+hl5R7w4H5uOGcQbtEkpT18GusOI2xT9dYcVJf7zCSjmbD+Iud2s1NPRb9E+0UICmizb8ZK/+5JOLOulSqwaw5VJr2vB8dSFn89fvv/8H0oq1dA==";
vendor: 234,949 bytes, lines 318-355
318var mz=cR(vz),zv=JSON.parse(mz),Vv=function(){function t(e,r){var n=this;this.canEncodeUnicodeCodePoint=function(i){return i in n.unicodeMappings},this.encodeUnicodeCodePoint=function(i){var o=n.unicodeMappings[i];if(!o){var a=String.fromCharCode(i),s="0x"+QU(i.toString(16),4,"0"),u=n.name+' cannot encode "'+a+'" ('+s+")";throw new Error(u)}return{code:o[0],name:o[1]}},this.name=e,this.supportedCodePoints=Object.keys(r).map(Number).sort(function(i,o){return i-o}),this.unicodeMappings=r}return t}(),Id={Symbol:new Vv("Symbol",zv.symbol),ZapfDingbats:new Vv("ZapfDingbats",zv.zapfdingbats),WinAnsi:new Vv("WinAnsi",zv.win1252)},vp=function(t){return Object.keys(t).map(function(e){return t[e]})},gz=vp(bc),H1=function(t){return gz.includes(t)},Dd=function(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height},Tt=function(t){return"`"+t+"`"},yz=function(t){return"'"+t+"'"},K1=function(t){var e=typeof t;return e==="string"?yz(t):e==="undefined"?Tt(t):t},wz=function(t,e,r){for(var n=new Array(r.length),i=0,o=r.length;i<o;i++){var a=r[i];n[i]=K1(a)}var s=n.join(" or ");return Tt(e)+" must be one of "+s+", but was actually "+K1(t)},lo=function(t,e,r){Array.isArray(r)||(r=vp(r));for(var n=0,i=r.length;n<i;n++)if(t===r[n])return;throw new TypeError(wz(t,e,r))},Br=function(t,e,r){Array.isArray(r)||(r=vp(r)),lo(t,e,r.concat(void 0))},bz=function(t,e,r){Array.isArray(r)||(r=vp(r));for(var n=0,i=t.length;n<i;n++)lo(t[n],e,r)},xz=function(t){return t===null?"null":t===void 0?"undefined":typeof t=="string"?"string":isNaN(t)?"NaN":typeof t=="number"?"number":typeof t=="boolean"?"boolean":typeof t=="symbol"?"symbol":typeof t=="bigint"?"bigint":t.constructor&&t.constructor.name?t.constructor.name:t.name?t.name:t.constructor?String(t.constructor):String(t)},Sz=function(t,e){return e==="null"?t===null:e==="undefined"?t===void 0:e==="string"?typeof t=="string":e==="number"?typeof t=="number"&&!isNaN(t):e==="boolean"?typeof t=="boolean":e==="symbol"?typeof t=="symbol":e==="bigint"?typeof t=="bigint":e===Date?t instanceof Date:e===Array?t instanceof Array:e===Uint8Array?t instanceof Uint8Array:e===ArrayBuffer?t instanceof ArrayBuffer:e===Function?t instanceof Function:t instanceof e[0]},kz=function(t,e,r){for(var n=new Array(r.length),i=0,o=r.length;i<o;i++){var a=r[i];a==="null"&&(n[i]=Tt("null")),a==="undefined"&&(n[i]=Tt("undefined")),a==="string"?n[i]=Tt("string"):a==="number"?n[i]=Tt("number"):a==="boolean"?n[i]=Tt("boolean"):a==="symbol"?n[i]=Tt("symbol"):a==="bigint"?n[i]=Tt("bigint"):a===Array?n[i]=Tt("Array"):a===Uint8Array?n[i]=Tt("Uint8Array"):a===ArrayBuffer?n[i]=Tt("ArrayBuffer"):n[i]=Tt(a[1])}var s=n.join(" or ");return Tt(e)+" must be of type "+s+", but was actually of type "+Tt(xz(t))},F=function(t,e,r){for(var n=0,i=r.length;n<i;n++)if(Sz(t,r[n]))return;throw new TypeError(kz(t,e,r))},H=function(t,e,r){F(t,e,r.concat("undefined"))},dR=function(t,e,r){for(var n=0,i=t.length;n<i;n++)F(t[n],e,r)},Pr=function(t,e,r,n){if(F(t,e,["number"]),F(r,"min",["number"]),F(n,"max",["number"]),n=Math.max(r,n),t<r||t>n)throw new Error(Tt(e)+" must be at least "+r+" and at most "+n+", but was actually "+t)},dn=function(t,e,r,n){F(t,e,["number","undefined"]),typeof t=="number"&&Pr(t,e,r,n)},fR=function(t,e,r){if(F(t,e,["number"]),t%r!==0)throw new Error(Tt(e)+" must be a multiple of "+r+", but was actually "+t)},Cz=function(t,e){if(!Number.isInteger(t))throw new Error(Tt(e)+" must be an integer, but was actually "+t)},mp=function(t,e){if(![1,0].includes(Math.sign(t)))throw new Error(Tt(e)+" must be a positive number or 0, but was actually "+t)},me=new Uint16Array(256);for(var Md=0;Md<256;Md++)me[Md]=Md;me[22]=pe("�");me[24]=pe("˘");me[25]=pe("ˇ");me[26]=pe("ˆ");me[27]=pe("˙");me[28]=pe("˝");me[29]=pe("˛");me[30]=pe("˚");me[31]=pe("˜");me[127]=pe("�");me[128]=pe("•");me[129]=pe("†");me[130]=pe("‡");me[131]=pe("…");me[132]=pe("—");me[133]=pe("–");me[134]=pe("ƒ");me[135]=pe("⁄");me[136]=pe("‹");me[137]=pe("›");me[138]=pe("−");me[139]=pe("‰");me[140]=pe("„");me[141]=pe("“");me[142]=pe("”");me[143]=pe("‘");me[144]=pe("’");me[145]=pe("‚");me[146]=pe("™");me[147]=pe("fi");me[148]=pe("fl");me[149]=pe("Ł");me[150]=pe("Œ");me[151]=pe("Å ");me[152]=pe("Ÿ");me[153]=pe("Ž");me[154]=pe("ı");me[155]=pe("ł");me[156]=pe("œ");me[157]=pe("Å¡");me[158]=pe("ž");me[159]=pe("�");me[160]=pe("€");me[173]=pe("�");var hR=function(t){for(var e=new Array(t.length),r=0,n=t.length;r<n;r++)e[r]=me[t[r]];return String.fromCodePoint.apply(String,e)},fi=function(){function t(e){this.populate=e,this.value=void 0}return t.prototype.getValue=function(){return this.value},t.prototype.access=function(){return this.value||(this.value=this.populate()),this.value},t.prototype.invalidate=function(){this.value=void 0},t.populatedBy=function(e){return new t(e)},t}(),Kr=function(t){K(e,t);function e(r,n){var i=this,o="Method "+r+"."+n+"() not implemented";return i=t.call(this,o)||this,i}return e}(Error),_y=function(t){K(e,t);function e(r){var n=this,i="Cannot construct "+r+" - it has a private constructor";return n=t.call(this,i)||this,n}return e}(Error),dh=function(t){K(e,t);function e(r,n){var i=this,o=function(u){var l,c;return(l=u==null?void 0:u.name)!==null&&l!==void 0?l:(c=u==null?void 0:u.constructor)===null||c===void 0?void 0:c.name},a=Array.isArray(r)?r.map(o):[o(r)],s="Expected instance of "+a.join(" or ")+", "+("but got instance of "+(n&&o(n)));return i=t.call(this,s)||this,i}return e}(Error),Ez=function(t){K(e,t);function e(r){var n=this,i=r+" stream encoding not supported";return n=t.call(this,i)||this,n}return e}(Error),Ny=function(t){K(e,t);function e(r,n){var i=this,o="Cannot call "+r+"."+n+"() more than once";return i=t.call(this,o)||this,i}return e}(Error);(function(t){K(e,t);function e(r){var n=this,i="Missing catalog (ref="+r+")";return n=t.call(this,i)||this,n}return e})(Error);var Tz=function(t){K(e,t);function e(){var r=this,n="Can't embed page with missing Contents";return r=t.call(this,n)||this,r}return e}(Error),Pz=function(t){K(e,t);function e(r){var n,i,o,a=this,s=(o=(i=(n=r==null?void 0:r.contructor)===null||n===void 0?void 0:n.name)!==null&&i!==void 0?i:r==null?void 0:r.name)!==null&&o!==void 0?o:r,u="Unrecognized stream type: "+s;return a=t.call(this,u)||this,a}return e}(Error),Rz=function(t){K(e,t);function e(){var r=this,n="Found mismatched contexts while embedding pages. All pages in the array passed to `PDFDocument.embedPages()` must be from the same document.";return r=t.call(this,n)||this,r}return e}(Error),Az=function(t){K(e,t);function e(r){var n=this,i="Attempted to convert PDFArray with "+r+" elements to rectangle, but must have exactly 4 elements.";return n=t.call(this,i)||this,n}return e}(Error),pR=function(t){K(e,t);function e(r){var n=this,i='Attempted to convert "'+r+'" to a date, but it does not match the PDF date string format.';return n=t.call(this,i)||this,n}return e}(Error),G1=function(t){K(e,t);function e(r,n){var i=this,o="Invalid targetIndex specified: targetIndex="+r+" must be less than Count="+n;return i=t.call(this,o)||this,i}return e}(Error),X1=function(t){K(e,t);function e(r,n){var i=this,o="Failed to "+n+" at targetIndex="+r+" due to corrupt page tree: It is likely that one or more 'Count' entries are invalid";return i=t.call(this,o)||this,i}return e}(Error),fh=function(t){K(e,t);function e(r,n,i){var o=this,a="index should be at least "+n+" and at most "+i+", but was actually "+r;return o=t.call(this,a)||this,o}return e}(Error),jy=function(t){K(e,t);function e(){var r=this,n="Attempted to set invalid field value";return r=t.call(this,n)||this,r}return e}(Error),Oz=function(t){K(e,t);function e(){var r=this,n="Attempted to select multiple values for single-select field";return r=t.call(this,n)||this,r}return e}(Error),_z=function(t){K(e,t);function e(r){var n=this,i="No /DA (default appearance) entry found for field: "+r;return n=t.call(this,i)||this,n}return e}(Error),Nz=function(t){K(e,t);function e(r){var n=this,i="No Tf operator found for DA of field: "+r;return n=t.call(this,i)||this,n}return e}(Error),Z1=function(t){K(e,t);function e(r,n){var i=this,o="Failed to parse number "+("(line:"+r.line+" col:"+r.column+" offset="+r.offset+'): "'+n+'"');return i=t.call(this,o)||this,i}return e}(Error),Lo=function(t){K(e,t);function e(r,n){var i=this,o="Failed to parse PDF document "+("(line:"+r.line+" col:"+r.column+" offset="+r.offset+"): "+n);return i=t.call(this,o)||this,i}return e}(Error),jz=function(t){K(e,t);function e(r,n,i){var o=this,a="Expected next byte to be "+n+" but it was actually "+i;return o=t.call(this,r,a)||this,o}return e}(Lo),Fz=function(t){K(e,t);function e(r,n){var i=this,o="Failed to parse PDF object starting with the following byte: "+n;return i=t.call(this,r,o)||this,i}return e}(Lo),Iz=function(t){K(e,t);function e(r){var n=this,i="Failed to parse invalid PDF object";return n=t.call(this,r,i)||this,n}return e}(Lo),Dz=function(t){K(e,t);function e(r){var n=this,i="Failed to parse PDF stream";return n=t.call(this,r,i)||this,n}return e}(Lo),Mz=function(t){K(e,t);function e(r){var n=this,i="Failed to parse PDF literal string due to unbalanced parenthesis";return n=t.call(this,r,i)||this,n}return e}(Lo),Lz=function(t){K(e,t);function e(r){var n=this,i="Parser stalled";return n=t.call(this,r,i)||this,n}return e}(Lo),Bz=function(t){K(e,t);function e(r){var n=this,i="No PDF header found";return n=t.call(this,r,i)||this,n}return e}(Lo),Uz=function(t){K(e,t);function e(r,n){var i=this,o="Did not find expected keyword '"+mP(n)+"'";return i=t.call(this,r,o)||this,i}return e}(Lo),Mm;(function(t){t[t.Null=0]="Null",t[t.Backspace=8]="Backspace",t[t.Tab=9]="Tab",t[t.Newline=10]="Newline",t[t.FormFeed=12]="FormFeed",t[t.CarriageReturn=13]="CarriageReturn",t[t.Space=32]="Space",t[t.ExclamationPoint=33]="ExclamationPoint",t[t.Hash=35]="Hash",t[t.Percent=37]="Percent",t[t.LeftParen=40]="LeftParen",t[t.RightParen=41]="RightParen",t[t.Plus=43]="Plus",t[t.Minus=45]="Minus",t[t.Dash=45]="Dash",t[t.Period=46]="Period",t[t.ForwardSlash=47]="ForwardSlash",t[t.Zero=48]="Zero",t[t.One=49]="One",t[t.Two=50]="Two",t[t.Three=51]="Three",t[t.Four=52]="Four",t[t.Five=53]="Five",t[t.Six=54]="Six",t[t.Seven=55]="Seven",t[t.Eight=56]="Eight",t[t.Nine=57]="Nine",t[t.LessThan=60]="LessThan",t[t.GreaterThan=62]="GreaterThan",t[t.A=65]="A",t[t.D=68]="D",t[t.E=69]="E",t[t.F=70]="F",t[t.O=79]="O",t[t.P=80]="P",t[t.R=82]="R",t[t.LeftSquareBracket=91]="LeftSquareBracket",t[t.BackSlash=92]="BackSlash",t[t.RightSquareBracket=93]="RightSquareBracket",t[t.a=97]="a",t[t.b=98]="b",t[t.d=100]="d",t[t.e=101]="e",t[t.f=102]="f",t[t.i=105]="i",t[t.j=106]="j",t[t.l=108]="l",t[t.m=109]="m",t[t.n=110]="n",t[t.o=111]="o",t[t.r=114]="r",t[t.s=115]="s",t[t.t=116]="t",t[t.u=117]="u",t[t.x=120]="x",t[t.LeftCurly=123]="LeftCurly",t[t.RightCurly=125]="RightCurly",t[t.Tilde=126]="Tilde"})(Mm||(Mm={}));const P=Mm;var gp=function(){function t(e,r){this.major=String(e),this.minor=String(r)}return t.prototype.toString=function(){var e=di(129);return"%PDF-"+this.major+"."+this.minor+`
319%`+e+e+e+e},t.prototype.sizeInBytes=function(){return 12+this.major.length+this.minor.length},t.prototype.copyBytesInto=function(e,r){var n=r;return e[r++]=P.Percent,e[r++]=P.P,e[r++]=P.D,e[r++]=P.F,e[r++]=P.Dash,r+=Ut(this.major,e,r),e[r++]=P.Period,r+=Ut(this.minor,e,r),e[r++]=P.Newline,e[r++]=P.Percent,e[r++]=129,e[r++]=129,e[r++]=129,e[r++]=129,r-n},t.forVersion=function(e,r){return new t(e,r)},t}(),lr=function(){function t(){}return t.prototype.clone=function(e){throw new Kr(this.constructor.name,"clone")},t.prototype.toString=function(){throw new Kr(this.constructor.name,"toString")},t.prototype.sizeInBytes=function(){throw new Kr(this.constructor.name,"sizeInBytes")},t.prototype.copyBytesInto=function(e,r){throw new Kr(this.constructor.name,"copyBytesInto")},t}(),fe=function(t){K(e,t);function e(r){var n=t.call(this)||this;return n.numberValue=r,n.stringValue=nB(r),n}return e.prototype.asNumber=function(){return this.numberValue},e.prototype.value=function(){return this.numberValue},e.prototype.clone=function(){return e.of(this.numberValue)},e.prototype.toString=function(){return this.stringValue},e.prototype.sizeInBytes=function(){return this.stringValue.length},e.prototype.copyBytesInto=function(r,n){return n+=Ut(this.stringValue,r,n),this.stringValue.length},e.of=function(r){return new e(r)},e}(lr),Ue=function(t){K(e,t);function e(r){var n=t.call(this)||this;return n.array=[],n.context=r,n}return e.prototype.size=function(){return this.array.length},e.prototype.push=function(r){this.array.push(r)},e.prototype.insert=function(r,n){this.array.splice(r,0,n)},e.prototype.indexOf=function(r){var n=this.array.indexOf(r);return n===-1?void 0:n},e.prototype.remove=function(r){this.array.splice(r,1)},e.prototype.set=function(r,n){this.array[r]=n},e.prototype.get=function(r){return this.array[r]},e.prototype.lookupMaybe=function(r){for(var n,i=[],o=1;o<arguments.length;o++)i[o-1]=arguments[o];return(n=this.context).lookupMaybe.apply(n,Ie([this.get(r)],i))},e.prototype.lookup=function(r){for(var n,i=[],o=1;o<arguments.length;o++)i[o-1]=arguments[o];return(n=this.context).lookup.apply(n,Ie([this.get(r)],i))},e.prototype.asRectangle=function(){if(this.size()!==4)throw new Az(this.size());var r=this.lookup(0,fe).asNumber(),n=this.lookup(1,fe).asNumber(),i=this.lookup(2,fe).asNumber(),o=this.lookup(3,fe).asNumber(),a=r,s=n,u=i-r,l=o-n;return{x:a,y:s,width:u,height:l}},e.prototype.asArray=function(){return this.array.slice()},e.prototype.clone=function(r){for(var n=e.withContext(r||this.context),i=0,o=this.size();i<o;i++)n.push(this.array[i]);return n},e.prototype.toString=function(){for(var r="[ ",n=0,i=this.size();n<i;n++)r+=this.get(n).toString(),r+=" ";return r+="]",r},e.prototype.sizeInBytes=function(){for(var r=3,n=0,i=this.size();n<i;n++)r+=this.get(n).sizeInBytes()+1;return r},e.prototype.copyBytesInto=function(r,n){var i=n;r[n++]=P.LeftSquareBracket,r[n++]=P.Space;for(var o=0,a=this.size();o<a;o++)n+=this.get(o).copyBytesInto(r,n),r[n++]=P.Space;return r[n++]=P.RightSquareBracket,n-i},e.prototype.scalePDFNumbers=function(r,n){for(var i=0,o=this.size();i<o;i++){var a=this.lookup(i);if(a instanceof fe){var s=i%2===0?r:n;this.set(i,fe.of(a.asNumber()*s))}}},e.withContext=function(r){return new e(r)},e}(lr),Wv={},xc=function(t){K(e,t);function e(r,n){var i=this;if(r!==Wv)throw new _y("PDFBool");return i=t.call(this)||this,i.value=n,i}return e.prototype.asBoolean=function(){return this.value},e.prototype.clone=function(){return this},e.prototype.toString=function(){return String(this.value)},e.prototype.sizeInBytes=function(){return this.value?4:5},e.prototype.copyBytesInto=function(r,n){return this.value?(r[n++]=P.t,r[n++]=P.r,r[n++]=P.u,r[n++]=P.e,4):(r[n++]=P.f,r[n++]=P.a,r[n++]=P.l,r[n++]=P.s,r[n++]=P.e,5)},e.True=new e(Wv,!0),e.False=new e(Wv,!1),e}(lr),nn=new Uint8Array(256);nn[P.LeftParen]=1;nn[P.RightParen]=1;nn[P.LessThan]=1;nn[P.GreaterThan]=1;nn[P.LeftSquareBracket]=1;nn[P.RightSquareBracket]=1;nn[P.LeftCurly]=1;nn[P.RightCurly]=1;nn[P.ForwardSlash]=1;nn[P.Percent]=1;var Ci=new Uint8Array(256);Ci[P.Null]=1;Ci[P.Tab]=1;Ci[P.Newline]=1;Ci[P.FormFeed]=1;Ci[P.CarriageReturn]=1;Ci[P.Space]=1;var Fy=new Uint8Array(256);for(var Kl=0,zz=256;Kl<zz;Kl++)Fy[Kl]=Ci[Kl]||nn[Kl]?1:0;Fy[P.Hash]=1;var Vz=function(t){return t.replace(/#([\dABCDEF]{2})/g,function(e,r){return ML(r)})},Wz=function(t){return t>=P.ExclamationPoint&&t<=P.Tilde&&!Fy[t]},Y1={},J1=new Map,T=function(t){K(e,t);function e(r,n){var i=this;if(r!==Y1)throw new _y("PDFName");i=t.call(this)||this;for(var o="/",a=0,s=n.length;a<s;a++){var u=n[a],l=pe(u);o+=Wz(l)?u:"#"+cp(l)}return i.encodedName=o,i}return e.prototype.asBytes=function(){for(var r=[],n="",i=!1,o=function(d){d!==void 0&&r.push(d),i=!1},a=1,s=this.encodedName.length;a<s;a++){var u=this.encodedName[a],l=pe(u),c=this.encodedName[a+1];i?l>=P.Zero&&l<=P.Nine||l>=P.a&&l<=P.f||l>=P.A&&l<=P.F?(n+=u,(n.length===2||!(c>="0"&&c<="9"||c>="a"&&c<="f"||c>="A"&&c<="F"))&&(o(parseInt(n,16)),n="")):o(l):l===P.Hash?i=!0:o(l)}return new Uint8Array(r)},e.prototype.decodeText=function(){var r=this.asBytes();return String.fromCharCode.apply(String,Array.from(r))},e.prototype.asString=function(){return this.encodedName},e.prototype.value=function(){return this.encodedName},e.prototype.clone=function(){return this},e.prototype.toString=function(){return this.encodedName},e.prototype.sizeInBytes=function(){return this.encodedName.length},e.prototype.copyBytesInto=function(r,n){return n+=Ut(this.encodedName,r,n),this.encodedName.length},e.of=function(r){var n=Vz(r),i=J1.get(n);return i||(i=new e(Y1,n),J1.set(n,i)),i},e.Length=e.of("Length"),e.FlateDecode=e.of("FlateDecode"),e.Resources=e.of("Resources"),e.Font=e.of("Font"),e.XObject=e.of("XObject"),e.ExtGState=e.of("ExtGState"),e.Contents=e.of("Contents"),e.Type=e.of("Type"),e.Parent=e.of("Parent"),e.MediaBox=e.of("MediaBox"),e.Page=e.of("Page"),e.Annots=e.of("Annots"),e.TrimBox=e.of("TrimBox"),e.ArtBox=e.of("ArtBox"),e.BleedBox=e.of("BleedBox"),e.CropBox=e.of("CropBox"),e.Rotate=e.of("Rotate"),e.Title=e.of("Title"),e.Author=e.of("Author"),e.Subject=e.of("Subject"),e.Creator=e.of("Creator"),e.Keywords=e.of("Keywords"),e.Producer=e.of("Producer"),e.CreationDate=e.of("CreationDate"),e.ModDate=e.of("ModDate"),e}(lr),qz=function(t){K(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.asNull=function(){return null},e.prototype.clone=function(){return this},e.prototype.toString=function(){return"null"},e.prototype.sizeInBytes=function(){return 4},e.prototype.copyBytesInto=function(r,n){return r[n++]=P.n,r[n++]=P.u,r[n++]=P.l,r[n++]=P.l,4},e}(lr);const pr=new qz;var ge=function(t){K(e,t);function e(r,n){var i=t.call(this)||this;return i.dict=r,i.context=n,i}return e.prototype.keys=function(){return Array.from(this.dict.keys())},e.prototype.values=function(){return Array.from(this.dict.values())},e.prototype.entries=function(){return Array.from(this.dict.entries())},e.prototype.set=function(r,n){this.dict.set(r,n)},e.prototype.get=function(r,n){n===void 0&&(n=!1);var i=this.dict.get(r);if(!(i===pr&&!n))return i},e.prototype.has=function(r){var n=this.dict.get(r);return n!==void 0&&n!==pr},e.prototype.lookupMaybe=function(r){for(var n,i=[],o=1;o<arguments.length;o++)i[o-1]=arguments[o];var a=i.includes(pr),s=(n=this.context).lookupMaybe.apply(n,Ie([this.get(r,a)],i));if(!(s===pr&&!a))return s},e.prototype.lookup=function(r){for(var n,i=[],o=1;o<arguments.length;o++)i[o-1]=arguments[o];var a=i.includes(pr),s=(n=this.context).lookup.apply(n,Ie([this.get(r,a)],i));if(!(s===pr&&!a))return s},e.prototype.delete=function(r){return this.dict.delete(r)},e.prototype.asMap=function(){return new Map(this.dict)},e.prototype.uniqueKey=function(r){r===void 0&&(r="");for(var n=this.keys(),i=T.of(this.context.addRandomSuffix(r,10));n.includes(i);)i=T.of(this.context.addRandomSuffix(r,10));return i},e.prototype.clone=function(r){for(var n=e.withContext(r||this.context),i=this.entries(),o=0,a=i.length;o<a;o++){var s=i[o],u=s[0],l=s[1];n.set(u,l)}return n},e.prototype.toString=function(){for(var r=`<<
320`,n=this.entries(),i=0,o=n.length;i<o;i++){var a=n[i],s=a[0],u=a[1];r+=s.toString()+" "+u.toString()+`
321`}return r+=">>",r},e.prototype.sizeInBytes=function(){for(var r=5,n=this.entries(),i=0,o=n.length;i<o;i++){var a=n[i],s=a[0],u=a[1];r+=s.sizeInBytes()+u.sizeInBytes()+2}return r},e.prototype.copyBytesInto=function(r,n){var i=n;r[n++]=P.LessThan,r[n++]=P.LessThan,r[n++]=P.Newline;for(var o=this.entries(),a=0,s=o.length;a<s;a++){var u=o[a],l=u[0],c=u[1];n+=l.copyBytesInto(r,n),r[n++]=P.Space,n+=c.copyBytesInto(r,n),r[n++]=P.Newline}return r[n++]=P.GreaterThan,r[n++]=P.GreaterThan,n-i},e.withContext=function(r){return new e(new Map,r)},e.fromMapWithContext=function(r,n){return new e(r,n)},e}(lr),_r=function(t){K(e,t);function e(r){var n=t.call(this)||this;return n.dict=r,n}return e.prototype.clone=function(r){throw new Kr(this.constructor.name,"clone")},e.prototype.getContentsString=function(){throw new Kr(this.constructor.name,"getContentsString")},e.prototype.getContents=function(){throw new Kr(this.constructor.name,"getContents")},e.prototype.getContentsSize=function(){throw new Kr(this.constructor.name,"getContentsSize")},e.prototype.updateDict=function(){var r=this.getContentsSize();this.dict.set(T.Length,fe.of(r))},e.prototype.sizeInBytes=function(){return this.updateDict(),this.dict.sizeInBytes()+this.getContentsSize()+18},e.prototype.toString=function(){this.updateDict();var r=this.dict.toString();return r+=`
322stream
323`,r+=this.getContentsString(),r+=`
324endstream`,r},e.prototype.copyBytesInto=function(r,n){this.updateDict();var i=n;n+=this.dict.copyBytesInto(r,n),r[n++]=P.Newline,r[n++]=P.s,r[n++]=P.t,r[n++]=P.r,r[n++]=P.e,r[n++]=P.a,r[n++]=P.m,r[n++]=P.Newline;for(var o=this.getContents(),a=0,s=o.length;a<s;a++)r[n++]=o[a];return r[n++]=P.Newline,r[n++]=P.e,r[n++]=P.n,r[n++]=P.d,r[n++]=P.s,r[n++]=P.t,r[n++]=P.r,r[n++]=P.e,r[n++]=P.a,r[n++]=P.m,n-i},e}(lr),Sc=function(t){K(e,t);function e(r,n){var i=t.call(this,r)||this;return i.contents=n,i}return e.prototype.asUint8Array=function(){return this.contents.slice()},e.prototype.clone=function(r){return e.of(this.dict.clone(r),this.contents.slice())},e.prototype.getContentsString=function(){return mP(this.contents)},e.prototype.getContents=function(){return this.contents},e.prototype.getContentsSize=function(){return this.contents.length},e.of=function(r,n){return new e(r,n)},e}(_r),Q1={},$1=new Map,Ze=function(t){K(e,t);function e(r,n,i){var o=this;if(r!==Q1)throw new _y("PDFRef");return o=t.call(this)||this,o.objectNumber=n,o.generationNumber=i,o.tag=n+" "+i+" R",o}return e.prototype.clone=function(){return this},e.prototype.toString=function(){return this.tag},e.prototype.sizeInBytes=function(){return this.tag.length},e.prototype.copyBytesInto=function(r,n){return n+=Ut(this.tag,r,n),this.tag.length},e.of=function(r,n){n===void 0&&(n=0);var i=r+" "+n+" R",o=$1.get(i);return o||(o=new e(Q1,r,n),$1.set(i,o)),o},e}(lr),_e=function(){function t(e,r){this.name=e,this.args=r||[]}return t.prototype.clone=function(e){for(var r=new Array(this.args.length),n=0,i=r.length;n<i;n++){var o=this.args[n];r[n]=o instanceof lr?o.clone(e):o}return t.of(this.name,r)},t.prototype.toString=function(){for(var e="",r=0,n=this.args.length;r<n;r++)e+=String(this.args[r])+" ";return e+=this.name,e},t.prototype.sizeInBytes=function(){for(var e=0,r=0,n=this.args.length;r<n;r++){var i=this.args[r];e+=(i instanceof lr?i.sizeInBytes():i.length)+1}return e+=this.name.length,e},t.prototype.copyBytesInto=function(e,r){for(var n=r,i=0,o=this.args.length;i<o;i++){var a=this.args[i];a instanceof lr?r+=a.copyBytesInto(e,r):r+=Ut(a,e,r),e[r++]=P.Space}return r+=Ut(this.name,e,r),r-n},t.of=function(e,r){return new t(e,r)},t}(),Lm;(function(t){t.NonStrokingColor="sc",t.NonStrokingColorN="scn",t.NonStrokingColorRgb="rg",t.NonStrokingColorGray="g",t.NonStrokingColorCmyk="k",t.NonStrokingColorspace="cs",t.StrokingColor="SC",t.StrokingColorN="SCN",t.StrokingColorRgb="RG",t.StrokingColorGray="G",t.StrokingColorCmyk="K",t.StrokingColorspace="CS",t.BeginMarkedContentSequence="BDC",t.BeginMarkedContent="BMC",t.EndMarkedContent="EMC",t.MarkedContentPointWithProps="DP",t.MarkedContentPoint="MP",t.DrawObject="Do",t.ConcatTransformationMatrix="cm",t.PopGraphicsState="Q",t.PushGraphicsState="q",t.SetFlatness="i",t.SetGraphicsStateParams="gs",t.SetLineCapStyle="J",t.SetLineDashPattern="d",t.SetLineJoinStyle="j",t.SetLineMiterLimit="M",t.SetLineWidth="w",t.SetTextMatrix="Tm",t.SetRenderingIntent="ri",t.AppendRectangle="re",t.BeginInlineImage="BI",t.BeginInlineImageData="ID",t.EndInlineImage="EI",t.ClipEvenOdd="W*",t.ClipNonZero="W",t.CloseAndStroke="s",t.CloseFillEvenOddAndStroke="b*",t.CloseFillNonZeroAndStroke="b",t.ClosePath="h",t.AppendBezierCurve="c",t.CurveToReplicateFinalPoint="y",t.CurveToReplicateInitialPoint="v",t.EndPath="n",t.FillEvenOddAndStroke="B*",t.FillEvenOdd="f*",t.FillNonZeroAndStroke="B",t.FillNonZero="f",t.LegacyFillNonZero="F",t.LineTo="l",t.MoveTo="m",t.ShadingFill="sh",t.StrokePath="S",t.BeginText="BT",t.EndText="ET",t.MoveText="Td",t.MoveTextSetLeading="TD",t.NextLine="T*",t.SetCharacterSpacing="Tc",t.SetFontAndSize="Tf",t.SetTextHorizontalScaling="Tz",t.SetTextLineHeight="TL",t.SetTextRenderingMode="Tr",t.SetTextRise="Ts",t.SetWordSpacing="Tw",t.ShowText="Tj",t.ShowTextAdjusted="TJ",t.ShowTextLine="'",t.ShowTextLineAndSpace='"',t.Type3D0="d0",t.Type3D1="d1",t.BeginCompatibilitySection="BX",t.EndCompatibilitySection="EX"})(Lm||(Lm={}));const Me=Lm;var Iy=function(t){K(e,t);function e(r,n){var i=t.call(this,r)||this;return i.computeContents=function(){var o=i.getUnencodedContents();return i.encode?pp.deflate(o):o},i.encode=n,n&&r.set(T.of("Filter"),T.of("FlateDecode")),i.contentsCache=fi.populatedBy(i.computeContents),i}return e.prototype.getContents=function(){return this.contentsCache.access()},e.prototype.getContentsSize=function(){return this.contentsCache.access().length},e.prototype.getUnencodedContents=function(){throw new Kr(this.constructor.name,"getUnencodedContents")},e}(_r),Au=function(t){K(e,t);function e(r,n,i){i===void 0&&(i=!0);var o=t.call(this,r,i)||this;return o.operators=n,o}return e.prototype.push=function(){for(var r,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];(r=this.operators).push.apply(r,n)},e.prototype.clone=function(r){for(var n=new Array(this.operators.length),i=0,o=this.operators.length;i<o;i++)n[i]=this.operators[i].clone(r);var a=this,s=a.dict,u=a.encode;return e.of(s.clone(r),n,u)},e.prototype.getContentsString=function(){for(var r="",n=0,i=this.operators.length;n<i;n++)r+=this.operators[n]+`
325`;return r},e.prototype.getUnencodedContents=function(){for(var r=new Uint8Array(this.getUnencodedContentsSize()),n=0,i=0,o=this.operators.length;i<o;i++)n+=this.operators[i].copyBytesInto(r,n),r[n++]=P.Newline;return r},e.prototype.getUnencodedContentsSize=function(){for(var r=0,n=0,i=this.operators.length;n<i;n++)r+=this.operators[n].sizeInBytes()+1;return r},e.of=function(r,n,i){return i===void 0&&(i=!0),new e(r,n,i)},e}(Iy),Hz=function(){function t(e){this.seed=e}return t.prototype.nextInt=function(){var e=Math.sin(this.seed++)*1e4;return e-Math.floor(e)},t.withSeed=function(e){return new t(e)},t}(),Kz=function(t,e){var r=t[0],n=e[0];return r.objectNumber-n.objectNumber},Bm=function(){function t(){this.largestObjectNumber=0,this.header=gp.forVersion(1,7),this.trailerInfo={},this.indirectObjects=new Map,this.rng=Hz.withSeed(1)}return t.prototype.assign=function(e,r){this.indirectObjects.set(e,r),e.objectNumber>this.largestObjectNumber&&(this.largestObjectNumber=e.objectNumber)},t.prototype.nextRef=function(){return this.largestObjectNumber+=1,Ze.of(this.largestObjectNumber)},t.prototype.register=function(e){var r=this.nextRef();return this.assign(r,e),r},t.prototype.delete=function(e){return this.indirectObjects.delete(e)},t.prototype.lookupMaybe=function(e){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];var i=r.includes(pr),o=e instanceof Ze?this.indirectObjects.get(e):e;if(!(!o||o===pr&&!i)){for(var a=0,s=r.length;a<s;a++){var u=r[a];if(u===pr){if(o===pr)return o}else if(o instanceof u)return o}throw new dh(r,o)}},t.prototype.lookup=function(e){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];var i=e instanceof Ze?this.indirectObjects.get(e):e;if(r.length===0)return i;for(var o=0,a=r.length;o<a;o++){var s=r[o];if(s===pr){if(i===pr)return i}else if(i instanceof s)return i}throw new dh(r,i)},t.prototype.getObjectRef=function(e){for(var r=Array.from(this.indirectObjects.entries()),n=0,i=r.length;n<i;n++){var o=r[n],a=o[0],s=o[1];if(s===e)return a}},t.prototype.enumerateIndirectObjects=function(){return Array.from(this.indirectObjects.entries()).sort(Kz)},t.prototype.obj=function(e){if(e instanceof lr)return e;if(e==null)return pr;if(typeof e=="string")return T.of(e);if(typeof e=="number")return fe.of(e);if(typeof e=="boolean")return e?xc.True:xc.False;if(Array.isArray(e)){for(var r=Ue.withContext(this),n=0,i=e.length;n<i;n++)r.push(this.obj(e[n]));return r}else{for(var o=ge.withContext(this),a=Object.keys(e),n=0,i=a.length;n<i;n++){var s=a[n],u=e[s];u!==void 0&&o.set(T.of(s),this.obj(u))}return o}},t.prototype.stream=function(e,r){return r===void 0&&(r={}),Sc.of(this.obj(r),Rm(e))},t.prototype.flateStream=function(e,r){return r===void 0&&(r={}),this.stream(pp.deflate(Rm(e)),ve(ve({},r),{Filter:"FlateDecode"}))},t.prototype.contentStream=function(e,r){return r===void 0&&(r={}),Au.of(this.obj(r),e)},t.prototype.formXObject=function(e,r){return r===void 0&&(r={}),this.contentStream(e,ve(ve({BBox:this.obj([0,0,0,0]),Matrix:this.obj([1,0,0,1,0,0])},r),{Type:"XObject",Subtype:"Form"}))},t.prototype.getPushGraphicsStateContentStream=function(){if(this.pushGraphicsStateContentStreamRef)return this.pushGraphicsStateContentStreamRef;var e=this.obj({}),r=_e.of(Me.PushGraphicsState),n=Au.of(e,[r]);return this.pushGraphicsStateContentStreamRef=this.register(n),this.pushGraphicsStateContentStreamRef},t.prototype.getPopGraphicsStateContentStream=function(){if(this.popGraphicsStateContentStreamRef)return this.popGraphicsStateContentStreamRef;var e=this.obj({}),r=_e.of(Me.PopGraphicsState),n=Au.of(e,[r]);return this.popGraphicsStateContentStreamRef=this.register(n),this.popGraphicsStateContentStreamRef},t.prototype.addRandomSuffix=function(e,r){return r===void 0&&(r=4),e+"-"+Math.floor(this.rng.nextInt()*Math.pow(10,r))},t.create=function(){return new t},t}(),hi=function(t){K(e,t);function e(r,n,i){i===void 0&&(i=!0);var o=t.call(this,r,n)||this;return o.normalized=!1,o.autoNormalizeCTM=i,o}return e.prototype.clone=function(r){for(var n=e.fromMapWithContext(new Map,r||this.context,this.autoNormalizeCTM),i=this.entries(),o=0,a=i.length;o<a;o++){var s=i[o],u=s[0],l=s[1];n.set(u,l)}return n},e.prototype.Parent=function(){return this.lookupMaybe(T.Parent,ge)},e.prototype.Contents=function(){return this.lookup(T.of("Contents"))},e.prototype.Annots=function(){return this.lookupMaybe(T.Annots,Ue)},e.prototype.BleedBox=function(){return this.lookupMaybe(T.BleedBox,Ue)},e.prototype.TrimBox=function(){return this.lookupMaybe(T.TrimBox,Ue)},e.prototype.ArtBox=function(){return this.lookupMaybe(T.ArtBox,Ue)},e.prototype.Resources=function(){var r=this.getInheritableAttribute(T.Resources);return this.context.lookupMaybe(r,ge)},e.prototype.MediaBox=function(){var r=this.getInheritableAttribute(T.MediaBox);return this.context.lookup(r,Ue)},e.prototype.CropBox=function(){var r=this.getInheritableAttribute(T.CropBox);return this.context.lookupMaybe(r,Ue)},e.prototype.Rotate=function(){var r=this.getInheritableAttribute(T.Rotate);return this.context.lookupMaybe(r,fe)},e.prototype.getInheritableAttribute=function(r){var n;return this.ascend(function(i){n||(n=i.get(r))}),n},e.prototype.setParent=function(r){this.set(T.Parent,r)},e.prototype.addContentStream=function(r){var n=this.normalizedEntries().Contents||this.context.obj([]);this.set(T.Contents,n),n.push(r)},e.prototype.wrapContentStreams=function(r,n){var i=this.Contents();return i instanceof Ue?(i.insert(0,r),i.push(n),!0):!1},e.prototype.addAnnot=function(r){var n=this.normalizedEntries().Annots;n.push(r)},e.prototype.removeAnnot=function(r){var n=this.normalizedEntries().Annots,i=n.indexOf(r);i!==void 0&&n.remove(i)},e.prototype.setFontDictionary=function(r,n){var i=this.normalizedEntries().Font;i.set(r,n)},e.prototype.newFontDictionaryKey=function(r){var n=this.normalizedEntries().Font;return n.uniqueKey(r)},e.prototype.newFontDictionary=function(r,n){var i=this.newFontDictionaryKey(r);return this.setFontDictionary(i,n),i},e.prototype.setXObject=function(r,n){var i=this.normalizedEntries().XObject;i.set(r,n)},e.prototype.newXObjectKey=function(r){var n=this.normalizedEntries().XObject;return n.uniqueKey(r)},e.prototype.newXObject=function(r,n){var i=this.newXObjectKey(r);return this.setXObject(i,n),i},e.prototype.setExtGState=function(r,n){var i=this.normalizedEntries().ExtGState;i.set(r,n)},e.prototype.newExtGStateKey=function(r){var n=this.normalizedEntries().ExtGState;return n.uniqueKey(r)},e.prototype.newExtGState=function(r,n){var i=this.newExtGStateKey(r);return this.setExtGState(i,n),i},e.prototype.ascend=function(r){r(this);var n=this.Parent();n&&n.ascend(r)},e.prototype.normalize=function(){if(!this.normalized){var r=this.context,n=this.get(T.Contents),i=this.context.lookup(n);i instanceof _r&&this.set(T.Contents,r.obj([n])),this.autoNormalizeCTM&&this.wrapContentStreams(this.context.getPushGraphicsStateContentStream(),this.context.getPopGraphicsStateContentStream());var o=this.getInheritableAttribute(T.Resources),a=r.lookupMaybe(o,ge)||r.obj({});this.set(T.Resources,a);var s=a.lookupMaybe(T.Font,ge)||r.obj({});a.set(T.Font,s);var u=a.lookupMaybe(T.XObject,ge)||r.obj({});a.set(T.XObject,u);var l=a.lookupMaybe(T.ExtGState,ge)||r.obj({});a.set(T.ExtGState,l);var c=this.Annots()||r.obj([]);this.set(T.Annots,c),this.normalized=!0}},e.prototype.normalizedEntries=function(){this.normalize();var r=this.Annots(),n=this.Resources(),i=this.Contents();return{Annots:r,Resources:n,Contents:i,Font:n.lookup(T.Font,ge),XObject:n.lookup(T.XObject,ge),ExtGState:n.lookup(T.ExtGState,ge)}},e.InheritableEntries=["Resources","MediaBox","CropBox","Rotate"],e.withContextAndParent=function(r,n){var i=new Map;return i.set(T.Type,T.Page),i.set(T.Parent,n),i.set(T.Resources,r.obj({})),i.set(T.MediaBox,r.obj([0,0,612,792])),new e(i,r,!1)},e.fromMapWithContext=function(r,n,i){return i===void 0&&(i=!0),new e(r,n,i)},e}(ge),eS=function(){function t(e,r){var n=this;this.traversedObjects=new Map,this.copy=function(i){return i instanceof hi?n.copyPDFPage(i):i instanceof ge?n.copyPDFDict(i):i instanceof Ue?n.copyPDFArray(i):i instanceof _r?n.copyPDFStream(i):i instanceof Ze?n.copyPDFIndirectObject(i):i.clone()},this.copyPDFPage=function(i){for(var o=i.clone(),a=hi.InheritableEntries,s=0,u=a.length;s<u;s++){var l=T.of(a[s]),c=o.getInheritableAttribute(l);!o.get(l)&&c&&o.set(l,c)}return o.delete(T.of("Parent")),n.copyPDFDict(o)},this.copyPDFDict=function(i){if(n.traversedObjects.has(i))return n.traversedObjects.get(i);var o=i.clone(n.dest);n.traversedObjects.set(i,o);for(var a=i.entries(),s=0,u=a.length;s<u;s++){var l=a[s],c=l[0],d=l[1];o.set(c,n.copy(d))}return o},this.copyPDFArray=function(i){if(n.traversedObjects.has(i))return n.traversedObjects.get(i);var o=i.clone(n.dest);n.traversedObjects.set(i,o);for(var a=0,s=i.size();a<s;a++){var u=i.get(a);o.set(a,n.copy(u))}return o},this.copyPDFStream=function(i){if(n.traversedObjects.has(i))return n.traversedObjects.get(i);var o=i.clone(n.dest);n.traversedObjects.set(i,o);for(var a=i.dict.entries(),s=0,u=a.length;s<u;s++){var l=a[s],c=l[0],d=l[1];o.dict.set(c,n.copy(d))}return o},this.copyPDFIndirectObject=function(i){var o=n.traversedObjects.has(i);if(!o){var a=n.dest.nextRef();n.traversedObjects.set(i,a);var s=n.src.lookup(i);if(s){var u=n.copy(s);n.dest.assign(a,u)}}return n.traversedObjects.get(i)},this.src=e,this.dest=r}return t.for=function(e,r){return new t(e,r)},t}(),vR=function(){function t(e){this.subsections=e?[[e]]:[],this.chunkIdx=0,this.chunkLength=e?1:0}return t.prototype.addEntry=function(e,r){this.append({ref:e,offset:r,deleted:!1})},t.prototype.addDeletedEntry=function(e,r){this.append({ref:e,offset:r,deleted:!0})},t.prototype.toString=function(){for(var e=`xref
326`,r=0,n=this.subsections.length;r<n;r++){var i=this.subsections[r];e+=i[0].ref.objectNumber+" "+i.length+`
327`;for(var o=0,a=i.length;o<a;o++){var s=i[o];e+=Sn(String(s.offset),10,"0"),e+=" ",e+=Sn(String(s.ref.generationNumber),5,"0"),e+=" ",e+=s.deleted?"f":"n",e+=` 
328`}}return e},t.prototype.sizeInBytes=function(){for(var e=5,r=0,n=this.subsections.length;r<n;r++){var i=this.subsections[r],o=i.length,a=i[0];e+=2,e+=String(a.ref.objectNumber).length,e+=String(o).length,e+=20*o}return e},t.prototype.copyBytesInto=function(e,r){var n=r;return e[r++]=P.x,e[r++]=P.r,e[r++]=P.e,e[r++]=P.f,e[r++]=P.Newline,r+=this.copySubsectionsIntoBuffer(this.subsections,e,r),r-n},t.prototype.copySubsectionsIntoBuffer=function(e,r,n){for(var i=n,o=e.length,a=0;a<o;a++){var s=this.subsections[a],u=String(s[0].ref.objectNumber);n+=Ut(u,r,n),r[n++]=P.Space;var l=String(s.length);n+=Ut(l,r,n),r[n++]=P.Newline,n+=this.copyEntriesIntoBuffer(s,r,n)}return n-i},t.prototype.copyEntriesIntoBuffer=function(e,r,n){for(var i=e.length,o=0;o<i;o++){var a=e[o],s=Sn(String(a.offset),10,"0");n+=Ut(s,r,n),r[n++]=P.Space;var u=Sn(String(a.ref.generationNumber),5,"0");n+=Ut(u,r,n),r[n++]=P.Space,r[n++]=a.deleted?P.f:P.n,r[n++]=P.Space,r[n++]=P.Newline}return 20*i},t.prototype.append=function(e){if(this.chunkLength===0){this.subsections.push([e]),this.chunkIdx=0,this.chunkLength=1;return}var r=this.subsections[this.chunkIdx],n=r[this.chunkLength-1];e.ref.objectNumber-n.ref.objectNumber>1?(this.subsections.push([e]),this.chunkIdx+=1,this.chunkLength=1):(r.push(e),this.chunkLength+=1)},t.create=function(){return new t({ref:Ze.of(0,65535),offset:0,deleted:!0})},t.createEmpty=function(){return new t},t}(),Dy=function(){function t(e){this.lastXRefOffset=String(e)}return t.prototype.toString=function(){return`startxref
329`+this.lastXRefOffset+`
330%%EOF`},t.prototype.sizeInBytes=function(){return 16+this.lastXRefOffset.length},t.prototype.copyBytesInto=function(e,r){var n=r;return e[r++]=P.s,e[r++]=P.t,e[r++]=P.a,e[r++]=P.r,e[r++]=P.t,e[r++]=P.x,e[r++]=P.r,e[r++]=P.e,e[r++]=P.f,e[r++]=P.Newline,r+=Ut(this.lastXRefOffset,e,r),e[r++]=P.Newline,e[r++]=P.Percent,e[r++]=P.Percent,e[r++]=P.E,e[r++]=P.O,e[r++]=P.F,r-n},t.forLastCrossRefSectionOffset=function(e){return new t(e)},t}(),Gz=function(){function t(e){this.dict=e}return t.prototype.toString=function(){return`trailer
331`+this.dict.toString()},t.prototype.sizeInBytes=function(){return 8+this.dict.sizeInBytes()},t.prototype.copyBytesInto=function(e,r){var n=r;return e[r++]=P.t,e[r++]=P.r,e[r++]=P.a,e[r++]=P.i,e[r++]=P.l,e[r++]=P.e,e[r++]=P.r,e[r++]=P.Newline,r+=this.dict.copyBytesInto(e,r),r-n},t.of=function(e){return new t(e)},t}(),mR=function(t){K(e,t);function e(r,n,i){i===void 0&&(i=!0);var o=t.call(this,r.obj({}),i)||this;return o.objects=n,o.offsets=o.computeObjectOffsets(),o.offsetsString=o.computeOffsetsString(),o.dict.set(T.of("Type"),T.of("ObjStm")),o.dict.set(T.of("N"),fe.of(o.objects.length)),o.dict.set(T.of("First"),fe.of(o.offsetsString.length)),o}return e.prototype.getObjectsCount=function(){return this.objects.length},e.prototype.clone=function(r){return e.withContextAndObjects(r||this.dict.context,this.objects.slice(),this.encode)},e.prototype.getContentsString=function(){for(var r=this.offsetsString,n=0,i=this.objects.length;n<i;n++){var o=this.objects[n],a=o[1];r+=a+`
332`}return r},e.prototype.getUnencodedContents=function(){for(var r=new Uint8Array(this.getUnencodedContentsSize()),n=Ut(this.offsetsString,r,0),i=0,o=this.objects.length;i<o;i++){var a=this.objects[i],s=a[1];n+=s.copyBytesInto(r,n),r[n++]=P.Newline}return r},e.prototype.getUnencodedContentsSize=function(){return this.offsetsString.length+lh(this.offsets)[1]+lh(this.objects)[1].sizeInBytes()+1},e.prototype.computeOffsetsString=function(){for(var r="",n=0,i=this.offsets.length;n<i;n++){var o=this.offsets[n],a=o[0],s=o[1];r+=a+" "+s+" "}return r},e.prototype.computeObjectOffsets=function(){for(var r=0,n=new Array(this.objects.length),i=0,o=this.objects.length;i<o;i++){var a=this.objects[i],s=a[0],u=a[1];n[i]=[s.objectNumber,r],r+=u.sizeInBytes()+1}return n},e.withContextAndObjects=function(r,n,i){return i===void 0&&(i=!0),new e(r,n,i)},e}(Iy),gR=function(){function t(e,r){var n=this;this.parsedObjects=0,this.shouldWaitForTick=function(i){return n.parsedObjects+=i,n.parsedObjects%n.objectsPerTick===0},this.context=e,this.objectsPerTick=r}return t.prototype.serializeToBuffer=function(){return ke(this,void 0,void 0,function(){var e,r,n,i,o,a,s,u,l,c,d,h,f,m,p,g,v;return Ce(this,function(y){switch(y.label){case 0:return[4,this.computeBufferSize()];case 1:e=y.sent(),r=e.size,n=e.header,i=e.indirectObjects,o=e.xref,a=e.trailerDict,s=e.trailer,u=0,l=new Uint8Array(r),u+=n.copyBytesInto(l,u),l[u++]=P.Newline,l[u++]=P.Newline,c=0,d=i.length,y.label=2;case 2:return c<d?(h=i[c],f=h[0],m=h[1],p=String(f.objectNumber),u+=Ut(p,l,u),l[u++]=P.Space,g=String(f.generationNumber),u+=Ut(g,l,u),l[u++]=P.Space,l[u++]=P.o,l[u++]=P.b,l[u++]=P.j,l[u++]=P.Newline,u+=m.copyBytesInto(l,u),l[u++]=P.Newline,l[u++]=P.e,l[u++]=P.n,l[u++]=P.d,l[u++]=P.o,l[u++]=P.b,l[u++]=P.j,l[u++]=P.Newline,l[u++]=P.Newline,v=m instanceof mR?m.getObjectsCount():1,this.shouldWaitForTick(v)?[4,ul()]:[3,4]):[3,5];case 3:y.sent(),y.label=4;case 4:return c++,[3,2];case 5:return o&&(u+=o.copyBytesInto(l,u),l[u++]=P.Newline),a&&(u+=a.copyBytesInto(l,u),l[u++]=P.Newline,l[u++]=P.Newline),u+=s.copyBytesInto(l,u),[2,l]}})})},t.prototype.computeIndirectObjectSize=function(e){var r=e[0],n=e[1],i=r.sizeInBytes()+3,o=n.sizeInBytes()+9;return i+o},t.prototype.createTrailerDict=function(){return this.context.obj({Size:this.context.largestObjectNumber+1,Root:this.context.trailerInfo.Root,Encrypt:this.context.trailerInfo.Encrypt,Info:this.context.trailerInfo.Info,ID:this.context.trailerInfo.ID})},t.prototype.computeBufferSize=function(){return ke(this,void 0,void 0,function(){var e,r,n,i,o,a,s,u,l,c,d;return Ce(this,function(h){switch(h.label){case 0:e=gp.forVersion(1,7),r=e.sizeInBytes()+2,n=vR.create(),i=this.context.enumerateIndirectObjects(),o=0,a=i.length,h.label=1;case 1:return o<a?(s=i[o],u=s[0],n.addEntry(u,r),r+=this.computeIndirectObjectSize(s),this.shouldWaitForTick(1)?[4,ul()]:[3,3]):[3,4];case 2:h.sent(),h.label=3;case 3:return o++,[3,1];case 4:return l=r,r+=n.sizeInBytes()+1,c=Gz.of(this.createTrailerDict()),r+=c.sizeInBytes()+2,d=Dy.forLastCrossRefSectionOffset(l),r+=d.sizeInBytes(),[2,{size:r,header:e,indirectObjects:i,xref:n,trailerDict:c,trailer:d}]}})})},t.forContext=function(e,r){return new t(e,r)},t}(),yR=function(t){K(e,t);function e(r){var n=t.call(this)||this;return n.data=r,n}return e.prototype.clone=function(){return e.of(this.data.slice())},e.prototype.toString=function(){return"PDFInvalidObject("+this.data.length+" bytes)"},e.prototype.sizeInBytes=function(){return this.data.length},e.prototype.copyBytesInto=function(r,n){for(var i=this.data.length,o=0;o<i;o++)r[n++]=this.data[o];return i},e.of=function(r){return new e(r)},e}(lr),Wi;(function(t){t[t.Deleted=0]="Deleted",t[t.Uncompressed=1]="Uncompressed",t[t.Compressed=2]="Compressed"})(Wi||(Wi={}));var Xz=function(t){K(e,t);function e(r,n,i){i===void 0&&(i=!0);var o=t.call(this,r,i)||this;return o.computeIndex=function(){for(var a=[],s=0,u=0,l=o.entries.length;u<l;u++){var c=o.entries[u],d=o.entries[u-1];u===0?a.push(c.ref.objectNumber):c.ref.objectNumber-d.ref.objectNumber>1&&(a.push(s),a.push(c.ref.objectNumber),s=0),s+=1}return a.push(s),a},o.computeEntryTuples=function(){for(var a=new Array(o.entries.length),s=0,u=o.entries.length;s<u;s++){var l=o.entries[s];if(l.type===Wi.Deleted){var c=l.type,d=l.nextFreeObjectNumber,h=l.ref;a[s]=[c,d,h.generationNumber]}if(l.type===Wi.Uncompressed){var c=l.type,f=l.offset,h=l.ref;a[s]=[c,f,h.generationNumber]}if(l.type===Wi.Compressed){var c=l.type,m=l.objectStreamRef,p=l.index;a[s]=[c,m.objectNumber,p]}}return a},o.computeMaxEntryByteWidths=function(){for(var a=o.entryTuplesCache.access(),s=[0,0,0],u=0,l=a.length;u<l;u++){var c=a[u],d=c[0],h=c[1],f=c[2],m=lf(d),p=lf(h),g=lf(f);m>s[0]&&(s[0]=m),p>s[1]&&(s[1]=p),g>s[2]&&(s[2]=g)}return s},o.entries=n||[],o.entryTuplesCache=fi.populatedBy(o.computeEntryTuples),o.maxByteWidthsCache=fi.populatedBy(o.computeMaxEntryByteWidths),o.indexCache=fi.populatedBy(o.computeIndex),r.set(T.of("Type"),T.of("XRef")),o}return e.prototype.addDeletedEntry=function(r,n){var i=Wi.Deleted;this.entries.push({type:i,ref:r,nextFreeObjectNumber:n}),this.entryTuplesCache.invalidate(),this.maxByteWidthsCache.invalidate(),this.indexCache.invalidate(),this.contentsCache.invalidate()},e.prototype.addUncompressedEntry=function(r,n){var i=Wi.Uncompressed;this.entries.push({type:i,ref:r,offset:n}),this.entryTuplesCache.invalidate(),this.maxByteWidthsCache.invalidate(),this.indexCache.invalidate(),this.contentsCache.invalidate()},e.prototype.addCompressedEntry=function(r,n,i){var o=Wi.Compressed;this.entries.push({type:o,ref:r,objectStreamRef:n,index:i}),this.entryTuplesCache.invalidate(),this.maxByteWidthsCache.invalidate(),this.indexCache.invalidate(),this.contentsCache.invalidate()},e.prototype.clone=function(r){var n=this,i=n.dict,o=n.entries,a=n.encode;return e.of(i.clone(r),o.slice(),a)},e.prototype.getContentsString=function(){for(var r=this.entryTuplesCache.access(),n=this.maxByteWidthsCache.access(),i="",o=0,a=r.length;o<a;o++){for(var s=r[o],u=s[0],l=s[1],c=s[2],d=rs(ns(u)),h=rs(ns(l)),f=rs(ns(c)),m=n[0]-1;m>=0;m--)i+=(d[m]||0).toString(2);for(var m=n[1]-1;m>=0;m--)i+=(h[m]||0).toString(2);for(var m=n[2]-1;m>=0;m--)i+=(f[m]||0).toString(2)}return i},e.prototype.getUnencodedContents=function(){for(var r=this.entryTuplesCache.access(),n=this.maxByteWidthsCache.access(),i=new Uint8Array(this.getUnencodedContentsSize()),o=0,a=0,s=r.length;a<s;a++){for(var u=r[a],l=u[0],c=u[1],d=u[2],h=rs(ns(l)),f=rs(ns(c)),m=rs(ns(d)),p=n[0]-1;p>=0;p--)i[o++]=h[p]||0;for(var p=n[1]-1;p>=0;p--)i[o++]=f[p]||0;for(var p=n[2]-1;p>=0;p--)i[o++]=m[p]||0}return i},e.prototype.getUnencodedContentsSize=function(){var r=this.maxByteWidthsCache.access(),n=XL(r);return n*this.entries.length},e.prototype.updateDict=function(){t.prototype.updateDict.call(this);var r=this.maxByteWidthsCache.access(),n=this.indexCache.access(),i=this.dict.context;this.dict.set(T.of("W"),i.obj(r)),this.dict.set(T.of("Index"),i.obj(n))},e.create=function(r,n){n===void 0&&(n=!0);var i=new e(r,[],n);return i.addDeletedEntry(Ze.of(0,65535),0),i},e.of=function(r,n,i){return i===void 0&&(i=!0),new e(r,n,i)},e}(Iy),Zz=function(t){K(e,t);function e(r,n,i,o){var a=t.call(this,r,n)||this;return a.encodeStreams=i,a.objectsPerStream=o,a}return e.prototype.computeBufferSize=function(){return ke(this,void 0,void 0,function(){var r,n,i,o,a,s,u,l,m,p,c,v,d,h,g,f,m,p,g,v,y,w,S,k;return Ce(this,function(C){switch(C.label){case 0:r=this.context.largestObjectNumber+1,n=gp.forVersion(1,7),i=n.sizeInBytes()+2,o=Xz.create(this.createTrailerDict(),this.encodeStreams),a=[],s=[],u=[],l=this.context.enumerateIndirectObjects(),m=0,p=l.length,C.label=1;case 1:return m<p?(c=l[m],v=c[0],d=c[1],h=v===this.context.trailerInfo.Encrypt||d instanceof _r||d instanceof yR||v.generationNumber!==0,h?(a.push(c),o.addUncompressedEntry(v,i),i+=this.computeIndirectObjectSize(c),this.shouldWaitForTick(1)?[4,ul()]:[3,3]):[3,4]):[3,6];case 2:C.sent(),C.label=3;case 3:return[3,5];case 4:g=lh(s),f=lh(u),(!g||g.length%this.objectsPerStream===0)&&(g=[],s.push(g),f=Ze.of(r++),u.push(f)),o.addCompressedEntry(v,f,g.length),g.push(c),C.label=5;case 5:return m++,[3,1];case 6:m=0,p=s.length,C.label=7;case 7:return m<p?(g=s[m],v=u[m],y=mR.withContextAndObjects(this.context,g,this.encodeStreams),o.addUncompressedEntry(v,i),i+=this.computeIndirectObjectSize([v,y]),a.push([v,y]),this.shouldWaitForTick(g.length)?[4,ul()]:[3,9]):[3,10];case 8:C.sent(),C.label=9;case 9:return m++,[3,7];case 10:return w=Ze.of(r++),o.dict.set(T.of("Size"),fe.of(r)),o.addUncompressedEntry(w,i),S=i,i+=this.computeIndirectObjectSize([w,o]),a.push([w,o]),k=Dy.forLastCrossRefSectionOffset(S),i+=k.sizeInBytes(),[2,{size:i,header:n,indirectObjects:a,trailer:k}]}})})},e.forContext=function(r,n,i,o){return i===void 0&&(i=!0),o===void 0&&(o=50),new e(r,n,i,o)},e}(gR),le=function(t){K(e,t);function e(r){var n=t.call(this)||this;return n.value=r,n}return e.prototype.asBytes=function(){for(var r=this.value+(this.value.length%2===1?"0":""),n=r.length,i=new Uint8Array(r.length/2),o=0,a=0;o<n;){var s=parseInt(r.substring(o,o+2),16);i[a]=s,o+=2,a+=1}return i},e.prototype.decodeText=function(){var r=this.asBytes();return SP(r)?wP(r):hR(r)},e.prototype.decodeDate=function(){var r=this.decodeText(),n=vP(r);if(!n)throw new pR(r);return n},e.prototype.asString=function(){return this.value},e.prototype.clone=function(){return e.of(this.value)},e.prototype.toString=function(){return"<"+this.value+">"},e.prototype.sizeInBytes=function(){return this.value.length+2},e.prototype.copyBytesInto=function(r,n){return r[n++]=P.LessThan,n+=Ut(this.value,r,n),r[n++]=P.GreaterThan,this.value.length+2},e.of=function(r){return new e(r)},e.fromText=function(r){for(var n=QL(r),i="",o=0,a=n.length;o<a;o++)i+=Ic(n[o],4);return new e(i)},e}(lr),hh=function(){function t(e,r){this.encoding=e===bc.ZapfDingbats?Id.ZapfDingbats:e===bc.Symbol?Id.Symbol:Id.WinAnsi,this.font=pz.load(e),this.fontName=this.font.FontName,this.customName=r}return t.prototype.encodeText=function(e){for(var r=this.encodeTextAsGlyphs(e),n=new Array(r.length),i=0,o=r.length;i<o;i++)n[i]=cp(r[i].code);return le.of(n.join(""))},t.prototype.widthOfTextAtSize=function(e,r){for(var n=this.encodeTextAsGlyphs(e),i=0,o=0,a=n.length;o<a;o++){var s=n[o].name,u=(n[o+1]||{}).name,l=this.font.getXAxisKerningForPair(s,u)||0;i+=this.widthOfGlyph(s)+l}var c=r/1e3;return i*c},t.prototype.heightOfFontAtSize=function(e,r){r===void 0&&(r={});var n=r.descender,i=n===void 0?!0:n,o=this.font,a=o.Ascender,s=o.Descender,u=o.FontBBox,l=a||u[3],c=s||u[1],d=l-c;return i||(d+=s||0),d/1e3*e},t.prototype.sizeOfFontAtHeight=function(e){var r=this.font,n=r.Ascender,i=r.Descender,o=r.FontBBox,a=n||o[3],s=i||o[1];return 1e3*e/(a-s)},t.prototype.embedIntoContext=function(e,r){var n=e.obj({Type:"Font",Subtype:"Type1",BaseFont:this.customName||this.fontName,Encoding:this.encoding===Id.WinAnsi?"WinAnsiEncoding":void 0});return r?(e.assign(r,n),r):e.register(n)},t.prototype.widthOfGlyph=function(e){return this.font.getWidthOfGlyph(e)||250},t.prototype.encodeTextAsGlyphs=function(e){for(var r=Array.from(e),n=new Array(r.length),i=0,o=r.length;i<o;i++){var a=DL(r[i]);n[i]=this.encoding.encodeUnicodeCodePoint(a)}return n},t.for=function(e,r){return new t(e,r)},t}(),Yz=function(t,e){for(var r=new Array(t.length),n=0,i=t.length;n<i;n++){var o=t[n],a=tS(pf(e(o))),s=tS.apply(void 0,o.codePoints.map(Qz));r[n]=[a,s]}return Jz(r)},Jz=function(t){return`/CIDInit /ProcSet findresource begin
33312 dict begin
334begincmap
335/CIDSystemInfo <<
336  /Registry (Adobe)
337  /Ordering (UCS)
338  /Supplement 0
339>> def
340/CMapName /Adobe-Identity-UCS def
341/CMapType 2 def
3421 begincodespacerange
343<0000><ffff>
344endcodespacerange
345`+t.length+` beginbfchar
346`+t.map(function(e){var r=e[0],n=e[1];return r+" "+n}).join(`
347`)+`
348endbfchar
349endcmap
350CMapName currentdict /CMap defineresource pop
351end
352end`},tS=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return"<"+t.join("")+">"},pf=function(t){return Ic(t,4)},Qz=function(t){if($L(t))return pf(t);if(eB(t)){var e=gP(t),r=yP(t);return""+pf(e)+pf(r)}var n=cp(t),i="0x"+n+" is not a valid UTF-8 or UTF-16 codepoint.";throw new Error(i)},$z=function(t){var e=0,r=function(n){e|=1<<n-1};return t.fixedPitch&&r(1),t.serif&&r(2),r(3),t.script&&r(4),t.nonsymbolic&&r(6),t.italic&&r(7),t.allCap&&r(17),t.smallCap&&r(18),t.forceBold&&r(19),e},e6=function(t){var e=t["OS/2"]?t["OS/2"].sFamilyClass:0,r=$z({fixedPitch:t.post.isFixedPitch,serif:1<=e&&e<=7,symbolic:!0,script:e===10,italic:t.head.macStyle.italic});return r},Xe=function(t){K(e,t);function e(r){var n=t.call(this)||this;return n.value=r,n}return e.prototype.asBytes=function(){for(var r=[],n="",i=!1,o=function(d){d!==void 0&&r.push(d),i=!1},a=0,s=this.value.length;a<s;a++){var u=this.value[a],l=pe(u),c=this.value[a+1];i?l===P.Newline||l===P.CarriageReturn?o():l===P.n?o(P.Newline):l===P.r?o(P.CarriageReturn):l===P.t?o(P.Tab):l===P.b?o(P.Backspace):l===P.f?o(P.FormFeed):l===P.LeftParen?o(P.LeftParen):l===P.RightParen?o(P.RightParen):l===P.Backspace?o(P.BackSlash):l>=P.Zero&&l<=P.Seven?(n+=u,(n.length===3||!(c>="0"&&c<="7"))&&(o(parseInt(n,8)),n="")):o(l):l===P.BackSlash?i=!0:o(l)}return new Uint8Array(r)},e.prototype.decodeText=function(){var r=this.asBytes();return SP(r)?wP(r):hR(r)},e.prototype.decodeDate=function(){var r=this.decodeText(),n=vP(r);if(!n)throw new pR(r);return n},e.prototype.asString=function(){return this.value},e.prototype.clone=function(){return e.of(this.value)},e.prototype.toString=function(){return"("+this.value+")"},e.prototype.sizeInBytes=function(){return this.value.length+2},e.prototype.copyBytesInto=function(r,n){return r[n++]=P.LeftParen,n+=Ut(this.value,r,n),r[n++]=P.RightParen,this.value.length+2},e.of=function(r){return new e(r)},e.fromDate=function(r){var n=Sn(String(r.getUTCFullYear()),4,"0"),i=Sn(String(r.getUTCMonth()+1),2,"0"),o=Sn(String(r.getUTCDate()),2,"0"),a=Sn(String(r.getUTCHours()),2,"0"),s=Sn(String(r.getUTCMinutes()),2,"0"),u=Sn(String(r.getUTCSeconds()),2,"0");return new e("D:"+n+i+o+a+s+u+"Z")},e}(lr),My=function(){function t(e,r,n,i){var o=this;this.allGlyphsInFontSortedById=function(){for(var a=new Array(o.font.characterSet.length),s=0,u=a.length;s<u;s++){var l=o.font.characterSet[s];a[s]=o.font.glyphForCodePoint(l)}return GL(a.sort(KL),function(c){return c.id})},this.font=e,this.scale=1e3/this.font.unitsPerEm,this.fontData=r,this.fontName=this.font.postscriptName||"Font",this.customName=n,this.fontFeatures=i,this.baseFontName="",this.glyphCache=fi.populatedBy(this.allGlyphsInFontSortedById)}return t.for=function(e,r,n,i){return ke(this,void 0,void 0,function(){var o;return Ce(this,function(a){switch(a.label){case 0:return[4,e.create(r)];case 1:return o=a.sent(),[2,new t(o,r,n,i)]}})})},t.prototype.encodeText=function(e){for(var r=this.font.layout(e,this.fontFeatures).glyphs,n=new Array(r.length),i=0,o=r.length;i<o;i++)n[i]=Ic(r[i].id,4);return le.of(n.join(""))},t.prototype.widthOfTextAtSize=function(e,r){for(var n=this.font.layout(e,this.fontFeatures).glyphs,i=0,o=0,a=n.length;o<a;o++)i+=n[o].advanceWidth*this.scale;var s=r/1e3;return i*s},t.prototype.heightOfFontAtSize=function(e,r){r===void 0&&(r={});var n=r.descender,i=n===void 0?!0:n,o=this.font,a=o.ascent,s=o.descent,u=o.bbox,l=(a||u.maxY)*this.scale,c=(s||u.minY)*this.scale,d=l-c;return i||(d-=Math.abs(s)||0),d/1e3*e},t.prototype.sizeOfFontAtHeight=function(e){var r=this.font,n=r.ascent,i=r.descent,o=r.bbox,a=(n||o.maxY)*this.scale,s=(i||o.minY)*this.scale;return 1e3*e/(a-s)},t.prototype.embedIntoContext=function(e,r){return this.baseFontName=this.customName||e.addRandomSuffix(this.fontName),this.embedFontDict(e,r)},t.prototype.embedFontDict=function(e,r){return ke(this,void 0,void 0,function(){var n,i,o;return Ce(this,function(a){switch(a.label){case 0:return[4,this.embedCIDFontDict(e)];case 1:return n=a.sent(),i=this.embedUnicodeCmap(e),o=e.obj({Type:"Font",Subtype:"Type0",BaseFont:this.baseFontName,Encoding:"Identity-H",DescendantFonts:[n],ToUnicode:i}),r?(e.assign(r,o),[2,r]):[2,e.register(o)]}})})},t.prototype.isCFF=function(){return this.font.cff},t.prototype.embedCIDFontDict=function(e){return ke(this,void 0,void 0,function(){var r,n;return Ce(this,function(i){switch(i.label){case 0:return[4,this.embedFontDescriptor(e)];case 1:return r=i.sent(),n=e.obj({Type:"Font",Subtype:this.isCFF()?"CIDFontType0":"CIDFontType2",CIDToGIDMap:"Identity",BaseFont:this.baseFontName,CIDSystemInfo:{Registry:Xe.of("Adobe"),Ordering:Xe.of("Identity"),Supplement:0},FontDescriptor:r,W:this.computeWidths()}),[2,e.register(n)]}})})},t.prototype.embedFontDescriptor=function(e){return ke(this,void 0,void 0,function(){var r,n,i,o,a,s,u,l,c,d,h,f,m,p,g;return Ce(this,function(v){switch(v.label){case 0:return[4,this.embedFontStream(e)];case 1:return r=v.sent(),n=this.scale,i=this.font,o=i.italicAngle,a=i.ascent,s=i.descent,u=i.capHeight,l=i.xHeight,c=this.font.bbox,d=c.minX,h=c.minY,f=c.maxX,m=c.maxY,p=e.obj((g={Type:"FontDescriptor",FontName:this.baseFontName,Flags:e6(this.font),FontBBox:[d*n,h*n,f*n,m*n],ItalicAngle:o,Ascent:a*n,Descent:s*n,CapHeight:(u||a)*n,XHeight:(l||0)*n,StemV:0},g[this.isCFF()?"FontFile3":"FontFile2"]=r,g)),[2,e.register(p)]}})})},t.prototype.serializeFont=function(){return ke(this,void 0,void 0,function(){return Ce(this,function(e){return[2,this.fontData]})})},t.prototype.embedFontStream=function(e){return ke(this,void 0,void 0,function(){var r,n,i;return Ce(this,function(o){switch(o.label){case 0:return i=(n=e).flateStream,[4,this.serializeFont()];case 1:return r=i.apply(n,[o.sent(),{Subtype:this.isCFF()?"CIDFontType0C":void 0}]),[2,e.register(r)]}})})},t.prototype.embedUnicodeCmap=function(e){var r=Yz(this.glyphCache.access(),this.glyphId.bind(this)),n=e.flateStream(r);return e.register(n)},t.prototype.glyphId=function(e){return e?e.id:-1},t.prototype.computeWidths=function(){for(var e=this.glyphCache.access(),r=[],n=[],i=0,o=e.length;i<o;i++){var a=e[i],s=e[i-1],u=this.glyphId(a),l=this.glyphId(s);i===0?r.push(u):u-l!==1&&(r.push(n),r.push(u),n=[]),n.push(a.advanceWidth*this.scale)}return r.push(n),r},t}(),t6=function(t){K(e,t);function e(r,n,i,o){var a=t.call(this,r,n,i,o)||this;return a.subset=a.font.createSubset(),a.glyphs=[],a.glyphCache=fi.populatedBy(function(){return a.glyphs}),a.glyphIdMap=new Map,a}return e.for=function(r,n,i,o){return ke(this,void 0,void 0,function(){var a;return Ce(this,function(s){switch(s.label){case 0:return[4,r.create(n)];case 1:return a=s.sent(),[2,new e(a,n,i,o)]}})})},e.prototype.encodeText=function(r){for(var n=this.font.layout(r,this.fontFeatures).glyphs,i=new Array(n.length),o=0,a=n.length;o<a;o++){var s=n[o],u=this.subset.includeGlyph(s);this.glyphs[u-1]=s,this.glyphIdMap.set(s.id,u),i[o]=Ic(u,4)}return this.glyphCache.invalidate(),le.of(i.join(""))},e.prototype.isCFF=function(){return this.subset.cff},e.prototype.glyphId=function(r){return r?this.glyphIdMap.get(r.id):-1},e.prototype.serializeFont=function(){var r=this;return new Promise(function(n,i){var o=[];r.subset.encodeStream().on("data",function(a){return o.push(a)}).on("end",function(){return n(HL(o))}).on("error",function(a){return i(a)})})},e}(My),Um;(function(t){t.Source="Source",t.Data="Data",t.Alternative="Alternative",t.Supplement="Supplement",t.EncryptedPayload="EncryptedPayload",t.FormData="EncryptedPayload",t.Schema="Schema",t.Unspecified="Unspecified"})(Um||(Um={}));var r6=function(){function t(e,r,n){n===void 0&&(n={}),this.fileData=e,this.fileName=r,this.options=n}return t.for=function(e,r,n){return n===void 0&&(n={}),new t(e,r,n)},t.prototype.embedIntoContext=function(e,r){return ke(this,void 0,void 0,function(){var n,i,o,a,s,u,l,c,d;return Ce(this,function(h){return n=this.options,i=n.mimeType,o=n.description,a=n.creationDate,s=n.modificationDate,u=n.afRelationship,l=e.flateStream(this.fileData,{Type:"EmbeddedFile",Subtype:i??void 0,Params:{Size:this.fileData.length,CreationDate:a?Xe.fromDate(a):void 0,ModDate:s?Xe.fromDate(s):void 0}}),c=e.register(l),d=e.obj({Type:"Filespec",F:Xe.of(this.fileName),UF:le.fromText(this.fileName),EF:{F:c},Desc:o?le.fromText(o):void 0,AFRelationship:u??void 0}),r?(e.assign(r,d),[2,r]):[2,e.register(d)]})})},t}(),rS=[65472,65473,65474,65475,65477,65478,65479,65480,65481,65482,65483,65484,65485,65486,65487],zs;(function(t){t.DeviceGray="DeviceGray",t.DeviceRGB="DeviceRGB",t.DeviceCMYK="DeviceCMYK"})(zs||(zs={}));var n6={1:zs.DeviceGray,3:zs.DeviceRGB,4:zs.DeviceCMYK},wR=function(){function t(e,r,n,i,o){this.imageData=e,this.bitsPerComponent=r,this.width=n,this.height=i,this.colorSpace=o}return t.for=function(e){return ke(this,void 0,void 0,function(){var r,n,i,o,a,s,u,l,c,d;return Ce(this,function(h){if(r=new DataView(e.buffer),n=r.getUint16(0),n!==65496)throw new Error("SOI not found in JPEG");for(i=2;i<r.byteLength&&(o=r.getUint16(i),i+=2,!rS.includes(o));)i+=r.getUint16(i);if(!rS.includes(o))throw new Error("Invalid JPEG");if(i+=2,a=r.getUint8(i++),s=r.getUint16(i),i+=2,u=r.getUint16(i),i+=2,l=r.getUint8(i++),c=n6[l],!c)throw new Error("Unknown JPEG channel.");return d=c,[2,new t(e,a,u,s,d)]})})},t.prototype.embedIntoContext=function(e,r){return ke(this,void 0,void 0,function(){var n;return Ce(this,function(i){return n=e.stream(this.imageData,{Type:"XObject",Subtype:"Image",BitsPerComponent:this.bitsPerComponent,Width:this.width,Height:this.height,ColorSpace:this.colorSpace,Filter:"DCTDecode",Decode:this.colorSpace===zs.DeviceCMYK?[1,0,1,0,1,0,1,0]:void 0}),r?(e.assign(r,n),[2,r]):[2,e.register(n)]})})},t}(),W={};W.toRGBA8=function(t){var e=t.width,r=t.height;if(t.tabs.acTL==null)return[W.toRGBA8.decodeImage(t.data,e,r,t).buffer];var n=[];t.frames[0].data==null&&(t.frames[0].data=t.data);for(var i=e*r*4,o=new Uint8Array(i),a=new Uint8Array(i),s=new Uint8Array(i),u=0;u<t.frames.length;u++){var l=t.frames[u],c=l.rect.x,d=l.rect.y,h=l.rect.width,f=l.rect.height,m=W.toRGBA8.decodeImage(l.data,h,f,t);if(u!=0)for(var p=0;p<i;p++)s[p]=o[p];if(l.blend==0?W._copyTile(m,h,f,o,e,r,c,d,0):l.blend==1&&W._copyTile(m,h,f,o,e,r,c,d,1),n.push(o.buffer.slice(0)),l.dispose!=0){if(l.dispose==1)W._copyTile(a,h,f,o,e,r,c,d,0);else if(l.dispose==2)for(var p=0;p<i;p++)o[p]=s[p]}}return n};W.toRGBA8.decodeImage=function(t,e,r,n){var i=e*r,o=W.decode._getBPP(n),a=Math.ceil(e*o/8),s=new Uint8Array(i*4),u=new Uint32Array(s.buffer),l=n.ctype,c=n.depth,d=W._bin.readUshort;if(l==6){var h=i<<2;if(c==8)for(var f=0;f<h;f+=4)s[f]=t[f],s[f+1]=t[f+1],s[f+2]=t[f+2],s[f+3]=t[f+3];if(c==16)for(var f=0;f<h;f++)s[f]=t[f<<1]}else if(l==2){var m=n.tabs.tRNS;if(m==null){if(c==8)for(var f=0;f<i;f++){var p=f*3;u[f]=255<<24|t[p+2]<<16|t[p+1]<<8|t[p]}if(c==16)for(var f=0;f<i;f++){var p=f*6;u[f]=255<<24|t[p+4]<<16|t[p+2]<<8|t[p]}}else{var g=m[0],v=m[1],y=m[2];if(c==8)for(var f=0;f<i;f++){var w=f<<2,p=f*3;u[f]=255<<24|t[p+2]<<16|t[p+1]<<8|t[p],t[p]==g&&t[p+1]==v&&t[p+2]==y&&(s[w+3]=0)}if(c==16)for(var f=0;f<i;f++){var w=f<<2,p=f*6;u[f]=255<<24|t[p+4]<<16|t[p+2]<<8|t[p],d(t,p)==g&&d(t,p+2)==v&&d(t,p+4)==y&&(s[w+3]=0)}}}else if(l==3){var S=n.tabs.PLTE,k=n.tabs.tRNS,C=k?k.length:0;if(c==1)for(var E=0;E<r;E++)for(var R=E*a,A=E*e,f=0;f<e;f++){var w=A+f<<2,_=t[R+(f>>3)]>>7-((f&7)<<0)&1,O=3*_;s[w]=S[O],s[w+1]=S[O+1],s[w+2]=S[O+2],s[w+3]=_<C?k[_]:255}if(c==2)for(var E=0;E<r;E++)for(var R=E*a,A=E*e,f=0;f<e;f++){var w=A+f<<2,_=t[R+(f>>2)]>>6-((f&3)<<1)&3,O=3*_;s[w]=S[O],s[w+1]=S[O+1],s[w+2]=S[O+2],s[w+3]=_<C?k[_]:255}if(c==4)for(var E=0;E<r;E++)for(var R=E*a,A=E*e,f=0;f<e;f++){var w=A+f<<2,_=t[R+(f>>1)]>>4-((f&1)<<2)&15,O=3*_;s[w]=S[O],s[w+1]=S[O+1],s[w+2]=S[O+2],s[w+3]=_<C?k[_]:255}if(c==8)for(var f=0;f<i;f++){var w=f<<2,_=t[f],O=3*_;s[w]=S[O],s[w+1]=S[O+1],s[w+2]=S[O+2],s[w+3]=_<C?k[_]:255}}else if(l==4){if(c==8)for(var f=0;f<i;f++){var w=f<<2,D=f<<1,M=t[D];s[w]=M,s[w+1]=M,s[w+2]=M,s[w+3]=t[D+1]}if(c==16)for(var f=0;f<i;f++){var w=f<<2,D=f<<2,M=t[D];s[w]=M,s[w+1]=M,s[w+2]=M,s[w+3]=t[D+2]}}else if(l==0)for(var g=n.tabs.tRNS?n.tabs.tRNS:-1,E=0;E<r;E++){var L=E*a,N=E*e;if(c==1)for(var j=0;j<e;j++){var M=255*(t[L+(j>>>3)]>>>7-(j&7)&1),V=M==g*255?0:255;u[N+j]=V<<24|M<<16|M<<8|M}else if(c==2)for(var j=0;j<e;j++){var M=85*(t[L+(j>>>2)]>>>6-((j&3)<<1)&3),V=M==g*85?0:255;u[N+j]=V<<24|M<<16|M<<8|M}else if(c==4)for(var j=0;j<e;j++){var M=17*(t[L+(j>>>1)]>>>4-((j&1)<<2)&15),V=M==g*17?0:255;u[N+j]=V<<24|M<<16|M<<8|M}else if(c==8)for(var j=0;j<e;j++){var M=t[L+j],V=M==g?0:255;u[N+j]=V<<24|M<<16|M<<8|M}else if(c==16)for(var j=0;j<e;j++){var M=t[L+(j<<1)],V=d(t,L+(j<<f))==g?0:255;u[N+j]=V<<24|M<<16|M<<8|M}}return s};W.decode=function(t){for(var e=new Uint8Array(t),r=8,n=W._bin,i=n.readUshort,o=n.readUint,a={tabs:{},frames:[]},s=new Uint8Array(e.length),u=0,l,c=0,d=[137,80,78,71,13,10,26,10],h=0;h<8;h++)if(e[h]!=d[h])throw"The input is not a PNG file!";for(;r<e.length;){var f=n.readUint(e,r);r+=4;var m=n.readASCII(e,r,4);if(r+=4,m=="IHDR")W.decode._IHDR(e,r,a);else if(m=="IDAT"){for(var h=0;h<f;h++)s[u+h]=e[r+h];u+=f}else if(m=="acTL")a.tabs[m]={num_frames:o(e,r),num_plays:o(e,r+4)},l=new Uint8Array(e.length);else if(m=="fcTL"){if(c!=0){var p=a.frames[a.frames.length-1];p.data=W.decode._decompress(a,l.slice(0,c),p.rect.width,p.rect.height),c=0}var g={x:o(e,r+12),y:o(e,r+16),width:o(e,r+4),height:o(e,r+8)},v=i(e,r+22);v=i(e,r+20)/(v==0?100:v);var y={rect:g,delay:Math.round(v*1e3),dispose:e[r+24],blend:e[r+25]};a.frames.push(y)}else if(m=="fdAT"){for(var h=0;h<f-4;h++)l[c+h]=e[r+h+4];c+=f-4}else if(m=="pHYs")a.tabs[m]=[n.readUint(e,r),n.readUint(e,r+4),e[r+8]];else if(m=="cHRM"){a.tabs[m]=[];for(var h=0;h<8;h++)a.tabs[m].push(n.readUint(e,r+h*4))}else if(m=="tEXt"){a.tabs[m]==null&&(a.tabs[m]={});var w=n.nextZero(e,r),S=n.readASCII(e,r,w-r),k=n.readASCII(e,w+1,r+f-w-1);a.tabs[m][S]=k}else if(m=="iTXt"){a.tabs[m]==null&&(a.tabs[m]={});var w=0,C=r;w=n.nextZero(e,C);var S=n.readASCII(e,C,w-C);C=w+1,e[C],e[C+1],C+=2,w=n.nextZero(e,C),n.readASCII(e,C,w-C),C=w+1,w=n.nextZero(e,C),n.readUTF8(e,C,w-C),C=w+1;var k=n.readUTF8(e,C,f-(C-r));a.tabs[m][S]=k}else if(m=="PLTE")a.tabs[m]=n.readBytes(e,r,f);else if(m=="hIST"){var E=a.tabs.PLTE.length/3;a.tabs[m]=[];for(var h=0;h<E;h++)a.tabs[m].push(i(e,r+h*2))}else if(m=="tRNS")a.ctype==3?a.tabs[m]=n.readBytes(e,r,f):a.ctype==0?a.tabs[m]=i(e,r):a.ctype==2&&(a.tabs[m]=[i(e,r),i(e,r+2),i(e,r+4)]);else if(m=="gAMA")a.tabs[m]=n.readUint(e,r)/1e5;else if(m=="sRGB")a.tabs[m]=e[r];else if(m=="bKGD")a.ctype==0||a.ctype==4?a.tabs[m]=[i(e,r)]:a.ctype==2||a.ctype==6?a.tabs[m]=[i(e,r),i(e,r+2),i(e,r+4)]:a.ctype==3&&(a.tabs[m]=e[r]);else if(m=="IEND")break;r+=f,n.readUint(e,r),r+=4}if(c!=0){var p=a.frames[a.frames.length-1];p.data=W.decode._decompress(a,l.slice(0,c),p.rect.width,p.rect.height),c=0}return a.data=W.decode._decompress(a,s,a.width,a.height),delete a.compress,delete a.interlace,delete a.filter,a};W.decode._decompress=function(t,e,r,n){var i=W.decode._getBPP(t),o=Math.ceil(r*i/8),a=new Uint8Array((o+1+t.interlace)*n);return e=W.decode._inflate(e,a),t.interlace==0?e=W.decode._filterZero(e,t,0,r,n):t.interlace==1&&(e=W.decode._readInterlace(e,t)),e};W.decode._inflate=function(t,e){var r=W.inflateRaw(new Uint8Array(t.buffer,2,t.length-6),e);return r};W.inflateRaw=function(){var t={};return t.H={},t.H.N=function(e,r){var n=Uint8Array,i=0,o=0,a=0,s=0,u=0,l=0,c=0,d=0,h=0,f,m;if(e[0]==3&&e[1]==0)return r||new n(0);var p=t.H,g=p.b,v=p.e,y=p.R,w=p.n,S=p.A,k=p.Z,C=p.m,E=r==null;for(E&&(r=new n(e.length>>>2<<3));i==0;){if(i=g(e,h,1),o=g(e,h+1,2),h+=3,o==0){h&7&&(h+=8-(h&7));var R=(h>>>3)+4,A=e[R-4]|e[R-3]<<8;E&&(r=t.H.W(r,d+A)),r.set(new n(e.buffer,e.byteOffset+R,A),d),h=R+A<<3,d+=A;continue}if(E&&(r=t.H.W(r,d+(1<<17))),o==1&&(f=C.J,m=C.h,l=511,c=31),o==2){a=v(e,h,5)+257,s=v(e,h+5,5)+1,u=v(e,h+10,4)+4,h+=14;for(var _=1,O=0;O<38;O+=2)C.Q[O]=0,C.Q[O+1]=0;for(var O=0;O<u;O++){var D=v(e,h+O*3,3);C.Q[(C.X[O]<<1)+1]=D,D>_&&(_=D)}h+=3*u,w(C.Q,_),S(C.Q,_,C.u),f=C.w,m=C.d,h=y(C.u,(1<<_)-1,a+s,e,h,C.v);var M=p.V(C.v,0,a,C.C);l=(1<<M)-1;var L=p.V(C.v,a,s,C.D);c=(1<<L)-1,w(C.C,M),S(C.C,M,f),w(C.D,L),S(C.D,L,m)}for(;;){var N=f[k(e,h)&l];h+=N&15;var j=N>>>4;if(!(j>>>8))r[d++]=j;else{if(j==256)break;var V=d+j-254;if(j>264){var I=C.q[j-257];V=d+(I>>>3)+v(e,h,I&7),h+=I&7}var B=m[k(e,h)&c];h+=B&15;var z=B>>>4,Q=C.c[z],Y=(Q>>>4)+g(e,h,Q&15);for(h+=Q&15;d<V;)r[d]=r[d++-Y],r[d]=r[d++-Y],r[d]=r[d++-Y],r[d]=r[d++-Y];d=V}}}return r.length==d?r:r.slice(0,d)},t.H.W=function(e,r){var n=e.length;if(r<=n)return e;var i=new Uint8Array(n<<1);return i.set(e,0),i},t.H.R=function(e,r,n,i,o,a){for(var s=t.H.e,u=t.H.Z,l=0;l<n;){var c=e[u(i,o)&r];o+=c&15;var d=c>>>4;if(d<=15)a[l]=d,l++;else{var h=0,f=0;d==16?(f=3+s(i,o,2),o+=2,h=a[l-1]):d==17?(f=3+s(i,o,3),o+=3):d==18&&(f=11+s(i,o,7),o+=7);for(var m=l+f;l<m;)a[l]=h,l++}}return o},t.H.V=function(e,r,n,i){for(var o=0,a=0,s=i.length>>>1;a<n;){var u=e[a+r];i[a<<1]=0,i[(a<<1)+1]=u,u>o&&(o=u),a++}for(;a<s;)i[a<<1]=0,i[(a<<1)+1]=0,a++;return o},t.H.n=function(e,r){for(var n=t.H.m,i=e.length,o,a,s,u,l,c=n.j,u=0;u<=r;u++)c[u]=0;for(u=1;u<i;u+=2)c[e[u]]++;var d=n.K;for(o=0,c[0]=0,a=1;a<=r;a++)o=o+c[a-1]<<1,d[a]=o;for(s=0;s<i;s+=2)l=e[s+1],l!=0&&(e[s]=d[l],d[l]++)},t.H.A=function(e,r,n){for(var i=e.length,o=t.H.m,a=o.r,s=0;s<i;s+=2)if(e[s+1]!=0)for(var u=s>>1,l=e[s+1],c=u<<4|l,d=r-l,h=e[s]<<d,f=h+(1<<d);h!=f;){var m=a[h]>>>15-r;n[m]=c,h++}},t.H.l=function(e,r){for(var n=t.H.m.r,i=15-r,o=0;o<e.length;o+=2){var a=e[o]<<r-e[o+1];e[o]=n[a]>>>i}},t.H.M=function(e,r,n){n=n<<(r&7);var i=r>>>3;e[i]|=n,e[i+1]|=n>>>8},t.H.I=function(e,r,n){n=n<<(r&7);var i=r>>>3;e[i]|=n,e[i+1]|=n>>>8,e[i+2]|=n>>>16},t.H.e=function(e,r,n){return(e[r>>>3]|e[(r>>>3)+1]<<8)>>>(r&7)&(1<<n)-1},t.H.b=function(e,r,n){return(e[r>>>3]|e[(r>>>3)+1]<<8|e[(r>>>3)+2]<<16)>>>(r&7)&(1<<n)-1},t.H.Z=function(e,r){return(e[r>>>3]|e[(r>>>3)+1]<<8|e[(r>>>3)+2]<<16)>>>(r&7)},t.H.i=function(e,r){return(e[r>>>3]|e[(r>>>3)+1]<<8|e[(r>>>3)+2]<<16|e[(r>>>3)+3]<<24)>>>(r&7)},t.H.m=function(){var e=Uint16Array,r=Uint32Array;return{K:new e(16),j:new e(16),X:[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],S:[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,999,999,999],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],q:new e(32),p:[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,65535,65535],z:[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],c:new r(32),J:new e(512),_:[],h:new e(32),$:[],w:new e(32768),C:[],v:[],d:new e(32768),D:[],u:new e(512),Q:[],r:new e(32768),s:new r(286),Y:new r(30),a:new r(19),t:new r(15e3),k:new e(65536),g:new e(32768)}}(),function(){for(var e=t.H.m,r=32768,n=0;n<r;n++){var i=n;i=(i&2863311530)>>>1|(i&1431655765)<<1,i=(i&3435973836)>>>2|(i&858993459)<<2,i=(i&4042322160)>>>4|(i&252645135)<<4,i=(i&4278255360)>>>8|(i&16711935)<<8,e.r[n]=(i>>>16|i<<16)>>>17}function o(a,s,u){for(;s--!=0;)a.push(0,u)}for(var n=0;n<32;n++)e.q[n]=e.S[n]<<3|e.T[n],e.c[n]=e.p[n]<<4|e.z[n];o(e._,144,8),o(e._,112,9),o(e._,24,7),o(e._,8,8),t.H.n(e._,9),t.H.A(e._,9,e.J),t.H.l(e._,9),o(e.$,32,5),t.H.n(e.$,5),t.H.A(e.$,5,e.h),t.H.l(e.$,5),o(e.Q,19,0),o(e.C,286,0),o(e.D,30,0),o(e.v,320,0)}(),t.H.N}();W.decode._readInterlace=function(t,e){for(var r=e.width,n=e.height,i=W.decode._getBPP(e),o=i>>3,a=Math.ceil(r*i/8),s=new Uint8Array(n*a),u=0,l=[0,0,4,0,2,0,1],c=[0,4,0,2,0,1,0],d=[8,8,8,4,4,2,2],h=[8,8,4,4,2,2,1],f=0;f<7;){for(var m=d[f],p=h[f],g=0,v=0,y=l[f];y<n;)y+=m,v++;for(var w=c[f];w<r;)w+=p,g++;var S=Math.ceil(g*i/8);W.decode._filterZero(t,e,u,g,v);for(var k=0,C=l[f];C<n;){for(var E=c[f],R=u+k*S<<3;E<r;){if(i==1){var A=t[R>>3];A=A>>7-(R&7)&1,s[C*a+(E>>3)]|=A<<7-((E&7)<<0)}if(i==2){var A=t[R>>3];A=A>>6-(R&7)&3,s[C*a+(E>>2)]|=A<<6-((E&3)<<1)}if(i==4){var A=t[R>>3];A=A>>4-(R&7)&15,s[C*a+(E>>1)]|=A<<4-((E&1)<<2)}if(i>=8)for(var _=C*a+E*o,O=0;O<o;O++)s[_+O]=t[(R>>3)+O];R+=i,E+=p}k++,C+=m}g*v!=0&&(u+=v*(1+S)),f=f+1}return s};W.decode._getBPP=function(t){var e=[1,null,3,1,2,null,4][t.ctype];return e*t.depth};W.decode._filterZero=function(t,e,r,n,i){var o=W.decode._getBPP(e),a=Math.ceil(n*o/8),s=W.decode._paeth;o=Math.ceil(o/8);var u=0,l=1,c=t[r],d=0;if(c>1&&(t[r]=[0,0,1][c-2]),c==3)for(d=o;d<a;d++)t[d+1]=t[d+1]+(t[d+1-o]>>>1)&255;for(var h=0;h<i;h++)if(u=r+h*a,l=u+h+1,c=t[l-1],d=0,c==0)for(;d<a;d++)t[u+d]=t[l+d];else if(c==1){for(;d<o;d++)t[u+d]=t[l+d];for(;d<a;d++)t[u+d]=t[l+d]+t[u+d-o]}else if(c==2)for(;d<a;d++)t[u+d]=t[l+d]+t[u+d-a];else if(c==3){for(;d<o;d++)t[u+d]=t[l+d]+(t[u+d-a]>>>1);for(;d<a;d++)t[u+d]=t[l+d]+(t[u+d-a]+t[u+d-o]>>>1)}else{for(;d<o;d++)t[u+d]=t[l+d]+s(0,t[u+d-a],0);for(;d<a;d++)t[u+d]=t[l+d]+s(t[u+d-o],t[u+d-a],t[u+d-o-a])}return t};W.decode._paeth=function(t,e,r){var n=t+e-r,i=n-t,o=n-e,a=n-r;return i*i<=o*o&&i*i<=a*a?t:o*o<=a*a?e:r};W.decode._IHDR=function(t,e,r){var n=W._bin;r.width=n.readUint(t,e),e+=4,r.height=n.readUint(t,e),e+=4,r.depth=t[e],e++,r.ctype=t[e],e++,r.compress=t[e],e++,r.filter=t[e],e++,r.interlace=t[e],e++};W._bin={nextZero:function(t,e){for(;t[e]!=0;)e++;return e},readUshort:function(t,e){return t[e]<<8|t[e+1]},writeUshort:function(t,e,r){t[e]=r>>8&255,t[e+1]=r&255},readUint:function(t,e){return t[e]*(256*256*256)+(t[e+1]<<16|t[e+2]<<8|t[e+3])},writeUint:function(t,e,r){t[e]=r>>24&255,t[e+1]=r>>16&255,t[e+2]=r>>8&255,t[e+3]=r&255},readASCII:function(t,e,r){for(var n="",i=0;i<r;i++)n+=String.fromCharCode(t[e+i]);return n},writeASCII:function(t,e,r){for(var n=0;n<r.length;n++)t[e+n]=r.charCodeAt(n)},readBytes:function(t,e,r){for(var n=[],i=0;i<r;i++)n.push(t[e+i]);return n},pad:function(t){return t.length<2?"0"+t:t},readUTF8:function(t,e,r){for(var n="",i,o=0;o<r;o++)n+="%"+W._bin.pad(t[e+o].toString(16));try{i=decodeURIComponent(n)}catch{return W._bin.readASCII(t,e,r)}return i}};W._copyTile=function(t,e,r,n,i,o,a,s,u){for(var l=Math.min(e,i),c=Math.min(r,o),d=0,h=0,f=0;f<c;f++)for(var m=0;m<l;m++)if(a>=0&&s>=0?(d=f*e+m<<2,h=(s+f)*i+a+m<<2):(d=(-s+f)*e-a+m<<2,h=f*i+m<<2),u==0)n[h]=t[d],n[h+1]=t[d+1],n[h+2]=t[d+2],n[h+3]=t[d+3];else if(u==1){var p=t[d+3]*.00392156862745098,g=t[d]*p,v=t[d+1]*p,y=t[d+2]*p,w=n[h+3]*(1/255),S=n[h]*w,k=n[h+1]*w,C=n[h+2]*w,E=1-p,R=p+w*E,A=R==0?0:1/R;n[h+3]=255*R,n[h+0]=(g+S*E)*A,n[h+1]=(v+k*E)*A,n[h+2]=(y+C*E)*A}else if(u==2){var p=t[d+3],g=t[d],v=t[d+1],y=t[d+2],w=n[h+3],S=n[h],k=n[h+1],C=n[h+2];p==w&&g==S&&v==k&&y==C?(n[h]=0,n[h+1]=0,n[h+2]=0,n[h+3]=0):(n[h]=g,n[h+1]=v,n[h+2]=y,n[h+3]=p)}else if(u==3){var p=t[d+3],g=t[d],v=t[d+1],y=t[d+2],w=n[h+3],S=n[h],k=n[h+1],C=n[h+2];if(p==w&&g==S&&v==k&&y==C)continue;if(p<220&&w>20)return!1}return!0};W.encode=function(t,e,r,n,i,o,a){n==null&&(n=0),a==null&&(a=!1);var s=W.encode.compress(t,e,r,n,[!1,!1,!1,0,a]);return W.encode.compressPNG(s,-1),W.encode._main(s,e,r,i,o)};W.encodeLL=function(t,e,r,n,i,o,a,s){for(var u={ctype:0+(n==1?0:2)+(i==0?0:4),depth:o,frames:[]},l=(n+i)*o,c=l*e,d=0;d<t.length;d++)u.frames.push({rect:{x:0,y:0,width:e,height:r},img:new Uint8Array(t[d]),blend:0,dispose:1,bpp:Math.ceil(l/8),bpl:Math.ceil(c/8)});W.encode.compressPNG(u,0,!0);var h=W.encode._main(u,e,r,a,s);return h};W.encode._main=function(t,e,r,n,i){i==null&&(i={});var o=W.crc.crc,a=W._bin.writeUint,s=W._bin.writeUshort,u=W._bin.writeASCII,l=8,c=t.frames.length>1,d=!1,h=33+(c?20:0);if(i.sRGB!=null&&(h+=13),i.pHYs!=null&&(h+=21),t.ctype==3){for(var f=t.plte.length,m=0;m<f;m++)t.plte[m]>>>24!=255&&(d=!0);h+=8+f*3+4+(d?8+f*1+4:0)}for(var p=0;p<t.frames.length;p++){var g=t.frames[p];c&&(h+=38),h+=g.cimg.length+12,p!=0&&(h+=4)}h+=12;for(var v=new Uint8Array(h),y=[137,80,78,71,13,10,26,10],m=0;m<8;m++)v[m]=y[m];if(a(v,l,13),l+=4,u(v,l,"IHDR"),l+=4,a(v,l,e),l+=4,a(v,l,r),l+=4,v[l]=t.depth,l++,v[l]=t.ctype,l++,v[l]=0,l++,v[l]=0,l++,v[l]=0,l++,a(v,l,o(v,l-17,17)),l+=4,i.sRGB!=null&&(a(v,l,1),l+=4,u(v,l,"sRGB"),l+=4,v[l]=i.sRGB,l++,a(v,l,o(v,l-5,5)),l+=4),i.pHYs!=null&&(a(v,l,9),l+=4,u(v,l,"pHYs"),l+=4,a(v,l,i.pHYs[0]),l+=4,a(v,l,i.pHYs[1]),l+=4,v[l]=i.pHYs[2],l++,a(v,l,o(v,l-13,13)),l+=4),c&&(a(v,l,8),l+=4,u(v,l,"acTL"),l+=4,a(v,l,t.frames.length),l+=4,a(v,l,i.loop!=null?i.loop:0),l+=4,a(v,l,o(v,l-12,12)),l+=4),t.ctype==3){var f=t.plte.length;a(v,l,f*3),l+=4,u(v,l,"PLTE"),l+=4;for(var m=0;m<f;m++){var w=m*3,S=t.plte[m],k=S&255,C=S>>>8&255,E=S>>>16&255;v[l+w+0]=k,v[l+w+1]=C,v[l+w+2]=E}if(l+=f*3,a(v,l,o(v,l-f*3-4,f*3+4)),l+=4,d){a(v,l,f),l+=4,u(v,l,"tRNS"),l+=4;for(var m=0;m<f;m++)v[l+m]=t.plte[m]>>>24&255;l+=f,a(v,l,o(v,l-f-4,f+4)),l+=4}}for(var R=0,p=0;p<t.frames.length;p++){var g=t.frames[p];c&&(a(v,l,26),l+=4,u(v,l,"fcTL"),l+=4,a(v,l,R++),l+=4,a(v,l,g.rect.width),l+=4,a(v,l,g.rect.height),l+=4,a(v,l,g.rect.x),l+=4,a(v,l,g.rect.y),l+=4,s(v,l,n[p]),l+=2,s(v,l,1e3),l+=2,v[l]=g.dispose,l++,v[l]=g.blend,l++,a(v,l,o(v,l-30,30)),l+=4);var A=g.cimg,f=A.length;a(v,l,f+(p==0?0:4)),l+=4;var _=l;u(v,l,p==0?"IDAT":"fdAT"),l+=4,p!=0&&(a(v,l,R++),l+=4),v.set(A,l),l+=f,a(v,l,o(v,_,l-_)),l+=4}return a(v,l,0),l+=4,u(v,l,"IEND"),l+=4,a(v,l,o(v,l-4,4)),l+=4,v.buffer};W.encode.compressPNG=function(t,e,r){for(var n=0;n<t.frames.length;n++){var i=t.frames[n];i.rect.width;var o=i.rect.height,a=new Uint8Array(o*i.bpl+o);i.cimg=W.encode._filterZero(i.img,o,i.bpp,i.bpl,a,e,r)}};W.encode.compress=function(t,e,r,n,i){for(var o=i[0],a=i[1],s=i[2],u=i[3],l=i[4],c=6,d=8,h=255,f=0;f<t.length;f++)for(var m=new Uint8Array(t[f]),p=m.length,g=0;g<p;g+=4)h&=m[g+3];var v=h!=255,y=W.encode.framize(t,e,r,o,a,s),w={},S=[],k=[];if(n!=0){for(var C=[],g=0;g<y.length;g++)C.push(y[g].img.buffer);for(var E=W.encode.concatRGBA(C),R=W.quantize(E,n),A=0,_=new Uint8Array(R.abuf),g=0;g<y.length;g++){var O=y[g].img,D=O.length;k.push(new Uint8Array(R.inds.buffer,A>>2,D>>2));for(var f=0;f<D;f+=4)O[f]=_[A+f],O[f+1]=_[A+f+1],O[f+2]=_[A+f+2],O[f+3]=_[A+f+3];A+=D}for(var g=0;g<R.plte.length;g++)S.push(R.plte[g].est.rgba)}else for(var f=0;f<y.length;f++){var M=y[f],L=new Uint32Array(M.img.buffer),N=M.rect.width,p=L.length,j=new Uint8Array(p);k.push(j);for(var g=0;g<p;g++){var V=L[g];if(g!=0&&V==L[g-1])j[g]=j[g-1];else if(g>N&&V==L[g-N])j[g]=j[g-N];else{var I=w[V];if(I==null&&(w[V]=I=S.length,S.push(V),S.length>=300))break;j[g]=I}}}var B=S.length;B<=256&&l==!1&&(B<=2?d=1:B<=4?d=2:B<=16?d=4:d=8,d=Math.max(d,u));for(var f=0;f<y.length;f++){var M=y[f];M.rect.x,M.rect.y;var N=M.rect.width,z=M.rect.height,Q=M.img;new Uint32Array(Q.buffer);var Y=4*N,de=4;if(B<=256&&l==!1){Y=Math.ceil(d*N/8);for(var ee=new Uint8Array(Y*z),Ye=k[f],tt=0;tt<z;tt++){var g=tt*Y,Z=tt*N;if(d==8)for(var ae=0;ae<N;ae++)ee[g+ae]=Ye[Z+ae];else if(d==4)for(var ae=0;ae<N;ae++)ee[g+(ae>>1)]|=Ye[Z+ae]<<4-(ae&1)*4;else if(d==2)for(var ae=0;ae<N;ae++)ee[g+(ae>>2)]|=Ye[Z+ae]<<6-(ae&3)*2;else if(d==1)for(var ae=0;ae<N;ae++)ee[g+(ae>>3)]|=Ye[Z+ae]<<7-(ae&7)*1}Q=ee,c=3,de=1}else if(v==!1&&y.length==1){for(var ee=new Uint8Array(N*z*3),lt=N*z,g=0;g<lt;g++){var O=g*3,je=g*4;ee[O]=Q[je],ee[O+1]=Q[je+1],ee[O+2]=Q[je+2]}Q=ee,c=2,de=3,Y=3*N}M.img=Q,M.bpl=Y,M.bpp=de}return{ctype:c,depth:d,plte:S,frames:y}};W.encode.framize=function(t,e,r,n,i,o){for(var a=[],s=0;s<t.length;s++){var u=new Uint8Array(t[s]),l=new Uint32Array(u.buffer),c,d=0,h=0,f=e,m=r,p=n?1:0;if(s!=0){for(var g=o||n||s==1||a[s-2].dispose!=0?1:2,v=0,y=1e9,w=0;w<g;w++){for(var M=new Uint8Array(t[s-1-w]),S=new Uint32Array(t[s-1-w]),k=e,C=r,E=-1,R=-1,A=0;A<r;A++)for(var _=0;_<e;_++){var O=A*e+_;l[O]!=S[O]&&(_<k&&(k=_),_>E&&(E=_),A<C&&(C=A),A>R&&(R=A))}E==-1&&(k=C=E=R=0),i&&((k&1)==1&&k--,(C&1)==1&&C--);var D=(E-k+1)*(R-C+1);D<y&&(y=D,v=w,d=k,h=C,f=E-k+1,m=R-C+1)}var M=new Uint8Array(t[s-1-v]);v==1&&(a[s-1].dispose=2),c=new Uint8Array(f*m*4),W._copyTile(M,e,r,c,f,m,-d,-h,0),p=W._copyTile(u,e,r,c,f,m,-d,-h,3)?1:0,p==1?W.encode._prepareDiff(u,e,r,c,{x:d,y:h,width:f,height:m}):W._copyTile(u,e,r,c,f,m,-d,-h,0)}else c=u.slice(0);a.push({rect:{x:d,y:h,width:f,height:m},img:c,blend:p,dispose:0})}if(n)for(var s=0;s<a.length;s++){var L=a[s];if(L.blend!=1){var N=L.rect,j=a[s-1].rect,V=Math.min(N.x,j.x),I=Math.min(N.y,j.y),B=Math.max(N.x+N.width,j.x+j.width),z=Math.max(N.y+N.height,j.y+j.height),Q={x:V,y:I,width:B-V,height:z-I};a[s-1].dispose=1,s-1!=0&&W.encode._updateFrame(t,e,r,a,s-1,Q,i),W.encode._updateFrame(t,e,r,a,s,Q,i)}}var Y=0;if(t.length!=1)for(var O=0;O<a.length;O++){var L=a[O];Y+=L.rect.width*L.rect.height}return a};W.encode._updateFrame=function(t,e,r,n,i,o,a){for(var s=Uint8Array,u=Uint32Array,l=new s(t[i-1]),c=new u(t[i-1]),d=i+1<t.length?new s(t[i+1]):null,h=new s(t[i]),f=new u(h.buffer),m=e,p=r,g=-1,v=-1,y=0;y<o.height;y++)for(var w=0;w<o.width;w++){var S=o.x+w,k=o.y+y,C=k*e+S,E=f[C];E==0||n[i-1].dispose==0&&c[C]==E&&(d==null||d[C*4+3]!=0)||(S<m&&(m=S),S>g&&(g=S),k<p&&(p=k),k>v&&(v=k))}g==-1&&(m=p=g=v=0),a&&((m&1)==1&&m--,(p&1)==1&&p--),o={x:m,y:p,width:g-m+1,height:v-p+1};var R=n[i];R.rect=o,R.blend=1,R.img=new Uint8Array(o.width*o.height*4),n[i-1].dispose==0?(W._copyTile(l,e,r,R.img,o.width,o.height,-o.x,-o.y,0),W.encode._prepareDiff(h,e,r,R.img,o)):W._copyTile(h,e,r,R.img,o.width,o.height,-o.x,-o.y,0)};W.encode._prepareDiff=function(t,e,r,n,i){W._copyTile(t,e,r,n,i.width,i.height,-i.x,-i.y,2)};W.encode._filterZero=function(t,e,r,n,i,o,a){var s=[],u=[0,1,2,3,4];o!=-1?u=[o]:(e*n>5e5||r==1)&&(u=[0]);var l;a&&(l={level:0});for(var c=a&&UZIP!=null?UZIP:pp,d=0;d<u.length;d++){for(var h=0;h<e;h++)W.encode._filterLine(i,t,h,n,r,u[d]);s.push(c.deflate(i,l))}for(var f,m=1e9,d=0;d<s.length;d++)s[d].length<m&&(f=d,m=s[d].length);return s[f]};W.encode._filterLine=function(t,e,r,n,i,o){var a=r*n,s=a+r,u=W.decode._paeth;if(t[s]=o,s++,o==0)if(n<500)for(var l=0;l<n;l++)t[s+l]=e[a+l];else t.set(new Uint8Array(e.buffer,a,n),s);else if(o==1){for(var l=0;l<i;l++)t[s+l]=e[a+l];for(var l=i;l<n;l++)t[s+l]=e[a+l]-e[a+l-i]+256&255}else if(r==0){for(var l=0;l<i;l++)t[s+l]=e[a+l];if(o==2)for(var l=i;l<n;l++)t[s+l]=e[a+l];if(o==3)for(var l=i;l<n;l++)t[s+l]=e[a+l]-(e[a+l-i]>>1)+256&255;if(o==4)for(var l=i;l<n;l++)t[s+l]=e[a+l]-u(e[a+l-i],0,0)+256&255}else{if(o==2)for(var l=0;l<n;l++)t[s+l]=e[a+l]+256-e[a+l-n]&255;if(o==3){for(var l=0;l<i;l++)t[s+l]=e[a+l]+256-(e[a+l-n]>>1)&255;for(var l=i;l<n;l++)t[s+l]=e[a+l]+256-(e[a+l-n]+e[a+l-i]>>1)&255}if(o==4){for(var l=0;l<i;l++)t[s+l]=e[a+l]+256-u(0,e[a+l-n],0)&255;for(var l=i;l<n;l++)t[s+l]=e[a+l]+256-u(e[a+l-i],e[a+l-n],e[a+l-i-n])&255}}};W.crc={table:function(){for(var t=new Uint32Array(256),e=0;e<256;e++){for(var r=e,n=0;n<8;n++)r&1?r=3988292384^r>>>1:r=r>>>1;t[e]=r}return t}(),update:function(t,e,r,n){for(var i=0;i<n;i++)t=W.crc.table[(t^e[r+i])&255]^t>>>8;return t},crc:function(t,e,r){return W.crc.update(4294967295,t,e,r)^4294967295}};W.quantize=function(t,e){var r=new Uint8Array(t),n=r.slice(0),i=new Uint32Array(n.buffer),o=W.quantize.getKDtree(n,e),a=o[0],s=o[1];W.quantize.planeDst;for(var u=r,l=i,c=u.length,d=new Uint8Array(r.length>>2),h=0;h<c;h+=4){var f=u[h]*.00392156862745098,m=u[h+1]*(1/255),p=u[h+2]*(1/255),g=u[h+3]*(1/255),v=W.quantize.getNearest(a,f,m,p,g);d[h>>2]=v.ind,l[h>>2]=v.est.rgba}return{abuf:n.buffer,inds:d,plte:s}};W.quantize.getKDtree=function(t,e,r){r==null&&(r=1e-4);var n=new Uint32Array(t.buffer),i={i0:0,i1:t.length,bst:null,est:null,tdst:0,left:null,right:null};i.bst=W.quantize.stats(t,i.i0,i.i1),i.est=W.quantize.estats(i.bst);for(var o=[i];o.length<e;){for(var a=0,s=0,u=0;u<o.length;u++)o[u].est.L>a&&(a=o[u].est.L,s=u);if(a<r)break;var l=o[s],c=W.quantize.splitPixels(t,n,l.i0,l.i1,l.est.e,l.est.eMq255),d=l.i0>=c||l.i1<=c;if(d){l.est.L=0;continue}var h={i0:l.i0,i1:c,bst:null,est:null,tdst:0,left:null,right:null};h.bst=W.quantize.stats(t,h.i0,h.i1),h.est=W.quantize.estats(h.bst);var f={i0:c,i1:l.i1,bst:null,est:null,tdst:0,left:null,right:null};f.bst={R:[],m:[],N:l.bst.N-h.bst.N};for(var u=0;u<16;u++)f.bst.R[u]=l.bst.R[u]-h.bst.R[u];for(var u=0;u<4;u++)f.bst.m[u]=l.bst.m[u]-h.bst.m[u];f.est=W.quantize.estats(f.bst),l.left=h,l.right=f,o[s]=h,o.push(f)}o.sort(function(m,p){return p.bst.N-m.bst.N});for(var u=0;u<o.length;u++)o[u].ind=u;return[i,o]};W.quantize.getNearest=function(t,e,r,n,i){if(t.left==null)return t.tdst=W.quantize.dist(t.est.q,e,r,n,i),t;var o=W.quantize.planeDst(t.est,e,r,n,i),a=t.left,s=t.right;o>0&&(a=t.right,s=t.left);var u=W.quantize.getNearest(a,e,r,n,i);if(u.tdst<=o*o)return u;var l=W.quantize.getNearest(s,e,r,n,i);return l.tdst<u.tdst?l:u};W.quantize.planeDst=function(t,e,r,n,i){var o=t.e;return o[0]*e+o[1]*r+o[2]*n+o[3]*i-t.eMq};W.quantize.dist=function(t,e,r,n,i){var o=e-t[0],a=r-t[1],s=n-t[2],u=i-t[3];return o*o+a*a+s*s+u*u};W.quantize.splitPixels=function(t,e,r,n,i,o){var a=W.quantize.vecDot;for(n-=4;r<n;){for(;a(t,r,i)<=o;)r+=4;for(;a(t,n,i)>o;)n-=4;if(r>=n)break;var s=e[r>>2];e[r>>2]=e[n>>2],e[n>>2]=s,r+=4,n-=4}for(;a(t,r,i)>o;)r-=4;return r+4};W.quantize.vecDot=function(t,e,r){return t[e]*r[0]+t[e+1]*r[1]+t[e+2]*r[2]+t[e+3]*r[3]};W.quantize.stats=function(t,e,r){for(var n=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],i=[0,0,0,0],o=r-e>>2,a=e;a<r;a+=4){var s=t[a]*.00392156862745098,u=t[a+1]*(1/255),l=t[a+2]*(1/255),c=t[a+3]*(1/255);i[0]+=s,i[1]+=u,i[2]+=l,i[3]+=c,n[0]+=s*s,n[1]+=s*u,n[2]+=s*l,n[3]+=s*c,n[5]+=u*u,n[6]+=u*l,n[7]+=u*c,n[10]+=l*l,n[11]+=l*c,n[15]+=c*c}return n[4]=n[1],n[8]=n[2],n[9]=n[6],n[12]=n[3],n[13]=n[7],n[14]=n[11],{R:n,m:i,N:o}};W.quantize.estats=function(t){var e=t.R,r=t.m,n=t.N,i=r[0],o=r[1],a=r[2],s=r[3],u=n==0?0:1/n,l=[e[0]-i*i*u,e[1]-i*o*u,e[2]-i*a*u,e[3]-i*s*u,e[4]-o*i*u,e[5]-o*o*u,e[6]-o*a*u,e[7]-o*s*u,e[8]-a*i*u,e[9]-a*o*u,e[10]-a*a*u,e[11]-a*s*u,e[12]-s*i*u,e[13]-s*o*u,e[14]-s*a*u,e[15]-s*s*u],c=l,d=W.M4,h=[.5,.5,.5,.5],f=0,m=0;if(n!=0)for(var p=0;p<10&&(h=d.multVec(c,h),m=Math.sqrt(d.dot(h,h)),h=d.sml(1/m,h),!(Math.abs(m-f)<1e-9));p++)f=m;var g=[i*u,o*u,a*u,s*u],v=d.dot(d.sml(255,g),h);return{Cov:l,q:g,e:h,L:f,eMq255:v,eMq:d.dot(h,g),rgba:(Math.round(255*g[3])<<24|Math.round(255*g[2])<<16|Math.round(255*g[1])<<8|Math.round(255*g[0])<<0)>>>0}};W.M4={multVec:function(t,e){return[t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+t[3]*e[3],t[4]*e[0]+t[5]*e[1]+t[6]*e[2]+t[7]*e[3],t[8]*e[0]+t[9]*e[1]+t[10]*e[2]+t[11]*e[3],t[12]*e[0]+t[13]*e[1]+t[14]*e[2]+t[15]*e[3]]},dot:function(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+t[3]*e[3]},sml:function(t,e){return[t*e[0],t*e[1],t*e[2],t*e[3]]}};W.encode.concatRGBA=function(t){for(var e=0,r=0;r<t.length;r++)e+=t[r].byteLength;for(var n=new Uint8Array(e),i=0,r=0;r<t.length;r++){for(var o=new Uint8Array(t[r]),a=o.length,s=0;s<a;s+=4){var u=o[s],l=o[s+1],c=o[s+2],d=o[s+3];d==0&&(u=l=c=0),n[i+s]=u,n[i+s+1]=l,n[i+s+2]=c,n[i+s+3]=d}i+=a}return n.buffer};var i6=function(t){if(t===0)return ta.Greyscale;if(t===2)return ta.Truecolour;if(t===3)return ta.IndexedColour;if(t===4)return ta.GreyscaleWithAlpha;if(t===6)return ta.TruecolourWithAlpha;throw new Error("Unknown color type: "+t)},o6=function(t){for(var e=Math.floor(t.length/4),r=new Uint8Array(e*3),n=new Uint8Array(e*1),i=0,o=0,a=0;i<t.length;)r[o++]=t[i++],r[o++]=t[i++],r[o++]=t[i++],n[a++]=t[i++];return{rgbChannel:r,alphaChannel:n}},ta;(function(t){t.Greyscale="Greyscale",t.Truecolour="Truecolour",t.IndexedColour="IndexedColour",t.GreyscaleWithAlpha="GreyscaleWithAlpha",t.TruecolourWithAlpha="TruecolourWithAlpha"})(ta||(ta={}));var a6=function(){function t(e){var r=W.decode(e),n=W.toRGBA8(r);if(n.length>1)throw new Error("Animated PNGs are not supported");var i=new Uint8Array(n[0]),o=o6(i),a=o.rgbChannel,s=o.alphaChannel;this.rgbChannel=a;var u=s.some(function(l){return l<255});u&&(this.alphaChannel=s),this.type=i6(r.ctype),this.width=r.width,this.height=r.height,this.bitsPerComponent=8}return t.load=function(e){return new t(e)},t}(),bR=function(){function t(e){this.image=e,this.bitsPerComponent=e.bitsPerComponent,this.width=e.width,this.height=e.height,this.colorSpace="DeviceRGB"}return t.for=function(e){return ke(this,void 0,void 0,function(){var r;return Ce(this,function(n){return r=a6.load(e),[2,new t(r)]})})},t.prototype.embedIntoContext=function(e,r){return ke(this,void 0,void 0,function(){var n,i;return Ce(this,function(o){return n=this.embedAlphaChannel(e),i=e.flateStream(this.image.rgbChannel,{Type:"XObject",Subtype:"Image",BitsPerComponent:this.image.bitsPerComponent,Width:this.image.width,Height:this.image.height,ColorSpace:this.colorSpace,SMask:n}),r?(e.assign(r,i),[2,r]):[2,e.register(i)]})})},t.prototype.embedAlphaChannel=function(e){if(this.image.alphaChannel){var r=e.flateStream(this.image.alphaChannel,{Type:"XObject",Subtype:"Image",Height:this.image.height,Width:this.image.width,BitsPerComponent:this.image.bitsPerComponent,ColorSpace:"DeviceGray",Decode:[0,1]});return e.register(r)}},t}(),xR=function(){function t(e,r,n){this.bytes=e,this.start=r||0,this.pos=this.start,this.end=r&&n?r+n:this.bytes.length}return Object.defineProperty(t.prototype,"length",{get:function(){return this.end-this.start},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isEmpty",{get:function(){return this.length===0},enumerable:!1,configurable:!0}),t.prototype.getByte=function(){return this.pos>=this.end?-1:this.bytes[this.pos++]},t.prototype.getUint16=function(){var e=this.getByte(),r=this.getByte();return e===-1||r===-1?-1:(e<<8)+r},t.prototype.getInt32=function(){var e=this.getByte(),r=this.getByte(),n=this.getByte(),i=this.getByte();return(e<<24)+(r<<16)+(n<<8)+i},t.prototype.getBytes=function(e,r){r===void 0&&(r=!1);var n=this.bytes,i=this.pos,o=this.end;if(e){var s=i+e;s>o&&(s=o),this.pos=s;var a=n.subarray(i,s);return r?new Uint8ClampedArray(a):a}else{var a=n.subarray(i,o);return r?new Uint8ClampedArray(a):a}},t.prototype.peekByte=function(){var e=this.getByte();return this.pos--,e},t.prototype.peekBytes=function(e,r){r===void 0&&(r=!1);var n=this.getBytes(e,r);return this.pos-=n.length,n},t.prototype.skip=function(e){e||(e=1),this.pos+=e},t.prototype.reset=function(){this.pos=this.start},t.prototype.moveStart=function(){this.start=this.pos},t.prototype.makeSubStream=function(e,r){return new t(this.bytes,e,r)},t.prototype.decode=function(){return this.bytes},t}(),s6=new Uint8Array(0),Vc=function(){function t(e){if(this.pos=0,this.bufferLength=0,this.eof=!1,this.buffer=s6,this.minBufferLength=512,e)for(;this.minBufferLength<e;)this.minBufferLength*=2}return Object.defineProperty(t.prototype,"isEmpty",{get:function(){for(;!this.eof&&this.bufferLength===0;)this.readBlock();return this.bufferLength===0},enumerable:!1,configurable:!0}),t.prototype.getByte=function(){for(var e=this.pos;this.bufferLength<=e;){if(this.eof)return-1;this.readBlock()}return this.buffer[this.pos++]},t.prototype.getUint16=function(){var e=this.getByte(),r=this.getByte();return e===-1||r===-1?-1:(e<<8)+r},t.prototype.getInt32=function(){var e=this.getByte(),r=this.getByte(),n=this.getByte(),i=this.getByte();return(e<<24)+(r<<16)+(n<<8)+i},t.prototype.getBytes=function(e,r){r===void 0&&(r=!1);var n,i=this.pos;if(e){for(this.ensureBuffer(i+e),n=i+e;!this.eof&&this.bufferLength<n;)this.readBlock();var o=this.bufferLength;n>o&&(n=o)}else{for(;!this.eof;)this.readBlock();n=this.bufferLength}this.pos=n;var a=this.buffer.subarray(i,n);return r&&!(a instanceof Uint8ClampedArray)?new Uint8ClampedArray(a):a},t.prototype.peekByte=function(){var e=this.getByte();return this.pos--,e},t.prototype.peekBytes=function(e,r){r===void 0&&(r=!1);var n=this.getBytes(e,r);return this.pos-=n.length,n},t.prototype.skip=function(e){e||(e=1),this.pos+=e},t.prototype.reset=function(){this.pos=0},t.prototype.makeSubStream=function(e,r){for(var n=e+r;this.bufferLength<=n&&!this.eof;)this.readBlock();return new xR(this.buffer,e,r)},t.prototype.decode=function(){for(;!this.eof;)this.readBlock();return this.buffer.subarray(0,this.bufferLength)},t.prototype.readBlock=function(){throw new Kr(this.constructor.name,"readBlock")},t.prototype.ensureBuffer=function(e){var r=this.buffer;if(e<=r.byteLength)return r;for(var n=this.minBufferLength;n<e;)n*=2;var i=new Uint8Array(n);return i.set(r),this.buffer=i},t}(),nS=function(t){return t===32||t===9||t===13||t===10},l6=function(t){K(e,t);function e(r,n){var i=t.call(this,n)||this;return i.stream=r,i.input=new Uint8Array(5),n&&(n=.8*n),i}return e.prototype.readBlock=function(){for(var r=126,n=122,i=-1,o=this.stream,a=o.getByte();nS(a);)a=o.getByte();if(a===i||a===r){this.eof=!0;return}var s=this.bufferLength,u,l;if(a===n){for(u=this.ensureBuffer(s+4),l=0;l<4;++l)u[s+l]=0;this.bufferLength+=4}else{var c=this.input;for(c[0]=a,l=1;l<5;++l){for(a=o.getByte();nS(a);)a=o.getByte();if(c[l]=a,a===i||a===r)break}if(u=this.ensureBuffer(s+l-1),this.bufferLength+=l-1,l<5){for(;l<5;++l)c[l]=117;this.eof=!0}var d=0;for(l=0;l<5;++l)d=d*85+(c[l]-33);for(l=3;l>=0;--l)u[s+l]=d&255,d>>=8}},e}(Vc),u6=function(t){K(e,t);function e(r,n){var i=t.call(this,n)||this;return i.stream=r,i.firstDigit=-1,n&&(n=.5*n),i}return e.prototype.readBlock=function(){var r=8e3,n=this.stream.getBytes(r);if(!n.length){this.eof=!0;return}for(var i=n.length+1>>1,o=this.ensureBuffer(this.bufferLength+i),a=this.bufferLength,s=this.firstDigit,u=0,l=n.length;u<l;u++){var c=n[u],d=void 0;if(c>=48&&c<=57)d=c&15;else if(c>=65&&c<=70||c>=97&&c<=102)d=(c&15)+9;else if(c===62){this.eof=!0;break}else continue;s<0?s=d:(o[a++]=s<<4|d,s=-1)}s>=0&&this.eof&&(o[a++]=s<<4,s=-1),this.firstDigit=s,this.bufferLength=a},e}(Vc),iS=new Int32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),c6=new Int32Array([3,4,5,6,7,8,9,10,65547,65549,65551,65553,131091,131095,131099,131103,196643,196651,196659,196667,262211,262227,262243,262259,327811,327843,327875,327907,258,258,258]),d6=new Int32Array([1,2,3,4,65541,65543,131081,131085,196625,196633,262177,262193,327745,327777,393345,393409,459009,459137,524801,525057,590849,591361,657409,658433,724993,727041,794625,798721,868353,876545]),f6=[new Int32Array([459008,524368,524304,524568,459024,524400,524336,590016,459016,524384,524320,589984,524288,524416,524352,590048,459012,524376,524312,589968,459028,524408,524344,590032,459020,524392,524328,59e4,524296,524424,524360,590064,459010,524372,524308,524572,459026,524404,524340,590024,459018,524388,524324,589992,524292,524420,524356,590056,459014,524380,524316,589976,459030,524412,524348,590040,459022,524396,524332,590008,524300,524428,524364,590072,459009,524370,524306,524570,459025,524402,524338,590020,459017,524386,524322,589988,524290,524418,524354,590052,459013,524378,524314,589972,459029,524410,524346,590036,459021,524394,524330,590004,524298,524426,524362,590068,459011,524374,524310,524574,459027,524406,524342,590028,459019,524390,524326,589996,524294,524422,524358,590060,459015,524382,524318,589980,459031,524414,524350,590044,459023,524398,524334,590012,524302,524430,524366,590076,459008,524369,524305,524569,459024,524401,524337,590018,459016,524385,524321,589986,524289,524417,524353,590050,459012,524377,524313,589970,459028,524409,524345,590034,459020,524393,524329,590002,524297,524425,524361,590066,459010,524373,524309,524573,459026,524405,524341,590026,459018,524389,524325,589994,524293,524421,524357,590058,459014,524381,524317,589978,459030,524413,524349,590042,459022,524397,524333,590010,524301,524429,524365,590074,459009,524371,524307,524571,459025,524403,524339,590022,459017,524387,524323,589990,524291,524419,524355,590054,459013,524379,524315,589974,459029,524411,524347,590038,459021,524395,524331,590006,524299,524427,524363,590070,459011,524375,524311,524575,459027,524407,524343,590030,459019,524391,524327,589998,524295,524423,524359,590062,459015,524383,524319,589982,459031,524415,524351,590046,459023,524399,524335,590014,524303,524431,524367,590078,459008,524368,524304,524568,459024,524400,524336,590017,459016,524384,524320,589985,524288,524416,524352,590049,459012,524376,524312,589969,459028,524408,524344,590033,459020,524392,524328,590001,524296,524424,524360,590065,459010,524372,524308,524572,459026,524404,524340,590025,459018,524388,524324,589993,524292,524420,524356,590057,459014,524380,524316,589977,459030,524412,524348,590041,459022,524396,524332,590009,524300,524428,524364,590073,459009,524370,524306,524570,459025,524402,524338,590021,459017,524386,524322,589989,524290,524418,524354,590053,459013,524378,524314,589973,459029,524410,524346,590037,459021,524394,524330,590005,524298,524426,524362,590069,459011,524374,524310,524574,459027,524406,524342,590029,459019,524390,524326,589997,524294,524422,524358,590061,459015,524382,524318,589981,459031,524414,524350,590045,459023,524398,524334,590013,524302,524430,524366,590077,459008,524369,524305,524569,459024,524401,524337,590019,459016,524385,524321,589987,524289,524417,524353,590051,459012,524377,524313,589971,459028,524409,524345,590035,459020,524393,524329,590003,524297,524425,524361,590067,459010,524373,524309,524573,459026,524405,524341,590027,459018,524389,524325,589995,524293,524421,524357,590059,459014,524381,524317,589979,459030,524413,524349,590043,459022,524397,524333,590011,524301,524429,524365,590075,459009,524371,524307,524571,459025,524403,524339,590023,459017,524387,524323,589991,524291,524419,524355,590055,459013,524379,524315,589975,459029,524411,524347,590039,459021,524395,524331,590007,524299,524427,524363,590071,459011,524375,524311,524575,459027,524407,524343,590031,459019,524391,524327,589999,524295,524423,524359,590063,459015,524383,524319,589983,459031,524415,524351,590047,459023,524399,524335,590015,524303,524431,524367,590079]),9],h6=[new Int32Array([327680,327696,327688,327704,327684,327700,327692,327708,327682,327698,327690,327706,327686,327702,327694,0,327681,327697,327689,327705,327685,327701,327693,327709,327683,327699,327691,327707,327687,327703,327695,0]),5],p6=function(t){K(e,t);function e(r,n){var i=t.call(this,n)||this;i.stream=r;var o=r.getByte(),a=r.getByte();if(o===-1||a===-1)throw new Error("Invalid header in flate stream: "+o+", "+a);if((o&15)!==8)throw new Error("Unknown compression method in flate stream: "+o+", "+a);if(((o<<8)+a)%31!==0)throw new Error("Bad FCHECK in flate stream: "+o+", "+a);if(a&32)throw new Error("FDICT bit set in flate stream: "+o+", "+a);return i.codeSize=0,i.codeBuf=0,i}return e.prototype.readBlock=function(){var r,n,i=this.stream,o=this.getBits(3);if(o&1&&(this.eof=!0),o>>=1,o===0){var a=void 0;if((a=i.getByte())===-1)throw new Error("Bad block header in flate stream");var s=a;if((a=i.getByte())===-1)throw new Error("Bad block header in flate stream");if(s|=a<<8,(a=i.getByte())===-1)throw new Error("Bad block header in flate stream");var u=a;if((a=i.getByte())===-1)throw new Error("Bad block header in flate stream");if(u|=a<<8,u!==(~s&65535)&&(s!==0||u!==0))throw new Error("Bad uncompressed block length in flate stream");this.codeBuf=0,this.codeSize=0;var l=this.bufferLength;r=this.ensureBuffer(l+s);var c=l+s;if(this.bufferLength=c,s===0)i.peekByte()===-1&&(this.eof=!0);else for(var d=l;d<c;++d){if((a=i.getByte())===-1){this.eof=!0;break}r[d]=a}return}var h,f;if(o===1)h=f6,f=h6;else if(o===2){var m=this.getBits(5)+257,p=this.getBits(5)+1,g=this.getBits(4)+4,v=new Uint8Array(iS.length),y=void 0;for(y=0;y<g;++y)v[iS[y]]=this.getBits(3);var w=this.generateHuffmanTable(v);n=0,y=0;for(var S=m+p,k=new Uint8Array(S),C=void 0,E=void 0,R=void 0;y<S;){var A=this.getCode(w);if(A===16)C=2,E=3,R=n;else if(A===17)C=3,E=3,R=n=0;else if(A===18)C=7,E=11,R=n=0;else{k[y++]=n=A;continue}for(var _=this.getBits(C)+E;_-- >0;)k[y++]=R}h=this.generateHuffmanTable(k.subarray(0,m)),f=this.generateHuffmanTable(k.subarray(m,S))}else throw new Error("Unknown block type in flate stream");r=this.buffer;for(var O=r?r.length:0,D=this.bufferLength;;){var M=this.getCode(h);if(M<256){D+1>=O&&(r=this.ensureBuffer(D+1),O=r.length),r[D++]=M;continue}if(M===256){this.bufferLength=D;return}M-=257,M=c6[M];var L=M>>16;L>0&&(L=this.getBits(L)),n=(M&65535)+L,M=this.getCode(f),M=d6[M],L=M>>16,L>0&&(L=this.getBits(L));var N=(M&65535)+L;D+n>=O&&(r=this.ensureBuffer(D+n),O=r.length);for(var j=0;j<n;++j,++D)r[D]=r[D-N]}},e.prototype.getBits=function(r){for(var n=this.stream,i=this.codeSize,o=this.codeBuf,a;i<r;){if((a=n.getByte())===-1)throw new Error("Bad encoding in flate stream");o|=a<<i,i+=8}return a=o&(1<<r)-1,this.codeBuf=o>>r,this.codeSize=i-=r,a},e.prototype.getCode=function(r){for(var n=this.stream,i=r[0],o=r[1],a=this.codeSize,s=this.codeBuf,u;a<o&&(u=n.getByte())!==-1;)s|=u<<a,a+=8;var l=i[s&(1<<o)-1];typeof i=="number"&&console.log("FLATE:",l);var c=l>>16,d=l&65535;if(c<1||a<c)throw new Error("Bad encoding in flate stream");return this.codeBuf=s>>c,this.codeSize=a-c,d},e.prototype.generateHuffmanTable=function(r){var n=r.length,i=0,o;for(o=0;o<n;++o)r[o]>i&&(i=r[o]);for(var a=1<<i,s=new Int32Array(a),u=1,l=0,c=2;u<=i;++u,l<<=1,c<<=1)for(var d=0;d<n;++d)if(r[d]===u){var h=0,f=l;for(o=0;o<u;++o)h=h<<1|f&1,f>>=1;for(o=h;o<a;o+=c)s[o]=u<<16|d;++l}return[s,i]},e}(Vc),v6=function(t){K(e,t);function e(r,n,i){var o=t.call(this,n)||this;o.stream=r,o.cachedData=0,o.bitsCached=0;for(var a=4096,s={earlyChange:i,codeLength:9,nextCode:258,dictionaryValues:new Uint8Array(a),dictionaryLengths:new Uint16Array(a),dictionaryPrevCodes:new Uint16Array(a),currentSequence:new Uint8Array(a),currentSequenceLength:0},u=0;u<256;++u)s.dictionaryValues[u]=u,s.dictionaryLengths[u]=1;return o.lzwState=s,o}return e.prototype.readBlock=function(){var r=512,n=r*2,i=r,o,a,s,u=this.lzwState;if(u){var l=u.earlyChange,c=u.nextCode,d=u.dictionaryValues,h=u.dictionaryLengths,f=u.dictionaryPrevCodes,m=u.codeLength,p=u.prevCode,g=u.currentSequence,v=u.currentSequenceLength,y=0,w=this.bufferLength,S=this.ensureBuffer(this.bufferLength+n);for(o=0;o<r;o++){var k=this.readBits(m),C=v>0;if(!k||k<256)g[0]=k,v=1;else if(k>=258)if(k<c)for(v=h[k],a=v-1,s=k;a>=0;a--)g[a]=d[s],s=f[s];else g[v++]=g[0];else if(k===256){m=9,c=258,v=0;continue}else{this.eof=!0,delete this.lzwState;break}if(C&&(f[c]=p,h[c]=h[p]+1,d[c]=g[0],c++,m=c+l&c+l-1?m:Math.min(Math.log(c+l)/.6931471805599453+1,12)|0),p=k,y+=v,n<y){do n+=i;while(n<y);S=this.ensureBuffer(this.bufferLength+n)}for(a=0;a<v;a++)S[w++]=g[a]}u.nextCode=c,u.codeLength=m,u.prevCode=p,u.currentSequenceLength=v,this.bufferLength=w}},e.prototype.readBits=function(r){for(var n=this.bitsCached,i=this.cachedData;n<r;){var o=this.stream.getByte();if(o===-1)return this.eof=!0,null;i=i<<8|o,n+=8}return this.bitsCached=n-=r,this.cachedData=i,i>>>n&(1<<r)-1},e}(Vc),m6=function(t){K(e,t);function e(r,n){var i=t.call(this,n)||this;return i.stream=r,i}return e.prototype.readBlock=function(){var r=this.stream.getBytes(2);if(!r||r.length<2||r[0]===128){this.eof=!0;return}var n,i=this.bufferLength,o=r[0];if(o<128){if(n=this.ensureBuffer(i+o+1),n[i++]=r[1],o>0){var a=this.stream.getBytes(o);n.set(a,i),i+=o}}else{o=257-o;var s=r[1];n=this.ensureBuffer(i+o+1);for(var u=0;u<o;u++)n[i++]=s}this.bufferLength=i},e}(Vc),oS=function(t,e,r){if(e===T.of("FlateDecode"))return new p6(t);if(e===T.of("LZWDecode")){var n=1;if(r instanceof ge){var i=r.lookup(T.of("EarlyChange"));i instanceof fe&&(n=i.asNumber())}return new v6(t,void 0,n)}if(e===T.of("ASCII85Decode"))return new l6(t);if(e===T.of("ASCIIHexDecode"))return new u6(t);if(e===T.of("RunLengthDecode"))return new m6(t);throw new Ez(e.asString())},SR=function(t){var e=t.dict,r=t.contents,n=new xR(r),i=e.lookup(T.of("Filter")),o=e.lookup(T.of("DecodeParms"));if(i instanceof T)n=oS(n,i,o);else if(i instanceof Ue)for(var a=0,s=i.size();a<s;a++)n=oS(n,i.lookup(a,T),o&&o.lookupMaybe(a,ge));else if(i)throw new dh([T,Ue],i);return n},g6=function(t){var e=t.MediaBox(),r=e.lookup(2,fe).asNumber()-e.lookup(0,fe).asNumber(),n=e.lookup(3,fe).asNumber()-e.lookup(1,fe).asNumber();return{left:0,bottom:0,right:r,top:n}},y6=function(t){return[1,0,0,1,-t.left,-t.bottom]},kR=function(){function t(e,r,n){this.page=e;var i=r??g6(e);this.width=i.right-i.left,this.height=i.top-i.bottom,this.boundingBox=i,this.transformationMatrix=n??y6(i)}return t.for=function(e,r,n){return ke(this,void 0,void 0,function(){return Ce(this,function(i){return[2,new t(e,r,n)]})})},t.prototype.embedIntoContext=function(e,r){return ke(this,void 0,void 0,function(){var n,i,o,a,s,u,l,c,d,h;return Ce(this,function(f){if(n=this.page.normalizedEntries(),i=n.Contents,o=n.Resources,!i)throw new Tz;return a=this.decodeContents(i),s=this.boundingBox,u=s.left,l=s.bottom,c=s.right,d=s.top,h=e.flateStream(a,{Type:"XObject",Subtype:"Form",FormType:1,BBox:[u,l,c,d],Matrix:this.transformationMatrix,Resources:o}),r?(e.assign(r,h),[2,r]):[2,e.register(h)]})})},t.prototype.decodeContents=function(e){for(var r=Uint8Array.of(P.Newline),n=[],i=0,o=e.size();i<o;i++){var a=e.lookup(i,_r),s=void 0;if(a instanceof Sc)s=SR(a).decode();else if(a instanceof Au)s=a.getUnencodedContents();else throw new Pz(a);n.push(s,r)}return qL.apply(void 0,n)},t}(),Ld=function(t,e){if(t!==void 0)return e[t]},Ou;(function(t){t.UseNone="UseNone",t.UseOutlines="UseOutlines",t.UseThumbs="UseThumbs",t.UseOC="UseOC"})(Ou||(Ou={}));var _u;(function(t){t.L2R="L2R",t.R2L="R2L"})(_u||(_u={}));var Nu;(function(t){t.None="None",t.AppDefault="AppDefault"})(Nu||(Nu={}));var ph;(function(t){t.Simplex="Simplex",t.DuplexFlipShortEdge="DuplexFlipShortEdge",t.DuplexFlipLongEdge="DuplexFlipLongEdge"})(ph||(ph={}));var aS=function(){function t(e){this.dict=e}return t.prototype.lookupBool=function(e){var r=this.dict.lookup(T.of(e));if(r instanceof xc)return r},t.prototype.lookupName=function(e){var r=this.dict.lookup(T.of(e));if(r instanceof T)return r},t.prototype.HideToolbar=function(){return this.lookupBool("HideToolbar")},t.prototype.HideMenubar=function(){return this.lookupBool("HideMenubar")},t.prototype.HideWindowUI=function(){return this.lookupBool("HideWindowUI")},t.prototype.FitWindow=function(){return this.lookupBool("FitWindow")},t.prototype.CenterWindow=function(){return this.lookupBool("CenterWindow")},t.prototype.DisplayDocTitle=function(){return this.lookupBool("DisplayDocTitle")},t.prototype.NonFullScreenPageMode=function(){return this.lookupName("NonFullScreenPageMode")},t.prototype.Direction=function(){return this.lookupName("Direction")},t.prototype.PrintScaling=function(){return this.lookupName("PrintScaling")},t.prototype.Duplex=function(){return this.lookupName("Duplex")},t.prototype.PickTrayByPDFSize=function(){return this.lookupBool("PickTrayByPDFSize")},t.prototype.PrintPageRange=function(){var e=this.dict.lookup(T.of("PrintPageRange"));if(e instanceof Ue)return e},t.prototype.NumCopies=function(){var e=this.dict.lookup(T.of("NumCopies"));if(e instanceof fe)return e},t.prototype.getHideToolbar=function(){var e,r;return(r=(e=this.HideToolbar())===null||e===void 0?void 0:e.asBoolean())!==null&&r!==void 0?r:!1},t.prototype.getHideMenubar=function(){var e,r;return(r=(e=this.HideMenubar())===null||e===void 0?void 0:e.asBoolean())!==null&&r!==void 0?r:!1},t.prototype.getHideWindowUI=function(){var e,r;return(r=(e=this.HideWindowUI())===null||e===void 0?void 0:e.asBoolean())!==null&&r!==void 0?r:!1},t.prototype.getFitWindow=function(){var e,r;return(r=(e=this.FitWindow())===null||e===void 0?void 0:e.asBoolean())!==null&&r!==void 0?r:!1},t.prototype.getCenterWindow=function(){var e,r;return(r=(e=this.CenterWindow())===null||e===void 0?void 0:e.asBoolean())!==null&&r!==void 0?r:!1},t.prototype.getDisplayDocTitle=function(){var e,r;return(r=(e=this.DisplayDocTitle())===null||e===void 0?void 0:e.asBoolean())!==null&&r!==void 0?r:!1},t.prototype.getNonFullScreenPageMode=function(){var e,r,n=(e=this.NonFullScreenPageMode())===null||e===void 0?void 0:e.decodeText();return(r=Ld(n,Ou))!==null&&r!==void 0?r:Ou.UseNone},t.prototype.getReadingDirection=function(){var e,r,n=(e=this.Direction())===null||e===void 0?void 0:e.decodeText();return(r=Ld(n,_u))!==null&&r!==void 0?r:_u.L2R},t.prototype.getPrintScaling=function(){var e,r,n=(e=this.PrintScaling())===null||e===void 0?void 0:e.decodeText();return(r=Ld(n,Nu))!==null&&r!==void 0?r:Nu.AppDefault},t.prototype.getDuplex=function(){var e,r=(e=this.Duplex())===null||e===void 0?void 0:e.decodeText();return Ld(r,ph)},t.prototype.getPickTrayByPDFSize=function(){var e;return(e=this.PickTrayByPDFSize())===null||e===void 0?void 0:e.asBoolean()},t.prototype.getPrintPageRange=function(){var e=this.PrintPageRange();if(!e)return[];for(var r=[],n=0;n<e.size();n+=2){var i=e.lookup(n,fe).asNumber(),o=e.lookup(n+1,fe).asNumber();r.push({start:i,end:o})}return r},t.prototype.getNumCopies=function(){var e,r;return(r=(e=this.NumCopies())===null||e===void 0?void 0:e.asNumber())!==null&&r!==void 0?r:1},t.prototype.setHideToolbar=function(e){var r=this.dict.context.obj(e);this.dict.set(T.of("HideToolbar"),r)},t.prototype.setHideMenubar=function(e){var r=this.dict.context.obj(e);this.dict.set(T.of("HideMenubar"),r)},t.prototype.setHideWindowUI=function(e){var r=this.dict.context.obj(e);this.dict.set(T.of("HideWindowUI"),r)},t.prototype.setFitWindow=function(e){var r=this.dict.context.obj(e);this.dict.set(T.of("FitWindow"),r)},t.prototype.setCenterWindow=function(e){var r=this.dict.context.obj(e);this.dict.set(T.of("CenterWindow"),r)},t.prototype.setDisplayDocTitle=function(e){var r=this.dict.context.obj(e);this.dict.set(T.of("DisplayDocTitle"),r)},t.prototype.setNonFullScreenPageMode=function(e){lo(e,"nonFullScreenPageMode",Ou);var r=T.of(e);this.dict.set(T.of("NonFullScreenPageMode"),r)},t.prototype.setReadingDirection=function(e){lo(e,"readingDirection",_u);var r=T.of(e);this.dict.set(T.of("Direction"),r)},t.prototype.setPrintScaling=function(e){lo(e,"printScaling",Nu);var r=T.of(e);this.dict.set(T.of("PrintScaling"),r)},t.prototype.setDuplex=function(e){lo(e,"duplex",ph);var r=T.of(e);this.dict.set(T.of("Duplex"),r)},t.prototype.setPickTrayByPDFSize=function(e){var r=this.dict.context.obj(e);this.dict.set(T.of("PickTrayByPDFSize"),r)},t.prototype.setPrintPageRange=function(e){Array.isArray(e)||(e=[e]);for(var r=[],n=0,i=e.length;n<i;n++)r.push(e[n].start),r.push(e[n].end);dR(r,"printPageRange",["number"]);var o=this.dict.context.obj(r);this.dict.set(T.of("PrintPageRange"),o)},t.prototype.setNumCopies=function(e){Pr(e,"numCopies",1,Number.MAX_VALUE),Cz(e,"numCopies");var r=this.dict.context.obj(e);this.dict.set(T.of("NumCopies"),r)},t.fromDict=function(e){return new t(e)},t.create=function(e){var r=e.obj({});return new t(r)},t}(),w6=/\/([^\0\t\n\f\r\ ]+)[\0\t\n\f\r\ ]*(\d*\.\d+|\d+)?[\0\t\n\f\r\ ]+Tf/,CR=function(){function t(e,r){this.dict=e,this.ref=r}return t.prototype.T=function(){return this.dict.lookupMaybe(T.of("T"),Xe,le)},t.prototype.Ff=function(){var e=this.getInheritableAttribute(T.of("Ff"));return this.dict.context.lookupMaybe(e,fe)},t.prototype.V=function(){var e=this.getInheritableAttribute(T.of("V"));return this.dict.context.lookup(e)},t.prototype.Kids=function(){return this.dict.lookupMaybe(T.of("Kids"),Ue)},t.prototype.DA=function(){var e=this.dict.lookup(T.of("DA"));if(e instanceof Xe||e instanceof le)return e},t.prototype.setKids=function(e){this.dict.set(T.of("Kids"),this.dict.context.obj(e))},t.prototype.getParent=function(){var e=this.dict.get(T.of("Parent"));if(e instanceof Ze){var r=this.dict.lookup(T.of("Parent"),ge);return new t(r,e)}},t.prototype.setParent=function(e){e?this.dict.set(T.of("Parent"),e):this.dict.delete(T.of("Parent"))},t.prototype.getFullyQualifiedName=function(){var e=this.getParent();return e?e.getFullyQualifiedName()+"."+this.getPartialName():this.getPartialName()},t.prototype.getPartialName=function(){var e;return(e=this.T())===null||e===void 0?void 0:e.decodeText()},t.prototype.setPartialName=function(e){e?this.dict.set(T.of("T"),le.fromText(e)):this.dict.delete(T.of("T"))},t.prototype.setDefaultAppearance=function(e){this.dict.set(T.of("DA"),Xe.of(e))},t.prototype.getDefaultAppearance=function(){var e=this.DA();return e instanceof le?e.decodeText():e==null?void 0:e.asString()},t.prototype.setFontSize=function(e){var r,n=(r=this.getFullyQualifiedName())!==null&&r!==void 0?r:"",i=this.getDefaultAppearance();if(!i)throw new _z(n);var o=ky(i,w6);if(!o.match)throw new Nz(n);var a=i.slice(0,o.pos-o.match[0].length),s=o.pos<=i.length?i.slice(o.pos):"",u=o.match[1],l=a+" /"+u+" "+e+" Tf "+s;this.setDefaultAppearance(l)},t.prototype.getFlags=function(){var e,r;return(r=(e=this.Ff())===null||e===void 0?void 0:e.asNumber())!==null&&r!==void 0?r:0},t.prototype.setFlags=function(e){this.dict.set(T.of("Ff"),fe.of(e))},t.prototype.hasFlag=function(e){var r=this.getFlags();return(r&e)!==0},t.prototype.setFlag=function(e){var r=this.getFlags();this.setFlags(r|e)},t.prototype.clearFlag=function(e){var r=this.getFlags();this.setFlags(r&~e)},t.prototype.setFlagTo=function(e,r){r?this.setFlag(e):this.clearFlag(e)},t.prototype.getInheritableAttribute=function(e){var r;return this.ascend(function(n){r||(r=n.dict.get(e))}),r},t.prototype.ascend=function(e){e(this);var r=this.getParent();r&&r.ascend(e)},t}(),qv=function(){function t(e){this.dict=e}return t.prototype.W=function(){var e=this.dict.lookup(T.of("W"));if(e instanceof fe)return e},t.prototype.getWidth=function(){var e,r;return(r=(e=this.W())===null||e===void 0?void 0:e.asNumber())!==null&&r!==void 0?r:1},t.prototype.setWidth=function(e){var r=this.dict.context.obj(e);this.dict.set(T.of("W"),r)},t.fromDict=function(e){return new t(e)},t}(),b6=function(){function t(e){this.dict=e}return t.prototype.Rect=function(){return this.dict.lookup(T.of("Rect"),Ue)},t.prototype.AP=function(){return this.dict.lookupMaybe(T.of("AP"),ge)},t.prototype.F=function(){var e=this.dict.lookup(T.of("F"));return this.dict.context.lookupMaybe(e,fe)},t.prototype.getRectangle=function(){var e,r=this.Rect();return(e=r==null?void 0:r.asRectangle())!==null&&e!==void 0?e:{x:0,y:0,width:0,height:0}},t.prototype.setRectangle=function(e){var r=e.x,n=e.y,i=e.width,o=e.height,a=this.dict.context.obj([r,n,r+i,n+o]);this.dict.set(T.of("Rect"),a)},t.prototype.getAppearanceState=function(){var e=this.dict.lookup(T.of("AS"));if(e instanceof T)return e},t.prototype.setAppearanceState=function(e){this.dict.set(T.of("AS"),e)},t.prototype.setAppearances=function(e){this.dict.set(T.of("AP"),e)},t.prototype.ensureAP=function(){var e=this.AP();return e||(e=this.dict.context.obj({}),this.dict.set(T.of("AP"),e)),e},t.prototype.getNormalAppearance=function(){var e=this.ensureAP(),r=e.get(T.of("N"));if(r instanceof Ze||r instanceof ge)return r;throw new Error("Unexpected N type: "+(r==null?void 0:r.constructor.name))},t.prototype.setNormalAppearance=function(e){var r=this.ensureAP();r.set(T.of("N"),e)},t.prototype.setRolloverAppearance=function(e){var r=this.ensureAP();r.set(T.of("R"),e)},t.prototype.setDownAppearance=function(e){var r=this.ensureAP();r.set(T.of("D"),e)},t.prototype.removeRolloverAppearance=function(){var e=this.AP();e==null||e.delete(T.of("R"))},t.prototype.removeDownAppearance=function(){var e=this.AP();e==null||e.delete(T.of("D"))},t.prototype.getAppearances=function(){var e=this.AP();if(e){var r=e.lookup(T.of("N"),ge,_r),n=e.lookupMaybe(T.of("R"),ge,_r),i=e.lookupMaybe(T.of("D"),ge,_r);return{normal:r,rollover:n,down:i}}},t.prototype.getFlags=function(){var e,r;return(r=(e=this.F())===null||e===void 0?void 0:e.asNumber())!==null&&r!==void 0?r:0},t.prototype.setFlags=function(e){this.dict.set(T.of("F"),fe.of(e))},t.prototype.hasFlag=function(e){var r=this.getFlags();return(r&e)!==0},t.prototype.setFlag=function(e){var r=this.getFlags();this.setFlags(r|e)},t.prototype.clearFlag=function(e){var r=this.getFlags();this.setFlags(r&~e)},t.prototype.setFlagTo=function(e,r){r?this.setFlag(e):this.clearFlag(e)},t.fromDict=function(e){return new t(e)},t}(),Hv=function(){function t(e){this.dict=e}return t.prototype.R=function(){var e=this.dict.lookup(T.of("R"));if(e instanceof fe)return e},t.prototype.BC=function(){var e=this.dict.lookup(T.of("BC"));if(e instanceof Ue)return e},t.prototype.BG=function(){var e=this.dict.lookup(T.of("BG"));if(e instanceof Ue)return e},t.prototype.CA=function(){var e=this.dict.lookup(T.of("CA"));if(e instanceof le||e instanceof Xe)return e},t.prototype.RC=function(){var e=this.dict.lookup(T.of("RC"));if(e instanceof le||e instanceof Xe)return e},t.prototype.AC=function(){var e=this.dict.lookup(T.of("AC"));if(e instanceof le||e instanceof Xe)return e},t.prototype.getRotation=function(){var e;return(e=this.R())===null||e===void 0?void 0:e.asNumber()},t.prototype.getBorderColor=function(){var e=this.BC();if(e){for(var r=[],n=0,i=e==null?void 0:e.size();n<i;n++){var o=e.get(n);o instanceof fe&&r.push(o.asNumber())}return r}},t.prototype.getBackgroundColor=function(){var e=this.BG();if(e){for(var r=[],n=0,i=e==null?void 0:e.size();n<i;n++){var o=e.get(n);o instanceof fe&&r.push(o.asNumber())}return r}},t.prototype.getCaptions=function(){var e=this.CA(),r=this.RC(),n=this.AC();return{normal:e==null?void 0:e.decodeText(),rollover:r==null?void 0:r.decodeText(),down:n==null?void 0:n.decodeText()}},t.prototype.setRotation=function(e){var r=this.dict.context.obj(e);this.dict.set(T.of("R"),r)},t.prototype.setBorderColor=function(e){var r=this.dict.context.obj(e);this.dict.set(T.of("BC"),r)},t.prototype.setBackgroundColor=function(e){var r=this.dict.context.obj(e);this.dict.set(T.of("BG"),r)},t.prototype.setCaptions=function(e){var r=le.fromText(e.normal);if(this.dict.set(T.of("CA"),r),e.rollover){var n=le.fromText(e.rollover);this.dict.set(T.of("RC"),n)}else this.dict.delete(T.of("RC"));if(e.down){var i=le.fromText(e.down);this.dict.set(T.of("AC"),i)}else this.dict.delete(T.of("AC"))},t.fromDict=function(e){return new t(e)},t}(),zm=function(t){K(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.MK=function(){var r=this.dict.lookup(T.of("MK"));if(r instanceof ge)return r},e.prototype.BS=function(){var r=this.dict.lookup(T.of("BS"));if(r instanceof ge)return r},e.prototype.DA=function(){var r=this.dict.lookup(T.of("DA"));if(r instanceof Xe||r instanceof le)return r},e.prototype.P=function(){var r=this.dict.get(T.of("P"));if(r instanceof Ze)return r},e.prototype.setP=function(r){this.dict.set(T.of("P"),r)},e.prototype.setDefaultAppearance=function(r){this.dict.set(T.of("DA"),Xe.of(r))},e.prototype.getDefaultAppearance=function(){var r=this.DA();return r instanceof le?r.decodeText():r==null?void 0:r.asString()},e.prototype.getAppearanceCharacteristics=function(){var r=this.MK();if(r)return Hv.fromDict(r)},e.prototype.getOrCreateAppearanceCharacteristics=function(){var r=this.MK();if(r)return Hv.fromDict(r);var n=Hv.fromDict(this.dict.context.obj({}));return this.dict.set(T.of("MK"),n.dict),n},e.prototype.getBorderStyle=function(){var r=this.BS();if(r)return qv.fromDict(r)},e.prototype.getOrCreateBorderStyle=function(){var r=this.BS();if(r)return qv.fromDict(r);var n=qv.fromDict(this.dict.context.obj({}));return this.dict.set(T.of("BS"),n.dict),n},e.prototype.getOnValue=function(){var r,n=(r=this.getAppearances())===null||r===void 0?void 0:r.normal;if(n instanceof ge)for(var i=n.keys(),o=0,a=i.length;o<a;o++){var s=i[o];if(s!==T.of("Off"))return s}},e.fromDict=function(r){return new e(r)},e.create=function(r,n){var i=r.obj({Type:"Annot",Subtype:"Widget",Rect:[0,0,0,0],Parent:n});return new e(i)},e}(b6),El=function(t){K(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.FT=function(){var r=this.getInheritableAttribute(T.of("FT"));return this.dict.context.lookup(r,T)},e.prototype.getWidgets=function(){var r=this.Kids();if(!r)return[zm.fromDict(this.dict)];for(var n=new Array(r.size()),i=0,o=r.size();i<o;i++){var a=r.lookup(i,ge);n[i]=zm.fromDict(a)}return n},e.prototype.addWidget=function(r){var n=this.normalizedEntries().Kids;n.push(r)},e.prototype.removeWidget=function(r){var n=this.Kids();if(n){if(r<0||r>n.size())throw new fh(r,0,n.size());n.remove(r)}else{if(r!==0)throw new fh(r,0,0);this.setKids([])}},e.prototype.normalizedEntries=function(){var r=this.Kids();return r||(r=this.dict.context.obj([this.ref]),this.dict.set(T.of("Kids"),r)),{Kids:r}},e.fromDict=function(r,n){return new e(r,n)},e}(CR),Ly=function(t){K(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.Opt=function(){return this.dict.lookupMaybe(T.of("Opt"),Xe,le,Ue)},e.prototype.setOpt=function(r){this.dict.set(T.of("Opt"),this.dict.context.obj(r))},e.prototype.getExportValues=function(){var r=this.Opt();if(r){if(r instanceof Xe||r instanceof le)return[r];for(var n=[],i=0,o=r.size();i<o;i++){var a=r.lookup(i);(a instanceof Xe||a instanceof le)&&n.push(a)}return n}},e.prototype.removeExportValue=function(r){var n=this.Opt();if(n)if(n instanceof Xe||n instanceof le){if(r!==0)throw new fh(r,0,0);this.setOpt([])}else{if(r<0||r>n.size())throw new fh(r,0,n.size());n.remove(r)}},e.prototype.normalizeExportValues=function(){for(var r,n,i,o,a=(r=this.getExportValues())!==null&&r!==void 0?r:[],s=[],u=this.getWidgets(),l=0,c=u.length;l<c;l++){var d=u[l],h=(n=a[l])!==null&&n!==void 0?n:le.fromText((o=(i=d.getOnValue())===null||i===void 0?void 0:i.decodeText())!==null&&o!==void 0?o:"");s.push(h)}this.setOpt(s)},e.prototype.addOpt=function(r,n){var i;this.normalizeExportValues();var o=r.decodeText(),a;if(n)for(var s=(i=this.getExportValues())!==null&&i!==void 0?i:[],u=0,l=s.length;u<l;u++){var c=s[u];c.decodeText()===o&&(a=u)}var d=this.Opt();return d.push(r),a??d.size()-1},e.prototype.addWidgetWithOpt=function(r,n,i){var o=this.addOpt(n,i),a=T.of(String(o));return this.addWidget(r),a},e}(El),yp=function(t){K(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.setValue=function(r){var n,i=(n=this.getOnValue())!==null&&n!==void 0?n:T.of("Yes");if(r!==i&&r!==T.of("Off"))throw new jy;this.dict.set(T.of("V"),r);for(var o=this.getWidgets(),a=0,s=o.length;a<s;a++){var u=o[a],l=u.getOnValue()===r?r:T.of("Off");u.setAppearanceState(l)}},e.prototype.getValue=function(){var r=this.V();return r instanceof T?r:T.of("Off")},e.prototype.getOnValue=function(){var r=this.getWidgets()[0];return r==null?void 0:r.getOnValue()},e.fromDict=function(r,n){return new e(r,n)},e.create=function(r){var n=r.obj({FT:"Btn",Kids:[]}),i=r.register(n);return new e(n,i)},e}(Ly),kt=function(t){return 1<<t},hn;(function(t){t[t.ReadOnly=kt(0)]="ReadOnly",t[t.Required=kt(1)]="Required",t[t.NoExport=kt(2)]="NoExport"})(hn||(hn={}));var Wr;(function(t){t[t.NoToggleToOff=kt(14)]="NoToggleToOff",t[t.Radio=kt(15)]="Radio",t[t.PushButton=kt(16)]="PushButton",t[t.RadiosInUnison=kt(25)]="RadiosInUnison"})(Wr||(Wr={}));var ft;(function(t){t[t.Multiline=kt(12)]="Multiline",t[t.Password=kt(13)]="Password",t[t.FileSelect=kt(20)]="FileSelect",t[t.DoNotSpellCheck=kt(22)]="DoNotSpellCheck",t[t.DoNotScroll=kt(23)]="DoNotScroll",t[t.Comb=kt(24)]="Comb",t[t.RichText=kt(25)]="RichText"})(ft||(ft={}));var Ge;(function(t){t[t.Combo=kt(17)]="Combo",t[t.Edit=kt(18)]="Edit",t[t.Sort=kt(19)]="Sort",t[t.MultiSelect=kt(21)]="MultiSelect",t[t.DoNotSpellCheck=kt(22)]="DoNotSpellCheck",t[t.CommitOnSelChange=kt(26)]="CommitOnSelChange"})(Ge||(Ge={}));var ER=function(t){K(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.setValues=function(r){if(this.hasFlag(Ge.Combo)&&!this.hasFlag(Ge.Edit)&&!this.valuesAreValid(r))throw new jy;if(r.length===0&&this.dict.delete(T.of("V")),r.length===1&&this.dict.set(T.of("V"),r[0]),r.length>1){if(!this.hasFlag(Ge.MultiSelect))throw new Oz;this.dict.set(T.of("V"),this.dict.context.obj(r))}this.updateSelectedIndices(r)},e.prototype.valuesAreValid=function(r){for(var n=this.getOptions(),i=function(u,l){var c=r[u].decodeText();if(!n.find(function(d){return c===(d.display||d.value).decodeText()}))return{value:!1}},o=0,a=r.length;o<a;o++){var s=i(o);if(typeof s=="object")return s.value}return!0},e.prototype.updateSelectedIndices=function(r){if(r.length>1){for(var n=new Array(r.length),i=this.getOptions(),o=function(u,l){var c=r[u].decodeText();n[u]=i.findIndex(function(d){return c===(d.display||d.value).decodeText()})},a=0,s=r.length;a<s;a++)o(a,s);this.dict.set(T.of("I"),this.dict.context.obj(n.sort()))}else this.dict.delete(T.of("I"))},e.prototype.getValues=function(){var r=this.V();if(r instanceof Xe||r instanceof le)return[r];if(r instanceof Ue){for(var n=[],i=0,o=r.size();i<o;i++){var a=r.lookup(i);(a instanceof Xe||a instanceof le)&&n.push(a)}return n}return[]},e.prototype.Opt=function(){return this.dict.lookupMaybe(T.of("Opt"),Xe,le,Ue)},e.prototype.setOptions=function(r){for(var n=new Array(r.length),i=0,o=r.length;i<o;i++){var a=r[i],s=a.value,u=a.display;n[i]=this.dict.context.obj([s,u||s])}this.dict.set(T.of("Opt"),this.dict.context.obj(n))},e.prototype.getOptions=function(){var r=this.Opt();if(r instanceof Xe||r instanceof le)return[{value:r,display:r}];if(r instanceof Ue){for(var n=[],i=0,o=r.size();i<o;i++){var a=r.lookup(i);if((a instanceof Xe||a instanceof le)&&n.push({value:a,display:a}),a instanceof Ue&&a.size()>0){var s=a.lookup(0,Xe,le),u=a.lookupMaybe(1,Xe,le);n.push({value:s,display:u||s})}}return n}return[]},e}(El),wp=function(t){K(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.fromDict=function(r,n){return new e(r,n)},e.create=function(r){var n=r.obj({FT:"Ch",Ff:Ge.Combo,Kids:[]}),i=r.register(n);return new e(n,i)},e}(ER),vh=function(t){K(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.addField=function(r){var n=this.normalizedEntries().Kids;n==null||n.push(r)},e.prototype.normalizedEntries=function(){var r=this.Kids();return r||(r=this.dict.context.obj([]),this.dict.set(T.of("Kids"),r)),{Kids:r}},e.fromDict=function(r,n){return new e(r,n)},e.create=function(r){var n=r.obj({}),i=r.register(n);return new e(n,i)},e}(CR),By=function(t){K(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.fromDict=function(r,n){return new e(r,n)},e}(El),bp=function(t){K(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.MaxLen=function(){var r=this.dict.lookup(T.of("MaxLen"));if(r instanceof fe)return r},e.prototype.Q=function(){var r=this.dict.lookup(T.of("Q"));if(r instanceof fe)return r},e.prototype.setMaxLength=function(r){this.dict.set(T.of("MaxLen"),fe.of(r))},e.prototype.removeMaxLength=function(){this.dict.delete(T.of("MaxLen"))},e.prototype.getMaxLength=function(){var r;return(r=this.MaxLen())===null||r===void 0?void 0:r.asNumber()},e.prototype.setQuadding=function(r){this.dict.set(T.of("Q"),fe.of(r))},e.prototype.getQuadding=function(){var r;return(r=this.Q())===null||r===void 0?void 0:r.asNumber()},e.prototype.setValue=function(r){this.dict.set(T.of("V"),r)},e.prototype.removeValue=function(){this.dict.delete(T.of("V"))},e.prototype.getValue=function(){var r=this.V();if(r instanceof Xe||r instanceof le)return r},e.fromDict=function(r,n){return new e(r,n)},e.create=function(r){var n=r.obj({FT:"Tx",Kids:[]}),i=r.register(n);return new e(n,i)},e}(El),xp=function(t){K(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.fromDict=function(r,n){return new e(r,n)},e.create=function(r){var n=r.obj({FT:"Btn",Ff:Wr.PushButton,Kids:[]}),i=r.register(n);return new e(n,i)},e}(Ly),Sp=function(t){K(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.setValue=function(r){var n=this.getOnValues();if(!n.includes(r)&&r!==T.of("Off"))throw new jy;this.dict.set(T.of("V"),r);for(var i=this.getWidgets(),o=0,a=i.length;o<a;o++){var s=i[o],u=s.getOnValue()===r?r:T.of("Off");s.setAppearanceState(u)}},e.prototype.getValue=function(){var r=this.V();return r instanceof T?r:T.of("Off")},e.prototype.getOnValues=function(){for(var r=this.getWidgets(),n=[],i=0,o=r.length;i<o;i++){var a=r[i].getOnValue();a&&n.push(a)}return n},e.fromDict=function(r,n){return new e(r,n)},e.create=function(r){var n=r.obj({FT:"Btn",Ff:Wr.Radio,Kids:[]}),i=r.register(n);return new e(n,i)},e}(Ly),kp=function(t){K(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.fromDict=function(r,n){return new e(r,n)},e.create=function(r){var n=r.obj({FT:"Ch",Kids:[]}),i=r.register(n);return new e(n,i)},e}(ER),Uy=function(t){if(!t)return[];for(var e=[],r=0,n=t.size();r<n;r++){var i=t.get(r),o=t.lookup(r);i instanceof Ze&&o instanceof ge&&e.push([TR(o,i),i])}return e},TR=function(t,e){var r=x6(t);return r?vh.fromDict(t,e):S6(t,e)},x6=function(t){var e=t.lookup(T.of("Kids"));if(e instanceof Ue)for(var r=0,n=e.size();r<n;r++){var i=e.lookup(r),o=i instanceof ge&&i.has(T.of("T"));if(o)return!0}return!1},S6=function(t,e){var r=zy(t,T.of("FT")),n=t.context.lookup(r,T);return n===T.of("Btn")?k6(t,e):n===T.of("Ch")?C6(t,e):n===T.of("Tx")?bp.fromDict(t,e):n===T.of("Sig")?By.fromDict(t,e):El.fromDict(t,e)},k6=function(t,e){var r,n=zy(t,T.of("Ff")),i=t.context.lookupMaybe(n,fe),o=(r=i==null?void 0:i.asNumber())!==null&&r!==void 0?r:0;return Vm(o,Wr.PushButton)?xp.fromDict(t,e):Vm(o,Wr.Radio)?Sp.fromDict(t,e):yp.fromDict(t,e)},C6=function(t,e){var r,n=zy(t,T.of("Ff")),i=t.context.lookupMaybe(n,fe),o=(r=i==null?void 0:i.asNumber())!==null&&r!==void 0?r:0;return Vm(o,Ge.Combo)?wp.fromDict(t,e):kp.fromDict(t,e)},Vm=function(t,e){return(t&e)!==0},zy=function(t,e){var r;return PR(t,function(n){r||(r=n.get(e))}),r},PR=function(t,e){e(t);var r=t.lookupMaybe(T.of("Parent"),ge);r&&PR(r,e)},mh=function(){function t(e){this.dict=e}return t.prototype.Fields=function(){var e=this.dict.lookup(T.of("Fields"));if(e instanceof Ue)return e},t.prototype.getFields=function(){for(var e=this.normalizedEntries().Fields,r=new Array(e.size()),n=0,i=e.size();n<i;n++){var o=e.get(n),a=e.lookup(n,ge);r[n]=[TR(a,o),o]}return r},t.prototype.getAllFields=function(){var e=[],r=function(n){if(n)for(var i=0,o=n.length;i<o;i++){var a=n[i];e.push(a);var s=a[0];s instanceof vh&&r(Uy(s.Kids()))}};return r(this.getFields()),e},t.prototype.addField=function(e){var r=this.normalizedEntries().Fields;r==null||r.push(e)},t.prototype.removeField=function(e){var r=e.getParent(),n=r===void 0?this.normalizedEntries().Fields:r.Kids(),i=n==null?void 0:n.indexOf(e.ref);if(n===void 0||i===void 0)throw new Error("Tried to remove inexistent field "+e.getFullyQualifiedName());n.remove(i),r!==void 0&&n.size()===0&&this.removeField(r)},t.prototype.normalizedEntries=function(){var e=this.Fields();return e||(e=this.dict.context.obj([]),this.dict.set(T.of("Fields"),e)),{Fields:e}},t.fromDict=function(e){return new t(e)},t.create=function(e){var r=e.obj({Fields:[]});return new t(r)},t}(),RR=function(t){K(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.Pages=function(){return this.lookup(T.of("Pages"),ge)},e.prototype.AcroForm=function(){return this.lookupMaybe(T.of("AcroForm"),ge)},e.prototype.getAcroForm=function(){var r=this.AcroForm();if(r)return mh.fromDict(r)},e.prototype.getOrCreateAcroForm=function(){var r=this.getAcroForm();if(!r){r=mh.create(this.context);var n=this.context.register(r.dict);this.set(T.of("AcroForm"),n)}return r},e.prototype.ViewerPreferences=function(){return this.lookupMaybe(T.of("ViewerPreferences"),ge)},e.prototype.getViewerPreferences=function(){var r=this.ViewerPreferences();if(r)return aS.fromDict(r)},e.prototype.getOrCreateViewerPreferences=function(){var r=this.getViewerPreferences();if(!r){r=aS.create(this.context);var n=this.context.register(r.dict);this.set(T.of("ViewerPreferences"),n)}return r},e.prototype.insertLeafNode=function(r,n){var i=this.get(T.of("Pages")),o=this.Pages().insertLeafNode(r,n);return o||i},e.prototype.removeLeafNode=function(r){this.Pages().removeLeafNode(r)},e.withContextAndPages=function(r,n){var i=new Map;return i.set(T.of("Type"),T.of("Catalog")),i.set(T.of("Pages"),n),new e(i,r)},e.fromMapWithContext=function(r,n){return new e(r,n)},e}(ge),AR=function(t){K(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.Parent=function(){return this.lookup(T.of("Parent"))},e.prototype.Kids=function(){return this.lookup(T.of("Kids"),Ue)},e.prototype.Count=function(){return this.lookup(T.of("Count"),fe)},e.prototype.pushTreeNode=function(r){var n=this.Kids();n.push(r)},e.prototype.pushLeafNode=function(r){var n=this.Kids();this.insertLeafKid(n.size(),r)},e.prototype.insertLeafNode=function(r,n){var i=this.Kids(),o=this.Count().asNumber();if(n>o)throw new G1(n,o);for(var a=n,s=0,u=i.size();s<u;s++){if(a===0){this.insertLeafKid(s,r);return}var l=i.get(s),c=this.context.lookup(l);if(c instanceof e){if(c.Count().asNumber()>a)return c.insertLeafNode(r,a)||l;a-=c.Count().asNumber()}c instanceof hi&&(a-=1)}if(a===0){this.insertLeafKid(i.size(),r);return}throw new X1(n,"insertLeafNode")},e.prototype.removeLeafNode=function(r,n){n===void 0&&(n=!0);var i=this.Kids(),o=this.Count().asNumber();if(r>=o)throw new G1(r,o);for(var a=r,s=0,u=i.size();s<u;s++){var l=i.get(s),c=this.context.lookup(l);if(c instanceof e)if(c.Count().asNumber()>a){c.removeLeafNode(a,n),n&&c.Kids().size()===0&&i.remove(s);return}else a-=c.Count().asNumber();if(c instanceof hi)if(a===0){this.removeKid(s);return}else a-=1}throw new X1(r,"removeLeafNode")},e.prototype.ascend=function(r){r(this);var n=this.Parent();n&&n.ascend(r)},e.prototype.traverse=function(r){for(var n=this.Kids(),i=0,o=n.size();i<o;i++){var a=n.get(i),s=this.context.lookup(a);s instanceof e&&s.traverse(r),r(s,a)}},e.prototype.insertLeafKid=function(r,n){var i=this.Kids();this.ascend(function(o){var a=o.Count().asNumber()+1;o.set(T.of("Count"),fe.of(a))}),i.insert(r,n)},e.prototype.removeKid=function(r){var n=this.Kids(),i=n.lookup(r);i instanceof hi&&this.ascend(function(o){var a=o.Count().asNumber()-1;o.set(T.of("Count"),fe.of(a))}),n.remove(r)},e.withContext=function(r,n){var i=new Map;return i.set(T.of("Type"),T.of("Pages")),i.set(T.of("Kids"),r.obj([])),i.set(T.of("Count"),r.obj(0)),n&&i.set(T.of("Parent"),n),new e(i,r)},e.fromMapWithContext=function(r,n){return new e(r,n)},e}(ge),tr=new Uint8Array(256);tr[P.Zero]=1;tr[P.One]=1;tr[P.Two]=1;tr[P.Three]=1;tr[P.Four]=1;tr[P.Five]=1;tr[P.Six]=1;tr[P.Seven]=1;tr[P.Eight]=1;tr[P.Nine]=1;var Cp=new Uint8Array(256);Cp[P.Period]=1;Cp[P.Plus]=1;Cp[P.Minus]=1;var Vy=new Uint8Array(256);for(var Gl=0,E6=256;Gl<E6;Gl++)Vy[Gl]=tr[Gl]||Cp[Gl]?1:0;var sS=P.Newline,lS=P.CarriageReturn,T6=function(){function t(e,r){r===void 0&&(r=!1),this.bytes=e,this.capNumbers=r}return t.prototype.parseRawInt=function(){for(var e="";!this.bytes.done();){var r=this.bytes.peek();if(!tr[r])break;e+=di(this.bytes.next())}var n=Number(e);if(!e||!isFinite(n))throw new Z1(this.bytes.position(),e);return n},t.prototype.parseRawNumber=function(){for(var e="";!this.bytes.done();){var r=this.bytes.peek();if(!Vy[r]||(e+=di(this.bytes.next()),r===P.Period))break}for(;!this.bytes.done();){var r=this.bytes.peek();if(!tr[r])break;e+=di(this.bytes.next())}var n=Number(e);if(!e||!isFinite(n))throw new Z1(this.bytes.position(),e);if(n>Number.MAX_SAFE_INTEGER)if(this.capNumbers){var i="Parsed number that is too large for some PDF readers: "+e+", using Number.MAX_SAFE_INTEGER instead.";return console.warn(i),Number.MAX_SAFE_INTEGER}else{var i="Parsed number that is too large for some PDF readers: "+e+", not capping.";console.warn(i)}return n},t.prototype.skipWhitespace=function(){for(;!this.bytes.done()&&Ci[this.bytes.peek()];)this.bytes.next()},t.prototype.skipLine=function(){for(;!this.bytes.done();){var e=this.bytes.peek();if(e===sS||e===lS)return;this.bytes.next()}},t.prototype.skipComment=function(){if(this.bytes.peek()!==P.Percent)return!1;for(;!this.bytes.done();){var e=this.bytes.peek();if(e===sS||e===lS)return!0;this.bytes.next()}return!0},t.prototype.skipWhitespaceAndComments=function(){for(this.skipWhitespace();this.skipComment();)this.skipWhitespace()},t.prototype.matchKeyword=function(e){for(var r=this.bytes.offset(),n=0,i=e.length;n<i;n++)if(this.bytes.done()||this.bytes.next()!==e[n])return this.bytes.moveTo(r),!1;return!0},t}(),Ep=function(){function t(e){this.idx=0,this.line=0,this.column=0,this.bytes=e,this.length=this.bytes.length}return t.prototype.moveTo=function(e){this.idx=e},t.prototype.next=function(){var e=this.bytes[this.idx++];return e===P.Newline?(this.line+=1,this.column=0):this.column+=1,e},t.prototype.assertNext=function(e){if(this.peek()!==e)throw new jz(this.position(),e,this.peek());return this.next()},t.prototype.peek=function(){return this.bytes[this.idx]},t.prototype.peekAhead=function(e){return this.bytes[this.idx+e]},t.prototype.peekAt=function(e){return this.bytes[e]},t.prototype.done=function(){return this.idx>=this.length},t.prototype.offset=function(){return this.idx},t.prototype.slice=function(e,r){return this.bytes.slice(e,r)},t.prototype.position=function(){return{line:this.line,column:this.column,offset:this.idx}},t.of=function(e){return new t(e)},t.fromPDFRawStream=function(e){return t.of(SR(e).decode())},t}(),P6=P.Space,Xl=P.CarriageReturn,Zl=P.Newline,Yl=[P.s,P.t,P.r,P.e,P.a,P.m],Bd=[P.e,P.n,P.d,P.s,P.t,P.r,P.e,P.a,P.m],et={header:[P.Percent,P.P,P.D,P.F,P.Dash],eof:[P.Percent,P.Percent,P.E,P.O,P.F],obj:[P.o,P.b,P.j],endobj:[P.e,P.n,P.d,P.o,P.b,P.j],xref:[P.x,P.r,P.e,P.f],trailer:[P.t,P.r,P.a,P.i,P.l,P.e,P.r],startxref:[P.s,P.t,P.a,P.r,P.t,P.x,P.r,P.e,P.f],true:[P.t,P.r,P.u,P.e],false:[P.f,P.a,P.l,P.s,P.e],null:[P.n,P.u,P.l,P.l],stream:Yl,streamEOF1:Ie(Yl,[P6,Xl,Zl]),streamEOF2:Ie(Yl,[Xl,Zl]),streamEOF3:Ie(Yl,[Xl]),streamEOF4:Ie(Yl,[Zl]),endstream:Bd,EOF1endstream:Ie([Xl,Zl],Bd),EOF2endstream:Ie([Xl],Bd),EOF3endstream:Ie([Zl],Bd)},OR=function(t){K(e,t);function e(r,n,i){i===void 0&&(i=!1);var o=t.call(this,r,i)||this;return o.context=n,o}return e.prototype.parseObject=function(){if(this.skipWhitespaceAndComments(),this.matchKeyword(et.true))return xc.True;if(this.matchKeyword(et.false))return xc.False;if(this.matchKeyword(et.null))return pr;var r=this.bytes.peek();if(r===P.LessThan&&this.bytes.peekAhead(1)===P.LessThan)return this.parseDictOrStream();if(r===P.LessThan)return this.parseHexString();if(r===P.LeftParen)return this.parseString();if(r===P.ForwardSlash)return this.parseName();if(r===P.LeftSquareBracket)return this.parseArray();if(Vy[r])return this.parseNumberOrRef();throw new Fz(this.bytes.position(),r)},e.prototype.parseNumberOrRef=function(){var r=this.parseRawNumber();this.skipWhitespaceAndComments();var n=this.bytes.offset();if(tr[this.bytes.peek()]){var i=this.parseRawNumber();if(this.skipWhitespaceAndComments(),this.bytes.peek()===P.R)return this.bytes.assertNext(P.R),Ze.of(r,i)}return this.bytes.moveTo(n),fe.of(r)},e.prototype.parseHexString=function(){var r="";for(this.bytes.assertNext(P.LessThan);!this.bytes.done()&&this.bytes.peek()!==P.GreaterThan;)r+=di(this.bytes.next());return this.bytes.assertNext(P.GreaterThan),le.of(r)},e.prototype.parseString=function(){for(var r=0,n=!1,i="";!this.bytes.done();){var o=this.bytes.next();if(i+=di(o),n||(o===P.LeftParen&&(r+=1),o===P.RightParen&&(r-=1)),o===P.BackSlash?n=!n:n&&(n=!1),r===0)return Xe.of(i.substring(1,i.length-1))}throw new Mz(this.bytes.position())},e.prototype.parseName=function(){this.bytes.assertNext(P.ForwardSlash);for(var r="";!this.bytes.done();){var n=this.bytes.peek();if(Ci[n]||nn[n])break;r+=di(n),this.bytes.next()}return T.of(r)},e.prototype.parseArray=function(){this.bytes.assertNext(P.LeftSquareBracket),this.skipWhitespaceAndComments();for(var r=Ue.withContext(this.context);this.bytes.peek()!==P.RightSquareBracket;){var n=this.parseObject();r.push(n),this.skipWhitespaceAndComments()}return this.bytes.assertNext(P.RightSquareBracket),r},e.prototype.parseDict=function(){this.bytes.assertNext(P.LessThan),this.bytes.assertNext(P.LessThan),this.skipWhitespaceAndComments();for(var r=new Map;!this.bytes.done()&&this.bytes.peek()!==P.GreaterThan&&this.bytes.peekAhead(1)!==P.GreaterThan;){var n=this.parseName(),i=this.parseObject();r.set(n,i),this.skipWhitespaceAndComments()}this.skipWhitespaceAndComments(),this.bytes.assertNext(P.GreaterThan),this.bytes.assertNext(P.GreaterThan);var o=r.get(T.of("Type"));return o===T.of("Catalog")?RR.fromMapWithContext(r,this.context):o===T.of("Pages")?AR.fromMapWithContext(r,this.context):o===T.of("Page")?hi.fromMapWithContext(r,this.context):ge.fromMapWithContext(r,this.context)},e.prototype.parseDictOrStream=function(){var r=this.bytes.position(),n=this.parseDict();if(this.skipWhitespaceAndComments(),!this.matchKeyword(et.streamEOF1)&&!this.matchKeyword(et.streamEOF2)&&!this.matchKeyword(et.streamEOF3)&&!this.matchKeyword(et.streamEOF4)&&!this.matchKeyword(et.stream))return n;var i=this.bytes.offset(),o,a=n.get(T.of("Length"));a instanceof fe?(o=i+a.asNumber(),this.bytes.moveTo(o),this.skipWhitespaceAndComments(),this.matchKeyword(et.endstream)||(this.bytes.moveTo(i),o=this.findEndOfStreamFallback(r))):o=this.findEndOfStreamFallback(r);var s=this.bytes.slice(i,o);return Sc.of(n,s)},e.prototype.findEndOfStreamFallback=function(r){for(var n=1,i=this.bytes.offset();!this.bytes.done()&&(i=this.bytes.offset(),this.matchKeyword(et.stream)?n+=1:this.matchKeyword(et.EOF1endstream)||this.matchKeyword(et.EOF2endstream)||this.matchKeyword(et.EOF3endstream)||this.matchKeyword(et.endstream)?n-=1:this.bytes.next(),n!==0););if(n!==0)throw new Dz(r);return i},e.forBytes=function(r,n,i){return new e(Ep.of(r),n,i)},e.forByteStream=function(r,n,i){return i===void 0&&(i=!1),new e(r,n,i)},e}(T6),R6=function(t){K(e,t);function e(r,n){var i=t.call(this,Ep.fromPDFRawStream(r),r.dict.context)||this,o=r.dict;return i.alreadyParsed=!1,i.shouldWaitForTick=n||function(){return!1},i.firstOffset=o.lookup(T.of("First"),fe).asNumber(),i.objectCount=o.lookup(T.of("N"),fe).asNumber(),i}return e.prototype.parseIntoContext=function(){return ke(this,void 0,void 0,function(){var r,n,i,o,a,s,u,l;return Ce(this,function(c){switch(c.label){case 0:if(this.alreadyParsed)throw new Ny("PDFObjectStreamParser","parseIntoContext");this.alreadyParsed=!0,r=this.parseOffsetsAndObjectNumbers(),n=0,i=r.length,c.label=1;case 1:return n<i?(o=r[n],a=o.objectNumber,s=o.offset,this.bytes.moveTo(this.firstOffset+s),u=this.parseObject(),l=Ze.of(a,0),this.context.assign(l,u),this.shouldWaitForTick()?[4,ul()]:[3,3]):[3,4];case 2:c.sent(),c.label=3;case 3:return n++,[3,1];case 4:return[2]}})})},e.prototype.parseOffsetsAndObjectNumbers=function(){for(var r=[],n=0,i=this.objectCount;n<i;n++){this.skipWhitespaceAndComments();var o=this.parseRawInt();this.skipWhitespaceAndComments();var a=this.parseRawInt();r.push({objectNumber:o,offset:a})}return r},e.forStream=function(r,n){return new e(r,n)},e}(OR),A6=function(){function t(e){this.alreadyParsed=!1,this.dict=e.dict,this.bytes=Ep.fromPDFRawStream(e),this.context=this.dict.context;var r=this.dict.lookup(T.of("Size"),fe),n=this.dict.lookup(T.of("Index"));if(n instanceof Ue){this.subsections=[];for(var i=0,o=n.size();i<o;i+=2){var a=n.lookup(i+0,fe).asNumber(),s=n.lookup(i+1,fe).asNumber();this.subsections.push({firstObjectNumber:a,length:s})}}else this.subsections=[{firstObjectNumber:0,length:r.asNumber()}];var u=this.dict.lookup(T.of("W"),Ue);this.byteWidths=[-1,-1,-1];for(var i=0,o=u.size();i<o;i++)this.byteWidths[i]=u.lookup(i,fe).asNumber()}return t.prototype.parseIntoContext=function(){if(this.alreadyParsed)throw new Ny("PDFXRefStreamParser","parseIntoContext");this.alreadyParsed=!0,this.context.trailerInfo={Root:this.dict.get(T.of("Root")),Encrypt:this.dict.get(T.of("Encrypt")),Info:this.dict.get(T.of("Info")),ID:this.dict.get(T.of("ID"))};var e=this.parseEntries();return e},t.prototype.parseEntries=function(){for(var e=[],r=this.byteWidths,n=r[0],i=r[1],o=r[2],a=0,s=this.subsections.length;a<s;a++)for(var u=this.subsections[a],l=u.firstObjectNumber,c=u.length,d=0;d<c;d++){for(var h=0,f=0,m=n;f<m;f++)h=h<<8|this.bytes.next();for(var p=0,f=0,m=i;f<m;f++)p=p<<8|this.bytes.next();for(var g=0,f=0,m=o;f<m;f++)g=g<<8|this.bytes.next();n===0&&(h=1);var v=l+d,y={ref:Ze.of(v,g),offset:p,deleted:h===0,inObjectStream:h===2};e.push(y)}return e},t.forStream=function(e){return new t(e)},t}(),O6=function(t){K(e,t);function e(r,n,i,o){n===void 0&&(n=1/0),i===void 0&&(i=!1),o===void 0&&(o=!1);var a=t.call(this,Ep.of(r),Bm.create(),o)||this;return a.alreadyParsed=!1,a.parsedObjects=0,a.shouldWaitForTick=function(){return a.parsedObjects+=1,a.parsedObjects%a.objectsPerTick===0},a.objectsPerTick=n,a.throwOnInvalidObject=i,a}return e.prototype.parseDocument=function(){return ke(this,void 0,void 0,function(){var r,n;return Ce(this,function(i){switch(i.label){case 0:if(this.alreadyParsed)throw new Ny("PDFParser","parseDocument");this.alreadyParsed=!0,this.context.header=this.parseHeader(),i.label=1;case 1:return this.bytes.done()?[3,3]:[4,this.parseDocumentSection()];case 2:if(i.sent(),n=this.bytes.offset(),n===r)throw new Lz(this.bytes.position());return r=n,[3,1];case 3:return this.maybeRecoverRoot(),this.context.lookup(Ze.of(0))&&(console.warn("Removing parsed object: 0 0 R"),this.context.delete(Ze.of(0))),[2,this.context]}})})},e.prototype.maybeRecoverRoot=function(){var r=function(c){return c instanceof ge&&c.lookup(T.of("Type"))===T.of("Catalog")},n=this.context.lookup(this.context.trailerInfo.Root);if(!r(n))for(var i=this.context.enumerateIndirectObjects(),o=0,a=i.length;o<a;o++){var s=i[o],u=s[0],l=s[1];r(l)&&(this.context.trailerInfo.Root=u)}},e.prototype.parseHeader=function(){for(;!this.bytes.done();){if(this.matchKeyword(et.header)){var r=this.parseRawInt();this.bytes.assertNext(P.Period);var n=this.parseRawInt(),i=gp.forVersion(r,n);return this.skipBinaryHeaderComment(),i}this.bytes.next()}throw new Bz(this.bytes.position())},e.prototype.parseIndirectObjectHeader=function(){this.skipWhitespaceAndComments();var r=this.parseRawInt();this.skipWhitespaceAndComments();var n=this.parseRawInt();if(this.skipWhitespaceAndComments(),!this.matchKeyword(et.obj))throw new Uz(this.bytes.position(),et.obj);return Ze.of(r,n)},e.prototype.matchIndirectObjectHeader=function(){var r=this.bytes.offset();try{return this.parseIndirectObjectHeader(),!0}catch{return this.bytes.moveTo(r),!1}},e.prototype.parseIndirectObject=function(){return ke(this,void 0,void 0,function(){var r,n;return Ce(this,function(i){switch(i.label){case 0:return r=this.parseIndirectObjectHeader(),this.skipWhitespaceAndComments(),n=this.parseObject(),this.skipWhitespaceAndComments(),this.matchKeyword(et.endobj),n instanceof Sc&&n.dict.lookup(T.of("Type"))===T.of("ObjStm")?[4,R6.forStream(n,this.shouldWaitForTick).parseIntoContext()]:[3,2];case 1:return i.sent(),[3,3];case 2:n instanceof Sc&&n.dict.lookup(T.of("Type"))===T.of("XRef")?A6.forStream(n).parseIntoContext():this.context.assign(r,n),i.label=3;case 3:return[2,r]}})})},e.prototype.tryToParseInvalidIndirectObject=function(){var r=this.bytes.position(),n="Trying to parse invalid object: "+JSON.stringify(r)+")";if(this.throwOnInvalidObject)throw new Error(n);console.warn(n);var i=this.parseIndirectObjectHeader();console.warn("Invalid object ref: "+i),this.skipWhitespaceAndComments();for(var o=this.bytes.offset(),a=!0;!this.bytes.done()&&(this.matchKeyword(et.endobj)&&(a=!1),!!a);)this.bytes.next();if(a)throw new Iz(r);var s=this.bytes.offset()-et.endobj.length,u=yR.of(this.bytes.slice(o,s));return this.context.assign(i,u),i},e.prototype.parseIndirectObjects=function(){return ke(this,void 0,void 0,function(){var r;return Ce(this,function(n){switch(n.label){case 0:this.skipWhitespaceAndComments(),n.label=1;case 1:if(!(!this.bytes.done()&&tr[this.bytes.peek()]))return[3,8];r=this.bytes.offset(),n.label=2;case 2:return n.trys.push([2,4,,5]),[4,this.parseIndirectObject()];case 3:return n.sent(),[3,5];case 4:return n.sent(),this.bytes.moveTo(r),this.tryToParseInvalidIndirectObject(),[3,5];case 5:return this.skipWhitespaceAndComments(),this.skipJibberish(),this.shouldWaitForTick()?[4,ul()]:[3,7];case 6:n.sent(),n.label=7;case 7:return[3,1];case 8:return[2]}})})},e.prototype.maybeParseCrossRefSection=function(){if(this.skipWhitespaceAndComments(),!!this.matchKeyword(et.xref)){this.skipWhitespaceAndComments();for(var r=-1,n=vR.createEmpty();!this.bytes.done()&&tr[this.bytes.peek()];){var i=this.parseRawInt();this.skipWhitespaceAndComments();var o=this.parseRawInt();this.skipWhitespaceAndComments();var a=this.bytes.peek();if(a===P.n||a===P.f){var s=Ze.of(r,o);this.bytes.next()===P.n?n.addEntry(s,i):n.addDeletedEntry(s,i),r+=1}else r=i;this.skipWhitespaceAndComments()}return n}},e.prototype.maybeParseTrailerDict=function(){if(this.skipWhitespaceAndComments(),!!this.matchKeyword(et.trailer)){this.skipWhitespaceAndComments();var r=this.parseDict(),n=this.context;n.trailerInfo={Root:r.get(T.of("Root"))||n.trailerInfo.Root,Encrypt:r.get(T.of("Encrypt"))||n.trailerInfo.Encrypt,Info:r.get(T.of("Info"))||n.trailerInfo.Info,ID:r.get(T.of("ID"))||n.trailerInfo.ID}}},e.prototype.maybeParseTrailer=function(){if(this.skipWhitespaceAndComments(),!!this.matchKeyword(et.startxref)){this.skipWhitespaceAndComments();var r=this.parseRawInt();return this.skipWhitespace(),this.matchKeyword(et.eof),this.skipWhitespaceAndComments(),this.matchKeyword(et.eof),this.skipWhitespaceAndComments(),Dy.forLastCrossRefSectionOffset(r)}},e.prototype.parseDocumentSection=function(){return ke(this,void 0,void 0,function(){return Ce(this,function(r){switch(r.label){case 0:return[4,this.parseIndirectObjects()];case 1:return r.sent(),this.maybeParseCrossRefSection(),this.maybeParseTrailerDict(),this.maybeParseTrailer(),this.skipJibberish(),[2]}})})},e.prototype.skipJibberish=function(){for(this.skipWhitespaceAndComments();!this.bytes.done();){var r=this.bytes.offset(),n=this.bytes.peek(),i=n>=P.Space&&n<=P.Tilde;if(i&&(this.matchKeyword(et.xref)||this.matchKeyword(et.trailer)||this.matchKeyword(et.startxref)||this.matchIndirectObjectHeader())){this.bytes.moveTo(r);break}this.bytes.next()}},e.prototype.skipBinaryHeaderComment=function(){this.skipWhitespaceAndComments();try{var r=this.bytes.offset();this.parseIndirectObjectHeader(),this.bytes.moveTo(r)}catch{this.bytes.next(),this.skipWhitespaceAndComments()}},e.forBytesWithOptions=function(r,n,i,o){return new e(r,n,i,o)},e}(OR),Fn=function(t){return 1<<t},ju;(function(t){t[t.Invisible=Fn(0)]="Invisible",t[t.Hidden=Fn(1)]="Hidden",t[t.Print=Fn(2)]="Print",t[t.NoZoom=Fn(3)]="NoZoom",t[t.NoRotate=Fn(4)]="NoRotate",t[t.NoView=Fn(5)]="NoView",t[t.ReadOnly=Fn(6)]="ReadOnly",t[t.Locked=Fn(7)]="Locked",t[t.ToggleNoView=Fn(8)]="ToggleNoView",t[t.LockedContents=Fn(9)]="LockedContents"})(ju||(ju={}));var Tp=function(t){return t instanceof T?t:T.of(t)},he=function(t){return t instanceof fe?t:fe.of(t)},Ee=function(t){return t instanceof fe?t.asNumber():t},kc;(function(t){t.Degrees="degrees",t.Radians="radians"})(kc||(kc={}));var ce=function(t){return F(t,"degreeAngle",["number"]),{type:kc.Degrees,angle:t}},_R=kc.Radians,NR=kc.Degrees,jR=function(t){return t*Math.PI/180},_6=function(t){return t*180/Math.PI},Wt=function(t){return t.type===_R?t.angle:t.type===NR?jR(t.angle):Mc("Invalid rotation: "+JSON.stringify(t))},FR=function(t){return t.type===_R?_6(t.angle):t.type===NR?t.angle:Mc("Invalid rotation: "+JSON.stringify(t))},Ei=function(t){t===void 0&&(t=0);var e=t/90%4;return e===0?0:e===1?90:e===2?180:e===3?270:0},La=function(t,e){e===void 0&&(e=0);var r=Ei(e);return r===90||r===270?{width:t.height,height:t.width}:{width:t.width,height:t.height}},N6=function(t,e,r){e===void 0&&(e=0),r===void 0&&(r=0);var n=t.x,i=t.y,o=t.width,a=t.height,s=Ei(r),u=e/2;return s===0?{x:n-u,y:i-u,width:o,height:a}:s===90?{x:n-a+u,y:i-u,width:a,height:o}:s===180?{x:n-o+u,y:i-a+u,width:o,height:a}:s===270?{x:n-u,y:i-o+u,width:a,height:o}:{x:n-u,y:i-u,width:o,height:a}},IR=function(){return _e.of(Me.ClipNonZero)},gh=Math.cos,yh=Math.sin,wh=Math.tan,Pp=function(t,e,r,n,i,o){return _e.of(Me.ConcatTransformationMatrix,[he(t),he(e),he(r),he(n),he(i),he(o)])},Gr=function(t,e){return Pp(1,0,0,1,t,e)},Cc=function(t,e){return Pp(t,0,0,e,0,0)},Tl=function(t){return Pp(gh(Ee(t)),yh(Ee(t)),-yh(Ee(t)),gh(Ee(t)),0,0)},Ud=function(t){return Tl(jR(Ee(t)))},Wy=function(t,e){return Pp(1,wh(Ee(t)),wh(Ee(e)),1,0,0)},Rp=function(t,e){return _e.of(Me.SetLineDashPattern,["["+t.map(he).join(" ")+"]",he(e)])},Ps;(function(t){t[t.Butt=0]="Butt",t[t.Round=1]="Round",t[t.Projecting=2]="Projecting"})(Ps||(Ps={}));var Ap=function(t){return _e.of(Me.SetLineCapStyle,[he(t)])},uS;(function(t){t[t.Miter=0]="Miter",t[t.Round=1]="Round",t[t.Bevel=2]="Bevel"})(uS||(uS={}));var Ba=function(t){return _e.of(Me.SetGraphicsStateParams,[Tp(t)])},Nt=function(){return _e.of(Me.PushGraphicsState)},jt=function(){return _e.of(Me.PopGraphicsState)},Wc=function(t){return _e.of(Me.SetLineWidth,[he(t)])},Rr=function(t,e,r,n,i,o){return _e.of(Me.AppendBezierCurve,[he(t),he(e),he(r),he(n),he(i),he(o)])},zd=function(t,e,r,n){return _e.of(Me.CurveToReplicateInitialPoint,[he(t),he(e),he(r),he(n)])},Oo=function(){return _e.of(Me.ClosePath)},Xn=function(t,e){return _e.of(Me.MoveTo,[he(t),he(e)])},It=function(t,e){return _e.of(Me.LineTo,[he(t),he(e)])},qc=function(){return _e.of(Me.StrokePath)},qy=function(){return _e.of(Me.FillNonZero)},Hy=function(){return _e.of(Me.FillNonZeroAndStroke)},DR=function(){return _e.of(Me.EndPath)},j6=function(){return _e.of(Me.NextLine)},MR=function(t){return _e.of(Me.ShowText,[t])},LR=function(){return _e.of(Me.BeginText)},BR=function(){return _e.of(Me.EndText)},Ky=function(t,e){return _e.of(Me.SetFontAndSize,[Tp(t),he(e)])},F6=function(t){return _e.of(Me.SetTextLineHeight,[he(t)])},cS;(function(t){t[t.Fill=0]="Fill",t[t.Outline=1]="Outline",t[t.FillAndOutline=2]="FillAndOutline",t[t.Invisible=3]="Invisible",t[t.FillAndClip=4]="FillAndClip",t[t.OutlineAndClip=5]="OutlineAndClip",t[t.FillAndOutlineAndClip=6]="FillAndOutlineAndClip",t[t.Clip=7]="Clip"})(cS||(cS={}));var I6=function(t,e,r,n,i,o){return _e.of(Me.SetTextMatrix,[he(t),he(e),he(r),he(n),he(i),he(o)])},UR=function(t,e,r,n,i){return I6(gh(Ee(t)),yh(Ee(t))+wh(Ee(e)),-yh(Ee(t))+wh(Ee(r)),gh(Ee(t)),n,i)},Gy=function(t){return _e.of(Me.DrawObject,[Tp(t)])},D6=function(t){return _e.of(Me.NonStrokingColorGray,[he(t)])},M6=function(t){return _e.of(Me.StrokingColorGray,[he(t)])},L6=function(t,e,r){return _e.of(Me.NonStrokingColorRgb,[he(t),he(e),he(r)])},B6=function(t,e,r){return _e.of(Me.StrokingColorRgb,[he(t),he(e),he(r)])},U6=function(t,e,r,n){return _e.of(Me.NonStrokingColorCmyk,[he(t),he(e),he(r),he(n)])},z6=function(t,e,r,n){return _e.of(Me.StrokingColorCmyk,[he(t),he(e),he(r),he(n)])},zR=function(t){return _e.of(Me.BeginMarkedContent,[Tp(t)])},VR=function(){return _e.of(Me.EndMarkedContent)},_o;(function(t){t.Grayscale="Grayscale",t.RGB="RGB",t.CMYK="CMYK"})(_o||(_o={}));var WR=function(t){return Pr(t,"gray",0,1),{type:_o.Grayscale,gray:t}},Be=function(t,e,r){return Pr(t,"red",0,1),Pr(e,"green",0,1),Pr(r,"blue",0,1),{type:_o.RGB,red:t,green:e,blue:r}},qR=function(t,e,r,n){return Pr(t,"cyan",0,1),Pr(e,"magenta",0,1),Pr(r,"yellow",0,1),Pr(n,"key",0,1),{type:_o.CMYK,cyan:t,magenta:e,yellow:r,key:n}},Xy=_o.Grayscale,Zy=_o.RGB,Yy=_o.CMYK,Ua=function(t){return t.type===Xy?D6(t.gray):t.type===Zy?L6(t.red,t.green,t.blue):t.type===Yy?U6(t.cyan,t.magenta,t.yellow,t.key):Mc("Invalid color: "+JSON.stringify(t))},Hc=function(t){return t.type===Xy?M6(t.gray):t.type===Zy?B6(t.red,t.green,t.blue):t.type===Yy?z6(t.cyan,t.magenta,t.yellow,t.key):Mc("Invalid color: "+JSON.stringify(t))},ur=function(t,e){return e===void 0&&(e=1),(t==null?void 0:t.length)===1?WR(t[0]*e):(t==null?void 0:t.length)===3?Be(t[0]*e,t[1]*e,t[2]*e):(t==null?void 0:t.length)===4?qR(t[0]*e,t[1]*e,t[2]*e,t[3]*e):void 0},dS=function(t){return t.type===Xy?[t.gray]:t.type===Zy?[t.red,t.green,t.blue]:t.type===Yy?[t.cyan,t.magenta,t.yellow,t.key]:Mc("Invalid color: "+JSON.stringify(t))},ie=0,oe=0,Ae=0,Oe=0,lu=0,uu=0,fS=new Map([["A",7],["a",7],["C",6],["c",6],["H",1],["h",1],["L",2],["l",2],["M",2],["m",2],["Q",4],["q",4],["S",4],["s",4],["T",2],["t",2],["V",1],["v",1],["Z",0],["z",0]]),V6=function(t){for(var e,r=[],n=[],i="",o=!1,a=0,s=0,u=t;s<u.length;s++){var l=u[s];if(fS.has(l))a=fS.get(l),e&&(i.length>0&&(n[n.length]=+i),r[r.length]={cmd:e,args:n},n=[],i="",o=!1),e=l;else if([" ",","].includes(l)||l==="-"&&i.length>0&&i[i.length-1]!=="e"||l==="."&&o){if(i.length===0)continue;n.length===a?(r[r.length]={cmd:e,args:n},n=[+i],e==="M"&&(e="L"),e==="m"&&(e="l")):n[n.length]=+i,o=l===".",i=["-","."].includes(l)?l:""}else i+=l,l==="."&&(o=!0)}return i.length>0&&(n.length===a?(r[r.length]={cmd:e,args:n},n=[+i],e==="M"&&(e="L"),e==="m"&&(e="l")):n[n.length]=+i),r[r.length]={cmd:e,args:n},r},W6=function(t){ie=oe=Ae=Oe=lu=uu=0;for(var e=[],r=0;r<t.length;r++){var n=t[r];if(n.cmd&&typeof hS[n.cmd]=="function"){var i=hS[n.cmd](n.args);Array.isArray(i)?e=e.concat(i):e.push(i)}}return e},hS={M:function(t){return ie=t[0],oe=t[1],Ae=Oe=null,lu=ie,uu=oe,Xn(ie,oe)},m:function(t){return ie+=t[0],oe+=t[1],Ae=Oe=null,lu=ie,uu=oe,Xn(ie,oe)},C:function(t){return ie=t[4],oe=t[5],Ae=t[2],Oe=t[3],Rr(t[0],t[1],t[2],t[3],t[4],t[5])},c:function(t){var e=Rr(t[0]+ie,t[1]+oe,t[2]+ie,t[3]+oe,t[4]+ie,t[5]+oe);return Ae=ie+t[2],Oe=oe+t[3],ie+=t[4],oe+=t[5],e},S:function(t){(Ae===null||Oe===null)&&(Ae=ie,Oe=oe);var e=Rr(ie-(Ae-ie),oe-(Oe-oe),t[0],t[1],t[2],t[3]);return Ae=t[0],Oe=t[1],ie=t[2],oe=t[3],e},s:function(t){(Ae===null||Oe===null)&&(Ae=ie,Oe=oe);var e=Rr(ie-(Ae-ie),oe-(Oe-oe),ie+t[0],oe+t[1],ie+t[2],oe+t[3]);return Ae=ie+t[0],Oe=oe+t[1],ie+=t[2],oe+=t[3],e},Q:function(t){return Ae=t[0],Oe=t[1],ie=t[2],oe=t[3],zd(t[0],t[1],ie,oe)},q:function(t){var e=zd(t[0]+ie,t[1]+oe,t[2]+ie,t[3]+oe);return Ae=ie+t[0],Oe=oe+t[1],ie+=t[2],oe+=t[3],e},T:function(t){Ae===null||Oe===null?(Ae=ie,Oe=oe):(Ae=ie-(Ae-ie),Oe=oe-(Oe-oe));var e=zd(Ae,Oe,t[0],t[1]);return Ae=ie-(Ae-ie),Oe=oe-(Oe-oe),ie=t[0],oe=t[1],e},t:function(t){Ae===null||Oe===null?(Ae=ie,Oe=oe):(Ae=ie-(Ae-ie),Oe=oe-(Oe-oe));var e=zd(Ae,Oe,ie+t[0],oe+t[1]);return ie+=t[0],oe+=t[1],e},A:function(t){var e=pS(ie,oe,t);return ie=t[5],oe=t[6],e},a:function(t){t[5]+=ie,t[6]+=oe;var e=pS(ie,oe,t);return ie=t[5],oe=t[6],e},L:function(t){return ie=t[0],oe=t[1],Ae=Oe=null,It(ie,oe)},l:function(t){return ie+=t[0],oe+=t[1],Ae=Oe=null,It(ie,oe)},H:function(t){return ie=t[0],Ae=Oe=null,It(ie,oe)},h:function(t){return ie+=t[0],Ae=Oe=null,It(ie,oe)},V:function(t){return oe=t[0],Ae=Oe=null,It(ie,oe)},v:function(t){return oe+=t[0],Ae=Oe=null,It(ie,oe)},Z:function(){var t=Oo();return ie=lu,oe=uu,t},z:function(){var t=Oo();return ie=lu,oe=uu,t}},pS=function(t,e,r){for(var n=r[0],i=r[1],o=r[2],a=r[3],s=r[4],u=r[5],l=r[6],c=q6(u,l,n,i,a,s,o,t,e),d=[],h=0,f=c;h<f.length;h++){var m=f[h],p=H6.apply(void 0,m);d.push(Rr.apply(void 0,p))}return d},q6=function(t,e,r,n,i,o,a,s,u){var l=a*(Math.PI/180),c=Math.sin(l),d=Math.cos(l);r=Math.abs(r),n=Math.abs(n),Ae=d*(s-t)*.5+c*(u-e)*.5,Oe=d*(u-e)*.5-c*(s-t)*.5;var h=Ae*Ae/(r*r)+Oe*Oe/(n*n);h>1&&(h=Math.sqrt(h),r*=h,n*=h);var f=d/r,m=c/r,p=-c/n,g=d/n,v=f*s+m*u,y=p*s+g*u,w=f*t+m*e,S=p*t+g*e,k=(w-v)*(w-v)+(S-y)*(S-y),C=1/k-.25;C<0&&(C=0);var E=Math.sqrt(C);o===i&&(E=-E);var R=.5*(v+w)-E*(S-y),A=.5*(y+S)+E*(w-v),_=Math.atan2(y-A,v-R),O=Math.atan2(S-A,w-R),D=O-_;D<0&&o===1?D+=2*Math.PI:D>0&&o===0&&(D-=2*Math.PI);for(var M=Math.ceil(Math.abs(D/(Math.PI*.5+.001))),L=[],N=0;N<M;N++){var j=_+N*D/M,V=_+(N+1)*D/M;L[N]=[R,A,j,V,r,n,c,d]}return L},H6=function(t,e,r,n,i,o,a,s){var u=s*i,l=-a*o,c=a*i,d=s*o,h=.5*(n-r),f=8/3*Math.sin(h*.5)*Math.sin(h*.5)/Math.sin(h),m=t+Math.cos(r)-f*Math.sin(r),p=e+Math.sin(r)+f*Math.cos(r),g=t+Math.cos(n),v=e+Math.sin(n),y=g+f*Math.sin(n),w=v-f*Math.cos(n),S=[u*m+l*p,c*m+d*p,u*y+l*w,c*y+d*w,u*g+l*v,c*g+d*v];return S},K6=function(t){return W6(V6(t))},G6=function(t,e){for(var r=[Nt(),e.graphicsState&&Ba(e.graphicsState),LR(),Ua(e.color),Ky(e.font,e.size),F6(e.lineHeight),UR(Wt(e.rotate),Wt(e.xSkew),Wt(e.ySkew),e.x,e.y)].filter(Boolean),n=0,i=t.length;n<i;n++)r.push(MR(t[n]),j6());return r.push(BR(),jt()),r},HR=function(t,e){return[Nt(),e.graphicsState&&Ba(e.graphicsState),Gr(e.x,e.y),Tl(Wt(e.rotate)),Cc(e.width,e.height),Wy(Wt(e.xSkew),Wt(e.ySkew)),Gy(t),jt()].filter(Boolean)},X6=function(t,e){return[Nt(),e.graphicsState&&Ba(e.graphicsState),Gr(e.x,e.y),Tl(Wt(e.rotate)),Cc(e.xScale,e.yScale),Wy(Wt(e.xSkew),Wt(e.ySkew)),Gy(t),jt()].filter(Boolean)},Z6=function(t){var e,r;return[Nt(),t.graphicsState&&Ba(t.graphicsState),t.color&&Hc(t.color),Wc(t.thickness),Rp((e=t.dashArray)!==null&&e!==void 0?e:[],(r=t.dashPhase)!==null&&r!==void 0?r:0),Xn(t.start.x,t.start.y),t.lineCap&&Ap(t.lineCap),Xn(t.start.x,t.start.y),It(t.end.x,t.end.y),qc(),jt()].filter(Boolean)},cl=function(t){var e,r;return[Nt(),t.graphicsState&&Ba(t.graphicsState),t.color&&Ua(t.color),t.borderColor&&Hc(t.borderColor),Wc(t.borderWidth),t.borderLineCap&&Ap(t.borderLineCap),Rp((e=t.borderDashArray)!==null&&e!==void 0?e:[],(r=t.borderDashPhase)!==null&&r!==void 0?r:0),Gr(t.x,t.y),Tl(Wt(t.rotate)),Wy(Wt(t.xSkew),Wt(t.ySkew)),Xn(0,0),It(0,t.height),It(t.width,t.height),It(t.width,0),Oo(),t.color&&t.borderWidth?Hy():t.color?qy():t.borderColor?qc():Oo(),jt()].filter(Boolean)},bh=4*((Math.sqrt(2)-1)/3),Y6=function(t){var e=Ee(t.x),r=Ee(t.y),n=Ee(t.xScale),i=Ee(t.yScale);e-=n,r-=i;var o=n*bh,a=i*bh,s=e+n*2,u=r+i*2,l=e+n,c=r+i;return[Nt(),Xn(e,c),Rr(e,c-a,l-o,r,l,r),Rr(l+o,r,s,c-a,s,c),Rr(s,c+a,l+o,u,l,u),Rr(l-o,u,e,c+a,e,c),jt()]},J6=function(t){var e=Ee(t.x),r=Ee(t.y),n=Ee(t.xScale),i=Ee(t.yScale),o=-n,a=-i,s=n*bh,u=i*bh,l=o+n*2,c=a+i*2,d=o+n,h=a+i;return[Gr(e,r),Tl(Wt(t.rotate)),Xn(o,h),Rr(o,h-u,d-s,a,d,a),Rr(d+s,a,l,h-u,l,h),Rr(l,h+u,d+s,c,d,c),Rr(d-s,c,o,h+u,o,h)]},Wm=function(t){var e,r,n;return Ie([Nt(),t.graphicsState&&Ba(t.graphicsState),t.color&&Ua(t.color),t.borderColor&&Hc(t.borderColor),Wc(t.borderWidth),t.borderLineCap&&Ap(t.borderLineCap),Rp((e=t.borderDashArray)!==null&&e!==void 0?e:[],(r=t.borderDashPhase)!==null&&r!==void 0?r:0)],t.rotate===void 0?Y6({x:t.x,y:t.y,xScale:t.xScale,yScale:t.yScale}):J6({x:t.x,y:t.y,xScale:t.xScale,yScale:t.yScale,rotate:(n=t.rotate)!==null&&n!==void 0?n:ce(0)}),[t.color&&t.borderWidth?Hy():t.color?qy():t.borderColor?qc():Oo(),jt()]).filter(Boolean)},Q6=function(t,e){var r,n,i;return Ie([Nt(),e.graphicsState&&Ba(e.graphicsState),Gr(e.x,e.y),Tl(Wt((r=e.rotate)!==null&&r!==void 0?r:ce(0))),e.scale?Cc(e.scale,-e.scale):Cc(1,-1),e.color&&Ua(e.color),e.borderColor&&Hc(e.borderColor),e.borderWidth&&Wc(e.borderWidth),e.borderLineCap&&Ap(e.borderLineCap),Rp((n=e.borderDashArray)!==null&&n!==void 0?n:[],(i=e.borderDashPhase)!==null&&i!==void 0?i:0)],K6(t),[e.color&&e.borderWidth?Hy():e.color?qy():e.borderColor?qc():Oo(),jt()]).filter(Boolean)},$6=function(t){var e=Ee(t.size),r=-1+.75,n=-1+.51,i=1-.525,o=1-.31,a=-1+.325,s=-((a-r)*(o-r))/(i-n)+n;return[Nt(),t.color&&Hc(t.color),Wc(t.thickness),Gr(t.x,t.y),Xn(a*e,s*e),It(r*e,n*e),It(o*e,i*e),qc(),jt()].filter(Boolean)},Bo=function(t){return t.rotation===0?[Gr(0,0),Ud(0)]:t.rotation===90?[Gr(t.width,0),Ud(90)]:t.rotation===180?[Gr(t.width,t.height),Ud(180)]:t.rotation===270?[Gr(0,t.height),Ud(270)]:[]},Vd=function(t){var e=cl({x:t.x,y:t.y,width:t.width,height:t.height,borderWidth:t.borderWidth,color:t.color,borderColor:t.borderColor,rotate:ce(0),xSkew:ce(0),ySkew:ce(0)});if(!t.filled)return e;var r=Ee(t.width),n=Ee(t.height),i=Math.min(r,n)/2,o=$6({x:r/2,y:n/2,size:i,thickness:t.thickness,color:t.markColor});return Ie([Nt()],e,o,[jt()])},Wd=function(t){var e=Ee(t.width),r=Ee(t.height),n=Math.min(e,r)/2,i=Wm({x:t.x,y:t.y,xScale:n,yScale:n,color:t.color,borderColor:t.borderColor,borderWidth:t.borderWidth});if(!t.filled)return i;var o=Wm({x:t.x,y:t.y,xScale:n*.45,yScale:n*.45,color:t.dotColor,borderColor:void 0,borderWidth:0});return Ie([Nt()],i,o,[jt()])},vS=function(t){var e=Ee(t.x),r=Ee(t.y),n=Ee(t.width),i=Ee(t.height),o=cl({x:e,y:r,width:n,height:i,borderWidth:t.borderWidth,color:t.color,borderColor:t.borderColor,rotate:ce(0),xSkew:ce(0),ySkew:ce(0)}),a=Jy(t.textLines,{color:t.textColor,font:t.font,size:t.fontSize,rotate:ce(0),xSkew:ce(0),ySkew:ce(0)});return Ie([Nt()],o,a,[jt()])},Jy=function(t,e){for(var r=[LR(),Ua(e.color),Ky(e.font,e.size)],n=0,i=t.length;n<i;n++){var o=t[n],a=o.encoded,s=o.x,u=o.y;r.push(UR(Wt(e.rotate),Wt(e.xSkew),Wt(e.ySkew),s,u),MR(a))}return r.push(BR()),r},KR=function(t){var e=Ee(t.x),r=Ee(t.y),n=Ee(t.width),i=Ee(t.height),o=Ee(t.borderWidth),a=Ee(t.padding),s=e+o/2+a,u=r+o/2+a,l=n-(o/2+a)*2,c=i-(o/2+a)*2,d=[Xn(s,u),It(s,u+c),It(s+l,u+c),It(s+l,u),Oo(),IR(),DR()],h=cl({x:e,y:r,width:n,height:i,borderWidth:t.borderWidth,color:t.color,borderColor:t.borderColor,rotate:ce(0),xSkew:ce(0),ySkew:ce(0)}),f=Jy(t.textLines,{color:t.textColor,font:t.font,size:t.fontSize,rotate:ce(0),xSkew:ce(0),ySkew:ce(0)}),m=Ie([zR("Tx"),Nt()],f,[jt(),VR()]);return Ie([Nt()],h,d,m,[jt()])},eV=function(t){for(var e=Ee(t.x),r=Ee(t.y),n=Ee(t.width),i=Ee(t.height),o=Ee(t.lineHeight),a=Ee(t.borderWidth),s=Ee(t.padding),u=e+a/2+s,l=r+a/2+s,c=n-(a/2+s)*2,d=i-(a/2+s)*2,h=[Xn(u,l),It(u,l+d),It(u+c,l+d),It(u+c,l),Oo(),IR(),DR()],f=cl({x:e,y:r,width:n,height:i,borderWidth:t.borderWidth,color:t.color,borderColor:t.borderColor,rotate:ce(0),xSkew:ce(0),ySkew:ce(0)}),m=[],p=0,g=t.selectedLines.length;p<g;p++){var v=t.textLines[t.selectedLines[p]];m.push.apply(m,cl({x:v.x-s,y:v.y-(o-v.height)/2,width:n-a,height:v.height+(o-v.height)/2,borderWidth:0,color:t.selectedColor,borderColor:void 0,rotate:ce(0),xSkew:ce(0),ySkew:ce(0)}))}var y=Jy(t.textLines,{color:t.textColor,font:t.font,size:t.fontSize,rotate:ce(0),xSkew:ce(0),ySkew:ce(0)}),w=Ie([zR("Tx"),Nt()],y,[jt(),VR()]);return Ie([Nt()],f,m,h,w,[jt()])},tV=function(t){K(e,t);function e(){var r=this,n="Input document to `PDFDocument.load` is encrypted. You can use `PDFDocument.load(..., { ignoreEncryption: true })` if you wish to load the document anyways.";return r=t.call(this,n)||this,r}return e}(Error),rV=function(t){K(e,t);function e(){var r=this,n="Input to `PDFDocument.embedFont` was a custom font, but no `fontkit` instance was found. You must register a `fontkit` instance with `PDFDocument.registerFontkit(...)` before embedding custom fonts.";return r=t.call(this,n)||this,r}return e}(Error),nV=function(t){K(e,t);function e(){var r=this,n="A `page` passed to `PDFDocument.addPage` or `PDFDocument.insertPage` was from a different (foreign) PDF document. If you want to copy pages from one PDFDocument to another, you must use `PDFDocument.copyPages(...)` to copy the pages before adding or inserting them.";return r=t.call(this,n)||this,r}return e}(Error),iV=function(t){K(e,t);function e(){var r=this,n="PDFDocument has no pages so `PDFDocument.removePage` cannot be called";return r=t.call(this,n)||this,r}return e}(Error),oV=function(t){K(e,t);function e(r){var n=this,i='PDFDocument has no form field with the name "'+r+'"';return n=t.call(this,i)||this,n}return e}(Error),Ko=function(t){K(e,t);function e(r,n,i){var o,a,s=this,u=n==null?void 0:n.name,l=(a=(o=i==null?void 0:i.constructor)===null||o===void 0?void 0:o.name)!==null&&a!==void 0?a:i,c='Expected field "'+r+'" to be of type '+u+", "+("but it is actually of type "+l);return s=t.call(this,c)||this,s}return e}(Error);(function(t){K(e,t);function e(r){var n=this,i='Failed to select check box due to missing onValue: "'+r+'"';return n=t.call(this,i)||this,n}return e})(Error);var GR=function(t){K(e,t);function e(r){var n=this,i='A field already exists with the specified name: "'+r+'"';return n=t.call(this,i)||this,n}return e}(Error),aV=function(t){K(e,t);function e(r){var n=this,i='Field name contains invalid component: "'+r+'"';return n=t.call(this,i)||this,n}return e}(Error);(function(t){K(e,t);function e(r){var n=this,i='A non-terminal field already exists with the specified name: "'+r+'"';return n=t.call(this,i)||this,n}return e})(Error);var sV=function(t){K(e,t);function e(r){var n=this,i="Reading rich text fields is not supported: Attempted to read rich text field: "+r;return n=t.call(this,i)||this,n}return e}(Error),lV=function(t){K(e,t);function e(r,n){var i=this,o="Failed to layout combed text as lineLength="+r+" is greater than cellCount="+n;return i=t.call(this,o)||this,i}return e}(Error),uV=function(t){K(e,t);function e(r,n,i){var o=this,a="Attempted to set text with length="+r+" for TextField with maxLength="+n+" and name="+i;return o=t.call(this,a)||this,o}return e}(Error),cV=function(t){K(e,t);function e(r,n,i){var o=this,a="Attempted to set maxLength="+n+", which is less than "+r+", the length of this field's current value (name="+i+")";return o=t.call(this,a)||this,o}return e}(Error),Rt;(function(t){t[t.Left=0]="Left",t[t.Center=1]="Center",t[t.Right=2]="Right"})(Rt||(Rt={}));var XR=4,ZR=500,YR=function(t,e,r,n){n===void 0&&(n=!1);for(var i=XR;i<ZR;){for(var o=0,a=0,s=t.length;a<s;a++){o+=1;for(var u=t[a],l=u.split(" "),c=r.width,d=0,h=l.length;d<h;d++){var f=d===h-1,m=f?l[d]:l[d]+" ",p=e.widthOfTextAtSize(m,i);c-=p,c<=0&&(o+=1,c=r.width-p)}}if(!n&&o>t.length)return i-1;var g=e.heightAtSize(i),v=g+g*.2,y=v*o;if(y>Math.abs(r.height))return i-1;i+=1}return i},dV=function(t,e,r,n){for(var i=r.width/n,o=r.height,a=XR,s=UL(t);a<ZR;){for(var u=0,l=s.length;u<l;u++){var c=s[u],d=e.widthOfTextAtSize(c,a)>i*.75;if(d)return a-1}var h=e.heightAtSize(a,{descender:!1});if(h>o)return a-1;a+=1}return a},fV=function(t){for(var e=t.length;e>0;e--)if(/\s/.test(t[e]))return e},hV=function(t,e,r,n){for(var i,o=t.length;o>0;){var a=t.substring(0,o),s=r.encodeText(a),u=r.widthOfTextAtSize(a,n);if(u<e){var l=t.substring(o)||void 0;return{line:a,encoded:s,width:u,remainder:l}}o=(i=fV(a))!==null&&i!==void 0?i:0}return{line:t,encoded:r.encodeText(t),width:r.widthOfTextAtSize(t,n),remainder:void 0}},JR=function(t,e){var r=e.alignment,n=e.fontSize,i=e.font,o=e.bounds,a=fP(Dc(t));(n===void 0||n===0)&&(n=YR(a,i,o,!0));for(var s=i.heightAtSize(n),u=s+s*.2,l=[],c=o.x,d=o.y,h=o.x+o.width,f=o.y+o.height,m=o.y+o.height,p=0,g=a.length;p<g;p++)for(var v=a[p];v!==void 0;){var y=hV(v,o.width,i,n),w=y.line,S=y.encoded,k=y.width,C=y.remainder,E=r===Rt.Left?o.x:r===Rt.Center?o.x+o.width/2-k/2:r===Rt.Right?o.x+o.width-k:o.x;m-=u,E<c&&(c=E),m<d&&(d=m),E+k>h&&(h=E+k),m+s>f&&(f=m+s),l.push({text:w,encoded:S,width:k,height:s,x:E,y:m}),v=C==null?void 0:C.trim()}return{fontSize:n,lineHeight:u,lines:l,bounds:{x:c,y:d,width:h-c,height:f-d}}},pV=function(t,e){var r=e.fontSize,n=e.font,i=e.bounds,o=e.cellCount,a=hP(Dc(t));if(a.length>o)throw new lV(a.length,o);(r===void 0||r===0)&&(r=dV(a,n,i,o));for(var s=i.width/o,u=n.heightAtSize(r,{descender:!1}),l=i.y+(i.height/2-u/2),c=[],d=i.x,h=i.y,f=i.x+i.width,m=i.y+i.height,p=0,g=0;p<o;){var v=pP(a,g),y=v[0],w=v[1],S=n.encodeText(y),k=n.widthOfTextAtSize(y,r),C=i.x+(s*p+s/2),E=C-k/2;E<d&&(d=E),l<h&&(h=l),E+k>f&&(f=E+k),l+u>m&&(m=l+u),c.push({text:a,encoded:S,width:k,height:u,x:E,y:l}),p+=1,g+=w}return{fontSize:r,cells:c,bounds:{x:d,y:h,width:f-d,height:m-h}}},xh=function(t,e){var r=e.alignment,n=e.fontSize,i=e.font,o=e.bounds,a=hP(Dc(t));(n===void 0||n===0)&&(n=YR([a],i,o));var s=i.encodeText(a),u=i.widthOfTextAtSize(a,n),l=i.heightAtSize(n,{descender:!1}),c=r===Rt.Left?o.x:r===Rt.Center?o.x+o.width/2-u/2:r===Rt.Right?o.x+o.width-u:o.x,d=o.y+(o.height/2-l/2);return{fontSize:n,line:{text:a,encoded:s,width:u,height:l,x:c,y:d},bounds:{x:c,y:d,width:u,height:l}}},Pl=function(t){return"normal"in t?t:{normal:t}},vV=/\/([^\0\t\n\f\r\ ]+)[\0\t\n\f\r\ ]+(\d*\.\d+|\d+)[\0\t\n\f\r\ ]+Tf/,No=function(t){var e,r,n=(e=t.getDefaultAppearance())!==null&&e!==void 0?e:"",i=(r=ky(n,vV).match)!==null&&r!==void 0?r:[],o=Number(i[2]);return isFinite(o)?o:void 0},mV=/(\d*\.\d+|\d+)[\0\t\n\f\r\ ]*(\d*\.\d+|\d+)?[\0\t\n\f\r\ ]*(\d*\.\d+|\d+)?[\0\t\n\f\r\ ]*(\d*\.\d+|\d+)?[\0\t\n\f\r\ ]+(g|rg|k)/,en=function(t){var e,r=(e=t.getDefaultAppearance())!==null&&e!==void 0?e:"",n=ky(r,mV).match,i=n??[],o=i[1],a=i[2],s=i[3],u=i[4],l=i[5];if(l==="g"&&o)return WR(Number(o));if(l==="rg"&&o&&a&&s)return Be(Number(o),Number(a),Number(s));if(l==="k"&&o&&a&&s&&u)return qR(Number(o),Number(a),Number(s),Number(u))},tn=function(t,e,r,n){var i;n===void 0&&(n=0);var o=[Ua(e).toString(),Ky((i=r==null?void 0:r.name)!==null&&i!==void 0?i:"dummy__noop",n).toString()].join(`
353`);t.setDefaultAppearance(o)},gV=function(t,e){var r,n,i,o=en(e),a=en(t.acroField),s=e.getRectangle(),u=e.getAppearanceCharacteristics(),l=e.getBorderStyle(),c=(r=l==null?void 0:l.getWidth())!==null&&r!==void 0?r:0,d=Ei(u==null?void 0:u.getRotation()),h=La(s,d),f=h.width,m=h.height,p=Bo(ve(ve({},s),{rotation:d})),g=Be(0,0,0),v=(n=ur(u==null?void 0:u.getBorderColor()))!==null&&n!==void 0?n:g,y=ur(u==null?void 0:u.getBackgroundColor()),w=ur(u==null?void 0:u.getBackgroundColor(),.8),S=(i=o??a)!==null&&i!==void 0?i:g;tn(o?e:t.acroField,S);var k={x:0+c/2,y:0+c/2,width:f-c,height:m-c,thickness:1.5,borderWidth:c,borderColor:v,markColor:S};return{normal:{on:Ie(p,Vd(ve(ve({},k),{color:y,filled:!0}))),off:Ie(p,Vd(ve(ve({},k),{color:y,filled:!1})))},down:{on:Ie(p,Vd(ve(ve({},k),{color:w,filled:!0}))),off:Ie(p,Vd(ve(ve({},k),{color:w,filled:!1})))}}},yV=function(t,e){var r,n,i,o=en(e),a=en(t.acroField),s=e.getRectangle(),u=e.getAppearanceCharacteristics(),l=e.getBorderStyle(),c=(r=l==null?void 0:l.getWidth())!==null&&r!==void 0?r:0,d=Ei(u==null?void 0:u.getRotation()),h=La(s,d),f=h.width,m=h.height,p=Bo(ve(ve({},s),{rotation:d})),g=Be(0,0,0),v=(n=ur(u==null?void 0:u.getBorderColor()))!==null&&n!==void 0?n:g,y=ur(u==null?void 0:u.getBackgroundColor()),w=ur(u==null?void 0:u.getBackgroundColor(),.8),S=(i=o??a)!==null&&i!==void 0?i:g;tn(o?e:t.acroField,S);var k={x:f/2,y:m/2,width:f-c,height:m-c,borderWidth:c,borderColor:v,dotColor:S};return{normal:{on:Ie(p,Wd(ve(ve({},k),{color:y,filled:!0}))),off:Ie(p,Wd(ve(ve({},k),{color:y,filled:!1})))},down:{on:Ie(p,Wd(ve(ve({},k),{color:w,filled:!0}))),off:Ie(p,Wd(ve(ve({},k),{color:w,filled:!1})))}}},wV=function(t,e,r){var n,i,o,a,s,u=en(e),l=en(t.acroField),c=No(e),d=No(t.acroField),h=e.getRectangle(),f=e.getAppearanceCharacteristics(),m=e.getBorderStyle(),p=f==null?void 0:f.getCaptions(),g=(n=p==null?void 0:p.normal)!==null&&n!==void 0?n:"",v=(o=(i=p==null?void 0:p.down)!==null&&i!==void 0?i:g)!==null&&o!==void 0?o:"",y=(a=m==null?void 0:m.getWidth())!==null&&a!==void 0?a:0,w=Ei(f==null?void 0:f.getRotation()),S=La(h,w),k=S.width,C=S.height,E=Bo(ve(ve({},h),{rotation:w})),R=Be(0,0,0),A=ur(f==null?void 0:f.getBorderColor()),_=ur(f==null?void 0:f.getBackgroundColor()),O=ur(f==null?void 0:f.getBackgroundColor(),.8),D={x:y,y,width:k-y*2,height:C-y*2},M=xh(g,{alignment:Rt.Center,fontSize:c??d,font:r,bounds:D}),L=xh(v,{alignment:Rt.Center,fontSize:c??d,font:r,bounds:D}),N=Math.min(M.fontSize,L.fontSize),j=(s=u??l)!==null&&s!==void 0?s:R;tn(u||c!==void 0?e:t.acroField,j,r,N);var V={x:0+y/2,y:0+y/2,width:k-y,height:C-y,borderWidth:y,borderColor:A,textColor:j,font:r.name,fontSize:N};return{normal:Ie(E,vS(ve(ve({},V),{color:_,textLines:[M.line]}))),down:Ie(E,vS(ve(ve({},V),{color:O,textLines:[L.line]})))}},bV=function(t,e,r){var n,i,o,a,s=en(e),u=en(t.acroField),l=No(e),c=No(t.acroField),d=e.getRectangle(),h=e.getAppearanceCharacteristics(),f=e.getBorderStyle(),m=(n=t.getText())!==null&&n!==void 0?n:"",p=(i=f==null?void 0:f.getWidth())!==null&&i!==void 0?i:0,g=Ei(h==null?void 0:h.getRotation()),v=La(d,g),y=v.width,w=v.height,S=Bo(ve(ve({},d),{rotation:g})),k=Be(0,0,0),C=ur(h==null?void 0:h.getBorderColor()),E=ur(h==null?void 0:h.getBackgroundColor()),R,A,_=t.isCombed()?0:1,O={x:p+_,y:p+_,width:y-(p+_)*2,height:w-(p+_)*2};if(t.isMultiline()){var D=JR(m,{alignment:t.getAlignment(),fontSize:l??c,font:r,bounds:O});R=D.lines,A=D.fontSize}else if(t.isCombed()){var D=pV(m,{fontSize:l??c,font:r,bounds:O,cellCount:(o=t.getMaxLength())!==null&&o!==void 0?o:0});R=D.cells,A=D.fontSize}else{var D=xh(m,{alignment:t.getAlignment(),fontSize:l??c,font:r,bounds:O});R=[D.line],A=D.fontSize}var M=(a=s??u)!==null&&a!==void 0?a:k;tn(s||l!==void 0?e:t.acroField,M,r,A);var L={x:0+p/2,y:0+p/2,width:y-p,height:w-p,borderWidth:p??0,borderColor:C,textColor:M,font:r.name,fontSize:A,color:E,textLines:R,padding:_};return Ie(S,KR(L))},xV=function(t,e,r){var n,i,o,a=en(e),s=en(t.acroField),u=No(e),l=No(t.acroField),c=e.getRectangle(),d=e.getAppearanceCharacteristics(),h=e.getBorderStyle(),f=(n=t.getSelected()[0])!==null&&n!==void 0?n:"",m=(i=h==null?void 0:h.getWidth())!==null&&i!==void 0?i:0,p=Ei(d==null?void 0:d.getRotation()),g=La(c,p),v=g.width,y=g.height,w=Bo(ve(ve({},c),{rotation:p})),S=Be(0,0,0),k=ur(d==null?void 0:d.getBorderColor()),C=ur(d==null?void 0:d.getBackgroundColor()),E=1,R={x:m+E,y:m+E,width:v-(m+E)*2,height:y-(m+E)*2},A=xh(f,{alignment:Rt.Left,fontSize:u??l,font:r,bounds:R}),_=A.line,O=A.fontSize,D=(o=a??s)!==null&&o!==void 0?o:S;tn(a||u!==void 0?e:t.acroField,D,r,O);var M={x:0+m/2,y:0+m/2,width:v-m,height:y-m,borderWidth:m??0,borderColor:k,textColor:D,font:r.name,fontSize:O,color:C,textLines:[_],padding:E};return Ie(w,KR(M))},SV=function(t,e,r){var n,i,o=en(e),a=en(t.acroField),s=No(e),u=No(t.acroField),l=e.getRectangle(),c=e.getAppearanceCharacteristics(),d=e.getBorderStyle(),h=(n=d==null?void 0:d.getWidth())!==null&&n!==void 0?n:0,f=Ei(c==null?void 0:c.getRotation()),m=La(l,f),p=m.width,g=m.height,v=Bo(ve(ve({},l),{rotation:f})),y=Be(0,0,0),w=ur(c==null?void 0:c.getBorderColor()),S=ur(c==null?void 0:c.getBackgroundColor()),k=t.getOptions(),C=t.getSelected();t.isSorted()&&k.sort();for(var E="",R=0,A=k.length;R<A;R++)E+=k[R],R<A-1&&(E+=`
354`);for(var _=1,O={x:h+_,y:h+_,width:p-(h+_)*2,height:g-(h+_)*2},D=JR(E,{alignment:Rt.Left,fontSize:s??u,font:r,bounds:O}),M=D.lines,L=D.fontSize,N=D.lineHeight,j=[],R=0,A=M.length;R<A;R++){var V=M[R];C.includes(V.text)&&j.push(R)}var I=Be(153/255,193/255,218/255),B=(i=o??a)!==null&&i!==void 0?i:y;return tn(o||s!==void 0?e:t.acroField,B,r,L),Ie(v,eV({x:0+h/2,y:0+h/2,width:p-h,height:g-h,borderWidth:h??0,borderColor:w,textColor:B,font:r.name,fontSize:L,color:S,textLines:M,lineHeight:N,selectedColor:I,selectedLines:j,padding:_}))},QR=function(){function t(e,r,n){this.alreadyEmbedded=!1,F(e,"ref",[[Ze,"PDFRef"]]),F(r,"doc",[[_a,"PDFDocument"]]),F(n,"embedder",[[kR,"PDFPageEmbedder"]]),this.ref=e,this.doc=r,this.width=n.width,this.height=n.height,this.embedder=n}return t.prototype.scale=function(e){return F(e,"factor",["number"]),{width:this.width*e,height:this.height*e}},t.prototype.size=function(){return this.scale(1)},t.prototype.embed=function(){return ke(this,void 0,void 0,function(){return Ce(this,function(e){switch(e.label){case 0:return this.alreadyEmbedded?[3,2]:[4,this.embedder.embedIntoContext(this.doc.context,this.ref)];case 1:e.sent(),this.alreadyEmbedded=!0,e.label=2;case 2:return[2]}})})},t.of=function(e,r,n){return new t(e,r,n)},t}(),Fr=function(){function t(e,r,n){this.modified=!0,F(e,"ref",[[Ze,"PDFRef"]]),F(r,"doc",[[_a,"PDFDocument"]]),F(n,"embedder",[[My,"CustomFontEmbedder"],[hh,"StandardFontEmbedder"]]),this.ref=e,this.doc=r,this.name=n.fontName,this.embedder=n}return t.prototype.encodeText=function(e){return F(e,"text",["string"]),this.modified=!0,this.embedder.encodeText(e)},t.prototype.widthOfTextAtSize=function(e,r){return F(e,"text",["string"]),F(r,"size",["number"]),this.embedder.widthOfTextAtSize(e,r)},t.prototype.heightAtSize=function(e,r){var n;return F(e,"size",["number"]),H(r==null?void 0:r.descender,"options.descender",["boolean"]),this.embedder.heightOfFontAtSize(e,{descender:(n=r==null?void 0:r.descender)!==null&&n!==void 0?n:!0})},t.prototype.sizeAtHeight=function(e){return F(e,"height",["number"]),this.embedder.sizeOfFontAtHeight(e)},t.prototype.getCharacterSet=function(){return this.embedder instanceof hh?this.embedder.encoding.supportedCodePoints:this.embedder.font.characterSet},t.prototype.embed=function(){return ke(this,void 0,void 0,function(){return Ce(this,function(e){switch(e.label){case 0:return this.modified?[4,this.embedder.embedIntoContext(this.doc.context,this.ref)]:[3,2];case 1:e.sent(),this.modified=!1,e.label=2;case 2:return[2]}})})},t.of=function(e,r,n){return new t(e,r,n)},t}(),qm=function(){function t(e,r,n){F(e,"ref",[[Ze,"PDFRef"]]),F(r,"doc",[[_a,"PDFDocument"]]),F(n,"embedder",[[wR,"JpegEmbedder"],[bR,"PngEmbedder"]]),this.ref=e,this.doc=r,this.width=n.width,this.height=n.height,this.embedder=n}return t.prototype.scale=function(e){return F(e,"factor",["number"]),{width:this.width*e,height:this.height*e}},t.prototype.scaleToFit=function(e,r){F(e,"width",["number"]),F(r,"height",["number"]);var n=e/this.width,i=r/this.height,o=Math.min(n,i);return this.scale(o)},t.prototype.size=function(){return this.scale(1)},t.prototype.embed=function(){return ke(this,void 0,void 0,function(){var e,r,n;return Ce(this,function(i){switch(i.label){case 0:return this.embedder?(this.embedTask||(e=this,r=e.doc,n=e.ref,this.embedTask=this.embedder.embedIntoContext(r.context,n)),[4,this.embedTask]):[2];case 1:return i.sent(),this.embedder=void 0,[2]}})})},t.of=function(e,r,n){return new t(e,r,n)},t}(),ko;(function(t){t[t.Left=0]="Left",t[t.Center=1]="Center",t[t.Right=2]="Right"})(ko||(ko={}));var Rl=function(t){H(t==null?void 0:t.x,"options.x",["number"]),H(t==null?void 0:t.y,"options.y",["number"]),H(t==null?void 0:t.width,"options.width",["number"]),H(t==null?void 0:t.height,"options.height",["number"]),H(t==null?void 0:t.textColor,"options.textColor",[[Object,"Color"]]),H(t==null?void 0:t.backgroundColor,"options.backgroundColor",[[Object,"Color"]]),H(t==null?void 0:t.borderColor,"options.borderColor",[[Object,"Color"]]),H(t==null?void 0:t.borderWidth,"options.borderWidth",["number"]),H(t==null?void 0:t.rotate,"options.rotate",[[Object,"Rotation"]])},za=function(){function t(e,r,n){F(e,"acroField",[[El,"PDFAcroTerminal"]]),F(r,"ref",[[Ze,"PDFRef"]]),F(n,"doc",[[_a,"PDFDocument"]]),this.acroField=e,this.ref=r,this.doc=n}return t.prototype.getName=function(){var e;return(e=this.acroField.getFullyQualifiedName())!==null&&e!==void 0?e:""},t.prototype.isReadOnly=function(){return this.acroField.hasFlag(hn.ReadOnly)},t.prototype.enableReadOnly=function(){this.acroField.setFlagTo(hn.ReadOnly,!0)},t.prototype.disableReadOnly=function(){this.acroField.setFlagTo(hn.ReadOnly,!1)},t.prototype.isRequired=function(){return this.acroField.hasFlag(hn.Required)},t.prototype.enableRequired=function(){this.acroField.setFlagTo(hn.Required,!0)},t.prototype.disableRequired=function(){this.acroField.setFlagTo(hn.Required,!1)},t.prototype.isExported=function(){return!this.acroField.hasFlag(hn.NoExport)},t.prototype.enableExporting=function(){this.acroField.setFlagTo(hn.NoExport,!1)},t.prototype.disableExporting=function(){this.acroField.setFlagTo(hn.NoExport,!0)},t.prototype.needsAppearancesUpdate=function(){throw new Kr(this.constructor.name,"needsAppearancesUpdate")},t.prototype.defaultUpdateAppearances=function(e){throw new Kr(this.constructor.name,"defaultUpdateAppearances")},t.prototype.markAsDirty=function(){this.doc.getForm().markFieldAsDirty(this.ref)},t.prototype.markAsClean=function(){this.doc.getForm().markFieldAsClean(this.ref)},t.prototype.isDirty=function(){return this.doc.getForm().fieldIsDirty(this.ref)},t.prototype.createWidget=function(e){var r,n=e.textColor,i=e.backgroundColor,o=e.borderColor,a=e.borderWidth,s=FR(e.rotate),u=e.caption,l=e.x,c=e.y,d=e.width+a,h=e.height+a,f=!!e.hidden,m=e.page;fR(s,"degreesAngle",90);var p=zm.create(this.doc.context,this.ref),g=N6({x:l,y:c,width:d,height:h},a,s);p.setRectangle(g),m&&p.setP(m);var v=p.getOrCreateAppearanceCharacteristics();i&&v.setBackgroundColor(dS(i)),v.setRotation(s),u&&v.setCaptions({normal:u}),o&&v.setBorderColor(dS(o));var y=p.getOrCreateBorderStyle();if(a!==void 0&&y.setWidth(a),p.setFlagTo(ju.Print,!0),p.setFlagTo(ju.Hidden,f),p.setFlagTo(ju.Invisible,!1),n){var w=(r=this.acroField.getDefaultAppearance())!==null&&r!==void 0?r:"",S=w+`
355`+Ua(n).toString();this.acroField.setDefaultAppearance(S)}return p},t.prototype.updateWidgetAppearanceWithFont=function(e,r,n){var i=n.normal,o=n.rollover,a=n.down;this.updateWidgetAppearances(e,{normal:this.createAppearanceStream(e,i,r),rollover:o&&this.createAppearanceStream(e,o,r),down:a&&this.createAppearanceStream(e,a,r)})},t.prototype.updateOnOffWidgetAppearance=function(e,r,n){var i=n.normal,o=n.rollover,a=n.down;this.updateWidgetAppearances(e,{normal:this.createAppearanceDict(e,i,r),rollover:o&&this.createAppearanceDict(e,o,r),down:a&&this.createAppearanceDict(e,a,r)})},t.prototype.updateWidgetAppearances=function(e,r){var n=r.normal,i=r.rollover,o=r.down;e.setNormalAppearance(n),i?e.setRolloverAppearance(i):e.removeRolloverAppearance(),o?e.setDownAppearance(o):e.removeDownAppearance()},t.prototype.createAppearanceStream=function(e,r,n){var i,o=this.acroField.dict.context,a=e.getRectangle(),s=a.width,u=a.height,l=n&&{Font:(i={},i[n.name]=n.ref,i)},c=o.formXObject(r,{Resources:l,BBox:o.obj([0,0,s,u]),Matrix:o.obj([1,0,0,1,0,0])}),d=o.register(c);return d},t.prototype.createImageAppearanceStream=function(e,r,n){var i,o,a=this.acroField.dict.context,s=e.getRectangle(),u=e.getAppearanceCharacteristics(),l=e.getBorderStyle(),c=(o=l==null?void 0:l.getWidth())!==null&&o!==void 0?o:0,d=Ei(u==null?void 0:u.getRotation()),h=Bo(ve(ve({},s),{rotation:d})),f=La(s,d),m=r.scaleToFit(f.width-c*2,f.height-c*2),p={x:c,y:c,width:m.width,height:m.height,rotate:ce(0),xSkew:ce(0),ySkew:ce(0)};n===ko.Center?(p.x+=(f.width-c*2)/2-m.width/2,p.y+=(f.height-c*2)/2-m.height/2):n===ko.Right&&(p.x=f.width-c-m.width,p.y=f.height-c-m.height);var g=this.doc.context.addRandomSuffix("Image",10),v=Ie(h,HR(g,p)),y={XObject:(i={},i[g]=r.ref,i)},w=a.formXObject(v,{Resources:y,BBox:a.obj([0,0,s.width,s.height]),Matrix:a.obj([1,0,0,1,0,0])});return a.register(w)},t.prototype.createAppearanceDict=function(e,r,n){var i=this.acroField.dict.context,o=this.createAppearanceStream(e,r.on),a=this.createAppearanceStream(e,r.off),s=i.obj({});return s.set(n,o),s.set(T.of("Off"),a),s},t}(),cu=function(t){K(e,t);function e(r,n,i){var o=t.call(this,r,n,i)||this;return F(r,"acroCheckBox",[[yp,"PDFAcroCheckBox"]]),o.acroField=r,o}return e.prototype.check=function(){var r,n=(r=this.acroField.getOnValue())!==null&&r!==void 0?r:T.of("Yes");this.markAsDirty(),this.acroField.setValue(n)},e.prototype.uncheck=function(){this.markAsDirty(),this.acroField.setValue(T.of("Off"))},e.prototype.isChecked=function(){var r=this.acroField.getOnValue();return!!r&&r===this.acroField.getValue()},e.prototype.addToPage=function(r,n){var i,o,a,s,u,l;F(r,"page",[[qr,"PDFPage"]]),Rl(n),n||(n={}),"textColor"in n||(n.textColor=Be(0,0,0)),"backgroundColor"in n||(n.backgroundColor=Be(1,1,1)),"borderColor"in n||(n.borderColor=Be(0,0,0)),"borderWidth"in n||(n.borderWidth=1);var c=this.createWidget({x:(i=n.x)!==null&&i!==void 0?i:0,y:(o=n.y)!==null&&o!==void 0?o:0,width:(a=n.width)!==null&&a!==void 0?a:50,height:(s=n.height)!==null&&s!==void 0?s:50,textColor:n.textColor,backgroundColor:n.backgroundColor,borderColor:n.borderColor,borderWidth:(u=n.borderWidth)!==null&&u!==void 0?u:0,rotate:(l=n.rotate)!==null&&l!==void 0?l:ce(0),hidden:n.hidden,page:r.ref}),d=this.doc.context.register(c.dict);this.acroField.addWidget(d),c.setAppearanceState(T.of("Off")),this.updateWidgetAppearance(c,T.of("Yes")),r.node.addAnnot(d)},e.prototype.needsAppearancesUpdate=function(){for(var r,n=this.acroField.getWidgets(),i=0,o=n.length;i<o;i++){var a=n[i],s=a.getAppearanceState(),u=(r=a.getAppearances())===null||r===void 0?void 0:r.normal;if(!(u instanceof ge)||s&&!u.has(s))return!0}return!1},e.prototype.defaultUpdateAppearances=function(){this.updateAppearances()},e.prototype.updateAppearances=function(r){var n;H(r,"provider",[Function]);for(var i=this.acroField.getWidgets(),o=0,a=i.length;o<a;o++){var s=i[o],u=(n=s.getOnValue())!==null&&n!==void 0?n:T.of("Yes");u&&this.updateWidgetAppearance(s,u,r)}this.markAsClean()},e.prototype.updateWidgetAppearance=function(r,n,i){var o=i??gV,a=Pl(o(this,r));this.updateOnOffWidgetAppearance(r,n,a)},e.of=function(r,n,i){return new e(r,n,i)},e}(za),vf=function(t){K(e,t);function e(r,n,i){var o=t.call(this,r,n,i)||this;return F(r,"acroComboBox",[[wp,"PDFAcroComboBox"]]),o.acroField=r,o}return e.prototype.getOptions=function(){for(var r=this.acroField.getOptions(),n=new Array(r.length),i=0,o=n.length;i<o;i++){var a=r[i],s=a.display,u=a.value;n[i]=(s??u).decodeText()}return n},e.prototype.getSelected=function(){for(var r=this.acroField.getValues(),n=new Array(r.length),i=0,o=r.length;i<o;i++)n[i]=r[i].decodeText();return n},e.prototype.setOptions=function(r){F(r,"options",[Array]);for(var n=new Array(r.length),i=0,o=r.length;i<o;i++)n[i]={value:le.fromText(r[i])};this.acroField.setOptions(n)},e.prototype.addOptions=function(r){F(r,"options",["string",Array]);for(var n=Array.isArray(r)?r:[r],i=this.acroField.getOptions(),o=new Array(n.length),a=0,s=n.length;a<s;a++)o[a]={value:le.fromText(n[a])};this.acroField.setOptions(i.concat(o))},e.prototype.select=function(r,n){n===void 0&&(n=!1),F(r,"options",["string",Array]),F(n,"merge",["boolean"]);var i=Array.isArray(r)?r:[r],o=this.getOptions(),a=i.find(function(d){return!o.includes(d)});a&&this.enableEditing(),this.markAsDirty(),(i.length>1||i.length===1&&n)&&this.enableMultiselect();for(var s=new Array(i.length),u=0,l=i.length;u<l;u++)s[u]=le.fromText(i[u]);if(n){var c=this.acroField.getValues();this.acroField.setValues(c.concat(s))}else this.acroField.setValues(s)},e.prototype.clear=function(){this.markAsDirty(),this.acroField.setValues([])},e.prototype.setFontSize=function(r){mp(r,"fontSize"),this.acroField.setFontSize(r),this.markAsDirty()},e.prototype.isEditable=function(){return this.acroField.hasFlag(Ge.Edit)},e.prototype.enableEditing=function(){this.acroField.setFlagTo(Ge.Edit,!0)},e.prototype.disableEditing=function(){this.acroField.setFlagTo(Ge.Edit,!1)},e.prototype.isSorted=function(){return this.acroField.hasFlag(Ge.Sort)},e.prototype.enableSorting=function(){this.acroField.setFlagTo(Ge.Sort,!0)},e.prototype.disableSorting=function(){this.acroField.setFlagTo(Ge.Sort,!1)},e.prototype.isMultiselect=function(){return this.acroField.hasFlag(Ge.MultiSelect)},e.prototype.enableMultiselect=function(){this.acroField.setFlagTo(Ge.MultiSelect,!0)},e.prototype.disableMultiselect=function(){this.acroField.setFlagTo(Ge.MultiSelect,!1)},e.prototype.isSpellChecked=function(){return!this.acroField.hasFlag(Ge.DoNotSpellCheck)},e.prototype.enableSpellChecking=function(){this.acroField.setFlagTo(Ge.DoNotSpellCheck,!1)},e.prototype.disableSpellChecking=function(){this.acroField.setFlagTo(Ge.DoNotSpellCheck,!0)},e.prototype.isSelectOnClick=function(){return this.acroField.hasFlag(Ge.CommitOnSelChange)},e.prototype.enableSelectOnClick=function(){this.acroField.setFlagTo(Ge.CommitOnSelChange,!0)},e.prototype.disableSelectOnClick=function(){this.acroField.setFlagTo(Ge.CommitOnSelChange,!1)},e.prototype.addToPage=function(r,n){var i,o,a,s,u,l,c;F(r,"page",[[qr,"PDFPage"]]),Rl(n),n||(n={}),"textColor"in n||(n.textColor=Be(0,0,0)),"backgroundColor"in n||(n.backgroundColor=Be(1,1,1)),"borderColor"in n||(n.borderColor=Be(0,0,0)),"borderWidth"in n||(n.borderWidth=1);var d=this.createWidget({x:(i=n.x)!==null&&i!==void 0?i:0,y:(o=n.y)!==null&&o!==void 0?o:0,width:(a=n.width)!==null&&a!==void 0?a:200,height:(s=n.height)!==null&&s!==void 0?s:50,textColor:n.textColor,backgroundColor:n.backgroundColor,borderColor:n.borderColor,borderWidth:(u=n.borderWidth)!==null&&u!==void 0?u:0,rotate:(l=n.rotate)!==null&&l!==void 0?l:ce(0),hidden:n.hidden,page:r.ref}),h=this.doc.context.register(d.dict);this.acroField.addWidget(h);var f=(c=n.font)!==null&&c!==void 0?c:this.doc.getForm().getDefaultFont();this.updateWidgetAppearance(d,f),r.node.addAnnot(h)},e.prototype.needsAppearancesUpdate=function(){var r;if(this.isDirty())return!0;for(var n=this.acroField.getWidgets(),i=0,o=n.length;i<o;i++){var a=n[i],s=((r=a.getAppearances())===null||r===void 0?void 0:r.normal)instanceof _r;if(!s)return!0}return!1},e.prototype.defaultUpdateAppearances=function(r){F(r,"font",[[Fr,"PDFFont"]]),this.updateAppearances(r)},e.prototype.updateAppearances=function(r,n){F(r,"font",[[Fr,"PDFFont"]]),H(n,"provider",[Function]);for(var i=this.acroField.getWidgets(),o=0,a=i.length;o<a;o++){var s=i[o];this.updateWidgetAppearance(s,r,n)}this.markAsClean()},e.prototype.updateWidgetAppearance=function(r,n,i){var o=i??xV,a=Pl(o(this,r,n));this.updateWidgetAppearanceWithFont(r,n,a)},e.of=function(r,n,i){return new e(r,n,i)},e}(za),mf=function(t){K(e,t);function e(r,n,i){var o=t.call(this,r,n,i)||this;return F(r,"acroListBox",[[kp,"PDFAcroListBox"]]),o.acroField=r,o}return e.prototype.getOptions=function(){for(var r=this.acroField.getOptions(),n=new Array(r.length),i=0,o=n.length;i<o;i++){var a=r[i],s=a.display,u=a.value;n[i]=(s??u).decodeText()}return n},e.prototype.getSelected=function(){for(var r=this.acroField.getValues(),n=new Array(r.length),i=0,o=r.length;i<o;i++)n[i]=r[i].decodeText();return n},e.prototype.setOptions=function(r){F(r,"options",[Array]),this.markAsDirty();for(var n=new Array(r.length),i=0,o=r.length;i<o;i++)n[i]={value:le.fromText(r[i])};this.acroField.setOptions(n)},e.prototype.addOptions=function(r){F(r,"options",["string",Array]),this.markAsDirty();for(var n=Array.isArray(r)?r:[r],i=this.acroField.getOptions(),o=new Array(n.length),a=0,s=n.length;a<s;a++)o[a]={value:le.fromText(n[a])};this.acroField.setOptions(i.concat(o))},e.prototype.select=function(r,n){n===void 0&&(n=!1),F(r,"options",["string",Array]),F(n,"merge",["boolean"]);var i=Array.isArray(r)?r:[r],o=this.getOptions();bz(i,"option",o),this.markAsDirty(),(i.length>1||i.length===1&&n)&&this.enableMultiselect();for(var a=new Array(i.length),s=0,u=i.length;s<u;s++)a[s]=le.fromText(i[s]);if(n){var l=this.acroField.getValues();this.acroField.setValues(l.concat(a))}else this.acroField.setValues(a)},e.prototype.clear=function(){this.markAsDirty(),this.acroField.setValues([])},e.prototype.setFontSize=function(r){mp(r,"fontSize"),this.acroField.setFontSize(r),this.markAsDirty()},e.prototype.isSorted=function(){return this.acroField.hasFlag(Ge.Sort)},e.prototype.enableSorting=function(){this.acroField.setFlagTo(Ge.Sort,!0)},e.prototype.disableSorting=function(){this.acroField.setFlagTo(Ge.Sort,!1)},e.prototype.isMultiselect=function(){return this.acroField.hasFlag(Ge.MultiSelect)},e.prototype.enableMultiselect=function(){this.acroField.setFlagTo(Ge.MultiSelect,!0)},e.prototype.disableMultiselect=function(){this.acroField.setFlagTo(Ge.MultiSelect,!1)},e.prototype.isSelectOnClick=function(){return this.acroField.hasFlag(Ge.CommitOnSelChange)},e.prototype.enableSelectOnClick=function(){this.acroField.setFlagTo(Ge.CommitOnSelChange,!0)},e.prototype.disableSelectOnClick=function(){this.acroField.setFlagTo(Ge.CommitOnSelChange,!1)},e.prototype.addToPage=function(r,n){var i,o,a,s,u,l,c;F(r,"page",[[qr,"PDFPage"]]),Rl(n),n||(n={}),"textColor"in n||(n.textColor=Be(0,0,0)),"backgroundColor"in n||(n.backgroundColor=Be(1,1,1)),"borderColor"in n||(n.borderColor=Be(0,0,0)),"borderWidth"in n||(n.borderWidth=1);var d=this.createWidget({x:(i=n.x)!==null&&i!==void 0?i:0,y:(o=n.y)!==null&&o!==void 0?o:0,width:(a=n.width)!==null&&a!==void 0?a:200,height:(s=n.height)!==null&&s!==void 0?s:100,textColor:n.textColor,backgroundColor:n.backgroundColor,borderColor:n.borderColor,borderWidth:(u=n.borderWidth)!==null&&u!==void 0?u:0,rotate:(l=n.rotate)!==null&&l!==void 0?l:ce(0),hidden:n.hidden,page:r.ref}),h=this.doc.context.register(d.dict);this.acroField.addWidget(h);var f=(c=n.font)!==null&&c!==void 0?c:this.doc.getForm().getDefaultFont();this.updateWidgetAppearance(d,f),r.node.addAnnot(h)},e.prototype.needsAppearancesUpdate=function(){var r;if(this.isDirty())return!0;for(var n=this.acroField.getWidgets(),i=0,o=n.length;i<o;i++){var a=n[i],s=((r=a.getAppearances())===null||r===void 0?void 0:r.normal)instanceof _r;if(!s)return!0}return!1},e.prototype.defaultUpdateAppearances=function(r){F(r,"font",[[Fr,"PDFFont"]]),this.updateAppearances(r)},e.prototype.updateAppearances=function(r,n){F(r,"font",[[Fr,"PDFFont"]]),H(n,"provider",[Function]);for(var i=this.acroField.getWidgets(),o=0,a=i.length;o<a;o++){var s=i[o];this.updateWidgetAppearance(s,r,n)}this.markAsClean()},e.prototype.updateWidgetAppearance=function(r,n,i){var o=i??SV,a=Pl(o(this,r,n));this.updateWidgetAppearanceWithFont(r,n,a)},e.of=function(r,n,i){return new e(r,n,i)},e}(za),du=function(t){K(e,t);function e(r,n,i){var o=t.call(this,r,n,i)||this;return F(r,"acroRadioButton",[[Sp,"PDFAcroRadioButton"]]),o.acroField=r,o}return e.prototype.getOptions=function(){var r=this.acroField.getExportValues();if(r){for(var n=new Array(r.length),i=0,o=r.length;i<o;i++)n[i]=r[i].decodeText();return n}for(var a=this.acroField.getOnValues(),s=new Array(a.length),i=0,o=s.length;i<o;i++)s[i]=a[i].decodeText();return s},e.prototype.getSelected=function(){var r=this.acroField.getValue();if(r!==T.of("Off")){var n=this.acroField.getExportValues();if(n){for(var i=this.acroField.getOnValues(),o=0,a=i.length;o<a;o++)if(i[o]===r)return n[o].decodeText()}return r.decodeText()}},e.prototype.select=function(r){F(r,"option",["string"]);var n=this.getOptions();lo(r,"option",n),this.markAsDirty();var i=this.acroField.getOnValues(),o=this.acroField.getExportValues();if(o)for(var a=0,s=o.length;a<s;a++)o[a].decodeText()===r&&this.acroField.setValue(i[a]);else for(var a=0,s=i.length;a<s;a++){var u=i[a];u.decodeText()===r&&this.acroField.setValue(u)}},e.prototype.clear=function(){this.markAsDirty(),this.acroField.setValue(T.of("Off"))},e.prototype.isOffToggleable=function(){return!this.acroField.hasFlag(Wr.NoToggleToOff)},e.prototype.enableOffToggling=function(){this.acroField.setFlagTo(Wr.NoToggleToOff,!1)},e.prototype.disableOffToggling=function(){this.acroField.setFlagTo(Wr.NoToggleToOff,!0)},e.prototype.isMutuallyExclusive=function(){return!this.acroField.hasFlag(Wr.RadiosInUnison)},e.prototype.enableMutualExclusion=function(){this.acroField.setFlagTo(Wr.RadiosInUnison,!1)},e.prototype.disableMutualExclusion=function(){this.acroField.setFlagTo(Wr.RadiosInUnison,!0)},e.prototype.addOptionToPage=function(r,n,i){var o,a,s,u,l,c,d,h,f;F(r,"option",["string"]),F(n,"page",[[qr,"PDFPage"]]),Rl(i);var m=this.createWidget({x:(o=i==null?void 0:i.x)!==null&&o!==void 0?o:0,y:(a=i==null?void 0:i.y)!==null&&a!==void 0?a:0,width:(s=i==null?void 0:i.width)!==null&&s!==void 0?s:50,height:(u=i==null?void 0:i.height)!==null&&u!==void 0?u:50,textColor:(l=i==null?void 0:i.textColor)!==null&&l!==void 0?l:Be(0,0,0),backgroundColor:(c=i==null?void 0:i.backgroundColor)!==null&&c!==void 0?c:Be(1,1,1),borderColor:(d=i==null?void 0:i.borderColor)!==null&&d!==void 0?d:Be(0,0,0),borderWidth:(h=i==null?void 0:i.borderWidth)!==null&&h!==void 0?h:1,rotate:(f=i==null?void 0:i.rotate)!==null&&f!==void 0?f:ce(0),hidden:i==null?void 0:i.hidden,page:n.ref}),p=this.doc.context.register(m.dict),g=this.acroField.addWidgetWithOpt(p,le.fromText(r),!this.isMutuallyExclusive());m.setAppearanceState(T.of("Off")),this.updateWidgetAppearance(m,g),n.node.addAnnot(p)},e.prototype.needsAppearancesUpdate=function(){for(var r,n=this.acroField.getWidgets(),i=0,o=n.length;i<o;i++){var a=n[i],s=a.getAppearanceState(),u=(r=a.getAppearances())===null||r===void 0?void 0:r.normal;if(!(u instanceof ge)||s&&!u.has(s))return!0}return!1},e.prototype.defaultUpdateAppearances=function(){this.updateAppearances()},e.prototype.updateAppearances=function(r){H(r,"provider",[Function]);for(var n=this.acroField.getWidgets(),i=0,o=n.length;i<o;i++){var a=n[i],s=a.getOnValue();s&&this.updateWidgetAppearance(a,s,r)}},e.prototype.updateWidgetAppearance=function(r,n,i){var o=i??yV,a=Pl(o(this,r));this.updateOnOffWidgetAppearance(r,n,a)},e.of=function(r,n,i){return new e(r,n,i)},e}(za),Hm=function(t){K(e,t);function e(r,n,i){var o=t.call(this,r,n,i)||this;return F(r,"acroSignature",[[By,"PDFAcroSignature"]]),o.acroField=r,o}return e.prototype.needsAppearancesUpdate=function(){return!1},e.of=function(r,n,i){return new e(r,n,i)},e}(za),gf=function(t){K(e,t);function e(r,n,i){var o=t.call(this,r,n,i)||this;return F(r,"acroText",[[bp,"PDFAcroText"]]),o.acroField=r,o}return e.prototype.getText=function(){var r=this.acroField.getValue();if(!r&&this.isRichFormatted())throw new sV(this.getName());return r==null?void 0:r.decodeText()},e.prototype.setText=function(r){H(r,"text",["string"]);var n=this.getMaxLength();if(n!==void 0&&r&&r.length>n)throw new uV(r.length,n,this.getName());this.markAsDirty(),this.disableRichFormatting(),r?this.acroField.setValue(le.fromText(r)):this.acroField.removeValue()},e.prototype.getAlignment=function(){var r=this.acroField.getQuadding();return r===0?Rt.Left:r===1?Rt.Center:r===2?Rt.Right:Rt.Left},e.prototype.setAlignment=function(r){lo(r,"alignment",Rt),this.markAsDirty(),this.acroField.setQuadding(r)},e.prototype.getMaxLength=function(){return this.acroField.getMaxLength()},e.prototype.setMaxLength=function(r){if(dn(r,"maxLength",0,Number.MAX_SAFE_INTEGER),this.markAsDirty(),r===void 0)this.acroField.removeMaxLength();else{var n=this.getText();if(n&&n.length>r)throw new cV(n.length,r,this.getName());this.acroField.setMaxLength(r)}},e.prototype.removeMaxLength=function(){this.markAsDirty(),this.acroField.removeMaxLength()},e.prototype.setImage=function(r){for(var n=this.getAlignment(),i=n===Rt.Center?ko.Center:n===Rt.Right?ko.Right:ko.Left,o=this.acroField.getWidgets(),a=0,s=o.length;a<s;a++){var u=o[a],l=this.createImageAppearanceStream(u,r,i);this.updateWidgetAppearances(u,{normal:l})}this.markAsClean()},e.prototype.setFontSize=function(r){mp(r,"fontSize"),this.acroField.setFontSize(r),this.markAsDirty()},e.prototype.isMultiline=function(){return this.acroField.hasFlag(ft.Multiline)},e.prototype.enableMultiline=function(){this.markAsDirty(),this.acroField.setFlagTo(ft.Multiline,!0)},e.prototype.disableMultiline=function(){this.markAsDirty(),this.acroField.setFlagTo(ft.Multiline,!1)},e.prototype.isPassword=function(){return this.acroField.hasFlag(ft.Password)},e.prototype.enablePassword=function(){this.acroField.setFlagTo(ft.Password,!0)},e.prototype.disablePassword=function(){this.acroField.setFlagTo(ft.Password,!1)},e.prototype.isFileSelector=function(){return this.acroField.hasFlag(ft.FileSelect)},e.prototype.enableFileSelection=function(){this.acroField.setFlagTo(ft.FileSelect,!0)},e.prototype.disableFileSelection=function(){this.acroField.setFlagTo(ft.FileSelect,!1)},e.prototype.isSpellChecked=function(){return!this.acroField.hasFlag(ft.DoNotSpellCheck)},e.prototype.enableSpellChecking=function(){this.acroField.setFlagTo(ft.DoNotSpellCheck,!1)},e.prototype.disableSpellChecking=function(){this.acroField.setFlagTo(ft.DoNotSpellCheck,!0)},e.prototype.isScrollable=function(){return!this.acroField.hasFlag(ft.DoNotScroll)},e.prototype.enableScrolling=function(){this.acroField.setFlagTo(ft.DoNotScroll,!1)},e.prototype.disableScrolling=function(){this.acroField.setFlagTo(ft.DoNotScroll,!0)},e.prototype.isCombed=function(){return this.acroField.hasFlag(ft.Comb)&&!this.isMultiline()&&!this.isPassword()&&!this.isFileSelector()&&this.getMaxLength()!==void 0},e.prototype.enableCombing=function(){if(this.getMaxLength()===void 0){var r="PDFTextFields must have a max length in order to be combed";console.warn(r)}this.markAsDirty(),this.disableMultiline(),this.disablePassword(),this.disableFileSelection(),this.acroField.setFlagTo(ft.Comb,!0)},e.prototype.disableCombing=function(){this.markAsDirty(),this.acroField.setFlagTo(ft.Comb,!1)},e.prototype.isRichFormatted=function(){return this.acroField.hasFlag(ft.RichText)},e.prototype.enableRichFormatting=function(){this.acroField.setFlagTo(ft.RichText,!0)},e.prototype.disableRichFormatting=function(){this.acroField.setFlagTo(ft.RichText,!1)},e.prototype.addToPage=function(r,n){var i,o,a,s,u,l,c;F(r,"page",[[qr,"PDFPage"]]),Rl(n),n||(n={}),"textColor"in n||(n.textColor=Be(0,0,0)),"backgroundColor"in n||(n.backgroundColor=Be(1,1,1)),"borderColor"in n||(n.borderColor=Be(0,0,0)),"borderWidth"in n||(n.borderWidth=1);var d=this.createWidget({x:(i=n.x)!==null&&i!==void 0?i:0,y:(o=n.y)!==null&&o!==void 0?o:0,width:(a=n.width)!==null&&a!==void 0?a:200,height:(s=n.height)!==null&&s!==void 0?s:50,textColor:n.textColor,backgroundColor:n.backgroundColor,borderColor:n.borderColor,borderWidth:(u=n.borderWidth)!==null&&u!==void 0?u:0,rotate:(l=n.rotate)!==null&&l!==void 0?l:ce(0),hidden:n.hidden,page:r.ref}),h=this.doc.context.register(d.dict);this.acroField.addWidget(h);var f=(c=n.font)!==null&&c!==void 0?c:this.doc.getForm().getDefaultFont();this.updateWidgetAppearance(d,f),r.node.addAnnot(h)},e.prototype.needsAppearancesUpdate=function(){var r;if(this.isDirty())return!0;for(var n=this.acroField.getWidgets(),i=0,o=n.length;i<o;i++){var a=n[i],s=((r=a.getAppearances())===null||r===void 0?void 0:r.normal)instanceof _r;if(!s)return!0}return!1},e.prototype.defaultUpdateAppearances=function(r){F(r,"font",[[Fr,"PDFFont"]]),this.updateAppearances(r)},e.prototype.updateAppearances=function(r,n){F(r,"font",[[Fr,"PDFFont"]]),H(n,"provider",[Function]);for(var i=this.acroField.getWidgets(),o=0,a=i.length;o<a;o++){var s=i[o];this.updateWidgetAppearance(s,r,n)}this.markAsClean()},e.prototype.updateWidgetAppearance=function(r,n,i){var o=i??bV,a=Pl(o(this,r,n));this.updateWidgetAppearanceWithFont(r,n,a)},e.of=function(r,n,i){return new e(r,n,i)},e}(za),Sh;(function(t){t.Courier="Courier",t.CourierBold="Courier-Bold",t.CourierOblique="Courier-Oblique",t.CourierBoldOblique="Courier-BoldOblique",t.Helvetica="Helvetica",t.HelveticaBold="Helvetica-Bold",t.HelveticaOblique="Helvetica-Oblique",t.HelveticaBoldOblique="Helvetica-BoldOblique",t.TimesRoman="Times-Roman",t.TimesRomanBold="Times-Bold",t.TimesRomanItalic="Times-Italic",t.TimesRomanBoldItalic="Times-BoldItalic",t.Symbol="Symbol",t.ZapfDingbats="ZapfDingbats"})(Sh||(Sh={}));var kV=function(){function t(e,r){var n=this;this.embedDefaultFont=function(){return n.doc.embedStandardFont(Sh.Helvetica)},F(e,"acroForm",[[mh,"PDFAcroForm"]]),F(r,"doc",[[_a,"PDFDocument"]]),this.acroForm=e,this.doc=r,this.dirtyFields=new Set,this.defaultFontCache=fi.populatedBy(this.embedDefaultFont)}return t.prototype.hasXFA=function(){return this.acroForm.dict.has(T.of("XFA"))},t.prototype.deleteXFA=function(){this.acroForm.dict.delete(T.of("XFA"))},t.prototype.getFields=function(){for(var e=this.acroForm.getAllFields(),r=[],n=0,i=e.length;n<i;n++){var o=e[n],a=o[0],s=o[1],u=CV(a,s,this.doc);u&&r.push(u)}return r},t.prototype.getFieldMaybe=function(e){F(e,"name",["string"]);for(var r=this.getFields(),n=0,i=r.length;n<i;n++){var o=r[n];if(o.getName()===e)return o}},t.prototype.getField=function(e){F(e,"name",["string"]);var r=this.getFieldMaybe(e);if(r)return r;throw new oV(e)},t.prototype.getButton=function(e){F(e,"name",["string"]);var r=this.getField(e);if(r instanceof yf)return r;throw new Ko(e,yf,r)},t.prototype.getCheckBox=function(e){F(e,"name",["string"]);var r=this.getField(e);if(r instanceof cu)return r;throw new Ko(e,cu,r)},t.prototype.getDropdown=function(e){F(e,"name",["string"]);var r=this.getField(e);if(r instanceof vf)return r;throw new Ko(e,vf,r)},t.prototype.getOptionList=function(e){F(e,"name",["string"]);var r=this.getField(e);if(r instanceof mf)return r;throw new Ko(e,mf,r)},t.prototype.getRadioGroup=function(e){F(e,"name",["string"]);var r=this.getField(e);if(r instanceof du)return r;throw new Ko(e,du,r)},t.prototype.getSignature=function(e){F(e,"name",["string"]);var r=this.getField(e);if(r instanceof Hm)return r;throw new Ko(e,Hm,r)},t.prototype.getTextField=function(e){F(e,"name",["string"]);var r=this.getField(e);if(r instanceof gf)return r;throw new Ko(e,gf,r)},t.prototype.createButton=function(e){F(e,"name",["string"]);var r=as(e),n=this.findOrCreateNonTerminals(r.nonTerminal),i=xp.create(this.doc.context);return i.setPartialName(r.terminal),ss(n,[i,i.ref],r.terminal),yf.of(i,i.ref,this.doc)},t.prototype.createCheckBox=function(e){F(e,"name",["string"]);var r=as(e),n=this.findOrCreateNonTerminals(r.nonTerminal),i=yp.create(this.doc.context);return i.setPartialName(r.terminal),ss(n,[i,i.ref],r.terminal),cu.of(i,i.ref,this.doc)},t.prototype.createDropdown=function(e){F(e,"name",["string"]);var r=as(e),n=this.findOrCreateNonTerminals(r.nonTerminal),i=wp.create(this.doc.context);return i.setPartialName(r.terminal),ss(n,[i,i.ref],r.terminal),vf.of(i,i.ref,this.doc)},t.prototype.createOptionList=function(e){F(e,"name",["string"]);var r=as(e),n=this.findOrCreateNonTerminals(r.nonTerminal),i=kp.create(this.doc.context);return i.setPartialName(r.terminal),ss(n,[i,i.ref],r.terminal),mf.of(i,i.ref,this.doc)},t.prototype.createRadioGroup=function(e){F(e,"name",["string"]);var r=as(e),n=this.findOrCreateNonTerminals(r.nonTerminal),i=Sp.create(this.doc.context);return i.setPartialName(r.terminal),ss(n,[i,i.ref],r.terminal),du.of(i,i.ref,this.doc)},t.prototype.createTextField=function(e){F(e,"name",["string"]);var r=as(e),n=this.findOrCreateNonTerminals(r.nonTerminal),i=bp.create(this.doc.context);return i.setPartialName(r.terminal),ss(n,[i,i.ref],r.terminal),gf.of(i,i.ref,this.doc)},t.prototype.flatten=function(e){e===void 0&&(e={updateFieldAppearances:!0}),e.updateFieldAppearances&&this.updateFieldAppearances();for(var r=this.getFields(),n=0,i=r.length;n<i;n++){for(var o=r[n],a=o.acroField.getWidgets(),s=0,u=a.length;s<u;s++){var l=a[s],c=this.findWidgetPage(l),d=this.findWidgetAppearanceRef(o,l),h=c.node.newXObject("FlatWidget",d),f=l.getRectangle(),m=Ie([Nt(),Gr(f.x,f.y)],Bo(ve(ve({},f),{rotation:0})),[Gy(h),jt()]).filter(Boolean);c.pushOperators.apply(c,m)}this.removeField(o)}},t.prototype.removeField=function(e){for(var r=e.acroField.getWidgets(),n=new Set,i=0,o=r.length;i<o;i++){var a=r[i],s=this.findWidgetAppearanceRef(e,a),u=this.findWidgetPage(a);n.add(u),u.node.removeAnnot(s)}n.forEach(function(f){return f.node.removeAnnot(e.ref)}),this.acroForm.removeField(e.acroField);for(var l=e.acroField.normalizedEntries().Kids,c=l.size(),d=0;d<c;d++){var h=l.get(d);h instanceof Ze&&this.doc.context.delete(h)}this.doc.context.delete(e.ref)},t.prototype.updateFieldAppearances=function(e){H(e,"font",[[Fr,"PDFFont"]]),e=e??this.getDefaultFont();for(var r=this.getFields(),n=0,i=r.length;n<i;n++){var o=r[n];o.needsAppearancesUpdate()&&o.defaultUpdateAppearances(e)}},t.prototype.markFieldAsDirty=function(e){H(e,"fieldRef",[[Ze,"PDFRef"]]),this.dirtyFields.add(e)},t.prototype.markFieldAsClean=function(e){H(e,"fieldRef",[[Ze,"PDFRef"]]),this.dirtyFields.delete(e)},t.prototype.fieldIsDirty=function(e){return H(e,"fieldRef",[[Ze,"PDFRef"]]),this.dirtyFields.has(e)},t.prototype.getDefaultFont=function(){return this.defaultFontCache.access()},t.prototype.findWidgetPage=function(e){var r=e.P(),n=this.doc.getPages().find(function(o){return o.ref===r});if(n===void 0){var i=this.doc.context.getObjectRef(e.dict);if(i===void 0)throw new Error("Could not find PDFRef for PDFObject");if(n=this.doc.findPageForAnnotationRef(i),n===void 0)throw new Error("Could not find page for PDFRef "+i)}return n},t.prototype.findWidgetAppearanceRef=function(e,r){var n,i=r.getNormalAppearance();if(i instanceof ge&&(e instanceof cu||e instanceof du)){var o=e.acroField.getValue(),a=(n=i.get(o))!==null&&n!==void 0?n:i.get(T.of("Off"));a instanceof Ze&&(i=a)}if(!(i instanceof Ze)){var s=e.getName();throw new Error("Failed to extract appearance ref for: "+s)}return i},t.prototype.findOrCreateNonTerminals=function(e){for(var r=[this.acroForm],n=0,i=e.length;n<i;n++){var o=e[n];if(!o)throw new aV(o);var a=r[0],s=r[1],u=this.findNonTerminal(o,a);if(u)r=u;else{var l=vh.create(this.doc.context);l.setPartialName(o),l.setParent(s);var c=this.doc.context.register(l.dict);a.addField(c),r=[l,c]}}return r},t.prototype.findNonTerminal=function(e,r){for(var n=r instanceof mh?this.acroForm.getFields():Uy(r.Kids()),i=0,o=n.length;i<o;i++){var a=n[i],s=a[0],u=a[1];if(s.getPartialName()===e){if(s instanceof vh)return[s,u];throw new GR(e)}}},t.of=function(e,r){return new t(e,r)},t}(),CV=function(t,e,r){if(t instanceof xp)return yf.of(t,e,r);if(t instanceof yp)return cu.of(t,e,r);if(t instanceof wp)return vf.of(t,e,r);if(t instanceof kp)return mf.of(t,e,r);if(t instanceof bp)return gf.of(t,e,r);if(t instanceof Sp)return du.of(t,e,r);if(t instanceof By)return Hm.of(t,e,r)},as=function(t){if(t.length===0)throw new Error("PDF field names must not be empty strings");for(var e=t.split("."),r=0,n=e.length;r<n;r++)if(e[r]==="")throw new Error('Periods in PDF field names must be separated by at least one character: "'+t+'"');return e.length===1?{nonTerminal:[],terminal:e[0]}:{nonTerminal:e.slice(0,e.length-1),terminal:e[e.length-1]}},ss=function(t,e,r){for(var n=t[0],i=t[1],o=e[0],a=e[1],s=n.normalizedEntries(),u=Uy("Kids"in s?s.Kids:s.Fields),l=0,c=u.length;l<c;l++)if(u[l][0].getPartialName()===r)throw new GR(r);n.addField(a),o.setParent(i)},EV={"4A0":[4767.87,6740.79],"2A0":[3370.39,4767.87],A0:[2383.94,3370.39],A1:[1683.78,2383.94],A2:[1190.55,1683.78],A3:[841.89,1190.55],A4:[595.28,841.89],A5:[419.53,595.28],A6:[297.64,419.53],A7:[209.76,297.64],A8:[147.4,209.76],A9:[104.88,147.4],A10:[73.7,104.88],B0:[2834.65,4008.19],B1:[2004.09,2834.65],B2:[1417.32,2004.09],B3:[1000.63,1417.32],B4:[708.66,1000.63],B5:[498.9,708.66],B6:[354.33,498.9],B7:[249.45,354.33],B8:[175.75,249.45],B9:[124.72,175.75],B10:[87.87,124.72],C0:[2599.37,3676.54],C1:[1836.85,2599.37],C2:[1298.27,1836.85],C3:[918.43,1298.27],C4:[649.13,918.43],C5:[459.21,649.13],C6:[323.15,459.21],C7:[229.61,323.15],C8:[161.57,229.61],C9:[113.39,161.57],C10:[79.37,113.39],RA0:[2437.8,3458.27],RA1:[1729.13,2437.8],RA2:[1218.9,1729.13],RA3:[864.57,1218.9],RA4:[609.45,864.57],SRA0:[2551.18,3628.35],SRA1:[1814.17,2551.18],SRA2:[1275.59,1814.17],SRA3:[907.09,1275.59],SRA4:[637.8,907.09],Executive:[521.86,756],Folio:[612,936],Legal:[612,1008],Letter:[612,792],Tabloid:[792,1224]},Km;(function(t){t[t.Fastest=1/0]="Fastest",t[t.Fast=1500]="Fast",t[t.Medium=500]="Medium",t[t.Slow=100]="Slow"})(Km||(Km={}));var TV=function(){function t(e,r,n){this.alreadyEmbedded=!1,this.ref=e,this.doc=r,this.embedder=n}return t.prototype.embed=function(){return ke(this,void 0,void 0,function(){var e,r,n,i,o;return Ce(this,function(a){switch(a.label){case 0:return this.alreadyEmbedded?[3,2]:[4,this.embedder.embedIntoContext(this.doc.context,this.ref)];case 1:e=a.sent(),this.doc.catalog.has(T.of("Names"))||this.doc.catalog.set(T.of("Names"),this.doc.context.obj({})),r=this.doc.catalog.lookup(T.of("Names"),ge),r.has(T.of("EmbeddedFiles"))||r.set(T.of("EmbeddedFiles"),this.doc.context.obj({})),n=r.lookup(T.of("EmbeddedFiles"),ge),n.has(T.of("Names"))||n.set(T.of("Names"),this.doc.context.obj([])),i=n.lookup(T.of("Names"),Ue),i.push(le.fromText(this.embedder.fileName)),i.push(e),this.doc.catalog.has(T.of("AF"))||this.doc.catalog.set(T.of("AF"),this.doc.context.obj([])),o=this.doc.catalog.lookup(T.of("AF"),Ue),o.push(e),this.alreadyEmbedded=!0,a.label=2;case 2:return[2]}})})},t.of=function(e,r,n){return new t(e,r,n)},t}(),PV=function(){function t(e,r,n){this.alreadyEmbedded=!1,this.ref=e,this.doc=r,this.embedder=n}return t.prototype.embed=function(){return ke(this,void 0,void 0,function(){var e,r,n,i,o,a,s;return Ce(this,function(u){switch(u.label){case 0:return this.alreadyEmbedded?[3,2]:(e=this.doc,r=e.catalog,n=e.context,[4,this.embedder.embedIntoContext(this.doc.context,this.ref)]);case 1:i=u.sent(),r.has(T.of("Names"))||r.set(T.of("Names"),n.obj({})),o=r.lookup(T.of("Names"),ge),o.has(T.of("JavaScript"))||o.set(T.of("JavaScript"),n.obj({})),a=o.lookup(T.of("JavaScript"),ge),a.has(T.of("Names"))||a.set(T.of("Names"),n.obj([])),s=a.lookup(T.of("Names"),Ue),s.push(le.fromText(this.embedder.scriptName)),s.push(i),this.alreadyEmbedded=!0,u.label=2;case 2:return[2]}})})},t.of=function(e,r,n){return new t(e,r,n)},t}(),RV=function(){function t(e,r){this.script=e,this.scriptName=r}return t.for=function(e,r){return new t(e,r)},t.prototype.embedIntoContext=function(e,r){return ke(this,void 0,void 0,function(){var n;return Ce(this,function(i){return n=e.obj({Type:"Action",S:"JavaScript",JS:le.fromText(this.script)}),r?(e.assign(r,n),[2,r]):[2,e.register(n)]})})},t}(),_a=function(){function t(e,r,n){var i=this;if(this.defaultWordBreaks=[" "],this.computePages=function(){var o=[];return i.catalog.Pages().traverse(function(a,s){if(a instanceof hi){var u=i.pageMap.get(a);u||(u=qr.of(a,s,i),i.pageMap.set(a,u)),o.push(u)}}),o},this.getOrCreateForm=function(){var o=i.catalog.getOrCreateAcroForm();return kV.of(o,i)},F(e,"context",[[Bm,"PDFContext"]]),F(r,"ignoreEncryption",["boolean"]),this.context=e,this.catalog=e.lookup(e.trailerInfo.Root),this.isEncrypted=!!e.lookup(e.trailerInfo.Encrypt),this.pageCache=fi.populatedBy(this.computePages),this.pageMap=new Map,this.formCache=fi.populatedBy(this.getOrCreateForm),this.fonts=[],this.images=[],this.embeddedPages=[],this.embeddedFiles=[],this.javaScripts=[],!r&&this.isEncrypted)throw new tV;n&&this.updateInfoDict()}return t.load=function(e,r){return r===void 0&&(r={}),ke(this,void 0,void 0,function(){var n,i,o,a,s,u,l,c,d,h,f,m;return Ce(this,function(p){switch(p.label){case 0:return n=r.ignoreEncryption,i=n===void 0?!1:n,o=r.parseSpeed,a=o===void 0?Km.Slow:o,s=r.throwOnInvalidObject,u=s===void 0?!1:s,l=r.updateMetadata,c=l===void 0?!0:l,d=r.capNumbers,h=d===void 0?!1:d,F(e,"pdf",["string",Uint8Array,ArrayBuffer]),F(i,"ignoreEncryption",["boolean"]),F(a,"parseSpeed",["number"]),F(u,"throwOnInvalidObject",["boolean"]),f=Wl(e),[4,O6.forBytesWithOptions(f,a,u,h).parseDocument()];case 1:return m=p.sent(),[2,new t(m,i,c)]}})})},t.create=function(e){return e===void 0&&(e={}),ke(this,void 0,void 0,function(){var r,n,i,o,a,s;return Ce(this,function(u){return r=e.updateMetadata,n=r===void 0?!0:r,i=Bm.create(),o=AR.withContext(i),a=i.register(o),s=RR.withContextAndPages(i,a),i.trailerInfo.Root=i.register(s),[2,new t(i,!1,n)]})})},t.prototype.registerFontkit=function(e){this.fontkit=e},t.prototype.getForm=function(){var e=this.formCache.access();return e.hasXFA()&&(console.warn("Removing XFA form data as pdf-lib does not support reading or writing XFA"),e.deleteXFA()),e},t.prototype.getTitle=function(){var e=this.getInfoDict().lookup(T.Title);if(e)return Fi(e),e.decodeText()},t.prototype.getAuthor=function(){var e=this.getInfoDict().lookup(T.Author);if(e)return Fi(e),e.decodeText()},t.prototype.getSubject=function(){var e=this.getInfoDict().lookup(T.Subject);if(e)return Fi(e),e.decodeText()},t.prototype.getKeywords=function(){var e=this.getInfoDict().lookup(T.Keywords);if(e)return Fi(e),e.decodeText()},t.prototype.getCreator=function(){var e=this.getInfoDict().lookup(T.Creator);if(e)return Fi(e),e.decodeText()},t.prototype.getProducer=function(){var e=this.getInfoDict().lookup(T.Producer);if(e)return Fi(e),e.decodeText()},t.prototype.getCreationDate=function(){var e=this.getInfoDict().lookup(T.CreationDate);if(e)return Fi(e),e.decodeDate()},t.prototype.getModificationDate=function(){var e=this.getInfoDict().lookup(T.ModDate);if(e)return Fi(e),e.decodeDate()},t.prototype.setTitle=function(e,r){F(e,"title",["string"]);var n=T.of("Title");if(this.getInfoDict().set(n,le.fromText(e)),r!=null&&r.showInWindowTitleBar){var i=this.catalog.getOrCreateViewerPreferences();i.setDisplayDocTitle(!0)}},t.prototype.setAuthor=function(e){F(e,"author",["string"]);var r=T.of("Author");this.getInfoDict().set(r,le.fromText(e))},t.prototype.setSubject=function(e){F(e,"author",["string"]);var r=T.of("Subject");this.getInfoDict().set(r,le.fromText(e))},t.prototype.setKeywords=function(e){F(e,"keywords",[Array]);var r=T.of("Keywords");this.getInfoDict().set(r,le.fromText(e.join(" ")))},t.prototype.setCreator=function(e){F(e,"creator",["string"]);var r=T.of("Creator");this.getInfoDict().set(r,le.fromText(e))},t.prototype.setProducer=function(e){F(e,"creator",["string"]);var r=T.of("Producer");this.getInfoDict().set(r,le.fromText(e))},t.prototype.setLanguage=function(e){F(e,"language",["string"]);var r=T.of("Lang");this.catalog.set(r,Xe.of(e))},t.prototype.setCreationDate=function(e){F(e,"creationDate",[[Date,"Date"]]);var r=T.of("CreationDate");this.getInfoDict().set(r,Xe.fromDate(e))},t.prototype.setModificationDate=function(e){F(e,"modificationDate",[[Date,"Date"]]);var r=T.of("ModDate");this.getInfoDict().set(r,Xe.fromDate(e))},t.prototype.getPageCount=function(){return this.pageCount===void 0&&(this.pageCount=this.getPages().length),this.pageCount},t.prototype.getPages=function(){return this.pageCache.access()},t.prototype.getPage=function(e){var r=this.getPages();return Pr(e,"index",0,r.length-1),r[e]},t.prototype.getPageIndices=function(){return ZL(0,this.getPageCount())},t.prototype.removePage=function(e){var r=this.getPageCount();if(this.pageCount===0)throw new iV;Pr(e,"index",0,r-1),this.catalog.removeLeafNode(e),this.pageCount=r-1},t.prototype.addPage=function(e){return F(e,"page",["undefined",[qr,"PDFPage"],Array]),this.insertPage(this.getPageCount(),e)},t.prototype.insertPage=function(e,r){var n=this.getPageCount();if(Pr(e,"index",0,n),F(r,"page",["undefined",[qr,"PDFPage"],Array]),!r||Array.isArray(r)){var i=Array.isArray(r)?r:EV.A4;r=qr.create(this),r.setSize.apply(r,i)}else if(r.doc!==this)throw new nV;var o=this.catalog.insertLeafNode(r.ref,e);return r.node.setParent(o),this.pageMap.set(r.node,r),this.pageCache.invalidate(),this.pageCount=n+1,r},t.prototype.copyPages=function(e,r){return ke(this,void 0,void 0,function(){var n,i,o,a,s,u,l,c;return Ce(this,function(d){switch(d.label){case 0:return F(e,"srcDoc",[[t,"PDFDocument"]]),F(r,"indices",[Array]),[4,e.flush()];case 1:for(d.sent(),n=eS.for(e.context,this.context),i=e.getPages(),o=new Array(r.length),a=0,s=r.length;a<s;a++)u=i[r[a]],l=n.copy(u.node),c=this.context.register(l),o[a]=qr.of(l,c,this);return[2,o]}})})},t.prototype.copy=function(){return ke(this,void 0,void 0,function(){var e,r,n,i;return Ce(this,function(o){switch(o.label){case 0:return[4,t.create()];case 1:return e=o.sent(),[4,e.copyPages(this,this.getPageIndices())];case 2:for(r=o.sent(),n=0,i=r.length;n<i;n++)e.addPage(r[n]);return this.getAuthor()!==void 0&&e.setAuthor(this.getAuthor()),this.getCreationDate()!==void 0&&e.setCreationDate(this.getCreationDate()),this.getCreator()!==void 0&&e.setCreator(this.getCreator()),this.getModificationDate()!==void 0&&e.setModificationDate(this.getModificationDate()),this.getProducer()!==void 0&&e.setProducer(this.getProducer()),this.getSubject()!==void 0&&e.setSubject(this.getSubject()),this.getTitle()!==void 0&&e.setTitle(this.getTitle()),e.defaultWordBreaks=this.defaultWordBreaks,[2,e]}})})},t.prototype.addJavaScript=function(e,r){F(e,"name",["string"]),F(r,"script",["string"]);var n=RV.for(r,e),i=this.context.nextRef(),o=PV.of(i,this,n);this.javaScripts.push(o)},t.prototype.attach=function(e,r,n){return n===void 0&&(n={}),ke(this,void 0,void 0,function(){var i,o,a,s;return Ce(this,function(u){return F(e,"attachment",["string",Uint8Array,ArrayBuffer]),F(r,"name",["string"]),H(n.mimeType,"mimeType",["string"]),H(n.description,"description",["string"]),H(n.creationDate,"options.creationDate",[Date]),H(n.modificationDate,"options.modificationDate",[Date]),Br(n.afRelationship,"options.afRelationship",Um),i=Wl(e),o=r6.for(i,r,n),a=this.context.nextRef(),s=TV.of(a,this,o),this.embeddedFiles.push(s),[2]})})},t.prototype.embedFont=function(e,r){return r===void 0&&(r={}),ke(this,void 0,void 0,function(){var n,i,o,a,s,u,l,c,d,h;return Ce(this,function(f){switch(f.label){case 0:return n=r.subset,i=n===void 0?!1:n,o=r.customName,a=r.features,F(e,"font",["string",Uint8Array,ArrayBuffer]),F(i,"subset",["boolean"]),H1(e)?(s=hh.for(e,o),[3,7]):[3,1];case 1:return JL(e)?(u=Wl(e),l=this.assertFontkit(),i?[4,t6.for(l,u,o,a)]:[3,3]):[3,6];case 2:return c=f.sent(),[3,5];case 3:return[4,My.for(l,u,o,a)];case 4:c=f.sent(),f.label=5;case 5:return s=c,[3,7];case 6:throw new TypeError("`font` must be one of `StandardFonts | string | Uint8Array | ArrayBuffer`");case 7:return d=this.context.nextRef(),h=Fr.of(d,this,s),this.fonts.push(h),[2,h]}})})},t.prototype.embedStandardFont=function(e,r){if(F(e,"font",["string"]),!H1(e))throw new TypeError("`font` must be one of type `StandardFonts`");var n=hh.for(e,r),i=this.context.nextRef(),o=Fr.of(i,this,n);return this.fonts.push(o),o},t.prototype.embedJpg=function(e){return ke(this,void 0,void 0,function(){var r,n,i,o;return Ce(this,function(a){switch(a.label){case 0:return F(e,"jpg",["string",Uint8Array,ArrayBuffer]),r=Wl(e),[4,wR.for(r)];case 1:return n=a.sent(),i=this.context.nextRef(),o=qm.of(i,this,n),this.images.push(o),[2,o]}})})},t.prototype.embedPng=function(e){return ke(this,void 0,void 0,function(){var r,n,i,o;return Ce(this,function(a){switch(a.label){case 0:return F(e,"png",["string",Uint8Array,ArrayBuffer]),r=Wl(e),[4,bR.for(r)];case 1:return n=a.sent(),i=this.context.nextRef(),o=qm.of(i,this,n),this.images.push(o),[2,o]}})})},t.prototype.embedPdf=function(e,r){return r===void 0&&(r=[0]),ke(this,void 0,void 0,function(){var n,i,o;return Ce(this,function(a){switch(a.label){case 0:return F(e,"pdf",["string",Uint8Array,ArrayBuffer,[t,"PDFDocument"]]),F(r,"indices",[Array]),e instanceof t?(i=e,[3,3]):[3,1];case 1:return[4,t.load(e)];case 2:i=a.sent(),a.label=3;case 3:return n=i,o=YL(n.getPages(),r),[2,this.embedPages(o)]}})})},t.prototype.embedPage=function(e,r,n){return ke(this,void 0,void 0,function(){var i;return Ce(this,function(o){switch(o.label){case 0:return F(e,"page",[[qr,"PDFPage"]]),[4,this.embedPages([e],[r],[n])];case 1:return i=o.sent()[0],[2,i]}})})},t.prototype.embedPages=function(e,r,n){return r===void 0&&(r=[]),n===void 0&&(n=[]),ke(this,void 0,void 0,function(){var l,c,i,o,a,s,u,l,c,d,h,f,m,p,g;return Ce(this,function(v){switch(v.label){case 0:if(e.length===0)return[2,[]];for(l=0,c=e.length-1;l<c;l++)if(i=e[l],o=e[l+1],i.node.context!==o.node.context)throw new Rz;a=e[0].node.context,s=a===this.context?function(y){return y}:eS.for(a,this.context).copy,u=new Array(e.length),l=0,c=e.length,v.label=1;case 1:return l<c?(d=s(e[l].node),h=r[l],f=n[l],[4,kR.for(d,h,f)]):[3,4];case 2:m=v.sent(),p=this.context.nextRef(),u[l]=QR.of(p,this,m),v.label=3;case 3:return l++,[3,1];case 4:return(g=this.embeddedPages).push.apply(g,u),[2,u]}})})},t.prototype.flush=function(){return ke(this,void 0,void 0,function(){return Ce(this,function(e){switch(e.label){case 0:return[4,this.embedAll(this.fonts)];case 1:return e.sent(),[4,this.embedAll(this.images)];case 2:return e.sent(),[4,this.embedAll(this.embeddedPages)];case 3:return e.sent(),[4,this.embedAll(this.embeddedFiles)];case 4:return e.sent(),[4,this.embedAll(this.javaScripts)];case 5:return e.sent(),[2]}})})},t.prototype.save=function(e){return e===void 0&&(e={}),ke(this,void 0,void 0,function(){var r,n,i,o,a,s,u,l,c,d;return Ce(this,function(h){switch(h.label){case 0:return r=e.useObjectStreams,n=r===void 0?!0:r,i=e.addDefaultPage,o=i===void 0?!0:i,a=e.objectsPerTick,s=a===void 0?50:a,u=e.updateFieldAppearances,l=u===void 0?!0:u,F(n,"useObjectStreams",["boolean"]),F(o,"addDefaultPage",["boolean"]),F(s,"objectsPerTick",["number"]),F(l,"updateFieldAppearances",["boolean"]),o&&this.getPageCount()===0&&this.addPage(),l&&(c=this.formCache.getValue(),c&&c.updateFieldAppearances()),[4,this.flush()];case 1:return h.sent(),d=n?Zz:gR,[2,d.forContext(this.context,s).serializeToBuffer()]}})})},t.prototype.saveAsBase64=function(e){return e===void 0&&(e={}),ke(this,void 0,void 0,function(){var r,n,i,o,a;return Ce(this,function(s){switch(s.label){case 0:return r=e.dataUri,n=r===void 0?!1:r,i=NL(e,["dataUri"]),F(n,"dataUri",["boolean"]),[4,this.save(i)];case 1:return o=s.sent(),a=jL(o),[2,n?"data:application/pdf;base64,"+a:a]}})})},t.prototype.findPageForAnnotationRef=function(e){for(var r=this.getPages(),n=0,i=r.length;n<i;n++){var o=r[n],a=o.node.Annots();if((a==null?void 0:a.indexOf(e))!==void 0)return o}},t.prototype.embedAll=function(e){return ke(this,void 0,void 0,function(){var r,n;return Ce(this,function(i){switch(i.label){case 0:r=0,n=e.length,i.label=1;case 1:return r<n?[4,e[r].embed()]:[3,4];case 2:i.sent(),i.label=3;case 3:return r++,[3,1];case 4:return[2]}})})},t.prototype.updateInfoDict=function(){var e="pdf-lib (https://github.com/Hopding/pdf-lib)",r=new Date,n=this.getInfoDict();this.setProducer(e),this.setModificationDate(r),n.get(T.of("Creator"))||this.setCreator(e),n.get(T.of("CreationDate"))||this.setCreationDate(r)},t.prototype.getInfoDict=function(){var e=this.context.lookup(this.context.trailerInfo.Info);if(e instanceof ge)return e;var r=this.context.obj({});return this.context.trailerInfo.Info=this.context.register(r),r},t.prototype.assertFontkit=function(){if(!this.fontkit)throw new rV;return this.fontkit},t}();function Fi(t){if(!(t instanceof le)&&!(t instanceof Xe))throw new dh([le,Xe],t)}var ri;(function(t){t.Normal="Normal",t.Multiply="Multiply",t.Screen="Screen",t.Overlay="Overlay",t.Darken="Darken",t.Lighten="Lighten",t.ColorDodge="ColorDodge",t.ColorBurn="ColorBurn",t.HardLight="HardLight",t.SoftLight="SoftLight",t.Difference="Difference",t.Exclusion="Exclusion"})(ri||(ri={}));var qr=function(){function t(e,r,n){this.fontSize=24,this.fontColor=Be(0,0,0),this.lineHeight=24,this.x=0,this.y=0,F(e,"leafNode",[[hi,"PDFPageLeaf"]]),F(r,"ref",[[Ze,"PDFRef"]]),F(n,"doc",[[_a,"PDFDocument"]]),this.node=e,this.ref=r,this.doc=n}return t.prototype.setRotation=function(e){var r=FR(e);fR(r,"degreesAngle",90),this.node.set(T.of("Rotate"),this.doc.context.obj(r))},t.prototype.getRotation=function(){var e=this.node.Rotate();return ce(e?e.asNumber():0)},t.prototype.setSize=function(e,r){F(e,"width",["number"]),F(r,"height",["number"]);var n=this.getMediaBox();this.setMediaBox(n.x,n.y,e,r);var i=this.getCropBox(),o=this.getBleedBox(),a=this.getTrimBox(),s=this.getArtBox(),u=this.node.CropBox(),l=this.node.BleedBox(),c=this.node.TrimBox(),d=this.node.ArtBox();u&&Dd(i,n)&&this.setCropBox(n.x,n.y,e,r),l&&Dd(o,n)&&this.setBleedBox(n.x,n.y,e,r),c&&Dd(a,n)&&this.setTrimBox(n.x,n.y,e,r),d&&Dd(s,n)&&this.setArtBox(n.x,n.y,e,r)},t.prototype.setWidth=function(e){F(e,"width",["number"]),this.setSize(e,this.getSize().height)},t.prototype.setHeight=function(e){F(e,"height",["number"]),this.setSize(this.getSize().width,e)},t.prototype.setMediaBox=function(e,r,n,i){F(e,"x",["number"]),F(r,"y",["number"]),F(n,"width",["number"]),F(i,"height",["number"]);var o=this.doc.context.obj([e,r,e+n,r+i]);this.node.set(T.MediaBox,o)},t.prototype.setCropBox=function(e,r,n,i){F(e,"x",["number"]),F(r,"y",["number"]),F(n,"width",["number"]),F(i,"height",["number"]);var o=this.doc.context.obj([e,r,e+n,r+i]);this.node.set(T.CropBox,o)},t.prototype.setBleedBox=function(e,r,n,i){F(e,"x",["number"]),F(r,"y",["number"]),F(n,"width",["number"]),F(i,"height",["number"]);var o=this.doc.context.obj([e,r,e+n,r+i]);this.node.set(T.BleedBox,o)},t.prototype.setTrimBox=function(e,r,n,i){F(e,"x",["number"]),F(r,"y",["number"]),F(n,"width",["number"]),F(i,"height",["number"]);var o=this.doc.context.obj([e,r,e+n,r+i]);this.node.set(T.TrimBox,o)},t.prototype.setArtBox=function(e,r,n,i){F(e,"x",["number"]),F(r,"y",["number"]),F(n,"width",["number"]),F(i,"height",["number"]);var o=this.doc.context.obj([e,r,e+n,r+i]);this.node.set(T.ArtBox,o)},t.prototype.getSize=function(){var e=this.getMediaBox(),r=e.width,n=e.height;return{width:r,height:n}},t.prototype.getWidth=function(){return this.getSize().width},t.prototype.getHeight=function(){return this.getSize().height},t.prototype.getMediaBox=function(){var e=this.node.MediaBox();return e.asRectangle()},t.prototype.getCropBox=function(){var e,r=this.node.CropBox();return(e=r==null?void 0:r.asRectangle())!==null&&e!==void 0?e:this.getMediaBox()},t.prototype.getBleedBox=function(){var e,r=this.node.BleedBox();return(e=r==null?void 0:r.asRectangle())!==null&&e!==void 0?e:this.getCropBox()},t.prototype.getTrimBox=function(){var e,r=this.node.TrimBox();return(e=r==null?void 0:r.asRectangle())!==null&&e!==void 0?e:this.getCropBox()},t.prototype.getArtBox=function(){var e,r=this.node.ArtBox();return(e=r==null?void 0:r.asRectangle())!==null&&e!==void 0?e:this.getCropBox()},t.prototype.translateContent=function(e,r){F(e,"x",["number"]),F(r,"y",["number"]),this.node.normalize(),this.getContentStream();var n=this.createContentStream(Nt(),Gr(e,r)),i=this.doc.context.register(n),o=this.createContentStream(jt()),a=this.doc.context.register(o);this.node.wrapContentStreams(i,a)},t.prototype.scale=function(e,r){F(e,"x",["number"]),F(r,"y",["number"]),this.setSize(this.getWidth()*e,this.getHeight()*r),this.scaleContent(e,r),this.scaleAnnotations(e,r)},t.prototype.scaleContent=function(e,r){F(e,"x",["number"]),F(r,"y",["number"]),this.node.normalize(),this.getContentStream();var n=this.createContentStream(Nt(),Cc(e,r)),i=this.doc.context.register(n),o=this.createContentStream(jt()),a=this.doc.context.register(o);this.node.wrapContentStreams(i,a)},t.prototype.scaleAnnotations=function(e,r){F(e,"x",["number"]),F(r,"y",["number"]);var n=this.node.Annots();if(n)for(var i=0;i<n.size();i++){var o=n.lookup(i);o instanceof ge&&this.scaleAnnot(o,e,r)}},t.prototype.resetPosition=function(){this.getContentStream(!1),this.x=0,this.y=0},t.prototype.setFont=function(e){F(e,"font",[[Fr,"PDFFont"]]),this.font=e,this.fontKey=this.node.newFontDictionary(this.font.name,this.font.ref)},t.prototype.setFontSize=function(e){F(e,"fontSize",["number"]),this.fontSize=e},t.prototype.setFontColor=function(e){F(e,"fontColor",[[Object,"Color"]]),this.fontColor=e},t.prototype.setLineHeight=function(e){F(e,"lineHeight",["number"]),this.lineHeight=e},t.prototype.getPosition=function(){return{x:this.x,y:this.y}},t.prototype.getX=function(){return this.x},t.prototype.getY=function(){return this.y},t.prototype.moveTo=function(e,r){F(e,"x",["number"]),F(r,"y",["number"]),this.x=e,this.y=r},t.prototype.moveDown=function(e){F(e,"yDecrease",["number"]),this.y-=e},t.prototype.moveUp=function(e){F(e,"yIncrease",["number"]),this.y+=e},t.prototype.moveLeft=function(e){F(e,"xDecrease",["number"]),this.x-=e},t.prototype.moveRight=function(e){F(e,"xIncrease",["number"]),this.x+=e},t.prototype.pushOperators=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];dR(e,"operator",[[_e,"PDFOperator"]]);var n=this.getContentStream();n.push.apply(n,e)},t.prototype.drawText=function(e,r){var n,i,o,a,s,u,l;r===void 0&&(r={}),F(e,"text",["string"]),H(r.color,"options.color",[[Object,"Color"]]),dn(r.opacity,"opacity.opacity",0,1),H(r.font,"options.font",[[Fr,"PDFFont"]]),H(r.size,"options.size",["number"]),H(r.rotate,"options.rotate",[[Object,"Rotation"]]),H(r.xSkew,"options.xSkew",[[Object,"Rotation"]]),H(r.ySkew,"options.ySkew",[[Object,"Rotation"]]),H(r.x,"options.x",["number"]),H(r.y,"options.y",["number"]),H(r.lineHeight,"options.lineHeight",["number"]),H(r.maxWidth,"options.maxWidth",["number"]),H(r.wordBreaks,"options.wordBreaks",[Array]),Br(r.blendMode,"options.blendMode",ri);for(var c=this.setOrEmbedFont(r.font),d=c.oldFont,h=c.newFont,f=c.newFontKey,m=r.size||this.fontSize,p=r.wordBreaks||this.doc.defaultWordBreaks,g=function(E){return h.widthOfTextAtSize(E,m)},v=r.maxWidth===void 0?fP(Dc(e)):VL(e,p,r.maxWidth,g),y=new Array(v.length),w=0,S=v.length;w<S;w++)y[w]=h.encodeText(v[w]);var k=this.maybeEmbedGraphicsState({opacity:r.opacity,blendMode:r.blendMode}),C=this.getContentStream();C.push.apply(C,G6(y,{color:(n=r.color)!==null&&n!==void 0?n:this.fontColor,font:f,size:m,rotate:(i=r.rotate)!==null&&i!==void 0?i:ce(0),xSkew:(o=r.xSkew)!==null&&o!==void 0?o:ce(0),ySkew:(a=r.ySkew)!==null&&a!==void 0?a:ce(0),x:(s=r.x)!==null&&s!==void 0?s:this.x,y:(u=r.y)!==null&&u!==void 0?u:this.y,lineHeight:(l=r.lineHeight)!==null&&l!==void 0?l:this.lineHeight,graphicsState:k})),r.font&&(d?this.setFont(d):this.resetFont())},t.prototype.drawImage=function(e,r){var n,i,o,a,s,u,l;r===void 0&&(r={}),F(e,"image",[[qm,"PDFImage"]]),H(r.x,"options.x",["number"]),H(r.y,"options.y",["number"]),H(r.width,"options.width",["number"]),H(r.height,"options.height",["number"]),H(r.rotate,"options.rotate",[[Object,"Rotation"]]),H(r.xSkew,"options.xSkew",[[Object,"Rotation"]]),H(r.ySkew,"options.ySkew",[[Object,"Rotation"]]),dn(r.opacity,"opacity.opacity",0,1),Br(r.blendMode,"options.blendMode",ri);var c=this.node.newXObject("Image",e.ref),d=this.maybeEmbedGraphicsState({opacity:r.opacity,blendMode:r.blendMode}),h=this.getContentStream();h.push.apply(h,HR(c,{x:(n=r.x)!==null&&n!==void 0?n:this.x,y:(i=r.y)!==null&&i!==void 0?i:this.y,width:(o=r.width)!==null&&o!==void 0?o:e.size().width,height:(a=r.height)!==null&&a!==void 0?a:e.size().height,rotate:(s=r.rotate)!==null&&s!==void 0?s:ce(0),xSkew:(u=r.xSkew)!==null&&u!==void 0?u:ce(0),ySkew:(l=r.ySkew)!==null&&l!==void 0?l:ce(0),graphicsState:d}))},t.prototype.drawPage=function(e,r){var n,i,o,a,s;r===void 0&&(r={}),F(e,"embeddedPage",[[QR,"PDFEmbeddedPage"]]),H(r.x,"options.x",["number"]),H(r.y,"options.y",["number"]),H(r.xScale,"options.xScale",["
355number"]),H(r.yScale,"options.yScale",["number"]),H(r.width,"options.width",["number"]),H(r.height,"options.height",["number"]),H(r.rotate,"options.rotate",[[Object,"Rotation"]]),H(r.xSkew,"options.xSkew",[[Object,"Rotation"]]),H(r.ySkew,"options.ySkew",[[Object,"Rotation"]]),dn(r.opacity,"opacity.opacity",0,1),Br(r.blendMode,"options.blendMode",ri);var u=this.node.newXObject("EmbeddedPdfPage",e.ref),l=this.maybeEmbedGraphicsState({opacity:r.opacity,blendMode:r.blendMode}),c=r.width!==void 0?r.width/e.width:r.xScale!==void 0?r.xScale:1,d=r.height!==void 0?r.height/e.height:r.yScale!==void 0?r.yScale:1,h=this.getContentStream();h.push.apply(h,X6(u,{x:(n=r.x)!==null&&n!==void 0?n:this.x,y:(i=r.y)!==null&&i!==void 0?i:this.y,xScale:c,yScale:d,rotate:(o=r.rotate)!==null&&o!==void 0?o:ce(0),xSkew:(a=r.xSkew)!==null&&a!==void 0?a:ce(0),ySkew:(s=r.ySkew)!==null&&s!==void 0?s:ce(0),graphicsState:l}))},t.prototype.drawSvgPath=function(e,r){var n,i,o,a,s,u,l,c,d;r===void 0&&(r={}),F(e,"path",["string"]),H(r.x,"options.x",["number"]),H(r.y,"options.y",["number"]),H(r.scale,"options.scale",["number"]),H(r.rotate,"options.rotate",[[Object,"Rotation"]]),H(r.borderWidth,"options.borderWidth",["number"]),H(r.color,"options.color",[[Object,"Color"]]),dn(r.opacity,"opacity.opacity",0,1),H(r.borderColor,"options.borderColor",[[Object,"Color"]]),H(r.borderDashArray,"options.borderDashArray",[Array]),H(r.borderDashPhase,"options.borderDashPhase",["number"]),Br(r.borderLineCap,"options.borderLineCap",Ps),dn(r.borderOpacity,"options.borderOpacity",0,1),Br(r.blendMode,"options.blendMode",ri);var h=this.maybeEmbedGraphicsState({opacity:r.opacity,borderOpacity:r.borderOpacity,blendMode:r.blendMode});!("color"in r)&&!("borderColor"in r)&&(r.borderColor=Be(0,0,0));var f=this.getContentStream();f.push.apply(f,Q6(e,{x:(n=r.x)!==null&&n!==void 0?n:this.x,y:(i=r.y)!==null&&i!==void 0?i:this.y,scale:r.scale,rotate:(o=r.rotate)!==null&&o!==void 0?o:ce(0),color:(a=r.color)!==null&&a!==void 0?a:void 0,borderColor:(s=r.borderColor)!==null&&s!==void 0?s:void 0,borderWidth:(u=r.borderWidth)!==null&&u!==void 0?u:0,borderDashArray:(l=r.borderDashArray)!==null&&l!==void 0?l:void 0,borderDashPhase:(c=r.borderDashPhase)!==null&&c!==void 0?c:void 0,borderLineCap:(d=r.borderLineCap)!==null&&d!==void 0?d:void 0,graphicsState:h}))},t.prototype.drawLine=function(e){var r,n,i,o,a;F(e.start,"options.start",[[Object,"{ x: number, y: number }"]]),F(e.end,"options.end",[[Object,"{ x: number, y: number }"]]),F(e.start.x,"options.start.x",["number"]),F(e.start.y,"options.start.y",["number"]),F(e.end.x,"options.end.x",["number"]),F(e.end.y,"options.end.y",["number"]),H(e.thickness,"options.thickness",["number"]),H(e.color,"options.color",[[Object,"Color"]]),H(e.dashArray,"options.dashArray",[Array]),H(e.dashPhase,"options.dashPhase",["number"]),Br(e.lineCap,"options.lineCap",Ps),dn(e.opacity,"opacity.opacity",0,1),Br(e.blendMode,"options.blendMode",ri);var s=this.maybeEmbedGraphicsState({borderOpacity:e.opacity,blendMode:e.blendMode});"color"in e||(e.color=Be(0,0,0));var u=this.getContentStream();u.push.apply(u,Z6({start:e.start,end:e.end,thickness:(r=e.thickness)!==null&&r!==void 0?r:1,color:(n=e.color)!==null&&n!==void 0?n:void 0,dashArray:(i=e.dashArray)!==null&&i!==void 0?i:void 0,dashPhase:(o=e.dashPhase)!==null&&o!==void 0?o:void 0,lineCap:(a=e.lineCap)!==null&&a!==void 0?a:void 0,graphicsState:s}))},t.prototype.drawRectangle=function(e){var r,n,i,o,a,s,u,l,c,d,h,f,m;e===void 0&&(e={}),H(e.x,"options.x",["number"]),H(e.y,"options.y",["number"]),H(e.width,"options.width",["number"]),H(e.height,"options.height",["number"]),H(e.rotate,"options.rotate",[[Object,"Rotation"]]),H(e.xSkew,"options.xSkew",[[Object,"Rotation"]]),H(e.ySkew,"options.ySkew",[[Object,"Rotation"]]),H(e.borderWidth,"options.borderWidth",["number"]),H(e.color,"options.color",[[Object,"Color"]]),dn(e.opacity,"opacity.opacity",0,1),H(e.borderColor,"options.borderColor",[[Object,"Color"]]),H(e.borderDashArray,"options.borderDashArray",[Array]),H(e.borderDashPhase,"options.borderDashPhase",["number"]),Br(e.borderLineCap,"options.borderLineCap",Ps),dn(e.borderOpacity,"options.borderOpacity",0,1),Br(e.blendMode,"options.blendMode",ri);var p=this.maybeEmbedGraphicsState({opacity:e.opacity,borderOpacity:e.borderOpacity,blendMode:e.blendMode});!("color"in e)&&!("borderColor"in e)&&(e.color=Be(0,0,0));var g=this.getContentStream();g.push.apply(g,cl({x:(r=e.x)!==null&&r!==void 0?r:this.x,y:(n=e.y)!==null&&n!==void 0?n:this.y,width:(i=e.width)!==null&&i!==void 0?i:150,height:(o=e.height)!==null&&o!==void 0?o:100,rotate:(a=e.rotate)!==null&&a!==void 0?a:ce(0),xSkew:(s=e.xSkew)!==null&&s!==void 0?s:ce(0),ySkew:(u=e.ySkew)!==null&&u!==void 0?u:ce(0),borderWidth:(l=e.borderWidth)!==null&&l!==void 0?l:0,color:(c=e.color)!==null&&c!==void 0?c:void 0,borderColor:(d=e.borderColor)!==null&&d!==void 0?d:void 0,borderDashArray:(h=e.borderDashArray)!==null&&h!==void 0?h:void 0,borderDashPhase:(f=e.borderDashPhase)!==null&&f!==void 0?f:void 0,graphicsState:p,borderLineCap:(m=e.borderLineCap)!==null&&m!==void 0?m:void 0}))},t.prototype.drawSquare=function(e){e===void 0&&(e={});var r=e.size;H(r,"size",["number"]),this.drawRectangle(ve(ve({},e),{width:r,height:r}))},t.prototype.drawEllipse=function(e){var r,n,i,o,a,s,u,l,c,d,h;e===void 0&&(e={}),H(e.x,"options.x",["number"]),H(e.y,"options.y",["number"]),H(e.xScale,"options.xScale",["
355number"]),H(e.yScale,"options.yScale",["number"]),H(e.rotate,"options.rotate",[[Object,"Rotation"]]),H(e.color,"options.color",[[Object,"Color"]]),dn(e.opacity,"opacity.opacity",0,1),H(e.borderColor,"options.borderColor",[[Object,"Color"]]),dn(e.borderOpacity,"options.borderOpacity",0,1),H(e.borderWidth,"options.borderWidth",["number"]),H(e.borderDashArray,"options.borderDashArray",[Array]),H(e.borderDashPhase,"options.borderDashPhase",["number"]),Br(e.borderLineCap,"options.borderLineCap",Ps),Br(e.blendMode,"options.blendMode",ri);var f=this.maybeEmbedGraphicsState({opacity:e.opacity,borderOpacity:e.borderOpacity,blendMode:e.blendMode});!("color"in e)&&!("borderColor"in e)&&(e.color=Be(0,0,0));var m=this.getContentStream();m.push.apply(m,Wm({x:(r=e.x)!==null&&r!==void 0?r:this.x,y:(n=e.y)!==null&&n!==void 0?n:this.y,xScale:(i=e.xScale)!==null&&i!==void 0?i:100,yScale:(o=e.yScale)!==null&&o!==void 0?o:100,rotate:(a=e.rotate)!==null&&a!==void 0?a:void 0,color:(s=e.color)!==null&&s!==void 0?s:void 0,borderColor:(u=e.borderColor)!==null&&u!==void 0?u:void 0,borderWidth:(l=e.borderWidth)!==null&&l!==void 0?l:0,borderDashArray:(c=e.borderDashArray)!==null&&c!==void 0?c:void 0,borderDashPhase:(d=e.borderDashPhase)!==null&&d!==void 0?d:void 0,borderLineCap:(h=e.borderLineCap)!==null&&h!==void 0?h:void 0,graphicsState:f}))},t.prototype.drawCircle=function(e){e===void 0&&(e={});var r=e.size,n=r===void 0?100:r;H(n,"size",["number"]),this.drawEllipse(ve(ve({},e),{xScale:n,yScale:n}))},t.prototype.setOrEmbedFont=function(e){var r=this.font,n=this.fontKey;e?this.setFont(e):this.getFont();var i=this.font,o=this.fontKey;return{oldFont:r,oldFontKey:n,newFont:i,newFontKey:o}},t.prototype.getFont=function(){if(!this.font||!this.fontKey){var e=this.doc.embedStandardFont(Sh.Helvetica);this.setFont(e)}return[this.font,this.fontKey]},t.prototype.resetFont=function(){this.font=void 0,this.fontKey=void 0},t.prototype.getContentStream=function(e){return e===void 0&&(e=!0),e&&this.contentStream?this.contentStream:(this.contentStream=this.createContentStream(),this.contentStreamRef=this.doc.context.register(this.contentStream),this.node.addContentStream(this.contentStreamRef),this.contentStream)},t.prototype.createContentStream=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=this.doc.context.obj({}),i=Au.of(n,e);return i},t.prototype.maybeEmbedGraphicsState=function(e){var r=e.opacity,n=e.borderOpacity,i=e.blendMode;if(!(r===void 0&&n===void 0&&i===void 0)){var o=this.doc.context.obj({Type:"ExtGState",ca:r,CA:n,BM:i}),a=this.node.newExtGState("GS",o);return a}},t.prototype.scaleAnnot=function(e,r,n){for(var i=["RD","CL","Vertices","QuadPoints","L","Rect"],o=0,a=i.length;o<a;o++){var s=e.lookup(T.of(i[o]));s instanceof Ue&&s.scalePDFNumbers(r,n)}var u=e.lookup(T.of("InkList"));if(u instanceof Ue)for(var o=0,a=u.size();o<a;o++){var l=u.lookup(o);l instanceof Ue&&l.scalePDFNumbers(r,n)}},t.of=function(e,r,n){return new t(e,r,n)},t.create=function(e){F(e,"doc",[[_a,"PDFDocument"]]);var r=Ze.of(-1),n=hi.withContextAndParent(e.context,r),i=e.context.register(n);return new t(n,i,e)},t}(),yf=function(t){K(e,t);function e(r,n,i){var o=t.call(this,r,n,i)||this;return F(r,"acroButton",[[xp,"PDFAcroPushButton"]]),o.acroField=r,o}return e.prototype.setImage=function(r,n){n===void 0&&(n=ko.Center);for(var i=this.acroField.getWidgets(),o=0,a=i.length;o<a;o++){var s=i[o],u=this.createImageAppearanceStream(s,r,n);this.updateWidgetAppearances(s,{normal:u})}this.markAsClean()},e.prototype.setFontSize=function(r){mp(r,"fontSize"),this.acroField.setFontSize(r),this.markAsDirty()},e.prototype.addToPage=function(r,n,i){var o,a,s,u,l,c,d,h,f,m,p;H(r,"text",["string"]),H(n,"page",[[qr,"PDFPage"]]),Rl(i);var g=this.createWidget({x:((o=i==null?void 0:i.x)!==null&&o!==void 0?o:0)-((a=i==null?void 0:i.borderWidth)!==null&&a!==void 0?a:0)/2,y:((s=i==null?void 0:i.y)!==null&&s!==void 0?s:0)-((u=i==null?void 0:i.borderWidth)!==null&&u!==void 0?u:0)/2,width:(l=i==null?void 0:i.width)!==null&&l!==void 0?l:100,height:(c=i==null?void 0:i.height)!==null&&c!==void 0?c:50,textColor:(d=i==null?void 0:i.textColor)!==null&&d!==void 0?d:Be(0,0,0),backgroundColor:(h=i==null?void 0:i.backgroundColor)!==null&&h!==void 0?h:Be(.75,.75,.75),borderColor:i==null?void 0:i.borderColor,borderWidth:(f=i==null?void 0:i.borderWidth)!==null&&f!==void 0?f:0,rotate:(m=i==null?void 0:i.rotate)!==null&&m!==void 0?m:ce(0),caption:r,hidden:i==null?void 0:i.hidden,page:n.ref}),v=this.doc.context.register(g.dict);this.acroField.addWidget(v);var y=(p=i==null?void 0:i.font)!==null&&p!==void 0?p:this.doc.getForm().getDefaultFont();this.updateWidgetAppearance(g,y),n.node.addAnnot(v)},e.prototype.needsAppearancesUpdate=function(){var r;if(this.isDirty())return!0;for(var n=this.acroField.getWidgets(),i=0,o=n.length;i<o;i++){var a=n[i],s=((r=a.getAppearances())===null||r===void 0?void 0:r.normal)instanceof _r;if(!s)return!0}return!1},e.prototype.defaultUpdateAppearances=function(r){F(r,"font",[[Fr,"PDFFont"]]),this.updateAppearances(r)},e.prototype.updateAppearances=function(r,n){F(r,"font",[[Fr,"PDFFont"]]),H(n,"provider",[Function]);for(var i=this.acroField.getWidgets(),o=0,a=i.length;o<a;o++){var s=i[o];this.updateWidgetAppearance(s,r,n)}},e.prototype.updateWidgetAppearance=function(r,n,i){var o=i??wV,a=Pl(o(this,r,n));this.updateWidgetAppearanceWithFont(r,n,a)},e.of=function(r,n,i){return new e(r,n,i)},e}(za);Be(.1,.2,.4);Be(.22,.46,.82);Be(0,0,0);function AV({brand:t,model:e,housingType:r,distance:n,parkingOwnership:i,garageType:o,parkingCoverage:a,city:s,state:u,cep:l,regionServed:c,leadName:d,leadPhone:h,leadEmail:f,onRestart:m}){var Q,Y,de;
355const[p,g]=x.useState(!1),[v,y]=x.useState(!1);x.useState(!1);const[w,S]=x.useState(!1),[k,C]=x.useState(null),R=KT({distance:n,housingType:r,garageType:o,parkingCoverage:a}),A=((Q=ih.find(ee=>ee.id===t))==null?void 0:Q.name)||t,_=((de=(Y=ih.find(ee=>ee.id===t))==null?void 0:Y.models.find(ee=>ee.id===e))==null?void 0:de.name)||e,O=R.type==="technical_visit_required"||i==="shared"||!c,D=r==="commercial_building";x.useEffect(()=>{w||(S(!0),R.min,R.max,R.reason)},[]);const M=()=>c?i==="shared"?"shared_parking":D||R.reason==="commercial_building"?"commercial":R.reason==="distance_over_limit"?"distance":"other":"region",L=()=>{switch(M()){case"region":return"Ainda não atuamos em sua região, mas estamos expandindo! Deixe seus dados e entraremos em contato quando estivermos disponíveis.";case"shared_parking":return"Instalações em vagas compartilhadas requerem uma análise técnica prévia para garantir a melhor solução.";case"commercial":return"Este projeto requer visita técnica. Nossa equipe entrará em contato para elaboração da proposta.";case"distance":return"Devido à distância superior a 200 metros, é necessária uma visita técnica para avaliar a melhor solução.";default:return"Uma visita técnica é necessária para avaliar seu projeto."}},N=()=>c?O||D?"Visita técnica necessária":`Parabéns, ${d.split(" ")[0]}! 🎉`:"Região não atendida",j=r==="house"?"Casa":r==="residential_building"?"Prédio Residencial":"Prédio Comercial",V=!O&&!D&&R.type==="calculated",B=`https://wa.me/5511995551495?text=${encodeURIComponent("olá quero mais informações sobre instalação de Wallbox")}`,z=async()=>{try{(p||v)&&(p&&void 0,v&&void 0,await fetch("https://tontqiepovknpnwhkici.supabase.co/functions/v1/update-lead-preferences",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:f,phone:h,wants_visit:p,wants_proposal:v})}))}catch{}};return b.jsxs("div",{className:"step-enter",children:[b.jsxs("div",{className:"text-center mb-6",children:[b.jsx("h2",{className:"text-xl md:text-2xl font-display font-bold text-foreground mb-1",children:N()}),b.jsx("p",{className:"text-muted-foreground text-sm",children:O||D?L():"Aqui está sua estimativa de investimento"})]}),V&&b.jsxs("div",{className:"bg-gradient-card rounded-2xl p-6 mb-6 border border-border shadow-glow",children:[b.jsx("p",{className:"text-sm text-muted-foreground mb-2",children:"Investimento estimado"}),b.jsxs("div",{className:"flex items-baseline gap-2 animate-count-up",children:[b.jsx("span",{className:"text-2xl md:text-3xl font-display font-bold text-gradient-primary",children:zx(R.min||0)}),b.jsx("span",{className:"text-lg text-muted-foreground",children:"a"}),b.jsx("span",{className:"text-2xl md:text-3xl font-display font-bold text-gradient-primary",children:zx(R.max||0)})]}),b.jsxs("p",{className:"text-xs text-muted-foreground mt-3 leading-relaxed",children:["⚠️ Este valor é ",b.jsx("strong",{children:"estimado"})," e poderá sofrer alterações para mais ou para menos após a visita técnica. Maiores detalhes e condições na proposta."]})]}),b.jsxs("div",{className:"space-y-2 mb-6",children:[b.jsx("div",{className:"text-center text-sm text-muted-foreground",children:b.jsxs("span",{className:"inline-flex items-center gap-2 px-4 py-2 bg-secondary rounded-full",children:["🚗 ",A," ",_]})}),b.jsx("div",{className:"text-center text-sm text-muted-foreground",children:b.jsxs("span",{className:"inline-flex items-center gap-2 px-4 py-2 bg-secondary rounded-full",children:["📍 ",s," - ",u]})}),b.jsx("div",{className:"text-center text-sm text-muted-foreground",children:b.jsxs("span",{className:"inline-flex items-center gap-2 px-4 py-2 bg-secondary rounded-full",children:["🏠 ",j," | ",n>200?">200":n,"m"]})})]}),b.jsxs("div",{className:"space-y-3 mb-6 p-4 bg-secondary rounded-xl border border-border",children:[b.jsx("p",{className:"text-sm font-medium text-foreground",children:"Deseja também:"}),b.jsxs("label",{className:"flex items-center gap-3 cursor-pointer",children:[b.jsx(Tm,{checked:p,onCheckedChange:ee=>g(ee===!0)}),b.jsxs("div",{className:"flex items-center gap-2",children:[b.jsx(LN,{className:"w-4 h-4 text-primary"}),b.jsx("span",{className:"text-sm text-foreground",children:"Agendar uma visita ou reunião"})]})]}),b.jsxs("label",{className:"flex items-center gap-3 cursor-pointer",children:[b.jsx(Tm,{checked:v,onCheckedChange:ee=>y(ee===!0)}),b.jsxs("div",{className:"flex items-center gap-2",children:[b.jsx(VN,{className:"w-4 h-4 text-primary"}),b.jsx("span",{className:"text-sm text-foreground",children:"Receber uma proposta formal"})]})]})]}),r==="residential_building"&&b.jsxs("div",{className:"mb-6 p-4 bg-accent/10 rounded-xl border border-accent/30",children:[b.jsxs("div",{className:"flex items-start gap-3 mb-3",children:[b.jsx(YN,{className:"w-5 h-5 text-accent mt-0.5 shrink-0"}),b.jsx("p",{className:"text-sm font-medium text-foreground leading-relaxed",children:"Você sabia que a lei agora obriga a fazer estudo de demanda em condomínios?"})]}),b.jsxs("div",{className:"flex gap-2 mb-3",children:[b.jsx("button",{onClick:()=>
355C(!0),className:`flex-1 py-2 px-4 rounded-lg text-sm font-medium transition-all border-2 ${k===!0?"border-primary bg-primary/10 text-primary":"border-border bg-secondary text-muted-foreground hover:border-primary/40"}`,children:"Sim"}),b.jsx("button",{onClick:()=>C(!1),className:`flex-1 py-2 px-4 rounded-lg text-sm font-medium transition-all border-2 ${k===!1?"border-primary bg-primary/10 text-primary":"border-border bg-secondary text-muted-foreground hover:border-primary/40"}`,children:"Não"})]}),b.jsxs("a",{href:`https://wa.me/5511995551495?text=${encodeURIComponent("olá quero mais informações sobre instalação de Wallbox")}`,target:"_blank",rel:"noopener noreferrer",className:"flex items-center justify-center gap-2 w-full py-2.5 px-4 rounded-lg bg-accent/20 text-accent-foreground text-sm font-semibold hover:bg-accent/30 transition-colors",children:[b.jsx(kb,{className:"w-4 h-4"}),"Clique para saber o preço do estudo de demandas"]})]}),b.jsxs("div",{className:"space-y-3",children:[b.jsx(Qt,{asChild:!0,className:"w-full h-14 bg-gradient-primary text-primary-foreground font-display font-semibold text-lg hover:opacity-90 transition-all shadow-button",onClick:z,children:b.jsxs("a",{href:B,target:"_blank",rel:"noopener noreferrer",children:[b.jsx(kb,{className:"mr-2 w-5 h-5"}),O||D?"Falar com um Especialista":"Solicitar Vistoria Técnica"]})}),b.jsxs(Qt,{variant:"ghost",className:"w-full text-muted-foreground hover:text-foreground",onClick:m,children:[b.jsx(XN,{className:"mr-2 w-4 h-4"}),"Fazer nova simulação"]})]})]})}const mS={brand:"",model:"",housingType:null,distance:15,parkingOwnership:null,garageType:null,parkingCoverage:null,cep:"",city:"",state:"",leadName:"",leadPhone:"",leadEmail:""};function OV(){const[t,e]=x.useState(1),[r,n]=x.useState(mS);x.useEffect(()=>{},[]);const i=(d,h)=>{n(f=>({...f,brand:d,model:h})),e(2)},o=d=>{n(h=>({...h,housingType:d.housingType,distance:d.distance,parkingOwnership:d.parkingOwnership,garageType:d.garageType,parkingCoverage:d.parkingCoverage,cep:d.cep,city:d.city,state:d.state})),e(3)},a=d=>{n(h=>({...h,leadName:d.name,leadPhone:d.phone,leadEmail:d.email})),e(4)},s=()=>{n(mS),e(1)},u=r.city&&r.state?GT(r.city,r.state):!0,c=(()=>{if(!r.housingType||!r.garageType||!r.parkingCoverage)return null;const d={distance:r.distance,housingType:r.housingType,garageType:r.garageType,parkingCoverage:r.parkingCoverage},h=KT(d),f=h.type==="technical_visit_required"||r.parkingOwnership==="shared"||!u;return{brand:r.brand,model:r.model,housingType:r.housingType,distance:r.distance,parkingOwnership:r.parkingOwnership,garageType:r.garageType,parkingCoverage:r.parkingCoverage,cep:r.cep,city:r.city,state:r.state,regionServed:u,estimatedMin:h.min,estimatedMax:h.max,needsTechnicalVisit:f}})();return b.jsxs("div",{className:"w-full max-w-md mx-auto",children:[t<4&&b.jsx(R4,{currentStep:t,totalSteps:4}),t===1&&b.jsx(nL,{onNext:i,initialBrand:r.brand,initialModel:r.model}),t===2&&b.jsx(SL,{onNext:o,onBack:()=>e(1),initialData:{housingType:r.housingType,distance:r.distance,parkingOwnership:r.parkingOwnership,garageType:r.garageType,parkingCoverage:r.parkingCoverage,cep:r.cep,city:r.city,state:r.state}}),t===3&&c&&b.jsx(PL,{onNext:a,onBack:()=>e(2),context:c}),t===4&&r.housingType&&r.garageType&&r.parkingCoverage&&b.jsx(AV,{brand:r.brand,model:r.model,housingType:r.housingType,distance:r.distance,parkingOwnership:r.parkingOwnership,garageType:r.garageType,parkingCoverage:r.parkingCoverage,city:r.city,state:r.state,cep:r.cep,regionServed:u,leadName:r.leadName,leadPhone:r.leadPhone,leadEmail:r.leadEmail,onRestart:s})]})}const _V=()=>b.jsxs("div",{className:"min-h-screen bg-background",style:{backgroundImage:"url(/images/bg-charger.jpg)",backgroundSize:"cover",backgroundPosition:"center",backgroundAttachment:"fixed"},children:[b.jsx("header",{className:"pt-6 pb-4 px-4 border-b border-white/10",children:b.jsx("div",{className:"max-w-md mx-auto flex items-center justify-center",children:b.jsx("img",{alt:"EnergySpot",className:"h-10 object-fill",src:"/lovable-uploads/6f892679-acc7-4193-a8bc-6f56269ad159.svg"})})}),b.jsx("section",{className:"px-4 pt-4 pb-8",children:b.jsxs("div",{className:"max-w-md mx-auto text-center",children:[b.jsxs("h1",{className:"text-3xl font-display font-extrabold mb-3 leading-tight text-primary-foreground md:text-base",children:["Quanto custa instalar um"," ",b.jsx("span",{className:"text-gradient-primary",children:"Wallbox"}),"?"]}),b.jsx("p",{className:"text-sm text-white",children:"Calcule em 1 minuto e receba seu orçamento personalizado"})]})}),b.jsx("main",{className:"px-4 pb-8",children:b.jsx("div",{className:"max-w-md mx-auto glass rounded-3xl p-6 md:p-8",children:b.jsx(OV,{})})}),b.jsx("footer",{className:"px-4 pb-8 py-[16px]",children:b.jsx("div",{className:"max-w-md mx-auto text-center",children:b.jsx("p",{className:"text-sm text-muted-foreground",children:"© 2025 EnergySpot. Especialistas em mobilidade elétrica."})})})]}),NV=()=>{const t=py();return x.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",t.pathname)},[t.pathname]),b.jsx("div",{className:"flex min-h-screen items-center justify-center bg-muted",children:b.jsxs("div",{className:"text-center",children:[b.jsx("h1",{className:"mb-4 text-4xl font-bold",children:"404"}),b.jsx("p",{className:"mb-4 text-xl text-muted-foreground",children:"Oops! Page not found"}),b.jsx("a",{href:"/",className:"text-primary underline hover:text-primary/90",children:"Return to Home"})]})})},ni=x.forwardRef(({className:t,...e},r)=>b.jsx("div",{ref:r,className:De("rounded-lg border bg-card text-card-foreground shadow-sm",t),...e}));
355ni.displayName="Card";const Qy=x.forwardRef(({className:t,...e},r)=>b.jsx("div",{ref:r,className:De("flex flex-col space-y-1.5 p-6",t),...e}));Qy.displayName="CardHeader";const $y=x.forwardRef(({className:t,...e},r)=>b.jsx("h3",{ref:r,className:De("text-2xl font-semibold leading-none tracking-tight",t),...e}));$y.displayName="CardTitle";const jV=x.forwardRef(({className:t,...e},r)=>b.jsx("p",{ref:r,className:De("text-sm text-muted-foreground",t),...e}));jV.displayName="CardDescription";const ii=x.forwardRef(({className:t,...e},r)=>b.jsx("div",{ref:r,className:De("p-6 pt-0",t),...e}));ii.displayName="CardContent";const FV=x.forwardRef(({className:t,...e},r)=>b.jsx("div",{ref:r,className:De("flex items-center p-6 pt-0",t),...e}));FV.displayName="CardFooter";function IV(){const[t,e]=x.useState(""),[r,n]=x.useState(""),[i,o]=x.useState(""),[a,s]=x.useState(!1),[u,l]=x.useState(0),{signIn:c}=zT(),d=xT(),h=u>=5,f=async m=>{if(m.preventDefault(),h){o("Muitas tentativas. Aguarde alguns minutos.");return}o(""),s(!0);const{error:p}=await c(t.trim(),r);if(s(!1),p){l(g=>g+1),o("Credenciais inválidas");return}d("/admin")};return b.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gradient-card p-4",children:b.jsxs(ni,{className:"w-full max-w-md 
355shadow-card",children:[b.jsxs(Qy,{className:"text-center",children:[b.jsx("div",{className:"mx-auto w-12 h-12 rounded-full bg-primary/10 flex items-center justify-center mb-3",children:b.jsx(Jg,{className:"w-6 h-6 text-primary"})}),b.jsx($y,{className:"font-display text-2xl",children:"Área Administrativa"}),b.jsx("p",{className:"text-sm text-muted-foreground",children:"EnergySpot - Painel de Gestão"})]}),b.jsx(ii,{children:b.jsxs("form",{onSubmit:f,className:"space-y-4",children:[i&&b.jsxs("div",{className:"flex items-center gap-2 p-3 bg-destructive/10 text-destructive rounded-lg text-sm",children:[b.jsx(UN,{className:"w-4 h-4 shrink-0"}),i]}),b.jsxs("div",{children:[b.jsx("label",{className:"text-sm font-medium text-foreground",children:"E-mail"}),b.jsx(wo,{type:"email",value:t,onChange:m=>e(m.target.value),placeholder:"[email protected]",className:"mt-1 h-12",required:!0,autoComplete:"email"})]}),b.jsxs("div",{children:[b.jsx("label",{className:"text-sm font-medium text-foreground",children:"Senha"}),b.jsx(wo,{type:"password",value:r,onChange:m=>n(m.target.value),placeholder:"••••••••",className:"mt-1 h-12",required:!0,autoComplete:"current-password"})]}),b.jsx(Qt,{type:"submit",className:"w-full h-12 bg-gradient-primary font-display font-semibold",disabled:a||h,children:a?b.jsx("div",{className:"w-5 h-5 border-2 border-primary-foreground border-t-transparent rounded-full animate-spin"}):b.jsxs(b.Fragment,{children:[b.jsx(qN,{className:"mr-2 w-5 h-5"}),"Entrar"]})})]})})]})})}const $R=x.forwardRef(({className:t,...e},r)=>b.jsx("div",{className:"relative w-full overflow-auto",children:b.jsx("table",{ref:r,className:De("w-full caption-bottom text-sm",t),...e})}));$R.displayName="Table";const eA=x.forwardRef(({className:t,...e},r)=>b.jsx("thead",{ref:r,className:De("[&_tr]:border-b",t),...e}));eA.displayName="TableHeader";const tA=x.forwardRef(({className:t,...e},r)=>b.jsx("tbody",{ref:r,className:De("[&_tr:last-child]:border-0",t),...e}));tA.displayName="TableBody";const DV=x.forwardRef(({className:t,...e},r)=>b.jsx("tfoot",{ref:r,className:De("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",t),...e}));DV.displayName="TableFooter";const wf=x.forwardRef(({className:t,...e},r)=>b.jsx("tr",{ref:r,className:De("border-b transition-colors data-[state=selected]:bg-muted hover:bg-muted/50",t),...e}));wf.displayName="TableRow";const fr=x.forwardRef(({className:t,...e},r)=>b.jsx("th",{ref:r,className:De("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",t),...e}));fr.displayName="TableHead";const rr=x.forwardRef(({className:t,...e},r)=>b.jsx("td",{ref:r,className:De("p-4 align-middle [&:has([role=checkbox])]:pr-0",t),...e}));rr.displayName="TableCell";const MV=x.forwardRef(({className:t,...e},r)=>b.jsx("caption",{ref:r,className:De("mt-4 text-sm text-muted-foreground",t),...e}));MV.displayName="TableCaption";const LV=Xg("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function gS({className:t,variant:e,...r}){return b.jsx("div",{className:De(LV({variant:e}),t),...r})}const Kv=[{value:"novo",label:"Novo",color:"bg-blue-100 text-blue-800"},{value:"em_contato",label:"Em Contato",color:"bg-yellow-100 text-yellow-800"},{value:"proposta_enviada",label:"Proposta Enviada",color:"bg-purple-100 text-purple-800"},{value:"convertido",label:"Convertido",color:"bg-green-100 text-green-800"},{value:"perdido",label:"Perdido",color:"bg-red-100 text-red-800"}],Gv={house:"Casa",residential_building:"Prédio Residencial",commercial_building:"Prédio Comercial"},Xv=25;function BV(){const{user:t,role:e,signOut:r,loading:n}=zT(),i=xT(),[o,a]=x.useState([]),[s,u]=x.useState(!0),[l,c]=x.useState(""),[d,h]=x.useState("all"),[f,m]=x.useState("all"),[p,g]=x.use
355State("all"),[v,y]=x.useState("all"),[w,S]=x.useState(0),[k,C]=x.useState(null);x.useEffect(()=>{!n&&(!t||!e)&&i("/admin/login")},[t,e,n,i]);const E=async()=>{u(!0);const{data:N,error:j}=await Qo.from("leads").select("*").order("created_at",{ascending:!1});!j&&N&&a(N),u(!1)};x.useEffect(()=>{t&&e&&E()},[t,e]);const R=async(N,j)=>{e==="admin"&&(await Qo.from("leads").update({status:j,updated_by:t==null?void 0:t.id}).eq("id",N),a(V=>V.map(I=>I.id===N?{...I,status:j}:I)))},A=x.useMemo(()=>o.filter(N=>{const j=l.toLowerCase(),V=!j||N.name.toLowerCase().includes(j)||N.phone.includes(j)||N.email.toLowerCase().includes(j),I=d==="all"||N.status===d,B=f==="all"||N.housing_type===f,z=p==="all"||p==="yes"&&N.wants_visit||p==="no"&&!N.wants_visit,Q=v==="all"||v==="yes"&&N.wants_proposal||v==="no"&&!N.wants_proposal;return V&&I&&B&&z&&Q}),[o,l,d,f,p,v]),_=A.slice(w*Xv,(w+1)*Xv),O=Math.ceil(A.length/Xv),D=()=>{const N=["Nome","Telefone","E-mail","Marca","Modelo","Tipo Local","Garagem","Cobertura","Distância","CEP","Cidade","UF","Estimativa Min","Estimativa Max","Visita Técnica","Quer Visita","Quer Proposta","Status","UTM Source","UTM Medium","UTM Campaign","Meta Click ID","GCLID","Data"],j=A.map(z=>[z.name,z.phone,z.email,z.brand,z.model,Gv[z.housing_type]||z.housing_type,z.garage_type,z.parking_coverage,z.distance,z.cep||"",z.city||"",z.state||"",z.estimated_min||"",z.estimated_max||"",z.needs_technical_visit?"Sim":"Não",z.wants_visit?"Sim":"Não",z.wants_proposal?"Sim":"Não",z.status,z.utm_source||"",z.utm_medium||"",z.utm_campaign||"",z.meta_click_id||"",z.gclid||"",new Date(z.created_at).toLocaleString("pt-BR")]),V=[N,...j].map(z=>z.map(Q=>`"${Q}"`).join(",")).join(`
356`),I=new Blob(["\uFEFF"+V],{type:"text/csv;charset=utf-8;"}),B=document.createElement("a");B.href=URL.createObjectURL(I),B.download=`leads_energyspot_${new Date().toISOString().slice(0,10)}.csv`,B.click()},M=N=>N?`R$ ${N.toLocaleString("pt-BR")}`:"-",L=N=>{const j=Kv.find(V=>V.value===N);return b.jsx(gS,{className:`${(j==null?void 0:j.color)||"bg-muted text-muted-foreground"} text-xs`,children:(j==null?void 0:j.label)||N})};return n||!t||!e?b.jsx("div",{className:"min-h-screen flex items-center justify-center",children:b.jsx("div",{className:"w-8 h-8 border-4 border-primary border-t-transparent rounded-full animate-spin"})}):b.jsxs("div",{className:"min-h-screen bg-background",children:[b.jsx("header",{className:"border-b border-border bg-card sticky top-0 z-10",children:b.jsxs("div",{className:"max-w-[1400px] mx-auto px-4 py-3 flex items-center justify-between",children:[b.jsxs("div",{className:"flex items-center gap-3",children:[b.jsx("h1",{className:"font-display font-bold text-lg text-foreground",children:"EnergySpot Admin"}),b.jsx(gS,{variant:"secondary",className:"text-xs capitalize",children:e})]}),b.jsxs("div",{className:"flex items-center gap-2",children:[b.jsx("span",{className:"text-sm text-muted-foreground hidden md:inline",children:t.email}),b.jsx(Qt,{variant:"ghost",size:"sm",onClick:()=>r(),children:b.jsx(HN,{className:"w-4 h-4"})})]})]})}),b.jsxs("main",{className:"max-w-[1400px] mx-auto p-4 space-y-4",children:[b.jsxs("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-3",children:[b.jsx(ni,{children:b.jsxs(ii,{className:"p-4",children:[b.jsx("p",{className:"text-sm text-muted-foreground",children:"Total"}),b.jsx("p",{className:"text-2xl font-bold font-display",children:o.length})]})}),b.jsx(ni,{children:b.jsxs(ii,{className:"p-4",children:[b.jsx("p",{className:"text-sm text-muted-foreground",children:"Novos"}),b.jsx("p",{className:"text-2xl font-bold font-display text-primary",children:o.filter(N=>N.status==="novo").length})]})}),b.jsx(ni,{children:b.jsxs(ii,{className:"p-4",children:[b.jsx("p",{className:"text-sm text-muted-foreground",children:"Convertidos"}),b.jsx("p",{className:"text-2xl font-bold font-display text-green-600",children:o.filter(N=>N.status==="convertido").length})]})}),b.jsx(ni,{children:b.jsxs(ii,{className:"p-4",children:[b.jsx("p",{className:"text-sm text-muted-foreground",children:"Pedidos de Visita"}),b.jsx("p",{className:"text-2xl font-bold font-display",children:o.filter(N=>N.wants_visit).length})]})})]}),b.jsx(ni,{children:b.jsx(ii,{className:"p-4",children:b.jsxs("div",{className:"flex flex-wrap items-center gap-3",children:[b.jsx("div",{className:"flex-1 min-w-[200px]",children:b.jsxs("div",{className:"relative",children:[b.jsx(JN,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-muted-foreground"}),b.jsx(wo,{placeholder:"Buscar nome, telefone ou e-mail...",value:l,onCh
356ange:N=>{c(N.target.value),S(0)},className:"pl-10 h-10"})]})}),b.jsxs($o,{value:d,onValueChange:N=>{h(N),S(0)},children:[b.jsx(Xi,{className:"w-[150px] h-10",children:b.jsx(ea,{placeholder:"Status"})}),b.jsxs(Zi,{children:[b.jsx(Yt,{value:"all",children:"Todos Status"}),Kv.map(N=>b.jsx(Yt,{value:N.value,children:N.label},N.value))]})]}),b.jsxs($o,{value:f,onValueChange:N=>{m(N),S(0)},children:[b.jsx(Xi,{className:"w-[160px] h-10",children:b.jsx(ea,{placeholder:"Tipo Local"})}),b.jsxs(Zi,{children:[b.jsx(Yt,{value:"all",children:"Todos Tipos"}),b.jsx(Yt,{value:"house",children:"Casa"}),b.jsx(Yt,{value:"residential_building",children:"Prédio Residencial"}),b.jsx(Yt,{value:"commercial_building",children:"Prédio Comercial"})]})]}),b.jsxs($o,{value:p,onValueChange:N=>{g(N),S(0)},children:[b.jsx(Xi,{className:"w-[140px] h-10",children:b.jsx(ea,{placeholder:"Visita"})}),b.jsxs(Zi,{children:[b.jsx(Yt,{value:"all",children:"Visita: Todos"}),b.jsx(Yt,{value:"yes",children:"Quer Visita"}),b.jsx(Yt,{value:"no",children:"Sem Visita"})]})]}),b.jsxs($o,{value:v,onValueChange:N=>{y(N),S(0)},children:[b.jsx(Xi,{className:"w-[150px] h-10",children:b.jsx(ea,{placeholder:"Proposta"})}),b.jsxs(Zi,{children:[b.jsx(Yt,{value:"all",children:"Proposta: Todos"}),b.jsx(Yt,{value:"yes",children:"Quer Proposta"}),b.jsx(Yt,{value:"no",children:"Sem Proposta"})]})]}),b.jsxs(Qt,{variant:"outline",size:"sm",onClick:E,children:[b.jsx(GN,{className:"w-4 h-4 mr-1"})," Atualizar"]}),b.jsxs(Qt,{variant:"outline",size:"sm",onClick:D,children:[b.jsx(zN,{className:"w-4 h-4 mr-1"})," CSV"]})]})})}),b.jsx(ni,{children:b.jsx(ii,{className:"p-0",children:s?b.jsx("div",{className:"p-12 flex justify-center",children:b.jsx("div",{className:"w-8 h-8 border-4 border-primary border-t-transparent rounded-full animate-spin"})}):b.jsxs(b.Fragment,{children:[b.jsx("div",{className:"overflow-x-auto",children:b.jsxs($R,{children:[b.jsx(eA,{children:b.jsxs(wf,{children:[b.jsx(fr,{className:"min-w-[140px]",children:"Nome"}),b.jsx(fr,{children:"WhatsApp"}),b.jsx(fr,{children:"E-mail"}),b.jsx(fr,{children:"Veículo"}),b.jsx(fr,{children:"Local"}),b.jsx(fr,{children:"Cidade/UF"}),b.jsx(fr,{children:"Dist."}),b.jsx(fr,{children:"Estimativa"}),b.jsx(fr,{children:"Visita"}),b.jsx(fr,{children:"Proposta"}),b.jsx(fr,{children:"Status"}),b.jsx(fr,{children:"Data"}),b.jsx(fr,{})]})}),b.jsxs(tA,{children:[_.map(N=>b.jsxs(wf,{children:[b.jsx(rr,{className:"font-medium",children:N.name}),b.jsx(rr,{className:"whitespace-nowrap",children:N.phone}),b.jsx(rr,{className:"max-w-[180px] truncate",children:N.email}),b.jsxs(rr,{className:"whitespace-nowrap",children:[N.brand," ",N.model]}),b.jsx(rr,{children:Gv[N.housing_type]||N.housing_type}),b.jsxs(rr,{className:"whitespace-nowrap",children:[N.city||"-","/",N.state||"-"]}),b.jsxs(rr,{children:[N.distance,"m"]}),b.jsx(rr,{className:"whitespace-nowrap",children:N.estimated_min?`${M(N.estimated_min)} - ${M(N.estimated_max)}`:"-"}),b.jsx(rr,{children:N.wants_visit?"✅":"-"}),b.jsx(rr,{children:N.wants_proposal?"✅":"-"}),b.jsx(rr,{children:e==="admin"?b.jsxs($o,{value:N.status,onValueChange:j=>R(N.id,j),children:[b.jsx(Xi,{className:"h-8 w-[130px] text-xs",children:b.jsx(ea,{})}),b.jsx(Zi,{children:Kv.map(j=>b.jsx(Yt,{value:j.value,children:j.label},j.value))})]}):L(N.status)}),b.jsx(rr,{className:"whitespace-nowrap text-sm text-muted-foreground",children:new Date(N.created_at).toLocaleDateString("pt-BR")}),b.jsx(rr,{children:b.jsx(Qt,{variant:"ghost",size:"icon",onClick:()=>C(N),children:b.jsx(gE,{className:"w-4 h-4"})})})]},N.id)),_.length===0&&b.jsx(wf,{children:b.jsx(rr,{colSpan:13,className:"text-center py-8 text-muted-foreground",children:"Nenhum lead encontrado"})})]})]})}),b.jsxs("div",{className:"flex items-center justify-between p-4 border-t border-border",children:[b.jsxs("span",{className:"text-sm text-muted-foreground",children:[A.length," lead",A.length!==1?"s":""," encontrado",A.length!==1?"s":""]}),b.jsxs("div",{className:"flex items-center gap-2",children:[b.jsx(Qt,{variant:"outline",size:"sm",disabled:w===0,onClick:()=>S(N=>N-1),children:b.jsx(Zg,{className:"w-4 h-4"})}),b.jsxs("span",{className:"text-sm",children:[w+1," / ",O||1]}),b.jsx(Qt,{variant:"outline",size:"sm",disabled:w>=O-1,onClick:()=>S(N=>N+1),children:b.jsx(Yg,{className:"w-4 h-4"})})]})]})]})})}),k&&b.jsx("div",{className:"fixed inset-0 bg-black/50 z-50 flex items-center justify-center p-4",onClick:()=>C(null),children:b.jsxs(ni,{className:"w-full max-w-lg max-h-[85vh] overflow-y-auto",onClick:N=>N.stopPropagation(),children:[b.jsx(Qy,{children:b.jsx($y,{className:"font-display",children:"Detalhes do Lead"})}),b.jsxs(ii,{className:"space-y-3 text-sm",children:[[["Nome",k.name],["WhatsApp",k.phone],["E-mail",k.email],["Veículo",`${k.brand} ${k.model}`],["Tipo Local",Gv[k.housing_type]||k.housing_type],["Garagem",k.garage_type==="closed"?"Fechada":"Aberta"],["Cobertura",k.parking_coverage==="covered"?"Coberta":"Descoberta"],["Propriedade Vaga",k.parking_ownership||"-"],["Distância",`${k.distance}m`],["CEP",k.cep||"-"],["Cidade/UF",`${k.city||"-"}/${k.state||"-"}`],["Região Atendida",k.region_served?"Sim":"Não"],["Estimativa",k.estimated_min?`${M(k.estimated_min)} - ${M(k.estimated_max)}
356`:"-"],["Visita Técnica",k.needs_technical_visit?"Sim":"Não"],["Quer Visita",k.wants_visit?"Sim":"Não"],["Quer Proposta",k.wants_proposal?"Sim":"Não"],["Status",k.status],["UTM Source",k.utm_source||"-"],["UTM Medium",k.utm_medium||"-"],["UTM Campaign",k.utm_campaign||"-"],["Meta Click ID",k.meta_click_id||"-"],["GCLID",k.gclid||"-"],["Criado em",new Date(k.created_at).toLocaleString("pt-BR")]].map(([N,j])=>b.jsxs("div",{className:"flex justify-between border-b border-border pb-2",children:[b.jsx("span",{className:"text-muted-foreground",children:N}),b.jsx("span",{className:"font-medium text-right",children:j})]},N)),b.jsx(Qt,{variant:"outline",className:"w-full mt-4",onClick:()=>C(null),children:"Fechar"})]})]})})]})]})}const UV=new SD,zV=()=>b.jsx(CD,{client:UV,children:b.jsx(QI,{children:b.jsxs(Y8,{children:[b.jsx(Ij,{}),b.jsx(hF,{}),b.jsx(g3,{children:b.jsxs(p3,{children:[b.jsx(tu,{path:"/",element:b.jsx(_V,{})}),b.jsx(tu,{path:"/admin/login",element:b.jsx(IV,{})}),b.jsx(tu,{path:"/admin",element:b.jsx(BV,{})}),b.jsx(tu,{path:"*",element:b.jsx(NV,{})})]})})]})})});BC(document.getElementById("root")).render(b.jsx(zV,{}));

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.