vendor: 6,399 bytes, lines 1-9
1var Uq=Object.defineProperty;var Lq=(t,e,r)=>e in t?Uq(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var Tc=(t,e,r)=>Lq(t,typeof e!="symbol"?e+"":e,r);function rU(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 a=Object.getOwnPropertyDescriptor(n,i);a&&Object.defineProperty(t,i,a.get?a:{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 a of i)if(a.type==="childList")for(const s of a.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&n(s)}).observe(document,{childList:!0,subtree:!0});function r(i){const a={};return i.integrity&&(a.integrity=i.integrity),i.referrerPolicy&&(a.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?a.credentials="include":i.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function n(i){if(i.ep)return;i.ep=!0;const a=r(i);fetch(i.href,a)}})();var oSe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function y1(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function nU(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var r=function n(){return this instanceof n?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach(function(n){var i=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return t[n]}})}),r}var iU={exports:{}},cC={},aU={exports:{}},xr={};/** 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 w1=Symbol.for("react.element"),Mq=Symbol.for("react.portal"),Qq=Symbol.for("react.fragment"),Hq=Symbol.for("react.strict_mode"),zq=Symbol.for("react.profiler"),Vq=Symbol.for("react.provider"),Wq=Symbol.for("react.context"),Kq=Symbol.for("react.forward_ref"),qq=Symbol.for("react.suspense"),Gq=Symbol.for("react.memo"),Jq=Symbol.for("react.lazy"),Oj=Symbol.iterator;function Xq(t){return t===null||typeof t!="object"?null:(t=Oj&&t[Oj]||t["@@iterator"],typeof t=="function"?t:null)}var sU={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},oU=Object.assign,lU={};function xp(t,e,r){this.props=t,this.context=e,this.refs=lU,this.updater=r||sU}xp.prototype.isReactComponent={};xp.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")};xp.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function cU(){}cU.prototype=xp.prototype;function z_(t,e,r){this.props=t,this.context=e,this.refs=lU,this.updater=r||sU}var V_=z_.prototype=new cU;V_.constructor=z_;oU(V_,xp.prototype);V_.isPureReactComponent=!0;var Rj=Array.isArray,AU=Object.prototype.hasOwnProperty,W_={current:null},uU={key:!0,ref:!0,__self:!0,__source:!0};function dU(t,e,r){var n,i={},a=null,s=null;if(e!=null)for(n in e.ref!==void 0&&(s=e.ref),e.key!==void 0&&(a=""+e.key),e)AU.call(e,n)&&!uU.hasOwnProperty(n)&&(i[n]=e[n]);var o=arguments.length-2;if(o===1)i.children=r;else if(1<o){for(var c=Array(o),A=0;A<o;A++)c[A]=arguments[A+2];i.children=c}if(t&&t.defaultProps)for(n in o=t.defaultProps,o)i[n]===void 0&&(i[n]=o[n]);return{$$typeof:w1,type:t,key:a,ref:s,props:i,_owner:W_.current}}function Yq(t,e){return{$$typeof:w1,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}}function K_(t){return typeof t=="object"&&t!==null&&t.$$typeof===w1}function Zq(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(r){return e[r]})}var Uj=/\/+/g;function kB(t,e){return typeof t=="object"&&t!==null&&t.key!=null?Zq(""+t.key):e.toString(36)}function Fw(t,e,r,n,i){var a=typeof t;(a==="undefined"||a==="boolean")&&(t=null);var s=!1;if(t===null)s=!0;else switch(a){case"string":case"number":s=!0;break;case"object":switch(t.$$typeof){case w1:case Mq:s=!0}}if(s)return s=t,i=i(s),t=n===""?"."+kB(s,0):n,Rj(i)?(r="",t!=null&&(r=t.replace(Uj,"$&/")+"/"),Fw(i,e,r,"",function(A){return A})):i!=null&&(K_(i)&&(i=Yq(i,r+(!i.key||s&&s.key===i.key?"":(""+i.key).replace(Uj,"$&/")+"/")+t)),e.push(i)),1;if(s=0,n=n===""?".":n+":",Rj(t))for(var o=0;o<t.length;o++){a=t[o];var c=n+kB(a,o);s+=Fw(a,e,r,c,i)}else if(c=Xq(t),typeof c=="function")for(t=c.call(t),o=0;!(a=t.next()).done;)a=a.value,c=n+kB(a,o++),s+=Fw(a,e,r,c,i);else if(a==="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 s}function Jx(t,e,r){if(t==null)return t;var n=[],i=0;return Fw(t,n,"","",function(a){return e.call(r,a,i++)}),n}function $q(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 ls={current:null},Tw={transition:null},eG={ReactCurrentDispatcher:ls,ReactCurrentBatchConfig:Tw,ReactCurrentOwner:W_};function hU(){throw Error("act(...) is not supported in production builds of React.")}xr.Children={map:Jx,forEach:function(t,e,r){Jx(t,function(){e.apply(this,arguments)},r)},count:function(t){var e=0;return Jx(t,function(){e++}),e},toArray:function(t){return Jx(t,function(e){return e})||[]},only:function(t){if(!K_(t))throw Error("React.Children.only expected to receive a single React element child.");return t}};xr.Component=xp;xr.Fragment=Qq;xr.Profiler=zq;xr.PureComponent=z_;xr.StrictMode=Hq;xr.Suspense=qq;
vendor: 5,117 bytes, lines 9-25
9xr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=eG;xr.act=hU;xr.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=oU({},t.props),i=t.key,a=t.ref,s=t._owner;if(e!=null){if(e.ref!==void 0&&(a=e.ref,s=W_.current),e.key!==void 0&&(i=""+e.key),t.type&&t.type.defaultProps)var o=t.type.defaultProps;for(c in e)AU.call(e,c)&&!uU.hasOwnProperty(c)&&(n[c]=e[c]===void 0&&o!==void 0?o[c]:e[c])}var c=arguments.length-2;if(c===1)n.children=r;else if(1<c){o=Array(c);for(var A=0;A<c;A++)o[A]=arguments[A+2];n.children=o}return{$$typeof:w1,type:t.type,key:i,ref:a,props:n,_owner:s}};xr.createContext=function(t){return t={$$typeof:Wq,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},t.Provider={$$typeof:Vq,_context:t},t.Consumer=t};xr.createElement=dU;xr.createFactory=function(t){var e=dU.bind(null,t);return e.type=t,e};xr.createRef=function(){return{current:null}};xr.forwardRef=function(t){return{$$typeof:Kq,render:t}};xr.isValidElement=K_;xr.lazy=function(t){return{$$typeof:Jq,_payload:{_status:-1,_result:t},_init:$q}};xr.memo=function(t,e){return{$$typeof:Gq,type:t,compare:e===void 0?null:e}};xr.startTransition=function(t){var e=Tw.transition;Tw.transition={};try{t()}finally{Tw.transition=e}};xr.unstable_act=hU;xr.useCallback=function(t,e){return ls.current.useCallback(t,e)};xr.useContext=function(t){return ls.current.useContext(t)};xr.useDebugValue=function(){};xr.useDeferredValue=function(t){return ls.current.useDeferredValue(t)};xr.useEffect=function(t,e){return ls.current.useEffect(t,e)};xr.useId=function(){return ls.current.useId()};xr.useImperativeHandle=function(t,e,r){return ls.current.useImperativeHandle(t,e,r)};xr.useInsertionEffect=function(t,e){return ls.current.useInsertionEffect(t,e)};xr.useLayoutEffect=function(t,e){return ls.current.useLayoutEffect(t,e)};xr.useMemo=function(t,e){return ls.current.useMemo(t,e)};xr.useReducer=function(t,e,r){return ls.current.useReducer(t,e,r)};xr.useRef=function(t){return ls.current.useRef(t)};xr.useState=function(t){return ls.current.useState(t)};xr.useSyncExternalStore=function(t,e,r){return ls.current.useSyncExternalStore(t,e,r)};xr.useTransition=function(){return ls.current.useTransition()};xr.version="18.3.1";aU.exports=xr;var Z=aU.exports;const hr=y1(Z),tG=rU({__proto__:null,default:hr},[Z]);/** 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 rG=Z,nG=Symbol.for("react.element"),iG=Symbol.for("react.fragment"),aG=Object.prototype.hasOwnProperty,sG=rG.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,oG={key:!0,ref:!0,__self:!0,__source:!0};function fU(t,e,r){var n,i={},a=null,s=null;r!==void 0&&(a=""+r),e.key!==void 0&&(a=""+e.key),e.ref!==void 0&&(s=e.ref);for(n in e)aG.call(e,n)&&!oG.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:nG,type:t,key:a,ref:s,props:i,_owner:sG.current}}cC.Fragment=iG;cC.jsx=fU;cC.jsxs=fU;iU.exports=cC;var l=iU.exports,pU={exports:{}},oo={},mU={exports:{}},gU={};/** 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(te,he){var ce=te.length;te.push(he);e:for(;0<ce;){var Ne=ce-1>>>1,F=te[Ne];if(0<i(F,he))te[Ne]=he,te[ce]=F,ce=Ne;else break e}}function r(te){return te.length===0?null:te[0]}function n(te){if(te.length===0)return null;var he=te[0],ce=te.pop();if(ce!==he){te[0]=ce;e:for(var Ne=0,F=te.length,U=F>>>1;Ne<U;){var R=2*(Ne+1)-1,M=te[R],J=R+1,ue=te[J];if(0>i(M,ce))J<F&&0>i(ue,M)?(te[Ne]=ue,te[J]=ce,Ne=J):(te[Ne]=M,te[R]=ce,Ne=R);else if(J<F&&0>i(ue,ce))te[Ne]=ue,te[J]=ce,Ne=J;else break e}}return he}function i(te,he){var ce=te.sortIndex-he.sortIndex;return ce!==0?ce:te.id-he.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,o=s.now();t.unstable_now=function(){return s.now()-o}}var c=[],A=[],u=1,d=null,f=3,h=!1,m=!1,p=!1,x=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 b(te){for(var he=r(A);he!==null;){if(he.callback===null)n(A);else if(he.startTime<=te)n(A),he.sortIndex=he.expirationTime,e(c,he);else break;he=r(A)}}function E(te){if(p=!1,b(te),!m)if(r(c)!==null)m=!0,ne(S);else{var he=r(A);he!==null&&fe(E,he.startTime-te)}}function S(te,he){m=!1,p&&(p=!1,v(_),_=-1),h=!0;var ce=f;try{for(b(he),d=r(c);d!==null&&(!(d.expirationTime>he)||te&&!T());
vendor: 9,261 bytes, lines 25-34
25){var Ne=d.callback;if(typeof Ne=="function"){d.callback=null,f=d.priorityLevel;var F=Ne(d.expirationTime<=he);he=t.unstable_now(),typeof F=="function"?d.callback=F:d===r(c)&&n(c),b(he)}else n(c);d=r(c)}if(d!==null)var U=!0;else{var R=r(A);R!==null&&fe(E,R.startTime-he),U=!1}return U}finally{d=null,f=ce,h=!1}}var I=!1,B=null,_=-1,O=5,j=-1;function T(){return!(t.unstable_now()-j<O)}function P(){if(B!==null){var te=t.unstable_now();j=te;var he=!0;try{he=B(!0,te)}finally{he?L():(I=!1,B=null)}}else I=!1}var L;if(typeof y=="function")L=function(){y(P)};else if(typeof MessageChannel<"u"){var K=new MessageChannel,le=K.port2;K.port1.onmessage=P,L=function(){le.postMessage(null)}}else L=function(){x(P,0)};function ne(te){B=te,I||(I=!0,L())}function fe(te,he){_=x(function(){te(t.unstable_now())},he)}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(te){te.callback=null},t.unstable_continueExecution=function(){m||h||(m=!0,ne(S))},t.unstable_forceFrameRate=function(te){0>te||125<te?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):O=0<te?Math.floor(1e3/te):5},t.unstable_getCurrentPriorityLevel=function(){return f},t.unstable_getFirstCallbackNode=function(){return r(c)},t.unstable_next=function(te){switch(f){case 1:case 2:case 3:var he=3;break;default:he=f}var ce=f;f=he;try{return te()}finally{f=ce}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(te,he){switch(te){case 1:case 2:case 3:case 4:case 5:break;default:te=3}var ce=f;f=te;try{return he()}finally{f=ce}},t.unstable_scheduleCallback=function(te,he,ce){var Ne=t.unstable_now();switch(typeof ce=="object"&&ce!==null?(ce=ce.delay,ce=typeof ce=="number"&&0<ce?Ne+ce:Ne):ce=Ne,te){case 1:var F=-1;break;case 2:F=250;break;case 5:F=1073741823;break;case 4:F=1e4;break;default:F=5e3}return F=ce+F,te={id:u++,callback:he,priorityLevel:te,startTime:ce,expirationTime:F,sortIndex:-1},ce>Ne?(te.sortIndex=ce,e(A,te),r(c)===null&&te===r(A)&&(p?(v(_),_=-1):p=!0,fe(E,ce-Ne))):(te.sortIndex=F,e(c,te),m||h||(m=!0,ne(S))),te},t.unstable_shouldYield=T,t.unstable_wrapCallback=function(te){var he=f;return function(){var ce=f;f=he;try{return te.apply(this,arguments)}finally{f=ce}}}})(gU);mU.exports=gU;var lG=mU.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 cG=Z,io=lG;function lt(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 vU=new Set,pv={};function Dh(t,e){$0(t,e),$0(t+"Capture",e)}function $0(t,e){for(pv[t]=e,t=0;t<e.length;t++)vU.add(e[t])}var rA=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),V4=Object.prototype.hasOwnProperty,AG=/^[: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]*$/,Lj={},Mj={};function uG(t){return V4.call(Mj,t)?!0:V4.call(Lj,t)?!1:AG.test(t)?Mj[t]=!0:(Lj[t]=!0,!1)}function dG(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 hG(t,e,r,n){if(e===null||typeof e>"u"||dG(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 cs(t,e,r,n,i,a,s){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=a,this.removeEmptyString=s}var ya={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){ya[t]=new cs(t,0,!1,t,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var e=t[0];ya[e]=new cs(e,1,!1,t[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(t){ya[t]=new cs(t,2,!1,t.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){ya[t]=new cs(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){ya[t]=new cs(t,3,!1,t.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(t){ya[t]=new cs(t,3,!0,t,null,!1,!1)});["capture","download"].forEach(function(t){ya[t]=new cs(t,4,!1,t,null,!1,!1)});["cols","rows","size","span"].forEach(function(t){ya[t]=new cs(t,6,!1,t,null,!1,!1)});["rowSpan","start"].forEach(function(t){ya[t]=new cs(t,5,!1,t.toLowerCase(),null,!1,!1)});var q_=/[\-:]([a-z])/g;function G_(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(q_,G_);ya[e]=new cs(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(q_,G_);ya[e]=new cs(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(q_,G_);ya[e]=new cs(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(t){ya[t]=new cs(t,1,!1,t.toLowerCase(),null,!1,!1)});ya.xlinkHref=new cs("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(t){ya[t]=new cs(t,1,!1,t.toLowerCase(),null,!0,!0)});function J_(t,e,r,n){var i=ya.hasOwnProperty(e)?ya[e]:null;(i!==null?i.type!==0:n||!(2<e.length)||e[0]!=="o"&&e[0]!=="O"||e[1]!=="n"&&e[1]!=="N")&&(hG(e,r,i,n)&&(r=null),n||i===null?uG(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 fA=cG.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Xx=Symbol.for("react.element"),r0=Symbol.for("react.portal"),n0=Symbol.for("react.fragment"),X_=Symbol.for("react.strict_mode"),W4=Symbol.for("react.profiler"),xU=Symbol.for("react.provider"),yU=Symbol.for("react.context"),Y_=Symbol.for("react.forward_ref"),K4=Symbol.for("react.suspense"),q4=Symbol.for("react.suspense_list"),Z_=Symbol.for("react.memo"),YA=Symbol.for("react.lazy"),wU=Symbol.for("react.offscreen"),Qj=Symbol.iterator;function Cm(t){return t===null||typeof t!="object"?null:(t=Qj&&t[Qj]||t["@@iterator"],typeof t=="function"?t:null)}var Wn=Object.assign,PB;function rg(t){if(PB===void 0)try{throw Error()}catch(r){var e=r.stack.trim().match(/\n( *(at )?)/);PB=e&&e[1]||""}return` 34`+PB+t}var DB=!1;function OB(t,e){if(!t||DB)return"";DB=!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(A){var n=A}Reflect.construct(t,[],e)}else{try{e.call()}catch(A){n=A}t.call(e.prototype)}else{try{throw Error()}catch(A){n=A}t()}}
vendor: 8,484 bytes, lines 34-37
34catch(A){if(A&&n&&typeof A.stack=="string"){for(var i=A.stack.split(` 35`),a=n.stack.split(` 36`),s=i.length-1,o=a.length-1;1<=s&&0<=o&&i[s]!==a[o];)o--;for(;1<=s&&0<=o;s--,o--)if(i[s]!==a[o]){if(s!==1||o!==1)do if(s--,o--,0>o||i[s]!==a[o]){var c=` 37`+i[s].replace(" at new "," at ");return t.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",t.displayName)),c}while(1<=s&&0<=o);break}}}finally{DB=!1,Error.prepareStackTrace=r}return(t=t?t.displayName||t.name:"")?rg(t):""}function fG(t){switch(t.tag){case 5:return rg(t.type);case 16:return rg("Lazy");case 13:return rg("Suspense");case 19:return rg("SuspenseList");case 0:case 2:case 15:return t=OB(t.type,!1),t;case 11:return t=OB(t.type.render,!1),t;case 1:return t=OB(t.type,!0),t;default:return""}}function G4(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 n0:return"Fragment";case r0:return"Portal";case W4:return"Profiler";case X_:return"StrictMode";case K4:return"Suspense";case q4:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case yU:return(t.displayName||"Context")+".Consumer";case xU:return(t._context.displayName||"Context")+".Provider";case Y_:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case Z_:return e=t.displayName||null,e!==null?e:G4(t.type)||"Memo";case YA:e=t._payload,t=t._init;try{return G4(t(e))}catch{}}return null}function pG(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 G4(e);case 8:return e===X_?"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 zu(t){switch(typeof t){case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function bU(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function mG(t){var e=bU(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,a=r.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return i.call(this)},set:function(s){n=""+s,a.call(this,s)}}),Object.defineProperty(t,e,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(s){n=""+s},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function Yx(t){t._valueTracker||(t._valueTracker=mG(t))}function CU(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var r=e.getValue(),n="";return t&&(n=bU(t)?t.checked?"true":"false":t.value),t=n,t!==r?(e.setValue(t),!0):!1}function x2(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 J4(t,e){var r=e.checked;return Wn({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??t._wrapperState.initialChecked})}function Hj(t,e){var r=e.defaultValue==null?"":e.defaultValue,n=e.checked!=null?e.checked:e.defaultChecked;r=zu(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 BU(t,e){e=e.checked,e!=null&&J_(t,"checked",e,!1)}function X4(t,e){BU(t,e);var r=zu(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")?Y4(t,e.type,r):e.hasOwnProperty("defaultValue")&&Y4(t,e.type,zu(e.defaultValue)),e.checked==null&&e.defaultChecked!=null&&(t.defaultChecked=!!e.defaultChecked)}function zj(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 Y4(t,e,r){(e!=="number"||x2(t.ownerDocument)!==t)&&(r==null?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+r&&(t.defaultValue=""+r))}var ng=Array.isArray;function C0(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=""+zu(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 Z4(t,e){if(e.dangerouslySetInnerHTML!=null)throw Error(lt(91));return Wn({},e,{value:void 0,defaultValue:void 0,children:""+t._wrapperState.initialValue})}function Vj(t,e){var r=e.value;if(r==null){if(r=e.children,e=e.defaultValue,r!=null){if(e!=null)throw Error(lt(92));if(ng(r)){if(1<r.length)throw Error(lt(93));r=r[0]}e=r}e==null&&(e=""),r=e}t._wrapperState={initialValue:zu(r)}}function EU(t,e){var r=zu(e.value),n=zu(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 Wj(t){var e=t.textContent;e===t._wrapperState.initialValue&&e!==""&&e!==null&&(t.value=e)}function NU(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 $4(t,e){return t==null||t==="http://www.w3.org/1999/xhtml"?NU(e):t==="http://www.w3.org/2000/svg"&&e==="foreignObject"?"http://www.w3.org/1999/xhtml":t}var Zx,SU=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(Zx=Zx||document.createElement("div"),Zx.innerHTML="<svg>"+e.valueOf().toString()+"</svg>",e=Zx.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;e.firstChild;)t.appendChild(e.firstChild)}});function mv(t,e){if(e){var r=t.firstChild;if(r&&r===t.lastChild&&r.nodeType===3){r.nodeValue=e;return}}t.textContent=e}var Bg={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},gG=["Webkit","ms","Moz","O"];Object.keys(Bg).forEach(function(t){gG.forEach(function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),Bg[e]=Bg[t]})});function _U(t,e,r){return e==null||typeof e=="boolean"||e===""?"":r||typeof e!="number"||e===0||Bg.hasOwnProperty(t)&&Bg[t]?(""+e).trim():e+"px"}function FU(t,e){t=t.style;for(var r in e)if(e.hasOwnProperty(r)){var n=r.indexOf("--")===0,i=_U(r,e[r],n);r==="float"&&(r="cssFloat"),n?t.setProperty(r,i):t[r]=i}}var vG=Wn({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 eN(t,e){if(e){if(vG[t]&&(e.children!=null||e.dangerouslySetInnerHTML!=null))throw Error(lt(137,t));if(e.dangerouslySetInnerHTML!=null){if(e.children!=null)throw Error(lt(60));if(typeof e.dangerouslySetInnerHTML!="object"||!("__html"in e.dangerouslySetInnerHTML))throw Error(lt(61))}if(e.style!=null&&typeof e.style!="object")throw Error(lt(62))}}function tN(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 rN=null;function $_(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var nN=null,B0=null,E0=null;function Kj(t){if(t=B1(t)){if(typeof nN!="function")throw Error(lt(280));var e=t.stateNode;e&&(e=fC(e),nN(t.stateNode,t.type,e))}}function TU(t){B0?E0?E0.push(t):E0=[t]:B0=t}function jU(){if(B0){var t=B0,e=E0;if(E0=B0=null,Kj(t),e)for(t=0;t<e.length;t++)Kj(e[t])}}function IU(t,e){return t(e)}function kU(){}var RB=!1;function PU(t,e,r){if(RB)return t(e,r);RB=!0;try{return IU(t,e,r)}finally{RB=!1,(B0!==null||E0!==null)&&(kU(),jU())}}function gv(t,e){var r=t.stateNode;if(r===null)return null;var n=fC(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(lt(231,e,typeof r));return r}var iN=!1;if(rA)try{var Bm={};Object.defineProperty(Bm,"passive",{get:function(){iN=!0}}),window.addEventListener("test",Bm,Bm),window.removeEventListener("test",Bm,Bm)}catch{iN=!1}function xG(t,e,r,n,i,a,s,o,c){var A=Array.prototype.slice.call(arguments,3);try{e.apply(r,A)}catch(u){this.onError(u)}}var Eg=!1,y2=null,w2=!1,aN=null,yG={onError:function(t){Eg=!0,y2=t}};function wG(t,e,r,n,i,a,s,o,c){Eg=!1,y2=null,xG.apply(yG,arguments)}function bG(t,e,r,n,i,a,s,o,c){if(wG.apply(this,arguments),Eg){if(Eg){var A=y2;Eg=!1,y2=null}else throw Error(lt(198));w2||(w2=!0,aN=A)}}function Oh(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 DU(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 qj(t){if(Oh(t)!==t)throw Error(lt(188))}function CG(t){var e=t.alternate;if(!e){if(e=Oh(t),e===null)throw Error(lt(188));return e!==t?null:t}for(var r=t,n=e;;){var i=r.return;if(i===null)break;var a=i.alternate;if(a===null){if(n=i.return,n!==null){r=n;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===r)return qj(i),t;if(a===n)return qj(i),e;a=a.sibling}throw Error(lt(188))}if(r.return!==n.return)r=i,n=a;else{for(var s=!1,o=i.child;o;){if(o===r){s=!0,r=i,n=a;break}if(o===n){s=!0,n=i,r=a;break}o=o.sibling}if(!s){for(o=a.child;o;){if(o===r){s=!0,r=a,n=i;break}if(o===n){s=!0,n=a,r=i;break}o=o.sibling}if(!s)throw Error(lt(189))}}if(r.alternate!==n)throw Error(lt(190))}if(r.tag!==3)throw Error(lt(188));return r.stateNode.current===r?t:e}function OU(t){return t=CG(t),t!==null?RU(t):null}function RU(t){if(t.tag===5||t.tag===6)return t;for(t=t.child;t!==null;){var e=RU(t);if(e!==null)return e;t=t.sibling}return null}var UU=io.unstable_scheduleCallback,Gj=io.unstable_cancelCallback,BG=io.unstable_shouldYield,EG=io.unstable_requestPaint,li=io.unstable_now,NG=io.unstable_getCurrentPriorityLevel,eF=io.unstable_ImmediatePriority,LU=io.unstable_UserBlockingPriority,b2=io.unstable_NormalPriority,SG=io.unstable_LowPriority,MU=io.unstable_IdlePriority,AC=null,nc=null;function _G(t){if(nc&&typeof nc.onCommitFiberRoot=="function")try{nc.onCommitFiberRoot(AC,t,void 0,(t.current.flags&128)===128)}catch{}}var Bl=Math.clz32?Math.clz32:jG,FG=Math.log,TG=Math.LN2;function jG(t){return t>>>=0,t===0?32:31-(FG(t)/TG|0)|0}var $x=64,ey=4194304;function ig(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 C2(t,e){var r=t.pendingLanes;if(r===0)return 0;var n=0,i=t.suspendedLanes,a=t.pingedLanes,s=r&268435455;if(s!==0){var o=s&~i;o!==0?n=ig(o):(a&=s,a!==0&&(n=ig(a)))}else s=r&~i,s!==0?n=ig(s):a!==0&&(n=ig(a));if(n===0)return 0;if(e!==0&&e!==n&&!(e&i)&&(i=n&-n,a=e&-e,i>=a||i===16&&(a&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-Bl(e),i=1<<r,n|=t[r],e&=~i;return n}function IG(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 kG(t,e){for(var r=t.suspendedLanes,n=t.pingedLanes,i=t.expirationTimes,a=t.pendingLanes;0<a;){var s=31-Bl(a),o=1<<s,c=i[s];
vendor: 4,364 bytes, line 37
37c===-1?(!(o&r)||o&n)&&(i[s]=IG(o,e)):c<=e&&(t.expiredLanes|=o),a&=~o}}function sN(t){return t=t.pendingLanes&-1073741825,t!==0?t:t&1073741824?1073741824:0}function QU(){var t=$x;return $x<<=1,!($x&4194240)&&($x=64),t}function UB(t){for(var e=[],r=0;31>r;r++)e.push(t);return e}function b1(t,e,r){t.pendingLanes|=e,e!==536870912&&(t.suspendedLanes=0,t.pingedLanes=0),t=t.eventTimes,e=31-Bl(e),t[e]=r}function PG(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-Bl(r),a=1<<i;e[i]=0,n[i]=-1,t[i]=-1,r&=~a}}function tF(t,e){var r=t.entangledLanes|=e;for(t=t.entanglements;r;){var n=31-Bl(r),i=1<<n;i&e|t[n]&e&&(t[n]|=e),r&=~i}}var an=0;function HU(t){return t&=-t,1<t?4<t?t&268435455?16:536870912:4:1}var zU,rF,VU,WU,KU,oN=!1,ty=[],Cu=null,Bu=null,Eu=null,vv=new Map,xv=new Map,ru=[],DG="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 Jj(t,e){switch(t){case"focusin":case"focusout":Cu=null;break;case"dragenter":case"dragleave":Bu=null;break;case"mouseover":case"mouseout":Eu=null;break;case"pointerover":case"pointerout":vv.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":xv.delete(e.pointerId)}}function Em(t,e,r,n,i,a){return t===null||t.nativeEvent!==a?(t={blockedOn:e,domEventName:r,eventSystemFlags:n,nativeEvent:a,targetContainers:[i]},e!==null&&(e=B1(e),e!==null&&rF(e)),t):(t.eventSystemFlags|=n,e=t.targetContainers,i!==null&&e.indexOf(i)===-1&&e.push(i),t)}function OG(t,e,r,n,i){switch(e){case"focusin":return Cu=Em(Cu,t,e,r,n,i),!0;case"dragenter":return Bu=Em(Bu,t,e,r,n,i),!0;case"mouseover":return Eu=Em(Eu,t,e,r,n,i),!0;case"pointerover":var a=i.pointerId;return vv.set(a,Em(vv.get(a)||null,t,e,r,n,i)),!0;case"gotpointercapture":return a=i.pointerId,xv.set(a,Em(xv.get(a)||null,t,e,r,n,i)),!0}return!1}function qU(t){var e=qd(t.target);if(e!==null){var r=Oh(e);if(r!==null){if(e=r.tag,e===13){if(e=DU(r),e!==null){t.blockedOn=e,KU(t.priority,function(){VU(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 jw(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var r=lN(t.domEventName,t.eventSystemFlags,e[0],t.nativeEvent);if(r===null){r=t.nativeEvent;var n=new r.constructor(r.type,r);rN=n,r.target.dispatchEvent(n),rN=null}else return e=B1(r),e!==null&&rF(e),t.blockedOn=r,!1;e.shift()}return!0}function Xj(t,e,r){jw(t)&&r.delete(e)}function RG(){oN=!1,Cu!==null&&jw(Cu)&&(Cu=null),Bu!==null&&jw(Bu)&&(Bu=null),Eu!==null&&jw(Eu)&&(Eu=null),vv.forEach(Xj),xv.forEach(Xj)}function Nm(t,e){t.blockedOn===e&&(t.blockedOn=null,oN||(oN=!0,io.unstable_scheduleCallback(io.unstable_NormalPriority,RG)))}function yv(t){function e(i){return Nm(i,t)}if(0<ty.length){Nm(ty[0],t);for(var r=1;r<ty.length;r++){var n=ty[r];n.blockedOn===t&&(n.blockedOn=null)}}for(Cu!==null&&Nm(Cu,t),Bu!==null&&Nm(Bu,t),Eu!==null&&Nm(Eu,t),vv.forEach(e),xv.forEach(e),r=0;r<ru.length;r++)n=ru[r],n.blockedOn===t&&(n.blockedOn=null);for(;0<ru.length&&(r=ru[0],r.blockedOn===null);)qU(r),r.blockedOn===null&&ru.shift()}var N0=fA.ReactCurrentBatchConfig,B2=!0;function UG(t,e,r,n){var i=an,a=N0.transition;N0.transition=null;try{an=1,nF(t,e,r,n)}finally{an=i,N0.transition=a}}function LG(t,e,r,n){var i=an,a=N0.transition;N0.transition=null;try{an=4,nF(t,e,r,n)}finally{an=i,N0.transition=a}}function nF(t,e,r,n){if(B2){var i=lN(t,e,r,n);if(i===null)GB(t,e,n,E2,r),Jj(t,n);else if(OG(i,t,e,r,n))n.stopPropagation();else if(Jj(t,n),e&4&&-1<DG.indexOf(t)){for(;i!==null;){var a=B1(i);if(a!==null&&zU(a),a=lN(t,e,r,n),a===null&&GB(t,e,n,E2,r),a===i)break;i=a}i!==null&&n.stopPropagation()}else GB(t,e,n,null,r)}}var E2=null;function lN(t,e,r,n){if(E2=null,t=$_(n),t=qd(t),t!==null)if(e=Oh(t),e===null)t=null;else if(r=e.tag,r===13){if(t=DU(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 E2=t,null}
vendor: 10,401 bytes, line 37
37function GU(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(NG()){case eF:return 1;case LU:return 4;case b2:case SG:return 16;case MU:return 536870912;default:return 16}default:return 16}}var uu=null,iF=null,Iw=null;function JU(){if(Iw)return Iw;var t,e=iF,r=e.length,n,i="value"in uu?uu.value:uu.textContent,a=i.length;for(t=0;t<r&&e[t]===i[t];t++);var s=r-t;for(n=1;n<=s&&e[r-n]===i[a-n];n++);return Iw=i.slice(t,1<n?1-n:void 0)}function kw(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 ry(){return!0}function Yj(){return!1}function lo(t){function e(r,n,i,a,s){this._reactName=r,this._targetInst=i,this.type=n,this.nativeEvent=a,this.target=s,this.currentTarget=null;for(var o in t)t.hasOwnProperty(o)&&(r=t[o],this[o]=r?r(a):a[o]);return this.isDefaultPrevented=(a.defaultPrevented!=null?a.defaultPrevented:a.returnValue===!1)?ry:Yj,this.isPropagationStopped=Yj,this}return Wn(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=ry)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=ry)},persist:function(){},isPersistent:ry}),e}var yp={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},aF=lo(yp),C1=Wn({},yp,{view:0,detail:0}),MG=lo(C1),LB,MB,Sm,uC=Wn({},C1,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:sF,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!==Sm&&(Sm&&t.type==="mousemove"?(LB=t.screenX-Sm.screenX,MB=t.screenY-Sm.screenY):MB=LB=0,Sm=t),LB)},movementY:function(t){return"movementY"in t?t.movementY:MB}}),Zj=lo(uC),QG=Wn({},uC,{dataTransfer:0}),HG=lo(QG),zG=Wn({},C1,{relatedTarget:0}),QB=lo(zG),VG=Wn({},yp,{animationName:0,elapsedTime:0,pseudoElement:0}),WG=lo(VG),KG=Wn({},yp,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),qG=lo(KG),GG=Wn({},yp,{data:0}),$j=lo(GG),JG={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},XG={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"},YG={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ZG(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=YG[t])?!!e[t]:!1}function sF(){return ZG}var $G=Wn({},C1,{key:function(t){if(t.key){var e=JG[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=kw(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?XG[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:sF,charCode:function(t){return t.type==="keypress"?kw(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?kw(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),eJ=lo($G),tJ=Wn({},uC,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),eI=lo(tJ),rJ=Wn({},C1,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:sF}),nJ=lo(rJ),iJ=Wn({},yp,{propertyName:0,elapsedTime:0,pseudoElement:0}),aJ=lo(iJ),sJ=Wn({},uC,{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}),oJ=lo(sJ),lJ=[9,13,27,32],oF=rA&&"CompositionEvent"in window,Ng=null;rA&&"documentMode"in document&&(Ng=document.documentMode);var cJ=rA&&"TextEvent"in window&&!Ng,XU=rA&&(!oF||Ng&&8<Ng&&11>=Ng),tI=" ",rI=!1;function YU(t,e){switch(t){case"keyup":return lJ.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ZU(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var i0=!1;function AJ(t,e){switch(t){case"compositionend":return ZU(e);case"keypress":return e.which!==32?null:(rI=!0,tI);case"textInput":return t=e.data,t===tI&&rI?null:t;default:return null}}function uJ(t,e){if(i0)return t==="compositionend"||!oF&&YU(t,e)?(t=JU(),Iw=iF=uu=null,i0=!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 XU&&e.locale!=="ko"?null:e.data;default:return null}}var dJ={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 nI(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!dJ[t.type]:e==="textarea"}function $U(t,e,r,n){TU(n),e=N2(e,"onChange"),0<e.length&&(r=new aF("onChange","change",null,r,n),t.push({event:r,listeners:e}))}var Sg=null,wv=null;function hJ(t){A8(t,0)}function dC(t){var e=o0(t);if(CU(e))return t}function fJ(t,e){if(t==="change")return e}var e8=!1;if(rA){var HB;if(rA){var zB="oninput"in document;if(!zB){var iI=document.createElement("div");iI.setAttribute("oninput","return;"),zB=typeof iI.oninput=="function"}HB=zB}else HB=!1;e8=HB&&(!document.documentMode||9<document.documentMode)}function aI(){Sg&&(Sg.detachEvent("onpropertychange",t8),wv=Sg=null)}function t8(t){if(t.propertyName==="value"&&dC(wv)){var e=[];$U(e,wv,t,$_(t)),PU(hJ,e)}}function pJ(t,e,r){t==="focusin"?(aI(),Sg=e,wv=r,Sg.attachEvent("onpropertychange",t8)):t==="focusout"&&aI()}function mJ(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return dC(wv)}function gJ(t,e){if(t==="click")return dC(e)}function vJ(t,e){if(t==="input"||t==="change")return dC(e)}function xJ(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var Tl=typeof Object.is=="function"?Object.is:xJ;function bv(t,e){if(Tl(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(!V4.call(e,i)||!Tl(t[i],e[i]))return!1}return!0}function sI(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function oI(t,e){var r=sI(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=sI(r)}}function r8(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?r8(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function n8(){for(var t=window,e=x2();e instanceof t.HTMLIFrameElement;){try{var r=typeof e.contentWindow.location.href=="string"}catch{r=!1}if(r)t=e.contentWindow;else break;e=x2(t.document)}return e}function lF(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 yJ(t){var e=n8(),r=t.focusedElem,n=t.selectionRange;if(e!==r&&r&&r.ownerDocument&&r8(r.ownerDocument.documentElement,r)){if(n!==null&&lF(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,a=Math.min(n.start,i);n=n.end===void 0?a:Math.min(n.end,i),!t.extend&&a>n&&(i=n,n=a,a=i),i=oI(r,a);var s=oI(r,n);i&&s&&(t.rangeCount!==1||t.anchorNode!==i.node||t.anchorOffset!==i.offset||t.focusNode!==s.node||t.focusOffset!==s.offset)&&(e=e.createRange(),e.setStart(i.node,i.offset),t.removeAllRanges(),a>n?(t.addRange(e),t.extend(s.node,s.offset)):(e.setEnd(s.node,s.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 wJ=rA&&"documentMode"in document&&11>=document.documentMode,a0=null,cN=null,_g=null,AN=!1;function lI(t,e,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;AN||a0==null||a0!==x2(n)||(n=a0,"selectionStart"in n&&lF(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}),_g&&bv(_g,n)||(_g=n,n=N2(cN,"onSelect"),0<n.length&&(e=new aF("onSelect","select",null,e,r),t.push({event:e,listeners:n}),e.target=a0)))}function ny(t,e){var r={};return r[t.toLowerCase()]=e.toLowerCase(),r["Webkit"+t]="webkit"+e,r["Moz"+t]="moz"+e,r}var s0={animationend:ny("Animation","AnimationEnd"),animationiteration:ny("Animation","AnimationIteration"),animationstart:ny("Animation","AnimationStart"),transitionend:ny("Transition","TransitionEnd")},VB={},i8={};rA&&(i8=document.createElement("div").style,"AnimationEvent"in window||(delete s0.animationend.animation,delete s0.animationiteration.animation,delete s0.animationstart.animation),"TransitionEvent"in window||delete s0.transitionend.transition);function hC(t){if(VB[t])return VB[t];if(!s0[t])return t;var e=s0[t],r;for(r in e)if(e.hasOwnProperty(r)&&r in i8)return VB[t]=e[r];return t}var a8=hC("animationend"),s8=hC("animationiteration"),o8=hC("animationstart"),l8=hC("transitionend"),c8=new Map,cI="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 od(t,e){c8.set(t,e),Dh(e,[t])}for(var WB=0;WB<cI.length;WB++){var KB=cI[WB],bJ=KB.toLowerCase(),CJ=KB[0].toUpperCase()+KB.slice(1);od(bJ,"on"+CJ)}od(a8,"onAnimationEnd");od(s8,"onAnimationIteration");od(o8,"onAnimationStart");od("dblclick","onDoubleClick");od("focusin","onFocus");od("focusout","onBlur");od(l8,"onTransitionEnd");$0("onMouseEnter",["mouseout","mouseover"]);$0("onMouseLeave",["mouseout","mouseover"]);$0("onPointerEnter",["pointerout","pointerover"]);$0("onPointerLeave",["pointerout","pointerover"]);Dh("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Dh("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Dh("onBeforeInput",["compositionend","keypress","textInput","paste"]);Dh("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Dh("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Dh("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ag="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(" "),BJ=new Set("cancel close invalid load scroll toggle".split(" ").concat(ag));function AI(t,e,r){var n=t.type||"unknown-event";t.currentTarget=r,bG(n,e,void 0,t),t.currentTarget=null}function A8(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 a=void 0;if(e)for(var s=n.length-1;0<=s;s--){var o=n[s],c=o.instance,A=o.currentTarget;if(o=o.listener,c!==a&&i.isPropagationStopped())break e;AI(i,o,A),a=c}else for(s=0;s<n.length;s++){if(o=n[s],c=o.instance,A=o.currentTarget,o=o.listener,c!==a&&i.isPropagationStopped())break e;AI(i,o,A),a=c}}}if(w2)throw t=aN,w2=!1,aN=null,t}function En(t,e){var r=e[pN];r===void 0&&(r=e[pN]=new Set);var n=t+"__bubble";r.has(n)||(u8(e,t,2,!1),r.add(n))}function qB(t,e,r){var n=0;e&&(n|=4),u8(r,t,n,e)}var iy="_reactListening"+Math.random().toString(36).slice(2);function Cv(t){if(!t[iy]){t[iy]=!0,vU.forEach(function(r){r!=="selectionchange"&&(BJ.has(r)||qB(r,!1,t),qB(r,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[iy]||(e[iy]=!0,qB("selectionchange",!1,e))}}function u8(t,e,r,n){switch(GU(e)){case 1:var i=UG;break;case 4:i=LG;break;default:i=nF}r=i.bind(null,e,r,t),i=void 0,!iN||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 GB(t,e,r,n,i){var a=n;if(!(e&1)&&!(e&2)&&n!==null)e:for(;;){if(n===null)return;var s=n.tag;if(s===3||s===4){var o=n.stateNode.containerInfo;
vendor: 5,317 bytes, lines 37-38
37if(o===i||o.nodeType===8&&o.parentNode===i)break;if(s===4)for(s=n.return;s!==null;){var c=s.tag;if((c===3||c===4)&&(c=s.stateNode.containerInfo,c===i||c.nodeType===8&&c.parentNode===i))return;s=s.return}for(;o!==null;){if(s=qd(o),s===null)return;if(c=s.tag,c===5||c===6){n=a=s;continue e}o=o.parentNode}}n=n.return}PU(function(){var A=a,u=$_(r),d=[];e:{var f=c8.get(t);if(f!==void 0){var h=aF,m=t;switch(t){case"keypress":if(kw(r)===0)break e;case"keydown":case"keyup":h=eJ;break;case"focusin":m="focus",h=QB;break;case"focusout":m="blur",h=QB;break;case"beforeblur":case"afterblur":h=QB;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":h=Zj;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":h=HG;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":h=nJ;break;case a8:case s8:case o8:h=WG;break;case l8:h=aJ;break;case"scroll":h=MG;break;case"wheel":h=oJ;break;case"copy":case"cut":case"paste":h=qG;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":h=eI}var p=(e&4)!==0,x=!p&&t==="scroll",v=p?f!==null?f+"Capture":null:f;p=[];for(var y=A,b;y!==null;){b=y;var E=b.stateNode;if(b.tag===5&&E!==null&&(b=E,v!==null&&(E=gv(y,v),E!=null&&p.push(Bv(y,E,b)))),x)break;y=y.return}0<p.length&&(f=new h(f,m,null,r,u),d.push({event:f,listeners:p}))}}if(!(e&7)){e:{if(f=t==="mouseover"||t==="pointerover",h=t==="mouseout"||t==="pointerout",f&&r!==rN&&(m=r.relatedTarget||r.fromElement)&&(qd(m)||m[nA]))break e;if((h||f)&&(f=u.window===u?u:(f=u.ownerDocument)?f.defaultView||f.parentWindow:window,h?(m=r.relatedTarget||r.toElement,h=A,m=m?qd(m):null,m!==null&&(x=Oh(m),m!==x||m.tag!==5&&m.tag!==6)&&(m=null)):(h=null,m=A),h!==m)){if(p=Zj,E="onMouseLeave",v="onMouseEnter",y="mouse",(t==="pointerout"||t==="pointerover")&&(p=eI,E="onPointerLeave",v="onPointerEnter",y="pointer"),x=h==null?f:o0(h),b=m==null?f:o0(m),f=new p(E,y+"leave",h,r,u),f.target=x,f.relatedTarget=b,E=null,qd(u)===A&&(p=new p(v,y+"enter",m,r,u),p.target=b,p.relatedTarget=x,E=p),x=E,h&&m)t:{for(p=h,v=m,y=0,b=p;b;b=Cf(b))y++;for(b=0,E=v;E;E=Cf(E))b++;for(;0<y-b;)p=Cf(p),y--;for(;0<b-y;)v=Cf(v),b--;for(;y--;){if(p===v||v!==null&&p===v.alternate)break t;p=Cf(p),v=Cf(v)}p=null}else p=null;h!==null&&uI(d,f,h,p,!1),m!==null&&x!==null&&uI(d,x,m,p,!0)}}e:{if(f=A?o0(A):window,h=f.nodeName&&f.nodeName.toLowerCase(),h==="select"||h==="input"&&f.type==="file")var S=fJ;else if(nI(f))if(e8)S=vJ;else{S=mJ;var I=pJ}else(h=f.nodeName)&&h.toLowerCase()==="input"&&(f.type==="checkbox"||f.type==="radio")&&(S=gJ);if(S&&(S=S(t,A))){$U(d,S,r,u);break e}I&&I(t,f,A),t==="focusout"&&(I=f._wrapperState)&&I.controlled&&f.type==="number"&&Y4(f,"number",f.value)}switch(I=A?o0(A):window,t){case"focusin":(nI(I)||I.contentEditable==="true")&&(a0=I,cN=A,_g=null);break;case"focusout":_g=cN=a0=null;break;case"mousedown":AN=!0;break;case"contextmenu":case"mouseup":case"dragend":AN=!1,lI(d,r,u);break;case"selectionchange":if(wJ)break;case"keydown":case"keyup":lI(d,r,u)}var B;if(oF)e:{switch(t){case"compositionstart":var _="onCompositionStart";break e;case"compositionend":_="onCompositionEnd";break e;case"compositionupdate":_="onCompositionUpdate";break e}_=void 0}else i0?YU(t,r)&&(_="onCompositionEnd"):t==="keydown"&&r.keyCode===229&&(_="onCompositionStart");_&&(XU&&r.locale!=="ko"&&(i0||_!=="onCompositionStart"?_==="onCompositionEnd"&&i0&&(B=JU()):(uu=u,iF="value"in uu?uu.value:uu.textContent,i0=!0)),I=N2(A,_),0<I.length&&(_=new $j(_,t,null,r,u),d.push({event:_,listeners:I}),B?_.data=B:(B=ZU(r),B!==null&&(_.data=B)))),(B=cJ?AJ(t,r):uJ(t,r))&&(A=N2(A,"onBeforeInput"),0<A.length&&(u=new $j("onBeforeInput","beforeinput",null,r,u),d.push({event:u,listeners:A}),u.data=B))}A8(d,e)})}function Bv(t,e,r){return{instance:t,listener:e,currentTarget:r}}function N2(t,e){for(var r=e+"Capture",n=[];t!==null;){var i=t,a=i.stateNode;i.tag===5&&a!==null&&(i=a,a=gv(t,r),a!=null&&n.unshift(Bv(t,a,i)),a=gv(t,e),a!=null&&n.push(Bv(t,a,i))),t=t.return}return n}function Cf(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5);return t||null}function uI(t,e,r,n,i){for(var a=e._reactName,s=[];r!==null&&r!==n;){var o=r,c=o.alternate,A=o.stateNode;if(c!==null&&c===n)break;o.tag===5&&A!==null&&(o=A,i?(c=gv(r,a),c!=null&&s.unshift(Bv(r,c,o))):i||(c=gv(r,a),c!=null&&s.push(Bv(r,c,o)))),r=r.return}s.length!==0&&t.push({event:e,listeners:s})}var EJ=/\r\n?/g,NJ=/\u0000|\uFFFD/g;function dI(t){return(typeof t=="string"?t:""+t).replace(EJ,` 38`).replace(NJ,"")}function ay(t,e,r){if(e=dI(e),dI(t)!==e&&r)throw Error(lt(425))}function S2(){}var uN=null,dN=null;function hN(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 fN=typeof setTimeout=="function"?setTimeout:void 0,SJ=typeof clearTimeout=="function"?clearTimeout:void 0,hI=typeof Promise=="function"?Promise:void 0,_J=typeof queueMicrotask=="function"?queueMicrotask:typeof hI<"u"?function(t){return hI.resolve(null).then(t).cat
vendor: 4,832 bytes, line 38
38ch(FJ)}:fN;function FJ(t){setTimeout(function(){throw t})}function JB(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),yv(e);return}n--}else r!=="$"&&r!=="$?"&&r!=="$!"||n++;r=i}while(r);yv(e)}function Nu(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 fI(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 wp=Math.random().toString(36).slice(2),Xl="__reactFiber$"+wp,Ev="__reactProps$"+wp,nA="__reactContainer$"+wp,pN="__reactEvents$"+wp,TJ="__reactListeners$"+wp,jJ="__reactHandles$"+wp;function qd(t){var e=t[Xl];if(e)return e;for(var r=t.parentNode;r;){if(e=r[nA]||r[Xl]){if(r=e.alternate,e.child!==null||r!==null&&r.child!==null)for(t=fI(t);t!==null;){if(r=t[Xl])return r;t=fI(t)}return e}t=r,r=t.parentNode}return null}function B1(t){return t=t[Xl]||t[nA],!t||t.tag!==5&&t.tag!==6&&t.tag!==13&&t.tag!==3?null:t}function o0(t){if(t.tag===5||t.tag===6)return t.stateNode;throw Error(lt(33))}function fC(t){return t[Ev]||null}var mN=[],l0=-1;function ld(t){return{current:t}}function Tn(t){0>l0||(t.current=mN[l0],mN[l0]=null,l0--)}function Cn(t,e){l0++,mN[l0]=t.current,t.current=e}var Vu={},Ua=ld(Vu),Bs=ld(!1),hh=Vu;function ep(t,e){var r=t.type.contextTypes;if(!r)return Vu;var n=t.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===e)return n.__reactInternalMemoizedMaskedChildContext;var i={},a;for(a in r)i[a]=e[a];return n&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=i),i}function Es(t){return t=t.childContextTypes,t!=null}function _2(){Tn(Bs),Tn(Ua)}function pI(t,e,r){if(Ua.current!==Vu)throw Error(lt(168));Cn(Ua,e),Cn(Bs,r)}function d8(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(lt(108,pG(t)||"Unknown",i));return Wn({},r,n)}function F2(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||Vu,hh=Ua.current,Cn(Ua,t),Cn(Bs,Bs.current),!0}function mI(t,e,r){var n=t.stateNode;if(!n)throw Error(lt(169));r?(t=d8(t,e,hh),n.__reactInternalMemoizedMergedChildContext=t,Tn(Bs),Tn(Ua),Cn(Ua,t)):Tn(Bs),Cn(Bs,r)}var Uc=null,pC=!1,XB=!1;function h8(t){Uc===null?Uc=[t]:Uc.push(t)}function IJ(t){pC=!0,h8(t)}function cd(){if(!XB&&Uc!==null){XB=!0;var t=0,e=an;try{var r=Uc;for(an=1;t<r.length;t++){var n=r[t];do n=n(!0);while(n!==null)}Uc=null,pC=!1}catch(i){throw Uc!==null&&(Uc=Uc.slice(t+1)),UU(eF,cd),i}finally{an=e,XB=!1}}return null}var c0=[],A0=0,T2=null,j2=0,So=[],_o=0,fh=null,Mc=1,Qc="";function kd(t,e){c0[A0++]=j2,c0[A0++]=T2,T2=t,j2=e}function f8(t,e,r){So[_o++]=Mc,So[_o++]=Qc,So[_o++]=fh,fh=t;var n=Mc;t=Qc;var i=32-Bl(n)-1;n&=~(1<<i),r+=1;var a=32-Bl(e)+i;if(30<a){var s=i-i%5;a=(n&(1<<s)-1).toString(32),n>>=s,i-=s,Mc=1<<32-Bl(e)+i|r<<i|n,Qc=a+t}else Mc=1<<a|r<<i|n,Qc=t}function cF(t){t.return!==null&&(kd(t,1),f8(t,1,0))}function AF(t){for(;t===T2;)T2=c0[--A0],c0[A0]=null,j2=c0[--A0],c0[A0]=null;for(;t===fh;)fh=So[--_o],So[_o]=null,Qc=So[--_o],So[_o]=null,Mc=So[--_o],So[_o]=null}var ro=null,Xs=null,On=!1,fl=null;function p8(t,e){var r=Po(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 gI(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,ro=t,Xs=Nu(e.firstChild),!0):!1;case 6:return e=t.pendingProps===""||e.nodeType!==3?null:e,e!==null?(t.stateNode=e,ro=t,Xs=null,!0):!1;case 13:return e=e.nodeType!==8?null:e,e!==null?(r=fh!==null?{id:Mc,overflow:Qc}:null,t.memoizedState={dehydrated:e,treeContext:r,retryLane:1073741824},r=Po(18,null,null,0),r.stateNode=e,r.return=t,t.child=r,ro=t,Xs=null,!0):!1;default:return!1}}function gN(t){return(t.mode&1)!==0&&(t.flags&128)===0}function vN(t){if(On){var e=Xs;if(e){var r=e;if(!gI(t,e)){if(gN(t))throw Error(lt(418));e=Nu(r.nextSibling);var n=ro;e&&gI(t,e)?p8(n,r):(t.flags=t.flags&-4097|2,On=!1,ro=t)}}else{if(gN(t))throw Error(lt(418));t.flags=t.flags&-4097|2,On=!1,ro=t}}}function vI(t){for(t=t.return;t!==null&&t.tag!==5&&t.tag!==3&&t.tag!==13;)t=t.return;ro=t}function sy(t){if(t!==ro)return!1;if(!On)return vI(t),On=!0,!1;var e;if((e=t.tag!==3)&&!(e=t.tag!==5)&&(e=t.type,e=e!=="head"&&e!=="body"&&!hN(t.type,t.memoizedProps)),e&&(e=Xs)){if(gN(t))throw m8(),Error(lt(418));for(;e;)p8(t,e),e=Nu(e.nextSibling)}if(vI(t),t.tag===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(lt(317));e:{for(t=t.nextSibling,e=0;t;
vendor: 10,289 bytes, line 38
38){if(t.nodeType===8){var r=t.data;if(r==="/$"){if(e===0){Xs=Nu(t.nextSibling);break e}e--}else r!=="$"&&r!=="$!"&&r!=="$?"||e++}t=t.nextSibling}Xs=null}}else Xs=ro?Nu(t.stateNode.nextSibling):null;return!0}function m8(){for(var t=Xs;t;)t=Nu(t.nextSibling)}function tp(){Xs=ro=null,On=!1}function uF(t){fl===null?fl=[t]:fl.push(t)}var kJ=fA.ReactCurrentBatchConfig;function _m(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(lt(309));var n=r.stateNode}if(!n)throw Error(lt(147,t));var i=n,a=""+t;return e!==null&&e.ref!==null&&typeof e.ref=="function"&&e.ref._stringRef===a?e.ref:(e=function(s){var o=i.refs;s===null?delete o[a]:o[a]=s},e._stringRef=a,e)}if(typeof t!="string")throw Error(lt(284));if(!r._owner)throw Error(lt(290,t))}return t}function oy(t,e){throw t=Object.prototype.toString.call(e),Error(lt(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t))}function xI(t){var e=t._init;return e(t._payload)}function g8(t){function e(v,y){if(t){var b=v.deletions;b===null?(v.deletions=[y],v.flags|=16):b.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=Tu(v,y),v.index=0,v.sibling=null,v}function a(v,y,b){return v.index=b,t?(b=v.alternate,b!==null?(b=b.index,b<y?(v.flags|=2,y):b):(v.flags|=2,y)):(v.flags|=1048576,y)}function s(v){return t&&v.alternate===null&&(v.flags|=2),v}function o(v,y,b,E){return y===null||y.tag!==6?(y=nE(b,v.mode,E),y.return=v,y):(y=i(y,b),y.return=v,y)}function c(v,y,b,E){var S=b.type;return S===n0?u(v,y,b.props.children,E,b.key):y!==null&&(y.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===YA&&xI(S)===y.type)?(E=i(y,b.props),E.ref=_m(v,y,b),E.return=v,E):(E=Mw(b.type,b.key,b.props,null,v.mode,E),E.ref=_m(v,y,b),E.return=v,E)}function A(v,y,b,E){return y===null||y.tag!==4||y.stateNode.containerInfo!==b.containerInfo||y.stateNode.implementation!==b.implementation?(y=iE(b,v.mode,E),y.return=v,y):(y=i(y,b.children||[]),y.return=v,y)}function u(v,y,b,E,S){return y===null||y.tag!==7?(y=ah(b,v.mode,E,S),y.return=v,y):(y=i(y,b),y.return=v,y)}function d(v,y,b){if(typeof y=="string"&&y!==""||typeof y=="number")return y=nE(""+y,v.mode,b),y.return=v,y;if(typeof y=="object"&&y!==null){switch(y.$$typeof){case Xx:return b=Mw(y.type,y.key,y.props,null,v.mode,b),b.ref=_m(v,null,y),b.return=v,b;case r0:return y=iE(y,v.mode,b),y.return=v,y;case YA:var E=y._init;return d(v,E(y._payload),b)}if(ng(y)||Cm(y))return y=ah(y,v.mode,b,null),y.return=v,y;oy(v,y)}return null}function f(v,y,b,E){var S=y!==null?y.key:null;if(typeof b=="string"&&b!==""||typeof b=="number")return S!==null?null:o(v,y,""+b,E);if(typeof b=="object"&&b!==null){switch(b.$$typeof){case Xx:return b.key===S?c(v,y,b,E):null;case r0:return b.key===S?A(v,y,b,E):null;case YA:return S=b._init,f(v,y,S(b._payload),E)}if(ng(b)||Cm(b))return S!==null?null:u(v,y,b,E,null);oy(v,b)}return null}function h(v,y,b,E,S){if(typeof E=="string"&&E!==""||typeof E=="number")return v=v.get(b)||null,o(y,v,""+E,S);if(typeof E=="object"&&E!==null){switch(E.$$typeof){case Xx:return v=v.get(E.key===null?b:E.key)||null,c(y,v,E,S);case r0:return v=v.get(E.key===null?b:E.key)||null,A(y,v,E,S);case YA:var I=E._init;return h(v,y,b,I(E._payload),S)}if(ng(E)||Cm(E))return v=v.get(b)||null,u(y,v,E,S,null);oy(y,E)}return null}function m(v,y,b,E){for(var S=null,I=null,B=y,_=y=0,O=null;B!==null&&_<b.length;_++){B.index>_?(O=B,B=null):O=B.sibling;var j=f(v,B,b[_],E);if(j===null){B===null&&(B=O);break}t&&B&&j.alternate===null&&e(v,B),y=a(j,y,_),I===null?S=j:I.sibling=j,I=j,B=O}if(_===b.length)return r(v,B),On&&kd(v,_),S;if(B===null){for(;_<b.length;_++)B=d(v,b[_],E),B!==null&&(y=a(B,y,_),I===null?S=B:I.sibling=B,I=B);return On&&kd(v,_),S}for(B=n(v,B);_<b.length;_++)O=h(B,v,_,b[_],E),O!==null&&(t&&O.alternate!==null&&B.delete(O.key===null?_:O.key),y=a(O,y,_),I===null?S=O:I.sibling=O,I=O);return t&&B.forEach(function(T){return e(v,T)}),On&&kd(v,_),S}function p(v,y,b,E){var S=Cm(b);if(typeof S!="function")throw Error(lt(150));if(b=S.call(b),b==null)throw Error(lt(151));for(var I=S=null,B=y,_=y=0,O=null,j=b.next();B!==null&&!j.done;_++,j=b.next()){B.index>_?(O=B,B=null):O=B.sibling;var T=f(v,B,j.value,E);if(T===null){B===null&&(B=O);break}t&&B&&T.alternate===null&&e(v,B),y=a(T,y,_),I===null?S=T:I.sibling=T,I=T,B=O}if(j.done)return r(v,B),On&&kd(v,_),S;if(B===null){for(;!j.done;_++,j=b.next())j=d(v,j.value,E),j!==null&&(y=a(j,y,_),I===null?S=j:I.sibling=j,I=j);return On&&kd(v,_),S}for(B=n(v,B);!j.done;_++,j=b.next())j=h(B,v,_,j.value,E),j!==null&&(t&&j.alternate!==null&&B.delete(j.key===null?_:j.key),y=a(j,y,_),I===null?S=j:I.sibling=j,I=j);return t&&B.forEach(function(P){return e(v,P)}),On&&kd(v,_),S}function x(v,y,b,E){if(typeof b=="object"&&b!==null&&b.type===n0&&b.key===null&&(b=b.props.children),typeof b=="object"&&b!==null){switch(b.$$typeof){case Xx:e:{for(var S=b.key,I=y;I!==null;){if(I.key===S){if(S=b.type,S===n0){if(I.tag===7){r(v,I.sibling),y=i(I,b.props.children),y.return=v,v=y;break e}}else if(I.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===YA&&xI(S)===I.type){r(v,I.sibling),y=i(I,b.props),y.ref=_m(v,I,b),y.return=v,v=y;break e}r(v,I);break}else e(v,I);I=I.sibling}b.type===n0?(y=ah(b.props.children,v.mode,E,b.key),y.return=v,v=y):(E=Mw(b.type,b.key,b.props,null,v.mode,E),E.ref=_m(v,y,b),E.return=v,v=E)}return s(v);case r0:e:{for(I=b.key;y!==null;){if(y.key===I)if(y.tag===4&&y.stateNode.containerInfo===b.containerInfo&&y.stateNode.implementation===b.implementation){r(v,y.sibling),y=i(y,b.children||[]),y.return=v,v=y;break e}else{r(v,y);break}else e(v,y);y=y.sibling}y=iE(b,v.mode,E),y.return=v,v=y}return s(v);case YA:return I=b._init,x(v,y,I(b._payload),E)}if(ng(b))return m(v,y,b,E);if(Cm(b))return p(v,y,b,E);oy(v,b)}return typeof b=="string"&&b!==""||typeof b=="number"?(b=""+b,y!==null&&y.tag===6?(r(v,y.sibling),y=i(y,b),y.return=v,v=y):(r(v,y),y=nE(b,v.mode,E),y.return=v,v=y),s(v)):r(v,y)}return x}var rp=g8(!0),v8=g8(!1),I2=ld(null),k2=null,u0=null,dF=null;function hF(){dF=u0=k2=null}function fF(t){var e=I2.current;Tn(I2),t._currentValue=e}function xN(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 S0(t,e){k2=t,dF=u0=null,t=t.dependencies,t!==null&&t.firstContext!==null&&(t.lanes&e&&(ws=!0),t.firstContext=null)}function Ho(t){var e=t._currentValue;if(dF!==t)if(t={context:t,memoizedValue:e,next:null},u0===null){if(k2===null)throw Error(lt(308));u0=t,k2.dependencies={lanes:0,firstContext:t}}else u0=u0.next=t;return e}var Gd=null;function pF(t){Gd===null?Gd=[t]:Gd.push(t)}function x8(t,e,r,n){var i=e.interleaved;return i===null?(r.next=r,pF(e)):(r.next=i.next,i.next=r),e.interleaved=r,iA(t,n)}function iA(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 ZA=!1;function mF(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function y8(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 qc(t,e){return{eventTime:t,lane:e,tag:0,payload:null,callback:null,next:null}}function Su(t,e,r){var n=t.updateQueue;if(n===null)return null;if(n=n.shared,Pr&2){var i=n.pending;return i===null?e.next=e:(e.next=i.next,i.next=e),n.pending=e,iA(t,r)}return i=n.interleaved,i===null?(e.next=e,pF(n)):(e.next=i.next,i.next=e),n.interleaved=e,iA(t,r)}function Pw(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,tF(t,r)}}function yI(t,e){var r=t.updateQueue,n=t.alternate;if(n!==null&&(n=n.updateQueue,r===n)){var i=null,a=null;if(r=r.firstBaseUpdate,r!==null){do{var s={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};a===null?i=a=s:a=a.next=s,r=r.next}while(r!==null);a===null?i=a=e:a=a.next=e}else i=a=e;r={baseState:n.baseState,firstBaseUpdate:i,lastBaseUpdate:a,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 P2(t,e,r,n){var i=t.updateQueue;ZA=!1;var a=i.firstBaseUpdate,s=i.lastBaseUpdate,o=i.shared.pending;if(o!==null){i.shared.pending=null;var c=o,A=c.next;c.next=null,s===null?a=A:s.next=A,s=c;var u=t.alternate;u!==null&&(u=u.updateQueue,o=u.lastBaseUpdate,o!==s&&(o===null?u.firstBaseUpdate=A:o.next=A,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;s=0,u=A=c=null,o=a;do{var f=o.lane,h=o.eventTime;if((n&f)===f){u!==null&&(u=u.next={eventTime:h,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});e:{var m=t,p=o;switch(f=e,h=r,p.tag){case 1:if(m=p.payload,typeof m=="function"){d=m.call(h,d,f);break e}d=m;break e;case 3:m.flags=m.flags&-65537|128;case 0:if(m=p.payload,f=typeof m=="function"?m.call(h,d,f):m,f==null)break e;d=Wn({},d,f);break e;case 2:ZA=!0}}o.callback!==null&&o.lane!==0&&(t.flags|=64,f=i.effects,f===null?i.effects=[o]:f.push(o))}else h={eventTime:h,lane:f,tag:o.tag,payload:o.payload,callback:o.callback,next:null},u===null?(A=u=h,c=d):u=u.next=h,s|=f;if(o=o.next,o===null){if(o=i.shared.pending,o===null)break;f=o,o=f.next,f.next=null,i.lastBaseUpdate=f,i.shared.pending=null}}while(!0);if(u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=A,i.lastBaseUpdate=u,e=i.shared.interleaved,e!==null){i=e;do s|=i.lane,i=i.next;while(i!==e)}else a===null&&(i.shared.lanes=0);mh|=s,t.lanes=s,t.memoizedState=d}}function wI(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(lt(191,i));i.call(n)}}}var E1={},ic=ld(E1),Nv=ld(E1),Sv=ld(E1);function Jd(t){if(t===E1)throw Error(lt(174));return t}function gF(t,e){switch(Cn(Sv,e),Cn(Nv,t),Cn(ic,E1),t=e.nodeType,t){case 9:case 11:e=(e
vendor: 6,854 bytes, line 38
38=e.documentElement)?e.namespaceURI:$4(null,"");break;default:t=t===8?e.parentNode:e,e=t.namespaceURI||null,t=t.tagName,e=$4(e,t)}Tn(ic),Cn(ic,e)}function np(){Tn(ic),Tn(Nv),Tn(Sv)}function w8(t){Jd(Sv.current);var e=Jd(ic.current),r=$4(e,t.type);e!==r&&(Cn(Nv,t),Cn(ic,r))}function vF(t){Nv.current===t&&(Tn(ic),Tn(Nv))}var Hn=ld(0);function D2(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 YB=[];function xF(){for(var t=0;t<YB.length;t++)YB[t]._workInProgressVersionPrimary=null;YB.length=0}var Dw=fA.ReactCurrentDispatcher,ZB=fA.ReactCurrentBatchConfig,ph=0,Vn=null,ki=null,Gi=null,O2=!1,Fg=!1,_v=0,PJ=0;function Na(){throw Error(lt(321))}function yF(t,e){if(e===null)return!1;for(var r=0;r<e.length&&r<t.length;r++)if(!Tl(t[r],e[r]))return!1;return!0}function wF(t,e,r,n,i,a){if(ph=a,Vn=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,Dw.current=t===null||t.memoizedState===null?UJ:LJ,t=r(n,i),Fg){a=0;do{if(Fg=!1,_v=0,25<=a)throw Error(lt(301));a+=1,Gi=ki=null,e.updateQueue=null,Dw.current=MJ,t=r(n,i)}while(Fg)}if(Dw.current=R2,e=ki!==null&&ki.next!==null,ph=0,Gi=ki=Vn=null,O2=!1,e)throw Error(lt(300));return t}function bF(){var t=_v!==0;return _v=0,t}function Gl(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Gi===null?Vn.memoizedState=Gi=t:Gi=Gi.next=t,Gi}function zo(){if(ki===null){var t=Vn.alternate;t=t!==null?t.memoizedState:null}else t=ki.next;var e=Gi===null?Vn.memoizedState:Gi.next;if(e!==null)Gi=e,ki=t;else{if(t===null)throw Error(lt(310));ki=t,t={memoizedState:ki.memoizedState,baseState:ki.baseState,baseQueue:ki.baseQueue,queue:ki.queue,next:null},Gi===null?Vn.memoizedState=Gi=t:Gi=Gi.next=t}return Gi}function Fv(t,e){return typeof e=="function"?e(t):e}function $B(t){var e=zo(),r=e.queue;if(r===null)throw Error(lt(311));r.lastRenderedReducer=t;var n=ki,i=n.baseQueue,a=r.pending;if(a!==null){if(i!==null){var s=i.next;i.next=a.next,a.next=s}n.baseQueue=i=a,r.pending=null}if(i!==null){a=i.next,n=n.baseState;var o=s=null,c=null,A=a;do{var u=A.lane;if((ph&u)===u)c!==null&&(c=c.next={lane:0,action:A.action,hasEagerState:A.hasEagerState,eagerState:A.eagerState,next:null}),n=A.hasEagerState?A.eagerState:t(n,A.action);else{var d={lane:u,action:A.action,hasEagerState:A.hasEagerState,eagerState:A.eagerState,next:null};c===null?(o=c=d,s=n):c=c.next=d,Vn.lanes|=u,mh|=u}A=A.next}while(A!==null&&A!==a);c===null?s=n:c.next=o,Tl(n,e.memoizedState)||(ws=!0),e.memoizedState=n,e.baseState=s,e.baseQueue=c,r.lastRenderedState=n}if(t=r.interleaved,t!==null){i=t;do a=i.lane,Vn.lanes|=a,mh|=a,i=i.next;while(i!==t)}else i===null&&(r.lanes=0);return[e.memoizedState,r.dispatch]}function eE(t){var e=zo(),r=e.queue;if(r===null)throw Error(lt(311));r.lastRenderedReducer=t;var n=r.dispatch,i=r.pending,a=e.memoizedState;if(i!==null){r.pending=null;var s=i=i.next;do a=t(a,s.action),s=s.next;while(s!==i);Tl(a,e.memoizedState)||(ws=!0),e.memoizedState=a,e.baseQueue===null&&(e.baseState=a),r.lastRenderedState=a}return[a,n]}function b8(){}function C8(t,e){var r=Vn,n=zo(),i=e(),a=!Tl(n.memoizedState,i);if(a&&(n.memoizedState=i,ws=!0),n=n.queue,CF(N8.bind(null,r,n,t),[t]),n.getSnapshot!==e||a||Gi!==null&&Gi.memoizedState.tag&1){if(r.flags|=2048,Tv(9,E8.bind(null,r,n,i,e),void 0,null),ra===null)throw Error(lt(349));ph&30||B8(r,e,i)}return i}function B8(t,e,r){t.flags|=16384,t={getSnapshot:e,value:r},e=Vn.updateQueue,e===null?(e={lastEffect:null,stores:null},Vn.updateQueue=e,e.stores=[t]):(r=e.stores,r===null?e.stores=[t]:r.push(t))}function E8(t,e,r,n){e.value=r,e.getSnapshot=n,S8(e)&&_8(t)}function N8(t,e,r){return r(function(){S8(e)&&_8(t)})}function S8(t){var e=t.getSnapshot;t=t.value;try{var r=e();return!Tl(t,r)}catch{return!0}}function _8(t){var e=iA(t,1);e!==null&&El(e,t,1,-1)}function bI(t){var e=Gl();return typeof t=="function"&&(t=t()),e.memoizedState=e.baseState=t,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Fv,lastRenderedState:t},e.queue=t,t=t.dispatch=RJ.bind(null,Vn,t),[e.memoizedState,t]}function Tv(t,e,r,n){return t={tag:t,create:e,destroy:r,deps:n,next:null},e=Vn.updateQueue,e===null?(e={lastEffect:null,stores:null},Vn.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 F8(){return zo().memoizedState}function Ow(t,e,r,n){var i=Gl();Vn.flags|=t,i.memoizedState=Tv(1|e,r,void 0,n===void 0?null:n)}function mC(t,e,r,n){var i=zo();n=n===void 0?null:n;var a=void 0;if(ki!==null){var s=ki.memoizedState;if(a=s.destroy,n!==null&&yF(n,s.deps)){i.memoizedState=Tv(e,r,a,n);return}}Vn.flags|=t,i.memoizedState=Tv(1|e,r,a,n)}function CI(t,e){return Ow(8390656,8,t,e)}function CF(t,e){return mC(2048,8,t,e)}function T8(t,e){return mC(4,2,t,e)}function j8(t,e){return mC(4,4,t,e)}function I8(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 k8(t,e,r){return r=r!=null?r.concat([t]):null,mC(4,4,I8.bind(null,e,t),r)}function BF(){}function P8(t,e){var r=zo();e=e===void 0?null:e;var n=r.memoizedState;return n!==null&&e!==null&&yF(e,n[1])?n[0]:(r.memoizedState=[t,e],t)}function D8(t,e){var r=zo();e=e===void 0?null:e;var n=r.memoizedState;return n!==null&&e!==null&&yF(e,n[1])?n[0]:(t=t(),r.memoizedState=[t,e],t)}function O8(t,e,r){return ph&21?(Tl(r,e)||(r=QU(),Vn.lanes|=r,mh|=r,t.baseState=!0),e):(t.baseState&&(t.baseState=!1,ws=!0),t.memoizedState=r)}function DJ(t,e){var r=an;an=r!==0&&4>r?r:4,t(!0);var n=ZB.transition;ZB.transition={};try{t(!1),e()}finally{an=r,ZB.transition=n}}function R8(){return zo().memoizedState}function OJ(t,e,r){var n=Fu(t);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},U8(t))L8(e,r);else if(r=x8(t,e,r,n),r!==null){var i=ns();El(r,t,n,i),M8(r,e,n)}}function RJ(t,e,r){var n=Fu(t),i={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(U8(t))L8(e,i);else{var a=t.alternate;if(t.lanes===0&&(a===null||a.lanes===0)&&(a=e.lastRenderedReducer,a!==null))try{var s=e.lastRenderedState,o=a(s,r);if(i.hasEagerState=!0,i.eagerState=o,Tl(o,s)){var c=e.interleaved;c===null?(i.next=i,pF(e)):(i.next=c.next,c.next=i),e.interleaved=i;return}}catch{}finally{}r=x8(t,e,i,n),r!==null&&(i=ns(),El(r,t,n,i),M8(r,e,n))}}function U8(t){var e=t.alternate;return t===Vn||e!==null&&e===Vn}function L8(t,e){Fg=O2=!0;var r=t.pending;r===null?e.next=e:(e.next=r.next,r.next=e),t.pending=e}function M8(t,e,r){if(r&4194240){var n=e.lanes;
vendor: 8,341 bytes, lines 38-40
38n&=t.pendingLanes,r|=n,e.lanes=r,tF(t,r)}}var R2={readContext:Ho,useCallback:Na,useContext:Na,useEffect:Na,useImperativeHandle:Na,useInsertionEffect:Na,useLayoutEffect:Na,useMemo:Na,useReducer:Na,useRef:Na,useState:Na,useDebugValue:Na,useDeferredValue:Na,useTransition:Na,useMutableSource:Na,useSyncExternalStore:Na,useId:Na,unstable_isNewReconciler:!1},UJ={readContext:Ho,useCallback:function(t,e){return Gl().memoizedState=[t,e===void 0?null:e],t},useContext:Ho,useEffect:CI,useImperativeHandle:function(t,e,r){return r=r!=null?r.concat([t]):null,Ow(4194308,4,I8.bind(null,e,t),r)},useLayoutEffect:function(t,e){return Ow(4194308,4,t,e)},useInsertionEffect:function(t,e){return Ow(4,2,t,e)},useMemo:function(t,e){var r=Gl();return e=e===void 0?null:e,t=t(),r.memoizedState=[t,e],t},useReducer:function(t,e,r){var n=Gl();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=OJ.bind(null,Vn,t),[n.memoizedState,t]},useRef:function(t){var e=Gl();return t={current:t},e.memoizedState=t},useState:bI,useDebugValue:BF,useDeferredValue:function(t){return Gl().memoizedState=t},useTransition:function(){var t=bI(!1),e=t[0];return t=DJ.bind(null,t[1]),Gl().memoizedState=t,[e,t]},useMutableSource:function(){},useSyncExternalStore:function(t,e,r){var n=Vn,i=Gl();if(On){if(r===void 0)throw Error(lt(407));r=r()}else{if(r=e(),ra===null)throw Error(lt(349));ph&30||B8(n,e,r)}i.memoizedState=r;var a={value:r,getSnapshot:e};return i.queue=a,CI(N8.bind(null,n,a,t),[t]),n.flags|=2048,Tv(9,E8.bind(null,n,a,r,e),void 0,null),r},useId:function(){var t=Gl(),e=ra.identifierPrefix;if(On){var r=Qc,n=Mc;r=(n&~(1<<32-Bl(n)-1)).toString(32)+r,e=":"+e+"R"+r,r=_v++,0<r&&(e+="H"+r.toString(32)),e+=":"}else r=PJ++,e=":"+e+"r"+r.toString(32)+":";return t.memoizedState=e},unstable_isNewReconciler:!1},LJ={readContext:Ho,useCallback:P8,useContext:Ho,useEffect:CF,useImperativeHandle:k8,useInsertionEffect:T8,useLayoutEffect:j8,useMemo:D8,useReducer:$B,useRef:F8,useState:function(){return $B(Fv)},useDebugValue:BF,useDeferredValue:function(t){var e=zo();return O8(e,ki.memoizedState,t)},useTransition:function(){var t=$B(Fv)[0],e=zo().memoizedState;return[t,e]},useMutableSource:b8,useSyncExternalStore:C8,useId:R8,unstable_isNewReconciler:!1},MJ={readContext:Ho,useCallback:P8,useContext:Ho,useEffect:CF,useImperativeHandle:k8,useInsertionEffect:T8,useLayoutEffect:j8,useMemo:D8,useReducer:eE,useRef:F8,useState:function(){return eE(Fv)},useDebugValue:BF,useDeferredValue:function(t){var e=zo();return ki===null?e.memoizedState=t:O8(e,ki.memoizedState,t)},useTransition:function(){var t=eE(Fv)[0],e=zo().memoizedState;return[t,e]},useMutableSource:b8,useSyncExternalStore:C8,useId:R8,unstable_isNewReconciler:!1};function Al(t,e){if(t&&t.defaultProps){e=Wn({},e),t=t.defaultProps;for(var r in t)e[r]===void 0&&(e[r]=t[r]);return e}return e}function yN(t,e,r,n){e=t.memoizedState,r=r(n,e),r=r==null?e:Wn({},e,r),t.memoizedState=r,t.lanes===0&&(t.updateQueue.baseState=r)}var gC={isMounted:function(t){return(t=t._reactInternals)?Oh(t)===t:!1},enqueueSetState:function(t,e,r){t=t._reactInternals;var n=ns(),i=Fu(t),a=qc(n,i);a.payload=e,r!=null&&(a.callback=r),e=Su(t,a,i),e!==null&&(El(e,t,i,n),Pw(e,t,i))},enqueueReplaceState:function(t,e,r){t=t._reactInternals;var n=ns(),i=Fu(t),a=qc(n,i);a.tag=1,a.payload=e,r!=null&&(a.callback=r),e=Su(t,a,i),e!==null&&(El(e,t,i,n),Pw(e,t,i))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var r=ns(),n=Fu(t),i=qc(r,n);i.tag=2,e!=null&&(i.callback=e),e=Su(t,i,n),e!==null&&(El(e,t,n,r),Pw(e,t,n))}};function BI(t,e,r,n,i,a,s){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(n,a,s):e.prototype&&e.prototype.isPureReactComponent?!bv(r,n)||!bv(i,a):!0}function Q8(t,e,r){var n=!1,i=Vu,a=e.contextType;return typeof a=="object"&&a!==null?a=Ho(a):(i=Es(e)?hh:Ua.current,n=e.contextTypes,a=(n=n!=null)?ep(t,i):Vu),e=new e(r,a),t.memoizedState=e.state!==null&&e.state!==void 0?e.state:null,e.updater=gC,t.stateNode=e,e._reactInternals=t,n&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=i,t.__reactInternalMemoizedMaskedChildContext=a),e}function EI(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&&gC.enqueueReplaceState(e,e.state,null)}function wN(t,e,r,n){var i=t.stateNode;i.props=r,i.state=t.memoizedState,i.refs={},mF(t);var a=e.contextType;typeof a=="object"&&a!==null?i.context=Ho(a):(a=Es(e)?hh:Ua.current,i.context=ep(t,a)),i.state=t.memoizedState,a=e.getDerivedStateFromProps,typeof a=="function"&&(yN(t,e,a,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&&gC.enqueueReplaceState(i,i.state,null),P2(t,r,i,n),i.state=t.memoizedState),typeof i.componentDidMount=="function"&&(t.flags|=4194308)}function ip(t,e){try{var r="",n=e;do r+=fG(n),n=n.return;while(n);var i=r}catch(a){i=` 39Error generating stack: `+a.message+` 40`+a.stack}return{value:t,source:e,stack:i,digest:null}}function tE(t,e,r){return{value:t,source:null,stack:r??null,digest:e??null}}function bN(t,e){try{console.error(e.value)}catch(r){setTimeout(function(){throw r})}}var QJ=typeof WeakMap=="function"?WeakMap:Map;function H8(t,e,r){r=qc(-1,r),r.tag=3,r.payload={element:null};var n=e.value;return r.callback=function(){L2||(L2=!0,IN=n),bN(t,e)},r}function z8(t,e,r){r=qc(-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(){bN(t,e)}}var a=t.stateNode;return a!==null&&typeof a.componentDidCatch=="function"&&(r.callback=function(){bN(t,e),typeof n!="function"&&(_u===null?_u=new Set([this]):_u.add(this));var s=e.stack;this.componentDidCatch(e.value,{componentStack:s!==null?s:""})}),r}function NI(t,e,r){var n=t.pingCache;if(n===null){n=t.pingCache=new QJ;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=tX.bind(null,t,e,r),e.then(t,t))}function SI(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 _I(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=qc(-1,1),e.tag=2,Su(r,e,1))),r.lanes|=1),t)}var HJ=fA.ReactCurrentOwner,ws=!1;function Ja(t,e,r,n){e.child=t===null?v8(e,null,r,n):rp(e,t.child,r,n)}function FI(t,e,r,n,i){r=r.render;var a=e.ref;return S0(e,i),n=wF(t,e,r,n,a,i),r=bF(),t!==null&&!ws?(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~i,aA(t,e,i)):(On&&r&&cF(e),e.flags|=1,Ja(t,e,n,i),e.child)}function TI(t,e,r,n,i){if(t===null){var a=r.type;return typeof a=="function"&&!IF(a)&&a.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(e.tag=15,e.type=a,V8(t,e,a,n,i)):(t=Mw(r.type,null,n,e,e.mode,i),t.ref=e.ref,t.return=e,e.child=t)}if(a=t.child,!(t.lanes&i)){var s=a.memoizedProps;if(r=r.compare,r=r!==null?r:bv,r(s,n)&&t.ref===e.ref)return aA(t,e,i)}return e.flags|=1,t=Tu(a,n),t.ref=e.ref,t.return=e,e.child=t}function V8(t,e,r,n,i){if(t!==null){var a=t.memoizedProps;if(bv(a,n)&&t.ref===e.ref)if(ws=!1,e.pendingProps=n=a,(t.lanes&i)!==0)t.flags&131072&&(ws=!0);else return e.lanes=t.lanes,aA(t,e,i)}return CN(t,e,r,n,i)}function W8(t,e,r){var n=e.pendingProps,i=n.children,a=t!==null?t.memoizedState:null;if(n.mode==="hidden")if(!(e.mode&1))e.memoizedState={baseLanes:0,cachePool:null,transitions:null},Cn(h0,zs),zs|=r;else{if(!(r&1073741824))return t=a!==null?a.baseLanes|r:r,e.lanes=e.childLanes=1073741824,e.memoizedState={baseLanes:t,cachePool:null,transitions:null},e.updateQueue=null,Cn(h0,zs),zs|=t,null;e.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=a!==null?a.baseLanes:r,Cn(h0,zs),zs|=n}else a!==null?(n=a.baseLanes|r,e.memoizedState=null):n=r,Cn(h0,zs),zs|=n;
vendor: 4,842 bytes, line 40
40return Ja(t,e,i,r),e.child}function K8(t,e){var r=e.ref;(t===null&&r!==null||t!==null&&t.ref!==r)&&(e.flags|=512,e.flags|=2097152)}function CN(t,e,r,n,i){var a=Es(r)?hh:Ua.current;return a=ep(e,a),S0(e,i),r=wF(t,e,r,n,a,i),n=bF(),t!==null&&!ws?(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~i,aA(t,e,i)):(On&&n&&cF(e),e.flags|=1,Ja(t,e,r,i),e.child)}function jI(t,e,r,n,i){if(Es(r)){var a=!0;F2(e)}else a=!1;if(S0(e,i),e.stateNode===null)Rw(t,e),Q8(e,r,n),wN(e,r,n,i),n=!0;else if(t===null){var s=e.stateNode,o=e.memoizedProps;s.props=o;var c=s.context,A=r.contextType;typeof A=="object"&&A!==null?A=Ho(A):(A=Es(r)?hh:Ua.current,A=ep(e,A));var u=r.getDerivedStateFromProps,d=typeof u=="function"||typeof s.getSnapshotBeforeUpdate=="function";d||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(o!==n||c!==A)&&EI(e,s,n,A),ZA=!1;var f=e.memoizedState;s.state=f,P2(e,n,s,i),c=e.memoizedState,o!==n||f!==c||Bs.current||ZA?(typeof u=="function"&&(yN(e,r,u,n),c=e.memoizedState),(o=ZA||BI(e,r,o,n,f,c,A))?(d||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(e.flags|=4194308)):(typeof s.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=n,e.memoizedState=c),s.props=n,s.state=c,s.context=A,n=o):(typeof s.componentDidMount=="function"&&(e.flags|=4194308),n=!1)}else{s=e.stateNode,y8(t,e),o=e.memoizedProps,A=e.type===e.elementType?o:Al(e.type,o),s.props=A,d=e.pendingProps,f=s.context,c=r.contextType,typeof c=="object"&&c!==null?c=Ho(c):(c=Es(r)?hh:Ua.current,c=ep(e,c));var h=r.getDerivedStateFromProps;(u=typeof h=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(o!==d||f!==c)&&EI(e,s,n,c),ZA=!1,f=e.memoizedState,s.state=f,P2(e,n,s,i);var m=e.memoizedState;o!==d||f!==m||Bs.current||ZA?(typeof h=="function"&&(yN(e,r,h,n),m=e.memoizedState),(A=ZA||BI(e,r,A,n,f,m,c)||!1)?(u||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(n,m,c),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(n,m,c)),typeof s.componentDidUpdate=="function"&&(e.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof s.componentDidUpdate!="function"||o===t.memoizedProps&&f===t.memoizedState||(e.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||o===t.memoizedProps&&f===t.memoizedState||(e.flags|=1024),e.memoizedProps=n,e.memoizedState=m),s.props=n,s.state=m,s.context=c,n=A):(typeof s.componentDidUpdate!="function"||o===t.memoizedProps&&f===t.memoizedState||(e.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||o===t.memoizedProps&&f===t.memoizedState||(e.flags|=1024),n=!1)}return BN(t,e,r,n,a,i)}function BN(t,e,r,n,i,a){K8(t,e);var s=(e.flags&128)!==0;if(!n&&!s)return i&&mI(e,r,!1),aA(t,e,a);n=e.stateNode,HJ.current=e;var o=s&&typeof r.getDerivedStateFromError!="function"?null:n.render();return e.flags|=1,t!==null&&s?(e.child=rp(e,t.child,null,a),e.child=rp(e,null,o,a)):Ja(t,e,o,a),e.memoizedState=n.state,i&&mI(e,r,!0),e.child}function q8(t){var e=t.stateNode;e.pendingContext?pI(t,e.pendingContext,e.pendingContext!==e.context):e.context&&pI(t,e.context,!1),gF(t,e.containerInfo)}function II(t,e,r,n,i){return tp(),uF(i),e.flags|=256,Ja(t,e,r,n),e.child}var EN={dehydrated:null,treeContext:null,retryLane:0};function NN(t){return{baseLanes:t,cachePool:null,transitions:null}}function G8(t,e,r){var n=e.pendingProps,i=Hn.current,a=!1,s=(e.flags&128)!==0,o;if((o=s)||(o=t!==null&&t.memoizedState===null?!1:(i&2)!==0),o?(a=!0,e.flags&=-129):(t===null||t.memoizedState!==null)&&(i|=1),Cn(Hn,i&1),t===null)return vN(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):(s=n.children,t=n.fallback,a?(n=e.mode,a=e.child,s={mode:"hidden",children:s},!(n&1)&&a!==null?(a.childLanes=0,a.pendingProps=s):a=yC(s,n,0,null),t=ah(t,n,r,null),a.return=e,t.return=e,a.sibling=t,e.child=a,e.child.memoizedState=NN(r),e.memoizedState=EN,t):EF(e,s));if(i=t.memoizedState,i!==null&&(o=i.dehydrated,o!==null))return zJ(t,e,s,n,o,i,r);if(a){a=n.fallback,s=e.mode,i=t.child,o=i.sibling;var c={mode:"hidden",children:n.children};return!(s&1)&&e.child!==i?(n=e.child,n.childLanes=0,n.pendingProps=c,e.deletions=null):(n=Tu(i,c),n.subtreeFlags=i.subtreeFlags&14680064),o!==null?a=Tu(o,a):(a=ah(a,s,r,null),a.flags|=2),a.return=e,n.return=e,n.sibling=a,e.child=n,n=a,a=e.child,s=t.child.memoizedState,s=s===null?NN(r):{base
vendor: 8,218 bytes, line 40
40Lanes:s.baseLanes|r,cachePool:null,transitions:s.transitions},a.memoizedState=s,a.childLanes=t.childLanes&~r,e.memoizedState=EN,n}return a=t.child,t=a.sibling,n=Tu(a,{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 EF(t,e){return e=yC({mode:"visible",children:e},t.mode,0,null),e.return=t,t.child=e}function ly(t,e,r,n){return n!==null&&uF(n),rp(e,t.child,null,r),t=EF(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function zJ(t,e,r,n,i,a,s){if(r)return e.flags&256?(e.flags&=-257,n=tE(Error(lt(422))),ly(t,e,s,n)):e.memoizedState!==null?(e.child=t.child,e.flags|=128,null):(a=n.fallback,i=e.mode,n=yC({mode:"visible",children:n.children},i,0,null),a=ah(a,i,s,null),a.flags|=2,n.return=e,a.return=e,n.sibling=a,e.child=n,e.mode&1&&rp(e,t.child,null,s),e.child.memoizedState=NN(s),e.memoizedState=EN,a);if(!(e.mode&1))return ly(t,e,s,null);if(i.data==="$!"){if(n=i.nextSibling&&i.nextSibling.dataset,n)var o=n.dgst;return n=o,a=Error(lt(419)),n=tE(a,n,void 0),ly(t,e,s,n)}if(o=(s&t.childLanes)!==0,ws||o){if(n=ra,n!==null){switch(s&-s){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|s)?0:i,i!==0&&i!==a.retryLane&&(a.retryLane=i,iA(t,i),El(n,t,i,-1))}return jF(),n=tE(Error(lt(421))),ly(t,e,s,n)}return i.data==="$?"?(e.flags|=128,e.child=t.child,e=rX.bind(null,t),i._reactRetry=e,null):(t=a.treeContext,Xs=Nu(i.nextSibling),ro=e,On=!0,fl=null,t!==null&&(So[_o++]=Mc,So[_o++]=Qc,So[_o++]=fh,Mc=t.id,Qc=t.overflow,fh=e),e=EF(e,n.children),e.flags|=4096,e)}function kI(t,e,r){t.lanes|=e;var n=t.alternate;n!==null&&(n.lanes|=e),xN(t.return,e,r)}function rE(t,e,r,n,i){var a=t.memoizedState;a===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:i}:(a.isBackwards=e,a.rendering=null,a.renderingStartTime=0,a.last=n,a.tail=r,a.tailMode=i)}function J8(t,e,r){var n=e.pendingProps,i=n.revealOrder,a=n.tail;if(Ja(t,e,n.children,r),n=Hn.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&&kI(t,r,e);else if(t.tag===19)kI(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(Cn(Hn,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&&D2(t)===null&&(i=r),r=r.sibling;r=i,r===null?(i=e.child,e.child=null):(i=r.sibling,r.sibling=null),rE(e,!1,i,r,a);break;case"backwards":for(r=null,i=e.child,e.child=null;i!==null;){if(t=i.alternate,t!==null&&D2(t)===null){e.child=i;break}t=i.sibling,i.sibling=r,r=i,i=t}rE(e,!0,r,null,a);break;case"together":rE(e,!1,null,null,void 0);break;default:e.memoizedState=null}return e.child}function Rw(t,e){!(e.mode&1)&&t!==null&&(t.alternate=null,e.alternate=null,e.flags|=2)}function aA(t,e,r){if(t!==null&&(e.dependencies=t.dependencies),mh|=e.lanes,!(r&e.childLanes))return null;if(t!==null&&e.child!==t.child)throw Error(lt(153));if(e.child!==null){for(t=e.child,r=Tu(t,t.pendingProps),e.child=r,r.return=e;t.sibling!==null;)t=t.sibling,r=r.sibling=Tu(t,t.pendingProps),r.return=e;r.sibling=null}return e.child}function VJ(t,e,r){switch(e.tag){case 3:q8(e),tp();break;case 5:w8(e);break;case 1:Es(e.type)&&F2(e);break;case 4:gF(e,e.stateNode.containerInfo);break;case 10:var n=e.type._context,i=e.memoizedProps.value;Cn(I2,n._currentValue),n._currentValue=i;break;case 13:if(n=e.memoizedState,n!==null)return n.dehydrated!==null?(Cn(Hn,Hn.current&1),e.flags|=128,null):r&e.child.childLanes?G8(t,e,r):(Cn(Hn,Hn.current&1),t=aA(t,e,r),t!==null?t.sibling:null);Cn(Hn,Hn.current&1);break;case 19:if(n=(r&e.childLanes)!==0,t.flags&128){if(n)return J8(t,e,r);e.flags|=128}if(i=e.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Cn(Hn,Hn.current),n)break;return null;case 22:case 23:return e.lanes=0,W8(t,e,r)}return aA(t,e,r)}var X8,SN,Y8,Z8;X8=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}};SN=function(){};Y8=function(t,e,r,n){var i=t.memoizedProps;if(i!==n){t=e.stateNode,Jd(ic.current);var a=null;switch(r){case"input":i=J4(t,i),n=J4(t,n),a=[];break;case"select":i=Wn({},i,{value:void 0}),n=Wn({},n,{value:void 0}),a=[];break;case"textarea":i=Z4(t,i),n=Z4(t,n),a=[];break;default:typeof i.onClick!="function"&&typeof n.onClick=="function"&&(t.onclick=S2)}eN(r,n);var s;r=null;for(A in i)if(!n.hasOwnProperty(A)&&i.hasOwnProperty(A)&&i[A]!=null)if(A==="style"){var o=i[A];for(s in o)o.hasOwnProperty(s)&&(r||(r={}),r[s]="")}else A!=="dangerouslySetInnerHTML"&&A!=="children"&&A!=="suppressContentEditableWarning"&&A!=="suppressHydrationWarning"&&A!=="autoFocus"&&(pv.hasOwnProperty(A)?a||(a=[]):(a=a||[]).push(A,null));for(A in n){var c=n[A];if(o=i!=null?i[A]:void 0,n.hasOwnProperty(A)&&c!==o&&(c!=null||o!=null))if(A==="style")if(o){for(s in o)!o.hasOwnProperty(s)||c&&c.hasOwnProperty(s)||(r||(r={}),r[s]="");for(s in c)c.hasOwnProperty(s)&&o[s]!==c[s]&&(r||(r={}),r[s]=c[s])}else r||(a||(a=[]),a.push(A,r)),r=c;else A==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,o=o?o.__html:void 0,c!=null&&o!==c&&(a=a||[]).push(A,c)):A==="children"?typeof c!="string"&&typeof c!="number"||(a=a||[]).push(A,""+c):A!=="suppressContentEditableWarning"&&A!=="suppressHydrationWarning"&&(pv.hasOwnProperty(A)?(c!=null&&A==="onScroll"&&En("scroll",t),a||o===c||(a=[])):(a=a||[]).push(A,c))}r&&(a=a||[]).push("style",r);var A=a;(e.updateQueue=A)&&(e.flags|=4)}};Z8=function(t,e,r,n){r!==n&&(e.flags|=4)};function Fm(t,e){if(!On)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 Sa(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 WJ(t,e,r){var n=e.pendingProps;switch(AF(e),e.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Sa(e),null;case 1:return Es(e.type)&&_2(),Sa(e),null;case 3:return n=e.stateNode,np(),Tn(Bs),Tn(Ua),xF(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(t===null||t.child===null)&&(sy(e)?e.flags|=4:t===null||t.memoizedState.isDehydrated&&!(e.flags&256)||(e.flags|=1024,fl!==null&&(DN(fl),fl=null))),SN(t,e),Sa(e),null;case 5:vF(e);var i=Jd(Sv.current);if(r=e.type,t!==null&&e.stateNode!=null)Y8(t,e,r,n,i),t.ref!==e.ref&&(e.flags|=512,e.flags|=2097152);else{if(!n){if(e.stateNode===null)throw Error(lt(166));return Sa(e),null}if(t=Jd(ic.current),sy(e)){n=e.stateNode,r=e.type;var a=e.memoizedProps;switch(n[Xl]=e,n[Ev]=a,t=(e.mode&1)!==0,r){case"dialog":En("cancel",n),En("close",n);break;case"iframe":case"object":case"embed":En("load",n);break;case"video":case"audio":for(i=0;i<ag.length;i++)En(ag[i],n);break;case"source":En("error",n);break;case"img":case"image":case"link":En("error",n),En("load",n);break;case"details":En("toggle",n);break;case"input":Hj(n,a),En("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!a.multiple},En("invalid",n);break;case"textarea":Vj(n,a),En("invalid",n)}eN(r,a),i=null;for(var s in a)if(a.hasOwnProperty(s)){var o=a[s];
vendor: 30,215 bytes, line 40
40s==="children"?typeof o=="string"?n.textContent!==o&&(a.suppressHydrationWarning!==!0&&ay(n.textContent,o,t),i=["children",o]):typeof o=="number"&&n.textContent!==""+o&&(a.suppressHydrationWarning!==!0&&ay(n.textContent,o,t),i=["children",""+o]):pv.hasOwnProperty(s)&&o!=null&&s==="onScroll"&&En("scroll",n)}switch(r){case"input":Yx(n),zj(n,a,!0);break;case"textarea":Yx(n),Wj(n);break;case"select":case"option":break;default:typeof a.onClick=="function"&&(n.onclick=S2)}n=i,e.updateQueue=n,n!==null&&(e.flags|=4)}else{s=i.nodeType===9?i:i.ownerDocument,t==="http://www.w3.org/1999/xhtml"&&(t=NU(r)),t==="http://www.w3.org/1999/xhtml"?r==="script"?(t=s.createElement("div"),t.innerHTML="<script><\/script>",t=t.removeChild(t.firstChild)):typeof n.is=="string"?t=s.createElement(r,{is:n.is}):(t=s.createElement(r),r==="select"&&(s=t,n.multiple?s.multiple=!0:n.size&&(s.size=n.size))):t=s.createElementNS(t,r),t[Xl]=e,t[Ev]=n,X8(t,e,!1,!1),e.stateNode=t;e:{switch(s=tN(r,n),r){case"dialog":En("cancel",t),En("close",t),i=n;break;case"iframe":case"object":case"embed":En("load",t),i=n;break;case"video":case"audio":for(i=0;i<ag.length;i++)En(ag[i],t);i=n;break;case"source":En("error",t),i=n;break;case"img":case"image":case"link":En("error",t),En("load",t),i=n;break;case"details":En("toggle",t),i=n;break;case"input":Hj(t,n),i=J4(t,n),En("invalid",t);break;case"option":i=n;break;case"select":t._wrapperState={wasMultiple:!!n.multiple},i=Wn({},n,{value:void 0}),En("invalid",t);break;case"textarea":Vj(t,n),i=Z4(t,n),En("invalid",t);break;default:i=n}eN(r,i),o=i;for(a in o)if(o.hasOwnProperty(a)){var c=o[a];a==="style"?FU(t,c):a==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,c!=null&&SU(t,c)):a==="children"?typeof c=="string"?(r!=="textarea"||c!=="")&&mv(t,c):typeof c=="number"&&mv(t,""+c):a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&a!=="autoFocus"&&(pv.hasOwnProperty(a)?c!=null&&a==="onScroll"&&En("scroll",t):c!=null&&J_(t,a,c,s))}switch(r){case"input":Yx(t),zj(t,n,!1);break;case"textarea":Yx(t),Wj(t);break;case"option":n.value!=null&&t.setAttribute("value",""+zu(n.value));break;case"select":t.multiple=!!n.multiple,a=n.value,a!=null?C0(t,!!n.multiple,a,!1):n.defaultValue!=null&&C0(t,!!n.multiple,n.defaultValue,!0);break;default:typeof i.onClick=="function"&&(t.onclick=S2)}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 Sa(e),null;case 6:if(t&&e.stateNode!=null)Z8(t,e,t.memoizedProps,n);else{if(typeof n!="string"&&e.stateNode===null)throw Error(lt(166));if(r=Jd(Sv.current),Jd(ic.current),sy(e)){if(n=e.stateNode,r=e.memoizedProps,n[Xl]=e,(a=n.nodeValue!==r)&&(t=ro,t!==null))switch(t.tag){case 3:ay(n.nodeValue,r,(t.mode&1)!==0);break;case 5:t.memoizedProps.suppressHydrationWarning!==!0&&ay(n.nodeValue,r,(t.mode&1)!==0)}a&&(e.flags|=4)}else n=(r.nodeType===9?r:r.ownerDocument).createTextNode(n),n[Xl]=e,e.stateNode=n}return Sa(e),null;case 13:if(Tn(Hn),n=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(On&&Xs!==null&&e.mode&1&&!(e.flags&128))m8(),tp(),e.flags|=98560,a=!1;else if(a=sy(e),n!==null&&n.dehydrated!==null){if(t===null){if(!a)throw Error(lt(318));if(a=e.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(lt(317));a[Xl]=e}else tp(),!(e.flags&128)&&(e.memoizedState=null),e.flags|=4;Sa(e),a=!1}else fl!==null&&(DN(fl),fl=null),a=!0;if(!a)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||Hn.current&1?Li===0&&(Li=3):jF())),e.updateQueue!==null&&(e.flags|=4),Sa(e),null);case 4:return np(),SN(t,e),t===null&&Cv(e.stateNode.containerInfo),Sa(e),null;case 10:return fF(e.type._context),Sa(e),null;case 17:return Es(e.type)&&_2(),Sa(e),null;case 19:if(Tn(Hn),a=e.memoizedState,a===null)return Sa(e),null;if(n=(e.flags&128)!==0,s=a.rendering,s===null)if(n)Fm(a,!1);else{if(Li!==0||t!==null&&t.flags&128)for(t=e.child;t!==null;){if(s=D2(t),s!==null){for(e.flags|=128,Fm(a,!1),n=s.updateQueue,n!==null&&(e.updateQueue=n,e.flags|=4),e.subtreeFlags=0,n=r,r=e.child;r!==null;)a=r,t=n,a.flags&=14680066,s=a.alternate,s===null?(a.childLanes=0,a.lanes=t,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=s.childLanes,a.lanes=s.lanes,a.child=s.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=s.memoizedProps,a.memoizedState=s.memoizedState,a.updateQueue=s.updateQueue,a.type=s.type,t=s.dependencies,a.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),r=r.sibling;return Cn(Hn,Hn.current&1|2),e.child}t=t.sibling}a.tail!==null&&li()>ap&&(e.flags|=128,n=!0,Fm(a,!1),e.lanes=4194304)}else{if(!n)if(t=D2(s),t!==null){if(e.flags|=128,n=!0,r=t.updateQueue,r!==null&&(e.updateQueue=r,e.flags|=4),Fm(a,!0),a.tail===null&&a.tailMode==="hidden"&&!s.alternate&&!On)return Sa(e),null}else 2*li()-a.renderingStartTime>ap&&r!==1073741824&&(e.flags|=128,n=!0,Fm(a,!1),e.lanes=4194304);a.isBackwards?(s.sibling=e.child,e.child=s):(r=a.last,r!==null?r.sibling=s:e.child=s,a.last=s)}return a.tail!==null?(e=a.tail,a.rendering=e,a.tail=e.sibling,a.renderingStartTime=li(),e.sibling=null,r=Hn.current,Cn(Hn,n?r&1|2:r&1),e):(Sa(e),null);case 22:case 23:return TF(),n=e.memoizedState!==null,t!==null&&t.memoizedState!==null!==n&&(e.flags|=8192),n&&e.mode&1?zs&1073741824&&(Sa(e),e.subtreeFlags&6&&(e.flags|=8192)):Sa(e),null;case 24:return null;case 25:return null}throw Error(lt(156,e.tag))}function KJ(t,e){switch(AF(e),e.tag){case 1:return Es(e.type)&&_2(),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return np(),Tn(Bs),Tn(Ua),xF(),t=e.flags,t&65536&&!(t&128)?(e.flags=t&-65537|128,e):null;case 5:return vF(e),null;case 13:if(Tn(Hn),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(lt(340));tp()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return Tn(Hn),null;case 4:return np(),null;case 10:return fF(e.type._context),null;case 22:case 23:return TF(),null;case 24:return null;default:return null}}var cy=!1,Pa=!1,qJ=typeof WeakSet=="function"?WeakSet:Set,jt=null;function d0(t,e){var r=t.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){Xn(t,e,n)}else r.current=null}function _N(t,e,r){try{r()}catch(n){Xn(t,e,n)}}var PI=!1;function GJ(t,e){if(uN=B2,t=n8(),lF(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,a=n.focusNode;n=n.focusOffset;try{r.nodeType,a.nodeType}catch{r=null;break e}var s=0,o=-1,c=-1,A=0,u=0,d=t,f=null;t:for(;;){for(var h;d!==r||i!==0&&d.nodeType!==3||(o=s+i),d!==a||n!==0&&d.nodeType!==3||(c=s+n),d.nodeType===3&&(s+=d.nodeValue.length),(h=d.firstChild)!==null;)f=d,d=h;for(;;){if(d===t)break t;if(f===r&&++A===i&&(o=s),f===a&&++u===n&&(c=s),(h=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=h}r=o===-1||c===-1?null:{start:o,end:c}}else r=null}r=r||{start:0,end:0}}else r=null;for(dN={focusedElem:t,selectionRange:r},B2=!1,jt=e;jt!==null;)if(e=jt,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,jt=t;else for(;jt!==null;){e=jt;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,x=m.memoizedState,v=e.stateNode,y=v.getSnapshotBeforeUpdate(e.elementType===e.type?p:Al(e.type,p),x);v.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var b=e.stateNode.containerInfo;b.nodeType===1?b.textContent="":b.nodeType===9&&b.documentElement&&b.removeChild(b.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(lt(163))}}catch(E){Xn(e,e.return,E)}if(t=e.sibling,t!==null){t.return=e.return,jt=t;break}jt=e.return}return m=PI,PI=!1,m}function Tg(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 a=i.destroy;i.destroy=void 0,a!==void 0&&_N(e,r,a)}i=i.next}while(i!==n)}}function vC(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 FN(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 $8(t){var e=t.alternate;e!==null&&(t.alternate=null,$8(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&(delete e[Xl],delete e[Ev],delete e[pN],delete e[TJ],delete e[jJ])),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 eL(t){return t.tag===5||t.tag===3||t.tag===4}function DI(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||eL(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 TN(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=S2));else if(n!==4&&(t=t.child,t!==null))for(TN(t,e,r),t=t.sibling;t!==null;)TN(t,e,r),t=t.sibling}function jN(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(jN(t,e,r),t=t.sibling;t!==null;)jN(t,e,r),t=t.sibling}var sa=null,dl=!1;function OA(t,e,r){for(r=r.child;r!==null;)tL(t,e,r),r=r.sibling}function tL(t,e,r){if(nc&&typeof nc.onCommitFiberUnmount=="function")try{nc.onCommitFiberUnmount(AC,r)}catch{}switch(r.tag){case 5:Pa||d0(r,e);case 6:var n=sa,i=dl;sa=null,OA(t,e,r),sa=n,dl=i,sa!==null&&(dl?(t=sa,r=r.stateNode,t.nodeType===8?t.parentNode.removeChild(r):t.removeChild(r)):sa.removeChild(r.stateNode));break;case 18:sa!==null&&(dl?(t=sa,r=r.stateNode,t.nodeType===8?JB(t.parentNode,r):t.nodeType===1&&JB(t,r),yv(t)):JB(sa,r.stateNode));break;case 4:n=sa,i=dl,sa=r.stateNode.containerInfo,dl=!0,OA(t,e,r),sa=n,dl=i;break;case 0:case 11:case 14:case 15:if(!Pa&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){i=n=n.next;do{var a=i,s=a.destroy;a=a.tag,s!==void 0&&(a&2||a&4)&&_N(r,e,s),i=i.next}while(i!==n)}OA(t,e,r);break;case 1:if(!Pa&&(d0(r,e),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(o){Xn(r,e,o)}OA(t,e,r);break;case 21:OA(t,e,r);break;case 22:r.mode&1?(Pa=(n=Pa)||r.memoizedState!==null,OA(t,e,r),Pa=n):OA(t,e,r);break;default:OA(t,e,r)}}function OI(t){var e=t.updateQueue;if(e!==null){t.updateQueue=null;var r=t.stateNode;r===null&&(r=t.stateNode=new qJ),e.forEach(function(n){var i=nX.bind(null,t,n);r.has(n)||(r.add(n),n.then(i,i))})}}function el(t,e){var r=e.deletions;if(r!==null)for(var n=0;n<r.length;n++){var i=r[n];try{var a=t,s=e,o=s;e:for(;o!==null;){switch(o.tag){case 5:sa=o.stateNode,dl=!1;break e;case 3:sa=o.stateNode.containerInfo,dl=!0;break e;case 4:sa=o.stateNode.containerInfo,dl=!0;break e}o=o.return}if(sa===null)throw Error(lt(160));tL(a,s,i),sa=null,dl=!1;var c=i.alternate;c!==null&&(c.return=null),i.return=null}catch(A){Xn(i,e,A)}}if(e.subtreeFlags&12854)for(e=e.child;e!==null;)rL(e,t),e=e.sibling}function rL(t,e){var r=t.alternate,n=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:if(el(e,t),Ml(t),n&4){try{Tg(3,t,t.return),vC(3,t)}catch(p){Xn(t,t.return,p)}try{Tg(5,t,t.return)}catch(p){Xn(t,t.return,p)}}break;case 1:el(e,t),Ml(t),n&512&&r!==null&&d0(r,r.return);break;case 5:if(el(e,t),Ml(t),n&512&&r!==null&&d0(r,r.return),t.flags&32){var i=t.stateNode;try{mv(i,"")}catch(p){Xn(t,t.return,p)}}if(n&4&&(i=t.stateNode,i!=null)){var a=t.memoizedProps,s=r!==null?r.memoizedProps:a,o=t.type,c=t.updateQueue;if(t.updateQueue=null,c!==null)try{o==="input"&&a.type==="radio"&&a.name!=null&&BU(i,a),tN(o,s);var A=tN(o,a);for(s=0;s<c.length;s+=2){var u=c[s],d=c[s+1];u==="style"?FU(i,d):u==="dangerouslySetInnerHTML"?SU(i,d):u==="children"?mv(i,d):J_(i,u,d,A)}switch(o){case"input":X4(i,a);break;case"textarea":EU(i,a);break;case"select":var f=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!a.multiple;var h=a.value;h!=null?C0(i,!!a.multiple,h,!1):f!==!!a.multiple&&(a.defaultValue!=null?C0(i,!!a.multiple,a.defaultValue,!0):C0(i,!!a.multiple,a.multiple?[]:"",!1))}i[Ev]=a}catch(p){Xn(t,t.return,p)}}break;case 6:if(el(e,t),Ml(t),n&4){if(t.stateNode===null)throw Error(lt(162));i=t.stateNode,a=t.memoizedProps;try{i.nodeValue=a}catch(p){Xn(t,t.return,p)}}break;case 3:if(el(e,t),Ml(t),n&4&&r!==null&&r.memoizedState.isDehydrated)try{yv(e.containerInfo)}catch(p){Xn(t,t.return,p)}break;case 4:el(e,t),Ml(t);break;case 13:el(e,t),Ml(t),i=t.child,i.flags&8192&&(a=i.memoizedState!==null,i.stateNode.isHidden=a,!a||i.alternate!==null&&i.alternate.memoizedState!==null||(_F=li())),n&4&&OI(t);break;case 22:if(u=r!==null&&r.memoizedState!==null,t.mode&1?(Pa=(A=Pa)||u,el(e,t),Pa=A):el(e,t),Ml(t),n&8192){if(A=t.memoizedState!==null,(t.stateNode.isHidden=A)&&!u&&t.mode&1)for(jt=t,u=t.child;u!==null;){for(d=jt=u;jt!==null;){switch(f=jt,h=f.child,f.tag){case 0:case 11:case 14:case 15:Tg(4,f,f.return);break;case 1:d0(f,f.return);var m=f.stateNode;if(typeof m.componentWillUnmount=="function"){n=f,r=f.return;try{e=n,m.props=e.memoizedProps,m.state=e.memoizedState,m.componentWillUnmount()}catch(p){Xn(n,r,p)}}break;case 5:d0(f,f.return);break;case 22:if(f.memoizedState!==null){UI(d);continue}}h!==null?(h.return=f,jt=h):UI(d)}u=u.sibling}e:for(u=null,d=t;;){if(d.tag===5){if(u===null){u=d;try{i=d.stateNode,A?(a=i.style,typeof a.setProperty=="function"?a.setProperty("display","none","important"):a.display="none"):(o=d.stateNode,c=d.memoizedProps.style,s=c!=null&&c.hasOwnProperty("display")?c.display:null,o.style.display=_U("display",s))}catch(p){Xn(t,t.return,p)}}}else if(d.tag===6){if(u===null)try{d.stateNode.nodeValue=A?"":d.memoizedProps}catch(p){Xn(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;u===d&&(u=null),d=d.return}u===d&&(u=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:el(e,t),Ml(t),n&4&&OI(t);break;case 21:break;default:el(e,t),Ml(t)}}function Ml(t){var e=t.flags;if(e&2){try{e:{for(var r=t.return;r!==null;){if(eL(r)){var n=r;break e}r=r.return}throw Error(lt(160))}switch(n.tag){case 5:var i=n.stateNode;n.flags&32&&(mv(i,""),n.flags&=-33);var a=DI(t);jN(t,a,i);break;case 3:case 4:var s=n.stateNode.containerInfo,o=DI(t);TN(t,o,s);break;default:throw Error(lt(161))}}catch(c){Xn(t,t.return,c)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function JJ(t,e,r){jt=t,nL(t)}function nL(t,e,r){for(var n=(t.mode&1)!==0;jt!==null;){var i=jt,a=i.child;if(i.tag===22&&n){var s=i.memoizedState!==null||cy;if(!s){var o=i.alternate,c=o!==null&&o.memoizedState!==null||Pa;o=cy;var A=Pa;if(cy=s,(Pa=c)&&!A)for(jt=i;jt!==null;)s=jt,c=s.child,s.tag===22&&s.memoizedState!==null?LI(i):c!==null?(c.return=s,jt=c):LI(i);for(;a!==null;)jt=a,nL(a),a=a.sibling;jt=i,cy=o,Pa=A}RI(t)}else i.subtreeFlags&8772&&a!==null?(a.return=i,jt=a):RI(t)}}function RI(t){for(;jt!==null;){var e=jt;if(e.flags&8772){var r=e.alternate;try{if(e.flags&8772)switch(e.tag){case 0:case 11:case 15:Pa||vC(5,e);break;case 1:var n=e.stateNode;if(e.flags&4&&!Pa)if(r===null)n.componentDidMount();else{var i=e.elementType===e.type?r.memoizedProps:Al(e.type,r.memoizedProps);n.componentDidUpdate(i,r.memoizedState,n.__reactInternalSnapshotBeforeUpdate)}var a=e.updateQueue;a!==null&&wI(e,a,n);break;case 3:var s=e.updateQueue;if(s!==null){if(r=null,e.child!==null)switch(e.child.tag){case 5:r=e.child.stateNode;break;case 1:r=e.child.stateNode}wI(e,s,r)}break;case 5:var o=e.stateNode;if(r===null&&e.flags&4){r=o;var c=e.memoizedProps;switch(e.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&r.focus();break;case"img":c.src&&(r.src=c.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(e.memoizedState===null){var A=e.alternate;if(A!==null){var u=A.memoizedState;if(u!==null){var d=u.dehydrated;d!==null&&yv(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(lt(163))}Pa||e.flags&512&&FN(e)}catch(f){Xn(e,e.return,f)}}if(e===t){jt=null;break}if(r=e.sibling,r!==null){r.return=e.return,jt=r;break}jt=e.return}}function UI(t){for(;jt!==null;){var e=jt;if(e===t){jt=null;break}var r=e.sibling;if(r!==null){r.return=e.return,jt=r;break}jt=e.return}}function LI(t){for(;jt!==null;){var e=jt;try{switch(e.tag){case 0:case 11:case 15:var r=e.return;try{vC(4,e)}catch(c){Xn(e,r,c)}break;case 1:var n=e.stateNode;if(typeof n.componentDidMount=="function"){var i=e.return;try{n.componentDidMount()}catch(c){Xn(e,i,c)}}var a=e.return;try{FN(e)}catch(c){Xn(e,a,c)}break;case 5:var s=e.return;try{FN(e)}catch(c){Xn(e,s,c)}}}catch(c){Xn(e,e.return,c)}if(e===t){jt=null;break}var o=e.sibling;if(o!==null){o.return=e.return,jt=o;break}jt=e.return}}var XJ=Math.ceil,U2=fA.ReactCurrentDispatcher,NF=fA.ReactCurrentOwner,Lo=fA.ReactCurrentBatchConfig,Pr=0,ra=null,bi=null,ga=0,zs=0,h0=ld(0),Li=0,jv=null,mh=0,xC=0,SF=0,jg=null,ys=null,_F=0,ap=1/0,Dc=null,L2=!1,IN=null,_u=null,Ay=!1,du=null,M2=0,Ig=0,kN=null,Uw=-1,Lw=0;function ns(){return Pr&6?li():Uw!==-1?Uw:Uw=li()}function Fu(t){return t.mode&1?Pr&2&&ga!==0?ga&-ga:kJ.transition!==null?(Lw===0&&(Lw=QU()),Lw):(t=an,t!==0||(t=window.event,t=t===void 0?16:GU(t.type)),t):1}function El(t,e,r,n){if(50<Ig)throw Ig=0,kN=null,Error(lt(185));b1(t,r,n),(!(Pr&2)||t!==ra)&&(t===ra&&(!(Pr&2)&&(xC|=r),Li===4&&nu(t,ga)),Ns(t,n),r===1&&Pr===0&&!(e.mode&1)&&(ap=li()+500,pC&&cd()))}function Ns(t,e){var r=t.callbackNode;kG(t,e);var n=C2(t,t===ra?ga:0);if(n===0)r!==null&&Gj(r),t.callbackNode=null,t.callbackPriority=0;else if(e=n&-n,t.callbackPriority!==e){if(r!=null&&Gj(r),e===1)t.tag===0?IJ(MI.bind(null,t)):h8(MI.bind(null,t)),_J(function(){!(Pr&6)&&cd()}),r=null;else{switch(HU(n)){case 1:r=eF;break;case 4:r=LU;break;case 16:r=b2;break;case 536870912:r=MU;break;default:r=b2}r=uL(r,iL.bind(null,t))}t.callbackPriority=e,t.callbackNode=r}}function iL(t,e){if(Uw=-1,Lw=0,Pr&6)throw Error(lt(327));var r=t.callbackNode;if(_0()&&t.callbackNode!==r)return null;var n=C2(t,t===ra?ga:0);if(n===0)return null;if(n&30||n&t.expiredLanes||e)e=Q2(t,n);else{e=n;var i=Pr;Pr|=2;var a=sL();(ra!==t||ga!==e)&&(Dc=null,ap=li()+500,ih(t,e));do try{$J();break}catch(o){aL(t,o)}while(!0);hF(),U2.current=a,Pr=i,bi!==null?e=0:(ra=null,ga=0,e=Li)}if(e!==0){if(e===2&&(i=sN(t),i!==0&&(n=i,e=PN(t,i))),e===1)throw r=jv,ih(t,0),nu(t,n),Ns(t,li()),r;if(e===6)nu(t,n);else{if(i=t.current.alternate,!(n&30)&&!YJ(i)&&(e=Q2(t,n),e===2&&(a=sN(t),a!==0&&(n=a,e=PN(t,a))),e===1))throw r=jv,ih(t,0),nu(t,n),Ns(t,li()),r;switch(t.finishedWork=i,t.finishedLanes=n,e){case 0:case 1:throw Error(lt(345));case 2:Pd(t,ys,Dc);break;case 3:if(nu(t,n),(n&130023424)===n&&(e=_F+500-li(),10<e)){if(C2(t,0)!==0)break;if(i=t.suspendedLanes,(i&n)!==n){ns(),t.pingedLanes|=t.suspendedLanes&i;break}t.timeoutHandle=fN(Pd.bind(null,t,ys,Dc),e);break}Pd(t,ys,Dc);break;case 4:if(nu(t,n),(n&4194240)===n)break;for(e=t.eventTimes,i=-1;0<n;){var s=31-Bl(n);a=1<<s,s=e[s],s>i&&(i=s),n&=~a}if(n=i,n=li()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*XJ(n/1960))-n,10<n){t.timeoutHandle=fN(Pd.bind(null,t,ys,Dc),n);break}Pd(t,ys,Dc);break;case 5:Pd(t,ys,Dc);break;default:throw Error(lt(329))}}}return Ns(t,li()),t.callbackNode===r?iL.bind(null,t):null}function PN(t,e){var r=jg;return t.current.memoizedState.isDehydrated&&(ih(t,e).flags|=256),t=Q2(t,e),t!==2&&(e=ys,ys=r,e!==null&&DN(e)),t}function DN(t){ys===null?ys=t:ys.push.apply(ys,t)}function YJ(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],a=i.getSnapshot;i=i.value;try{if(!Tl(a(),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 nu(t,e){for(e&=~SF,e&=~xC,t.suspendedLanes|=e,t.pingedLanes&=~e,t=t.expirationTimes;0<e;){var r=31-Bl(e),n=1<<r;t[r]=-1,e&=~n}}function MI(t){if(Pr&6)throw Error(lt(327));_0();var e=C2(t,0);if(!(e&1))return Ns(t,li()),null;var r=Q2(t,e);if(t.tag!==0&&r===2){var n=sN(t);n!==0&&(e=n,r=PN(t,n))}if(r===1)throw r=jv,ih(t,0),nu(t,e),Ns(t,li()),r;if(r===6)throw Error(lt(345));return t.finishedWork=t.current.alternate,t.finishedLanes=e,Pd(t,ys,Dc),Ns(t,li()),null}function FF(t,e){var r=Pr;Pr|=1;try{return t(e)}finally{Pr=r,Pr===0&&(ap=li()+500,pC&&cd())}}function gh(t){du!==null&&du.tag===0&&!(Pr&6)&&_0();var e=Pr;Pr|=1;var r=Lo.transition,n=an;try{if(Lo.transition=null,an=1,t)return t()}finally{an=n,Lo.transition=r,Pr=e,!(Pr&6)&&cd()}}function TF(){zs=h0.current,Tn(h0)}function ih(t,e){t.finishedWork=null,t.finishedLanes=0;var r=t.timeoutHandle;if(r!==-1&&(t.timeoutHandle=-1,SJ(r)),bi!==null)for(r=bi.return;r!==null;){var n=r;switch(AF(n),n.tag){case 1:n=n.type.childContextTypes,n!=null&&_2();break;case 3:np(),Tn(Bs),Tn(Ua),xF();break;case 5:vF(n);break;case 4:np();break;case 13:Tn(Hn);break;case 19:Tn(Hn);break;case 10:fF(n.type._context);break;case 22:case 23:TF()}r=r.return}if(ra=t,bi=t=Tu(t.current,null),ga=zs=e,Li=0,jv=null,SF=xC=mh=0,ys=jg=null,Gd!==null){for(e=0;e<Gd.length;e++)if(r=Gd[e],n=r.interleaved,n!==null){r.interleaved=null;var i=n.next,a=r.pending;if(a!==null){var s=a.next;a.next=i,n.next=s}r.pending=n}Gd=null}return t}function aL(t,e){do{var r=bi;try{if(hF(),Dw.current=R2,O2){for(var n=Vn.memoizedState;n!==null;){var i=n.queue;i!==null&&(i.pending=null),n=n.next}O2=!1}if(ph=0,Gi=ki=Vn=null,Fg=!1,_v=0,NF.current=null,r===null||r.return===null){Li=1,jv=e,bi=null;break}e:{var a=t,s=r.return,o=r,c=e;if(e=ga,o.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){var A=c,u=o,d=u.tag;if(!(u.mode&1)&&(d===0||d===11||d===15)){var f=u.alternate;f?(u.updateQueue=f.updateQueue,u.memoizedState=f.memoizedState,u.lanes=f.lanes):(u.updateQueue=null,u.memoizedState=null)}var h=SI(s);if(h!==null){h.flags&=-257,_I(h,s,o,a,e),h.mode&1&&NI(a,A,e),e=h,c=A;var m=e.updateQueue;if(m===null){var p=new Set;p.add(c),e.updateQueue=p}else m.add(c);break e}else{if(!(e&1)){NI(a,A,e),jF();break e}c=Error(lt(426))}}else if(On&&o.mode&1){var x=SI(s);if(x!==null){!(x.flags&65536)&&(x.flags|=256),_I(x,s,o,a,e),uF(ip(c,o));break e}}a=c=ip(c,o),Li!==4&&(Li=2),jg===null?jg=[a]:jg.push(a),a=s;do{switch(a.tag){case 3:a.flags|=65536,e&=-e,a.lanes|=e;var v=H8(a,c,e);yI(a,v);break e;case 1:o=c;var y=a.type,b=a.stateNode;if(!(a.flags&128)&&(typeof y.getDerivedStateFromError=="function"||b!==null&&typeof b.componentDidCatch=="function"&&(_u===null||!_u.has(b)))){a.flags|=65536,e&=-e,a.lanes|=e;var E=z8(a,o,e);yI(a,E);break e}}a=a.return}while(a!==null)}lL(r)}catch(S){e=S,bi===r&&r!==null&&(bi=r=r.return);continue}break}while(!0)}function sL(){var t=U2.current;return U2.current=R2,t===null?R2:t}function jF(){(Li===0||Li===3||Li===2)&&(Li=4),ra===null||!(mh&268435455)&&!(xC&268435455)||nu(ra,ga)}function Q2(t,e){var r=Pr;Pr|=2;var n=sL();(ra!==t||ga!==e)&&(Dc=null,ih(t,e));do try{ZJ();break}catch(i){aL(t,i)}while(!0);if(hF(),Pr=r,U2.current=n,bi!==null)throw Error(lt(261));return ra=null,ga=0,Li}function ZJ(){for(;bi!==null;)oL(bi)}function $J(){for(;bi!==null&&!BG();)oL(bi)}function oL(t){var e=AL(t.alternate,t,zs);t.memoizedProps=t.pendingProps,e===null?lL(t):bi=e,NF.current=null}function lL(t){var e=t;do{var r=e.alternate;if(t=e.return,e.flags&32768){if(r=KJ(r,e),r!==null){r.flags&=32767,bi=r;return}if(t!==null)t.flags|=32768,t.subtreeFlags=0,t.deletions=null;else{Li=6,bi=null;return}}else if(r=WJ(r,e,zs),r!==null){bi=r;return}if(e=e.sibling,e!==null){bi=e;return}bi=e=t}while(e!==null);Li===0&&(Li=5)}function Pd(t,e,r){var n=an,i=Lo.transition;try{Lo.transition=null,an=1,eX(t,e,r,n)}finally{Lo.transition=i,an=n}return null}function eX(t,e,r,n){do _0();while(du!==null);if(Pr&6)throw Error(lt(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(lt(177));t.callbackNode=null,t.callbackPriority=0;var a=r.lanes|r.childLanes;if(PG(t,a),t===ra&&(bi=ra=null,ga=0),!(r.subtreeFlags&2064)&&!(r.flags&2064)||Ay||(Ay=!0,uL(b2,function(){return _0(),null})),a=(r.flags&15990)!==0,r.subtreeFlags&15990||a){a=Lo.transition,Lo.transition=null;var s=an;an=1;var o=Pr;Pr|=4,NF.current=null,GJ(t,r),rL(r,t),yJ(dN),B2=!!uN,dN=uN=null,t.current=r,JJ(r),EG(),Pr=o,an=s,Lo.transition=a}else t.current=r;if(Ay&&(Ay=!1,du=t,M2=i),a=t.pendingLanes,a===0&&(_u=null),_G(r.stateNode),Ns(t,li()),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(L2)throw L2=!1,t=IN,IN=null,t;return M2&1&&t.tag!==0&&_0(),a=t.pendingLanes,a&1?t===kN?Ig++:(Ig=0,kN=t):Ig=0,cd(),null}function _0(){if(du!==null){var t=HU(M2),e=Lo.transition,r=an;try{if(Lo.transition=null,an=16>t?16:t,du===null)var n=!1;else{if(t=du,du=null,M2=0,Pr&6)throw Error(lt(331));var i=Pr;for(Pr|=4,jt=t.current;jt!==null;){var a=jt,s=a.child;if(jt.flags&16){var o=a.deletions;if(o!==null){for(var c=0;c<o.length;c++){var A=o[c];for(jt=A;jt!==null;){var u=jt;switch(u.tag){case 0:case 11:case 15:Tg(8,u,a)}var d=u.child;if(d!==null)d.return=u,jt=d;else for(;jt!==null;){u=jt;var f=u.sibling,h=u.return;if($8(u),u===A){jt=null;break}if(f!==null){f.return=h,jt=f;break}jt=h}}}var m=a.alternate;if(m!==null){var p=m.child;if(p!==null){m.child=null;do{var x=p.sibling;p.sibling=null,p=x}while(p!==null)}}jt=a}}if(a.subtreeFlags&2064&&s!==null)s.return=a,jt=s;else e:for(;jt!==null;){if(a=jt,a.flags&2048)switch(a.tag){case 0:case 11:case 15:Tg(9,a,a.return)}var v=a.sibling;if(v!==null){v.return=a.return,jt=v;break e}jt=a.return}}var y=t.current;for(jt=y;jt!==null;){s=jt;var b=s.child;if(s.subtreeFlags&2064&&b!==null)b.return=s,jt=b;else e:for(s=y;jt!==null;){if(o=jt,o.flags&2048)try{switch(o.tag){case 0:case 11:case 15:vC(9,o)}}catch(S){Xn(o,o.return,S)}if(o===s){jt=null;break e}var E=o.sibling;if(E!==null){E.return=o.return,jt=E;break e}jt=o.return}}if(Pr=i,cd(),nc&&typeof nc.onPostCommitFiberRoot=="function")try{nc.onPostCommitFiberRoot(AC,t)}catch{}n=!0}return n}finally{an=r,Lo.transition=e}}return!1}function QI(t,e,r){e=ip(r,e),e=H8(t,e,1),t=Su(t,e,1),e=ns(),t!==null&&(b1(t,1,e),Ns(t,e))}function Xn(t,e,r){if(t.tag===3)QI(t,t,r);else for(;e!==null;){if(e.tag===3){QI(e,t,r);break}else if(e.tag===1){var n=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(_u===null||!_u.has(n))){t=ip(r,t),t=z8(e,t,1),e=Su(e,t,1),t=ns(),e!==null&&(b1(e,1,t),Ns(e,t));break}}e=e.return}}function tX(t,e,r){var n=t.pingCache;n!==null&&n.delete(e),e=ns(),t.pingedLanes|=t.suspendedLanes&r,ra===t&&(ga&r)===r&&(Li===4||Li===3&&(ga&130023424)===ga&&500>li()-_F?ih(t,0):SF|=r),Ns(t,e)}function cL(t,e){e===0&&(t.mode&1?(e=ey,ey<<=1,!(ey&130023424)&&(ey=4194304)):e=1);var r=ns();t=iA(t,e),t!==null&&(b1(t,e,r),Ns(t,r))}function rX(t){var e=t.memoizedState,r=0;e!==null&&(r=e.retryLane),cL(t,r)}function nX(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(lt(314))}n!==null&&n.delete(e),cL(t,r)}var AL;AL=function(t,e,r){if(t!==null)if(t.memoizedProps!==e.pendingProps||Bs.current)ws=!0;else{if(!(t.lanes&r)&&!(e.flags&128))return ws=!1,VJ(t,e,r);ws=!!(t.flags&131072)}else ws=!1,On&&e.flags&1048576&&f8(e,j2,e.index);switch(e.lanes=0,e.tag){case 2:var n=e.type;Rw(t,e),t=e.pendingProps;var i=ep(e,Ua.current);S0(e,r),i=wF(null,e,n,t,i,r);var a=bF();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,Es(n)?(a=!0,F2(e)):a=!1,e.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,mF(e),i.updater=gC,e.stateNode=i,i._reactInternals=e,wN(e,n,t,r),e=BN(null,e,n,!0,a,r)):(e.tag=0,On&&a&&cF(e),Ja(null,e,i,r),e=e.child),e;case 16:n=e.elementType;e:{switch(Rw(t,e),t=e.pendingProps,i=n._init,n=i(n._payload),e.type=n,i=e.tag=aX(n),t=Al(n,t),i){case 0:e=CN(null,e,n,t,r);break e;case 1:e=jI(null,e,n,t,r);break e;case 11:e=FI(null,e,n,t,r);break e;case 14:e=TI(null,e,n,Al(n.type,t),r);break e}throw Error(lt(306,n,""))}return e;case 0:return n=e.type,i=e.pendingProps,i=e.elementType===n?i:Al(n,i),CN(t,e,n,i,r);case 1:return n=e.type,i=e.pendingProps,i=e.elementType===n?i:Al(n,i),jI(t,e,n,i,r);case 3:e:{if(q8(e),t===null)throw Error(lt(387));n=e.pendingProps,a=e.memoizedState,i=a.element,y8(t,e),P2(e,n,null,r);var s=e.memoizedState;if(n=s.element,a.isDehydrated)if(a={element:n,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},e.updateQueue.baseState=a,e.memoizedState=a,e.flags&256){i=ip(Error(lt(423)),e),e=II(t,e,n,r,i);break e}else if(n!==i){i=ip(Error(lt(424)),e),e=II(t,e,n,r,i);break e}else for(Xs=Nu(e.stateNode.containerInfo.firstChild),ro=e,On=!0,fl=null,r=v8(e,null,n,r),e.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(tp(),n===i){e=aA(t,e,r);break e}Ja(t,e,n,r)}e=e.child}return e;case 5:return w8(e),t===null&&vN(e),n=e.type,i=e.pendingProps,a=t!==null?t.memoizedProps:null,s=i.children,hN(n,i)?s=null:a!==null&&hN(n,a)&&(e.flags|=32),K8(t,e),Ja(t,e,s,r),e.child;case 6:return t===null&&vN(e),null;case 13:return G8(t,e,r);case 4:return gF(e,e.stateNode.containerInfo),n=e.pendingProps,t===null?e.child=rp(e,null,n,r):Ja(t,e,n,r),e.child;case 11:return n=e.type,i=e.pendingProps,i=e.elementType===n?i:Al(n,i),FI(t,e,n,i,r);case 7:return Ja(t,e,e.pendingProps,r),e.child;case 8:return Ja(t,e,e.pendingProps.children,r),e.child;case 12:return Ja(t,e,e.pendingProps.children,r),e.child;
vendor: 4,552 bytes, line 40
40case 10:e:{if(n=e.type._context,i=e.pendingProps,a=e.memoizedProps,s=i.value,Cn(I2,n._currentValue),n._currentValue=s,a!==null)if(Tl(a.value,s)){if(a.children===i.children&&!Bs.current){e=aA(t,e,r);break e}}else for(a=e.child,a!==null&&(a.return=e);a!==null;){var o=a.dependencies;if(o!==null){s=a.child;for(var c=o.firstContext;c!==null;){if(c.context===n){if(a.tag===1){c=qc(-1,r&-r),c.tag=2;var A=a.updateQueue;if(A!==null){A=A.shared;var u=A.pending;u===null?c.next=c:(c.next=u.next,u.next=c),A.pending=c}}a.lanes|=r,c=a.alternate,c!==null&&(c.lanes|=r),xN(a.return,r,e),o.lanes|=r;break}c=c.next}}else if(a.tag===10)s=a.type===e.type?null:a.child;else if(a.tag===18){if(s=a.return,s===null)throw Error(lt(341));s.lanes|=r,o=s.alternate,o!==null&&(o.lanes|=r),xN(s,r,e),s=a.sibling}else s=a.child;if(s!==null)s.return=a;else for(s=a;s!==null;){if(s===e){s=null;break}if(a=s.sibling,a!==null){a.return=s.return,s=a;break}s=s.return}a=s}Ja(t,e,i.children,r),e=e.child}return e;case 9:return i=e.type,n=e.pendingProps.children,S0(e,r),i=Ho(i),n=n(i),e.flags|=1,Ja(t,e,n,r),e.child;case 14:return n=e.type,i=Al(n,e.pendingProps),i=Al(n.type,i),TI(t,e,n,i,r);case 15:return V8(t,e,e.type,e.pendingProps,r);case 17:return n=e.type,i=e.pendingProps,i=e.elementType===n?i:Al(n,i),Rw(t,e),e.tag=1,Es(n)?(t=!0,F2(e)):t=!1,S0(e,r),Q8(e,n,i),wN(e,n,i,r),BN(null,e,n,!0,t,r);case 19:return J8(t,e,r);case 22:return W8(t,e,r)}throw Error(lt(156,e.tag))};function uL(t,e){return UU(t,e)}function iX(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 Po(t,e,r,n){return new iX(t,e,r,n)}function IF(t){return t=t.prototype,!(!t||!t.isReactComponent)}function aX(t){if(typeof t=="function")return IF(t)?1:0;if(t!=null){if(t=t.$$typeof,t===Y_)return 11;if(t===Z_)return 14}return 2}function Tu(t,e){var r=t.alternate;return r===null?(r=Po(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 Mw(t,e,r,n,i,a){var s=2;if(n=t,typeof t=="function")IF(t)&&(s=1);else if(typeof t=="string")s=5;else e:switch(t){case n0:return ah(r.children,i,a,e);case X_:s=8,i|=8;break;case W4:return t=Po(12,r,e,i|2),t.elementType=W4,t.lanes=a,t;case K4:return t=Po(13,r,e,i),t.elementType=K4,t.lanes=a,t;case q4:return t=Po(19,r,e,i),t.elementType=q4,t.lanes=a,t;case wU:return yC(r,i,a,e);default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case xU:s=10;break e;case yU:s=9;break e;case Y_:s=11;break e;case Z_:s=14;break e;case YA:s=16,n=null;break e}throw Error(lt(130,t==null?t:typeof t,""))}return e=Po(s,r,e,i),e.elementType=t,e.type=n,e.lanes=a,e}function ah(t,e,r,n){return t=Po(7,t,n,e),t.lanes=r,t}function yC(t,e,r,n){return t=Po(22,t,n,e),t.elementType=wU,t.lanes=r,t.stateNode={isHidden:!1},t}function nE(t,e,r){return t=Po(6,t,null,e),t.lanes=r,t}function iE(t,e,r){return e=Po(4,t.children!==null?t.children:[],t.key,e),e.lanes=r,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function sX(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=UB(0),this.expirationTimes=UB(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=UB(0),this.identifierPrefix=n,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function kF(t,e,r,n,i,a,s,o,c){return t=new sX(t,e,r,o,c),e===1?(e=1,a===!0&&(e|=8)):e=0,a=Po(3,null,null,e),t.current=a,a.stateNode=t,a.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},mF(a),t}function oX(t,e,r){var n=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;
vendor: 4,595 bytes, line 40
40return{$$typeof:r0,key:n==null?null:""+n,children:t,containerInfo:e,implementation:r}}function dL(t){if(!t)return Vu;t=t._reactInternals;e:{if(Oh(t)!==t||t.tag!==1)throw Error(lt(170));var e=t;do{switch(e.tag){case 3:e=e.stateNode.context;break e;case 1:if(Es(e.type)){e=e.stateNode.__reactInternalMemoizedMergedChildContext;break e}}e=e.return}while(e!==null);throw Error(lt(171))}if(t.tag===1){var r=t.type;if(Es(r))return d8(t,r,e)}return e}function hL(t,e,r,n,i,a,s,o,c){return t=kF(r,n,!0,t,i,a,s,o,c),t.context=dL(null),r=t.current,n=ns(),i=Fu(r),a=qc(n,i),a.callback=e??null,Su(r,a,i),t.current.lanes=i,b1(t,i,n),Ns(t,n),t}function wC(t,e,r,n){var i=e.current,a=ns(),s=Fu(i);return r=dL(r),e.context===null?e.context=r:e.pendingContext=r,e=qc(a,s),e.payload={element:t},n=n===void 0?null:n,n!==null&&(e.callback=n),t=Su(i,e,s),t!==null&&(El(t,i,s,a),Pw(t,i,s)),s}function H2(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 HI(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var r=t.retryLane;t.retryLane=r!==0&&r<e?r:e}}function PF(t,e){HI(t,e),(t=t.alternate)&&HI(t,e)}function lX(){return null}var fL=typeof reportError=="function"?reportError:function(t){console.error(t)};function DF(t){this._internalRoot=t}bC.prototype.render=DF.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(lt(409));wC(t,e,null,null)};bC.prototype.unmount=DF.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;gh(function(){wC(null,t,null,null)}),e[nA]=null}};function bC(t){this._internalRoot=t}bC.prototype.unstable_scheduleHydration=function(t){if(t){var e=WU();t={blockedOn:null,target:t,priority:e};for(var r=0;r<ru.length&&e!==0&&e<ru[r].priority;r++);ru.splice(r,0,t),r===0&&qU(t)}};function OF(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function CC(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11&&(t.nodeType!==8||t.nodeValue!==" react-mount-point-unstable "))}function zI(){}function cX(t,e,r,n,i){if(i){if(typeof n=="function"){var a=n;n=function(){var A=H2(s);a.call(A)}}var s=hL(e,n,t,0,null,!1,!1,"",zI);return t._reactRootContainer=s,t[nA]=s.current,Cv(t.nodeType===8?t.parentNode:t),gh(),s}for(;i=t.lastChild;)t.removeChild(i);if(typeof n=="function"){var o=n;n=function(){var A=H2(c);o.call(A)}}var c=kF(t,0,!1,null,null,!1,!1,"",zI);return t._reactRootContainer=c,t[nA]=c.current,Cv(t.nodeType===8?t.parentNode:t),gh(function(){wC(e,c,r,n)}),c}function BC(t,e,r,n,i){var a=r._reactRootContainer;if(a){var s=a;if(typeof i=="function"){var o=i;i=function(){var c=H2(s);o.call(c)}}wC(e,s,t,i)}else s=cX(r,e,t,i,n);return H2(s)}zU=function(t){switch(t.tag){case 3:var e=t.stateNode;if(e.current.memoizedState.isDehydrated){var r=ig(e.pendingLanes);r!==0&&(tF(e,r|1),Ns(e,li()),!(Pr&6)&&(ap=li()+500,cd()))}break;case 13:gh(function(){var n=iA(t,1);if(n!==null){var i=ns();El(n,t,1,i)}}),PF(t,1)}};rF=function(t){if(t.tag===13){var e=iA(t,134217728);if(e!==null){var r=ns();El(e,t,134217728,r)}PF(t,134217728)}};VU=function(t){if(t.tag===13){var e=Fu(t),r=iA(t,e);if(r!==null){var n=ns();El(r,t,e,n)}PF(t,e)}};WU=function(){return an};KU=function(t,e){var r=an;try{return an=t,e()}finally{an=r}};nN=function(t,e,r){switch(e){case"input":if(X4(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=fC(n);if(!i)throw Error(lt(90));CU(n),X4(n,i)}}}break;case"textarea":EU(t,r);break;case"select":e=r.value,e!=null&&C0(t,!!r.multiple,e,!1)}};IU=FF;kU=gh;var AX={usingClientEntryPoint:!1,Events:[B1,o0,fC,TU,jU,FF]},Tm={findFiberByHostInstance:qd,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},uX={bundleType:Tm.bundleType,version:Tm.version,rendererPackageName:Tm.rendererPackageName,rendererConfig:Tm.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:fA.ReactCurrentDispatcher,findHostInstanceByFiber:function(t){return t=OU(t),t===null?null:t.stateNode},findFiberByHostInstance:Tm.findFiberByHostInstance||lX,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};
40if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var uy=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!uy.isDisabled&&uy.supportsFiber)try{AC=uy.inject(uX),nc=uy}catch{}}oo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=AX;oo.createPortal=function(t,e){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!OF(e))throw Error(lt(200));return oX(t,e,null,r)};oo.createRoot=function(t,e){if(!OF(t))throw Error(lt(299));var r=!1,n="",i=fL;return e!=null&&(e.unstable_strictMode===!0&&(r=!0),e.identifierPrefix!==void 0&&(n=e.identifierPrefix),e.onRecoverableError!==void 0&&(i=e.onRecoverableError)),e=kF(t,1,!1,null,null,r,!1,n,i),t[nA]=e.current,Cv(t.nodeType===8?t.parentNode:t),new DF(e)};oo.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(lt(188)):(t=Object.keys(t).join(","),Error(lt(268,t)));return t=OU(e),t=t===null?null:t.stateNode,t};oo.flushSync=function(t){return gh(t)};oo.hydrate=function(t,e,r){if(!CC(e))throw Error(lt(200));return BC(null,t,e,!0,r)};oo.hydrateRoot=function(t,e,r){if(!OF(t))throw Error(lt(405));var n=r!=null&&r.hydratedSources||null,i=!1,a="",s=fL;if(r!=null&&(r.unstable_strictMode===!0&&(i=!0),r.identifierPrefix!==void 0&&(a=r.identifierPrefix),r.onRecoverableError!==void 0&&(s=r.onRecoverableError)),e=hL(e,null,t,1,r??null,i,!1,a,s),t[nA]=e.current,Cv(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 bC(e)};oo.render=function(t,e,r){if(!CC(e))throw Error(lt(200));return BC(null,t,e,!1,r)};oo.unmountComponentAtNode=function(t){if(!CC(t))throw Error(lt(40));return t._reactRootContainer?(gh(function(){BC(null,null,t,!1,function(){t._reactRootContainer=null,t[nA]=null})}),!0):!1};oo.unstable_batchedUpdates=FF;oo.unstable_renderSubtreeIntoContainer=function(t,e,r,n){if(!CC(r))throw Error(lt(200));if(t==null||t._reactInternals===void 0)throw Error(lt(38));return BC(t,e,r,!1,n)};oo.version="18.3.1-next-f1338f8080-20240426";function pL(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(pL)}catch(t){console.error(t)}}pL(),pU.exports=oo;var dX=pU.exports,mL,VI=dX;mL=VI.createRoot,VI.hydrateRoot;var hX=typeof Element<"u",fX=typeof Map=="function",pX=typeof Set=="function",mX=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function Qw(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var r,n,i;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(n=r;n--!==0;)if(!Qw(t[n],e[n]))return!1;return!0}var a;if(fX&&t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(a=t.entries();!(n=a.next()).done;)if(!e.has(n.value[0]))return!1;for(a=t.entries();!(n=a.next()).done;)if(!Qw(n.value[1],e.get(n.value[0])))return!1;return!0}if(pX&&t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(a=t.entries();!(n=a.next()).done;)if(!e.has(n.value[0]))return!1;return!0}if(mX&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(e)){if(r=t.length,r!=e.length)return!1;for(n=r;n--!==0;)if(t[n]!==e[n])return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf&&typeof t.valueOf=="function"&&typeof e.valueOf=="function")return t.valueOf()===e.valueOf();if(t.toString!==Object.prototype.toString&&typeof t.toString=="function"&&typeof e.toString=="function")return t.toString()===e.toString();if(i=Object.keys(t),r=i.length,r!==Object.keys(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;if(hX&&t instanceof Element)return!1;for(n=r;n--!==0;)if(!((i[n]==="_owner"||i[n]==="__v"||i[n]==="__o")&&t.$$typeof)&&!Qw(t[i[n]],e[i[n]]))return!1;return!0}return t!==t&&e!==e}var gX=function(e,r){try{return Qw(e,r)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}};const vX=y1(gX);var xX=function(t,e,r,n,i,a,s,o){if(!t){var c;if(e===void 0)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var A=[r,n,i,a,s,o],u=0;c=new Error(e.replace(/%s/g,function(){return A[u++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}},yX=xX;const WI=y1(yX);var wX=function(e,r,n,i){var a=n?n.call(i,e,r):void 0;if(a!==void 0)return!!a;if(e===r)return!0;
40if(typeof e!="object"||!e||typeof r!="object"||!r)return!1;var s=Object.keys(e),o=Object.keys(r);if(s.length!==o.length)return!1;for(var c=Object.prototype.hasOwnProperty.bind(r),A=0;A<s.length;A++){var u=s[A];if(!c(u))return!1;var d=e[u],f=r[u];if(a=n?n.call(i,d,f,u):void 0,a===!1||a===void 0&&d!==f)return!1}return!0};const bX=y1(wX);var gL=(t=>(t.BASE="base",t.BODY="body",t.HEAD="head",t.HTML="html",t.LINK="link",t.META="meta",t.NOSCRIPT="noscript",t.SCRIPT="script",t.STYLE="style",t.TITLE="title",t.FRAGMENT="Symbol(react.fragment)",t))(gL||{}),aE={link:{rel:["amphtml","canonical","alternate"]},script:{type:["application/ld+json"]},meta:{charset:"",name:["generator","robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]}},KI=Object.values(gL),EC={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},vL=Object.entries(EC).reduce((t,[e,r])=>(t[r]=e,t),{}),vl="data-rh",F0={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate",PRIORITIZE_SEO_TAGS:"prioritizeSeoTags"},T0=(t,e)=>{for(let r=t.length-1;r>=0;r-=1){const n=t[r];if(Object.prototype.hasOwnProperty.call(n,e))return n[e]}return null},CX=t=>{let e=T0(t,"title");const r=T0(t,F0.TITLE_TEMPLATE);if(Array.isArray(e)&&(e=e.join("")),r&&e)return r.replace(/%s/g,()=>e);const n=T0(t,F0.DEFAULT_TITLE);return e||n||void 0},BX=t=>T0(t,F0.ON_CHANGE_CLIENT_STATE)||(()=>{}),sE=(t,e)=>e.filter(r=>typeof r[t]<"u").map(r=>r[t]).reduce((r,n)=>({...r,...n}),{}),EX=(t,e)=>e.filter(r=>typeof r.base<"u").map(r=>r.base).reverse().reduce((r,n)=>{if(!r.length){const i=Object.keys(n);for(let a=0;a<i.length;a+=1){const o=i[a].toLowerCase();if(t.indexOf(o)!==-1&&n[o])return r.concat(n)}}return r},[]),NX=t=>console&&typeof console.warn=="function"&&console.warn(t),jm=(t,e,r)=>{const n={};return r.filter(i=>Array.isArray(i[t])?!0:(typeof i[t]<"u"&&NX(`Helmet: ${t} should be of type "Array". Instead found type "${typeof i[t]}"`),!1)).map(i=>i[t]).reverse().reduce((i,a)=>{const s={};a.filter(c=>{let A;const u=Object.keys(c);for(let f=0;f<u.length;f+=1){const h=u[f],m=h.toLowerCase();e.indexOf(m)!==-1&&!(A==="rel"&&c[A].toLowerCase()==="canonical")&&!(m==="rel"&&c[m].toLowerCase()==="stylesheet")&&(A=m),e.indexOf(h)!==-1&&(h==="innerHTML"||h==="cssText"||h==="itemprop")&&(A=h)}if(!A||!c[A])return!1;const d=c[A].toLowerCase();return n[A]||(n[A]={}),s[A]||(s[A]={}),n[A][d]?!1:(s[A][d]=!0,!0)}).reverse().forEach(c=>i.push(c));const o=Object.keys(s);for(let c=0;c<o.length;c+=1){const A=o[c],u={...n[A],...s[A]};n[A]=u}return i},[]).reverse()},SX=(t,e)=>{if(Array.isArray(t)&&t.length){for(let r=0;r<t.length;r+=1)if(t[r][e])return!0}return!1},_X=t=>({baseTag:EX(["href"],t),bodyAttributes:sE("bodyAttributes",t),defer:T0(t,F0.DEFER),encode:T0(t,F0.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:sE("htmlAttributes",t),linkTags:jm("link",["rel","href"],t),metaTags:jm("meta",["name","charset","http-equiv","property","itemprop"],t),noscriptTags:jm("noscript",["innerHTML"],t),onChangeClientState:BX(t),scriptTags:jm("script",["src","innerHTML"],t),styleTags:jm("style",["cssText"],t),title:CX(t),titleAttributes:sE("titleAttributes",t),prioritizeSeoTags:SX(t,F0.PRIORITIZE_SEO_TAGS)}),xL=t=>Array.isArray(t)?t.join(""):t,FX=(t,e)=>{const r=Object.keys(t);for(let n=0;n<r.length;n+=1)if(e[r[n]]&&e[r[n]].includes(t[r[n]]))return!0;return!1},oE=(t,e)=>Array.isArray(t)?t.reduce((r,n)=>(FX(n,e)?r.priority.push(n):r.default.push(n),r),{priority:[],default:[]}):{default:t,priority:[]},qI=(t,e)=>({...t,[e]:void 0}),TX=["noscript","script","style"],ON=(t,e=!0)=>e===!1?String(t):String(t).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"),yL=t=>Object.keys(t).reduce((e,r)=>{const n=typeof t[r]<"u"?`${r}="${t[r]}"`:`${r}`;return e?`${e} ${n}`:n},""),jX=(t,e,r,n)=>{const i=yL(r),a=xL(e);return i?`<${t} ${vl}="true" ${i}>${ON(a,n)}</${t}>`:`<${t} ${vl}="true">${ON(a,n)}</${t}>`},IX=(t,e,r=!0)=>e.reduce((n,i)=>{const a=i,s=Object.keys(a).filter(A=>!(A==="innerHTML"||A==="cssText")).reduce((A,u)=>{const d=typeof a[u]>
40"u"?u:`${u}="${ON(a[u],r)}"`;return A?`${A} ${d}`:d},""),o=a.innerHTML||a.cssText||"",c=TX.indexOf(t)===-1;return`${n}<${t} ${vl}="true" ${s}${c?"/>":`>${o}</${t}>`}`},""),wL=(t,e={})=>Object.keys(t).reduce((r,n)=>{const i=EC[n];return r[i||n]=t[n],r},e),kX=(t,e,r)=>{const n={key:e,[vl]:!0},i=wL(r,n);return[hr.createElement("title",i,e)]},Hw=(t,e)=>e.map((r,n)=>{const i={key:n,[vl]:!0};return Object.keys(r).forEach(a=>{const o=EC[a]||a;if(o==="innerHTML"||o==="cssText"){const c=r.innerHTML||r.cssText;i.dangerouslySetInnerHTML={__html:c}}else i[o]=r[a]}),hr.createElement(t,i)}),Co=(t,e,r=!0)=>{switch(t){case"title":return{toComponent:()=>kX(t,e.title,e.titleAttributes),toString:()=>jX(t,e.title,e.titleAttributes,r)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>wL(e),toString:()=>yL(e)};default:return{toComponent:()=>Hw(t,e),toString:()=>IX(t,e,r)}}},PX=({metaTags:t,linkTags:e,scriptTags:r,encode:n})=>{const i=oE(t,aE.meta),a=oE(e,aE.link),s=oE(r,aE.script);return{priorityMethods:{toComponent:()=>[...Hw("meta",i.priority),...Hw("link",a.priority),...Hw("script",s.priority)],toString:()=>`${Co("meta",i.priority,n)} ${Co("link",a.priority,n)} ${Co("script",s.priority,n)}`},metaTags:i.default,linkTags:a.default,scriptTags:s.default}},DX=t=>{const{baseTag:e,bodyAttributes:r,encode:n=!0,htmlAttributes:i,noscriptTags:a,styleTags:s,title:o="",titleAttributes:c,prioritizeSeoTags:A}=t;let{linkTags:u,metaTags:d,scriptTags:f}=t,h={toComponent:()=>[],toString:()=>""};return A&&({priorityMethods:h,linkTags:u,metaTags:d,scriptTags:f}=PX(t)),{priority:h,base:Co("base",e,n),bodyAttributes:Co("bodyAttributes",r,n),htmlAttributes:Co("htmlAttributes",i,n),link:Co("link",u,n),meta:Co("meta",d,n),noscript:Co("noscript",a,n),script:Co("script",f,n),style:Co("style",s,n),title:Co("title",{title:o,titleAttributes:c},n)}},RN=DX,dy=[],RF=!!(typeof window<"u"&&window.document&&window.document.createElement),UN=class{constructor(t,e){Tc(this,"instances",[]);Tc(this,"canUseDOM",RF);Tc(this,"context");Tc(this,"value",{setHelmet:t=>{this.context.helmet=t},helmetInstances:{get:()=>this.canUseDOM?dy:this.instances,add:t=>{(this.canUseDOM?dy:this.instances).push(t)},remove:t=>{const e=(this.canUseDOM?dy:this.instances).indexOf(t);(this.canUseDOM?dy:this.instances).splice(e,1)}}});this.context=t,this.canUseDOM=e||!1,e||(t.helmet=RN({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},OX=parseInt(hr.version.split(".")[0],10),LN=OX>=19,RX={},bL=hr.createContext(RX),nh,CL=(nh=class extends Z.Component{constructor(r){super(r);Tc(this,"helmetData");LN?this.helmetData=null:this.helmetData=new UN(this.props.context||{},nh.canUseDOM)}render(){return LN?hr.createElement(hr.Fragment,null,this.props.children):hr.createElement(bL.Provider,{value:this.helmetData.value},this.props.children)}},Tc(nh,"canUseDOM",RF),nh),Bf=(t,e)=>{const r=document.head||document.querySelector("head"),n=r.querySelectorAll(`${t}[${vl}]`),i=[].slice.call(n),a=[];let s;return e&&e.length&&e.forEach(o=>{const c=document.createElement(t);for(const A in o)if(Object.prototype.hasOwnProperty.call(o,A))if(A==="innerHTML")c.innerHTML=o.innerHTML;else if(A==="cssText"){const u=o.cssText;c.appendChild(document.createTextNode(u))}else{const u=A,d=typeof o[u]>"u"?"":o[u];c.setAttribute(A,d)}c.setAttribute(vl,"true"),i.some((A,u)=>(s=u,c.isEqualNode(A)))?i.splice(s,1):a.push(c)}
40),i.forEach(o=>{var c;return(c=o.parentNode)==null?void 0:c.removeChild(o)}),a.forEach(o=>r.appendChild(o)),{oldTags:i,newTags:a}},MN=(t,e)=>{const r=document.getElementsByTagName(t)[0];if(!r)return;const n=r.getAttribute(vl),i=n?n.split(","):[],a=[...i],s=Object.keys(e);for(const o of s){const c=e[o]||"";r.getAttribute(o)!==c&&r.setAttribute(o,c),i.indexOf(o)===-1&&i.push(o);const A=a.indexOf(o);A!==-1&&a.splice(A,1)}for(let o=a.length-1;o>=0;o-=1)r.removeAttribute(a[o]);i.length===a.length?r.removeAttribute(vl):r.getAttribute(vl)!==s.join(",")&&r.setAttribute(vl,s.join(","))},UX=(t,e)=>{typeof t<"u"&&document.title!==t&&(document.title=xL(t)),MN("title",e)},GI=(t,e)=>{const{baseTag:r,bodyAttributes:n,htmlAttributes:i,linkTags:a,metaTags:s,noscriptTags:o,onChangeClientState:c,scriptTags:A,styleTags:u,title:d,titleAttributes:f}=t;MN("body",n),MN("html",i),UX(d,f);const h={baseTag:Bf("base",r),linkTags:Bf("link",a),metaTags:Bf("meta",s),noscriptTags:Bf("noscript",o),scriptTags:Bf("script",A),styleTags:Bf("style",u)},m={},p={};Object.keys(h).forEach(x=>{const{newTags:v,oldTags:y}=h[x];v.length&&(m[x]=v),y.length&&(p[x]=h[x].oldTags)}),e&&e(),c(t,m,p)},Im=null,LX=t=>{Im&&cancelAnimationFrame(Im),t.defer?Im=requestAnimationFrame(()=>{GI(t,()=>{Im=null})}):(GI(t),Im=null)},MX=LX,JI=class extends Z.Component{constructor(){super(...arguments);Tc(this,"rendered",!1)}shouldComponentUpdate(e){return!bX(e,this.props)}componentDidUpdate(){this.emitChange()}componentWillUnmount(){const{helmetInstances:e}=this.props.context;e.remove(this),this.emitChange()}emitChange(){const{helmetInstances:e,setHelmet:r}=this.props.context;let n=null;const i=_X(e.get().map(a=>{const{context:s,...o}=a.props;return o}));CL.canUseDOM?MX(i):RN&&(n=RN(i)),r(n)}init(){if(this.rendered)return;this.rendered=!0;const{helmetInstances:e}=this.props.context;e.add(this),this.emitChange()}render(){return this.init(),null}},zw=[],XI=t=>{const e={};for(const r of Object.keys(t))e[vL[r]||r]=t[r];return e},_d=t=>{const e={};for(const r of Object.keys(t)){const n=EC[r];e[n||r]=t[r]}return e},YI=(t,e)=>{if(!RF)return;const r=document.getElementsByTagName(t)[0];if(!r)return;const n="data-rh-managed",i=r.getAttribute(n),a=i?i.split(","):[],s=Object.keys(e);for(const o of a)s.includes(o)||r.removeAttribute(o);for(const o of s){const c=e[o];c==null||c===!1?r.removeAttribute(o):c===!0?r.setAttribute(o,""):r.setAttribute(o,String(c))}s.length>0?r.setAttribute(n,s.join(",")):r.removeAttribute(n)},lE=()=>{const t={},e={};for(const r of zw){const{htmlAttributes:n,bodyAttributes:i}=r.props;n&&Object.assign(t,XI(n)),i&&Object.assign(e,XI(i))}YI("html",t),YI("body",e)},QX=class extends Z.Component{componentDidMount(){zw.push(this),lE()}componentDidUpdate(){lE()}componentWillUnmount(){const t=zw.indexOf(this);t!==-1&&zw.splice(t,1),lE()}resolveTitle(){const{title:t,titleTemplate:e,defaultTitle:r}=this.props;return t&&e?e.replace(/%s/g,()=>Array.isArray(t)?t.join(""):t):t||r||void 0}renderTitle(){const t=this.resolveTitle();if(t===void 0)return null;const e=this.props.titleAttributes||{};return hr.createElement("title",_d(e),t)}renderBase(){const{base:t}=this.props;return t?hr.createElement("base",_d(t)):null}renderMeta(){const{meta:t}=this.props;return!t||!Array.isArray(t)?null:t.map((e,r)=>hr.createElement("meta",{key:r,..._d(e)}))}renderLink(){const{link:t}=this.props;return!t||!Array.isArray(t)?null:t.map((e,r)=>hr.createElement("link",{key:r,..._d(e)}))}renderScript(){const{script:t}=this.props;return!t||!Array.isArray(t)?null:t.map((e,r)=>{const{innerHTML:n,...i}=e,a=_d(i);return n&&(a.dangerouslySetInnerHTML={__html:n}),hr.createElement("script",{key:r,...a})})}renderStyle(){const{style:t}=this.props;return!t||!Array.isArray(t)?null:t.map((e,r)=>{const{cssText:n,...i}=e,a=_d(i);return n&&(a.dangerouslySetInnerHTML={__html:n}),hr.createElement("style",{key:r,...a})})}renderNoscript(){const{noscript:t}=this.props;return!t||!Array.isArray(t)?null:t.map((e,r)=>{const{innerHTML:n,...i}=e,a=_d(i);return n&&(a.dangerouslySetInnerHTML={__html:n}),hr.createElement("noscript",{key:r,...a})})}render(){return hr.createElement(hr.Fragment,null,this.renderTitle(),this.renderBase(),this.renderMeta(),this.renderLink(),this.renderScript(),this.renderStyle(),this.renderNoscript())}},z4,BL=(z4=class extends Z.Component{shouldComponentUpdate(t){return!vX(qI(this.props,"helmetData"),qI(t,"helmetData"))}mapNestedChildrenToProps(t,e){if(!e)return null;switch(t.type){case"script":case"noscript":return{innerHTML:e};case"style":return{cssText:e};default:throw new Error(`<${t.type} /> elements are self-closing and can not contain children. Refer to our API for more information.`)}}flattenArrayTypeChildren(t,e,r,n){return{...e,[t.type]:[...e[t.type]||[],{...r,...this.mapNestedChildrenToProps(t,n)}]}}mapObjectTypeChildren(t,e,r,n){switch(t.type){case"title":return{...e,[t.type]:n,titleAttributes:{...r}};case"body":return{...e,bodyAttributes:{...r}};case"html":return{...e,htmlAttributes:{...r}};default:return{...e,[t.type]:{...r}}}}mapArrayTypeChildrenToProps(t,e){let r={...e};return Object.keys(t).forEach(n=>{r={...r,[n]:t[n]}}),r}
40warnOnInvalidChildren(t,e){return WI(KI.some(r=>t.type===r),typeof t.type=="function"?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":`Only elements types ${KI.join(", ")} are allowed. Helmet does not support rendering <${t.type}> elements. Refer to our API for more information.`),WI(!e||typeof e=="string"||Array.isArray(e)&&!e.some(r=>typeof r!="string"),`Helmet expects a string as a child of <${t.type}>. Did you forget to wrap your children in braces? ( <${t.type}>{\`\`}</${t.type}> ) Refer to our API for more information.`),!0}mapChildrenToProps(t,e){let r={};return hr.Children.forEach(t,n=>{if(!n||!n.props)return;const{children:i,...a}=n.props,s=Object.keys(a).reduce((c,A)=>(c[vL[A]||A]=a[A],c),{});let{type:o}=n;switch(typeof o=="symbol"?o=o.toString():this.warnOnInvalidChildren(n,i),o){case"Symbol(react.fragment)":e=this.mapChildrenToProps(i,e);break;case"link":case"meta":case"noscript":case"script":case"style":r=this.flattenArrayTypeChildren(n,r,s,i);break;default:e=this.mapObjectTypeChildren(n,e,s,i);break}}),this.mapArrayTypeChildrenToProps(r,e)}render(){const{children:t,...e}=this.props;let r={...e},{helmetData:n}=e;if(t&&(r=this.mapChildrenToProps(t,r)),n&&!(n instanceof UN)){const i=n;n=new UN(i.context,!0),delete r.helmetData}return LN?hr.createElement(QX,{...r}):n?hr.createElement(JI,{...r,context:n.value}):hr.createElement(bL.Consumer,null,i=>hr.createElement(JI,{...r,context:i}))}},Tc(z4,"defaultProps",{defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1}),z4);/** 41 * @remix-run/router v1.22.0 42 * 43 * Copyright (c) Remix Software Inc. 44 * 45 * This source code is licensed under the MIT license found in the 46 * LICENSE.md file in the root directory of this source tree. 47 * 48 * @license MIT 49 */function Iv(){return Iv=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},Iv.apply(this,arguments)}var hu;(function(t){t.Pop="POP",t.Push="PUSH",t.Replace="REPLACE"})(hu||(hu={}));const ZI="popstate";function HX(t){t===void 0&&(t={});function e(n,i){let{pathname:a,search:s,hash:o}=n.location;return QN("",{pathname:a,search:s,hash:o},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function r(n,i){return typeof i=="string"?i:z2(i)}return VX(e,r,null,t)}function Ci(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function EL(t,e){if(!t){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function zX(){return Math.random().toString(36).substr(2,8)}function $I(t,e){return{usr:t.state,key:t.key,idx:e}}function QN(t,e,r,n){return r===void 0&&(r=null),Iv({pathname:typeof t=="string"?t:t.pathname,search:"",hash:""},typeof e=="string"?bp(e):e,{state:r,key:e&&e.key||n||zX()})}function z2(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 bp(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 VX(t,e,r,n){n===void 0&&(n={});let{window:i=document.defaultView,v5Compat:a=!1}=n,s=i.history,o=hu.Pop,c=null,A=u();A==null&&(A=0,s.replaceState(Iv({},s.state,{idx:A}),""));function u(){return(s.state||{idx:null}).idx}function d(){o=hu.Pop;let x=u(),v=x==null?null:x-A;A=x,c&&c({action:o,location:p.location,delta:v})}function f(x,v){o=hu.Push;let y=QN(p.location,x,v);A=u()+1;let b=$I(y,A),E=p.createHref(y);try{s.pushState(b,"",E)}catch(S){if(S instanceof DOMException&&S.name==="DataCloneError")throw S;i.location.assign(E)}a&&c&&c({action:o,location:p.location,delta:1})}function h(x,v){o=hu.Replace;let y=QN(p.location,x,v);A=u();let b=$I(y,A),E=p.createHref(y);s.replaceState(b,"",E),a&&c&&c({action:o,location:p.location,delta:0})}function m(x){let v=i.location.origin!=="null"?i.location.origin:i.location.href,y=typeof x=="string"?x:z2(x);return y=y.replace(/ $/,"%20"),Ci(v,"No window.location.(origin|href) available to create URL for href: "+y),new URL(y,v)}let p={get action(){return o},get location(){return t(i,s)}
vendor: 2,728 bytes, line 49
49,listen(x){if(c)throw new Error("A history only accepts one active listener");return i.addEventListener(ZI,d),c=x,()=>{i.removeEventListener(ZI,d),c=null}},createHref(x){return e(i,x)},createURL:m,encodeLocation(x){let v=m(x);return{pathname:v.pathname,search:v.search,hash:v.hash}},push:f,replace:h,go(x){return s.go(x)}};return p}var ek;(function(t){t.data="data",t.deferred="deferred",t.redirect="redirect",t.error="error"})(ek||(ek={}));function WX(t,e,r){return r===void 0&&(r="/"),KX(t,e,r,!1)}function KX(t,e,r,n){let i=typeof e=="string"?bp(e):e,a=UF(i.pathname||"/",r);if(a==null)return null;let s=NL(t);qX(s);let o=null;for(let c=0;o==null&&c<s.length;++c){let A=iY(a);o=rY(s[c],A,n)}return o}function NL(t,e,r,n){e===void 0&&(e=[]),r===void 0&&(r=[]),n===void 0&&(n="");let i=(a,s,o)=>{let c={relativePath:o===void 0?a.path||"":o,caseSensitive:a.caseSensitive===!0,childrenIndex:s,route:a};c.relativePath.startsWith("/")&&(Ci(c.relativePath.startsWith(n),'Absolute route path "'+c.relativePath+'" nested under path '+('"'+n+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),c.relativePath=c.relativePath.slice(n.length));let A=ju([n,c.relativePath]),u=r.concat(c);a.children&&a.children.length>0&&(Ci(a.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+A+'".')),NL(a.children,e,u,A)),!(a.path==null&&!a.index)&&e.push({path:A,score:eY(A,a.index),routesMeta:u})};return t.forEach((a,s)=>{var o;if(a.path===""||!((o=a.path)!=null&&o.includes("?")))i(a,s);else for(let c of SL(a.path))i(a,s,c)}),e}function SL(t){let e=t.split("/");if(e.length===0)return[];let[r,...n]=e,i=r.endsWith("?"),a=r.replace(/\?$/,"");if(n.length===0)return i?[a,""]:[a];let s=SL(n.join("/")),o=[];return o.push(...s.map(c=>c===""?a:[a,c].join("/"))),i&&o.push(...s),o.map(c=>t.startsWith("/")&&c===""?"/":c)}function qX(t){t.sort((e,r)=>e.score!==r.score?r.score-e.score:tY(e.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}const GX=/^:[\w-]+$/,JX=3,XX=2,YX=1,ZX=10,$X=-2,tk=t=>t==="*";function eY(t,e){let r=t.split("/"),n=r.length;return r.some(tk)&&(n+=$X),e&&(n+=XX),r.filter(i=>!tk(i)).reduce((i,a)=>i+(GX.test(a)?JX:a===""?YX:ZX),n)}function tY(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 rY(t,e,r){let{routesMeta:n}=t,i={},a="/",s=[];for(let o=0;o<n.length;++o){let c=n[o],A=o===n.length-1,u=a==="/"?e:e.slice(a.length)||"/",d=rk({path:c.relativePath,caseSensitive:c.caseSensitive,end:A},u),f=c.route;if(!d&&A&&r&&!n[n.length-1].route.index&&(d=rk({path:c.relativePath,caseSensitive:c.caseSensitive,end:!1},u)),!d)return null;
vendor: 13,989 bytes, lines 49-67
49Object.assign(i,d.params),s.push({params:i,pathname:ju([a,d.pathname]),pathnameBase:lY(ju([a,d.pathnameBase])),route:f}),d.pathnameBase!=="/"&&(a=ju([a,d.pathnameBase]))}return s}function rk(t,e){typeof t=="string"&&(t={path:t,caseSensitive:!1,end:!0});let[r,n]=nY(t.path,t.caseSensitive,t.end),i=e.match(r);if(!i)return null;let a=i[0],s=a.replace(/(.)\/+$/,"$1"),o=i.slice(1);return{params:n.reduce((A,u,d)=>{let{paramName:f,isOptional:h}=u;if(f==="*"){let p=o[d]||"";s=a.slice(0,a.length-p.length).replace(/(.)\/+$/,"$1")}const m=o[d];return h&&!m?A[f]=void 0:A[f]=(m||"").replace(/%2F/g,"/"),A},{}),pathname:a,pathnameBase:s,pattern:t}}function nY(t,e,r){e===void 0&&(e=!1),r===void 0&&(r=!0),EL(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,(s,o,c)=>(n.push({paramName:o,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return t.endsWith("*")?(n.push({paramName:"*"}),i+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?i+="\\/*$":t!==""&&t!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,e?void 0:"i"),n]}function iY(t){try{return t.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(e){return EL(!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 UF(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 aY(t,e){e===void 0&&(e="/");let{pathname:r,search:n="",hash:i=""}=typeof t=="string"?bp(t):t;return{pathname:r?r.startsWith("/")?r:sY(r,e):e,search:cY(n),hash:AY(i)}}function sY(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 cE(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 oY(t){return t.filter((e,r)=>r===0||e.route.path&&e.route.path.length>0)}function _L(t,e){let r=oY(t);return e?r.map((n,i)=>i===r.length-1?n.pathname:n.pathnameBase):r.map(n=>n.pathnameBase)}function FL(t,e,r,n){n===void 0&&(n=!1);let i;typeof t=="string"?i=bp(t):(i=Iv({},t),Ci(!i.pathname||!i.pathname.includes("?"),cE("?","pathname","search",i)),Ci(!i.pathname||!i.pathname.includes("#"),cE("#","pathname","hash",i)),Ci(!i.search||!i.search.includes("#"),cE("#","search","hash",i)));let a=t===""||i.pathname==="",s=a?"/":i.pathname,o;if(s==null)o=r;else{let d=e.length-1;if(!n&&s.startsWith("..")){let f=s.split("/");for(;f[0]==="..";)f.shift(),d-=1;i.pathname=f.join("/")}o=d>=0?e[d]:"/"}let c=aY(i,o),A=s&&s!=="/"&&s.endsWith("/"),u=(a||s===".")&&r.endsWith("/");return!c.pathname.endsWith("/")&&(A||u)&&(c.pathname+="/"),c}const ju=t=>t.join("/").replace(/\/\/+/g,"/"),lY=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),cY=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,AY=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t;function uY(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}const TL=["post","put","patch","delete"];new Set(TL);const dY=["get",...TL];new Set(dY);/** 50 * React Router v6.29.0 51 * 52 * Copyright (c) Remix Software Inc. 53 * 54 * This source code is licensed under the MIT license found in the 55 * LICENSE.md file in the root directory of this source tree. 56 * 57 * @license MIT 58 */function kv(){return kv=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},kv.apply(this,arguments)}const LF=Z.createContext(null),hY=Z.createContext(null),Rh=Z.createContext(null),NC=Z.createContext(null),Ad=Z.createContext({outlet:null,matches:[],isDataRoute:!1}),jL=Z.createContext(null);function fY(t,e){let{relative:r}=e===void 0?{}:e;N1()||Ci(!1);let{basename:n,navigator:i}=Z.useContext(Rh),{hash:a,pathname:s,search:o}=PL(t,{relative:r}),c=s;return n!=="/"&&(c=s==="/"?n:ju([n,s])),i.createHref({pathname:c,search:o,hash:a})}function N1(){return Z.useContext(NC)!=null}function ud(){return N1()||Ci(!1),Z.useContext(NC).location}function IL(t){Z.useContext(Rh).static||Z.useLayoutEffect(t)}function S1(){let{isDataRoute:t}=Z.useContext(Ad);return t?SY():pY()}function pY(){N1()||Ci(!1);let t=Z.useContext(LF),{basename:e,future:r,navigator:n}=Z.useContext(Rh),{matches:i}=Z.useContext(Ad),{pathname:a}=ud(),s=JSON.stringify(_L(i,r.v7_relativeSplatPath)),o=Z.useRef(!1);return IL(()=>{o.current=!0}),Z.useCallback(function(A,u){if(u===void 0&&(u={}),!o.current)return;if(typeof A=="number"){n.go(A);return}let d=FL(A,JSON.parse(s),a,u.relative==="path");t==null&&e!=="/"&&(d.pathname=d.pathname==="/"?e:ju([e,d.pathname])),(u.replace?n.replace:n.push)(d,u.state,u)},[e,n,s,a,t])}function kL(){let{matches:t}=Z.useContext(Ad),e=t[t.length-1];return e?e.params:{}}function PL(t,e){let{relative:r}=e===void 0?{}:e,{future:n}=Z.useContext(Rh),{matches:i}=Z.useContext(Ad),{pathname:a}=ud(),s=JSON.stringify(_L(i,n.v7_relativeSplatPath));return Z.useMemo(()=>FL(t,JSON.parse(s),a,r==="path"),[t,s,a,r])}function mY(t,e){return gY(t,e)}function gY(t,e,r,n){N1()||Ci(!1);let{navigator:i,static:a}=Z.useContext(Rh),{matches:s}=Z.useContext(Ad),o=s[s.length-1],c=o?o.params:{};o&&o.pathname;let A=o?o.pathnameBase:"/";o&&o.route;let u=ud(),d;if(e){var f;let v=typeof e=="string"?bp(e):e;A==="/"||(f=v.pathname)!=null&&f.startsWith(A)||Ci(!1),d=v}else d=u;let h=d.pathname||"/",m=h;if(A!=="/"){let v=A.replace(/^\//,"").split("/");m="/"+h.replace(/^\//,"").split("/").slice(v.length).join("/")}let p=!a&&r&&r.matches&&r.matches.length>0?r.matches:WX(t,{pathname:m}),x=bY(p&&p.map(v=>Object.assign({},v,{params:Object.assign({},c,v.params),pathname:ju([A,i.encodeLocation?i.encodeLocation(v.pathname).pathname:v.pathname]),pathnameBase:v.pathnameBase==="/"?A:ju([A,i.encodeLocation?i.encodeLocation(v.pathnameBase).pathname:v.pathnameBase])})),s,r,n);return e&&x?Z.createElement(NC.Provider,{value:{location:kv({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:hu.Pop}},x):x}function vY(){let t=NY(),e=uY(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 Z.createElement(Z.Fragment,null,Z.createElement("h2",null,"Unexpected Application Error!"),Z.createElement("h3",{style:{fontStyle:"italic"}},e),r?Z.createElement("pre",{style:i},r):null,null)}const xY=Z.createElement(vY,null);class yY extends Z.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?Z.createElement(Ad.Provider,{value:this.props.routeContext},Z.createElement(jL.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function wY(t){let{routeContext:e,match:r,children:n}=t,i=Z.useContext(LF);return i&&i.static&&i.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=r.route.id),Z.createElement(Ad.Provider,{value:e},n)}function bY(t,e,r,n){var i;if(e===void 0&&(e=[]),r===void 0&&(r=null),n===void 0&&(n=null),t==null){var a;if(!r)return null;if(r.errors)t=r.matches;else if((a=n)!=null&&a.v7_partialHydration&&e.length===0&&!r.initialized&&r.matches.length>0)t=r.matches;else return null}let s=t,o=(i=r)==null?void 0:i.errors;if(o!=null){let u=s.findIndex(d=>d.route.id&&(o==null?void 0:o[d.route.id])!==void 0);u>=0||Ci(!1),s=s.slice(0,Math.min(s.length,u+1))}let c=!1,A=-1;if(r&&n&&n.v7_partialHydration)for(let u=0;u<s.length;u++){let d=s[u];if((d.route.HydrateFallback||d.route.hydrateFallbackElement)&&(A=u),d.route.id){let{loaderData:f,errors:h}=r,m=d.route.loader&&f[d.route.id]===void 0&&(!h||h[d.route.id]===void 0);if(d.route.lazy||m){c=!0,A>=0?s=s.slice(0,A+1):s=[s[0]];break}}}return s.reduceRight((u,d,f)=>{let h,m=!1,p=null,x=null;r&&(h=o&&d.route.id?o[d.route.id]:void 0,p=d.route.errorElement||xY,c&&(A<0&&f===0?(m=!0,x=null):A===f&&(m=!0,x=d.route.hydrateFallbackElement||null)));let v=e.concat(s.slice(0,f+1)),y=()=>{let b;return h?b=p:m?b=x:d.route.Component?b=Z.createElement(d.route.Component,null):d.route.element?b=d.route.element:b=u,Z.createElement(wY,{match:d,routeContext:{outlet:u,matches:v,isDataRoute:r!=null},children:b})};return r&&(d.route.ErrorBoundary||d.route.errorElement||f===0)?Z.createElement(yY,{location:r.location,revalidation:r.revalidation,component:p,error:h,children:y(),routeContext:{outlet:null,matches:v,isDataRoute:!0}}):y()},null)}var DL=function(t){return t.UseBlocker="useBlocker",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t}(DL||{}),V2=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}(V2||{});function CY(t){let e=Z.useContext(LF);return e||Ci(!1),e}function BY(t){let e=Z.useContext(hY);return e||Ci(!1),e}function EY(t){let e=Z.useContext(Ad);return e||Ci(!1),e}function OL(t){let e=EY(),r=e.matches[e.matches.length-1];return r.route.id||Ci(!1),r.route.id}function NY(){var t;let e=Z.useContext(jL),r=BY(V2.UseRouteError),n=OL(V2.UseRouteError);return e!==void 0?e:(t=r.errors)==null?void 0:t[n]}function SY(){let{router:t}=CY(DL.UseNavigateStable),e=OL(V2.UseNavigateStable),r=Z.useRef(!1);return IL(()=>{r.current=!0}),Z.useCallback(function(i,a){a===void 0&&(a={}),r.current&&(typeof i=="number"?t.navigate(i):t.navigate(i,kv({fromRouteId:e},a)))},[t,e])}function _Y(t,e){t==null||t.v7_startTransition,t==null||t.v7_relativeSplatPath}function Nn(t){Ci(!1)}function FY(t){let{basename:e="/",children:r=null,location:n,navigationType:i=hu.Pop,navigator:a,static:s=!1,future:o}=t;N1()&&Ci(!1);let c=e.replace(/^\/*/,"/"),A=Z.useMemo(()=>({basename:c,navigator:a,static:s,future:kv({v7_relativeSplatPath:!1},o)}),[c,o,a,s]);typeof n=="string"&&(n=bp(n));let{pathname:u="/",search:d="",hash:f="",state:h=null,key:m="default"}=n,p=Z.useMemo(()=>{let x=UF(u,c);return x==null?null:{location:{pathname:x,search:d,hash:f,state:h,key:m},navigationType:i}},[c,u,d,f,h,m,i]);return p==null?null:Z.createElement(Rh.Provider,{value:A},Z.createElement(NC.Provider,{children:r,value:p}))}function TY(t){let{children:e,location:r}=t;return mY(HN(e),r)}new Promise(()=>{});function HN(t,e){e===void 0&&(e=[]);let r=[];return Z.Children.forEach(t,(n,i)=>{if(!Z.isValidElement(n))return;let a=[...e,i];if(n.type===Z.Fragment){r.push.apply(r,HN(n.props.children,a));return}n.type!==Nn&&Ci(!1),!n.props.index||!n.props.children||Ci(!1);let s={id:n.props.id||a.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&&(s.children=HN(n.props.children,a)),r.push(s)}),r}/** 59 * React Router DOM v6.29.0 60 * 61 * Copyright (c) Remix Software Inc. 62 * 63 * This source code is licensed under the MIT license found in the 64 * LICENSE.md file in the root directory of this source tree. 65 * 66 * @license MIT 67 */function zN(){return zN=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},zN.apply(this,arguments)}function jY(t,e){if(t==null)return{};var r={},n=Object.keys(t),i,a;for(a=0;a<n.length;a++)i=n[a],!(e.indexOf(i)>=0)&&(r[i]=t[i]);return r}function IY(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function kY(t,e){return t.button===0&&(!e||e==="_self")&&!IY(t)}const PY=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],DY="6";try{window.__reactRouterVersion=DY}catch{}const OY="startTransition",nk=tG[OY];function RY(t){let{basename:e,children:r,future:n,window:i}=t,a=Z.useRef();a.current==null&&(a.current=HX({window:i,v5Compat:!0}));let s=a.current,[o,c]=Z.useState({action:s.action,location:s.location}),{v7_startTransition:A}=n||{},u=Z.useCallback(d=>{A&&nk?nk(()=>c(d)):c(d)},[c,A]);return Z.useLayoutEffect(()=>s.listen(u),[s,u]),Z.useEffect(()=>_Y(n),[n]),Z.createElement(FY,{basename:e,children:r,location:o.location,navigationType:o.action,navigator:s,future:n})}const UY=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",LY=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Jl=Z.forwardRef(function(e,r){let{onClick:n,relative:i,reloadDocument:a,replace:s,state:o,target:c,to:A,preventScrollReset:u,viewTransition:d}
67=e,f=jY(e,PY),{basename:h}=Z.useContext(Rh),m,p=!1;if(typeof A=="string"&&LY.test(A)&&(m=A,UY))try{let b=new URL(window.location.href),E=A.startsWith("//")?new URL(b.protocol+A):new URL(A),S=UF(E.pathname,h);E.origin===b.origin&&S!=null?A=S+E.search+E.hash:p=!0}catch{}let x=fY(A,{relative:i}),v=MY(A,{replace:s,state:o,target:c,preventScrollReset:u,relative:i,viewTransition:d});function y(b){n&&n(b),b.defaultPrevented||v(b)}return Z.createElement("a",zN({},f,{href:m||x,onClick:p||a?n:y,ref:r,target:c}))});var ik;(function(t){t.UseScrollRestoration="useScrollRestoration",t.UseSubmit="useSubmit",t.UseSubmitFetcher="useSubmitFetcher",t.UseFetcher="useFetcher",t.useViewTransitionState="useViewTransitionState"})(ik||(ik={}));var ak;(function(t){t.UseFetcher="useFetcher",t.UseFetchers="useFetchers",t.UseScrollRestoration="useScrollRestoration"})(ak||(ak={}));function MY(t,e){let{target:r,replace:n,state:i,preventScrollReset:a,relative:s,viewTransition:o}=e===void 0?{}:e,c=S1(),A=ud(),u=PL(t,{relative:s});return Z.useCallback(d=>{if(kY(d,r)){d.preventDefault();let f=n!==void 0?n:z2(A)===z2(u);c(t,{replace:f,state:i,preventScrollReset:a,relative:s,viewTransition:o})}},[A,c,u,n,i,r,t,a,s,o])}var sk={};/** 68 * @license 69 * Copyright 2017 Google LLC 70 * 71 * Licensed under the Apache License, Version 2.0 (the "License"); 72 * you may not use this file except in compliance with the License. 73 * You may obtain a copy of the License at 74 * 75 * http://www.apache.org/licenses/LICENSE-2.0 76 * 77 * Unless required by applicable law or agreed to in writing, software 78 * distributed under the License is distributed on an "AS IS" BASIS, 79 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 80 * See the License for the specific language governing permissions and 81 * limitations under the License. 82 */const RL={NODE_CLIENT:!1,NODE_ADMIN:!1,SDK_VERSION:"${JSCORE_VERSION}"};/** 83 * @license 84 * Copyright 2017 Google LLC 85 * 86 * Licensed under the Apache License, Version 2.0 (the "License"); 87 * you may not use this file except in compliance with the License. 88 * You may obtain a copy of the License at 89 * 90 * http://www.apache.org/licenses/LICENSE-2.0 91 * 92 * Unless required by applicable law or agreed to in writing, software 93 * distributed under the License is distributed on an "AS IS" BASIS, 94 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 95 * See the License for the specific language governing permissions and 96 * limitations under the License. 97 */const ht=function(t,e){if(!t)throw Cp(e)},Cp=function(t){return new Error("Firebase Database ("+RL.SDK_VERSION+") INTERNAL ASSERT FAILED: "+t)};/** 98 * @license 99 * Copyright 2017 Google LLC 100 * 101 * Licensed under the Apache License, Version 2.0 (the "License"); 102 * you may not use this file except in compliance with the License. 103 * You may obtain a copy of the License at 104 * 105 * http://www.apache.org/licenses/LICENSE-2.0 106 * 107 * Unless required by applicable law or agreed to in writing, software 108 * distributed under the License is distributed on an "AS IS" BASIS, 109 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 110 * See the License for the specific language governing permissions and 111 * limitations under the License. 112 */const UL=function(t){const e=[];let r=0;for(let n=0;n<t.length;n++){let i=t.charCodeAt(n);i<128?e[r++]=i:i<2048?(e[r++]=i>>6|192,e[r++]=i&63|128):(i&64512)===55296&&n+1<t.length&&(t.charCodeAt(n+1)&64512)===56320?(i=65536+((i&1023)<<10)+(t.charCodeAt(++n)&1023),e[r++]=i>>18|240,e[r++]=i>>12&63|128,e[r++]=i>>6&63|128,e[r++]=i&63|128):(e[r++]=i>>12|224,e[r++]=i>>6&63|128,e[r++]=i&63|128)}return e},QY=function(t){const e=[];let r=0,n=0;for(;r<t.length;){const i=t[r++];if(i<128)e[n++]=String.fromCharCode(i);else if(i>191&&i<224){const a=t[r++];e[n++]=String.fromCharCode((i&31)<<6|a&63)}else if(i>239&&i<365){const a=t[r++],s=t[r++],o=t[r++],c=((i&7)<<18|(a&63)<<12|(s&63)<<6|o&63)-65536;e[n++]=String.fromCharCode(55296+(c>>10)),e[n++]=String.fromCharCode(56320+(c&1023))}else{const a=t[r++],s=t[r++];e[n++]=String.fromCharCode((i&15)<<12|(a&63)<<6|s&63)}}return e.join("")},MF={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:typeof atob=="function",encodeByteArray(t,e){if(!Array.isArray(t))throw Error("encodeByteArray takes an array as a parameter");this.init_();const r=e?this.byteToCharMapWebSafe_:this.byteToCharMap_,n=[];for(let i=0;i<t.length;i+=3){const a=t[i],s=i+1<t.length,o=s?t[i+1]:0,c=i+2<t.length,A=c?t[i+2]:0,u=a>>2,d=(a&3)<<4|o>>4;let f=(o&15)<<2|A>>6,h=A&63;c||(h=64,s||(f=64)),n.push(r[u],r[d],r[f],r[h])}return n.join("")},encodeString(t,e){return this.HAS_NATIVE_SUPPORT&&!e?btoa(t):this.encodeByteArray(UL(t),e)},decodeString(t,e){return this.HAS_NATIVE_SUPPORT&&!e?atob(t):QY(this.decodeStringToByteArray(t,e))},decodeStringToByteArray(t,e){this.init_();const r=e?this.charToByteMapWebSafe_:this.charToByteMap_,n=[];for(let i=0;i<t.length;){const a=r[t.charAt(i++)],o=i<t.length?r[t.charAt(i)]:0;++i;const A=i<t.length?r[t.charAt(i)]:64;++i;const d=i<t.length?r[t.charAt(i)]:64;if(++i,a==null||o==null||A==null||d==null)throw new HY;const f=a<<2|o>>4;if(n.push(f),A!==64){const h=o<<4&240|A>>2;if(n.push(h),d!==64){const m=A<<6&192|d;n.push(m)}}}return n},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let t=0;t<this.ENCODED_VALS.length;t++)this.byteToCharMap_[t]=this.ENCODED_VALS.charAt(t),this.charToByteMap_[this.byteToCharMap_[t]]=t,this.byteToCharMapWebSafe_[t]=this.ENCODED_VALS_WEBSAFE.charAt(t),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[t]]=t,t>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(t)]=t,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(t)]=t)}}};
112class HY extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}}const LL=function(t){const e=UL(t);return MF.encodeByteArray(e,!0)},W2=function(t){return LL(t).replace(/\./g,"")},K2=function(t){try{return MF.decodeString(t,!0)}catch(e){console.error("base64Decode failed: ",e)}return null};/** 113 * @license 114 * Copyright 2017 Google LLC 115 * 116 * Licensed under the Apache License, Version 2.0 (the "License"); 117 * you may not use this file except in compliance with the License. 118 * You may obtain a copy of the License at 119 * 120 * http://www.apache.org/licenses/LICENSE-2.0 121 * 122 * Unless required by applicable law or agreed to in writing, software 123 * distributed under the License is distributed on an "AS IS" BASIS, 124 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 125 * See the License for the specific language governing permissions and 126 * limitations under the License. 127 */function zY(t){return ML(void 0,t)}function ML(t,e){if(!(e instanceof Object))return e;switch(e.constructor){case Date:const r=e;return new Date(r.getTime());case Object:t===void 0&&(t={});break;case Array:t=[];break;default:return e}for(const r in e)!e.hasOwnProperty(r)||!VY(r)||(t[r]=ML(t[r],e[r]));return t}function VY(t){return t!=="__proto__"}/** 128 * @license 129 * Copyright 2022 Google LLC 130 * 131 * Licensed under the Apache License, Version 2.0 (the "License"); 132 * you may not use this file except in compliance with the License. 133 * You may obtain a copy of the License at 134 * 135 * http://www.apache.org/licenses/LICENSE-2.0 136 * 137 * Unless required by applicable law or agreed to in writing, software 138 * distributed under the License is distributed on an "AS IS" BASIS, 139 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 140 * See the License for the specific language governing permissions and 141 * limitations under the License. 142 */function WY(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("Unable to locate global object.")}/** 143 * @license 144 * Copyright 2022 Google LLC 145 * 146 * Licensed under the Apache License, Version 2.0 (the "License"); 147 * you may not use this file except in compliance with the License. 148 * You may obtain a copy of the License at 149 * 150 * http://www.apache.org/licenses/LICENSE-2.0 151 * 152 * Unless required by applicable law or agreed to in writing, software 153 * distributed under the License is distributed on an "AS IS" BASIS, 154 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 155 * See the License for the specific language governing permissions and 156 * limitations under the License. 157 */const KY=()=>WY().__FIREBASE_DEFAULTS__,qY=()=>{if(typeof process>"u"||typeof sk>"u")return;const t=sk.__FIREBASE_DEFAULTS__;if(t)return JSON.parse(t)},GY=()=>{if(typeof document>"u")return;let t;try{t=document.cookie.match(/__FIREBASE_DEFAULTS__=([^;]+)/)}catch{return}const e=t&&K2(t[1]);return e&&JSON.parse(e)},QF=()=>{try{return KY()||qY()||GY()}catch(t){console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${t}`);return}},QL=t=>{var e,r;return(r=(e=QF())===null||e===void 0?void 0:e.emulatorHosts)===null||r===void 0?void 0:r[t]},HL=t=>{const e=QL(t);if(!e)return;const r=e.lastIndexOf(":");if(r<=0||r+1===e.length)throw new Error(`Invalid host ${e} with no separate hostname and port!`);const n=parseInt(e.substring(r+1),10);return e[0]==="["?[e.substring(1,r-1),n]:[e.substring(0,r),n]},zL=()=>{var t;return(t=QF())===null||t===void 0?void 0:t.config},VL=t=>{var e;return(e=QF())===null||e===void 0?void 0:e[`_${t}`]};/** 158 * @license 159 * Copyright 2017 Google LLC 160 * 161 * Licensed under the Apache License, Version 2.0 (the "License"); 162 * you may not use this file except in compliance with the License. 163 * You may obtain a copy of the License at 164 * 165 * http://www.apache.org/licenses/LICENSE-2.0 166 * 167 * Unless required by applicable law or agreed to in writing, software 168 * distributed under the License is distributed on an "AS IS" BASIS, 169 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 170 * See the License for the specific language governing permissions and 171 * limitations under the License. 172 */let SC=class{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Promise((e,r)=>{this.resolve=e,this.reject=r})}wrapCallback(e){return(r,n)=>{r?this.reject(r):this.resolve(n),typeof e=="function"&&(this.promise.catch(()=>{}),e.length===1?e(r):e(r,n))}}};/** 173 * @license 174 * Copyright 2021 Google LLC 175 * 176 * Licensed under the Apache License, Version 2.0 (the "License");
177 * you may not use this file except in compliance with the License. 178 * You may obtain a copy of the License at 179 * 180 * http://www.apache.org/licenses/LICENSE-2.0 181 * 182 * Unless required by applicable law or agreed to in writing, software 183 * distributed under the License is distributed on an "AS IS" BASIS, 184 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 185 * See the License for the specific language governing permissions and 186 * limitations under the License. 187 */function WL(t,e){if(t.uid)throw new Error('The "uid" field is no longer supported by mockUserToken. Please use "sub" instead for Firebase Auth User ID.');const r={alg:"none",type:"JWT"},n=e||"demo-project",i=t.iat||0,a=t.sub||t.user_id;if(!a)throw new Error("mockUserToken must contain 'sub' or 'user_id' field!");const s=Object.assign({iss:`https://securetoken.google.com/${n}`,aud:n,iat:i,exp:i+3600,auth_time:i,sub:a,user_id:a,firebase:{sign_in_provider:"custom",identities:{}}},t);return[W2(JSON.stringify(r)),W2(JSON.stringify(s)),""].join(".")}/** 188 * @license 189 * Copyright 2017 Google LLC 190 * 191 * Licensed under the Apache License, Version 2.0 (the "License"); 192 * you may not use this file except in compliance with the License. 193 * You may obtain a copy of the License at 194 * 195 * http://www.apache.org/licenses/LICENSE-2.0 196 * 197 * Unless required by applicable law or agreed to in writing, software 198 * distributed under the License is distributed on an "AS IS" BASIS, 199 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 * See the License for the specific language governing permissions and 201 * limitations under the License. 202 */function os(){return typeof navigator<"u"&&typeof navigator.userAgent=="string"?navigator.userAgent:""}function HF(){return typeof window<"u"&&!!(window.cordova||window.phonegap||window.PhoneGap)&&/ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(os())}function JY(){return typeof navigator<"u"&&navigator.userAgent==="Cloudflare-Workers"}function XY(){const t=typeof chrome=="object"?chrome.runtime:typeof browser=="object"?browser.runtime:void 0;return typeof t=="object"&&t.id!==void 0}function KL(){return typeof navigator=="object"&&navigator.product==="ReactNative"}function YY(){const t=os();return t.indexOf("MSIE ")>=0||t.indexOf("Trident/")>=0}function qL(){return RL.NODE_ADMIN===!0}function ZY(){try{return typeof indexedDB=="object"}catch{return!1}}function $Y(){return new Promise((t,e)=>{try{let r=!0;const n="validate-browser-context-for-indexeddb-analytics-module",i=self.indexedDB.open(n);i.onsuccess=()=>{i.result.close(),r||self.indexedDB.deleteDatabase(n),t(!0)},i.onupgradeneeded=()=>{r=!1},i.onerror=()=>{var a;e(((a=i.error)===null||a===void 0?void 0:a.message)||"")}}catch(r){e(r)}})}/** 203 * @license 204 * Copyright 2017 Google LLC 205 * 206 * Licensed under the Apache License, Version 2.0 (the "License"); 207 * you may not use this file except in compliance with the License. 208 * You may obtain a copy of the License at 209 * 210 * http://www.apache.org/licenses/LICENSE-2.0 211 * 212 * Unless required by applicable law or agreed to in writing, software 213 * distributed under the License is distributed on an "AS IS" BASIS, 214 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 215 * See the License for the specific language governing permissions and 216 * limitations under the License. 217 */const eZ="FirebaseError";class pA extends Error{constructor(e,r,n){super(r),this.code=e,this.customData=n,this.name=eZ,Object.setPrototypeOf(this,pA.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,_1.prototype.create)}}class _1{constructor(e,r,n){this.service=e,this.serviceName=r,this.errors=n}create(e,...r){const n=r[0]||{},i=`${this.service}/${e}`,a=this.errors[e],s=a?tZ(a,n):"Error",o=`${this.serviceName}: ${s} (${i}).`;return new pA(i,o,n)}}function tZ(t,e){return t.replace(rZ,(r,n)=>{const i=e[n];return i!=null?String(i):`<${n}?>`})}const rZ=/\{\$([^}]+)}/g;/** 218 * @license 219 * Copyright 2017 Google LLC 220 * 221 * Licensed under the Apache License, Version 2.0 (the "License"); 222 * you may not use this file except in compliance with the License. 223 * You may obtain a copy of the License at 224 * 225 * http://www.apache.org/licenses/LICENSE-2.0 226 * 227 * Unless required by applicable law or agreed to in writing, softw
227are 228 * distributed under the License is distributed on an "AS IS" BASIS, 229 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 230 * See the License for the specific language governing permissions and 231 * limitations under the License. 232 */function Pv(t){return JSON.parse(t)}function Oi(t){return JSON.stringify(t)}/** 233 * @license 234 * Copyright 2017 Google LLC 235 * 236 * Licensed under the Apache License, Version 2.0 (the "License"); 237 * you may not use this file except in compliance with the License. 238 * You may obtain a copy of the License at 239 * 240 * http://www.apache.org/licenses/LICENSE-2.0 241 * 242 * Unless required by applicable law or agreed to in writing, software 243 * distributed under the License is distributed on an "AS IS" BASIS, 244 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 245 * See the License for the specific language governing permissions and 246 * limitations under the License. 247 */const GL=function(t){let e={},r={},n={},i="";try{const a=t.split(".");e=Pv(K2(a[0])||""),r=Pv(K2(a[1])||""),i=a[2],n=r.d||{},delete r.d}catch{}return{header:e,claims:r,data:n,signature:i}},nZ=function(t){const e=GL(t),r=e.claims;return!!r&&typeof r=="object"&&r.hasOwnProperty("iat")},iZ=function(t){const e=GL(t).claims;return typeof e=="object"&&e.admin===!0};/** 248 * @license 249 * Copyright 2017 Google LLC 250 * 251 * Licensed under the Apache License, Version 2.0 (the "License"); 252 * you may not use this file except in compliance with the License. 253 * You may obtain a copy of the License at 254 * 255 * http://www.apache.org/licenses/LICENSE-2.0 256 * 257 * Unless required by applicable law or agreed to in writing, software 258 * distributed under the License is distributed on an "AS IS" BASIS, 259 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 260 * See the License for the specific language governing permissions and 261 * limitations under the License. 262 */function pc(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function sp(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]}function VN(t){for(const e in t)if(Object.prototype.hasOwnProperty.call(t,e))return!1;return!0}function q2(t,e,r){const n={};for(const i in t)Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=e.call(r,t[i],i,t));return n}function G2(t,e){if(t===e)return!0;const r=Object.keys(t),n=Object.keys(e);for(const i of r){if(!n.includes(i))return!1;const a=t[i],s=e[i];if(ok(a)&&ok(s)){if(!G2(a,s))return!1}else if(a!==s)return!1}for(const i of n)if(!r.includes(i))return!1;return!0}function ok(t){return t!==null&&typeof t=="object"}/** 263 * @license 264 * Copyright 2017 Google LLC 265 * 266 * Licensed under the Apache License, Version 2.0 (the "License"); 267 * you may not use this file except in compliance with the License. 268 * You may obtain a copy of the License at 269 * 270 * http://www.apache.org/licenses/LICENSE-2.0 271 * 272 * Unless required by applicable law or agreed to in writing, software 273 * distributed under the License is distributed on an "AS IS" BASIS, 274 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 275 * See the License for the specific language governing permissions and 276 * limitations under the License. 277 */function Bp(t){const e=[];for(const[r,n]of Object.entries(t))Array.isArray(n)?n.forEach(i=>{e.push(encodeURIComponent(r)+"="+encodeURIComponent(i))}):e.push(encodeURIComponent(r)+"="+encodeURIComponent(n));return e.length?"&"+e.join("&"):""}function sg(t){const e={};return t.replace(/^\?/,"").split("&").forEach(n=>{if(n){const[i,a]=n.split("=");e[decodeURIComponent(i)]=decodeURIComponent(a)}}),e}function og(t){const e=t.indexOf("?");if(!e)return"";const r=t.indexOf("#",e);return t.substring(e,r>0?r:void 0)}/** 278 * @license 279 * Copyright 2017 Google LLC 280 * 281 * Licensed under the Apache License, Version 2.0 (the "License"); 282 * you may not use this file except in compliance with the License. 283 * You may obtain a copy of the License at 284 * 285 * http://www.apache.org/licenses/LICENSE-2.0 286 * 287 * Unless required by applicable law or agreed to in writing, software 288 * distributed under the License is distributed on an "AS IS" BASIS, 289 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 290 * See the License for the specific language governing permissions and 291 * limitations under the License. 292 */class aZ{constructor(){this.chain_=[],this.buf_=[],this.W_=[],this.pad_=[],this.inbuf_=0,this.total_=0,this.blockSize=512/8,this.pad_[0]=128;for(let e=1;e<this.blockSize;++e)this.pad_[e]=0;this.reset()}reset(){this.chain_[0]=1732584193,this.chain_[1]=4023233417,this.chain_[2]=2562383102,this.chain_[3]=271733878,this.chain_[4]=3285377520,this.inbuf_=0,this.total_=0}compress_(e,r){r||(r=0);const n=this.W_;if(typeof e=="string")for(let d=0;d<16;d++)n[d]=e.charCodeAt(r)<<24|e.charCodeAt(r+1)<<16|e.charCodeAt(r+2)<<8|e.charCodeAt(r+3),r+=4;else for(let d=0;d<16;d++)n[d]=e[r]<<24|e[r+1]<<16|e[r+2]<<8|e[r+3],r+=4;for(let d=16;d<80;d++){const f=n[d-3]^n[d-8]^n[d-14]^n[d-16];n[d]=(f<<1|f>>>31)&4294967295}let i=this.chain_[0],a=this.chain_[1],s=this.chain_[2],o=this.chain_[3],c=this.chain_[4],A,u;for(let d=0;d<80;d++){d<40?d<20?(A=o^a&(s^o),u=1518500249):(A=a^s^o,u=1859775393):d<60?(A=a&s|o&(a|s),u=2400959708):(A=a^s^o,u=3395469782);const f=(i<<5|i>>>27)+A+c+u+n[d]&4294967295;c=o,o=s,s=(a<<30|a>>>2)&4294967295,a=i,i=f}this.chain_[0]=this.chain_[0]+i&4294967295,this.chain_[1]=this.chain_[1]+a&4294967295,this.chain_[2]=this.chain_[2]+s&4294967295,this.chain_[3]=this.chain_[3]+o&4294967295,this.chain_[4]=this.chain_[4]+c&4294967295}update(e,r){if(e==null)return;r===void 0&&(r=e.length);const n=r-this.blockSize;let i=0;const a=this.buf_;let s=this.inbuf_;for(;i<r;){if(s===0)for(;i<=n;)this.compress_(e,i),i+=this.blockSize;if(typeof e=="string"){for(;i<r;)if(a[s]=e.charCodeAt(i),++s,++i,s===this.blockSize){this.compress_(a),s=0;break}}else for(;i<r;)if(a[s]=e[i],++s,++i,s===this.blockSize){this.compress_(a),s=0;break}}this.inbuf_=s,this.total_+=r}digest(){const e=[];let r=this.total_*8;this.inbuf_<56?this.update(this.pad_,56-this.inbuf_):this.update(this.pad_,this.blockSize-(this.inbuf_-56));for(let i=this.blockSize-1;i>=56;i--)this.buf_[i]=r&255,r/=256;this.compress_(this.buf_);let n=0;for(let i=0;i<5;i++)for(let a=24;a>=0;a-=8)e[n]=this.chain_[i]>>a&255,++n;return e}}function sZ(t,e){const r=new oZ(t,e);return r.subscribe.bind(r)}class oZ{constructor(e,r){this.observers=[],this.unsubscribes=[],this.observerCount=0,this.task=Prom
vendor: 4,163 bytes, lines 292-332
292ise.resolve(),this.finalized=!1,this.onNoObservers=r,this.task.then(()=>{e(this)}).catch(n=>{this.error(n)})}next(e){this.forEachObserver(r=>{r.next(e)})}error(e){this.forEachObserver(r=>{r.error(e)}),this.close(e)}complete(){this.forEachObserver(e=>{e.complete()}),this.close()}subscribe(e,r,n){let i;if(e===void 0&&r===void 0&&n===void 0)throw new Error("Missing Observer.");lZ(e,["next","error","complete"])?i=e:i={next:e,error:r,complete:n},i.next===void 0&&(i.next=AE),i.error===void 0&&(i.error=AE),i.complete===void 0&&(i.complete=AE);const a=this.unsubscribeOne.bind(this,this.observers.length);return this.finalized&&this.task.then(()=>{try{this.finalError?i.error(this.finalError):i.complete()}catch{}}),this.observers.push(i),a}unsubscribeOne(e){this.observers===void 0||this.observers[e]===void 0||(delete this.observers[e],this.observerCount-=1,this.observerCount===0&&this.onNoObservers!==void 0&&this.onNoObservers(this))}forEachObserver(e){if(!this.finalized)for(let r=0;r<this.observers.length;r++)this.sendOne(r,e)}sendOne(e,r){this.task.then(()=>{if(this.observers!==void 0&&this.observers[e]!==void 0)try{r(this.observers[e])}catch(n){typeof console<"u"&&console.error&&console.error(n)}})}close(e){this.finalized||(this.finalized=!0,e!==void 0&&(this.finalError=e),this.task.then(()=>{this.observers=void 0,this.onNoObservers=void 0}))}}function lZ(t,e){if(typeof t!="object"||t===null)return!1;for(const r of e)if(r in t&&typeof t[r]=="function")return!0;return!1}function AE(){}function zF(t,e){return`${t} failed: ${e} argument `}/** 293 * @license 294 * Copyright 2017 Google LLC 295 * 296 * Licensed under the Apache License, Version 2.0 (the "License"); 297 * you may not use this file except in compliance with the License. 298 * You may obtain a copy of the License at 299 * 300 * http://www.apache.org/licenses/LICENSE-2.0 301 * 302 * Unless required by applicable law or agreed to in writing, software 303 * distributed under the License is distributed on an "AS IS" BASIS, 304 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 305 * See the License for the specific language governing permissions and 306 * limitations under the License. 307 */const cZ=function(t){const e=[];let r=0;for(let n=0;n<t.length;n++){let i=t.charCodeAt(n);if(i>=55296&&i<=56319){const a=i-55296;n++,ht(n<t.length,"Surrogate pair missing trail surrogate.");const s=t.charCodeAt(n)-56320;i=65536+(a<<10)+s}i<128?e[r++]=i:i<2048?(e[r++]=i>>6|192,e[r++]=i&63|128):i<65536?(e[r++]=i>>12|224,e[r++]=i>>6&63|128,e[r++]=i&63|128):(e[r++]=i>>18|240,e[r++]=i>>12&63|128,e[r++]=i>>6&63|128,e[r++]=i&63|128)}return e},_C=function(t){let e=0;for(let r=0;r<t.length;r++){const n=t.charCodeAt(r);n<128?e++:n<2048?e+=2:n>=55296&&n<=56319?(e+=4,r++):e+=3}return e};/** 308 * @license 309 * Copyright 2021 Google LLC 310 * 311 * Licensed under the Apache License, Version 2.0 (the "License"); 312 * you may not use this file except in compliance with the License. 313 * You may obtain a copy of the License at 314 * 315 * http://www.apache.org/licenses/LICENSE-2.0 316 * 317 * Unless required by applicable law or agreed to in writing, software 318 * distributed under the License is distributed on an "AS IS" BASIS, 319 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 320 * See the License for the specific language governing permissions and 321 * limitations under the License. 322 */function ei(t){return t&&t._delegate?t._delegate:t}class Wu{constructor(e,r,n){this.name=e,this.instanceFactory=r,this.type=n,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(e){return this.instantiationMode=e,this}setMultipleInstances(e){return this.multipleInstances=e,this}setServiceProps(e){return this.serviceProps=e,this}setInstanceCreatedCallback(e){return this.onInstanceCreated=e,this}}/** 323 * @license 324 * Copyright 2019 Google LLC 325 * 326 * Licensed under the Apache License, Version 2.0 (the "License"); 327 * you may not use this file except in compliance with the License. 328 * You may obtain a copy of the License at 329 * 330 * http://www.apache.org/licenses/LICENSE-2.0 331 * 332 * Unless required by applicable law or agreed to in writing, softw
332are 333 * distributed under the License is distributed on an "AS IS" BASIS, 334 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 335 * See the License for the specific language governing permissions and 336 * limitations under the License. 337 */const Dd="[DEFAULT]";/** 338 * @license 339 * Copyright 2019 Google LLC 340 * 341 * Licensed under the Apache License, Version 2.0 (the "License"); 342 * you may not use this file except in compliance with the License. 343 * You may obtain a copy of the License at 344 * 345 * http://www.apache.org/licenses/LICENSE-2.0 346 * 347 * Unless required by applicable law or agreed to in writing, software 348 * distributed under the License is distributed on an "AS IS" BASIS, 349 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 350 * See the License for the specific language governing permissions and 351 * limitations under the License. 352 */class AZ{constructor(e,r){this.name=e,this.container=r,this.component=null,this.instances=new Map,this.instancesDeferred=new Map,this.instancesOptions=new Map,this.onInitCallbacks=new Map}get(e){const r=this.normalizeInstanceIdentifier(e);if(!this.instancesDeferred.has(r)){const n=new SC;if(this.instancesDeferred.set(r,n),this.isInitialized(r)||this.shouldAutoInitialize())try{const i=this.getOrInitializeService({instanceIdentifier:r});i&&n.resolve(i)}catch{}}return this.instancesDeferred.get(r).promise}getImmediate(e){var r;const n=this.normalizeInstanceIdentifier(e==null?void 0:e.identifier),i=(r=e==null?void 0:e.optional)!==null&&r!==void 0?r:!1;if(this.isInitialized(n)||this.shouldAutoInitialize())try{return this.getOrInitializeService({instanceIdentifier:n})}catch(a){if(i)return null;throw a}else{if(i)return null;throw Error(`Service ${this.name} is not available`)}}getComponent(){return this.component}setComponent(e){if(e.name!==this.name)throw Error(`Mismatching Component ${e.name} for Provider ${this.name}.`);if(this.component)throw Error(`Component for ${this.name} has already been provided`);if(this.component=e,!!this.shouldAutoInitialize()){if(dZ(e))try{this.getOrInitializeService({instanceIdentifier:Dd})}catch{}for(const[r,n]of this.instancesDeferred.entries()){const i=this.normalizeInstanceIdentifier(r);try{const a=this.getOrInitializeService({instanceIdentifier:i});n.resolve(a)}catch{}}}}clearInstance(e=Dd){this.instancesDeferred.delete(e),this.instancesOptions.delete(e),this.instances.delete(e)}async delete(){const e=Array.from(this.instances.values());await Promise.all([...e.filter(r=>"INTERNAL"in r).map(r=>r.INTERNAL.delete()),...e.filter(r=>"_delete"in r).map(r=>r._delete())])}isComponentSet(){return this.component!=null}isInitialized(e=Dd){return this.instances.has(e)}getOptions(e=Dd){return this.instancesOptions.get(e)||{}}initialize(e={}){const{options:r={}}=e,n=this.normalizeInstanceIdentifier(e.instanceIdentifier);if(this.isInitialized(n))throw Error(`${this.name}(${n}) has already been initialized`);if(!this.isComponentSet())throw Error(`Component ${this.name} has not been registered yet`);const i=this.getOrInitializeService({instanceIdentifier:n,options:r});for(const[a,s]of this.instancesDeferred.entries()){const o=this.normalizeInstanceIdentifier(a);n===o&&s.resolve(i)}return i}onInit(e,r){var n;const i=this.normalizeInstanceIdentifier(r),a=(n=this.onInitCallbacks.get(i))!==null&&n!==void 0?n:new Set;a.add(e),this.onInitCallbacks.set(i,a);const s=this.instances.get(i);return s&&e(s,i),()=>{a.delete(e)}}invokeOnInitCallbacks(e,r){const n=this.onInitCallbacks.get(r);if(n)for(const i of n)try{i(e,r)}catch{}}getOrInitializeService({instanceIdentifier:e,options:r={}}){let n=this.instances.get(e);if(!n&&this.component&&(n=this.component.instanceFactory(this.container,{instanceIdentifier:uZ(e),options:r}),this.instances.set(e,n),this.instancesOptions.set(e,r),this.invokeOnInitCallbacks(n,e),this.component.onInstanceCreated))try{this.component.onInstanceCreated(this.container,e,n)}catch{}return n||null}normalizeInstanceIdentifier(e=Dd){return this.component?this.component.multipleInstances?e:Dd:e}shouldAutoInitialize(){return!!this.component&&this.component.instantiationMode!=="EXPLICIT"}}function uZ(t){return t===Dd?void 0:t}function dZ(t){return t.instantiationMode==="EAGER"}/** 353 * @license 354 * Copyright 2019 Google LLC 355 * 356 * Licensed under the Apache License, Version 2.0 (the "License");
357 * you may not use this file except in compliance with the License. 358 * You may obtain a copy of the License at 359 * 360 * http://www.apache.org/licenses/LICENSE-2.0 361 * 362 * Unless required by applicable law or agreed to in writing, software 363 * distributed under the License is distributed on an "AS IS" BASIS, 364 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 365 * See the License for the specific language governing permissions and 366 * limitations under the License. 367 */class hZ{constructor(e){this.name=e,this.providers=new Map}addComponent(e){const r=this.getProvider(e.name);if(r.isComponentSet())throw new Error(`Component ${e.name} has already been registered with ${this.name}`);r.setComponent(e)}addOrOverwriteComponent(e){this.getProvider(e.name).isComponentSet()&&this.providers.delete(e.name),this.addComponent(e)}getProvider(e){if(this.providers.has(e))return this.providers.get(e);const r=new AZ(e,this);return this.providers.set(e,r),r}getProviders(){return Array.from(this.providers.values())}}/** 368 * @license 369 * Copyright 2017 Google LLC 370 * 371 * Licensed under the Apache License, Version 2.0 (the "License"); 372 * you may not use this file except in compliance with the License. 373 * You may obtain a copy of the License at 374 * 375 * http://www.apache.org/licenses/LICENSE-2.0 376 * 377 * Unless required by applicable law or agreed to in writing, software 378 * distributed under the License is distributed on an "AS IS" BASIS, 379 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 380 * See the License for the specific language governing permissions and 381 * limitations under the License. 382 */var An;(function(t){t[t.DEBUG=0]="DEBUG",t[t.VERBOSE=1]="VERBOSE",t[t.INFO=2]="INFO",t[t.WARN=3]="WARN",t[t.ERROR=4]="ERROR",t[t.SILENT=5]="SILENT"})(An||(An={}));const fZ={debug:An.DEBUG,verbose:An.VERBOSE,info:An.INFO,warn:An.WARN,error:An.ERROR,silent:An.SILENT},pZ=An.INFO,mZ={[An.DEBUG]:"log",[An.VERBOSE]:"log",[An.INFO]:"info",[An.WARN]:"warn",[An.ERROR]:"error"},gZ=(t,e,...r)=>{if(e<t.logLevel)return;const n=new Date().toISOString(),i=mZ[e];if(i)console[i](`[${n}] ${t.name}:`,...r);else throw new Error(`Attempted to log a message with an invalid logType (value: ${e})`)};let VF=class{constructor(e){this.name=e,this._logLevel=pZ,this._logHandler=gZ,this._userLogHandler=null}get logLevel(){return this._logLevel}set logLevel(e){if(!(e in An))throw new TypeError(`Invalid value "${e}" assigned to \`logLevel\``);this._logLevel=e}setLogLevel(e){this._logLevel=typeof e=="string"?fZ[e]:e}get logHandler(){return this._logHandler}set logHandler(e){if(typeof e!="function")throw new TypeError("Value assigned to `logHandler` must be a function");this._logHandler=e}get userLogHandler(){return this._userLogHandler}set userLogHandler(e){this._userLogHandler=e}debug(...e){this._userLogHandler&&this._userLogHandler(this,An.DEBUG,...e),this._logHandler(this,An.DEBUG,...e)}log(...e){this._userLogHandler&&this._userLogHandler(this,An.VERBOSE,...e),this._logHandler(this,An.VERBOSE,...e)}info(...e){this._userLogHandler&&this._userLogHandler(this,An.INFO,...e),this._logHandler(this,An.INFO,...e)}warn(...e){this._userLogHandler&&this._userLogHandler(this,An.WARN,...e),this._logHandler(this,An.WARN,...e)}error(...e){this._userLogHandler&&this._userLogHandler(this,An.ERROR,...e),this._logHandler(this,An.ERROR,...e)}};const vZ=(t,e)=>e.some(r=>t instanceof r);let lk,ck;function xZ(){return lk||(lk=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function yZ(){return ck||(ck=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const JL=new WeakMap,WN=new WeakMap,XL=new WeakMap,uE=new WeakMap,WF=new WeakMap;function wZ(t){const e=new Promise((r,n)=>{const i=()=>{t.removeEventListener("success",a),t.removeEventListener("error",s)},a=()=>{r(Iu(t.result)),i()},s=()=>{n(t.error),i()};t.addEventListener("success",a),t.addEventListener("error",s)});return e.then(r=>{r instanceof IDBCursor&&JL.set(r,t)}).catch(()=>{}),WF.set(e,t),e}function bZ(t){if(WN.has(t))return;const e=new Promise((r,n)=>{const i=()=>{t.removeEventListener("complete",a),t.removeEventListener("error",s),t.removeEventListener("abort",s)},a=()=>{r(),i()},s=()=>{n(t.error||new DOMException("AbortError","AbortError")),i()};t.addEventListener("complete",a),t.addEventListener("error",s),t.addEventListener("abort",s)});WN.set(t,e)}let KN={get(t,e,r){if(t instanceof IDBTransaction){if(e==="done")return WN.get(t);if(e==="objectStoreNames")return t.objectStoreNames||XL.get(t);if(e==="store")return r.objectStoreNames[1]?void 0:r.objectStore(r.objectStoreNames[0])}return Iu(t[e])},set(t,e,r){return t[e]=r,!0},has(t,e){return t instanceof IDBTransaction&&(e==="done"||e==="store")?!0:e in t}};function CZ(t){KN=t(KN)}function BZ(t){return t===IDBDatabase.prototype.transaction&&!("objectStoreNames"in IDBTransaction.prototype)?function(e,...r){const n=t.call(dE(this),e,...r);return XL.set(n,e.sort?e.sort():[e]),Iu(n)}:yZ().includes(t)?function(...e){return t.apply(dE(this),e),Iu(JL.get(this))}:function(...e){return Iu(t.apply(dE(this),e))}}function EZ(t){return typeof t=="function"?BZ(t):(t instanceof IDBTransaction&&bZ(t),vZ(t,xZ())?new Proxy(t,KN):t)}function Iu(t){if(t instanceof IDBRequest)return wZ(t);if(uE.has(t))return uE.get(t);const e=EZ(t);return e!==t&&(uE.set(t,e),WF.set(e,t)),e}const dE=t=>WF.get(t);function NZ(t,e,{blocked:r,upgrade:n,blocking:i,terminated:a}={}){const s=indexedDB.open(t,e),o=Iu(s);return n&&s.addEventListener("upgradeneeded",c=>{n(Iu(s.result),c.oldVersion,c.newVersion,Iu(s.transaction),c)}),r&&s.addEventListener("blocked",c=>r(c.oldVersion,c.newVersion,c)),o.then(c=>{a&&c.addEventListener("close",()=>a()),i&&c.addEventListener("versionchange",A=>i(A.oldVersion,A.newVersion,A))}).catch(()=>{}),o}const SZ=["get","getKey","getAll","getAllKeys","count"],_Z=["put","add","delete","clear"],hE=new Map;function Ak(t,e){if(!(t instanceof IDBDatabase&&!(e in t)&&typeof e=="string"))return;if(hE.get(e))return hE.get(e);
382const r=e.replace(/FromIndex$/,""),n=e!==r,i=_Z.includes(r);if(!(r in(n?IDBIndex:IDBObjectStore).prototype)||!(i||SZ.includes(r)))return;const a=async function(s,...o){const c=this.transaction(s,i?"readwrite":"readonly");let A=c.store;return n&&(A=A.index(o.shift())),(await Promise.all([A[r](...o),i&&c.done]))[0]};return hE.set(e,a),a}CZ(t=>({...t,get:(e,r,n)=>Ak(e,r)||t.get(e,r,n),has:(e,r)=>!!Ak(e,r)||t.has(e,r)}));/** 383 * @license 384 * Copyright 2019 Google LLC 385 * 386 * Licensed under the Apache License, Version 2.0 (the "License"); 387 * you may not use this file except in compliance with the License. 388 * You may obtain a copy of the License at 389 * 390 * http://www.apache.org/licenses/LICENSE-2.0 391 * 392 * Unless required by applicable law or agreed to in writing, software 393 * distributed under the License is distributed on an "AS IS" BASIS, 394 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 395 * See the License for the specific language governing permissions and 396 * limitations under the License. 397 */class FZ{constructor(e){this.container=e}getPlatformInfoString(){return this.container.getProviders().map(r=>{if(TZ(r)){const n=r.getImmediate();return`${n.library}/${n.version}`}else return null}).filter(r=>r).join(" ")}}function TZ(t){const e=t.getComponent();return(e==null?void 0:e.type)==="VERSION"}const qN="@firebase/app",uk="0.10.13";/** 398 * @license 399 * Copyright 2019 Google LLC 400 * 401 * Licensed under the Apache License, Version 2.0 (the "License"); 402 * you may not use this file except in compliance with the License. 403 * You may obtain a copy of the License at 404 * 405 * http://www.apache.org/licenses/LICENSE-2.0 406 * 407 * Unless required by applicable law or agreed to in writing, software 408 * distributed under the License is distributed on an "AS IS" BASIS, 409 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 410 * See the License for the specific language governing permissions and 411 * limitations under the License. 412 */const sA=new VF("@firebase/app"),jZ="@firebase/app-compat",IZ="@firebase/analytics-compat",kZ="@firebase/analytics",PZ="@firebase/app-check-compat",DZ="@firebase/app-check",OZ="@firebase/auth",RZ="@firebase/auth-compat",UZ="@firebase/database",LZ="@firebase/data-connect",MZ="@firebase/database-compat",QZ="@firebase/functions",HZ="@firebase/functions-compat",zZ="@firebase/installations",VZ="@firebase/installations-compat",WZ="@firebase/messaging",KZ="@firebase/messaging-compat",qZ="@firebase/performance",GZ="@firebase/performance-compat",JZ="@firebase/remote-config",XZ="@firebase/remote-config-compat",YZ="@firebase/storage",ZZ="@firebase/storage-compat",$Z="@firebase/firestore",e$="@firebase/vertexai-preview",t$="@firebase/firestore-compat",r$="firebase",n$="10.14.1";/** 413 * @license 414 * Copyright 2019 Google LLC 415 * 416 * Licensed under the Apache License, Version 2.0 (the "License"); 417 * you may not use this file except in compliance with the License. 418 * You may obtain a copy of the License at 419 * 420 * http://www.apache.org/licenses/LICENSE-2.0 421 * 422 * Unless required by applicable law or agreed to in writing, software 423 * distributed under the License is distributed on an "AS IS" BASIS, 424 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 425 * See the License for the specific language governing permissions and 426 * limitations under the License. 427 */const GN="[DEFAULT]",i$={[qN]:"fire-core",[jZ]:"fire-core-compat",[kZ]:"fire-analytics",[IZ]:"fire-analytics-compat",[DZ]:"fire-app-check",[PZ]:"fire-app-check-compat",[OZ]:"fire-auth",[RZ]:"fire-auth-compat",[UZ]:"fire-rtdb",[LZ]:"fire-data-connect",[MZ]:"fire-rtdb-compat",[QZ]:"fire-fn",[HZ]:"fire-fn-compat",[zZ]:"fire-iid",[VZ]:"fire-iid-compat",[WZ]:"fire-fcm",[KZ]:"fire-fcm-compat",[qZ]:"fire-perf",[GZ]:"fire-perf-compat",[JZ]:"fire-rc",[XZ]:"fire-rc-compat",[YZ]:"fire-gcs",[ZZ]:"fire-gcs-compat",[$Z]:"fire-fst",[t$]:"fire-fst-compat",[e$]:"fire-vertex","fire-js":"fire-js",[r$]:"fire-js-all"};/** 428 * @license 429 * Copyright 2019 Google LLC 430 * 431 * Licensed under the Apache License, Version 2.0 (the "License"); 432 * you may not use this file except in compliance with the License. 433 * You may obtain a copy of the License at 434 * 435 * http://www.apache.org/licenses/LICENSE-2.0 436 * 437 * Unless required by applicable law or agreed to in writing, softw
437are 438 * distributed under the License is distributed on an "AS IS" BASIS, 439 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 440 * See the License for the specific language governing permissions and 441 * limitations under the License. 442 */const J2=new Map,a$=new Map,JN=new Map;function dk(t,e){try{t.container.addComponent(e)}catch(r){sA.debug(`Component ${e.name} failed to register with FirebaseApp ${t.name}`,r)}}function vh(t){const e=t.name;if(JN.has(e))return sA.debug(`There were multiple attempts to register component ${e}.`),!1;JN.set(e,t);for(const r of J2.values())dk(r,t);for(const r of a$.values())dk(r,t);return!0}function FC(t,e){const r=t.container.getProvider("heartbeat").getImmediate({optional:!0});return r&&r.triggerHeartbeat(),t.container.getProvider(e)}function Hc(t){return t.settings!==void 0}/** 443 * @license 444 * Copyright 2019 Google LLC 445 * 446 * Licensed under the Apache License, Version 2.0 (the "License"); 447 * you may not use this file except in compliance with the License. 448 * You may obtain a copy of the License at 449 * 450 * http://www.apache.org/licenses/LICENSE-2.0 451 * 452 * Unless required by applicable law or agreed to in writing, software 453 * distributed under the License is distributed on an "AS IS" BASIS, 454 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 455 * See the License for the specific language governing permissions and 456 * limitations under the License. 457 */const s$={"no-app":"No Firebase App '{$appName}' has been created - call initializeApp() first","bad-app-name":"Illegal App name: '{$appName}'","duplicate-app":"Firebase App named '{$appName}' already exists with different options or config","app-deleted":"Firebase App named '{$appName}' already deleted","server-app-deleted":"Firebase Server App has been deleted","no-options":"Need to provide options, when not being deployed to hosting via source.","invalid-app-argument":"firebase.{$appName}() takes either no argument or a Firebase App instance.","invali
457d-log-argument":"First argument to `onLog` must be null or a function.","idb-open":"Error thrown when opening IndexedDB. Original error: {$originalErrorMessage}.","idb-get":"Error thrown when reading from IndexedDB. Original error: {$originalErrorMessage}.","idb-set":"Error thrown when writing to IndexedDB. Original error: {$originalErrorMessage}.","idb-delete":"Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}.","finalization-registry-not-supported":"FirebaseServerApp deleteOnDeref field defined but the JS runtime does not support FinalizationRegistry.","invalid-server-app-environment":"FirebaseServerApp is not for use in browser environments."},ku=new _1("app","Firebase",s$);/** 458 * @license 459 * Copyright 2019 Google LLC 460 * 461 * Licensed under the Apache License, Version 2.0 (the "License"); 462 * you may not use this file except in compliance with the License. 463 * You may obtain a copy of the License at 464 * 465 * http://www.apache.org/licenses/LICENSE-2.0 466 * 467 * Unless required by applicable law or agreed to in writing, software 468 * distributed under the License is distributed on an "AS IS" BASIS, 469 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 470 * See the License for the specific language governing permissions and 471 * limitations under the License. 472 */class o${constructor(e,r,n){this._isDeleted=!1,this._options=Object.assign({},e),this._config=Object.assign({},r),this._name=r.name,this._automaticDataCollectionEnabled=r.automaticDataCollectionEnabled,this._container=n,this.container.addComponent(new Wu("app",()=>this,"PUBLIC"))}get automaticDataCollectionEnabled(){return this.checkDestroyed(),this._automaticDataCollectionEnabled}set automaticDataCollectionEnabled(e){this.checkDestroyed(),this._automaticDataCollectionEnabled=e}get name(){return this.checkDestroyed(),this._name}get options(){return this.checkDestroyed(),this._options}get config(){return this.checkDestroyed(),this._config}get container(){return this._container}get isDeleted(){return this._isDeleted}set isDeleted(e){this._isDeleted=e}checkDestroyed(){if(this.isDeleted)throw ku.create("app-deleted",{appName:this._name})}}/** 473 * @license 474 * Copyright 2019 Google LLC 475 * 476 * Licensed under the Apache License, Version 2.0 (the "License"); 477 * you may not use this file except in compliance with the License. 478 * You may obtain a copy of the License at 479 * 480 * http://www.apache.org/licenses/LICENSE-2.0 481 * 482 * Unless required by applicable law or agreed to in writing, software 483 * distributed under the License is distributed on an "AS IS" BASIS, 484 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 485 * See the License for the specific language governing permissions and 486 * limitations under the License. 487 */const Uh=n$;function YL(t,e={}){let r=t;typeof e!="object"&&(e={name:e});const n=Object.assign({name:GN,automaticDataCollectionEnabled:!1},e),i=n.name;if(typeof i!="string"||!i)throw ku.create("bad-app-name",{appName:String(i)});if(r||(r=zL()),!r)throw ku.create("no-options");const a=J2.get(i);if(a){if(G2(r,a.options)&&G2(n,a.config))return a;throw ku.create("duplicate-app",{appName:i})}const s=new hZ(i);for(const c of JN.values())s.addComponent(c);const o=new o$(r,n,s);return J2.set(i,o),o}function KF(t=GN){const e=J2.get(t);if(!e&&t===GN&&zL())return YL();if(!e)throw ku.create("no-app",{appName:t});return e}function ac(t,e,r){var n;let i=(n=i$[t])!==null&&n!==void 0?n:t;r&&(i+=`-${r}`);const a=i.match(/\s|\//),s=e.match(/\s|\//);if(a||s){const o=[`Unable to register library "${i}" with version "${e}":`];a&&o.push(`library name "${i}" contains illegal characters (whitespace or "/")`),a&&s&&o.push("and"),s&&o.push(`version name "${e}" contains illegal characters (whitespace or "/")`),sA.warn(o.join(" "));return}vh(new Wu(`${i}-version`,()=>({library:i,version:e}),"VERSION"))}/** 488 * @license 489 * Copyright 2021 Google LLC 490 * 491 * Licensed under the Apache License, Version 2.0 (the "License"); 492 * you may not use this file except in compliance with the License. 493 * You may obtain a copy of the License at 494 * 495 * http://www.apache.org/licenses/LICENSE-2.0 496 * 497 * Unless required by applicable law or agreed to in writing, softw
497are 498 * distributed under the License is distributed on an "AS IS" BASIS, 499 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 500 * See the License for the specific language governing permissions and 501 * limitations under the License. 502 */const l$="firebase-heartbeat-database",c$=1,Dv="firebase-heartbeat-store";let fE=null;function ZL(){return fE||(fE=NZ(l$,c$,{upgrade:(t,e)=>{switch(e){case 0:try{t.createObjectStore(Dv)}catch(r){console.warn(r)}}}}).catch(t=>{throw ku.create("idb-open",{originalErrorMessage:t.message})})),fE}async function A$(t){try{const r=(await ZL()).transaction(Dv),n=await r.objectStore(Dv).get($L(t));return await r.done,n}catch(e){if(e instanceof pA)sA.warn(e.message);else{const r=ku.create("idb-get",{originalErrorMessage:e==null?void 0:e.message});sA.warn(r.message)}}}async function hk(t,e){try{const n=(await ZL()).transaction(Dv,"readwrite");await n.objectStore(Dv).put(e,$L(t)),await n.done}catch(r){if(r instanceof pA)sA.warn(r.message);else{const n=ku.create("idb-set",{originalErrorMessage:r==null?void 0:r.message});sA.warn(n.message)}}}function $L(t){return`${t.name}!${t.options.appId}`}/** 503 * @license 504 * Copyright 2021 Google LLC 505 * 506 * Licensed under the Apache License, Version 2.0 (the "License"); 507 * you may not use this file except in compliance with the License. 508 * You may obtain a copy of the License at 509 * 510 * http://www.apache.org/licenses/LICENSE-2.0 511 * 512 * Unless required by applicable law or agreed to in writing, software 513 * distributed under the License is distributed on an "AS IS" BASIS, 514 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 515 * See the License for the specific language governing permissions and 516 * limitations under the License. 517 */const u$=1024,d$=30*24*60*60*1e3;class h${constructor(e){this.container=e,this._heartbeatsCache=null;const r=this.container.getProvider("app").getImmediate();this._storage=new p$(r),this._heartbeatsCachePromise=this._storage.read().then(n=>(this._heartbeatsCache=n,n))}async triggerHeartbeat(){var e,r;try{const i=this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(),a=fk();return((e=this._heartbeatsCache)===null||e===void 0?void 0:e.heartbeats)==null&&(this._heartbeatsCache=await this._heartbeatsCachePromise,((r=this._heartbeatsCache)===null||r===void 0?void 0:r.heartbeats)==null)||this._heartbeatsCache.lastSentHeartbeatDate===a||this._heartbeatsCache.heartbeats.some(s=>s.date===a)?void 0:(this._heartbeatsCache.heartbeats.push({date:a,agent:i}),this._heartbeatsCache.heartbeats=this._heartbeatsCache.heartbeats.filter(s=>{const o=new Date(s.date).valueOf();return Date.now()-o<=d$}),this._storage.overwrite(this._heartbeatsCache))}catch(n){sA.warn(n)}}async getHeartbeatsHeader(){var e;try{if(this._heartbeatsCache===null&&await this._heartbeatsCachePromise,((e=this._heartbeatsCache)===null||e===void 0?void 0:e.heartbeats)==null||this._heartbeatsCache.heartbeats.length===0)return"";const r=fk(),{heartbeatsToSend:n,unsentEntries:i}=f$(this._heartbeatsCache.heartbeats),a=W2(JSON.stringify({version:2,heartbeats:n}));return this._heartbeatsCache.lastSentHeartbeatDate=r,i.length>0?(this._heartbeatsCache.heartbeats=i,await this._storage.overwrite(this._heartbeatsCache)):(this._heartbeatsCache.heartbeats=[],this._storage.overwrite(this._heartbeatsCache)),a}catch(r){return sA.warn(r),""}}}function fk(){return new Date().toISOString().substring(0,10)}function f$(t,e=u$){const r=[];let n=t.slice();for(const i of t){const a=r.find(s=>s.agent===i.agent);if(a){if(a.dates.push(i.date),pk(r)>e){a.dates.pop();break}}else if(r.push({agent:i.agent,dates:[i.date]}),pk(r)>e){r.pop();break}n=n.slice(1)}return{heartbeatsToSend:r,unsentEntries:n}}class p${constructor(e){this.app=e,this._canUseIndexedDBPromise=this.runIndexedDBEnvironmentCheck()}async runIndexedDBEnvironmentCheck(){return ZY()?$Y().then(()=>!0).catch(()=>!1):!1}async read(){if(await this._canUseIndexedDBPromise){const r=await A$(this.app);return r!=null&&r.heartbeats?r:{heartbeats:[]}}else return{heartbeats:[]}}async overwrite(e){var r;if(await this._canUseIndexedDBPromise){const i=await this.read();return hk(this.app,{lastSentHeartbeatDate:(r=e.lastSentHeartbeatDate)!==null&&r!==void 0?r:i.lastSentHeartbeatDate,heartbeats:e.heartbeats})}else return}async add(e){var r;if(await this._canUseIndexedDBPromise){const i=await this.read();return hk(this.app,{lastSentHeartbeatDate:(r=e.lastSentHeartbeatDate)!==null&&r!==void 0?r:i.lastSentHeartbeatDate,heartbeats:[...i.heartbeats,...e.heartbeats]})}else return}}function pk(t){return W2(JSON.stringify({version:2,heartbeats:t})).length}/** 518 * @license 519 * Copyright 2019 Google LLC 520 * 521 * Licensed under the Apache License, Version 2.0 (the "License");
vendor: 6,723 bytes, lines 522-532
522 * you may not use this file except in compliance with the License. 523 * You may obtain a copy of the License at 524 * 525 * http://www.apache.org/licenses/LICENSE-2.0 526 * 527 * Unless required by applicable law or agreed to in writing, software 528 * distributed under the License is distributed on an "AS IS" BASIS, 529 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 530 * See the License for the specific language governing permissions and 531 * limitations under the License. 532 */function m$(t){vh(new Wu("platform-logger",e=>new FZ(e),"PRIVATE")),vh(new Wu("heartbeat",e=>new h$(e),"PRIVATE")),ac(qN,uk,t),ac(qN,uk,"esm2017"),ac("fire-js","")}m$("");var XN=function(t,e){return XN=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},XN(t,e)};function eM(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");XN(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}var X2=function(){return X2=Object.assign||function(e){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},X2.apply(this,arguments)};function mA(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 tM(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var o=t.length-1;o>=0;o--)(s=t[o])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a}function rM(t,e){return function(r,n){e(r,n,t)}}function nM(t,e,r,n,i,a){function s(v){if(v!==void 0&&typeof v!="function")throw new TypeError("Function expected");return v}for(var o=n.kind,c=o==="getter"?"get":o==="setter"?"set":"value",A=!e&&t?n.static?t:t.prototype:null,u=e||(A?Object.getOwnPropertyDescriptor(A,n.name):{}),d,f=!1,h=r.length-1;h>=0;h--){var m={};for(var p in n)m[p]=p==="access"?{}:n[p];for(var p in n.access)m.access[p]=n.access[p];m.addInitializer=function(v){if(f)throw new TypeError("Cannot add initializers after decoration has completed");a.push(s(v||null))};var x=(0,r[h])(o==="accessor"?{get:u.get,set:u.set}:u[c],m);if(o==="accessor"){if(x===void 0)continue;if(x===null||typeof x!="object")throw new TypeError("Object expected");(d=s(x.get))&&(u.get=d),(d=s(x.set))&&(u.set=d),(d=s(x.init))&&i.unshift(d)}else(d=s(x))&&(o==="field"?i.unshift(d):u[c]=d)}A&&Object.defineProperty(A,n.name,u),f=!0}function iM(t,e,r){for(var n=arguments.length>2,i=0;i<e.length;i++)r=n?e[i].call(t,r):e[i].call(t);return n?r:void 0}function aM(t){return typeof t=="symbol"?t:"".concat(t)}function sM(t,e,r){return typeof e=="symbol"&&(e=e.description?"[".concat(e.description,"]"):""),Object.defineProperty(t,"name",{configurable:!0,value:r?"".concat(r," ",e):e})}function oM(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}function Pt(t,e,r,n){function i(a){return a instanceof r?a:new r(function(s){s(a)})}return new(r||(r=Promise))(function(a,s){function o(u){try{A(n.next(u))}catch(d){s(d)}}function c(u){try{A(n.throw(u))}catch(d){s(d)}}function A(u){u.done?a(u.value):i(u.value).then(o,c)}A((n=n.apply(t,e||[])).next())})}function lM(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return s.next=o(0),s.throw=o(1),s.return=o(2),typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(A){return function(u){return c([A,u])}}function c(A){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,A[0]&&(r=0)),r;)try{if(n=1,i&&(a=A[0]&2?i.return:A[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,A[1])).done)return a;switch(i=0,a&&(A=[A[0]&2,a.value]),A[0]){case 0:case 1:a=A;break;case 4:return r.label++,{value:A[1],done:!1};case 5:r.label++,i=A[1],A=[0];continue;case 7:A=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(A[0]===6||A[0]===2)){r=0;continue}if(A[0]===3&&(!a||A[1]>a[0]&&A[1]<a[3])){r.label=A[1];break}if(A[0]===6&&r.label<a[1]){r.label=a[1],a=A;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(A);break}a[2]&&r.ops.pop(),r.trys.pop();continue}A=e.call(t,r)}catch(u){A=[6,u],i=0}finally{n=a=0}if(A[0]&5)throw A[1];return{value:A[0]?A[1]:void 0,done:!0}}}var TC=Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]};function cM(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&TC(e,t,r)}function Y2(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function qF(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,a=[],s;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)a.push(i.value)}catch(o){s={error:o}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(s)throw s.error}}return a}function AM(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(qF(arguments[e]));return t}function uM(){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 a=arguments[e],s=0,o=a.length;s<o;s++,i++)n[i]=a[s];return n}function dM(t,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,a;n<i;n++)(a||!(n in e))&&(a||(a=Array.prototype.slice.call(e,0,n)),a[n]=e[n]);return t.concat(a||Array.prototype.slice.call(e))}function op(t){return this instanceof op?(this.v=t,this):new op(t)}function hM(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),i,a=[];return i=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),o("next"),o("throw"),o("return",s),i[Symbol.asyncIterator]=function(){return this},i;function s(h){return function(m){return Promise.resolve(m).then(
vendor: 4,326 bytes, line 532
532h,d)}}function o(h,m){n[h]&&(i[h]=function(p){return new Promise(function(x,v){a.push([h,p,x,v])>1||c(h,p)})},m&&(i[h]=m(i[h])))}function c(h,m){try{A(n[h](m))}catch(p){f(a[0][3],p)}}function A(h){h.value instanceof op?Promise.resolve(h.value.v).then(u,d):f(a[0][2],h)}function u(h){c("next",h)}function d(h){c("throw",h)}function f(h,m){h(m),a.shift(),a.length&&c(a[0][0],a[0][1])}}function fM(t){var e,r;return e={},n("next"),n("throw",function(i){throw i}),n("return"),e[Symbol.iterator]=function(){return this},e;function n(i,a){e[i]=t[i]?function(s){return(r=!r)?{value:op(t[i](s)),done:!1}:a?a(s):s}:a}}function pM(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof Y2=="function"?Y2(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(a){r[a]=t[a]&&function(s){return new Promise(function(o,c){s=t[a](s),i(o,c,s.done,s.value)})}}function i(a,s,o,c){Promise.resolve(c).then(function(A){a({value:A,done:o})},s)}}function mM(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}var g$=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},YN=function(t){return YN=Object.getOwnPropertyNames||function(e){var r=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(r[r.length]=n);return r},YN(t)};function gM(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r=YN(t),n=0;n<r.length;n++)r[n]!=="default"&&TC(e,t,r[n]);return g$(e,t),e}function vM(t){return t&&t.__esModule?t:{default:t}}function xM(t,e,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?t!==e||!n:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(t):n?n.value:e.get(t)}function yM(t,e,r,n,i){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?t!==e||!i:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?i.call(t,r):i?i.value=r:e.set(t,r),r}function wM(t,e){if(e===null||typeof e!="object"&&typeof e!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof t=="function"?e===t:t.has(e)}function bM(t,e,r){if(e!=null){if(typeof e!="object"&&typeof e!="function")throw new TypeError("Object expected.");var n,i;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=e[Symbol.asyncDispose]}if(n===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=e[Symbol.dispose],r&&(i=n)}if(typeof n!="function")throw new TypeError("Object not disposable.");i&&(n=function(){try{i.call(this)}catch(a){return Promise.reject(a)}}),t.stack.push({value:e,dispose:n,async:r})}else r&&t.stack.push({async:!0});return e}var v$=typeof SuppressedError=="function"?SuppressedError:function(t,e,r){var n=new Error(r);return n.name="SuppressedError",n.error=t,n.suppressed=e,n};function CM(t){function e(a){t.error=t.hasError?new v$(a,t.error,"An error was suppressed during disposal."):a,t.hasError=!0}var r,n=0;function i(){for(;r=t.stack.pop();)try{if(!r.async&&n===1)return n=0,t.stack.push(r),Promise.resolve().then(i);if(r.dispose){var a=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(a).then(i,function(s){return e(s),i()})}else n|=1}catch(s){e(s)}if(n===1)return t.hasError?Promise.reject(t.error):Promise.resolve();if(t.hasError)throw t.error}return i()}function BM(t,e){return typeof t=="string"&&/^\.\.?\//.test(t)?t.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(r,n,i,a,s){return n?e?".jsx":".js":i&&(!a||!s)?r:i+a+"."+s.toLowerCase()+"js"}):t}const x$={__extends:eM,__assign:X2,__rest:mA,__decorate:tM,__param:rM,__esDecorate:nM,__runInitializers:iM,__propKey:aM,__setFunctionName:sM,__metadata:oM,__awaiter:Pt,__generator:lM,__createBinding:TC,__exportStar:cM,__values:Y2,__read:qF,__spread:AM,__spreadArrays:uM,__spreadArray:dM,__await:op,__asyncGenerator:hM,__asyncDelegator:fM,__asyncValues:pM,__makeTemplateOb
532ject:mM,__importStar:gM,__importDefault:vM,__classPrivateFieldGet:xM,__classPrivateFieldSet:yM,__classPrivateFieldIn:wM,__addDisposableResource:bM,__disposeResources:CM,__rewriteRelativeImportExtension:BM},y$=Object.freeze(Object.defineProperty({__proto__:null,__addDisposableResource:bM,get __assign(){return X2},__asyncDelegator:fM,__asyncGenerator:hM,__asyncValues:pM,__await:op,__awaiter:Pt,__classPrivateFieldGet:xM,__classPrivateFieldIn:wM,__classPrivateFieldSet:yM,__createBinding:TC,__decorate:tM,__disposeResources:CM,__esDecorate:nM,__exportStar:cM,__extends:eM,__generator:lM,__importDefault:vM,__importStar:gM,__makeTemplateObject:mM,__metadata:oM,__param:rM,__propKey:aM,__read:qF,__rest:mA,__rewriteRelativeImportExtension:BM,__runInitializers:iM,__setFunctionName:sM,__spread:AM,__spreadArray:dM,__spreadArrays:uM,__values:Y2,default:x$},Symbol.toStringTag,{value:"Module"}));function EM(){return{"dependent-sdk-initialized-before-auth":"Another Firebase SDK was initialized and is trying to use Auth before Auth is initialized. Please be sure to call `initializeAuth` or `getAuth` before starting any other Firebase SDK."}}const w$=EM,NM=new _1("auth","Firebase",EM());/** 533 * @license 534 * Copyright 2020 Google LLC 535 * 536 * Licensed under the Apache License, Version 2.0 (the "License"); 537 * you may not use this file except in compliance with the License. 538 * You may obtain a copy of the License at 539 * 540 * http://www.apache.org/licenses/LICENSE-2.0 541 * 542 * Unless required by applicable law or agreed to in writing, software 543 * distributed under the License is distributed on an "AS IS" BASIS, 544 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 545 * See the License for the specific language governing permissions and 546 * limitations under the License. 547 */const Z2=new VF("@firebase/auth");function b$(t,...e){Z2.logLevel<=An.WARN&&Z2.warn(`Auth (${Uh}): ${t}`,...e)}function Vw(t,...e){Z2.logLevel<=An.ERROR&&Z2.error(`Auth (${Uh}): ${t}`,...e)}/** 548 * @license 549 * Copyright 2020 Google LLC 550 * 551 * Licensed under the Apache License, Version 2.0 (the "License"); 552 * you may not use this file except in compliance with the License. 553 * You may obtain a copy of the License at 554 * 555 * http://www.apache.org/licenses/LICENSE-2.0 556 * 557 * Unless required by applicable law or agreed to in writing, software 558 * distributed under the License is distributed on an "AS IS" BASIS, 559 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 560 * See the License for the specific language governing permissions and 561 * limitations under the License. 562 */function jl(t,...e){throw GF(t,...e)}function sc(t,...e){return GF(t,...e)}function SM(t,e,r){const n=Object.assign(Object.assign({},w$()),{[e]:r});return new _1("auth","Firebase",n).create(e,{appName:t.name})}function Pu(t){return SM(t,"operation-not-supported-in-this-environment","Operations that alter the current user are not supported in conjunction with FirebaseServerApp")}function GF(t,...e){if(typeof t!="string"){const r=e[0],n=[...e.slice(1)];return n[0]&&(n[0].appName=t.name),t._errorFactory.create(r,...n)}return NM.create(t,...e)}function Xt(t,e,...r){if(!t)throw GF(e,...r)}function zc(t){const e="INTERNAL ASSERTION FAILED: "+t;throw Vw(e),new Error(e)}function oA(t,e){t||zc(e)}/** 563 * @license 564 * Copyright 2020 Google LLC 565 * 566 * Licensed under the Apache License, Version 2.0 (the "License"); 567 * you may not use this file except in compliance with the License. 568 * You may obtain a copy of the License at 569 * 570 * http://www.apache.org/licenses/LICENSE-2.0 571 * 572 * Unless required by applicable law or agreed to in writing, software 573 * distributed under the License is distributed on an "AS IS" BASIS, 574 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 575 * See the License for the specific language governing permissions and 576 * limitations under the License. 577 */function ZN(){var t;return typeof self<"u"&&((t=self.location)===null||t===void 0?void 0:t.href)||""}function C$(){return mk()==="http:"||mk()==="https:"}function mk(){var t;return typeof self<"u"&&((t=self.location)===null||t===void 0?void 0:t.protocol)||null}/** 578 * @license 579 * Copyright 2020 Google LLC 580 * 581 * Licensed under the Apache License, Version 2.0 (the "License");
582 * you may not use this file except in compliance with the License. 583 * You may obtain a copy of the License at 584 * 585 * http://www.apache.org/licenses/LICENSE-2.0 586 * 587 * Unless required by applicable law or agreed to in writing, software 588 * distributed under the License is distributed on an "AS IS" BASIS, 589 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 590 * See the License for the specific language governing permissions and 591 * limitations under the License. 592 */function B$(){return typeof navigator<"u"&&navigator&&"onLine"in navigator&&typeof navigator.onLine=="boolean"&&(C$()||XY()||"connection"in navigator)?navigator.onLine:!0}function E$(){if(typeof navigator>"u")return null;const t=navigator;return t.languages&&t.languages[0]||t.language||null}/** 593 * @license 594 * Copyright 2020 Google LLC 595 * 596 * Licensed under the Apache License, Version 2.0 (the "License"); 597 * you may not use this file except in compliance with the License. 598 * You may obtain a copy of the License at 599 * 600 * http://www.apache.org/licenses/LICENSE-2.0 601 * 602 * Unless required by applicable law or agreed to in writing, software 603 * distributed under the License is distributed on an "AS IS" BASIS, 604 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 605 * See the License for the specific language governing permissions and 606 * limitations under the License. 607 */class F1{constructor(e,r){this.shortDelay=e,this.longDelay=r,oA(r>e,"Short delay should be less than long delay!"),this.isMobile=HF()||KL()}get(){return B$()?this.isMobile?this.longDelay:this.shortDelay:Math.min(5e3,this.shortDelay)}}/** 608 * @license 609 * Copyright 2020 Google LLC 610 * 611 * Licensed under the Apache License, Version 2.0 (the "License"); 612 * you may not use this file except in compliance with the License. 613 * You may obtain a copy of the License at 614 * 615 * http://www.apache.org/licenses/LICENSE-2.0 616 * 617 * Unless required by applicable law or agreed to in writing, software 618 * distributed under the License is distributed on an "AS IS" BASIS, 619 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 620 * See the License for the specific language governing permissions and 621 * limitations under the License. 622 */function JF(t,e){oA(t.emulator,"Emulator should always be set here");const{url:r}=t.emulator;return e?`${r}${e.startsWith("/")?e.slice(1):e}`:r}/** 623 * @license 624 * Copyright 2020 Google LLC 625 * 626 * Licensed under the Apache License, Version 2.0 (the "License"); 627 * you may not use this file except in compliance with the License. 628 * You may obtain a copy of the License at 629 * 630 * http://www.apache.org/licenses/LICENSE-2.0 631 * 632 * Unless required by applicable law or agreed to in writing, software 633 * distributed under the License is distributed on an "AS IS" BASIS, 634 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 635 * See the License for the specific language governing permissions and 636 * limitations under the License. 637 */class _M{static initialize(e,r,n){this.fetchImpl=e,r&&(this.headersImpl=r),n&&(this.responseImpl=n)}static fetch(){if(this.fetchImpl)return this.fetchImpl;if(typeof self<"u"&&"fetch"in self)return self.fetch;if(typeof globalThis<"u"&&globalThis.fetch)return globalThis.fetch;if(typeof fetch<"u")return fetch;zc("Could not find fetch implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill")}static headers(){if(this.headersImpl)return this.headersImpl;if(typeof self<"u"&&"Headers"in self)return self.Headers;if(typeof globalThis<"u"&&globalThis.Headers)return globalThis.Headers;if(typeof Headers<"u")return Headers;zc("Could not find Headers implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill")}static response(){if(this.responseImpl)return this.responseImpl;if(typeof self<"u"&&"Response"in self)return self.Response;if(typeof globalThis<"u"&&globalThis.Response)return globalThis.Response;if(typeof Response<"u")return Response;zc("Could not find Response implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill")}}/** 638 * @license 639 * Copyright 2020 Google LLC 640 * 641 * Licensed under the Apache License, Version 2.0 (the "License");
642 * you may not use this file except in compliance with the License. 643 * You may obtain a copy of the License at 644 * 645 * http://www.apache.org/licenses/LICENSE-2.0 646 * 647 * Unless required by applicable law or agreed to in writing, software 648 * distributed under the License is distributed on an "AS IS" BASIS, 649 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 650 * See the License for the specific language governing permissions and 651 * limitations under the License. 652 */const N$={CREDENTIAL_MISMATCH:"custom-token-mismatch",MISSING_CUSTOM_TOKEN:"internal-error",INVALID_IDENTIFIER:"invalid-email",MISSING_CONTINUE_URI:"internal-error",INVALID_PASSWORD:"wrong-password",MISSING_PASSWORD:"missing-password",INVALID_LOGIN_CREDENTIALS:"invalid-credential",EMAIL_EXISTS:"email-already-in-use",PASSWORD_LOGIN_DISABLED:"operation-not-allowed",INVALID_IDP_RESPONSE:"invalid-credential",INVALID_PENDING_TOKEN:"invalid-credential",FEDERATED_USER_ID_ALREADY_LINKED:"credential-already-in-use",MISSING_REQ_TYPE:"internal-error",EMAIL_NOT_FOUND:"user-not-found",RESET_PASSWORD_EXCEED_LIMIT:"too-many-requests",EXPIRED_OOB_CODE:"expired-action-code",INVALID_OOB_CODE:"invalid-action-code",MISSING_OOB_CODE:"internal-error",CREDENTIAL_TOO_OLD_LOGIN_AGAIN:"requires-recent-login",INVALID_ID_TOKEN:"invalid-user-token",TOKEN_EXPIRED:"user-token-expired",USER_NOT_FOUND:"user-token-expired",TOO_MANY_ATTEMPTS_TRY_LATER:"too-many-requests",PASSWORD_DOES_NOT_MEET_REQUIREMENTS:"password-does-not-meet-requirements",INVALID_CODE:"invalid-verification-code",INVALID_SESSION_INFO:"invalid-verification-id",INVALID_TEMPORARY_PROOF:"invalid-credential",MISSING_SESSION_INFO:"missing-verification-id",SESSION_EXPIRED:"code-expired",MISSING_ANDROID_PACKAGE_NAME:"missing-android-pkg-name",UNAUTHORIZED_DOMAIN:"unauthorized-continue-uri",INVALID_OAUTH_CLIENT_ID:"invalid-oauth-client-id",ADMIN_ONLY_OPERATION:"admin-restricted-operation",INVALID_MFA_PENDING_CREDENTIAL:"invalid-multi-factor-session",MFA_ENROLLMENT_NOT_FOUND:"multi-factor-info-not-found",MISSING_MFA_ENROLLMENT_ID:"missing-multi-factor-info",MISSING_MFA_PENDING_CREDENTIAL:"missing-multi-factor-session",SECOND_FACTOR_EXISTS:"second-factor-already-in-use",SECOND_FACTOR_LIMIT_EXCEEDED:"maximum-second-factor-count-exceeded",BLOCKING_FUNCTION_ERROR_RESPONSE:"internal-error",RECAPTCHA_NOT_ENABLED:"recaptcha-not-enabled",MISSING_RECAPTCHA_TOKEN:"missing-recaptcha-token",INVALID_RECAPTCHA_TOKEN:"invalid-recaptcha-token",INVALID_RECAPTCHA_ACTION:"invalid-recaptcha-action",MISSING_CLIENT_TYPE:"missing-client-type",MISSING_RECAPTCHA_VERSION:"missing-recaptcha-version",INVALID_RECAPTCHA_VERSION:"invalid-recaptcha-version",INVALID_REQ_TYPE:"invalid-req-type"};/** 653 * @license 654 * Copyright 2020 Google LLC 655 * 656 * Licensed under the Apache License, Version 2.0 (the "License"); 657 * you may not use this file except in compliance with the License. 658 * You may obtain a copy of the License at 659 * 660 * http://www.apache.org/licenses/LICENSE-2.0 661 * 662 * Unless required by applicable law or agreed to in writing, software 663 * distributed under the License is distributed on an "AS IS" BASIS, 664 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 665 * See the License for the specific language governing permissions and 666 * limitations under the License. 667 */const S$=new F1(3e4,6e4);function Lh(t,e){return t.tenantId&&!e.tenantId?Object.assign(Object.assign({},e),{tenantId:t.tenantId}):e}async function dd(t,e,r,n,i={}){return FM(t,i,async()=>{let a={},s={};n&&(e==="GET"?s=n:a={body:JSON.stringify(n)});const o=Bp(Object.assign({key:t.config.apiKey},s)).slice(1),c=await t._getAdditionalHeaders();c["Content-Type"]="application/json",t.languageCode&&(c["X-Firebase-Locale"]=t.languageCode);const A=Object.assign({method:e,headers:c},a);return JY()||(A.referrerPolicy="no-referrer"),_M.fetch()(TM(t,t.config.apiHost,r,o),A)})}async function FM(t,e,r){t._canInitEmulator=!1;const n=Object.assign(Object.assign({},N$),e);try{const i=new F$(t),a=await Promise.race([r(),i.promise]);i.clearNetworkTimeout();const s=await a.json();if("needConfirmation"in s)throw hy(t,"account-exists-with-different-credential",s);if(a.ok&&!("errorMessage"in s))return s;{const o=a.ok?s.errorMessage:s.error.message,[c,A]=o.split(" : ");if(c==="FEDERATED_USER_ID_ALREADY_LINKED")throw hy(t,"credential-already-in-use",s);if(c==="EMAIL_EXISTS")throw hy(t,"email-already-in-use",s);if(c==="USER_DISABLED")throw hy(t,"user-disabled",s);const u=n[c]||c.toLowerCase().replace(/[_\s]+/g,"-");if(A)throw SM(t,u,A);jl(t,u)}}catch(i){if(i instanceof pA)throw i;jl(t,"network-request-failed",{message:String(i)})}}async function jC(t,e,r,n,i={}){const a=await dd(t,e,r,n,i);return"mfaPendingCredential"in a&&jl(t,"multi-factor-auth-required",{_serverResponse:a}),a}function TM(t,e,r,n){const i=`${e}${r}?${n}`;return t.config.emulator?JF(t.config,i):`${t.config.apiScheme}://${i}`}function _$(t){switch(t){case"ENFORCE":return"ENFORCE";case"AUDIT":return"AUDIT";case"OFF":return"OFF";default:return"ENFORCEMENT_STATE_UNSPECIFIED"}}class F${constructor(e){this.auth=e,this.timer=null,this.promise=new Promise((r,n)=>{this.timer=setTimeout(()=>n(sc(this.auth,"network-request-failed")),S$.get())})}clearNetworkTimeout(){clearTimeout(this.timer)}}function hy(t,e,r){const n={appName:t.name};r.email&&(n.email=r.email),r.phoneNumber&&(n.phoneNumber=r.phoneNumber);const i=sc(t,e,n);return i.customData._tokenResponse=r,i}function gk(t){return t!==void 0&&t.enterprise!==void 0}class T${constructor(e){if(this.siteKey="",this.recaptchaEnforcementState=[],e.recaptchaKey===void 0)throw new Error("recaptchaKey undefined");this.siteKey=e.recaptchaKey.split("/")[3],this.recaptchaEnforcementState=e.recaptchaEnforcementState}getProviderEnforcementState(e){if(!this.recaptchaEnforcementState||this.recaptchaEnforcementState.length===0)return null;for(const r of this.recaptchaEnforcementState)if(r.provider&&r.provider===e)return _$(r.enforcementState);return null}isProviderEnabled(e){return this.getProviderEnforcementState(e)==="ENFORCE"||this.getProviderEnforcementState(e)==="AUDIT"}}
667async function j$(t,e){return dd(t,"GET","/v2/recaptchaConfig",Lh(t,e))}/** 668 * @license 669 * Copyright 2020 Google LLC 670 * 671 * Licensed under the Apache License, Version 2.0 (the "License"); 672 * you may not use this file except in compliance with the License. 673 * You may obtain a copy of the License at 674 * 675 * http://www.apache.org/licenses/LICENSE-2.0 676 * 677 * Unless required by applicable law or agreed to in writing, software 678 * distributed under the License is distributed on an "AS IS" BASIS, 679 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 680 * See the License for the specific language governing permissions and 681 * limitations under the License. 682 */async function I$(t,e){return dd(t,"POST","/v1/accounts:delete",e)}async function jM(t,e){return dd(t,"POST","/v1/accounts:lookup",e)}/** 683 * @license 684 * Copyright 2020 Google LLC 685 * 686 * Licensed under the Apache License, Version 2.0 (the "License"); 687 * you may not use this file except in compliance with the License. 688 * You may obtain a copy of the License at 689 * 690 * http://www.apache.org/licenses/LICENSE-2.0 691 * 692 * Unless required by applicable law or agreed to in writing, software 693 * distributed under the License is distributed on an "AS IS" BASIS, 694 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 695 * See the License for the specific language governing permissions and 696 * limitations under the License. 697 */function kg(t){if(t)try{const e=new Date(Number(t));if(!isNaN(e.getTime()))return e.toUTCString()}catch{}}async function k$(t,e=!1){const r=ei(t),n=await r.getIdToken(e),i=XF(n);Xt(i&&i.exp&&i.auth_time&&i.iat,r.auth,"internal-error");const a=typeof i.firebase=="object"?i.firebase:void 0,s=a==null?void 0:a.sign_in_provider;return{claims:i,token:n,authTime:kg(pE(i.auth_time)),issuedAtTime:kg(pE(i.iat)),expirationTime:kg(pE(i.exp)),signInProvider:s||null,signInSecondFactor:(a==null?void 0:a.sign_in_second_factor)||null}}function pE(t){return Number(t)*1e3}function XF(t){const[e,r,n]=t.split(".");if(e===void 0||r===void 0||n===void 0)return Vw("JWT malformed, contained fewer than 3 sections"),null;try{const i=K2(r);return i?JSON.parse(i):(Vw("Failed to decode base64 JWT payload"),null)}catch(i){return Vw("Caught error parsing JWT payload as JSON",i==null?void 0:i.toString()),null}}function vk(t){const e=XF(t);return Xt(e,"internal-error"),Xt(typeof e.exp<"u","internal-error"),Xt(typeof e.iat<"u","internal-error"),Number(e.exp)-Number(e.iat)}/** 698 * @license 699 * Copyright 2020 Google LLC 700 * 701 * Licensed under the Apache License, Version 2.0 (the "License"); 702 * you may not use this file except in compliance with the License. 703 * You may obtain a copy of the License at 704 * 705 * http://www.apache.org/licenses/LICENSE-2.0 706 * 707 * Unless required by applicable law or agreed to in writing, software 708 * distributed under the License is distributed on an "AS IS" BASIS, 709 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 710 * See the License for the specific language governing permissions and 711 * limitations under the License. 712 */async function Ov(t,e,r=!1){if(r)return e;try{return await e}catch(n){throw n instanceof pA&&P$(n)&&t.auth.currentUser===t&&await t.auth.signOut(),n}}function P$({code:t}){return t==="auth/user-disabled"||t==="auth/user-token-expired"}/** 713 * @license 714 * Copyright 2020 Google LLC 715 * 716 * Licensed under the Apache License, Version 2.0 (the "License"); 717 * you may not use this file except in compliance with the License. 718 * You may obtain a copy of the License at 719 * 720 * http://www.apache.org/licenses/LICENSE-2.0 721 * 722 * Unless required by applicable law or agreed to in writing, software 723 * distributed under the License is distributed on an "AS IS" BASIS, 724 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 725 * See the License for the specific language governing permissions and 726 * limitations under the License. 727 */class D${constructor(e){this.user=e,this.isRunning=!1,this.timerId=null,this.errorBackoff=3e4}_start(){this.isRunning||(this.isRunning=!0,this.schedule())}_stop(){this.isRunning&&(this.isRunning=!1,this.timerId!==null&&clearTimeout(this.timerId))}getInterval(e){var r;if(e){const n=this.errorBackoff;return this.errorBackoff=Math.min(this.errorBackoff*2,96e4),n}else{this.errorBackoff=3e4;const i=((r=this.user.stsTokenManager.expirationTime)!==null&&r!==void 0?r:0)-Date.now()-3e5;return Math.max(0,i)}}schedule(e=!1){if(!this.isRunning)return;const r=this.getInterval(e);this.timerId=setTimeout(async()=>{await this.iteration()},r)}async iteration(){try{await this.user.getIdToken(!0)}catch(e){(e==null?void 0:e.code)==="auth/network-request-failed"&&this.schedule(!0);return}this.schedule()}}/** 728 * @license 729 * Copyright 2020 Google LLC 730 * 731 * Licensed under the Apache License, Version 2.0 (the "License");
732 * you may not use this file except in compliance with the License. 733 * You may obtain a copy of the License at 734 * 735 * http://www.apache.org/licenses/LICENSE-2.0 736 * 737 * Unless required by applicable law or agreed to in writing, software 738 * distributed under the License is distributed on an "AS IS" BASIS, 739 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 740 * See the License for the specific language governing permissions and 741 * limitations under the License. 742 */class $N{constructor(e,r){this.createdAt=e,this.lastLoginAt=r,this._initializeTime()}_initializeTime(){this.lastSignInTime=kg(this.lastLoginAt),this.creationTime=kg(this.createdAt)}_copy(e){this.createdAt=e.createdAt,this.lastLoginAt=e.lastLoginAt,this._initializeTime()}toJSON(){return{createdAt:this.createdAt,lastLoginAt:this.lastLoginAt}}}/** 743 * @license 744 * Copyright 2019 Google LLC 745 * 746 * Licensed under the Apache License, Version 2.0 (the "License"); 747 * you may not use this file except in compliance with the License. 748 * You may obtain a copy of the License at 749 * 750 * http://www.apache.org/licenses/LICENSE-2.0 751 * 752 * Unless required by applicable law or agreed to in writing, software 753 * distributed under the License is distributed on an "AS IS" BASIS, 754 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 755 * See the License for the specific language governing permissions and 756 * limitations under the License. 757 */async function $2(t){var e;const r=t.auth,n=await t.getIdToken(),i=await Ov(t,jM(r,{idToken:n}));Xt(i==null?void 0:i.users.length,r,"internal-error");const a=i.users[0];t._notifyReloadListener(a);const s=!((e=a.providerUserInfo)===null||e===void 0)&&e.length?IM(a.providerUserInfo):[],o=R$(t.providerData,s),c=t.isAnonymous,A=!(t.email&&a.passwordHash)&&!(o!=null&&o.length),u=c?A:!1,d={uid:a.localId,displayName:a.displayName||null,photoURL:a.photoUrl||null,email:a.email||null,emailVerified:a.emailVerified||!1,phoneNumber:a.phoneNumber||null,tenantId:a.tenantId||null,providerData:o,metadata:new $N(a.createdAt,a.lastLoginAt),isAnonymous:u};Object.assign(t,d)}async function O$(t){const e=ei(t);await $2(e),await e.auth._persistUserIfCurrent(e),e.auth._notifyListenersIfCurrent(e)}function R$(t,e){return[...t.filter(n=>!e.some(i=>i.providerId===n.providerId)),...e]}function IM(t){return t.map(e=>{var{providerId:r}=e,n=mA(e,["providerId"]);return{providerId:r,uid:n.rawId||"",displayName:n.displayName||null,email:n.email||null,phoneNumber:n.phoneNumber||null,photoURL:n.photoUrl||null}})}/** 758 * @license 759 * Copyright 2020 Google LLC 760 * 761 * Licensed under the Apache License, Version 2.0 (the "License"); 762 * you may not use this file except in compliance with the License. 763 * You may obtain a copy of the License at 764 * 765 * http://www.apache.org/licenses/LICENSE-2.0 766 * 767 * Unless required by applicable law or agreed to in writing, software 768 * distributed under the License is distributed on an "AS IS" BASIS, 769 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 770 * See the License for the specific language governing permissions and 771 * limitations under the License. 772 */async function U$(t,e){const r=await FM(t,{},async()=>{const n=Bp({grant_type:"refresh_token",refresh_token:e}).slice(1),{tokenApiHost:i,apiKey:a}=t.config,s=TM(t,i,"/v1/token",`key=${a}`),o=await t._getAdditionalHeaders();return o["Content-Type"]="application/x-www-form-urlencoded",_M.fetch()(s,{method:"POST",headers:o,body:n})});return{accessToken:r.access_token,expiresIn:r.expires_in,refreshToken:r.refresh_token}}async function L$(t,e){return dd(t,"POST","/v2/accounts:revokeToken",Lh(t,e))}/** 773 * @license 774 * Copyright 2020 Google LLC 775 * 776 * Licensed under the Apache License, Version 2.0 (the "License"); 777 * you may not use this file except in compliance with the License. 778 * You may obtain a copy of the License at 779 * 780 * http://www.apache.org/licenses/LICENSE-2.0 781 * 782 * Unless required by applicable law or agreed to in writing, software 783 * distributed under the License is distributed on an "AS IS" BASIS, 784 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 785 * See the License for the specific language governing permissions and 786 * limitations under the License. 787 */class j0{constructor(){this.refreshToken=null,this.accessToken=null,this.expirationTime=null}get isExpired(){return!this.expirationTime||Date.now()>this.expirationTime-3e4}updateFromServerResponse(e){Xt(e.idToken,"internal-error"),Xt(typeof e.idToken<"u","internal-error"),Xt(typeof e.refreshToken<"u","internal-error");
787const r="expiresIn"in e&&typeof e.expiresIn<"u"?Number(e.expiresIn):vk(e.idToken);this.updateTokensAndExpiration(e.idToken,e.refreshToken,r)}updateFromIdToken(e){Xt(e.length!==0,"internal-error");const r=vk(e);this.updateTokensAndExpiration(e,null,r)}async getToken(e,r=!1){return!r&&this.accessToken&&!this.isExpired?this.accessToken:(Xt(this.refreshToken,e,"user-token-expired"),this.refreshToken?(await this.refresh(e,this.refreshToken),this.accessToken):null)}clearRefreshToken(){this.refreshToken=null}async refresh(e,r){const{accessToken:n,refreshToken:i,expiresIn:a}=await U$(e,r);this.updateTokensAndExpiration(n,i,Number(a))}updateTokensAndExpiration(e,r,n){this.refreshToken=r||null,this.accessToken=e||null,this.expirationTime=Date.now()+n*1e3}static fromJSON(e,r){const{refreshToken:n,accessToken:i,expirationTime:a}=r,s=new j0;return n&&(Xt(typeof n=="string","internal-error",{appName:e}),s.refreshToken=n),i&&(Xt(typeof i=="string","internal-error",{appName:e}),s.accessToken=i),a&&(Xt(typeof a=="number","internal-error",{appName:e}),s.expirationTime=a),s}toJSON(){return{refreshToken:this.refreshToken,accessToken:this.accessToken,expirationTime:this.expirationTime}}_assign(e){this.accessToken=e.accessToken,this.refreshToken=e.refreshToken,this.expirationTime=e.expirationTime}_clone(){return Object.assign(new j0,this.toJSON())}_performRefresh(){return zc("not implemented")}}/** 788 * @license 789 * Copyright 2020 Google LLC 790 * 791 * Licensed under the Apache License, Version 2.0 (the "License"); 792 * you may not use this file except in compliance with the License. 793 * You may obtain a copy of the License at 794 * 795 * http://www.apache.org/licenses/LICENSE-2.0 796 * 797 * Unless required by applicable law or agreed to in writing, software 798 * distributed under the License is distributed on an "AS IS" BASIS, 799 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 800 * See the License for the specific language governing permissions and 801 * limitations under the License. 802 */function RA(t,e){Xt(typeof t=="string"||typeof t>"u","internal-error",{appName:e})}class Vc{constructor(e){var{uid:r,auth:n,stsTokenManager:i}=e,a=mA(e,["uid","auth","stsTokenManager"]);this.providerId="firebase",this.proactiveRefresh=new D$(this),this.reloadUserInfo=null,this.reloadListener=null,this.uid=r,this.auth=n,this.stsTokenManager=i,this.accessToken=i.accessToken,this.displayName=a.displayName||null,this.email=a.email||null,this.emailVerified=a.emailVerified||!1,this.phoneNumber=a.phoneNumber||null,this.photoURL=a.photoURL||null,this.isAnonymous=a.isAnonymous||!1,this.tenantId=a.tenantId||null,this.providerData=a.providerData?[...a.providerData]:[],this.metadata=new $N(a.createdAt||void 0,a.lastLoginAt||void 0)}async getIdToken(e){const r=await Ov(this,this.stsTokenManager.getToken(this.auth,e));return Xt(r,this.auth,"internal-error"),this.accessToken!==r&&(this.accessToken=r,await this.auth._persistUserIfCurrent(this),this.auth._notifyListenersIfCurrent(this)),r}getIdTokenResult(e){return k$(this,e)}reload(){return O$(this)}_assign(e){this!==e&&(Xt(this.uid===e.uid,this.auth,"internal-error"),this.displayName=e.displayName,this.photoURL=e.photoURL,this.email=e.email,this.emailVerified=e.emailVerified,this.phoneNumber=e.phoneNumber,this.isAnonymous=e.isAnonymous,this.tenantId=e.tenantId,this.providerData=e.providerData.map(r=>Object.assign({},r)),this.metadata._copy(e.metadata),this.stsTokenManager._assign(e.stsTokenManager))}_clone(e){const r=new Vc(Object.assign(Object.assign({},this),{auth:e,stsTokenManager:this.stsTokenManager._clone()}));return r.metadata._copy(this.metadata),r}_onReload(e){Xt(!this.reloadListener,this.auth,"internal-error"),this.reloadListener=e,this.reloadUserInfo&&(this._notifyReloadListener(this.reloadUserInfo),this.reloadUserInfo=null)}_notifyReloadListener(e){this.reloadListener?this.reloadListener(e):this.reloadUserInfo=e}_startProactiveRefresh(){this.proactiveRefresh._start()}_stopProactiveRefresh(){this.proactiveRefresh._stop()}async _updateTokensIfNecessary(e,r=!1){let n=!1;e.idToken&&e.idToken!==this.stsTokenManager.accessToken&&(this.stsTokenManager.updateFromServerResponse(e),n=!0),r&&await $2(this),await this.auth._persistUserIfCurrent(this),n&&this.auth._notifyListenersIfCurrent(this)}async delete(){if(Hc(this.auth.app))return Promise.reject(Pu(this.auth));const e=await this.getIdToken();return await Ov(this,I$(this.auth,{idToken:e})),this.stsTokenManager.clearRefreshToken(),this.auth.signOut()}toJSON(){return Object.assign(Object.assign({uid:this.uid,email:this.email||void 0,emailVerified:this.emailVerified,displayName:this.displayName||void 0,isA
802nonymous:this.isAnonymous,photoURL:this.photoURL||void 0,phoneNumber:this.phoneNumber||void 0,tenantId:this.tenantId||void 0,providerData:this.providerData.map(e=>Object.assign({},e)),stsTokenManager:this.stsTokenManager.toJSON(),_redirectEventId:this._redirectEventId},this.metadata.toJSON()),{apiKey:this.auth.config.apiKey,appName:this.auth.name})}get refreshToken(){return this.stsTokenManager.refreshToken||""}static _fromJSON(e,r){var n,i,a,s,o,c,A,u;const d=(n=r.displayName)!==null&&n!==void 0?n:void 0,f=(i=r.email)!==null&&i!==void 0?i:void 0,h=(a=r.phoneNumber)!==null&&a!==void 0?a:void 0,m=(s=r.photoURL)!==null&&s!==void 0?s:void 0,p=(o=r.tenantId)!==null&&o!==void 0?o:void 0,x=(c=r._redirectEventId)!==null&&c!==void 0?c:void 0,v=(A=r.createdAt)!==null&&A!==void 0?A:void 0,y=(u=r.lastLoginAt)!==null&&u!==void 0?u:void 0,{uid:b,emailVerified:E,isAnonymous:S,providerData:I,stsTokenManager:B}=r;Xt(b&&B,e,"internal-error");const _=j0.fromJSON(this.name,B);Xt(typeof b=="string",e,"internal-error"),RA(d,e.name),RA(f,e.name),Xt(typeof E=="boolean",e,"internal-error"),Xt(typeof S=="boolean",e,"internal-error"),RA(h,e.name),RA(m,e.name),RA(p,e.name),RA(x,e.name),RA(v,e.name),RA(y,e.name);const O=new Vc({uid:b,auth:e,email:f,emailVerified:E,displayName:d,isAnonymous:S,photoURL:m,phoneNumber:h,tenantId:p,stsTokenManager:_,createdAt:v,lastLoginAt:y});return I&&Array.isArray(I)&&(O.providerData=I.map(j=>Object.assign({},j))),x&&(O._redirectEventId=x),O}static async _fromIdTokenResponse(e,r,n=!1){const i=new j0;i.updateFromServerResponse(r);const a=new Vc({uid:r.localId,auth:e,stsTokenManager:i,isAnonymous:n});return await $2(a),a}static async _fromGetAccountInfoResponse(e,r,n){const i=r.users[0];Xt(i.localId!==void 0,"internal-error");const a=i.providerUserInfo!==void 0?IM(i.providerUserInfo):[],s=!(i.email&&i.passwordHash)&&!(a!=null&&a.length),o=new j0;o.updateFromIdToken(n);const c=new Vc({uid:i.localId,auth:e,stsTokenManager:o,isAnonymous:s}),A={uid:i.localId,displayName:i.displayName||null,photoURL:i.photoUrl||null,email:i.email||null,emailVerified:i.emailVerified||!1,phoneNumber:i.phoneNumber||null,tenantId:i.tenantId||null,providerData:a,metadata:new $N(i.createdAt,i.lastLoginAt),isAnonymous:!(i.email&&i.passwordHash)&&!(a!=null&&a.length)};return Object.assign(c,A),c}}/** 803 * @license 804 * Copyright 2020 Google LLC 805 * 806 * Licensed under the Apache License, Version 2.0 (the "License"); 807 * you may not use this file except in compliance with the License. 808 * You may obtain a copy of the License at 809 * 810 * http://www.apache.org/licenses/LICENSE-2.0 811 * 812 * Unless required by applicable law or agreed to in writing, software 813 * distributed under the License is distributed on an "AS IS" BASIS, 814 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 815 * See the License for the specific language governing permissions and 816 * limitations under the License. 817 */const xk=new Map;function Wc(t){oA(t instanceof Function,"Expected a class definition");let e=xk.get(t);return e?(oA(e instanceof t,"Instance stored in cache mismatched with class"),e):(e=new t,xk.set(t,e),e)}/** 818 * @license 819 * Copyright 2019 Google LLC 820 * 821 * Licensed under the Apache License, Version 2.0 (the "License"); 822 * you may not use this file except in compliance with the License. 823 * You may obtain a copy of the License at 824 * 825 * http://www.apache.org/licenses/LICENSE-2.0 826 * 827 * Unless required by applicable law or agreed to in writing, software 828 * distributed under the License is distributed on an "AS IS" BASIS, 829 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 830 * See the License for the specific language governing permissions and 831 * limitations under the License. 832 */class kM{constructor(){this.type="NONE",this.storage={}}async _isAvailable(){return!0}async _set(e,r){this.storage[e]=r}async _get(e){const r=this.storage[e];return r===void 0?null:r}async _remove(e){delete this.storage[e]}_addListener(e,r){}_removeListener(e,r){}}kM.type="NONE";const yk=kM;/** 833 * @license 834 * Copyright 2019 Google LLC 835 * 836 * Licensed under the Apache License, Version 2.0 (the "License");
837 * you may not use this file except in compliance with the License. 838 * You may obtain a copy of the License at 839 * 840 * http://www.apache.org/licenses/LICENSE-2.0 841 * 842 * Unless required by applicable law or agreed to in writing, software 843 * distributed under the License is distributed on an "AS IS" BASIS, 844 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 845 * See the License for the specific language governing permissions and 846 * limitations under the License. 847 */function Ww(t,e,r){return`firebase:${t}:${e}:${r}`}class I0{constructor(e,r,n){this.persistence=e,this.auth=r,this.userKey=n;const{config:i,name:a}=this.auth;this.fullUserKey=Ww(this.userKey,i.apiKey,a),this.fullPersistenceKey=Ww("persistence",i.apiKey,a),this.boundEventHandler=r._onStorageEvent.bind(r),this.persistence._addListener(this.fullUserKey,this.boundEventHandler)}setCurrentUser(e){return this.persistence._set(this.fullUserKey,e.toJSON())}async getCurrentUser(){const e=await this.persistence._get(this.fullUserKey);return e?Vc._fromJSON(this.auth,e):null}removeCurrentUser(){return this.persistence._remove(this.fullUserKey)}savePersistenceForRedirect(){return this.persistence._set(this.fullPersistenceKey,this.persistence.type)}async setPersistence(e){if(this.persistence===e)return;const r=await this.getCurrentUser();if(await this.removeCurrentUser(),this.persistence=e,r)return this.setCurrentUser(r)}delete(){this.persistence._removeListener(this.fullUserKey,this.boundEventHandler)}static async create(e,r,n="authUser"){if(!r.length)return new I0(Wc(yk),e,n);const i=(await Promise.all(r.map(async A=>{if(await A._isAvailable())return A}))).filter(A=>A);let a=i[0]||Wc(yk);const s=Ww(n,e.config.apiKey,e.name);let o=null;for(const A of r)try{const u=await A._get(s);if(u){const d=Vc._fromJSON(e,u);A!==a&&(o=d),a=A;break}}catch{}const c=i.filter(A=>A._shouldAllowMigration);return!a._shouldAllowMigration||!c.length?new I0(a,e,n):(a=c[0],o&&await a._set(s,o.toJSON()),await Promise.all(r.map(async A=>{if(A!==a)try{await A._remove(s)}catch{}})),new I0(a,e,n))}}/** 848 * @license 849 * Copyright 2020 Google LLC 850 * 851 * Licensed under the Apache License, Version 2.0 (the "License"); 852 * you may not use this file except in compliance with the License. 853 * You may obtain a copy of the License at 854 * 855 * http://www.apache.org/licenses/LICENSE-2.0 856 * 857 * Unless required by applicable law or agreed to in writing, software 858 * distributed under the License is distributed on an "AS IS" BASIS, 859 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 860 * See the License for the specific language governing permissions and 861 * limitations under the License. 862 */function wk(t){const e=t.toLowerCase();if(e.includes("opera/")||e.includes("opr/")||e.includes("opios/"))return"Opera";if(RM(e))return"IEMobile";if(e.includes("msie")||e.includes("trident/"))return"IE";if(e.includes("edge/"))return"Edge";if(PM(e))return"Firefox";if(e.includes("silk/"))return"Silk";if(LM(e))return"Blackberry";if(MM(e))return"Webos";if(DM(e))return"Safari";if((e.includes("chrome/")||OM(e))&&!e.includes("edge/"))return"Chrome";if(UM(e))return"Android";{const r=/([a-zA-Z\d\.]+)\/[a-zA-Z\d\.]*$/,n=t.match(r);if((n==null?void 0:n.length)===2)return n[1]}return"Other"}function PM(t=os()){return/firefox\//i.test(t)}function DM(t=os()){const e=t.toLowerCase();return e.includes("safari/")&&!e.includes("chrome/")&&!e.includes("crios/")&&!e.includes("android")}function OM(t=os()){return/crios\//i.test(t)}function RM(t=os()){return/iemobile/i.test(t)}function UM(t=os()){return/android/i.test(t)}function LM(t=os()){return/blackberry/i.test(t)}function MM(t=os()){return/webos/i.test(t)}function YF(t=os()){return/iphone|ipad|ipod/i.test(t)||/macintosh/i.test(t)&&/mobile/i.test(t)}function M$(t=os()){var e;return YF(t)&&!!(!((e=window.navigator)===null||e===void 0)&&e.standalone)}function Q$(){return YY()&&document.documentMode===10}function QM(t=os()){return YF(t)||UM(t)||MM(t)||LM(t)||/windows phone/i.test(t)||RM(t)}/** 863 * @license 864 * Copyright 2020 Google LLC 865 * 866 * Licensed under the Apache License, Version 2.0 (the "License");
867 * you may not use this file except in compliance with the License. 868 * You may obtain a copy of the License at 869 * 870 * http://www.apache.org/licenses/LICENSE-2.0 871 * 872 * Unless required by applicable law or agreed to in writing, software 873 * distributed under the License is distributed on an "AS IS" BASIS, 874 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 875 * See the License for the specific language governing permissions and 876 * limitations under the License. 877 */function HM(t,e=[]){let r;switch(t){case"Browser":r=wk(os());break;case"Worker":r=`${wk(os())}-${t}`;break;default:r=t}const n=e.length?e.join(","):"FirebaseCore-web";return`${r}/JsCore/${Uh}/${n}`}/** 878 * @license 879 * Copyright 2022 Google LLC 880 * 881 * Licensed under the Apache License, Version 2.0 (the "License"); 882 * you may not use this file except in compliance with the License. 883 * You may obtain a copy of the License at 884 * 885 * http://www.apache.org/licenses/LICENSE-2.0 886 * 887 * Unless required by applicable law or agreed to in writing, software 888 * distributed under the License is distributed on an "AS IS" BASIS, 889 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 890 * See the License for the specific language governing permissions and 891 * limitations under the License. 892 */class H${constructor(e){this.auth=e,this.queue=[]}pushCallback(e,r){const n=a=>new Promise((s,o)=>{try{const c=e(a);s(c)}catch(c){o(c)}});n.onAbort=r,this.queue.push(n);const i=this.queue.length-1;return()=>{this.queue[i]=()=>Promise.resolve()}}async runMiddleware(e){if(this.auth.currentUser===e)return;const r=[];try{for(const n of this.queue)await n(e),n.onAbort&&r.push(n.onAbort)}catch(n){r.reverse();for(const i of r)try{i()}catch{}throw this.auth._errorFactory.create("login-blocked",{originalMessage:n==null?void 0:n.message})}}}/** 893 * @license 894 * Copyright 2023 Google LLC 895 * 896 * Licensed under the Apache License, Version 2.0 (the "License"); 897 * you may not use this file except in compliance with the License. 898 * You may obtain a copy of the License at 899 * 900 * http://www.apache.org/licenses/LICENSE-2.0 901 * 902 * Unless required by applicable law or agreed to in writing, software 903 * distributed under the License is distributed on an "AS IS" BASIS, 904 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 905 * See the License for the specific language governing permissions and 906 * limitations under the License. 907 */async function z$(t,e={}){return dd(t,"GET","/v2/passwordPolicy",Lh(t,e))}/** 908 * @license 909 * Copyright 2023 Google LLC 910 * 911 * Licensed under the Apache License, Version 2.0 (the "License"); 912 * you may not use this file except in compliance with the License. 913 * You may obtain a copy of the License at 914 * 915 * http://www.apache.org/licenses/LICENSE-2.0 916 * 917 * Unless required by applicable law or agreed to in writing, software 918 * distributed under the License is distributed on an "AS IS" BASIS, 919 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 920 * See the License for the specific language governing permissions and 921 * limitations under the License. 922 */const V$=6;class W${constructor(e){var r,n,i,a;const s=e.customStrengthOptions;this.customStrengthOptions={},this.customStrengthOptions.minPasswordLength=(r=s.minPasswordLength)!==null&&r!==void 0?r:V$,s.maxPasswordLength&&(this.customStrengthOptions.maxPasswordLength=s.maxPasswordLength),s.containsLowercaseCharacter!==void 0&&(this.customStrengthOptions.containsLowercaseLetter=s.containsLowercaseCharacter),s.containsUppercaseCharacter!==void 0&&(this.customStrengthOptions.containsUppercaseLetter=s.containsUppercaseCharacter),s.containsNumericCharacter!==void 0&&(this.customStrengthOptions.containsNumericCharacter=s.containsNumericCharacter),s.containsNonAlphanumericCharacter!==void 0&&(this.customStrengthOptions.containsNonAlphanumericCharacter=s.containsNonAlphanumericCharacter),this.enforcementState=e.enforcementState,this.enforcementState==="ENFORCEMENT_STATE_UNSPECIFIED"&&(this.enforcementState="OFF"),this.allowedNonAlphanumericCharacters=(i=(n=e.allowedNonAlphanumericCharacters)===null||n===void 0?void 0:n.join(""))!==null&&i!==void 0?i:"",this.forceUpgradeOnSignin=(a=e.forceUpgradeOnSignin)!==null&&a!==void 0?a:!1,this.schemaVersion=e.schemaVersion}validatePassword(e){var r,n,i,a,s,o;const c={isValid:!0,passwordPolicy:this};return this.validatePasswordLengthOptions(e,c),this.validatePasswordCharacterOptions(e,c),c.isValid&&
922(c.isValid=(r=c.meetsMinPasswordLength)!==null&&r!==void 0?r:!0),c.isValid&&(c.isValid=(n=c.meetsMaxPasswordLength)!==null&&n!==void 0?n:!0),c.isValid&&(c.isValid=(i=c.containsLowercaseLetter)!==null&&i!==void 0?i:!0),c.isValid&&(c.isValid=(a=c.containsUppercaseLetter)!==null&&a!==void 0?a:!0),c.isValid&&(c.isValid=(s=c.containsNumericCharacter)!==null&&s!==void 0?s:!0),c.isValid&&(c.isValid=(o=c.containsNonAlphanumericCharacter)!==null&&o!==void 0?o:!0),c}validatePasswordLengthOptions(e,r){const n=this.customStrengthOptions.minPasswordLength,i=this.customStrengthOptions.maxPasswordLength;n&&(r.meetsMinPasswordLength=e.length>=n),i&&(r.meetsMaxPasswordLength=e.length<=i)}validatePasswordCharacterOptions(e,r){this.updatePasswordCharacterOptionsStatuses(r,!1,!1,!1,!1);let n;for(let i=0;i<e.length;i++)n=e.charAt(i),this.updatePasswordCharacterOptionsStatuses(r,n>="a"&&n<="z",n>="A"&&n<="Z",n>="0"&&n<="9",this.allowedNonAlphanumericCharacters.includes(n))}updatePasswordCharacterOptionsStatuses(e,r,n,i,a){this.customStrengthOptions.containsLowercaseLetter&&(e.containsLowercaseLetter||(e.containsLowercaseLetter=r)),this.customStrengthOptions.containsUppercaseLetter&&(e.containsUppercaseLetter||(e.containsUppercaseLetter=n)),this.customStrengthOptions.containsNumericCharacter&&(e.containsNumericCharacter||(e.containsNumericCharacter=i)),this.customStrengthOptions.containsNonAlphanumericCharacter&&(e.containsNonAlphanumericCharacter||(e.containsNonAlphanumericCharacter=a))}}/** 923 * @license 924 * Copyright 2020 Google LLC 925 * 926 * Licensed under the Apache License, Version 2.0 (the "License"); 927 * you may not use this file except in compliance with the License. 928 * You may obtain a copy of the License at 929 * 930 * http://www.apache.org/licenses/LICENSE-2.0 931 * 932 * Unless required by applicable law or agreed to in writing, software 933 * distributed under the License is distributed on an "AS IS" BASIS, 934 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 935 * See the License for the specific language governing permissions and 936 * limitations under the License. 937 */class K${constructor(e,r,n,i){this.app=e,this.heartbeatServiceProvider=r,this.appCheckServiceProvider=n,this.config=i,this.currentUser=null,this.emulatorConfig=null,this.operations=Promise.resolve(),this.authStateSubscription=new bk(this),this.idTokenSubscription=new bk(this),this.beforeStateQueue=new H$(this),this.redirectUser=null,this.isProactiveRefreshEnabled=!1,this.EXPECTED_PASSWORD_POLICY_SCHEMA_VERSION=1,this._canInitEmulator=!0,this._isInitialized=!1,this._deleted=!1,this._initializationPromise=null,this._popupRedirectResolver=null,this._errorFactory=NM,this._agentRecaptchaConfig=null,this._tenantRecaptchaConfigs={},this._projectPasswordPolicy=null,this._tenantPasswordPolicies={},this.lastNotifiedUid=void 0,this.languageCode=null,this.tenantId=null,this.settings={appVerificationDisabledForTesting:!1},this.frameworks=[],this.name=e.name,this.clientVersion=i.sdkClientVersion}_initializeWithPersistence(e,r){return r&&(this._popupRedirectResolver=Wc(r)),this._initializationPromise=this.queue(async()=>{var n,i;if(!this._deleted&&(this.persistenceManager=await I0.create(this,e),!this._deleted)){if(!((n=this._popupRedirectResolver)===null||n===void 0)&&n._shouldInitProactively)try{await this._popupRedirectResolver._initialize(this)}catch{}await this.initializeCurrentUser(r),this.lastNotifiedUid=((i=this.currentUser)===null||i===void 0?void 0:i.uid)||null,!this._deleted&&(this._isInitialized=!0)}}),this._initializationPromise}async _onStorageEvent(){if(this._deleted)return;const e=await this.assertedPersistence.getCurrentUser();if(!(!this.currentUser&&!e)){if(this.currentUser&&e&&this.currentUser.uid===e.uid){this._currentUser._assign(e),await this.currentUser.getIdToken();return}await this._updateCurrentUser(e,!0)}}async initializeCurrentUserFromIdToken(e){try{const r=await jM(this,{idToken:e}),n=await Vc._fromGetAccountInfoResponse(this,r,e);await this.directlySetCurrentUser(n)}catch(r){console.warn("FirebaseServerApp could not login user with provided authIdToken: ",r),await this.directlySetCurrentUser(null)}}async initializeCurrentUser(e){var r;if(Hc(this.app)){const s=this.app.settings.authIdToken;return s?new Promise(o=>{setTimeout(()=>this.initializeCurrentUserFromIdToken(s).then(o,o))}):this.directlySetCurrentUser(null)}const n=await this.assertedPersistence.getCurrentUser();let i=n,a=!1;if(e&&this.config.authDomain){await this.getOrInitRedirectPersistenceManager();const s=(r=this.redirectUser)===null||r===void 0?void 0:r._redirectEventId,o=i==null?void 0:i._redirectEventId,c=await this.tryRedirectSignIn(e);(!s||s===o)&&(c!=null&&c.user)&&(i=c.user,a=!0)}if(!i)return this.directlySetCurrentUser(null);
937if(!i._redirectEventId){if(a)try{await this.beforeStateQueue.runMiddleware(i)}catch(s){i=n,this._popupRedirectResolver._overrideRedirectResult(this,()=>Promise.reject(s))}return i?this.reloadAndSetCurrentUserOrClear(i):this.directlySetCurrentUser(null)}return Xt(this._popupRedirectResolver,this,"argument-error"),await this.getOrInitRedirectPersistenceManager(),this.redirectUser&&this.redirectUser._redirectEventId===i._redirectEventId?this.directlySetCurrentUser(i):this.reloadAndSetCurrentUserOrClear(i)}async tryRedirectSignIn(e){let r=null;try{r=await this._popupRedirectResolver._completeRedirectFn(this,e,!0)}catch{await this._setRedirectUser(null)}return r}async reloadAndSetCurrentUserOrClear(e){try{await $2(e)}catch(r){if((r==null?void 0:r.code)!=="auth/network-request-failed")return this.directlySetCurrentUser(null)}return this.directlySetCurrentUser(e)}useDeviceLanguage(){this.languageCode=E$()}async _delete(){this._deleted=!0}async updateCurrentUser(e){if(Hc(this.app))return Promise.reject(Pu(this));const r=e?ei(e):null;return r&&Xt(r.auth.config.apiKey===this.config.apiKey,this,"invalid-user-token"),this._updateCurrentUser(r&&r._clone(this))}async _updateCurrentUser(e,r=!1){if(!this._deleted)return e&&Xt(this.tenantId===e.tenantId,this,"tenant-id-mismatch"),r||await this.beforeStateQueue.runMiddleware(e),this.queue(async()=>{await this.directlySetCurrentUser(e),this.notifyAuthListeners()})}async signOut(){return Hc(this.app)?Promise.reject(Pu(this)):(await this.beforeStateQueue.runMiddleware(null),(this.redirectPersistenceManager||this._popupRedirectResolver)&&await this._setRedirectUser(null),this._updateCurrentUser(null,!0))}setPersistence(e){return Hc(this.app)?Promise.reject(Pu(this)):this.queue(async()=>{await this.assertedPersistence.setPersistence(Wc(e))})}_getRecaptchaConfig(){return this.tenantId==null?this._agentRecaptchaConfig:this._tenantRecaptchaConfigs[this.tenantId]}async validatePassword(e){this._getPasswordPolicyInternal()||await this._updatePasswordPolicy();const r=this._getPasswordPolicyInternal();return r.schemaVersion!==this.EXPECTED_PASSWORD_POLICY_SCHEMA_VERSION?Promise.reject(this._errorFactory.create("unsupported-password-policy-schema-version",{})):r.validatePassword(e)}_getPasswordPolicyInternal(){return this.tenantId===null?this._projectPasswordPolicy:this._tenantPasswordPolicies[this.tenantId]}async _updatePasswordPolicy(){const e=await z$(this),r=new W$(e);this.tenantId===null?this._projectPasswordPolicy=r:this._tenantPasswordPolicies[this.tenantId]=r}_getPersistence(){return this.assertedPersistence.persistence.type}_updateErrorMap(e){this._errorFactory=new _1("auth","Firebase",e())}onAuthStateChanged(e,r,n){return this.registerStateListener(this.authStateSubscription,e,r,n)}beforeAuthStateChanged(e,r){return this.beforeStateQueue.pushCallback(e,r)}onIdTokenChanged(e,r,n){return this.registerStateListener(this.idTokenSubscription,e,r,n)}authStateReady(){return new Promise((e,r)=>{if(this.currentUser)e();else{const n=this.onAuthStateChanged(()=>{n(),e()},r)}})}async revokeAccessToken(e){if(this.currentUser){const r=await this.currentUser.getIdToken(),n={providerId:"apple.com",tokenType:"ACCESS_TOKEN",token:e,idToken:r};this.tenantId!=null&&(n.tenantId=this.tenantId),await L$(this,n)}}toJSON(){var e;return{apiKey:this.config.apiKey,authDomain:this.config.authDomain,appName:this.name,currentUser:(e=this._currentUser)===null||e===void 0?void 0:e.toJSON()}}async _setRedirectUser(e,r){const n=await this.getOrInitRedirectPersistenceManager(r);return e===null?n.removeCurrentUser():n.setCurrentUser(e)}async getOrInitRedirectPersistenceManager(e){if(!this.redirectPersistenceManager){const r=e&&Wc(e)||this._popupRedirectResolver;Xt(r,this,"argument-error"),this.redirectPersistenceManager=await I0.create(this,[Wc(r._redirectPersistence)],"redirectUser"),this.redirectUser=await this.redirectPersistenceManager.getCurrentUser()}return this.redirectPersistenceManager}async _redirectUserForId(e){var r,n;return this._isInitialized&&await this.queue(async()=>{}),((r=this._currentUser)===null||r===void 0?void 0:r._redirectEventId)===e?this._currentUser:((n=this.redirectUser)===null||n===void 0?void 0:n._redirectEventId)===e?this.redirectUser:null}async _persistUserIfCurrent(e){if(e===this.currentUser)return this.queue(async()=>this.directlySetCurrentUser(e))}_notifyListenersIfCurrent(e){e===this.currentUser&&this.notifyAuthListeners()}_key(){return`${this.config.authDomain}:${this.config.apiKey}:${this.name}`}_startProactiveRefresh(){this.isProactiveRefreshEnabled=!0,this.currentUser&&this._currentUser._startProactiveRefresh()}_stopProactiveRefresh(){this.isProactiveRefreshEnabled=!1,this.currentUser&&this._currentUser._stopProactiveRefresh()}get _currentUser(){return this.currentUser}notifyAuthListeners(){var e,r;if(!this._isInitialized)return;this.idTokenSubscription.next(this.currentUser);const n=(r=(e=this.currentUser)===null||e===void 0?void 0:e.uid)!==null&&r!==void 0?r:null;this.lastNotifiedUid!==n&&(this.lastNotifiedUid=n,this.authStateSubscription.next(this.currentUser))}registerStateListener(e,r,n,i){if(this._deleted)return()=>{};const a=typeof r=="function"?r:r.next.bind(r);let s=!1;const o=this._isInitialized?Promise.resolve():this._initializationPromise;if(Xt(o,this,"internal-error"),o.then(()=>{s||a(this.currentUser)}),typeof r=="function"){const c=e.addObserver(r,n,i);return()=>{s=!0,c()}}else{const c=e.addObserver(r);return()=>{s=!0,c()}}}async directlySetCurrentUser(e){this.currentUser&&this.currentUser!==e&&this._currentUser._stopProactiveRefresh(),e&&this.isProactiveRefreshEnabled&&e._startProactiveRefresh(),this.currentUser=e,e?await this.assertedPersistence.setCurrentUser(e):await this.assertedPersistence.removeCurrentUser()}queue(e){return this.operations=this.operations.then(e,e),this.operations}get assertedPersistence(){return Xt(this.persistenceManager,this,"internal-error"),this.persistenceManager}_logFramework(e){!e||this.frameworks.includes(e)||(this.frameworks.push(e),this.frameworks.sort(),this.clientVersion=HM(this.config.clientPlatform,this._getFrameworks()))}_getFrameworks(){return this.frameworks}async _getAdditionalHeaders(){var e;const r={"X-Client-Version":this.clientVersion};this.app.options.appId&&(r["X-Firebase-gmpid"]=this.app.options.appId);const n=await((e=this.heartbeatServiceProvider.getImmediate({optional:!0}))===null||e===void 0?void 0:e.getHeartbeatsHeader());n&&(r["X-Firebase-Client"]=n);const i=await this._getAppCheckToken();return i&&(r["X-Firebase-AppCheck"]=i),r}async _getAppCheckToken(){var e;const r=await((e=this.appCheckServiceProvider.getImmediate({optional:!0}))===null||e===void 0?void 0:e.getToken());return r!=null&&r.error&&b$(`Error while retrieving App Check token: ${r.error}`),r==null?void 0:r.token}}function Ep(t){return ei(t)}class bk{constructor(e){this.auth=e,this.observer=null,this.addObserver=sZ(r=>this.observer=r)}get next(){return Xt(this.observer,this.auth,"internal-error"),this.observer.next.bind(this.observer)}}/** 938 * @license 939 * Copyright 2020 Google LLC 940 * 941 * Licensed under the Apache License, Version 2.0 (the "License");
942 * you may not use this file except in compliance with the License. 943 * You may obtain a copy of the License at 944 * 945 * http://www.apache.org/licenses/LICENSE-2.0 946 * 947 * Unless required by applicable law or agreed to in writing, software 948 * distributed under the License is distributed on an "AS IS" BASIS, 949 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 950 * See the License for the specific language governing permissions and 951 * limitations under the License. 952 */let IC={async loadJS(){throw new Error("Unable to load external scripts")},recaptchaV2Script:"",recaptchaEnterpriseScript:"",gapiScript:""};function q$(t){IC=t}function zM(t){return IC.loadJS(t)}function G$(){return IC.recaptchaEnterpriseScript}function J$(){return IC.gapiScript}function X$(t){return`__${t}${Math.floor(Math.random()*1e6)}`}const Y$="recaptcha-enterprise",Z$="NO_RECAPTCHA";class $${constructor(e){this.type=Y$,this.auth=Ep(e)}async verify(e="verify",r=!1){async function n(a){if(!r){if(a.tenantId==null&&a._agentRecaptchaConfig!=null)return a._agentRecaptchaConfig.siteKey;if(a.tenantId!=null&&a._tenantRecaptchaConfigs[a.tenantId]!==void 0)return a._tenantRecaptchaConfigs[a.tenantId].siteKey}return new Promise(async(s,o)=>{j$(a,{clientType:"CLIENT_TYPE_WEB",version:"RECAPTCHA_ENTERPRISE"}).then(c=>
952{if(c.recaptchaKey===void 0)o(new Error("recaptcha Enterprise site key undefined"));else{const A=new T$(c);return a.tenantId==null?a._agentRecaptchaConfig=A:a._tenantRecaptchaConfigs[a.tenantId]=A,s(A.siteKey)}}).catch(c=>{o(c)})})}function i(a,s,o){const c=window.grecaptcha;gk(c)?c.enterprise.ready(()=>{c.enterprise.execute(a,{action:e}).then(A=>{s(A)}).catch(()=>{s(Z$)})}):o(Error("No reCAPTCHA enterprise script loaded."))}return new Promise((a,s)=>{n(this.auth).then(o=>{if(!r&&gk(window.grecaptcha))i(o,a,s);else{if(typeof window>"u"){s(new Error("RecaptchaVerifier is only supported in browser"));return}let c=G$();c.length!==0&&(c+=o),zM(c).then(()=>{i(o,a,s)}).catch(A=>{s(A)})}}).catch(o=>{s(o)})})}}async function Ck(t,e,r,n=!1){const i=new $$(t);let a;try{a=await i.verify(r)}catch{a=await i.verify(r,!0)}const s=Object.assign({},e);return n?Object.assign(s,{captchaResp:a}):Object.assign(s,{captchaResponse:a}),Object.assign(s,{clientType:"CLIENT_TYPE_WEB"}),Object.assign(s,{recaptchaVersion:"RECAPTCHA_ENTERPRISE"}),s}async function Bk(t,e,r,n){var i;if(!((i=t._getRecaptchaConfig())===null||i===void 0)&&i.isProviderEnabled("EMAIL_PASSWORD_PROVIDER")){const a=await Ck(t,e,r,r==="getOobCode");return n(t,a)}else return n(t,e).catch(async a=>{if(a.code==="auth/missing-recaptcha-token"){console.log(`${r} is protected by reCAPTCHA Enterprise for this project. Automatically triggering the reCAPTCHA flow and restarting the flow.`);const s=await Ck(t,e,r,r==="getOobCode");return n(t,s)}else return Promise.reject(a)})}/** 953 * @license 954 * Copyright 2020 Google LLC 955 * 956 * Licensed under the Apache License, Version 2.0 (the "License"); 957 * you may not use this file except in compliance with the License. 958 * You may obtain a copy of the License at 959 * 960 * http://www.apache.org/licenses/LICENSE-2.0 961 * 962 * Unless required by applicable law or agreed to in writing, software 963 * distributed under the License is distributed on an "AS IS" BASIS, 964 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 965 * See the License for the specific language governing permissions and 966 * limitations under the License. 967 */function eee(t,e){const r=FC(t,"auth");if(r.isInitialized()){const i=r.getImmediate(),a=r.getOptions();if(G2(a,e??{}))return i;jl(i,"already-initialized")}return r.initialize({options:e})}function tee(t,e){const r=(e==null?void 0:e.persistence)||[],n=(Array.isArray(r)?r:[r]).map(Wc);e!=null&&e.errorMap&&t._updateErrorMap(e.errorMap),t._initializeWithPersistence(n,e==null?void 0:e.popupRedirectResolver)}function ree(t,e,r){const n=Ep(t);Xt(n._canInitEmulator,n,"emulator-config-failed"),Xt(/^https?:\/\//.test(e),n,"invalid-emulator-scheme");const i=!1,a=VM(e),{host:s,port:o}=nee(e),c=o===null?"":`:${o}`;n.config.emulator={url:`${a}//${s}${c}/`},n.settings.appVerificationDisabledForTesting=!0,n.emulatorConfig=Object.freeze({host:s,port:o,protocol:a.replace(":",""),options:Object.freeze({disableWarnings:i})}),iee()}function VM(t){const e=t.indexOf(":");return e<0?"":t.substr(0,e+1)}function nee(t){const e=VM(t),r=/(\/\/)?([^?#/]+)/.exec(t.substr(e.length));if(!r)return{host:"",port:null};const n=r[2].split("@").pop()||"",i=/^(\[[^\]]+\])(:|$)/.exec(n);if(i){const a=i[1];return{host:a,port:Ek(n.substr(a.length+1))}}else{const[a,s]=n.split(":");return{host:a,port:Ek(s)}}}function Ek(t){if(!t)return null;const e=Number(t);return isNaN(e)?null:e}function iee(){function t(){const e=document.createElement("p"),r=e.style;e.innerText="Running in emulator mode. Do not use with production credentials.",r.position="fixed",r.width="100%",r.backgroundColor="#ffffff",r.border=".1em solid #000000",r.color="#b50000",r.bottom="0px",r.left="0px",r.margin="0px",r.zIndex="10000",r.textAlign="center",e.classList.add("firebase-emulator-warning"),document.body.appendChild(e)}typeof console<"u"&&typeof console.info=="function"&&console.info("WARNING: You are using the Auth Emulator, which is intended for local testing only. Do not use with production credentials."),typeof window<"u"&&typeof document<"u"&&(document.readyState==="loading"?window.addEventListener("DOMContentLoaded",t):t())}/** 968 * @license 969 * Copyright 2020 Google LLC 970 * 971 * Licensed under the Apache License, Version 2.0 (the "License");
972 * you may not use this file except in compliance with the License. 973 * You may obtain a copy of the License at 974 * 975 * http://www.apache.org/licenses/LICENSE-2.0 976 * 977 * Unless required by applicable law or agreed to in writing, software 978 * distributed under the License is distributed on an "AS IS" BASIS, 979 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 980 * See the License for the specific language governing permissions and 981 * limitations under the License. 982 */class ZF{constructor(e,r){this.providerId=e,this.signInMethod=r}toJSON(){return zc("not implemented")}_getIdTokenResponse(e){return zc("not implemented")}_linkToIdToken(e,r){return zc("not implemented")}_getReauthenticationResolver(e){return zc("not implemented")}}async function aee(t,e){return dd(t,"POST","/v1/accounts:signUp",e)}/** 983 * @license 984 * Copyright 2020 Google LLC 985 * 986 * Licensed under the Apache License, Version 2.0 (the "License"); 987 * you may not use this file except in compliance with the License. 988 * You may obtain a copy of the License at 989 * 990 * http://www.apache.org/licenses/LICENSE-2.0 991 * 992 * Unless required by applicable law or agreed to in writing, software 993 * distributed under the License is distributed on an "AS IS" BASIS, 994 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 995 * See the License for the specific language governing permissions and 996 * limitations under the License. 997 */async function see(t,e){return jC(t,"POST","/v1/accounts:signInWithPassword",Lh(t,e))}/** 998 * @license 999 * Copyright 2020 Google LLC 1000 * 1001 * Licensed under the Apache License, Version 2.0 (the "License"); 1002 * you may not use this file except in compliance with the License. 1003 * You may obtain a copy of the License at 1004 * 1005 * http://www.apache.org/licenses/LICENSE-2.0 1006 * 1007 * Unless required by applicable law or agreed to in writing, software 1008 * distributed under the License is distributed on an "AS IS" BASIS, 1009 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1010 * See the License for the specific language governing permissions and 1011 * limitations under the License. 1012 */async function oee(t,e){return jC(t,"POST","/v1/accounts:signInWithEmailLink",Lh(t,e))}async function lee(t,e){return jC(t,"POST","/v1/accounts:signInWithEmailLink",Lh(t,e))}/** 1013 * @license 1014 * Copyright 2020 Google LLC 1015 * 1016 * Licensed under the Apache License, Version 2.0 (the "License"); 1017 * you may not use this file except in compliance with the License. 1018 * You may obtain a copy of the License at 1019 * 1020 * http://www.apache.org/licenses/LICENSE-2.0 1021 * 1022 * Unless required by applicable law or agreed to in writing, software 1023 * distributed under the License is distributed on an "AS IS" BASIS, 1024 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1025 * See the License for the specific language governing permissions and 1026 * limitations under the License. 1027 */class Rv extends ZF{constructor(e,r,n,i=null){super("password",n),this._email=e,this._password=r,this._tenantId=i}static _fromEmailAndPassword(e,r){return new Rv(e,r,"password")}static _fromEmailAndCode(e,r,n=null){return new Rv(e,r,"emailLink",n)}toJSON(){return{email:this._email,password:this._password,signInMethod:this.signInMethod,tenantId:this._tenantId}}static fromJSON(e){const r=typeof e=="string"?JSON.parse(e):e;if(r!=null&&r.email&&(r!=null&&r.password)){if(r.signInMethod==="password")return this._fromEmailAndPassword(r.email,r.password);if(r.signInMethod==="emailLink")return this._fromEmailAndCode(r.email,r.password,r.tenantId)}return null}async _getIdTokenResponse(e){switch(this.signInMethod){case"password":const r={returnSecureToken:!0,email:this._email,password:this._password,clientType:"CLIENT_TYPE_WEB"};return Bk(e,r,"signInWithPassword",see);case"emailLink":return oee(e,{email:this._email,oobCode:this._password});default:jl(e,"internal-error")}}async _linkToIdToken(e,r){switch(this.signInMethod){case"password":const n={idToken:r,returnSecureToken:!0,email:this._email,password:this._password,clientType:"CLIENT_TYPE_WEB"};return Bk(e,n,"signUpPassword",aee);case"emailLink":return lee(e,{idToken:r,email:this._email,oobCode:this._password});default:jl(e,"internal-error")}}_getReauthenticationResolver(e){return this._getIdTokenResponse(e)}}/** 1028 * @license 1029 * Copyright 2020 Google LLC 1030 * 1031 * Licensed under the Apache License, Version 2.0 (the "License");
1032 * you may not use this file except in compliance with the License. 1033 * You may obtain a copy of the License at 1034 * 1035 * http://www.apache.org/licenses/LICENSE-2.0 1036 * 1037 * Unless required by applicable law or agreed to in writing, software 1038 * distributed under the License is distributed on an "AS IS" BASIS, 1039 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1040 * See the License for the specific language governing permissions and 1041 * limitations under the License. 1042 */async function k0(t,e){return jC(t,"POST","/v1/accounts:signInWithIdp",Lh(t,e))}/** 1043 * @license 1044 * Copyright 2020 Google LLC 1045 * 1046 * Licensed under the Apache License, Version 2.0 (the "License"); 1047 * you may not use this file except in compliance with the License. 1048 * You may obtain a copy of the License at 1049 * 1050 * http://www.apache.org/licenses/LICENSE-2.0 1051 * 1052 * Unless required by applicable law or agreed to in writing, software 1053 * distributed under the License is distributed on an "AS IS" BASIS, 1054 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1055 * See the License for the specific language governing permissions and 1056 * limitations under the License. 1057 */const cee="http://localhost";class xh extends ZF{constructor(){super(...arguments),this.pendingToken=null}static _fromParams(e){const r=new xh(e.providerId,e.signInMethod);return e.idToken||e.accessToken?(e.idToken&&(r.idToken=e.idToken),e.accessToken&&(r.accessToken=e.accessToken),e.nonce&&!e.pendingToken&&(r.nonce=e.nonce),e.pendingToken&&(r.pendingToken=e.pendingToken)):e.oauthToken&&e.oauthTokenSecret?(r.accessToken=e.oauthToken,r.secret=e.oauthTokenSecret):jl("argument-error"),r}toJSON(){return{idToken:this.idToken,accessToken:this.accessToken,secret:this.secret,n
1057once:this.nonce,pendingToken:this.pendingToken,providerId:this.providerId,signInMethod:this.signInMethod}}static fromJSON(e){const r=typeof e=="string"?JSON.parse(e):e,{providerId:n,signInMethod:i}=r,a=mA(r,["providerId","signInMethod"]);if(!n||!i)return null;const s=new xh(n,i);return s.idToken=a.idToken||void 0,s.accessToken=a.accessToken||void 0,s.secret=a.secret,s.nonce=a.nonce,s.pendingToken=a.pendingToken||null,s}_getIdTokenResponse(e){const r=this.buildRequest();return k0(e,r)}_linkToIdToken(e,r){const n=this.buildRequest();return n.idToken=r,k0(e,n)}_getReauthenticationResolver(e){const r=this.buildRequest();return r.autoCreate=!1,k0(e,r)}buildRequest(){const e={requestUri:cee,returnSecureToken:!0};if(this.pendingToken)e.pendingToken=this.pendingToken;else{const r={};this.idToken&&(r.id_token=this.idToken),this.accessToken&&(r.access_token=this.accessToken),this.secret&&(r.oauth_token_secret=this.secret),r.providerId=this.providerId,this.nonce&&!this.pendingToken&&(r.nonce=this.nonce),e.postBody=Bp(r)}return e}}/** 1058 * @license 1059 * Copyright 2020 Google LLC 1060 * 1061 * Licensed under the Apache License, Version 2.0 (the "License"); 1062 * you may not use this file except in compliance with the License. 1063 * You may obtain a copy of the License at 1064 * 1065 * http://www.apache.org/licenses/LICENSE-2.0 1066 * 1067 * Unless required by applicable law or agreed to in writing, software 1068 * distributed under the License is distributed on an "AS IS" BASIS, 1069 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1070 * See the License for the specific language governing permissions and 1071 * limitations under the License. 1072 */function Aee(t){switch(t){case"recoverEmail":return"RECOVER_EMAIL";case"resetPassword":return"PASSWORD_RESET";case"signIn":return"EMAIL_SIGNIN";case"verifyEmail":return"VERIFY_EMAIL";case"verifyAndChangeEmail":return"VERIFY_AND_CHANGE_EMAIL";case"revertSecondFactorAddition":return"REVERT_SECOND_FACTOR_ADDITION";default:return null}}function uee(t){const e=sg(og(t)).link,r=e?sg(og(e)).deep_link_id:null,n=sg(og(t)).deep_link_id;return(n?sg(og(n)).link:null)||n||r||e||t}class $F{constructor(e){var r,n,i,a,s,o;const c=sg(og(e)),A=(r=c.apiKey)!==null&&r!==void 0?r:null,u=(n=c.oobCode)!==null&&n!==void 0?n:null,d=Aee((i=c.mode)!==null&&i!==void 0?i:null);Xt(A&&u&&d,"argument-error"),this.apiKey=A,this.operation=d,this.code=u,this.continueUrl=(a=c.continueUrl)!==null&&a!==void 0?a:null,this.languageCode=(s=c.languageCode)!==null&&s!==void 0?s:null,this.tenantId=(o=c.tenantId)!==null&&o!==void 0?o:null}static parseLink(e){const r=uee(e);try{return new $F(r)}catch{return null}}}/** 1073 * @license 1074 * Copyright 2020 Google LLC 1075 * 1076 * Licensed under the Apache License, Version 2.0 (the "License"); 1077 * you may not use this file except in compliance with the License. 1078 * You may obtain a copy of the License at 1079 * 1080 * http://www.apache.org/licenses/LICENSE-2.0 1081 * 1082 * Unless required by applicable law or agreed to in writing, software 1083 * distributed under the License is distributed on an "AS IS" BASIS, 1084 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1085 * See the License for the specific language governing permissions and 1086 * limitations under the License. 1087 */class Np{constructor(){this.providerId=Np.PROVIDER_ID}static credential(e,r){return Rv._fromEmailAndPassword(e,r)}static credentialWithLink(e,r){const n=$F.parseLink(r);return Xt(n,"argument-error"),Rv._fromEmailAndCode(e,n.code,n.tenantId)}}Np.PROVIDER_ID="password";Np.EMAIL_PASSWORD_SIGN_IN_METHOD="password";Np.EMAIL_LINK_SIGN_IN_METHOD="emailLink";/** 1088 * @license 1089 * Copyright 2020 Google LLC 1090 * 1091 * Licensed under the Apache License, Version 2.0 (the "License"); 1092 * you may not use this file except in compliance with the License. 1093 * You may obtain a copy of the License at 1094 * 1095 * http://www.apache.org/licenses/LICENSE-2.0 1096 * 1097 * Unless required by applicable law or agreed to in writing, software 1098 * distributed under the License is distributed on an "AS IS" BASIS, 1099 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1100 * See the License for the specific language governing permissions and 1101 * limitations under the License. 1102 */class WM{constructor(e){this.providerId=e,this.defaultLanguageCode=null,this.customParameters={}}setDefaultLanguage(e){this.defaultLanguageCode=e}setCustomParameters(e){return this.customParameters=e,this}getCustomParameters(){return this.customParameters}}/** 1103 * @license 1104 * Copyright 2019 Google LLC 1105 * 1106 * Licensed under the Apache License, Version 2.0 (the "License");
1107 * you may not use this file except in compliance with the License. 1108 * You may obtain a copy of the License at 1109 * 1110 * http://www.apache.org/licenses/LICENSE-2.0 1111 * 1112 * Unless required by applicable law or agreed to in writing, software 1113 * distributed under the License is distributed on an "AS IS" BASIS, 1114 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1115 * See the License for the specific language governing permissions and 1116 * limitations under the License. 1117 */class T1 extends WM{constructor(){super(...arguments),this.scopes=[]}addScope(e){return this.scopes.includes(e)||this.scopes.push(e),this}getScopes(){return[...this.scopes]}}/** 1118 * @license 1119 * Copyright 2020 Google LLC 1120 * 1121 * Licensed under the Apache License, Version 2.0 (the "License"); 1122 * you may not use this file except in compliance with the License. 1123 * You may obtain a copy of the License at 1124 * 1125 * http://www.apache.org/licenses/LICENSE-2.0 1126 * 1127 * Unless required by applicable law or agreed to in writing, software 1128 * distributed under the License is distributed on an "AS IS" BASIS, 1129 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1130 * See the License for the specific language governing permissions and 1131 * limitations under the License. 1132 */class iu extends T1{constructor(){super("facebook.com")}static credential(e){return xh._fromParams({providerId:iu.PROVIDER_ID,signInMethod:iu.FACEBOOK_SIGN_IN_METHOD,accessToken:e})}static credentialFromResult(e){return iu.credentialFromTaggedObject(e)}static credentialFromError(e){return iu.credentialFromTaggedObject(e.customData||{})}static credentialFromTaggedObject({_tokenResponse:e}){if(!e||!("oauthAccessToken"in e)||!e.oauthAccessToken)return null;try{return iu.credential(e.oauthAccessToken)}catch{return null}}}iu.FACEBOOK_SIGN_IN_METHOD="facebook.com";iu.PROVIDER_ID="facebook.com";/** 1133 * @license 1134 * Copyright 2020 Google LLC 1135 * 1136 * Licensed under the Apache License, Version 2.0 (the "License"); 1137 * you may not use this file except in compliance with the License. 1138 * You may obtain a copy of the License at 1139 * 1140 * http://www.apache.org/licenses/LICENSE-2.0 1141 * 1142 * Unless required by applicable law or agreed to in writing, software 1143 * distributed under the License is distributed on an "AS IS" BASIS, 1144 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1145 * See the License for the specific language governing permissions and 1146 * limitations under the License. 1147 */class au extends T1{constructor(){super("google.com"),this.addScope("profile")}static credential(e,r){return xh._fromParams({providerId:au.PROVIDER_ID,signInMethod:au.GOOGLE_SIGN_IN_METHOD,idToken:e,accessToken:r})}static credentialFromResult(e){return au.credentialFromTaggedObject(e)}static credentialFromError(e){return au.credentialFromTaggedObject(e.customData||{})}static credentialFromTaggedObject({_tokenResponse:e}){if(!e)return null;const{oauthIdToken:r,oauthAccessToken:n}=e;if(!r&&!n)return null;try{return au.credential(r,n)}catch{return null}}}au.GOOGLE_SIGN_IN_METHOD="google.com";au.PROVIDER_ID="google.com";/** 1148 * @license 1149 * Copyright 2020 Google LLC 1150 * 1151 * Licensed under the Apache License, Version 2.0 (the "License"); 1152 * you may not use this file except in compliance with the License. 1153 * You may obtain a copy of the License at 1154 * 1155 * http://www.apache.org/licenses/LICENSE-2.0 1156 * 1157 * Unless required by applicable law or agreed to in writing, software 1158 * distributed under the License is distributed on an "AS IS" BASIS, 1159 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1160 * See the License for the specific language governing permissions and 1161 * limitations under the License. 1162 */class su extends T1{constructor(){super("github.com")}static credential(e){return xh._fromParams({providerId:su.PROVIDER_ID,signInMethod:su.GITHUB_SIGN_IN_METHOD,accessToken:e})}static credentialFromResult(e){return su.credentialFromTaggedObject(e)}static credentialFromError(e){return su.credentialFromTaggedObject(e.customData||{})}static credentialFromTaggedObject({_tokenResponse:e}){if(!e||!("oauthAccessToken"in e)||!e.oauthAccessToken)return null;try{return su.credential(e.oauthAccessToken)}catch{return null}}}su.GITHUB_SIGN_IN_METHOD="github.com";su.PROVIDER_ID="github.com";/** 1163 * @license 1164 * Copyright 2020 Google LLC 1165 * 1166 * Licensed under the Apache License, Version 2.0 (the "License");
1167 * you may not use this file except in compliance with the License. 1168 * You may obtain a copy of the License at 1169 * 1170 * http://www.apache.org/licenses/LICENSE-2.0 1171 * 1172 * Unless required by applicable law or agreed to in writing, software 1173 * distributed under the License is distributed on an "AS IS" BASIS, 1174 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1175 * See the License for the specific language governing permissions and 1176 * limitations under the License. 1177 */class ou extends T1{constructor(){super("twitter.com")}static credential(e,r){return xh._fromParams({providerId:ou.PROVIDER_ID,signInMethod:ou.TWITTER_SIGN_IN_METHOD,oauthToken:e,oauthTokenSecret:r})}static credentialFromResult(e){return ou.credentialFromTaggedObject(e)}static credentialFromError(e){return ou.credentialFromTaggedObject(e.customData||{})}static credentialFromTaggedObject({_tokenResponse:e}){if(!e)return null;const{oauthAccessToken:r,oauthTokenSecret:n}=e;if(!r||!n)return null;try{return ou.credential(r,n)}catch{return null}}}ou.TWITTER_SIGN_IN_METHOD="twitter.com";ou.PROVIDER_ID="twitter.com";/** 1178 * @license 1179 * Copyright 2020 Google LLC 1180 * 1181 * Licensed under the Apache License, Version 2.0 (the "License"); 1182 * you may not use this file except in compliance with the License. 1183 * You may obtain a copy of the License at 1184 * 1185 * http://www.apache.org/licenses/LICENSE-2.0 1186 * 1187 * Unless required by applicable law or agreed to in writing, software 1188 * distributed under the License is distributed on an "AS IS" BASIS, 1189 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1190 * See the License for the specific language governing permissions and 1191 * limitations under the License. 1192 */class lp{constructor(e){this.user=e.user,this.providerId=e.providerId,this._tokenResponse=e._tokenResponse,this.operationType=e.operationType}static async _fromIdTokenResponse(e,r,n,i=!1){const a=await Vc._fromIdTokenResponse(e,n,i),s=Nk(n);return new lp({user:a,providerId:s,_tokenResponse:n,operationType:r})}static async _forOperation(e,r,n){await e._updateTokensIfNecessary(n,!0);const i=Nk(n);return new lp({user:e,providerId:i,_tokenResponse:n,operationType:r})}}function Nk(t){return t.providerId?t.providerId:"phoneNumber"in t?"phone":null}/** 1193 * @license 1194 * Copyright 2020 Google LLC 1195 * 1196 * Licensed under the Apache License, Version 2.0 (the "License"); 1197 * you may not use this file except in compliance with the License. 1198 * You may obtain a copy of the License at 1199 * 1200 * http://www.apache.org/licenses/LICENSE-2.0 1201 * 1202 * Unless required by applicable law or agreed to in writing, software 1203 * distributed under the License is distributed on an "AS IS" BASIS, 1204 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1205 * See the License for the specific language governing permissions and 1206 * limitations under the License. 1207 */class eb extends pA{constructor(e,r,n,i){var a;super(r.code,r.message),this.operationType=n,this.user=i,Object.setPrototypeOf(this,eb.prototype),this.customData={appName:e.name,tenantId:(a=e.tenantId)!==null&&a!==void 0?a:void 0,_serverResponse:r.customData._serverResponse,operationType:n}}static _fromErrorAndOperation(e,r,n,i){return new eb(e,r,n,i)}}function KM(t,e,r,n){return(e==="reauthenticate"?r._getReauthenticationResolver(t):r._getIdTokenResponse(t)).catch(a=>{throw a.code==="auth/multi-factor-auth-required"?eb._fromErrorAndOperation(t,a,e,n):a})}async function dee(t,e,r=!1){const n=await Ov(t,e._linkToIdToken(t.auth,await t.getIdToken()),r);return lp._forOperation(t,"link",n)}/** 1208 * @license 1209 * Copyright 2019 Google LLC 1210 * 1211 * Licensed under the Apache License, Version 2.0 (the "License"); 1212 * you may not use this file except in compliance with the License. 1213 * You may obtain a copy of the License at 1214 * 1215 * http://www.apache.org/licenses/LICENSE-2.0 1216 * 1217 * Unless required by applicable law or agreed to in writing, software 1218 * distributed under the License is distributed on an "AS IS" BASIS, 1219 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1220 * See the License for the specific language governing permissions and 1221 * limitations under the License. 1222 */async function hee(t,e,r=!1){const{auth:n}=t;if(Hc(n.app))return Promise.reject(Pu(n));const i="reauthenticate";try{const a=await Ov(t,KM(n,i,e,t),r);Xt(a.idToken,n,"internal-error");const s=XF(a.idToken);Xt(s,n,"internal-error");const{sub:o}=s;return Xt(t.uid===o,n,"user-mismatch"),lp._forOperation(t,i,a)}catch(a){throw(a==null?void 0:a.code)==="auth/user-not-found"&&jl(n,"user-mismatch"),a}
1222}/** 1223 * @license 1224 * Copyright 2020 Google LLC 1225 * 1226 * Licensed under the Apache License, Version 2.0 (the "License"); 1227 * you may not use this file except in compliance with the License. 1228 * You may obtain a copy of the License at 1229 * 1230 * http://www.apache.org/licenses/LICENSE-2.0 1231 * 1232 * Unless required by applicable law or agreed to in writing, software 1233 * distributed under the License is distributed on an "AS IS" BASIS, 1234 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1235 * See the License for the specific language governing permissions and 1236 * limitations under the License. 1237 */async function qM(t,e,r=!1){if(Hc(t.app))return Promise.reject(Pu(t));const n="signIn",i=await KM(t,n,e),a=await lp._fromIdTokenResponse(t,n,i);return r||await t._updateCurrentUser(a.user),a}async function fee(t,e){return qM(Ep(t),e)}/** 1238 * @license 1239 * Copyright 2020 Google LLC 1240 * 1241 * Licensed under the Apache License, Version 2.0 (the "License"); 1242 * you may not use this file except in compliance with the License. 1243 * You may obtain a copy of the License at 1244 * 1245 * http://www.apache.org/licenses/LICENSE-2.0 1246 * 1247 * Unless required by applicable law or agreed to in writing, software 1248 * distributed under the License is distributed on an "AS IS" BASIS, 1249 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1250 * See the License for the specific language governing permissions and 1251 * limitations under the License. 1252 */async function pee(t){const e=Ep(t);e._getPasswordPolicyInternal()&&await e._updatePasswordPolicy()}function mee(t,e,r){return Hc(t.app)?Promise.reject(Pu(t)):fee(ei(t),Np.credential(e,r)).catch(async n=>{throw n.code==="auth/password-does-not-meet-requirements"&&pee(t),n})}/** 1253 * @license 1254 * Copyright 2020 Google LLC 1255 * 1256 * Licensed under the Apache License, Version 2.0 (the "License"); 1257 * you may not use this file except in compliance with the License. 1258 * You may obtain a copy of the License at 1259 * 1260 * http://www.apache.org/licenses/LICENSE-2.0 1261 * 1262 * Unless required by applicable law or agreed to in writing, software 1263 * distributed under the License is distributed on an "AS IS" BASIS, 1264 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1265 * See the License for the specific language governing permissions and 1266 * limitations under the License. 1267 */function gee(t,e){return ei(t).setPersistence(e)}function vee(t,e,r,n){return ei(t).onIdTokenChanged(e,r,n)}function xee(t,e,r){return ei(t).beforeAuthStateChanged(e,r)}function yee(t,e,r,n){return ei(t).onAuthStateChanged(e,r,n)}function wee(t){return ei(t).signOut()}const tb="__sak";/** 1268 * @license 1269 * Copyright 2019 Google LLC 1270 * 1271 * Licensed under the Apache License, Version 2.0 (the "License"); 1272 * you may not use this file except in compliance with the License. 1273 * You may obtain a copy of the License at 1274 * 1275 * http://www.apache.org/licenses/LICENSE-2.0 1276 * 1277 * Unless required by applicable law or agreed to in writing, software 1278 * distributed under the License is distributed on an "AS IS" BASIS, 1279 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1280 * See the License for the specific language governing permissions and 1281 * limitations under the License. 1282 */class GM{constructor(e,r){this.storageRetriever=e,this.type=r}_isAvailable(){try{return this.storage?(this.storage.setItem(tb,"1"),this.storage.removeItem(tb),Promise.resolve(!0)):Promise.resolve(!1)}catch{return Promise.resolve(!1)}}_set(e,r){return this.storage.setItem(e,JSON.stringify(r)),Promise.resolve()}_get(e){const r=this.storage.getItem(e);return Promise.resolve(r?JSON.parse(r):null)}_remove(e){return this.storage.removeItem(e),Promise.resolve()}get storage(){return this.storageRetriever()}}/** 1283 * @license 1284 * Copyright 2020 Google LLC 1285 * 1286 * Licensed under the Apache License, Version 2.0 (the "License"); 1287 * you may not use this file except in compliance with the License. 1288 * You may obtain a copy of the License at 1289 * 1290 * http://www.apache.org/licenses/LICENSE-2.0 1291 * 1292 * Unless required by applicable law or agreed to in writing, software 1293 * distributed under the License is distributed on an "AS IS" BASIS, 1294 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1295 * See the License for the specific language governing permissions and 1296 * limitations under the License. 1297 */const bee=1e3,Cee=10;class JM extends GM{constructor(){super(()=>window.localStorage,"LOCAL"),this.boundEventHandler=(e,r)=>this.onStorageEvent(e,r),this.listeners={},this.localCache={},this.pollTimer=null,this.fallbackToPolling=QM(),this._shouldAllowMigration=!0}forAllChangedKeys(e){for(const r of Object.keys(this.listeners)){const n=this.storage.getItem(r),i=this.localCache[r];n!==i&&e(r,i,n)}}
vendor: 1,264 bytes, line 1297
1297onStorageEvent(e,r=!1){if(!e.key){this.forAllChangedKeys((s,o,c)=>{this.notifyListeners(s,c)});return}const n=e.key;r?this.detachListener():this.stopPolling();const i=()=>{const s=this.storage.getItem(n);!r&&this.localCache[n]===s||this.notifyListeners(n,s)},a=this.storage.getItem(n);Q$()&&a!==e.newValue&&e.newValue!==e.oldValue?setTimeout(i,Cee):i()}notifyListeners(e,r){this.localCache[e]=r;const n=this.listeners[e];if(n)for(const i of Array.from(n))i(r&&JSON.parse(r))}startPolling(){this.stopPolling(),this.pollTimer=setInterval(()=>{this.forAllChangedKeys((e,r,n)=>{this.onStorageEvent(new StorageEvent("storage",{key:e,oldValue:r,newValue:n}),!0)})},bee)}stopPolling(){this.pollTimer&&(clearInterval(this.pollTimer),this.pollTimer=null)}attachListener(){window.addEventListener("storage",this.boundEventHandler)}detachListener(){window.removeEventListener("storage",this.boundEventHandler)}_addListener(e,r){Object.keys(this.listeners).length===0&&(this.fallbackToPolling?this.startPolling():this.attachListener()),this.listeners[e]||(this.listeners[e]=new Set,this.localCache[e]=this.storage.getItem(e)),this.listeners[e].add(r)}_removeListener(e,r){this.listeners[e]&&(this.listeners[e].delete(r),this.listeners[e].size===0&&delete this.listeners[e]),Ob
1297ject.keys(this.listeners).length===0&&(this.detachListener(),this.stopPolling())}async _set(e,r){await super._set(e,r),this.localCache[e]=JSON.stringify(r)}async _get(e){const r=await super._get(e);return this.localCache[e]=JSON.stringify(r),r}async _remove(e){await super._remove(e),delete this.localCache[e]}}JM.type="LOCAL";const XM=JM;/** 1298 * @license 1299 * Copyright 2020 Google LLC 1300 * 1301 * Licensed under the Apache License, Version 2.0 (the "License"); 1302 * you may not use this file except in compliance with the License. 1303 * You may obtain a copy of the License at 1304 * 1305 * http://www.apache.org/licenses/LICENSE-2.0 1306 * 1307 * Unless required by applicable law or agreed to in writing, software 1308 * distributed under the License is distributed on an "AS IS" BASIS, 1309 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1310 * See the License for the specific language governing permissions and 1311 * limitations under the License. 1312 */class YM extends GM{constructor(){super(()=>window.sessionStorage,"SESSION")}_addListener(e,r){}_removeListener(e,r){}}YM.type="SESSION";const ZM=YM;/** 1313 * @license 1314 * Copyright 2019 Google LLC 1315 * 1316 * Licensed under the Apache License, Version 2.0 (the "License"); 1317 * you may not use this file except in compliance with the License. 1318 * You may obtain a copy of the License at 1319 * 1320 * http://www.apache.org/licenses/LICENSE-2.0 1321 * 1322 * Unless required by applicable law or agreed to in writing, software 1323 * distributed under the License is distributed on an "AS IS" BASIS, 1324 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1325 * See the License for the specific language governing permissions and 1326 * limitations under the License. 1327 */function Bee(t){return Promise.all(t.map(async e=>{try{return{fulfilled:!0,value:await e}}catch(r){return{fulfilled:!1,reason:r}}}))}/** 1328 * @license 1329 * Copyright 2019 Google LLC 1330 * 1331 * Licensed under the Apache License, Version 2.0 (the "License"); 1332 * you may not use this file except in compliance with the License. 1333 * You may obtain a copy of the License at 1334 * 1335 * http://www.apache.org/licenses/LICENSE-2.0 1336 * 1337 * Unless required by applicable law or agreed to in writing, software 1338 * distributed under the License is distributed on an "AS IS" BASIS, 1339 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1340 * See the License for the specific language governing permissions and 1341 * limitations under the License. 1342 */class kC{constructor(e){this.eventTarget=e,this.handlersMap={},this.boundEventHandler=this.handleEvent.bind(this)}static _getInstance(e){const r=this.receivers.find(i=>i.isListeningto(e));if(r)return r;const n=new kC(e);return this.receivers.push(n),n}isListeningto(e){return this.eventTarget===e}async handleEvent(e){const r=e,{eventId:n,eventType:i,data:a}=r.data,s=this.handlersMap[i];if(!(s!=null&&s.size))return;r.ports[0].postMessage({status:"ack",eventId:n,eventType:i});const o=Array.from(s).map(async A=>A(r.origin,a)),c=await Bee(o);r.ports[0].postMessage({status:"done",eventId:n,eventType:i,response:c})}_subscribe(e,r){Object.keys(this.handlersMap).length===0&&this.eventTarget.addEventListener("message",this.boundEventHandler),this.handlersMap[e]||(this.handlersMap[e]=new Set),this.handlersMap[e].add(r)}_unsubscribe(e,r){this.handlersMap[e]&&r&&this.handlersMap[e].delete(r),(!r||this.handlersMap[e].size===0)&&delete this.handlersMap[e],Object.keys(this.handlersMap).length===0&&this.eventTarget.removeEventListener("message",this.boundEventHandler)}}kC.receivers=[];/** 1343 * @license 1344 * Copyright 2020 Google LLC 1345 * 1346 * Licensed under the Apache License, Version 2.0 (the "License"); 1347 * you may not use this file except in compliance with the License. 1348 * You may obtain a copy of the License at 1349 * 1350 * http://www.apache.org/licenses/LICENSE-2.0 1351 * 1352 * Unless required by applicable law or agreed to in writing, software 1353 * distributed under the License is distributed on an "AS IS" BASIS, 1354 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1355 * See the License for the specific language governing permissions and 1356 * limitations under the License. 1357 */function e3(t="",e=10){let r="";for(let n=0;n<e;n++)r+=Math.floor(Math.random()*10);return t+r}/** 1358 * @license 1359 * Copyright 2019 Google LLC 1360 * 1361 * Licensed under the Apache License, Version 2.0 (the "License");
1362 * you may not use this file except in compliance with the License. 1363 * You may obtain a copy of the License at 1364 * 1365 * http://www.apache.org/licenses/LICENSE-2.0 1366 * 1367 * Unless required by applicable law or agreed to in writing, software 1368 * distributed under the License is distributed on an "AS IS" BASIS, 1369 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1370 * See the License for the specific language governing permissions and 1371 * limitations under the License. 1372 */class Eee{constructor(e){this.target=e,this.handlers=new Set}removeMessageHandler(e){e.messageChannel&&(e.messageChannel.port1.removeEventListener("message",e.onMessage),e.messageChannel.port1.close()),this.handlers.delete(e)}async _send(e,r,n=50){const i=typeof MessageChannel<"u"?new MessageChannel:null;if(!i)throw new Error("connection_unavailable");let a,s;return new Promise((o,c)=>{const A=e3("",20);i.port1.start();const u=setTimeout(()=>{c(new Error("unsupported_event"))},n);s={messageChannel:i,onMessage(d){const f=d;if(f.data.eventId===A)switch(f.data.status){case"ack":clearTimeout(u),a=setTimeout(()=>{c(new Error("timeout"))},3e3);break;case"done":clearTimeout(a),o(f.data.response);break;default:clearTimeout(u),clearTimeout(a),c(new Error("invalid_response"));break}}},this.handlers.add(s),i.port1.addEventListener("message",s.onMessage),this.target.postMessage({eventType:e,eventId:A,data:r},[i.port2])}).finally(()=>{s&&this.removeMessageHandler(s)})}}/** 1373 * @license 1374 * Copyright 2020 Google LLC 1375 * 1376 * Licensed under the Apache License, Version 2.0 (the "License"); 1377 * you may not use this file except in compliance with the License. 1378 * You may obtain a copy of the License at 1379 * 1380 * http://www.apache.org/licenses/LICENSE-2.0 1381 * 1382 * Unless required by applicable law or agreed to in writing, software 1383 * distributed under the License is distributed on an "AS IS" BASIS, 1384 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1385 * See the License for the specific language governing permissions and 1386 * limitations under the License. 1387 */function oc(){return window}function Nee(t){oc().location.href=t}/** 1388 * @license 1389 * Copyright 2020 Google LLC. 1390 * 1391 * Licensed under the Apache License, Version 2.0 (the "License"); 1392 * you may not use this file except in compliance with the License. 1393 * You may obtain a copy of the License at 1394 * 1395 * http://www.apache.org/licenses/LICENSE-2.0 1396 * 1397 * Unless required by applicable law or agreed to in writing, software 1398 * distributed under the License is distributed on an "AS IS" BASIS, 1399 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1400 * See the License for the specific language governing permissions and 1401 * limitations under the License. 1402 */function $M(){return typeof oc().WorkerGlobalScope<"u"&&typeof oc().importScripts=="function"}async function See(){if(!(navigator!=null&&navigator.serviceWorker))return null;try{return(await navigator.serviceWorker.ready).active}catch{return null}}function _ee(){var t;return((t=navigator==null?void 0:navigator.serviceWorker)===null||t===void 0?void 0:t.controller)||null}function Fee(){return $M()?self:null}/** 1403 * @license 1404 * Copyright 2019 Google LLC 1405 * 1406 * Licensed under the Apache License, Version 2.0 (the "License"); 1407 * you may not use this file except in compliance with the License. 1408 * You may obtain a copy of the License at 1409 * 1410 * http://www.apache.org/licenses/LICENSE-2.0 1411 * 1412 * Unless required by applicable law or agreed to in writing, software 1413 * distributed under the License is distributed on an "AS IS" BASIS, 1414 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1415 * See the License for the specific language governing permissions and 1416 * limitations under the License. 1417 */const e7="firebaseLocalStorageDb",Tee=1,rb="firebaseLocalStorage",t7="fbase_key";class j1{constructor(e){this.request=e}toPromise(){return new Promise((e,r)=>{this.request.addEventListener("success",()=>{e(this.request.result)}),this.request.addEventListener("error",()=>{r(this.request.error)})})}}function PC(t,e){return t.transaction([rb],e?"readwrite":"readonly").objectStore(rb)}function jee(){const t=indexedDB.deleteDatabase(e7);
1417return new j1(t).toPromise()}function eS(){const t=indexedDB.open(e7,Tee);return new Promise((e,r)=>{t.addEventListener("error",()=>{r(t.error)}),t.addEventListener("upgradeneeded",()=>{const n=t.result;try{n.createObjectStore(rb,{keyPath:t7})}catch(i){r(i)}}),t.addEventListener("success",async()=>{const n=t.result;n.objectStoreNames.contains(rb)?e(n):(n.close(),await jee(),e(await eS()))})})}async function Sk(t,e,r){const n=PC(t,!0).put({[t7]:e,value:r});return new j1(n).toPromise()}async function Iee(t,e){const r=PC(t,!1).get(e),n=await new j1(r).toPromise();return n===void 0?null:n.value}function _k(t,e){const r=PC(t,!0).delete(e);return new j1(r).toPromise()}const kee=800,Pee=3;class r7{constructor(){this.type="LOCAL",this._shouldAllowMigration=!0,this.listeners={},this.localCache={},this.pollTimer=null,this.pendingWrites=0,this.receiver=null,this.sender=null,this.serviceWorkerReceiverAvailable=!1,this.activeServiceWorker=null,this._workerInitializationPromise=this.initializeServiceWorkerMessaging().then(()=>{},()=>{})}async _openDb(){return this.db?this.db:(this.db=await eS(),this.db)}async _withRetries(e){let r=0;for(;;)try{const n=await this._openDb();return await e(n)}catch(n){if(r++>Pee)throw n;this.db&&(this.db.close(),this.db=void 0)}}async initializeServiceWorkerMessaging(){return $M()?this.initializeReceiver():this.initializeSender()}async initializeReceiver(){this.receiver=kC._getInstance(Fee()),this.receiver._subscribe("keyChanged",async(e,r)=>({keyProcessed:(await this._poll()).includes(r.key)})),this.receiver._subscribe("ping",async(e,r)=>["keyChanged"])}async initializeSender(){var e,r;if(this.activeServiceWorker=await See(),!this.activeServiceWorker)return;this.sender=new Eee(this.activeServiceWorker);const n=await this.sender._send("ping",{},800);n&&!((e=n[0])===null||e===void 0)&&e.fulfilled&&!((r=n[0])===null||r===void 0)&&r.value.includes("keyChanged")&&(this.serviceWorkerReceiverAvailable=!0)}async notifyServiceWorker(e){if(!(!this.sender||!this.activeServiceWorker||_ee()!==this.activeServiceWorker))try{await this.sender._send("keyChanged",{key:e},this.serviceWorkerReceiverAvailable?800:50)}catch{}}async _isAvailable(){try{if(!indexedDB)return!1;const e=await eS();return await Sk(e,tb,"1"),await _k(e,tb),!0}catch{}return!1}async _withPendingWrite(e){this.pendingWrites++;try{await e()}finally{this.pendingWrites--}}async _set(e,r){return this._withPendingWrite(async()=>(await this._withRetries(n=>Sk(n,e,r)),this.localCache[e]=r,this.notifyServiceWorker(e)))}async _get(e){const r=await this._withRetries(n=>Iee(n,e));return this.localCache[e]=r,r}async _remove(e){return this._withPendingWrite(async()=>(await this._withRetries(r=>_k(r,e)),delete this.localCache[e],this.notifyServiceWorker(e)))}async _poll(){const e=await this._withRetries(i=>{const a=PC(i,!1).getAll();return new j1(a).toPromise()});if(!e)return[];if(this.pendingWrites!==0)return[];const r=[],n=new Set;if(e.length!==0)for(const{fbase_key:i,value:a}of e)n.add(i),JSON.stringify(this.localCache[i])!==JSON.stringify(a)&&(this.notifyListeners(i,a),r.push(i));for(const i of Object.keys(this.localCache))this.localCache[i]&&!n.has(i)&&(this.notifyListeners(i,null),r.push(i));return r}notifyListeners(e,r){this.localCache[e]=r;const n=this.listeners[e];if(n)for(const i of Array.from(n))i(r)}startPolling(){this.stopPolling(),this.pollTimer=setInterval(async()=>this._poll(),kee)}stopPolling(){this.pollTimer&&(clearInterval(this.pollTimer),this.pollTimer=null)}_addListener(e,r){Object.keys(this.listeners).length===0&&this.startPolling(),this.listeners[e]||(this.listeners[e]=new Set,this._get(e)),this.listeners[e].add(r)}_removeListener(e,r){this.listeners[e]&&(this.listeners[e].delete(r),this.listeners[e].size===0&&delete this.listeners[e]),Ob
vendor: 4,328 bytes, lines 1417-1466
1417ject.keys(this.listeners).length===0&&this.stopPolling()}}r7.type="LOCAL";const Dee=r7;new F1(3e4,6e4);/** 1418 * @license 1419 * Copyright 2021 Google LLC 1420 * 1421 * Licensed under the Apache License, Version 2.0 (the "License"); 1422 * you may not use this file except in compliance with the License. 1423 * You may obtain a copy of the License at 1424 * 1425 * http://www.apache.org/licenses/LICENSE-2.0 1426 * 1427 * Unless required by applicable law or agreed to in writing, software 1428 * distributed under the License is distributed on an "AS IS" BASIS, 1429 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1430 * See the License for the specific language governing permissions and 1431 * limitations under the License. 1432 */function Oee(t,e){return e?Wc(e):(Xt(t._popupRedirectResolver,t,"argument-error"),t._popupRedirectResolver)}/** 1433 * @license 1434 * Copyright 2019 Google LLC 1435 * 1436 * Licensed under the Apache License, Version 2.0 (the "License"); 1437 * you may not use this file except in compliance with the License. 1438 * You may obtain a copy of the License at 1439 * 1440 * http://www.apache.org/licenses/LICENSE-2.0 1441 * 1442 * Unless required by applicable law or agreed to in writing, software 1443 * distributed under the License is distributed on an "AS IS" BASIS, 1444 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1445 * See the License for the specific language governing permissions and 1446 * limitations under the License. 1447 */class t3 extends ZF{constructor(e){super("custom","custom"),this.params=e}_getIdTokenResponse(e){return k0(e,this._buildIdpRequest())}_linkToIdToken(e,r){return k0(e,this._buildIdpRequest(r))}_getReauthenticationResolver(e){return k0(e,this._buildIdpRequest())}_buildIdpRequest(e){const r={requestUri:this.params.requestUri,sessionId:this.params.sessionId,postBody:this.params.postBody,tenantId:this.params.tenantId,pendingToken:this.params.pendingToken,returnSecureToken:!0,returnIdpCredential:!0};return e&&(r.idToken=e),r}}function Ree(t){return qM(t.auth,new t3(t),t.bypassAuthState)}function Uee(t){const{auth:e,user:r}=t;return Xt(r,e,"internal-error"),hee(r,new t3(t),t.bypassAuthState)}async function Lee(t){const{auth:e,user:r}=t;return Xt(r,e,"internal-error"),dee(r,new t3(t),t.bypassAuthState)}/** 1448 * @license 1449 * Copyright 2020 Google LLC 1450 * 1451 * Licensed under the Apache License, Version 2.0 (the "License"); 1452 * you may not use this file except in compliance with the License. 1453 * You may obtain a copy of the License at 1454 * 1455 * http://www.apache.org/licenses/LICENSE-2.0 1456 * 1457 * Unless required by applicable law or agreed to in writing, software 1458 * distributed under the License is distributed on an "AS IS" BASIS, 1459 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1460 * See the License for the specific language governing permissions and 1461 * limitations under the License. 1462 */class n7{constructor(e,r,n,i,a=!1){this.auth=e,this.resolver=n,this.user=i,this.bypassAuthState=a,this.pendingPromise=null,this.eventManager=null,this.filter=Array.isArray(r)?r:[r]}execute(){return new Promise(async(e,r)=>{this.pendingPromise={resolve:e,reject:r};try{this.eventManager=await this.resolver._initialize(this.auth),await this.onExecution(),this.eventManager.registerConsumer(this)}catch(n){this.reject(n)}})}async onAuthEvent(e){const{urlResponse:r,sessionId:n,postBody:i,tenantId:a,error:s,type:o}=e;if(s){this.reject(s);return}const c={auth:this.auth,requestUri:r,sessionId:n,tenantId:a||void 0,postBody:i||void 0,user:this.user,bypassAuthState:this.bypassAuthState};try{this.resolve(await this.getIdpTask(o)(c))}catch(A){this.reject(A)}}onError(e){this.reject(e)}getIdpTask(e){switch(e){case"signInViaPopup":case"signInViaRedirect":return Ree;case"linkViaPopup":case"linkViaRedirect":return Lee;case"reauthViaPopup":case"reauthViaRedirect":return Uee;default:jl(this.auth,"internal-error")}}resolve(e){oA(this.pendingPromise,"Pending promise was never set"),this.pendingPromise.resolve(e),this.unregisterAndCleanUp()}reject(e){oA(this.pendingPromise,"Pending promise was never set"),this.pendingPromise.reject(e),this.unregisterAndCleanUp()}unregisterAndCleanUp(){this.eventManager&&this.eventManager.unregisterConsumer(this),this.pendingPromise=null,this.cleanUp()}}/** 1463 * @license 1464 * Copyright 2020 Google LLC 1465 * 1466 * Licensed under the Apache License, Version 2.0 (the "License");
1467 * you may not use this file except in compliance with the License. 1468 * You may obtain a copy of the License at 1469 * 1470 * http://www.apache.org/licenses/LICENSE-2.0 1471 * 1472 * Unless required by applicable law or agreed to in writing, software 1473 * distributed under the License is distributed on an "AS IS" BASIS, 1474 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1475 * See the License for the specific language governing permissions and 1476 * limitations under the License. 1477 */const Mee=new F1(2e3,1e4);class f0 extends n7{constructor(e,r,n,i,a){super(e,r,i,a),this.provider=n,this.authWindow=null,this.pollId=null,f0.currentPopupAction&&f0.currentPopupAction.cancel(),f0.currentPopupAction=this}async executeNotNull(){const e=await this.execute();return Xt(e,this.auth,"internal-error"),e}async onExecution(){oA(this.filter.length===1,"Popup operations only handle one event");const e=e3();this.authWindow=await this.resolver._openPopup(this.auth,this.provider,this.filter[0],e),this.authWindow.associatedEvent=e,this.resolver._originValidation(this.auth).catch(r=>{this.reject(r)}),this.resolver._isIframeWebStorageSupported(this.auth,r=>{r||this.reject(sc(this.auth,"web-storage-unsupported"))}),this.pollUserCancellation()}get eventId(){var e;return((e=this.authWindow)===null||e===void 0?void 0:e.associatedEvent)||null}cancel(){this.reject(sc(this.auth,"cancelled-popup-request"))}cleanUp(){this.authWindow&&this.authWindow.close(),this.pollId&&window.clearTimeout(this.pollId),this.authWindow=null,this.pollId=null,f0.currentPopupAction=null}pollUserCancellation(){const e=()=>{var r,n;if(!((n=(r=this.authWindow)===null||r===void 0?void 0:r.window)===null||n===void 0)&&n.closed){this.pollId=window.setTimeout(()=>{this.pollId=null,this.reject(sc(this.auth,"popup-closed-by-user"))},8e3);return}this.pollId=window.setTimeout(e,Mee.get())};e()}}f0.currentPopupAction=null;/** 1478 * @license 1479 * Copyright 2020 Google LLC 1480 * 1481 * Licensed under the Apache License, Version 2.0 (the "License"); 1482 * you may not use this file except in compliance with the License. 1483 * You may obtain a copy of the License at 1484 * 1485 * http://www.apache.org/licenses/LICENSE-2.0 1486 * 1487 * Unless required by applicable law or agreed to in writing, software 1488 * distributed under the License is distributed on an "AS IS" BASIS, 1489 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1490 * See the License for the specific language governing permissions and 1491 * limitations under the License. 1492 */const Qee="pendingRedirect",Kw=new Map;class Hee extends n7{constructor(e,r,n=!1){super(e,["signInViaRedirect","linkViaRedirect","reauthViaRedirect","unknown"],r,void 0,n),this.eventId=null}async execute(){let e=Kw.get(this.auth._key());if(!e){try{const n=await zee(this.resolver,this.auth)?await super.execute():null;e=()=>Promise.resolve(n)}catch(r){e=()=>Promise.reject(r)}Kw.set(this.auth._key(),e)}return this.bypassAuthState||Kw.set(this.auth._key(),()=>Promise.resolve(null)),e()}async onAuthEvent(e){if(e.type==="signInViaRedirect")return super.onAuthEvent(e);if(e.type==="unknown"){this.resolve(null);return}if(e.eventId){const r=await this.auth._redirectUserForId(e.eventId);if(r)return this.user=r,super.onAuthEvent(e);this.resolve(null)}}async onExecution(){}cleanUp(){}}async function zee(t,e){const r=Kee(e),n=Wee(t);if(!await n._isAvailable())return!1;const i=await n._get(r)==="true";return await n._remove(r),i}function Vee(t,e){Kw.set(t._key(),e)}function Wee(t){return Wc(t._redirectPersistence)}function Kee(t){return Ww(Qee,t.config.apiKey,t.name)}async function qee(t,e,r=!1){if(Hc(t.app))return Promise.reject(Pu(t));const n=Ep(t),i=Oee(n,e),s=await new Hee(n,i,r).execute();return s&&!r&&(delete s.user._redirectEventId,await n._persistUserIfCurrent(s.user),await n._setRedirectUser(null,e)),s}/** 1493 * @license 1494 * Copyright 2020 Google LLC 1495 * 1496 * Licensed under the Apache License, Version 2.0 (the "License"); 1497 * you may not use this file except in compliance with the License. 1498 * You may obtain a copy of the License at 1499 * 1500 * http://www.apache.org/licenses/LICENSE-2.0 1501 * 1502 * Unless required by applicable law or agreed to in writing, softw
1502are 1503 * distributed under the License is distributed on an "AS IS" BASIS, 1504 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1505 * See the License for the specific language governing permissions and 1506 * limitations under the License. 1507 */const Gee=10*60*1e3;class Jee{constructor(e){this.auth=e,this.cachedEventUids=new Set,this.consumers=new Set,this.queuedRedirectEvent=null,this.hasHandledPotentialRedirect=!1,this.lastProcessedEventTime=Date.now()}registerConsumer(e){this.consumers.add(e),this.queuedRedirectEvent&&this.isEventForConsumer(this.queuedRedirectEvent,e)&&(this.sendToConsumer(this.queuedRedirectEvent,e),this.saveEventToCache(this.queuedRedirectEvent),this.queuedRedirectEvent=null)}unregisterConsumer(e){this.consumers.delete(e)}onEvent(e){if(this.hasEventBeenHandled(e))return!1;let r=!1;return this.consumers.forEach(n=>{this.isEventForConsumer(e,n)&&(r=!0,this.sendToConsumer(e,n),this.saveEventToCache(e))}),this.hasHandledPotentialRedirect||!Xee(e)||(this.hasHandledPotentialRedirect=!0,r||(this.queuedRedirectEvent=e,r=!0)),r}sendToConsumer(e,r){var n;if(e.error&&!i7(e)){const i=((n=e.error.code)===null||n===void 0?void 0:n.split("auth/")[1])||"internal-error";r.onError(sc(this.auth,i))}else r.onAuthEvent(e)}isEventForConsumer(e,r){const n=r.eventId===null||!!e.eventId&&e.eventId===r.eventId;return r.filter.includes(e.type)&&n}hasEventBeenHandled(e){return Date.now()-this.lastProcessedEventTime>=Gee&&this.cachedEventUids.clear(),this.cachedEventUids.has(Fk(e))}saveEventToCache(e){this.cachedEventUids.add(Fk(e)),this.lastProcessedEventTime=Date.now()}}function Fk(t){return[t.type,t.eventId,t.sessionId,t.tenantId].filter(e=>e).join("-")}function i7({type:t,error:e}){return t==="unknown"&&(e==null?void 0:e.code)==="auth/no-auth-event"}function Xee(t){switch(t.type){case"signInViaRedirect":case"linkViaRedirect":case"reauthViaRedirect":return!0;case"unknown":return i7(t);default:return!1}}/** 1508 * @license 1509 * Copyright 2020 Google LLC 1510 * 1511 * Licensed under the Apache License, Version 2.0 (the "License"); 1512 * you may not use this file except in compliance with the License. 1513 * You may obtain a copy of the License at 1514 * 1515 * http://www.apache.org/licenses/LICENSE-2.0 1516 * 1517 * Unless required by applicable law or agreed to in writing, software 1518 * distributed under the License is distributed on an "AS IS" BASIS, 1519 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1520 * See the License for the specific language governing permissions and 1521 * limitations under the License. 1522 */async function Yee(t,e={}){return dd(t,"GET","/v1/projects",e)}/** 1523 * @license 1524 * Copyright 2020 Google LLC 1525 * 1526 * Licensed under the Apache License, Version 2.0 (the "License"); 1527 * you may not use this file except in compliance with the License. 1528 * You may obtain a copy of the License at 1529 * 1530 * http://www.apache.org/licenses/LICENSE-2.0 1531 * 1532 * Unless required by applicable law or agreed to in writing, software 1533 * distributed under the License is distributed on an "AS IS" BASIS, 1534 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1535 * See the License for the specific language governing permissions and 1536 * limitations under the License. 1537 */const Zee=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/,$ee=/^https?/;async function ete(t){if(t.config.emulator)return;const{authorizedDomains:e}=await Yee(t);for(const r of e)try{if(tte(r))return}catch{}jl(t,"unauthorized-domain")}function tte(t){const e=ZN(),{protocol:r,hostname:n}=new URL(e);if(t.startsWith("chrome-extension://")){const s=new URL(t);return s.hostname===""&&n===""?r==="chrome-extension:"&&t.replace("chrome-extension://","")===e.replace("chrome-extension://",""):r==="chrome-extension:"&&s.hostname===n}if(!$ee.test(r))return!1;if(Zee.test(t))return n===t;const i=t.replace(/\./g,"\\.");return new RegExp("^(.+\\."+i+"|"+i+")$","i").test(n)}/** 1538 * @license 1539 * Copyright 2020 Google LLC. 1540 * 1541 * Licensed under the Apache License, Version 2.0 (the "License"); 1542 * you may not use this file except in compliance with the License. 1543 * You may obtain a copy of the License at 1544 * 1545 * http://www.apache.org/licenses/LICENSE-2.0 1546 * 1547 * Unless required by applicable law or agreed to in writing, softw
1547are 1548 * distributed under the License is distributed on an "AS IS" BASIS, 1549 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1550 * See the License for the specific language governing permissions and 1551 * limitations under the License. 1552 */const rte=new F1(3e4,6e4);function Tk(){const t=oc().___jsl;if(t!=null&&t.H){for(const e of Object.keys(t.H))if(t.H[e].r=t.H[e].r||[],t.H[e].L=t.H[e].L||[],t.H[e].r=[...t.H[e].L],t.CP)for(let r=0;r<t.CP.length;r++)t.CP[r]=null}}function nte(t){return new Promise((e,r)=>{var n,i,a;function s(){Tk(),gapi.load("gapi.iframes",{callback:()=>{e(gapi.iframes.getContext())},ontimeout:()=>{Tk(),r(sc(t,"network-request-failed"))},timeout:rte.get()})}if(!((i=(n=oc().gapi)===null||n===void 0?void 0:n.iframes)===null||i===void 0)&&i.Iframe)e(gapi.iframes.getContext());else if(!((a=oc().gapi)===null||a===void 0)&&a.load)s();else{const o=X$("iframefcb");return oc()[o]=()=>{gapi.load?s():r(sc(t,"network-request-failed"))},zM(`${J$()}?onload=${o}`).catch(c=>r(c))}}).catch(e=>{throw qw=null,e})}let qw=null;function ite(t){return qw=qw||nte(t),qw}/** 1553 * @license 1554 * Copyright 2020 Google LLC. 1555 * 1556 * Licensed under the Apache License, Version 2.0 (the "License"); 1557 * you may not use this file except in compliance with the License. 1558 * You may obtain a copy of the License at 1559 * 1560 * http://www.apache.org/licenses/LICENSE-2.0 1561 * 1562 * Unless required by applicable law or agreed to in writing, software 1563 * distributed under the License is distributed on an "AS IS" BASIS, 1564 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1565 * See the License for the specific language governing permissions and 1566 * limitations under the License. 1567 */const ate=new F1(5e3,15e3),ste="__/auth/iframe",ote="emulator/auth/iframe",lte={style:{position:"absolute",top:"-100px",width:"1px",height:"1px"},"aria-hidden":"true",tabindex:"-1"},cte=new Map([["identitytoolkit.googleapis.com","p"],["staging-identitytoolkit.sandbox.googleapis.com","s"],["test-identitytoolkit.sandbox.googleapis.com","t"]]);function Ate(t){const e=t.config;Xt(e.authDomain,t,"auth-domain-config-required");const r=e.emulator?JF(e,ote):`https://${t.config.authDomain}/${ste}`,n={apiKey:e.apiKey,appName:t.name,v:Uh},i=cte.get(t.config.apiHost);i&&(n.eid=i);const a=t._getFrameworks();return a.length&&(n.fw=a.join(",")),`${r}?${Bp(n).slice(1)}`}async function ute(t){const e=await ite(t),r=oc().gapi;return Xt(r,t,"internal-error"),e.open({where:document.body,url:Ate(t),messageHandlersFilter:r.iframes.CROSS_ORIGIN_IFRAMES_FILTER,attributes:lte,dontclear:!0},n=>new Promise(async(i,a)=>{await n.restyle({setHideOnLeave:!1});const s=sc(t,"network-request-failed"),o=oc().setTimeout(()=>{a(s)},ate.get());function c(){oc().clearTimeout(o),i(n)}n.ping(c).then(c,()=>{a(s)})}))}/** 1568 * @license 1569 * Copyright 2020 Google LLC. 1570 * 1571 * Licensed under the Apache License, Version 2.0 (the "License"); 1572 * you may not use this file except in compliance with the License. 1573 * You may obtain a copy of the License at 1574 * 1575 * http://www.apache.org/licenses/LICENSE-2.0 1576 * 1577 * Unless required by applicable law or agreed to in writing, software 1578 * distributed under the License is distributed on an "AS IS" BASIS, 1579 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1580 * See the License for the specific language governing permissions and 1581 * limitations under the License. 1582 */const dte={location:"yes",resizable:"yes",statusbar:"yes",toolbar:"no"},hte=500,fte=600,pte="_blank",mte="http://localhost";class jk{constructor(e){this.window=e,this.associatedEvent=null}close(){if(this.window)try{this.window.close()}catch{}}}function gte(t,e,r,n=hte,i=fte){const a=Math.max((window.screen.availHeight-i)/2,0).toString(),s=Math.max((window.screen.availWidth-n)/2,0).toString();let o="";const c=Object.assign(Object.assign({},dte),{width:n.toString(),height:i.toString(),top:a,left:s}),A=os().toLowerCase();r&&(o=OM(A)?pte:r),PM(A)&&(e=e||mte,c.scrollbars="yes");const u=Object.entries(c).reduce((f,[h,m])=>`${f}${h}=${m},`,"");if(M$(A)&&o!=="_self")return vte(e||"",o),new jk(null);const d=window.open(e||"",o,u);Xt(d,t,"popup-blocked");try{d.focus()}catch{}return new jk(d)}function vte(t,e){const r=document.createElement("a");r.href=t,r.target=e;const n=document.createEvent("MouseEvent");
1582n.initMouseEvent("click",!0,!0,window,1,0,0,0,0,!1,!1,!1,!1,1,null),r.dispatchEvent(n)}/** 1583 * @license 1584 * Copyright 2021 Google LLC 1585 * 1586 * Licensed under the Apache License, Version 2.0 (the "License"); 1587 * you may not use this file except in compliance with the License. 1588 * You may obtain a copy of the License at 1589 * 1590 * http://www.apache.org/licenses/LICENSE-2.0 1591 * 1592 * Unless required by applicable law or agreed to in writing, software 1593 * distributed under the License is distributed on an "AS IS" BASIS, 1594 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1595 * See the License for the specific language governing permissions and 1596 * limitations under the License. 1597 */const xte="__/auth/handler",yte="emulator/auth/handler",wte=encodeURIComponent("fac");async function Ik(t,e,r,n,i,a){Xt(t.config.authDomain,t,"auth-domain-config-required"),Xt(t.config.apiKey,t,"invalid-api-key");const s={apiKey:t.config.apiKey,appName:t.name,authType:r,redirectUrl:n,v:Uh,eventId:i};if(e instanceof WM){e.setDefaultLanguage(t.languageCode),s.providerId=e.providerId||"",VN(e.getCustomParameters())||(s.customParameters=JSON.stringify(e.getCustomParameters()));for(const[u,d]of Object.entries({}))s[u]=d}if(e instanceof T1){const u=e.getScopes().filter(d=>d!=="");u.length>0&&(s.scopes=u.join(","))}t.tenantId&&(s.tid=t.tenantId);const o=s;for(const u of Object.keys(o))o[u]===void 0&&delete o[u];const c=await t._getAppCheckToken(),A=c?`#${wte}=${encodeURIComponent(c)}`:"";return`${bte(t)}?${Bp(o).slice(1)}${A}`}function bte({config:t}){return t.emulator?JF(t,yte):`https://${t.authDomain}/${xte}`}/** 1598 * @license 1599 * Copyright 2020 Google LLC 1600 * 1601 * Licensed under the Apache License, Version 2.0 (the "License"); 1602 * you may not use this file except in compliance with the License. 1603 * You may obtain a copy of the License at 1604 * 1605 * http://www.apache.org/licenses/LICENSE-2.0 1606 * 1607 * Unless required by applicable law or agreed to in writing, software 1608 * distributed under the License is distributed on an "AS IS" BASIS, 1609 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1610 * See the License for the specific language governing permissions and 1611 * limitations under the License. 1612 */const mE="webStorageSupport";class Cte{constructor(){this.eventManagers={},this.iframes={},this.originValidationPromises={},this._redirectPersistence=ZM,this._completeRedirectFn=qee,this._overrideRedirectResult=Vee}async _openPopup(e,r,n,i){var a;oA((a=this.eventManagers[e._key()])===null||a===void 0?void 0:a.manager,"_initialize() not called before _openPopup()");const s=await Ik(e,r,n,ZN(),i);return gte(e,s,e3())}async _openRedirect(e,r,n,i){await this._originValidation(e);const a=await Ik(e,r,n,ZN(),i);return Nee(a),new Promise(()=>{})}_initialize(e){const r=e._key();if(this.eventManagers[r]){const{manager:i,promise:a}=this.eventManagers[r];return i?Promise.resolve(i):(oA(a,"If manager is not set, promise should be"),a)}const n=this.initAndGetManager(e);return this.eventManagers[r]={promise:n},n.catch(()=>{delete this.eventManagers[r]}),n}async initAndGetManager(e){const r=await ute(e),n=new Jee(e);return r.register("authEvent",i=>(Xt(i==null?void 0:i.authEvent,e,"invalid-auth-event"),{status:n.onEvent(i.authEvent)?"ACK":"ERROR"}),gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER),this.eventManagers[e._key()]={manager:n},this.iframes[e._key()]=r,n}_isIframeWebStorageSupported(e,r){this.iframes[e._key()].send(mE,{type:mE},i=>{var a;const s=(a=i==null?void 0:i[0])===null||a===void 0?void 0:a[mE];s!==void 0&&r(!!s),jl(e,"internal-error")},gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER)}_originValidation(e){const r=e._key();return this.originValidationPromises[r]||(this.originValidationPromises[r]=ete(e)),this.originValidationPromises[r]}get _shouldInitProactively(){return QM()||DM()||YF()}}const Bte=Cte;var kk="@firebase/auth",Pk="1.7.9";/** 1613 * @license 1614 * Copyright 2020 Google LLC 1615 * 1616 * Licensed under the Apache License, Version 2.0 (the "License"); 1617 * you may not use this file except in compliance with the License. 1618 * You may obtain a copy of the License at 1619 * 1620 * http://www.apache.org/licenses/LICENSE-2.0 1621 * 1622 * Unless required by applicable law or agreed to in writing, softw
1622are 1623 * distributed under the License is distributed on an "AS IS" BASIS, 1624 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1625 * See the License for the specific language governing permissions and 1626 * limitations under the License. 1627 */class Ete{constructor(e){this.auth=e,this.internalListeners=new Map}getUid(){var e;return this.assertAuthConfigured(),((e=this.auth.currentUser)===null||e===void 0?void 0:e.uid)||null}async getToken(e){return this.assertAuthConfigured(),await this.auth._initializationPromise,this.auth.currentUser?{accessToken:await this.auth.currentUser.getIdToken(e)}:null}addAuthTokenListener(e){if(this.assertAuthConfigured(),this.internalListeners.has(e))return;const r=this.auth.onIdTokenChanged(n=>{e((n==null?void 0:n.stsTokenManager.accessToken)||null)});this.internalListeners.set(e,r),this.updateProactiveRefresh()}removeAuthTokenListener(e){this.assertAuthConfigured();const r=this.internalListeners.get(e);r&&(this.internalListeners.delete(e),r(),this.updateProactiveRefresh())}assertAuthConfigured(){Xt(this.auth._initializationPromise,"dependent-sdk-initialized-before-auth")}updateProactiveRefresh(){this.internalListeners.size>0?this.auth._startProactiveRefresh():this.auth._stopProactiveRefresh()}}/** 1628 * @license 1629 * Copyright 2020 Google LLC 1630 * 1631 * Licensed under the Apache License, Version 2.0 (the "License"); 1632 * you may not use this file except in compliance with the License. 1633 * You may obtain a copy of the License at 1634 * 1635 * http://www.apache.org/licenses/LICENSE-2.0 1636 * 1637 * Unless required by applicable law or agreed to in writing, software 1638 * distributed under the License is distributed on an "AS IS" BASIS, 1639 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1640 * See the License for the specific language governing permissions and 1641 * limitations under the License. 1642 */function Nte(t){switch(t){case"Node":return"node";case"ReactNative":return"rn";case"Worker":return"webworker";case"Cordova":return"cordova";case"WebExtension":return"web-extension";default:return}}function Ste(t){vh(new Wu("auth",(e,{options:r})=>{const n=e.getProvider("app").getImmediate(),i=e.getProvider("heartbeat"),a=e.getProvider("app-check-internal"),{apiKey:s,authDomain:o}=n.options;Xt(s&&!s.includes(":"),"invalid-api-key",{appName:n.name});const c={apiKey:s,authDomain:o,clientPlatform:t,apiHost:"identitytoolkit.googleapis.com",tokenApiHost:"securetoken.googleapis.com",apiScheme:"https",sdkClientVersion:HM(t)},A=new K$(n,i,a,c);return tee(A,r),A},"PUBLIC").setInstantiationMode("EXPLICIT").setInstanceCreatedCallback((e,r,n)=>{e.getProvider("auth-internal").initialize()})),vh(new Wu("auth-internal",e=>{const r=Ep(e.getProvider("auth").getImmediate());return(n=>new Ete(n))(r)},"PRIVATE").setInstantiationMode("EXPLICIT")),ac(kk,Pk,Nte(t)),ac(kk,Pk,"esm2017")}/** 1643 * @license 1644 * Copyright 2021 Google LLC 1645 * 1646 * Licensed under the Apache License, Version 2.0 (the "License"); 1647 * you may not use this file except in compliance with the License. 1648 * You may obtain a copy of the License at 1649 * 1650 * http://www.apache.org/licenses/LICENSE-2.0 1651 * 1652 * Unless required by applicable law or agreed to in writing, software 1653 * distributed under the License is distributed on an "AS IS" BASIS, 1654 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1655 * See the License for the specific language governing permissions and 1656 * limitations under the License. 1657 */const _te=5*60,Fte=VL("authIdTokenMaxAge")||_te;let Dk=null;const Tte=t=>async e=>{const r=e&&await e.getIdTokenResult(),n=r&&(new Date().getTime()-Date.parse(r.issuedAtTime))/1e3;if(n&&n>Fte)return;const i=r==null?void 0:r.token;Dk!==i&&(Dk=i,await fetch(t,{method:i?"POST":"DELETE",headers:i?{Authorization:`Bearer ${i}`}:{}}))};function jte(t=KF()){const e=FC(t,"auth");if(e.isInitialized())return e.getImmediate();const r=eee(t,{popupRedirectResolver:Bte,persistence:[Dee,XM,ZM]}),n=VL("authTokenSyncURL");if(n&&typeof isSecureContext=="boolean"&&isSecureContext){const a=new URL(n,location.origin);if(location.origin===a.origin){const s=Tte(a.toString());xee(r,s,()=>s(r.currentUser)),vee(r,o=>s(o))}}const i=QL("auth");return i&&ree(r,`http://${i}`),r}function Ite(){var t,e;return(e=(t=document.getElementsByTagName("head"))===null||t===void 0?void 0:t[0])!==null&&e!==void 0?e:document}q$({loadJS(t){return new Promise((e,r)=>{const n=document.createElement("script");n.setAttribute("src",t),n.onload=e,n.onerror=i=>{const a=sc("internal-error");a.customData=i,r(a)},n.type="text/javascript",n.charset="UTF-8",Ite().appendChild(n)})},gapiScript:"https://apis.google.com/js/api.js",recaptchaV2Script:"https://www.google.com/recaptcha/api.js",recaptchaEnterpriseScript:"https://www.google.com/recaptcha/enterprise.js?render="});Ste("Browser");var kte="firebase",Pte="10.14.1";/** 1658 * @license 1659 * Copyright 2020 Google LLC 1660 * 1661 * Licensed under the Apache License, Version 2.0 (the "License");
1662 * you may not use this file except in compliance with the License. 1663 * You may obtain a copy of the License at 1664 * 1665 * http://www.apache.org/licenses/LICENSE-2.0 1666 * 1667 * Unless required by applicable law or agreed to in writing, software 1668 * distributed under the License is distributed on an "AS IS" BASIS, 1669 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1670 * See the License for the specific language governing permissions and 1671 * limitations under the License. 1672 */ac(kte,Pte,"app");var Ok={};const Rk="@firebase/database",Uk="1.0.8";/** 1673 * @license 1674 * Copyright 2019 Google LLC 1675 * 1676 * Licensed under the Apache License, Version 2.0 (the "License"); 1677 * you may not use this file except in compliance with the License. 1678 * You may obtain a copy of the License at 1679 * 1680 * http://www.apache.org/licenses/LICENSE-2.0 1681 * 1682 * Unless required by applicable law or agreed to in writing, software 1683 * distributed under the License is distributed on an "AS IS" BASIS, 1684 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1685 * See the License for the specific language governing permissions and 1686 * limitations under the License. 1687 */let a7="";function Dte(t){a7=t}/** 1688 * @license 1689 * Copyright 2017 Google LLC 1690 * 1691 * Licensed under the Apache License, Version 2.0 (the "License"); 1692 * you may not use this file except in compliance with the License. 1693 * You may obtain a copy of the License at 1694 * 1695 * http://www.apache.org/licenses/LICENSE-2.0 1696 * 1697 * Unless required by applicable law or agreed to in writing, software 1698 * distributed under the License is distributed on an "AS IS" BASIS, 1699 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1700 * See the License for the specific language governing permissions and 1701 * limitations under the License. 1702 */class Ote{constructor(e){this.domStorage_=e,this.prefix_="firebase:"}set(e,r){r==null?this.domStorage_.removeItem(this.prefixedName_(e)):this.domStorage_.setItem(this.prefixedName_(e),Oi(r))}get(e){const r=this.domStorage_.getItem(this.prefixedName_(e));return r==null?null:Pv(r)}remove(e){this.domStorage_.removeItem(this.prefixedName_(e))}prefixedName_(e){return this.prefix_+e}toString(){return this.domStorage_.toString()}}/** 1703 * @license 1704 * Copyright 2017 Google LLC 1705 * 1706 * Licensed under the Apache License, Version 2.0 (the "License"); 1707 * you may not use this file except in compliance with the License. 1708 * You may obtain a copy of the License at 1709 * 1710 * http://www.apache.org/licenses/LICENSE-2.0 1711 * 1712 * Unless required by applicable law or agreed to in writing, software 1713 * distributed under the License is distributed on an "AS IS" BASIS, 1714 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1715 * See the License for the specific language governing permissions and 1716 * limitations under the License. 1717 */class Rte{constructor(){this.cache_={},this.isInMemoryStorage=!0}set(e,r){r==null?delete this.cache_[e]:this.cache_[e]=r}get(e){return pc(this.cache_,e)?this.cache_[e]:null}remove(e){delete this.cache_[e]}}/** 1718 * @license 1719 * Copyright 2017 Google LLC 1720 * 1721 * Licensed under the Apache License, Version 2.0 (the "License"); 1722 * you may not use this file except in compliance with the License. 1723 * You may obtain a copy of the License at 1724 * 1725 * http://www.apache.org/licenses/LICENSE-2.0 1726 * 1727 * Unless required by applicable law or agreed to in writing, software 1728 * distributed under the License is distributed on an "AS IS" BASIS, 1729 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1730 * See the License for the specific language governing permissions and 1731 * limitations under the License. 1732 */const s7=function(t){try{if(typeof window<"u"&&typeof window[t]<"u"){const e=window[t];return e.setItem("firebase:sentinel","cache"),e.removeItem("firebase:sentinel"),new Ote(e)}}catch{}return new Rte},Xd=s7("localStorage"),Ute=s7("sessionStorage");/** 1733 * @license 1734 * Copyright 2017 Google LLC 1735 * 1736 * Licensed under the Apache License, Version 2.0 (the "License"); 1737 * you may not use this file except in compliance with the License. 1738 * You may obtain a copy of the License at 1739 * 1740 * http://www.apache.org/licenses/LICENSE-2.0 1741 * 1742 * Unless required by applicable law or agreed to in writing, softw
1742are 1743 * distributed under the License is distributed on an "AS IS" BASIS, 1744 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1745 * See the License for the specific language governing permissions and 1746 * limitations under the License. 1747 */const P0=new VF("@firebase/database"),Lte=function(){let t=1;return function(){return t++}}(),o7=function(t){const e=cZ(t),r=new aZ;r.update(e);const n=r.digest();return MF.encodeByteArray(n)},I1=function(...t){let e="";for(let r=0;r<t.length;r++){const n=t[r];Array.isArray(n)||n&&typeof n=="object"&&typeof n.length=="number"?e+=I1.apply(null,n):typeof n=="object"?e+=Oi(n):e+=n,e+=" "}return e};let Pg=null,Lk=!0;const Mte=function(t,e){ht(!e,"Can't turn on custom loggers persistently."),P0.logLevel=An.VERBOSE,Pg=P0.log.bind(P0)},Da=function(...t){if(Lk===!0&&(Lk=!1,Pg===null&&Ute.get("logging_enabled")===!0&&Mte()),Pg){const e=I1.apply(null,t);Pg(e)}},k1=function(t){return function(...e){Da(t,...e)}},tS=function(...t){const e="FIREBASE INTERNAL ERROR: "+I1(...t);P0.error(e)},lA=function(...t){const e=`FIREBASE FATAL ERROR: ${I1(...t)}`;throw P0.error(e),new Error(e)},Ss=function(...t){const e="FIREBASE WARNING: "+I1(...t);P0.warn(e)},Qte=function(){typeof window<"u"&&window.location&&window.location.protocol&&window.location.protocol.indexOf("https:")!==-1&&Ss("Insecure Firebase access from a secure page. Please use https in calls to new Firebase().")},r3=function(t){return typeof t=="number"&&(t!==t||t===Number.POSITIVE_INFINITY||t===Number.NEGATIVE_INFINITY)},Hte=function(t){if(document.readyState==="complete")t();else{let e=!1;const r=function(){if(!document.body){setTimeout(r,Math.floor(10));return}e||(e=!0,t())};document.addEventListener?(document.addEventListener("DOMContentLoaded",r,!1),window.addEventListener("load",r,!1)):document.attachEvent&&(document.attachEvent("onreadystatechange",()=>{document.readyState==="complete"&&r()}),window.attachEvent("onload",r))}},yh="[MIN_NAME]",Ku="[MAX_NAME]",Sp=function(t,e){if(t===e)return 0;if(t===yh||e===Ku)return-1;if(e===yh||t===Ku)return 1;{const r=Mk(t),n=Mk(e);return r!==null?n!==null?r-n===0?t.length-e.length:r-n:-1:n!==null?1:t<e?-1:1}},zte=function(t,e){return t===e?0:t<e?-1:1},km=function(t,e){if(e&&t in e)return e[t];throw new Error("Missing required key ("+t+") in object: "+Oi(e))},n3=function(t){if(typeof t!="object"||t===null)return Oi(t);const e=[];for(const n in t)e.push(n);e.sort();let r="{";for(let n=0;n<e.length;n++)n!==0&&(r+=","),r+=Oi(e[n]),r+=":",r+=n3(t[e[n]]);return r+="}",r},l7=function(t,e){const r=t.length;if(r<=e)return[t];const n=[];for(let i=0;i<r;i+=e)i+e>r?n.push(t.substring(i,r)):n.push(t.substring(i,i+e));return n};function Ts(t,e){for(const r in t)t.hasOwnProperty(r)&&e(r,t[r])}const c7=function(t){ht(!r3(t),"Invalid JSON number");const e=11,r=52,n=(1<<e-1)-1;let i,a,s,o,c;t===0?(a=0,s=0,i=1/t===-1/0?1:0):(i=t<0,t=Math.abs(t),t>=Math.pow(2,1-n)?(o=Math.min(Math.floor(Math.log(t)/Math.LN2),n),a=o+n,s=Math.round(t*Math.pow(2,r-o)-Math.pow(2,r))):(a=0,s=Math.round(t/Math.pow(2,1-n-r))));const A=[];for(c=r;c;c-=1)A.push(s%2?1:0),s=Math.floor(s/2);for(c=e;c;c-=1)A.push(a%2?1:0),a=Math.floor(a/2);A.push(i?1:0),A.reverse();const u=A.join("");let d="";for(c=0;c<64;c+=8){let f=parseInt(u.substr(c,8),2).toString(16);f.length===1&&(f="0"+f),d=d+f}return d.toLowerCase()},Vte=function(){return!!(typeof window=="object"&&window.chrome&&window.chrome.extension&&!/^chrome/.test(window.location.href))},Wte=function(){return typeof Windows=="object"&&typeof Windows.UI=="object"};function Kte(t,e){let r="Unknown Error";t==="too_big"?r="The data requested exceeds the maximum size that can be accessed with a single request.":t==="permission_denied"?r="Client doesn't have permission to access the desired data.":t==="unavailable"&&(r="The service is unavailable");const n=new Error(t+" at "+e._path.toString()+": "+r);return n.code=t.toUpperCase(),n}const qte=new RegExp("^-?(0*)\\d{1,10}$"),Gte=-2147483648,Jte=2147483647,Mk=function(t){if(qte.test(t)){const e=Number(t);if(e>=Gte&&e<=Jte)return e}return null},_p=function(t){try{t()}catch(e){setTimeout(()=>{const r=e.stack||"";
vendor: 4,283 bytes, lines 1747-1787
1747throw Ss("Exception was thrown by user callback.",r),e},Math.floor(0))}},Xte=function(){return(typeof window=="object"&&window.navigator&&window.navigator.userAgent||"").search(/googlebot|google webmaster tools|bingbot|yahoo! slurp|baiduspider|yandexbot|duckduckbot/i)>=0},Dg=function(t,e){const r=setTimeout(t,e);return typeof r=="number"&&typeof Deno<"u"&&Deno.unrefTimer?Deno.unrefTimer(r):typeof r=="object"&&r.unref&&r.unref(),r};/** 1748 * @license 1749 * Copyright 2021 Google LLC 1750 * 1751 * Licensed under the Apache License, Version 2.0 (the "License"); 1752 * you may not use this file except in compliance with the License. 1753 * You may obtain a copy of the License at 1754 * 1755 * http://www.apache.org/licenses/LICENSE-2.0 1756 * 1757 * Unless required by applicable law or agreed to in writing, software 1758 * distributed under the License is distributed on an "AS IS" BASIS, 1759 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1760 * See the License for the specific language governing permissions and 1761 * limitations under the License. 1762 */class Yte{constructor(e,r){this.appName_=e,this.appCheckProvider=r,this.appCheck=r==null?void 0:r.getImmediate({optional:!0}),this.appCheck||r==null||r.get().then(n=>this.appCheck=n)}getToken(e){return this.appCheck?this.appCheck.getToken(e):new Promise((r,n)=>{setTimeout(()=>{this.appCheck?this.getToken(e).then(r,n):r(null)},0)})}addTokenChangeListener(e){var r;(r=this.appCheckProvider)===null||r===void 0||r.get().then(n=>n.addTokenListener(e))}notifyForInvalidToken(){Ss(`Provided AppCheck credentials for the app named "${this.appName_}" are invalid. This usually indicates your app was not initialized correctly.`)}}/** 1763 * @license 1764 * Copyright 2017 Google LLC 1765 * 1766 * Licensed under the Apache License, Version 2.0 (the "License"); 1767 * you may not use this file except in compliance with the License. 1768 * You may obtain a copy of the License at 1769 * 1770 * http://www.apache.org/licenses/LICENSE-2.0 1771 * 1772 * Unless required by applicable law or agreed to in writing, software 1773 * distributed under the License is distributed on an "AS IS" BASIS, 1774 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1775 * See the License for the specific language governing permissions and 1776 * limitations under the License. 1777 */class Zte{constructor(e,r,n){this.appName_=e,this.firebaseOptions_=r,this.authProvider_=n,this.auth_=null,this.auth_=n.getImmediate({optional:!0}),this.auth_||n.onInit(i=>this.auth_=i)}getToken(e){return this.auth_?this.auth_.getToken(e).catch(r=>r&&r.code==="auth/token-not-initialized"?(Da("Got auth/token-not-initialized error. Treating as null token."),null):Promise.reject(r)):new Promise((r,n)=>{setTimeout(()=>{this.auth_?this.getToken(e).then(r,n):r(null)},0)})}addTokenChangeListener(e){this.auth_?this.auth_.addAuthTokenListener(e):this.authProvider_.get().then(r=>r.addAuthTokenListener(e))}removeTokenChangeListener(e){this.authProvider_.get().then(r=>r.removeAuthTokenListener(e))}notifyForInvalidToken(){let e='Provided authentication credentials for the app named "'+this.appName_+'" are invalid. This usually indicates your app was not initialized correctly. ';"credential"in this.firebaseOptions_?e+='Make sure the "credential" property provided to initializeApp() is authorized to access the specified "databaseURL" and is from the correct project.':"serviceAccount"in this.firebaseOptions_?e+='Make sure the "serviceAccount" property provided to initializeApp() is authorized to access the specified "databaseURL" and is from the correct project.':e+='Make sure the "apiKey" and "databaseURL" properties provided to initializeApp() match the values provided for your app at https://console.firebase.google.com/.',Ss(e)}}class Gw{constructor(e){this.accessToken=e}getToken(e){return Promise.resolve({accessToken:this.accessToken})}addTokenChangeListener(e){e(this.accessToken)}removeTokenChangeListener(e){}notifyForInvalidToken(){}}Gw.OWNER="owner";/** 1778 * @license 1779 * Copyright 2017 Google LLC 1780 * 1781 * Licensed under the Apache License, Version 2.0 (the "License"); 1782 * you may not use this file except in compliance with the License. 1783 * You may obtain a copy of the License at 1784 * 1785 * http://www.apache.org/licenses/LICENSE-2.0 1786 * 1787 * Unless required by applicable law or agreed to in writing, softw
1787are 1788 * distributed under the License is distributed on an "AS IS" BASIS, 1789 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1790 * See the License for the specific language governing permissions and 1791 * limitations under the License. 1792 */const i3="5",A7="v",u7="s",d7="r",h7="f",f7=/(console\.firebase|firebase-console-\w+\.corp|firebase\.corp)\.google\.com/,p7="ls",m7="p",rS="ac",g7="websocket",v7="long_polling";/** 1793 * @license 1794 * Copyright 2017 Google LLC 1795 * 1796 * Licensed under the Apache License, Version 2.0 (the "License"); 1797 * you may not use this file except in compliance with the License. 1798 * You may obtain a copy of the License at 1799 * 1800 * http://www.apache.org/licenses/LICENSE-2.0 1801 * 1802 * Unless required by applicable law or agreed to in writing, software 1803 * distributed under the License is distributed on an "AS IS" BASIS, 1804 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1805 * See the License for the specific language governing permissions and 1806 * limitations under the License. 1807 */class x7{constructor(e,r,n,i,a=!1,s="",o=!1,c=!1){this.secure=r,this.namespace=n,this.webSocketOnly=i,this.nodeAdmin=a,this.persistenceKey=s,this.includeNamespaceInQueryParams=o,this.isUsingEmulator=c,this._host=e.toLowerCase(),this._domain=this._host.substr(this._host.indexOf(".")+1),this.internalHost=Xd.get("host:"+e)||this._host}isCacheableHost(){return this.internalHost.substr(0,2)==="s-"}isCustomHost(){return this._domain!=="firebaseio.com"&&this._domain!=="firebaseio-demo.com"}get host(){return this._host}set host(e){e!==this.internalHost&&(this.internalHost=e,this.isCacheableHost()&&Xd.set("host:"+this._host,this.internalHost))}toString(){let e=this.toURLString();return this.persistenceKey&&(e+="<"+this.persistenceKey+">"),e}toURLString(){const e=this.secure?"https://":"http://",r=this.includeNamespaceInQueryParams?`?ns=${this.namespace}`:"";return`${e}${this.host}/${r}`}}function $te(t){return t.host!==t.internalHost||t.isCustomHost()||t.includeNamespaceInQueryParams}function y7(t,e,r){ht(typeof e=="string","typeof type must == string"),ht(typeof r=="object","typeof params must == object");let n;if(e===g7)n=(t.secure?"wss://":"ws://")+t.internalHost+"/.ws?";else if(e===v7)n=(t.secure?"https://":"http://")+t.internalHost+"/.lp?";else throw new Error("Unknown connection type: "+e);$te(t)&&(r.ns=t.namespace);const i=[];return Ts(r,(a,s)=>{i.push(a+"="+s)}),n+i.join("&")}/** 1808 * @license 1809 * Copyright 2017 Google LLC 1810 * 1811 * Licensed under the Apache License, Version 2.0 (the "License"); 1812 * you may not use this file except in compliance with the License. 1813 * You may obtain a copy of the License at 1814 * 1815 * http://www.apache.org/licenses/LICENSE-2.0 1816 * 1817 * Unless required by applicable law or agreed to in writing, software 1818 * distributed under the License is distributed on an "AS IS" BASIS, 1819 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1820 * See the License for the specific language governing permissions and 1821 * limitations under the License. 1822 */class ere{constructor(){this.counters_={}}incrementCounter(e,r=1){pc(this.counters_,e)||(this.counters_[e]=0),this.counters_[e]+=r}get(){return zY(this.counters_)}}/** 1823 * @license 1824 * Copyright 2017 Google LLC 1825 * 1826 * Licensed under the Apache License, Version 2.0 (the "License"); 1827 * you may not use this file except in compliance with the License. 1828 * You may obtain a copy of the License at 1829 * 1830 * http://www.apache.org/licenses/LICENSE-2.0 1831 * 1832 * Unless required by applicable law or agreed to in writing, software 1833 * distributed under the License is distributed on an "AS IS" BASIS, 1834 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1835 * See the License for the specific language governing permissions and 1836 * limitations under the License. 1837 */const gE={},vE={};function a3(t){const e=t.toString();return gE[e]||(gE[e]=new ere),gE[e]}function tre(t,e){const r=t.toString();return vE[r]||(vE[r]=e()),vE[r]}/** 1838 * @license 1839 * Copyright 2017 Google LLC 1840 * 1841 * Licensed under the Apache License, Version 2.0 (the "License"); 1842 * you may not use this file except in compliance with the License. 1843 * You may obtain a copy of the License at 1844 * 1845 * http://www.apache.org/licenses/LICENSE-2.0 1846 * 1847 * Unless required by applicable law or agreed to in writing, softw
1847are 1848 * distributed under the License is distributed on an "AS IS" BASIS, 1849 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1850 * See the License for the specific language governing permissions and 1851 * limitations under the License. 1852 */class rre{constructor(e){this.onMessage_=e,this.pendingResponses=[],this.currentResponseNum=0,this.closeAfterResponse=-1,this.onClose=null}closeAfter(e,r){this.closeAfterResponse=e,this.onClose=r,this.closeAfterResponse<this.currentResponseNum&&(this.onClose(),this.onClose=null)}handleResponse(e,r){for(this.pendingResponses[e]=r;this.pendingResponses[this.currentResponseNum];){const n=this.pendingResponses[this.currentResponseNum];delete this.pendingResponses[this.currentResponseNum];for(let i=0;i<n.length;++i)n[i]&&_p(()=>{this.onMessage_(n[i])});if(this.currentResponseNum===this.closeAfterResponse){this.onClose&&(this.onClose(),this.onClose=null);break}this.currentResponseNum++}}}/** 1853 * @license 1854 * Copyright 2017 Google LLC 1855 * 1856 * Licensed under the Apache License, Version 2.0 (the "License"); 1857 * you may not use this file except in compliance with the License. 1858 * You may obtain a copy of the License at 1859 * 1860 * http://www.apache.org/licenses/LICENSE-2.0 1861 * 1862 * Unless required by applicable law or agreed to in writing, software 1863 * distributed under the License is distributed on an "AS IS" BASIS, 1864 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1865 * See the License for the specific language governing permissions and 1866 * limitations under the License. 1867 */const Qk="start",nre="close",ire="pLPCommand",are="pRTLPCB",w7="id",b7="pw",C7="ser",sre="cb",ore="seg",lre="ts",cre="d",Are="dframe",B7=1870,E7=30,ure=B7-E7,dre=25e3,hre=3e4;class p0{constructor(e,r,n,i,a,s,o){this.connId=e,this.repoInfo=r,this.applicationId=n,this.appCheckToken=i,this.authToken=a,this.transportSessionId=s,this.lastSessionId=o,this.bytesSent=0,this.bytesReceived=0,this.everConnected_=!1,this.log_=k1(e),this.stats_=a3(r),this.urlFn=c=>(this.appCheckToken&&(c[rS]=this.appCheckToken),y7(r,v7,c))}open(e,r){this.curSegmentNum=0,this.onDisconnect_=r,this.myPacketOrderer=new rre(e),this.isClosed_=!1,this.connectTimeoutTimer_=setTimeout(()=>{this.log_("Timed out trying to connect."),this.onClosed_(),this.connectTimeoutTimer_=null},Math.floor(hre)),Hte(()=>{if(this.isClosed_)return;this.scriptTagHolder=new s3((...a)=>{const[s,o,c,A,u]=a;if(this.incrementIncomingBytes_(a),!!this.scriptTagHolder)if(this.connectTimeoutTimer_&&(clearTimeout(this.connectTimeoutTimer_),this.connectTimeoutTimer_=null),this.everConnected_=!0,s===Qk)this.id=o,this.password=c;else if(s===nre)o?(this.scriptTagHolder.sendNewPolls=!1,this.myPacketOrderer.closeAfter(o,()=>{this.onClosed_()})):this.onClosed_();else throw new Error("Unrecognized command received: "+s)},(...a)=>{const[s,o]=a;this.incrementIncomingBytes_(a),this.myPacketOrderer.handleResponse(s,o)},()=>{this.onClosed_()},this.urlFn);const n={};n[Qk]="t",n[C7]=Math.floor(Math.random()*1e8),this.scriptTagHolder.uniqueCallbackIdentifier&&(n[sre]=this.scriptTagHolder.uniqueCallbackIdentifier),n[A7]=i3,this.transportSessionId&&(n[u7]=this.transportSessionId),this.lastSessionId&&(n[p7]=this.lastSessionId),this.applicationId&&(n[m7]=this.applicationId),this.appCheckToken&&(n[rS]=this.appCheckToken),typeof location<"u"&&location.hostname&&f7.test(location.hostname)&&(n[d7]=h7);const i=this.urlFn(n);this.log_("Connecting via long-poll to "+i),this.scriptTagHolder.addTag(i,()=>{})})}start(){this.scriptTagHolder.startLongPoll(this.id,this.password),this.addDisconnectPingFrame(this.id,this.password)}static forceAllow(){p0.forceAllow_=!0}static forceDisallow(){p0.forceDisallow_=!0}static isAvailable(){return p0.forceAllow_?!0:!p0.forceDisallow_&&typeof document<"u"&&document.createElement!=null&&!Vte()&&!Wte()}markConnectionHealthy(){}shutdown_(){this.isClosed_=!0,this.scriptTagHolder&&(this.scriptTagHolder.close(),this.scriptTagHolder=null),this.myDisconnFrame&&(document.body.removeChild(this.myDisconnFrame),this.myDisconnFrame=null),this.connectTimeoutTimer_&&(clearTimeout(this.connectTimeoutTimer_),this.connectTimeoutTimer_=null)}onClosed_(){this.isClosed_||(this.log_("Longpoll is closing itself"),this.shutdown_(),this.onDisconnect_&&(this.onDisconnect_(this.everConnected_),this.onDisconnect_=null))}close(){this.isClosed_||(this.log_("Longpoll is being closed."),this.shutdown_())}send(e){const r=Oi(e);this.bytesSent+=r.length,this.stats_.incrementCounter("bytes_sent",r.length);const n=LL(r),i=l7(n,ure);for(let a=0;a<i.length;a++)this.scriptTagHolder.enqueueSegment(this.curSegmentNum,i.length,i[a]),this.curSegmentNum++}addDisconnectPingFrame(e,r){this.myDisconnFrame=document.createElement("iframe");const n={};n[Are]="t",n[w7]=e,n[b7]=r,this.myDisconnFrame.src=this.urlFn(n),this.myDisconnFrame.style.display="none",document.body.appendChild(this.myDisconnFrame)}incrementIncomingBytes_(e){const r=Oi(e).length;this.bytesReceived+=r,this.stats_.incrementCounter("bytes_received",r)}}class s3{constructor(e,r,n,i){this.onDisconnect=n,this.urlFn=i,this.outstandingRequests=new Set,this.pendingSegs=[],this.currentSerial=Math.floor(Math.random()*1e8),this.sendNewPolls=!0;{this.uniqueCallbackIdentifier=Lte(),window[ire+this.uniqueCallbackIdentifier]=e,window[are+this.uniqueCallbackIdentifier]=r,this.myIFrame=s3.createI
1867Frame_();let a="";this.myIFrame.src&&this.myIFrame.src.substr(0,11)==="javascript:"&&(a='<script>document.domain="'+document.domain+'";<\/script>');const s="<html><body>"+a+"</body></html>";try{this.myIFrame.doc.open(),this.myIFrame.doc.write(s),this.myIFrame.doc.close()}catch(o){Da("frame writing exception"),o.stack&&Da(o.stack),Da(o)}}}static createIFrame_(){const e=document.createElement("iframe");if(e.style.display="none",document.body){document.body.appendChild(e);try{e.contentWindow.document||Da("No IE domain setting required")}catch{const n=document.domain;e.src="javascript:void((function(){document.open();document.domain='"+n+"';document.close();})())"}}else throw"Document body has not initialized. Wait to initialize Firebase until after the document is ready.";return e.contentDocument?e.doc=e.contentDocument:e.contentWindow?e.doc=e.contentWindow.document:e.document&&(e.doc=e.document),e}close(){this.alive=!1,this.myIFrame&&(this.myIFrame.doc.body.textContent="",setTimeout(()=>{this.myIFrame!==null&&(document.body.removeChild(this.myIFrame),this.myIFrame=null)},Math.floor(0)));const e=this.onDisconnect;e&&(this.onDisconnect=null,e())}startLongPoll(e,r){for(this.myID=e,this.myPW=r,this.alive=!0;this.newRequest_(););}newRequest_(){if(this.alive&&this.sendNewPolls&&this.outstandingRequests.size<(this.pendingSegs.length>0?2:1)){this.currentSerial++;const e={};e[w7]=this.myID,e[b7]=this.myPW,e[C7]=this.currentSerial;let r=this.urlFn(e),n="",i=0;for(;this.pendingSegs.length>0&&this.pendingSegs[0].d.length+E7+n.length<=B7;){const s=this.pendingSegs.shift();n=n+"&"+ore+i+"="+s.seg+"&"+lre+i+"="+s.ts+"&"+cre+i+"="+s.d,i++}return r=r+n,this.addLongPollTag_(r,this.currentSerial),!0}else return!1}enqueueSegment(e,r,n){this.pendingSegs.push({seg:e,ts:r,d:n}),this.alive&&this.newRequest_()}addLongPollTag_(e,r){this.outstandingRequests.add(r);const n=()=>{this.outstandingRequests.delete(r),this.newRequest_()},i=setTimeout(n,Math.floor(dre)),a=()=>{clearTimeout(i),n()};this.addTag(e,a)}addTag(e,r){setTimeout(()=>{try{if(!this.sendNewPolls)return;const n=this.myIFrame.doc.createElement("script");n.type="text/javascript",n.async=!0,n.src=e,n.onload=n.onreadystatechange=function(){const i=n.readyState;(!i||i==="loaded"||i==="complete")&&(n.onload=n.onreadystatechange=null,n.parentNode&&n.parentNode.removeChild(n),r())},n.onerror=()=>{Da("Long-poll script failed to load: "+e),this.sendNewPolls=!1,this.close()},this.myIFrame.doc.body.appendChild(n)}catch{}},Math.floor(1))}}/** 1868 * @license 1869 * Copyright 2017 Google LLC 1870 * 1871 * Licensed under the Apache License, Version 2.0 (the "License"); 1872 * you may not use this file except in compliance with the License. 1873 * You may obtain a copy of the License at 1874 * 1875 * http://www.apache.org/licenses/LICENSE-2.0 1876 * 1877 * Unless required by applicable law or agreed to in writing, software 1878 * distributed under the License is distributed on an "AS IS" BASIS, 1879 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1880 * See the License for the specific language governing permissions and 1881 * limitations under the License. 1882 */const fre=16384,pre=45e3;let nb=null;typeof MozWebSocket<"u"?nb=MozWebSocket:typeof WebSocket<"u"&&(nb=WebSocket);class ml{constructor(e,r,n,i,a,s,o){this.connId=e,this.applicationId=n,this.appCheckToken=i,this.authToken=a,this.keepaliveTimer=null,this.frames=null,this.totalFrames=0,this.bytesSent=0,this.bytesReceived=0,this.log_=k1(this.connId),this.stats_=a3(r),this.connURL=ml.connectionURL_(r,s,o,i,n),this.nodeAdmin=r.nodeAdmin}static connectionURL_(e,r,n,i,a){const s={};return s[A7]=i3,typeof location<"u"&&location.hostname&&f7.test(location.hostname)&&(s[d7]=h7),r&&(s[u7]=r),n&&(s[p7]=n),i&&(s[rS]=i),a&&(s[m7]=a),y7(e,g7,s)}open(e,r){this.onDisconnect=r,this.onMessage=e,this.log_("Websocket connecting to "+this.connURL),this.everConnected_=!1,Xd.set("previous_websocket_failure",!0);try{let n;qL(),this.mySock=new nb(this.connURL,[],n)}catch(n){this.log_("Error instantiating WebSocket.");const i=n.message||n.data;i&&this.log_(i),this.onClosed_();return}this.mySock.onopen=()=>{this.log_("Websocket connected."),this.everConnected_=!0}
vendor: 4,214 bytes, lines 1882-1907
1882,this.mySock.onclose=()=>{this.log_("Websocket connection was disconnected."),this.mySock=null,this.onClosed_()},this.mySock.onmessage=n=>{this.handleIncomingFrame(n)},this.mySock.onerror=n=>{this.log_("WebSocket error. Closing connection.");const i=n.message||n.data;i&&this.log_(i),this.onClosed_()}}start(){}static forceDisallow(){ml.forceDisallow_=!0}static isAvailable(){let e=!1;if(typeof navigator<"u"&&navigator.userAgent){const r=/Android ([0-9]{0,}\.[0-9]{0,})/,n=navigator.userAgent.match(r);n&&n.length>1&&parseFloat(n[1])<4.4&&(e=!0)}return!e&&nb!==null&&!ml.forceDisallow_}static previouslyFailed(){return Xd.isInMemoryStorage||Xd.get("previous_websocket_failure")===!0}markConnectionHealthy(){Xd.remove("previous_websocket_failure")}appendFrame_(e){if(this.frames.push(e),this.frames.length===this.totalFrames){const r=this.frames.join("");this.frames=null;const n=Pv(r);this.onMessage(n)}}handleNewFrameCount_(e){this.totalFrames=e,this.frames=[]}extractFrameCount_(e){if(ht(this.frames===null,"We already have a frame buffer"),e.length<=6){const r=Number(e);if(!isNaN(r))return this.handleNewFrameCount_(r),null}return this.handleNewFrameCount_(1),e}handleIncomingFrame(e){if(this.mySock===null)return;const r=e.data;if(this.bytesReceived+=r.length,this.stats_.incrementCounter("bytes_received",r.length),this.resetKeepAlive(),this.frames!==null)this.appendFrame_(r);else{const n=this.extractFrameCount_(r);n!==null&&this.appendFrame_(n)}}send(e){this.resetKeepAlive();const r=Oi(e);this.bytesSent+=r.length,this.stats_.incrementCounter("bytes_sent",r.length);const n=l7(r,fre);n.length>1&&this.sendString_(String(n.length));for(let i=0;i<n.length;i++)this.sendString_(n[i])}shutdown_(){this.isClosed_=!0,this.keepaliveTimer&&(clearInterval(this.keepaliveTimer),this.keepaliveTimer=null),this.mySock&&(this.mySock.close(),this.mySock=null)}onClosed_(){this.isClosed_||(this.log_("WebSocket is closing itself"),this.shutdown_(),this.onDisconnect&&(this.onDisconnect(this.everConnected_),this.onDisconnect=null))}close(){this.isClosed_||(this.log_("WebSocket is being closed"),this.shutdown_())}resetKeepAlive(){clearInterval(this.keepaliveTimer),this.keepaliveTimer=setInterval(()=>{this.mySock&&this.sendString_("0"),this.resetKeepAlive()},Math.floor(pre))}sendString_(e){try{this.mySock.send(e)}catch(r){this.log_("Exception thrown from WebSocket.send():",r.message||r.data,"Closing connection."),setTimeout(this.onClosed_.bind(this),0)}}}ml.responsesRequiredToBeHealthy=2;ml.healthyTimeout=3e4;/** 1883 * @license 1884 * Copyright 2017 Google LLC 1885 * 1886 * Licensed under the Apache License, Version 2.0 (the "License"); 1887 * you may not use this file except in compliance with the License. 1888 * You may obtain a copy of the License at 1889 * 1890 * http://www.apache.org/licenses/LICENSE-2.0 1891 * 1892 * Unless required by applicable law or agreed to in writing, software 1893 * distributed under the License is distributed on an "AS IS" BASIS, 1894 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1895 * See the License for the specific language governing permissions and 1896 * limitations under the License. 1897 */class Uv{constructor(e){this.initTransports_(e)}static get ALL_TRANSPORTS(){return[p0,ml]}static get IS_TRANSPORT_INITIALIZED(){return this.globalTransportInitialized_}initTransports_(e){const r=ml&&ml.isAvailable();let n=r&&!ml.previouslyFailed();if(e.webSocketOnly&&(r||Ss("wss:// URL used, but browser isn't known to support websockets. Trying anyway."),n=!0),n)this.transports_=[ml];else{const i=this.transports_=[];for(const a of Uv.ALL_TRANSPORTS)a&&a.isAvailable()&&i.push(a);Uv.globalTransportInitialized_=!0}}initialTransport(){if(this.transports_.length>0)return this.transports_[0];throw new Error("No transports available")}upgradeTransport(){return this.transports_.length>1?this.transports_[1]:null}}Uv.globalTransportInitialized_=!1;/** 1898 * @license 1899 * Copyright 2017 Google LLC 1900 * 1901 * Licensed under the Apache License, Version 2.0 (the "License"); 1902 * you may not use this file except in compliance with the License. 1903 * You may obtain a copy of the License at 1904 * 1905 * http://www.apache.org/licenses/LICENSE-2.0 1906 * 1907 * Unless required by applicable law or agreed to in writing, softw
1907are 1908 * distributed under the License is distributed on an "AS IS" BASIS, 1909 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1910 * See the License for the specific language governing permissions and 1911 * limitations under the License. 1912 */const mre=6e4,gre=5e3,vre=10*1024,xre=100*1024,xE="t",Hk="d",yre="s",zk="r",wre="e",Vk="o",Wk="a",Kk="n",qk="p",bre="h";class Cre{constructor(e,r,n,i,a,s,o,c,A,u){this.id=e,this.repoInfo_=r,this.applicationId_=n,this.appCheckToken_=i,this.authToken_=a,this.onMessage_=s,this.onReady_=o,this.onDisconnect_=c,this.onKill_=A,this.lastSessionId=u,this.connectionCount=0,this.pendingDataMessages=[],this.state_=0,this.log_=k1("c:"+this.id+":"),this.transportManager_=new Uv(r),this.log_("Connection created"),this.start_()}start_(){const e=this.transportManager_.initialTransport();this.conn_=new e(this.nextTransportId_(),this.repoInfo_,this.applicationId_,this.appCheckToken_,this.authToken_,null,this.lastSessionId),this.primaryResponsesRequired_=e.responsesRequiredToBeHealthy||0;const r=this.connReceiver_(this.conn_),n=this.disconnReceiver_(this.conn_);this.tx_=this.conn_,this.rx_=this.conn_,this.secondaryConn_=null,this.isHealthy_=!1,setTimeout(()=>{this.conn_&&this.conn_.open(r,n)},Math.floor(0));const i=e.healthyTimeout||0;i>0&&(this.healthyTimeout_=Dg(()=>{this.healthyTimeout_=null,this.isHealthy_||(this.conn_&&this.conn_.bytesReceived>xre?(this.log_("Connection exceeded healthy timeout but has received "+this.conn_.bytesReceived+" bytes. Marking connection healthy."),this.isHealthy_=!0,this.conn_.markConnectionHealthy()):this.conn_&&this.conn_.bytesSent>vre?this.log_("Connection exceeded healthy timeout but has sent "+this.conn_.bytesSent+" bytes. Leaving connection alive."):(this.log_("Closing unhealthy connection after timeout."),this.close()))},Math.floor(i)))}nextTransportId_(){return"c:"+this.id+":"+this.connectionCount++}disconnReceiver_(e){return r=>{e===this.conn_?this.onConnectionLost_(r):e===this.secondaryConn_?(this.log_("Secondary connection lost."),this.onSecondaryConnectionLost_()):this.log_("closing an old connection")}}connReceiver_(e){return r=>{this.state_!==2&&(e===this.rx_?this.onPrimaryMessageReceived_(r):e===this.secondaryConn_?this.onSecondaryMessageReceived_(r):this.log_("message on old connection"))}}sendRequest(e){const r={t:"d",d:e};this.sendData_(r)}tryCleanupConnection(){this.tx_===this.secondaryConn_&&this.rx_===this.secondaryConn_&&(this.log_("cleaning up and promoting a connection: "+this.secondaryConn_.connId),this.conn_=this.secondaryConn_,this.secondaryConn_=null)}onSecondaryControl_(e){if(xE in e){const r=e[xE];r===Wk?this.upgradeIfSecondaryHealthy_():r===zk?(this.log_("Got a reset on secondary, closing it"),this.secondaryConn_.close(),(this.tx_===this.secondaryConn_||this.rx_===this.secondaryConn_)&&this.close()):r===Vk&&(this.log_("got pong on secondary."),this.secondaryResponsesRequired_--,this.upgradeIfSecondaryHealthy_())}}onSecondaryMessageReceived_(e){const r=km("t",e),n=km("d",e);if(r==="c")this.onSecondaryControl_(n);else if(r==="d")this.pendingDataMessages.push(n);else throw new Error("Unknown protocol layer: "+r)}upgradeIfSecondaryHealthy_(){this.secondaryResponsesRequired_<=0?(this.log_("Secondary connection is healthy."),this.isHealthy_=!0,this.secondaryConn_.markConnectionHealthy(),this.proceedWithUpgrade_()):(this.log_("sending ping on secondary."),this.secondaryConn_.send({t:"c",d:{t:qk,d:{}}}))}proceedWithUpgrade_(){this.secondaryConn_.start(),this.log_("sending client ack on secondary"),this.secondaryConn_.send({t:"c",d:{t:Wk,d:{}}}),this.log_("Ending transmission on primary"),this.conn_.send({t:"c",d:{t:Kk,d:{}}}),this.tx_=this.secondaryConn_,this.tryCleanupConnection()}onPrimaryMessageReceived_(e){const r=km("t",e),n=km("d",e);r==="c"?this.onControl_(n):r==="d"&&this.onDataMessage_(n)}onDataMessage_(e){this.onPrimaryResponse_(),this.onMessage_(e)}onPrimaryResponse_(){this.isHealthy_||(this.primaryResponsesRequired_--,this.primaryResponsesRequired_<=0&&(this.log_("Primary connection is healthy."),this.isHealthy_=!0,this.conn_.markConnectionHealthy()))}onControl_(e){const r=km(xE,e);if(Hk in e){const n=e[Hk];if(r===bre){const i=Object.assign({},n);this.repoInfo_.isUsingEmulator&&(i.h=this.repoInfo_.host),this.onHandshake_(i)}else if(r===Kk){this.log_("recvd end transmission on primary"),this.rx_=this.secondaryConn_;for(let i=0;i<this.pendingDataMessages.length;++i)this.onDataMessage_(this.pendingDataMessages[i]);this.pendingDataMessages=[],this.tryCleanupConnection()}else r===yre?this.onConnectionShutdown_(n):r===zk?this.onReset_(n):r===wre?tS("Server Error: "+n):r===Vk?(this.log_("got pong on primary."),this.onPrimaryResponse_(),this.sendPingOnPrimaryIfNecessary_()):tS("Unknown control packet command: "+r)}}onHandshake_(e){const r=e.ts,n=e.v,i=e.h;this.sessionId=e.s,this.repoInfo_.host=i,this.state_===0&&(this.conn_.start(),this.onConnectionEstablished_(this.conn_,r),i3!==n&&Ss("Protocol version mismatch detected"),this.tryStartUpgrade_())}tryStartUpgrade_(){const e=this.transportManager_.upgradeTransport();e&&this.startUpgrade_(e)}startUpgrade_(e){this.secondaryConn_=new e(this.nextTransportId_(),this.repoInfo_,this.applicationId_,this.appCheckToken_,this.authToken_,this.sessionId),this.secondaryResponsesRequired_=e.responsesRequiredToBeHealthy||0;const r=this.connReceiver_(this.secondaryConn_),n=this.disconnReceiver_(this.secondaryConn_);this.secondaryConn_.open(r,n),Dg(()=>{this.secondaryConn_&&(this.log_("Timed out trying to upgrade."),this.secondaryConn_.close())},Math.floor(mre))}onReset_(e){this.log_("Reset packet received. New host: "+e),this.repoInfo_.host=e,this.state_===1?this.close():(this.closeConnections_(),this.start_())}onConnectionEstablished_(e,r){this.log_("Realtime connection established."),this.conn_=e,this.state_=1,this.onReady_&&(this.onReady_(r,this.sessionId),this.onReady_=null),this.primaryResponsesRequired_===0?(this.log_("Primary connection is healthy."),this.isHealthy_=!0):Dg(()=>{this.sendPingOnPrimaryIfNecessary_()},Math.floor(gre))}sendPingOnPrimaryIfNecessary_(){!this.isHealthy_&&this.state_===1&&(this.log_("sending ping on primary."),this.sendData_({t:"c",d:{t:qk,d:{}}}))}onSecondaryConnectionLost_(){const e=this.secondaryConn_;this.secondaryConn_=null,(this.tx_===e||this.rx_===e)&&this.close()}onConnectionLost_(e){this.conn_=null,!e&&this.state_===0?(this.log_("Realtime connection failed."),this.repoInfo_.isCacheableHost()&&(Xd.remove("host:"+this.repoInfo_.host),this.repoInfo_.internalHost=this.repoInfo_.host)):this.state_===1&&this.log_("Realtime connection lost."),this.close()}onConnectionShutdown_(e){this.log_("Connection shutdown command received. Shutting down..."),this.onKill_&&(this.onKill_(e),this.onKill_=null),this.onDisconnect_=null,this.close()}sendData_(e){if(this.state_!==1)throw"Connection is not connected";this.tx_.send(e)}close(){this.state_!==2&&(this.log_("Closing realtime connection."),this.state_=2,this.closeConnections_(),this.onDisconnect_&&(this.onDisconnect_(),this.onDisconnect_=null))}closeConnections_(){this.log_("Shutting down all connections"),this.conn_&&(this.conn_.close(),this.conn_=null),this.secondaryConn_&&(this.secondaryConn_.close(),this.secondaryConn_=null),this.healthyTimeout_&&(clearTimeout(this.healthyTimeout_),this.healthyTimeout_=null)}}/** 1913 * @license 1914 * Copyright 2017 Google LLC 1915 * 1916 * Licensed under the Apache License, Version 2.0 (the "License");
1917 * you may not use this file except in compliance with the License. 1918 * You may obtain a copy of the License at 1919 * 1920 * http://www.apache.org/licenses/LICENSE-2.0 1921 * 1922 * Unless required by applicable law or agreed to in writing, software 1923 * distributed under the License is distributed on an "AS IS" BASIS, 1924 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1925 * See the License for the specific language governing permissions and 1926 * limitations under the License. 1927 */class N7{put(e,r,n,i){}merge(e,r,n,i){}refreshAuthToken(e){}refreshAppCheckToken(e){}onDisconnectPut(e,r,n){}onDisconnectMerge(e,r,n){}onDisconnectCancel(e,r){}reportStats(e){}}/** 1928 * @license 1929 * Copyright 2017 Google LLC 1930 * 1931 * Licensed under the Apache License, Version 2.0 (the "License"); 1932 * you may not use this file except in compliance with the License. 1933 * You may obtain a copy of the License at 1934 * 1935 * http://www.apache.org/licenses/LICENSE-2.0 1936 * 1937 * Unless required by applicable law or agreed to in writing, software 1938 * distributed under the License is distributed on an "AS IS" BASIS, 1939 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1940 * See the License for the specific language governing permissions and 1941 * limitations under the License. 1942 */class S7{constructor(e){this.allowedEvents_=e,this.listeners_={},ht(Array.isArray(e)&&e.length>0,"Requires a non-empty array")}trigger(e,...r){if(Array.isArray(this.listeners_[e])){const n=[...this.listeners_[e]];for(let i=0;i<n.length;i++)n[i].callback.apply(n[i].context,r)}}on(e,r,n){this.validateEventType_(e),this.listeners_[e]=this.listeners_[e]||[],this.listeners_[e].push({callback:r,context:n});const i=this.getInitialEvent(e);i&&r.apply(n,i)}off(e,r,n){this.validateEventType_(e);const i=this.listeners_[e]||[];for(let a=0;a<i.length;a++)if(i[a].callback===r&&(!n||n===i[a].context)){i.splice(a,1);return}}validateEventType_(e){ht(this.allowedEvents_.find(r=>r===e),"Unknown event: "+e)}}/** 1943 * @license 1944 * Copyright 2017 Google LLC 1945 * 1946 * Licensed under the Apache License, Version 2.0 (the "License"); 1947 * you may not use this file except in compliance with the License. 1948 * You may obtain a copy of the License at 1949 * 1950 * http://www.apache.org/licenses/LICENSE-2.0 1951 * 1952 * Unless required by applicable law or agreed to in writing, software 1953 * distributed under the License is distributed on an "AS IS" BASIS, 1954 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1955 * See the License for the specific language governing permissions and 1956 * limitations under the License. 1957 */class ib extends S7{constructor(){super(["online"]),this.online_=!0,typeof window<"u"&&typeof window.addEventListener<"u"&&!HF()&&(window.addEventListener("online",()=>{this.online_||(this.online_=!0,this.trigger("online",!0))},!1),window.addEventListener("offline",()=>{this.online_&&(this.online_=!1,this.trigger("online",!1))},!1))}static getInstance(){return new ib}getInitialEvent(e){return ht(e==="online","Unknown event type: "+e),[this.online_]}currentlyOnline(){return this.online_}}/** 1958 * @license 1959 * Copyright 2017 Google LLC 1960 * 1961 * Licensed under the Apache License, Version 2.0 (the "License"); 1962 * you may not use this file except in compliance with the License. 1963 * You may obtain a copy of the License at 1964 * 1965 * http://www.apache.org/licenses/LICENSE-2.0 1966 * 1967 * Unless required by applicable law or agreed to in writing, software 1968 * distributed under the License is distributed on an "AS IS" BASIS, 1969 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1970 * See the License for the specific language governing permissions and 1971 * limitations under the License. 1972 */const Gk=32,Jk=768;class hn{constructor(e,r){if(r===void 0){this.pieces_=e.split("/");let n=0;for(let i=0;i<this.pieces_.length;i++)this.pieces_[i].length>0&&(this.pieces_[n]=this.pieces_[i],n++);this.pieces_.length=n,this.pieceNum_=0}else this.pieces_=e,this.pieceNum_=r}toString(){let e="";for(let r=this.pieceNum_;r<this.pieces_.length;r++)this.pieces_[r]!==""&&(e+="/"+this.pieces_[r]);return e||"/"}}function Lr(){return new hn("")}function Er(t){return t.pieceNum_>=t.pieces_.length?null:t.pieces_[t.pieceNum_]}function qu(t){return t.pieces_.length-t.pieceNum_}function wn(t){let e=t.pieceNum_;return e<t.pieces_.length&&e++,new hn(t.pieces_,e)}function _7(t){return t.pieceNum_<t.pieces_.length?t.pieces_[t.pieces_.length-1]:null}function Bre(t){let e="";for(let r=t.pieceNum_;r<t.pieces_.length;r++)t.pieces_[r]!==""&&(e+="/"+encodeURIComponent(String(t.pieces_[r])));return e||"/"}function F7(t,e=0){return t.pieces_.slice(t.pieceNum_+e)}function T7(t){if(t.pieceNum_>=t.pieces_.length)return null;const e=[];for(let r=t.pieceNum_;r<t.pieces_.length-1;r++)e.push(t.pieces_[r]);return new hn(e,0)}function Ri(t,e){const r=[];for(let n=t.pieceNum_;n<t.pieces_.length;n++)r.push(t.pieces_[n]);if(e instanceof hn)for(let n=e.pieceNum_;n<e.pieces_.length;n++)r.push(e.pieces_[n]);else{const n=e.split("/");for(let i=0;i<n.length;i++)n[i].length>0&&r.push(n[i])}return new hn(r,0)}function mr(t){return t.pieceNum_>=t.pieces_.length}function ts(t,e){const r=Er(t),n=Er(e);
vendor: 11,971 bytes, lines 1972-2003
1972if(r===null)return e;if(r===n)return ts(wn(t),wn(e));throw new Error("INTERNAL ERROR: innerPath ("+e+") is not within outerPath ("+t+")")}function j7(t,e){if(qu(t)!==qu(e))return!1;for(let r=t.pieceNum_,n=e.pieceNum_;r<=t.pieces_.length;r++,n++)if(t.pieces_[r]!==e.pieces_[n])return!1;return!0}function xl(t,e){let r=t.pieceNum_,n=e.pieceNum_;if(qu(t)>qu(e))return!1;for(;r<t.pieces_.length;){if(t.pieces_[r]!==e.pieces_[n])return!1;++r,++n}return!0}class Ere{constructor(e,r){this.errorPrefix_=r,this.parts_=F7(e,0),this.byteLength_=Math.max(1,this.parts_.length);for(let n=0;n<this.parts_.length;n++)this.byteLength_+=_C(this.parts_[n]);I7(this)}}function Nre(t,e){t.parts_.length>0&&(t.byteLength_+=1),t.parts_.push(e),t.byteLength_+=_C(e),I7(t)}function Sre(t){const e=t.parts_.pop();t.byteLength_-=_C(e),t.parts_.length>0&&(t.byteLength_-=1)}function I7(t){if(t.byteLength_>Jk)throw new Error(t.errorPrefix_+"has a key path longer than "+Jk+" bytes ("+t.byteLength_+").");if(t.parts_.length>Gk)throw new Error(t.errorPrefix_+"path specified exceeds the maximum depth that can be written ("+Gk+") or object contains a cycle "+Od(t))}function Od(t){return t.parts_.length===0?"":"in property '"+t.parts_.join(".")+"'"}/** 1973 * @license 1974 * Copyright 2017 Google LLC 1975 * 1976 * Licensed under the Apache License, Version 2.0 (the "License"); 1977 * you may not use this file except in compliance with the License. 1978 * You may obtain a copy of the License at 1979 * 1980 * http://www.apache.org/licenses/LICENSE-2.0 1981 * 1982 * Unless required by applicable law or agreed to in writing, software 1983 * distributed under the License is distributed on an "AS IS" BASIS, 1984 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1985 * See the License for the specific language governing permissions and 1986 * limitations under the License. 1987 */class o3 extends S7{constructor(){super(["visible"]);let e,r;typeof document<"u"&&typeof document.addEventListener<"u"&&(typeof document.hidden<"u"?(r="visibilitychange",e="hidden"):typeof document.mozHidden<"u"?(r="mozvisibilitychange",e="mozHidden"):typeof document.msHidden<"u"?(r="msvisibilitychange",e="msHidden"):typeof document.webkitHidden<"u"&&(r="webkitvisibilitychange",e="webkitHidden")),this.visible_=!0,r&&document.addEventListener(r,()=>{const n=!document[e];n!==this.visible_&&(this.visible_=n,this.trigger("visible",n))},!1)}static getInstance(){return new o3}getInitialEvent(e){return ht(e==="visible","Unknown event type: "+e),[this.visible_]}}/** 1988 * @license 1989 * Copyright 2017 Google LLC 1990 * 1991 * Licensed under the Apache License, Version 2.0 (the "License"); 1992 * you may not use this file except in compliance with the License. 1993 * You may obtain a copy of the License at 1994 * 1995 * http://www.apache.org/licenses/LICENSE-2.0 1996 * 1997 * Unless required by applicable law or agreed to in writing, software 1998 * distributed under the License is distributed on an "AS IS" BASIS, 1999 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2000 * See the License for the specific language governing permissions and 2001 * limitations under the License. 2002 */const Pm=1e3,_re=60*5*1e3,Xk=30*1e3,Fre=1.3,Tre=3e4,jre="server_kill",Yk=3;class Gc extends N7{constructor(e,r,n,i,a,s,o,c){if(super(),this.repoInfo_=e,this.applicationId_=r,this.onDataUpdate_=n,this.onConnectStatus_=i,this.onServerInfoUpdate_=a,this.authTokenProvider_=s,this.appCheckTokenProvider_=o,this.authOverride_=c,this.id=Gc.nextPersistentConnectionId_++,this.log_=k1("p:"+this.id+":"),this.interruptReasons_={},this.listens=new Map,this.outstandingPuts_=[],this.outstandingGets_=[],this.outstandingPutCount_=0,this.outstandingGetCount_=0,this.onDisconnectRequestQueue_=[],this.connected_=!1,this.reconnectDelay_=Pm,this.maxReconnectDelay_=_re,this.securityDebugCallback_=null,this.lastSessionId=null,this.establishConnectionTimer_=null,this.visible_=!1,this.requestCBHash_={},this.requestNumber_=0,this.realtime_=null,this.authToken_=null,this.appCheckToken_=null,this.forceTokenRefresh_=!1,this.invalidAuthTokenCount_=0,this.invalidAppCheckTokenCount_=0,this.firstConnection_=!0,this.lastConnectionAttemptTime_=null,this.lastConnectionEstablishedTime_=null,c&&!qL())throw new Error("Auth override specified in options, but not supported on non Node.js platforms");o3.getInstance().on("visible",this.onVisible_,this),e.host.indexOf("fblocal")===-1&&ib.getInstance().on("online",this.onOnline_,this)}sendRequest(e,r,n){const i=++this.requestNumber_,a={r:i,a:e,b:r};this.log_(Oi(a)),ht(this.connected_,"sendRequest call when we're not connected not allowed."),this.realtime_.sendRequest(a),n&&(this.requestCBHash_[i]=n)}get(e){this.initConnection_();const r=new SC,i={action:"g",request:{p:e._path.toString(),q:e._queryObject},onComplete:s=>{const o=s.d;s.s==="ok"?r.resolve(o):r.reject(o)}};this.outstandingGets_.push(i),this.outstandingGetCount_++;const a=this.outstandingGets_.length-1;return this.connected_&&this.sendGet_(a),r.promise}listen(e,r,n,i){this.initConnection_();const a=e._queryIdentifier,s=e._path.toString();this.log_("Listen called for "+s+" "+a),this.listens.has(s)||this.listens.set(s,new Map),ht(e._queryParams.isDefault()||!e._queryParams.loadsAllData(),"listen() called for non-default but complete query"),ht(!this.listens.get(s).has(a),"listen() called twice for same path/queryId.");const o={onComplete:i,hashFn:r,query:e,tag:n};this.listens.get(s).set(a,o),this.connected_&&this.sendListen_(o)}sendGet_(e){const r=this.outstandingGets_[e];this.sendRequest("g",r.request,n=>{delete this.outstandingGets_[e],this.outstandingGetCount_--,this.outstandingGetCount_===0&&(this.outstandingGets_=[]),r.onComplete&&r.onComplete(n)})}sendListen_(e){const r=e.query,n=r._path.toString(),i=r._queryIdentifier;this.log_("Listen on "+n+" for "+i);const a={p:n},s="q";e.tag&&(a.q=r._queryObject,a.t=e.tag),a.h=e.hashFn(),this.sendRequest(s,a,o=>{const c=o.d,A=o.s;Gc.warnOnListenWarnings_(c,r),(this.listens.get(n)&&this.listens.get(n).get(i))===e&&(this.log_("listen response",o),A!=="ok"&&this.removeListen_(n,i),e.onComplete&&e.onComplete(A,c))})}static warnOnListenWarnings_(e,r){if(e&&typeof e=="object"&&pc(e,"w")){const n=sp(e,"w");if(Array.isArray(n)&&~n.indexOf("no_index")){const i='".indexOn": "'+r._queryParams.getIndex().toString()+'"',a=r._path.toString();Ss(`Using an unspecified index. Your data will be downloaded and filtered on the client. Consider adding ${i} at ${a} to your security rules for better performance.`)}}}refreshAuthToken(e){this.authToken_=e,this.log_("Auth token refreshed"),this.authToken_?this.tryAuth():this.connected_&&this.sendRequest("unauth",{},()=>{}),this.reduceReconnectDelayIfAdminCredential_(e)}reduceReconnectDelayIfAdminCredential_(e){(e&&e.length===40||iZ(e))&&(this.log_("Admin auth credential detected. Reducing max reconnect time."),this.maxReconnectDelay_=Xk)}refreshAppCheckToken(e){this.appCheckToken_=e,this.log_("App check token refreshed"),this.appCheckToken_?this.tryAppCheck():this.connected_&&this.sendRequest("unappeck",{},()=>{})}tryAuth(){if(this.connected_&&this.authToken_){const e=this.authToken_,r=nZ(e)?"auth":"gauth",n={cred:e};this.authOverride_===null?n.noauth=!0:typeof this.authOverride_=="object"&&(n.authvar=this.authOverride_),this.sendRequest(r,n,i=>{const a=i.s,s=i.d||"error";this.authToken_===e&&(a==="ok"?this.invalidAuthTokenCount_=0:this.onAuthRevoked_(a,s))})}}tryAppCheck(){this.connected_&&this.appCheckToken_&&this.sendRequest("appcheck",{token:this.appCheckToken_},e=>{const r=e.s,n=e.d||"error";r==="ok"?this.invalidAppCheckTokenCount_=0:this.onAppCheckRevoked_(r,n)})}unlisten(e,r){const n=e._path.toString(),i=e._queryIdentifier;this.log_("Unlisten called for "+n+" "+i),ht(e._queryParams.isDefault()||!e._queryParams.loadsAllData(),"unlisten() called for non-default but complete query"),this.removeListen_(n,i)&&this.connected_&&this.sendUnlisten_(n,i,e._queryObject,r)}sendUnlisten_(e,r,n,i){this.log_("Unlisten on "+e+" for "+r);const a={p:e},s="n";i&&(a.q=n,a.t=i),this.sendRequest(s,a)}onDisconnectPut(e,r,n){this.initConnection_(),this.connected_?this.sendOnDisconnect_("o",e,r,n):this.onDisconnectRequestQueue_.push({pathString:e,action:"o",data:r,onComplete:n})}onDisconnectMerge(e,r,n){this.initConnection_(),this.connected_?this.sendOnDisconnect_("om",e,r,n):this.onDisconnectRequestQueue_.push({pathString:e,action:"om",data:r,onComplete:n})}onDisconnectCancel(e,r){this.initConnection_(),this.connected_?this.sendOnDisconnect_("oc",e,null,r):this.onDisconnectRequestQueue_.push({pathString:e,action:"oc",data:null,onComplete:r})}sendOnDisconnect_(e,r,n,i){const a={p:r,d:n};this.log_("onDisconnect "+e,a),this.sendRequest(e,a,s=>{i&&setTimeout(()=>{i(s.s,s.d)},Math.floor(0))})}put(e,r,n,i){this.putInternal("p",e,r,n,i)}merge(e,r,n,i){this.putInternal("m",e,r,n,i)}putInternal(e,r,n,i,a){this.initConnection_();const s={p:r,d:n};a!==void 0&&(s.h=a),this.outstandingPuts_.push({action:e,request:s,onComplete:i}),this.outstandingPutCount_++;const o=this.outstandingPuts_.length-1;this.connected_?this.sendPut_(o):this.log_("Buffering put: "+r)}sendPut_(e){const r=this.outstandingPuts_[e].action,n=this.outstandingPuts_[e].request,i=this.outstandingPuts_[e].onComplete;this.outstandingPuts_[e].queued=this.connected_,this.sendRequest(r,n,a=>{this.log_(r+" response",a),delete this.outstandingPuts_[e],this.outstandingPutCount_--,this.outstandingPutCount_===0&&(this.outstandingPuts_=[]),i&&i(a.s,a.d)})}reportStats(e){if(this.connected_){const r={c:e};this.log_("reportStats",r),this.sendRequest("s",r,n=>{if(n.s!=="ok"){const a=n.d;this.log_("reportStats","Error sending stats: "+a)}})}}onDataMessage_(e){if("r"in e){this.log_("from server: "+Oi(e));const r=e.r,n=this.requestCBHash_[r];n&&(delete this.requestCBHash_[r],n(e.b))}else{if("error"in e)throw"A server-side error has occurred: "+e.error;"a"in e&&this.onDataPush_(e.a,e.b)}}onDataPush_(e,r){this.log_("handleServerMessage",e,r),e==="d"?this.onDataUpdate_(r.p,r.d,!1,r.t):e==="m"?this.onDataUpdate_(r.p,r.d,!0,r.t):e==="c"?this.onListenRevoked_(r.p,r.q):e==="ac"?this.onAuthRevoked_(r.s,r.d):e==="apc"?this.onAppCheckRevoked_(r.s,r.d):e==="sd"?this.onSecurityDebugPacket_(r):tS("Unrecognized action received from server: "+Oi(e)+` 2003Are you using the latest client?`)}onReady_(e,r){this.log_("connection ready"),this.connected_=!0,this.lastConnectionEstablishedTime_=new Date().getTime(),this.handleTimestamp_(e),this.lastSessionId=r,this.firstConnection_&&this.sendConnectStats_(),this.restoreState_(),this.firstConnection_=!1,this.onConnectStatus_(!0)}scheduleConnect_(e){ht(!this.realtime_,"Scheduling a connect when we're already connected/ing?"),this.establishConnectionTimer_&&clearTimeout(this.establishConnectionTimer_),this.establishConnectionTimer_=setTimeout(()=>{this.establishConnectionTimer_=null,this.establishConnection_()},Math.floor(e))}initConnection_(){!this.realtime_&&this.firstConnection_&&this.scheduleConnect_(0)}onVisible_(e){e&&!this.visible_&&this.reconnectDelay_===this.maxReconnectDelay_&&(this.log_("Window became visible. Reducing delay."),this.reconnectDelay_=Pm,this.realtime_||this.scheduleConnect_(0)),this.visible_=e}onOnline_(e){e?(this.log_("Browser went online."),this.reconnectDelay_=Pm,this.realtime_||this.scheduleConnect_(0)):(this.log_("Browser went offline. Killing connection."),this.realtime_&&this.realtime_.close())}onRealtimeDisconnect_(){if(this.log_("data client disconnected"),this.connected_=!1,this.realtime_=null,this.cancelSentTransactions_(),this.requestCBHash_={},this.shouldReconnect_()){this.visible_?this.lastConnectionEstablishedTime_&&(new Date().getTime()-this.lastConnectionEstablishedTime_>Tre&&(this.reconnectDelay_=Pm),this.lastConnectionEstablishedTime_=null):(this.log_("Window isn't visible. Delaying reconnect."),this.reconnectDelay_=this.maxReconnectDelay_,this.lastConnectionAttemptTime_=new Date().getTime());const e=new Date().getTime()-this.lastConnectionAttemptTime_;let r=Math.max(0,this.reconnectDelay_-e);
2003r=Math.random()*r,this.log_("Trying to reconnect in "+r+"ms"),this.scheduleConnect_(r),this.reconnectDelay_=Math.min(this.maxReconnectDelay_,this.reconnectDelay_*Fre)}this.onConnectStatus_(!1)}async establishConnection_(){if(this.shouldReconnect_()){this.log_("Making a connection attempt"),this.lastConnectionAttemptTime_=new Date().getTime(),this.lastConnectionEstablishedTime_=null;const e=this.onDataMessage_.bind(this),r=this.onReady_.bind(this),n=this.onRealtimeDisconnect_.bind(this),i=this.id+":"+Gc.nextConnectionId_++,a=this.lastSessionId;let s=!1,o=null;const c=function(){o?o.close():(s=!0,n())},A=function(d){ht(o,"sendRequest call when we're not connected not allowed."),o.sendRequest(d)};this.realtime_={close:c,sendRequest:A};const u=this.forceTokenRefresh_;this.forceTokenRefresh_=!1;try{const[d,f]=await Promise.all([this.authTokenProvider_.getToken(u),this.appCheckTokenProvider_.getToken(u)]);s?Da("getToken() completed but was canceled"):(Da("getToken() completed. Creating connection."),this.authToken_=d&&d.accessToken,this.appCheckToken_=f&&f.token,o=new Cre(i,this.repoInfo_,this.applicationId_,this.appCheckToken_,this.authToken_,e,r,n,h=>{Ss(h+" ("+this.repoInfo_.toString()+")"),this.interrupt(jre)},a))}catch(d){this.log_("Failed to get token: "+d),s||(this.repoInfo_.nodeAdmin&&Ss(d),c())}}}interrupt(e){Da("Interrupting connection for reason: "+e),this.interruptReasons_[e]=!0,this.realtime_?this.realtime_.close():(this.establishConnectionTimer_&&(clearTimeout(this.establishConnectionTimer_),this.establishConnectionTimer_=null),this.connected_&&this.onRealtimeDisconnect_())}resume(e){Da("Resuming connection for reason: "+e),delete this.interruptReasons_[e],VN(this.interruptReasons_)&&(this.reconnectDelay_=Pm,this.realtime_||this.scheduleConnect_(0))}handleTimestamp_(e){const r=e-new Date().getTime();this.onServerInfoUpdate_({serverTimeOffset:r})}cancelSentTransactions_(){for(let e=0;e<this.outstandingPuts_.length;e++){const r=this.outstandingPuts_[e];r&&"h"in r.request&&r.queued&&(r.onComplete&&r.onComplete("disconnect"),delete this.outstandingPuts_[e],this.outstandingPutCount_--)}this.outstandingPutCount_===0&&(this.outstandingPuts_=[])}onListenRevoked_(e,r){let n;r?n=r.map(a=>n3(a)).join("$"):n="default";const i=this.removeListen_(e,n);i&&i.onComplete&&i.onComplete("permission_denied")}removeListen_(e,r){const n=new hn(e).toString();let i;if(this.listens.has(n)){const a=this.listens.get(n);i=a.get(r),a.delete(r),a.size===0&&this.listens.delete(n)}else i=void 0;return i}onAuthRevoked_(e,r){Da("Auth token revoked: "+e+"/"+r),this.authToken_=null,this.forceTokenRefresh_=!0,this.realtime_.close(),(e==="invalid_token"||e==="permission_denied")&&(this.invalidAuthTokenCount_++,this.invalidAuthTokenCount_>=Yk&&(this.reconnectDelay_=Xk,this.authTokenProvider_.notifyForInvalidToken()))}onAppCheckRevoked_(e,r){Da("App check token revoked: "+e+"/"+r),this.appCheckToken_=null,this.forceTokenRefresh_=!0,(e==="invalid_token"||e==="permission_denied")&&(this.invalidAppCheckTokenCount_++,this.invalidAppCheckTokenCount_>=Yk&&this.appCheckTokenProvider_.notifyForInvalidToken())}onSecurityDebugPacket_(e){this.securityDebugCallback_?this.securityDebugCallback_(e):"msg"in e&&console.log("FIREBASE: "+e.msg.replace(` 2004`,` 2005FIREBASE: `))}restoreState_(){this.tryAuth(),this.tryAppCheck();for(const e of this.listens.values())for(const r of e.values())this.sendListen_(r);for(let e=0;e<this.outstandingPuts_.length;e++)this.outstandingPuts_[e]&&this.sendPut_(e);for(;this.onDisconnectRequestQueue_.length;){const e=this.onDisconnectRequestQueue_.shift();this.sendOnDisconnect_(e.action,e.pathString,e.data,e.onComplete)}for(let e=0;e<this.outstandingGets_.length;e++)this.outstandingGets_[e]&&this.sendGet_(e)}sendConnectStats_(){const e={};let r="js";e["sdk."+r+"."+a7.replace(/\./g,"-")]=1,HF()?e["framework.cordova"]=1:KL()&&(e["framework.reactnative"]=1),this.reportStats(e)}shouldReconnect_(){const e=ib.getInstance().currentlyOnline();return VN(this.interruptReasons_)&&e}}Gc.nextPersistentConnectionId_=0;Gc.nextConnectionId_=0;/** 2006 * @license 2007 * Copyright 2017 Google LLC 2008 * 2009 * Licensed under the Apache License, Version 2.0 (the "License");
2010 * you may not use this file except in compliance with the License. 2011 * You may obtain a copy of the License at 2012 * 2013 * http://www.apache.org/licenses/LICENSE-2.0 2014 * 2015 * Unless required by applicable law or agreed to in writing, software 2016 * distributed under the License is distributed on an "AS IS" BASIS, 2017 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2018 * See the License for the specific language governing permissions and 2019 * limitations under the License. 2020 */class gr{constructor(e,r){this.name=e,this.node=r}static Wrap(e,r){return new gr(e,r)}}/** 2021 * @license 2022 * Copyright 2017 Google LLC 2023 * 2024 * Licensed under the Apache License, Version 2.0 (the "License"); 2025 * you may not use this file except in compliance with the License. 2026 * You may obtain a copy of the License at 2027 * 2028 * http://www.apache.org/licenses/LICENSE-2.0 2029 * 2030 * Unless required by applicable law or agreed to in writing, software 2031 * distributed under the License is distributed on an "AS IS" BASIS, 2032 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2033 * See the License for the specific language governing permissions and 2034 * limitations under the License. 2035 */class DC{getCompare(){return this.compare.bind(this)}indexedValueChanged(e,r){const n=new gr(yh,e),i=new gr(yh,r);return this.compare(n,i)!==0}minPost(){return gr.MIN}}/** 2036 * @license 2037 * Copyright 2017 Google LLC 2038 * 2039 * Licensed under the Apache License, Version 2.0 (the "License"); 2040 * you may not use this file except in compliance with the License. 2041 * You may obtain a copy of the License at 2042 * 2043 * http://www.apache.org/licenses/LICENSE-2.0 2044 * 2045 * Unless required by applicable law or agreed to in writing, software 2046 * distributed under the License is distributed on an "AS IS" BASIS, 2047 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2048 * See the License for the specific language governing permissions and 2049 * limitations under the License. 2050 */let fy;class k7 extends DC{static get __EMPTY_NODE(){return fy}static set __EMPTY_NODE(e){fy=e}compare(e,r){return Sp(e.name,r.name)}isDefinedOn(e){throw Cp("KeyIndex.isDefinedOn not expected to be called.")}indexedValueChanged(e,r){return!1}minPost(){return gr.MIN}maxPost(){return new gr(Ku,fy)}makePost(e,r){return ht(typeof e=="string","KeyIndex indexValue must always be a string."),new gr(e,fy)}toString(){return".key"}}const sh=new k7;/** 2051 * @license 2052 * Copyright 2017 Google LLC 2053 * 2054 * Licensed under the Apache License, Version 2.0 (the "License"); 2055 * you may not use this file except in compliance with the License. 2056 * You may obtain a copy of the License at 2057 * 2058 * http://www.apache.org/licenses/LICENSE-2.0 2059 * 2060 * Unless required by applicable law or agreed to in writing, software 2061 * distributed under the License is distributed on an "AS IS" BASIS, 2062 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2063 * See the License for the specific language governing permissions and 2064 * limitations under the License. 2065 */class py{constructor(e,r,n,i,a=null){this.isReverse_=i,this.resultGenerator_=a,this.nodeStack_=[];let s=1;for(;!e.isEmpty();)if(e=e,s=r?n(e.key,r):1,i&&(s*=-1),s<0)this.isReverse_?e=e.left:e=e.right;else if(s===0){this.nodeStack_.push(e);break}else this.nodeStack_.push(e),this.isReverse_?e=e.right:e=e.left}getNext(){if(this.nodeStack_.length===0)return null;let e=this.nodeStack_.pop(),r;if(this.resultGenerator_?r=this.resultGenerator_(e.key,e.value):r={key:e.key,value:e.value},this.isReverse_)for(e=e.left;!e.isEmpty();)this.nodeStack_.push(e),e=e.right;else for(e=e.right;!e.isEmpty();)this.nodeStack_.push(e),e=e.left;return r}hasNext(){return this.nodeStack_.length>0}peek(){if(this.nodeStack_.length===0)return null;const e=this.nodeStack_[this.nodeStack_.length-1];return this.resultGenerator_?this.resultGenerator_(e.key,e.value):{key:e.key,value:e.value}}}class Ji{constructor(e,r,n,i,a){this.key=e,this.value=r,this.color=n??Ji.RED,this.left=i??bs.EMPTY_NODE,this.right=a??bs.EMPTY_NODE}copy(e,r,n,i,a){return new Ji(e??this.key,r??this.value,n??this.color,i??this.left,a??this.right)}count(){return this.left.count()+1+this.right.count()}isEmpty(){return!1}inorderTraversal(e){return this.left.inorderTraversal(e)||!!e(this.key,this.value)||this.right.inorderTraversal(e)}reverseTraversal(e){return this.right.reverseTraversal(e)||e(this.key,this.value)||this.left.reverseTraversal(e)}min_(){return this.left.isEmpty()?this:this.left.min_()}minKey(){return this.min_().key}maxKey(){return this.right.isEmpty()?this.key:this.right.maxKey()}insert(e,r,n){let i=this;const a=n(e,i.key);return a<0?i=i.copy(null,null,null,i.left.insert(e,r,n),null):a===0?i=i.copy(null,r,null,null,null):i=i.copy(null,null,null,null,i.right.insert(e,r,n)),i.fixUp_()}removeMin_(){if(this.left.isEmpty())return bs.EMPTY_NODE;let e=this;return!e.left.isRed_()&&!e.left.left.isRed_()&&(e=e.moveRedLeft_()),e=e.copy(null,null,null,e.left.removeMin_(),null),e.fixUp_()}remove(e,r){let n,i;if(n=this,r(e,n.key)<0)!n.left.isEmpty()&&!n.left.isRed_()&&!n.left.left.isRed_()&&(n=n.moveRedLeft_()),n=n.copy(null,null,null,n.left.remove(e,r),null);else{if(n.left.isRed_()&&(n=n.rotateRight_()),!n.right.isEmpty()&&!n.right.isRed_()&&!n.right.left.isRed_()&&(n=n.moveRedRight_()),r(e,n.
vendor: 1,302 bytes, line 2065
2065key)===0){if(n.right.isEmpty())return bs.EMPTY_NODE;i=n.right.min_(),n=n.copy(i.key,i.value,null,null,n.right.removeMin_())}n=n.copy(null,null,null,null,n.right.remove(e,r))}return n.fixUp_()}isRed_(){return this.color}fixUp_(){let e=this;return e.right.isRed_()&&!e.left.isRed_()&&(e=e.rotateLeft_()),e.left.isRed_()&&e.left.left.isRed_()&&(e=e.rotateRight_()),e.left.isRed_()&&e.right.isRed_()&&(e=e.colorFlip_()),e}moveRedLeft_(){let e=this.colorFlip_();return e.right.left.isRed_()&&(e=e.copy(null,null,null,null,e.right.rotateRight_()),e=e.rotateLeft_(),e=e.colorFlip_()),e}moveRedRight_(){let e=this.colorFlip_();return e.left.left.isRed_()&&(e=e.rotateRight_(),e=e.colorFlip_()),e}rotateLeft_(){const e=this.copy(null,null,Ji.RED,null,this.right.left);return this.right.copy(null,null,this.color,e,null)}rotateRight_(){const e=this.copy(null,null,Ji.RED,this.left.right,null);return this.left.copy(null,null,this.color,null,e)}colorFlip_(){const e=this.left.copy(null,null,!this.left.color,null,null),r=this.right.copy(null,null,!this.right.color,null,null);return this.copy(null,null,!this.color,e,r)}checkMaxDepth_(){const e=this.check_();return Math.pow(2,e)<=this.count()+1}check_(){if(this.isRed_()&&this.left.isRed_())throw new Error("Red node has red child("+this.key+","+this.value+")");
vendor: 5,427 bytes, lines 2065-2110
2065if(this.right.isRed_())throw new Error("Right child of ("+this.key+","+this.value+") is red");const e=this.left.check_();if(e!==this.right.check_())throw new Error("Black depths differ");return e+(this.isRed_()?0:1)}}Ji.RED=!0;Ji.BLACK=!1;class Ire{copy(e,r,n,i,a){return this}insert(e,r,n){return new Ji(e,r,null)}remove(e,r){return this}count(){return 0}isEmpty(){return!0}inorderTraversal(e){return!1}reverseTraversal(e){return!1}minKey(){return null}maxKey(){return null}check_(){return 0}isRed_(){return!1}}class bs{constructor(e,r=bs.EMPTY_NODE){this.comparator_=e,this.root_=r}insert(e,r){return new bs(this.comparator_,this.root_.insert(e,r,this.comparator_).copy(null,null,Ji.BLACK,null,null))}remove(e){return new bs(this.comparator_,this.root_.remove(e,this.comparator_).copy(null,null,Ji.BLACK,null,null))}get(e){let r,n=this.root_;for(;!n.isEmpty();){if(r=this.comparator_(e,n.key),r===0)return n.value;r<0?n=n.left:r>0&&(n=n.right)}return null}getPredecessorKey(e){let r,n=this.root_,i=null;for(;!n.isEmpty();)if(r=this.comparator_(e,n.key),r===0){if(n.left.isEmpty())return i?i.key:null;for(n=n.left;!n.right.isEmpty();)n=n.right;return n.key}else r<0?n=n.left:r>0&&(i=n,n=n.right);throw new Error("Attempted to find predecessor key for a nonexistent key. What gives?")}isEmpty(){return this.root_.isEmpty()}count(){return this.root_.count()}minKey(){return this.root_.minKey()}maxKey(){return this.root_.maxKey()}inorderTraversal(e){return this.root_.inorderTraversal(e)}reverseTraversal(e){return this.root_.reverseTraversal(e)}getIterator(e){return new py(this.root_,null,this.comparator_,!1,e)}getIteratorFrom(e,r){return new py(this.root_,e,this.comparator_,!1,r)}getReverseIteratorFrom(e,r){return new py(this.root_,e,this.comparator_,!0,r)}getReverseIterator(e){return new py(this.root_,null,this.comparator_,!0,e)}}bs.EMPTY_NODE=new Ire;/** 2066 * @license 2067 * Copyright 2017 Google LLC 2068 * 2069 * Licensed under the Apache License, Version 2.0 (the "License"); 2070 * you may not use this file except in compliance with the License. 2071 * You may obtain a copy of the License at 2072 * 2073 * http://www.apache.org/licenses/LICENSE-2.0 2074 * 2075 * Unless required by applicable law or agreed to in writing, software 2076 * distributed under the License is distributed on an "AS IS" BASIS, 2077 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2078 * See the License for the specific language governing permissions and 2079 * limitations under the License. 2080 */function kre(t,e){return Sp(t.name,e.name)}function l3(t,e){return Sp(t,e)}/** 2081 * @license 2082 * Copyright 2017 Google LLC 2083 * 2084 * Licensed under the Apache License, Version 2.0 (the "License"); 2085 * you may not use this file except in compliance with the License. 2086 * You may obtain a copy of the License at 2087 * 2088 * http://www.apache.org/licenses/LICENSE-2.0 2089 * 2090 * Unless required by applicable law or agreed to in writing, software 2091 * distributed under the License is distributed on an "AS IS" BASIS, 2092 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2093 * See the License for the specific language governing permissions and 2094 * limitations under the License. 2095 */let nS;function Pre(t){nS=t}const P7=function(t){return typeof t=="number"?"number:"+c7(t):"string:"+t},D7=function(t){if(t.isLeafNode()){const e=t.val();ht(typeof e=="string"||typeof e=="number"||typeof e=="object"&&pc(e,".sv"),"Priority must be a string or number.")}else ht(t===nS||t.isEmpty(),"priority of unexpected type.");ht(t===nS||t.getPriority().isEmpty(),"Priority nodes can't have a priority of their own.")};/** 2096 * @license 2097 * Copyright 2017 Google LLC 2098 * 2099 * Licensed under the Apache License, Version 2.0 (the "License"); 2100 * you may not use this file except in compliance with the License. 2101 * You may obtain a copy of the License at 2102 * 2103 * http://www.apache.org/licenses/LICENSE-2.0 2104 * 2105 * Unless required by applicable law or agreed to in writing, software 2106 * distributed under the License is distributed on an "AS IS" BASIS, 2107 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2108 * See the License for the specific language governing permissions and 2109 * limitations under the License. 2110 */let Zk;class Ki{constructor(e,r=Ki.__childrenNodeConstructor.EMPTY_NODE){this.value_=e,this.priorityNode_=r,this.lazyHash_=null,ht(this.value_!==void 0&&this.value_!==null,"LeafNode shouldn't be created with null/undefined value."),D7(this.priorityNode_)}static set __childrenNodeConstructor(e){Zk=e}static get __childrenNodeConstructor(){return Zk}isLeafNode(){return!0}getPriority(){return this.priorityNode_}updatePriority(e){return new Ki(this.value_,e)}getImmediateChild(e){return e===".priority"?this.priorityNode_:Ki.__childrenNodeConstructor.EMPTY_NODE}getChild(e){return mr(e)?this:Er(e)===".priority"?this.priorityNode_:Ki.__childrenNodeConstructor.EMPTY_NODE}hasChild(){return!1}getPredecessorChildName(e,r){return null}updateImmediateChild(e,r){return e===".priority"?this.updatePriority(r):r.isEmpty()&&e!==".priority"?this:Ki.__childrenNodeConstructor.EMPTY_NODE.updateImmediateChild(e,r).updatePriority(this.priorityNode_)}updateChild(e,r){const n=Er(e);return n===null?r:r.isEmpty()&&n!==".priority"?this:(ht(n!==".priority"||qu(e)===1,".priority must be the last token in a path"),this.updateImmediateChild(n,Ki.__childrenNodeConstructor.EMPTY_NODE.updateChild(wn(e),r)))}isEmpty(){return!1}numChildren(){return 0}forEachChild(e,r){return!1}
2110val(e){return e&&!this.getPriority().isEmpty()?{".value":this.getValue(),".priority":this.getPriority().val()}:this.getValue()}hash(){if(this.lazyHash_===null){let e="";this.priorityNode_.isEmpty()||(e+="priority:"+P7(this.priorityNode_.val())+":");const r=typeof this.value_;e+=r+":",r==="number"?e+=c7(this.value_):e+=this.value_,this.lazyHash_=o7(e)}return this.lazyHash_}getValue(){return this.value_}compareTo(e){return e===Ki.__childrenNodeConstructor.EMPTY_NODE?1:e instanceof Ki.__childrenNodeConstructor?-1:(ht(e.isLeafNode(),"Unknown node type"),this.compareToLeafNode_(e))}compareToLeafNode_(e){const r=typeof e.value_,n=typeof this.value_,i=Ki.VALUE_TYPE_ORDER.indexOf(r),a=Ki.VALUE_TYPE_ORDER.indexOf(n);return ht(i>=0,"Unknown leaf type: "+r),ht(a>=0,"Unknown leaf type: "+n),i===a?n==="object"?0:this.value_<e.value_?-1:this.value_===e.value_?0:1:a-i}withIndex(){return this}isIndexed(){return!0}equals(e){if(e===this)return!0;if(e.isLeafNode()){const r=e;return this.value_===r.value_&&this.priorityNode_.equals(r.priorityNode_)}else return!1}}Ki.VALUE_TYPE_ORDER=["object","boolean","number","string"];/** 2111 * @license 2112 * Copyright 2017 Google LLC 2113 * 2114 * Licensed under the Apache License, Version 2.0 (the "License"); 2115 * you may not use this file except in compliance with the License. 2116 * You may obtain a copy of the License at 2117 * 2118 * http://www.apache.org/licenses/LICENSE-2.0 2119 * 2120 * Unless required by applicable law or agreed to in writing, software 2121 * distributed under the License is distributed on an "AS IS" BASIS, 2122 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2123 * See the License for the specific language governing permissions and 2124 * limitations under the License. 2125 */let O7,R7;function Dre(t){O7=t}function Ore(t){R7=t}class Rre extends DC{compare(e,r){const n=e.node.getPriority(),i=r.node.getPriority(),a=n.compareTo(i);return a===0?Sp(e.name,r.name):a}isDefinedOn(e){return!e.getPriority().isEmpty()}indexedValueChanged(e,r){return!e.getPriority().equals(r.getPriority())}minPost(){return gr.MIN}maxPost(){return new gr(Ku,new Ki("[PRIORITY-POST]",R7))}makePost(e,r){const n=O7(e);return new gr(r,new Ki("[PRIORITY-POST]",n))}toString(){return".priority"}}const zn=new Rre;/** 2126 * @license 2127 * Copyright 2017 Google LLC 2128 * 2129 * Licensed under the Apache License, Version 2.0 (the "License"); 2130 * you may not use this file except in compliance with the License. 2131 * You may obtain a copy of the License at 2132 * 2133 * http://www.apache.org/licenses/LICENSE-2.0 2134 * 2135 * Unless required by applicable law or agreed to in writing, software 2136 * distributed under the License is distributed on an "AS IS" BASIS, 2137 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2138 * See the License for the specific language governing permissions and 2139 * limitations under the License. 2140 */const Ure=Math.log(2);class Lre{constructor(e){const r=a=>parseInt(Math.log(a)/Ure,10),n=a=>parseInt(Array(a+1).join("1"),2);this.count=r(e+1),this.current_=this.count-1;const i=n(this.count);this.bits_=e+1&i}nextBitIsOne(){const e=!(this.bits_&1<<this.current_);return this.current_--,e}}const ab=function(t,e,r,n){t.sort(e);const i=function(c,A){const u=A-c;let d,f;if(u===0)return null;if(u===1)return d=t[c],f=r?r(d):d,new Ji(f,d.node,Ji.BLACK,null,null);{const h=parseInt(u/2,10)+c,m=i(c,h),p=i(h+1,A);return d=t[h],f=r?r(d):d,new Ji(f,d.node,Ji.BLACK,m,p)}},a=function(c){let A=null,u=null,d=t.length;const f=function(m,p){const x=d-m,v=d;d-=m;const y=i(x+1,v),b=t[x],E=r?r(b):b;h(new Ji(E,b.node,p,null,y))},h=function(m){A?(A.left=m,A=m):(u=m,A=m)};for(let m=0;m<c.count;++m){const p=c.nextBitIsOne(),x=Math.pow(2,c.count-(m+1));p?f(x,Ji.BLACK):(f(x,Ji.BLACK),f(x,Ji.RED))}return u},s=new Lre(t.length),o=a(s);return new bs(n||e,o)};/** 2141 * @license 2142 * Copyright 2017 Google LLC 2143 * 2144 * Licensed under the Apache License, Version 2.0 (the "License"); 2145 * you may not use this file except in compliance with the License. 2146 * You may obtain a copy of the License at 2147 * 2148 * http://www.apache.org/licenses/LICENSE-2.0 2149 * 2150 * Unless required by applicable law or agreed to in writing, softw
2150are 2151 * distributed under the License is distributed on an "AS IS" BASIS, 2152 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2153 * See the License for the specific language governing permissions and 2154 * limitations under the License. 2155 */let yE;const Ef={};class Kc{constructor(e,r){this.indexes_=e,this.indexSet_=r}static get Default(){return ht(Ef&&zn,"ChildrenNode.ts has not been loaded"),yE=yE||new Kc({".priority":Ef},{".priority":zn}),yE}get(e){const r=sp(this.indexes_,e);if(!r)throw new Error("No index defined for "+e);return r instanceof bs?r:null}hasIndex(e){return pc(this.indexSet_,e.toString())}addIndex(e,r){ht(e!==sh,"KeyIndex always exists and isn't meant to be added to the IndexMap.");const n=[];let i=!1;const a=r.getIterator(gr.Wrap);let s=a.getNext();for(;s;)i=i||e.isDefinedOn(s.node),n.push(s),s=a.getNext();let o;i?o=ab(n,e.getCompare()):o=Ef;const c=e.toString(),A=Object.assign({},this.indexSet_);A[c]=e;const u=Object.assign({},this.indexes_);return u[c]=o,new Kc(u,A)}addToIndexes(e,r){const n=q2(this.indexes_,(i,a)=>{const s=sp(this.indexSet_,a);if(ht(s,"Missing index implementation for "+a),i===Ef)if(s.isDefinedOn(e.node)){const o=[],c=r.getIterator(gr.Wrap);let A=c.getNext();for(;A;)A.name!==e.name&&o.push(A),A=c.getNext();return o.push(e),ab(o,s.getCompare())}else return Ef;else{const o=r.get(e.name);let c=i;return o&&(c=c.remove(new gr(e.name,o))),c.insert(e,e.node)}});return new Kc(n,this.indexSet_)}removeFromIndexes(e,r){const n=q2(this.indexes_,i=>{if(i===Ef)return i;{const a=r.get(e.name);return a?i.remove(new gr(e.name,a)):i}});return new Kc(n,this.indexSet_)}}/** 2156 * @license 2157 * Copyright 2017 Google LLC 2158 * 2159 * Licensed under the Apache License, Version 2.0 (the "License"); 2160 * you may not use this file except in compliance with the License. 2161 * You may obtain a copy of the License at 2162 * 2163 * http://www.apache.org/licenses/LICENSE-2.0 2164 * 2165 * Unless required by applicable law or agreed to in writing, software 2166 * distributed under the License is distributed on an "AS IS" BASIS, 2167 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2168 * See the License for the specific language governing permissions and 2169 * limitations under the License. 2170 */let Dm;class qt{constructor(e,r,n){this.children_=e,this.priorityNode_=r,this.indexMap_=n,this.lazyHash_=null,this.priorityNode_&&D7(this.priorityNode_),this.children_.isEmpty()&&ht(!this.priorityNode_||this.priorityNode_.isEmpty(),"An empty node cannot have a priority")}static get EMPTY_NODE(){return Dm||(Dm=new qt(new bs(l3),null,Kc.Default))}isLeafNode(){return!1}getPriority(){return this.priorityNode_||Dm}updatePriority(e){return this.children_.isEmpty()?this:new qt(this.children_,e,this.indexMap_)}getImmediateChild(e){if(e===".priority")return this.getPriority();{const r=this.children_.get(e);return r===null?Dm:r}}getChild(e){const r=Er(e);return r===null?this:this.getImmediateChild(r).getChild(wn(e))}hasChild(e){return this.children_.get(e)!==null}updateImmediateChild(e,r){if(ht(r,"We should always be passing snapshot nodes"),e===".priority")return this.updatePriority(r);{const n=new gr(e,r);let i,a;r.isEmpty()?(i=this.children_.remove(e),a=this.indexMap_.removeFromIndexes(n,this.children_)):(i=this.children_.insert(e,r),a=this.indexMap_.addToIndexes(n,this.children_));const s=i.isEmpty()?Dm:this.priorityNode_;return new qt(i,s,a)}}updateChild(e,r){const n=Er(e);if(n===null)return r;{ht(Er(e)!==".priority"||qu(e)===1,".priority must be the last token in a path");const i=this.getImmediateChild(n).updateChild(wn(e),r);return this.updateImmediateChild(n,i)}}isEmpty(){return this.children_.isEmpty()}numChildren(){return this.children_.count()}val(e){if(this.isEmpty())return null;const r={};let n=0,i=0,a=!0;if(this.forEachChild(zn,(s,o)=>{r[s]=o.val(e),n++,a&&qt.INTEGER_REGEXP_.test(s)?i=Math.max(i,Number(s)):a=!1}),!e&&a&&i<2*n){const s=[];for(const o in r)s[o]=r[o];return s}else return e&&!this.getPriority().isEmpty()&&(r[".priority"]=this.getPriority().val()),r}hash(){if(this.lazyHash_===null){let e="";
2170this.getPriority().isEmpty()||(e+="priority:"+P7(this.getPriority().val())+":"),this.forEachChild(zn,(r,n)=>{const i=n.hash();i!==""&&(e+=":"+r+":"+i)}),this.lazyHash_=e===""?"":o7(e)}return this.lazyHash_}getPredecessorChildName(e,r,n){const i=this.resolveIndex_(n);if(i){const a=i.getPredecessorKey(new gr(e,r));return a?a.name:null}else return this.children_.getPredecessorKey(e)}getFirstChildName(e){const r=this.resolveIndex_(e);if(r){const n=r.minKey();return n&&n.name}else return this.children_.minKey()}getFirstChild(e){const r=this.getFirstChildName(e);return r?new gr(r,this.children_.get(r)):null}getLastChildName(e){const r=this.resolveIndex_(e);if(r){const n=r.maxKey();return n&&n.name}else return this.children_.maxKey()}getLastChild(e){const r=this.getLastChildName(e);return r?new gr(r,this.children_.get(r)):null}forEachChild(e,r){const n=this.resolveIndex_(e);return n?n.inorderTraversal(i=>r(i.name,i.node)):this.children_.inorderTraversal(r)}getIterator(e){return this.getIteratorFrom(e.minPost(),e)}getIteratorFrom(e,r){const n=this.resolveIndex_(r);if(n)return n.getIteratorFrom(e,i=>i);{const i=this.children_.getIteratorFrom(e.name,gr.Wrap);let a=i.peek();for(;a!=null&&r.compare(a,e)<0;)i.getNext(),a=i.peek();return i}}getReverseIterator(e){return this.getReverseIteratorFrom(e.maxPost(),e)}getReverseIteratorFrom(e,r){const n=this.resolveIndex_(r);if(n)return n.getReverseIteratorFrom(e,i=>i);{const i=this.children_.getReverseIteratorFrom(e.name,gr.Wrap);let a=i.peek();for(;a!=null&&r.compare(a,e)>0;)i.getNext(),a=i.peek();return i}}compareTo(e){return this.isEmpty()?e.isEmpty()?0:-1:e.isLeafNode()||e.isEmpty()?1:e===P1?-1:0}withIndex(e){if(e===sh||this.indexMap_.hasIndex(e))return this;{const r=this.indexMap_.addIndex(e,this.children_);return new qt(this.children_,this.priorityNode_,r)}}isIndexed(e){return e===sh||this.indexMap_.hasIndex(e)}equals(e){if(e===this)return!0;if(e.isLeafNode())return!1;{const r=e;if(this.getPriority().equals(r.getPriority()))if(this.children_.count()===r.children_.count()){const n=this.getIterator(zn),i=r.getIterator(zn);let a=n.getNext(),s=i.getNext();for(;a&&s;){if(a.name!==s.name||!a.node.equals(s.node))return!1;a=n.getNext(),s=i.getNext()}return a===null&&s===null}else return!1;else return!1}}resolveIndex_(e){return e===sh?null:this.indexMap_.get(e.toString())}}qt.INTEGER_REGEXP_=/^(0|[1-9]\d*)$/;class Mre extends qt{constructor(){super(new bs(l3),qt.EMPTY_NODE,Kc.Default)}compareTo(e){return e===this?0:1}equals(e){return e===this}getPriority(){return this}getImmediateChild(e){return qt.EMPTY_NODE}isEmpty(){return!1}}const P1=new Mre;Object.defineProperties(gr,{MIN:{value:new gr(yh,qt.EMPTY_NODE)},MAX:{value:new gr(Ku,P1)}});k7.__EMPTY_NODE=qt.EMPTY_NODE;Ki.__childrenNodeConstructor=qt;Pre(P1);Ore(P1);/** 2171 * @license 2172 * Copyright 2017 Google LLC 2173 * 2174 * Licensed under the Apache License, Version 2.0 (the "License"); 2175 * you may not use this file except in compliance with the License. 2176 * You may obtain a copy of the License at 2177 * 2178 * http://www.apache.org/licenses/LICENSE-2.0 2179 * 2180 * Unless required by applicable law or agreed to in writing, software 2181 * distributed under the License is distributed on an "AS IS" BASIS, 2182 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2183 * See the License for the specific language governing permissions and 2184 * limitations under the License. 2185 */const Qre=!0;function Yi(t,e=null){if(t===null)return qt.EMPTY_NODE;if(typeof t=="object"&&".priority"in t&&(e=t[".priority"]),ht(e===null||typeof e=="string"||typeof e=="number"||typeof e=="object"&&".sv"in e,"Invalid priority type found: "+typeof e),typeof t=="object"&&".value"in t&&t[".value"]!==null&&(t=t[".value"]),typeof t!="object"||".sv"in t){const r=t;return new Ki(r,Yi(e))}if(!(t instanceof Array)&&Qre){const r=[];let n=!1;if(Ts(t,(s,o)=>{if(s.substring(0,1)!=="."){const c=Yi(o);c.isEmpty()||(n=n||!c.getPriority().isEmpty(),r.push(new gr(s,c)))}}),r.length===0)return qt.EMPTY_NODE;const a=ab(r,kre,s=>s.name,l3);if(n){const s=ab(r,zn.getCompare());return new qt(a,Yi(e),new Kc({".priority":s},{".priority":zn}))}else return new qt(a,Yi(e),Kc.Default)}else{let r=qt.EMPTY_NODE;return Ts(t,(n,i)=>{if(pc(t,n)&&n.substring(0,1)!=="."){const a=Yi(i);(a.isLeafNode()||!a.isEmpty())&&(r=r.updateImmediateChild(n,a))}}),r.updatePriority(Yi(e))}}Dre(Yi);/** 2186 * @license 2187 * Copyright 2017 Google LLC 2188 * 2189 * Licensed under the Apache License, Version 2.0 (the "License");
2190 * you may not use this file except in compliance with the License. 2191 * You may obtain a copy of the License at 2192 * 2193 * http://www.apache.org/licenses/LICENSE-2.0 2194 * 2195 * Unless required by applicable law or agreed to in writing, software 2196 * distributed under the License is distributed on an "AS IS" BASIS, 2197 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2198 * See the License for the specific language governing permissions and 2199 * limitations under the License. 2200 */class c3 extends DC{constructor(e){super(),this.indexPath_=e,ht(!mr(e)&&Er(e)!==".priority","Can't create PathIndex with empty path or .priority key")}extractChild(e){return e.getChild(this.indexPath_)}isDefinedOn(e){return!e.getChild(this.indexPath_).isEmpty()}compare(e,r){const n=this.extractChild(e.node),i=this.extractChild(r.node),a=n.compareTo(i);return a===0?Sp(e.name,r.name):a}makePost(e,r){const n=Yi(e),i=qt.EMPTY_NODE.updateChild(this.indexPath_,n);return new gr(r,i)}maxPost(){const e=qt.EMPTY_NODE.updateChild(this.indexPath_,P1);return new gr(Ku,e)}toString(){return F7(this.indexPath_,0).join("/")}}/** 2201 * @license 2202 * Copyright 2017 Google LLC 2203 * 2204 * Licensed under the Apache License, Version 2.0 (the "License"); 2205 * you may not use this file except in compliance with the License. 2206 * You may obtain a copy of the License at 2207 * 2208 * http://www.apache.org/licenses/LICENSE-2.0 2209 * 2210 * Unless required by applicable law or agreed to in writing, software 2211 * distributed under the License is distributed on an "AS IS" BASIS, 2212 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2213 * See the License for the specific language governing permissions and 2214 * limitations under the License. 2215 */class Hre extends DC{compare(e,r){const n=e.node.compareTo(r.node);return n===0?Sp(e.name,r.name):n}isDefinedOn(e){return!0}indexedValueChanged(e,r){return!e.equals(r)}minPost(){return gr.MIN}maxPost(){return gr.MAX}makePost(e,r){const n=Yi(e);return new gr(r,n)}toString(){return".value"}}const U7=new Hre;/** 2216 * @license 2217 * Copyright 2017 Google LLC 2218 * 2219 * Licensed under the Apache License, Version 2.0 (the "License"); 2220 * you may not use this file except in compliance with the License. 2221 * You may obtain a copy of the License at 2222 * 2223 * http://www.apache.org/licenses/LICENSE-2.0 2224 * 2225 * Unless required by applicable law or agreed to in writing, software 2226 * distributed under the License is distributed on an "AS IS" BASIS, 2227 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2228 * See the License for the specific language governing permissions and 2229 * limitations under the License. 2230 */function L7(t){return{type:"value",snapshotNode:t}}function cp(t,e){return{type:"child_added",snapshotNode:e,childName:t}}function Lv(t,e){return{type:"child_removed",snapshotNode:e,childName:t}}function Mv(t,e,r){return{type:"child_changed",snapshotNode:e,childName:t,oldSnap:r}}function zre(t,e){return{type:"child_moved",snapshotNode:e,childName:t}}/** 2231 * @license 2232 * Copyright 2017 Google LLC 2233 * 2234 * Licensed under the Apache License, Version 2.0 (the "License"); 2235 * you may not use this file except in compliance with the License. 2236 * You may obtain a copy of the License at 2237 * 2238 * http://www.apache.org/licenses/LICENSE-2.0 2239 * 2240 * Unless required by applicable law or agreed to in writing, software 2241 * distributed under the License is distributed on an "AS IS" BASIS, 2242 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2243 * See the License for the specific language governing permissions and 2244 * limitations under the License. 2245 */class A3{constructor(e){this.index_=e}updateChild(e,r,n,i,a,s){ht(e.isIndexed(this.index_),"A node must be indexed if only a child is updated");const o=e.getImmediateChild(r);return o.getChild(i).equals(n.getChild(i))&&o.isEmpty()===n.isEmpty()||(s!=null&&(n.isEmpty()?e.hasChild(r)?s.trackChildChange(Lv(r,o)):ht(e.isLeafNode(),"A child remove without an old child only makes sense on a leaf node"):o.isEmpty()?s.trackChildChange(cp(r,n)):s.trackChildChange(Mv(r,n,o))),e.isLeafNode()&&n.isEmpty())?e:e.updateImmediateChild(r,n).withIndex(this.index_)}updateFullNode(e,r,n){return n!=null&&(e.isLeafNode()||e.forEachChild(zn,(i,a)=>{r.hasChild(i)||n.trackChildChange(Lv(i,a))}),r.isLeafNode()||r.forEachChild(zn,(i,a)=>
vendor: 4,935 bytes, lines 2245-2275
2245{if(e.hasChild(i)){const s=e.getImmediateChild(i);s.equals(a)||n.trackChildChange(Mv(i,a,s))}else n.trackChildChange(cp(i,a))})),r.withIndex(this.index_)}updatePriority(e,r){return e.isEmpty()?qt.EMPTY_NODE:e.updatePriority(r)}filtersNodes(){return!1}getIndexedFilter(){return this}getIndex(){return this.index_}}/** 2246 * @license 2247 * Copyright 2017 Google LLC 2248 * 2249 * Licensed under the Apache License, Version 2.0 (the "License"); 2250 * you may not use this file except in compliance with the License. 2251 * You may obtain a copy of the License at 2252 * 2253 * http://www.apache.org/licenses/LICENSE-2.0 2254 * 2255 * Unless required by applicable law or agreed to in writing, software 2256 * distributed under the License is distributed on an "AS IS" BASIS, 2257 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2258 * See the License for the specific language governing permissions and 2259 * limitations under the License. 2260 */class Qv{constructor(e){this.indexedFilter_=new A3(e.getIndex()),this.index_=e.getIndex(),this.startPost_=Qv.getStartPost_(e),this.endPost_=Qv.getEndPost_(e),this.startIsInclusive_=!e.startAfterSet_,this.endIsInclusive_=!e.endBeforeSet_}getStartPost(){return this.startPost_}getEndPost(){return this.endPost_}matches(e){const r=this.startIsInclusive_?this.index_.compare(this.getStartPost(),e)<=0:this.index_.compare(this.getStartPost(),e)<0,n=this.endIsInclusive_?this.index_.compare(e,this.getEndPost())<=0:this.index_.compare(e,this.getEndPost())<0;return r&&n}updateChild(e,r,n,i,a,s){return this.matches(new gr(r,n))||(n=qt.EMPTY_NODE),this.indexedFilter_.updateChild(e,r,n,i,a,s)}updateFullNode(e,r,n){r.isLeafNode()&&(r=qt.EMPTY_NODE);let i=r.withIndex(this.index_);i=i.updatePriority(qt.EMPTY_NODE);const a=this;return r.forEachChild(zn,(s,o)=>{a.matches(new gr(s,o))||(i=i.updateImmediateChild(s,qt.EMPTY_NODE))}),this.indexedFilter_.updateFullNode(e,i,n)}updatePriority(e,r){return e}filtersNodes(){return!0}getIndexedFilter(){return this.indexedFilter_}getIndex(){return this.index_}static getStartPost_(e){if(e.hasStart()){const r=e.getIndexStartName();return e.getIndex().makePost(e.getIndexStartValue(),r)}else return e.getIndex().minPost()}static getEndPost_(e){if(e.hasEnd()){const r=e.getIndexEndName();return e.getIndex().makePost(e.getIndexEndValue(),r)}else return e.getIndex().maxPost()}}/** 2261 * @license 2262 * Copyright 2017 Google LLC 2263 * 2264 * Licensed under the Apache License, Version 2.0 (the "License"); 2265 * you may not use this file except in compliance with the License. 2266 * You may obtain a copy of the License at 2267 * 2268 * http://www.apache.org/licenses/LICENSE-2.0 2269 * 2270 * Unless required by applicable law or agreed to in writing, software 2271 * distributed under the License is distributed on an "AS IS" BASIS, 2272 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2273 * See the License for the specific language governing permissions and 2274 * limitations under the License. 2275 */class Vre{constructor(e){this.withinDirectionalStart=r=>this.reverse_?this.withinEndPost(r):this.withinStartPost(r),this.withinDirectionalEnd=r=>this.reverse_?this.withinStartPost(r):this.withinEndPost(r),this.withinStartPost=r=>{const n=this.index_.compare(this.rangedFilter_.getStartPost(),r);return this.startIsInclusive_?n<=0:n<0},this.withinEndPost=r=>{const n=this.index_.compare(r,this.rangedFilter_.getEndPost());return this.endIsInclusive_?n<=0:n<0},this.rangedFilter_=new Qv(e),this.index_=e.getIndex(),this.limit_=e.getLimit(),this.reverse_=!e.isViewFromLeft(),this.startIsInclusive_=!e.startAfterSet_,this.endIsInclusive_=!e.endBeforeSet_}updateChild(e,r,n,i,a,s){return this.rangedFilter_.matches(new gr(r,n))||(n=qt.EMPTY_NODE),e.getImmediateChild(r).equals(n)?e:e.numChildren()<this.limit_?this.rangedFilter_.getIndexedFilter().updateChild(e,r,n,i,a,s):this.fullLimitUpdateChild_(e,r,n,a,s)}updateFullNode(e,r,n){let i;if(r.isLeafNode()||r.isEmpty())i=qt.EMPTY_NODE.withIndex(this.index_);else if(this.limit_*2<r.numChildren()&&r.isIndexed(this.index_)){i=qt.EMPTY_NODE.withIndex(this.index_);let a;this.reverse_?a=r.getReverseIteratorFrom(this.rangedFilter_.getEndPost(),this.index_):a=r.getIteratorFrom(this.rangedFilter_.getStartPost(),this.index_);let s=0;for(;a.hasNext()&&s<this.limit_;){const o=a.getNext();if(this.withinDirectionalStart(o))if(this.withinDirectionalEnd(o))i=i.updateImmediateChild(o.name,o.node),s++;else break;else continue}}else{i=r.withIndex(this.index_),i=i.updatePriority(qt.EMPTY_NODE);let a;this.reverse_?a=i.getReverseIterator(this.index_):a=i.getIterator(this.index_);let s=0;for(;a.hasNext();){const o=a.getNext();s<this.limit_&&this.withinDirectionalStart(o)&&this.withinDirectionalEnd(o)?s++:i=i.updateImmediateChild(o.name,qt.EMPTY_NODE)}}return this.rangedFilter_.getIndexedFilter().updateFullNode(e,i,n)}updatePriority(e,r){return e}filtersNodes(){return!0}getIndexedFilter(){return this.rangedFilter_.getIndexedFilter()}getIndex(){return this.index_}
2275fullLimitUpdateChild_(e,r,n,i,a){let s;if(this.reverse_){const d=this.index_.getCompare();s=(f,h)=>d(h,f)}else s=this.index_.getCompare();const o=e;ht(o.numChildren()===this.limit_,"");const c=new gr(r,n),A=this.reverse_?o.getFirstChild(this.index_):o.getLastChild(this.index_),u=this.rangedFilter_.matches(c);if(o.hasChild(r)){const d=o.getImmediateChild(r);let f=i.getChildAfterChild(this.index_,A,this.reverse_);for(;f!=null&&(f.name===r||o.hasChild(f.name));)f=i.getChildAfterChild(this.index_,f,this.reverse_);const h=f==null?1:s(f,c);if(u&&!n.isEmpty()&&h>=0)return a!=null&&a.trackChildChange(Mv(r,n,d)),o.updateImmediateChild(r,n);{a!=null&&a.trackChildChange(Lv(r,d));const p=o.updateImmediateChild(r,qt.EMPTY_NODE);return f!=null&&this.rangedFilter_.matches(f)?(a!=null&&a.trackChildChange(cp(f.name,f.node)),p.updateImmediateChild(f.name,f.node)):p}}else return n.isEmpty()?e:u&&s(A,c)>=0?(a!=null&&(a.trackChildChange(Lv(A.name,A.node)),a.trackChildChange(cp(r,n))),o.updateImmediateChild(r,n).updateImmediateChild(A.name,qt.EMPTY_NODE)):e}}/** 2276 * @license 2277 * Copyright 2017 Google LLC 2278 * 2279 * Licensed under the Apache License, Version 2.0 (the "License"); 2280 * you may not use this file except in compliance with the License. 2281 * You may obtain a copy of the License at 2282 * 2283 * http://www.apache.org/licenses/LICENSE-2.0 2284 * 2285 * Unless required by applicable law or agreed to in writing, software 2286 * distributed under the License is distributed on an "AS IS" BASIS, 2287 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2288 * See the License for the specific language governing permissions and 2289 * limitations under the License. 2290 */class u3{constructor(){this.limitSet_=!1,this.startSet_=!1,this.startNameSet_=!1,this.startAfterSet_=!1,this.endSet_=!1,this.endNameSet_=!1,this.endBeforeSet_=!1,this.limit_=0,this.viewFrom_="",this.indexStartValue_=null,this.indexStartName_="",this.indexEndValue_=null,this.indexEndName_="",this.index_=zn}hasStart(){return this.startSet_}isViewFromLeft(){return this.viewFrom_===""?this.startSet_:this.viewFrom_==="l"}getIndexStartValue(){return ht(this.startSet_,"Only valid if start has been set"),this.indexStartValue_}getIndexStartName(){return ht(this.startSet_,"Only valid if start has been set"),this.startNameSet_?this.indexStartName_:yh}hasEnd(){return this.endSet_}getIndexEndValue(){return ht(this.endSet_,"Only valid if end has been set"),this.indexEndValue_}getIndexEndName(){return ht(this.endSet_,"Only valid if end has been set"),this.endNameSet_?this.indexEndName_:Ku}hasLimit(){return this.limitSet_}hasAnchoredLimit(){return this.limitSet_&&this.viewFrom_!==""}getLimit(){return ht(this.limitSet_,"Only valid if limit has been set"),this.limit_}getIndex(){return this.index_}loadsAllData(){return!(this.startSet_||this.endSet_||this.limitSet_)}isDefault(){return this.loadsAllData()&&this.index_===zn}copy(){const e=new u3;return e.limitSet_=this.limitSet_,e.limit_=this.limit_,e.startSet_=this.startSet_,e.startAfterSet_=this.startAfterSet_,e.indexStartValue_=this.indexStartValue_,e.startNameSet_=this.startNameSet_,e.indexStartName_=this.indexStartName_,e.endSet_=this.endSet_,e.endBeforeSet_=this.endBeforeSet_,e.indexEndValue_=this.indexEndValue_,e.endNameSet_=this.endNameSet_,e.indexEndName_=this.indexEndName_,e.index_=this.index_,e.viewFrom_=this.viewFrom_,e}}function Wre(t){return t.loadsAllData()?new A3(t.getIndex()):t.hasLimit()?new Vre(t):new Qv(t)}function Kre(t,e,r){const n=t.copy();return n.startSet_=!0,e===void 0&&(e=null),n.indexStartValue_=e,r!=null?(n.startNameSet_=!0,n.indexStartName_=r):(n.startNameSet_=!1,n.indexStartName_=""),n}function qre(t,e,r){const n=t.copy();return n.endSet_=!0,e===void 0&&(e=null),n.indexEndValue_=e,r!==void 0?(n.endNameSet_=!0,n.indexEndName_=r):(n.endNameSet_=!1,n.indexEndName_=""),n}function Gre(t,e){const r=t.copy();return r.index_=e,r}function $k(t){const e={};if(t.isDefault())return e;let r;if(t.index_===zn?r="$priority":t.index_===U7?r="$value":t.index_===sh?r="$key":(ht(t.index_ instanceof c3,"Unrecognized index type!"),r=t.index_.toString()),e.orderBy=Oi(r),t.startSet_){const n=t.startAfterSet_?"startAfter":"startAt";e[n]=Oi(t.indexStartValue_),t.startNameSet_&&(e[n]+=","+Oi(t.indexStartName_))}if(t.endSet_){const n=t.endBeforeSet_?"endBefore":"endAt";e[n]=Oi(t.indexEndValue_),t.endNameSet_&&(e[n]+=","+Oi(t.indexEndName_))}return t.limitSet_&&(t.isViewFromLeft()?e.limitToFirst=t.limit_:e.limitToLast=t.limit_),e}function e6(t){const e={};if(t.startSet_&&(e.sp=t.indexStartValue_,t.startNameSet_&&(e.sn=t.indexStartName_),e.sin=!t.startAfterSet_),t.endSet_&&(e.ep=t.indexEndValue_,t.endNameSet_&&(e.en=t.indexEndName_),e.ein=!t.endBeforeSet_),t.limitSet_){e.l=t.limit_;let r=t.viewFrom_;r===""&&(t.isViewFromLeft()?r="l":r="r"),e.vf=r}return t.index_!==zn&&(e.i=t.index_.toString()),e}/** 2291 * @license 2292 * Copyright 2017 Google LLC 2293 * 2294 * Licensed under the Apache License, Version 2.0 (the "License");
2295 * you may not use this file except in compliance with the License. 2296 * You may obtain a copy of the License at 2297 * 2298 * http://www.apache.org/licenses/LICENSE-2.0 2299 * 2300 * Unless required by applicable law or agreed to in writing, software 2301 * distributed under the License is distributed on an "AS IS" BASIS, 2302 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2303 * See the License for the specific language governing permissions and 2304 * limitations under the License. 2305 */class sb extends N7{constructor(e,r,n,i){super(),this.repoInfo_=e,this.onDataUpdate_=r,this.authTokenProvider_=n,this.appCheckTokenProvider_=i,this.log_=k1("p:rest:"),this.listens_={}}reportStats(e){throw new Error("Method not implemented.")}static getListenId_(e,r){return r!==void 0?"tag$"+r:(ht(e._queryParams.isDefault(),"should have a tag if it's not a default query."),e._path.toString())}listen(e,r,n,i){const a=e._path.toString();this.log_("Listen called for "+a+" "+e._queryIdentifier);const s=sb.getListenId_(e,n),o={};this.listens_[s]=o;const c=$k(e._queryParams);this.restRequest_(a+".json",c,(A,u)=>{let d=u;if(A===404&&(d=null,A=null),A===null&&this.onDataUpdate_(a,d,!1,n),sp(this.listens_,s)===o){let f;A?A===401?f="permission_denied":f="rest_error:"+A:f="ok",i(f,null)}})}unlisten(e,r){const n=sb.getListenId_(e,r);delete this.listens_[n]}get(e){const r=$k(e._queryParams),n=e._path.toString(),i=new SC;return this.restRequest_(n+".json",r,(a,s)=>{let o=s;a===404&&(o=null,a=null),a===null?(this.onDataUpdate_(n,o,!1,null),i.resolve(o)):i.reject(new Error(o))}),i.promise}refreshAuthToken(e){}restRequest_(e,r={},n){return r.format="export",Promise.all([this.authTokenProvider_.getToken(!1),this.appCheckTokenProvider_.getToken(!1)]).then(([i,a])=>{i&&i.accessToken&&(r.auth=i.accessToken),a&&a.token&&(r.ac=a.token);const s=(this.repoInfo_.secure?"https://":"http://")+this.repoInfo_.host+e+"?ns="+this.repoInfo_.namespace+Bp(r);this.log_("Sending REST request for "+s);const o=new XMLHttpRequest;o.onreadystatechange=()=>{if(n&&o.readyState===4){this.log_("REST Response for "+s+" received. status:",o.status,"response:",o.responseText);let c=null;if(o.status>=200&&o.status<300){try{c=Pv(o.responseText)}catch{Ss("Failed to parse JSON response for "+s+": "+o.responseText)}n(null,c)}else o.status!==401&&o.status!==404&&Ss("Got unsuccessful REST response for "+s+" Status: "+o.status),n(o.status);n=null}},o.open("GET",s,!0),o.send()})}}/** 2306 * @license 2307 * Copyright 2017 Google LLC 2308 * 2309 * Licensed under the Apache License, Version 2.0 (the "License"); 2310 * you may not use this file except in compliance with the License. 2311 * You may obtain a copy of the License at 2312 * 2313 * http://www.apache.org/licenses/LICENSE-2.0 2314 * 2315 * Unless required by applicable law or agreed to in writing, software 2316 * distributed under the License is distributed on an "AS IS" BASIS, 2317 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2318 * See the License for the specific language governing permissions and 2319 * limitations under the License. 2320 */class Jre{constructor(){this.rootNode_=qt.EMPTY_NODE}getNode(e){return this.rootNode_.getChild(e)}updateSnapshot(e,r){this.rootNode_=this.rootNode_.updateChild(e,r)}}/** 2321 * @license 2322 * Copyright 2017 Google LLC 2323 * 2324 * Licensed under the Apache License, Version 2.0 (the "License"); 2325 * you may not use this file except in compliance with the License. 2326 * You may obtain a copy of the License at 2327 * 2328 * http://www.apache.org/licenses/LICENSE-2.0 2329 * 2330 * Unless required by applicable law or agreed to in writing, software 2331 * distributed under the License is distributed on an "AS IS" BASIS, 2332 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2333 * See the License for the specific language governing permissions and 2334 * limitations under the License. 2335 */function ob(){return{value:null,children:new Map}}function M7(t,e,r){if(mr(e))t.value=r,t.children.clear();else if(t.value!==null)t.value=t.value.updateChild(e,r);else{const n=Er(e);t.children.has(n)||t.children.set(n,ob());const i=t.children.get(n);e=wn(e),M7(i,e,r)}}function iS(t,e,r){t.value!==null?r(e,t.value):Xre(t,(n,i)=>{const a=new hn(e.toString()+"/"+n);iS(i,a,r)})}
2335function Xre(t,e){t.children.forEach((r,n)=>{e(n,r)})}/** 2336 * @license 2337 * Copyright 2017 Google LLC 2338 * 2339 * Licensed under the Apache License, Version 2.0 (the "License"); 2340 * you may not use this file except in compliance with the License. 2341 * You may obtain a copy of the License at 2342 * 2343 * http://www.apache.org/licenses/LICENSE-2.0 2344 * 2345 * Unless required by applicable law or agreed to in writing, software 2346 * distributed under the License is distributed on an "AS IS" BASIS, 2347 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2348 * See the License for the specific language governing permissions and 2349 * limitations under the License. 2350 */class Yre{constructor(e){this.collection_=e,this.last_=null}get(){const e=this.collection_.get(),r=Object.assign({},e);return this.last_&&Ts(this.last_,(n,i)=>{r[n]=r[n]-i}),this.last_=e,r}}/** 2351 * @license 2352 * Copyright 2017 Google LLC 2353 * 2354 * Licensed under the Apache License, Version 2.0 (the "License"); 2355 * you may not use this file except in compliance with the License. 2356 * You may obtain a copy of the License at 2357 * 2358 * http://www.apache.org/licenses/LICENSE-2.0 2359 * 2360 * Unless required by applicable law or agreed to in writing, software 2361 * distributed under the License is distributed on an "AS IS" BASIS, 2362 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2363 * See the License for the specific language governing permissions and 2364 * limitations under the License. 2365 */const t6=10*1e3,Zre=30*1e3,$re=5*60*1e3;class ene{constructor(e,r){this.server_=r,this.statsToReport_={},this.statsListener_=new Yre(e);const n=t6+(Zre-t6)*Math.random();Dg(this.reportStats_.bind(this),Math.floor(n))}reportStats_(){const e=this.statsListener_.get(),r={};let n=!1;Ts(e,(i,a)=>{a>0&&pc(this.statsToReport_,i)&&(r[i]=a,n=!0)}),n&&this.server_.reportStats(r),Dg(this.reportStats_.bind(this),Math.floor(Math.random()*2*$re))}}/** 2366 * @license 2367 * Copyright 2017 Google LLC 2368 * 2369 * Licensed under the Apache License, Version 2.0 (the "License"); 2370 * you may not use this file except in compliance with the License. 2371 * You may obtain a copy of the License at 2372 * 2373 * http://www.apache.org/licenses/LICENSE-2.0 2374 * 2375 * Unless required by applicable law or agreed to in writing, software 2376 * distributed under the License is distributed on an "AS IS" BASIS, 2377 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2378 * See the License for the specific language governing permissions and 2379 * limitations under the License. 2380 */var yl;(function(t){t[t.OVERWRITE=0]="OVERWRITE",t[t.MERGE=1]="MERGE",t[t.ACK_USER_WRITE=2]="ACK_USER_WRITE",t[t.LISTEN_COMPLETE=3]="LISTEN_COMPLETE"})(yl||(yl={}));function Q7(){return{fromUser:!0,fromServer:!1,queryId:null,tagged:!1}}function d3(){return{fromUser:!1,fromServer:!0,queryId:null,tagged:!1}}function h3(t){return{fromUser:!1,fromServer:!0,queryId:t,tagged:!0}}/** 2381 * @license 2382 * Copyright 2017 Google LLC 2383 * 2384 * Licensed under the Apache License, Version 2.0 (the "License"); 2385 * you may not use this file except in compliance with the License. 2386 * You may obtain a copy of the License at 2387 * 2388 * http://www.apache.org/licenses/LICENSE-2.0 2389 * 2390 * Unless required by applicable law or agreed to in writing, software 2391 * distributed under the License is distributed on an "AS IS" BASIS, 2392 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2393 * See the License for the specific language governing permissions and 2394 * limitations under the License. 2395 */class lb{constructor(e,r,n){this.path=e,this.affectedTree=r,this.revert=n,this.type=yl.ACK_USER_WRITE,this.source=Q7()}operationForChild(e){if(mr(this.path)){if(this.affectedTree.value!=null)return ht(this.affectedTree.children.isEmpty(),"affectedTree should not have overlapping affected paths."),this;{const r=this.affectedTree.subtree(new hn(e));return new lb(Lr(),r,this.revert)}}else return ht(Er(this.path)===e,"operationForChild called for unrelated child."),new lb(wn(this.path),this.affectedTree,this.revert)}}/** 2396 * @license 2397 * Copyright 2017 Google LLC 2398 * 2399 * Licensed under the Apache License, Version 2.0 (the "License");
2400 * you may not use this file except in compliance with the License. 2401 * You may obtain a copy of the License at 2402 * 2403 * http://www.apache.org/licenses/LICENSE-2.0 2404 * 2405 * Unless required by applicable law or agreed to in writing, software 2406 * distributed under the License is distributed on an "AS IS" BASIS, 2407 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2408 * See the License for the specific language governing permissions and 2409 * limitations under the License. 2410 */class Hv{constructor(e,r){this.source=e,this.path=r,this.type=yl.LISTEN_COMPLETE}operationForChild(e){return mr(this.path)?new Hv(this.source,Lr()):new Hv(this.source,wn(this.path))}}/** 2411 * @license 2412 * Copyright 2017 Google LLC 2413 * 2414 * Licensed under the Apache License, Version 2.0 (the "License"); 2415 * you may not use this file except in compliance with the License. 2416 * You may obtain a copy of the License at 2417 * 2418 * http://www.apache.org/licenses/LICENSE-2.0 2419 * 2420 * Unless required by applicable law or agreed to in writing, software 2421 * distributed under the License is distributed on an "AS IS" BASIS, 2422 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2423 * See the License for the specific language governing permissions and 2424 * limitations under the License. 2425 */class wh{constructor(e,r,n){this.source=e,this.path=r,this.snap=n,this.type=yl.OVERWRITE}operationForChild(e){return mr(this.path)?new wh(this.source,Lr(),this.snap.getImmediateChild(e)):new wh(this.source,wn(this.path),this.snap)}}/** 2426 * @license 2427 * Copyright 2017 Google LLC 2428 * 2429 * Licensed under the Apache License, Version 2.0 (the "License"); 2430 * you may not use this file except in compliance with the License. 2431 * You may obtain a copy of the License at 2432 * 2433 * http://www.apache.org/licenses/LICENSE-2.0 2434 * 2435 * Unless required by applicable law or agreed to in writing, software 2436 * distributed under the License is distributed on an "AS IS" BASIS, 2437 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2438 * See the License for the specific language governing permissions and 2439 * limitations under the License. 2440 */class zv{constructor(e,r,n){this.source=e,this.path=r,this.children=n,this.type=yl.MERGE}operationForChild(e){if(mr(this.path)){const r=this.children.subtree(new hn(e));return r.isEmpty()?null:r.value?new wh(this.source,Lr(),r.value):new zv(this.source,Lr(),r)}else return ht(Er(this.path)===e,"Can't get a merge for a child not on the path of the operation"),new zv(this.source,wn(this.path),this.children)}toString(){return"Operation("+this.path+": "+this.source.toString()+" merge: "+this.children.toString()+")"}}/** 2441 * @license 2442 * Copyright 2017 Google LLC 2443 * 2444 * Licensed under the Apache License, Version 2.0 (the "License"); 2445 * you may not use this file except in compliance with the License. 2446 * You may obtain a copy of the License at 2447 * 2448 * http://www.apache.org/licenses/LICENSE-2.0 2449 * 2450 * Unless required by applicable law or agreed to in writing, software 2451 * distributed under the License is distributed on an "AS IS" BASIS, 2452 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2453 * See the License for the specific language governing permissions and 2454 * limitations under the License. 2455 */class Gu{constructor(e,r,n){this.node_=e,this.fullyInitialized_=r,this.filtered_=n}isFullyInitialized(){return this.fullyInitialized_}isFiltered(){return this.filtered_}isCompleteForPath(e){if(mr(e))return this.isFullyInitialized()&&!this.filtered_;const r=Er(e);return this.isCompleteForChild(r)}isCompleteForChild(e){return this.isFullyInitialized()&&!this.filtered_||this.node_.hasChild(e)}getNode(){return this.node_}}/** 2456 * @license 2457 * Copyright 2017 Google LLC 2458 * 2459 * Licensed under the Apache License, Version 2.0 (the "License"); 2460 * you may not use this file except in compliance with the License. 2461 * You may obtain a copy of the License at 2462 * 2463 * http://www.apache.org/licenses/LICENSE-2.0 2464 * 2465 * Unless required by applicable law or agreed to in writing, software 2466 * distributed under the License is distributed on an "AS IS" BASIS, 2467 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2468 * See the License for the specific language governing permissions and 2469 * limitations under the License. 2470 */class tne{constructor(e){this.query_=e,this.index_=this.query_._queryParams.getIndex()}}function rne(t,e,r,n){const i=[],a=[];return e.forEach(s=>{s.type==="child_changed"&&t.index_.indexedValueChanged(s.oldSnap,s.snapshotNode)&&a.push(zre(s.childName,s.snapshotNode))}),Om(t,i,"child_removed",e,n,r),Om(t,i,"child_added",e,n,r),Om(t,i,"child_moved",a,n,r),Om(t,i,"child_changed",e,n,r),Om(t,i,"value",e,n,r),i}
2470function Om(t,e,r,n,i,a){const s=n.filter(o=>o.type===r);s.sort((o,c)=>ine(t,o,c)),s.forEach(o=>{const c=nne(t,o,a);i.forEach(A=>{A.respondsTo(o.type)&&e.push(A.createEvent(c,t.query_))})})}function nne(t,e,r){return e.type==="value"||e.type==="child_removed"||(e.prevName=r.getPredecessorChildName(e.childName,e.snapshotNode,t.index_)),e}function ine(t,e,r){if(e.childName==null||r.childName==null)throw Cp("Should only compare child_ events.");const n=new gr(e.childName,e.snapshotNode),i=new gr(r.childName,r.snapshotNode);return t.index_.compare(n,i)}/** 2471 * @license 2472 * Copyright 2017 Google LLC 2473 * 2474 * Licensed under the Apache License, Version 2.0 (the "License"); 2475 * you may not use this file except in compliance with the License. 2476 * You may obtain a copy of the License at 2477 * 2478 * http://www.apache.org/licenses/LICENSE-2.0 2479 * 2480 * Unless required by applicable law or agreed to in writing, software 2481 * distributed under the License is distributed on an "AS IS" BASIS, 2482 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2483 * See the License for the specific language governing permissions and 2484 * limitations under the License. 2485 */function OC(t,e){return{eventCache:t,serverCache:e}}function Og(t,e,r,n){return OC(new Gu(e,r,n),t.serverCache)}function H7(t,e,r,n){return OC(t.eventCache,new Gu(e,r,n))}function cb(t){return t.eventCache.isFullyInitialized()?t.eventCache.getNode():null}function bh(t){return t.serverCache.isFullyInitialized()?t.serverCache.getNode():null}/** 2486 * @license 2487 * Copyright 2017 Google LLC 2488 * 2489 * Licensed under the Apache License, Version 2.0 (the "License"); 2490 * you may not use this file except in compliance with the License. 2491 * You may obtain a copy of the License at 2492 * 2493 * http://www.apache.org/licenses/LICENSE-2.0 2494 * 2495 * Unless required by applicable law or agreed to in writing, software 2496 * distributed under the License is distributed on an "AS IS" BASIS, 2497 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2498 * See the License for the specific language governing permissions and 2499 * limitations under the License. 2500 */let wE;const ane=()=>(wE||(wE=new bs(zte)),wE);class _n{constructor(e,r=ane()){this.value=e,this.children=r}static fromObject(e){let r=new _n(null);return Ts(e,(n,i)=>{r=r.set(new hn(n),i)}),r}isEmpty(){return this.value===null&&this.children.isEmpty()}findRootMostMatchingPathAndValue(e,r){if(this.value!=null&&r(this.value))return{path:Lr(),value:this.value};if(mr(e))return null;{const n=Er(e),i=this.children.get(n);if(i!==null){const a=i.findRootMostMatchingPathAndValue(wn(e),r);return a!=null?{path:Ri(new hn(n),a.path),value:a.value}:null}else return null}}findRootMostValueAndPath(e){return this.findRootMostMatchingPathAndValue(e,()=>!0)}subtree(e){if(mr(e))return this;{const r=Er(e),n=this.children.get(r);return n!==null?n.subtree(wn(e)):new _n(null)}}set(e,r){if(mr(e))return new _n(r,this.children);{const n=Er(e),a=(this.children.get(n)||new _n(null)).set(wn(e),r),s=this.children.insert(n,a);return new _n(this.value,s)}}remove(e){if(mr(e))return this.children.isEmpty()?new _n(null):new _n(null,this.children);{const r=Er(e),n=this.children.get(r);if(n){const i=n.remove(wn(e));let a;return i.isEmpty()?a=this.children.remove(r):a=this.children.insert(r,i),this.value===null&&a.isEmpty()?new _n(null):new _n(this.value,a)}else return this}}get(e){if(mr(e))return this.value;{const r=Er(e),n=this.children.get(r);return n?n.get(wn(e)):null}}setTree(e,r){if(mr(e))return r;{const n=Er(e),a=(this.children.get(n)||new _n(null)).setTree(wn(e),r);let s;return a.isEmpty()?s=this.children.remove(n):s=this.children.insert(n,a),new _n(this.value,s)}}fold(e){return this.fold_(Lr(),e)}fold_(e,r){const n={};return this.children.inorderTraversal((i,a)=>{n[i]=a.fold_(Ri(e,i),r)}),r(e,this.value,n)}findOnPath(e,r){return this.findOnPath_(e,Lr(),r)}findOnPath_(e,r,n){const i=this.value?n(r,this.value):!1;if(i)return i;if(mr(e))return null;{const a=Er(e),s=this.children.get(a);return s?s.findOnPath_(wn(e),Ri(r,a),n):null}}foreachOnPath(e,r){return this.foreachOnPath_(e,Lr(),r)}foreachOnPath_(e,r,n){if(mr(e))return this;{this.value&&n(r,this.value);const i=Er(e),a=this.children.get(i);return a?a.foreachOnPath_(wn(e),Ri(r,i),n):new _n(null)}}foreach(e){this.foreach_(Lr(),e)}foreach_(e,r){this.children.inorderTraversal((n,i)=>{i.foreach_(Ri(e,n),r)}),this.value&&r(e,this.value)}foreachChild(e){this.children.inorderTraversal((r,n)=>{n.value&&e(r,n.value)})}}/** 2501 * @license 2502 * Copyright 2017 Google LLC 2503 * 2504 * Licensed under the Apache License, Version 2.0 (the "License");
2505 * you may not use this file except in compliance with the License. 2506 * You may obtain a copy of the License at 2507 * 2508 * http://www.apache.org/licenses/LICENSE-2.0 2509 * 2510 * Unless required by applicable law or agreed to in writing, software 2511 * distributed under the License is distributed on an "AS IS" BASIS, 2512 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2513 * See the License for the specific language governing permissions and 2514 * limitations under the License. 2515 */class Nl{constructor(e){this.writeTree_=e}static empty(){return new Nl(new _n(null))}}function Rg(t,e,r){if(mr(e))return new Nl(new _n(r));{const n=t.writeTree_.findRootMostValueAndPath(e);if(n!=null){const i=n.path;let a=n.value;const s=ts(i,e);return a=a.updateChild(s,r),new Nl(t.writeTree_.set(i,a))}else{const i=new _n(r),a=t.writeTree_.setTree(e,i);return new Nl(a)}}}function r6(t,e,r){let n=t;return Ts(r,(i,a)=>{n=Rg(n,Ri(e,i),a)}),n}function n6(t,e){if(mr(e))return Nl.empty();{const r=t.writeTree_.setTree(e,new _n(null));return new Nl(r)}}function aS(t,e){return Mh(t,e)!=null}function Mh(t,e){const r=t.writeTree_.findRootMostValueAndPath(e);return r!=null?t.writeTree_.get(r.path).getChild(ts(r.path,e)):null}function i6(t){const e=[],r=t.writeTree_.value;return r!=null?r.isLeafNode()||r.forEachChild(zn,(n,i)=>{e.push(new gr(n,i))}):t.writeTree_.children.inorderTraversal((n,i)=>{i.value!=null&&e.push(new gr(n,i.value))}),e}function Du(t,e){if(mr(e))return t;{const r=Mh(t,e);return r!=null?new Nl(new _n(r)):new Nl(t.writeTree_.subtree(e))}}function sS(t){return t.writeTree_.isEmpty()}function Ap(t,e){return z7(Lr(),t.writeTree_,e)}function z7(t,e,r){if(e.value!=null)return r.updateChild(t,e.value);{let n=null;return e.children.inorderTraversal((i,a)=>{i===".priority"?(ht(a.value!==null,"Priority writes must always be leaf nodes"),n=a.value):r=z7(Ri(t,i),a,r)}),!r.getChild(t).isEmpty()&&n!==null&&(r=r.updateChild(Ri(t,".priority"),n)),r}}/** 2516 * @license 2517 * Copyright 2017 Google LLC 2518 * 2519 * Licensed under the Apache License, Version 2.0 (the "License"); 2520 * you may not use this file except in compliance with the License. 2521 * You may obtain a copy of the License at 2522 * 2523 * http://www.apache.org/licenses/LICENSE-2.0 2524 * 2525 * Unless required by applicable law or agreed to in writing, software 2526 * distributed under the License is distributed on an "AS IS" BASIS, 2527 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2528 * See the License for the specific language governing permissions and 2529 * limitations under the License. 2530 */function RC(t,e){return q7(e,t)}function sne(t,e,r,n,i){ht(n>t.lastWriteId,"Stacking an older write on top of newer ones"),i===void 0&&(i=!0),t.allWrites.push({path:e,snap:r,writeId:n,visible:i}),i&&(t.visibleWrites=Rg(t.visibleWrites,e,r)),t.lastWriteId=n}function one(t,e){for(let r=0;r<t.allWrites.length;r++){const n=t.allWrites[r];if(n.writeId===e)return n}return null}function lne(t,e){const r=t.allWrites.findIndex(o=>o.writeId===e);ht(r>=0,"removeWrite called with nonexistent writeId.");const n=t.allWrites[r];t.allWrites.splice(r,1);let i=n.visible,a=!1,s=t.allWrites.length-1;for(;i&&s>=0;){const o=t.allWrites[s];o.visible&&(s>=r&&cne(o,n.path)?i=!1:xl(n.path,o.path)&&(a=!0)),s--}if(i){if(a)return Ane(t),!0;if(n.snap)t.visibleWrites=n6(t.visibleWrites,n.path);else{const o=n.children;Ts(o,c=>{t.visibleWrites=n6(t.visibleWrites,Ri(n.path,c))})}return!0}else return!1}function cne(t,e){if(t.snap)return xl(t.path,e);for(const r in t.children)if(t.children.hasOwnProperty(r)&&xl(Ri(t.path,r),e))return!0;return!1}function Ane(t){t.visibleWrites=V7(t.allWrites,une,Lr()),t.allWrites.length>0?t.lastWriteId=t.allWrites[t.allWrites.length-1].writeId:t.lastWriteId=-1}function une(t){return t.visible}function V7(t,e,r){let n=Nl.empty();for(let i=0;i<t.length;++i){const a=t[i];if(e(a)){const s=a.path;let o;if(a.snap)xl(r,s)?(o=ts(r,s),n=Rg(n,o,a.snap)):xl(s,r)&&(o=ts(s,r),n=Rg(n,Lr(),a.snap.getChild(o)));else if(a.children){if(xl(r,s))o=ts(r,s),n=r6(n,o,a.children);else if(xl(s,r))if(o=ts(s,r),mr(o))n=r6(n,Lr(),a.children);else{const c=sp(a.children,Er(o));if(c){const A=c.getChild(wn(o));n=Rg(n,Lr(),A)}}}else throw Cp("WriteRecord should have .snap or .children")}}return n}function W7(t,e,r,n,i){if(!n&&!i){const a=Mh(t.visibleWrites,e);if(a!=null)return a;{const s=Du(t.visibleWrites,e);if(sS(s))return r;if(r==null&&!aS(s,Lr()))return null;{const o=r||qt.EMPTY_NODE;return Ap(s,o)}}}else{const a=Du(t.visibleWrites,e);if(!i&&sS(a))return r;if(!i&&r==null&&!aS(a,Lr()))return null;{const s=function(A){return(A.visible||i)&&(!n||!~n.indexOf(A.writeId))&&(xl(A.path,e)||xl(e,A.path))},o=V7(t.allWrites,s,e),c=r||qt.EMPTY_NODE;return Ap(o,c)}}}function dne(t,e,r){let n=qt.EMPTY_NODE;const i=Mh(t.visibleWrites,e);
2530if(i)return i.isLeafNode()||i.forEachChild(zn,(a,s)=>{n=n.updateImmediateChild(a,s)}),n;if(r){const a=Du(t.visibleWrites,e);return r.forEachChild(zn,(s,o)=>{const c=Ap(Du(a,new hn(s)),o);n=n.updateImmediateChild(s,c)}),i6(a).forEach(s=>{n=n.updateImmediateChild(s.name,s.node)}),n}else{const a=Du(t.visibleWrites,e);return i6(a).forEach(s=>{n=n.updateImmediateChild(s.name,s.node)}),n}}function hne(t,e,r,n,i){ht(n||i,"Either existingEventSnap or existingServerSnap must exist");const a=Ri(e,r);if(aS(t.visibleWrites,a))return null;{const s=Du(t.visibleWrites,a);return sS(s)?i.getChild(r):Ap(s,i.getChild(r))}}function fne(t,e,r,n){const i=Ri(e,r),a=Mh(t.visibleWrites,i);if(a!=null)return a;if(n.isCompleteForChild(r)){const s=Du(t.visibleWrites,i);return Ap(s,n.getNode().getImmediateChild(r))}else return null}function pne(t,e){return Mh(t.visibleWrites,e)}function mne(t,e,r,n,i,a,s){let o;const c=Du(t.visibleWrites,e),A=Mh(c,Lr());if(A!=null)o=A;else if(r!=null)o=Ap(c,r);else return[];if(o=o.withIndex(s),!o.isEmpty()&&!o.isLeafNode()){const u=[],d=s.getCompare(),f=a?o.getReverseIteratorFrom(n,s):o.getIteratorFrom(n,s);let h=f.getNext();for(;h&&u.length<i;)d(h,n)!==0&&u.push(h),h=f.getNext();return u}else return[]}function gne(){return{visibleWrites:Nl.empty(),allWrites:[],lastWriteId:-1}}function Ab(t,e,r,n){return W7(t.writeTree,t.treePath,e,r,n)}function f3(t,e){return dne(t.writeTree,t.treePath,e)}function a6(t,e,r,n){return hne(t.writeTree,t.treePath,e,r,n)}function ub(t,e){return pne(t.writeTree,Ri(t.treePath,e))}function vne(t,e,r,n,i,a){return mne(t.writeTree,t.treePath,e,r,n,i,a)}function p3(t,e,r){return fne(t.writeTree,t.treePath,e,r)}function K7(t,e){return q7(Ri(t.treePath,e),t.writeTree)}function q7(t,e){return{treePath:t,writeTree:e}}/** 2531 * @license 2532 * Copyright 2017 Google LLC 2533 * 2534 * Licensed under the Apache License, Version 2.0 (the "License"); 2535 * you may not use this file except in compliance with the License. 2536 * You may obtain a copy of the License at 2537 * 2538 * http://www.apache.org/licenses/LICENSE-2.0 2539 * 2540 * Unless required by applicable law or agreed to in writing, software 2541 * distributed under the License is distributed on an "AS IS" BASIS, 2542 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2543 * See the License for the specific language governing permissions and 2544 * limitations under the License. 2545 */class xne{constructor(){this.changeMap=new Map}trackChildChange(e){const r=e.type,n=e.childName;ht(r==="child_added"||r==="child_changed"||r==="child_removed","Only child changes supported for tracking"),ht(n!==".priority","Only non-priority child changes can be tracked.");const i=this.changeMap.get(n);if(i){const a=i.type;if(r==="child_added"&&a==="child_removed")this.changeMap.set(n,Mv(n,e.snapshotNode,i.snapshotNode));else if(r==="child_removed"&&a==="child_added")this.changeMap.delete(n);else if(r==="child_removed"&&a==="child_changed")this.changeMap.set(n,Lv(n,i.oldSnap));else if(r==="child_changed"&&a==="child_added")this.changeMap.set(n,cp(n,e.snapshotNode));else if(r==="child_changed"&&a==="child_changed")this.changeMap.set(n,Mv(n,e.snapshotNode,i.oldSnap));else throw Cp("Illegal combination of changes: "+e+" occurred after "+i)}else this.changeMap.set(n,e)}getChanges(){return Array.from(this.changeMap.values())}}/** 2546 * @license 2547 * Copyright 2017 Google LLC 2548 * 2549 * Licensed under the Apache License, Version 2.0 (the "License"); 2550 * you may not use this file except in compliance with the License. 2551 * You may obtain a copy of the License at 2552 * 2553 * http://www.apache.org/licenses/LICENSE-2.0 2554 * 2555 * Unless required by applicable law or agreed to in writing, software 2556 * distributed under the License is distributed on an "AS IS" BASIS, 2557 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2558 * See the License for the specific language governing permissions and 2559 * limitations under the License. 2560 */class yne{getCompleteChild(e){return null}getChildAfterChild(e,r,n){return null}}const G7=new yne;class m3{constructor(e,r,n=null){this.writes_=e,this.viewCache_=r,this.optCompleteServerCache_=n}getCompleteChild(e){const r=this.viewCache_.eventCache;if(r.isCompleteForChild(e))return r.getNode().getImmediateChild(e);{const n=this.optCompleteServerCache_!=null?new Gu(this.optCompleteServerCache_,!0,!1):this.viewCache_.serverCache;return p3(this.writes_,e,n)}}getChildAfterChild(e,r,n){const i=this.optCompleteServerCache_!=null?this.optCompleteServerCache_:bh(this.viewCache_),a=vne(this.writes_,i,r,1,n,e);return a.length===0?null:a[0]}}/** 2561 * @license 2562 * Copyright 2017 Google LLC 2563 * 2564 * Licensed under the Apache License, Version 2.0 (the "License");
2565 * you may not use this file except in compliance with the License. 2566 * You may obtain a copy of the License at 2567 * 2568 * http://www.apache.org/licenses/LICENSE-2.0 2569 * 2570 * Unless required by applicable law or agreed to in writing, software 2571 * distributed under the License is distributed on an "AS IS" BASIS, 2572 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2573 * See the License for the specific language governing permissions and 2574 * limitations under the License. 2575 */function wne(t){return{filter:t}}function bne(t,e){ht(e.eventCache.getNode().isIndexed(t.filter.getIndex()),"Event snap not indexed"),ht(e.serverCache.getNode().isIndexed(t.filter.getIndex()),"Server snap not indexed")}function Cne(t,e,r,n,i){const a=new xne;let s,o;if(r.type===yl.OVERWRITE){const A=r;A.source.fromUser?s=oS(t,e,A.path,A.snap,n,i,a):(ht(A.source.fromServer,"Unknown source."),o=A.source.tagged||e.serverCache.isFiltered()&&!mr(A.path),s=db(t,e,A.path,A.snap,n,i,o,a))}else if(r.type===yl.MERGE){const A=r;A.source.fromUser?s=Ene(t,e,A.path,A.children,n,i,a):(ht(A.source.fromServer,"Unknown source."),o=A.source.tagged||e.serverCache.isFiltered(),s=lS(t,e,A.path,A.children,n,i,o,a))}else if(r.type===yl.ACK_USER_WRITE){const A=r;A.revert?s=_ne(t,e,A.path,n,i,a):s=Nne(t,e,A.path,A.affectedTree,n,i,a)}else if(r.type===yl.LISTEN_COMPLETE)s=Sne(t,e,r.path,n,a);else throw Cp("Unknown operation type: "+r.type);const c=a.getChanges();return Bne(e,s,c),{viewCache:s,changes:c}}function Bne(t,e,r){const n=e.eventCache;if(n.isFullyInitialized()){const i=n.getNode().isLeafNode()||n.getNode().isEmpty(),a=cb(t);(r.length>0||!t.eventCache.isFullyInitialized()||i&&!n.getNode().equals(a)||!n.getNode().getPriority().equals(a.getPriority()))&&r.push(L7(cb(e)))}}function J7(t,e,r,n,i,a){const s=e.eventCache;if(ub(n,r)!=null)return e;{let o,c;if(mr(r))if(ht(e.serverCache.isFullyInitialized(),"If change path is empty, we must have complete server data"),e.serverCache.isFiltered()){const A=bh(e),u=A instanceof qt?A:qt.EMPTY_NODE,d=f3(n,u);o=t.filter.updateFullNode(e.eventCache.getNode(),d,a)}else{const A=Ab(n,bh(e));o=t.filter.updateFullNode(e.eventCache.getNode(),A,a)}else{const A=Er(r);if(A===".priority"){ht(qu(r)===1,"Can't have a priority with additional path components");const u=s.getNode();c=e.serverCache.getNode();const d=a6(n,r,u,c);d!=null?o=t.filter.updatePriority(u,d):o=s.getNode()}else{const u=wn(r);let d;if(s.isCompleteForChild(A)){c=e.serverCache.getNode();const f=a6(n,r,s.getNode(),c);f!=null?d=s.getNode().getImmediateChild(A).updateChild(u,f):d=s.getNode().getImmediateChild(A)}else d=p3(n,A,e.serverCache);d!=null?o=t.filter.updateChild(s.getNode(),A,d,u,i,a):o=s.getNode()}}return Og(e,o,s.isFullyInitialized()||mr(r),t.filter.filtersNodes())}}function db(t,e,r,n,i,a,s,o){const c=e.serverCache;let A;const u=s?t.filter:t.filter.getIndexedFilter();if(mr(r))A=u.updateFullNode(c.getNode(),n,null);else if(u.filtersNodes()&&!c.isFiltered()){const h=c.getNode().updateChild(r,n);A=u.updateFullNode(c.getNode(),h,null)}else{const h=Er(r);if(!c.isCompleteForPath(r)&&qu(r)>1)return e;const m=wn(r),x=c.getNode().getImmediateChild(h).updateChild(m,n);h===".priority"?A=u.updatePriority(c.getNode(),x):A=u.updateChild(c.getNode(),h,x,m,G7,null)}const d=H7(e,A,c.isFullyInitialized()||mr(r),u.filtersNodes()),f=new m3(i,d,a);return J7(t,d,r,i,f,o)}function oS(t,e,r,n,i,a,s){const o=e.eventCache;let c,A;const u=new m3(i,e,a);if(mr(r))A=t.filter.updateFullNode(e.eventCache.getNode(),n,s),c=Og(e,A,!0,t.filter.filtersNodes());else{const d=Er(r);if(d===".priority")A=t.filter.updatePriority(e.eventCache.getNode(),n),c=Og(e,A,o.isFullyInitialized(),o.isFiltered());else{const f=wn(r),h=o.getNode().getImmediateChild(d);let m;if(mr(f))m=n;else{const p=u.getCompleteChild(d);p!=null?_7(f)===".priority"&&p.getChild(T7(f)).isEmpty()?m=p:m=p.updateChild(f,n):m=qt.EMPTY_NODE}if(h.equals(m))c=e;else{const p=t.filter.updateChild(o.getNode(),d,m,f,u,s);c=Og(e,p,o.isFullyInitialized(),t.filter.filtersNodes())}}}return c}function s6(t,e){return t.eventCache.isCompleteForChild(e)}function Ene(t,e,r,n,i,a,s){let o=e;return n.foreach((c,A)=>{const u=Ri(r,c);s6(e,Er(u))&&(o=oS(t,o,u,A,i,a,s))}),n.foreach((c,A)=>{const u=Ri(r,c);s6(e,Er(u))||(o=oS(t,o,u,A,i,a,s))}),o}function o6(t,e,r){return r.foreach((n,i)=>{e=e.updateChild(n,i)}),e}function lS(t,e,r,n,i,a,s,o){if(e.serverCache.getNode().isEmpty()&&!e.serverCache.isFullyInitialized())return e;let c=e,A;mr(r)?A=n:A=new _n(null).setTree(r,n);const u=e.serverCache.getNode();return A.children.inorderTraversal((d,f)=>{if(u.hasChild(d)){const h=e.serverCache.getNode().getImmediateChild(d),m=o6(t,h,f);c=db(t,c,new hn(d),m,i,a,s,o)}}),A.children.inorderTraversal((d,f)=>{const h=!e.serverCache.isCompleteForChild(d)&&f.value===null;if(!u.hasChild(d)&&!h){const m=e.serverCache.getNode().getImmediateChild(d),p=o6(t,m,f);c=db(t,c,new hn(d),p,i,a,s,o)}}),c}
vendor: 4,351 bytes, lines 2575-2594
2575function Nne(t,e,r,n,i,a,s){if(ub(i,r)!=null)return e;const o=e.serverCache.isFiltered(),c=e.serverCache;if(n.value!=null){if(mr(r)&&c.isFullyInitialized()||c.isCompleteForPath(r))return db(t,e,r,c.getNode().getChild(r),i,a,o,s);if(mr(r)){let A=new _n(null);return c.getNode().forEachChild(sh,(u,d)=>{A=A.set(new hn(u),d)}),lS(t,e,r,A,i,a,o,s)}else return e}else{let A=new _n(null);return n.foreach((u,d)=>{const f=Ri(r,u);c.isCompleteForPath(f)&&(A=A.set(u,c.getNode().getChild(f)))}),lS(t,e,r,A,i,a,o,s)}}function Sne(t,e,r,n,i){const a=e.serverCache,s=H7(e,a.getNode(),a.isFullyInitialized()||mr(r),a.isFiltered());return J7(t,s,r,n,G7,i)}function _ne(t,e,r,n,i,a){let s;if(ub(n,r)!=null)return e;{const o=new m3(n,e,i),c=e.eventCache.getNode();let A;if(mr(r)||Er(r)===".priority"){let u;if(e.serverCache.isFullyInitialized())u=Ab(n,bh(e));else{const d=e.serverCache.getNode();ht(d instanceof qt,"serverChildren would be complete if leaf node"),u=f3(n,d)}u=u,A=t.filter.updateFullNode(c,u,a)}else{const u=Er(r);let d=p3(n,u,e.serverCache);d==null&&e.serverCache.isCompleteForChild(u)&&(d=c.getImmediateChild(u)),d!=null?A=t.filter.updateChild(c,u,d,wn(r),o,a):e.eventCache.getNode().hasChild(u)?A=t.filter.updateChild(c,u,qt.EMPTY_NODE,wn(r),o,a):A=c,A.isEmpty()&&e.serverCache.isFullyInitialized()&&(s=Ab(n,bh(e)),s.isLeafNode()&&(A=t.filter.updateFullNode(A,s,a)))}return s=e.serverCache.isFullyInitialized()||ub(n,Lr())!=null,Og(e,A,s,t.filter.filtersNodes())}}/** 2576 * @license 2577 * Copyright 2017 Google LLC 2578 * 2579 * Licensed under the Apache License, Version 2.0 (the "License"); 2580 * you may not use this file except in compliance with the License. 2581 * You may obtain a copy of the License at 2582 * 2583 * http://www.apache.org/licenses/LICENSE-2.0 2584 * 2585 * Unless required by applicable law or agreed to in writing, software 2586 * distributed under the License is distributed on an "AS IS" BASIS, 2587 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2588 * See the License for the specific language governing permissions and 2589 * limitations under the License. 2590 */class Fne{constructor(e,r){this.query_=e,this.eventRegistrations_=[];const n=this.query_._queryParams,i=new A3(n.getIndex()),a=Wre(n);this.processor_=wne(a);const s=r.serverCache,o=r.eventCache,c=i.updateFullNode(qt.EMPTY_NODE,s.getNode(),null),A=a.updateFullNode(qt.EMPTY_NODE,o.getNode(),null),u=new Gu(c,s.isFullyInitialized(),i.filtersNodes()),d=new Gu(A,o.isFullyInitialized(),a.filtersNodes());this.viewCache_=OC(d,u),this.eventGenerator_=new tne(this.query_)}get query(){return this.query_}}function Tne(t){return t.viewCache_.serverCache.getNode()}function jne(t){return cb(t.viewCache_)}function Ine(t,e){const r=bh(t.viewCache_);return r&&(t.query._queryParams.loadsAllData()||!mr(e)&&!r.getImmediateChild(Er(e)).isEmpty())?r.getChild(e):null}function l6(t){return t.eventRegistrations_.length===0}function kne(t,e){t.eventRegistrations_.push(e)}function c6(t,e,r){const n=[];if(r){ht(e==null,"A cancel should cancel all event registrations.");const i=t.query._path;t.eventRegistrations_.forEach(a=>{const s=a.createCancelEvent(r,i);s&&n.push(s)})}if(e){let i=[];for(let a=0;a<t.eventRegistrations_.length;++a){const s=t.eventRegistrations_[a];if(!s.matches(e))i.push(s);else if(e.hasAnyCallback()){i=i.concat(t.eventRegistrations_.slice(a+1));break}}t.eventRegistrations_=i}else t.eventRegistrations_=[];return n}function A6(t,e,r,n){e.type===yl.MERGE&&e.source.queryId!==null&&(ht(bh(t.viewCache_),"We should always have a full cache before handling merges"),ht(cb(t.viewCache_),"Missing event cache, even though we have a server cache"));const i=t.viewCache_,a=Cne(t.processor_,i,e,r,n);return bne(t.processor_,a.viewCache),ht(a.viewCache.serverCache.isFullyInitialized()||!i.serverCache.isFullyInitialized(),"Once a server snap is complete, it should never go back"),t.viewCache_=a.viewCache,X7(t,a.changes,a.viewCache.eventCache.getNode(),null)}function Pne(t,e){const r=t.viewCache_.eventCache,n=[];return r.getNode().isLeafNode()||r.getNode().forEachChild(zn,(a,s)=>{n.push(cp(a,s))}),r.isFullyInitialized()&&n.push(L7(r.getNode())),X7(t,n,r.getNode(),e)}function X7(t,e,r,n){const i=n?[n]:t.eventRegistrations_;return rne(t.eventGenerator_,e,r,i)}/** 2591 * @license 2592 * Copyright 2017 Google LLC 2593 * 2594 * Licensed under the Apache License, Version 2.0 (the "License");
2595 * you may not use this file except in compliance with the License. 2596 * You may obtain a copy of the License at 2597 * 2598 * http://www.apache.org/licenses/LICENSE-2.0 2599 * 2600 * Unless required by applicable law or agreed to in writing, software 2601 * distributed under the License is distributed on an "AS IS" BASIS, 2602 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2603 * See the License for the specific language governing permissions and 2604 * limitations under the License. 2605 */let hb;class Y7{constructor(){this.views=new Map}}function Dne(t){ht(!hb,"__referenceConstructor has already been defined"),hb=t}function One(){return ht(hb,"Reference.ts has not been loaded"),hb}function Rne(t){return t.views.size===0}function g3(t,e,r,n){const i=e.source.queryId;if(i!==null){const a=t.views.get(i);return ht(a!=null,"SyncTree gave us an op for an invalid query."),A6(a,e,r,n)}else{let a=[];for(const s of t.views.values())a=a.concat(A6(s,e,r,n));return a}}function Z7(t,e,r,n,i){const a=e._queryIdentifier,s=t.views.get(a);if(!s){let o=Ab(r,i?n:null),c=!1;o?c=!0:n instanceof qt?(o=f3(r,n),c=!1):(o=qt.EMPTY_NODE,c=!1);const A=OC(new Gu(o,c,!1),new Gu(n,i,!1));return new Fne(e,A)}return s}function Une(t,e,r,n,i,a){const s=Z7(t,e,n,i,a);return t.views.has(e._queryIdentifier)||t.views.set(e._queryIdentifier,s),kne(s,r),Pne(s,r)}function Lne(t,e,r,n){const i=e._queryIdentifier,a=[];let s=[];const o=Ju(t);if(i==="default")for(const[c,A]of t.views.entries())s=s.concat(c6(A,r,n)),l6(A)&&(t.views.delete(c),A.query._queryParams.loadsAllData()||a.push(A.query));else{const c=t.views.get(i);c&&(s=s.concat(c6(c,r,n)),l6(c)&&(t.views.delete(i),c.query._queryParams.loadsAllData()||a.push(c.query)))}return o&&!Ju(t)&&a.push(new(One())(e._repo,e._path)),{removed:a,events:s}}function $7(t){const e=[];for(const r of t.views.values())r.query._queryParams.loadsAllData()||e.push(r);return e}function Ou(t,e){let r=null;for(const n of t.views.values())r=r||Ine(n,e);return r}function eQ(t,e){if(e._queryParams.loadsAllData())return UC(t);{const n=e._queryIdentifier;return t.views.get(n)}}function tQ(t,e){return eQ(t,e)!=null}function Ju(t){return UC(t)!=null}function UC(t){for(const e of t.views.values())if(e.query._queryParams.loadsAllData())return e;return null}/** 2606 * @license 2607 * Copyright 2017 Google LLC 2608 * 2609 * Licensed under the Apache License, Version 2.0 (the "License"); 2610 * you may not use this file except in compliance with the License. 2611 * You may obtain a copy of the License at 2612 * 2613 * http://www.apache.org/licenses/LICENSE-2.0 2614 * 2615 * Unless required by applicable law or agreed to in writing, software 2616 * distributed under the License is distributed on an "AS IS" BASIS, 2617 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2618 * See the License for the specific language governing permissions and 2619 * limitations under the License. 2620 */let fb;function Mne(t){ht(!fb,"__referenceConstructor has already been defined"),fb=t}function Qne(){return ht(fb,"Reference.ts has not been loaded"),fb}let Hne=1;class u6{constructor(e){this.listenProvider_=e,this.syncPointTree_=new _n(null),this.pendingWriteTree_=gne(),this.tagToQueryMap=new Map,this.queryToTagMap=new Map}}function rQ(t,e,r,n,i){return sne(t.pendingWriteTree_,e,r,n,i),i?O1(t,new wh(Q7(),e,r)):[]}function Yd(t,e,r=!1){const n=one(t.pendingWriteTree_,e);if(lne(t.pendingWriteTree_,e)){let a=new _n(null);return n.snap!=null?a=a.set(Lr(),!0):Ts(n.children,s=>{a=a.set(new hn(s),!0)}),O1(t,new lb(n.path,a,r))}else return[]}function D1(t,e,r){return O1(t,new wh(d3(),e,r))}function zne(t,e,r){const n=_n.fromObject(r);return O1(t,new zv(d3(),e,n))}function Vne(t,e){return O1(t,new Hv(d3(),e))}function Wne(t,e,r){const n=x3(t,r);if(n){const i=y3(n),a=i.path,s=i.queryId,o=ts(a,e),c=new Hv(h3(s),o);return w3(t,a,c)}else return[]}function nQ(t,e,r,n,i=!1){const a=e._path,s=t.syncPointTree_.get(a);let o=[];if(s&&(e._queryIdentifier==="default"||tQ(s,e))){const c=Lne(s,e,r,n);Rne(s)&&(t.syncPointTree_=t.syncPointTree_.remove(a));const A=c.removed;if(o=c.events,!i){const u=A.findIndex(f=>f._queryParams.loadsAllData())!==-1,d=t.syncPointTree_.findOnPath(a,(f,h)=>Ju(h));if(u&&!d){const f=t.syncPointTree_.subtree(a);if(!f.isEmpty()){const h=Jne(f);for(let m=0;m<h.length;++m){const p=h[m],x=p.query,v=oQ(t,p);
2620t.listenProvider_.startListening(Ug(x),Vv(t,x),v.hashFn,v.onComplete)}}}!d&&A.length>0&&!n&&(u?t.listenProvider_.stopListening(Ug(e),null):A.forEach(f=>{const h=t.queryToTagMap.get(LC(f));t.listenProvider_.stopListening(Ug(f),h)}))}Xne(t,A)}return o}function iQ(t,e,r,n){const i=x3(t,n);if(i!=null){const a=y3(i),s=a.path,o=a.queryId,c=ts(s,e),A=new wh(h3(o),c,r);return w3(t,s,A)}else return[]}function Kne(t,e,r,n){const i=x3(t,n);if(i){const a=y3(i),s=a.path,o=a.queryId,c=ts(s,e),A=_n.fromObject(r),u=new zv(h3(o),c,A);return w3(t,s,u)}else return[]}function qne(t,e,r,n=!1){const i=e._path;let a=null,s=!1;t.syncPointTree_.foreachOnPath(i,(f,h)=>{const m=ts(f,i);a=a||Ou(h,m),s=s||Ju(h)});let o=t.syncPointTree_.get(i);o?(s=s||Ju(o),a=a||Ou(o,Lr())):(o=new Y7,t.syncPointTree_=t.syncPointTree_.set(i,o));let c;a!=null?c=!0:(c=!1,a=qt.EMPTY_NODE,t.syncPointTree_.subtree(i).foreachChild((h,m)=>{const p=Ou(m,Lr());p&&(a=a.updateImmediateChild(h,p))}));const A=tQ(o,e);if(!A&&!e._queryParams.loadsAllData()){const f=LC(e);ht(!t.queryToTagMap.has(f),"View does not exist, but we have a tag");const h=Yne();t.queryToTagMap.set(f,h),t.tagToQueryMap.set(h,f)}const u=RC(t.pendingWriteTree_,i);let d=Une(o,e,r,u,a,c);if(!A&&!s&&!n){const f=eQ(o,e);d=d.concat(Zne(t,e,f))}return d}function v3(t,e,r){const i=t.pendingWriteTree_,a=t.syncPointTree_.findOnPath(e,(s,o)=>{const c=ts(s,e),A=Ou(o,c);if(A)return A});return W7(i,e,a,r,!0)}function Gne(t,e){const r=e._path;let n=null;t.syncPointTree_.foreachOnPath(r,(A,u)=>{const d=ts(A,r);n=n||Ou(u,d)});let i=t.syncPointTree_.get(r);i?n=n||Ou(i,Lr()):(i=new Y7,t.syncPointTree_=t.syncPointTree_.set(r,i));const a=n!=null,s=a?new Gu(n,!0,!1):null,o=RC(t.pendingWriteTree_,e._path),c=Z7(i,e,o,a?s.getNode():qt.EMPTY_NODE,a);return jne(c)}function O1(t,e){return aQ(e,t.syncPointTree_,null,RC(t.pendingWriteTree_,Lr()))}function aQ(t,e,r,n){if(mr(t.path))return sQ(t,e,r,n);{const i=e.get(Lr());r==null&&i!=null&&(r=Ou(i,Lr()));let a=[];const s=Er(t.path),o=t.operationForChild(s),c=e.children.get(s);if(c&&o){const A=r?r.getImmediateChild(s):null,u=K7(n,s);a=a.concat(aQ(o,c,A,u))}return i&&(a=a.concat(g3(i,t,n,r))),a}}function sQ(t,e,r,n){const i=e.get(Lr());r==null&&i!=null&&(r=Ou(i,Lr()));let a=[];return e.children.inorderTraversal((s,o)=>{const c=r?r.getImmediateChild(s):null,A=K7(n,s),u=t.operationForChild(s);u&&(a=a.concat(sQ(u,o,c,A)))}),i&&(a=a.concat(g3(i,t,n,r))),a}function oQ(t,e){const r=e.query,n=Vv(t,r);return{hashFn:()=>(Tne(e)||qt.EMPTY_NODE).hash(),onComplete:i=>{if(i==="ok")return n?Wne(t,r._path,n):Vne(t,r._path);{const a=Kte(i,r);return nQ(t,r,null,a)}}}}function Vv(t,e){const r=LC(e);return t.queryToTagMap.get(r)}function LC(t){return t._path.toString()+"$"+t._queryIdentifier}function x3(t,e){return t.tagToQueryMap.get(e)}function y3(t){const e=t.indexOf("$");return ht(e!==-1&&e<t.length-1,"Bad queryKey."),{queryId:t.substr(e+1),path:new hn(t.substr(0,e))}}function w3(t,e,r){const n=t.syncPointTree_.get(e);ht(n,"Missing sync point for query tag that we're tracking");const i=RC(t.pendingWriteTree_,e);return g3(n,r,i,null)}function Jne(t){return t.fold((e,r,n)=>{if(r&&Ju(r))return[UC(r)];{let i=[];return r&&(i=$7(r)),Ts(n,(a,s)=>{i=i.concat(s)}),i}})}
2620function Ug(t){return t._queryParams.loadsAllData()&&!t._queryParams.isDefault()?new(Qne())(t._repo,t._path):t}function Xne(t,e){for(let r=0;r<e.length;++r){const n=e[r];if(!n._queryParams.loadsAllData()){const i=LC(n),a=t.queryToTagMap.get(i);t.queryToTagMap.delete(i),t.tagToQueryMap.delete(a)}}}function Yne(){return Hne++}function Zne(t,e,r){const n=e._path,i=Vv(t,e),a=oQ(t,r),s=t.listenProvider_.startListening(Ug(e),i,a.hashFn,a.onComplete),o=t.syncPointTree_.subtree(n);if(i)ht(!Ju(o.value),"If we're adding a query, it shouldn't be shadowed");else{const c=o.fold((A,u,d)=>{if(!mr(A)&&u&&Ju(u))return[UC(u).query];{let f=[];return u&&(f=f.concat($7(u).map(h=>h.query))),Ts(d,(h,m)=>{f=f.concat(m)}),f}});for(let A=0;A<c.length;++A){const u=c[A];t.listenProvider_.stopListening(Ug(u),Vv(t,u))}}return s}/** 2621 * @license 2622 * Copyright 2017 Google LLC 2623 * 2624 * Licensed under the Apache License, Version 2.0 (the "License"); 2625 * you may not use this file except in compliance with the License. 2626 * You may obtain a copy of the License at 2627 * 2628 * http://www.apache.org/licenses/LICENSE-2.0 2629 * 2630 * Unless required by applicable law or agreed to in writing, software 2631 * distributed under the License is distributed on an "AS IS" BASIS, 2632 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2633 * See the License for the specific language governing permissions and 2634 * limitations under the License. 2635 */class b3{constructor(e){this.node_=e}getImmediateChild(e){const r=this.node_.getImmediateChild(e);return new b3(r)}node(){return this.node_}}class C3{constructor(e,r){this.syncTree_=e,this.path_=r}getImmediateChild(e){const r=Ri(this.path_,e);return new C3(this.syncTree_,r)}node(){return v3(this.syncTree_,this.path_)}}const $ne=function(t){return t=t||{},t.timestamp=t.timestamp||new Date().getTime(),t},d6=function(t,e,r){if(!t||typeof t!="object")return t;if(ht(".sv"in t,"Unexpected leaf node or priority contents"),typeof t[".sv"]=="string")return eie(t[".sv"],e,r);if(typeof t[".sv"]=="object")return tie(t[".sv"],e);ht(!1,"Unexpected server value: "+JSON.stringify(t,null,2))},eie=function(t,e,r){switch(t){case"timestamp":return r.timestamp;default:ht(!1,"Unexpected server value: "+t)}},tie=function(t,e,r){t.hasOwnProperty("increment")||ht(!1,"Unexpected server value: "+JSON.stringify(t,null,2));const n=t.increment;typeof n!="number"&&ht(!1,"Unexpected increment value: "+n);const i=e.node();if(ht(i!==null&&typeof i<"u","Expected ChildrenNode.EMPTY_NODE for nulls"),!i.isLeafNode())return n;const s=i.getValue();return typeof s!="number"?n:s+n},rie=function(t,e,r,n){return B3(e,new C3(r,t),n)},lQ=function(t,e,r){return B3(t,new b3(e),r)};function B3(t,e,r){const n=t.getPriority().val(),i=d6(n,e.getImmediateChild(".priority"),r);let a;if(t.isLeafNode()){const s=t,o=d6(s.getValue(),e,r);return o!==s.getValue()||i!==s.getPriority().val()?new Ki(o,Yi(i)):t}else{const s=t;return a=s,i!==s.getPriority().val()&&(a=a.updatePriority(new Ki(i))),s.forEachChild(zn,(o,c)=>{const A=B3(c,e.getImmediateChild(o),r);A!==c&&(a=a.updateImmediateChild(o,A))}),a}}/** 2636 * @license 2637 * Copyright 2017 Google LLC 2638 * 2639 * Licensed under the Apache License, Version 2.0 (the "License"); 2640 * you may not use this file except in compliance with the License. 2641 * You may obtain a copy of the License at 2642 * 2643 * http://www.apache.org/licenses/LICENSE-2.0 2644 * 2645 * Unless required by applicable law or agreed to in writing, software 2646 * distributed under the License is distributed on an "AS IS" BASIS, 2647 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2648 * See the License for the specific language governing permissions and 2649 * limitations under the License. 2650 */class E3{constructor(e="",r=null,n={children:{},childCount:0}){this.name=e,this.parent=r,this.node=n}}function N3(t,e){let r=e instanceof hn?e:new hn(e),n=t,i=Er(r);for(;i!==null;){const a=sp(n.node.children,i)||{children:{},childCount:0};n=new E3(i,n,a),r=wn(r),i=Er(r)}return n}function Fp(t){return t.node.value}function cQ(t,e){t.node.value=e,cS(t)}function AQ(t){return t.node.childCount>0}function nie(t){return Fp(t)===void 0&&!AQ(t)}function MC(t,e){Ts(t.node.children,(r,n)=>{e(new E3(r,t,n))})}function uQ(t,e,r,n){r&&!n&&e(t),MC(t,i=>{uQ(i,e,!0,n)}),r&&n&&e(t)}function iie(t,e,r){let n=t.parent;for(;n!==null;){if(e(n))return!0;n=n.parent}return!1}function R1(t){return new hn(t.parent===null?t.name:R1(t.parent)+"/"+t.name)}function cS(t){t.parent!==null&&aie(t.parent,t.name,t)}function aie(t,e,r){const n=nie(r),i=pc(t.node.children,e);n&&i?(delete t.node.children[e],t.node.childCount--,cS(t)):!n&&!i&&(t.node.children[e]=r.node,t.node.childCount++,cS(t))}/** 2651 * @license 2652 * Copyright 2017 Google LLC 2653 * 2654 * Licensed under the Apache License, Version 2.0 (the "License");
2655 * you may not use this file except in compliance with the License. 2656 * You may obtain a copy of the License at 2657 * 2658 * http://www.apache.org/licenses/LICENSE-2.0 2659 * 2660 * Unless required by applicable law or agreed to in writing, software 2661 * distributed under the License is distributed on an "AS IS" BASIS, 2662 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2663 * See the License for the specific language governing permissions and 2664 * limitations under the License. 2665 */const sie=/[\[\].#$\/\u0000-\u001F\u007F]/,oie=/[\[\].#$\u0000-\u001F\u007F]/,bE=10*1024*1024,dQ=function(t){return typeof t=="string"&&t.length!==0&&!sie.test(t)},hQ=function(t){return typeof t=="string"&&t.length!==0&&!oie.test(t)},lie=function(t){return t&&(t=t.replace(/^\/*\.info(\/|$)/,"/")),hQ(t)},h6=function(t){return t===null||typeof t=="string"||typeof t=="number"&&!r3(t)||t&&typeof t=="object"&&pc(t,".sv")},U1=function(t,e,r,n){n&&e===void 0||S3(zF(t,"value"),e,r)},S3=function(t,e,r){const n=r instanceof hn?new Ere(r,t):r;if(e===void 0)throw new Error(t+"contains undefined "+Od(n));if(typeof e=="function")throw new Error(t+"contains a function "+Od(n)+" with contents = "+e.toString());if(r3(e))throw new Error(t+"contains "+e.toString()+" "+Od(n));if(typeof e=="string"&&e.length>bE/3&&_C(e)>bE)throw new Error(t+"contains a string greater than "+bE+" utf8 bytes "+Od(n)+" ('"+e.substring(0,50)+"...')");if(e&&typeof e=="object"){let i=!1,a=!1;if(Ts(e,(s,o)=>{if(s===".value")i=!0;else if(s!==".priority"&&s!==".sv"&&(a=!0,!dQ(s)))throw new Error(t+" contains an invalid key ("+s+") "+Od(n)+`. Keys must be non-empty strings and can't contain ".", "#", "$", "/", "[", or "]"`);Nre(n,s),S3(t,o,n),Sre(n)}),i&&a)throw new Error(t+' contains ".value" child '+Od(n)+" in addition to actual children.")}},_3=function(t,e,r,n){if(!hQ(r))throw new Error(zF(t,e)+'was an invalid path = "'+r+`". Paths must be non-empty strings and can't contain ".", "#", "$", "[", or "]"`)},cie=function(t,e,r,n){r&&(r=r.replace(/^\/*\.info(\/|$)/,"/")),_3(t,e,r)},F3=function(t,e){if(Er(e)===".info")throw new Error(t+" failed = Can't modify data under /.info/")},Aie=function(t,e){const r=e.path.toString();if(typeof e.repoInfo.host!="string"||e.repoInfo.host.length===0||!dQ(e.repoInfo.namespace)&&e.repoInfo.host.split(":")[0]!=="localhost"||r.length!==0&&!lie(r))throw new Error(zF(t,"url")+`must be a valid firebase URL and the path can't contain ".", "#", "$", "[", or "]".`)};/** 2666 * @license 2667 * Copyright 2017 Google LLC 2668 * 2669 * Licensed under the Apache License, Version 2.0 (the "License"); 2670 * you may not use this file except in compliance with the License. 2671 * You may obtain a copy of the License at 2672 * 2673 * http://www.apache.org/licenses/LICENSE-2.0 2674 * 2675 * Unless required by applicable law or agreed to in writing, software 2676 * distributed under the License is distributed on an "AS IS" BASIS, 2677 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2678 * See the License for the specific language governing permissions and 2679 * limitations under the License. 2680 */class uie{constructor(){this.eventLists_=[],this.recursionDepth_=0}}function fQ(t,e){let r=null;for(let n=0;n<e.length;n++){const i=e[n],a=i.getPath();r!==null&&!j7(a,r.path)&&(t.eventLists_.push(r),r=null),r===null&&(r={events:[],path:a}),r.events.push(i)}r&&t.eventLists_.push(r)}function Ac(t,e,r){fQ(t,r),die(t,n=>xl(n,e)||xl(e,n))}function die(t,e){t.recursionDepth_++;let r=!0;for(let n=0;n<t.eventLists_.length;n++){const i=t.eventLists_[n];if(i){const a=i.path;e(a)?(hie(t.eventLists_[n]),t.eventLists_[n]=null):r=!1}}r&&(t.eventLists_=[]),t.recursionDepth_--}function hie(t){for(let e=0;e<t.events.length;e++){const r=t.events[e];if(r!==null){t.events[e]=null;const n=r.getEventRunner();Pg&&Da("event: "+r.toString()),_p(n)}}}/** 2681 * @license 2682 * Copyright 2017 Google LLC 2683 * 2684 * Licensed under the Apache License, Version 2.0 (the "License"); 2685 * you may not use this file except in compliance with the License. 2686 * You may obtain a copy of the License at 2687 * 2688 * http://www.apache.org/licenses/LICENSE-2.0 2689 * 2690 * Unless required by applicable law or agreed to in writing, softw
2690are 2691 * distributed under the License is distributed on an "AS IS" BASIS, 2692 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2693 * See the License for the specific language governing permissions and 2694 * limitations under the License. 2695 */const fie="repo_interrupt",pie=25;class mie{constructor(e,r,n,i){this.repoInfo_=e,this.forceRestClient_=r,this.authTokenProvider_=n,this.appCheckProvider_=i,this.dataUpdateCount=0,this.statsListener_=null,this.eventQueue_=new uie,this.nextWriteId_=1,this.interceptServerDataCallback_=null,this.onDisconnect_=ob(),this.transactionQueueTree_=new E3,this.persistentConnection_=null,this.key=this.repoInfo_.toURLString()}toString(){return(this.repoInfo_.secure?"https://":"http://")+this.repoInfo_.host}}function gie(t,e,r){if(t.stats_=a3(t.repoInfo_),t.forceRestClient_||Xte())t.server_=new sb(t.repoInfo_,(n,i,a,s)=>{f6(t,n,i,a,s)},t.authTokenProvider_,t.appCheckProvider_),setTimeout(()=>p6(t,!0),0);else{if(typeof r<"u"&&r!==null){if(typeof r!="object")throw new Error("Only objects are supported for option databaseAuthVariableOverride");try{Oi(r)}catch(n){throw new Error("Invalid authOverride provided: "+n)}}t.persistentConnection_=new Gc(t.repoInfo_,e,(n,i,a,s)=>{f6(t,n,i,a,s)},n=>{p6(t,n)},n=>{vie(t,n)},t.authTokenProvider_,t.appCheckProvider_,r),t.server_=t.persistentConnection_}t.authTokenProvider_.addTokenChangeListener(n=>{t.server_.refreshAuthToken(n)}),t.appCheckProvider_.addTokenChangeListener(n=>{t.server_.refreshAppCheckToken(n.token)}),t.statsReporter_=tre(t.repoInfo_,()=>new ene(t.stats_,t.server_)),t.infoData_=new Jre,t.infoSyncTree_=new u6({startListening:(n,i,a,s)=>{let o=[];const c=t.infoData_.getNode(n._path);return c.isEmpty()||(o=D1(t.infoSyncTree_,n._path,c),setTimeout(()=>{s("ok")},0)),o},stopListening:()=>{}}),j3(t,"connected",!1),t.serverSyncTree_=new u6({startListening:(n,i,a,s)=>(t.server_.listen(n,a,i,(o,c)=>{const A=s(o,c);Ac(t.eventQueue_,n._path,A)}),[]),stopListening:(n,i)=>{t.server_.unlisten(n,i)}})}function pQ(t){const r=t.infoData_.getNode(new hn(".info/serverTimeOffset")).val()||0;return new Date().getTime()+r}function T3(t){return $ne({timestamp:pQ(t)})}function f6(t,e,r,n,i){t.dataUpdateCount++;const a=new hn(e);r=t.interceptServerDataCallback_?t.interceptServerDataCallback_(e,r):r;let s=[];if(i)if(n){const c=q2(r,A=>Yi(A));s=Kne(t.serverSyncTree_,a,c,i)}else{const c=Yi(r);s=iQ(t.serverSyncTree_,a,c,i)}else if(n){const c=q2(r,A=>Yi(A));s=zne(t.serverSyncTree_,a,c)}else{const c=Yi(r);s=D1(t.serverSyncTree_,a,c)}let o=a;s.length>0&&(o=HC(t,a)),Ac(t.eventQueue_,o,s)}function p6(t,e){j3(t,"connected",e),e===!1&&wie(t)}function vie(t,e){Ts(e,(r,n)=>{j3(t,r,n)})}function j3(t,e,r){const n=new hn("/.info/"+e),i=Yi(r);t.infoData_.updateSnapshot(n,i);const a=D1(t.infoSyncTree_,n,i);Ac(t.eventQueue_,n,a)}function mQ(t){return t.nextWriteId_++}function xie(t,e,r){const n=Gne(t.serverSyncTree_,e);return n!=null?Promise.resolve(n):t.server_.get(e).then(i=>{const a=Yi(i).withIndex(e._queryParams.getIndex());qne(t.serverSyncTree_,e,r,!0);let s;if(e._queryParams.loadsAllData())s=D1(t.serverSyncTree_,e._path,a);else{const o=Vv(t.serverSyncTree_,e);s=iQ(t.serverSyncTree_,e._path,a,o)}return Ac(t.eventQueue_,e._path,s),nQ(t.serverSyncTree_,e,r,null,!0),a},i=>(QC(t,"get for query "+Oi(e)+" failed: "+i),Promise.reject(new Error(i))))}function yie(t,e,r,n,i){QC(t,"set",{path:e.toString(),value:r,priority:n});const a=T3(t),s=Yi(r,n),o=v3(t.serverSyncTree_,e),c=lQ(s,o,a),A=mQ(t),u=rQ(t.serverSyncTree_,e,c,A,!0);fQ(t.eventQueue_,u),t.server_.put(e.toString(),s.val(!0),(f,h)=>{const m=f==="ok";m||Ss("set at "+e+" failed: "+f);const p=Yd(t.serverSyncTree_,A,!m);Ac(t.eventQueue_,e,p),Cie(t,i,f,h)});const d=wQ(t,e);HC(t,d),Ac(t.eventQueue_,d,[])}function wie(t){QC(t,"onDisconnectEvents");const e=T3(t),r=ob();iS(t.onDisconnect_,Lr(),(i,a)=>{const s=rie(i,a,t.serverSyncTree_,e);M7(r,i,s)});let n=[];iS(r,Lr(),(i,a)=>{n=n.concat(D1(t.serverSyncTree_,i,a));const s=wQ(t,i);HC(t,s)}),t.onDisconnect_=ob(),Ac(t.eventQueue_,Lr(),n)}function bie(t){t.persistentConnection_&&t.persistentConnection_.interrupt(fie)}function QC(t,...e){let r="";t.persistentConnection_&&(r=t.persistentConnection_.id+":"),Da(r,...e)}function Cie(t,e,r,n){e&&_p(()=>
2695{if(r==="ok")e(null);else{const i=(r||"error").toUpperCase();let a=i;n&&(a+=": "+n);const s=new Error(a);s.code=i,e(s)}})}function gQ(t,e,r){return v3(t.serverSyncTree_,e,r)||qt.EMPTY_NODE}function I3(t,e=t.transactionQueueTree_){if(e||zC(t,e),Fp(e)){const r=xQ(t,e);ht(r.length>0,"Sending zero length transaction queue"),r.every(i=>i.status===0)&&Bie(t,R1(e),r)}else AQ(e)&&MC(e,r=>{I3(t,r)})}function Bie(t,e,r){const n=r.map(A=>A.currentWriteId),i=gQ(t,e,n);let a=i;const s=i.hash();for(let A=0;A<r.length;A++){const u=r[A];ht(u.status===0,"tryToSendTransactionQueue_: items in queue should all be run."),u.status=1,u.retryCount++;const d=ts(e,u.path);a=a.updateChild(d,u.currentOutputSnapshotRaw)}const o=a.val(!0),c=e;t.server_.put(c.toString(),o,A=>{QC(t,"transaction put response",{path:c.toString(),status:A});let u=[];if(A==="ok"){const d=[];for(let f=0;f<r.length;f++)r[f].status=2,u=u.concat(Yd(t.serverSyncTree_,r[f].currentWriteId)),r[f].onComplete&&d.push(()=>r[f].onComplete(null,!0,r[f].currentOutputSnapshotResolved)),r[f].unwatcher();zC(t,N3(t.transactionQueueTree_,e)),I3(t,t.transactionQueueTree_),Ac(t.eventQueue_,e,u);for(let f=0;f<d.length;f++)_p(d[f])}else{if(A==="datastale")for(let d=0;d<r.length;d++)r[d].status===3?r[d].status=4:r[d].status=0;else{Ss("transaction at "+c.toString()+" failed: "+A);for(let d=0;d<r.length;d++)r[d].status=4,r[d].abortReason=A}HC(t,e)}},s)}function HC(t,e){const r=vQ(t,e),n=R1(r),i=xQ(t,r);return Eie(t,i,n),n}function Eie(t,e,r){if(e.length===0)return;const n=[];let i=[];const s=e.filter(o=>o.status===0).map(o=>o.currentWriteId);for(let o=0;o<e.length;o++){const c=e[o],A=ts(r,c.path);let u=!1,d;if(ht(A!==null,"rerunTransactionsUnderNode_: relativePath should not be null."),c.status===4)u=!0,d=c.abortReason,i=i.concat(Yd(t.serverSyncTree_,c.currentWriteId,!0));else if(c.status===0)if(c.retryCount>=pie)u=!0,d="maxretry",i=i.concat(Yd(t.serverSyncTree_,c.currentWriteId,!0));else{const f=gQ(t,c.path,s);c.currentInputSnapshot=f;const h=e[o].update(f.val());if(h!==void 0){S3("transaction failed: Data returned ",h,c.path);let m=Yi(h);typeof h=="object"&&h!=null&&pc(h,".priority")||(m=m.updatePriority(f.getPriority()));const x=c.currentWriteId,v=T3(t),y=lQ(m,f,v);c.currentOutputSnapshotRaw=m,c.currentOutputSnapshotResolved=y,c.currentWriteId=mQ(t),s.splice(s.indexOf(x),1),i=i.concat(rQ(t.serverSyncTree_,c.path,y,c.currentWriteId,c.applyLocally)),i=i.concat(Yd(t.serverSyncTree_,x,!0))}else u=!0,d="nodata",i=i.concat(Yd(t.serverSyncTree_,c.currentWriteId,!0))}Ac(t.eventQueue_,r,i),i=[],u&&(e[o].status=2,function(f){setTimeout(f,Math.floor(0))}(e[o].unwatcher),e[o].onComplete&&(d==="nodata"?n.push(()=>e[o].onComplete(null,!1,e[o].currentInputSnapshot)):n.push(()=>e[o].onComplete(new Error(d),!1,null))))}zC(t,t.transactionQueueTree_);for(let o=0;o<n.length;o++)_p(n[o]);I3(t,t.transactionQueueTree_)}function vQ(t,e){let r,n=t.transactionQueueTree_;for(r=Er(e);r!==null&&Fp(n)===void 0;)n=N3(n,r),e=wn(e),r=Er(e);return n}function xQ(t,e){const r=[];return yQ(t,e,r),r.sort((n,i)=>n.order-i.order),r}function yQ(t,e,r){const n=Fp(e);if(n)for(let i=0;i<n.length;i++)r.push(n[i]);MC(e,i=>{yQ(t,i,r)})}function zC(t,e){const r=Fp(e);if(r){let n=0;for(let i=0;i<r.length;i++)r[i].status!==2&&(r[n]=r[i],n++);r.length=n,cQ(e,r.length>0?r:void 0)}MC(e,n=>{zC(t,n)})}function wQ(t,e){const r=R1(vQ(t,e)),n=N3(t.transactionQueueTree_,e);return iie(n,i=>{CE(t,i)}),CE(t,n),uQ(n,i=>{CE(t,i)}),r}function CE(t,e){const r=Fp(e);if(r){const n=[];let i=[],a=-1;for(let s=0;s<r.length;s++)r[s].status===3||(r[s].status===1?(ht(a===s-1,"All SENT items should be at beginning of queue."),a=s,r[s].status=3,r[s].abortReason="set"):(ht(r[s].status===0,"Unexpected transaction status in abort"),r[s].unwatcher(),i=i.concat(Yd(t.serverSyncTree_,r[s].currentWriteId,!0)),r[s].onComplete&&n.push(r[s].onComplete.bind(null,new Error("set"),!1,null))));a===-1?cQ(e,void 0):r.length=a+1,Ac(t.eventQueue_,R1(e),i);for(let s=0;s<n.length;s++)_p(n[s])}}/** 2696 * @license 2697 * Copyright 2017 Google LLC 2698 * 2699 * Licensed under the Apache License, Version 2.0 (the "License");
2700 * you may not use this file except in compliance with the License. 2701 * You may obtain a copy of the License at 2702 * 2703 * http://www.apache.org/licenses/LICENSE-2.0 2704 * 2705 * Unless required by applicable law or agreed to in writing, software 2706 * distributed under the License is distributed on an "AS IS" BASIS, 2707 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2708 * See the License for the specific language governing permissions and 2709 * limitations under the License. 2710 */function Nie(t){let e="";const r=t.split("/");for(let n=0;n<r.length;n++)if(r[n].length>0){let i=r[n];try{i=decodeURIComponent(i.replace(/\+/g," "))}catch{}e+="/"+i}return e}function Sie(t){const e={};t.charAt(0)==="?"&&(t=t.substring(1));for(const r of t.split("&")){if(r.length===0)continue;const n=r.split("=");n.length===2?e[decodeURIComponent(n[0])]=decodeURIComponent(n[1]):Ss(`Invalid query segment '${r}' in query '${t}'`)}return e}const m6=function(t,e){const r=_ie(t),n=r.namespace;r.domain==="firebase.com"&&lA(r.host+" is no longer supported. Please use <YOUR FIREBASE>.firebaseio.com instead"),(!n||n==="undefined")&&r.domain!=="localhost"&&lA("Cannot parse Firebase url. Please use https://<YOUR FIREBASE>.firebaseio.com"),r.secure||Qte();const i=r.scheme==="ws"||r.scheme==="wss";return{repoInfo:new x7(r.host,r.secure,n,i,e,"",n!==r.subdomain),path:new hn(r.pathString)}},_ie=function(t){let e="",r="",n="",i="",a="",s=!0,o="https",c=443;if(typeof t=="string"){let A=t.indexOf("//");A>=0&&(o=t.substring(0,A-1),t=t.substring(A+2));let u=t.indexOf("/");u===-1&&(u=t.length);let d=t.indexOf("?");d===-1&&(d=t.length),e=t.substring(0,Math.min(u,d)),u<d&&(i=Nie(t.substring(u,d)));const f=Sie(t.substring(Math.min(t.length,d)));A=e.indexOf(":"),A>=0?(s=o==="https"||o==="wss",c=parseInt(e.substring(A+1),10)):A=e.length;const h=e.slice(0,A);if(h.toLowerCase()==="localhost")r="localhost";else if(h.split(".").length<=2)r=h;else{const m=e.indexOf(".");n=e.substring(0,m).toLowerCase(),r=e.substring(m+1),a=n}"ns"in f&&(a=f.ns)}return{host:e,port:c,domain:r,subdomain:n,secure:s,scheme:o,pathString:i,namespace:a}};/** 2711 * @license 2712 * Copyright 2017 Google LLC 2713 * 2714 * Licensed under the Apache License, Version 2.0 (the "License"); 2715 * you may not use this file except in compliance with the License. 2716 * You may obtain a copy of the License at 2717 * 2718 * http://www.apache.org/licenses/LICENSE-2.0 2719 * 2720 * Unless required by applicable law or agreed to in writing, software 2721 * distributed under the License is distributed on an "AS IS" BASIS, 2722 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2723 * See the License for the specific language governing permissions and 2724 * limitations under the License. 2725 */const g6="-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz",Fie=function(){let t=0;const e=[];return function(r){const n=r===t;t=r;let i;const a=new Array(8);for(i=7;i>=0;i--)a[i]=g6.charAt(r%64),r=Math.floor(r/64);ht(r===0,"Cannot push at time == 0");let s=a.join("");if(n){for(i=11;i>=0&&e[i]===63;i--)e[i]=0;e[i]++}else for(i=0;i<12;i++)e[i]=Math.floor(Math.random()*64);for(i=0;i<12;i++)s+=g6.charAt(e[i]);return ht(s.length===20,"nextPushId: Length should be 20."),s}}();/** 2726 * @license 2727 * Copyright 2017 Google LLC 2728 * 2729 * Licensed under the Apache License, Version 2.0 (the "License"); 2730 * you may not use this file except in compliance with the License. 2731 * You may obtain a copy of the License at 2732 * 2733 * http://www.apache.org/licenses/LICENSE-2.0 2734 * 2735 * Unless required by applicable law or agreed to in writing, software 2736 * distributed under the License is distributed on an "AS IS" BASIS, 2737 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2738 * See the License for the specific language governing permissions and 2739 * limitations under the License. 2740 */class Tie{constructor(e,r,n,i){this.eventType=e,this.eventRegistration=r,this.snapshot=n,this.prevName=i}getPath(){const e=this.snapshot.ref;return this.eventType==="value"?e._path:e.parent._path}getEventType(){return this.eventType}getEventRunner(){return this.eventRegistration.getEventRunner(this)}toString(){return this.getPath().toString()+":"+this.eventType+":"+Oi(this.snapshot.exportVal())}}class jie{constructor(e,r,n){this.eventRegistration=e,this.error=r,this.path=n}getPath(){return this.path}getEventType(){return"cancel"}getEventRunner(){return this.eventRegistration.getEventRunner(this)}toString(){return this.path.toString()+":cancel"}}/** 2741 * @license 2742 * Copyright 2017 Google LLC 2743 * 2744 * Licensed under the Apache License, Version 2.0 (the "License");
2745 * you may not use this file except in compliance with the License. 2746 * You may obtain a copy of the License at 2747 * 2748 * http://www.apache.org/licenses/LICENSE-2.0 2749 * 2750 * Unless required by applicable law or agreed to in writing, software 2751 * distributed under the License is distributed on an "AS IS" BASIS, 2752 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2753 * See the License for the specific language governing permissions and 2754 * limitations under the License. 2755 */class Iie{constructor(e,r){this.snapshotCallback=e,this.cancelCallback=r}onValue(e,r){this.snapshotCallback.call(null,e,r)}onCancel(e){return ht(this.hasCancelCallback,"Raising a cancel event on a listener with no cancel callback"),this.cancelCallback.call(null,e)}get hasCancelCallback(){return!!this.cancelCallback}matches(e){return this.snapshotCallback===e.snapshotCallback||this.snapshotCallback.userCallback!==void 0&&this.snapshotCallback.userCallback===e.snapshotCallback.userCallback&&this.snapshotCallback.context===e.snapshotCallback.context}}/** 2756 * @license 2757 * Copyright 2020 Google LLC 2758 * 2759 * Licensed under the Apache License, Version 2.0 (the "License"); 2760 * you may not use this file except in compliance with the License. 2761 * You may obtain a copy of the License at 2762 * 2763 * http://www.apache.org/licenses/LICENSE-2.0 2764 * 2765 * Unless required by applicable law or agreed to in writing, software 2766 * distributed under the License is distributed on an "AS IS" BASIS, 2767 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2768 * See the License for the specific language governing permissions and 2769 * limitations under the License. 2770 */class Tp{constructor(e,r,n,i){this._repo=e,this._path=r,this._queryParams=n,this._orderByCalled=i}get key(){return mr(this._path)?null:_7(this._path)}get ref(){return new gA(this._repo,this._path)}get _queryIdentifier(){const e=e6(this._queryParams),r=n3(e);return r==="{}"?"default":r}get _queryObject(){return e6(this._queryParams)}isEqual(e){if(e=ei(e),!(e instanceof Tp))return!1;const r=this._repo===e._repo,n=j7(this._path,e._path),i=this._queryIdentifier===e._queryIdentifier;return r&&n&&i}toJSON(){return this.toString()}toString(){return this._repo.toString()+Bre(this._path)}}function kie(t,e){if(t._orderByCalled===!0)throw new Error(e+": You can't combine multiple orderBy calls.")}function k3(t){let e=null,r=null;if(t.hasStart()&&(e=t.getIndexStartValue()),t.hasEnd()&&(r=t.getIndexEndValue()),t.getIndex()===sh){const n="Query: When ordering by key, you may only pass one argument to startAt(), endAt(), or equalTo().",i="Query: When ordering by key, the argument passed to startAt(), startAfter(), endAt(), endBefore(), or equalTo() must be a string.";if(t.hasStart()){if(t.getIndexStartName()!==yh)throw new Error(n);if(typeof e!="string")throw new Error(i)}if(t.hasEnd()){if(t.getIndexEndName()!==Ku)throw new Error(n);if(typeof r!="string")throw new Error(i)}}else if(t.getIndex()===zn){if(e!=null&&!h6(e)||r!=null&&!h6(r))throw new Error("Query: When ordering by priority, the first argument passed to startAt(), startAfter() endAt(), endBefore(), or equalTo() must be a valid priority value (null, a number, or a string).")}else if(ht(t.getIndex()instanceof c3||t.getIndex()===U7,"unknown index type."),e!=null&&typeof e=="object"||r!=null&&typeof r=="object")throw new Error("Query: First argument passed to startAt(), startAfter(), endAt(), endBefore(), or equalTo() cannot be an object.")}function bQ(t){if(t.hasStart()&&t.hasEnd()&&t.hasLimit()&&!t.hasAnchoredLimit())throw new Error("Query: Can't combine startAt(), startAfter(), endAt(), endBefore(), and limit(). Use limitToFirst() or limitToLast() instead.")}class gA extends Tp{constructor(e,r){super(e,r,new u3,!1)}get parent(){const e=T7(this._path);return e===null?null:new gA(this._repo,e)}get root(){let e=this;for(;e.parent!==null;)e=e.parent;return e}}class Wv{constructor(e,r,n){this._node=e,this.ref=r,this._index=n}get priority(){return this._node.getPriority().val()}get key(){return this.ref.key}get size(){return this._node.numChildren()}child(e){const r=new hn(e),n=Kv(this.ref,e);return new Wv(this._node.getChild(r),n,zn)}exists(){return!this._node.isEmpty()}exportVal(){return this._node.val(!0)}forEach(e){return this._node.isLeafNode()?!1:!!this._node.forEachChild(this._index,(n,i)=>e(new Wv(i,Kv(this.ref,n),zn)))}hasChild(e){const r=new hn(e);return!this._node.getChild(r).isEmpty()}hasChildren(){return this._node.isLeafNode()?!1:!this._node.isEmpty()}toJSON(){return this.exportVal()}val(){return this._node.val()}}function VC(t,e){return t=ei(t),t._checkNotDeleted("ref"),e!==void 0?Kv(t._root,e):t._root}function Kv(t,e){return t=ei(t),Er(t._path)===null?cie("child","path",e):_3("child","path",e),new gA(t._repo,Ri(t._path,e))}function CQ(t,e){t=ei(t),F3("push",t._path),U1("push",e,t._path,!0);const r=pQ(t._repo),n=Fie(r),i=Kv(t,n),a=Kv(t,n);let s;return s=Promise.resolve(a),i.then=s.then.bind(s),i.catch=s.then.bind(s,void 0),i}function AS(t){return F3("remove",t._path),mc(t,null)}function mc(t,e){t=ei(t),F3("set",t._path),U1("set",e,t._path,!1);const r=new SC;return yie(t._repo,t._path,e,null,r.wrapCallback(()=>{})),r.promise}function wa(t){t=ei(t);const e=new Iie(()=>{}
2770),r=new P3(e);return xie(t._repo,t,r).then(n=>new Wv(n,new gA(t._repo,t._path),t._queryParams.getIndex()))}class P3{constructor(e){this.callbackContext=e}respondsTo(e){return e==="value"}createEvent(e,r){const n=r._queryParams.getIndex();return new Tie("value",this,new Wv(e.snapshotNode,new gA(r._repo,r._path),n))}getEventRunner(e){return e.getEventType()==="cancel"?()=>this.callbackContext.onCancel(e.error):()=>this.callbackContext.onValue(e.snapshot,null)}createCancelEvent(e,r){return this.callbackContext.hasCancelCallback?new jie(this,e,r):null}matches(e){return e instanceof P3?!e.callbackContext||!this.callbackContext?!0:e.callbackContext.matches(this.callbackContext):!1}hasAnyCallback(){return this.callbackContext!==null}}class WC{}class Pie extends WC{constructor(e,r){super(),this._value=e,this._key=r,this.type="endAt"}_apply(e){U1("endAt",this._value,e._path,!0);const r=qre(e._queryParams,this._value,this._key);if(bQ(r),k3(r),e._queryParams.hasEnd())throw new Error("endAt: Starting point was already set (by another call to endAt, endBefore or equalTo).");return new Tp(e._repo,e._path,r,e._orderByCalled)}}class Die extends WC{constructor(e,r){super(),this._value=e,this._key=r,this.type="startAt"}_apply(e){U1("startAt",this._value,e._path,!0);const r=Kre(e._queryParams,this._value,this._key);if(bQ(r),k3(r),e._queryParams.hasStart())throw new Error("startAt: Starting point was already set (by another call to startAt, startBefore or equalTo).");return new Tp(e._repo,e._path,r,e._orderByCalled)}}class Oie extends WC{constructor(e){super(),this._path=e,this.type="orderByChild"}_apply(e){kie(e,"orderByChild");const r=new hn(this._path);if(mr(r))throw new Error("orderByChild: cannot pass in empty path. Use orderByValue() instead.");const n=new c3(r),i=Gre(e._queryParams,n);return k3(i),new Tp(e._repo,e._path,i,!0)}}function KC(t){return _3("orderByChild","path",t),new Oie(t)}class Rie extends WC{constructor(e,r){super(),this._value=e,this._key=r,this.type="equalTo"}_apply(e){if(U1("equalTo",this._value,e._path,!1),e._queryParams.hasStart())throw new Error("equalTo: Starting point was already set (by another call to startAt/startAfter or equalTo).");if(e._queryParams.hasEnd())throw new Error("equalTo: Ending point was already set (by another call to endAt/endBefore or equalTo).");return new Pie(this._value,this._key)._apply(new Die(this._value,this._key)._apply(e))}}function qC(t,e){return new Rie(t,e)}function GC(t,...e){let r=ei(t);for(const n of e)r=n._apply(r);return r}Dne(gA);Mne(gA);/** 2771 * @license 2772 * Copyright 2020 Google LLC 2773 * 2774 * Licensed under the Apache License, Version 2.0 (the "License"); 2775 * you may not use this file except in compliance with the License. 2776 * You may obtain a copy of the License at 2777 * 2778 * http://www.apache.org/licenses/LICENSE-2.0 2779 * 2780 * Unless required by applicable law or agreed to in writing, software 2781 * distributed under the License is distributed on an "AS IS" BASIS, 2782 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2783 * See the License for the specific language governing permissions and 2784 * limitations under the License. 2785 */const Uie="FIREBASE_DATABASE_EMULATOR_HOST",uS={};let Lie=!1;function Mie(t,e,r,n){t.repoInfo_=new x7(`${e}:${r}`,!1,t.repoInfo_.namespace,t.repoInfo_.webSocketOnly,t.repoInfo_.nodeAdmin,t.repoInfo_.persistenceKey,t.repoInfo_.includeNamespaceInQueryParams,!0),n&&(t.authTokenProvider_=n)}function Qie(t,e,r,n,i){let a=n||t.options.databaseURL;a===void 0&&(t.options.projectId||lA("Can't determine Firebase Database URL. Be sure to include a Project ID when calling firebase.initializeApp()."),Da("Using default host for project ",t.options.projectId),a=`${t.options.projectId}-default-rtdb.firebaseio.com`);let s=m6(a,i),o=s.repoInfo,c;typeof process<"u"&&Ok&&(c=Ok[Uie]),c?(a=`http://${c}?ns=${o.namespace}`,s=m6(a,i),o=s.repoInfo):s.repoInfo.secure;const A=new Zte(t.name,t.options,e);Aie("Invalid Firebase Database URL",s),mr(s.path)||lA("Database URL must point to the root of a Firebase Database (not including a child path).");const u=zie(o,t,A,new Yte(t.name,r));return new Vie(u,t)}function Hie(t,e){const r=uS[e];(!r||r[t.key]!==t)&&lA(`Database ${e}(${t.repoInfo_}) has already been deleted.`),bie(t),delete r[t.key]}function zie(t,e,r,n){let i=uS[e.name];i||(i={},uS[e.name]=i);let a=i[t.toURLString()];return a&&lA("Database initialized multiple times. Please make sure the format of the database URL matches with each database() call."),a=new mie(t,Lie,r,n),i[t.toURLString()]=a,a}class Vie{constructor(e,r){this._repoInternal=e,this.app=r,this.type="database",this._instanceStarted=!1}get _repo(){return this._instanceStarted||(gie(this._repoInternal,this.app.options.appId,this.app.options.databaseAuthVariableOverride),this._instanceStarted=!0),this._repoInternal}get _root(){return this._rootInternal||(this._rootInternal=new gA(this._repo,Lr())),this._rootInternal}_delete(){return this._rootInternal!==null&&(Hie(this._repo,this.app.name),this._repoInternal=null,this._rootInternal=null),Promise.resolve()}_checkNotDeleted(e){this._rootInternal===null&&lA("Cannot call "+e+" on a deleted database.")}}function Wie(t=KF(),e){const r=FC(t,"database").getImmediate({identifier:e});if(!r._instanceStarted){const n=HL("database");n&&Kie(r,...n)}return r}function Kie(t,e,r,n={}){t=ei(t),t._checkNotDeleted("useEmulator"),t._instanceStarted&&lA("Cannot call useEmulator() after instance has already been initialized.");const i=t._repoInternal;let a;if(i.repoInfo_.nodeAdmin)n.mockUserToken&&lA('mockUserToken is not supported by the Admin SDK. For client access with mock users, please use the "firebase" package instead of "firebase-admin".'),a=new Gw(Gw.OWNER);else if(n.mockUserToken){const s=typeof n.mockUserToken=="string"?n.mockUserToken:WL(n.mockUserToken,t.app.options.projectId);a=new Gw(s)}Mie(i,e,r,a)}/** 2786 * @license 2787 * Copyright 2021 Google LLC 2788 * 2789 * Licensed under the Apache License, Version 2.0 (the "License");
2790 * you may not use this file except in compliance with the License. 2791 * You may obtain a copy of the License at 2792 * 2793 * http://www.apache.org/licenses/LICENSE-2.0 2794 * 2795 * Unless required by applicable law or agreed to in writing, software 2796 * distributed under the License is distributed on an "AS IS" BASIS, 2797 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2798 * See the License for the specific language governing permissions and 2799 * limitations under the License. 2800 */function qie(t){Dte(Uh),vh(new Wu("database",(e,{instanceIdentifier:r})=>{const n=e.getProvider("app").getImmediate(),i=e.getProvider("auth-internal"),a=e.getProvider("app-check-internal");return Qie(n,i,a,r)},"PUBLIC").setMultipleInstances(!0)),ac(Rk,Uk,t),ac(Rk,Uk,"esm2017")}Gc.prototype.simpleListen=function(t,e){this.sendRequest("q",{p:t},e)};Gc.prototype.echo=function(t,e){this.sendRequest("echo",{d:t},e)};qie();/** 2801 * @license 2802 * Copyright 2017 Google LLC 2803 * 2804 * Licensed under the Apache License, Version 2.0 (the "License"); 2805 * you may not use this file except in compliance with the License. 2806 * You may obtain a copy of the License at 2807 * 2808 * http://www.apache.org/licenses/LICENSE-2.0 2809 * 2810 * Unless required by applicable law or agreed to in writing, software 2811 * distributed under the License is distributed on an "AS IS" BASIS, 2812 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2813 * See the License for the specific language governing permissions and 2814 * limitations under the License. 2815 */const BQ="firebasestorage.googleapis.com",EQ="storageBucket",Gie=2*60*1e3,Jie=10*60*1e3;/** 2816 * @license 2817 * Copyright 2017 Google LLC 2818 * 2819 * Licensed under the Apache License, Version 2.0 (the "License"); 2820 * you may not use this file except in compliance with the License. 2821 * You may obtain a copy of the License at 2822 * 2823 * http://www.apache.org/licenses/LICENSE-2.0 2824 * 2825 * Unless required by applicable law or agreed to in writing, software 2826 * distributed under the License is distributed on an "AS IS" BASIS, 2827 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2828 * See the License for the specific language governing permissions and 2829 * limitations under the License. 2830 */let Ei=class NQ extends pA{constructor(e,r,n=0){super(BE(e),`Firebase Storage: ${r} (${BE(e)})`),this.status_=n,this.customData={serverResponse:null},this._baseMessage=this.message,Object.setPrototypeOf(this,NQ.prototype)}get status(){return this.status_}set status(e){this.status_=e}_codeEquals(e){return BE(e)===this.code}get serverResponse(){return this.customData.serverResponse}set serverResponse(e){this.customData.serverResponse=e,this.customData.serverResponse?this.message=`${this._baseMessage} 2831${this.customData.serverResponse}`:this.message=this._baseMessage}};var $n;(function(t){t.UNKNOWN="unknown",t.OBJECT_NOT_FOUND="object-not-found",t.BUCKET_NOT_FOUND="bucket-not-found",t.PROJECT_NOT_FOUND="project-not-found",t.QUOTA_EXCEEDED="quota-exceeded",t.UNAUTHENTICATED="unauthenticated",t.UNAUTHORIZED="unauthorized",t.UNAUTHORIZED_APP="unauthorized-app",t.RETRY_LIMIT_EXCEEDED="retry-limit-exceeded",t.INVALID_CHECKSUM="invalid-checksum",t.CANCELED="canceled",t.INVALID_EVENT_NAME="invalid-event-name",t.INVALID_URL="invalid-url",t.INVALID_DEFAULT_BUCKET="invalid-default-bucket",t.NO_DEFAULT_BUCKET="no-default-bucket",t.CANNOT_SLICE_BLOB="cannot-slice-blob",t.SERVER_FILE_WRONG_SIZE="server-file-wrong-size",t.NO_DOWNLOAD_URL="no-download-url",t.INVALID_ARGUMENT="invalid-argument",t.INVALID_ARGUMENT_COUNT="invalid-argument-count",t.APP_DELETED="app-deleted",t.INVALID_ROOT_OPERATION="invalid-root-operation",t.INVALID_FORMAT="invalid-format",t.INTERNAL_ERROR="internal-error",t.UNSUPPORTED_ENVIRONMENT="unsupported-environment"})($n||($n={}));function BE(t){return"storage/"+t}function D3(){const t="An unknown error occurred, please check the error payload for server response.";return new Ei($n.UNKNOWN,t)}function Xie(t){return new Ei($n.OBJECT_NOT_FOUND,"Object '"+t+"' does not exist.")}function Yie(t){return new Ei($n.QUOTA_EXCEEDED,"Quota for bucket '"+t+"' exceeded, please view quota on https://firebase.google.com/pricing/.")}function Zie(){const t="User is not authenticated, please authenticate using Firebase Authentication and try again.";return new Ei($n.UNAUTHENTICATED,t)}function $ie(){return new Ei($n.UNAUTHORIZED_APP,"This app does not have permission to access Firebase Storage on this project.")}function eae(t){return new Ei($n.UNAUTHORIZED,"User does not have permission to access '"+t+"'.")}function tae(){return new Ei($n.RETRY_LIMIT_EXCEEDED,"Max retry time for operation exceeded, please try again.")}function rae(){return new Ei($n.CANCELED,"User canceled the upload/download.")}function nae(t){return new Ei($n.INVALID_URL,"Invalid URL '"+t+"'.")}function iae(t){return new Ei($n.INVALID_DEFAULT_BUCKET,"Invalid default bucket '"+t+"'.")}function aae(){return new Ei($n.NO_DEFAULT_BUCKET,"No default bucket found. Did you set the '"+EQ+"' property when initializing the app?")}function sae(){return new Ei($n.CANNOT_SLICE_BLOB,"Cannot slice blob for upload. Please retry the upload.")}function oae(){return new Ei($n.NO_DOWNLOAD_URL,"The given file does not have any download URLs.")}function lae(t){return new Ei($n.UNSUPPORTED_ENVIRONMENT,`${t} is missing. Make sure to install the required polyfills. See https://firebase.google.com/docs/web/environments-js-sdk#polyfills for more information.`)}function dS(t){return new Ei($n.INVALID_ARGUMENT,t)}function SQ(){return new Ei($n.APP_DELETED,"The Firebase app was deleted.")}function cae(t){return new Ei($n.INVALID_ROOT_OPERATION,"The operation '"+t+"' cannot be performed on a root reference, create a non-root reference using child, such as .child('file.png').")}function Lg(t,e){return new Ei($n.INVALID_FORMAT,"String does not match format '"+t+"': "+e)}function Rm(t){throw new Ei($n.INTERNAL_ERROR,"Internal error: "+t)}/** 2832 * @license 2833 * Copyright 2017 Google LLC 2834 * 2835 * Licensed under the Apache License, Version 2.0 (the "License");
2836 * you may not use this file except in compliance with the License. 2837 * You may obtain a copy of the License at 2838 * 2839 * http://www.apache.org/licenses/LICENSE-2.0 2840 * 2841 * Unless required by applicable law or agreed to in writing, software 2842 * distributed under the License is distributed on an "AS IS" BASIS, 2843 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2844 * See the License for the specific language governing permissions and 2845 * limitations under the License. 2846 */class Ys{constructor(e,r){this.bucket=e,this.path_=r}get path(){return this.path_}get isRoot(){return this.path.length===0}fullServerUrl(){const e=encodeURIComponent;return"/b/"+e(this.bucket)+"/o/"+e(this.path)}bucketOnlyServerUrl(){return"/b/"+encodeURIComponent(this.bucket)+"/o"}static makeFromBucketSpec(e,r){let n;try{n=Ys.makeFromUrl(e,r)}catch{return new Ys(e,"")}if(n.path==="")return n;throw iae(e)}static makeFromUrl(e,r){let n=null;const i="([A-Za-z0-9.\\-_]+)";function a(E){E.path.charAt(E.path.length-1)==="/"&&(E.path_=E.path_.slice(0,-1))}const s="(/(.*))?$",o=new RegExp("^gs://"+i+s,"i"),c={bucket:1,path:3};function A(E){E.path_=decodeURIComponent(E.path)}const u="v[A-Za-z0-9_]+",d=r.replace(/[.]/g,"\\."),f="(/([^?#]*).*)?$",h=new RegExp(`^https?://${d}/${u}/b/${i}/o${f}`,"i"),m={bucket:1,path:3},p=r===BQ?"(?:storage.googleapis.com|storage.cloud.google.com)":r,x="([^?#]*)",v=new RegExp(`^https?://${p}/${i}/${x}`,"i"),b=[{regex:o,indices:c,postModify:a},{regex:h,indices:m,postModify:A},{regex:v,indices:{bucket:1,path:2},postModify:A}];for(let E=0;E<b.length;E++){const S=b[E],I=S.regex.exec(e);if(I){const B=I[S.indices.bucket];let _=I[S.indices.path];_||(_=""),n=new Ys(B,_),S.postModify(n);break}}if(n==null)throw nae(e);return n}}class Aae{constructor(e){this.promise_=Promise.reject(e)}getPromise(){return this.promise_}cancel(e=!1){}}/** 2847 * @license 2848 * Copyright 2017 Google LLC 2849 * 2850 * Licensed under the Apache License, Version 2.0 (the "License"); 2851 * you may not use this file except in compliance with the License. 2852 * You may obtain a copy of the License at 2853 * 2854 * http://www.apache.org/licenses/LICENSE-2.0 2855 * 2856 * Unless required by applicable law or agreed to in writing, software 2857 * distributed under the License is distributed on an "AS IS" BASIS, 2858 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2859 * See the License for the specific language governing permissions and 2860 * limitations under the License. 2861 */function uae(t,e,r){let n=1,i=null,a=null,s=!1,o=0;function c(){return o===2}let A=!1;function u(...x){A||(A=!0,e.apply(null,x))}function d(x){i=setTimeout(()=>{i=null,t(h,c())},x)}function f(){a&&clearTimeout(a)}function h(x,...v){if(A){f();return}if(x){f(),u.call(null,x,...v);return}if(c()||s){f(),u.call(null,x,...v);return}n<64&&(n*=2);let b;o===1?(o=2,b=0):b=(n+Math.random())*1e3,d(b)}let m=!1;function p(x){m||(m=!0,f(),!A&&(i!==null?(x||(o=2),clearTimeout(i),d(0)):x||(o=1)))}return d(0),a=setTimeout(()=>{s=!0,p(!0)},r),p}function dae(t){t(!1)}/** 2862 * @license 2863 * Copyright 2017 Google LLC 2864 * 2865 * Licensed under the Apache License, Version 2.0 (the "License"); 2866 * you may not use this file except in compliance with the License. 2867 * You may obtain a copy of the License at 2868 * 2869 * http://www.apache.org/licenses/LICENSE-2.0 2870 * 2871 * Unless required by applicable law or agreed to in writing, software 2872 * distributed under the License is distributed on an "AS IS" BASIS, 2873 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2874 * See the License for the specific language governing permissions and 2875 * limitations under the License. 2876 */function hae(t){return t!==void 0}function fae(t){return typeof t=="object"&&!Array.isArray(t)}function O3(t){return typeof t=="string"||t instanceof String}function v6(t){return R3()&&t instanceof Blob}function R3(){return typeof Blob<"u"}function x6(t,e,r,n){if(n<e)throw dS(`Invalid value for '${t}'. Expected ${e} or greater.`);if(n>r)throw dS(`Invalid value for '${t}'. Expected ${r} or less.`)}/** 2877 * @license 2878 * Copyright 2017 Google LLC 2879 * 2880 * Licensed under the Apache License, Version 2.0 (the "License");
2881 * you may not use this file except in compliance with the License. 2882 * You may obtain a copy of the License at 2883 * 2884 * http://www.apache.org/licenses/LICENSE-2.0 2885 * 2886 * Unless required by applicable law or agreed to in writing, software 2887 * distributed under the License is distributed on an "AS IS" BASIS, 2888 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2889 * See the License for the specific language governing permissions and 2890 * limitations under the License. 2891 */function U3(t,e,r){let n=e;return r==null&&(n=`https://${e}`),`${r}://${n}/v0${t}`}function _Q(t){const e=encodeURIComponent;let r="?";for(const n in t)if(t.hasOwnProperty(n)){const i=e(n)+"="+e(t[n]);r=r+i+"&"}return r=r.slice(0,-1),r}var oh;(function(t){t[t.NO_ERROR=0]="NO_ERROR",t[t.NETWORK_ERROR=1]="NETWORK_ERROR",t[t.ABORT=2]="ABORT"})(oh||(oh={}));/** 2892 * @license 2893 * Copyright 2022 Google LLC 2894 * 2895 * Licensed under the Apache License, Version 2.0 (the "License"); 2896 * you may not use this file except in compliance with the License. 2897 * You may obtain a copy of the License at 2898 * 2899 * http://www.apache.org/licenses/LICENSE-2.0 2900 * 2901 * Unless required by applicable law or agreed to in writing, software 2902 * distributed under the License is distributed on an "AS IS" BASIS, 2903 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2904 * See the License for the specific language governing permissions and 2905 * limitations under the License. 2906 */function pae(t,e){const r=t>=500&&t<600,i=[408,429].indexOf(t)!==-1,a=e.indexOf(t)!==-1;return r||i||a}/** 2907 * @license 2908 * Copyright 2017 Google LLC 2909 * 2910 * Licensed under the Apache License, Version 2.0 (the "License"); 2911 * you may not use this file except in compliance with the License. 2912 * You may obtain a copy of the License at 2913 * 2914 * http://www.apache.org/licenses/LICENSE-2.0 2915 * 2916 * Unless required by applicable law or agreed to in writing, software 2917 * distributed under the License is distributed on an "AS IS" BASIS, 2918 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2919 * See the License for the specific language governing permissions and 2920 * limitations under the License. 2921 */class mae{constructor(e,r,n,i,a,s,o,c,A,u,d,f=!0){this.url_=e,this.method_=r,this.headers_=n,this.body_=i,this.successCodes_=a,this.additionalRetryCodes_=s,this.callback_=o,this.errorCallback_=c,this.timeout_=A,this.progressCallback_=u,this.connectionFactory_=d,this.retry=f,this.pendingConnection_=null,this.backoffId_=null,this.canceled_=!1,this.appDelete_=!1,this.promise_=new Promise((h,m)=>{this.resolve_=h,this.reject_=m,this.start_()})}start_(){const e=(n,i)=>{if(i){n(!1,new my(!1,null,!0));return}const a=this.connectionFactory_();this.pendingConnection_=a;const s=o=>{const c=o.loaded,A=o.lengthComputable?o.total:-1;this.progressCallback_!==null&&this.progressCallback_(c,A)};this.progressCallback_!==null&&a.addUploadProgressListener(s),a.send(this.url_,this.method_,this.body_,this.headers_).then(()=>{this.progressCallback_!==null&&a.removeUploadProgressListener(s),this.pendingConnection_=null;const o=a.getErrorCode()===oh.NO_ERROR,c=a.getStatus();if(!o||pae(c,this.additionalRetryCodes_)&&this.retry){const u=a.getErrorCode()===oh.ABORT;n(!1,new my(!1,null,u));return}const A=this.successCodes_.indexOf(c)!==-1;n(!0,new my(A,a))})},r=(n,i)=>{const a=this.resolve_,s=this.reject_,o=i.connection;if(i.wasSuccessCode)try{const c=this.callback_(o,o.getResponse());hae(c)?a(c):a()}catch(c){s(c)}else if(o!==null){const c=D3();c.serverResponse=o.getErrorText(),this.errorCallback_?s(this.errorCallback_(o,c)):s(c)}else if(i.canceled){const c=this.appDelete_?SQ():rae();s(c)}else{const c=tae();s(c)}};this.canceled_?r(!1,new my(!1,null,!0)):this.backoffId_=uae(e,r,this.timeout_)}getPromise(){return this.promise_}cancel(e){this.canceled_=!0,this.appDelete_=e||!1,this.backoffId_!==null&&dae(this.backoffId_),this.pendingConnection_!==null&&this.pendingConnection_.abort()}}class my{constructor(e,r,n){this.wasSuccessCode=e,this.connection=r,this.canceled=!!n}}function gae(t,e){e!==null&&e.length>0&&(t.Authorization="Firebase "+e)}function vae(t,e){t["X-Firebase-Storage-Version"]="webjs/"+(e??"AppManager")}function xae(t,e){e&&(t["X-Firebase-GMPID"]=e)}function yae(t,e){e!==null&&(t["X-Firebase-AppCheck"]=e)}
2921function wae(t,e,r,n,i,a,s=!0){const o=_Q(t.urlParams),c=t.url+o,A=Object.assign({},t.headers);return xae(A,e),gae(A,r),vae(A,a),yae(A,n),new mae(c,t.method,A,t.body,t.successCodes,t.additionalRetryCodes,t.handler,t.errorHandler,t.timeout,t.progressCallback,i,s)}/** 2922 * @license 2923 * Copyright 2017 Google LLC 2924 * 2925 * Licensed under the Apache License, Version 2.0 (the "License"); 2926 * you may not use this file except in compliance with the License. 2927 * You may obtain a copy of the License at 2928 * 2929 * http://www.apache.org/licenses/LICENSE-2.0 2930 * 2931 * Unless required by applicable law or agreed to in writing, software 2932 * distributed under the License is distributed on an "AS IS" BASIS, 2933 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2934 * See the License for the specific language governing permissions and 2935 * limitations under the License. 2936 */function bae(){return typeof BlobBuilder<"u"?BlobBuilder:typeof WebKitBlobBuilder<"u"?WebKitBlobBuilder:void 0}function Cae(...t){const e=bae();if(e!==void 0){const r=new e;for(let n=0;n<t.length;n++)r.append(t[n]);return r.getBlob()}else{if(R3())return new Blob(t);throw new Ei($n.UNSUPPORTED_ENVIRONMENT,"This browser doesn't seem to support creating Blobs")}}function Bae(t,e,r){return t.webkitSlice?t.webkitSlice(e,r):t.mozSlice?t.mozSlice(e,r):t.slice?t.slice(e,r):null}/** 2937 * @license 2938 * Copyright 2021 Google LLC 2939 * 2940 * Licensed under the Apache License, Version 2.0 (the "License"); 2941 * you may not use this file except in compliance with the License. 2942 * You may obtain a copy of the License at 2943 * 2944 * http://www.apache.org/licenses/LICENSE-2.0 2945 * 2946 * Unless required by applicable law or agreed to in writing, software 2947 * distributed under the License is distributed on an "AS IS" BASIS, 2948 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2949 * See the License for the specific language governing permissions and 2950 * limitations under the License. 2951 */function Eae(t){if(typeof atob>"u")throw lae("base-64");return atob(t)}/** 2952 * @license 2953 * Copyright 2017 Google LLC 2954 * 2955 * Licensed under the Apache License, Version 2.0 (the "License"); 2956 * you may not use this file except in compliance with the License. 2957 * You may obtain a copy of the License at 2958 * 2959 * http://www.apache.org/licenses/LICENSE-2.0 2960 * 2961 * Unless required by applicable law or agreed to in writing, software 2962 * distributed under the License is distributed on an "AS IS" BASIS, 2963 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2964 * See the License for the specific language governing permissions and 2965 * limitations under the License. 2966 */const tc={RAW:"raw",BASE64:"base64",BASE64URL:"base64url",DATA_URL:"data_url"};class EE{constructor(e,r){this.data=e,this.contentType=r||null}}function Nae(t,e){switch(t){case tc.RAW:return new EE(FQ(e));case tc.BASE64:case tc.BASE64URL:return new EE(TQ(t,e));case tc.DATA_URL:return new EE(_ae(e),Fae(e))}throw D3()}function FQ(t){const e=[];for(let r=0;r<t.length;r++){let n=t.charCodeAt(r);if(n<=127)e.push(n);else if(n<=2047)e.push(192|n>>6,128|n&63);else if((n&64512)===55296)if(!(r<t.length-1&&(t.charCodeAt(r+1)&64512)===56320))e.push(239,191,189);else{const a=n,s=t.charCodeAt(++r);n=65536|(a&1023)<<10|s&1023,e.push(240|n>>18,128|n>>12&63,128|n>>6&63,128|n&63)}else(n&64512)===56320?e.push(239,191,189):e.push(224|n>>12,128|n>>6&63,128|n&63)}return new Uint8Array(e)}function Sae(t){let e;try{e=decodeURIComponent(t)}catch{throw Lg(tc.DATA_URL,"Malformed data URL.")}return FQ(e)}function TQ(t,e){switch(t){case tc.BASE64:{const i=e.indexOf("-")!==-1,a=e.indexOf("_")!==-1;if(i||a)throw Lg(t,"Invalid character '"+(i?"-":"_")+"' found: is it base64url encoded?");break}case tc.BASE64URL:{const i=e.indexOf("+")!==-1,a=e.indexOf("/")!==-1;if(i||a)throw Lg(t,"Invalid character '"+(i?"+":"/")+"' found: is it base64 encoded?");e=e.replace(/-/g,"+").replace(/_/g,"/");break}}let r;try{r=Eae(e)}catch(i){throw i.message.includes("polyfill")?i:Lg(t,"Invalid character found")}const n=new Uint8Array(r.length);for(let i=0;i<r.length;i++)n[i]=r.charCodeAt(i);return n}class jQ{constructor(e){this.base64=!1,this.contentType=null;const r=e.match(/^data:([^,]+)?,/);if(r===null)throw Lg(tc.DATA_URL,"Must be formatted 'data:[<mediatype>][;base64],<data>");const n=r[1]||null;n!=null&&(this.base64=Tae(n,";base64"),this.contentType=this.base64?n.substring(0,n.length-7):n),this.rest=e.substring(e.indexOf(",")+1)}}function _ae(t){const e=new jQ(t);return e.base64?TQ(tc.BASE64,e.rest):Sae(e.rest)}function Fae(t){return new jQ(t).contentType}function Tae(t,e){return t.length>=e.length?t.substring(t.length-e.length)===e:!1}/** 2967 * @license 2968 * Copyright 2017 Google LLC 2969 * 2970 * Licensed under the Apache License, Version 2.0 (the "License");
2971 * you may not use this file except in compliance with the License. 2972 * You may obtain a copy of the License at 2973 * 2974 * http://www.apache.org/licenses/LICENSE-2.0 2975 * 2976 * Unless required by applicable law or agreed to in writing, software 2977 * distributed under the License is distributed on an "AS IS" BASIS, 2978 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2979 * See the License for the specific language governing permissions and 2980 * limitations under the License. 2981 */class lu{constructor(e,r){let n=0,i="";v6(e)?(this.data_=e,n=e.size,i=e.type):e instanceof ArrayBuffer?(r?this.data_=new Uint8Array(e):(this.data_=new Uint8Array(e.byteLength),this.data_.set(new Uint8Array(e))),n=this.data_.length):e instanceof Uint8Array&&(r?this.data_=e:(this.data_=new Uint8Array(e.length),this.data_.set(e)),n=e.length),this.size_=n,this.type_=i}size(){return this.size_}type(){return this.type_}slice(e,r){if(v6(this.data_)){const n=this.data_,i=Bae(n,e,r);return i===null?null:new lu(i)}else{const n=new Uint8Array(this.data_.buffer,e,r-e);return new lu(n,!0)}}static getBlob(...e){if(R3()){const r=e.map(n=>n instanceof lu?n.data_:n);return new lu(Cae.apply(null,r))}else{const r=e.map(s=>O3(s)?Nae(tc.RAW,s).data:s.data_);let n=0;r.forEach(s=>{n+=s.byteLength});const i=new Uint8Array(n);let a=0;return r.forEach(s=>{for(let o=0;o<s.length;o++)i[a++]=s[o]}),new lu(i,!0)}}uploadData(){return this.data_}}/** 2982 * @license 2983 * Copyright 2017 Google LLC 2984 * 2985 * Licensed under the Apache License, Version 2.0 (the "License"); 2986 * you may not use this file except in compliance with the License. 2987 * You may obtain a copy of the License at 2988 * 2989 * http://www.apache.org/licenses/LICENSE-2.0 2990 * 2991 * Unless required by applicable law or agreed to in writing, software 2992 * distributed under the License is distributed on an "AS IS" BASIS, 2993 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2994 * See the License for the specific language governing permissions and 2995 * limitations under the License. 2996 */function IQ(t){let e;try{e=JSON.parse(t)}catch{return null}return fae(e)?e:null}/** 2997 * @license 2998 * Copyright 2017 Google LLC 2999 * 3000 * Licensed under the Apache License, Version 2.0 (the "License"); 3001 * you may not use this file except in compliance with the License. 3002 * You may obtain a copy of the License at 3003 * 3004 * http://www.apache.org/licenses/LICENSE-2.0 3005 * 3006 * Unless required by applicable law or agreed to in writing, software 3007 * distributed under the License is distributed on an "AS IS" BASIS, 3008 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3009 * See the License for the specific language governing permissions and 3010 * limitations under the License. 3011 */function jae(t){if(t.length===0)return null;const e=t.lastIndexOf("/");return e===-1?"":t.slice(0,e)}function Iae(t,e){const r=e.split("/").filter(n=>n.length>0).join("/");return t.length===0?r:t+"/"+r}function kQ(t){const e=t.lastIndexOf("/",t.length-2);return e===-1?t:t.slice(e+1)}/** 3012 * @license 3013 * Copyright 2017 Google LLC 3014 * 3015 * Licensed under the Apache License, Version 2.0 (the "License"); 3016 * you may not use this file except in compliance with the License. 3017 * You may obtain a copy of the License at 3018 * 3019 * http://www.apache.org/licenses/LICENSE-2.0 3020 * 3021 * Unless required by applicable law or agreed to in writing, software 3022 * distributed under the License is distributed on an "AS IS" BASIS, 3023 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3024 * See the License for the specific language governing permissions and 3025 * limitations under the License. 3026 */function kae(t,e){return e}class Ka{constructor(e,r,n,i){this.server=e,this.local=r||e,this.writable=!!n,this.xform=i||kae}}let gy=null;function Pae(t){return!O3(t)||t.length<2?t:kQ(t)}function PQ(){if(gy)return gy;const t=[];t.push(new Ka("bucket")),t.push(new Ka("generation")),t.push(new Ka("metageneration")),t.push(new Ka("name","fullPath",!0));function e(a,s){return Pae(s)}const r=new Ka("name");r.xform=e,t.push(r);function n(a,s){return s!==void 0?Number(s):s}const i=new Ka("size");return i.xform=n,t.push(i),t.push(new Ka("timeCreated")),t.push(new Ka("updated")),t.push(new Ka("md5Hash",null,!0)),t.push(new Ka("c
3026acheControl",null,!0)),t.push(new Ka("contentDisposition",null,!0)),t.push(new Ka("contentEncoding",null,!0)),t.push(new Ka("contentLanguage",null,!0)),t.push(new Ka("contentType",null,!0)),t.push(new Ka("metadata","customMetadata",!0)),gy=t,gy}function Dae(t,e){function r(){const n=t.bucket,i=t.fullPath,a=new Ys(n,i);return e._makeStorageReference(a)}Object.defineProperty(t,"ref",{get:r})}function Oae(t,e,r){const n={};n.type="file";const i=r.length;for(let a=0;a<i;a++){const s=r[a];n[s.local]=s.xform(n,e[s.server])}return Dae(n,t),n}function DQ(t,e,r){const n=IQ(e);return n===null?null:Oae(t,n,r)}function Rae(t,e,r,n){const i=IQ(e);if(i===null||!O3(i.downloadTokens))return null;const a=i.downloadTokens;if(a.length===0)return null;const s=encodeURIComponent;return a.split(",").map(A=>{const u=t.bucket,d=t.fullPath,f="/b/"+s(u)+"/o/"+s(d),h=U3(f,r,n),m=_Q({alt:"media",token:A});return h+m})[0]}function Uae(t,e){const r={},n=e.length;for(let i=0;i<n;i++){const a=e[i];a.writable&&(r[a.server]=t[a.local])}return JSON.stringify(r)}class OQ{constructor(e,r,n,i){this.url=e,this.method=r,this.handler=n,this.timeout=i,this.urlParams={},this.headers={},this.body=null,this.errorHandler=null,this.progressCallback=null,this.successCodes=[200],this.additionalRetryCodes=[]}}/** 3027 * @license 3028 * Copyright 2017 Google LLC 3029 * 3030 * Licensed under the Apache License, Version 2.0 (the "License"); 3031 * you may not use this file except in compliance with the License. 3032 * You may obtain a copy of the License at 3033 * 3034 * http://www.apache.org/licenses/LICENSE-2.0 3035 * 3036 * Unless required by applicable law or agreed to in writing, software 3037 * distributed under the License is distributed on an "AS IS" BASIS, 3038 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3039 * See the License for the specific language governing permissions and 3040 * limitations under the License. 3041 */function RQ(t){if(!t)throw D3()}function Lae(t,e){function r(n,i){const a=DQ(t,i,e);return RQ(a!==null),a}return r}function Mae(t,e){function r(n,i){const a=DQ(t,i,e);return RQ(a!==null),Rae(a,i,t.host,t._protocol)}return r}function UQ(t){function e(r,n){let i;return r.getStatus()===401?r.getErrorText().includes("Firebase App Check token is invalid")?i=$ie():i=Zie():r.getStatus()===402?i=Yie(t.bucket):r.getStatus()===403?i=eae(t.path):i=n,i.status=r.getStatus(),i.serverResponse=n.serverResponse,i}return e}function Qae(t){const e=UQ(t);function r(n,i){let a=e(n,i);return n.getStatus()===404&&(a=Xie(t.path)),a.serverResponse=i.serverResponse,a}return r}function Hae(t,e,r){const n=e.fullServerUrl(),i=U3(n,t.host,t._protocol),a="GET",s=t.maxOperationRetryTime,o=new OQ(i,a,Mae(t,r),s);return o.errorHandler=Qae(e),o}function zae(t,e){return t&&t.contentType||e&&e.type()||"application/octet-stream"}function Vae(t,e,r){const n=Object.assign({},r);return n.fullPath=t.path,n.size=e.size(),n.contentType||(n.contentType=zae(null,e)),n}function Wae(t,e,r,n,i){const a=e.bucketOnlyServerUrl(),s={"X-Goog-Upload-Protocol":"multipart"};function o(){let b="";for(let E=0;E<2;E++)b=b+Math.random().toString().slice(2);return b}const c=o();s["Content-Type"]="multipart/related; boundary="+c;const A=Vae(e,n,i),u=Uae(A,r),d="--"+c+`\r 3042Content-Type: application/json; charset=utf-8\r 3043\r 3044`+u+`\r 3045--`+c+`\r 3046Content-Type: `+A.contentType+`\r 3047\r 3048`,f=`\r 3049--`+c+"--",h=lu.getBlob(d,n,f);if(h===null)throw sae();const m={name:A.fullPath},p=U3(a,t.host,t._protocol),x="POST",v=t.maxUploadRetryTime,y=new OQ(p,x,Lae(t,r),v);return y.urlParams=m,y.headers=s,y.body=h.uploadData(),y.errorHandler=UQ(e),y}class Kae{constructor(){this.sent_=!1,this.xhr_=new XMLHttpRequest,this.initXhr(),this.errorCode_=oh.NO_ERROR,this.sendPromise_=new Promise(e=>{this.xhr_.addEventListener("abort",()=>{this.errorCode_=oh.ABORT,e()}),this.xhr_.addEventListener("error",()=>{this.errorCode_=oh.NETWORK_ERROR,e()}),this.xhr_.addEventListener("load",()=>{e()})})}send(e,r,n,i){if(this.sent_)throw Rm("cannot .send() more than once");if(this.sent_=!0,this.xhr_.open(r,e,!0),i!==void 0)for(const a in i)i.hasOwnProperty(a)&&this.xhr_.setRequestHeader(a,i[a].toString());return n!==void 0?this.xhr_.send(n):this.xhr_.send(),this.sendPromise_}getErrorCode(){if(!this.sent_)throw Rm("cannot .getErrorCode() before sending");return this.errorCode_}getStatus(){if(!this.sent_)throw Rm("cannot .getStatus() before sending");try{return this.xhr_.status}catch{return-1}}getResponse(){if(!this.sent_)throw Rm("cannot .getResponse() before sending");return this.xhr_.response}getErrorText(){if(!this.sent_)throw Rm("cannot .getErrorText() before sending");return this.xhr_.statusText}abort(){this.xhr_.abort()}getResponseHeader(e){return this.xhr_.getResponseHeader(e)}addUploadProgressListener(e){this.xhr_.upload!=null&&this.xhr_.upload.addEventListener("progress",e)}removeUploadProgressListener(e){this.xhr_.upload!=null&&this.xhr_.upload.removeEventListener("progress",e)}}
3049class qae extends Kae{initXhr(){this.xhr_.responseType="text"}}function LQ(){return new qae}/** 3050 * @license 3051 * Copyright 2019 Google LLC 3052 * 3053 * Licensed under the Apache License, Version 2.0 (the "License"); 3054 * you may not use this file except in compliance with the License. 3055 * You may obtain a copy of the License at 3056 * 3057 * http://www.apache.org/licenses/LICENSE-2.0 3058 * 3059 * Unless required by applicable law or agreed to in writing, software 3060 * distributed under the License is distributed on an "AS IS" BASIS, 3061 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3062 * See the License for the specific language governing permissions and 3063 * limitations under the License. 3064 */class Ch{constructor(e,r){this._service=e,r instanceof Ys?this._location=r:this._location=Ys.makeFromUrl(r,e.host)}toString(){return"gs://"+this._location.bucket+"/"+this._location.path}_newRef(e,r){return new Ch(e,r)}get root(){const e=new Ys(this._location.bucket,"");return this._newRef(this._service,e)}get bucket(){return this._location.bucket}get fullPath(){return this._location.path}get name(){return kQ(this._location.path)}get storage(){return this._service}get parent(){const e=jae(this._location.path);if(e===null)return null;const r=new Ys(this._location.bucket,e);return new Ch(this._service,r)}_throwIfRoot(e){if(this._location.path==="")throw cae(e)}}function Gae(t,e,r){t._throwIfRoot("uploadBytes");const n=Wae(t.storage,t._location,PQ(),new lu(e,!0),r);return t.storage.makeRequestWithTokens(n,LQ).then(i=>({metadata:i,ref:t}))}function Jae(t){t._throwIfRoot("getDownloadURL");const e=Hae(t.storage,t._location,PQ());return t.storage.makeRequestWithTokens(e,LQ).then(r=>{if(r===null)throw oae();return r})}function Xae(t,e){const r=Iae(t._location.path,e),n=new Ys(t._location.bucket,r);return new Ch(t.storage,n)}/** 3065 * @license 3066 * Copyright 2017 Google LLC 3067 * 3068 * Licensed under the Apache License, Version 2.0 (the "License"); 3069 * you may not use this file except in compliance with the License. 3070 * You may obtain a copy of the License at 3071 * 3072 * http://www.apache.org/licenses/LICENSE-2.0 3073 * 3074 * Unless required by applicable law or agreed to in writing, software 3075 * distributed under the License is distributed on an "AS IS" BASIS, 3076 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3077 * See the License for the specific language governing permissions and 3078 * limitations under the License. 3079 */function Yae(t){return/^[A-Za-z]+:\/\//.test(t)}function Zae(t,e){return new Ch(t,e)}function MQ(t,e){if(t instanceof L3){const r=t;if(r._bucket==null)throw aae();const n=new Ch(r,r._bucket);return e!=null?MQ(n,e):n}else return e!==void 0?Xae(t,e):t}function $ae(t,e){if(e&&Yae(e)){if(t instanceof L3)return Zae(t,e);throw dS("To use ref(service, url), the first argument must be a Storage instance.")}else return MQ(t,e)}function y6(t,e){const r=e==null?void 0:e[EQ];return r==null?null:Ys.makeFromBucketSpec(r,t)}function ese(t,e,r,n={}){t.host=`${e}:${r}`,t._protocol="http";const{mockUserToken:i}=n;i&&(t._overrideAuthToken=typeof i=="string"?i:WL(i,t.app.options.projectId))}class L3{constructor(e,r,n,i,a){this.app=e,this._authProvider=r,this._appCheckProvider=n,this._url=i,this._firebaseVersion=a,this._bucket=null,this._host=BQ,this._protocol="https",this._appId=null,this._deleted=!1,this._maxOperationRetryTime=Gie,this._maxUploadRetryTime=Jie,this._requests=new Set,i!=null?this._bucket=Ys.makeFromBucketSpec(i,this._host):this._bucket=y6(this._host,this.app.options)}get host(){return this._host}set host(e){this._host=e,this._url!=null?this._bucket=Ys.makeFromBucketSpec(this._url,e):this._bucket=y6(e,this.app.options)}get maxUploadRetryTime(){return this._maxUploadRetryTime}set maxUploadRetryTime(e){x6("time",0,Number.POSITIVE_INFINITY,e),this._maxUploadRetryTime=e}get maxOperationRetryTime(){return this._maxOperationRetryTime}set maxOperationRetryTime(e){x6("time",0,Number.POSITIVE_INFINITY,e),this._maxOperationRetryTime=e}async _getAuthToken(){if(this._overrideAuthToken)return this._overrideAuthToken;const e=this._authProvider.getImmediate({optional:!0});if(e){const r=await e.getToken();if(r!==null)return r.accessToken}return null}async _getAppCheckToken(){const e=this._appCheckProvider.getImmediate({optional:!0});
3079return e?(await e.getToken()).token:null}_delete(){return this._deleted||(this._deleted=!0,this._requests.forEach(e=>e.cancel()),this._requests.clear()),Promise.resolve()}_makeStorageReference(e){return new Ch(this,e)}_makeRequest(e,r,n,i,a=!0){if(this._deleted)return new Aae(SQ());{const s=wae(e,this._appId,n,i,r,this._firebaseVersion,a);return this._requests.add(s),s.getPromise().then(()=>this._requests.delete(s),()=>this._requests.delete(s)),s}}async makeRequestWithTokens(e,r){const[n,i]=await Promise.all([this._getAuthToken(),this._getAppCheckToken()]);return this._makeRequest(e,r,n,i).getPromise()}}const w6="@firebase/storage",b6="0.13.2";/** 3080 * @license 3081 * Copyright 2020 Google LLC 3082 * 3083 * Licensed under the Apache License, Version 2.0 (the "License"); 3084 * you may not use this file except in compliance with the License. 3085 * You may obtain a copy of the License at 3086 * 3087 * http://www.apache.org/licenses/LICENSE-2.0 3088 * 3089 * Unless required by applicable law or agreed to in writing, software 3090 * distributed under the License is distributed on an "AS IS" BASIS, 3091 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3092 * See the License for the specific language governing permissions and 3093 * limitations under the License. 3094 */const QQ="storage";function tse(t,e,r){return t=ei(t),Gae(t,e,r)}function rse(t){return t=ei(t),Jae(t)}function nse(t,e){return t=ei(t),$ae(t,e)}function ise(t=KF(),e){t=ei(t);const n=FC(t,QQ).getImmediate({identifier:e}),i=HL("storage");return i&&ase(n,...i),n}function ase(t,e,r,n={}){ese(t,e,r,n)}function sse(t,{instanceIdentifier:e}){const r=t.getProvider("app").getImmediate(),n=t.getProvider("auth-internal"),i=t.getProvider("app-check-internal");return new L3(r,n,i,e,Uh)}function ose(){vh(new Wu(QQ,sse,"PUBLIC").setMultipleInstances(!0)),ac(w6,b6,""),ac(w6,b6,"esm2017")}ose();const lse={apiKey:"AIzaSyDJ7VWOR2dT68y2C8aYk0dtsOSmQ_-Hda8",authDomain:"ccf-web-59053.firebaseapp.com",databaseURL:"https://ccf-web-59053-default-rtdb.europe-west1.firebasedatabase.app",projectId:"ccf-web-59053",storageBucket:"ccf-web-59053.firebasestorage.app",messagingSenderId:"298237583065",appId:"1:298237583065:web:4d4ccc777726d8a6d0e8c8"};let vy,HQ,D0,zQ;try{vy=YL(lse),HQ=Wie(vy),D0=jte(vy),zQ=ise(vy),gee(D0,XM).catch(t=>{console.error("Error setting auth persistence:",t)})}catch(t){console.error("Error initializing Firebase:",t)}const JC=HQ,Jw=async(t,e="IMAGENES EVENTOS")=>{try{console.log("ð¤ Iniciando subida de archivo:",{nombre:t.name,tamaño:`${(t.size/1024/1024).toFixed(2)}MB`,tipo:t.type,carpeta:e});const r=e==="documents"||e==="CREACION EMPRESA"?10*1024*1024:20*1024*1024;if(t.size>r){const u=`El archivo no puede superar los ${r/1048576}MB`;throw console.error("â Error de tamaño:",u),new Error(u)}if(!(e==="documents"||e==="CREACION EMPRESA"?["image/","application/pdf","application/msword","application/vnd.openxmlformats-officedocument.wordprocessingml.document"]:["image/"]).some(A=>t.type.startsWith(A)||t.type===A)){const u=`Solo se permiten ${e==="documents"||e==="CREACION EMPRESA"?"imágenes, PDFs o documentos de Word":"archivos de imagen"}`;throw console.error("â Error de tipo:",u,"Tipo recibido:",t.type),new Error(u)}const a=e==="IMAGENES EVENTOS"?D0.currentUser:null;if(e==="IMAGENES EVENTOS"&&!a){const A="Debes iniciar sesión para subir imágenes de eventos";throw console.error("â Error de autenticación:",A),new Error(A)}console.log("â Validaciones pasadas, subiendo archivo...");const s=nse(zQ,`${e}/${Date.now()}_${t.name}`),o=await tse(s,t),c=await rse(o.ref);return console.log("â Archivo subido exitosamente:",c),c}catch(r){throw console.error("â Error durante la subida:",r),r instanceof Error?r:new Error("Error al subir el archivo. Por favor, inténtelo de nuevo.")}},VQ=Z.createContext({isAuthenticated:!1,user:null,loading:!0,error:null,login:async()=>{},logout:async()=>{},clearError:()=>{}}),cse=({children:t})=>{const[e,r]=Z.useState(!1),[n,i]=Z.useState(null),[a,s]=Z.useState(!0),[o,c]=Z.useState(null);Z.useEffect(()=>{const f=yee(D0,h=>{i(h),r(!!h),s(!1)});return()=>f()},[]);const A=async(f,h)=>{try{c(null),await mee(D0,f,h)}catch(m){throw console.error("Error en inicio de sesión:",m),m instanceof Error?c("Credenciales inválidas. Por favor, verifique su email y contraseña."):c("Error al iniciar sesión. Por favor, inténtelo de nuevo."),m}},u=async()=>{try{c(null),await wee(D0)}catch(f){console.error("Error al cerrar sesión:",f),c("Error al cerrar sesión. Por favor, inténtelo de nuevo.")}},d=()=>c(null);return l.jsx(VQ.Provider,{value:{isAuthenticated:e,user:n,loading:a,error:o,login:A,logout:u,clearError:d},children:t})},XC=()=>Z.useContext(VQ);/** 3095 * @license lucide-react v0.344.0 - ISC 3096 * 3097 * This source code is licensed under the ISC license. 3098 * See the LICENSE file in the root directory of this source tree. 3099 */var Ase={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"};/** 3100 * @license lucide-react v0.344.0 - ISC 3101 * 3102 * This source code is licensed under the ISC license. 3103 * See the LICENSE file in the root directory of this source tree. 3104 */const use=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase().trim(),Ct=(t,e)=>{const r=Z.forwardRef(({color:n="currentColor",size:i=24,strokeWidth:a=2,absoluteStrokeWidth:s,className:o="",children:c,...A},u)=>Z.createElement("svg",{ref:u,...Ase,width:i,height:i,stroke:n,strokeWidth:s?Number(a)*24/Number(i):a,className:["lucide",`lucide-${use(t)}`,o].join(" "),...A},[...e.map(([d,f])=>
3104Z.createElement(d,f)),...Array.isArray(c)?c:[c]]));return r.displayName=`${t}`,r};/** 3105 * @license lucide-react v0.344.0 - ISC 3106 * 3107 * This source code is licensed under the ISC license. 3108 * See the LICENSE file in the root directory of this source tree. 3109 */const rs=Ct("AlertCircle",[["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"}]]);/** 3110 * @license lucide-react v0.344.0 - ISC 3111 * 3112 * This source code is licensed under the ISC license. 3113 * See the LICENSE file in the root directory of this source tree. 3114 */const C6=Ct("AlertTriangle",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z",key:"c3ski4"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/** 3115 * @license lucide-react v0.344.0 - ISC 3116 * 3117 * This source code is licensed under the ISC license. 3118 * See the LICENSE file in the root directory of this source tree. 3119 */const dse=Ct("Archive",[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]]);/** 3120 * @license lucide-react v0.344.0 - ISC 3121 * 3122 * This source code is licensed under the ISC license. 3123 * See the LICENSE file in the root directory of this source tree. 3124 */const hS=Ct("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/** 3125 * @license lucide-react v0.344.0 - ISC 3126 * 3127 * This source code is licensed under the ISC license. 3128 * See the LICENSE file in the root directory of this source tree. 3129 */const WQ=Ct("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/** 3130 * @license lucide-react v0.344.0 - ISC 3131 * 3132 * This source code is licensed under the ISC license. 3133 * See the LICENSE file in the root directory of this source tree. 3134 */const hse=Ct("ArrowUpDown",[["path",{d:"m21 16-4 4-4-4",key:"f6ql7i"}],["path",{d:"M17 20V4",key:"1ejh1v"}],["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}]]);/** 3135 * @license lucide-react v0.344.0 - ISC 3136 * 3137 * This source code is licensed under the ISC license. 3138 * See the LICENSE file in the root directory of this source tree. 3139 */const B6=Ct("Award",[["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}],["path",{d:"M15.477 12.89 17 22l-5-3-5 3 1.523-9.11",key:"em7aur"}]]);/** 3140 * @license lucide-react v0.344.0 - ISC 3141 * 3142 * This source code is licensed under the ISC license. 3143 * See the LICENSE file in the root directory of this source tree. 3144 */const KQ=Ct("BadgeCheck",[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/** 3145 * @license lucide-react v0.344.0 - ISC 3146 * 3147 * This source code is licensed under the ISC license. 3148 * See the LICENSE file in the root directory of this source tree. 3149 */const qQ=Ct("BookOpen",[["path",{d:"M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z",key:"vv98re"}],["path",{d:"M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z",key:"1cyq3y"}]]);/** 3150 * @license lucide-react v0.344.0 - ISC 3151 * 3152 * This source code is licensed under the ISC license. 3153 * See the LICENSE file in the root directory of this source tree. 3154 */const _s=Ct("Briefcase",[["rect",{width:"20",height:"14",x:"2",y:"7",rx:"2",ry:"2",key:"eto64e"}],["path",{d:"M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"zwj3tp"}]]);/** 3155 * @license lucide-react v0.344.0 - ISC 3156 * 3157 * This source code is licensed under the ISC license. 3158 * See the LICENSE file in the root directory of this source tree. 3159 */const Bh=Ct("Building",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",ry:"2",key:"76otgf"}],["path",{d:"M9 22v-4h6v4",key:"r93iot"}],["path",{d:"M8 6h.01",key:"1dz90k"}],["path",{d:"M16 6h.01",key:"1x0f13"}],["path",{d:"M12 6h.01",key:"1vi96p"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M8 14h.01",key:"6423bh"}]]);/** 3160 * @license lucide-react v0.344.0 - ISC 3161 * 3162 * This source code is licensed under the ISC license. 3163 * See the LICENSE file in the root directory of this source tree. 3164 */const Jr=Ct("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"}]]);/** 3165 * @license lucide-react v0.344.0 - ISC 3166 * 3167 * This source code is licensed under the ISC license. 3168 * See the LICENSE file in the root directory of this source tree. 3169 */const fse=Ct("CheckCircle2",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/** 3170 * @license lucide-react v0.344.0 - ISC 3171 * 3172 * This source code is licensed under the ISC license. 3173 * See the LICENSE file in the root directory of this source tree. 3174 */const ca=Ct("CheckCircle",[["path",{d:"M22 11.08V12a10 10 0 1 1-5.93-9.14",key:"g774vq"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/** 3175 * @license lucide-react v0.344.0 - ISC 3176 * 3177 * This source code is licensed under the ISC license. 3178 * See the LICENSE file in the root directory of this source tree. 3179 */const Fo=Ct("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/** 3180 * @license lucide-react v0.344.0 - ISC 3181 * 3182 * This source code is licensed under the ISC license. 3183 * See the LICENSE file in the root directory of this source tree. 3184 */const qv=Ct("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/** 3185 * @license lucide-react v0.344.0 - ISC 3186 * 3187 * This source code is licensed under the ISC license. 3188 * See the LICENSE file in the root directory of this source tree. 3189 */const L1=Ct("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/** 3190 * @license lucide-react v0.344.0 - ISC 3191 * 3192 * This source code is licensed under the ISC license. 3193 * See the LICENSE file in the root directory of this source tree. 3194 */const jp=Ct("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/** 3195 * @license lucide-react v0.344.0 - ISC 3196 * 3197 * This source code is licensed under the ISC license. 3198 * See the LICENSE file in the root directory of this source tree. 3199 */const YC=Ct("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/** 3200 * @license lucide-react v0.344.0 - ISC 3201 * 3202 * This source code is licensed under the ISC license. 3203 * See the LICENSE file in the root directory of this source tree. 3204 */const da=Ct("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/** 3205 * @license lucide-react v0.344.0 - ISC 3206 * 3207 * This source code is licensed under the ISC license. 3208 * See the LICENSE file in the root directory of this source tree. 3209 */const pse=Ct("Code2",[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]]);/** 3210 * @license lucide-react v0.344.0 - ISC 3211 * 3212 * This source code is licensed under the ISC license. 3213 * See the LICENSE file in the root directory of this source tree. 3214 */const mse=Ct("Code",[["polyline",{points:"16 18 22 12 16 6",key:"z7tu5w"}],["polyline",{points:"8 6 2 12 8 18",key:"1eg1df"}]]);/** 3215 * @license lucide-react v0.344.0 - ISC 3216 * 3217 * This source code is licensed under the ISC license. 3218 * See the LICENSE file in the root directory of this source tree.
3219 */const $A=Ct("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);/** 3220 * @license lucide-react v0.344.0 - ISC 3221 * 3222 * This source code is licensed under the ISC license. 3223 * See the LICENSE file in the root directory of this source tree. 3224 */const GQ=Ct("CreditCard",[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]]);/** 3225 * @license lucide-react v0.344.0 - ISC 3226 * 3227 * This source code is licensed under the ISC license. 3228 * See the LICENSE file in the root directory of this source tree. 3229 */const gse=Ct("Dessert",[["circle",{cx:"12",cy:"4",r:"2",key:"muu5ef"}],["path",{d:"M10.2 3.2C5.5 4 2 8.1 2 13a2 2 0 0 0 4 0v-1a2 2 0 0 1 4 0v4a2 2 0 0 0 4 0v-4a2 2 0 0 1 4 0v1a2 2 0 0 0 4 0c0-4.9-3.5-9-8.2-9.8",key:"lfo06j"}],["path",{d:"M3.2 14.8a9 9 0 0 0 17.6 0",key:"12xarc"}]]);/** 3230 * @license lucide-react v0.344.0 - ISC 3231 * 3232 * This source code is licensed under the ISC license. 3233 * See the LICENSE file in the root directory of this source tree. 3234 */const Xa=Ct("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"}]]);/** 3235 * @license lucide-react v0.344.0 - ISC 3236 * 3237 * This source code is licensed under the ISC license. 3238 * See the LICENSE file in the root directory of this source tree. 3239 */const gn=Ct("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);/** 3240 * @license lucide-react v0.344.0 - ISC 3241 * 3242 * This source code is licensed under the ISC license. 3243 * See the LICENSE file in the root directory of this source tree. 3244 */const E6=Ct("EyeOff",[["path",{d:"M9.88 9.88a3 3 0 1 0 4.24 4.24",key:"1jxqfv"}],["path",{d:"M10.73 5.08A10.43 10.43 0 0 1 12 5c7 0 10 7 10 7a13.16 13.16 0 0 1-1.67 2.68",key:"9wicm4"}],["path",{d:"M6.61 6.61A13.526 13.526 0 0 0 2 12s3 7 10 7a9.74 9.74 0 0 0 5.39-1.61",key:"1jreej"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]]);/** 3245 * @license lucide-react v0.344.0 - ISC 3246 * 3247 * This source code is licensed under the ISC license. 3248 * See the LICENSE file in the root directory of this source tree. 3249 */const fS=Ct("Eye",[["path",{d:"M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z",key:"rwhkz3"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/** 3250 * @license lucide-react v0.344.0 - ISC 3251 * 3252 * This source code is licensed under the ISC license. 3253 * See the LICENSE file in the root directory of this source tree. 3254 */const vse=Ct("Facebook",[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]]);/** 3255 * @license lucide-react v0.344.0 - ISC 3256 * 3257 * This source code is licensed under the ISC license. 3258 * See the LICENSE file in the root directory of this source tree. 3259 */const xse=Ct("FileArchive",[["path",{d:"M16 22h2a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v18",key:"1oywqq"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["circle",{cx:"10",cy:"20",r:"2",key:"1xzdoj"}],["path",{d:"M10 7V6",key:"dljcrl"}],["path",{d:"M10 12v-1",key:"v7bkov"}],["path",{d:"M10 18v-2",key:"1cjy8d"}]]);/** 3260 * @license lucide-react v0.344.0 - ISC 3261 * 3262 * This source code is licensed under the ISC license. 3263 * See the LICENSE file in the root directory of this source tree. 3264 */const yse=Ct("FileDown",[["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:"M12 18v-6",key:"17g6i2"}],["path",{d:"m9 15 3 3 3-3",key:"1npd3o"}]]);/** 3265 * @license lucide-react v0.344.0 - ISC 3266 * 3267 * This source code is licensed under the ISC license. 3268 * See the LICENSE file in the root directory of this source tree. 3269 */const wse=Ct("FileSpreadsheet",[["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:"M8 13h2",key:"yr2amv"}],["path",{d:"M14 13h2",key:"un5t4a"}],["path",{d:"M8 17h2",key:"2yhykz"}],["path",{d:"M14 17h2",key:"10kma7"}]]);/** 3270 * @license lucide-react v0.344.0 - ISC 3271 * 3272 * This source code is licensed under the ISC license. 3273 * See the LICENSE file in the root directory of this source tree. 3274 */const wl=Ct("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"}]]);/** 3275 * @license lucide-react v0.344.0 - ISC 3276 * 3277 * This source code is licensed under the ISC license. 3278 * See the LICENSE file in the root directory of this source tree. 3279 */const pS=Ct("Filter",[["polygon",{points:"22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3",key:"1yg77f"}]]);/** 3280 * @license lucide-react v0.344.0 - ISC 3281 * 3282 * This source code is licensed under the ISC license. 3283 * See the LICENSE file in the root directory of this source tree. 3284 */const bse=Ct("Flame",[["path",{d:"M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.153.433-2.294 1-3a2.5 2.5 0 0 0 2.5 2.5z",key:"96xj49"}]]);/** 3285 * @license lucide-react v0.344.0 - ISC 3286 * 3287 * This source code is licensed under the ISC license. 3288 * See the LICENSE file in the root directory of this source tree. 3289 */const Ru=Ct("GraduationCap",[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]]);/** 3290 * @license lucide-react v0.344.0 - ISC 3291 * 3292 * This source code is licensed under the ISC license. 3293 * See the LICENSE file in the root directory of this source tree. 3294 */const Cse=Ct("Home",[["path",{d:"m3 9 9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"y5dka4"}],["polyline",{points:"9 22 9 12 15 12 15 22",key:"e2us08"}]]);/** 3295 * @license lucide-react v0.344.0 - ISC 3296 * 3297 * This source code is licensed under the ISC license. 3298 * See the LICENSE file in the root directory of this source tree. 3299 */const N6=Ct("Image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]]);/** 3300 * @license lucide-react v0.344.0 - ISC 3301 * 3302 * This source code is licensed under the ISC license. 3303 * See the LICENSE file in the root directory of this source tree.
3304 */const Bse=Ct("Import",[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m8 11 4 4 4-4",key:"1dohi6"}],["path",{d:"M8 5H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-4",key:"1ywtjm"}]]);/** 3305 * @license lucide-react v0.344.0 - ISC 3306 * 3307 * This source code is licensed under the ISC license. 3308 * See the LICENSE file in the root directory of this source tree. 3309 */const Ese=Ct("Instagram",[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]]);/** 3310 * @license lucide-react v0.344.0 - ISC 3311 * 3312 * This source code is licensed under the ISC license. 3313 * See the LICENSE file in the root directory of this source tree. 3314 */const xy=Ct("LayoutDashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]);/** 3315 * @license lucide-react v0.344.0 - ISC 3316 * 3317 * This source code is licensed under the ISC license. 3318 * See the LICENSE file in the root directory of this source tree. 3319 */const Nse=Ct("Link2",[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]]);/** 3320 * @license lucide-react v0.344.0 - ISC 3321 * 3322 * This source code is licensed under the ISC license. 3323 * See the LICENSE file in the root directory of this source tree. 3324 */const Sse=Ct("Link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]]);/** 3325 * @license lucide-react v0.344.0 - ISC 3326 * 3327 * This source code is licensed under the ISC license. 3328 * See the LICENSE file in the root directory of this source tree. 3329 */const _se=Ct("Linkedin",[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]]);/** 3330 * @license lucide-react v0.344.0 - ISC 3331 * 3332 * This source code is licensed under the ISC license. 3333 * See the LICENSE file in the root directory of this source tree. 3334 */const Fse=Ct("List",[["line",{x1:"8",x2:"21",y1:"6",y2:"6",key:"7ey8pc"}],["line",{x1:"8",x2:"21",y1:"12",y2:"12",key:"rjfblc"}],["line",{x1:"8",x2:"21",y1:"18",y2:"18",key:"c3b1m8"}],["line",{x1:"3",x2:"3.01",y1:"6",y2:"6",key:"1g7gq3"}],["line",{x1:"3",x2:"3.01",y1:"12",y2:"12",key:"1pjlvk"}],["line",{x1:"3",x2:"3.01",y1:"18",y2:"18",key:"28t2mc"}]]);/** 3335 * @license lucide-react v0.344.0 - ISC 3336 * 3337 * This source code is licensed under the ISC license. 3338 * See the LICENSE file in the root directory of this source tree. 3339 */const Tse=Ct("Loader2",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/** 3340 * @license lucide-react v0.344.0 - ISC 3341 * 3342 * This source code is licensed under the ISC license. 3343 * See the LICENSE file in the root directory of this source tree. 3344 */const JQ=Ct("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"}]]);/** 3345 * @license lucide-react v0.344.0 - ISC 3346 * 3347 * This source code is licensed under the ISC license. 3348 * See the LICENSE file in the root directory of this source tree. 3349 */const S6=Ct("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"}]]);/** 3350 * @license lucide-react v0.344.0 - ISC 3351 * 3352 * This source code is licensed under the ISC license. 3353 * See the LICENSE file in the root directory of this source tree. 3354 */const Ip=Ct("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/** 3355 * @license lucide-react v0.344.0 - ISC 3356 * 3357 * This source code is licensed under the ISC license. 3358 * See the LICENSE file in the root directory of this source tree. 3359 */const Eh=Ct("MapPin",[["path",{d:"M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z",key:"2oe9fu"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);/** 3360 * @license lucide-react v0.344.0 - ISC 3361 * 3362 * This source code is licensed under the ISC license. 3363 * See the LICENSE file in the root directory of this source tree. 3364 */const pb=Ct("Megaphone",[["path",{d:"m3 11 18-5v12L3 14v-3z",key:"n962bs"}],["path",{d:"M11.6 16.8a3 3 0 1 1-5.8-1.6",key:"1yl0tm"}]]);/** 3365 * @license lucide-react v0.344.0 - ISC 3366 * 3367 * This source code is licensed under the ISC license. 3368 * See the LICENSE file in the root directory of this source tree. 3369 */const jse=Ct("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/** 3370 * @license lucide-react v0.344.0 - ISC 3371 * 3372 * This source code is licensed under the ISC license. 3373 * See the LICENSE file in the root directory of this source tree. 3374 */const Ise=Ct("MoreVertical",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}]]);/** 3375 * @license lucide-react v0.344.0 - ISC 3376 * 3377 * This source code is licensed under the ISC license. 3378 * See the LICENSE file in the root directory of this source tree. 3379 */const kse=Ct("PenLine",[["path",{d:"M12 20h9",key:"t2du7b"}],["path",{d:"M16.5 3.5a2.12 2.12 0 0 1 3 3L7 19l-4 1 1-4Z",key:"ymcmye"}]]);/** 3380 * @license lucide-react v0.344.0 - ISC 3381 * 3382 * This source code is licensed under the ISC license. 3383 * See the LICENSE file in the root directory of this source tree. 3384 */const Pse=Ct("Pencil",[["path",{d:"M17 3a2.85 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5Z",key:"5qss01"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]]);/** 3385 * @license lucide-react v0.344.0 - ISC 3386 * 3387 * This source code is licensed under the ISC license. 3388 * See the LICENSE file in the root directory of this source tree. 3389 */const Dse=Ct("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);/** 3390 * @license lucide-react v0.344.0 - ISC 3391 * 3392 * This source code is licensed under the ISC license. 3393 * See the LICENSE file in the root directory of this source tree. 3394 */const mS=Ct("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/** 3395 * @license lucide-react v0.344.0 - ISC 3396 * 3397 * This source code is licensed under the ISC license. 3398 * See the LICENSE file in the root directory of this source tree. 3399 */const gS=Ct("Printer",[["polyline",{points:"6 9 6 2 18 2 18 9",key:"1306q4"}],["path",{d:"M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2",key:"143wyd"}
3399],["rect",{width:"12",height:"8",x:"6",y:"14",key:"5ipwut"}]]);/** 3400 * @license lucide-react v0.344.0 - ISC 3401 * 3402 * This source code is licensed under the ISC license. 3403 * See the LICENSE file in the root directory of this source tree. 3404 */const _6=Ct("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"}]]);/** 3405 * @license lucide-react v0.344.0 - ISC 3406 * 3407 * This source code is licensed under the ISC license. 3408 * See the LICENSE file in the root directory of this source tree. 3409 */const Ose=Ct("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"}]]);/** 3410 * @license lucide-react v0.344.0 - ISC 3411 * 3412 * This source code is licensed under the ISC license. 3413 * See the LICENSE file in the root directory of this source tree. 3414 */const Rse=Ct("Save",[["path",{d:"M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z",key:"1owoqh"}],["polyline",{points:"17 21 17 13 7 13 7 21",key:"1md35c"}],["polyline",{points:"7 3 7 8 15 8",key:"8nz8an"}]]);/** 3415 * @license lucide-react v0.344.0 - ISC 3416 * 3417 * This source code is licensed under the ISC license. 3418 * See the LICENSE file in the root directory of this source tree. 3419 */const vS=Ct("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/** 3420 * @license lucide-react v0.344.0 - ISC 3421 * 3422 * This source code is licensed under the ISC license. 3423 * See the LICENSE file in the root directory of this source tree. 3424 */const F6=Ct("Share2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]]);/** 3425 * @license lucide-react v0.344.0 - ISC 3426 * 3427 * This source code is licensed under the ISC license. 3428 * See the LICENSE file in the root directory of this source tree. 3429 */const Use=Ct("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);/** 3430 * @license lucide-react v0.344.0 - ISC 3431 * 3432 * This source code is licensed under the ISC license. 3433 * See the LICENSE file in the root directory of this source tree. 3434 */const XQ=Ct("Sparkles",[["path",{d:"m12 3-1.912 5.813a2 2 0 0 1-1.275 1.275L3 12l5.813 1.912a2 2 0 0 1 1.275 1.275L12 21l1.912-5.813a2 2 0 0 1 1.275-1.275L21 12l-5.813-1.912a2 2 0 0 1-1.275-1.275L12 3Z",key:"17u4zn"}],["path",{d:"M5 3v4",key:"bklmnn"}],["path",{d:"M19 17v4",key:"iiml17"}],["path",{d:"M3 5h4",key:"nem4j1"}],["path",{d:"M17 19h4",key:"lbex7p"}]]);/** 3435 * @license lucide-react v0.344.0 - ISC 3436 * 3437 * This source code is licensed under the ISC license. 3438 * See the LICENSE file in the root directory of this source tree. 3439 */const Nh=Ct("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]);/** 3440 * @license lucide-react v0.344.0 - ISC 3441 * 3442 * This source code is licensed under the ISC license. 3443 * See the LICENSE file in the root directory of this source tree. 3444 */const Lse=Ct("TrendingDown",[["polyline",{points:"22 17 13.5 8.5 8.5 13.5 2 7",key:"1r2t7k"}],["polyline",{points:"16 17 22 17 22 11",key:"11uiuu"}]]);/** 3445 * @license lucide-react v0.344.0 - ISC 3446 * 3447 * This source code is licensed under the ISC license. 3448 * See the LICENSE file in the root directory of this source tree. 3449 */const lc=Ct("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);/** 3450 * @license lucide-react v0.344.0 - ISC 3451 * 3452 * This source code is licensed under the ISC license. 3453 * See the LICENSE file in the root directory of this source tree. 3454 */const bl=Ct("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"}]]);/** 3455 * @license lucide-react v0.344.0 - ISC 3456 * 3457 * This source code is licensed under the ISC license. 3458 * See the LICENSE file in the root directory of this source tree. 3459 */const up=Ct("Video",[["path",{d:"m22 8-6 4 6 4V8Z",key:"50v9me"}],["rect",{width:"14",height:"12",x:"2",y:"6",rx:"2",ry:"2",key:"1rqjg6"}]]);/** 3460 * @license lucide-react v0.344.0 - ISC 3461 * 3462 * This source code is licensed under the ISC license. 3463 * See the LICENSE file in the root directory of this source tree. 3464 */const Mse=Ct("Wrench",[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z",key:"cbrjhi"}]]);/** 3465 * @license lucide-react v0.344.0 - ISC 3466 * 3467 * This source code is licensed under the ISC license. 3468 * See the LICENSE file in the root directory of this source tree. 3469 */const mb=Ct("XCircle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);/** 3470 * @license lucide-react v0.344.0 - ISC 3471 * 3472 * This source code is licensed under the ISC license. 3473 * See the LICENSE file in the root directory of this source tree. 3474 */const vi=Ct("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
3474],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/** 3475 * @license lucide-react v0.344.0 - ISC 3476 * 3477 * This source code is licensed under the ISC license. 3478 * See the LICENSE file in the root directory of this source tree. 3479 */const Qse=Ct("ZoomIn",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"11",x2:"11",y1:"8",y2:"14",key:"1vmskp"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]),YQ=Z.memo(()=>{const{isAuthenticated:t,logout:e}=XC(),[r,n]=Z.useState(!1),[i,a]=Z.useState(!1),[s,o]=Z.useState(!1),[c,A]=Z.useState(!1),[u,d]=Z.useState(null),[f,h]=Z.useState(0),m=ud(),p="https://eventosccf.netlify.app",x=async(v,y)=>{try{await navigator.clipboard.writeText(v),d(y),setTimeout(()=>d(null),2e3)}catch{window.open(v,"_blank")}};return Z.useEffect(()=>{const v=y=>{y.target.closest("[data-calendar-dropdown]")||o(!1)};return document.addEventListener("mousedown",v),()=>document.removeEventListener("mousedown",v)},[]),Z.useEffect(()=>{const v=()=>{n(window.scrollY>20);const y=document.documentElement.scrollHeight-document.documentElement.clientHeight,b=window.scrollY/y*100;h(b)};return window.addEventListener("scroll",v),()=>window.removeEventListener("scroll",v)},[]),Z.useEffect(()=>{a(!1)},[m]),l.jsxs(l.Fragment,{children:[l.jsx("div",{className:"scroll-progress fixed top-0 left-0 z-[60] h-1",style:{width:`${f}%`}}),l.jsxs("nav",{className:`fixed top-0 left-0 right-0 z-50 transition-all duration-500 ${r?"bg-white/95 backdrop-blur-2xl shadow-2xl border-b border-neutral-200/50 py-3":"bg-white/80 backdrop-blur-xl py-5"}`,children:[l.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-primary/5 via-transparent to-accent-blue/5 opacity-0 hover:opacity-100 transition-opacity duration-700 pointer-events-none"}),l.jsxs("div",{className:"container mx-auto px-6",children:[l.jsxs("div",{className:"flex items-center justify-between",children:[l.jsxs(Jl,{to:"/",className:"group relative overflow-hidden transition-all duration-500 hover:scale-105 focus:outline-none focus:ring-2 focus:ring-primary/20 rounded-xl p-1 shimmer-effect",children:[l.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-primary/10 via-accent-gold/10 to-accent-blue/10 opacity-0 group-hover:opacity-100 transition-opacity duration-500 rounded-xl"}),l.jsx("img",{src:"https://firebasestorage.googleapis.com/v0/b/ccf-web-59053.firebasestorage.app/o/IMAGENES%20EVENTOS%2F1024por500.jpg?alt=media&token=c8ece0f1-1d8b-4270-bee3-15263f5aeeed",alt:"Cámara de Comercio de Fuerteventura",className:`relative z-10 transition-all duration-500 ${r?"h-9":"h-11"} w-auto object-contain`,loading:"eager"})]}),l.jsxs("div",{className:"hidden lg:flex items-center gap-2",children:[l.jsxs("a",{href:"https://www.camarafuerteventura.org",target:"_blank",rel:"noopener noreferrer",className:"group relative flex items-center gap-2 px-5 py-2.5 text-sm font-semibold text-neutral-700 hover:text-primary rounded-xl transition-all duration-300 overflow-hidden",children:[l.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-primary/10 to-accent-blue/10 opacity-0 group-hover:opacity-100 transition-opacity duration-300"}),l.jsx("span",{className:"relative z-10",children:"Web Principal"}),l.jsx(gn,{className:"relative z-10 w-4 h-4 transform group-hover:translate-x-1 group-hover:-translate-y-1 transition-transform duration-300"})]}),l.jsx("div",{className:"w-px h-7 bg-gradient-to-b from-transparent via-neutral-300 to-transparent mx-2"}),l.jsxs("div",{className:"relative","data-calendar-dropdown":!0,children:[l.jsxs("button",{onClick:()=>o(!s),className:"group relative flex items-center gap-2 px-5 py-2.5 text-sm font-semibold text-neutral-700 hover:text-primary rounded-xl transition-all duration-300 overflow-hidden",children:[l.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-primary/10 to-accent-gold/10 opacity-0 group-hover:opacity-100 transition-opacity duration-300"}),l.jsx(Jr,{className:"relative z-10 w-4 h-4"}),l.jsx("span",{className:"relative z-10",children:"Calendario"}),l.jsx(qv,{className:`relative z-10 w-3.5 h-3.5 transition-transform duration-300 ${s?"rotate-180":""}`})]}),s&&l.jsx("div",{className:"absolute right-0 top-full mt-2 w-72 bg-white rounded-2xl shadow-2xl border border-neutral-200/60 overflow-hidden z-50",children:l.jsxs("div",{className:"p-2",children:[l.jsx("div",{className:"px-3 py-2 text-xs font-bold text-neutral-400 uppercase tracking-wider",children:"Suscribirse al calendario"}),l.jsxs("button",{onClick:()=>x(`${p}/calendario-presencial.ics`,"presencial"),className:"group w-full flex items-center gap-3 px-3 py-3 rounded-xl hover:bg-neutral-50 transition-colors duration-200 text-left",children:[l.jsx("div",{className:"w-9 h-9 rounded-lg bg-emerald-100 flex items-center justify-center shrink-0",children:l.jsx(Eh,{className:"w-4 h-4 text-emerald-600"})}),l.jsxs("div",{className:"flex-1 min-w-0",children:[l.jsx("div",{className:"text-sm font-semibold text-neutral-800",children:"Eventos Presenciales"}),l.jsx("div",{className:"text-xs text-neutral-500 truncate",children:"calendario-presencial.ics"})]}),u==="presencial"?l.jsx(Fo,{className:"w-4 h-4 text-emerald-500 shrink-0"}):l.jsx($A,{className:"w-4 h-4 text-neutral-400 group-hover:text-neutral-600 shrink-0 transition-colors"})]}),l.jsxs("button",{onClick:()=>x(`${p}/calendario-virtual.ics`,"virtual"),className:"group w-full flex items-center gap-3 px-3 py-3 rounded-xl hover:bg-neutral-50 transition-colors duration-200 text-left",children:[l.jsx("div",{className:"w-9 h-9 rounded-lg bg-blue-100 flex items-center justify-center shrink-0",children:l.jsx(up,{className:"w-4 h-4 text-blue-600"})}),l.jsxs("div",{className:"flex-1 min-w-0",children:[l.jsx("div",{className:"text-sm font-semibold text-neutral-800",children:"Eventos Virtuales"}),l.jsx("div",{className:"text-xs text-neutral-500 truncate",children:"calendario-virtual.ics"})]}),u==="virtual"?l.jsx(Fo,{className:"w-4 h-4 text-emerald-500 shrink-0"}):l.jsx($A,{className:"w-4 h-4 text-neutral-400 group-hover:text-neutral-600 shrink-0 transition-colors"})]}),l.jsxs("button",{onClick:()=>x(`${p}/calendario.ics`,"todos"),className:"group w-full flex items-center gap-3 px-3 py-3 rounded-xl hover:bg-neutral-50 transition-colors duration-200 text-left",children:[l.jsx("div",{className:"w-9 h-9 rounded-lg bg-neutral-100 flex items-center justify-center shrink-0",children:l.jsx(Jr,{className:"w-4 h-4 text-neutral-600"})}),l.jsxs("div",{className:"flex-1 min-w-0",children:[l.jsx("div",{className:"text-sm font-semibold text-neutral-800",children:"Todos los eventos"}),l.jsx("div",{className:"text-xs text-neutral-500 truncate",children:"calendario.ics"})]}),u==="todos"?l.jsx(Fo,{className:"w-4 h-4 text-emerald-500 shrink-0"}):l.jsx($A,{className:"w-4 h-4 text-neutral-400 group-hover:text-neutral-600 shrink-0 transition-colors"})]}),l.jsx("div",{className:"h-px bg-neutral-100 my-1"}),l.jsxs("a",{href:`${p}/api/calendario`,target:"_blank",rel:"noopener noreferrer",className:"group w-full flex items-center gap-3 px-3 py-3 rounded-xl hover:bg-neutral-50 transition-colors duration-200 text-left",children:[l.jsx("div",{className:"w-9 h-9 rounded-lg bg-neutral-100 flex items-center justify-center shrink-0",children:l.jsx(gn,{className:"w-4 h-4 text-neutral-600"})}),l.jsxs("div",{className:"flex-1 min-w-0",children:[l.jsx("div",{className:"text-sm font-semibold text-neutral-800",children:"API JSON"}),l.jsx("div",{className:"text-xs text-neutral-500 truncate",children:"Para desarrolladores"})]})]})]})})]}),l.jsx("div",{className:"w-px h-7 bg-gradient-to-b from-transparent via-neutral-300 to-transparent mx-2"}),t?l.jsxs(l.Fragment,{children:[l.jsxs(Jl,{to:"/admin/dashboard",className:"group relative flex items-center gap-2 px-5 py-2.5 text-sm font-semibold text-neutral-700 hover:text-primary rounded-xl transition-all duration-300 overflow-hidden",children:[l.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-primary/10 to-accent-gold/10 opacity-0 group-hover:opacity-100 transition-opacity duration-300"}),l.jsx(xy,{className:"relative z-10 w-4 h-4"}),l.jsx("span",{className:"relative z-10",children:"Dashboard"})]}),l.jsxs("button",{onClick:()=>e(),className:"group relative flex items-center gap-2 ml-2 px-5 py-2.5 text-white text-sm font-bold rounded-xl transition-all duration-300 overflow-hidden hover:scale-105 active:scale-95 focus:outline-none focus:ring-2 focus:ring-primary/50 focus:ring-offset-2 shadow-lg hover:shadow-xl ripple-effect",style:{background:"linear-gradient(135deg, #CF163D 0%, #E91E63 100%)",boxShadow:"0 8px 20px rgba(207, 22, 61, 0.3)"},children:[l.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-primary-dark to-primary opacity-0 group-hover:opacity-100 transition-opacity duration-300"}),l.jsx(S6,{className:"relative z-10 w-4 h-4"}),l.jsx("span",{className:"relative z-10",children:"Salir"})]})]}):l.jsxs(Jl,{to:"/admin",className:"group relative flex items-center gap-2 px-5 py-2.5 text-sm font-semibold text-neutral-700 hover:text-primary rounded-xl transition-all duration-300 overflow-hidden",children:[l.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-primary/10 to-accent-emerald/10 opacity-0 group-hover:opacity-100 transition-opacity duration-300"}),l.jsx(xy,{className:"relative z-10 w-4 h-4"}),l.jsx("span",{className:"relative z-10",children:"Admin"})]})]}),l.jsxs("button",{onClick:()=>a(!i),className:"lg:hidden relative p-3 text-neutral-700 hover:text-primary rounded-xl transition-all duration-300 focus:outline-none focus:ring-2 focus:ring-primary/20 overflow-hidden group","aria-label":"Toggle mobile menu",children:[l.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-primary/10 to-accent-blue/10 opacity-0 group-hover:opacity-100 transition-opacity duration-300"}),l.jsxs("div",{className:"relative w-6 h-6",children:[l.jsx(jse,{className:`absolute inset-0 w-6 h-6 transition-all duration-300 ${i?"opacity-0 rotate-180 scale-50":"opacity-100 rotate-0 scale-100"}`}),l.jsx(vi,{className:`absolute inset-0 w-6 h-6 transition-all duration-300 ${i?"opacity-100 rotate-0 scale-100":"opacity-0 -rotate-180 scale-50"}`})]})]})]}),l.jsx("div",{className:`lg:hidden transition-all duration-500 ease-in-out overflow-hidden ${i?"max-h-[600px] opacity-100 mt-6":"max-h-0 opacity-0 mt-0"}`,children:l.jsxs("div",{className:"py-4 space-y-2 border-t border-gradient-to-r from-primary/20 via-accent-gold/20 to-accent-blue/20",children:[l.jsxs(Jl,{to:"/",className:"group relative flex items-center gap-3 px-4 py-3 text-neutral-700 hover:text-primary rounded-xl transition-all duration-300 font-semibold overflow-hidden",children:[l.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-primary/10 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300"}),l.jsx(Cse,{className:"relative z-10 w-5 h-5"}),l.jsx("span",{className:"relative z-10",children:"Inicio"})]}),l.jsxs("a",{href:"https://www.camarafuerteventura.org",target:"_blank",rel:"noopener noreferrer",className:"group relative flex items-center justify-between gap-3 px-4 py-3 text-neutral-700 hover:text-primary rounded-xl transition-all duration-300 font-semibold overflow-hidden",children:[l.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-accent-blue/10 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300"}),l.jsxs("div",{className:"relative z-10 flex items-center gap-3",children:[l.jsx(gn,{className:"w-5 h-5"}),l.jsx("span",{children:"Web Principal"})]})]}),l.jsx("div",{className:"h-px bg-gradient-to-r from-transparent via-neutral-200 to-transparent my-3"}),l.jsxs("div",{children:[l.jsxs("button",{onClick:()=>A(!c),className:"group relative flex items-center justify-between w-full gap-3 px-4 py-3 text-neutral-700 hover:text-primary rounded-xl transition-all duration-300 font-semibold overflow-hidden",children:[l.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-accent-gold/10 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300"}),l.jsxs("div",{className:"relative z-10 flex items-center gap-3",children:[l.jsx(Jr,{className:"w-5 h-5"}),l.jsx("span",{children:"Calendario"})]}),l.jsx(qv,{className:`relative z-10 w-4 h-4 transition-transform duration-300 ${c?"rotate-180":""}`})]}),c&&l.jsxs("div",{className:"pl-4 mt-1 space-y-1",children:[l.jsxs("button",{onClick:()=>x(`${p}/calendario-presencial.ics`,"presencial"),className:"group relative flex items-center gap-3 px-4 py-2.5 text-sm text-neutral-600 hover:text-primary rounded-lg transition-all duration-300 w-full",children:[l.jsx(Eh,{className:"w-4 h-4 text-emerald-500"}),l.jsx("span",{className:"flex-1 text-left",children:"Eventos Presenciales"}),u==="presencial"?l.jsx(Fo,{className:"w-4 h-4 text-emerald-500"}):l.jsx($A,{className:"w-4 h-4 text-neutral-400"})]}),l.jsxs("button",{onClick:()=>x(`${p}/calendario-virtual.ics`,"virtual"),className:"group relative flex items-center gap-3 px-4 py-2.5 text-sm text-neutral-600 hover:text-primary rounded-lg transition-all duration-300 w-full",children:[l.jsx(up,{className:"w-4 h-4 text-blue-500"}),l.jsx("span",{className:"flex-1 text-left",children:"Eventos Virtuales"}),u==="virtual"?l.jsx(Fo,{className:"w-4 h-4 text-emerald-500"}):l.jsx($A,{className:"w-4 h-4 text-neutral-400"})]}),l.jsxs("button",{onClick:()=>x(`${p}/calendario.ics`,"todos"),className:"group relative flex items-center gap-3 px-4 py-2.5 text-sm text-neutral-600 hover:text-primary rounded-lg transition-all duration-300 w-full",children:[l.jsx(Jr,{className:"w-4 h-4 text-neutral-500"}),l.jsx("span",{className:"flex-1 text-left",children:"Todos los eventos"}),u==="todos"?l.jsx(Fo,{className:"w-4 h-4 text-emerald-500"}):l.jsx($A,{className:"w-4 h-4 text-neutral-400"})]}),l.jsxs("a",{href:`${p}/api/calendario`,target:"_blank",rel:"noopener noreferrer",className:"group relative flex items-center gap-3 px-4 py-2.5 text-sm text-neutral-600 hover:text-primary rounded-lg transition-all duration-300",children:[l.jsx(gn,{className:"w-4 h-4 text-neutral-500"}
3479),l.jsx("span",{className:"flex-1",children:"API JSON (desarrolladores)"})]})]})]}),l.jsx("div",{className:"h-px bg-gradient-to-r from-transparent via-neutral-200 to-transparent my-3"}),t?l.jsxs(l.Fragment,{children:[l.jsxs(Jl,{to:"/admin/dashboard",className:"group relative flex items-center gap-3 px-4 py-3 text-neutral-700 hover:text-primary rounded-xl transition-all duration-300 font-semibold overflow-hidden",children:[l.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-accent-gold/10 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300"}),l.jsx(xy,{className:"relative z-10 w-5 h-5"}),l.jsx("span",{className:"relative z-10",children:"Dashboard"})]}),l.jsxs("button",{onClick:()=>e(),className:"group relative w-full flex items-center gap-3 px-4 py-3 text-white rounded-xl font-bold transition-all duration-300 hover:scale-[1.02] active:scale-95 focus:outline-none focus:ring-2 focus:ring-primary/50 overflow-hidden ripple-effect",style:{background:"linear-gradient(135deg, #CF163D 0%, #E91E63 100%)",boxShadow:"0 6px 20px rgba(207, 22, 61, 0.3)"},children:[l.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-primary-dark to-primary opacity-0 group-hover:opacity-100 transition-opacity duration-300"}),l.jsx(S6,{className:"relative z-10 w-5 h-5"}),l.jsx("span",{className:"relative z-10",children:"Salir"})]})]}):l.jsxs(Jl,{to:"/admin",className:"group relative flex items-center gap-3 px-4 py-3 text-neutral-700 hover:text-primary rounded-xl transition-all duration-300 font-semibold overflow-hidden",children:[l.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-accent-emerald/10 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300"}),l.jsx(xy,{className:"relative z-10 w-5 h-5"}),l.jsx("span",{className:"relative z-10",children:"Acceso Admin"})]})]})})]})]})]})});YQ.displayName="Navbar";const ZQ=Z.memo(()=>{const[t,e]=Z.useState(!1),[r,n]=Z.useState(!1),[i,a]=Z.useState(null);Z.useEffect(()=>{console.log("showCreatorModal state:",r)},[r]);const s=(c,A)=>{a({title:c,content:A}),e(!0)},o={avisoLegal:l.jsxs("div",{className:"space-y-4",children:[l.jsx("p",{children:"La Cámara Oficial de Comercio, Industria y Navegación de Fuerteventura (en adelante, la Cámara) con CIF Q-3500373-D y domicilio en C/ Secundino Alonso, 98-1º, 35600, Puerto del Rosario, Fuerteventura, es titular del sitio web www.camarafuerteventura.org."}),l.jsx("h3",{className:"text-lg font-semibold mt-6",children:"Condiciones de uso"}),l.jsx("p",{children:"El acceso y uso de este sitio web implica la aceptación de estas condiciones de uso sin reservas. Si no está de acuerdo con las mismas, deberá abstenerse de utilizar este sitio web."}),l.jsx("h3",{className:"text-lg font-semibold mt-6",children:"Propiedad intelectual"}),l.jsx("p",{children:"Los contenidos de este sitio web, incluyendo textos, imágenes, diseños, logotipos, botones, archivos de softw
3479are, combinaciones de colores, asà como la estructura, selección, ordenación y presentación de sus contenidos, se encuentran protegidos por las leyes de Propiedad Intelectual."}),l.jsx("h3",{className:"text-lg font-semibold mt-6",children:"Responsabilidad"}),l.jsx("p",{children:"La Cámara no garantiza la inexistencia de errores en el acceso al sitio web o en su contenido. La Cámara llevará a cabo las acciones necesarias para subsanar los errores, restablecer la comunicación y actualizar los contenidos cuando sea posible."})]}),privacidad:l.jsxs("div",{className:"space-y-4",children:[l.jsx("p",{children:"En cumplimiento del Reglamento General de Protección de Datos (RGPD), le informamos que:"}),l.jsx("h3",{className:"text-lg font-semibold mt-6",children:"Responsable del tratamiento"}),l.jsxs("p",{children:["Cámara Oficial de Comercio, Industria y Navegación de Fuerteventura",l.jsx("br",{}),"CIF: Q-3500373-D",l.jsx("br",{}),"Dirección: C/ Secundino Alonso, 98-1º, 35600, Puerto del Rosario"]}),l.jsx("h3",{className:"text-lg font-semibold mt-6",children:"Finalidad del tratamiento"}),l.jsx("p",{children:"Sus datos serán tratados con la finalidad de gestionar los servicios solicitados, mantener la relación comercial y enviarle información sobre nuestros servicios."}),l.jsx("h3",{className:"text-lg font-semibold mt-6",children:"Base legal"}),l.jsx("p",{children:"El tratamiento de sus datos se basa en el consentimiento que nos otorga al facilitárnoslos y en la necesidad de tratarlos para la ejecución de los servicios solicitados."}),l.jsx("h3",{className:"text-lg font-semibold mt-6",children:"Derechos"}),l.jsx("p",{children:"Puede ejercer sus derechos de acceso, rectificación, supresión, limitación, portabilidad y oposición enviando un email a [email protected]"})]}),cookies:l.jsxs("div",{className:"space-y-4",children:[l.jsx("p",{children:"Este sitio web utiliza cookies propias y de terceros para mejorar nuestros servicios y mostrarle publicidad relacionada con sus preferencias mediante el análisis de sus hábitos de navegación."}),l.jsx("h3",{className:"text-lg font-semibold mt-6",children:"¿Qué son las cookies?"}),l.jsx("p",{children:"Las cookies son pequeños archivos de texto que los sitios web almacenan en su navegador para mejorar su experiencia como usuario."}),l.jsx("h3",{className:"text-lg font-semibold mt-6",children:"Tipos de cookies que utilizamos"}),l.jsxs("ul",{className:"list-disc pl-6",children:[l.jsx("li",{children:"Cookies técnicas: Necesarias para el funcionamiento del sitio web"}),l.jsx("li",{children:"Cookies analÃticas: Para analizar el comportamiento de los usuarios"}),l.jsx("li",{children:"Cookies de personalización: Para recordar las preferencias del usuario"})]}),l.jsx("h3",{className:"text-lg font-semibold mt-6",children:"Gestión de cookies"}),l.jsx("p",{children:"Puede permitir, bloquear o eliminar las cookies instaladas en su equipo mediante la configuración de las opciones de su navegador de internet."})]})};return l.jsxs(l.Fragment,{children:[l.jsxs("footer",{className:"relative bg-gradient-to-br from-neutral-900 via-neutral-800 to-neutral-900 text-white mt-24 overflow-hidden",children:[l.jsx("div",{className:"absolute inset-0 opacity-10",children:l.jsx("div",{className:"absolute inset-0",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")`}})}),l.jsx("div",{className:"absolute top-0 left-0 right-0 h-1 bg-gradient-to-r from-primary via-accent-gold to-accent-blue"}),l.jsxs("div",{className:"relative container mx-auto px-6 pt-16 pb-8",children:[l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-12 mb-12",children:[l.jsxs("div",{className:"lg:col-span-1",children:[l.jsx("img",{src:"https://firebasestorage.googleapis.com/v0/b/ccf-web-59053.firebasestorage.app/o/IMAGENES%20EVENTOS%2F1024por500.jpg?alt=media&token=c8ece0f1-1d8b-4270-bee3-15263f5aeeed",alt:"Cámara de Comercio de Fuerteventura",className:"h-16 w-auto object-contain mb-6",loading:"lazy"}),l.jsx("p",{className:"text-neutral-400 text-sm leading-relaxed",children:"Impulsando el desarrollo empresarial y profesional en Fuerteventura."})]}),l.jsxs("div",{children:[l.jsx("h3",{className:"font-serif font-bold text-xl mb-6 bg-gradient-to-r from-white to-neutral-300 bg-clip-text text-transparent",children:"Contacto"}),l.jsxs("div",{className:"space-y-4",children:[l.jsxs("a",{href:"tel:+34928861070",className:"group flex items-center gap-3 text-neutral-300 hover:text-white transition-all duration-300",children:[l.jsx("div",{className:"w-10 h-10 rounded-xl bg-gradient-to-br from-primary/20 to-primary/10 flex items-center justify-center group-hover:scale-110 transition-transform duration-300",children:l.jsx(Dse,{className:"w-5 h-5 text-primary"})}),l.jsx("span",{className:"text-sm font-medium",children:"+34 928 861 070"})]}),l.jsxs("a",{href:"mailto:[email protected]",className:"group flex items-center gap-3 text-neutral-300 hover:text-white transition-all duration-300",children:[l.jsx("div",{className:"w-10 h-10 rounded-xl bg-gradient-to-br from-accent-blue/20 to-accent-blue/10 flex items-center justify-center group-hover:scale-110 transition-transform duration-300",children:l.jsx(Ip,{className:"w-5 h-5 text-accent-blue"})}),l.jsx("span",{className:"text-sm font-medium",children:"[email protected]"})]}),l.jsxs("div",{className:"group flex items-start gap-3 text-neutral-300",children:[l.jsx("div",{className:"w-10 h-10 rounded-xl bg-gradient-to-br from-accent-emerald/20 to-accent-emerald/10 flex items-center justify-center flex-shrink-0 mt-0.5",children:l.jsx(Eh,{className:"w-5 h-5 text-accent-emerald"})}),l.jsxs("span",{className:"text-sm font-medium leading-relaxed",children:["C/Secundino Alonso 98, 1º",l.jsx("br",{}),"Puerto del Rosario, 35600",l.jsx("br",{}),"Fuerteventura"]})]})]})]}),l.jsxs("div",{children:[l.jsx("h3",{className:"font-serif font-bold text-xl mb-6 bg-gradient-to-r from-white to-neutral-300 bg-clip-text text-transparent",children:"Información Legal"}),l.jsxs("ul",{className:"space-y-3",children:[l.jsx("li",{children:l.jsxs("button",{onClick:()=>s("Aviso Legal",o.avisoLegal),className:"group relative text-neutral-300 hover:text-white transition-colors duration-300 text-sm font-medium overflow-hidden",children:[l.jsx("span",{className:"relative z-10",children:"Aviso legal"}),l.jsx("div",{className:"absolute bottom-0 left-0 w-0 h-0.5 bg-gradient-to-r from-primary to-accent-gold group-hover:w-full transition-all duration-300"})]})}),l.jsx("li",{children:l.jsxs("button",{onClick:()=>s("PolÃtica de Privacidad",o.privacidad),className:"group relative text-neutral-300 hover:text-white transition-colors duration-300 text-sm font-medium",children:[l.jsx("span",{className:"relative z-10",children:"PolÃtica de privacidad"}),l.jsx("div",{className:"absolute bottom-0 left-0 w-0 h-0.5 bg-gradient-to-r from-primary to-accent-gold group-hover:w-full transition-all duration-300"})]})}),l.jsx("li",{children:l.jsxs("button",{onClick:()=>s("PolÃtica de Cookies",o.cookies),className:"group relative text-neutral-300 hover:text-white transition-colors duration-300 text-sm font-medium",children:[l.jsx("span",{className:"relative z-10",children:"PolÃtica de cookies"}),l.jsx("div",{className:"absolute bottom-0 left-0 w-0 h-0.5 bg-gradient-to-r from-primary to-accent-gold group-hover:w-full transition-all duration-300"})]})})]})]}),l.jsxs("div",{children:[l.jsx("h3",{className:"font-serif font-bold text-xl mb-6 bg-gradient-to-r from-white to-neutral-300 bg-clip-text text-transparent",children:"Calendario"}),l.jsxs("div",{className:"space-y-3",children:[l.jsxs("a",{href:"https://eventosccf.netlify.app/calendario.ics",className:"group flex items-center gap-3 text-neutral-300 hover:text-white transition-all duration-300",children:[l.jsx("div",{className:"w-10 h-10 rounded-xl bg-gradient-to-br from-primary/20 to-primary/10 flex items-center justify-center group-hover:scale-110 transition-transform duration-300",children:l.jsx(Jr,{className:"w-5 h-5 text-primary"})}),l.jsx("span",{className:"text-sm font-medium",children:"Suscribirse (iCal)"})]}),l.jsxs("a",{href:"https://eventosccf.netlify.app/api/calendario",target:"_blank",rel:"noopener noreferrer",className:"group flex items-center gap-3 text-neutral-300 hover:text-white transition-all duration-300",children:[l.jsx("div",{className:"w-10 h-10 rounded-xl bg-gradient-to-br from-accent-blue/20 to-accent-blue/10 flex items-center justify-center group-hover:scale-110 transition-transform duration-300",children:l.jsx(mse,{className:"w-5 h-5 text-accent-blue"})}),l.jsx("span",{className:"text-sm font-medium",children:"API JSON"})]})]})]}),l.jsxs("div",{children:[l.jsx("h3",{className:"font-serif font-bold text-xl mb-6 bg-gradient-to-r from-white to-neutral-300 bg-clip-text text-transparent",children:"SÃguenos"}),l.jsxs("div",{className:"flex items-center gap-3 mb-8",children:[l.jsx("a",{href:"#",className:"group w-12 h-12 rounded-xl bg-gradient-to-br from-white/10 to-white/5 flex items-center justify-center hover:from-primary/30 hover:to-primary/20 transition-all duration-300 hover:scale-110 hover:-translate-y-1",children:l.jsx(vse,{className:"w-5 h-5 text-neutral-300 group-hover:text-white transition-colors duration-300"})}),l.jsx("a",{href:"#",className:"group w-12 h-12 rounded-xl bg-gradient-to-br from-white/10 to-white/5 flex items-center justify-center hover:from-accent-blue/30 hover:to-accent-blue/20 transition-all duration-300 hover:scale-110 hover:-translate-y-1",children:l.jsx(_se,{className:"w-5 h-5 text-neutral-300 group-hover:text-white transition-colors duration-300"})}),l.jsx("a",{href:"#",className:"group w-12 h-12 rounded-xl bg-gradient-to-br from-white/10 to-white/5 flex items-center justify-center hover:from-accent-gold/30 hover:to-accent-gold/20 transition-all duration-300 hover:scale-110 hover:-translate-y-1",children:l.jsx(Ese,{className:"w-5 h-5 text-neutral-300 group-hover:text-white transition-colors duration-300"})})]}),l.jsxs("div",{className:"flex items-center gap-3 text-neutral-300",children:[l.jsx("div",{className:"w-10 h-10 rounded-xl bg-gradient-to-br from-accent-gold/20 to-accent-gold/10 flex items-center justify-center",children:l.jsx(da,{className:"w-5 h-5 text-accent-gold"})}),l.jsxs("div",{children:[l.jsx("p",{className:"text-sm font-bold text-white",children:"Horario"}),l.jsx("p",{className:"text-xs text-neutral-400",children:"Lun - Vie: 9:00 - 14:00"})]})]})]})]}),l.jsx("div",{className:"border-t border-white/10 pt-8",children:l.jsxs("div",{className:"flex flex-col lg:flex-row justify-between items-center gap-6",children:[l.jsx("div",{className:"text-sm text-neutral-400 text-center lg:text-left",children:"© 2025 Cámara de Comercio de Fuerteventura. Todos los derechos reservados."}),l.jsxs("div",{className:"flex items-center gap-4 text-xs text-neutral-500",children:[l.jsxs("span",{className:"text-center",children:["Plataforma desarrollada por ",l.jsx("span",{className:"font-bold text-neutral-300",children:"Jean Michel Jimmy Tordeur"})," (JM Tordeur)"]}),l.jsx("div",{className:"flex-shrink-0",children:l.jsx("img",{src:"https://firebasestorage.googleapis.com/v0/b/africagua-eb795.firebasestorage.app/o/id%20ficha%2FCaptura%20de%20pantalla%202025-10-21%20090729.png?alt=media&token=891c46ba-b27c-456e-bfcd-07126548dc3c",alt:"Jean Michel Jimmy Tordeur - JM Tordeur",className:"w-10 h-10 rounded-full object-cover border-2 border-white/20 hover:border-primary transition-colors duration-300 cursor-pointer",loading:"lazy"})})]})]})})]}),l.jsx("div",{className:"absolute bottom-0 left-0 right-0 h-px bg-gradient-to-r from-transparent via-primary to-transparent"})]}),t&&i&&l.jsx("div",{className:"fixed inset-0 bg-black bg-opacity-50 z-50 flex items-center justify-center p-4",onClick:()=>e(!1),children:l.jsx("div",{className:"bg-white border border-neutral-200 rounded-2xl max-w-2xl w-full max-h-[80vh] overflow-hidden shadow-2xl",onClick:c=>c.stopPropagation(),children:l.jsxs("div",{className:"p-6",children:[l.jsxs("div",{className:"flex justify-between items-center mb-4",children:[l.jsx("h2",{className:"text-2xl font-serif font-bold text-neutral-900",children:i.title}),l.jsx("button",{onClick:()=>e(!1),className:"text-neutral-400 hover:text-neutral-600 transition-colors",children:l.jsx(vi,{className:"w-6 h-6"})})]}),l.jsx("div",{className:"overflow-y-auto max-h-[60vh] pr-2 text-neutral-600",children:i.content})]})})}),r&&l.jsx("div",{className:"fixed inset-0 bg-black bg-opacity-50 z-50 flex items-center justify-center p-4",onClick:()=>n(!1),children:l.jsx("div",{className:"bg-white border border-neutral-200 rounded-2xl max-w-lg w-full overflow-hidden shadow-2xl",onClick:c=>c.stopPropagation(),children:l.jsxs("div",{className:"p-6",children:[l.jsxs("div",{className:"flex justify-between items-center mb-6",children:[l.jsx("h2",{className:"text-2xl font-serif font-bold text-neutral-900",children:"Perfil del Creador"}),l.jsx("button",{onClick:()=>n(!1),className:"text-neutral-400 hover:text-neutral-600 transition-colors",children:l.jsx(vi,{className:"w-6 h-6"})})]}),l.jsxs("div",{className:"flex flex-col items-center text-center",children:[l.jsx("img",{src:"https://firebasestorage.googleapis.com/v0/b/africagua-eb795.firebasestorage.app/o/id%20ficha%2FCaptura%20de%20pantalla%202025-10-21%20090729.png?alt=media&token=891c46ba-b27c-456e-bfcd-07126548dc3c",alt:"Jean Michel Jimmy Tordeur (JM Tordeur) - Ingeniero Informático y Desarrollador Full Stack",className:"w-32 h-32 rounded-full object-cover border-4 border-primary mb-4"}
3479),l.jsx("h3",{className:"text-2xl font-bold text-neutral-900 mb-1",children:"Jean Michel Jimmy Tordeur"}),l.jsxs("p",{className:"text-sm text-neutral-500 mb-2",children:["También conocido como: ",l.jsx("strong",{children:"Jimmy Tordeur"}),", ",l.jsx("strong",{children:"JM Tordeur"}),", ",l.jsx("strong",{children:"J.M Tordeur"})]}),l.jsx("p",{className:"text-primary font-semibold mb-4",children:"Ingeniero Informático y Desarrollador Full Stack"}),l.jsxs("div",{className:"w-full text-left space-y-4 mt-4",children:[l.jsxs("div",{children:[l.jsx("h4",{className:"font-semibold text-neutral-900 mb-2",children:"Perfil Profesional"}),l.jsxs("div",{className:"space-y-1 text-sm text-neutral-600",children:[l.jsxs("p",{children:[l.jsx("strong",{children:"Jean Michel Tordeur"})," es un ingeniero informático especializado en el desarrollo de soluciones tecnológicas integrales para empresas e instituciones."]}),l.jsxs("p",{children:[l.jsx("span",{className:"font-medium",children:"Especialización:"})," Hardware / Software / Web Design / App Design / Inteligencia Artificial"]}),l.jsxs("p",{children:[l.jsx("span",{className:"font-medium",children:"TecnologÃas dominadas:"})," SQL, JavaScript, Python, TypeScript, React, Node.js"]})]})]}),l.jsxs("div",{children:[l.jsx("h4",{className:"font-semibold text-neutral-900 mb-2",children:"Formación y Experiencia"}),l.jsx("p",{className:"text-sm text-neutral-600",children:"IngenierÃa de Hardware, Desarrollo de Software, Diseño Web, Desarrollo de Aplicaciones Móviles, Inteligencia Artificial y Machine Learning"})]}),l.jsxs("div",{children:[l.jsx("h4",{className:"font-semibold text-neutral-900 mb-2",children:"Cargo Actual"}),l.jsxs("div",{className:"space-y-1 text-sm text-neutral-600",children:[l.jsxs("p",{children:[l.jsx("strong",{children:"JM Tordeur"})," trabaja como Responsable Informático y de Desarrollo Tecnológico en la Cámara Oficial de Comercio, de Industria y de Navegación de Fuerteventura."]}),l.jsx("p",{className:"font-medium text-primary",children:"Desarrollador Full Stack Senior"})]})]}),l.jsxs("div",{children:[l.jsx("h4",{className:"font-semibold text-neutral-900 mb-2",children:"Proyectos Destacados"}),l.jsx("p",{className:"text-sm text-neutral-600",children:"Desarrollo de plataformas web empresariales, sistemas de gestión de eventos, aplicaciones de registro y credencialización, integración de bases de datos y soluciones cloud."})]})]})]})]})})})]})});ZQ.displayName="Footer";const Hse="modulepreload",zse=function(t){return"/"+t},T6={},uc=function(e,r,n){let i=Promise.resolve();if(r&&r.length>0){document.getElementsByTagName("link");const s=document.querySelector("meta[property=csp-nonce]"),o=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));i=Promise.allSettled(r.map(c=>{if(c=zse(c),c in T6)return;T6[c]=!0;const A=c.endsWith(".css"),u=A?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${u}`))return;const d=document.createElement("link");if(d.rel=A?"stylesheet":Hse,A||(d.as="script"),d.crossOrigin="",d.href=c,o&&d.setAttribute("nonce",o),document.head.appendChild(d),A)return new Promise((f,h)=>{d.addEventListener("load",f),d.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${c}`)))})}))}function a(s){const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=s,window.dispatchEvent(o),!o.defaultPrevented)throw s}return i.then(s=>{for(const o of s||[])o.status==="rejected"&&a(o.reason);return e().catch(a)})},Vse=t=>{let e;return t?e=t:typeof fetch>"u"?e=(...r)=>uc(async()=>{const{default:n}=await Promise.resolve().then(()=>Qh);return{default:n}},void 0).then(({default:n})=>n(...r)):e=fetch,(...r)=>e(...r)};class M3 extends Error{constructor(e,r="FunctionsError",n){super(e),this.name=r,this.context=n}}class j6 extends M3{constructor(e){super("Failed to send a request to the Edge Function","FunctionsFetchError",e)}}class I6 extends M3{constructor(e){super("Relay Error invoking the Edge Function","FunctionsRelayError",e)}}class k6 extends M3{constructor(e){super("Edge Function returned a non-2xx status code","FunctionsHttpError",e)}}var xS;(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"})(xS||(xS={}));class Wse{constructor(e,{headers:r={},customFetch:n,region:i=xS.Any}={}){this.url=e,this.headers=r,this.region=i,this.fetch=Vse(n)}setAuth(e){this.headers.Authorization=`Bearer ${e}`}invoke(e){return Pt(this,arguments,void 0,function*(r,n={}){var i;try{const{headers:a,method:s,body:o,signal:c}=n;let A={},{region:u}=n;u||(u=this.region);const d=new URL(`${this.url}/${r}`);u&&u!=="any"&&(A["x-region"]=u,d.searchParams.set("forceFunctionRegion",u));let f;o&&(a&&!Object.prototype.hasOwnProperty.call(a,"Content-Type")||!a)?typeof Blob<"u"&&o instanceof Blob||o instanceof ArrayBuffer?(A["Content-Type"]="application/octet-stream",f=o):typeof o=="str
3479ing"?(A["Content-Type"]="text/plain",f=o):typeof FormData<"u"&&o instanceof FormData?f=o:(A["Content-Type"]="application/json",f=JSON.stringify(o)):f=o;const h=yield this.fetch(d.toString(),{method:s||"POST",headers:Object.assign(Object.assign(Object.assign({},A),this.headers),a),body:f,signal:c}).catch(v=>{throw v.name==="AbortError"?v:new j6(v)}),m=h.headers.get("x-relay-error");if(m&&m==="true")throw new I6(h);if(!h.ok)throw new k6(h);let p=((i=h.headers.get("Content-Type"))!==null&&i!==void 0?i:"text/plain").split(";")[0].trim(),x;return p==="application/json"?x=yield h.json():p==="application/octet-stream"||p==="application/pdf"?x=yield h.blob():p==="text/event-stream"?x=h:p==="multipart/form-data"?x=yield h.formData():x=yield h.text(),{data:x,error:null,response:h}}catch(a){return a instanceof Error&&a.name==="AbortError"?{data:null,error:new j6(a)}:{data:null,error:a,response:a instanceof k6||a instanceof I6?a.context:void 0}}})}}var $a={};const kp=nU(y$);var yy={},wy={},by={},Cy={},By={},Kse=function(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")},dp=Kse();const qse=dp.fetch,$Q=dp.fetch.bind(dp),e9=dp.Headers,Gse=dp.Request,Jse=dp.Response,Qh=Object.freeze(Object.defineProperty({__proto__:null,Headers:e9,Request:Gse,Response:Jse,default:$Q,fetch:qse},Symbol.toStringTag,{value:"Module"})),Xse=nU(Qh);var Ey={},P6;function t9(){if(P6)return Ey;P6=1,Object.defineProperty(Ey,"__esModule",{value:!0});class t extends Error{constructor(r){super(r.message),this.name="PostgrestError",this.details=r.details,this.hint=r.hint,this.co
3479de=r.code}}return Ey.default=t,Ey}var D6;function r9(){if(D6)return By;D6=1,Object.defineProperty(By,"__esModule",{value:!0});const t=kp,e=t.__importDefault(Xse),r=t.__importDefault(t9());class n{constructor(a){var s,o;this.shouldThrowOnError=!1,this.method=a.method,this.url=a.url,this.headers=new Headers(a.headers),this.schema=a.schema,this.body=a.body,this.shouldThrowOnError=(s=a.shouldThrowOnError)!==null&&s!==void 0?s:!1,this.signal=a.signal,this.isMaybeSingle=(o=a.isMaybeSingle)!==null&&o!==void 0?o:!1,a.fetch?this.fetch=a.fetch:typeof fetch>"u"?this.fetch=e.default:this.fetch=fetch}throwOnError(){return this.shouldThrowOnError=!0,this}setHeader(a,s){return this.headers=new Headers(this.headers),this.headers.set(a,s),this}then(a,s){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 o=this.fetch;let c=o(this.url.toString(),{method:this.method,headers:this.headers,body:JSON.stringify(this.body),signal:this.signal}).then(async A=>{var u,d,f,h;let m=null,p=null,x=null,v=A.status,y=A.statusText;if(A.ok){if(this.method!=="HEAD"){const I=await A.text();I===""||(this.headers.get("Accept")==="text/csv"||this.headers.get("Accept")&&(!((u=this.headers.get("Accept"))===null||u===void 0)&&u.includes("application/vnd.pgrst.plan+text"))?p=I:p=JSON.parse(I))}const E=(d=this.headers.get("Prefer"))===null||d===void 0?void 0:d.match(/count=(exact|planned|estimated)/),S=(f=A.headers.get("content-range"))===null||f===void 0?void 0:f.split("/");E&&S&&S.length>1&&(x=parseInt(S[1])),this.isMaybeSingle&&this.method==="GET"&&Array.isArray(p)&&(p.length>1?(m={code:"PGRST116",details:`Results contain ${p.length} rows, application/vnd.pgrst.object+json requires 1 row`,hint:null,message:"JSON object requested, multiple (or no) rows returned"},p=null,x=null,v=406,y="Not Acceptable"):p.length===1?p=p[0]:p=null)}else{const E=await A.text();try{m=JSON.parse(E),Array.isArray(m)&&A.status===404&&(p=[],m=null,v=200,y="OK")}catch{A.status===404&&E===""?(v=204,y="No Content"):m={message:E}}if(m&&this.isMaybeSingle&&(!((h=m==null?void 0:m.details)===null||h===void 0)&&h.includes("0 rows"))&&(m=null,v=200,y="OK"),m&&this.shouldThrowOnError)throw new r.default(m)}return{error:m,data:p,count:x,status:v,statusText:y}});return this.shouldThrowOnError||(c=c.catch(A=>{var u,d,f;return{error:{message:`${(u=A==null?void 0:A.name)!==null&&u!==void 0?u:"FetchError"}: ${A==null?void 0:A.message}`,details:`${(d=A==null?void 0:A.stack)!==null&&d!==void 0?d:""}`,hint:"",code:`${(f=A==null?void 0:A.code)!==null&&f!==void 0?f:""}`},data:null,count:null,status:0,statusText:""}})),c.then(a,s)}returns(){return this}overrideTypes(){return this}}return By.default=n,By}var O6;function n9(){if(O6)return Cy;O6=1,Object.defineProperty(Cy,"__esModule",{value:!0});const e=kp.__importDefault(r9());class r extends e.default{select(i){let a=!1;const s=(i??"*").split("").map(o=>/\s/.test(o)&&!a?"":(o==='"'&&(a=!a),o)).join("");return this.url.searchParams.set("select",s),this.headers.append("Prefer","return=representation"),this}order(i,{ascending:a=!0,nullsFirst:s,foreignTable:o,referencedTable:c=o}={}){const A=c?`${c}.order`:"order",u=this.url.searchParams.get(A);return this.url.searchParams.set(A,`${u?`${u},`:""}${i}.${a?"asc":"desc"}${s===void 0?"":s?".nullsfirst":".nullslast"}`),this}limit(i,{foreignTable:a,referencedTable:s=a}={}){const o=typeof s>"u"?"limit":`${s}.limit`;return this.url.searchParams.set(o,`${i}`),this}range(i,a,{foreignTable:s,referencedTable:o=s}={}){const c=typeof o>"u"?"offset":`${o}.offset`,A=typeof o>"u"?"limit":`${o}.limit`;return this.url.searchParams.set(c,`${i}`),this.url.searchParams.set(A,`${a-i+1}`),this}abortSignal(i){return this.signal=i,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}
3479explain({analyze:i=!1,verbose:a=!1,settings:s=!1,buffers:o=!1,wal:c=!1,format:A="text"}={}){var u;const d=[i?"analyze":null,a?"verbose":null,s?"settings":null,o?"buffers":null,c?"wal":null].filter(Boolean).join("|"),f=(u=this.headers.get("Accept"))!==null&&u!==void 0?u:"application/json";return this.headers.set("Accept",`application/vnd.pgrst.plan+${A}; for="${f}"; options=${d};`),A==="json"?this:this}rollback(){return this.headers.append("Prefer","tx=rollback"),this}returns(){return this}maxAffected(i){return this.headers.append("Prefer","handling=strict"),this.headers.append("Prefer",`max-affected=${i}`),this}}return Cy.default=r,Cy}var R6;function Q3(){if(R6)return by;R6=1,Object.defineProperty(by,"__esModule",{value:!0});const e=kp.__importDefault(n9()),r=new RegExp("[,()]");class n extends e.default{eq(a,s){return this.url.searchParams.append(a,`eq.${s}`),this}neq(a,s){return this.url.searchParams.append(a,`neq.${s}`),this}gt(a,s){return this.url.searchParams.append(a,`gt.${s}`),this}gte(a,s){return this.url.searchParams.append(a,`gte.${s}`),this}lt(a,s){return this.url.searchParams.append(a,`lt.${s}`),this}lte(a,s){return this.url.searchParams.append(a,`lte.${s}`),this}like(a,s){return this.url.searchParams.append(a,`like.${s}`),this}likeAllOf(a,s){return this.url.searchParams.append(a,`like(all).{${s.join(",")}}`),this}likeAnyOf(a,s){return this.url.searchParams.append(a,`like(any).{${s.join(",")}}`),this}ilike(a,s){return this.url.searchParams.append(a,`ilike.${s}`),this}ilikeAllOf(a,s){return this.url.searchParams.append(a,`ilike(all).{${s.join(",")}}`),this}ilikeAnyOf(a,s){return this.url.searchParams.append(a,`ilike(any).{${s.join(",")}}`),this}is(a,s){return this.url.searchParams.append(a,`is.${s}`),this}in(a,s){const o=Array.from(new Set(s)).map(c=>typeof c=="string"&&r.test(c)?`"${c}"`:`${c}`).join(",");return this.url.searchParams.append(a,`in.(${o})`),this}contains(a,s){return typeof s=="string"?this.url.searchParams.append(a,`cs.${s}`):Array.isArray(s)?this.url.searchParams.append(a,`cs.{${s.join(",")}}`):this.url.searchParams.append(a,`cs.${JSON.stringify(s)}`),this}containedBy(a,s){return typeof s=="string"?this.url.searchParams.append(a,`cd.${s}`):Array.isArray(s)?this.url.searchParams.append(a,`cd.{${s.join(",")}}`):this.url.searchParams.append(a,`cd.${JSON.stringify(s)}`),this}rangeGt(a,s){return this.url.searchParams.append(a,`sr.${s}`),this}rangeGte(a,s){return this.url.searchParams.append(a,`nxl.${s}`),this}rangeLt(a,s){return this.url.searchParams.append(a,`sl.${s}`),this}rangeLte(a,s){return this.url.searchParams.append(a,`nxr.${s}`),this}rangeAdjacent(a,s){return this.url.searchParams.append(a,`adj.${s}`),this}overlaps(a,s){return typeof s=="string"?this.url.searchParams.append(a,`ov.${s}`):this.url.searchParams.append(a,`ov.{${s.join(",")}}`),this}textSearch(a,s,{config:o,type:c}={}){let A="";c==="plain"?A="pl":c==="phrase"?A="ph":c==="websearch"&&(A="w");const u=o===void 0?"":`(${o})`;return this.url.searchParams.append(a,`${A}fts${u}.${s}`),this}match(a){return Object.entries(a).forEach(([s,o])=>{this.url.searchParams.append(s,`eq.${o}`)}),this}not(a,s,o){return this.url.searchParams.append(a,`not.${s}.${o}`),this}or(a,{foreignTable:s,referencedTable:o=s}={}){const c=o?`${o}.or`:"or";return this.url.searchParams.append(c,`(${a})`),this}filter(a,s,o){return this.url.searchParams.append(a,`${s}.${o}`),this}}return by.default=n,by}var U6;function i9(){if(U6)return wy;U6=1,Object.defineProperty(wy,"__esModule",{value:!0});const e=kp.__importDefault(Q3());class r{constructor(i,{headers:a={},schema:s,fetch:o}){this.url=i,this.headers=new Headers(a),this.schema=s,this.fetch=o}select(i,a){const{head:s=!1,count:o}=a??{},c=s?"HEAD":"GET";let A=!1;const u=(i??"*").split("").map(d=>/\s/.test(d)&&!A?"":(d==='"'&&(A=!A),d)).join("");return this.url.searchParams.set("select",u),o&&this.headers.append("Prefer",`count=${o}`),new e.default({method:c,url:this.url,headers:this.headers,schema:this.schema,fetch:this.fetch})}insert(i,{count:a,defaultToNull:s=!0}={}){var o;const c="POST";if(a&&this.headers.append("Prefer",`count=${a}`),s||this.headers.append("Prefer","missing=default"),Array.isArray(i)){const A=i.reduce((u,d)=>u.concat(Object.keys(d)),[]);if(A.length>0){const u=[...new Set(A)].map(d=>`"${d}"`);this.url.searchParams.set("columns",u.join(","))}}return new e.default({method:c,url:this.url,headers:this.headers,schema:this.schema,body:i,fetch:(o=this.fetch)!==null&&o!==void 0?o:fetch})}upsert(i,{onConflict:a,ignoreDuplicates:s=!1,count:o,defaultToNull:c=!0}={}){var A;const u="POST";if(this.headers.append("Prefer",`resolution=${s?"ignore":"merge"}-duplicates`),a!==void 0&&this.url.searchParams.set("on_conflict",a),o&&this.headers.append("Prefer",`count=${o}`),c||this.headers.append("Prefer","missing=default"),Array.isArray(i)){const d=i.reduce((f,h)=>f.concat(Object.keys(h)),[]);if(d.length>0){const f=[...new Set(d)].map(h=>`"${h}"`);this.url.searchParams.set("columns",f.join(","))}}return new e.default({method:u,url:this.url,headers:this.headers,schema:this.schema,body:i,fetch:(A=this.fetch)!==null&&A!==void 0?A:fetch})}update(i,{count:a}={}){var s;const o="PATCH";return a&&this.headers.append("Prefer",`count=${a}`),new e.default({method:o,url:this.url,headers:this.headers,schema:this.schema,body:i,fetch:(s=this.fetch)!==null&&s!==void 0?s:fetch})}delete({count:i}={}){var a;const s="DELETE";return i&&this.headers.append("Prefer",`count=${i}`),new e.default({method:s,url:this.url,headers:this.headers,schema:this.schema,fetch:(a=this.fetch)!==null&&a!==void 0?a:fetch})}}return wy.default=r,wy}var L6;
3479function Yse(){if(L6)return yy;L6=1,Object.defineProperty(yy,"__esModule",{value:!0});const t=kp,e=t.__importDefault(i9()),r=t.__importDefault(Q3());class n{constructor(a,{headers:s={},schema:o,fetch:c}={}){this.url=a,this.headers=new Headers(s),this.schemaName=o,this.fetch=c}from(a){const s=new URL(`${this.url}/${a}`);return new e.default(s,{headers:new Headers(this.headers),schema:this.schemaName,fetch:this.fetch})}schema(a){return new n(this.url,{headers:this.headers,schema:a,fetch:this.fetch})}rpc(a,s={},{head:o=!1,get:c=!1,count:A}={}){var u;let d;const f=new URL(`${this.url}/rpc/${a}`);let h;o||c?(d=o?"HEAD":"GET",Object.entries(s).filter(([p,x])=>x!==void 0).map(([p,x])=>[p,Array.isArray(x)?`{${x.join(",")}}`:`${x}`]).forEach(([p,x])=>{f.searchParams.append(p,x)})):(d="POST",h=s);const m=new Headers(this.headers);return A&&m.set("Prefer",`count=${A}`),new r.default({method:d,url:f,headers:m,schema:this.schemaName,body:h,fetch:(u=this.fetch)!==null&&u!==void 0?u:fetch})}}return yy.default=n,yy}Object.defineProperty($a,"__esModule",{value:!0});var a9=$a.PostgrestError=p9=$a.PostgrestBuilder=h9=$a.PostgrestTransformBuilder=u9=$a.PostgrestFilterBuilder=c9=$a.PostgrestQueryBuilder=o9=$a.PostgrestClient=void 0;const Pp=kp,s9=Pp.__importDefault(Yse());var o9=$a.PostgrestClient=s9.default;const l9=Pp.__importDefault(i9());var c9=$a.PostgrestQueryBuilder=l9.default;const A9=Pp.__importDefault(Q3());var u9=$a.PostgrestFilterBuilder=A9.default;const d9=Pp.__importDefault(n9());var h9=$a.PostgrestTransformBuilder=d9.default;const f9=Pp.__importDefault(r9());var p9=$a.PostgrestBuilder=f9.default;const m9=Pp.__importDefault(t9());a9=$a.PostgrestError=m9.default;var g9=$a.default={PostgrestClient:s9.default,PostgrestQueryBuilder:l9.default,PostgrestFilterBuilder:A9.default,PostgrestTransformBuilder:d9.default,PostgrestBuilder:f9.default,PostgrestError:m9.default};const Zse=rU({__proto__:null,get PostgrestBuilder(){return p9},get PostgrestClient(){return o9},get PostgrestError(){return a9},get PostgrestFilterBuilder(){return u9},get PostgrestQueryBuilder(){return c9},get PostgrestTransformBuilder(){return h9},default:g9},[$a]),{PostgrestClient:$se,PostgrestQueryBuilder:ASe,PostgrestFilterBuilder:uSe,PostgrestTransformBuilder:dSe,PostgrestBuilder:hSe,PostgrestError:fSe}=g9||Zse;class eoe{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."};if(typeof process<"u"){const r=process.versions;if(r&&r.node){const n=r.node,i=parseInt(n.replace(/^v/,"").split(".")[0]);return i>=22?typeof globalThis.WebSocket<"u"?{type:"native",constructor:globalThis.WebSocket}:{type:"unsupported",error:`Node.js ${i} detected but native WebSocket not found.`,workaround:"Provide a WebSocket implementation via the transport option."}:{type:"unsupported",error:`Node.js ${i} detected without native WebSocket support.`,workaround:`For Node.js < 22, install "ws" package and provide it via the transport option: 3480import ws from "ws" 3481new 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+=` 3482 3483Suggested 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 toe="2.78.0",roe=`realtime-js/${toe}`,noe="1.0.0",yS=1e4,ioe=1e3,aoe=100;var Mg;(function(t){t[t.connecting=0]="connecting",t[t.open=1]="open",t[t.closing=2]="closing",t[t.closed=3]="closed"})(Mg||(Mg={}));var Fi;(function(t){t.closed="closed",t.errored="errored",t.joined="joined",t.joining="joining",t.leaving="leaving"})(Fi||(Fi={}));var hl;(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"})(hl||(hl={}));var wS;(function(t){t.websocket="websocket"})(wS||(wS={}));var Md;(function(t){t.Connecting="connecting",t.Open="open",t.Closing="closing",t.Closed="closed"})(Md||(Md={}));class soe{constructor(){this.HEADER_LENGTH=1}decode(e,r){return e.constructor===ArrayBuffer?r(this._binaryDecode(e)):r(typeof e=="string"?JSON.parse(e):{})}_binaryDecode(e){const r=new DataView(e),n=new TextDecoder;return this._decodeBroadcast(e,r,n)}_decodeBroadcast(e,r,n){const i=r.getUint8(1),a=r.getUint8(2);let s=this.HEADER_LENGTH+2;const o=n.decode(e.slice(s,s+i));s=s+i;const c=n.decode(e.slice(s,s+a));s=s+a;const A=JSON.parse(n.decode(e.slice(s,e.byteLength)));return{ref:null,topic:o,event:c,payload:A}}}class v9{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 yn;(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
3483srange="tsrange",t.tstzrange="tstzrange"})(yn||(yn={}));const M6=(t,e,r={})=>{var n;const i=(n=r.skipTypes)!==null&&n!==void 0?n:[];return e?Object.keys(e).reduce((a,s)=>(a[s]=ooe(s,t,e,i),a),{}):{}},ooe=(t,e,r,n)=>{const i=e.find(o=>o.name===t),a=i==null?void 0:i.type,s=r[t];return a&&!n.includes(a)?x9(a,s):bS(s)},x9=(t,e)=>{if(t.charAt(0)==="_"){const r=t.slice(1,t.length);return uoe(e,r)}switch(t){case yn.bool:return loe(e);case yn.float4:case yn.float8:case yn.int2:case yn.int4:case yn.int8:case yn.numeric:case yn.oid:return coe(e);case yn.json:case yn.jsonb:return Aoe(e);case yn.timestamp:return doe(e);case yn.abstime:case yn.date:case yn.daterange:case yn.int4range:case yn.int8range:case yn.money:case yn.reltime:case yn.text:case yn.time:case yn.timestamptz:case yn.timetz:case yn.tsrange:case yn.tstzrange:return bS(e);default:return bS(e)}},bS=t=>t,loe=t=>{switch(t){case"t":return!0;case"f":return!1;default:return t}},coe=t=>{if(typeof t=="string"){const e=parseFloat(t);if(!Number.isNaN(e))return e}return t},Aoe=t=>{if(typeof t=="string")try{return JSON.parse(t)}catch(e){return console.log(`JSON parse error: ${e}`),t}return t},uoe=(t,e)=>{if(typeof t!="string")return t;const r=t.length-1,n=t[r];if(t[0]==="{"&&n==="}"){let a;const s=t.slice(1,r);try{a=JSON.parse("["+s+"]")}catch{a=s?s.split(","):[]}return a.map(o=>x9(e,o))}return t},doe=t=>typeof t=="string"?t.replace(" ","T"):t,y9=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 NE{constructor(e,r,n={},i=yS){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 Q6;(function(t){t.SYNC="sync",t.JOIN="join",t.LEAVE="leave"})(Q6||(Q6={}));class Qg{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:a,onLeave:s,onSync:o}=this.caller;this.joinRef=this.channel._joinRef(),this.state=Qg.syncState(this.state,i,a,s),this.pendingDiffs.forEach(c=>{this.state=Qg.syncDiff(this.state,c,a,s)}),this.pendingDiffs=[],o()}),this.channel._on(n.diff,{},i=>{const{onJoin:a,onLeave:s,onSync:o}=this.caller;this.inPendingSyncState()?this.pendingDiffs.push(i):(this.state=Qg.syncDiff(this.state,i,a,s),o())}),this.onJoin((i,a,s)=>{this.channel._trigger("presence",{event:"join",key:i,currentPresences:a,newPresences:s})}),this.onLeave((i,a,s)=>{this.channel._trigger("presence",{event:"leave",key:i,currentPresences:a,leftPresences:s})}),this.onSync(()=>{this.channel._trigger("presence",{event:"sync"})})}static syncState(e,r,n,i){const a=this.cloneDeep(e),s=this.transformState(r),o={},c={};return this.map(a,(A,u)=>{s[A]||(c[A]=u)}),this.map(s,(A,u)=>{const d=a[A];if(d){const f=u.map(x=>x.presence_ref),h=d.map(x=>x.presence_ref),m=u.filter(x=>h.indexOf(x.presence_ref)<0),p=d.filter(x=>f.indexOf(x.presence_ref)<0);m.length>0&&(o[A]=m),p.length>0&&(c[A]=p)}else o[A]=u}),this.syncDiff(a,{joins:o,leaves:c},n,i)}static syncDiff(e,r,n,i){const{joins:a,leaves:s}={joins:this.transformState(r.joins),leaves:this.transformState(r.leaves)};return n||(n=()=>{}),i||(i=()=>{}),this.map(a,(o,c)=>{var A;const u=(A=e[o])!==null&&A!==void 0?A:[];if(e[o]=this.cloneDeep(c),u.length>0){const d=e[o].map(h=>h.presence_ref),f=u.filter(h=>d.indexOf(h.presence_ref)<0);e[o].unshift(...f)}n(o,u,c)}),this.map(s,(o,c)=>{let A=e[o];if(!A)return;const u=c.map(d=>d.presence_ref);A=A.filter(d=>u.indexOf(d.presence_ref)<0),e[o]=A,i(o,A,c),A.length===0&&delete e[o]}),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(a=>(a.presence_ref=a.phx_ref,delete a.phx_ref,delete a.phx_ref_prev,a)):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 H6;(function(t){t.ALL="*",t.INSERT="INSERT",t.UPDATE="UPDATE",t.DELET
3483E="DELETE"})(H6||(H6={}));var Hg;(function(t){t.BROADCAST="broadcast",t.PRESENCE="presence",t.POSTGRES_CHANGES="postgres_changes",t.SYSTEM="system"})(Hg||(Hg={}));var Oc;(function(t){t.SUBSCRIBED="SUBSCRIBED",t.TIMED_OUT="TIMED_OUT",t.CLOSED="CLOSED",t.CHANNEL_ERROR="CHANNEL_ERROR"})(Oc||(Oc={}));class H3{constructor(e,r={config:{}},n){var i,a;if(this.topic=e,this.params=r,this.socket=n,this.bindings={},this.state=Fi.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 NE(this,hl.join,this.params,this.timeout),this.rejoinTimer=new v9(()=>this._rejoinUntilConnected(),this.socket.reconnectAfterMs),this.joinPush.receive("ok",()=>{this.state=Fi.joined,this.rejoinTimer.reset(),this.pushBuffer.forEach(s=>s.send()),this.pushBuffer=[]}),this._onClose(()=>{this.rejoinTimer.reset(),this.socket.log("channel",`close ${this.topic} ${this._joinRef()}`),this.state=Fi.closed,this.socket._remove(this)}),this._onError(s=>{this._isLeaving()||this._isClosed()||(this.socket.log("channel",`error ${this.topic}`,s),this.state=Fi.errored,this.rejoinTimer.scheduleTimeout())}),this.joinPush.receive("timeout",()=>{this._isJoining()&&(this.socket.log("channel",`timeout ${this.topic}`,this.joinPush.timeout),this.state=Fi.errored,this.rejoinTimer.scheduleTimeout())}),this.joinPush.receive("error",s=>{this._isLeaving()||this._isClosed()||(this.socket.log("channel",`error ${this.topic}`,s),this.state=Fi.errored,this.rejoinTimer.scheduleTimeout())}),this._on(hl.reply,{},(s,o)=>{this._trigger(this._replyEventName(o),s)}),this.presence=new Qg(this),this.broadcastEndpointURL=y9(this.socket.endPoint),this.private=this.params.config.private||!1,!this.private&&(!((a=(i=this.params.config)===null||i===void 0?void 0:i.broadcast)===null||a===void 0)&&a.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,a;if(this.socket.isConnected()||this.socket.connect(),this.state==Fi.closed){const{config:{broadcast:s,presence:o,private:c}}=this.params,A=(i=(n=this.bindings.postgres_changes)===null||n===void 0?void 0:n.map(h=>h.filter))!==null&&i!==void 0?i:[],u=!!this.bindings[Hg.PRESENCE]&&this.bindings[Hg.PRESENCE].length>0||((a=this.params.config.presence)===null||a===void 0?void 0:a.enabled)===!0,d={},f={broadcast:s,presence:Object.assign(Object.assign({},o),{enabled:u}),postgres_changes:A,private:c};this.socket.accessTokenValue&&(d.access_token=this.socket.accessTokenValue),this._onError(h=>e==null?void 0:e(Oc.CHANNEL_ERROR,h)),this._onClose(()=>e==null?void 0:e(Oc.CLOSED)),this.updateJoinPayload(Object.assign({config:f},d)),this.joinedOnce=!0,this._rejoin(r),this.joinPush.receive("ok",async({postgres_changes:h})=>{var m;if(this.socket.setAuth(),h===void 0){e==null||e(Oc.SUBSCRIBED);return}else{const p=this.bindings.postgres_changes,x=(m=p==null?void 0:p.length)!==null&&m!==void 0?m:0,v=[];for(let y=0;y<x;y++){const b=p[y],{filter:{event:E,schema:S,table:I,filter:B}}=b,_=h&&h[y];if(_&&_.event===E&&_.schema===S&&_.table===I&&_.filter===B)v.push(Object.assign(Object.assign({},b),{id:_.id}));else{this.unsubscribe(),this.state=Fi.errored,e==null||e(Oc.CHANNEL_ERROR,new Error("mismatch between server and client bindings for postgres changes"));return}}this.bindings.postgres_changes=v,e&&e(Oc.SUBSCRIBED);return}}).receive("error",h=>{this.state=Fi.errored,e==null||e(Oc.CHANNEL_ERROR,new Error(JSON.stringify(Object.values(h).join(", ")||"error")))}).receive("timeout",()=>{e==null||e(Oc.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===Fi.joined&&e===Hg.PRESENCE&&(this.socket.log("channel",`resubscribe to ${this.topic} due to change in presence callbacks on joined channel`),this.unsubscribe().then(()=>this.subscribe())),this._on(e,r,n)}async httpSend(e,r,n={}){var i;const a=this.socket.accessTokenValue?`Bearer ${this.socket.accessTokenValue}`:"";if(r==null)return Promise.reject("Payload is required for httpSend()");const s={method:"POST",headers:{Authorization:a,apikey:this.socket.apiKey?this.socket.apiKey:"","Content-Type":"application/json"},body:JSON.stringify({messages:[{topic:this.subTopic,event:e,payload:r,private:this.private}]})},o=await this._fetchWithTimeout(this.broadcastEndpointURL,s,(i=n.timeout)!==null&&i!==void 0?i:this.timeout);if(o.status===202)return{success:!0};let c=o.statusText;
3483try{const A=await o.json();c=A.error||A.message||c}catch{}return Promise.reject(new Error(c))}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:a,payload:s}=e,c={method:"POST",headers:{Authorization:this.socket.accessTokenValue?`Bearer ${this.socket.accessTokenValue}`:"",apikey:this.socket.apiKey?this.socket.apiKey:"","Content-Type":"application/json"},body:JSON.stringify({messages:[{topic:this.subTopic,event:a,payload:s,private:this.private}]})};try{const A=await this._fetchWithTimeout(this.broadcastEndpointURL,c,(n=r.timeout)!==null&&n!==void 0?n:this.timeout);return await((i=A.body)===null||i===void 0?void 0:i.cancel()),A.ok?"ok":"error"}catch(A){return A.name==="AbortError"?"timed out":"error"}}else return new Promise(a=>{var s,o,c;const A=this._push(e.type,e,r.timeout||this.timeout);e.type==="broadcast"&&!(!((c=(o=(s=this.params)===null||s===void 0?void 0:s.config)===null||o===void 0?void 0:o.broadcast)===null||c===void 0)&&c.ack)&&a("ok"),A.receive("ok",()=>a("ok")),A.receive("error",()=>a("error")),A.receive("timeout",()=>a("timed out"))})}updateJoinPayload(e){this.joinPush.updatePayload(e)}unsubscribe(e=this.timeout){this.state=Fi.leaving;const r=()=>{this.socket.log("channel",`leave ${this.topic}`),this._trigger(hl.close,"leave",this._joinRef())};this.joinPush.destroy();let n=null;return new Promise(i=>{n=new NE(this,hl.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=Fi.closed,this.bindings={}}async _fetchWithTimeout(e,r,n){const i=new AbortController,a=setTimeout(()=>i.abort(),n),s=await this.socket.fetch(e,Object.assign(Object.assign({},r),{signal:i.signal}));return clearTimeout(a),s}_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 NE(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>aoe){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,a;const s=e.toLocaleLowerCase(),{close:o,error:c,leave:A,join:u}=hl;if(n&&[o,c,A,u].indexOf(s)>=0&&n!==this._joinRef())return;let f=this._onMessage(s,r,n);if(r&&!f)throw"channel onMessage callbacks must return the payload, modified or unmodified";["insert","update","delete"].includes(s)?(i=this.bindings.postgres_changes)===null||i===void 0||i.filter(h=>{var m,p,x;return((m=h.filter)===null||m===void 0?void 0:m.event)==="*"||((x=(p=h.filter)===null||p===void 0?void 0:p.event)===null||x===void 0?void 0:x.toLocaleLowerCase())===s}).map(h=>h.callback(f,n)):(a=this.bindings[s])===null||a===void 0||a.filter(h=>{var m,p,x,v,y,b;if(["broadcast","presence","postgres_changes"].includes(s))if("id"in h){const E=h.id,S=(m=h.filter)===null||m===void 0?void 0:m.event;return E&&((p=r.ids)===null||p===void 0?void 0:p.includes(E))&&(S==="*"||(S==null?void 0:S.toLocaleLowerCase())===((x=r.data)===null||x===void 0?void 0:x.type.toLocaleLowerCase()))}else{const E=(y=(v=h==null?void 0:h.filter)===null||v===void 0?void 0:v.event)===null||y===void 0?void 0:y.toLocaleLowerCase();return E==="*"||E===((b=r==null?void 0:r.event)===null||b===void 0?void 0:b.toLocaleLowerCase())}else return h.type.toLocaleLowerCase()===s}).map(h=>{if(typeof f=="object"&&"ids"in f){const m=f.data,{schema:p,table:
3483x,commit_timestamp:v,type:y,errors:b}=m;f=Object.assign(Object.assign({},{schema:p,table:x,commit_timestamp:v,eventType:y,new:{},old:{},errors:b}),this._getPayloadRecords(m))}h.callback(f,n)})}_isClosed(){return this.state===Fi.closed}_isJoined(){return this.state===Fi.joined}_isJoining(){return this.state===Fi.joining}_isLeaving(){return this.state===Fi.leaving}_replyEventName(e){return`chan_reply_${e}`}_on(e,r,n){const i=e.toLocaleLowerCase(),a={type:i,filter:r,callback:n};return this.bindings[i]?this.bindings[i].push(a):this.bindings[i]=[a],this}_off(e,r){const n=e.toLocaleLowerCase();return this.bindings[n]&&(this.bindings[n]=this.bindings[n].filter(i=>{var a;return!(((a=i.type)===null||a===void 0?void 0:a.toLocaleLowerCase())===n&&H3.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}_rejoinUntilConnected(){this.rejoinTimer.scheduleTimeout(),this.socket.isConnected()&&this._rejoin()}_onClose(e){this._on(hl.close,{},e)}_onError(e){this._on(hl.error,{},r=>e(r))}_canPush(){return this.socket.isConnected()&&this._isJoined()}_rejoin(e=this.timeout){this._isLeaving()||(this.socket._leaveOpenTopic(this.topic),this.state=Fi.joining,this.joinPush.resend(e))}_getPayloadRecords(e){const r={new:{},old:{}};return(e.type==="INSERT"||e.type==="UPDATE")&&(r.new=M6(e.columns,e.record)),(e.type==="UPDATE"||e.type==="DELETE")&&(r.old=M6(e.columns,e.old_record)),r}}const SE=()=>{},Ny={HEARTBEAT_INTERVAL:25e3,RECONNECT_DELAY:10,HEARTBEAT_TIMEOUT_FALLBACK:100},hoe=[1e3,2e3,5e3,1e4],foe=1e4,poe=` 3484 addEventListener("message", (e) => { 3485 if (e.data.event === "start") { 3486 setInterval(() => postMessage({ event: "keepAlive" }), e.data.interval); 3487 } 3488 });`;class moe{constructor(e,r){var n;if(this.accessTokenValue=null,this.apiKey=null,this.channels=new Array,this.endPoint="",this.httpEndpoint="",this.headers={},this.params={},this.timeout=yS,this.transport=null,this.heartbeatIntervalMs=Ny.HEARTBEAT_INTERVAL,this.heartbeatTimer=void 0,this.pendingHeartbeatRef=null,this.heartbeatCallback=SE,this.ref=0,this.reconnectTimer=null,this.logger=SE,this.conn=null,this.sendBuffer=[],this.serializer=new soe,this.stateChangeCallbacks={open:[],close:[],error:[],message:[]},this.accessToken=null,this._connectionState="disconnected",this._wasManualDisconnect=!1,this._authPromise=null,this._resolveFetch=i=>{let a;return i?a=i:typeof fetch>"u"?a=(...s)=>uc(async()=>{const{default:o}=await Promise.resolve().then(()=>Qh);return{default:o}},void 0).then(({default:o})=>o(...s)).catch(o=>{throw new Error(`Failed to load @supabase/node-fetch: ${o.message}. This is required for HTTP requests in Node.js environments without native fetch.`)}):a=fetch,(...s)=>a(...s)},!(!((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}/${wS.websocket}`,this.httpEndpoint=y9(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._setAuthSafely("connect"),this.transport)this.conn=new this.transport(this.endpointURL());else try{this.conn=eoe.createWebSocket(this.endpointURL())}catch(e){this._setConnectionState("disconnected");const r=e.message;throw r.includes("Node.js")?new Error(`${r} 3489 3490To use Realtime in Node.js, you need to provide a WebSocket implementation: 3491 3492Option 1: Use Node.js 22+ which has native WebSocket support 3493Option 2: Install and provide the "ws" package: 3494 3495 npm install ws 3496 3497 import ws from "ws" 3498 const client = new RealtimeClient(url, { 3499 ...options, 3500 transport: ws 3501 })`):new Error(`WebSocket not available: ${r}`)}this._setupConnectionHandlers()}}endpointURL(){return this._appendParams(this.endPoint,Object.assign({},this.params,{vsn:noe}))}disconnect(e,r){if(!this.isDisconnecting())if(this._setConnectionState("disconnecting",!0),this.conn){const n=setTimeout(()=>{this._setConnectionState("disconnected")},100);
3501this.conn.onclose=()=>{clearTimeout(n),this._setConnectionState("disconnected")},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 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 Mg.connecting:return Md.Connecting;case Mg.open:return Md.Open;case Mg.closing:return Md.Closing;default:return Md.Closed}}isConnected(){return this.connectionState()===Md.Open}isConnecting(){return this._connectionState==="connecting"}isDisconnecting(){return this._connectionState==="disconnecting"}channel(e,r={config:{}}){const n=`realtime:${e}`,i=this.getChannels().find(a=>a.topic===n);if(i)return i;{const a=new H3(`realtime:${e}`,r,this);return this.channels.push(a),a}}push(e){const{topic:r,event:n,payload:i,ref:a}=e,s=()=>{this.encode(e,o=>{var c;(c=this.conn)===null||c===void 0||c.send(o)})};this.log("push",`${r} ${n} (${a})`,i),this.isConnected()?s():this.sendBuffer.push(s)}async setAuth(e=null){this._authPromise=this._performAuth(e);try{await this._authPromise}finally{this._authPromise=null}}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.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(ioe,"heartbeat timeout"),setTimeout(()=>{var r;this.isConnected()||(r=this.reconnectTimer)===null||r===void 0||r.sc
3501heduleTimeout()},Ny.HEARTBEAT_TIMEOUT_FALLBACK);return}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")try{this.heartbeatCallback(r.payload.status==="ok"?"ok":"error")}catch(A){this.log("error","error in heartbeat callback",A)}r.ref&&r.ref===this.pendingHeartbeatRef&&(this.pendingHeartbeatRef=null);const{topic:n,event:i,payload:a,ref:s}=r,o=s?`(${s})`:"",c=a.status||"";this.log("receive",`${c} ${n} ${i} ${o}`.trim(),a),this.channels.filter(A=>A._isMember(n)).forEach(A=>A._trigger(i,a,s)),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))}_teardownConnection(){this.conn&&(this.conn.onopen=null,this.conn.onerror=null,this.conn.onmessage=null,this.conn.onclose=null,this.conn=null),this._clearAllTimers(),this.channels.forEach(e=>e.teardown())}_onConnOpen(){this._setConnectionState("connected"),this.log("transport",`connected to ${this.endpointURL()}`),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.workerRef.terminate()},this.workerRef.onmessage=r=>{r.data.event==="keepAlive"&&this.sendHeartbeat()},this.workerRef.postMessage({event:"start",interval:this.heartbeatIntervalMs})}_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
3501heduleTimeout(),this._triggerStateCallbacks("close",e)}_onConnError(e){this._setConnectionState("disconnected"),this.log("transport",`${e}`),this._triggerChanError(),this._triggerStateCallbacks("error",e)}_triggerChanError(){this.channels.forEach(e=>e._trigger(hl.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([poe],{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;e?r=e:this.accessToken?r=await this.accessToken():r=this.accessTokenValue,this.accessTokenValue!=r&&(this.accessTokenValue=r,this.channels.forEach(n=>{const i={access_token:r,version:roe};r&&n.updateJoinPayload(i),n.joinedOnce&&n._isJoined()&&n._push(hl.access_token,{access_token:r})}))}async _waitForAuthIfNeeded(){this._authPromise&&await this._authPromise}_setAuthSafely(e="general"){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 v9(async()=>{setTimeout(async()=>{await this._waitForAuthIfNeeded(),this.isConnected()||this.connect()},Ny.RECONNECT_DELAY)},this.reconnectAfterMs)}_initializeOptions(e){var r,n,i,a,s,o,c,A,u;if(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:yS,this.heartbeatIntervalMs=(i=e==null?void 0:e.heartbeatIntervalMs)!==null&&i!==void 0?i:Ny.HEARTBEAT_INTERVAL,this.worker=(a=e==null?void 0:e.worker)!==null&&a!==void 0?a:!1,this.accessToken=(s=e==null?void 0:e.accessToken)!==null&&s!==void 0?s:null,this.heartbeatCallback=(o=e==null?void 0:e.heartbeatCallback)!==null&&o!==void 0?o:SE,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=(c=e==null?void 0:e.reconnectAfterMs)!==null&&c!==void 0?c:d=>hoe[d-1]||foe,this.encode=(A=e==null?void 0:e.encode)!==null&&A!==void 0?A:(d,f)=>f(JSON.stringify(d)),this.decode=(u=e==null?void 0:e.decode)!==null&&u!==void 0?u:this.serializer.decode.bind(this.serializer),this.worker){if(typeof window<"u"&&!window.Worker)throw new Error("Web Worker is not supported");this.workerUrl=e==null?void 0:e.workerUrl}}}class z3 extends Error{constructor(e){super(e),this.__isStorageError=!0,this.name="StorageError"}}function Qn(t){return typeof t=="object"&&t!==null&&"__isStorageError"in t}class goe extends z3{constructor(e,r,n){super(e),this.name="StorageApiError",this.status=r,this.statusCode=n}toJSON(){return{name:this.name,message:this.message,status:this.status,statusCode:this.statusCode}}}class CS extends z3{constructor(e,r){super(e),this.name="StorageUnknownError",this.originalError=r}}const V3=t=>{let e;return t?e=t:typeof fetch>"u"?e=(...r)=>uc(async()=>{const{default:n}=await Promise.resolve().then(()=>Qh);return{default:n}},void 0).then(({default:n})=>n(...r)):e=fetch,(...r)=>e(...r)},voe=()=>Pt(void 0,void 0,void 0,function*(){return typeof Response>"u"?(yield uc(()=>Promise.resolve().then(()=>Qh),void 0)).Response:Response}),BS=t=>{if(Array.isArray(t))return t.map(r=>BS(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,a=>a.toUpperCase().replace(/[-_]/g,""));e[i]=BS(n)}),e},xoe=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)},_E=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)},yoe=(t,e,r)=>Pt(void 0,void 0,void 0,function*(){const n=yield voe();t instanceof n&&!(r!=null&&r.noResolveJson)?t.json().then(i=>{const a=t.status||500,s=(i==null?void 0:i.statusCode)||a+"";e(new goe(_E(i),a,s))}).catch(i=>{e(new CS(_E(i),i))}):e(new CS(_E(t),t))}),woe=(t,e,r,n)=>{const i={method:t,headers:(e==null?void 0:e.headers)||{}};return t==="GET"||!n?i:(xoe(n)?(i.headers=Object.assign({"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),Object.assign(Object.assign({},i),r))};function M1(t,e,r,n,i,a){return Pt(this,void 0,void 0,function*(){return new Promise((s,o)=>{t(r,woe(e,n,i,a)).then(c=>{if(!c.ok)throw c;return n!=null&&n.noResolveJson?c:c.json()}).then(c=>s(c)).catch(c=>yoe(c,o,n))})})}function Gv(t,e,r,n){return Pt(this,void 0,void 0,function*(){return M1(t,"GET",e,r,n)})}function ul(t,e,r,n,i){return Pt(this,void 0,void 0,function*(){return M1(t,"POST",e,n,i,r)})}function ES(t,e,r,n,i){return Pt(this,void 0,void 0,function*(){return M1(t,"PUT",e,n,i,r)})}function boe(t,e,r,n){return Pt(this,void 0,void 0,function*(){return M1(t,"HEAD",e,Object.assign(Object.assign({},r),{noResolveJson:!0}),n)})}function W3(t,e,r,n,i){return Pt(this,void 0,void 0,function*(){return M1(t,"DELETE",e,n,i,r)})}
3501class Coe{constructor(e,r){this.downloadFn=e,this.shouldThrowOnError=r}then(e,r){return this.execute().then(e,r)}execute(){return Pt(this,void 0,void 0,function*(){try{return{data:(yield this.downloadFn()).body,error:null}}catch(e){if(this.shouldThrowOnError)throw e;if(Qn(e))return{data:null,error:e};throw e}})}}var w9;class Boe{constructor(e,r){this.downloadFn=e,this.shouldThrowOnError=r,this[w9]="BlobDownloadBuilder",this.promise=null}asStream(){return new Coe(this.downloadFn,this.shouldThrowOnError)}then(e,r){return this.getPromise().then(e,r)}catch(e){return this.getPromise().catch(e)}finally(e){return this.getPromise().finally(e)}getPromise(){return this.promise||(this.promise=this.execute()),this.promise}execute(){return Pt(this,void 0,void 0,function*(){try{return{data:yield(yield this.downloadFn()).blob(),error:null}}catch(e){if(this.shouldThrowOnError)throw e;if(Qn(e))return{data:null,error:e};throw e}})}}w9=Symbol.toStringTag;const Eoe={limit:100,offset:0,sortBy:{column:"name",order:"asc"}},z6={cacheControl:"3600",contentType:"text/plain;charset=UTF-8",upsert:!1};class Noe{constructor(e,r={},n,i){this.shouldThrowOnError=!1,this.url=e,this.headers=r,this.bucketId=n,this.fetch=V3(i)}throwOnError(){return this.shouldThrowOnError=!0,this}uploadOrUpdate(e,r,n,i){return Pt(this,void 0,void 0,function*(){try{let a;const s=Object.assign(Object.assign({},z6),i);let o=Object.assign(Object.assign({},this.headers),e==="POST"&&{"x-upsert":String(s.upsert)});const c=s.metadata;typeof Blob<"u"&&n instanceof Blob?(a=new FormData,a.append("cacheControl",s.cacheControl),c&&a.append("metadata",this.encodeMetadata(c)),a.append("",n)):typeof FormData<"u"&&n instanceof FormData?(a=n,a.append("cacheControl",s.cacheControl),c&&a.append("metadata",this.encodeMetadata(c))):(a=n,o["cache-control"]=`max-age=${s.cacheControl}`,o["content-type"]=s.contentType,c&&(o["x-metadata"]=this.toBase64(this.encodeMetadata(c)))),i!=null&&i.headers&&(o=Object.assign(Object.assign({},o),i.headers));const A=this._removeEmptyFolders(r),u=this._getFinalPath(A),d=yield(e=="PUT"?ES:ul)(this.fetch,`${this.url}/object/${u}`,a,Object.assign({headers:o},s!=null&&s.duplex?{duplex:s.duplex}:{}));return{data:{path:A,id:d.Id,fullPath:d.Key},error:null}}catch(a){if(this.shouldThrowOnError)throw a;if(Qn(a))return{data:null,error:a};throw a}})}upload(e,r,n){return Pt(this,void 0,void 0,function*(){return this.uploadOrUpdate("POST",e,r,n)})}uploadToSignedUrl(e,r,n,i){return Pt(this,void 0,void 0,function*(){const a=this._removeEmptyFolders(e),s=this._getFinalPath(a),o=new URL(this.url+`/object/upload/sign/${s}`);o.searchParams.set("token",r);try{let c;const A=Object.assign({upsert:z6.upsert},i),u=Object.assign(Object.assign({},this.headers),{"x-upsert":String(A.upsert)});typeof Blob<"u"&&n instanceof Blob?(c=new FormData,c.append("cacheControl",A.cacheControl),c.append("",n)):typeof FormData<"u"&&n instanceof FormData?(c=n,c.append("cacheControl",A.cacheControl)):(c=n,u["cache-control"]=`max-age=${A.cacheControl}`,u["content-type"]=A.contentType);const d=yield ES(this.fetch,o.toString(),c,{headers:u});return{data:{path:a,fullPath:d.Key},error:null}}catch(c){if(this.shouldThrowOnError)throw c;if(Qn(c))return{data:null,error:c};throw c}})}createSignedUploadUrl(e,r){return Pt(this,void 0,void 0,function*(){try{let n=this._getFinalPath(e);const i=Object.assign({},this.headers);r!=null&&r.upsert&&(i["x-upsert"]="true");const a=yield ul(this.fetch,`${this.url}/object/upload/sign/${n}`,{},{headers:i}),s=new URL(this.url+a.url),o=s.searchParams.get("token");if(!o)throw new z3("No token returned by API");return{data:{signedUrl:s.toString(),path:e,token:o},error:null}}catch(n){if(this.shouldThrowOnError)throw n;if(Qn(n))return{data:null,error:n};throw n}})}update(e,r,n){return Pt(this,void 0,void 0,function*(){return this.uploadOrUpdate("PUT",e,r,n)})}move(e,r,n){return Pt(this,void 0,void 0,function*(){try{return{data:yield ul(this.fetch,`${this.url}/object/move`,{bucketId:this.bucketId,sourceKey:e,destinationKey:r,destinationBucket:n==null?void 0:n.destinationBucket},{headers:this.headers}),error:null}}catch(i){if(this.shouldThrowOnError)throw i;if(Qn(i))return{data:null,error:i};throw i}})}copy(e,r,n){return Pt(this,void 0,void 0,function*(){try{return{data:{path:(yield ul(this.fetch,`${this.url}/object/copy`,{bucketId:this.bucketId,sourceKey:e,destinationKey:r,destinationBucket:n==null?void 0:n.destinationBucket},{headers:this.headers})).Key},error:null}}catch(i){if(this.shouldThrowOnError)throw i;if(Qn(i))return{data:null,error:i};throw i}})}createSignedUrl(e,r,n){return Pt(this,void 0,void 0,function*(){try{let i=this._getFinalPath(e),a=yield ul(this.fetch,`${this.url}/object/sign/${i}
3501`,Object.assign({expiresIn:r},n!=null&&n.transform?{transform:n.transform}:{}),{headers:this.headers});const s=n!=null&&n.download?`&download=${n.download===!0?"":n.download}`:"";return a={signedUrl:encodeURI(`${this.url}${a.signedURL}${s}`)},{data:a,error:null}}catch(i){if(this.shouldThrowOnError)throw i;if(Qn(i))return{data:null,error:i};throw i}})}createSignedUrls(e,r,n){return Pt(this,void 0,void 0,function*(){try{const i=yield ul(this.fetch,`${this.url}/object/sign/${this.bucketId}`,{expiresIn:r,paths:e},{headers:this.headers}),a=n!=null&&n.download?`&download=${n.download===!0?"":n.download}`:"";return{data:i.map(s=>Object.assign(Object.assign({},s),{signedUrl:s.signedURL?encodeURI(`${this.url}${s.signedURL}${a}`):null})),error:null}}catch(i){if(this.shouldThrowOnError)throw i;if(Qn(i))return{data:null,error:i};throw i}})}download(e,r){const i=typeof(r==null?void 0:r.transform)<"u"?"render/image/authenticated":"object",a=this.transformOptsToQueryString((r==null?void 0:r.transform)||{}),s=a?`?${a}`:"",o=this._getFinalPath(e),c=()=>Gv(this.fetch,`${this.url}/${i}/${o}${s}`,{headers:this.headers,noResolveJson:!0});return new Boe(c,this.shouldThrowOnError)}info(e){return Pt(this,void 0,void 0,function*(){const r=this._getFinalPath(e);try{const n=yield Gv(this.fetch,`${this.url}/object/info/${r}`,{headers:this.headers});return{data:BS(n),error:null}}catch(n){if(this.shouldThrowOnError)throw n;if(Qn(n))return{data:null,error:n};throw n}})}exists(e){return Pt(this,void 0,void 0,function*(){const r=this._getFinalPath(e);try{return yield boe(this.fetch,`${this.url}/object/${r}`,{headers:this.headers}),{data:!0,error:null}}catch(n){if(this.shouldThrowOnError)throw n;if(Qn(n)&&n instanceof CS){const i=n.originalError;if([400,404].includes(i==null?void 0:i.status))return{data:!1,error:n}}throw n}})}getPublicUrl(e,r){const n=this._getFinalPath(e),i=[],a=r!=null&&r.download?`download=${r.download===!0?"":r.download}`:"";a!==""&&i.push(a);const o=typeof(r==null?void 0:r.transform)<"u"?"render/image":"object",c=this.transformOptsToQueryString((r==null?void 0:r.transform)||{});c!==""&&i.push(c);let A=i.join("&");return A!==""&&(A=`?${A}`),{data:{publicUrl:encodeURI(`${this.url}/${o}/public/${n}${A}`)}}}remove(e){return Pt(this,void 0,void 0,function*(){try{return{data:yield W3(this.fetch,`${this.url}/object/${this.bucketId}`,{prefixes:e},{headers:this.headers}),error:null}}catch(r){if(this.shouldThrowOnError)throw r;if(Qn(r))return{data:null,error:r};throw r}})}list(e,r,n){return Pt(this,void 0,void 0,function*(){try{const i=Object.assign(Object.assign(Object.assign({},Eoe),r),{prefix:e||""});return{data:yield ul(this.fetch,`${this.url}/object/list/${this.bucketId}`,i,{headers:this.headers},n),error:null}}catch(i){if(this.shouldThrowOnError)throw i;if(Qn(i))return{data:null,error:i};throw i}})}listV2(e,r){return Pt(this,void 0,void 0,function*(){try{const n=Object.assign({},e);return{data:yield ul(this.fetch,`${this.url}/object/list-v2/${this.bucketId}`,n,{headers:this.headers},r),error:null}}catch(n){if(this.shouldThrowOnError)throw n;if(Qn(n))return{data:null,error:n};throw n}})}encodeMetadata(e){return JSON.stringify(e)}toBase64(e){return typeof Buffer<"u"?Buffer.from(e).toString("base64"):btoa(e)}_getFinalPath(e){return`${this.bucketId}/${e.replace(/^\/+/,"")}`}_removeEmptyFolders(e){return e.replace(/^\/|\/$/g,"").replace(/\/+/g,"/")}transformOptsToQueryString(e){const r=[];return e.width&&r.push(`width=${e.width}`),e.height&&r.push(`height=${e.height}`),e.resize&&r.push(`resize=${e.resize}`),e.format&&r.push(`format=${e.format}`),e.quality&&r.push(`quality=${e.quality}`),r.join("&")}}const b9="2.78.0",C9={"X-Client-Info":`storage-js/${b9}`};class Soe{constructor(e,r={},n,i){this.shouldThrowOnError=!1;const a=new URL(e);i!=null&&i.useNewHostname&&/supabase\.(co|in|red)$/.test(a.hostname)&&!a.hostname.includes("storage.supabase.")&&(a.hostname=a.hostname.replace("supabase.","storage.supabase.")),this.url=a.href.replace(/\/$/,""),this.headers=Object.assign(Object.assign({},C9),r),this.fetch=V3(n)}throwOnError(){return this.shouldThrowOnError=!0,this}listBuckets(e){return Pt(this,void 0,void 0,function*(){try{const r=this.listBucketOptionsToQueryString(e);return{data:yield Gv(this.fetch,`${this.url}/bucket${r}`,{headers:this.headers}),error:null}}catch(r){if(this.shouldThrowOnError)throw r;if(Qn(r))return{data:null,error:r};throw r}})}getBucket(e){return Pt(this,void 0,void 0,function*(){try{return{data:yield Gv(this.fetch,`${this.url}/bucket/${e}`,{headers:this.headers}),error:null}}catch(r){if(this.shouldThrowOnError)throw r;if(Qn(r))return{data:null,error:r};throw r}})}createBucket(e){return Pt(this,arguments,void 0,function*(r,n={public:!1}){try{return{data:yield ul(this.fetch,`${this.url}/bucket`,{id:r,name:r,type:n.type,public:n.public,file_size_limit:n.fileSizeLimit,allowed_mime_types:n.allowedMimeTypes},{headers:this.headers}),error:null}}catch(i){if(this.shouldThrowOnError)throw i;if(Qn(i))return{data:null,error:i};throw i}})}updateBucket(e,r){return Pt(this,void 0,void 0,function*(){try{return{data:yield ES(this.fetch,`${this.url}/bucket/${e}`,{id:e,name:e,public:r.public,file_size_limit:r.fileSizeLimit,allowed_mime_types:r.allowedMimeTypes},{headers:this.headers}),error:null}}catch(n){if(this.shouldThrowOnError)throw n;if(Qn(n))return{data:null,error:n};throw n}})}emptyBucket(e){return Pt(this,void 0,void 0,function*(){try{return{data:yield ul(this.fetch,`${this.url}/bucket/${e}/empty`,{},{headers:this.headers}),error:null}}catch(r){if(this.shouldThrowOnError)throw r;if(Qn(r))return{data:null,error:r};throw r}})}deleteBucket(e){return Pt(this,void 0,void 0,function*(){try{return{data:yield W3(this.fetch,`${this.url}/bucket/${e}`,{},{headers:this.headers}),error:null}}catch(r){if(this.shouldThrowOnError)throw r;if(Qn(r))return{data:null,error:r};throw r}})}listBucketOptionsToQueryString(e){const r={};return e&&("limit"in e&&(r.limit=String(e.limit)),"offset"in e&&(r.offset=String(e.offset)),e.search&&(r.search=e.search),e.sortColumn&&(r.sortColumn=e.sortColumn),e.sortOrder&&(r.sortOrder=e.sortOrder)),Object.keys(r).length>0?"?"+new URLSearchParams(r).toString():""}}class _oe{constructor(e,r={},n){this.shouldThrowOnError=!1,this.url=e.replace(/\/$/,""),this.headers=Object.assign(Object.assign({},C9),r),this.fetch=V3(n)}throwOnError(){return this.shouldThrowOnError=!0,this}createBucket(e){return Pt(this,void 0,void 0,function*(){try{return{data:yield ul(this.fetch,`${this.url}/bucket`,{name:e},{headers:this.headers}),error:null}}catch(r){if(this.shouldThrowOnError)throw r;if(Qn(r))return{data:null,error:r};throw r}})}listBuckets(e){return Pt(this,void 0,void 0,function*(){try{const r=new
3501URLSearchParams;(e==null?void 0:e.limit)!==void 0&&r.set("limit",e.limit.toString()),(e==null?void 0:e.offset)!==void 0&&r.set("offset",e.offset.toString()),e!=null&&e.sortColumn&&r.set("sortColumn",e.sortColumn),e!=null&&e.sortOrder&&r.set("sortOrder",e.sortOrder),e!=null&&e.search&&r.set("search",e.search);const n=r.toString(),i=n?`${this.url}/bucket?${n}`:`${this.url}/bucket`;return{data:yield Gv(this.fetch,i,{headers:this.headers}),error:null}}catch(r){if(this.shouldThrowOnError)throw r;if(Qn(r))return{data:null,error:r};throw r}})}deleteBucket(e){return Pt(this,void 0,void 0,function*(){try{return{data:yield W3(this.fetch,`${this.url}/bucket/${e}`,{},{headers:this.headers}),error:null}}catch(r){if(this.shouldThrowOnError)throw r;if(Qn(r))return{data:null,error:r};throw r}})}}const K3={"X-Client-Info":`storage-js/${b9}`,"Content-Type":"application/json"};class B9 extends Error{constructor(e){super(e),this.__isStorageVectorsError=!0,this.name="StorageVectorsError"}}function qs(t){return typeof t=="object"&&t!==null&&"__isStorageVectorsError"in t}class FE extends B9{constructor(e,r,n){super(e),this.name="StorageVectorsApiError",this.status=r,this.statusCode=n}toJSON(){return{name:this.name,message:this.message,status:this.status,statusCode:this.statusCode}}}class Foe extends B9{constructor(e,r){super(e),this.name="StorageVectorsUnknownError",this.originalError=r}}var V6;(function(t){t.InternalError="InternalError",t.S3VectorConflictException="S3VectorConflictException",t.S3VectorNotFoundException="S3VectorNotFoundException",t.S3VectorBucketNotEmpty="S3VectorBucketNotEmpty",t.S3VectorMaxBucketsExceeded="S3VectorMaxBucketsExceeded",t.S3VectorMaxIndexesExceeded="S3VectorMaxIndexesExceeded"})(V6||(V6={}));const q3=t=>{let e;return t?e=t:typeof fetch>"u"?e=(...r)=>uc(async()=>{const{default:n}=await Promise.resolve().then(()=>Qh);return{default:n}},void 0).then(({default:n})=>n(...r)):e=fetch,(...r)=>e(...r)},Toe=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)},W6=t=>t.msg||t.message||t.error_description||t.error||JSON.stringify(t),joe=(t,e,r)=>Pt(void 0,void 0,void 0,function*(){if(t&&typeof t=="object"&&"status"in t&&"ok"in t&&typeof t.status=="number"&&!(r!=null&&r.noResolveJson)){const i=t.status||500,a=t;if(typeof a.json=="function")a.json().then(s=>{const o=(s==null?void 0:s.statusCode)||(s==null?void 0:s.code)||i+"";e(new FE(W6(s),i,o))}).catch(()=>{const s=i+"",o=a.statusText||`HTTP ${i} error`;e(new FE(o,i,s))});else{const s=i+"",o=a.statusText||`HTTP ${i} error`;e(new FE(o,i,s))}}else e(new Foe(W6(t),t))}),Ioe=(t,e,r,n)=>{const i={method:t,headers:(e==null?void 0:e.headers)||{}};return n?(Toe(n)?(i.headers=Object.assign({"Content-Type":"application/json"},e==null?void 0:e.headers),i.body=JSON.stringify(n)):i.body=n,Object.assign(Object.assign({},i),r)):i};function koe(t,e,r,n,i,a){return Pt(this,void 0,void 0,function*(){return new Promise((s,o)=>{t(r,Ioe(e,n,i,a)).then(c=>{if(!c.ok)throw c;if(n!=null&&n.noResolveJson)return c;const A=c.headers.get("content-type");return!A||!A.includes("application/json")?{}:c.json()}).then(c=>s(c)).catch(c=>joe(c,o,n))})})}function Gs(t,e,r,n,i){return Pt(this,void 0,void 0,function*(){return koe(t,"POST",e,n,i,r)})}class Poe{constructor(e,r={},n){this.shouldThrowOnError=!1,this.url=e.replace(/\/$/,""),this.headers=Object.assign(Object.assign({},K3),r),this.fetch=q3(n)}throwOnError(){return this.shouldThrowOnError=!0,this}createIndex(e){return Pt(this,void 0,void 0,function*(){try{return{data:(yield Gs(this.fetch,`${this.url}/CreateIndex`,e,{headers:this.headers}))||{},error:null}}catch(r){if(this.shouldThrowOnError)throw r;if(qs(r))return{data:null,error:r};throw r}})}getIndex(e,r){return Pt(this,void 0,void 0,function*(){try{return{data:yield Gs(this.fetch,`${this.url}/GetIndex`,{vectorBucketName:e,indexName:r},{headers:this.headers}),error:null}}catch(n){if(this.shouldThrowOnError)throw n;if(qs(n))return{data:null,error:n};throw n}})}listIndexes(e){return Pt(this,void 0,void 0,function*(){try{return{data:yield Gs(this.fetch,`${this.url}/ListIndexes`,e,{headers:this.headers}),error:null}}catch(r){if(this.shouldThrowOnError)throw r;if(qs(r))return{data:null,error:r};throw r}})}deleteIndex(e,r){return Pt(this,void 0,void 0,function*(){try{return{data:(yield Gs(this.fetch,`${this.url}/DeleteIndex`,{vectorBucketName:e,indexName:r},{headers:this.headers}))||{},error:null}}catch(n){if(this.shouldThrowOnError)throw n;if(qs(n))return{data:null,error:n};throw n}})}}class Doe{constructor(e,r={},n){this.shouldThrowOnError=!1,this.url=e.replace(/\/$/,""),this.headers=Object.assign(Object.assign({},K3),r),this.fetch=q3(n)}throwOnError(){return this.shouldThrowOnError=!0,this}putVectors(e){return Pt(this,void 0,void 0,function*(){try{if(e.vectors.length<1||e.vectors.length>500)throw new Error("Vector batch size must be between 1 and 500 items");return{data:(yield Gs(this.fetch,`${this.url}/PutVectors`,e,{headers:this.headers}))||{},error:null}}catch(r){if(this.shouldThrowOnError)throw r;if(qs(r))return{data:null,error:r};throw r}})}getVectors(e){return Pt(this,void 0,void 0,function*(){try{return{data:yield Gs(this.fetch,`${this.url}/GetVectors`,e,{headers:this.headers}),error:null}}catch(r){if(this.shouldThrowOnError)throw r;if(qs(r))return{data:null,error:r};throw r}})}listVectors(e){return Pt(this,void 0,void 0,function*(){try{if(e.segmentCount!==void 0){if(e.segmentCount<1||e.segmentCount>16)throw new Error("segmentCount must be between 1 and 16");
3501if(e.segmentIndex!==void 0&&(e.segmentIndex<0||e.segmentIndex>=e.segmentCount))throw new Error(`segmentIndex must be between 0 and ${e.segmentCount-1}`)}return{data:yield Gs(this.fetch,`${this.url}/ListVectors`,e,{headers:this.headers}),error:null}}catch(r){if(this.shouldThrowOnError)throw r;if(qs(r))return{data:null,error:r};throw r}})}queryVectors(e){return Pt(this,void 0,void 0,function*(){try{return{data:yield Gs(this.fetch,`${this.url}/QueryVectors`,e,{headers:this.headers}),error:null}}catch(r){if(this.shouldThrowOnError)throw r;if(qs(r))return{data:null,error:r};throw r}})}deleteVectors(e){return Pt(this,void 0,void 0,function*(){try{if(e.keys.length<1||e.keys.length>500)throw new Error("Keys batch size must be between 1 and 500 items");return{data:(yield Gs(this.fetch,`${this.url}/DeleteVectors`,e,{headers:this.headers}))||{},error:null}}catch(r){if(this.shouldThrowOnError)throw r;if(qs(r))return{data:null,error:r};throw r}})}}class Ooe{constructor(e,r={},n){this.shouldThrowOnError=!1,this.url=e.replace(/\/$/,""),this.headers=Object.assign(Object.assign({},K3),r),this.fetch=q3(n)}throwOnError(){return this.shouldThrowOnError=!0,this}createBucket(e){return Pt(this,void 0,void 0,function*(){try{return{data:(yield Gs(this.fetch,`${this.url}/CreateVectorBucket`,{vectorBucketName:e},{headers:this.headers}))||{},error:null}}catch(r){if(this.shouldThrowOnError)throw r;if(qs(r))return{data:null,error:r};throw r}})}getBucket(e){return Pt(this,void 0,void 0,function*(){try{return{data:yield Gs(this.fetch,`${this.url}/GetVectorBucket`,{vectorBucketName:e},{headers:this.headers}),error:null}}catch(r){if(this.shouldThrowOnError)throw r;if(qs(r))return{data:null,error:r};throw r}})}listBuckets(){return Pt(this,arguments,void 0,function*(e={}){try{return{data:yield Gs(this.fetch,`${this.url}/ListVectorBuckets`,e,{headers:this.headers}),error:null}}catch(r){if(this.shouldThrowOnError)throw r;if(qs(r))return{data:null,error:r};throw r}})}deleteBucket(e){return Pt(this,void 0,void 0,function*(){try{return{data:(yield Gs(this.fetch,`${this.url}/DeleteVectorBucket`,{vectorBucketName:e},{headers:this.headers}))||{},error:null}}catch(r){if(this.shouldThrowOnError)throw r;if(qs(r))return{data:null,error:r};throw r}})}}class Roe extends Ooe{constructor(e,r={}){super(e,r.headers||{},r.fetch)}from(e){return new Uoe(this.url,this.headers,e,this.fetch)}}class Uoe extends Poe{constructor(e,r,n,i){super(e,r,i),this.vectorBucketName=n}createIndex(e){const r=Object.create(null,{createIndex:{get:()=>super.createIndex}});return Pt(this,void 0,void 0,function*(){return r.createIndex.call(this,Object.assign(Object.assign({},e),{vectorBucketName:this.vectorBucketName}))})}listIndexes(){const e=Object.create(null,{listIndexes:{get:()=>super.listIndexes}});return Pt(this,arguments,void 0,function*(r={}){return e.listIndexes.call(this,Object.assign(Object.assign({},r),{vectorBucketName:this.vectorBucketName}))})}getIndex(e){const r=Object.create(null,{getIndex:{get:()=>super.getIndex}});return Pt(this,void 0,void 0,function*(){return r.getIndex.call(this,this.vectorBucketName,e)})}deleteIndex(e){const r=Object.create(null,{deleteIndex:{get:()=>super.deleteIndex}});return Pt(this,void 0,void 0,function*(){return r.deleteIndex.call(this,this.vectorBucketName,e)})}index(e){return new Loe(this.url,this.headers,this.vectorBucketName,e,this.fetch)}}class Loe extends Doe{constructor(e,r,n,i,a){super(e,r,a),this.vectorBucketName=n,this.indexName=i}putVectors(e){const r=Object.create(null,{putVectors:{get:()=>super.putVectors}});return Pt(this,void 0,void 0,function*(){return r.putVectors.call(this,Object.assign(Object.assign({},e),{vectorBucketName:this.vectorBucketName,indexName:this.indexName}))})}getVectors(e){const r=Object.create(null,{getVectors:{get:()=>super.getVectors}});return Pt(this,void 0,void 0,function*(){return r.getVectors.call(this,Object.assign(Object.assign({},e),{vectorBucketName:this.vectorBucketName,indexName:this.indexName}))})}listVectors(){const e=Object.create(null,{listVectors:{get:()=>super.listVectors}});return Pt(this,arguments,void 0,function*(r={}){return e.listVectors.call(this,Object.assign(Object.assign({},r),{vectorBucketName:this.vectorBucketName,indexName:this.indexName}))})}queryVectors(e){const r=Object.create(null,{queryVectors:{get:()=>super.queryVectors}});return Pt(this,void 0,void 0,function*(){return r.queryVectors.call(this,Object.assign(Object.assign({},e),{vectorBucketName:this.vectorBucketName,indexName:this.indexName}))})}deleteVectors(e){const r=Object.create(null,{deleteVectors:{get:()=>super.deleteVectors}});return Pt(this,void 0,void 0,function*(){return r.deleteVectors.call(this,Object.assign(Object.assign({},e),{vectorBucketName:this.vectorBucketName,indexName:this.indexName}))})}}class Moe extends Soe{constructor(e,r={},n,i){super(e,r,n,i)}from(e){return new Noe(this.url,this.headers,e,this.fetch)}get vectors(){return new Roe(this.url+"/vector",{headers:this.headers,fetch:this.fetch})}get analytics(){return new _oe(this.url+"/iceberg",this.headers,this.fetch)}}const Qoe="2.78.0";let lg="";typeof Deno<"u"?lg="deno":typeof document<"u"?lg="web":typeof navigator<"u"&&navigator.product==="ReactNative"?lg="react-native":lg="node";const Hoe={"X-Client-Info":`supabase-js-${lg}/${Qoe}`},zoe={headers:Hoe},Voe={schema:"public"},Woe={autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,flowType:"implicit"},Koe={},qoe=t=>{let e;return t?e=t:typeof fetch>"u"?e=$Q:e=fetch,(...r)=>e(...r)},Goe=()=>typeof Headers>"u"?e9:Headers,Joe=(t,e,r)=>{const n=qoe(r),i=Goe();return async(a,s)=>{var o;const c=(o=await e())!==null&&o!==void 0?o:t;let A=new i(s==null?void 0:s.headers);return A.has("apikey")||A.set("apikey",t),A.has("Authorization")||A.set("Authorization",`Bearer ${c}`),n(a,Object.assign(Object.assign({},s),{headers:A}))}};function Xoe(t){return t.endsWith("/")?t:t+"/"}function Yoe(t,e){var r,n;const{db:i,auth:a,realtime:s,global:o}=t,{db:c,auth:A,realtime:u,global:d}=e,f={db:Object.assign(Object.assign({},c),i),auth:Object.assign(Object.assign({},A),a),realtime:Object.assign(Object.assign({},u),s),storage:{},global:Object.assign(Object.assign(Object.assign({},d),o),{headers:Object.assign(Object.assign({},(r=d==null?void 0:d.headers)!==null&&r!==void 0?r:{}),(n=o==null?void 0:o.headers)!==null&&n!==void 0?n:{})}),accessToken:async()=>""};return t.accessToken?f.accessToken=t.accessToken:delete f.accessToken,f}function Zoe(t){const e=t==null?void 0:t.trim();if(!e)throw new Error("supabaseUrl is required.");
3501if(!e.match(/^https?:\/\//i))throw new Error("Invalid supabaseUrl: Must be a valid HTTP or HTTPS URL.");try{return new URL(Xoe(e))}catch{throw Error("Invalid supabaseUrl: Provided URL is malformed.")}}const E9="2.78.0",Jf=30*1e3,NS=3,TE=NS*Jf,$oe="http://localhost:9999",ele="supabase.auth.token",tle={"X-Client-Info":`gotrue-js/${E9}`},SS="X-Supabase-Api-Version",N9={"2024-01-01":{timestamp:Date.parse("2024-01-01T00:00:00.0Z"),name:"2024-01-01"}},rle=/^([a-z0-9_-]{4})*($|[a-z0-9_-]{3}$|[a-z0-9_-]{2}$)$/i,nle=10*60*1e3;class Jv extends Error{constructor(e,r,n){super(e),this.__isAuthError=!0,this.name="AuthError",this.status=r,this.code=n}}function Ut(t){return typeof t=="object"&&t!==null&&"__isAuthError"in t}class ile extends Jv{constructor(e,r,n){super(e,r,n),this.name="AuthApiError",this.status=r,this.code=n}}function ale(t){return Ut(t)&&t.name==="AuthApiError"}class Qd extends Jv{constructor(e,r){super(e),this.name="AuthUnknownError",this.originalError=r}}class hd extends Jv{constructor(e,r,n,i){super(e,n,i),this.name=r,this.status=n}}class al extends hd{constructor(){super("Auth session missing!","AuthSessionMissingError",400,void 0)}}function sle(t){return Ut(t)&&t.name==="AuthSessionMissingError"}class Nf extends hd{constructor(){super("Auth session or user missing","AuthInvalidToken
3501ResponseError",500,void 0)}}class Sy extends hd{constructor(e){super(e,"AuthInvalidCredentialsError",400,void 0)}}class _y extends hd{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 ole(t){return Ut(t)&&t.name==="AuthImplicitGrantRedirectError"}class K6 extends hd{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 _S extends hd{constructor(e,r){super(e,"AuthRetryableFetchError",r,void 0)}}function jE(t){return Ut(t)&&t.name==="AuthRetryableFetchError"}class q6 extends hd{constructor(e,r,n){super(e,"AuthWeakPasswordError",r,"weak_password"),this.reasons=n}}class FS extends hd{constructor(e){super(e,"AuthInvalidJwtError",400,"invalid_jwt")}}const gb="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".split(""),G6=` 3502\r=`.split(""),lle=(()=>{const t=new Array(128);for(let e=0;e<t.length;e+=1)t[e]=-1;for(let e=0;e<G6.length;e+=1)t[G6[e].charCodeAt(0)]=-2;for(let e=0;e<gb.length;e+=1)t[gb[e].charCodeAt(0)]=e;return t})();function J6(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(gb[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(gb[n]),e.queuedBits-=6}}function S9(t,e,r){const n=lle[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 X6(t){const e=[],r=s=>{e.push(String.fromCodePoint(s))},n={utf8seq:0,codepoint:0},i={queue:0,queuedBits:0},a=s=>{ule(s,n,r)};for(let s=0;s<t.length;s+=1)S9(t.charCodeAt(s),i,a);return e.join("")}function cle(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 Ale(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}cle(n,e)}}function ule(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 O0(t){const e=[],r={queue:0,queuedBits:0},n=i=>{e.push(i)};for(let i=0;i<t.length;i+=1)S9(t.charCodeAt(i),r,n);return new Uint8Array(e)}function dle(t){const e=[];return Ale(t,r=>e.push(r)),new Uint8Array(e)}function Zd(t){const e=[],r={queue:0,queuedBits:0},n=i=>{e.push(i)};return t.forEach(i=>J6(i,r,n)),J6(null,r,n),e.join("")}function hle(t){return Math.round(Date.now()/1e3)+t}function fle(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){const e=Math.random()*16|0;return(t=="x"?e:e&3|8).toString(16)})}const qa=()=>typeof window<"u"&&typeof document<"u",Fd={tested:!1,writable:!1},_9=()=>{if(!qa())return!1;try{if(typeof globalThis.localStorage!="object")return!1}catch{return!1}if(Fd.tested)return Fd.writable;const t=`lswt-${Math.random()}${Math.random()}`;try{globalThis.localStorage.setItem(t,t),globalThis.localStorage.removeItem(t),Fd.tested=!0,Fd.writable=!0}catch{Fd.tested=!0,Fd.writable=!1}return Fd.writable};function ple(t){const e={},r=new URL(t);if(r.hash&&r.hash[0]==="#")try{new URLSearchParams(r.hash.substring(1)).forEach((i,a)=>{e[a]=i})}catch{}return r.searchParams.forEach((n,i)=>{e[i]=n}),e}const F9=t=>{let e;return t?e=t:typeof fetch>"u"?e=(...r)=>uc(async()=>{const{default:n}=await Promise.resolve().then(()=>Qh);return{default:n}},void 0).then(({default:n})=>n(...r)):e=fetch,(...r)=>e(...r)},mle=t=>typeof t=="object"&&t!==null&&"status"in t&&"ok"in t&&"json"in t&&typeof t.json=="function",Xf=async(t,e,r)=>{await t.setItem(e,JSON.stringify(r))},Td=async(t,e)=>{const r=await t.getItem(e);if(!r)return null;try{return JSON.parse(r)}catch{return r}},UA=async(t,e)=>{await t.removeItem(e)};class ZC{constructor(){this.promise=new ZC.promiseConstructor((e,r)=>{this.resolve=e,this.reject=r})}}ZC.promiseConstructor=Promise;function IE(t){const e=t.split(".");if(e.length!==3)throw new FS("Invalid JWT structure");for(let n=0;n<e.length;n++)if(!rle.test(e[n]))throw new FS("JWT not in base64url format");return{header:JSON.parse(X6(e[0])),payload:JSON.parse(X6(e[1])),signature:O0(e[2]),raw:{header:e[0],payload:e[1]}}}async function gle(t){return await new Promise(e=>{setTimeout(()=>e(null),t)})}function vle(t,e){return new Promise((n,i)=>{(async()=>{for(let a=0;a<1/0;a++)try{const s=await t(a);if(!e(a,null,s)){n(s);return}}catch(s){if(!e(a,s)){i(s);return}}})()})}function xle(t){return("0"+t.toString(16)).substr(-2)}function yle(){const e=new Uint32Array(56);if(typeof crypto>"u"){const r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~",n=r.length;let i="";for(let a=0;a<56;a++)i+=r.charAt(Math.floor(Math.random()*n));return i}return crypto.getRandomValues(e),Array.from(e,xle).join("")}async function wle(t){const r=new TextEncoder().encode(t),n=await crypto.subtle.digest("SHA-256",r),i=new Uint8Array(n);return Array.from(i).map(a=>String.fromCharCode(a)).join("")}async function ble(t){if(!(typeof crypto<"u"&&typeof crypto.subtle<"u"&&typeof TextEncoder<"u"))return console.warn("WebCrypto API is not supported. Code
3502challenge method will default to use plain instead of sha256."),t;const r=await wle(t);return btoa(r).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}async function Sf(t,e,r=!1){const n=yle();let i=n;r&&(i+="/PASSWORD_RECOVERY"),await Xf(t,`${e}-code-verifier`,i);const a=await ble(n);return[a,n===a?"plain":"s256"]}const Cle=/^2[0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|1[0-9]|2[0-9]|3[0-1])$/i;function Ble(t){const e=t.headers.get(SS);if(!e||!e.match(Cle))return null;try{return new Date(`${e}T00:00:00.0Z`)}catch{return null}}function Ele(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 Nle(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 Sle=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/;function _f(t){if(!Sle.test(t))throw new Error("@supabase/auth-js: Expected parameter to be UUID but is not")}function kE(){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 _le(t,e){return new Proxy(t,{get:(r,n,i)=>{if(n==="__isInsecureUserWarningProxy")return!0;if(typeof n=="symbol"){const a=n.toString();if(a==="Symbol(Symbol.toPrimitive)"||a==="Symbol(Symbol.toStringTag)"||a==="Symbol(util.inspect.custom)"||a==="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 Y6(t){return JSON.parse(JSON.stringify(t))}const Rd=t=>t.msg||t.message||t.error_description||t.error||JSON.stringify(t),Fle=[502,503,504];async function Z6(t){var e;if(!mle(t))throw new _S(Rd(t),0);if(Fle.includes(t.status))throw new _S(Rd(t),t.status);let r;try{r=await t.json()}catch(a){throw new Qd(Rd(a),a)}let n;const i=Ble(t);if(i&&i.getTime()>=N9["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 q6(Rd(r),t.status,((e=r.weak_password)===null||e===void 0?void 0:e.reasons)||[]);if(n==="session_not_found")throw new al}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((a,s)=>a&&typeof s=="string",!0))throw new q6(Rd(r),t.status,r.weak_password.reasons);throw new ile(Rd(r),t.status||500,n)}const Tle=(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 Jt(t,e,r,n){var i;const a=Object.assign({},n==null?void 0:n.headers);a[SS]||(a[SS]=N9["2024-01-01"].name),n!=null&&n.jwt&&(a.Authorization=`Bearer ${n.jwt}`);const s=(i=n==null?void 0:n.query)!==null&&i!==void 0?i:{};n!=null&&n.redirectTo&&(s.redirect_to=n.redirectTo);const o=Object.keys(s).length?"?"+new URLSearchParams(s).toString():"",c=await jle(t,e,r+o,{headers:a,noResolveJson:n==null?void 0:n.noResolveJson},{},n==null?void 0:n.body);return n!=null&&n.xform?n==null?void 0:n.xform(c):{data:Object.assign({},c),error:null}}async function jle(t,e,r,n,i,a){const s=Tle(e,n,i,a);let o;try{o=await t(r,Object.assign({},s))}catch(c){throw console.error(c),new _S(Rd(c),0)}if(o.ok||await Z6(o),n!=null&&n.noResolveJson)return o;try{return await o.json()}catch(c){await Z6(c)}}function sl(t){var e;let r=null;Ple(t)&&(r=Object.assign({},t),t.expires_at||(r.expires_at=hle(t.expires_in)));const n=(e=t.user)!==null&&e!==void 0?e:t;return{data:{session:r,user:n},error:null}}function $6(t){const e=sl(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 cu(t){var e;return{data:{user:(e=t.user)!==null&&e!==void 0?e:t},error:null}}function Ile(t){return{data:t,error:null}}function kle(t){const{action_link:e,email_otp:r,hashed_token:n,redirect_to:i,verification_type:a}=t,s=mA(t,["action_link","email_otp","hashed_token","redirect_to","verification_type"]),o={action_link:e,email_otp:r,hashed_token:n,redirect_to:i,verification_type:a},c=Object.assign({},s);return{data:{properties:o,user:c},error:null}}function eP(t){return t}function Ple(t){return t.access_token&&t.refresh_token&&t.expires_in}const PE=["global","local","others"];class Dle{constructor({url:e="",headers:r={},fetch:n}){this.url=e,this.headers=r,this.fetch=F9(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)}}
vendor: 4,781 bytes, line 3502
3502async signOut(e,r=PE[0]){if(PE.indexOf(r)<0)throw new Error(`@supabase/auth-js: Parameter scope must be one of ${PE.join(", ")}`);try{return await Jt(this.fetch,"POST",`${this.url}/logout?scope=${r}`,{headers:this.headers,jwt:e,noResolveJson:!0}),{data:null,error:null}}catch(n){if(Ut(n))return{data:null,error:n};throw n}}async inviteUserByEmail(e,r={}){try{return await Jt(this.fetch,"POST",`${this.url}/invite`,{body:{email:e,data:r.data},headers:this.headers,redirectTo:r.redirectTo,xform:cu})}catch(n){if(Ut(n))return{data:{user:null},error:n};throw n}}async generateLink(e){try{const{options:r}=e,n=mA(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 Jt(this.fetch,"POST",`${this.url}/admin/generate_link`,{body:i,headers:this.headers,xform:kle,redirectTo:r==null?void 0:r.redirectTo})}catch(r){if(Ut(r))return{data:{properties:null,user:null},error:r};throw r}}async createUser(e){try{return await Jt(this.fetch,"POST",`${this.url}/admin/users`,{body:e,headers:this.headers,xform:cu})}catch(r){if(Ut(r))return{data:{user:null},error:r};throw r}}async listUsers(e){var r,n,i,a,s,o,c;try{const A={nextPage:null,lastPage:0,total:0},u=await Jt(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:(a=(i=e==null?void 0:e.perPage)===null||i===void 0?void 0:i.toString())!==null&&a!==void 0?a:""},xform:eP});if(u.error)throw u.error;const d=await u.json(),f=(s=u.headers.get("x-total-count"))!==null&&s!==void 0?s:0,h=(c=(o=u.headers.get("link"))===null||o===void 0?void 0:o.split(","))!==null&&c!==void 0?c:[];return h.length>0&&(h.forEach(m=>{const p=parseInt(m.split(";")[0].split("=")[1].substring(0,1)),x=JSON.parse(m.split(";")[1].split("=")[1]);A[`${x}Page`]=p}),A.total=parseInt(f)),{data:Object.assign(Object.assign({},d),A),error:null}}catch(A){if(Ut(A))return{data:{users:[]},error:A};throw A}}async getUserById(e){_f(e);try{return await Jt(this.fetch,"GET",`${this.url}/admin/users/${e}`,{headers:this.headers,xform:cu})}catch(r){if(Ut(r))return{data:{user:null},error:r};throw r}}async updateUserById(e,r){_f(e);try{return await Jt(this.fetch,"PUT",`${this.url}/admin/users/${e}`,{body:r,headers:this.headers,xform:cu})}catch(n){if(Ut(n))return{data:{user:null},error:n};throw n}}async deleteUser(e,r=!1){_f(e);try{return await Jt(this.fetch,"DELETE",`${this.url}/admin/users/${e}`,{headers:this.headers,body:{should_soft_delete:r},xform:cu})}catch(n){if(Ut(n))return{data:{user:null},error:n};throw n}}async _listFactors(e){_f(e.userId);try{const{data:r,error:n}=await Jt(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(Ut(r))return{data:null,error:r};throw r}}async _deleteFactor(e){_f(e.userId),_f(e.id);try{return{data:await Jt(this.fetch,"DELETE",`${this.url}/admin/users/${e.userId}/factors/${e.id}`,{headers:this.headers}),error:null}}catch(r){if(Ut(r))return{data:null,error:r};throw r}}async _listOAuthClients(e){var r,n,i,a,s,o,c;try{const A={nextPage:null,lastPage:0,total:0},u=await Jt(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:(a=(i=e==null?void 0:e.perPage)===null||i===void 0?void 0:i.toString())!==null&&a!==void 0?a:""},xform:eP});if(u.error)throw u.error;const d=await u.json(),f=(s=u.headers.get("x-total-count"))!==null&&s!==void 0?s:0,h=(c=(o=u.headers.get("link"))===null||o===void 0?void 0:o.split(","))!==null&&c!==void 0?c:[];return h.length>0&&(h.forEach(m=>{const p=parseInt(m.split(";")[0].split("=")[1].substring(0,1)),x=JSON.parse(m.split(";")[1].split("=")[1]);A[`${x}Page`]=p}),A.total=parseInt(f)),{data:Object.assign(Object.assign({},d),A),error:null}}catch(A){if(Ut(A))return{data:{clients:[]},error:A};throw A}}async _createOAuthClient(e){try{return await Jt(this.fetch,"POST",`${this.url}/admin/oauth/clients`,{body:e,headers:this.headers,xform:r=>({data:r,error:null})})}catch(r){if(Ut(r))return{data:null,error:r};throw r}}async _getOAuthClient(e){try{return await Jt(this.fetch,"GET",`${this.url}/admin/oauth/clients/${e}`,{headers:this.headers,xform:r=>({data:r,error:null})})}catch(r){if(Ut(r))return{data:null,error:r};throw r}}async _updateOAuthClient(e,r){try{return await Jt(this.fetch,"PUT",`${this.url}/admin/oauth/clients/${e}`,{body:r,headers:this.headers,xform:n=>({data:n,error:null})})}catch(n){if(Ut(n))return{data:null,error:n};throw n}}async _deleteOAuthClient(e){try{return await Jt(this.fetch,"DELET
3502E",`${this.url}/admin/oauth/clients/${e}`,{headers:this.headers,noResolveJson:!0}),{data:null,error:null}}catch(r){if(Ut(r))return{data:null,error:r};throw r}}async _regenerateOAuthClientSecret(e){try{return await Jt(this.fetch,"POST",`${this.url}/admin/oauth/clients/${e}/regenerate_secret`,{headers:this.headers,xform:r=>({data:r,error:null})})}catch(r){if(Ut(r))return{data:null,error:r};throw r}}}function tP(t={}){return{getItem:e=>t[e]||null,setItem:(e,r)=>{t[e]=r},removeItem:e=>{delete t[e]}}}const Ff={debug:!!(globalThis&&_9()&&globalThis.localStorage&&globalThis.localStorage.getItem("supabase.gotrue-js.locks.debug")==="true")};class T9 extends Error{constructor(e){super(e),this.isAcquireTimeout=!0}}class Ole extends T9{}async function Rle(t,e,r){Ff.debug&&console.log("@supabase/gotrue-js: navigatorLock: acquire lock",t,e);const n=new globalThis.AbortController;return e>0&&setTimeout(()=>{n.abort(),Ff.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){Ff.debug&&console.log("@supabase/gotrue-js: navigatorLock: acquired",t,i.name);try{return await r()}finally{Ff.debug&&console.log("@supabase/gotrue-js: navigatorLock: released",t,i.name)}}else{if(e===0)throw Ff.debug&&console.log("@supabase/gotrue-js: navigatorLock: not immediately available",t),new Ole(`Acquiring an exclusive Navigator LockManager lock "${t}" immediately failed`);if(Ff.debug)try{const a=await globalThis.navigator.locks.query();console.log("@supabase/gotrue-js: Navigator LockManager state",JSON.stringify(a,null," "))}catch(a){console.warn("@supabase/gotrue-js: Error when querying Navigator LockManager state",a)}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 Ule(){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 j9(t){if(!/^0x[a-fA-F0-9]{40}$/.test(t))throw new Error(`@supabase/auth-js: Address "${t}" is invalid.`);return t.toLowerCase()}function Lle(t){return parseInt(t,16)}function Mle(t){const e=new TextEncoder().encode(t);return"0x"+Array.from(e,n=>n.toString(16).padStart(2,"0")).join("")}function Qle(t){var e;const{chainId:r,domain:n,expirationTime:i,issuedAt:a=new Date,nonce:s,notBefore:o,requestId:c,resources:A,scheme:u,uri:d,version:f}=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(s&&s.length<8)throw new Error(`@supabase/auth-js: Invalid SIWE message field "nonce". Nonce must be at least 8 characters. Provided value: ${s}`);if(!d)throw new Error('@supabase/auth-js: Invalid SIWE message field "uri". URI must be provided.');if(f!=="1")throw new Error(`@supabase/auth-js: Invalid SIWE message field "version". Version must be '1'. Provided value: ${f}`);if(!((e=t.statement)===null||e===void 0)&&e.includes(` 3503`))throw new Error(`@supabase/auth-js: Invalid SIWE message field "statement". Statement must not include '\\n'. Provided value: ${t.statement}`)}const h=j9(t.address),m=u?`${u}://${n}`:n,p=t.statement?`${t.statement} 3504`:"",x=`${m} wants you to sign in with your Ethereum account: 3505${h} 3506 3507${p}`;let v=`URI: ${d} 3508Version: ${f} 3509Chain ID: ${r}${s?` 3510Nonce: ${s}`:""} 3511Issued At: ${a.toISOString()}`;if(i&&(v+=` 3512Expiration Time: ${i.toISOString()}`),o&&(v+=` 3513Not Before: ${o.toISOString()}`),c&&(v+=` 3514Request ID: ${c}`),A){let y=` 3515Resources:`;for(const b of A){if(!b||typeof b!="string")throw new Error(`@supabase/auth-js: Invalid SIWE message field "resources". Every resource must be a valid string. Provided value: ${b}`);y+=` 3516- ${b}`}v+=y}return`${x} 3517${v}`}
3517class gi extends Error{constructor({message:e,code:r,cause:n,name:i}){var a;super(e,{cause:n}),this.__isWebAuthnError=!0,this.name=(a=i??(n instanceof Error?n.name:void 0))!==null&&a!==void 0?a:"Unknown Error",this.code=r}}class vb extends gi{constructor(e,r){super({code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:r,message:e}),this.name="WebAuthnUnknownError",this.originalError=r}}function Hle({error:t,options:e}){var r,n,i;const{publicKey:a}=e;if(!a)throw Error("options was missing required publicKey property");if(t.name==="AbortError"){if(e.signal instanceof AbortSignal)return new gi({message:"Registration ceremony was sent an abort signal",code:"ERROR_CEREMONY_ABORTED",cause:t})}else if(t.name==="ConstraintError"){if(((r=a.authenticatorSelection)===null||r===void 0?void 0:r.requireResidentKey)===!0)return new gi({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=a.authenticatorSelection)===null||n===void 0?void 0:n.userVerification)==="required")return new gi({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=a.authenticatorSelection)===null||i===void 0?void 0:i.userVerification)==="required")return new gi({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 gi({message:"The authenticator was previously registered",code:"ERROR_AUTHENTICATOR_PREVIOUSLY_REGISTERED",cause:t});if(t.name==="NotAllowedError")return new gi({message:t.message,code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:t});if(t.name==="NotSupportedError")return a.pubKeyCredParams.filter(o=>o.type==="public-key").length===0?new gi({message:'No entry in pubKeyCredParams was of type "public-key"',code:"ERROR_MALFORMED_PUBKEYCREDPARAMS",cause:t}):new gi({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 s=window.location.hostname;if(I9(s)){if(a.rp.id!==s)return new gi({message:`The RP ID "${a.rp.id}" is invalid for this domain`,code:"ERROR_INVALID_RP_ID",cause:t})}else return new gi({message:`${window.location.hostname} is an invalid domain`,code:"ERROR_INVALID_DOMAIN",cause:t})}else if(t.name==="TypeError"){if(a.user.id.byteLength<1||a.user.id.byteLength>64)return new gi({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 gi({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 gi({message:"a Non-Webauthn related error has occurred",code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:t})}function zle({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 gi({message:"Authentication ceremony was sent an abort signal",code:"ERROR_CEREMONY_ABORTED",cause:t})}else{if(t.name==="NotAllowedError")return new gi({message:t.message,code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:t});if(t.name==="SecurityError"){const n=window.location.hostname;if(I9(n)){if(r.rpId!==n)return new gi({message:`The RP ID "${r.rpId}" is invalid for this domain`,code:"ERROR_INVALID_RP_ID",cause:t})}else return new gi({message:`${window.location.hostname} is an invalid domain`,code:"ERROR_INVALID_DOMAIN",cause:t})}else if(t.name==="UnknownError")return new gi({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 gi({message:"a Non-Webauthn related error has occurred",code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:t})}class Vle{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 Wle=new Vle;function Kle(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=mA(t,["challenge","user","excludeCredentials"]),a=O0(e).buffer,s=Object.assign(Object.assign({},r),{id:O0(r.id).buffer}),o=Object.assign(Object.assign({},i),{challenge:a,user:s});if(n&&n.length>0){o.excludeCredentials=new Array(n.length);for(let c=0;c<n.length;c++){const A=n[c];o.excludeCredentials[c]=Object.assign(Object.assign({},A),{id:O0(A.id).buffer,type:A.type||"public-key",transports:A.transports})}}return o}function qle(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=mA(t,["challenge","allowCredentials"]),i=O0(e).buffer,a=Object.assign(Object.assign({}
3517,n),{challenge:i});if(r&&r.length>0){a.allowCredentials=new Array(r.length);for(let s=0;s<r.length;s++){const o=r[s];a.allowCredentials[s]=Object.assign(Object.assign({},o),{id:O0(o.id).buffer,type:o.type||"public-key",transports:o.transports})}}return a}function Gle(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:Zd(new Uint8Array(t.response.attestationObject)),clientDataJSON:Zd(new Uint8Array(t.response.clientDataJSON))},type:"public-key",clientExtensionResults:t.getClientExtensionResults(),authenticatorAttachment:(e=r.authenticatorAttachment)!==null&&e!==void 0?e:void 0}}function Jle(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:Zd(new Uint8Array(i.authenticatorData)),clientDataJSON:Zd(new Uint8Array(i.clientDataJSON)),signature:Zd(new Uint8Array(i.signature)),userHandle:i.userHandle?Zd(new Uint8Array(i.userHandle)):void 0},type:"public-key",clientExtensionResults:n,authenticatorAttachment:(e=r.authenticatorAttachment)!==null&&e!==void 0?e:void 0}}function I9(t){return t==="localhost"||/^([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}$/i.test(t)}function rP(){var t,e;return!!(qa()&&"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 Xle(t){try{const e=await navigator.credentials.create(t);return e?e instanceof PublicKeyCredential?{data:e,error:null}:{data:null,error:new vb("Browser returned unexpected credential type",e)}:{data:null,error:new vb("Empty credential response",e)}}catch(e){return{data:null,error:Hle({error:e,options:t})}}}async function Yle(t){try{const e=await navigator.credentials.get(t);return e?e instanceof PublicKeyCredential?{data:e,error:null}:{data:null,error:new vb("Browser returned unexpected credential type",e)}:{data:null,error:new vb("Empty credential response",e)}}catch(e){return{data:null,error:zle({error:e,options:t})}}}const Zle={hints:["security-key"],authenticatorSelection:{authenticatorAttachment:"cross-platform",requireResidentKey:!1,userVerification:"preferred",residentKey:"discouraged"},attestation:"none"},$le={userVerification:"preferred",hints:["security-key"]};function xb(...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 a in i){const s=i[a];if(s!==void 0)if(Array.isArray(s))n[a]=s;else if(r(s))n[a]=s;else if(e(s)){const o=n[a];e(o)?n[a]=xb(o,s):n[a]=xb(s)}else n[a]=s}return n}function ece(t,e){return xb(Zle,t,e||{})}function tce(t,e){return xb($le,t,e||{})}class rce{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},a){try{const{data:s,error:o}=await this.client.mfa.challenge({factorId:e,webauthn:r});if(!s)return{data:null,error:o};const c=i??Wle.createNewAbortSignal();if(s.webauthn.type==="create"){const{user:A}=s.webauthn.credential_options.publicKey;A.name||(A.name=`${A.id}:${n}`),A.displayName||(A.displayName=A.name)}switch(s.webauthn.type){case"create":{const A=ece(s.webauthn.credential_options.publicKey,a==null?void 0:a.create),{data:u,error:d}=await Xle({publicKey:A,signal:c});return u?{data:{factorId:e,challengeId:s.id,webauthn:{type:s.webauthn.type,credential_response:u}},error:null}:{data:null,error:d}}case"request":{const A=tce(s.webauthn.credential_options.publicKey,a==null?void 0:a.request),{data:u,error:d}=await Yle(Object.assign(Object.assign({},s.webauthn.credential_options),{publicKey:A,signal:c}));return u?{data:{factorId:e,challengeId:s.id,webauthn:{type:s.webauthn.type,credential_response:u}},error:null}:{data:null,error:d}}}}catch(s){return Ut(s)?{data:null,error:s}:{data:null,error:new Qd("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}},a){if(!r)return{data:null,error:new Jv("rpId is required for WebAuthn authentication")};try{if(!rP())return{data:null,error:new Qd("Browser does not support WebAuthn",null)};const{data:s,error:o}=await this.challenge({factorId:e,webauthn:{rpId:r,rpOrigins:n},signal:i},{request:a});if(!s)return{data:null,error:o};const{webauthn:c}=s;return this._verify({factorId:e,challengeId:s.challengeId,webauthn:{type:c.type,rpId:r,rpOrigins:n,credential_response:c.credential_response}})}catch(s){return Ut(s)?{data:null,error:s}:{data:null,error:new Qd("Unexpected error in authenticate",s)}}}async _register({friendlyName:e,rpId:r=typeof window<"u"?window.location.hostname:void 0,rpOrigins:n=typeof window<"u"?[window.location.origin]:void 0,signal:i},a){if(!r)return{data:null,error:new Jv("rpId is required for WebAuthn registration")};try{if(!rP())return{data:null,error:new Qd("Browser does not support WebAuthn",null)};const{data:s,error:o}=await this._enroll({friendlyName:e});if(!s)return await this.client.mfa.listFactors().then(u=>{var d;return(d=u.data)===null||d===void 0?void 0:d.all.find(f=>f.factor_type==="webauthn"&&f.friendly_name===e&&f.status!=="unverified")}).then(u=>u?this.client.mfa.unenroll({factorId:u==null?void 0:u.id}):void 0),{data:null,error:o};const{data:c,error:A}=await this._challenge({factorId:s.id,friendlyName:s.friendly_name,webauthn:{rpId:r,rpOrigins:n},signal:i},{create:a});return c?this._verify({factorId:s.id,challengeId:c.challengeId,webauthn:{rpId:r,rpOrigins:n,type:c.webauthn.type,credential_response:c.webauthn.credential_response}}):{data:null,error:A}}catch(s){return Ut(s)?{data:null,error:s}:{data:null,error:new Qd("Unexpected error in register",s)}}}}Ule();const nce={url:$oe,storageKey:ele,autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,headers:tle,flowType:"implicit",debug:!1,hasCustomAuthorizationHeader:!1};async function nP(t,e,r){return await r()}const Tf={};class Xv{get jwks(){var e,r;return(r=(e=Tf[this.storageKey])===null||e===void 0?void 0:e.jwks)!==null&&r!==void 0?r:{keys:[]}}set jwks(e){Tf[this.storageKey]=Object.assign(Object.assign({},Tf[this.storageKey]),{jwks:e})}get jwks_cached_at(){var e,r;return(r=(e=Tf[this.storageKey])===null||e===void 0?void 0:e.cachedAt)!==null&&r!==void 0?r:Number.MIN_SAFE_INTEGER}set jwks_cached_at(e){Tf[this.storageKey]=Object.assign(Object.assign({},Tf[this.storageKey]),{cachedAt:e})}constructor(e){var r,n;this.userStorage=null,this.memoryStorage=null,this.stateChangeEmitters=new Map,this.autoRefreshTicker=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,this.instanceID=Xv.nextInstanceID,Xv.nextInstanceID+=1,this.instanceID>0&&qa()&&console.warn("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.");const i=Object.assign(Object.assign({},nce),e);if(this.logDebugMessages=!!i.debug,typeof i.debug=="function"&&(this.logger=i.debug),this.persistSession=i.persistSession,this.storageKey=i.storageKey,this.autoRefreshToken=i.autoRefreshToken,this.admin=new Dle({url:i.url,headers:i.headers,fetch:i.fetch}),this.url=i.url,this.headers=i.headers,this.fetch=F9(i.fetch),this.lock=i.lock||nP,this.detectSessionInUrl=i.detectSessionInUrl,this.flowType=i.flowType,this.hasCustomAuthorizationHeader=i.hasCustomAuthorizationHeader,i.lock?this.lock=i.lock:qa()&&(!((r=globalThis==null?void 0:globalThis.navigator)===null||r===void 0)&&r.locks)?this.lock=Rle:this.lock=nP,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 rce(this)}
3517,this.oauth={getAuthorizationDetails:this._getAuthorizationDetails.bind(this),approveAuthorization:this._approveAuthorization.bind(this),denyAuthorization:this._denyAuthorization.bind(this)},this.persistSession?(i.storage?this.storage=i.storage:_9()?this.storage=globalThis.localStorage:(this.memoryStorage={},this.storage=tP(this.memoryStorage)),i.userStorage&&(this.userStorage=i.userStorage)):(this.memoryStorage={},this.storage=tP(this.memoryStorage)),qa()&&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)}(n=this.broadcastChannel)===null||n===void 0||n.addEventListener("message",async a=>{this._debug("received broadcast notification from other tab or client",a),await this._notifyAllSubscribers(a.data.event,a.data.session,!1)})}this.initialize()}_debug(...e){return this.logDebugMessages&&this.logger(`GoTrueClient@${this.instanceID} (${E9}) ${new Date().toISOString()}`,...e),this}async initialize(){return this.initializePromise?await this.initializePromise:(this.initializePromise=(async()=>await this._acquireLock(-1,async()=>await this._initialize()))(),await this.initializePromise)}async _initialize(){var e;try{const r=ple(window.location.href);let n="none";if(this._isImplicitGrantCallback(r)?n="implicit":await this._isPKCECallback(r)&&(n="pkce"),qa()&&this.detectSessionInUrl&&n!=="none"){const{data:i,error:a}=await this._getSessionFromURL(r,n);if(a){if(this._debug("#_initialize()","error detecting session from URL",a),ole(a)){const c=(e=a.details)===null||e===void 0?void 0:e.code;if(c==="identity_already_exists"||c==="identity_not_found"||c==="single_identity_not_deletable")return{error:a}}return await this._removeSession(),{error:a}}const{session:s,redirectType:o}=i;return this._debug("#_initialize()","detected session in URL",s,"redirect type",o),await this._saveSession(s),setTimeout(async()=>{o==="recovery"?await this._notifyAllSubscribers("PASSWORD_RECOVERY",s):await this._notifyAllSubscribers("SIGNED_IN",s)},0),{error:null}}return await this._recoverAndRefresh(),{error:null}}catch(r){return Ut(r)?{error:r}:{error:new Qd("Unexpected error during initialization",r)}}finally{await this._handleVisibilityChange(),this._debug("#_initialize()","end")}}async signInAnonymously(e){var r,n,i;try{const a=await Jt(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:sl}),{data:s,error:o}=a;if(o||!s)return{data:{user:null,session:null},error:o};const c=s.session,A=s.user;return s.session&&(await this._saveSession(s.session),await this._notifyAllSubscribers("SIGNED_IN",c)),{data:{user:A,session:c},error:null}}catch(a){if(Ut(a))return{data:{user:null,session:null},error:a};throw a}}async signUp(e){var r,n,i;try{let a;if("email"in e){const{email:u,password:d,options:f}=e;let h=null,m=null;this.flowType==="pkce"&&([h,m]=await Sf(this.storage,this.storageKey)),a=await Jt(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,redirectTo:f==null?void 0:f.emailRedirectTo,body:{email:u,password:d,data:(r=f==null?void 0:f.data)!==null&&r!==void 0?r:{},gotrue_meta_security:{captcha_token:f==null?void 0:f.captchaToken},code_challenge:h,code_challenge_method:m},xform:sl})}else if("phone"in e){const{phone:u,password:d,options:f}=e;a=await Jt(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,body:{phone:u,password:d,data:(n=f==null?void 0:f.data)!==null&&n!==void 0?n:{},channel:(i=f==null?void 0:f.channel)!==null&&i!==void 0?i:"sms",gotrue_meta_security:{captcha_token:f==null?void 0:f.captchaToken}},xform:sl})}else throw new Sy("You must provide either an email or phone number and a password");const{data:s,error:o}=a;if(o||!s)return{data:{user:null,session:null},error:o};const c=s.session,A=s.user;return s.session&&(await this._saveSession(s.session),await this._notifyAllSubscribers("SIGNED_IN",c)),{data:{user:A,session:c},error:null}}catch(a){if(Ut(a))return{data:{user:null,session:null},error:a};throw a}}async signInWithPassword(e){try{let r;if("email"in e){const{email:a,password:s,options:o}=e;r=await Jt(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{email:a,password:s,gotrue_meta_security:{captcha_token:o==null?void 0:o.captchaToken}},xform:$6})}else if("phone"in e){const{phone:a,password:s,options:o}=e;r=await Jt(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{phone:a,password:s,gotrue_meta_security:{captcha_token:o==null?void 0:o.captchaToken}},xform:$6})}else throw new Sy("You must provide either an email or phone number and a password");const{data:n,error:i}=r;return i?{data:{user:null,session:null},error:i}:!n||!n.session||!n.user?{data:{user:null,session:null},error:new Nf}:(n.session&&(await this._saveSession(n.session),await this._notifyAllSubscribers("SIGNED_IN",n.session)),{data:Object.assign({user:n.user,session:n.session},n.weak_password?{weakPassword:n.weak_password}:null),error:i})}catch(r){if(Ut(r))return{data:{user:null,session:null},error:r};throw r}}async signInWithOAuth(e){var r,n,i,a;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:(a=e.options)===null||a===void 0?void 0:a.skipBrowserRedirect})}async exchangeCodeForSession(e){return await this.initializePromise,this._acquireLock(-1,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,a,s,o,c,A,u,d,f;let h,m;if("message"in e)h=e.message,m=e.signature;else{const{chain:p,wallet:x,statement:v,options:y}=e;let b;if(qa())if(typeof x=="object")b=x;else{const O=window;if("ethereum"in O&&typeof O.ethereum=="object"&&"request"in O.ethereum&&typeof O.ethereum.request=="function")b=O.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 x!="object"||!(y!=null&&y.url))throw new Error("@supabase/auth-js: Both wallet and url must be specified in non-browser environments.");b=x}const E=new URL((r=y==null?void 0:y.url)!==null&&r!==void 0?r:window.location.href),S=await b.request({method:"eth_requestAccounts"}).then(O=>O).catch(()=>{throw new Error("@supabase/auth-js: Wallet method eth_requestAccounts is missing or invalid")});if(!S||S.length===0)throw new Error("@supabase/auth-js: No accounts available. Please ensure the wallet is connected.");const I=j9(S[0]);let B=(n=y==null?void 0:y.signInWithEthereum)===null||n===void 0?void 0:n.chainId;if(!B){const O=await b.request({method:"eth_chainId"});B=Lle(O)}const _={domain:E.host,address:I,statement:v,uri:E.href,version:"1",chainId:B,nonce:(i=y==null?void 0:y.signInWithEthereum)===null||i===void 0?void 0:i.nonce,issuedAt:(s=(a=y==null?void 0:y.signInWithEthereum)===null||a===void 0?void 0:a.issuedAt)!==null&&s!==void 0?s:new Date,expirationTime:(o=y==null?void 0:y.signInWithEthereum)===null||o===void 0?void 0:o.expirationTime,notBefore:(c=y==null?void 0:y.signInWithEthereum)===null||c===void 0?void 0:c.notBefore,requestId:(A=y==null?void 0:y.signInWithEthereum)===null||A===void 0?void 0:A.requestId,resources:(u=y==null?void 0:y.signInWithEthereum)===null||u===void 0?void 0:u.resources};h=Qle(_),m=await b.request({method:"personal_sign",params:[Mle(h),I]})}try{const{data:p,error:x}=await Jt(this.fetch,"POST",`${this.url}/token?grant_type=web3`,{headers:this.headers,body:Object.assign({chain:"ethereum",message:h,signature:m},!((d=e.options)===null||d===void 0)&&d.captchaToken?{gotrue_meta_security:{captcha_token:(f=e.options)===null||f===void 0?void 0:f.captchaToken}}:null),xform:sl});if(x)throw x;return!p||!p.session||!p.user?{data:{user:null,session:null},error:new Nf}:(p.session&&(await this._saveSession(p.session),await this._notifyAllSubscribers("SIGNED_IN",p.session)),{data:Object.assign({},p),error:x})}catch(p){if(Ut(p))return{data:{user:null,session:null},error:p};throw p}}async signInWithSolana(e){var r,n,i,a,s,o,c,A,u,d,f,h;let m,p;if("message"in e)m=e.message,p=e.signature;else{const{chain:x,wallet:v,statement:y,options:b}=e;let E;if(qa())if(typeof v=="object")E=v;else{const I=window;if("solana"in I&&typeof I.solana=="object"&&("signIn"in I.solana&&typeof I.solana.signIn=="function"||"signMessage"in I.solana&&typeof I.solana.signMessage=="function"))E=I.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"||!(b!=null&&b.url))throw new Error("@supabase/auth-js: Both wallet and url must be specified in non-browser environments.");E=v}const S=new URL((r=b==null?void 0:b.url)!==null&&r!==void 0?r:window.location.href);if("signIn"in E&&E.signIn){const I=await E.signIn(Object.assign(Object.assign(Object.assign({issuedAt:new Date().toISOString()},b==null?void 0:b.signInWithSolana),{version:"1",domain:S.host,uri:S.href}),y?{statement:y}:null));let B;if(Array.isArray(I)&&I[0]&&typeof I[0]=="object")B=I[0];else if(I&&typeof I=="object"&&"signedMessage"in I&&"signature"in I)B=I;else throw new Error("@supabase/auth-js: Wallet method signIn() returned unrecognized value");if("signedMessage"in B&&"signature"in B&&(typeof B.signedMessage=="string"||B.signedMessage instanceof Uint8Array)&&B.signature instanceof Uint8Array)m=typeof B.signedMessage=="string"?B.signedMessage:new TextDecoder().decode(B.signedMessage),p=B.signature;else throw new Error("@supabase/auth-js: Wallet method signIn() API returned object without signedMessage and signature fields")}else{if(!("signMessage"in E)||typeof E.signMessage!="function"||!("publicKey"in E)||typeof E!="object"||!E.publicKey||!("toBase58"in E.publicKey)||typeof E.publicKey.toBase58!="function")throw new Error("@supabase/auth-js: Wallet does not have a compatible signMessage() and publicKey.toBase58() API");m=[`${S.host} wants you to sign in with your Solana account:`,E.publicKey.toBase58(),...y?["",y,""]:[""],"Version: 1",`URI: ${S.href}`,`Issued At: ${(i=(n=b==null?void 0:b.signInWithSolana)===null||n===void 0?void 0:n.issuedAt)!==null&&i!==void 0?i:new Date().toISOString()}`,...!((a=b==null?void 0:b.signInWithSolana)===null||a===void 0)&&a.notBefore?[`Not Before: ${b.signInWithSolana.notBefore}`]:[],...!((s=b==null?void 0:b.signInWithSolana)===null||s===void 0)&&s.expirationTime?[`Expiration Time: ${b.signInWithSolana.expirationTime}`]:[],...!((o=b==null?void 0:b.signInWithSolana)===null||o===void 0)&&o.chainId?[`Chain ID: ${b.signInWithSolana.chainId}`]:[],...!((c=b==null?void 0:b.signInWithSolana)===null||c===void 0)&&c.nonce?[`Nonce: ${b.signInWithSolana.nonce}`]:[],...!((A=b==null?void 0:b.signInWithSolana)===null||A===void 0)&&A.requestId?[`Request ID: ${b.signInWithSolana.requestId}`]:[],...!((d=(u=b==null?void 0:b.signInWithSolana)===null||u===void 0?void 0:u.resources)===null||d===void 0)&&d.length?["Resources",...b.signInWithSolana.resources.map(B=>`- ${B}`)]:[]].join(` 3518`);const I=await E.signMessage(new TextEncoder().encode(m),"utf8");if(!I||!(I instanceof Uint8Array))throw new Error("@supabase/auth-js: Wallet signMessage() API returned an recognized value");p=I}}try{const{data:x,error:v}=await Jt(this.fetch,"POST",`${this.url}/token?grant_type=web3`,{headers:this.headers,body:Object.assign({chain:"solana",message:m,signature:Zd(p)},!((f=e.options)===null||f===void 0)&&f.captchaToken?{gotrue_meta_security:{captcha_token:(h=e.options)===null||h===void 0?void 0:h.captchaToken}}:null),xform:sl});if(v)throw v;return!x||!x.session||!x.user?{data:{user:null,session:null},error:new Nf}:(x.session&&(await this._saveSession(x.session),await this._notifyAllSubscribers("SIGNED_IN",x.session)),{data:Object.assign({},x),error:v})}
3518catch(x){if(Ut(x))return{data:{user:null,session:null},error:x};throw x}}async _exchangeCodeForSession(e){const r=await Td(this.storage,`${this.storageKey}-code-verifier`),[n,i]=(r??"").split("/");try{const{data:a,error:s}=await Jt(this.fetch,"POST",`${this.url}/token?grant_type=pkce`,{headers:this.headers,body:{auth_code:e,code_verifier:n},xform:sl});if(await UA(this.storage,`${this.storageKey}-code-verifier`),s)throw s;return!a||!a.session||!a.user?{data:{user:null,session:null,redirectType:null},error:new Nf}:(a.session&&(await this._saveSession(a.session),await this._notifyAllSubscribers("SIGNED_IN",a.session)),{data:Object.assign(Object.assign({},a),{redirectType:i??null}),error:s})}catch(a){if(Ut(a))return{data:{user:null,session:null,redirectType:null},error:a};throw a}}async signInWithIdToken(e){try{const{options:r,provider:n,token:i,access_token:a,nonce:s}=e,o=await Jt(this.fetch,"POST",`${this.url}/token?grant_type=id_token`,{headers:this.headers,body:{provider:n,id_token:i,access_token:a,nonce:s,gotrue_meta_security:{captcha_token:r==null?void 0:r.captchaToken}},xform:sl}),{data:c,error:A}=o;return A?{data:{user:null,session:null},error:A}:!c||!c.session||!c.user?{data:{user:null,session:null},error:new Nf}:(c.session&&(await this._saveSession(c.session),await this._notifyAllSubscribers("SIGNED_IN",c.session)),{data:c,error:A})}catch(r){if(Ut(r))return{data:{user:null,session:null},error:r};throw r}}async signInWithOtp(e){var r,n,i,a,s;try{if("email"in e){const{email:o,options:c}=e;let A=null,u=null;this.flowType==="pkce"&&([A,u]=await Sf(this.storage,this.storageKey));const{error:d}=await Jt(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{email:o,data:(r=c==null?void 0:c.data)!==null&&r!==void 0?r:{},create_user:(n=c==null?void 0:c.shouldCreateUser)!==null&&n!==void 0?n:!0,gotrue_meta_security:{captcha_token:c==null?void 0:c.captchaToken},code_challenge:A,code_challenge_method:u},redirectTo:c==null?void 0:c.emailRedirectTo});return{data:{user:null,session:null},error:d}}if("phone"in e){const{phone:o,options:c}=e,{data:A,error:u}=await Jt(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{phone:o,data:(i=c==null?void 0:c.data)!==null&&i!==void 0?i:{},create_user:(a=c==null?void 0:c.shouldCreateUser)!==null&&a!==void 0?a:!0,gotrue_meta_security:{captcha_token:c==null?void 0:c.captchaToken},channel:(s=c==null?void 0:c.channel)!==null&&s!==void 0?s:"sms"}});return{data:{user:null,session:null,messageId:A==null?void 0:A.message_id},error:u}}throw new Sy("You must provide either an email or phone number.")}catch(o){if(Ut(o))return{data:{user:null,session:null},error:o};throw o}}async verifyOtp(e){var r,n;try{let i,a;"options"in e&&(i=(r=e.options)===null||r===void 0?void 0:r.redirectTo,a=(n=e.options)===null||n===void 0?void 0:n.captchaToken);const{data:s,error:o}=await Jt(this.fetch,"POST",`${this.url}/verify`,{headers:this.headers,body:Object.assign(Object.assign({},e),{gotrue_meta_security:{captcha_token:a}}),redirectTo:i,xform:sl});if(o)throw o;if(!s)throw new Error("An error occurred on token verification.");const c=s.session,A=s.user;return c!=null&&c.access_token&&(await this._saveSession(c),await this._notifyAllSubscribers(e.type=="recovery"?"PASSWORD_RECOVERY":"SIGNED_IN",c)),{data:{user:A,session:c},error:null}}catch(i){if(Ut(i))return{data:{user:null,session:null},error:i};throw i}}async signInWithSSO(e){var r,n,i;try{let a=null,s=null;return this.flowType==="pkce"&&([a,s]=await Sf(this.storage,this.storageKey)),await Jt(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:a,code_challenge_method:s}),headers:this.headers,xform:Ile})}catch(a){if(Ut(a))return{data:null,error:a};throw a}}async reauthenticate(){return await this.initializePromise,await this._acquireLock(-1,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 al;const{error:i}=await Jt(this.fetch,"GET",`${this.url}/reauthenticate`,{headers:this.headers,jwt:r.access_token});return{data:{user:null,session:null},error:i}})}catch(e){if(Ut(e))return{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:a}=e,{error:s}=await Jt(this.fetch,"POST",r,{headers:this.headers,body:{email:n,type:i,gotrue_meta_security:{captcha_token:a==null?void 0:a.captchaToken}},redirectTo:a==null?void 0:a.emailRedirectTo});return{data:{user:null,session:null},error:s}}else if("phone"in e){const{phone:n,type:i,options:a}=e,{data:s,error:o}=await Jt(this.fetch,"POST",r,{headers:this.headers,body:{phone:n,type:i,gotrue_meta_security:{captcha_token:a==null?void 0:a.captchaToken}}});return{data:{user:null,session:null,messageId:s==null?void 0:s.message_id},error:o}}throw new Sy("You must provide either an email or phone number and a type")}catch(r){if(Ut(r))return{data:{user:null,session:null},error:r};throw r}}async getSession(){return await this.initializePromise,await this._acquireLock(-1,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 Td(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 val
3518id"),await this._removeSession())),!e)return{data:{session:null},error:null};const n=e.expires_at?e.expires_at*1e3-Date.now()<TE:!1;if(this._debug("#__loadSession()",`session has${n?"":" not"} expired`,"expires_at",e.expires_at),!n){if(this.userStorage){const s=await Td(this.userStorage,this.storageKey+"-user");s!=null&&s.user?e.user=s.user:e.user=kE()}if(this.storage.isServer&&e.user&&!e.user.__isUserNotAvailableProxy){const s={value:this.suppressGetSessionWarning};e.user=_le(e.user,s),s.value&&(this.suppressGetSessionWarning=!0)}return{data:{session:e},error:null}}const{data:i,error:a}=await this._callRefreshToken(e.refresh_token);return a?{data:{session:null},error:a}:{data:{session:i},error:null}}finally{this._debug("#__loadSession()","end")}}async getUser(e){return e?await this._getUser(e):(await this.initializePromise,await this._acquireLock(-1,async()=>await this._getUser()))}async _getUser(e){try{return e?await Jt(this.fetch,"GET",`${this.url}/user`,{headers:this.headers,jwt:e,xform:cu}):await this._useSession(async r=>{var n,i,a;const{data:s,error:o}=r;if(o)throw o;return!(!((n=s.session)===null||n===void 0)&&n.access_token)&&!this.hasCustomAuthorizationHeader?{data:{user:null},error:new al}:await Jt(this.fetch,"GET",`${this.url}/user`,{headers:this.headers,jwt:(a=(i=s.session)===null||i===void 0?void 0:i.access_token)!==null&&a!==void 0?a:void 0,xform:cu})})}catch(r){if(Ut(r))return sle(r)&&(await this._removeSession(),await UA(this.storage,`${this.storageKey}-code-verifier`)),{data:{user:null},error:r};throw r}}async updateUser(e,r={}){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._updateUser(e,r))}async _updateUser(e,r={}){try{return await this._useSession(async n=>{const{data:i,error:a}=n;if(a)throw a;if(!i.session)throw new al;const s=i.session;let o=null,c=null;this.flowType==="pkce"&&e.email!=null&&([o,c]=await Sf(this.storage,this.storageKey));const{data:A,error:u}=await Jt(this.fetch,"PUT",`${this.url}/user`,{headers:this.headers,redirectTo:r==null?void 0:r.emailRedirectTo,body:Object.assign(Object.assign({},e),{code_challenge:o,code_challenge_method:c}),jwt:s.access_token,xform:cu});if(u)throw u;return s.user=A.user,await this._saveSession(s),await this._notifyAllSubscribers("USER_UPDATED",s),{data:{user:s.user},error:null}})}catch(n){if(Ut(n))return{data:{user:null},error:n};throw n}}async setSession(e){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._setSession(e))}async _setSession(e){try{if(!e.access_token||!e.refresh_token)throw new al;const r=Date.now()/1e3;let n=r,i=!0,a=null;const{payload:s}=IE(e.access_token);if(s.exp&&(n=s.exp,i=n<=r),i){const{data:o,error:c}=await this._callRefreshToken(e.refresh_token);if(c)return{data:{user:null,session:null},error:c};if(!o)return{data:{user:null,session:null},error:null};a=o}else{const{data:o,error:c}=await this._getUser(e.access_token);if(c)throw c;a={access_token:e.access_token,refresh_token:e.refresh_token,user:o.user,token_type:"bearer",expires_in:n-r,expires_at:n},await this._saveSession(a),await this._notifyAllSubscribers("SIGNED_IN",a)}return{data:{user:a.user,session:a},error:null}}catch(r){if(Ut(r))return{data:{session:null,user:null},error:r};throw r}}async refreshSession(e){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._refreshSession(e))}async _refreshSession(e){try{return await this._useSession(async r=>{var n;if(!e){const{data:s,error:o}=r;if(o)throw o;e=(n=s.session)!==null&&n!==void 0?n:void 0}if(!(e!=null&&e.refresh_token))throw new al;const{data:i,error:a}=await this._callRefreshToken(e.refresh_token);return a?{data:{user:null,session:null},error:a}:i?{data:{user:i.user,session:i},error:null}:{data:{user:null,session:null},error:null}})}catch(r){if(Ut(r))return{data:{user:null,session:null},error:r};throw r}}async _getSessionFromURL(e,r){try{if(!qa())throw new _y("No browser detected.");if(e.error||e.error_description||e.error_code)throw new _y(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 K6("Not a valid PKCE flow url.");break;case"pkce":if(this.flowType==="implicit")throw new _y("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 K6("No code detected.");const{data:y,error:b}=await this._exchangeCodeForSession(e.code);
3518if(b)throw b;const E=new URL(window.location.href);return E.searchParams.delete("code"),window.history.replaceState(window.history.state,"",E.toString()),{data:{session:y.session,redirectType:null},error:null}}const{provider_token:n,provider_refresh_token:i,access_token:a,refresh_token:s,expires_in:o,expires_at:c,token_type:A}=e;if(!a||!o||!s||!A)throw new _y("No session defined in URL");const u=Math.round(Date.now()/1e3),d=parseInt(o);let f=u+d;c&&(f=parseInt(c));const h=f-u;h*1e3<=Jf&&console.warn(`@supabase/gotrue-js: Session as retrieved from URL expires in ${h}s, should have been closer to ${d}s`);const m=f-d;u-m>=120?console.warn("@supabase/gotrue-js: Session as retrieved from URL was issued over 120s ago, URL could be stale",m,f,u):u-m<0&&console.warn("@supabase/gotrue-js: Session as retrieved from URL was issued in the future? Check the device clock for skew",m,f,u);const{data:p,error:x}=await this._getUser(a);if(x)throw x;const v={provider_token:n,provider_refresh_token:i,access_token:a,expires_in:d,expires_at:f,refresh_token:s,token_type:A,user:p.user};return window.location.hash="",this._debug("#_getSessionFromURL()","clearing window.location.hash"),{data:{session:v,redirectType:e.type},error:null}}catch(n){if(Ut(n))return{data:{session:null,redirectType:null},error:n};throw n}}_isImplicitGrantCallback(e){return!!(e.access_token||e.error_description)}async _isPKCECallback(e){const r=await Td(this.storage,`${this.storageKey}-code-verifier`);return!!(e.code&&r)}async signOut(e={scope:"global"}){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._signOut(e))}async _signOut({scope:e}={scope:"global"}){return await this._useSession(async r=>{var n;const{data:i,error:a}=r;if(a)return{error:a};const s=(n=i.session)===null||n===void 0?void 0:n.access_token;if(s){const{error:o}=await this.admin.signOut(s,e);if(o&&!(ale(o)&&(o.status===404||o.status===401||o.status===403)))return{error:o}}return e!=="others"&&(await this._removeSession(),await UA(this.storage,`${this.storageKey}-code-verifier`)),{error:null}})}onAuthStateChange(e){const r=fle(),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(-1,async()=>{this._emitInitialSession(r)})))(),{data:{subscription:n}}}async _emitInitialSession(e){return await this._useSession(async r=>{var n,i;try{const{data:{session:a},error:s}=r;if(s)throw s;await((n=this.stateChangeEmitters.get(e))===null||n===void 0?void 0:n.callback("INITIAL_SESSION",a)),this._debug("INITIAL_SESSION","callback id",e,"session",a)}catch(a){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",a),console.error(a)}})}async resetPasswordForEmail(e,r={}){let n=null,i=null;this.flowType==="pkce"&&([n,i]=await Sf(this.storage,this.storageKey,!0));try{return await Jt(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(a){if(Ut(a))return{data:null,error:a};throw a}}async getUserIdentities(){var e;try{const{data:r,error:n}=await this.getUser();if(n)throw n;return{data:{identities:(e=r.user.identities)!==null&&e!==void 0?e:[]},error:null}}catch(r){if(Ut(r))return{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 a=>{var s,o,c,A,u;const{data:d,error:f}=a;if(f)throw f;const h=await this._getUrlForProvider(`${this.url}/user/identities/authorize`,e.provider,{redirectTo:(s=e.options)===null||s===void 0?void 0:s.redirectTo,scopes:(o=e.options)===null||o===void 0?void 0:o.scopes,queryParams:(c=e.options)===null||c===void 0?void 0:c.queryParams,skipBrowserRedirect:!0});return await Jt(this.fetch,"GET",h,{headers:this.headers,jwt:(u=(A=
3518d.session)===null||A===void 0?void 0:A.access_token)!==null&&u!==void 0?u:void 0})});if(i)throw i;return qa()&&!(!((r=e.options)===null||r===void 0)&&r.skipBrowserRedirect)&&window.location.assign(n==null?void 0:n.url),{data:{provider:e.provider,url:n==null?void 0:n.url},error:null}}catch(n){if(Ut(n))return{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:a}}=r;if(i)throw i;const{options:s,provider:o,token:c,access_token:A,nonce:u}=e,d=await Jt(this.fetch,"POST",`${this.url}/token?grant_type=id_token`,{headers:this.headers,jwt:(n=a==null?void 0:a.access_token)!==null&&n!==void 0?n:void 0,body:{provider:o,id_token:c,access_token:A,nonce:u,link_identity:!0,gotrue_meta_security:{captcha_token:s==null?void 0:s.captchaToken}},xform:sl}),{data:f,error:h}=d;return h?{data:{user:null,session:null},error:h}:!f||!f.session||!f.user?{data:{user:null,session:null},error:new Nf}:(f.session&&(await this._saveSession(f.session),await this._notifyAllSubscribers("USER_UPDATED",f.session)),{data:f,error:h})}catch(i){if(Ut(i))return{data:{user:null,session:null},error:i};throw i}})}async unlinkIdentity(e){try{return await this._useSession(async r=>{var n,i;const{data:a,error:s}=r;if(s)throw s;return await Jt(this.fetch,"DELETE",`${this.url}/user/identities/${e.identity_id}`,{headers:this.headers,jwt:(i=(n=a.session)===null||n===void 0?void 0:n.access_token)!==null&&i!==void 0?i:void 0})})}catch(r){if(Ut(r))return{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 vle(async i=>(i>0&&await gle(200*Math.pow(2,i-1)),this._debug(r,"refreshing attempt",i),await Jt(this.fetch,"POST",`${this.url}/token?grant_type=refresh_token`,{body:{refresh_token:e},headers:this.headers,xform:sl})),(i,a)=>{const s=200*Math.pow(2,i);return a&&jE(a)&&Date.now()+s-n<Jf})}catch(n){if(this._debug(r,"error",n),Ut(n))return{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),qa()&&!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 Td(this.storage,this.storageKey);if(i&&this.userStorage){let s=await Td(this.userStorage,this.storageKey+"-user");!this.storage.isServer&&Object.is(this.storage,this.userStorage)&&!s&&(s={user:i.user},await Xf(this.userStorage,this.storageKey+"-user",s)),i.user=(e=s==null?void 0:s.user)!==null&&e!==void 0?e:kE()}else if(i&&!i.user&&!i.user){const s=await Td(this.storage,this.storageKey+"-user");s&&(s!=null&&s.user)?(i.user=s.user,await UA(this.storage,this.storageKey+"-user"),await Xf(this.storage,this.storageKey,i)):i.user=kE()}if(this._debug(n,"session from storage",i),!this._isValidSession(i)){this._debug(n,"session is not valid"),i!==null&&await this._removeSession();return}const a=((r=i.expires_at)!==null&&r!==void 0?r:1/0)*1e3-Date.now()<TE;if(this._debug(n,`session has${a?"":" not"} expired with margin of ${TE}s`),a){if(this.autoRefreshToken&&i.refresh_token){const{error:s}=await this._callRefreshToken(i.refresh_token);s&&(console.error(s),jE(s)||(this._debug(n,"refresh failed with a non-retryable error, removing the session",s),await this._removeSession()))}}else if(i.user&&i.user.__isUserNotAvailableProxy===!0)try{const{data:s,error:o}=await this._getUser(i.access_token);!o&&(s!=null&&s.user)?(i.user=s.user,await this._saveSession(i),await this._notifyAllSubscribers("SIGNED_IN",i)):this._debug(n,"could not get user data, skipping SIGNED_IN notification")}catch(s){console.error("Error getting user data:",s),this._debug(n,"error getting user data, skipping SIGNED_IN notification",s)}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 al;if(this.refreshingDeferred)return this.refreshingDeferred.promise;const i=`#_callRefreshToken(${e.substring(0,5)}...)`;this._debug(i,"begin");try{this.refreshingDeferred=new ZC;const{data:a,error:s}=await this._refreshAccessToken(e);if(s)throw s;if(!a.session)throw new al;await this._saveSession(a.session),await this._notifyAllSubscribers("TOKEN_REFRESHED",a.session);const o={data:a.session,error:null};return this.refreshingDeferred.resolve(o),o}catch(a){if(this._debug(i,"error",a),Ut(a)){const s={data:null,error:a};return jE(a)||await this._removeSession(),(r=this.refreshingDeferred)===null||r===void 0||r.resolve(s),s}throw(n=this.refreshingDeferred)===null||n===void 0||n.reject(a),a}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 a=[],s=Array.from(this.stateChangeEmitters.values()).map(async o=>{try{await o.callback(e,r)}catch(c){a.push(c)}});if(await Promise.all(s),a.length>0){for(let o=0;o<a.length;o+=1)console.error(a[o]);throw a[0]}}finally{this._debug(i,"end")}}async _saveSession(e){this._debug("#_saveSession()",e),this.suppressGetSessionWarning=!0;const r=Object.assign({},e),n=r.user&&r.user.__isUserNotAvailableProxy===!0;if(this.userStorage){!n&&r.user&&await Xf(this.userStorage,this.storageKey+"-user",{user:r.user});const i=Object.assign({},r);delete i.user;const a=Y6(i);await Xf(this.storage,this.storageKey,a)}else{const i=Y6(r);await Xf(this.storage,this.storageKey,i)}}async _removeSession(){this._debug("#_removeSession()"),await UA(this.storage,this.storageKey),await UA(this.storage,this.storageKey+"-code-verifier"),await UA(this.storage,this.storageKey+"-user"),this.userStorage&&await UA(this.userStorage,this.storageKey+"-user"),await this._notifyAllSubscribers("SIGNED_OUT",null)}_removeVisibilityChangedCallback(){this._debug("#_removeVisibilityChangedCallback()");const e=this.visibilityChangedCallback;this.visibilityChangedCallback=null;try{e&&qa()&&(window!=null&&window.removeEventListener)&&window.removeEventListener("visibilitychange",e)}
3518catch(r){console.error("removing visibilitychange callback failed",r)}}async _startAutoRefresh(){await this._stopAutoRefresh(),this._debug("#_startAutoRefresh()");const e=setInterval(()=>this._autoRefreshTokenTick(),Jf);this.autoRefreshTicker=e,e&&typeof e=="object"&&typeof e.unref=="function"?e.unref():typeof Deno<"u"&&typeof Deno.unrefTimer=="function"&&Deno.unrefTimer(e),setTimeout(async()=>{await this.initializePromise,await this._autoRefreshTokenTick()},0)}async _stopAutoRefresh(){this._debug("#_stopAutoRefresh()");const e=this.autoRefreshTicker;this.autoRefreshTicker=null,e&&clearInterval(e)}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)/Jf);this._debug("#_autoRefreshTokenTick()",`access token expires in ${i} ticks, a tick lasts ${Jf}ms, refresh threshold is ${NS} ticks`),i<=NS&&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 T9)this._debug("auto refresh token tick lock not available");else throw e}}async _handleVisibilityChange(){if(this._debug("#_handleVisibilityChange()"),!qa()||!(window!=null&&window.addEventListener))return this.autoRefreshToken&&this.startAutoRefresh(),!1;try{this.visibilityChangedCallback=async()=>await this._onVisibilityChanged(!1),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||(await this.initializePromise,await this._acquireLock(-1,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[a,s]=await Sf(this.storage,this.storageKey),o=new URLSearchParams({code_challenge:`${encodeURIComponent(a)}`,code_challenge_method:`${encodeURIComponent(s)}`});i.push(o.toString())}if(n!=null&&n.queryParams){const a=new URLSearchParams(n.queryParams);i.push(a.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:a}=r;return a?{data:null,error:a}:await Jt(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(Ut(r))return{data:null,error:r};throw r}}async _enroll(e){try{return await this._useSession(async r=>{var n,i;const{data:a,error:s}=r;if(s)return{data:null,error:s};const o=Object.assign({friendly_name:e.friendlyName,factor_type:e.factorType},e.factorType==="phone"?{phone:e.phone}:e.factorType==="totp"?{issuer:e.issuer}:{}),{data:c,error:A}=await Jt(this.fetch,"POST",`${this.url}/factors`,{body:o,headers:this.headers,jwt:(n=a==null?void 0:a.session)===null||n===void 0?void 0:n.access_token});return A?{data:null,error:A}:(e.factorType==="totp"&&c.type==="totp"&&(!((i=c==null?void 0:c.totp)===null||i===void 0)&&i.qr_code)&&(c.totp.qr_code=`data:image/svg+xml;utf-8,${c.totp.qr_code}`),{data:c,error:null})})}catch(r){if(Ut(r))return{data:null,error:r};throw r}}async _verify(e){return this._acquireLock(-1,async()=>{try{return await this._useSession(async r=>{var n;const{data:i,error:a}=r;if(a)return{data:null,error:a};const s=Object.assign({challenge_id:e.challengeId},"webauthn"in e?{webauthn:Object.assign(Object.assign({},e.webauthn),{credential_response:e.webauthn.type==="create"?Gle(e.webauthn.credential_response):Jle(e.webauthn.credential_response)})}:{code:e.code}),{data:o,error:c}=await Jt(this.fetch,"POST",`${this.url}/factors/${e.factorId}/verify`,{body:s,headers:this.headers,jwt:(n=i==null?void 0:i.session)===null||n===void 0?void 0:n.access_token});return c?{data:null,error:c}:(await this._saveSession(Object.assign({expires_at:Math.round(Date.now()/1e3)+o.expires_in},o)),await this._notifyAllSubscribers("MFA_CHALLENGE_VERIFIED",o),{data:o,error:c})})}catch(r){if(Ut(r))return{data:null,error:r};throw r}})}async _challenge(e){return this._acquireLock(-1,async()=>{try{return await this._useSession(async r=>{var n;const{data:i,error:a}=r;if(a)return{data:null,error:a};const s=await Jt(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(s.error)return s;const{data:o}=s;if(o.type!=="webauthn")return{data:o,error:null};switch(o.webauthn.type){case"create":return{data:Object.assign(Object.assign({},o),{webauthn:Object.assign(Object.assign({},o.webauthn),{credential_options:Object.assign(Object.assign({}
3518,o.webauthn.credential_options),{publicKey:Kle(o.webauthn.credential_options.publicKey)})})}),error:null};case"request":return{data:Object.assign(Object.assign({},o),{webauthn:Object.assign(Object.assign({},o.webauthn),{credential_options:Object.assign(Object.assign({},o.webauthn.credential_options),{publicKey:qle(o.webauthn.credential_options.publicKey)})})}),error:null}}})}catch(r){if(Ut(r))return{data:null,error:r};throw r}})}async _challengeAndVerify(e){const{data:r,error:n}=await this._challenge({factorId:e.factorId});return n?{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 a of(e=r==null?void 0:r.factors)!==null&&e!==void 0?e:[])i.all.push(a),a.status==="verified"&&i[a.factor_type].push(a);return{data:i,error:null}}async _getAuthenticatorAssuranceLevel(){var e,r;const{data:{session:n},error:i}=await this.getSession();if(i)return{data:null,error:i};if(!n)return{data:{currentLevel:null,nextLevel:null,currentAuthenticationMethods:[]},error:null};const{payload:a}=IE(n.access_token);let s=null;a.aal&&(s=a.aal);let o=s;((r=(e=n.user.factors)===null||e===void 0?void 0:e.filter(u=>u.status==="verified"))!==null&&r!==void 0?r:[]).length>0&&(o="aal2");const A=a.amr||[];return{data:{currentLevel:s,nextLevel:o,currentAuthenticationMethods:A},error:null}}async _getAuthorizationDetails(e){try{return await this._useSession(async r=>{const{data:{session:n},error:i}=r;return i?{data:null,error:i}:n?await Jt(this.fetch,"GET",`${this.url}/oauth/authorizations/${e}`,{headers:this.headers,jwt:n.access_token,xform:a=>({data:a,error:null})}):{data:null,error:new al}})}catch(r){if(Ut(r))return{data:null,error:r};throw r}}async _approveAuthorization(e,r){try{return await this._useSession(async n=>{const{data:{session:i},error:a}=n;if(a)return{data:null,error:a};if(!i)return{data:null,error:new al};const s=await Jt(this.fetch,"POST",`${this.url}/oauth/authorizations/${e}/consent`,{headers:this.headers,jwt:i.access_token,body:{action:"approve"},xform:o=>({data:o,error:null})});return s.data&&s.data.redirect_url&&qa()&&!(r!=null&&r.skipBrowserRedirect)&&window.location.assign(s.data.redirect_url),s})}catch(n){if(Ut(n))return{data:null,error:n};throw n}}async _denyAuthorization(e,r){try{return await this._useSession(async n=>{const{data:{session:i},error:a}=n;if(a)return{data:null,error:a};if(!i)return{data:null,error:new al};const s=await Jt(this.fetch,"POST",`${this.url}/oauth/authorizations/${e}/consent`,{headers:this.headers,jwt:i.access_token,body:{action:"deny"},xform:o=>({data:o,error:null})});return s.data&&s.data.redirect_url&&qa()&&!(r!=null&&r.skipBrowserRedirect)&&window.location.assign(s.data.redirect_url),s})}catch(n){if(Ut(n))return{data:null,error:n};throw n}}async fetchJwk(e,r={keys:[]}){let n=r.keys.find(o=>o.kid===e);if(n)return n;const i=Date.now();if(n=this.jwks.keys.find(o=>o.kid===e),n&&this.jwks_cached_at+nle>i)return n;const{data:a,error:s}=await Jt(this.fetch,"GET",`${this.url}/.well-known/jwks.json`,{headers:this.headers});if(s)throw s;return!a.keys||a.keys.length===0||(this.jwks=a,this.jwks_cached_at=i,n=a.keys.find(o=>o.kid===e),!n)?null:n}async getClaims(e,r={}){try{let n=e;if(!n){const{data:h,error:m}
3518=await this.getSession();if(m||!h.session)return{data:null,error:m};n=h.session.access_token}const{header:i,payload:a,signature:s,raw:{header:o,payload:c}}=IE(n);r!=null&&r.allowExpired||Ele(a.exp);const A=!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(!A){const{error:h}=await this.getUser(n);if(h)throw h;return{data:{claims:a,header:i,signature:s},error:null}}const u=Nle(i.alg),d=await crypto.subtle.importKey("jwk",A,u,!0,["verify"]);if(!await crypto.subtle.verify(u,d,s,dle(`${o}.${c}`)))throw new FS("Invalid JWT signature");return{data:{claims:a,header:i,signature:s},error:null}}catch(n){if(Ut(n))return{data:null,error:n};throw n}}}Xv.nextInstanceID=0;const ice=Xv;class ace extends ice{constructor(e){super(e)}}class sce{constructor(e,r,n){var i,a,s;this.supabaseUrl=e,this.supabaseKey=r;const o=Zoe(e);if(!r)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 c=`sb-${o.hostname.split(".")[0]}-auth-token`,A={db:Voe,realtime:Koe,auth:Object.assign(Object.assign({},Woe),{storageKey:c}),global:zoe},u=Yoe(n??{},A);this.storageKey=(i=u.auth.storageKey)!==null&&i!==void 0?i:"",this.headers=(a=u.global.headers)!==null&&a!==void 0?a:{},u.accessToken?(this.accessToken=u.accessToken,this.auth=new Proxy({},{get:(d,f)=>{throw new Error(`@supabase/supabase-js: Supabase Client is configured with the accessToken option, accessing supabase.auth.${String(f)} is not possible`)}})):this.auth=this._initSupabaseAuthClient((s=u.auth)!==null&&s!==void 0?s:{},this.headers,u.global.fetch),this.fetch=Joe(r,this._getAccessToken.bind(this),u.global.fetch),this.realtime=this._initRealtimeClient(Object.assign({headers:this.headers,accessToken:this._getAccessToken.bind(this)},u.realtime)),this.rest=new $se(new URL("rest/v1",o).href,{headers:this.headers,schema:u.db.schema,fetch:this.fetch}),this.storage=new Moe(this.storageUrl.href,this.headers,this.fetch,n==null?void 0:n.storage),u.accessToken||this._listenForAuthEvents()}get functions(){return new Wse(this.functionsUrl.href,{headers:this.headers,customFetch:this.fetch})}from(e){return this.rest.from(e)}schema(e){return this.rest.schema(e)}rpc(e,r={},n={head:!1,get:!1,count:void 0}){return this.rest.rpc(e,r,n)}channel(e,r={config:{}}){return this.realtime.channel(e,r)}getChannels(){return this.realtime.getChannels()}removeChannel(e){return this.realtime.removeChannel(e)}removeAllChannels(){return this.realtime.removeAllChannels()}async _getAccessToken(){var e,r;if(this.accessToken)return await this.accessToken();const{data:n}=await this.auth.getSession();return(r=(e=n.session)===null||e===void 0?void 0:e.access_token)!==null&&r!==void 0?r:this.supabaseKey}_initSupabaseAuthClient({autoRefreshToken:e,persistSession:r,detectSessionInUrl:n,storage:i,userStorage:a,storageKey:s,flowType:o,lock:c,debug:A},u,d){const f={Authorization:`Bearer ${this.supabaseKey}`,apikey:`${this.supabaseKey}`};return new ace({url:this.authUrl.href,headers:Object.assign(Object.assign({},f),u),storageKey:s,autoRefreshToken:e,persistSession:r,detectSessionInUrl:n,storage:i,userStorage:a,flowType:o,lock:c,debug:A,fetch:d,hasCustomAuthorizationHeader:Object.keys(this.headers).some(h=>h.toLowerCase()==="authorization")})}_initRealtimeClient(e){return new moe(this.realtimeUrl.href,Object.assign(Object.assign({},e),{params:Object.assign({apikey:this.supabaseKey},e==null?void 0:e.params)}))}_listenForAuthEvents(){return this.auth.onAuthStateChange((r,n)=>{this._handleTokenChanged(r,"CLIENT",n==null?void 0:n.access_token)})}_handleTokenChanged(e,r,n){(e==="TOKEN_REFRESHED"||e==="SIGNED_IN")&&this.changedAccessToken!==n?(this.changedAccessToken=n,this.realtime.setAuth(n)):e==="SIGNED_OUT"&&(this.realtime.setAuth(),r=="STORAGE"&&this.auth.signOut(),this.changedAccessToken=void 0)}}const oce=(t,e,r)=>new sce(t,e,r);function lce(){if(typeof window<"u"||typeof process>"u")return!1;const t=process.version;if(t==null)return!1;const e=t.match(/^v(\d+)\./);return e?parseInt(e[1],10)<=18:!1}lce()&&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
3518ode.js 20 or later. For more information, visit: https://github.com/orgs/supabase/discussions/37217");const cce="https://pthgnwpzudehwhhogosv.supabase.co",Ace="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InB0aGdud3B6dWRlaHdoaG9nb3N2Iiwicm9sZSI6ImFub24iLCJpYXQiOjE3NjE3MjQzNjksImV4cCI6MjA3NzMwMDM2OX0.sQrdgSQOFZItqIpO88cLQv2XhyOJneMxk86aTNETanY",jn=oce(cce,Ace),fd=t=>VC(JC,t?`events/${t}`:"events"),cA=t=>VC(JC,t?`registrations/${t}`:"registrations"),k9=async t=>{const e=GC(cA(),KC("eventId"),qC(t)),r=await wa(e);let n=0;r.exists()&&r.forEach(()=>{n++});const{count:i}=await jn.from("oap_registrations").select("*",{count:"exact",head:!0}).eq("event_id",t);return n+(i||0)},G3=async(t,e)=>{const r=fd(t),n=await wa(r);if(n.exists()){const i=n.val();i.registrationCount!==e&&await mc(r,{...i,registrationCount:e,updatedAt:new Date().toISOString()})}},P9=t=>{if(t===void 0||t===""||t===null)return null;const e=Number(t);return!isNaN(e)&&e>0?e:null},J3=t=>{const e={};return Object.keys(t).forEach(r=>{t[r]!==void 0&&(t[r]!==null&&typeof t[r]=="object"&&!Array.isArray(t[r])?e[r]=J3(t[r]):e[r]=t[r])}),e},$C=t=>{if(Array.isArray(t.dates)&&t.dates.length>0)return t.dates.map(e=>typeof e=="string"?{date:e,startTime:"00:00"}:{date:e.date,startTime:e.startTime||"00:00",endTime:e.endTime||""});if(t.eventDate){const e=new Date(t.eventDate).toISOString();return[{date:e.split("T")[0],startTime:e.split("T")[1].substring(0,5)}]}return[{date:new Date().toISOString().split("T")[0],startTime:"00:00"}]},uce=async t=>{try{const e=CQ(fd());
3518if(!e.key)throw new Error("Error al generar el ID del evento");const r=new Date().toISOString(),n={...t,id:e.key,createdAt:r,updatedAt:r,registrationCount:0,published:!0,registrationLimit:P9(t.registrationLimit),dates:$C(t),requiresDigitalCertificate:t.requiresDigitalCertificate||!1,requiresEntrepreneurshipDocs:t.requiresEntrepreneurshipDocs||!1,issueCredential:t.issueCredential??!0,credentialSettings:t.credentialSettings,footerImages:t.footerImages||[],createdBy:t.createdBy||null};console.log("ð createEvent - event.formType before save to Firebase:",n.formType);const i=J3(n);return await mc(e,i),n}catch(e){throw console.error("Error creating event:",e),new Error("Error al crear el evento. Por favor, inténtelo de nuevo.")}},e5=async(t=!1)=>{try{const e=await wa(fd());if(!e.exists())return[];const r=[];e.forEach(i=>{if(i.key){const a=i.val(),s={id:i.key,...a,dates:$C(a),footerImages:a.footerImages||[]};(t||s.published!==!1)&&r.push(s)}});const n=new Date;return n.setHours(0,0,0,0),r.sort((i,a)=>{var u,d;const s=(u=i.dates[0])!=null&&u.date?new Date(i.dates[0].date):new Date(0),o=(d=a.dates[0])!=null&&d.date?new Date(a.dates[0].date):new Date(0),c=Math.abs(s.getTime()-n.getTime()),A=Math.abs(o.getTime()-n.getTime());return c-A})}catch(e){return console.error("Error fetching events:",e),[]}},Xw=async(t,e=!1)=>{try{if(!t)return null;const r=await wa(fd(t));if(!r.exists()||!r.key)return null;const n=r.val(),i={id:r.key,...n,dates:$C(n),requiresDigitalCertificate:n.requiresDigitalCertificate||!1,footerImages:n.footerImages||[]};return!e&&i.published===!1?null:(console.log("ð getEvent - event.formType from Firebase:",i.formType),i)}catch(r){return console.error("Error fetching event:",r),null}},dce=async(t,e)=>{try{if(!t)throw new Error("ID del evento es requerido");const r=fd(t),n=await wa(r);if(!n.exists())throw new Error("El evento no existe");const i=n.val(),a={...i,...e,updatedAt:new Date().toISOString(),registrationLimit:P9(e.registrationLimit),dates:$C({...i,...e}),requiresDigitalCertificate:e.requiresDigitalCertificate??i.requiresDigitalCertificate??!1,requiresEntrepreneurshipDocs:e.requiresEntrepreneurshipDocs??i.requiresEntrepreneurshipDocs??!1,issueCredential:e.issueCredential??i.issueCredential??!0,credentialSettings:e.credentialSettings||i.credentialSettings,footerImages:e.footerImages!==void 0?e.footerImages:i.footerImages||[]};console.log("ð updateEvent - updatedEvent.formType before save to Firebase:",a.formType);const s=J3(a);return await mc(r,s),{id:t,...s}}catch(r){throw console.error("Error updating event:",r),new Error("Error al actualizar el evento. Por favor, inténtelo de nuevo.")}},hce=async t=>{try{if(!t)throw new Error("ID del evento es requerido");const e=fd(t),r=await wa(e);if(!r.exists())throw new Error("El evento no existe");const n=r.val(),i={...n,published:!n.published,updatedAt:new Date().toISOString()};return await mc(e,i),{id:t,...i}}catch(e){throw console.error("Error toggling event published status:",e),new Error("Error al cambiar el estado de publicación del evento. Por favor, inténtelo de nuevo.")}},fce=async t=>{try{if(!t)throw new Error("ID del evento es requerido");const e=fd(t);if(!(await wa(e)).exists())throw new Error("El evento no existe");const n=GC(cA(),KC("eventId"),qC(t)),i=await wa(n);if(i.exists()){const a=[];i.forEach(s=>{s.key&&a.push(AS(cA(s.key)))}),await Promise.all(a)}await AS(e)}catch(e){throw console.error("Error deleting event:",e),new Error("Error al eliminar el evento. Por favor, inténtelo de nuevo.")}},pce=async t=>{try{if(!t.eventId||!t.firstName||!t.lastName||!t.email||!t.identificationNumber)throw new Error("Todos los campos obligatorios deben estar completos");const e=`${t.firstName} ${t.lastName}`.trim(),r=GC(cA(),KC("eventId"),qC(t.eventId)),n=await wa(r);if(n.exists()){let f=!1;if(n.forEach(h=>{h.val().identificationNumber.toLowerCase()===t.identificationNumber.toLowerCase()&&(f=!0)}),f)throw new Error("Ya existe una inscripción con este documento de identidad para este evento")}const i=await wa(fd(t.eventId));if(!i.exists())throw new Error("El evento no existe");const a=i.val(),s=await k9(t.eventId);if(a.registrationLimit&&s>=a.registrationLimit)throw new Error("Se ha alcanzado el lÃmite de inscripciones para este evento");const o=CQ(cA());if(!o.key)throw new Error("Error al generar el ID de la inscripción");let c=0;
3518n.exists()&&n.forEach(f=>{const h=f.val(),m=parseInt(h.registrationNumber,10);!isNaN(m)&&m>c&&(c=m)});const A=c+1,u=String(A).padStart(3,"0"),d={...t,name:e,id:o.key,registrationNumber:u,createdAt:new Date().toISOString(),active:!0,hasCertifications:t.hasCertifications||!1,companyActivity:t.companyActivity||null,interestedInExpansion:t.interestedInExpansion||!1,documents:t.documents||{},signedRegistrationFormUrl:t.signedRegistrationFormUrl||"",activityStartDateDocumentUrl:t.activityStartDateDocumentUrl||""};return await mc(o,d),await G3(t.eventId,s+1),d}catch(e){throw console.error("Error creating registration:",e),e instanceof Error?e:new Error("Error al procesar la inscripción. Por favor, inténtelo de nuevo.")}},mce=async t=>{try{if(!t)return[];const e=GC(cA(),KC("eventId"),qC(t)),r=await wa(e);if(!r.exists())return[];const n=[];let i=0;return r.forEach(a=>{if(a.key){i++;const s=a.val();!s.name&&s.firstName&&s.lastName&&(s.name=`${s.firstName} ${s.lastName}`.trim()),s.registrationNumber=String(s.registrationNumber||"0").padStart(3,"0"),s.active=s.active??!0,s.hasCertifications=s.hasCertifications??!1,n.push({id:a.key,...s})}}),await G3(t,i),n.sort((a,s)=>new Date(s.createdAt).getTime()-new Date(a.createdAt).getTime())}catch(e){return console.error("Error fetching registrations:",e),[]}},gce=async t=>{try{if(!t)throw new Error("ID de la inscripción es requerido");const e=cA(t),r=await wa(e);if(!r.exists())throw new Error("La inscripción no existe");const n=r.val();await mc(e,{...n,active:!1})}catch(e){throw console.error("Error deactivating registration:",e),new Error("Error al desactivar la inscripción. Por favor, inténtelo de nuevo.")}},vce=async t=>{try{if(!t)throw new Error("ID de la inscripción es requerido");const e=cA(t),r=await wa(e);if(!r.exists())throw new Error("La inscripción no existe");const n=r.val();await AS(e);const i=await k9(n.eventId);await G3(n.eventId,i)}catch(e){throw console.error("Error deleting registration:",e),new Error("Error al eliminar la inscripción. Por favor, inténtelo de nuevo.")}},DE=async(t,e)=>{try{if(!t)throw new Error("ID de la inscripción es requerido");const r=cA(t),n=await wa(r);if(!n.exists())throw new Error("La inscripción no existe");const a={...n.val(),...e,updatedAt:new Date().toISOString()};return await mc(r,a),{id:t,...a}}catch(r){throw console.error("Error updating registration:",r),r instanceof Error?r:new Error("Error al actualizar la inscripción. Por favor, inténtelo de nuevo.")}},xce=async t=>{try{if(!t.date||!t.startTime||!t.endTime||!t.name)throw new Error("Todos los campos obligatorios deben estar completos");if((await Q1()).some(s=>{if(s.date!==t.date||s.status==="cancelled")return!1;const o=t.startTime,c=t.endTime,A=s.startTime,u=s.endTime;return o>=A&&o<u||c>A&&c<=u||o<=A&&c>=u}))throw new Error("Ya existe una reserva en este horario");const{data:n,error:i}=await jn.from("reservations").insert({date:t.date,start_time:t.startTime,end_time:t.endTime,name:t.name,notes:t.notes||null,status:"active"}).select().single();if(i)throw console.error("Supabase error:",i),new Error("Error al crear la reserva");if(!n)throw new Error("No se pudo crear la reserva");return{id:n.id,date:n.date,startTime:n.start_time,endTime:n.end_time,name:n.name,notes:n.notes||void 0,status:n.status,createdAt:n.created_at,updatedAt:n.updated_at}}catch(e){throw console.error("Error creating reservation:",e),e instanceof Error?e:new Error("Error al crear la reserva. Por favor, inténtelo de nuevo.")}},Q1=async()=>{try{const{data:t,error:e}=await jn.from("reservations").select("*").order("date",{ascending:!0}).order("start_time",{ascending:!0});return e?(console.error("Supabase error:",e),[]):t?t.map(n=>({id:n.id,date:n.date,startTime:n.start_time,endTime:n.end_time,name:n.name,notes:n.notes||void 0,status:n.status,createdAt:n.created_at,updatedAt:n.updated_at})):[]}catch(t){return console.error("Error fetching reservations:",t),[]}},yce=async t=>{try{if(!t)throw new Error("ID de la reserva es requerido");const{error:e}=await jn.from("reservations").delete().eq("id",t);if(e)throw console.error("Supabase error:",e),new Error("Error al eliminar la reserva")}catch(e){throw console.error("Error deleting reservation:",e),new Error("Error al eliminar la reserva. Por favor, inténtelo de nuevo.")}},wce=async(t,e)=>{try{const r=[],[n,i]=await Promise.all([e5(!0),Q1()]);for(const a of t){const s={date:a.date,conflicts:[]};for(const o of n)if(!(e&&o.id===e))for(const c of o.dates)c.date===a.date&&(a.startTime&&c.startTime?iP(a.startTime,a.endTime||"23:59",c.startTime,c.endTime||"23:59")&&s.conflicts.push({type:"event",id:o.id,title:o.title,startTime:c.startTime,endTime:c.endTime}):s.conflicts.push({type:"event",id:o.id,title:o.title,startTime:c.startTime||"00:00",endTime:c.endTime}));
3518for(const o of i)o.status!=="cancelled"&&o.date===a.date&&(a.startTime?iP(a.startTime,a.endTime||"23:59",o.startTime,o.endTime)&&s.conflicts.push({type:"reservation",id:o.id,title:o.name,startTime:o.startTime,endTime:o.endTime}):s.conflicts.push({type:"reservation",id:o.id,title:o.name,startTime:o.startTime,endTime:o.endTime}));s.conflicts.length>0&&r.push(s)}return r}catch(r){return console.error("Error checking event conflicts:",r),[]}},iP=(t,e,r,n)=>{const i=A=>{const[u,d]=A.split(":").map(Number);return u*60+d},a=i(t),s=i(e),o=i(r),c=i(n);return a>=o&&a<c||s>o&&s<=c||a<=o&&s>=c},D9=async()=>{try{const[t,e]=await Promise.all([e5(!0),Q1()]),r=t.flatMap(i=>i.dates.map(a=>({date:a.date,title:i.title,id:i.id,startTime:a.startTime,endTime:a.endTime,category:i.category}))),n=e.filter(i=>i.status==="active").map(i=>({date:i.date,title:i.name,id:i.id,startTime:i.startTime,endTime:i.endTime}));return{events:r,reservations:n}}catch(t){return console.error("Error getting occupied dates:",t),{events:[],reservations:[]}}},ko=t=>/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i.test(t),TS=t=>t==="oficinAceleraPyme",Dp=t=>({id:t.id,title:t.title,content:t.content,imageUrl:t.image_url,dates:t.dates||[],registrationEmail:t.registration_email,registrationLimit:t.registration_limit,registrationCount:t.registration_count,formType:t.form_type,referenceDocumentUrl:t.reference_document_url,category:t.category,published:t.published,endDate:t.end_date,requiresDigitalCertificate:t.requires_digital_certificate||!1,issueCredential:t.issue_credential,credentialSettings:t.credential_settings,footerImages:t.footer_images||[],forceRegistrationOpen:t.force_registration_open||!1,createdAt:t.created_at,updatedAt:t.updated_at,createdBy:t.created_by,modality:t.modality||void 0}),O9=t=>{var e;return{id:t.id,eventId:t.event_id,registrationNumber:t.registration_number,firstName:t.first_name,lastName:t.last_name,name:t.name||`${t.first_name} ${t.last_name}`.trim(),email:t.email,phone:t.phone,identificationNumber:t.identification_number,company:t.company,position:t.position,type:t.type||"company",interestedInEntrepreneurship:t.interested_in_entrepreneurship||!1,hasCertifications:t.has_certifications||!1,digitalCertificateDeclaration:t.digital_certificate_declaration||!1,companyActivity:t.company_activity,interestedInExpansion:t.interested_in_expansion||!1,signedRegistrationFormUrl:t.signed_registration_form_url,activityStartDateDocumentUrl:t.activity_start_date_document_url,documents:t.documents,imageConsentAccepted:t.image_consent_accepted||!1,imageConsentDeclined:t.image_consent_declined||!1,privacyPolicyAccepted:t.privacy_policy_accepted===!0||((e=t.oap_form_data)==null?void 0:e.privacyPolicyAccepted)===!0,signatureData:t.signature_data,oapFormData:t.oap_form_data,generatedPdfUrl:t.generated_pdf_url,active:t.active??!0,createdAt:t.created_at,updatedAt:t.updated_at}},bce=async()=>{const{data:t,error:e}=await jn.from("oap_events").select("*").eq("published",!0).order("created_at",{ascending:!1});return e?(console.error("Error fetching OAP events:",e),[]):(t||[]).map(Dp)},Cce=async()=>{const{data:t,error:e}=await jn.from("oap_events").select("*").order("created_at",{ascending:!1});return e?(console.error("Error fetching OAP events (admin):",e),[]):(t||[]).map(Dp)},OE=async t=>{const{data:e,error:r}=await jn.from("oap_events").select("*").eq("id",t).maybeSingle();return r||!e?null:Dp(e)},Bce=async t=>{const{data:e,error:r}=await jn.from("oap_events").select("*").eq("id",t).maybeSingle();return r||!e?null:Dp(e)},Ece=async t=>{const{data:e,error:r}=await jn.from("oap_events").insert({title:t.title||"",content:t.content||"",image_url:t.imageUrl||null,dates:t.dates||[],registration_email:t.registrationEmail||"",registration_limit:t.registrationLimit||null,registration_count:0,form_type:t.formType||"oficinAceleraPyme",reference_document_url:t.referenceDocumentUrl||null,category:t.category||"Formacion",published:t.published??!0,end_date:t.endDate||null,requires_digital_certificate:t.requiresDigitalCertificate||!1,issue_credential:t.issueCredential??!0,credential_settings:t.credentialSettings||null,footer_images:t.footerImages||[],created_by:t.createdBy||null,modality:t.modality||null,force_registration_open:t.forceRegistrationOpen||!1,created_at:new Date().toISOString(),updated_at:new Date().toISOString()}).select().single();if(r)throw new Error(`Error al crear el evento OAP: ${r.message}`);return Dp(e)},Nce=async(t,e)=>{const r={updated_at:new Date().toISOString()};e.title!==void 0&&(r.title=e.title),e.content!==void 0&&(r.content=e.content),e.imageUrl!==void 0&&(r.image_url=e.imageUrl||null),e.dates!==void 0&&(r.dates=e.dates),e.registrationEmail!==void 0&&(r.registration_email=e.registrationEmail),e.registrationLimit!==void 0&&(r.registration_limit=e.registrationLimit||null),e.formType!==void 0&&(r.form_type=e.formType),e.referenceDocumentUrl!==void 0&&(r.reference_document_url=e.referenceDocumentUrl||null),e.category!==void 0&&(r.category=e.category),e.published!==void 0&&(r.published=e.published),e.endDate!==void 0&&(r.end_date=e.endDate||null),e.requiresDigitalCertificate!==void 0&&(r.requires_digital_certificate=e.requiresDigitalCertificate),e.issueCredential!==void 0&&(r.issue_credential=e.issueCredential),e.credentialSettings!==void 0&&(r.credential_settings=e.credentialSettings||null),e.footerImages!==void 0&&(r.footer_images=e.footerImages||[]),e.modality!==void 0&&(r.modality=e.modality||null),e.forceRegistrationOpen!==void 0&&(r.force_registration_open=e.forceRegistrationOpen);const{data:n,error:i}=await jn.from("oap_events").update(r).eq("id",t).select().single();if(i)throw new Error(`Error al actualizar el evento OAP: ${i.message}`);return Dp(n)},Sce=async t=>{const{error:e}=await jn.from("oap_events").delete().eq("id",t);if(e)throw new Error(`Error al eliminar el evento OAP: ${e.message}`)},_ce=async t=>{const{data:e,error:r}=await jn.from("oap_events").select("published").eq("id",t).maybeSingle();if(r||!e)throw new Error("No se encontró el evento OAP");const{error:n}=await jn.from("oap_events").update({published:!e.published,updated_at:new Date().toISOString()}).eq("id",t);if(n)throw new Error(`Error al cambiar estado de publicación: ${n.message}`)},Fce=async t=>{const{data:e,error:r}=await jn.from("oap_registrations").select("*").eq("event_id",t).order("created_at",{ascending:!0});return r?(console.error("Error fetching OAP registrations:",r),[]):(e||[]).map(O9)},aP=async t=>{const e=t.eventId,n=(await jn.from("oap_registrations").select("id",{count:"exact",head:!0}
3518).eq("event_id",e)).count||0,i=String(n+1).padStart(4,"0"),a=t.firstName||"",s=t.lastName||"",o={...t.oapFormData||{},privacyPolicyAccepted:t.privacyPolicyAccepted||!1},c={event_id:e,registration_number:i,first_name:a,last_name:s,name:`${a} ${s}`.trim(),email:t.email||"",phone:t.phone||null,identification_number:t.identificationNumber||"",company:t.company||null,position:t.position||null,type:t.type||"company",interested_in_entrepreneurship:t.interestedInEntrepreneurship||!1,has_certifications:t.hasCertifications||!1,digital_certificate_declaration:t.digitalCertificateDeclaration||!1,company_activity:t.companyActivity||null,interested_in_expansion:t.interestedInExpansion||!1,signed_registration_form_url:t.signedRegistrationFormUrl||null,activity_start_date_document_url:t.activityStartDateDocumentUrl||null,documents:t.documents||null,image_consent_accepted:t.imageConsentAccepted||!1,image_consent_declined:t.imageConsentDeclined||!1,signature_data:t.signatureData?{signerFirstName:t.signatureData.signerFirstName,signerLastName:t.signatureData.signerLastName,signerIdNumber:t.signatureData.signerIdNumber,signedAtDate:t.signatureData.signedAtDate,signedAtTime:t.signatureData.signedAtTime,signatureImageUrl:t.signatureData.signatureImageUrl}:null,oap_form_data:o,generated_pdf_url:t.generatedPdfUrl||null,active:!0,created_at:new Date().toISOString()},{data:A,error:u}=await jn.from("oap_registrations").insert(c).select("id,event_id,registration_number,first_name,last_name,name,email,phone,identification_number,company,position,type,interested_in_entrepreneurship,has_certifications,digital_certificate_declaration,company_activity,interested_in_expansion,signed_registration_form_url,activity_start_date_document_url,documents,image_consent_accepted,image_consent_declined,signature_data,oap_form_data,generated_pdf_url,active,created_at,updated_at").single();if(u)throw new Error(`Error al crear la inscripción OAP: ${u.message}`);return O9(A)},Tce=async t=>{const{error:e}=await jn.from("oap_registrations").delete().eq("id",t);if(e)throw new Error(`Error al eliminar la inscripción OAP: ${e.message}`)},jce=async t=>{const{error:e}=await jn.from("oap_registrations").update({active:!1,updated_at:new Date().toISOString()}).eq("id",t);if(e)throw new Error(`Error al desactivar la inscripción OAP: ${e.message}`)},RE=async(t,e)=>{const r={updated_at:new Date().toISOString()};e.type!==void 0&&(r.type=e.type),e.active!==void 0&&(r.active=e.active),e.customCredentialData!==void 0&&(r.custom_credential_data=e.customCredentialData);const{error:n}=await jn.from("oap_registrations").update(r).eq("id",t);if(n)throw new Error(`Error al actualizar la inscripción OAP: ${n.message}`)},R0=async(t,e="files")=>{const r=t.name.split(".").pop()||"bin",n=`${e}/${Date.now()}_${Math.random().toString(36).slice(2)}.${r}`,{error:i}=await jn.storage.from("acelera-pyme-files").upload(n,t,{upsert:!1,cacheControl:"3600"});if(i)throw new Error(`Error al subir el archivo: ${i.message}`);const{data:a}=jn.storage.from("acelera-pyme-files").getPublicUrl(n);return a.publicUrl};function Rn(t){const e=Object.prototype.toString.call(t);return t instanceof Date||typeof t=="object"&&e==="[object Date]"?new t.constructor(+t):typeof t=="number"||e==="[object Number]"||typeof t=="string"||e==="[object String]"?new Date(t):new Date(NaN)}function dc(t,e){return t instanceof Date?new t.constructor(e):new Date(e)}function H1(t,e){const r=Rn(t);if(isNaN(e))return dc(t,NaN);if(!e)return r;const n=r.getDate(),i=dc(t,r.getTime());i.setMonth(r.getMonth()+e+1,0);const a=i.getDate();return n>=a?i:(r.setFullYear(i.getFullYear(),i.getMonth(),n),r)}const R9=6048e5,Ice=864e5,U9=6e4,L9=36e5;let kce={};function t5(){return kce}function Yv(t,e){var o,c,A,u;const r=t5(),n=(e==null?void 0:e.weekStartsOn)??((c=(o=e==null?void 0:e.locale)==null?void 0:o.options)==null?void 0:c.weekStartsOn)??r.weekStartsOn??((u=(A=r.locale)==null?void 0:A.options)==null?void 0:u.weekStartsOn)??0,i=Rn(t),a=i.getDay(),s=(a<n?7:0)+a-n;return i.setDate(i.getDate()-s),i.setHours(0,0,0,0),i}function yb(t){return Yv(t,{weekStartsOn:1}
vendor: 4,520 bytes, line 3518
3518)}function M9(t){const e=Rn(t),r=e.getFullYear(),n=dc(t,0);n.setFullYear(r+1,0,4),n.setHours(0,0,0,0);const i=yb(n),a=dc(t,0);a.setFullYear(r,0,4),a.setHours(0,0,0,0);const s=yb(a);return e.getTime()>=i.getTime()?r+1:e.getTime()>=s.getTime()?r:r-1}function Xu(t){const e=Rn(t);return e.setHours(0,0,0,0),e}function sP(t){const e=Rn(t),r=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return r.setUTCFullYear(e.getFullYear()),+t-+r}function Pce(t,e){const r=Xu(t),n=Xu(e),i=+r-sP(r),a=+n-sP(n);return Math.round((i-a)/Ice)}function Dce(t){const e=M9(t),r=dc(t,0);return r.setFullYear(e,0,4),r.setHours(0,0,0,0),yb(r)}function Oce(t){return dc(t,Date.now())}function hp(t,e){const r=Xu(t),n=Xu(e);return+r==+n}function Rce(t){return t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}function Uce(t){if(!Rce(t)&&typeof t!="number")return!1;const e=Rn(t);return!isNaN(Number(e))}function wb(t){const e=Rn(t);return e.setHours(23,59,59,999),e}function r5(t){const e=Rn(t),r=e.getMonth();return e.setFullYear(e.getFullYear(),r+1,0),e.setHours(23,59,59,999),e}function n5(t,e){const r=Rn(t.start),n=Rn(t.end);let i=+r>+n;const a=i?+r:+n,s=i?n:r;s.setHours(0,0,0,0);let o=1;const c=[];for(;+s<=a;)c.push(Rn(s)),s.setDate(s.getDate()+o),s.setHours(0,0,0,0);return i?c.reverse():c}function i5(t){const e=Rn(t);return e.setDate(1),e.setHours(0,0,0,0),e}function Lce(t){const e=Rn(t),r=dc(t,0);return r.setFullYear(e.getFullYear(),0,1),r.setHours(0,0,0,0),r}const Mce={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Qce=(t,e,r)=>{let n;const i=Mce[t];return typeof i=="string"?n=i:e===1?n=i.one:n=i.other.replace("{{count}}",e.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+n:n+" ago":n};function U0(t){return(e={})=>{const r=e.width?String(e.width):t.defaultWidth;return t.formats[r]||t.formats[t.defaultWidth]}}const Hce={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},zce={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Vce={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Wce={date:U0({formats:Hce,defaultWidth:"full"}),time:U0({formats:zce,defaultWidth:"full"}),dateTime:U0({formats:Vce,defaultWidth:"full"})},Kce={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},qce=(t,e,r,n)=>Kce[t];function Yl(t){return(e,r)=>{const n=r!=null&&r.context?String(r.context):"standalone";let i;if(n==="formatting"&&t.formattingValues){const s=t.defaultFormattingWidth||t.defaultWidth,o=r!=null&&r.width?String(r.width):s;i=t.formattingValues[o]||t.formattingValues[s]}else{const s=t.defaultWidth,o=r!=null&&r.width?String(r.width):t.defaultWidth;i=t.values[o]||t.values[s]}const a=t.argumentCallback?t.argumentCallback(e):e;return i[a]}}const Gce={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Jce={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Xce={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Yce={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
3518ay","Saturday"]},Zce={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},$ce={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},eAe=(t,e)=>{const r=Number(t),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},tAe={ordinalNumber:eAe,era:Yl({values:Gce,defaultWidth:"wide"}),quarter:Yl({values:Jce,defaultWidth:"wide",argumentCallback:t=>t-1}),month:Yl({values:Xce,defaultWidth:"wide"}),day:Yl({values:Yce,defaultWidth:"wide"}),dayPeriod:Yl({values:Zce,defaultWidth:"wide",formattingValues:$ce,defaultFormattingWidth:"wide"})};function Zl(t){return(e,r={})=>{const n=r.width,i=n&&t.matchPatterns[n]||t.matchPatterns[t.defaultMatchWidth],a=e.match(i);if(!a)return null;const s=a[0],o=n&&t.parsePatterns[n]||t.parsePatterns[t.defaultParseWidth],c=Array.isArray(o)?nAe(o,d=>d.test(s)):rAe(o,d=>d.test(s));let A;A=t.valueCallback?t.valueCallback(c):c,A=r.valueCallback?r.valueCallback(A):A;const u=e.slice(s.length);return{value:A,rest:u}}}function rAe(t,e){for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)&&e(t[r]))return r}function nAe(t,e){for(let r=0;r<t.length;r++)if(e(t[r]))return r}function Q9(t){return(e,r={})=>{const n=e.match(t.matchPattern);if(!n)return null;const i=n[0],a=e.match(t.parsePattern);if(!a)return null;let s=t.valueCallback?t.valueCallback(a[0]):a[0];s=r.valueCallback?r.valueCallback(s):s;const o=e.slice(i.length);return{value:s,rest:o}}}const iAe=/^(\d+)(th|st|nd|rd)?/i,aAe=/\d+/i,sAe={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},oAe={any:[/^b/i,/^(a|c)/i]},lAe={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},cAe={any:[/1/i,/2/i,/3/i,/4/i]},AAe={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},uAe={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},dAe={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},hAe={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},fAe={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},pAe={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},mAe={ordinalNumber:Q9({matchPattern:iAe,parsePattern:aAe,valueCallback:t=>parseInt(t,10)}),era:Zl({matchPatterns:sAe,defaultMatchWidth:"wide",parsePatterns:oAe,defaultParseWidth:"any"}),quarter:Zl({matchPatterns:lAe,defaultMatchWidth:"wide",parsePatterns:cAe,defaultParseWidth:"any",valueCallback:t=>t+1}),month:Zl({matchPatterns:AAe,defaultMatchWidth:"wide",parsePatterns:uAe,defaultParseWidth:"any"}),day:Zl({matchPatterns:dAe,defaultMatchWidth:"wide",parsePatterns:hAe,defaultParseWidth:"any"}),dayPeriod:Zl({matchPatterns:fAe,defaultMatchWidth:"any",parsePatterns:pAe,defaultParseWidth:"any"})},gAe={code:"en-US",formatDistance:Qce,formatLong:Wce,formatRelative:qce,localize:tAe,match:mAe,options:{weekStartsOn:0,firstWeekContainsDate:1}};function vAe(t){const e=Rn(t);return Pce(e,Lce(e))+1}function xAe(t){const e=Rn(t),r=+yb(e)-+Dce(e);return Math.round(r/R9)+1}function H9(t,e){var u,d,f,h;const r=Rn(t),n=r.getFullYear(),i=t5(),a=(e==null?void 0:e.firstWeekContainsDate)??((d=(u=e==null?void 0:e.locale)==null?void 0:u.options)==null?void 0:d.firstWeekContainsDate)??i.firstWeekContainsDate??((h=(f=i.locale)==null?void 0:f.options)==null?void 0:h.firstWeekContainsDate)??1,s=dc(t,0);s.setFullYear(n+1,0,a),s.setHours(0,0,0,0);const o=Yv(s,e),c=dc(t,0);c.setFullYear(n,0,a),c.setHours(0,0,0,0);const A=Yv(c,e);return r.getTime()>=o.getTime()?n+1:r.getTime()>=A.getTime()?n:n-1}function yAe(t,e){var o,c,A,u;const r=t5(),n=(e==null?void 0:e.firstWeekContainsDate)??((c=(o=e==null?void 0:e.locale)==null?void 0:o.options)==null?void 0:c.firstWeekContainsDate)??r.firstWeekContainsDate??((u=(A=r.locale)==null?void 0:A.options)==null?void 0:u.firstWeekContainsDate)??1,i=H9(t,e),a=dc(t,0);return a.setFullYear(i,0,n),a.setHours(0,0,0,0),Yv(a,e)}function wAe(t,e){const r=Rn(t),n=+Yv(r,e)-+yAe(r,e);return Math.round(n/R9)+1}function en(t,e){const r=t<0?"-":"",n=Math.abs(t).toString().padStart(e,"0");return r+n}const LA={y(t,e){const r=t.getFullYear(),n=r>0?r:1-r;return en(e==="yy"?n%100:n,e.length)},M(t,e){const r=t.getMonth();return e==="M"?String(r+1):en(r+1,2)},d(t,e){return en(t.getDate(),e.length)},a(t,e){const r=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h(t,e){return en(t.getHours()%12||12,e.length)},H(t,e){return en(t.getHours(),e.length)},m(t,e){return en(t.getMinutes(),e.length)},s(t,e){return en(t.getSeconds(),e.length)},S(t,e){const r=e.length,n=t.getMilliseconds(),i=Math.trunc(n*Math.pow(10,r-3));return en(i,e.length)}},jf={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},oP={G:function(t,e,r){const n=t.getFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});case"GGGG":default:return r.era(n,{width:"wide"})}},y:function(t,e,r){if(e==="yo"){const n=t.getFullYear(),i=n>0?n:1-n;return r.ordinalNumber(i,{unit:"year"})}return LA.y(t,e)},Y:function(t,e,r,n){const i=H9(t,n),a=i>0?i:1-i;if(e==="YY"){const s=a%100;return en(s,2)}return e==="Yo"?r.ordinalNumber(a,{unit:"year"}):en(a,e.length)},R:function(t,e){const r=M9(t);return en(r,e.length)},u:function(t,e){const r=t.getFullYear();return en(r,e.length)},Q:function(t,e,r){const n=Math.ceil((t.getMonth()+1)/3);switch(e){case"Q":return String(n);case"QQ":return en(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(t,e,r){const n=Math.ceil((t.getMonth()+1)/3);switch(e){case"q":return String(n);case"qq":return en(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(t,e,r){const n=t.getMonth();switch(e){case"M":case"MM":return LA.M(t,e);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(t,e,r){const n=t.getMonth();switch(e){case"L":return String(n+1);case"LL":return en(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(t,e,r,n){const i=wAe(t,n);return e==="wo"?r.ordinalNumber(i,{unit:"week"}):en(i,e.length)},I:function(t,e,r){const n=xAe(t);return e==="Io"?r.ordinalNumber(n,{unit:"week"}):en(n,e.length)},d:function(t,e,r){return e==="do"?r.ordinalNumber(t.getDate(),{unit:"date"}):LA.d(t,e)},D:function(t,e,r){const n=vAe(t);return e==="Do"?r.ordinalNumber(n,{unit:"dayOfYear"}):en(n,e.length)},E:function(t,e,r){const n=t.getDay();switch(e){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});case"EEEE":default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(t,e,r,n){const i=t.getDay(),a=(i-n.weekStartsOn+8)%7||7;switch(e){case"e":return String(a);case"ee":return en(a,2);case"eo":return r.ordinalNumber(a,{unit:"day"});case"eee":return r.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(i,{width:"short",context:"formatting"});case"eeee":default:return r.day(i,{width:"wide",context:"formatting"})}},c:function(t,e,r,n){const i=t.getDay(),a=(i-n.weekStartsOn+8)%7||7;switch(e){case"c":return String(a);case"cc":return en(a,e.length);case"co":return r.ordinalNumber(a,{unit:"day"});case"ccc":return r.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(i,{width:"narrow",context:"standalone"});case"cccccc":return r.day(i,{width:"short",context:"standalone"});case"cccc":default:return r.day(i,{width:"wide",context:"standalone"})}},i:function(t,e,r){const n=t.getDay(),i=n===0?7:n;switch(e){case"i":return String(i);case"ii":return en(i,e.length);case"io":return r.ordinalNumber(i,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});case"iiii":default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(t,e,r){const i=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(t,e,r){const n=t.getHours();let i;switch(n===12?i=jf.noon:n===0?i=jf.midnight:i=n/12>
vendor: 4,718 bytes, line 3518
3518=1?"pm":"am",e){case"b":case"bb":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(t,e,r){const n=t.getHours();let i;switch(n>=17?i=jf.evening:n>=12?i=jf.afternoon:n>=4?i=jf.morning:i=jf.night,e){case"B":case"BB":case"BBB":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(t,e,r){if(e==="ho"){let n=t.getHours()%12;return n===0&&(n=12),r.ordinalNumber(n,{unit:"hour"})}return LA.h(t,e)},H:function(t,e,r){return e==="Ho"?r.ordinalNumber(t.getHours(),{unit:"hour"}):LA.H(t,e)},K:function(t,e,r){const n=t.getHours()%12;return e==="Ko"?r.ordinalNumber(n,{unit:"hour"}):en(n,e.length)},k:function(t,e,r){let n=t.getHours();return n===0&&(n=24),e==="ko"?r.ordinalNumber(n,{unit:"hour"}):en(n,e.length)},m:function(t,e,r){return e==="mo"?r.ordinalNumber(t.getMinutes(),{unit:"minute"}):LA.m(t,e)},s:function(t,e,r){return e==="so"?r.ordinalNumber(t.getSeconds(),{unit:"second"}):LA.s(t,e)},S:function(t,e){return LA.S(t,e)},X:function(t,e,r){const n=t.getTimezoneOffset();if(n===0)return"Z";switch(e){case"X":return cP(n);case"XXXX":case"XX":return Ud(n);case"XXXXX":case"XXX":default:return Ud(n,":")}},x:function(t,e,r){const n=t.getTimezoneOffset();switch(e){case"x":return cP(n);case"xxxx":case"xx":return Ud(n);case"xxxxx":case"xxx":default:return Ud(n,":")}},O:function(t,e,r){const n=t.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+lP(n,":");case"OOOO":default:return"GMT"+Ud(n,":")}},z:function(t,e,r){const n=t.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+lP(n,":");case"zzzz":default:return"GMT"+Ud(n,":")}},t:function(t,e,r){const n=Math.trunc(t.getTime()/1e3);return en(n,e.length)},T:function(t,e,r){const n=t.getTime();return en(n,e.length)}};function lP(t,e=""){const r=t>0?"-":"+",n=Math.abs(t),i=Math.trunc(n/60),a=n%60;return a===0?r+String(i):r+String(i)+e+en(a,2)}function cP(t,e){return t%60===0?(t>0?"-":"+")+en(Math.abs(t)/60,2):Ud(t,e)}function Ud(t,e=""){const r=t>0?"-":"+",n=Math.abs(t),i=en(Math.trunc(n/60),2),a=en(n%60,2);return r+i+e+a}const AP=(t,e)=>{switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});case"PPPP":default:return e.date({width:"full"})}},z9=(t,e)=>{switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});case"pppp":default:return e.time({width:"full"})}},bAe=(t,e)=>{const r=t.match(/(P+)(p+)?/)||[],n=r[1],i=r[2];if(!i)return AP(t,e);let a;switch(n){case"P":a=e.dateTime({width:"short"});break;case"PP":a=e.dateTime({width:"medium"});break;case"PPP":a=e.dateTime({width:"long"});break;case"PPPP":default:a=e.dateTime({width:"full"});break}return a.replace("{{date}}",AP(n,e)).replace("{{time}}",z9(i,e))},CAe={p:z9,P:bAe},BAe=/^D+$/,EAe=/^Y+$/,NAe=["D","DD","YY","YYYY"];function SAe(t){return BAe.test(t)}function _Ae(t){return EAe.test(t)}function FAe(t,e,r){const n=TAe(t,e,r);if(console.warn(n),NAe.includes(t))throw new RangeError(n)}function TAe(t,e,r){const n=t[0]==="Y"?"years":"days of the month";return`Use \`${t.toLowerCase()}\` instead of \`${t}\` (in \`${e}\`) for formatting ${n} to the input \`${r}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const jAe=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,IAe=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,kAe=/^'([^]*?)'?$/,PAe=/''/g,DAe=/[a-zA-Z]/;function St(t,e,r){var u,d,f,h,m,p,x,v;const n=t5(),i=(r==null?void 0:r.locale)??n.locale??gAe,a=(r==null?void 0:r.firstWeekContainsDate)??((d=(u=r==null?void 0:r.locale)==null?void 0:u.options)==null?void 0:d.firstWeekContainsDate)??n.firstWeekContainsDate??((h=(f=n.locale)==null?void 0:f.options)==null?void 0:h.firstWeekContainsDate)??1,s=(r==null?void 0:r.weekStartsOn)??((p=(m=r==null?void 0:r.locale)==null?void 0:m.options)==null?void 0:p.weekStartsOn)??n.weekStartsOn??((v=(x=n.locale)==null?void 0:x.options)==null?void 0:v.weekStartsOn)??0,o=Rn(t);if(!Uce(o))throw new RangeError("Invalid time value");let c=e.match(IAe).map(y=>{const b=y[0];if(b==="p"||b==="P"){const E=CAe[b];return E(y,i.formatLong)}return y}).join("").match(jAe).map(y=>{if(y==="''")return{isToken:!1,value:"'"};const b=y[0];if(b==="'")return{isToken:!1,value:OAe(y)};if(oP[b])return{isToken:!0,value:y};
vendor: 7,626 bytes, line 3518
3518if(b.match(DAe))throw new RangeError("Format string contains an unescaped latin alphabet character `"+b+"`");return{isToken:!1,value:y}});i.localize.preprocessor&&(c=i.localize.preprocessor(o,c));const A={firstWeekContainsDate:a,weekStartsOn:s,locale:i};return c.map(y=>{if(!y.isToken)return y.value;const b=y.value;(!(r!=null&&r.useAdditionalWeekYearTokens)&&_Ae(b)||!(r!=null&&r.useAdditionalDayOfYearTokens)&&SAe(b))&&FAe(b,e,String(t));const E=oP[b[0]];return E(o,b,i.localize,A)}).join("")}function OAe(t){const e=t.match(kAe);return e?e[1].replace(PAe,"'"):t}function RAe(t){return Rn(t).getDay()}function V9(t,e){const r=Rn(t),n=Rn(e);return+r<+n}function lh(t){return+Rn(t)<Date.now()}function zg(t,e){const r=Rn(t),n=Rn(e);return r.getFullYear()===n.getFullYear()&&r.getMonth()===n.getMonth()}function a5(t){return hp(t,Oce(t))}function Gr(t,e){const n=QAe(t);let i;if(n.date){const c=HAe(n.date,2);i=zAe(c.restDateString,c.year)}if(!i||isNaN(i.getTime()))return new Date(NaN);const a=i.getTime();let s=0,o;if(n.time&&(s=VAe(n.time),isNaN(s)))return new Date(NaN);if(n.timezone){if(o=WAe(n.timezone),isNaN(o))return new Date(NaN)}else{const c=new Date(a+s),A=new Date(0);return A.setFullYear(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()),A.setHours(c.getUTCHours(),c.getUTCMinutes(),c.getUTCSeconds(),c.getUTCMilliseconds()),A}return new Date(a+s+o)}const Fy={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},UAe=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,LAe=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,MAe=/^([+-])(\d{2})(?::?(\d{2}))?$/;function QAe(t){const e={},r=t.split(Fy.dateTimeDelimiter);let n;if(r.length>2)return e;if(/:/.test(r[0])?n=r[0]:(e.date=r[0],n=r[1],Fy.timeZoneDelimiter.test(e.date)&&(e.date=t.split(Fy.timeZoneDelimiter)[0],n=t.substr(e.date.length,t.length))),n){const i=Fy.timezone.exec(n);i?(e.time=n.replace(i[1],""),e.timezone=i[1]):e.time=n}return e}function HAe(t,e){const r=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+e)+"})|(\\d{2}|[+-]\\d{"+(2+e)+"})$)"),n=t.match(r);if(!n)return{year:NaN,restDateString:""};const i=n[1]?parseInt(n[1]):null,a=n[2]?parseInt(n[2]):null;return{year:a===null?i:a*100,restDateString:t.slice((n[1]||n[2]).length)}}function zAe(t,e){if(e===null)return new Date(NaN);const r=t.match(UAe);if(!r)return new Date(NaN);const n=!!r[4],i=Um(r[1]),a=Um(r[2])-1,s=Um(r[3]),o=Um(r[4]),c=Um(r[5])-1;if(n)return XAe(e,o,c)?KAe(e,o,c):new Date(NaN);{const A=new Date(0);return!GAe(e,a,s)||!JAe(e,i)?new Date(NaN):(A.setUTCFullYear(e,a,Math.max(i,s)),A)}}function Um(t){return t?parseInt(t):1}function VAe(t){const e=t.match(LAe);if(!e)return NaN;const r=UE(e[1]),n=UE(e[2]),i=UE(e[3]);return YAe(r,n,i)?r*L9+n*U9+i*1e3:NaN}function UE(t){return t&&parseFloat(t.replace(",","."))||0}function WAe(t){if(t==="Z")return 0;const e=t.match(MAe);if(!e)return 0;const r=e[1]==="+"?-1:1,n=parseInt(e[2]),i=e[3]&&parseInt(e[3])||0;return ZAe(n,i)?r*(n*L9+i*U9):NaN}function KAe(t,e,r){const n=new Date(0);n.setUTCFullYear(t,0,4);const i=n.getUTCDay()||7,a=(e-1)*7+r+1-i;return n.setUTCDate(n.getUTCDate()+a),n}const qAe=[31,null,31,30,31,30,31,31,30,31,30,31];function W9(t){return t%400===0||t%4===0&&t%100!==0}function GAe(t,e,r){return e>=0&&e<=11&&r>=1&&r<=(qAe[e]||(W9(t)?29:28))}function JAe(t,e){return e>=1&&e<=(W9(t)?366:365)}function XAe(t,e,r){return e>=1&&e<=53&&r>=0&&r<=6}function YAe(t,e,r){return t===24?e===0&&r===0:r>=0&&r<60&&e>=0&&e<60&&t>=0&&t<25}function ZAe(t,e){return e>=0&&e<=59}function s5(t,e){return H1(t,-e)}const $Ae={lessThanXSeconds:{one:"menos de un segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"medio minuto",lessThanXMinutes:{one:"menos de un minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"alrededor de 1 hora",other:"alrededor de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 dÃa",other:"{{count}} dÃas"},aboutXWeeks:{one:"alrededor de 1 semana",other:"alrededor de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"alrededor de 1 mes",other:"alrededor de {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"alrededor de 1 año",other:"alrededor de {{count}} años"},xYears:{one:"1 año",other:"{{count}} años"},overXYears:{one:"más de 1 año",other:"más de {{count}} años"},almostXYears:{one:"casi 1 año",other:"casi {{count}} años"}},eue=(t,e,r)=>{let n;const i=$Ae[t];return typeof i=="string"?n=i:e===1?n=i.one:n=i.other.replace("{{count}}",e.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"en "+n:"hace "+n:n},tue={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/y"},rue={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},nue={full:"{{date}} 'a las' {{time}}",long:"{{date}} 'a las' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},iue={date:U0({formats:tue,defaultWidth:"full"}),time:U0({formats:rue,defaultWidth:"full"}),dateTime:U0({formats:nue,defaultWidth:"full"})},aue={lastWeek:"'el' eeee 'pasado a la' p",yesterday:"'ayer a la' p",today:"'hoy a la' p",tomorrow:"'mañana a la' p",nextWeek:"eeee 'a la' p",other:"P"},sue={lastWeek:"'el' eeee 'pasado a las' p",yesterday:"'ayer a las' p",today:"'hoy a las' p",tomorrow:"'mañana a las' p",nextWeek:"eeee 'a las' p",other:"P"},oue=(t,e,r,n)=>e.getHours()!==1?sue[t]:aue[t],lue={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","después de cristo"]},cue={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},Aue={narrow:["e","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],wide:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]},uue={narrow:["d","l","m","m","j","v","s"],short:["do","lu","ma","mi","ju","vi","sá"],abbreviated:["dom","lun","mar","mié","jue","vie","sáb"],wide:["domingo","lunes","martes","miércoles","jueves","viernes","sábado"]},due={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"}},hue={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"}},fue=(t,e)=>Number(t)+"º",pue={ordinalNumber:fue,era:Yl({values:lue,defaultWidth:"wide"}),quarter:Yl({values:cue,defaultWidth:"wide",argumentCallback:t=>Number(t)-1}),month:Yl({values:Aue,defaultWidth:"wide"}),day:Yl({values:uue,defaultWidth:"wide"}),dayPeriod:Yl({values:due,defaultWidth:"wide",formattingValues:hue,defaultFormattingWidth:"wide"})},mue=/^(\d+)(º)?/i,gue=/\d+/i,vue={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes de la era com[uú]n|de
3518spu[eé]s de cristo|era com[uú]n)/i},xue={any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes de la era com[uú]n)/i,/^(despu[eé]s de cristo|era com[uú]n)/i]},yue={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},wue={any:[/1/i,/2/i,/3/i,/4/i]},bue={narrow:/^[efmajsond]/i,abbreviated:/^(ene|feb|mar|abr|may|jun|jul|ago|sep|oct|nov|dic)/i,wide:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i},Cue={narrow:[/^e/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^en/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i]},Bue={narrow:/^[dlmjvs]/i,short:/^(do|lu|ma|mi|ju|vi|s[áa])/i,abbreviated:/^(dom|lun|mar|mi[ée]|jue|vie|s[áa]b)/i,wide:/^(domingo|lunes|martes|mi[ée]rcoles|jueves|viernes|s[áa]bado)/i},Eue={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^do/i,/^lu/i,/^ma/i,/^mi/i,/^ju/i,/^vi/i,/^sa/i]},Nue={narrow:/^(a|p|mn|md|(de la|a las) (mañana|tarde|noche))/i,any:/^([ap]\.?\s?m\.?|medianoche|mediodia|(de la|a las) (mañana|tarde|noche))/i},Sue={any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/^md/i,morning:/mañana/i,afternoon:/tarde/i,evening:/tarde/i,night:/noche/i}},_ue={ordinalNumber:Q9({matchPattern:mue,parsePattern:gue,valueCallback:function(t){return parseInt(t,10)}}),era:Zl({matchPatterns:vue,defaultMatchWidth:"wide",parsePatterns:xue,defaultParseWidth:"any"}),quarter:Zl({matchPatterns:yue,defaultMatchWidth:"wide",parsePatterns:wue,defaultParseWidth:"any",valueCallback:t=>t+1}),month:Zl({matchPatterns:bue,defaultMatchWidth:"wide",parsePatterns:Cue,defaultParseWidth:"any"}),day:Zl({matchPatterns:Bue,defaultMatchWidth:"wide",parsePatterns:Eue,defaultParseWidth:"any"}),dayPeriod:Zl({matchPatterns:Nue,defaultMatchWidth:"any",parsePatterns:Sue,defaultParseWidth:"any"})},er={code:"es",formatDistance:eue,formatLong:iue,formatRelative:oue,localize:pue,match:_ue,options:{weekStartsOn:1,firstWeekContainsDate:1}};function jS(t){const e=document.createElement("a");e.href=t,e.target="_blank",e.rel="noopener noreferrer",document.body.appendChild(e),e.click(),document.body.removeChild(e)}const uP=({message:t,visible:e})=>l.jsx("div",{className:"fixed bottom-6 left-1/2 z-[9999] pointer-events-none",style:{transform:`translateX(-50%) translateY(${e?"0":"12px"})`,opacity:e?1:0,transition:"all 0.25s cubic-bezier(0.4,0,0.2,1)"},children:l.jsxs("div",{className:"flex items-center gap-2.5 bg-neutral-900 text-white px-4 py-3 rounded-xl shadow-2xl text-sm font-medium whitespace-nowrap",children:[l.jsx(Fo,{className:"w-4 h-4 text-emerald-400 flex-shrink-0"}),t]})}),dP=()=>l.jsx("svg",{viewBox:"0 0 24 24",className:"w-5 h-5 fill-current","aria-hidden":"true",children:l.jsx("path",{d:"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"})}),hP=()=>l.jsx("svg",{viewBox:"0 0 24 24",className:"w-5 h-5 fill-current","aria-hidden":"true",children:l.jsx("path",{d:"M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z"})}),IS=({className:t="w-5 h-5"})=>l.jsx("svg",{viewBox:"0 0 24 24",className:`fill-current ${t}`,"aria-hidden":"true",children:l.jsx("path",{d:"M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 100 12.324 6.162 6.162 0 000-12.324zM12 16a4 4 0 110-8 4 4 0 010 8zm6.406-11.845a1.44 1.44 0 100 2.881 1.44 1.44 0 000-2.881z"})}),Yw="linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%)",fP=({title:t,description:e,url:r,onBack:n,onClose:i,showToast:a})=>
3518{const s=[t,e,r].filter(Boolean).join(` 3519 3520`),[o,c]=Z.useState(!1),A=()=>{navigator.clipboard.writeText(s).then(()=>{c(!0),setTimeout(()=>c(!1),2500),a("Texto copiado â ahora pegalo en Instagram")}).catch(()=>{})},u=()=>{jS("https://www.instagram.com/create/select/"),i()};return l.jsxs("div",{className:"flex flex-col",style:{minWidth:"300px"},children:[l.jsxs("div",{className:"flex items-center justify-between px-4 py-3",style:{background:Yw},children:[l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx("button",{onClick:n,className:"w-7 h-7 rounded-full bg-white/20 hover:bg-white/30 flex items-center justify-center text-white transition-colors",children:l.jsx(hS,{className:"w-3.5 h-3.5"})}),l.jsxs("div",{className:"flex items-center gap-2 text-white",children:[l.jsx(IS,{className:"w-4 h-4"}),l.jsx("span",{className:"text-sm font-semibold",children:"Compartir en Instagram"})]})]}),l.jsx("button",{onClick:i,className:"w-7 h-7 rounded-full bg-white/20 hover:bg-white/30 flex items-center justify-center text-white transition-colors",children:l.jsx(vi,{className:"w-3.5 h-3.5"})})]}),l.jsx("div",{className:"px-4 pt-3 pb-1",children:l.jsxs("div",{className:"flex items-start gap-2.5 bg-amber-50 border border-amber-200 rounded-xl px-3 py-2.5",children:[l.jsx("span",{className:"text-amber-500 text-base leading-none mt-0.5 flex-shrink-0",children:"i"}),l.jsx("p",{className:"text-xs text-amber-700 leading-relaxed",children:"Instagram no permite publicar directamente desde web. Copia el texto y pegalo al crear tu publicacion."})]})}),l.jsx("div",{className:"px-4 pt-3 pb-1 flex gap-4",children:[{n:"1",label:"Copia el texto"},{n:"2",label:"Abre Instagram"},{n:"3",label:"Crea la publicacion"}].map(d=>l.jsxs("div",{className:"flex-1 flex flex-col items-center gap-1",children:[l.jsx("div",{className:"w-6 h-6 rounded-full flex items-center justify-center text-white text-xs font-bold flex-shrink-0",style:{background:Yw},children:d.n}),l.jsx("span",{className:"text-[10px] text-neutral-500 text-center leading-tight",children:d.label})]},d.n))}),l.jsxs("div",{className:"px-4 pt-3",children:[l.jsx("p",{className:"text-[11px] font-semibold text-neutral-500 uppercase tracking-wide mb-1.5",children:"Texto para tu publicacion"}),l.jsx("textarea",{readOnly:!0,value:s,rows:4,className:"w-full text-xs text-neutral-700 bg-neutral-50 border border-neutral-200 rounded-xl px-3 py-2.5 resize-none focus:outline-none leading-relaxed"})]}),l.jsxs("div",{className:"px-4 pt-2 pb-4 space-y-2",children:[l.jsxs("button",{onClick:A,className:`w-full flex items-center justify-center gap-2 py-2.5 rounded-xl text-sm font-semibold transition-all duration-200 ${o?"bg-emerald-500 text-white shadow-sm":"text-white shadow-sm hover:opacity-90 active:scale-[0.98]"}`,style:o?{}:{background:Yw},children:[o?l.jsx(Fo,{className:"w-4 h-4"}):l.jsx($A,{className:"w-4 h-4"}),o?"Texto copiado!":"Copiar texto"]}),l.jsxs("button",{onClick:u,className:"w-full flex items-center justify-center gap-2 py-2.5 rounded-xl text-sm font-semibold border border-neutral-200 bg-white text-neutral-700 hover:bg-neutral-50 transition-colors",children:[l.jsx(gn,{className:"w-4 h-4"}),"Ir a Instagram"]})]})]})},K9=({url:t,title:e,description:r="",variant:n="default"})=>{const[i,a]=Z.useState(!1),[s,o]=Z.useState(!1),[c,A]=Z.useState({visible:!1,message:""}),[u,d]=Z.useState(!1),f=Z.useRef(null),h=Z.useRef(null),m=Z.useRef(null),p=Z.useCallback(B=>{m.current&&clearTimeout(m.current),A({visible:!0,message:B}),m.current=setTimeout(()=>A(_=>({..._,visible:!1})),2800)},[]);Z.useEffect(()=>()=>{m.current&&clearTimeout(m.current)},[]),Z.useEffect(()=>{if(!i){o(!1);return}const B=_=>{f.current&&!f.current.contains(_.target)&&h.current&&!h.current.contains(_.target)&&(a(!1),o(!1))};return document.addEventListener("mousedown",B),()=>document.removeEventListener("mousedown",B)},[i]);const x=B=>{B.preventDefault(),B.stopPropagation()},v=B=>{x(B),a(_=>!_)},y=B=>{x(B),jS(`https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent(t)}`),a(!1)},b=B=>{x(B),jS(`https://wa.me/?text=${encodeURIComponent(`${e} 3521${t}`)}`),a(!1)},E=B=>{x(B),o(!0)},S=B=>{x(B),navigator.clipboard.writeText(t).then(()=>{d(!0),setTimeout(()=>d(!1),2e3),p("Enlace copiado al portapapeles"),setTimeout(()=>a(!1),600)})},I=()=>{a(!1),o(!1)};return n==="card"?l.jsxs(l.Fragment,{children:[l.jsx(uP,{message:c.message,visible:c.visible}),l.jsxs("div",{className:"relative",onClick:B=>B.preventDefault(),children:[l.jsx("button",{ref:h,onClick:v,"aria-label":"Compartir evento",className:"w-9 h-9 rounded-full bg-white/90 backdrop-blur-sm border border-neutral-200 flex items-center justify-center text-neutral-500 hover:text-primary hover:border-primary hover:shadow-md transition-all duration-200",children:l.jsx(F6,{className:"w-4 h-4"})}),i&&l.jsx("div",{ref:f,className:"absolute bottom-full right-0 mb-2 bg-white rounded-2xl shadow-xl border border-neutral-100 overflow-hidden z-50 animate-scale-in",style:{transformOrigin:"bottom right",minWidth:s?"300px":"208px"},children:s?l.jsx(fP,{title:e,description:r,url:t,onBack:()=>o(!1),onClose:I,showToast:p}):l.jsxs("div",{className:"p-1.5",children:[l.jsxs("button",{onClick:y,className:"w-full flex items-center gap-3 px-3 py-2.5 rounded-xl text-[#1877F2] hover:bg-[#1877F2]/8 transition-colors text-sm font-medium",children:[l.jsx(dP,{}),l.jsx("span",{children:"Facebook"})]}),l.jsxs("button",{onClick:b,className:"w-full flex items-center gap-3 px-3 py-2.5 rounded-xl text-[#25D366] hover:bg-[#25D366]/8 transition-colors text-sm font-medium",children:[l.jsx(hP,{}),l.jsx("span",{children:"WhatsApp"})]}),l.jsxs("button",{onClick:E,className:"w-full flex items-center gap-3 px-3 py-2.5 rounded-xl hover:bg-pink-50 transition-colors text-sm font-medium",style:{color:"#E1306C"},children:[l.jsx(IS,{}),l.jsx("span",{children:"Instagram"})]}),l.jsx("div",{className:"mx-3 h-px bg-neutral-100 my-1"}),l.jsxs("button",{onClick:S,className:"w-full flex items-center gap-3 px-3 py-2.5 rounded-xl text-neutral-600 hover:bg-neutral-50 transition-colors text-sm font-medium",children:[u?l.jsx(Fo,{className:"w-5 h-5 text-emerald-500"}):l.jsx(Sse,{className:"w-5 h-5"}),l.jsx("span",{className:u?"text-emerald-600":"",children:u?"Copiado!":"Copiar enlace"})]})]})})]})]}):l.jsxs(l.Fragment,{children:[l.jsx(uP,{message:c.message,visible:c.visible}),l.jsxs("div",{className:"relative",children:[l.jsxs("button",{ref:h,onClick:v,className:"inline-flex items-center gap-2 px-4 py-2 rounded-full border border-neutral-200 bg-white text-neutral-600 hover:text-primary hover:border-primary hover:shadow-md text-sm font-medium transition-all duration-200",children:[l.jsx(F6,{className:"w-4 h-4"}),l.jsx("span",{children:"Compartir"})]}),i&&l.jsxs(l.Fragment,{children:[l.jsx("div",{className:"fixed inset-0 z-40",onClick:I}),l.jsx("div",{ref:f,className:"absolute left-0 top-full mt-2 z-50 bg-white rounded-2xl shadow-2xl border border-neutral-100 overflow-hidden",style:{minWidth:"290px"},children:s?l.jsx(fP,{title:e,description:r,url:t,onBack:()=>o(!1),onClose:I,showToast:p}):l.jsxs(l.Fragment,{children:[l.jsxs("div",{className:"flex items-center justify-between px-4 pt-4 pb-2",children:[l.jsx("span",{className:"text-sm font-semibold text-neutral-700",children:"Compartir evento"}),l.jsx("button",{onClick:I,className:"w-7 h-7 rounded-full hover:bg-neutral-100 flex items-center justify-center text-neutral-400 hover:text-neutral-600 transition-colors",children:l.jsx(vi,{className:"w-4 h-4"})})]}),l.jsxs("div",{className:"px-3 pb-3 space-y-0.5",children:[l.jsxs("button",{onClick:y,className:"w-full flex items-center gap-3 px-3 py-3 rounded-xl hover:bg-[#1877F2]/6 transition-colors group",children:[l.jsx("div",{className:"w-10 h-10 rounded-xl bg-[#1877F2] flex items-center justify-center text-white flex-shrink-0 shadow-sm group-hover:shadow-md transition-shadow",children:l.jsx(dP,{})}),l.jsxs("div",{className:"text-left",children:[l.jsx("p",{className:"text-sm font-semibold text-neutral-800",children:"Facebook"}),l.jsx("p",{className:"text-xs text-neutral-400",children:"Abre el dialogo de compartir"})]})]}),l.jsxs("button",{onClick:b,className:"w-full flex items-center gap-3 px-3 py-3 rounded-xl hover:bg-[#25D366]/6 transition-colors group",children:[l.jsx("div",{className:"w-10 h-10 rounded-xl bg-[#25D366] flex items-center justify-center text-white flex-shrink-0 shadow-sm group-hover:shadow-md transition-shadow",children:l.jsx(hP,{})}),l.jsxs("div",{className:"text-left",children:[l.jsx("p",{className:"text-sm font-semibold text-neutral-800",children:"WhatsApp"}),l.jsx("p",{className:"text-xs text-neutral-400",children:"Envia con titulo y enlace"})]})]}),l.jsxs("button",{onClick:E,className:"w-full flex items-center gap-3 px-3 py-3 rounded-xl hover:bg-pink-50 transition-colors group",children:[l.jsx("div",{className:"w-10 h-10 rounded-xl flex items-center justify-center text-white flex-shrink-0 shadow-sm group-hover:shadow-md transition-shadow",style:{background:Yw},children:l.jsx(IS,{})}),l.jsxs("div",{className:"text-left",children:[l.jsx("p",{className:"text-sm font-semibold text-neutral-800",children:"Instagram"}),l.jsx("p",{className:"text-xs text-neutral-400",children:"Copia el texto listo para publicar"})]})]}),l.jsx("div",{className:"mx-1 h-px bg-neutral-100 my-1"}),l.jsxs("button",{onClick:S,className:"w-full flex items-center gap-3 px-3 py-3 rounded-xl hover:bg-neutral-50 transition-colors group",children:[l.jsx("div",{className:`w-10 h-10 rounded-xl flex items-center justify-center flex-shrink-0 shadow-sm transition-all ${u?"bg-emerald-500 text-white":"bg-neutral-100 text-neutral-600 group-hover:bg-neutral-200"}`,children:u?l.jsx(Fo,{className:"w-5 h-5"}):l.jsx($A,{className:"w-5 h-5"})}),l.jsxs("div",{className:"text-left",children:[l.jsx("p",{className:`text-sm font-semibold ${u?"text-emerald-600":"text-neutral-800"}`,children:u?"Enlace copiado!":"Copiar enlace"}),l.jsx("p",{className:"text-xs text-neutral-400 truncate max-w-[200px]",children:t})]})]})]})]})})]})]})]})},Fue=(t,e,r)=>{if(r)return"full";const n=t/e;return t<=3||n<=.2?"critical":n<=.5?"filling":"plenty"},Tue={plenty:{text:"text-emerald-700",bar:"from-emerald-500 to-emerald-600",bg:"from-emerald-50 to-white",border:"border-emerald-200",label:"Plazas disponibles",Icon:bl,pulse:!1}
3521,filling:{text:"text-amber-700",bar:"from-amber-500 to-amber-600",bg:"from-amber-50 to-white",border:"border-amber-200",label:"Plazas limitadas",Icon:Lse,pulse:!1},critical:{text:"text-primary",bar:"from-primary to-primary-light",bg:"from-primary/5 to-white",border:"border-primary/30",label:"¡Ãltimas plazas!",Icon:bse,pulse:!0},full:{text:"text-neutral-500",bar:"from-neutral-400 to-neutral-500",bg:"from-neutral-50 to-white",border:"border-neutral-200",label:"Plazas agotadas",Icon:fse,pulse:!1}},pP=(t,e=600)=>{const[r,n]=Z.useState(t),i=Z.useRef(t),a=Z.useRef(null);return Z.useEffect(()=>{const s=i.current,o=t;if(s===o)return;const c=performance.now(),A=u=>{const d=u-c,f=Math.min(d/e,1),h=1-Math.pow(1-f,3);n(Math.round(s+(o-s)*h)),f<1?a.current=requestAnimationFrame(A):i.current=o};return a.current=requestAnimationFrame(A),()=>{a.current&&cancelAnimationFrame(a.current),i.current=t}},[t,e]),r},q9=({registrationLimit:t,registrationCount:e,variant:r="full"})=>{const n=t??0,i=e??0;if(!n||n<=0)return null;const a=Math.max(n-i,0),s=i>=n,o=Math.min(Math.round(i/n*100),100),c=Fue(a,n,s),A=Tue[c],{Icon:u}=A,d=pP(a),f=pP(i);return r==="compact"?s?l.jsxs("div",{className:`inline-flex items-center gap-1.5 bg-neutral-900/90 text-white px-3 py-1.5 rounded-full shadow-lg backdrop-blur-md z-20 ${A.pulse?"animate-pulse":""}`,role:"status","aria-label":"Plazas agotadas",children:[l.jsx(u,{className:"w-3.5 h-3.5"}),l.jsx("span",{className:"text-xs font-bold",children:"Completo"})]}):l.jsxs("div",{className:`inline-flex items-center gap-1.5 bg-white/95 backdrop-blur-md border ${A.border} px-3 py-1.5 rounded-full shadow-lg z-20 transition-transform duration-300 hover:scale-105 ${A.pulse?"animate-pulse":""}`,role:"status","aria-label":`Quedan ${a} plazas de ${n}`,children:[l.jsx(u,{className:`w-3.5 h-3.5 ${A.text}`}),l.jsx("span",{className:`text-xs font-bold ${A.text}`,children:c==="critical"?"¡Ãltimas!":`${d} plazas`})]}):l.jsxs("div",{className:`relative overflow-hidden rounded-2xl border ${A.border} bg-gradient-to-br ${A.bg} p-5 md:p-6 shadow-sm`,role:"region","aria-label":"Disponibilidad de plazas",children:[l.jsxs("div",{className:"flex items-start justify-between gap-4 mb-4",children:[l.jsxs("div",{className:"flex items-center gap-3",children:[l.jsx("div",{className:`flex-shrink-0 w-11 h-11 rounded-xl bg-gradient-to-br ${A.bar} flex items-center justify-center shadow-md ${A.pulse?"animate-pulse":""}`,children:l.jsx(u,{className:"w-5 h-5 text-white"})}),l.jsxs("div",{children:[l.jsx("p",{className:`text-sm font-semibold ${A.text} uppercase tracking-wide`,children:A.label}),l.jsx("p",{className:"text-xs text-neutral-500 mt-0.5",children:s?"Aforo completo":`de ${n} plazas totales`})]})]}),l.jsxs("div",{className:"text-right",children:[l.jsx("div",{className:`text-3xl md:text-4xl font-serif font-bold ${A.text} tabular-nums leading-none animate-fade-in`,children:s?"0":d},d),l.jsx("p",{className:"text-[11px] text-neutral-500 mt-1 uppercase tracking-wider",children:s?"plazas":"restantes"})]})]}),l.jsx("div",{className:"relative w-full h-2.5 rounded-full bg-neutral-100 overflow-hidden",role:"progressbar","aria-valuenow":o,"aria-valuemin":0,"aria-valuemax":100,"aria-label":`Ocupación: ${o}%`,children:l.jsx("div",{className:`absolute inset-y-0 left-0 rounded-full bg-gradient-to-r ${A.bar} transition-all duration-700 ease-out`,style:{width:`${o}%`}})}),l.jsxs("div",{className:"flex items-center justify-between mt-3 text-xs",children:[l.jsxs("span",{className:"text-neutral-500 font-medium",children:[l.jsx("span",{className:"tabular-nums font-bold text-neutral-700",children:f})," inscritos"]}),l.jsxs("span",{className:"text-neutral-500 font-medium",children:[l.jsxs("span",{className:"tabular-nums font-bold text-neutral-700",children:[o,"%"]})," ocupación"]})]})]})},Zw=hr.memo(({event:t,index:e})=>{const[r,n]=Z.useState(!1),[i,a]=Z.useState(!1),s=[...t.dates].sort((h,m)=>new Date(h.date).getTime()-new Date(m.date).getTime()),o=Gr(s[0].date),c=Gr(s[s.length-1].date),A=t.forceRegistrationOpen?!1:t.endDate?lh(wb(Gr(t.endDate))):lh(c),u=t.category==="Evento"?pb:qQ,d=t.category==="Evento"?"Evento":"Formación",f
3521=t.category==="Evento"?"from-blue-500 to-blue-600":"from-emerald-500 to-emerald-600";return l.jsx(Jl,{to:`/eventos/${t.id}`,className:"group relative block animate-scale-in",style:{animationDelay:`${e*100}ms`},children:l.jsxs("div",{className:"relative h-full bg-white rounded-3xl overflow-hidden transition-all duration-700 hover:-translate-y-3 border border-neutral-200/50 hover:border-primary/30",style:{boxShadow:"0 4px 20px rgba(0, 0, 0, 0.06)",transform:"perspective(1000px) rotateX(0deg)",transition:"all 0.7s cubic-bezier(0.4, 0, 0.2, 1)"},onMouseMove:h=>{const m=h.currentTarget,p=m.getBoundingClientRect(),x=h.clientX-p.left,v=h.clientY-p.top,y=p.width/2,b=p.height/2,E=(v-b)/20,S=(y-x)/20;m.style.transform=`perspective(1000px) rotateX(${E}deg) rotateY(${S}deg) translateY(-12px)`},onMouseLeave:h=>{const m=h.currentTarget;m.style.transform="perspective(1000px) rotateX(0deg) rotateY(0deg) translateY(0)"},children:[l.jsx("div",{className:"absolute top-0 left-0 right-0 h-1 bg-gradient-to-r from-primary via-accent-gold to-accent-blue opacity-0 group-hover:opacity-100 transition-opacity duration-500"}),l.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-primary/5 via-transparent to-accent-blue/5 opacity-0 group-hover:opacity-100 transition-opacity duration-700"}),l.jsx("div",{className:"relative w-full",children:l.jsxs("div",{className:"w-full h-0 pb-[56.25%] relative overflow-hidden bg-gradient-to-br from-neutral-50 to-neutral-100",children:[t.imageUrl&&!r&&!i&&l.jsx("div",{className:"absolute inset-0 shimmer"}),t.imageUrl?l.jsxs(l.Fragment,{children:[l.jsx("img",{src:t.imageUrl,alt:t.title,className:`absolute inset-0 w-full h-full object-contain transition-all duration-700 ${r?"opacity-100":"opacity-0"} ${A?"grayscale":""} group-hover:scale-110 group-hover:rotate-1`,loading:"lazy",onLoad:()=>n(!0),onError:()=>a(!0)}),l.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/60 via-black/20 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-500"})]}):l.jsx("div",{className:"absolute inset-0 w-full h-full bg-gradient-to-br from-neutral-100 to-neutral-200 flex items-center justify-center",children:l.jsx(Jr,{className:"w-20 h-20 text-neutral-300"})}),l.jsx("div",{className:"absolute top-4 left-4 z-20",children:l.jsxs("div",{className:`bg-gradient-to-r ${f} px-4 py-2 rounded-full flex items-center gap-2 shadow-lg hover:shadow-xl transition-all duration-300 hover:scale-105 backdrop-blur-sm`,children:[l.jsx(u,{className:"w-4 h-4 text-white"}),l.jsx("span",{className:"text-sm font-bold text-white",children:d})]})}),t.modality&&l.jsxs("div",{className:`absolute top-4 right-4 px-4 py-2 rounded-full flex items-center gap-2 backdrop-blur-md shadow-lg z-20 ${t.modality==="virtual"?"bg-blue-600/95 text-white":"bg-emerald-600/95 text-white"}`,children:[t.modality==="virtual"?l.jsx(up,{className:"w-4 h-4"}):l.jsx(Eh,{className:"w-4 h-4"}),l.jsx("span",{className:"text-sm font-bold",children:t.modality==="virtual"?"Virtual":"Presencial"})]}),A&&l.jsxs("div",{className:`absolute ${t.modality?"top-16":"top-4"} right-4 bg-neutral-900/95 text-white px-4 py-2 rounded-full flex items-center gap-2 backdrop-blur-md shadow-lg z-20`,children:[l.jsx(mb,{className:"w-4 h-4"}),l.jsx("span",{className:"text-sm font-bold",children:"Cerrado"})]}),!A&&t.registrationLimit&&l.jsx("div",{className:"absolute top-4 right-4 z-20",children:l.jsx(q9,{registrationLimit:t.registrationLimit,registrationCount:t.registrationCount,variant:"compact"})}),l.jsx("div",{className:"absolute bottom-0 left-0 right-0 p-6 z-10",children:l.jsx("div",{className:"transform translate-y-2 opacity-0 group-hover:translate-y-0 group-hover:opacity-100 transition-all duration-500",children:l.jsxs("div",{className:"flex items-center gap-2 text-white/90 mb-2",children:[l.jsx(XQ,{className:"w-4 h-4"}),l.jsx("span",{className:"text-xs font-semibold uppercase tracking-wider",children:"Destacado"})]})})})]})}),l.jsxs("div",{className:"relative p-6",children:[l.jsx("h2",{className:"text-xl font-serif font-bold text-neutral-900 mb-4 line-clamp-2 group-hover:text-primary transition-colors duration-300",children:t.title}),l.jsxs("div",{className:"space-y-3 mb-5",children:[l.jsxs("div",{className:"flex items-start gap-3 text-neutral-600 group/d
3521ate",children:[l.jsx("div",{className:"flex-shrink-0 w-10 h-10 rounded-xl bg-gradient-to-br from-primary/10 to-primary/5 flex items-center justify-center group-hover/date:scale-110 transition-transform duration-300",children:l.jsx(Jr,{className:"w-5 h-5 text-primary"})}),l.jsxs("div",{className:"flex-1 min-w-0",children:[l.jsx("p",{className:"text-xs font-semibold text-neutral-400 uppercase tracking-wider mb-0.5",children:"Fecha"}),l.jsx("p",{className:"text-sm font-bold text-neutral-700 leading-tight",children:s.length>1?l.jsxs(l.Fragment,{children:[St(o,"d MMM",{locale:er})," - ",St(c,"d MMM yyyy",{locale:er})]}):St(o,"d 'de' MMMM 'de' yyyy",{locale:er})})]})]}),l.jsxs("div",{className:"flex items-start gap-3 text-neutral-600 group/time",children:[l.jsx("div",{className:"flex-shrink-0 w-10 h-10 rounded-xl bg-gradient-to-br from-accent-blue/10 to-accent-blue/5 flex items-center justify-center group-hover/time:scale-110 transition-transform duration-300",children:l.jsx(da,{className:"w-5 h-5 text-accent-blue"})}),l.jsxs("div",{className:"flex-1 min-w-0",children:[l.jsx("p",{className:"text-xs font-semibold text-neutral-400 uppercase tracking-wider mb-0.5",children:"Horario"}),l.jsxs("p",{className:"text-sm font-bold text-neutral-700",children:[s[0].startTime,s[0].endTime&&` - ${s[0].endTime}`," hrs"]})]})]})]}),l.jsxs("div",{className:"flex items-center justify-between pt-4 border-t border-neutral-100",children:[l.jsxs("div",{className:"flex items-center gap-2 text-primary font-bold group-hover:text-primary-dark transition-colors duration-300",children:[l.jsx("span",{className:"text-sm",children:"Ver detalles"}),l.jsx(WQ,{className:"w-5 h-5 transform group-hover:translate-x-2 transition-transform duration-300"})]}),l.jsx(K9,{url:`${window.location.origin}/eventos/${t.id}`,title:t.title,variant:"card"})]})]}),l.jsx("div",{className:"absolute inset-0 rounded-3xl pointer-events-none opacity-0 group-hover:opacity-100 transition-opacity duration-500",style:{boxShadow:"0 25px 60px rgba(207, 22, 61, 0.15), 0 10px 30px rgba(0, 102, 204, 0.1)"}})]})},t.id)});Zw.displayName="EventCard";const jue=()=>{const[t,e]=Z.useState([]),[r,n]=Z.useState(!0),[i,a]=Z.useState(""),[s,o]=Z.useState("asc"),[c,A]=Z.useState("list"),[u,d]=Z.useState(new Date),[f,h]=Z.useState("all");Z.useEffect(()=>{(async()=>{try{const[T,P]=await Promise.all([e5(),bce()]),L=[...T,...P];e(L)}catch(T){console.error("Error fetching events:",T)}finally{n(!1)}})()},[]);const m=Z.useMemo(()=>{let j=[...t].filter(P=>P.published!==!1);if(i){const[P,L]=i.split("-").map(Number),K=new Date(P,L-1);j=j.filter(le=>{const ne=le.dates.length>0?Gr(le.dates[0].date):new Date;return zg(ne,K)})}f!=="all"&&(j=j.filter(P=>P.category===f));const T=new Date;return T.setHours(0,0,0,0),j.sort((P,L)=>{var ne,fe;const K=new Date(((ne=P.dates[0])==null?void 0:ne.date)||"").getTime(),le=new Date(((fe=L.dates[0])==null?void 0:fe.date)||"").getTime();if(s==="asc"){const te=Math.abs(K-T.getTime()),he=Math.abs(le-T.getTime());return te-he}else{const te=Math.abs(K-T.getTime());return Math.abs(le-T.getTime())-te}}),j},[i,t,s,f]),p=Z.useMemo(()=>{const j=new Date;return j.setHours(0,0,0,0),m.filter(T=>{if(T.dates.length===0)return!1;if(T.forceRegistrationOpen)return!0;const P=[...T.dates].sort((le,ne)=>new Date(le.date).getTime()-new Date(ne.date).getTime()),L=Gr(P[P.length-1].date);return(T.endDate?Gr(T.endDate):L)>=j})},[m]),x=Z.useMemo(()=>{const j=new Date;return j.setHours(0,0,0,0),m.filter(T=>{if(T.dates.length===0)return!0;if(T.forceRegistrationOpen)return!1;const P=[...T.dates].sort((le,ne)=>new Date(le.date).getTime()-new Date(ne.date).getTime()),L=Gr(P[P.length-1].date);return(T.endDate?Gr(T.endDate):L)<j})},[m]),v=Z.useMemo(()=>{const j=new Set,T=new Date().getFullYear();t.forEach(P=>{if(P.dates.length>0){const L=Gr(P.dates[0].date);j.add(St(L,"yyyy-MM"))}});for(let P=0;P<12;P++){const L=new Date(T,P);j.add(St(L,"yyyy-MM"));const K=new Date(T+1,P);j.add(St(K,"yyyy-MM"))}return Array.from(j).sort()},[t]),y=Z.useCallback(()=>{o(j=>j==="asc"?"desc":"asc")},[]),b=Z.useMemo(()=>{const j=i5(u),T=r5(u),P=n5({start:j,end:T}),L=RAe(j);return Array(L).fill(null).concat(P)},[u]),E=Z.useCallback(j=>t.filter(T=>T.dates.length===0?!1:T.dates.some(P=>hp(Gr(P.date),j))),[t]),S=Z.useCallback(()=>{const j=s5(u,1);d(j),a(St(j,"yyyy-MM"))},[u]),I=Z.useCallback(()=>{const j=H1(u,1);d(j),a(St(j,"yyyy-MM"))},[u]),B=Z.useCallback(j=>{const T=j.target.value;if(a(T),T){const[P,L]=T.split("-").map(Number);d(new Date(P,L-1))}},[]);if(r)return l.jsxs("div",{className:"max-w-7xl mx-auto px-4",children:[l.jsxs("div",{className:"text-center mb-8 md:mb-16 animate-pulse",children:[l.jsx("div",{className:"h-12 w-64 bg-neutral-800 rounded-lg mx-auto mb-4"}),l.jsx("div",{className:"w-24 h-1 bg-neutral-800 mx-auto"})]}),l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 md:gap-8",children:[...Array(6)].map((j,T)=>l.jsxs("div",{className:"modern-card",children:[l.jsx("div",{className:"w-full h-0 pb-[56.25%] relative bg-neutral-800 animate-pulse"}),l.jsxs("div",{className:"p-4 md:p-6 space-y-4",children:[l.jsx("div",{className:"h-6 bg-neutral-800 rounded w-3/4 animate-pulse"}),l.jsxs("div",{className:"space-y-2",children:[l.jsx("div",{className:"h-4 bg-neutral-800 rounded w-1/2 animate-pulse"}),l.jsx("div",{className:"h-4 bg-neutral-800 rounded w-1/3 animate-pulse"})]})]})]},T))})]});const _=p.slice(0,10),O=_.length>0?{"@context":"https://schema.org","@type":"ItemList",name:"Próximos Eventos y Formaciones - Cámara de Comercio de Fuerteventura",description:"Listado de eventos, cursos y formaciones empresariales en Fuerteventura",url:window.location.origin,numberOfItems:_.length,itemListElement:_.map((j,T)=>{var P;return{"@type":"ListItem",position:T+1,item:{"@type":"Event",name:j.title,url:`${window.location.origin}/eventos/${j.id}`,startDate:(P=j.dates[0])==null?void 0:P.date,location:{"@type":"Place",name:"Cámara Oficial de Comercio de Fuerteventura",address:{"@type":"PostalAddress",addressLocality:"Puerto del Rosario",addressRegion:"Fuerteventura",addressCountry:"ES"}},organizer:{"@type":"Organization",name:"Cámara Oficial de Comercio de Fuerteventura",url:"https://www.camarafuer.es"}}}})}:null;return l.jsxs(l.Fragment,{children:[l.jsxs(BL,{children:[l.jsx("title",{children:"Eventos y Formaciones | Cámara de Comercio de Fuerteventura"}),l.jsx("meta",{name:"description",content:"Próximos eventos, cursos y formaciones empresariales de la Cámara Oficial de Comercio de Fuerteventura. InscrÃbete gratis en Fuerteventura, Islas Canarias."}),l.jsx("link",{rel:"canonical",href:window.location.origin}),l.jsx("meta",{property:"og:title",content:"Eventos y Formaciones | Cámara de Comercio de Fuerteventura"}),l.jsx("meta",{property:"og:description",content:"Próximos eventos, cursos y formaciones empresariales de la Cámara de Comercio de Fuerteventura."}),l.jsx("meta",{property:"og:url",content:window.location.origin}),O&&l.jsx("script",{type:"application/ld+json",children:JSON.stringify(O)})]}),l.jsxs("div",{className:"relative min-h-[85vh] overflow-hidden w-full",children:[l.jsxs("div",{className:"absolute inset-0 bg-cover bg-center bg-fixed",style:{backgroundImage:'url("https://images.pexels.com/photos/7688336/pexels-photo-7688336.jpeg?auto=compress&cs=tinysrgb&w=2000&h=1200&dpr=2")'},children:[l.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-white/95 via-white/90 to-white/70"}),l.jsx("div",{className:"absolute inset-0 opacity-10",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg width='60' height='60' viewB
3521ox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23B8860B' fill-opacity='0.2'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")`,animation:"movePattern 30s linear infinite"}})]}),l.jsx("div",{className:"relative w-full min-h-[85vh] flex items-center px-4 sm:px-8",children:l.jsxs("div",{className:"max-w-3xl",children:[l.jsxs("div",{className:"flex items-center gap-3 mb-8 animate-fade-in",style:{animationDelay:"0.2s"},children:[l.jsx("div",{className:"h-1 w-20 bg-primary"}),l.jsx("span",{className:"text-neutral-600 uppercase tracking-wider text-sm font-medium",children:"Cámara de Comercio de Fuerteventura"})]}),l.jsxs("h1",{className:"text-3xl sm:text-4xl md:text-6xl font-serif font-bold text-neutral-900 mb-8 leading-tight animate-fade-in",style:{animationDelay:"0.4s"},children:["Formaciones y Eventos",l.jsx("br",{}),l.jsx("span",{className:"text-primary",children:"Profesionales"})]}),l.jsx("p",{className:"text-base sm:text-lg text-neutral-700 mb-10 leading-relaxed max-w-2xl animate-fade-in",style:{animationDelay:"0.6s"},children:"Descubre nuestro programa completo de formación empresarial, eventos networking y conferencias diseñadas para impulsar el desarrollo profesional en Fuerteventura."}),l.jsx("div",{className:"flex flex-wrap gap-4 animate-fade-in",style:{animationDelay:"0.8s"},children:l.jsxs("a",{href:"#eventos",className:"w-full sm:w-auto btn-primary group",children:[l.jsx("span",{children:"Explorar Eventos"}),l.jsx(WQ,{className:"w-5 h-5 ml-2 transform group-hover:translate-x-1 transition-transform"})]})}),l.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-4 sm:gap-6 mt-16 animate-fade-in",style:{animationDelay:"1s"},children:[l.jsxs("div",{className:"glass-light p-6 rounded-xl",children:[l.jsx("div",{className:"w-12 h-12 bg-primary/10 rounded-lg flex items-center justify-center mb-4",children:l.jsx(Ru,{className:"w-6 h-6 text-primary"})}),l.jsx("h3",{className:"text-neutral-900 text-lg font-serif font-semibold mb-2",children:"Cursos Formativos"}),l.jsx("p",{className:"text-neutral-600 text-sm",children:"Programas especializados para el desarrollo empresarial y profesional."})]}),l.jsxs("div",{className:"glass-light p-6 rounded-xl",children:[l.jsx("div",{className:"w-12 h-12 bg-primary/20 rounded-lg flex items-center justify-center mb-4",children:l.jsx(bl,{className:"w-6 h-6 text-primary"})}),l.jsx("h3",{className:"text-neutral-900 text-lg font-serif font-semibold mb-2",children:"Networking"}),l.jsx("p",{className:"text-neutral-600 text-sm",children:"Conecta con otros profesionales y empresarios de la isla."})]}),l.jsxs("div",{className:"glass-light p-6 rounded-xl sm:col-span-2 md:col-span-1",children:[l.jsx("div",{className:"w-12 h-12 bg-primary/20 rounded-lg flex items-center justify-center mb-4",children:l.jsx(_s,{className:"w-6 h-6 text-primary"})}),l.jsx("h3",{className:"text-neutral-900 text-lg font-serif font-semibold mb-2",children:"Conferencias"}),l.jsx("p",{className:"text-neutral-600 text-sm",children:"Ponencias y eventos con expertos del sector empresarial."})]})]})]})}),l.jsx("div",{className:"absolute bottom-0 left-0 right-0 h-32 bg-gradient-to-t from-white to-transparent"})]}),l.jsxs("div",{id:"eventos",className:"w-full px-4 sm:px-8 pt-16 animate-fade-in",children:[l.jsxs("div",{className:"text-center mb-8 md:mb-16",children:[l.jsx("h2",{className:"text-3xl md:text-5xl font-serif font-bold text-neutral-900 mb-4 md:mb-6 animate-slide-in",children:"Próximos Eventos"}),l.jsx("div",{className:"w-24 h-1 bg-primary mx-auto transform transition-all duration-500 hover:w-32"})]}),l.jsx("div",{className:"mb-6 md:mb-8 space-y-4",children:l.jsxs("div",{className:"flex flex-col sm:flex-row sm:flex-wrap gap-4",children:[l.jsxs("div",{className:"flex justify-center gap-2 w-full sm:w-auto",children:[l.jsxs("button",{onClick:()=>A("list"),className:`flex-1 sm:flex-none inline-flex items-center justify-center gap-2 px-4 py-2 border rounded-md transition-colors duration-200 ${c==="list"?"border-primary text-primary bg-neutral-900":"border-neutral-300 text-neutral-600 hover:border-primary hover:text-primary bg-white/50"}`,children:[l.jsx(Fse,{className:"w-5 h-5"}),l.jsx("span",{children:"Lista"})]}),l.jsxs("button",{onClick:()=>A("calendar"),className:`flex-1 sm:flex-none inline-flex items-center justify-center gap-2 px-4 py-2 border rounded-md transition-colors duration-200 ${c==="calendar"?"border-primary text-primary bg-neutral-900":"border-neutral-300 text-neutral-600 hover:border-primary hover:text-primary bg-white/50"}`,children:[l.jsx(Jr,{className:"w-5 h-5"}),l.jsx("span",{children:"Calendario"})]})]}),l.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 w-full sm:w-auto",children:[l.jsxs("div",{className:"relative min-w-[220px]",children:[l.jsx(pS,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-5 h-5 text-neutral-500 pointer-events-none z-10"}),l.jsxs("select",{value:f,onChange:j=>h(j.target.value),className:"form-select",children:[l.jsx("option",{value:"all",children:"Todas las categorÃas"}),l.jsx("option",{value:"Evento",children:"Eventos"}),l.jsx("option",{value:"Formacion",children:"Formación"})]})]}),l.jsxs("div",{className:"relative min-w-[200px]",children:[l.jsx(pS,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-5 h-5 text-neutral-500 pointer-events-none z-10"}),l.jsxs("select",{value:i,onChange:B,className:"form-select",children:[l.jsx("option",{value:"",children:"Todos los meses"}),v.map(j=>{const[T,P]=j.split("-"),L=new Date(parseInt(T),parseInt(P)-1),K=t.some(le=>le.dates.length===0?!1:zg(Gr(le.dates[0].date),L));return l.jsxs("option",{value:j,children:[St(L,"MMMM yyyy",{locale:er}),K?" (â)":""]},j)})]})]}),l.jsx("button",{onClick:y,className:"flex-1 sm:flex-none inline-flex items-center justify-center gap-2 px-4 py-2 border border-neutral-300 rounded-md bg-white/50 text-neutral-600 hover:bg-white focus:outline-none focus:ring-2 focus:ring-primary focus:border-transparent transition-colors duration-200",children:s==="asc"?l.jsxs(l.Fragment,{children:[l.jsx(Bse,{className:"w-5 h-5"}),l.jsx("span",{children:"Más cercanos primero"})]}):l.jsxs(l.Fragment,{children:[l.jsx(gse,{className:"w-5 h-5"}),l.jsx("span",{children:"Más lejanos primero"})]})})]})]})}),c==="calendar"?l.jsxs("div",{className:"space-y-8",children:[l.jsxs("div",{className:"bg-gradient-to-br from-white via-gray-50/50 to-white rounded-3xl shadow-2xl border border-gray-200/50 overflow-hidden animate-fade-in",children:[l.jsxs("div",{className:"relative bg-gradient-to-r from-primary via-amber-600 to-primary p-4 md:p-8 overflow-hidden",children:[l.jsx("div",{className:"absolute inset-0 bg-[url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnIGZpbGw9IiNmZmZmZmYiIGZpbGwtb3BhY2l0eT0iMC4xIj48cGF0aCBkPSJNMzYgMzR2LTRoLTJ2NGgtNHYyaDR2NGgydi00aDR2LTJoLTR6bTAtMzBWMGgtMnY0aC00djJoNHY0aDJWNmg0VjRoLTR6TTYgMzR2LTRINHY0SDB2Mmg0djRoMnYtNGg0di0ySDZ6TTYgNFYwSDR2NEgwdjJoNHY0aDJWNmg0VjRINnoiLz48L2c+PC9nPjwvc3ZnPg==')] opacity-10"}),l.jsxs("div",{className:"relative flex items-center justify-between max-w-5xl mx-auto",children:[l.jsx("button",{onClick:S,className:"group p-2 md:p-4 bg-white/20 hover:bg-white/30 backdrop-blur-md rounded-xl md:rounded-2xl transition-all duration-300 hover:scale-110 active:scale-95 shadow-lg hover:shadow-xl",children:l.jsx(L1,{className:"w-5 h-5 md:w-6 md:h-6 text-white transition-transform group-hover:-translate-x-1"})}),l.jsxs("div",{className:"text-center px-2",children:[l.jsxs("div",{className:"flex items-center justify-center gap-2 md:gap-3 mb-1 md:mb-2",children:[l.jsx(Jr,{className:"w-5 h-5 md:w-7 md:h-7 text-white/90 animate-pulse hidden md:block"}),l.jsx("h2",{className:"text-2xl md:text-4xl lg:text-5xl font-serif font-bold text-white capitalize tracking-wide drop-shadow-lg",children:St(u,"MMMM",{locale:er})})]}),l.jsx("p",{className:"text-white/90 text-sm md:text-lg font-medium drop-shadow",children:St(u,"yyyy")}),l.jsx("div",{className:"mt-2 md:mt-3 inline-flex items-center gap-2 bg-white/20 backdrop-blur-sm px-3 md:px-4 py-1 md:py-2 rounded-full",children:l.jsx("span",{className:"text-white/90 text-xs md:text-sm font-medium",children:E(u).length>0?`${t.filter(j=>zg(j.dates[0]?Gr(j.dates[0].date):new Date,u)).length} eventos`:"Sin eventos"})})]}),l.jsx("button",{onClick:I,className:"group p-2 md:p-4 bg-white/20 hover:bg-white/30 backdrop-blur-md rounded-xl md:rounded-2xl transition-all duration-300 hover:scale-110 active:scale-95 shadow-lg hover:shadow-xl",children:l.jsx(jp,{className:"w-5 h-5 md:w-6 md:h-6 text-white transition-transform group-hover:translate-x-1"})})]})]}),l.jsx("div",{className:"p-4 md:p-8",children:l.jsxs("div",{className:"max-w-7xl mx-auto",children:[l.jsx("div",{className:"grid grid-cols-7 gap-2 md:gap-4 mb-4 md:mb-6",children:["Dom","Lun","Mar","Mié","Jue","Vie","Sáb"].map((j,T)=>l.jsx("div",{className:"text-center py-2 md:py-3 rounded-lg md:rounded-xl bg-gradient-to-b from-gray-50 to-gray-100",children:l.jsx("span",{className:`text-xs md:text-sm font-bold uppercase tracking-wider ${T===0||T===6?"text-primary":"text-gray-600"}`,children:j})},j))}),l.jsx("div",{className:"grid grid-cols-7 gap-2 md:gap-4",children:b.map((j,T)=>{if(!j)return l.jsx("div",{className:"aspect-square"},`empty-${T}`);const P=E(j),L=a5(j),K=j.getDay()===0||j.getDay()===6,le=P.length>0,ne=P.filter(te=>te.category==="Evento").length,fe=P.filter(te=>te.category==="Formacion").length;return l.jsxs("div",{className:`calendar-day-premium group relative aspect-square rounded-lg md:rounded-2xl transition-all duration-300 overflow-hidden ${L?"bg-gradient-to-br from-blue-500 to-blue-600 shadow-2xl ring-2 md:ring-4 ring-blue-300 ring-opacity-50 scale-105":le?"bg-gradient-to-br from-white to-gray-50 hover:shadow-2xl hover:scale-105 cursor-pointer border-2 border-gray-200 hover:border-primary":"bg-white border-2 border-gray-100 hover:border-gray-300 hover:shadow-lg"}`,style:{animationDelay:`${T*30}ms`,animation:"fadeIn 0.5s ease-out forwards"},children:[l.jsx("div",{className:`absolute top-1 md:top-3 left-1 md:left-3 z-10 ${L?"text-white":K?"text-primary":"text-gray-700"}`,children:l.jsx("span",{className:`text-sm md:text-xl font-bold ${L?"drop-shadow-lg":""}`,children:St(j,"d")})}),L&&l.jsxs("div",{className:"absolute top-1 md:top-3 right-1 md:right-3 z-10",children:[l.jsx("div",{className:"w-2 md:w-3 h-2 md:h-3 bg-white rounded-full animate-ping"}),l.jsx("div",{className:"absolute top-0 right-0 w-2 md:w-3 h-2 md:h-3 bg-white rounded-full"})]}),le&&l.jsxs("div",{className:"absolute inset-0 flex flex-col justify-end p-1 md:p-3",children:[l.jsxs("div",{className:"space-y-1.5",children:[P.slice(0,2).map((te,he)=>{var J;const ce=[...te.dates].sort((ue,de)=>new Date(ue.date).getTime()-new Date(de.date).getTime()),Ne=Gr(ce[ce.length-1].date),F=te.forceRegistrationOpen?!1:te.endDate?lh(wb(Gr(te.endDate))):lh(Ne),U=te.dates.find(ue=>hp(Gr(ue.date),j)),R=(U==null?void 0:U.startTime)||((J=te.dates[0])==null?void 0:J.startTime)||"00:00",M=te.category==="Formacion"?"from-emerald-500 to-emerald-600":"from-
3521amber-500 to-amber-600";return l.jsx(Jl,{to:`/eventos/${te.id}`,className:`block group/event event-card-calendar ${F?"opacity-50":""}`,style:{animationDelay:`${he*100}ms`},children:l.jsxs("div",{className:`relative overflow-hidden rounded-md md:rounded-lg p-1.5 md:p-2 bg-gradient-to-r ${M} shadow-md md:shadow-lg transform transition-all duration-300 hover:scale-105 hover:shadow-xl`,children:[l.jsxs("div",{className:"flex items-start gap-1 md:gap-1.5",children:[l.jsx("div",{className:"flex-shrink-0 mt-0.5 hidden md:block",children:te.category==="Formacion"?l.jsx(Ru,{className:"w-2.5 md:w-3 h-2.5 md:h-3 text-white"}):l.jsx(pb,{className:"w-2.5 md:w-3 h-2.5 md:h-3 text-white"})}),l.jsxs("div",{className:"flex-1 min-w-0",children:[l.jsx("p",{className:"text-[8px] md:text-[10px] font-bold text-white truncate leading-tight",children:te.title}),l.jsx("p",{className:"text-[7px] md:text-[9px] text-white/90 font-medium hidden md:block",children:R})]})]}),F&&l.jsx("div",{className:"absolute inset-0 bg-gray-900/30 backdrop-blur-[1px] flex items-center justify-center",children:l.jsx("span",{className:"text-[7px] md:text-[9px] text-white font-bold bg-gray-900/50 px-1 md:px-1.5 py-0.5 rounded",children:"Cerrado"})})]})},`${te.id}-${he}`)}),P.length>2&&l.jsx("div",{className:"bg-gradient-to-r from-gray-700 to-gray-800 rounded-md md:rounded-lg p-1 md:p-2 text-center",children:l.jsxs("span",{className:"text-[8px] md:text-[10px] text-white font-bold",children:["+",P.length-2]})})]}),l.jsxs("div",{className:"hidden md:flex gap-1 mt-2",children:[ne>0&&l.jsxs("div",{className:"flex items-center gap-1 bg-amber-500 rounded-full px-1.5 md:px-2 py-0.5 shadow-sm",children:[l.jsx(pb,{className:"w-2 md:w-2.5 h-2 md:h-2.5 text-white"}),l.jsx("span",{className:"text-[8px] md:text-[9px] font-bold text-white",children:ne})]}),fe>0&&l.jsxs("div",{className:"flex items-center gap-1 bg-emerald-500 rounded-full px-1.5 md:px-2 py-0.5 shadow-sm",children:[l.jsx(Ru,{className:"w-2 md:w-2.5 h-2 md:h-2.5 text-white"}),l.jsx("span",{className:"text-[8px] md:text-[9px] font-bold text-white",children:fe})]})]})]}),!le&&!L&&l.jsx("div",{className:"absolute inset-0 flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity duration-300",children:l.jsx("span",{className:"text-xs text-gray-400 font-medium",children:"Sin eventos"})})]},St(j,"yyyy-MM-dd"))})})]})}),l.jsx("div",{className:"px-4 md:px-8 pb-4 md:pb-8",children:l.jsxs("div",{className:"max-w-7xl mx-auto bg-gradient-to-r from-gray-50 to-gray-100 rounded-xl md:rounded-2xl p-4 md:p-6 border border-gray-200",children:[l.jsx("h4",{className:"text-xs md:text-sm font-bold text-gray-700 uppercase tracking-wider mb-3 md:mb-4",children:"Leyenda"}),l.jsxs("div",{className:"flex flex-wrap gap-3 md:gap-6",children:[l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx("div",{className:"w-3 h-3 md:w-4 md:h-4 roun
3521ded bg-gradient-to-r from-emerald-500 to-emerald-600 shadow-sm"}),l.jsx("span",{className:"text-xs md:text-sm text-gray-700 font-medium",children:"Formación"})]}),l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx("div",{className:"w-3 h-3 md:w-4 md:h-4 rounded bg-gradient-to-r from-amber-500 to-amber-600 shadow-sm"}),l.jsx("span",{className:"text-xs md:text-sm text-gray-700 font-medium",children:"Eventos"})]}),l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx("div",{className:"w-3 h-3 md:w-4 md:h-4 rounded bg-gradient-to-r from-blue-500 to-blue-600 shadow-sm"}),l.jsx("span",{className:"text-xs md:text-sm text-gray-700 font-medium",children:"DÃa actual"})]})]})]})})]}),i&&l.jsxs("div",{className:"modern-card p-6 animate-fade-in",children:[l.jsxs("h3",{className:"text-xl font-serif font-semibold text-neutral-900 mb-6",children:["Eventos en ",St(u,"MMMM yyyy",{locale:er})]}),m.length>0?l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:m.map((j,T)=>l.jsx(Zw,{event:j,index:T},j.id))}):l.jsxs("div",{className:"text-center py-8",children:[l.jsx(Jr,{className:"w-16 h-16 text-neutral-300 mx-auto mb-4"}),l.jsx("p",{className:"text-lg text-neutral-500",children:"No hay eventos programados para este mes."})]})]})]}):l.jsxs("div",{className:"space-y-12 md:space-y-16",children:[p.length>0&&l.jsxs("div",{className:"space-y-6",children:[l.jsxs("div",{className:"flex items-center gap-4",children:[l.jsx("h3",{className:"text-2xl md:text-3xl font-serif font-bold text-neutral-900",children:"Eventos Abiertos"}),l.jsx("div",{className:"flex-1 h-px bg-gradient-to-r from-primary/50 to-transparent"}),l.jsxs("span",{className:"text-sm font-medium text-neutral-600 bg-primary/10 px-3 py-1 rounded-full",children:[p.length," ",p.length===1?"evento":"eventos"]})]}),l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 md:gap-8",children:p.map((j,T)=>l.jsx(Zw,{event:j,index:T},j.id))})]}),x.length>0&&l.jsxs("div",{className:"space-y-6",children:[l.jsxs("div",{className:"flex items-center gap-4",children:[l.jsx("h3",{className:"text-2xl md:text-3xl font-serif font-bold text-neutral-900",children:"Eventos Cerrados"}),l.jsx("div",{className:"flex-1 h-px bg-gradient-to-r from-neutral-300 to-transparent"}),l.jsxs("span",{className:"text-sm font-medium text-neutral-600 bg-neutral-200 px-3 py-1 rounded-full",children:[x.length," ",x.length===1?"evento":"eventos"]})]}),l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 md:gap-8",children:x.map((j,T)=>l.jsx(Zw,{event:j,index:T},j.id))})]})]}),m.length===0&&!i&&l.jsxs("div",{className:"text-center py-12 md:py-16 modern-card animate-fade-in",children:[l.jsx(Jr,{className:"w-16 md:w-20 h-16 md:h-20 text-neutral-300 mx-auto mb-4"}),l.jsx("p",{className:"text-lg md:text-xl text-neutral-500",children:"No hay eventos programados actualmente."})]})]})]})},G9=({signerFirstName:t,signerLastName:e,signerIdNumber:r,onSign:n,onClear:i,isSigned:a})=>{const s=Z.useRef(null),[o,c]=Z.useState(!1),[A,u]=Z.useState(!1),[d]=Z.useState(()=>St(new Date,"d 'de' MMMM 'de' yyyy",{locale:er})),[f]=Z.useState(()=>St(new Date,"HH:mm:ss")),h=Z.useRef(null);Z.useEffect(()=>{const S=s.current;if(!S)return;const I=S.getContext("2d");I&&(I.fillStyle="#ffffff",I.fillRect(0,0,S.width,S.height),I.strokeStyle="#1e3a5f",I.lineWidth=2,I.lineCap="round",I.lineJoin="round")},[]);const m=(S,I)=>{const B=I.getBoundingClientRect(),_=I.width/B.width,O=I.height/B.height;if("touches"in S){const j=S.touches[0];return{x:(j.clientX-B.left)*_,y:(j.clientY-B.top)*O}}return{x:(S.clientX-B.left)*_,y:(S.clientY-B.top)*O}},p=Z.useCallback(S=>{if(a)return;S.preventDefault();const I=s.current;if(!I)return;const B=m(S,I);h.current=B,c(!0)},[a]),x=Z.useCallback(S=>{if(!o||a)return;S.preventDefault();const I=s.current;if(!I||!h.current)return;const B=I.getContext("2d");if(!B)return;const _=m(S,I);B.beginPath(),B.moveTo(h.current.x,h.current.y),B.lineTo(_.x,_.y),B.stroke(),h.current=_,u(!0)},[o,a]),v=Z.useCallback(()=>{c(!1),h.current=null},[]),y=()=>{const S=s.current;if(!S)return;const I=S.getContext("2d");I&&(I.fillStyle="#ffffff",I.fillRect(0,0,S.width,S.height),u(!1),i())},b=()=>{const S=s.current;if(!S)return;const I=S.toDataURL("image/png"),B=new Date;n({signerFirstName:t,signerLastName:e,signerIdNumber:r,signedAtDate:St(B,"d 'de' MMMM 'de' yyyy",{locale:er}),signedAtTime:St(B,"HH:mm:ss"),signatureImageDataUrl:I})},E=A&&t.trim()&&e.trim()&&r.trim();return l.jsxs("div",{className:"space-y-4",children:[l.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[l.jsxs("div",{className:"flex items-center gap-3 p-3 bg-gray-50 rounded-lg border border-gray-200",children:[l.jsx(lc,{className:"w-4 h-4 text-gray-500 flex-shrink-0"}),l.jsxs("div",{children:[l.jsx("p",{className:"text-xs text-gray-500",children:"Nombre completo"}),l.jsx("p",{className:"text-sm font-medium text-gray-900",children:t&&e?`${t} ${e}`:l.jsx("span",{className:"text-amber-600 italic",children:"Completa nombre y apellidos arriba"})})]})]}),l.jsxs("div",{className:"flex items-center gap-3 p-3 bg-gray-50 rounded-lg border border-gray-200",children:[l.jsx(GQ,{className:"w-4 h-4 text-gray-500 flex-shrink-0"}),l.jsxs("div",{children:[l.jsx("p",{className:"text-xs text-gray-500",children:"DNI / NIE / CIF"}),l.jsx("p",{className:"text-sm font-medium text-gray-900",children:r||l.jsx("span",{className:"text-amber-600 italic",children:"Completa el DNI/NIE/CIF arriba"})})]})]}),l.jsxs("div",{className:"flex items-center gap-3 p-3 bg-gray-50 rounded-lg border border-gray-200",children:[l.jsx(Jr,{className:"w-4 h-4 text-gray-500 flex-shrink-0"}),l.jsxs("div",{children:[l.jsx("p",{className:"text-xs text-gray-500",children:"Fecha de firma"}),l.jsx("p",{className:"text-sm font-medium text-gray-900",children:d})]})]}),l.jsxs("div",{className:"flex items-center gap-3 p-3 bg-gray-50 rounded-lg border border-gray-200",children:[l.jsx(da,{className:"w-4 h-4 text-gray-500 flex-shrink-0"}),l.jsxs("div",{children:[l.jsx("p",{className:"text-xs text-gray-500",children:"Hora de firma"}),l.jsx("p",{className:"text-sm font-medium text-gray-900",children:f})]})]})]}),a?l.jsxs("div",{className:"border-2 border-green-400 rounded-xl p-4 bg-green-50",children:[l.jsxs("div",{className:"flex items-center gap-3 mb-3",children:[l.jsx(ca,{className:"w-5 h-5 text-green-600"}),l.jsx("span",{className:"text-sm font-semibold text-green-800",children:"Documento firmado"})]}),l.jsx("div",{className:"bg-white rounded-lg border border-green-200 overflow-hidden",children:l.jsx("canvas",{ref:s,width:600,height:200,className:"w-full block"})}),l.jsxs("button",{type:"button",onClick:y,className:"mt-3 inline-flex items-center gap-2 px-3 py-1.5 text-sm text-red-600 hover:text-red-800 hover:bg-red-50 rounded-lg transition-colors border border-red-200",children:[l.jsx(Nh,{className:"w-4 h-4"}),"Borrar y firmar de nuevo"]})]}):l.jsxs("div",{className:"space-y-2",children:[l.jsxs("div",{className:"flex items-center justify-between",children:[l.jsx("p",{className:"text-sm font-medium text-gray-700",children:"Dibuje su firma aquà *"}),A&&l.jsxs("button",{type:"button",onClick:y,className:"inline-flex items-center gap-1.5 text-sm text-gray-500 hover:text-red-600 transition-colors",children:[l.jsx(Nh,{className:"w-3.5 h-3.5"}),"Borrar"]})]}),l.jsx("div",{className:`border-2 rounded-xl overflow-hidden transition-colors ${o?"border-blue-400":"border-gray-300 hover:border-gray-400"} `,children:l.jsx("canvas",{ref:s,width:600,height:200,className:"w-full block cursor-crosshair touch-none",onMouseDown:p,onMouseMove:x,onMouseUp:v,onMouseLeave:v,onTouchStart:p,onTouchMove:x,onTouchEnd:v})}),!A&&l.jsxs("p",{className:"text-xs text-gray-400 flex items-center gap-1.5",children:[l.jsx(kse,{className:"w-3.5 h-3.5"}),"Use el ratón o su dedo para dibujar la firma"]}),l.jsxs("button",{type:"button",onClick:b,disabled:!E,className:"w-full py-2.5 px-4 bg-[#1e3a5f] text-white rounded-lg font-medium text-sm hover:bg-[#16304f] transition-colors disabled:opacity-40 disabled:cursor-not-allowed flex items-center justify-center gap-2",children:[l.jsx(ca,{className:"w-4 h-4"}),"Confirmar Firma"]}),!E&&A&&!t&&l.jsx("p",{className:"text-xs text-amber-600",children:"Complete los datos personales antes de confirmar la firma"})]})]})},Iue={nifEmpresa:"",razonSocial:"",empleados:"",inicioActividad:"",sector:"",domicilioSocial:"",codigoPostal:"",localidad:"",provincia:"",emailGeneral:"",paginaWeb:"",tratamiento:"",nombre:"",primerApellido:"",segundoApellido:"",dni:"",cargo:"",emailContacto:"",telefono:"",fechaConsulta:"",comoNosHaConocido:[],numAsistentes:"",canalDeServicio:[],tematica:[],observaciones:""},kue=[{key:"A",label:"GRUPO A: Agricultura, ganaderÃa, silvicultura y pesca"},{key:"B",label:"GRUPO B: Industrias extractivas"},{key:"C",label:"GRUPO C: Industria manufacturera"},{key:"D",label:"GRUPO D: Suministro de energÃa eléctrica, gas, vapor y aire acondicionado"},{key:"E",label:"GRUPO E: Suministro de agua, saneamiento, gestión de residuos y descontaminación"},{key:"F",label:"GRUPO F: Construcción"},{key:"G",label:"GRUPO G: Comercio al por mayor y menor; reparación de vehÃculos"},{key:"H",label:"GRUPO H: Transporte y almacenamiento"},{key:"I",label:"GRUPO I: HostelerÃa"},{key:"J",label:"GRUPO J: Información y comunicaciones"},{key:"K",label:"GRUPO K: Actividades financieras y de seguros"},{key:"L",label:"GRUPO L: Actividades inmobiliarias"},{key:"M",label:"GRUPO M: Actividades profesionales, cientÃficas y técnicas"},{key:"N",label:"GRUPO N: Actividades administrativas y servicios auxiliares"},{key:"O",label:"GRUPO O: Administración Pública y defensa; Seguridad Social obligatoria"},{key:"P",label:"GRUPO P: Educación"},{key:"Q",label:"GRUPO Q: Actividades sanitarias y de servicios sociales"},{key:"R",label:"GRUPO R: Actividades artÃsticas, recreativas y de entretenimiento"},{key:"S",label:"GRUPO S: Otros servicios"},{key:"T",label:"GRUPO T: Actividades de los hogares como empleadores de personal doméstico"},{key:"U",label:"GRUPO U: Actividades de organizaciones y organismos extraterritoriales"}],Pue=[{key:"marketing",label:"Marketing digital y redes sociales"},{key:"financiacion",label:"Financiación y ayudas"},{key:"presencia",label:"Presencia Web"},{key:"iot",label:"Internet de las cosas"},{key:"estrategia",label:"Estrategia"},{key:"proteccion",label:"Protección de datos"},{key:"comercio",label:"Comercio electrónico"},{key:"robotica",label:"Robótica"},{key:"ciber",label:"Ciberseguridad"},{key:"cloud",label:"Soluciones Cloud"},{key:"teletrabajo",label:"Teletrabajo"},{key:"chatbot",label:"Chatbot"},{key:"infra",label:"Infraestructuras"},{key:"biometria",label:"BiometrÃa - Identidad digital"},{key:"bigdata",label:"Inteligencia de Negocio (Big Data y D&A)"}
3521,{key:"realidad",label:"Realidad Virtual y Aumentada"},{key:"crm",label:"Gestión de clientes / CRM"},{key:"impresion",label:"Impresión 3D"},{key:"erp",label:"Planificación de recursos / ERP"},{key:"ia",label:"Inteligencia Artificial"},{key:"blockchain",label:"Blockchain"},{key:"agiles",label:"MetodologÃas ágiles"}],qi="w-full px-3 py-2 border border-gray-300 rounded-lg text-sm focus:ring-2 focus:ring-[#1e3a5f] focus:border-transparent transition-colors bg-white",Sn="block text-sm font-medium text-gray-700 mb-1",LE=({id:t,checked:e,onChange:r,label:n})=>l.jsxs("label",{htmlFor:t,className:`flex items-start gap-3 p-3 rounded-lg border cursor-pointer transition-all ${e?"border-[#1e3a5f] bg-[#1e3a5f]/5":"border-gray-200 hover:border-gray-300 hover:bg-gray-50"}`,children:[l.jsx("input",{type:"checkbox",id:t,checked:e,onChange:r,className:"sr-only"}),l.jsx("span",{className:`flex-shrink-0 w-4 h-4 mt-0.5 rounded border-2 flex items-center justify-center transition-colors ${e?"bg-[#1e3a5f] border-[#1e3a5f]":"border-gray-400"}`,children:e&&l.jsx("svg",{className:"w-2.5 h-2.5 text-white",fill:"currentColor",viewBox:"0 0 12 12",children:l.jsx("path",{d:"M10 3L5 8.5 2 5.5",stroke:"white",strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"})})}),l.jsx("span",{className:"text-sm text-gray-700 leading-snug",children:n})]}),$w=({id:t,checked:e,onChange:r,label:n})=>l.jsxs("label",{htmlFor:t,className:`flex items-center gap-3 p-3 rounded-lg border cursor-pointer transition-all ${e?"border-[#1e3a5f] bg-[#1e3a5f]/5":"border-gray-200 hover:border-gray-300 hover:bg-gray-50"}`,children:[l.jsx("input",{type:"radio",id:t,checked:e,onChange:r,className:"sr-only"}),l.jsx("span",{className:`flex-shrink-0 w-4 h-4 rounded-full border-2 flex items-center justify-center transition-colors ${e?"border-[#1e3a5f]":"border-gray-400"}`,children:e&&l.jsx("span",{className:"w-2 h-2 rounded-full bg-[#1e3a5f]"})}),l.jsx("span",{className:"text-sm text-gray-700",children:n})]}),Due=({data:t,onChange:e})=>l.jsxs("div",{className:"space-y-6",children:[l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[l.jsxs("div",{children:[l.jsx("label",{className:Sn,children:"NIF Empresa *"}),l.jsx("input",{className:qi,value:t.nifEmpresa,onChange:r=>e({nifEmpresa:r.target.value}),placeholder:"A12345678"})]}),l.jsxs("div",{children:[l.jsx("label",{className:Sn,children:"Razón Social *"}),l.jsx("input",{className:qi,value:t.razonSocial,onChange:r=>e({razonSocial:r.target.value})})]})]}),l.jsxs("div",{children:[l.jsx("label",{className:Sn,children:"Empleados *"}),l.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-2",children:[{key:"mas250",label:"> 250 empleados"},{key:"menos10",label:"< 10 empleados"},{key:"entre50y249",label:"Entre 50 y 249 empleados"},{key:"autonomo",label:"Autónomo sin asalariados"},{key:"entre10y49",label:"Entre 10 y 49 empleados"},{key:"emprendedor",label:"Emprendedor"}].map(r=>l.jsx($w,{id:`emp_${r.key}`,checked:t.empleados===r.key,onChange:()=>e({empleados:r.key}),label:r.label},r.key))})]}),l.jsxs("div",{children:[l.jsx("label",{className:Sn,children:"Inicio de Actividad *"}),l.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-2",children:[{key:"menos5",label:"Menos de 5 años"},{key:"entre5y10",label:"Entre 5 y 10 años"},{key:"mas10",label:"Más de 10 años"}].map(r=>l.jsx($w,{id:`inic_${r.key}`,checked:t.inicioActividad===r.key,onChange:()=>e({inicioActividad:r.key}),label:r.label},r.key))})]}),t.empleados!=="emprendedor"&&l.jsxs("div",{children:[l.jsx("label",{className:Sn,children:"Sector *"}),l.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-2 max-h-72 overflow-y-auto pr-1",children:kue.map(r=>l.jsx($w,{id:`sector_${r.key}`,checked:t.sector===r.key,onChange:()=>e({sector:r.key}),label:r.label},r.key))})]}),l.jsxs("div",{children:[l.jsx("label",{className:Sn,children:"Domicilio Social *"}),l.jsx("input",{className:qi,value:t.domicilioSocial,onChange:r=>e({domicilioSocial:r.target.value})})]}),l.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[l.jsxs("div",{children:[l.jsx("label",{className:Sn,children:"Código Postal *"}),l.jsx("input",{className:qi,value:t.codigoPostal,onChange:r=>e({codigoPostal:r.target.value})})]}),l.jsxs("div",{children:[l.jsx("label",{className:Sn,children:"Localidad *"}),l.jsx("input",{className:qi,value:t.localidad,onChange:r=>e({localidad:r.target.value})})]})]}),l.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[l.jsxs("div",{children:[l.jsx("label",{className:Sn,children:"Provincia *"}),l.jsx("input",{className:qi,value:t.provincia,onChange:r=>e({provincia:r.target.value})})]}),l.jsxs("div",{children:[l.jsx("label",{className:Sn,children:"Email General"}),l.jsx("input",{type:"email",className:qi,value:t.emailGeneral,onChange:r=>e({emailGeneral:r.target.value})})]})]}),l.jsxs("div",{children:[l.jsx("label",{className:Sn,children:"Página Web"}
3521),l.jsx("input",{className:qi,value:t.paginaWeb,onChange:r=>e({paginaWeb:r.target.value}),placeholder:"https://..."})]})]}),Oue=({data:t,onChange:e})=>{const r=(n,i)=>{const a=t[n];e({[n]:a.includes(i)?a.filter(s=>s!==i):[...a,i]})};return l.jsxs("div",{className:"space-y-6",children:[l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[l.jsxs("div",{children:[l.jsx("label",{className:Sn,children:"Tratamiento *"}),l.jsx("div",{className:"flex gap-2",children:["Sra","Sr","NC"].map(n=>l.jsx($w,{id:`trat_${n}`,checked:t.tratamiento===n,onChange:()=>e({tratamiento:n}),label:n==="NC"?"N/C":n+"."},n))})]}),l.jsxs("div",{children:[l.jsx("label",{className:Sn,children:"Nombre *"}),l.jsx("input",{className:qi,value:t.nombre,onChange:n=>e({nombre:n.target.value})})]})]}),l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[l.jsxs("div",{children:[l.jsx("label",{className:Sn,children:"Primer Apellido *"}),l.jsx("input",{className:qi,value:t.primerApellido,onChange:n=>e({primerApellido:n.target.value})})]}),l.jsxs("div",{children:[l.jsx("label",{className:Sn,children:"Segundo Apellido"}),l.jsx("input",{className:qi,value:t.segundoApellido,onChange:n=>e({segundoApellido:n.target.value})})]})]}),l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[l.jsxs("div",{children:[l.jsx("label",{className:Sn,children:"DNI / NIE / CIF *"}),l.jsx("input",{className:qi,value:t.dni,onChange:n=>e({dni:n.target.value})})]}),l.jsxs("div",{children:[l.jsx("label",{className:Sn,children:"Cargo"}),l.jsx("input",{className:qi,value:t.cargo,onChange:n=>e({cargo:n.target.value})})]})]}),l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[l.jsxs("div",{children:[l.jsx("label",{className:Sn,children:"Email de Contacto *"}),l.jsx("input",{type:"email",className:qi,value:t.emailContacto,onChange:n=>e({emailContacto:n.target.value})})]}),l.jsxs("div",{children:[l.jsx("label",{className:Sn,children:"Teléfono"}),l.jsx("input",{type:"tel",className:qi,value:t.telefono,onChange:n=>e({telefono:n.target.value})})]})]}),l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[l.jsxs("div",{children:[l.jsx("label",{className:Sn,children:"Fecha Consulta *"}),l.jsx("input",{type:"date",className:qi,value:t.fechaConsulta,onChange:n=>e({fechaConsulta:n.target.value})})]}),l.jsxs("div",{children:[l.jsx("label",{className:Sn,children:"Núm. Asistentes"}),l.jsx("input",{type:"number",min:"1",className:qi,value:t.numAsistentes,onChange:n=>e({numAsistentes:n.target.value})})]})]}),l.jsxs("div",{children:[l.jsx("label",{className:Sn,children:"¿Cómo nos ha conocido?"}),l.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-2",children:[{key:"eventos",label:"Eventos"},{key:"correo",label:"Correo electrónico"},{key:"recomendaciones",label:"Recomendaciones de terceros"},{key:"web",label:"Web"},{key:"prensa",label:"Prensa"},{key:"redes",label:"Redes Sociales"},{key:"otros",label:"Otros"}].map(n=>l.jsx(LE,{id:`como_${n.key}`,checked:t.comoNosHaConocido.includes(n.key),onChange:()=>r("comoNosHaConocido",n.key),label:n.label},n.key))})]}),l.jsxs("div",{children:[l.jsx("label",{className:Sn,children:"Canal de Servicio *"}),l.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-2",children:[{key:"correo",label:"Correo electrónico"},{key:"presencial",label:"Presencial"},{key:"telefono",label:"Teléfono"},{key:"videoconferencia",label:"Videoconferencia"},{key:"chat",label:"Chat web"},{key:"otros",label:"Otros"}].map(n=>l.jsx(LE,{id:`canal_${n.key}`,checked:t.canalDeServicio.includes(n.key),onChange:()=>r("canalDeServicio",n.key),label:n.label},n.key))})]}),l.jsxs("div",{children:[l.jsx("label",{className:Sn,children:"Temática *"}),l.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-2",children:Pue.map(n=>l.jsx(LE,{id:`tematica_${n.key}`,checked:t.tematica.includes(n.key),onChange:()=>r("tematica",n.key),label:n.label},n.key))})]})]})},Rue=({data:t,onChange:e,signature:r,setSignature:n,imageConsent:i,onImageConsentChange:a})=>l.jsxs("div",{className:"space-y-6",children:[l.jsxs("div",{children:[l.jsx("label",{className:Sn,children:"Observaciones"}),l.jsx("p",{className:"text-xs text-gray-500 mb-2",children:"Descripción de la consulta y resumen del asesoramiento prestado"}),l.jsx("textarea",{className:qi,rows:6,value:t.observaciones,onChange:s=>e({observaciones:s.target.value}),placeholder:"Describa aquà la consulta y el asesoramiento prestado..."})]}),l.jsxs("div",{className:"bg-gray-50 border border-gray-200 rounded-xl p-5",children:[l.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[l.jsx(wl,{className:"w-5 h-5 text-[#1e3a5f]"}),l.jsx("h5",{className:"text-base font-semibold text-gray-900",children:"Firma de la empresa *"})]}),l.jsx("p",{className:"text-sm text-gray-600 mb-4",children:"La persona abajo firmante declara que todos los datos son ciertos y que ha recibido, de manera gratuita, los servicios relacionados según los datos que constan en el presente registro."}),l.jsx(G9,{signerFirstName:t.nombre,signerLastName:t.primerApellido,signerIdNumber:t.dni,isSigned:!!r,onSign:n,onClear:()=>n(null)})]}),l.jsxs("div",{className:"bg-gray-50 border border-gray-200 rounded-xl p-5 space-y-3",children:[l.jsx("p",{className:"text-sm font-semibold text-gray-900",children:"Consentimiento para el uso de imágenes *"}),l.jsxs("label",{className:"flex items-start gap-3 cursor-pointer",children:[l.jsx("input",{type:"radio",name:"oapImageConsent",checked:i.accepted,onChange:()=>a({accepted:!0,declined:!1}),className:"h-4 w-4 text-[#1e3a5f] focus:ring-[#1e3a5f] border-gray-300 mt-1"}),l.jsx("span",{className:"text-sm text-gray-700",children:"Acepto el consentimiento para el uso de imágenes"})]}),l.jsxs("label",{className:"flex items-start gap-3 cursor-pointer",children:[l.jsx("input",{type:"radio",name:"oapImageConsent",checked:i.declined,onChange:()=>a({accepted:!1,declined:!0}),className:"h-4 w-4 text-[#1e3a5f] focus:ring-[#1e3a5f] border-gray-300 mt-1"}),l.jsx("span",{className:"text-sm text-gray-700",children:"No acepto el consentimiento para el uso de imágenes"})]})]}),l.jsxs("div",{className:"bg-blue-50 border border-blue-200 rounded-xl p-5 text-xs text-blue-800 space-y-2 leading-relaxed",children:[l.jsx("p",{className:"font-semibold text-sm",children:"Información sobre protección de datos"}),l.jsx("p",{children:"Los datos personales proporcionados en el presente formulario, para recibir atención personalizada como parte del Programa Oficinas Acelera Pyme para Kit Digital serán tratados por Cámara de España y Cámara de Comercio de Fuerteventura, en régimen de corresponsabilidad."}),l.jsx("p",{children:"La finalidad es posibilitar la ejecución, desarrollo, seguimiento, gestión y control del Programa Oficinas Acelera Pyme para Kit Digital. Sus datos serán conservados por un plazo de 5 años tras la finalización del Programa."}),l.jsxs("p",{children:["Puede ejercer sus derechos de acceso, rectificación, supresión, portabilidad, limitación u oposición, escribiendo a ",l.jsx("span",{className:"font-medium",children:"[email protected]"})]})]})]}),Uue=({onSubmit:t,isSubmitting:e,error:r})=>{const[n,i]=Z.useState(1),[a,s]=Z.useState(Iue),[o,c]=Z.useState(null),[A,u]=Z.useState({accepted:!1,declined:!1}),[d,f]=Z.useState(""),h=Z.useRef(null),m=()=>{requestAnimationFrame(()=>{var I;(I=h.current)==null||I.scrollIntoView({behavior:"smooth",block:"start"})})},p=I=>s(B=>({...B,...I})),x=()=>a.nifEmpresa.trim()?a.razonSocial.trim()?a.empleados?a.inicioActividad?a.empleados!=="emprendedor"&&!a.sector?"Seleccione el sector":a.domicilioSocial.trim()?a.codigoPostal.trim()?a.localidad.trim()?a.provincia.trim()?"":"Provincia es obligatoria":"Localidad es obligatoria":"Código Postal es obligatorio":"Domicilio Social es obligatorio":"Seleccione el inicio de actividad":"Seleccione el número de empleados":"Razón Social es obligatoria":"NIF Empresa es obligatorio",v=()=>a.tratamiento?a.nombre.trim()?a.primerApellido.trim()?a.dni.trim()?a.emailContacto.trim()?a.fechaConsulta?a.canalDeServicio.length===0?"Seleccione al menos un Canal de Servicio":a.tematica.length===0?"Seleccione al menos una Temática":"":"Fecha de Consulta es obligatoria":"Email de C
3521ontacto es obligatorio":"DNI/NIE/CIF es obligatorio":"Primer Apellido es obligatorio":"Nombre es obligatorio":"Seleccione el tratamiento",y=()=>{const I=n===1?x():v();if(I){f(I);return}f(""),i(B=>B+1),m()},b=()=>{f(""),i(I=>I-1),m()},E=async I=>{if(I.preventDefault(),!o){f("Dibuje su firma y pulse «Confirmar Firma» antes de continuar");return}if(!A.accepted&&!A.declined){f("Debe seleccionar una opción de consentimiento para el uso de imágenes");return}f(""),await t(a,o,A)},S=["Datos Empresa","Datos Consulta","Observaciones y Firma"];return l.jsxs("form",{ref:h,onSubmit:E,className:"space-y-6",children:[l.jsx("div",{className:"flex items-center justify-between mb-2",children:S.map((I,B)=>{const _=B+1,O=_===n,j=_<n;return l.jsxs(hr.Fragment,{children:[l.jsxs("div",{className:"flex flex-col items-center gap-1",children:[l.jsx("div",{className:`w-9 h-9 rounded-full flex items-center justify-center text-sm font-bold border-2 transition-all ${j?"bg-green-500 border-green-500 text-white":O?"bg-[#1e3a5f] border-[#1e3a5f] text-white":"border-gray-300 text-gray-400 bg-white"}`,children:j?l.jsx(ca,{className:"w-4 h-4"}):_}),l.jsx("span",{className:`text-xs hidden sm:block ${O?"text-[#1e3a5f] font-semibold":j?"text-green-600":"text-gray-400"}`,children:I})]}),B<S.length-1&&l.jsx("div",{className:`flex-1 h-0.5 mx-2 rounded ${_<n?"bg-green-500":"bg-gray-200"}`})]},_)})}),l.jsxs("div",{className:"bg-white border border-gray-200 rounded-xl p-5 md:p-6",children:[l.jsxs("h3",{className:"text-lg font-semibold text-gray-900 mb-5 pb-3 border-b border-gray-100 flex items-center gap-2",children:[n===1&&l.jsx(Bh,{className:"w-5 h-5 text-[#1e3a5f]"}),n===2&&l.jsx(lc,{className:"w-5 h-5 text-[#1e3a5f]"}),n===3&&l.jsx(wl,{className:"w-5 h-5 text-[#1e3a5f]"}),S[n-1]]}),n===1&&l.jsx(Due,{data:a,onChange:p}),n===2&&l.jsx(Oue,{data:a,onChange:p}),n===3&&l.jsx(Rue,{data:a,onChange:p,signature:o,setSignature:c,imageConsent:A,onImageConsentChange:u})]}),(d||r)&&l.jsx("div",{className:"bg-red-50 border border-red-200 text-red-700 px-4 py-3 rounded-lg text-sm",children:d||r}),l.jsxs("div",{className:"flex justify-between gap-3",children:[n>1?l.jsxs("button",{type:"button",onClick:b,disabled:e,className:"flex items-center gap-2 px-5 py-2.5 border border-gray-300 text-gray-700 rounded-lg hover:bg-gray-50 transition-colors disabled:opacity-50",children:[l.jsx(L1,{className:"w-4 h-4"}),"Anterior"]}):l.jsx("div",{}),n<3?l.jsxs("button",{type:"button",onClick:y,className:"flex items-center gap-2 px-5 py-2.5 bg-[#1e3a5f] text-white rounded-lg hover:bg-[#16304f] transition-colors font-medium",children:["Siguiente",l.jsx(jp,{className:"w-4 h-4"})]}):l.jsx("button",{type:"submit",disabled:e,className:"flex items-center gap-2 px-6 py-2.5 bg-[#CF163D] text-white rounded-lg hover:bg-[#b01233] transition-colors font-medium disabled:opacity-50 disabled:cursor-not-allowed",children:e?l.jsxs(l.Fragment,{children:[l.jsx(Tse,{className:"w-4 h-4 animate-spin"}),"Enviando inscripción..."]}):l.jsxs(l.Fragment,{children:[l.jsx(ca,{className:"w-4 h-4"}),"Confirmar Inscripción"]})})]})]})};/*! ***************************************************************************** 3522Copyright (c) Microsoft Corporation. 3523 3524Permission to use, copy, modify, and/or distribute this software for any 3525purpose with or without fee is hereby granted. 3526 3527THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH 3528REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 3529AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, 3530INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 3531LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 3532OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 3533PERFORMANCE OF THIS SOFTWARE. 3534***************************************************************************** */var kS=function(t,e){return kS=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])},kS(t,e)};function ut(t,e){kS(t,e);function r(){this.constructor=t}
vendor: 10,669 bytes, line 3534
3534t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}var tr=function(){return tr=Object.assign||function(e){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},tr.apply(this,arguments)};function Lue(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 lr(t,e,r,n){function i(a){return a instanceof r?a:new r(function(s){s(a)})}return new(r||(r=Promise))(function(a,s){function o(u){try{A(n.next(u))}catch(d){s(d)}}function c(u){try{A(n.throw(u))}catch(d){s(d)}}function A(u){u.done?a(u.value):i(u.value).then(o,c)}A((n=n.apply(t,[])).next())})}function cr(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(A){return function(u){return c([A,u])}}function c(A){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(a=A[0]&2?i.return:A[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,A[1])).done)return a;switch(i=0,a&&(A=[A[0]&2,a.value]),A[0]){case 0:case 1:a=A;break;case 4:return r.label++,{value:A[1],done:!1};case 5:r.label++,i=A[1],A=[0];continue;case 7:A=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(A[0]===6||A[0]===2)){r=0;continue}if(A[0]===3&&(!a||A[1]>a[0]&&A[1]<a[3])){r.label=A[1];break}if(A[0]===6&&r.label<a[1]){r.label=a[1],a=A;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(A);break}a[2]&&r.ops.pop(),r.trys.pop();continue}A=e.call(t,r)}catch(u){A=[6,u],i=0}finally{n=a=0}if(A[0]&5)throw A[1];return{value:A[0]?A[1]:void 0,done:!0}}}function _r(){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 a=arguments[e],s=0,o=a.length;s<o;s++,i++)n[i]=a[s];return n}var m0="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",cg=new Uint8Array(256);for(var Ty=0;Ty<m0.length;Ty++)cg[m0.charCodeAt(Ty)]=Ty;var Mue=function(t){for(var e="",r=t.length,n=0;n<r;n+=3)e+=m0[t[n]>>2],e+=m0[(t[n]&3)<<4|t[n+1]>>4],e+=m0[(t[n+1]&15)<<2|t[n+2]>>6],e+=m0[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},mP=function(t){var e=t.length*.75,r=t.length,n,i=0,a,s,o,c;t[t.length-1]==="="&&(e--,t[t.length-2]==="="&&e--);var A=new Uint8Array(e);for(n=0;n<r;n+=4)a=cg[t.charCodeAt(n)],s=cg[t.charCodeAt(n+1)],o=cg[t.charCodeAt(n+2)],c=cg[t.charCodeAt(n+3)],A[i++]=a<<2|s>>4,A[i++]=(s&15)<<4|o>>2,A[i++]=(o&3)<<6|c&63;return A},Que=/^(data)?:?([\w\/\+]+)?;?(charset=[\w-]+|base64)?.*,/i,Hue=function(t){var e=t.trim(),r=e.substring(0,100),n=r.match(Que);if(!n)return mP(e);var i=n[0],a=e.substring(i.length);return mP(a)},$t=function(t){return t.charCodeAt(0)},zue=function(t){return t.codePointAt(0)},z1=function(t,e){return pl(t.toString(16),e,"0").toUpperCase()},o5=function(t){return z1(t,2)},Jc=function(t){return String.fromCharCode(t)},Vue=function(t){return Jc(parseInt(t,16))},pl=function(t,e,r){for(var n="",i=0,a=e-t.length;i<a;i++)n+=r;return n+t},ha=function(t,e,r){for(var n=t.length,i=0;i<n;i++)e[r++]=t.charCodeAt(i);return n},Wue=function(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")},V1=function(t){return t.replace(/\t|\u0085|\u2028|\u2029/g," ").replace(/[\b\v]/g,"")},Kue=["\\n","\\f","\\r","\\u000B"],J9=function(t){return/^[\n\f\r\u000B]$/.test(t)},X9=function(t){return t.split(/[\n\f\r\u000B]/)},Y9=function(t){return t.replace(/[\n\f\r\u000B]/g," ")},Z9=function(t,e){var r=t.charCodeAt(e),n,i=e+1,a=1;return r>=55296&&r<=56319&&t.length>i&&(n=t.charCodeAt(i),n>=56320&&n<=57343&&(a=2)),[t.slice(e,e+a),a]},que=function(t){for(var e=[],r=0,n=t.length;r<n;){var i=Z9(t,r),a=i[0],s=i[1];e.push(a),r+=s}return e},Gue=function(t){for(var e=Kue.join("|"),r=["$"],n=0,i=t.length;n<i;n++){var a=t[n];if(J9(a))throw new TypeError("`wordBreak` must not include "+e);r.push(a===""?".":Wue(a))}var s=r.join("|");return new RegExp("("+e+")|((.*?)("+s+"))","gm")},Jue=function(t,e,r,n){for(var i=Gue(e),a=V1(t).match(i),s="",o=0,c=[],A=function(){s!==""&&c.push(s),s="",o=0},u=0,d=a.length;u<d;u++){var f=a[u];if(J9(f))A();else{var h=n(f);o+h>r&&A(),s+=f,o+=h}}return A(),c},Xue=/^D:(\d\d\d\d)(\d\d)?(\d\d)?(\d\d)?(\d\d)?(\d\d)?([+\-Z])?(\d\d)?'?(\d\d)?'?$/,$9=function(t){var e=t.match(Xue);if(e){var r=e[1],n=e[2],i=n===void 0?"01":n,a=e[3],s=a===void 0?"01":a,o=e[4],c=o===void 0?"00":o,A=e[5],u=A===void 0?"00":A,d=e[6],f=d===void 0?"00":d,h=e[7],m=h===void 0?"Z":h,p=e[8],x=p===void 0?"00":p,v=e[9],y=v===void 0?"00":v,b=m==="Z"?"Z":""+m+x+":"+y,E=new Date(r+"-"+i+"-"+s+"T"+c+":"+u+":"+f+b);return E}},X3=function(t,e){for(var r,n=0,i;n<t.length;){var a=t.substring(n).match(e);if(!a)return{match:i,pos:n};i=a,n+=((r=a.index)!==null&&r!==void 0?r:0)+a[0].length}return{match:i,pos:n}},bb=function(t){return t[t.length-1]},PS=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},Yue=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 a=t[i];n[i]=a instanceof Uint8Array?a:PS(a)}for(var s=0,i=0;i<r;i++)s+=t[i].length;for(var o=new Uint8Array(s),c=0,A=0;A<r;A++)for(var u=n[A],d=0,f=u.length;d<f;d++)o[c++]=u[d];return o},Zue=function(t){for(var e=0,r=0,n=t.length;r<n;r++)e+=t[r].length;for(var i=new Uint8Array(e),a=0,r=0,n=t.length;r<n;r++){var s=t[r];i.set(s,a),a+=s.length}return i},eH=function(t){for(var e="",r=0,n=t.length;r<n;r++)e+=Jc(t[r]);return e},$ue=function(t,e){return t.id-e.id},ede=function(t,e){for(var r=[],n=0,i=t.length;n<i;n++){var a=t[n],s=t[n-1];(n===0||e(a)!==e(s))&&r.push(a)}return r},If=function(t){for(var e=t.length,r=0,n=Math.floor(e/2);r<n;r++){var i=r,a=e-r-1,s=t[r];t[i]=t[a],t[a]=s}return t},tde=function(t){for(var e=0,r=0,n=t.length;r<n;r++)e+=t[r];return e},rde=function(t,e){for(var r=new Array(e-t),n=0,i=r.length;n<i;n++)r[n]=t+n;return r},nde=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},ide=function(t){return t instanceof Uint8Array||t instanceof ArrayBuffer||typeof t=="string"},Lm=function(t){if(typeof t=="string")return Hue(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`")},fp=function(){return new Promise(function(t){setTimeout(function(){return t()},0)})},ade=function(t,e){e===void 0&&(e=!0);var r=[];e&&r.push(65279);for(var n=0,i=t.length;n<i;){var a=t.codePointAt(n);if(a<65536)r.push(a),n+=1;else if(a<1114112)r.push(tH(a),rH(a)),n+=2;else throw new Error("Invalid code point: 0x"+o5(a))}return new Uint16Array(r)},sde=function(t){return t>=0&&t<=65535},ode=function(t){return t>=65536&&t<=1114111},tH=function(t){return Math.floor((t-65536)/1024)+55296},rH=function(t){return(t-65536)%1024+56320},Uu;(function(t){t.BigEndian="BigEndian",t.LittleEndian="LittleEndian"})(Uu||(Uu={}));var Mm="�".codePointAt(0),nH=function(t,e){if(e===void 0&&(e=!0),t.length<=1)return String.fromCodePoint(Mm);for(var r=e?cde(t):Uu.BigEndian,n=e?2:0,i=[];t.length-n>=2;){var a=vP(t[n++],t[n++],r);if(lde(a))if(t.length-n<2)i.push(Mm);else{var s=vP(t[n++],t[n++],r);gP(s)?i.push(a,s):i.push(Mm)}else gP(a)?(n+=2,i.push(Mm)):i.push(a)}return n<t.length&&i.push(Mm),String.fromCodePoint.apply(String,i)},lde=function(t){return t>=55296&&t<=56319},gP=function(t){return t>=56320&&t<=57343},vP=function(t,e,r){if(r===Uu.LittleEndian)return e<<8|t;if(r===Uu.BigEndian)return t<<8|e;throw new Error("Invalid byteOrder: "+r)},cde=function(t){return iH(t)?Uu.BigEndian:aH(t)?Uu.LittleEndian:Uu.BigEndian},iH=function(t){return t[0]===254&&t[1]===255},aH=function(t){return t[0]===255&&t[1]===254},sH=function(t){return iH(t)||aH(t)},Ade=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},e2=function(t){return Math.ceil(t.toString(2).length/8)},kf=function(t){for(var e=new Uint8Array(e2(t)),r=1;r<=e.length;r++)e[r-1]=t>>(e.length-r)*8;return e},W1=function(t){throw new Error(t)},vA={};(function(t){var e=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";function r(a,s){return Object.prototype.hasOwnProperty.call(a,s)}t.assign=function(a){for(var s=Array.prototype.slice.call(arguments,1);s.length;){var o=s.shift();if(o){if(typeof o!="object")throw new TypeError(o+"must be non-object");for(var c in o)r(o,c)&&(a[c]=o[c])}}return a},t.shrinkBuf=function(a,s){return a.length===s?a:a.subarray?a.subarray(0,s):(a.length=s,a)};var n={arraySet:function(a,s,o,c,A){if(s.subarray&&a.subarray){a.set(s.subarray(o,o+c),A);return}for(var u=0;u<c;u++)a[A+u]=s[o+u]},flattenChunks:function(a){var s,o,c,A,u,d;for(c=0,s=0,o=a.length;s<o;s++)c+=a[s].length;for(d=new Uint8Array(c),A=0,s=0,o=a.length;s<o;s++)u=a[s],d.set(u,A),A+=u.length;return d}},i={arraySet:function(a,s,o,c,A){for(var u=0;u<c;u++)a[A+u]=s[o+u]},flattenChunks:function(a){return[].concat.apply([],a)}};t.setTyped=function(a){a?(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)})(vA);var K1={},gc={},Op={},ude=vA,dde=4,xP=0,yP=1,hde=2;function Rp(t){for(var e=t.length;--e>=0;)t[e]=0}var fde=0,oH=1,pde=2,mde=3,gde=258,Y3=29,q1=256,Zv=q1+1+Y3,L0=30,Z3=19,lH=2*Zv+1,$d=15,ME=16,vde=7,$3=256,cH=16,AH=17,uH=18,DS=[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],t2=[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],xde=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],dH=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],yde=512,Lc=new Array((Zv+2)*2);Rp(Lc);var Vg=new Array(L0*2);Rp(Vg);var $v=new Array(yde);Rp($v);var e1=new Array(gde-mde+1);Rp(e1);var eT=new Array(Y3);Rp(eT);var Cb=new Array(L0);Rp(Cb);function QE(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 hH,fH,pH;function HE(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}function mH(t){return t<256?$v[t]:$v[256+(t>>
vendor: 20,054 bytes, line 3534
3534>7)]}function t1(t,e){t.pending_buf[t.pending++]=e&255,t.pending_buf[t.pending++]=e>>>8&255}function Cs(t,e,r){t.bi_valid>ME-r?(t.bi_buf|=e<<t.bi_valid&65535,t1(t,t.bi_buf),t.bi_buf=e>>ME-t.bi_valid,t.bi_valid+=r-ME):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=r)}function $l(t,e,r){Cs(t,r[e*2],r[e*2+1])}function gH(t,e){var r=0;do r|=t&1,t>>>=1,r<<=1;while(--e>0);return r>>>1}function wde(t){t.bi_valid===16?(t1(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=t.bi_buf&255,t.bi_buf>>=8,t.bi_valid-=8)}function bde(t,e){var r=e.dyn_tree,n=e.max_code,i=e.stat_desc.static_tree,a=e.stat_desc.has_stree,s=e.stat_desc.extra_bits,o=e.stat_desc.extra_base,c=e.stat_desc.max_length,A,u,d,f,h,m,p=0;for(f=0;f<=$d;f++)t.bl_count[f]=0;for(r[t.heap[t.heap_max]*2+1]=0,A=t.heap_max+1;A<lH;A++)u=t.heap[A],f=r[r[u*2+1]*2+1]+1,f>c&&(f=c,p++),r[u*2+1]=f,!(u>n)&&(t.bl_count[f]++,h=0,u>=o&&(h=s[u-o]),m=r[u*2],t.opt_len+=m*(f+h),a&&(t.static_len+=m*(i[u*2+1]+h)));if(p!==0){do{for(f=c-1;t.bl_count[f]===0;)f--;t.bl_count[f]--,t.bl_count[f+1]+=2,t.bl_count[c]--,p-=2}while(p>0);for(f=c;f!==0;f--)for(u=t.bl_count[f];u!==0;)d=t.heap[--A],!(d>n)&&(r[d*2+1]!==f&&(t.opt_len+=(f-r[d*2+1])*r[d*2],r[d*2+1]=f),u--)}}function vH(t,e,r){var n=new Array($d+1),i=0,a,s;for(a=1;a<=$d;a++)n[a]=i=i+r[a-1]<<1;for(s=0;s<=e;s++){var o=t[s*2+1];o!==0&&(t[s*2]=gH(n[o]++,o))}}function Cde(){var t,e,r,n,i,a=new Array($d+1);for(r=0,n=0;n<Y3-1;n++)for(eT[n]=r,t=0;t<1<<DS[n];t++)e1[r++]=n;for(e1[r-1]=n,i=0,n=0;n<16;n++)for(Cb[n]=i,t=0;t<1<<t2[n];t++)$v[i++]=n;for(i>>=7;n<L0;n++)for(Cb[n]=i<<7,t=0;t<1<<t2[n]-7;t++)$v[256+i++]=n;for(e=0;e<=$d;e++)a[e]=0;for(t=0;t<=143;)Lc[t*2+1]=8,t++,a[8]++;for(;t<=255;)Lc[t*2+1]=9,t++,a[9]++;for(;t<=279;)Lc[t*2+1]=7,t++,a[7]++;for(;t<=287;)Lc[t*2+1]=8,t++,a[8]++;for(vH(Lc,Zv+1,a),t=0;t<L0;t++)Vg[t*2+1]=5,Vg[t*2]=gH(t,5);hH=new QE(Lc,DS,q1+1,Zv,$d),fH=new QE(Vg,t2,0,L0,$d),pH=new QE(new Array(0),xde,0,Z3,vde)}function xH(t){var e;for(e=0;e<Zv;e++)t.dyn_ltree[e*2]=0;for(e=0;e<L0;e++)t.dyn_dtree[e*2]=0;for(e=0;e<Z3;e++)t.bl_tree[e*2]=0;t.dyn_ltree[$3*2]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function yH(t){t.bi_valid>8?t1(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 Bde(t,e,r,n){yH(t),t1(t,r),t1(t,~r),ude.arraySet(t.pending_buf,t.window,e,r,t.pending),t.pending+=r}function wP(t,e,r,n){var i=e*2,a=r*2;return t[i]<t[a]||t[i]===t[a]&&n[e]<=n[r]}function zE(t,e,r){for(var n=t.heap[r],i=r<<1;i<=t.heap_len&&(i<t.heap_len&&wP(e,t.heap[i+1],t.heap[i],t.depth)&&i++,!wP(e,n,t.heap[i],t.depth));)t.heap[r]=t.heap[i],r=i,i<<=1;t.heap[r]=n}function bP(t,e,r){var n,i,a=0,s,o;if(t.last_lit!==0)do n=t.pending_buf[t.d_buf+a*2]<<8|t.pending_buf[t.d_buf+a*2+1],i=t.pending_buf[t.l_buf+a],a++,n===0?$l(t,i,e):(s=e1[i],$l(t,s+q1+1,e),o=DS[s],o!==0&&(i-=eT[s],Cs(t,i,o)),n--,s=mH(n),$l(t,s,r),o=t2[s],o!==0&&(n-=Cb[s],Cs(t,n,o)));while(a<t.last_lit);$l(t,$3,e)}function OS(t,e){var r=e.dyn_tree,n=e.stat_desc.static_tree,i=e.stat_desc.has_stree,a=e.stat_desc.elems,s,o,c=-1,A;for(t.heap_len=0,t.heap_max=lH,s=0;s<a;s++)r[s*2]!==0?(t.heap[++t.heap_len]=c=s,t.depth[s]=0):r[s*2+1]=0;for(;t.heap_len<2;)A=t.heap[++t.heap_len]=c<2?++c:0,r[A*2]=1,t.depth[A]=0,t.opt_len--,i&&(t.static_len-=n[A*2+1]);for(e.max_code=c,s=t.heap_len>>1;s>=1;s--)zE(t,r,s);A=a;do s=t.heap[1],t.heap[1]=t.heap[t.heap_len--],zE(t,r,1),o=t.heap[1],t.heap[--t.heap_max]=s,t.heap[--t.heap_max]=o,r[A*2]=r[s*2]+r[o*2],t.depth[A]=(t.depth[s]>=t.depth[o]?t.depth[s]:t.depth[o])+1,r[s*2+1]=r[o*2+1]=A,t.heap[1]=A++,zE(t,r,1);while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],bde(t,e),vH(r,c,t.bl_count)}function CP(t,e,r){var n,i=-1,a,s=e[0*2+1],o=0,c=7,A=4;for(s===0&&(c=138,A=3),e[(r+1)*2+1]=65535,n=0;n<=r;n++)a=s,s=e[(n+1)*2+1],!(++o<c&&a===s)&&(o<A?t.bl_tree[a*2]+=o:a!==0?(a!==i&&t.bl_tree[a*2]++,t.bl_tree[cH*2]++):o<=10?t.bl_tree[AH*2]++:t.bl_tree[uH*2]++,o=0,i=a,s===0?(c=138,A=3):a===s?(c=6,A=3):(c=7,A=4))}function BP(t,e,r){var n,i=-1,a,s=e[0*2+1],o=0,c=7,A=4;for(s===0&&(c=138,A=3),n=0;n<=r;n++)if(a=s,s=e[(n+1)*2+1],!(++o<c&&a===s)){if(o<A)do $l(t,a,t.bl_tree);while(--o!==0);else a!==0?(a!==i&&($l(t,a,t.bl_tree),o--),$l(t,cH,t.bl_tree),Cs(t,o-3,2)):o<=10?($l(t,AH,t.bl_tree),Cs(t,o-3,3)):($l(t,uH,t.bl_tree),Cs(t,o-11,7));o=0,i=a,s===0?(c=138,A=3):a===s?(c=6,A=3):(c=7,A=4)}}function Ede(t){var e;for(CP(t,t.dyn_ltree,t.l_desc.max_code),CP(t,t.dyn_dtree,t.d_desc.max_code),OS(t,t.bl_desc),e=Z3-1;e>=3&&t.bl_tree[dH[e]*2+1]===0;e--);return t.opt_len+=3*(e+1)+5+5+4,e}function Nde(t,e,r,n){var i;for(Cs(t,e-257,5),Cs(t,r-1,5),Cs(t,n-4,4),i=0;i<n;i++)Cs(t,t.bl_tree[dH[i]*2+1],3);BP(t,t.dyn_ltree,e-1),BP(t,t.dyn_dtree,r-1)}function Sde(t){var e=4093624447,r;for(r=0;r<=31;r++,e>>>=1)if(e&1&&t.dyn_ltree[r*2]!==0)return xP;if(t.dyn_ltree[9*2]!==0||t.dyn_ltree[10*2]!==0||t.dyn_ltree[13*2]!==0)return yP;for(r=32;r<q1;r++)if(t.dyn_ltree[r*2]!==0)return yP;return xP}var EP=!1;function _de(t){EP||(Cde(),EP=!0),t.l_desc=new HE(t.dyn_ltree,hH),t.d_desc=new HE(t.dyn_dtree,fH),t.bl_desc=new HE(t.bl_tree,pH),t.bi_buf=0,t.bi_valid=0,xH(t)}function wH(t,e,r,n){Cs(t,(fde<<1)+(n?1:0),3),Bde(t,e,r)}function Fde(t){Cs(t,oH<<1,3),$l(t,$3,Lc),wde(t)}function Tde(t,e,r,n){var i,a,s=0;t.level>0?(t.strm.data_type===hde&&(t.strm.data_type=Sde(t)),OS(t,t.l_desc),OS(t,t.d_desc),s=Ede(t),i=t.opt_len+3+7>>>3,a=t.static_len+3+7>>>3,a<=i&&(i=a)):i=a=r+5,r+4<=i&&e!==-1?wH(t,e,r,n):t.strategy===dde||a===i?(Cs(t,(oH<<1)+(n?1:0),3),bP(t,Lc,Vg)):(Cs(t,(pde<<1)+(n?1:0),3),Nde(t,t.l_desc.max_code+1,t.d_desc.max_code+1,s+1),bP(t,t.dyn_ltree,t.dyn_dtree)),xH(t),n&&yH(t)}function jde(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[(e1[r]+q1+1)*2]++,t.dyn_dtree[mH(e)*2]++),t.last_lit===t.lit_bufsize-1}Op._tr_init=_de;Op._tr_stored_block=wH;Op._tr_flush_block=Tde;Op._tr_tally=jde;Op._tr_align=Fde;function Ide(t,e,r,n){for(var i=t&65535|0,a=t>>>16&65535|0,s=0;r!==0;){s=r>2e3?2e3:r,r-=s;do i=i+e[n++]|0,a=a+i|0;while(--s);i%=65521,a%=65521}return i|a<<16|0}var bH=Ide;function kde(){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 Pde=kde();function Dde(t,e,r,n){var i=Pde,a=n+r;t^=-1;for(var s=n;s<a;s++)t=t>>>8^i[(t^e[s])&255];return t^-1}var CH=Dde,tT={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"},es=vA,Mo=Op,BH=bH,qA=CH,Ode=tT,Hh=0,Rde=1,Ude=3,Lu=4,NP=5,ec=0,SP=1,Qo=-2,Lde=-3,VE=-5,Mde=-1,Qde=1,jy=2,Hde=3,zde=4,Vde=0,Wde=2,l5=8,Kde=9,qde=15,Gde=8,Jde=29,Xde=256,RS=Xde+1+Jde,Yde=30,Zde=19,$de=2*RS+1,ehe=15,Sr=3,fu=258,Sl=fu+Sr+1,the=32,c5=42,US=69,r2=73,n2=91,i2=103,eh=113,Ag=666,Ui=1,G1=2,Sh=3,Up=4,rhe=3;function pu(t,e){return t.msg=Ode[e],e}function _P(t){return(t<<1)-(t>4?9:0)}function Au(t){for(var e=t.length;--e>=0;)t[e]=0}function GA(t){var e=t.state,r=e.pending;r>t.avail_out&&(r=t.avail_out),r!==0&&(es.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 fa(t,e){Mo._tr_flush_block(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,GA(t.strm)}function Rr(t,e){t.pending_buf[t.pending++]=e}function Qm(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=e&255}function nhe(t,e,r,n){var i=t.avail_in;return i>n&&(i=n),i===0?0:(t.avail_in-=i,es.arraySet(e,t.input,t.next_in,i,r),t.state.wrap===1?t.adler=BH(t.adler,e,i,r):t.state.wrap===2&&(t.adler=qA(t.adler,e,i,r)),t.next_in+=i,t.total_in+=i,i)}function EH(t,e){var r=t.max_chain_length,n=t.strstart,i,a,s=t.prev_length,o=t.nice_match,c=t.strstart>t.w_size-Sl?t.strstart-(t.w_size-Sl):0,A=t.window,u=t.w_mask,d=t.prev,f=t.strstart+fu,h=A[n+s-1],m=A[n+s];t.prev_length>=t.good_match&&(r>>=2),o>t.lookahead&&(o=t.lookahead);do if(i=e,!(A[i+s]!==m||A[i+s-1]!==h||A[i]!==A[n]||A[++i]!==A[n+1])){n+=2,i++;do;while(A[++n]===A[++i]&&A[++n]===A[++i]&&A[++n]===A[++i]&&A[++n]===A[++i]&&A[++n]===A[++i]&&A[++n]===A[++i]&&A[++n]===A[++i]&&A[++n]===A[++i]&&n<f);if(a=fu-(f-n),n=f-fu,a>s){if(t.match_start=e,s=a,a>=o)break;h=A[n+s-1],m=A[n+s]}}while((e=d[e&u])>c&&--r!==0);return s<=t.lookahead?s:t.lookahead}function _h(t){var e=t.w_size,r,n,i,a,s;do{if(a=t.window_size-t.lookahead-t.strstart,t.strstart>=e+(e-Sl)){es.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);a+=e}if(t.strm.avail_in===0)break;if(n=nhe(t.strm,t.window,t.strstart+t.lookahead,a),t.lookahead+=n,t.lookahead+t.insert>=Sr)for(s=t.strstart-t.insert,t.ins_h=t.window[s],t.ins_h=(t.ins_h<<t.hash_shift^t.window[s+1])&t.hash_mask;t.insert&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[s+Sr-1])&t.hash_mask,t.prev[s&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=s,s++,t.insert--,!(t.lookahead+t.insert<Sr)););}while(t.lookahead<Sl&&t.strm.avail_in!==0)}function ihe(t,e){var r=65535;for(r>t.pending_buf_size-5&&(r=t.pending_buf_size-5);;){if(t.lookahead<=1){if(_h(t),t.lookahead===0&&e===Hh)return Ui;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,fa(t,!1),t.strm.avail_out===0)||t.strstart-t.block_start>=t.w_size-Sl&&(fa(t,!1),t.strm.avail_out===0))return Ui}return t.insert=0,e===Lu?(fa(t,!0),t.strm.avail_out===0?Sh:Up):(t.strstart>t.block_start&&(fa(t,!1),t.strm.avail_out===0),Ui)}function WE(t,e){for(var r,n;;){if(t.lookahead<Sl){if(_h(t),t.lookahead<Sl&&e===Hh)return Ui;if(t.lookahead===0)break}if(r=0,t.lookahead>=Sr&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+Sr-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-Sl&&(t.match_length=EH(t,r)),t.match_length>=Sr)if(n=Mo._tr_tally(t,t.strstart-t.match_start,t.match_length-Sr),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=Sr){t.match_length--;do t.strstart++,t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+Sr-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=Mo._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(fa(t,!1),t.strm.avail_out===0))return Ui}return t.insert=t.strstart<Sr-1?t.strstart:Sr-1,e===Lu?(fa(t,!0),t.strm.avail_out===0?Sh:Up):t.last_lit&&(fa(t,!1),t.strm.avail_out===0)?Ui:G1}function Pf(t,e){for(var r,n,i;;){if(t.lookahead<Sl){if(_h(t),t.lookahead<Sl&&e===Hh)return Ui;if(t.lookahead===0)break}if(r=0,t.lookahead>=Sr&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+Sr-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=Sr-1,r!==0&&t.prev_length<t.max_lazy_match&&t.strstart-r<=t.w_size-Sl&&(t.match_length=EH(t,r),t.match_length<=5&&(t.strategy===Qde||t.match_length===Sr&&t.strstart-t.match_start>4096)&&(t.match_length=Sr-1)),t.prev_length>=Sr&&t.match_length<=t.prev_length){i=t.strstart+t.lookahead-Sr,n=Mo._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-Sr),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+Sr-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=Sr-1,t.strstart++,n&&(fa(t,!1),t.strm.avail_out===0))return Ui}else if(t.match_available){if(n=Mo._tr_tally(t,0,t.window[t.strstart-1]),n&&fa(t,!1),t.strstart++,t.lookahead--,t.strm.avail_out===0)return Ui}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(n=Mo._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<Sr-1?t.strstart:Sr-1,e===Lu?(fa(t,!0),t.strm.avail_out===0?Sh:Up):t.last_lit&&(fa(t,!1),t.strm.avail_out===0)?Ui:G1}function ahe(t,e){for(var r,n,i,a,s=t.window;;){if(t.lookahead<=fu){if(_h(t),t.lookahead<=fu&&e===Hh)return Ui;if(t.lookahead===0)break}if(t.match_length=0,t.lookahead>=Sr&&t.strstart>0&&(i=t.strstart-1,n=s[i],n===s[++i]&&n===s[++i]&&n===s[++i])){a=t.strstart+fu;do;while(n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&i<a);t.match_length=fu-(a-i),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=Sr?(r=Mo._tr_tally(t,1,t.match_length-Sr),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(r=Mo._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),r&&(fa(t,!1),t.strm.avail_out===0))return Ui}return t.insert=0,e===Lu?(fa(t,!0),t.strm.avail_out===0?Sh:Up):t.last_lit&&(fa(t,!1),t.strm.avail_out===0)?Ui:G1}function she(t,e){for(var r;;){if(t.lookahead===0&&(_h(t),t.lookahead===0)){if(e===Hh)return Ui;break}if(t.match_length=0,r=Mo._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,r&&(fa(t,!1),t.strm.avail_out===0))return Ui}return t.insert=0,e===Lu?(fa(t,!0),t.strm.avail_out===0?Sh:Up):t.last_lit&&(fa(t,!1),t.strm.avail_out===0)?Ui:G1}function Ql(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 g0;g0=[new Ql(0,0,0,0,ihe),new Ql(4,4,8,4,WE),new Ql(4,5,16,8,WE),new Ql(4,6,32,32,WE),new Ql(4,4,16,16,Pf),new Ql(8,16,32,32,Pf),new Ql(8,16,128,128,Pf),new Ql(8,32,128,256,Pf),new Ql(32,128,258,1024,Pf),new Ql(32,258,258,4096,Pf)];function ohe(t){t.window_size=2*t.w_size,Au(t.head),t.max_lazy_match=g0[t.level].max_lazy,t.good_match=g0[t.level].good_length,t.nice_match=g0[t.level].nice_length,t.max_chain_length=g0[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=Sr-1,t.match_available=0,t.ins_h=0}function lhe(){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=l5,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 es.Buf16($de*2),this.dyn_dtree=new es.Buf16((2*Yde+1)*2),this.bl_tree=new es.Buf16((2*Zde+1)*2),Au(this.dyn_ltree),Au(this.dyn_dtree),Au(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new es.Buf16(ehe+1),this.heap=new es.Buf16(2*RS+1),Au(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new es.Buf16(2*RS+1),Au(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 NH(t){var e;return!t||!t.state?pu(t,Qo):(t.total_in=t.total_out=0,t.data_type=Wde,e=t.state,e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?c5:eh,t.adler=e.wrap===2?0:1,e.last_flush=Hh,Mo._tr_init(e),ec)}function SH(t){var e=NH(t);return e===ec&&ohe(t.state),e}function che(t,e){return!t||!t.state||t.state.wrap!==2?Qo:(t.state.gzhead=e,ec)}function _H(t,e,r,n,i,a){if(!t)return Qo;var s=1;if(e===Mde&&(e=6),n<0?(s=0,n=-n):n>15&&(s=2,n-=16),i<1||i>Kde||r!==l5||n<8||n>15||e<0||e>9||a<0||a>zde)return pu(t,Qo);n===8&&(n=9);var o=new lhe;return t.state=o,o.strm=t,o.wrap=s,o.gzhead=null,o.w_bits=n,o.w_size=1<<o.w_bits,o.w_mask=o.w_size-1,o.hash_bits=i+7,o.hash_size=1<<o.hash_bits,o.hash_mask=o.hash_size-1,o.hash_shift=~~((o.hash_bits+Sr-1)/Sr),o.window=new es.Buf8(o.w_size*2),o.head=new es.Buf16(o.hash_size),o.prev=new es.Buf16(o.w_size),o.lit_bufsize=1<<i+6,o.pending_buf_size=o.lit_bufsize*4,o.pending_buf=new es.Buf8(o.pending_buf_size),o.d_buf=1*o.lit_bufsize,o.l_buf=3*o.lit_bufsize,o.level=e,o.strategy=a,o.method=r,SH(t)}function Ahe(t,e){return _H(t,e,l5,qde,Gde,Vde)}function uhe(t,e){var r,n,i,a;if(!t||!t.state||e>NP||e<0)return t?pu(t,Qo):Qo;if(n=t.state,!t.output||!t.input&&t.avail_in!==0||n.status===Ag&&e!==Lu)return pu(t,t.avail_out===0?VE:Qo);if(n.strm=t,r=n.last_flush,n.last_flush=e,n.status===c5)if(n.wrap===2)t.adler=0,Rr(n,31),Rr(n,139),Rr(n,8),n.gzhead?(Rr(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)),Rr(n,n.gzhead.time&255),Rr(n,n.gzhead.time>>8&255),Rr(n,n.gzhead.time>>16&255),Rr(n,n.gzhead.time>>24&255),Rr(n,n.level===9?2:n.strategy>=jy||n.level<2?4:0),Rr(n,n.gzhead.os&255),n.gzhead.extra&&n.gzhead.extra.length&&(Rr(n,n.gzhead.extra.length&255),Rr(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(t.adler=qA(t.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=US):(Rr(n,0),Rr(n,0),Rr(n,0),Rr(n,0),Rr(n,0),Rr(n,n.level===9?2:n.strategy>=jy||n.level<2?4:0),Rr(n,rhe),n.status=eh);else{var s=l5+(n.w_bits-8<<4)<<8,o=-1;n.strategy>=jy||n.level<2?o=0:n.level<6?o=1:n.level===6?o=2:o=3,s|=o<<6,n.strstart!==0&&(s|=the),s+=31-s%31,n.status=eh,Qm(n,s),n.strstart!==0&&(Qm(n,t.adler>>>16),Qm(n,t.adler&65535)),t.adler=1}if(n.status===US)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=qA(t.adler,n.pending_buf,n.pending-i,i)),GA(t),i=n.pending,n.pending===n.pending_buf_size));)Rr(n,n.gzhead.extra[n.gzindex]&255),n.gzindex++;n.gzhead.hcrc&&n.pending>i&&(t.adler=qA(t.adler,n.pending_buf,n.pending-i,i)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=r2)}else n.status=r2;if(n.status===r2)if(n.gzhead.name){i=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>i&&(t.adler=qA(t.adler,n.pending_buf,n.pending-i,i)),GA(t),i=n.pending,n.pending===n.pending_buf_size)){a=1;break}n.gzindex<n.gzhead.name.length?a=n.gzhead.name.charCodeAt(n.gzindex++)&255:a=0,Rr(n,a)}while(a!==0);n.gzhead.hcrc&&n.pending>i&&(t.adler=qA(t.adler,n.pending_buf,n.pending-i,i)),a===0&&(n.gzindex=0,n.status=n2)}else n.status=n2;if(n.status===n2)if(n.gzhead.comment){i=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>i&&(t.adler=qA(t.adler,n.pending_buf,n.pending-i,i)),GA(t),i=n.pending,n.pending===n.pending_buf_size)){a=1;break}n.gzindex<n.gzhead.comment.length?a=n.gzhead.comment.charCodeAt(n.gzindex++)&255:a=0,Rr(n,a)}while(a!==0);n.gzhead.hcrc&&n.pending>i&&(t.adler=qA(t.adler,n.pending_buf,n.pending-i,i)),a===0&&(n.status=i2)}else n.status=i2;if(n.status===i2&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&GA(t),n.pending+2<=n.pending_buf_size&&(Rr(n,t.adler&255),Rr(n,t.adler>>8&255),t.adler=0,n.status=eh)):n.status=eh),n.pending!==0){if(GA(t),t.avail_out===0)return n.last_flush=-1,ec}else if(t.avail_in===0&&_P(e)<=_P(r)&&e!==Lu)return pu(t,VE);if(n.status===Ag&&t.avail_in!==0)return pu(t,VE);if(t.avail_in!==0||n.lookahead!==0||e!==Hh&&n.status!==Ag){var c=n.strategy===jy?she(n,e):n.strategy===Hde?ahe(n,e):g0[n.level].func(n,e);if((c===Sh||c===Up)&&(n.status=Ag),c===Ui||c===Sh)return t.avail_out===0&&(n.last_flush=-1),ec;if(c===G1&&(e===Rde?Mo._tr_align(n):e!==NP&&(Mo._tr_stored_block(n,0,0,!1),e===Ude&&(Au(n.head),n.lookahead===0&&(n.strstart=0,n.block_start=0,n.insert=0))),GA(t),t.avail_out===0))return n.last_flush=-1,ec}return e!==Lu?ec:n.wrap<=0?SP:(n.wrap===2?(Rr(n,t.adler&255),Rr(n,t.adler>>8&255),Rr(n,t.adler>>16&255),Rr(n,t.adler>>24&255),Rr(n,t.total_in&255),Rr(n,t.total_in>>8&255),Rr(n,t.total_in>>16&255),Rr(n,t.total_in>>24&255)):(Qm(n,t.adler>>>16),Qm(n,t.adler&65535)),GA(t),n.wrap>
vendor: 2,722 bytes, line 3534
35340&&(n.wrap=-n.wrap),n.pending!==0?ec:SP)}function dhe(t){var e;return!t||!t.state?Qo:(e=t.state.status,e!==c5&&e!==US&&e!==r2&&e!==n2&&e!==i2&&e!==eh&&e!==Ag?pu(t,Qo):(t.state=null,e===eh?pu(t,Lde):ec))}function hhe(t,e){var r=e.length,n,i,a,s,o,c,A,u;if(!t||!t.state||(n=t.state,s=n.wrap,s===2||s===1&&n.status!==c5||n.lookahead))return Qo;for(s===1&&(t.adler=BH(t.adler,e,r,0)),n.wrap=0,r>=n.w_size&&(s===0&&(Au(n.head),n.strstart=0,n.block_start=0,n.insert=0),u=new es.Buf8(n.w_size),es.arraySet(u,e,r-n.w_size,n.w_size,0),e=u,r=n.w_size),o=t.avail_in,c=t.next_in,A=t.input,t.avail_in=r,t.next_in=0,t.input=e,_h(n);n.lookahead>=Sr;){i=n.strstart,a=n.lookahead-(Sr-1);do n.ins_h=(n.ins_h<<n.hash_shift^n.window[i+Sr-1])&n.hash_mask,n.prev[i&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=i,i++;while(--a);n.strstart=i,n.lookahead=Sr-1,_h(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=Sr-1,n.match_available=0,t.next_in=c,t.input=A,t.avail_in=o,n.wrap=s,ec}gc.deflateInit=Ahe;gc.deflateInit2=_H;gc.deflateReset=SH;gc.deflateResetKeep=NH;gc.deflateSetHeader=che;gc.deflate=uhe;gc.deflateEnd=dhe;gc.deflateSetDictionary=hhe;gc.deflateInfo="pako deflate (from Nodeca project)";var zh={},A5=vA,FH=!0,TH=!0;try{String.fromCharCode.apply(null,[0])}catch{FH=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{TH=!1}var r1=new A5.Buf8(256);for(var MA=0;MA<256;MA++)r1[MA]=MA>=252?6:MA>=248?5:MA>=240?4:MA>=224?3:MA>=192?2:1;r1[254]=r1[254]=1;zh.string2buf=function(t){var e,r,n,i,a,s=t.length,o=0;for(i=0;i<s;i++)r=t.charCodeAt(i),(r&64512)===55296&&i+1<s&&(n=t.charCodeAt(i+1),(n&64512)===56320&&(r=65536+(r-55296<<10)+(n-56320),i++)),o+=r<128?1:r<2048?2:r<65536?3:4;for(e=new A5.Buf8(o),a=0,i=0;a<o;i++)r=t.charCodeAt(i),(r&64512)===55296&&i+1<s&&(n=t.charCodeAt(i+1),(n&64512)===56320&&(r=65536+(r-55296<<10)+(n-56320),i++)),r<128?e[a++]=r:r<2048?(e[a++]=192|r>>>6,e[a++]=128|r&63):r<65536?(e[a++]=224|r>>>12,e[a++]=128|r>>>6&63,e[a++]=128|r&63):(e[a++]=240|r>>>18,e[a++]=128|r>>>12&63,e[a++]=128|r>>>6&63,e[a++]=128|r&63);return e};function jH(t,e){if(e<65534&&(t.subarray&&TH||!t.subarray&&FH))return String.fromCharCode.apply(null,A5.shrinkBuf(t,e));for(var r="",n=0;n<e;n++)r+=String.fromCharCode(t[n]);return r}zh.buf2binstring=function(t){return jH(t,t.length)};zh.binstring2buf=function(t){for(var e=new A5.Buf8(t.length),r=0,n=e.length;r<n;r++)e[r]=t.charCodeAt(r);return e};zh.buf2string=function(t,e){var r,n,i,a,s=e||t.length,o=new Array(s*2);for(n=0,r=0;r<s;){if(i=t[r++],i<128){o[n++]=i;continue}if(a=r1[i],a>4){o[n++]=65533,r+=a-1;continue}for(i&=a===2?31:a===3?15:7;a>1&&r<s;)i=i<<6|t[r++]&63,a--;if(a>1){o[n++]=65533;continue}
vendor: 1,594 bytes, line 3534
3534i<65536?o[n++]=i:(i-=65536,o[n++]=55296|i>>10&1023,o[n++]=56320|i&1023)}return jH(o,n)};zh.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+r1[t[r]]>e?r:e};function fhe(){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 IH=fhe,Wg=gc,Kg=vA,LS=zh,MS=tT,phe=IH,kH=Object.prototype.toString,mhe=0,KE=4,M0=0,FP=1,TP=2,ghe=-1,vhe=0,xhe=8;function Fh(t){if(!(this instanceof Fh))return new Fh(t);this.options=Kg.assign({level:ghe,method:xhe,chunkSize:16384,windowBits:15,memLevel:8,strategy:vhe,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 phe,this.strm.avail_out=0;var r=Wg.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(r!==M0)throw new Error(MS[r]);if(e.header&&Wg.deflateSetHeader(this.strm,e.header),e.dictionary){var n;if(typeof e.dictionary=="string"?n=LS.string2buf(e.dictionary):kH.call(e.dictionary)==="[object ArrayBuffer]"?n=new Uint8Array(e.dictionary):n=e.dictionary,r=Wg.deflateSetDictionary(this.strm,n),r!==M0)throw new Error(MS[r]);this._dict_set=!0}}Fh.prototype.push=function(t,e){var r=this.strm,n=this.options.chunkSize,i,a;if(this.ended)return!1;a=e===~~e?e:e===!0?KE:mhe,typeof t=="string"?r.input=LS.string2buf(t):kH.call(t)==="[object ArrayBuffer]"?r.input
vendor: 13,483 bytes, line 3534
3534=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 Kg.Buf8(n),r.next_out=0,r.avail_out=n),i=Wg.deflate(r,a),i!==FP&&i!==M0)return this.onEnd(i),this.ended=!0,!1;(r.avail_out===0||r.avail_in===0&&(a===KE||a===TP))&&(this.options.to==="string"?this.onData(LS.buf2binstring(Kg.shrinkBuf(r.output,r.next_out))):this.onData(Kg.shrinkBuf(r.output,r.next_out)))}while((r.avail_in>0||r.avail_out===0)&&i!==FP);return a===KE?(i=Wg.deflateEnd(this.strm),this.onEnd(i),this.ended=!0,i===M0):(a===TP&&(this.onEnd(M0),r.avail_out=0),!0)};Fh.prototype.onData=function(t){this.chunks.push(t)};Fh.prototype.onEnd=function(t){t===M0&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Kg.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};function rT(t,e){var r=new Fh(e);if(r.push(t,!0),r.err)throw r.msg||MS[r.err];return r.result}function yhe(t,e){return e=e||{},e.raw=!0,rT(t,e)}function whe(t,e){return e=e||{},e.gzip=!0,rT(t,e)}K1.Deflate=Fh;K1.deflate=rT;K1.deflateRaw=yhe;K1.gzip=whe;var J1={},Il={},Iy=30,bhe=12,Che=function(e,r){var n,i,a,s,o,c,A,u,d,f,h,m,p,x,v,y,b,E,S,I,B,_,O,j,T;n=e.state,i=e.next_in,j=e.input,a=i+(e.avail_in-5),s=e.next_out,T=e.output,o=s-(r-e.avail_out),c=s+(e.avail_out-257),A=n.dmax,u=n.wsize,d=n.whave,f=n.wnext,h=n.window,m=n.hold,p=n.bits,x=n.lencode,v=n.distcode,y=(1<<n.lenbits)-1,b=(1<<n.distbits)-1;e:do{p<15&&(m+=j[i++]<<p,p+=8,m+=j[i++]<<p,p+=8),E=x[m&y];t:for(;;){if(S=E>>>24,m>>>=S,p-=S,S=E>>>16&255,S===0)T[s++]=E&65535;else if(S&16){I=E&65535,S&=15,S&&(p<S&&(m+=j[i++]<<p,p+=8),I+=m&(1<<S)-1,m>>>=S,p-=S),p<15&&(m+=j[i++]<<p,p+=8,m+=j[i++]<<p,p+=8),E=v[m&b];r:for(;;){if(S=E>>>24,m>>>=S,p-=S,S=E>>>16&255,S&16){if(B=E&65535,S&=15,p<S&&(m+=j[i++]<<p,p+=8,p<S&&(m+=j[i++]<<p,p+=8)),B+=m&(1<<S)-1,B>A){e.msg="invalid distance too far back",n.mode=Iy;break e}if(m>>>=S,p-=S,S=s-o,B>S){if(S=B-S,S>d&&n.sane){e.msg="invalid distance too far back",n.mode=Iy;break e}if(_=0,O=h,f===0){if(_+=u-S,S<I){I-=S;do T[s++]=h[_++];while(--S);_=s-B,O=T}}else if(f<S){if(_+=u+f-S,S-=f,S<I){I-=S;do T[s++]=h[_++];while(--S);if(_=0,f<I){S=f,I-=S;do T[s++]=h[_++];while(--S);_=s-B,O=T}}}else if(_+=f-S,S<I){I-=S;do T[s++]=h[_++];while(--S);_=s-B,O=T}for(;I>2;)T[s++]=O[_++],T[s++]=O[_++],T[s++]=O[_++],I-=3;I&&(T[s++]=O[_++],I>1&&(T[s++]=O[_++]))}else{_=s-B;do T[s++]=T[_++],T[s++]=T[_++],T[s++]=T[_++],I-=3;while(I>2);I&&(T[s++]=T[_++],I>1&&(T[s++]=T[_++]))}}else if(S&64){e.msg="invalid distance code",n.mode=Iy;break e}else{E=v[(E&65535)+(m&(1<<S)-1)];continue r}break}}else if(S&64)if(S&32){n.mode=bhe;break e}else{e.msg="invalid literal/length code",n.mode=Iy;break e}else{E=x[(E&65535)+(m&(1<<S)-1)];continue t}break}}while(i<a&&s<c);I=p>>3,i-=I,p-=I<<3,m&=(1<<p)-1,e.next_in=i,e.next_out=s,e.avail_in=i<a?5+(a-i):5-(i-a),e.avail_out=s<c?257+(c-s):257-(s-c),n.hold=m,n.bits=p},jP=vA,Df=15,IP=852,kP=592,PP=0,qE=1,DP=2,Bhe=[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],Ehe=[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],Nhe=[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],She=[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],_he=function(e,r,n,i,a,s,o,c){var A=c.bits,u=0,d=0,f=0,h=0,m=0,p=0,x=0,v=0,y=0,b=0,E,S,I,B,_,O=null,j=0,T,P=new jP.Buf16(Df+1),L=new jP.Buf16(Df+1),K=null,le=0,ne,fe,te;for(u=0;u<=Df;u++)P[u]=0;for(d=0;d<i;d++)P[r[n+d]]++;for(m=A,h=Df;h>=1&&P[h]===0;h--);if(m>h&&(m=h),h===0)return a[s++]=1<<24|64<<16|0,a[s++]=1<<24|64<<16|0,c.bits=1,0;for(f=1;f<h&&P[f]===0;f++);for(m<f&&(m=f),v=1,u=1;u<=Df;u++)if(v<<=1,v-=P[u],v<0)return-1;if(v>0&&(e===PP||h!==1))return-1;for(L[1]=0,u=1;u<Df;u++)L[u+1]=L[u]+P[u];for(d=0;d<i;d++)r[n+d]!==0&&(o[L[r[n+d]]++]=d);if(e===PP?(O=K=o,T=19):e===qE?(O=Bhe,j-=257,K=Ehe,le-=257,T=256):(O=Nhe,K=She,T=-1),b=0,d=0,u=f,_=s,p=m,x=0,I=-1,y=1<<m,B=y-1,e===qE&&y>IP||e===DP&&y>kP)return 1;for(;;){ne=u-x,o[d]<T?(fe=0,te=o[d]):o[d]>T?(fe=K[le+o[d]],te=O[j+o[d]]):(fe=96,te=0),E=1<<u-x,S=1<<p,f=S;do S-=E,a[_+(b>>x)+S]=ne<<24|fe<<16|te|0;while(S!==0);for(E=1<<u-1;b&E;)E>>=1;if(E!==0?(b&=E-1,b+=E):b=0,d++,--P[u]===0){if(u===h)break;u=r[n+o[d]]}if(u>m&&(b&B)!==I){for(x===0&&(x=m),_+=f,p=u-x,v=1<<p;p+x<h&&(v-=P[p+x],!(v<=0));)p++,v<<=1;if(y+=1<<p,e===qE&&y>IP||e===DP&&y>kP)return 1;I=b&B,a[I]=m<<24|p<<16|_-s|0}}return b!==0&&(a[_+b]=u-x<<24|64<<16|0),c.bits=m,0},Zs=vA,QS=bH,Hl=CH,Fhe=Che,qg=_he,The=0,PH=1,DH=2,OP=4,jhe=5,ky=6,Th=0,Ihe=1,khe=2,Vo=-2,OH=-3,RH=-4,Phe=-5,RP=8,UH=1,UP=2,LP=3,MP=4,QP=5,HP=6,zP=7,VP=8,WP=9,KP=10,Bb=11,jc=12,GE=13,qP=14,JE=15,GP=16,JP=17,XP=18,YP=19,Py=20,Dy=21,ZP=22,$P=23,eD=24,tD=25,rD=26,XE=27,nD=28,iD=29,kn=30,LH=31,Dhe=32,Ohe=852,Rhe=592,Uhe=15,Lhe=Uhe;function aD(t){return(t>>>24&255)+(t>>>8&65280)+((t&65280)<<8)+((t&255)<<24)}function Mhe(){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 Zs.Buf16(320),this.work=new Zs.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function MH(t){var e;return!t||!t.state?Vo:(e=t.state,t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=e.wrap&1),e.mode=UH,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new Zs.Buf32(Ohe),e.distcode=e.distdyn=new Zs.Buf32(Rhe),e.sane=1,e.back=-1,Th)}function QH(t){var e;return!t||!t.state?Vo:(e=t.state,e.wsize=0,e.whave=0,e.wnext=0,MH(t))}function HH(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))?Vo:(n.window!==null&&n.wbits!==e&&(n.window=null),n.wrap=r,n.wbits=e,QH(t))}function zH(t,e){var r,n;return t?(n=new Mhe,t.state=n,n.window=null,r=HH(t,e),r!==Th&&(t.state=null),r):Vo}function Qhe(t){return zH(t,Lhe)}var sD=!0,YE,ZE;function Hhe(t){if(sD){var e;for(YE=new Zs.Buf32(512),ZE=new Zs.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(qg(PH,t.lens,0,288,YE,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;qg(DH,t.lens,0,32,ZE,0,t.work,{bits:5}),sD=!1}t.lencode=YE,t.lenbits=9,t.distcode=ZE,t.distbits=5}function VH(t,e,r,n){var i,a=t.state;return a.window===null&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new Zs.Buf8(a.wsize)),n>=a.wsize?(Zs.arraySet(a.window,e,r-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):(i=a.wsize-a.wnext,i>n&&(i=n),Zs.arraySet(a.window,e,r-n,i,a.wnext),n-=i,n?(Zs.arraySet(a.window,e,r-n,n,0),a.wnext=n,a.whave=a.wsize):(a.wnext+=i,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=i))),0}function zhe(t,e){var r,n,i,a,s,o,c,A,u,d,f,h,m,p,x=0,v,y,b,E,S,I,B,_,O=new Zs.Buf8(4),j,T,P=[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 Vo;r=t.state,r.mode===jc&&(r.mode=GE),s=t.next_out,i=t.output,c=t.avail_out,a=t.next_in,n=t.input,o=t.avail_in,A=r.hold,u=r.bits,d=o,f=c,_=Th;e:for(;;)switch(r.mode){case UH:if(r.wrap===0){r.mode=GE;break}for(;u<16;){if(o===0)break e;o--,A+=n[a++]<<u,u+=8}if(r.wrap&2&&A===35615){r.check=0,O[0]=A&255,O[1]=A>>>8&255,r.check=Hl(r.check,O,2,0),A=0,u=0,r.mode=UP;break}if(r.flags=0,r.head&&(r.head.done=!1),!(r.wrap&1)||(((A&255)<<8)+(A>>8))%31){t.msg="incorrect header check",r.mode=kn;break}if((A&15)!==RP){t.msg="unknown compression method",r.mode=kn;break}if(A>>>=4,u-=4,B=(A&15)+8,r.wbits===0)r.wbits=B;else if(B>r.wbits){t.msg="invalid window size",r.mode=kn;break}r.dmax=1<<B,t.adler=r.check=1,r.mode=A&512?KP:jc,A=0,u=0;break;case UP:for(;u<16;){if(o===0)break e;o--,A+=n[a++]<<u,u+=8}if(r.flags=A,(r.flags&255)!==RP){t.msg="unknown compression method",r.mode=kn;break}if(r.flags&57344){t.msg="unknown header flags set",r.mode=kn;break}r.head&&(r.head.text=A>>8&1),r.flags&512&&(O[0]=A&255,O[1]=A>>>8&255,r.check=Hl(r.check,O,2,0)),A=0,u=0,r.mode=LP;case LP:for(;u<32;){if(o===0)break e;o--,A+=n[a++]<<u,u+=8}r.head&&(r.head.time=A),r.flags&512&&(O[0]=A&255,O[1]=A>>>8&255,O[2]=A>>>16&255,O[3]=A>>>24&255,r.check=Hl(r.check,O,4,0)),A=0,u=0,r.mode=MP;case MP:for(;u<16;){if(o===0)break e;o--,A+=n[a++]<<u,u+=8}r.head&&(r.head.xflags=A&255,r.head.os=A>>8),r.flags&512&&(O[0]=A&255,O[1]=A>>>8&255,r.check=Hl(r.check,O,2,0)),A=0,u=0,r.mode=QP;case QP:if(r.flags&1024){for(;u<16;){if(o===0)break e;o--,A+=n[a++]<<u,u+=8}r.length=A,r.head&&(r.head.extra_len=A),r.flags&512&&(O[0]=A&255,O[1]=A>>>8&255,r.check=Hl(r.check,O,2,0)),A=0,u=0}else r.head&&(r.head.extra=null);r.mode=HP;case HP:if(r.flags&1024&&(h=r.length,h>o&&(h=o),h&&(r.head&&(B=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),Zs.arraySet(r.head.extra,n,a,h,B)),r.flags&512&&(r.check=Hl(r.check,n,h,a)),o-=h,a+=h,r.length-=h),r.length))break e;r.length=0,r.mode=zP;case zP:if(r.flags&2048){if(o===0)break e;h=0;do B=n[a+h++],r.head&&B&&r.length<65536&&(r.head.name+=String.fromCharCode(B));while(B&&h<o);if(r.flags&512&&(r.check=Hl(r.check,n,h,a)),o-=h,a+=h,B)break e}else r.head&&(r.head.name=null);r.length=0,r.mode=VP;case VP:if(r.flags&4096){if(o===0)break e;h=0;do B=n[a+h++],r.head&&B&&r.length<65536&&(r.head.comment+=String.fromCharCode(B));while(B&&h<o);if(r.flags&512&&(r.check=Hl(r.check,n,h,a)),o-=h,a+=h,B)break e}else r.head&&(r.head.comment=null);r.mode=WP;case WP:if(r.flags&512){for(;u<16;){if(o===0)break e;o--,A+=n[a++]<<u,u+=8}if(A!==(r.check&65535)){t.msg="header crc mismatch",r.mode=kn;break}A=0,u=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),t.adler=r.check=0,r.mode=jc;break;case KP:for(;u<32;){if(o===0)break e;o--,A+=n[a++]<<u,u+=8}t.adler=r.check=aD(A),A=0,u=0,r.mode=Bb;case Bb:if(r.havedict===0)return t.next_out=s,t.avail_out=c,t.next_in=a,t.avail_in=o,r.hold=A,r.bits=u,khe;t.adler=r.check=1,r.mode=jc;case jc:if(e===jhe||e===ky)break e;case GE:if(r.last){A>>>=u&7,u-=u&7,r.mode=XE;break}for(;u<3;){if(o===0)break e;o--,A+=n[a++]<<u,u+=8}switch(r.last=A&1,A>>>=1,u-=1,A&3){case 0:r.mode=qP;break;case 1:if(Hhe(r),r.mode=Py,e===ky){A>>>=2,u-=2;break e}break;case 2:r.mode=JP;break;case 3:t.msg="invalid block type",r.mode=kn}A>>>=2,u-=2;break;case qP:for(A>>>=u&7,u-=u&7;u<32;){if(o===0)break e;o--,A+=n[a++]<<u,u+=8}if((A&65535)!==(A>>>16^65535)){t.msg="invalid stored block lengths",r.mode=kn;break}if(r.length=A&65535,A=0,u=0,r.mode=JE,e===ky)break e;case JE:r.mode=GP;case GP:if(h=r.length,h){if(h>o&&(h=o),h>c&&(h=c),h===0)break e;Zs.arraySet(i,n,a,h,s),o-=h,a+=h,c-=h,s+=h,r.length-=h;break}r.mode=jc;break;case JP:for(;u<14;){if(o===0)break e;o--,A+=n[a++]<<u,u+=8}if(r.nlen=(A&31)+257,A>>>=5,u-=5,r.ndist=(A&31)+1,A>>>=5,u-=5,r.ncode=(A&15)+4,A>>>=4,u-=4,r.nlen>286||r.ndist>30){t.msg="too many length or distance symbols",r.mode=kn;break}r.have=0,r.mode=XP;case XP:for(;r.have<r.ncode;){for(;u<3;){if(o===0)break e;o--,A+=n[a++]<<u,u+=8}r.lens[P[r.have++]]=A&7,A>>>=3,u-=3}for(;r.have<19;)r.lens[P[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,j={bits:r.lenbits},_=qg(The,r.lens,0,19,r.lencode,0,r.work,j),r.lenbits=j.bits,_){t.msg="invalid code lengths set",r.mode=kn;break}r.have=0,r.mode=YP;case YP:for(;r.have<r.nlen+r.ndist;){for(;x=r.lencode[A&(1<<r.lenbits)-1],v=x>>>24,y=x>>>16&255,b=x&65535,!(v<=u);){if(o===0)break e;o--,A+=n[a++]<<u,u+=8}if(b<16)A>>>=v,u-=v,r.lens[r.have++]=b;else{if(b===16){for(T=v+2;u<T;){if(o===0)break e;o--,A+=n[a++]<<u,u+=8}if(A>>>=v,u-=v,r.have===0){t.msg="invalid bit length repeat",r.mode=kn;break}B=r.lens[r.have-1],h=3+(A&3),A>>>=2,u-=2}else if(b===17){for(T=v+3;u<T;){if(o===0)break e;o--,A+=n[a++]<<u,u+=8}A>>>=v,u-=v,B=0,h=3+(A&7),A>>>=3,u-=3}else{for(T=v+7;u<T;){if(o===0)break e;o--,A+=n[a++]<<u,u+=8}A>>>=v,u-=v,B=0,h=11+(A&127),A>>>=7,u-=7}if(r.have+h>r.nlen+r.ndist){t.msg="invalid bit length repeat",r.mode=kn;break}for(;h--;)r.lens[r.have++]=B}}if(r.mode===kn)break;if(r.lens[256]===0){t.msg="invalid code -- missing end-of-block",r.mode=kn;break}if(r.lenbits=9,j={bits:r.lenbits},_=qg(PH,r.lens,0,r.nlen,r.lencode,0,r.work,j),r.lenbits=j.bits,_){t.msg="invalid literal/lengths set",r.mode=kn;break}if(r.distbits=6,r.distcode=r.distdyn,j={bits:r.distbits},_=qg(DH,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,j),r.distbits=j.bits,_){t.msg="invalid distances set",r.mode=kn;break}if(r.mode=Py,e===ky)break e;case Py:r.mode=Dy;case Dy:if(o>=6&&c>=258){t.next_out=s,t.avail_out=c,t.next_in=a,t.avail_in=o,r.hold=A,r.bits=u,Fhe(t,f),s=t.next_out,i=t.output,c=t.avail_out,a=t.next_in,n=t.input,o=t.avail_in,A=r.hold,u=r.bits,r.mode===jc&&(r.back=-1);break}for(r.back=0;x=r.lencode[A&(1<<r.lenbits)-1],v=x>>>24,y=x>>>16&255,b=x&65535,!(v<=u);){if(o===0)break e;o--,A+=n[a++]<<u,u+=8}if(y&&!(y&240)){for(E=v,S=y,I=b;x=r.lencode[I+((A&(1<<E+S)-1)>>E)],v=x>>>24,y=x>>>16&255,b=x&65535,!(E+v<=u);){if(o===0)break e;o--,A+=n[a++]<<u,u+=8}A>>>=E,u-=E,r.back+=E}if(A>>>=v,u-=v,r.back+=v,r.length=b,y===0){r.mode=rD;break}if(y&32){r.back=-1,r.mode=jc;break}if(y&64){t.msg="invalid literal/length code",r.mode=kn;break}r.extra=y&15,r.mode=ZP;case ZP:if(r.extra){for(T=r.extra;u<T;){if(o===0)break e;o--,A+=n[a++]<<u,u+=8}r.length+=A&(1<<r.extra)-1,A>>>=r.extra,u-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=$P;case $P:for(;
vendor: 4,404 bytes, line 3534
3534x=r.distcode[A&(1<<r.distbits)-1],v=x>>>24,y=x>>>16&255,b=x&65535,!(v<=u);){if(o===0)break e;o--,A+=n[a++]<<u,u+=8}if(!(y&240)){for(E=v,S=y,I=b;x=r.distcode[I+((A&(1<<E+S)-1)>>E)],v=x>>>24,y=x>>>16&255,b=x&65535,!(E+v<=u);){if(o===0)break e;o--,A+=n[a++]<<u,u+=8}A>>>=E,u-=E,r.back+=E}if(A>>>=v,u-=v,r.back+=v,y&64){t.msg="invalid distance code",r.mode=kn;break}r.offset=b,r.extra=y&15,r.mode=eD;case eD:if(r.extra){for(T=r.extra;u<T;){if(o===0)break e;o--,A+=n[a++]<<u,u+=8}r.offset+=A&(1<<r.extra)-1,A>>>=r.extra,u-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){t.msg="invalid distance too far back",r.mode=kn;break}r.mode=tD;case tD:if(c===0)break e;if(h=f-c,r.offset>h){if(h=r.offset-h,h>r.whave&&r.sane){t.msg="invalid distance too far back",r.mode=kn;break}h>r.wnext?(h-=r.wnext,m=r.wsize-h):m=r.wnext-h,h>r.length&&(h=r.length),p=r.window}else p=i,m=s-r.offset,h=r.length;h>c&&(h=c),c-=h,r.length-=h;do i[s++]=p[m++];while(--h);r.length===0&&(r.mode=Dy);break;case rD:if(c===0)break e;i[s++]=r.length,c--,r.mode=Dy;break;case XE:if(r.wrap){for(;u<32;){if(o===0)break e;o--,A|=n[a++]<<u,u+=8}if(f-=c,t.total_out+=f,r.total+=f,f&&(t.adler=r.check=r.flags?Hl(r.check,i,f,s-f):QS(r.check,i,f,s-f)),f=c,(r.flags?A:aD(A))!==r.check){t.msg="incorrect data check",r.mode=kn;break}A=0,u=0}r.mode=nD;case nD:if(r.wrap&&r.flags){for(;u<32;){if(o===0)break e;o--,A+=n[a++]<<u,u+=8}if(A!==(r.total&4294967295)){t.msg="incorrect length check",r.mode=kn;break}A=0,u=0}r.mode=iD;case iD:_=Ihe;break e;case kn:_=OH;break e;case LH:return RH;case Dhe:default:return Vo}return t.next_out=s,t.avail_out=c,t.next_in=a,t.avail_in=o,r.hold=A,r.bits=u,(r.wsize||f!==t.avail_out&&r.mode<kn&&(r.mode<XE||e!==OP))&&VH(t,t.output,t.next_out,f-t.avail_out),d-=t.avail_in,f-=t.avail_out,t.total_in+=d,t.total_out+=f,r.total+=f,r.wrap&&f&&(t.adler=r.check=r.flags?Hl(r.check,i,f,t.next_out-f):QS(r.check,i,f,t.next_out-f)),t.data_type=r.bits+(r.last?64:0)+(r.mode===jc?128:0)+(r.mode===Py||r.mode===JE?256:0),(d===0&&f===0||e===OP)&&_===Th&&(_=Phe),_}function Vhe(t){if(!t||!t.state)return Vo;var e=t.state;return e.window&&(e.window=null),t.state=null,Th}function Whe(t,e){var r;return!t||!t.state||(r=t.state,!(r.wrap&2))?Vo:(r.head=e,e.done=!1,Th)}function Khe(t,e){var r=e.length,n,i,a;return!t||!t.state||(n=t.state,n.wrap!==0&&n.mode!==Bb)?Vo:n.mode===Bb&&(i=1,i=QS(i,e,r,0),i!==n.check)?OH:(a=VH(t,e,r,r),a?(n.mode=LH,RH):(n.havedict=1,Th))}Il.inflateReset=QH;Il.inflateReset2=HH;Il.inflateResetKeep=MH;Il.inflateInit=Qhe;Il.inflateInit2=zH;Il.inflate=zhe;Il.inflateEnd=Vhe;Il.inflateGetHeader=Whe;Il.inflateSetDictionary=Khe;Il.inflateInfo="pako inflate (from Nodeca project)";var WH={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_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};function qhe(){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 Ghe=qhe,Q0=Il,Gg=vA,a2=zh,si=WH,HS=tT,Jhe=IH,Xhe=Ghe,KH=Object.prototype.toString;function jh(t){if(!(this instanceof jh))return new jh(t);this.options=Gg.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 Jhe,this.strm.avail_out=0;var r=Q0.inflateInit2(this.strm,e.windowBits);if(r!==si.Z_OK)throw new Error(HS[r]);if(this.header=new Xhe,Q0.inflateGetHeader(this.strm,this.header),e.dictionary&&(typeof e.dictionary=="string"?e.dictionary=a2.string2buf(e.dictionary):KH.call(e.dictionary)==="[object ArrayBuffer]"&&(e.dictionary=new Uint8Array(e.dictionary)),e.raw&&(r=Q0.inflateSetDictionary(this.strm,e.dictionary),r!==si.Z_OK)))throw new Error(HS[r])}jh.prototype.push=function(t,e){var r=this.strm,n=this.options.chunkSize,i=this.options.dictionary,a,s,o,c,A,u=!1;if(this.ended)return!1;s=e===~~e?e:e===!0?si.Z_FINISH:si.Z_NO_FLUSH,typeof t=="string"?r.input
vendor: 4,812 bytes, line 3534
3534=a2.binstring2buf(t):KH.call(t)==="[object ArrayBuffer]"?r.input=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 Gg.Buf8(n),r.next_out=0,r.avail_out=n),a=Q0.inflate(r,si.Z_NO_FLUSH),a===si.Z_NEED_DICT&&i&&(a=Q0.inflateSetDictionary(this.strm,i)),a===si.Z_BUF_ERROR&&u===!0&&(a=si.Z_OK,u=!1),a!==si.Z_STREAM_END&&a!==si.Z_OK)return this.onEnd(a),this.ended=!0,!1;r.next_out&&(r.avail_out===0||a===si.Z_STREAM_END||r.avail_in===0&&(s===si.Z_FINISH||s===si.Z_SYNC_FLUSH))&&(this.options.to==="string"?(o=a2.utf8border(r.output,r.next_out),c=r.next_out-o,A=a2.buf2string(r.output,o),r.next_out=c,r.avail_out=n-c,c&&Gg.arraySet(r.output,r.output,o,c,0),this.onData(A)):this.onData(Gg.shrinkBuf(r.output,r.next_out))),r.avail_in===0&&r.avail_out===0&&(u=!0)}while((r.avail_in>0||r.avail_out===0)&&a!==si.Z_STREAM_END);return a===si.Z_STREAM_END&&(s=si.Z_FINISH),s===si.Z_FINISH?(a=Q0.inflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===si.Z_OK):(s===si.Z_SYNC_FLUSH&&(this.onEnd(si.Z_OK),r.avail_out=0),!0)};jh.prototype.onData=function(t){this.chunks.push(t)};jh.prototype.onEnd=function(t){t===si.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Gg.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};function nT(t,e){var r=new jh(e);if(r.push(t,!0),r.err)throw r.msg||HS[r.err];return r.result}function Yhe(t,e){return e=e||{},e.raw=!0,nT(t,e)}J1.Inflate=jh;J1.inflate=nT;J1.inflateRaw=Yhe;J1.ungzip=nT;var Zhe=vA.assign,$he=K1,efe=J1,tfe=WH,qH={};Zhe(qH,$he,efe,tfe);var rfe=qH;const u5=y1(rfe);var oD="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ug=new Uint8Array(256);for(var Oy=0;Oy<oD.length;Oy++)ug[oD.charCodeAt(Oy)]=Oy;var nfe=function(t){var e=t.length*.75,r=t.length,n,i=0,a,s,o,c;t[t.length-1]==="="&&(e--,t[t.length-2]==="="&&e--);var A=new Uint8Array(e);for(n=0;n<r;n+=4)a=ug[t.charCodeAt(n)],s=ug[t.charCodeAt(n+1)],o=ug[t.charCodeAt(n+2)],c=ug[t.charCodeAt(n+3)],A[i++]=a<<2|s>>4,A[i++]=(s&15)<<4|o>>2,A[i++]=(o&3)<<6|c&63;return A},ife=function(t){for(var e="",r=0;r<t.length;r++)e+=String.fromCharCode(t[r]);return e},GH=function(t){return ife(u5.inflate(nfe(t)))},afe=function(t,e,r){for(var n="",i=0,a=e-t.length;i<a;i++)n+=r;return n+t};const sfe="eJyFWdtyGjkQ/RVqnnar8Bb4lpg3jEn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o4Iz1LoP0qsxDGFzk0JE42ji0jCPejomJKCuwil4m5CiRMEUMVSzVLDUstSx1Juc0oVWMpqY295qVltmtWmWW2a1aZZbZrVplltmtWmWW2G1WZYbYbVZlhthtVmWG2G1WZYbYbVZlhtltVmWW2W1WZZbZbVZlltltVmWW2W1QYjQCh7E2aAQHeGhCFgPoNoy8KNb2wxBhmGKBxoUZXlLGsLI6AsftEDHV0wIURVbANLcTKlGGBIKPOAxCmhePCKUwFzAmpDFRQvjA9R06Hq8TONvshgKDCuRAZTXigUxjxNFfKRo3CLhnIJBMFRvMZpqpNBMlQJzGT5WFQMVQI/AikPMIhEU1aDjqJvQwmjSHB05cC9jbYwc5UtAHNLhDw41ha+lEqF4JaH3gmB61SYcqInxTDmQK8v08vjqv4zDf1N0w3Lf4A8/vwPpfK11w==";var yfe={Courier:cfe,"Courier-Bold":sfe,"Courier-Oblique":lfe,"Courier-BoldOblique":ofe,Helvetica:hfe,"Helvetica-Bold":Afe,"Helvetica-Oblique":dfe,"Helvetica-BoldOblique":ufe,"Times-Roman":gfe,"Times-Bold":ffe,"Times-Italic":mfe,"Times-BoldItalic":pfe,Symbol:vfe,ZapfDingbats:xfe},n1;(function(t){t.Courier="Courier",t.CourierBold="Courier-Bold",t.CourierOblique="Courier-Oblique",t.CourierBoldOblique="Courier-BoldOblique",t.Helvetica="Helvetica",t.Helvetica
vendor: 820 bytes, line 3534
3534Bold="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"})(n1||(n1={}));var lD={},wfe=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=lD[e];if(r)return r;var n=GH(yfe[e]),i=Object.assign(new t,JSON.parse(n));return i.CharWidths=i.CharMetrics.reduce(function(a,s){return a[s.N]=s.WX,a},{}),i.KernPairXAmounts=i.KernPairs.reduce(function(a,s){var o=s[0],c=s[1],A=s[2];return a[o]||(a[o]={}),a[o][c]=A,a},{}),lD[e]=i,i},t}();const bfe=
vendor: 6,083 bytes, line 3534
3534"eJztWsuy48iN/Ret74KZfHtX47meqfGjPHaXx4/wgpJ4JbooUU1JVXXb0f9u4JwESF13R7TD29koIpFi8gCJBHDA/Pvm+nraTuPmZ3/f5HHzs7/k8WlzvXS7fvPXp02eqyR/2vRfd2N3gqhUUfm0Od9P236+DoczxLWK66fNpZ93/fkGWaOy5mnTnUR67c57lRaZSItM/tnN/XnsX/DfIqg0JOk8HI4UK4BCAFzG+xWCQgXF02Y3nU4dJJVKKrx5mPgKBVMImOvYXY+QKJRCoHzXzxMErQrap810hqaloioF1e0L5kvFUwqe23Hu+Q+1TinWeZnuMwSKrRRsL8Nn/kOxlYLtOnzFWE1Viqmu/eceVioVaylYe1OwVKilQD0PCYgiLRtVcJz4kEItW13mNLi0UsCVAB77KyxTKeJKEPff3rsREkVcCeLD3He3HqArBV0J6G/v/fU2cK1WH23l0e3c7T71N9uUVv/c5i73bWlVs1Y0u5/3srO7aQb2EPUB+eUTva0TYgG5mGbbzZSUkJTpn75ygF4PThhq1SMGMds4HYZdN54n/rdWc8rv02bfH9I2hbqGsKbPnIYzHSc0qmTIxI6nuwpiAIQmU8F4Gy7jK8RwntAI1v3wedj39FmFECp508s4zUOyGmwpKrwbL8eOIlVU//Yf/S1J9C212Pa/uuSwbVDYlWzxf/aj/UtfWgm258t1GG1X1BVawfdnX0xdoRbjPCdBVGs1svo3R/tPVD1r2YL3k0kUfC04f9ldLkmk0NVwv+pO232SKXa126/vHAO5wPxNGivsRsZ/HDhWzLVg/iBuOSfMUTGrTX+b/qSIG0H8u+NEl1J4jcD7/XBI9kDcUYN/0/FNCDuNAP64skYOeLrykU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83+jZNmt/+ybY2TZ1lRctmcUldonEDLxLEbGV5aZ9AwRnqAJmydSFu6c2dunU6/8yDIL5Og0+8W67VOp98xsL6kr1H8FglO/W45Uq1z6ncPXto6rX432zlpnVW/e6bAGfXPV0aOmXPqZwcbM+fUzw42Zs6pnx/BxsyJ9fMaV8ycW79fre3c+v1qbefW79+u7QT7/ePazrGf+UE7Zk6wf+Mmi8EJ9ocFQnCC/WGBEJxgf3gDgddNNIp/WC3Mb12i24cHXIEfkcs3FzGDM/UPnnJjcKb+cQXOmfrHFThn6h/fgItO1z8+4IjO2P+0LBOdsX9znHgBKUYn7Id+Pkklvh3TCgtpX9DFhbSvll1I+1t0C3NfTBcX5v4IeSHv5sYxX7g7H86dt+/Wbpw7c+8XsLkz934Bmztz79+AzZ2+9w+4cmfww2ptZ/DDam1n8MPbtZ3GDw9rs9ui3KZPblw4tz8vJiuc208LhMK5/bRAKJzbT28gFE7wp9XCTvCnR1zO8ZeLw7Fwjj8tTlw4x78v0Ern+PcFWukc//4GWulE//6AonSu/7paxrn+zZ2YnRclRK/rBXJsCAjxh2cKEAWVJ02ku/wOoFv2+12XkmnODwHgW4uQGVbZ0uM7mAJ1b/68/JlpUMnWdy5MF6/Vd5eL19YYSPd6FqPwBkNQo/h2NQxdQQ3bn/dpCxrGrqCW7U8rKZl/mfi0Xytk3Am66ZhYbg4y+KAVslDwbXdNL2d5qU5hnYBlTZaa6hs2t1qWdaeeTptcLco+hl5R7w4H5uOGcQbtEkpT18GusOI2xT9dYcVJf7zCSjmbD+Iud2s1NPRb9E+0UICmizb8ZK/+5JOLOulSqwaw5VJr2vB8dSFn89fvv/8H0oq1dA==";
vendor: 2,393 bytes, line 3534
3534var Cfe=GH(bfe),$E=JSON.parse(Cfe),e4=function(){function t(e,r){var n=this;this.canEncodeUnicodeCodePoint=function(i){return i in n.unicodeMappings},this.encodeUnicodeCodePoint=function(i){var a=n.unicodeMappings[i];if(!a){var s=String.fromCharCode(i),o="0x"+afe(i.toString(16),4,"0"),c=n.name+' cannot encode "'+s+'" ('+o+")";throw new Error(c)}return{code:a[0],name:a[1]}},this.name=e,this.supportedCodePoints=Object.keys(r).map(Number).sort(function(i,a){return i-a}),this.unicodeMappings=r}return t}(),Ry={Symbol:new e4("Symbol",$E.symbol),ZapfDingbats:new e4("ZapfDingbats",$E.zapfdingbats),WinAnsi:new e4("WinAnsi",$E.win1252)},d5=function(t){return Object.keys(t).map(function(e){return t[e]})},Bfe=d5(n1),cD=function(t){return Bfe.includes(t)},Uy=function(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height},ji=function(t){return"`"+t+"`"},Efe=function(t){return"'"+t+"'"},AD=function(t){var e=typeof t;return e==="string"?Efe(t):e==="undefined"?ji(t):t},Nfe=function(t,e,r){for(var n=new Array(r.length),i=0,a=r.length;i<a;i++){var s=r[i];n[i]=AD(s)}var o=n.join(" or ");return ji(e)+" must be one of "+o+", but was actually "+AD(t)},mu=function(t,e,r){Array.isArray(r)||(r=d5(r));for(var n=0,i=r.length;n<i;n++)if(t===r[n])return;throw new TypeError(Nfe(t,e,r))},wo=function(t,e,r){Array.isArray(r)||(r=d5(r)),mu(t,e,r.concat(void 0))},Sfe=function(t,e,r){Array.isArray(r)||(r=d5(r));for(var n=0,i=t.length;n<i;n++)mu(t[n],e,r)},_fe=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)},Ffe=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]},Tfe=function(t,e,r){for(var n=new Array(r.length),i=0,a=r.length;i<a;i++){var s=r[i];s==="null"&&(n[i]=ji("null")),s==="undefined"&&(n[i]=ji("undefined")),s==="str
3534ing"?n[i]=ji("string"):s==="number"?n[i]=ji("number"):s==="boolean"?n[i]=ji("boolean"):s==="symbol"?n[i]=ji("symbol"):s==="bigint"?n[i]=ji("bigint"):s===Array?n[i]=ji("Array"):s===Uint8Array?n[i]=ji("Uint8Array"):s===ArrayBuffer?n[i]=ji("ArrayBuffer"):n[i]=ji(s[1])}var o=n.join(" or ");return ji(e)+" must be of type "+o+", but was actually of type "+ji(_fe(t))},je=function(t,e,r){for(var n=0,i=r.length;n<i;n++)if(Ffe(t,r[n]))return;throw new TypeError(Tfe(t,e,r))},ct=function(t,e,r){je(t,e,r.concat("undefined"))},JH=function(t,e,r){for(var n=0,i=t.length;n<i;n++)je(t[n],e,r)},$s=function(t,e,r,n){if(je(t,e,["number"]),je(r,"min",["number"]),je(n,"max",["number"]),n=Math.max(r,n),t<r||t>n)throw new Error(ji(e)+" must be at least "+r+" and at most "+n+", but was actually "+t)},ol=function(t,e,r,n){je(t,e,["number","undefined"]),typeof t=="number"&&$s(t,e,r,n)},XH=function(t,e,r){if(je(t,e,["number"]),t%r!==0)throw new Error(ji(e)+" must be a multiple of "+r+", but was actually "+t)},jfe=function(t,e){if(!Number.isInteger(t))throw new Error(ji(e)+" must be an integer, but was actually "+t)},h5=function(t,e){if(![1,0].includes(Math.sign(t)))throw new Error(ji(e)+" must be a positive number or 0, but was actually "+t)},rr=new Uint16Array(256);for(var Ly=0;Ly<256;Ly++)rr[Ly]=Ly;rr[22]=$t("�");rr[24]=$t("Ë");rr[25]=$t("Ë");rr[26]=$t("Ë");rr[27]=$t("Ë");rr[28]=$t("Ë");rr[29]=$t("Ë");rr[30]=$t("Ë");rr[31]=$t("Ë");rr[127]=$t("�");rr[128]=$t("â¢");rr[129]=$t("â ");rr[130]=$t("â¡");rr[131]=$t("â¦");rr[132]=$t("â");rr[133]=$t("â");rr[134]=$t("Æ");rr[135]=$t("â");rr[136]=$t("â¹");rr[137]=$t("âº");rr[138]=$t("â");rr[139]=$t("â°");rr[140]=$t("â");rr[141]=$t("â");rr[142]=$t("â");rr[143]=$t("â");rr[144]=$t("â");rr[145]=$t("â");rr[146]=$t("â¢");rr[147]=$t("ï¬");rr[148]=$t("ï¬");rr[149]=$t("Å");rr[150]=$t("Å");rr[151]=$t("Å ");rr[152]=$t("Ÿ");rr[153]=$t("Ž");rr[154]=$t("ı");rr[155]=$t("Å");rr[156]=$t("Å");rr[157]=$t("Å¡");rr[158]=$t("ž");rr[159]=$t("�");rr[160]=$t("â¬");rr[173]=$t("�");var YH=function(t){for(var e=new Array(t.length),r=0,n=t.length;r<n;r++)e[r]=rr[t[r]];return String.fromCodePoint.apply(String,e)},Xc=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}(),Do=function(t){ut(e,t);function e(r,n){var i=this,a="Method "+r+"."+n+"() not implemented";return i=t.call(this,a)||this,i}return e}(Error),iT=function(t){ut(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),Eb=function(t){ut(e,t);function e(r,n){var i=this,a=function(c){var A,u;return(A=c==null?void 0:c.name)!==null&&A!==void 0?A:(u=c==null?void 0:c.constructor)===null||u===void 0?void 0:u.name},s=Array.isArray(r)?r.map(a):[a(r)],o="Expected instance of "+s.join(" or ")+", "+("but got instance of "+(n&&a(n)));return i=t.call(this,o)||this,i}return e}(Error),Ife=function(t){ut(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),aT=function(t){ut(e,t);function e(r,n){var i=this,a="Cannot call "+r+"."+n+"() more than once";return i=t.call(this,a)||this,i}return e}(Error);(function(t){ut(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 kfe=function(t){ut(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),Pfe=function(t){ut(e,t);function e(r){var n,i,a,s=this,o=(a=(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&&a!==void 0?a:r,c="Unrecognized stream type: "+o;return s=t.call(this,c)||this,s}return e}(Error),Dfe=function(t){ut(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),Ofe=function(t){ut(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),ZH=function(t){ut(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),uD=function(t){ut(e,t);function e(r,n){var i=this,a="Invalid targetIndex specified: targetIndex="+r+" must be less than Count="+n;return i=t.call(this,a)||this,i}return e}(Error),dD=function(t){ut(e,t);function e(r,n){var i=this,a="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,a)||this,i}return e}(Error),Nb=function(t){ut(e,t);function e(r,n,i){var a=this,s="index should be at least "+n+" and at most "+i+", but was actually "+r;return a=t.call(this,s)||this,a}return e}(Error),sT=function(t){ut(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),Rfe=function(t){ut(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),Ufe=function(t){ut(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),Lfe=function(t){ut(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),hD=function(t){ut(e,t);function e(r,n){var i=this,a="Failed to parse number "+("(line:"+r.line+" col:"+r.column+" offset="+r.offset+'): "'+n+'"');return i=t.call(this,a)||this,i}return e}(Error),pd=function(t){ut(e,t);function e(r,n){var i=this,a="Failed to parse PDF document "+("(line:"+r.line+" col:"+r.column+" offset="+r.offset+"): "+n);return i=t.call(this,a)||this,i}return e}(Error),Mfe=function(t){ut(e,t);function e(r,n,i){var a=this,s="Expected next byte to be "+n+" but it was actually "+i;return a=t.call(this,r,s)||this,a}return e}(pd),Qfe=function(t){ut(e,t);function e(r,n){var i=this,a="Failed to parse PDF object starting with the following byte: "+n;return i=t.call(this,r,a)||this,i}return e}(pd),Hfe=function(t){ut(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}(pd),zfe=function(t){ut(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}(pd),Vfe=function(t){ut(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}(pd),Wfe=function(t){ut(e,t);function e(r){var n=this,i="Parser stalled";return n=t.call(this,r,i)||this,n}return e}(pd),Kfe=function(t){ut(e,t);function e(r){var n=this,i="No PDF header found";return n=t.call(this,r,i)||this,n}return e}(pd),qfe=function(t){ut(e,t);function e(r,n){var i=this,a="Did not find expected keyword '"+eH(n)+"'";return i=t.call(this,r,a)||this,i}return e}(pd),zS;(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"})(zS||(zS={}));const ae=zS;var f5=function(){function t(e,r){this.major=String(e),this.minor=String(r)}return t.prototype.toString=function(){var e=Jc(129);return"%PDF-"+this.major+"."+this.minor+` 3535%`+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++]=ae.Percent,e[r++]=ae.P,e[r++]=ae.D,e[r++]=ae.F,e[r++]=ae.Dash,r+=ha(this.major,e,r),e[r++]=ae.Period,r+=ha(this.minor,e,r),e[r++]=ae.Newline,e[r++]=ae.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}(),is=function(){function t(){}return t.prototype.clone=function(e){throw new Do(this.constructor.name,"clone")},t.prototype.toString=function(){throw new Do(this.constructor.name,"toString")},t.prototype.sizeInBytes=function(){throw new Do(this.constructor.name,"sizeInBytes")},t.prototype.copyBytesInto=function(e,r){throw new Do(this.constructor.name,"copyBytesInto")},t}(),Yt=function(t){ut(e,t);function e(r){var n=t.call(this)||this;
vendor: 186,992 bytes, lines 3535-3571
3535return n.numberValue=r,n.stringValue=Ade(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+=ha(this.stringValue,r,n),this.stringValue.length},e.of=function(r){return new e(r)},e}(is),kr=function(t){ut(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=[],a=1;a<arguments.length;a++)i[a-1]=arguments[a];return(n=this.context).lookupMaybe.apply(n,_r([this.get(r)],i))},e.prototype.lookup=function(r){for(var n,i=[],a=1;a<arguments.length;a++)i[a-1]=arguments[a];return(n=this.context).lookup.apply(n,_r([this.get(r)],i))},e.prototype.asRectangle=function(){if(this.size()!==4)throw new Ofe(this.size());var r=this.lookup(0,Yt).asNumber(),n=this.lookup(1,Yt).asNumber(),i=this.lookup(2,Yt).asNumber(),a=this.lookup(3,Yt).asNumber(),s=r,o=n,c=i-r,A=a-n;return{x:s,y:o,width:c,height:A}},e.prototype.asArray=function(){return this.array.slice()},e.prototype.clone=function(r){for(var n=e.withContext(r||this.context),i=0,a=this.size();i<a;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++]=ae.LeftSquareBracket,r[n++]=ae.Space;for(var a=0,s=this.size();a<s;a++)n+=this.get(a).copyBytesInto(r,n),r[n++]=ae.Space;return r[n++]=ae.RightSquareBracket,n-i},e.prototype.scalePDFNumbers=function(r,n){for(var i=0,a=this.size();i<a;i++){var s=this.lookup(i);if(s instanceof Yt){var o=i%2===0?r:n;this.set(i,Yt.of(s.asNumber()*o))}}},e.withContext=function(r){return new e(r)},e}(is),t4={},i1=function(t){ut(e,t);function e(r,n){var i=this;if(r!==t4)throw new iT("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++]=ae.t,r[n++]=ae.r,r[n++]=ae.u,r[n++]=ae.e,4):(r[n++]=ae.f,r[n++]=ae.a,r[n++]=ae.l,r[n++]=ae.s,r[n++]=ae.e,5)},e.True=new e(t4,!0),e.False=new e(t4,!1),e}(is),qo=new Uint8Array(256);qo[ae.LeftParen]=1;qo[ae.RightParen]=1;qo[ae.LessThan]=1;qo[ae.GreaterThan]=1;qo[ae.LeftSquareBracket]=1;qo[ae.RightSquareBracket]=1;qo[ae.LeftCurly]=1;qo[ae.RightCurly]=1;qo[ae.ForwardSlash]=1;qo[ae.Percent]=1;var xA=new Uint8Array(256);xA[ae.Null]=1;xA[ae.Tab]=1;xA[ae.Newline]=1;xA[ae.FormFeed]=1;xA[ae.CarriageReturn]=1;xA[ae.Space]=1;var oT=new Uint8Array(256);for(var Hm=0,Gfe=256;Hm<Gfe;Hm++)oT[Hm]=xA[Hm]||qo[Hm]?1:0;oT[ae.Hash]=1;var Jfe=function(t){return t.replace(/#([\dABCDEF]{2})/g,function(e,r){return Vue(r)})},Xfe=function(t){return t>=ae.ExclamationPoint&&t<=ae.Tilde&&!oT[t]},fD={},pD=new Map,re=function(t){ut(e,t);function e(r,n){var i=this;if(r!==fD)throw new iT("PDFName");i=t.call(this)||this;for(var a="/",s=0,o=n.length;s<o;s++){var c=n[s],A=$t(c);a+=Xfe(A)?c:"#"+o5(A)}return i.encodedName=a,i}return e.prototype.asBytes=function(){for(var r=[],n="",i=!1,a=function(d){d!==void 0&&r.push(d),i=!1},s=1,o=this.encodedName.length;s<o;s++){var c=this.encodedName[s],A=$t(c),u=this.encodedName[s+1];i?A>=ae.Zero&&A<=ae.Nine||A>=ae.a&&A<=ae.f||A>=ae.A&&A<=ae.F?(n+=c,(n.length===2||!(u>="0"&&u<="9"||u>="a"&&u<="f"||u>="A"&&u<="F"))&&(a(parseInt(n,16)),n="")):a(A):A===ae.Hash?i=!0:a(A)}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+=ha(this.encodedName,r,n),this.encodedName.length},e.of=function(r){var n=Jfe(r),i=pD.get(n);return i||(i=new e(fD,n),pD.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}(is),Yfe=function(t){ut(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++]=ae.n,r[n++]=ae.u,r[n++]=ae.l,r[n++]=ae.l,4},e}(is);const vs=new Yfe;var sr=function(t){ut(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===vs&&!n))return i},e.prototype.has=function(r){var n=this.dict.get(r);return n!==void 0&&n!==vs},e.prototype.lookupMaybe=function(r){for(var n,i=[],a=1;a<arguments.length;a++)i[a-1]=arguments[a];var s=i.includes(vs),o=(n=this.context).lookupMaybe.apply(n,_r([this.get(r,s)],i));if(!(o===vs&&!s))return o},e.prototype.lookup=function(r){for(var n,i=[],a=1;a<arguments.length;a++)i[a-1]=arguments[a];var s=i.includes(vs),o=(n=this.context).lookup.apply(n,_r([this.get(r,s)],i));if(!(o===vs&&!s))return o},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=re.of(this.context.addRandomSuffix(r,10));n.includes(i);)i=re.of(this.context.addRandomSuffix(r,10));return i},e.prototype.clone=function(r){for(var n=e.withContext(r||this.context),i=this.entries(),a=0,s=i.length;a<s;a++){var o=i[a],c=o[0],A=o[1];n.set(c,A)}return n},e.prototype.toString=function(){for(var r=`<< 3536`,n=this.entries(),i=0,a=n.length;i<a;i++){var s=n[i],o=s[0],c=s[1];r+=o.toString()+" "+c.toString()+` 3537`}return r+=">>",r},e.prototype.sizeInBytes=function(){for(var r=5,n=this.entries(),i=0,a=n.length;i<a;i++){var s=n[i],o=s[0],c=s[1];r+=o.sizeInBytes()+c.sizeInBytes()+2}return r},e.prototype.copyBytesInto=function(r,n){var i=n;r[n++]=ae.LessThan,r[n++]=ae.LessThan,r[n++]=ae.Newline;for(var a=this.entries(),s=0,o=a.length;s<o;s++){var c=a[s],A=c[0],u=c[1];n+=A.copyBytesInto(r,n),r[n++]=ae.Space,n+=u.copyBytesInto(r,n),r[n++]=ae.Newline}return r[n++]=ae.GreaterThan,r[n++]=ae.GreaterThan,n-i},e.withContext=function(r){return new e(new Map,r)},e.fromMapWithContext=function(r,n){return new e(r,n)},e}(is),no=function(t){ut(e,t);function e(r){var n=t.call(this)||this;return n.dict=r,n}return e.prototype.clone=function(r){throw new Do(this.constructor.name,"clone")},e.prototype.getContentsString=function(){throw new Do(this.constructor.name,"getContentsString")},e.prototype.getContents=function(){throw new Do(this.constructor.name,"getContents")},e.prototype.getContentsSize=function(){throw new Do(this.constructor.name,"getContentsSize")},e.prototype.updateDict=function(){var r=this.getContentsSize();this.dict.set(re.Length,Yt.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+=` 3538stream 3539`,r+=this.getContentsString(),r+=` 3540endstream`,r},e.prototype.copyBytesInto=function(r,n){this.updateDict();var i=n;n+=this.dict.copyBytesInto(r,n),r[n++]=ae.Newline,r[n++]=ae.s,r[n++]=ae.t,r[n++]=ae.r,r[n++]=ae.e,r[n++]=ae.a,r[n++]=ae.m,r[n++]=ae.Newline;for(var a=this.getContents(),s=0,o=a.length;s<o;s++)r[n++]=a[s];return r[n++]=ae.Newline,r[n++]=ae.e,r[n++]=ae.n,r[n++]=ae.d,r[n++]=ae.s,r[n++]=ae.t,r[n++]=ae.r,r[n++]=ae.e,r[n++]=ae.a,r[n++]=ae.m,n-i},e}(is),a1=function(t){ut(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 eH(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}(no),mD={},gD=new Map,Wr=function(t){ut(e,t);function e(r,n,i){var a=this;if(r!==mD)throw new iT("PDFRef");return a=t.call(this)||this,a.objectNumber=n,a.generationNumber=i,a.tag=n+" "+i+" R",a}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+=ha(this.tag,r,n),this.tag.length},e.of=function(r,n){n===void 0&&(n=0);var i=r+" "+n+" R",a=gD.get(i);return a||(a=new e(mD,r,n),gD.set(i,a)),a},e}(is),Nr=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 a=this.args[n];r[n]=a instanceof is?a.clone(e):a}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 is?i.sizeInBytes():i.length)+1}return e+=this.name.length,e},t.prototype.copyBytesInto=function(e,r){for(var n=r,i=0,a=this.args.length;i<a;i++){var s=this.args[i];s instanceof is?r+=s.copyBytesInto(e,r):r+=ha(s,e,r),e[r++]=ae.Space}return r+=ha(this.name,e,r),r-n},t.of=function(e,r){return new t(e,r)},t}(),VS;(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"})(VS||(VS={}));const Fr=VS;var lT=function(t){ut(e,t);function e(r,n){var i=t.call(this,r)||this;return i.computeContents=function(){var a=i.getUnencodedContents();return i.encode?u5.deflate(a):a},i.encode=n,n&&r.set(re.of("Filter"),re.of("FlateDecode")),i.contentsCache=Xc.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 Do(this.constructor.name,"getUnencodedContents")},e}(no),Jg=function(t){ut(e,t);function e(r,n,i){i===void 0&&(i=!0);var a=t.call(this,r,i)||this;return a.operators=n,a}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,a=this.operators.length;i<a;i++)n[i]=this.operators[i].clone(r);var s=this,o=s.dict,c=s.encode;return e.of(o.clone(r),n,c)},e.prototype.getContentsString=function(){for(var r="",n=0,i=this.operators.length;n<i;n++)r+=this.operators[n]+` 3541`;return r},e.prototype.getUnencodedContents=function(){for(var r=new Uint8Array(this.getUnencodedContentsSize()),n=0,i=0,a=this.operators.length;i<a;i++)n+=this.operators[i].copyBytesInto(r,n),r[n++]=ae.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}(lT),Zfe=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}(),$fe=function(t,e){var r=t[0],n=e[0];return r.objectNumber-n.objectNumber},WS=function(){function t(){this.largestObjectNumber=0,this.header=f5.forVersion(1,7),this.trailerInfo={},this.indirectObjects=new Map,this.rng=Zfe.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,Wr.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(vs),a=e instanceof Wr?this.indirectObjects.get(e):e;if(!(!a||a===vs&&!i)){for(var s=0,o=r.length;s<o;s++){var c=r[s];if(c===vs){if(a===vs)return a}else if(a instanceof c)return a}throw new Eb(r,a)}},t.prototype.lookup=function(e){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];var i=e instanceof Wr?this.indirectObjects.get(e):e;if(r.length===0)return i;for(var a=0,s=r.length;a<s;a++){var o=r[a];if(o===vs){if(i===vs)return i}else if(i instanceof o)return i}throw new Eb(r,i)},t.prototype.getObjectRef=function(e){for(var r=Array.from(this.indirectObjects.entries()),n=0,i=r.length;n<i;n++){var a=r[n],s=a[0],o=a[1];if(o===e)return s}},t.prototype.enumerateIndirectObjects=function(){return Array.from(this.indirectObjects.entries()).sort($fe)},t.prototype.obj=function(e){if(e instanceof is)return e;if(e==null)return vs;if(typeof e=="string")return re.of(e);if(typeof e=="number")return Yt.of(e);if(typeof e=="boolean")return e?i1.True:i1.False;if(Array.isArray(e)){for(var r=kr.withContext(this),n=0,i=e.length;n<i;n++)r.push(this.obj(e[n]));return r}else{for(var a=sr.withContext(this),s=Object.keys(e),n=0,i=s.length;n<i;n++){var o=s[n],c=e[o];c!==void 0&&a.set(re.of(o),this.obj(c))}return a}},t.prototype.stream=function(e,r){return r===void 0&&(r={}),a1.of(this.obj(r),PS(e))},t.prototype.flateStream=function(e,r){return r===void 0&&(r={}),this.stream(u5.deflate(PS(e)),tr(tr({},r),{Filter:"FlateDecode"}))},t.prototype.contentStream=function(e,r){return r===void 0&&(r={}),Jg.of(this.obj(r),e)},t.prototype.formXObject=function(e,r){return r===void 0&&(r={}),this.contentStream(e,tr(tr({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=Nr.of(Fr.PushGraphicsState),n=Jg.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=Nr.of(Fr.PopGraphicsState),n=Jg.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}(),Yc=function(t){ut(e,t);function e(r,n,i){i===void 0&&(i=!0);var a=t.call(this,r,n)||this;return a.normalized=!1,a.autoNormalizeCTM=i,a}return e.prototype.clone=function(r){for(var n=e.fromMapWithContext(new Map,r||this.context,this.autoNormalizeCTM),i=this.entries(),a=0,s=i.length;a<s;a++){var o=i[a],c=o[0],A=o[1];n.set(c,A)}return n},e.prototype.Parent=function(){return this.lookupMaybe(re.Parent,sr)},e.prototype.Contents=function(){return this.lookup(re.of("Contents"))},e.prototype.Annots=function(){return this.lookupMaybe(re.Annots,kr)},e.prototype.BleedBox=function(){return this.lookupMaybe(re.BleedBox,kr)},e.prototype.TrimBox=function(){return this.lookupMaybe(re.TrimBox,kr)},e.prototype.ArtBox=function(){return this.lookupMaybe(re.ArtBox,kr)},e.prototype.Resources=function(){var r=this.getInheritableAttribute(re.Resources);return this.context.lookupMaybe(r,sr)},e.prototype.MediaBox=function(){var r=this.getInheritableAttribute(re.MediaBox);return this.context.lookup(r,kr)},e.prototype.CropBox=function(){var r=this.getInheritableAttribute(re.CropBox);return this.context.lookupMaybe(r,kr)},e.prototype.Rotate=function(){var r=this.getInheritableAttribute(re.Rotate);return this.context.lookupMaybe(r,Yt)},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(re.Parent,r)},e.prototype.addContentStream=function(r){var n=this.normalizedEntries().Contents||this.context.obj([]);this.set(re.Contents,n),n.push(r)},e.prototype.wrapContentStreams=function(r,n){var i=this.Contents();return i instanceof kr?(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(re.Contents),i=this.context.lookup(n);i instanceof no&&this.set(re.Contents,r.obj([n])),this.autoNormalizeCTM&&this.wrapContentStreams(this.context.getPushGraphicsStateContentStream(),this.context.getPopGraphicsStateContentStream());var a=this.getInheritableAttribute(re.Resources),s=r.lookupMaybe(a,sr)||r.obj({});this.set(re.Resources,s);var o=s.lookupMaybe(re.Font,sr)||r.obj({});s.set(re.Font,o);var c=s.lookupMaybe(re.XObject,sr)||r.obj({});s.set(re.XObject,c);var A=s.lookupMaybe(re.ExtGState,sr)||r.obj({});s.set(re.ExtGState,A);var u=this.Annots()||r.obj([]);this.set(re.Annots,u),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(re.Font,sr),XObject:n.lookup(re.XObject,sr),ExtGState:n.lookup(re.ExtGState,sr)}},e.InheritableEntries=["Resources","MediaBox","CropBox","Rotate"],e.withContextAndParent=function(r,n){var i=new Map;return i.set(re.Type,re.Page),i.set(re.Parent,n),i.set(re.Resources,r.obj({})),i.set(re.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}(sr),vD=function(){function t(e,r){var n=this;this.traversedObjects=new Map,this.copy=function(i){return i instanceof Yc?n.copyPDFPage(i):i instanceof sr?n.copyPDFDict(i):i instanceof kr?n.copyPDFArray(i):i instanceof no?n.copyPDFStream(i):i instanceof Wr?n.copyPDFIndirectObject(i):i.clone()},this.copyPDFPage=function(i){for(var a=i.clone(),s=Yc.InheritableEntries,o=0,c=s.length;o<c;o++){var A=re.of(s[o]),u=a.getInheritableAttribute(A);!a.get(A)&&u&&a.set(A,u)}return a.delete(re.of("Parent")),n.copyPDFDict(a)},this.copyPDFDict=function(i){if(n.traversedObjects.has(i))return n.traversedObjects.get(i);var a=i.clone(n.dest);n.traversedObjects.set(i,a);for(var s=i.entries(),o=0,c=s.length;o<c;o++){var A=s[o],u=A[0],d=A[1];a.set(u,n.copy(d))}return a},this.copyPDFArray=function(i){if(n.traversedObjects.has(i))return n.traversedObjects.get(i);var a=i.clone(n.dest);n.traversedObjects.set(i,a);for(var s=0,o=i.size();s<o;s++){var c=i.get(s);a.set(s,n.copy(c))}return a},this.copyPDFStream=function(i){if(n.traversedObjects.has(i))return n.traversedObjects.get(i);var a=i.clone(n.dest);n.traversedObjects.set(i,a);for(var s=i.dict.entries(),o=0,c=s.length;o<c;o++){var A=s[o],u=A[0],d=A[1];a.dict.set(u,n.copy(d))}return a},this.copyPDFIndirectObject=function(i){var a=n.traversedObjects.has(i);if(!a){var s=n.dest.nextRef();n.traversedObjects.set(i,s);var o=n.src.lookup(i);if(o){var c=n.copy(o);n.dest.assign(s,c)}}return n.traversedObjects.get(i)},this.src=e,this.dest=r}return t.for=function(e,r){return new t(e,r)},t}(),$H=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 3542`,r=0,n=this.subsections.length;r<n;r++){var i=this.subsections[r];e+=i[0].ref.objectNumber+" "+i.length+` 3543`;for(var a=0,s=i.length;a<s;a++){var o=i[a];e+=pl(String(o.offset),10,"0"),e+=" ",e+=pl(String(o.ref.generationNumber),5,"0"),e+=" ",e+=o.deleted?"f":"n",e+=` 3544`}}return e},t.prototype.sizeInBytes=function(){for(var e=5,r=0,n=this.subsections.length;r<n;r++){var i=this.subsections[r],a=i.length,s=i[0];e+=2,e+=String(s.ref.objectNumber).length,e+=String(a).length,e+=20*a}return e},t.prototype.copyBytesInto=function(e,r){var n=r;return e[r++]=ae.x,e[r++]=ae.r,e[r++]=ae.e,e[r++]=ae.f,e[r++]=ae.Newline,r+=this.copySubsectionsIntoBuffer(this.subsections,e,r),r-n},t.prototype.copySubsectionsIntoBuffer=function(e,r,n){for(var i=n,a=e.length,s=0;s<a;s++){var o=this.subsections[s],c=String(o[0].ref.objectNumber);n+=ha(c,r,n),r[n++]=ae.Space;var A=String(o.length);n+=ha(A,r,n),r[n++]=ae.Newline,n+=this.copyEntriesIntoBuffer(o,r,n)}return n-i},t.prototype.copyEntriesIntoBuffer=function(e,r,n){for(var i=e.length,a=0;a<i;a++){var s=e[a],o=pl(String(s.offset),10,"0");n+=ha(o,r,n),r[n++]=ae.Space;var c=pl(String(s.ref.generationNumber),5,"0");n+=ha(c,r,n),r[n++]=ae.Space,r[n++]=s.deleted?ae.f:ae.n,r[n++]=ae.Space,r[n++]=ae.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:Wr.of(0,65535),offset:0,deleted:!0})},t.createEmpty=function(){return new t},t}(),cT=function(){function t(e){this.lastXRefOffset=String(e)}return t.prototype.toString=function(){return`startxref 3545`+this.lastXRefOffset+` 3546%%EOF`},t.prototype.sizeInBytes=function(){return 16+this.lastXRefOffset.length},t.prototype.copyBytesInto=function(e,r){var n=r;return e[r++]=ae.s,e[r++]=ae.t,e[r++]=ae.a,e[r++]=ae.r,e[r++]=ae.t,e[r++]=ae.x,e[r++]=ae.r,e[r++]=ae.e,e[r++]=ae.f,e[r++]=ae.Newline,r+=ha(this.lastXRefOffset,e,r),e[r++]=ae.Newline,e[r++]=ae.Percent,e[r++]=ae.Percent,e[r++]=ae.E,e[r++]=ae.O,e[r++]=ae.F,r-n},t.forLastCrossRefSectionOffset=function(e){return new t(e)},t}(),e0e=function(){function t(e){this.dict=e}return t.prototype.toString=function(){return`trailer 3547`+this.dict.toString()},t.prototype.sizeInBytes=function(){return 8+this.dict.sizeInBytes()},t.prototype.copyBytesInto=function(e,r){var n=r;return e[r++]=ae.t,e[r++]=ae.r,e[r++]=ae.a,e[r++]=ae.i,e[r++]=ae.l,e[r++]=ae.e,e[r++]=ae.r,e[r++]=ae.Newline,r+=this.dict.copyBytesInto(e,r),r-n},t.of=function(e){return new t(e)},t}(),ez=function(t){ut(e,t);function e(r,n,i){i===void 0&&(i=!0);var a=t.call(this,r.obj({}),i)||this;return a.objects=n,a.offsets=a.computeObjectOffsets(),a.offsetsString=a.computeOffsetsString(),a.dict.set(re.of("Type"),re.of("ObjStm")),a.dict.set(re.of("N"),Yt.of(a.objects.length)),a.dict.set(re.of("First"),Yt.of(a.offsetsString.length)),a}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 a=this.objects[n],s=a[1];r+=s+` 3548`}return r},e.prototype.getUnencodedContents=function(){for(var r=new Uint8Array(this.getUnencodedContentsSize()),n=ha(this.offsetsString,r,0),i=0,a=this.objects.length;i<a;i++){var s=this.objects[i],o=s[1];n+=o.copyBytesInto(r,n),r[n++]=ae.Newline}return r},e.prototype.getUnencodedContentsSize=function(){return this.offsetsString.length+bb(this.offsets)[1]+bb(this.objects)[1].sizeInBytes()+1},e.prototype.computeOffsetsString=function(){for(var r="",n=0,i=this.offsets.length;n<i;n++){var a=this.offsets[n],s=a[0],o=a[1];r+=s+" "+o+" "}return r},e.prototype.computeObjectOffsets=function(){for(var r=0,n=new Array(this.objects.length),i=0,a=this.objects.length;i<a;i++){var s=this.objects[i],o=s[0],c=s[1];n[i]=[o.objectNumber,r],r+=c.sizeInBytes()+1}return n},e.withContextAndObjects=function(r,n,i){return i===void 0&&(i=!0),new e(r,n,i)},e}(lT),tz=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 lr(this,void 0,void 0,function(){var e,r,n,i,a,s,o,c,A,u,d,f,h,m,p,x,v;return cr(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,a=e.xref,s=e.trailerDict,o=e.trailer,c=0,A=new Uint8Array(r),c+=n.copyBytesInto(A,c),A[c++]=ae.Newline,A[c++]=ae.Newline,u=0,d=i.length,y.label=2;case 2:return u<d?(f=i[u],h=f[0],m=f[1],p=String(h.objectNumber),c+=ha(p,A,c),A[c++]=ae.Space,x=String(h.generationNumber),c+=ha(x,A,c),A[c++]=ae.Space,A[c++]=ae.o,A[c++]=ae.b,A[c++]=ae.j,A[c++]=ae.Newline,c+=m.copyBytesInto(A,c),A[c++]=ae.Newline,A[c++]=ae.e,A[c++]=ae.n,A[c++]=ae.d,A[c++]=ae.o,A[c++]=ae.b,A[c++]=ae.j,A[c++]=ae.Newline,A[c++]=ae.Newline,v=m instanceof ez?m.getObjectsCount():1,this.shouldWaitForTick(v)?[4,fp()]:[3,4]):[3,5];case 3:y.sent(),y.label=4;case 4:return u++,[3,2];case 5:return a&&(c+=a.copyBytesInto(A,c),A[c++]=ae.Newline),s&&(c+=s.copyBytesInto(A,c),A[c++]=ae.Newline,A[c++]=ae.Newline),c+=o.copyBytesInto(A,c),[2,A]}})})},t.prototype.computeIndirectObjectSize=function(e){var r=e[0],n=e[1],i=r.sizeInBytes()+3,a=n.sizeInBytes()+9;return i+a},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 lr(this,void 0,void 0,function(){var e,r,n,i,a,s,o,c,A,u,d;return cr(this,function(f){switch(f.label){case 0:e=f5.forVersion(1,7),r=e.sizeInBytes()+2,n=$H.create(),i=this.context.enumerateIndirectObjects(),a=0,s=i.length,f.label=1;case 1:return a<s?(o=i[a],c=o[0],n.addEntry(c,r),r+=this.computeIndirectObjectSize(o),this.shouldWaitForTick(1)?[4,fp()]:[3,3]):[3,4];case 2:f.sent(),f.label=3;case 3:return a++,[3,1];case 4:return A=r,r+=n.sizeInBytes()+1,u=e0e.of(this.createTrailerDict()),r+=u.sizeInBytes()+2,d=cT.forLastCrossRefSectionOffset(A),r+=d.sizeInBytes(),[2,{size:r,header:e,indirectObjects:i,xref:n,trailerDict:u,trailer:d}]}})})},t.forContext=function(e,r){return new t(e,r)},t}(),rz=function(t){ut(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,a=0;a<i;a++)r[n++]=this.data[a];return i},e.of=function(r){return new e(r)},e}(is),eu;(function(t){t[t.Deleted=0]="Deleted",t[t.Uncompressed=1]="Uncompressed",t[t.Compressed=2]="Compressed"})(eu||(eu={}));var t0e=function(t){ut(e,t);function e(r,n,i){i===void 0&&(i=!0);var a=t.call(this,r,i)||this;return a.computeIndex=function(){for(var s=[],o=0,c=0,A=a.entries.length;c<A;c++){var u=a.entries[c],d=a.entries[c-1];c===0?s.push(u.ref.objectNumber):u.ref.objectNumber-d.ref.objectNumber>1&&(s.push(o),s.push(u.ref.objectNumber),o=0),o+=1}return s.push(o),s},a.computeEntryTuples=function(){for(var s=new Array(a.entries.length),o=0,c=a.entries.length;o<c;o++){var A=a.entries[o];if(A.type===eu.Deleted){var u=A.type,d=A.nextFreeObjectNumber,f=A.ref;s[o]=[u,d,f.generationNumber]}if(A.type===eu.Uncompressed){var u=A.type,h=A.offset,f=A.ref;s[o]=[u,h,f.generationNumber]}if(A.type===eu.Compressed){var u=A.type,m=A.objectStreamRef,p=A.index;s[o]=[u,m.objectNumber,p]}}return s},a.computeMaxEntryByteWidths=function(){for(var s=a.entryTuplesCache.access(),o=[0,0,0],c=0,A=s.length;c<A;c++){var u=s[c],d=u[0],f=u[1],h=u[2],m=e2(d),p=e2(f),x=e2(h);m>o[0]&&(o[0]=m),p>o[1]&&(o[1]=p),x>o[2]&&(o[2]=x)}return o},a.entries=n||[],a.entryTuplesCache=Xc.populatedBy(a.computeEntryTuples),a.maxByteWidthsCache=Xc.populatedBy(a.computeMaxEntryByteWidths),a.indexCache=Xc.populatedBy(a.computeIndex),r.set(re.of("Type"),re.of("XRef")),a}return e.prototype.addDeletedEntry=function(r,n){var i=eu.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=eu.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 a=eu.Compressed;this.entries.push({type:a,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,a=n.entries,s=n.encode;return e.of(i.clone(r),a.slice(),s)},e.prototype.getContentsString=function(){for(var r=this.entryTuplesCache.access(),n=this.maxByteWidthsCache.access(),i="",a=0,s=r.length;a<s;a++){for(var o=r[a],c=o[0],A=o[1],u=o[2],d=If(kf(c)),f=If(kf(A)),h=If(kf(u)),m=n[0]-1;m>=0;m--)i+=(d[m]||0).toString(2);for(var m=n[1]-1;m>=0;m--)i+=(f[m]||0).toString(2);for(var m=n[2]-1;m>=0;m--)i+=(h[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()),a=0,s=0,o=r.length;s<o;s++){for(var c=r[s],A=c[0],u=c[1],d=c[2],f=If(kf(A)),h=If(kf(u)),m=If(kf(d)),p=n[0]-1;p>=0;p--)i[a++]=f[p]||0;for(var p=n[1]-1;p>=0;p--)i[a++]=h[p]||0;for(var p=n[2]-1;p>=0;p--)i[a++]=m[p]||0}return i},e.prototype.getUnencodedContentsSize=function(){var r=this.maxByteWidthsCache.access(),n=tde(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(re.of("W"),i.obj(r)),this.dict.set(re.of("Index"),i.obj(n))},e.create=function(r,n){n===void 0&&(n=!0);var i=new e(r,[],n);return i.addDeletedEntry(Wr.of(0,65535),0),i},e.of=function(r,n,i){return i===void 0&&(i=!0),new e(r,n,i)},e}(lT),r0e=function(t){ut(e,t);function e(r,n,i,a){var s=t.call(this,r,n)||this;return s.encodeStreams=i,s.objectsPerStream=a,s}return e.prototype.computeBufferSize=function(){return lr(this,void 0,void 0,function(){var r,n,i,a,s,o,c,A,m,p,u,v,d,f,x,h,m,p,x,v,y,b,E,S;return cr(this,function(I){switch(I.label){case 0:r=this.context.largestObjectNumber+1,n=f5.forVersion(1,7),i=n.sizeInBytes()+2,a=t0e.create(this.createTrailerDict(),this.encodeStreams),s=[],o=[],c=[],A=this.context.enumerateIndirectObjects(),m=0,p=A.length,I.label=1;case 1:return m<p?(u=A[m],v=u[0],d=u[1],f=v===this.context.trailerInfo.Encrypt||d instanceof no||d instanceof rz||v.generationNumber!==0,f?(s.push(u),a.addUncompressedEntry(v,i),i+=this.computeIndirectObjectSize(u),this.shouldWaitForTick(1)?[4,fp()]:[3,3]):[3,4]):[3,6];case 2:I.sent(),I.label=3;case 3:return[3,5];case 4:x=bb(o),h=bb(c),(!x||x.length%this.objectsPerStream===0)&&(x=[],o.push(x),h=Wr.of(r++),c.push(h)),a.addCompressedEntry(v,h,x.length),x.push(u),I.label=5;case 5:return m++,[3,1];case 6:m=0,p=o.length,I.label=7;case 7:return m<p?(x=o[m],v=c[m],y=ez.withContextAndObjects(this.context,x,this.encodeStreams),a.addUncompressedEntry(v,i),i+=this.computeIndirectObjectSize([v,y]),s.push([v,y]),this.shouldWaitForTick(x.length)?[4,fp()]:[3,9]):[3,10];case 8:I.sent(),I.label=9;case 9:return m++,[3,7];case 10:return b=Wr.of(r++),a.dict.set(re.of("Size"),Yt.of(r)),a.addUncompressedEntry(b,i),E=i,i+=this.computeIndirectObjectSize([b,a]),s.push([b,a]),S=cT.forLastCrossRefSectionOffset(E),i+=S.sizeInBytes(),[2,{size:i,header:n,indirectObjects:s,trailer:S}]}})})},e.forContext=function(r,n,i,a){return i===void 0&&(i=!0),a===void 0&&(a=50),new e(r,n,i,a)},e}(tz),Vt=function(t){ut(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),a=0,s=0;a<n;){var o=parseInt(r.substring(a,a+2),16);i[s]=o,a+=2,s+=1}return i},e.prototype.decodeText=function(){var r=this.asBytes();return sH(r)?nH(r):YH(r)},e.prototype.decodeDate=function(){var r=this.decodeText(),n=$9(r);if(!n)throw new ZH(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++]=ae.LessThan,n+=ha(this.value,r,n),r[n++]=ae.GreaterThan,this.value.length+2},e.of=function(r){return new e(r)},e.fromText=function(r){for(var n=ade(r),i="",a=0,s=n.length;a<s;a++)i+=z1(n[a],4);return new e(i)},e}(is),Sb=function(){function t(e,r){this.encoding=e===n1.ZapfDingbats?Ry.ZapfDingbats:e===n1.Symbol?Ry.Symbol:Ry.WinAnsi,this.font=wfe.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,a=r.length;i<a;i++)n[i]=o5(r[i].code);return Vt.of(n.join(""))},t.prototype.widthOfTextAtSize=function(e,r){for(var n=this.encodeTextAsGlyphs(e),i=0,a=0,s=n.length;a<s;a++){var o=n[a].name,c=(n[a+1]||{}).name,A=this.font.getXAxisKerningForPair(o,c)||0;i+=this.widthOfGlyph(o)+A}var u=r/1e3;return i*u},t.prototype.heightOfFontAtSize=function(e,r){r===void 0&&(r={});var n=r.descender,i=n===void 0?!0:n,a=this.font,s=a.Ascender,o=a.Descender,c=a.FontBBox,A=s||c[3],u=o||c[1],d=A-u;return i||(d+=o||0),d/1e3*e},t.prototype.sizeOfFontAtHeight=function(e){var r=this.font,n=r.Ascender,i=r.Descender,a=r.FontBBox,s=n||a[3],o=i||a[1];return 1e3*e/(s-o)},t.prototype.embedIntoContext=function(e,r){var n=e.obj({Type:"Font",Subtype:"Type1",BaseFont:this.customName||this.fontName,Encoding:this.encoding===Ry.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,a=r.length;i<a;i++){var s=zue(r[i]);n[i]=this.encoding.encodeUnicodeCodePoint(s)}return n},t.for=function(e,r){return new t(e,r)},t}(),n0e=function(t,e){for(var r=new Array(t.length),n=0,i=t.length;n<i;n++){var a=t[n],s=xD(s2(e(a))),o=xD.apply(void 0,a.codePoints.map(a0e));r[n]=[s,o]}return i0e(r)},i0e=function(t){return`/CIDInit /ProcSet findresource begin 354912 dict begin 3550begincmap 3551/CIDSystemInfo << 3552 /Registry (Adobe) 3553 /Ordering (UCS) 3554 /Supplement 0 3555>> def 3556/CMapName /Adobe-Identity-UCS def 3557/CMapType 2 def 35581 begincodespacerange 3559<0000><ffff> 3560endcodespacerange 3561`+t.length+` beginbfchar 3562`+t.map(function(e){var r=e[0],n=e[1];return r+" "+n}).join(` 3563`)+` 3564endbfchar 3565endcmap 3566CMapName currentdict /CMap defineresource pop 3567end 3568end`},xD=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return"<"+t.join("")+">"},s2=function(t){return z1(t,4)},a0e=function(t){if(sde(t))return s2(t);if(ode(t)){var e=tH(t),r=rH(t);return""+s2(e)+s2(r)}var n=o5(t),i="0x"+n+" is not a valid UTF-8 or UTF-16 codepoint.";throw new Error(i)},s0e=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},o0e=function(t){var e=t["OS/2"]?t["OS/2"].sFamilyClass:0,r=s0e({fixedPitch:t.post.isFixedPitch,serif:1<=e&&e<=7,symbolic:!0,script:e===10,italic:t.head.macStyle.italic});return r},Vr=function(t){ut(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,a=function(d){d!==void 0&&r.push(d),i=!1},s=0,o=this.value.length;s<o;s++){var c=this.value[s],A=$t(c),u=this.value[s+1];i?A===ae.Newline||A===ae.CarriageReturn?a():A===ae.n?a(ae.Newline):A===ae.r?a(ae.CarriageReturn):A===ae.t?a(ae.Tab):A===ae.b?a(ae.Backspace):A===ae.f?a(ae.FormFeed):A===ae.LeftParen?a(ae.LeftParen):A===ae.RightParen?a(ae.RightParen):A===ae.Backspace?a(ae.BackSlash):A>=ae.Zero&&A<=ae.Seven?(n+=c,(n.length===3||!(u>="0"&&u<="7"))&&(a(parseInt(n,8)),n="")):a(A):A===ae.BackSlash?i=!0:a(A)}return new Uint8Array(r)},e.prototype.decodeText=function(){var r=this.asBytes();return sH(r)?nH(r):YH(r)},e.prototype.decodeDate=function(){var r=this.decodeText(),n=$9(r);if(!n)throw new ZH(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++]=ae.LeftParen,n+=ha(this.value,r,n),r[n++]=ae.RightParen,this.value.length+2},e.of=function(r){return new e(r)},e.fromDate=function(r){var n=pl(String(r.getUTCFullYear()),4,"0"),i=pl(String(r.getUTCMonth()+1),2,"0"),a=pl(String(r.getUTCDate()),2,"0"),s=pl(String(r.getUTCHours()),2,"0"),o=pl(String(r.getUTCMinutes()),2,"0"),c=pl(String(r.getUTCSeconds()),2,"0");return new e("D:"+n+i+a+s+o+c+"Z")},e}(is),AT=function(){function t(e,r,n,i){var a=this;this.allGlyphsInFontSortedById=function(){for(var s=new Array(a.font.characterSet.length),o=0,c=s.length;o<c;o++){var A=a.font.characterSet[o];s[o]=a.font.glyphForCodePoint(A)}return ede(s.sort($ue),function(u){return u.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=Xc.populatedBy(this.allGlyphsInFontSortedById)}return t.for=function(e,r,n,i){return lr(this,void 0,void 0,function(){var a;return cr(this,function(s){switch(s.label){case 0:return[4,e.create(r)];case 1:return a=s.sent(),[2,new t(a,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,a=r.length;i<a;i++)n[i]=z1(r[i].id,4);return Vt.of(n.join(""))},t.prototype.widthOfTextAtSize=function(e,r){for(var n=this.font.layout(e,this.fontFeatures).glyphs,i=0,a=0,s=n.length;a<s;a++)i+=n[a].advanceWidth*this.scale;var o=r/1e3;return i*o},t.prototype.heightOfFontAtSize=function(e,r){r===void 0&&(r={});var n=r.descender,i=n===void 0?!0:n,a=this.font,s=a.ascent,o=a.descent,c=a.bbox,A=(s||c.maxY)*this.scale,u=(o||c.minY)*this.scale,d=A-u;return i||(d-=Math.abs(o)||0),d/1e3*e},t.prototype.sizeOfFontAtHeight=function(e){var r=this.font,n=r.ascent,i=r.descent,a=r.bbox,s=(n||a.maxY)*this.scale,o=(i||a.minY)*this.scale;return 1e3*e/(s-o)},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 lr(this,void 0,void 0,function(){var n,i,a;return cr(this,function(s){switch(s.label){case 0:return[4,this.embedCIDFontDict(e)];case 1:return n=s.sent(),i=this.embedUnicodeCmap(e),a=e.obj({Type:"Font",Subtype:"Type0",BaseFont:this.baseFontName,Encoding:"Identity-H",DescendantFonts:[n],ToUnicode:i}),r?(e.assign(r,a),[2,r]):[2,e.register(a)]}})})},t.prototype.isCFF=function(){return this.font.cff},t.prototype.embedCIDFontDict=function(e){return lr(this,void 0,void 0,function(){var r,n;return cr(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:Vr.of("Adobe"),Ordering:Vr.of("Identity"),Supplement:0},FontDescriptor:r,W:this.computeWidths()}),[2,e.register(n)]}})})},t.prototype.embedFontDescriptor=function(e){return lr(this,void 0,void 0,function(){var r,n,i,a,s,o,c,A,u,d,f,h,m,p,x;return cr(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,a=i.italicAngle,s=i.ascent,o=i.descent,c=i.capHeight,A=i.xHeight,u=this.font.bbox,d=u.minX,f=u.minY,h=u.maxX,m=u.maxY,p=e.obj((x={Type:"FontDescriptor",FontName:this.baseFontName,Flags:o0e(this.font),FontBBox:[d*n,f*n,h*n,m*n],ItalicAngle:a,Ascent:s*n,Descent:o*n,CapHeight:(c||s)*n,XHeight:(A||0)*n,StemV:0},x[this.isCFF()?"FontFile3":"FontFile2"]=r,x)),[2,e.register(p)]}})})},t.prototype.serializeFont=function(){return lr(this,void 0,void 0,function(){return cr(this,function(e){return[2,this.fontData]})})},t.prototype.embedFontStream=function(e){return lr(this,void 0,void 0,function(){var r,n,i;return cr(this,function(a){switch(a.label){case 0:return i=(n=e).flateStream,[4,this.serializeFont()];case 1:return r=i.apply(n,[a.sent(),{Subtype:this.isCFF()?"CIDFontType0C":void 0}]),[2,e.register(r)]}})})},t.prototype.embedUnicodeCmap=function(e){var r=n0e(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,a=e.length;i<a;i++){var s=e[i],o=e[i-1],c=this.glyphId(s),A=this.glyphId(o);i===0?r.push(c):c-A!==1&&(r.push(n),r.push(c),n=[]),n.push(s.advanceWidth*this.scale)}return r.push(n),r},t}(),l0e=function(t){ut(e,t);function e(r,n,i,a){var s=t.call(this,r,n,i,a)||this;return s.subset=s.font.createSubset(),s.glyphs=[],s.glyphCache=Xc.populatedBy(function(){return s.glyphs}),s.glyphIdMap=new Map,s}return e.for=function(r,n,i,a){return lr(this,void 0,void 0,function(){var s;return cr(this,function(o){switch(o.label){case 0:return[4,r.create(n)];case 1:return s=o.sent(),[2,new e(s,n,i,a)]}})})},e.prototype.encodeText=function(r){for(var n=this.font.layout(r,this.fontFeatures).glyphs,i=new Array(n.length),a=0,s=n.length;a<s;a++){var o=n[a],c=this.subset.includeGlyph(o);this.glyphs[c-1]=o,this.glyphIdMap.set(o.id,c),i[a]=z1(c,4)}return this.glyphCache.invalidate(),Vt.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 a=[];r.subset.encodeStream().on("data",function(s){return a.push(s)}).on("end",function(){return n(Zue(a))}).on("error",function(s){return i(s)})})},e}(AT),KS;(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"})(KS||(KS={}));var c0e=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 lr(this,void 0,void 0,function(){var n,i,a,s,o,c,A,u,d;return cr(this,function(f){return n=this.options,i=n.mimeType,a=n.description,s=n.creationDate,o=n.modificationDate,c=n.afRelationship,A=e.flateStream(this.fileData,{Type:"EmbeddedFile",Subtype:i??void 0,Params:{Size:this.fileData.length,CreationDate:s?Vr.fromDate(s):void 0,ModDate:o?Vr.fromDate(o):void 0}}),u=e.register(A),d=e.obj({Type:"Filespec",F:Vr.of(this.fileName),UF:Vt.fromText(this.fileName),EF:{F:u},Desc:a?Vt.fromText(a):void 0,AFRelationship:c??void 0}),r?(e.assign(r,d),[2,r]):[2,e.register(d)]})})},t}(),yD=[65472,65473,65474,65475,65477,65478,65479,65480,65481,65482,65483,65484,65485,65486,65487],H0;(function(t){t.DeviceGray="DeviceGray",t.DeviceRGB="DeviceRGB",t.DeviceCMYK="DeviceCMYK"})(H0||(H0={}));var A0e={1:H0.DeviceGray,3:H0.DeviceRGB,4:H0.DeviceCMYK},nz=function(){function t(e,r,n,i,a){this.imageData=e,this.bitsPerComponent=r,this.width=n,this.height=i,this.colorSpace=a}return t.for=function(e){return lr(this,void 0,void 0,function(){var r,n,i,a,s,o,c,A,u,d;return cr(this,function(f){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&&(a=r.getUint16(i),i+=2,!yD.includes(a));)i+=r.getUint16(i);if(!yD.includes(a))throw new Error("Invalid JPEG");if(i+=2,s=r.getUint8(i++),o=r.getUint16(i),i+=2,c=r.getUint16(i),i+=2,A=r.getUint8(i++),u=A0e[A],!u)throw new Error("Unknown JPEG channel.");return d=u,[2,new t(e,s,c,o,d)]})})},t.prototype.embedIntoContext=function(e,r){return lr(this,void 0,void 0,function(){var n;return cr(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===H0.DeviceCMYK?[1,0,1,0,1,0,1,0]:void 0}),r?(e.assign(r,n),[2,r]):[2,e.register(n)]})})},t}(),nt={};nt.toRGBA8=function(t){var e=t.width,r=t.height;if(t.tabs.acTL==null)return[nt.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,a=new Uint8Array(i),s=new Uint8Array(i),o=new Uint8Array(i),c=0;c<t.frames.length;c++){var A=t.frames[c],u=A.rect.x,d=A.rect.y,f=A.rect.width,h=A.rect.height,m=nt.toRGBA8.decodeImage(A.data,f,h,t);if(c!=0)for(var p=0;p<i;p++)o[p]=a[p];if(A.blend==0?nt._copyTile(m,f,h,a,e,r,u,d,0):A.blend==1&&nt._copyTile(m,f,h,a,e,r,u,d,1),n.push(a.buffer.slice(0)),A.dispose!=0){if(A.dispose==1)nt._copyTile(s,f,h,a,e,r,u,d,0);else if(A.dispose==2)for(var p=0;p<i;p++)a[p]=o[p]}}return n};nt.toRGBA8.decodeImage=function(t,e,r,n){var i=e*r,a=nt.decode._getBPP(n),s=Math.ceil(e*a/8),o=new Uint8Array(i*4),c=new Uint32Array(o.buffer),A=n.ctype,u=n.depth,d=nt._bin.readUshort;if(A==6){var f=i<<2;if(u==8)for(var h=0;h<f;h+=4)o[h]=t[h],o[h+1]=t[h+1],o[h+2]=t[h+2],o[h+3]=t[h+3];if(u==16)for(var h=0;h<f;h++)o[h]=t[h<<1]}else if(A==2){var m=n.tabs.tRNS;if(m==null){if(u==8)for(var h=0;h<i;h++){var p=h*3;c[h]=255<<24|t[p+2]<<16|t[p+1]<<8|t[p]}if(u==16)for(var h=0;h<i;h++){var p=h*6;c[h]=255<<24|t[p+4]<<16|t[p+2]<<8|t[p]}}else{var x=m[0],v=m[1],y=m[2];if(u==8)for(var h=0;h<i;h++){var b=h<<2,p=h*3;c[h]=255<<24|t[p+2]<<16|t[p+1]<<8|t[p],t[p]==x&&t[p+1]==v&&t[p+2]==y&&(o[b+3]=0)}if(u==16)for(var h=0;h<i;h++){var b=h<<2,p=h*6;c[h]=255<<24|t[p+4]<<16|t[p+2]<<8|t[p],d(t,p)==x&&d(t,p+2)==v&&d(t,p+4)==y&&(o[b+3]=0)}}}else if(A==3){var E=n.tabs.PLTE,S=n.tabs.tRNS,I=S?S.length:0;if(u==1)for(var B=0;B<r;B++)for(var _=B*s,O=B*e,h=0;h<e;h++){var b=O+h<<2,j=t[_+(h>>3)]>>7-((h&7)<<0)&1,T=3*j;o[b]=E[T],o[b+1]=E[T+1],o[b+2]=E[T+2],o[b+3]=j<I?S[j]:255}if(u==2)for(var B=0;B<r;B++)for(var _=B*s,O=B*e,h=0;h<e;h++){var b=O+h<<2,j=t[_+(h>>2)]>>6-((h&3)<<1)&3,T=3*j;o[b]=E[T],o[b+1]=E[T+1],o[b+2]=E[T+2],o[b+3]=j<I?S[j]:255}if(u==4)for(var B=0;B<r;B++)for(var _=B*s,O=B*e,h=0;h<e;h++){var b=O+h<<2,j=t[_+(h>>1)]>>4-((h&1)<<2)&15,T=3*j;o[b]=E[T],o[b+1]=E[T+1],o[b+2]=E[T+2],o[b+3]=j<I?S[j]:255}if(u==8)for(var h=0;h<i;h++){var b=h<<2,j=t[h],T=3*j;o[b]=E[T],o[b+1]=E[T+1],o[b+2]=E[T+2],o[b+3]=j<I?S[j]:255}}else if(A==4){if(u==8)for(var h=0;h<i;h++){var b=h<<2,P=h<<1,L=t[P];o[b]=L,o[b+1]=L,o[b+2]=L,o[b+3]=t[P+1]}if(u==16)for(var h=0;h<i;h++){var b=h<<2,P=h<<2,L=t[P];o[b]=L,o[b+1]=L,o[b+2]=L,o[b+3]=t[P+2]}}else if(A==0)for(var x=n.tabs.tRNS?n.tabs.tRNS:-1,B=0;B<r;B++){var K=B*s,le=B*e;if(u==1)for(var ne=0;ne<e;ne++){var L=255*(t[K+(ne>>>3)]>>>7-(ne&7)&1),fe=L==x*255?0:255;c[le+ne]=fe<<24|L<<16|L<<8|L}else if(u==2)for(var ne=0;ne<e;ne++){var L=85*(t[K+(ne>>>2)]>>>6-((ne&3)<<1)&3),fe=L==x*85?0:255;c[le+ne]=fe<<24|L<<16|L<<8|L}else if(u==4)for(var ne=0;ne<e;ne++){var L=17*(t[K+(ne>>>1)]>>>4-((ne&1)<<2)&15),fe=L==x*17?0:255;c[le+ne]=fe<<24|L<<16|L<<8|L}else if(u==8)for(var ne=0;ne<e;ne++){var L=t[K+ne],fe=L==x?0:255;c[le+ne]=fe<<24|L<<16|L<<8|L}else if(u==16)for(var ne=0;ne<e;ne++){var L=t[K+(ne<<1)],fe=d(t,K+(ne<<h))==x?0:255;c[le+ne]=fe<<24|L<<16|L<<8|L}}return o};nt.decode=function(t){for(var e=new Uint8Array(t),r=8,n=nt._bin,i=n.readUshort,a=n.readUint,s={tabs:{},frames:[]},o=new Uint8Array(e.length),c=0,A,u=0,d=[137,80,78,71,13,10,26,10],f=0;f<8;f++)if(e[f]!=d[f])throw"The input is not a PNG file!";for(;r<e.length;){var h=n.readUint(e,r);r+=4;var m=n.readASCII(e,r,4);if(r+=4,m=="IHDR")nt.decode._IHDR(e,r,s);else if(m=="IDAT"){for(var f=0;f<h;f++)o[c+f]=e[r+f];c+=h}else if(m=="acTL")s.tabs[m]={num_frames:a(e,r),num_plays:a(e,r+4)},A=new Uint8Array(e.length);else if(m=="fcTL"){if(u!=0){var p=s.frames[s.frames.length-1];p.data=nt.decode._decompress(s,A.slice(0,u),p.rect.width,p.rect.height),u=0}var x={x:a(e,r+12),y:a(e,r+16),width:a(e,r+4),height:a(e,r+8)},v=i(e,r+22);v=i(e,r+20)/(v==0?100:v);var y={rect:x,delay:Math.round(v*1e3),dispose:e[r+24],blend:e[r+25]};s.frames.push(y)}else if(m=="fdAT"){for(var f=0;f<h-4;f++)A[u+f]=e[r+f+4];u+=h-4}else if(m=="pHYs")s.tabs[m]=[n.readUint(e,r),n.readUint(e,r+4),e[r+8]];else if(m=="cHRM"){s.tabs[m]=[];for(var f=0;f<8;f++)s.tabs[m].push(n.readUint(e,r+f*4))}else if(m=="tEXt"){s.tabs[m]==null&&(s.tabs[m]={});var b=n.nextZero(e,r),E=n.readASCII(e,r,b-r),S=n.readASCII(e,b+1,r+h-b-1);s.tabs[m][E]=S}else if(m=="iTXt"){s.tabs[m]==null&&(s.tabs[m]={});var b=0,I=r;b=n.nextZero(e,I);var E=n.readASCII(e,I,b-I);I=b+1,e[I],e[I+1],I+=2,b=n.nextZero(e,I),n.readASCII(e,I,b-I),I=b+1,b=n.nextZero(e,I),n.readUTF8(e,I,b-I),I=b+1;var S=n.readUTF8(e,I,h-(I-r));s.tabs[m][E]=S}else if(m=="PLTE")s.tabs[m]=n.readBytes(e,r,h);else if(m=="hIST"){var B=s.tabs.PLTE.length/3;s.tabs[m]=[];for(var f=0;f<B;f++)s.tabs[m].push(i(e,r+f*2))}else if(m=="tRNS")s.ctype==3?s.tabs[m]=n.readBytes(e,r,h):s.ctype==0?s.tabs[m]=i(e,r):s.ctype==2&&(s.tabs[m]=[i(e,r),i(e,r+2),i(e,r+4)]);else if(m=="gAMA")s.tabs[m]=n.readUint(e,r)/1e5;else if(m=="sRGB")s.tabs[m]=e[r];else if(m=="bKGD")s.ctype==0||s.ctype==4?s.tabs[m]=[i(e,r)]:s.ctype==2||s.ctype==6?s.tabs[m]=[i(e,r),i(e,r+2),i(e,r+4)]:s.ctype==3&&(s.tabs[m]=e[r]);else if(m=="IEND")break;r+=h,n.readUint(e,r),r+=4}if(u!=0){var p=s.frames[s.frames.length-1];p.data=nt.decode._decompress(s,A.slice(0,u),p.rect.width,p.rect.height),u=0}return s.data=nt.decode._decompress(s,o,s.width,s.height),delete s.compress,delete s.interlace,delete s.filter,s};nt.decode._decompress=function(t,e,r,n){var i=nt.decode._getBPP(t),a=Math.ceil(r*i/8),s=new Uint8Array((a+1+t.interlace)*n);return e=nt.decode._inflate(e,s),t.interlace==0?e=nt.decode._filterZero(e,t,0,r,n):t.interlace==1&&(e=nt.decode._readInterlace(e,t)),e};nt.decode._inflate=function(t,e){var r=nt.inflateRaw(new Uint8Array(t.buffer,2,t.length-6),e);return r};nt.inflateRaw=function(){var t={};return t.H={},t.H.N=function(e,r){var n=Uint8Array,i=0,a=0,s=0,o=0,c=0,A=0,u=0,d=0,f=0,h,m;if(e[0]==3&&e[1]==0)return r||new n(0);var p=t.H,x=p.b,v=p.e,y=p.R,b=p.n,E=p.A,S=p.Z,I=p.m,B=r==null;for(B&&(r=new n(e.length>>>2<<3));i==0;){if(i=x(e,f,1),a=x(e,f+1,2),f+=3,a==0){f&7&&(f+=8-(f&7));var _=(f>>>3)+4,O=e[_-4]|e[_-3]<<8;B&&(r=t.H.W(r,d+O)),r.set(new n(e.buffer,e.byteOffset+_,O),d),f=_+O<<3,d+=O;continue}if(B&&(r=t.H.W(r,d+(1<<17))),a==1&&(h=I.J,m=I.h,A=511,u=31),a==2){s=v(e,f,5)+257,o=v(e,f+5,5)+1,c=v(e,f+10,4)+4,f+=14;for(var j=1,T=0;T<38;T+=2)I.Q[T]=0,I.Q[T+1]=0;for(var T=0;T<c;T++){var P=v(e,f+T*3,3);I.Q[(I.X[T]<<1)+1]=P,P>j&&(j=P)}f+=3*c,b(I.Q,j),E(I.Q,j,I.u),h=I.w,m=I.d,f=y(I.u,(1<<j)-1,s+o,e,f,I.v);var L=p.V(I.v,0,s,I.C);A=(1<<L)-1;var K=p.V(I.v,s,o,I.D);u=(1<<K)-1,b(I.C,L),E(I.C,L,h),b(I.D,K),E(I.D,K,m)}for(;;){var le=h[S(e,f)&A];f+=le&15;var ne=le>>>4;if(!(ne>>>8))r[d++]=ne;else{if(ne==256)break;var fe=d+ne-254;if(ne>264){var te=I.q[ne-257];fe=d+(te>>>3)+v(e,f,te&7),f+=te&7}var he=m[S(e,f)&u];f+=he&15;var ce=he>>>4,Ne=I.c[ce],F=(Ne>>>4)+x(e,f,Ne&15);for(f+=Ne&15;d<fe;)r[d]=r[d++-F],r[d]=r[d++-F],r[d]=r[d++-F],r[d]=r[d++-F];d=fe}}}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,a,s){for(var o=t.H.e,c=t.H.Z,A=0;A<n;){var u=e[c(i,a)&r];a+=u&15;var d=u>>>4;if(d<=15)s[A]=d,A++;else{var f=0,h=0;d==16?(h=3+o(i,a,2),a+=2,f=s[A-1]):d==17?(h=3+o(i,a,3),a+=3):d==18&&(h=11+o(i,a,7),a+=7);for(var m=A+h;A<m;)s[A]=f,A++}}return a},t.H.V=function(e,r,n,i){for(var a=0,s=0,o=i.length>>>1;s<n;){var c=e[s+r];i[s<<1]=0,i[(s<<1)+1]=c,c>a&&(a=c),s++}for(;s<o;)i[s<<1]=0,i[(s<<1)+1]=0,s++;return a},t.H.n=function(e,r){for(var n=t.H.m,i=e.length,a,s,o,c,A,u=n.j,c=0;c<=r;c++)u[c]=0;for(c=1;c<i;c+=2)u[e[c]]++;var d=n.K;for(a=0,u[0]=0,s=1;s<=r;s++)a=a+u[s-1]<<1,d[s]=a;for(o=0;o<i;o+=2)A=e[o+1],A!=0&&(e[o]=d[A],d[A]++)},t.H.A=function(e,r,n){for(var i=e.length,a=t.H.m,s=a.r,o=0;o<i;o+=2)if(e[o+1]!=0)for(var c=o>>1,A=e[o+1],u=c<<4|A,d=r-A,f=e[o]<<d,h=f+(1<<d);f!=h;){var m=s[f]>>>15-r;n[m]=u,f++}},t.H.l=function(e,r){for(var n=t.H.m.r,i=15-r,a=0;a<e.length;a+=2){var s=e[a]<<r-e[a+1];e[a]=n[s]>>>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 a(s,o,c){for(;o--!=0;)s.push(0,c)}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];a(e._,144,8),a(e._,112,9),a(e._,24,7),a(e._,8,8),t.H.n(e._,9),t.H.A(e._,9,e.J),t.H.l(e._,9),a(e.$,32,5),t.H.n(e.$,5),t.H.A(e.$,5,e.h),t.H.l(e.$,5),a(e.Q,19,0),a(e.C,286,0),a(e.D,30,0),a(e.v,320,0)}(),t.H.N}();nt.decode._readInterlace=function(t,e){for(var r=e.width,n=e.height,i=nt.decode._getBPP(e),a=i>>3,s=Math.ceil(r*i/8),o=new Uint8Array(n*s),c=0,A=[0,0,4,0,2,0,1],u=[0,4,0,2,0,1,0],d=[8,8,8,4,4,2,2],f=[8,8,4,4,2,2,1],h=0;h<7;){for(var m=d[h],p=f[h],x=0,v=0,y=A[h];y<n;)y+=m,v++;for(var b=u[h];b<r;)b+=p,x++;var E=Math.ceil(x*i/8);nt.decode._filterZero(t,e,c,x,v);for(var S=0,I=A[h];I<n;){for(var B=u[h],_=c+S*E<<3;B<r;){if(i==1){var O=t[_>>3];O=O>>7-(_&7)&1,o[I*s+(B>>3)]|=O<<7-((B&7)<<0)}if(i==2){var O=t[_>>3];O=O>>6-(_&7)&3,o[I*s+(B>>2)]|=O<<6-((B&3)<<1)}if(i==4){var O=t[_>>3];O=O>>4-(_&7)&15,o[I*s+(B>>1)]|=O<<4-((B&1)<<2)}if(i>=8)for(var j=I*s+B*a,T=0;T<a;T++)o[j+T]=t[(_>>3)+T];_+=i,B+=p}S++,I+=m}x*v!=0&&(c+=v*(1+E)),h=h+1}return o};nt.decode._getBPP=function(t){var e=[1,null,3,1,2,null,4][t.ctype];return e*t.depth};nt.decode._filterZero=function(t,e,r,n,i){var a=nt.decode._getBPP(e),s=Math.ceil(n*a/8),o=nt.decode._paeth;a=Math.ceil(a/8);var c=0,A=1,u=t[r],d=0;if(u>1&&(t[r]=[0,0,1][u-2]),u==3)for(d=a;d<s;d++)t[d+1]=t[d+1]+(t[d+1-a]>>>1)&255;for(var f=0;f<i;f++)if(c=r+f*s,A=c+f+1,u=t[A-1],d=0,u==0)for(;d<s;d++)t[c+d]=t[A+d];else if(u==1){for(;d<a;d++)t[c+d]=t[A+d];for(;d<s;d++)t[c+d]=t[A+d]+t[c+d-a]}else if(u==2)for(;d<s;d++)t[c+d]=t[A+d]+t[c+d-s];else if(u==3){for(;d<a;d++)t[c+d]=t[A+d]+(t[c+d-s]>>>1);for(;d<s;d++)t[c+d]=t[A+d]+(t[c+d-s]+t[c+d-a]>>>1)}else{for(;d<a;d++)t[c+d]=t[A+d]+o(0,t[c+d-s],0);for(;d<s;d++)t[c+d]=t[A+d]+o(t[c+d-a],t[c+d-s],t[c+d-a-s])}return t};nt.decode._paeth=function(t,e,r){var n=t+e-r,i=n-t,a=n-e,s=n-r;return i*i<=a*a&&i*i<=s*s?t:a*a<=s*s?e:r};nt.decode._IHDR=function(t,e,r){var n=nt._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++};nt._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,a=0;a<r;a++)n+="%"+nt._bin.pad(t[e+a].toString(16));try{i=decodeURIComponent(n)}catch{return nt._bin.readASCII(t,e,r)}return i}};nt._copyTile=function(t,e,r,n,i,a,s,o,c){for(var A=Math.min(e,i),u=Math.min(r,a),d=0,f=0,h=0;h<u;h++)for(var m=0;m<A;m++)if(s>=0&&o>=0?(d=h*e+m<<2,f=(o+h)*i+s+m<<2):(d=(-o+h)*e-s+m<<2,f=h*i+m<<2),c==0)n[f]=t[d],n[f+1]=t[d+1],n[f+2]=t[d+2],n[f+3]=t[d+3];else if(c==1){var p=t[d+3]*.00392156862745098,x=t[d]*p,v=t[d+1]*p,y=t[d+2]*p,b=n[f+3]*(1/255),E=n[f]*b,S=n[f+1]*b,I=n[f+2]*b,B=1-p,_=p+b*B,O=_==0?0:1/_;n[f+3]=255*_,n[f+0]=(x+E*B)*O,n[f+1]=(v+S*B)*O,n[f+2]=(y+I*B)*O}else if(c==2){var p=t[d+3],x=t[d],v=t[d+1],y=t[d+2],b=n[f+3],E=n[f],S=n[f+1],I=n[f+2];p==b&&x==E&&v==S&&y==I?(n[f]=0,n[f+1]=0,n[f+2]=0,n[f+3]=0):(n[f]=x,n[f+1]=v,n[f+2]=y,n[f+3]=p)}else if(c==3){var p=t[d+3],x=t[d],v=t[d+1],y=t[d+2],b=n[f+3],E=n[f],S=n[f+1],I=n[f+2];if(p==b&&x==E&&v==S&&y==I)continue;if(p<220&&b>20)return!1}return!0};nt.encode=function(t,e,r,n,i,a,s){n==null&&(n=0),s==null&&(s=!1);var o=nt.encode.compress(t,e,r,n,[!1,!1,!1,0,s]);return nt.encode.compressPNG(o,-1),nt.encode._main(o,e,r,i,a)};nt.encodeLL=function(t,e,r,n,i,a,s,o){for(var c={ctype:0+(n==1?0:2)+(i==0?0:4),depth:a,frames:[]},A=(n+i)*a,u=A*e,d=0;d<t.length;d++)c.frames.push({rect:{x:0,y:0,width:e,height:r},img:new Uint8Array(t[d]),blend:0,dispose:1,bpp:Math.ceil(A/8),bpl:Math.ceil(u/8)});nt.encode.compressPNG(c,0,!0);var f=nt.encode._main(c,e,r,s,o);return f};nt.encode._main=function(t,e,r,n,i){i==null&&(i={});var a=nt.crc.crc,s=nt._bin.writeUint,o=nt._bin.writeUshort,c=nt._bin.writeASCII,A=8,u=t.frames.length>1,d=!1,f=33+(u?20:0);if(i.sRGB!=null&&(f+=13),i.pHYs!=null&&(f+=21),t.ctype==3){for(var h=t.plte.length,m=0;m<h;m++)t.plte[m]>>>24!=255&&(d=!0);f+=8+h*3+4+(d?8+h*1+4:0)}for(var p=0;p<t.frames.length;p++){var x=t.frames[p];u&&(f+=38),f+=x.cimg.length+12,p!=0&&(f+=4)}f+=12;for(var v=new Uint8Array(f),y=[137,80,78,71,13,10,26,10],m=0;m<8;m++)v[m]=y[m];if(s(v,A,13),A+=4,c(v,A,"IHDR"),A+=4,s(v,A,e),A+=4,s(v,A,r),A+=4,v[A]=t.depth,A++,v[A]=t.ctype,A++,v[A]=0,A++,v[A]=0,A++,v[A]=0,A++,s(v,A,a(v,A-17,17)),A+=4,i.sRGB!=null&&(s(v,A,1),A+=4,c(v,A,"sRGB"),A+=4,v[A]=i.sRGB,A++,s(v,A,a(v,A-5,5)),A+=4),i.pHYs!=null&&(s(v,A,9),A+=4,c(v,A,"pHYs"),A+=4,s(v,A,i.pHYs[0]),A+=4,s(v,A,i.pHYs[1]),A+=4,v[A]=i.pHYs[2],A++,s(v,A,a(v,A-13,13)),A+=4),u&&(s(v,A,8),A+=4,c(v,A,"acTL"),A+=4,s(v,A,t.frames.length),A+=4,s(v,A,i.loop!=null?i.loop:0),A+=4,s(v,A,a(v,A-12,12)),A+=4),t.ctype==3){var h=t.plte.length;s(v,A,h*3),A+=4,c(v,A,"PLTE"),A+=4;for(var m=0;m<h;m++){var b=m*3,E=t.plte[m],S=E&255,I=E>>>8&255,B=E>>>16&255;v[A+b+0]=S,v[A+b+1]=I,v[A+b+2]=B}if(A+=h*3,s(v,A,a(v,A-h*3-4,h*3+4)),A+=4,d){s(v,A,h),A+=4,c(v,A,"tRNS"),A+=4;for(var m=0;m<h;m++)v[A+m]=t.plte[m]>>>24&255;A+=h,s(v,A,a(v,A-h-4,h+4)),A+=4}}for(var _=0,p=0;p<t.frames.length;p++){var x=t.frames[p];u&&(s(v,A,26),A+=4,c(v,A,"fcTL"),A+=4,s(v,A,_++),A+=4,s(v,A,x.rect.width),A+=4,s(v,A,x.rect.height),A+=4,s(v,A,x.rect.x),A+=4,s(v,A,x.rect.y),A+=4,o(v,A,n[p]),A+=2,o(v,A,1e3),A+=2,v[A]=x.dispose,A++,v[A]=x.blend,A++,s(v,A,a(v,A-30,30)),A+=4);var O=x.cimg,h=O.length;s(v,A,h+(p==0?0:4)),A+=4;var j=A;c(v,A,p==0?"IDAT":"fdAT"),A+=4,p!=0&&(s(v,A,_++),A+=4),v.set(O,A),A+=h,s(v,A,a(v,j,A-j)),A+=4}return s(v,A,0),A+=4,c(v,A,"IEND"),A+=4,s(v,A,a(v,A-4,4)),A+=4,v.buffer};nt.encode.compressPNG=function(t,e,r){for(var n=0;n<t.frames.length;n++){var i=t.frames[n];i.rect.width;var a=i.rect.height,s=new Uint8Array(a*i.bpl+a);i.cimg=nt.encode._filterZero(i.img,a,i.bpp,i.bpl,s,e,r)}};nt.encode.compress=function(t,e,r,n,i){for(var a=i[0],s=i[1],o=i[2],c=i[3],A=i[4],u=6,d=8,f=255,h=0;h<t.length;h++)for(var m=new Uint8Array(t[h]),p=m.length,x=0;x<p;x+=4)f&=m[x+3];var v=f!=255,y=nt.encode.framize(t,e,r,a,s,o),b={},E=[],S=[];if(n!=0){for(var I=[],x=0;x<y.length;x++)I.push(y[x].img.buffer);for(var B=nt.encode.concatRGBA(I),_=nt.quantize(B,n),O=0,j=new Uint8Array(_.abuf),x=0;x<y.length;x++){var T=y[x].img,P=T.length;S.push(new Uint8Array(_.inds.buffer,O>>2,P>>2));for(var h=0;h<P;h+=4)T[h]=j[O+h],T[h+1]=j[O+h+1],T[h+2]=j[O+h+2],T[h+3]=j[O+h+3];O+=P}for(var x=0;x<_.plte.length;x++)E.push(_.plte[x].est.rgba)}else for(var h=0;h<y.length;h++){var L=y[h],K=new Uint32Array(L.img.buffer),le=L.rect.width,p=K.length,ne=new Uint8Array(p);S.push(ne);for(var x=0;x<p;x++){var fe=K[x];if(x!=0&&fe==K[x-1])ne[x]=ne[x-1];else if(x>le&&fe==K[x-le])ne[x]=ne[x-le];else{var te=b[fe];if(te==null&&(b[fe]=te=E.length,E.push(fe),E.length>=300))break;ne[x]=te}}}var he=E.length;he<=256&&A==!1&&(he<=2?d=1:he<=4?d=2:he<=16?d=4:d=8,d=Math.max(d,c));for(var h=0;h<y.length;h++){var L=y[h];L.rect.x,L.rect.y;var le=L.rect.width,ce=L.rect.height,Ne=L.img;new Uint32Array(Ne.buffer);var F=4*le,U=4;if(he<=256&&A==!1){F=Math.ceil(d*le/8);for(var R=new Uint8Array(F*ce),M=S[h],J=0;J<ce;J++){var x=J*F,ue=J*le;if(d==8)for(var de=0;de<le;de++)R[x+de]=M[ue+de];else if(d==4)for(var de=0;de<le;de++)R[x+(de>>1)]|=M[ue+de]<<4-(de&1)*4;else if(d==2)for(var de=0;de<le;de++)R[x+(de>>2)]|=M[ue+de]<<6-(de&3)*2;else if(d==1)for(var de=0;de<le;de++)R[x+(de>>3)]|=M[ue+de]<<7-(de&7)*1}Ne=R,u=3,U=1}else if(v==!1&&y.length==1){for(var R=new Uint8Array(le*ce*3),pe=le*ce,x=0;x<pe;x++){var T=x*3,be=x*4;R[T]=Ne[be],R[T+1]=Ne[be+1],R[T+2]=Ne[be+2]}Ne=R,u=2,U=3,F=3*le}L.img=Ne,L.bpl=F,L.bpp=U}return{ctype:u,depth:d,plte:E,frames:y}};nt.encode.framize=function(t,e,r,n,i,a){for(var s=[],o=0;o<t.length;o++){var c=new Uint8Array(t[o]),A=new Uint32Array(c.buffer),u,d=0,f=0,h=e,m=r,p=n?1:0;if(o!=0){for(var x=a||n||o==1||s[o-2].dispose!=0?1:2,v=0,y=1e9,b=0;b<x;b++){for(var L=new Uint8Array(t[o-1-b]),E=new Uint32Array(t[o-1-b]),S=e,I=r,B=-1,_=-1,O=0;O<r;O++)for(var j=0;j<e;j++){var T=O*e+j;A[T]!=E[T]&&(j<S&&(S=j),j>B&&(B=j),O<I&&(I=O),O>_&&(_=O))}B==-1&&(S=I=B=_=0),i&&((S&1)==1&&S--,(I&1)==1&&I--);var P=(B-S+1)*(_-I+1);P<y&&(y=P,v=b,d=S,f=I,h=B-S+1,m=_-I+1)}var L=new Uint8Array(t[o-1-v]);v==1&&(s[o-1].dispose=2),u=new Uint8Array(h*m*4),nt._copyTile(L,e,r,u,h,m,-d,-f,0),p=nt._copyTile(c,e,r,u,h,m,-d,-f,3)?1:0,p==1?nt.encode._prepareDiff(c,e,r,u,{x:d,y:f,width:h,height:m}):nt._copyTile(c,e,r,u,h,m,-d,-f,0)}else u=c.slice(0);s.push({rect:{x:d,y:f,width:h,height:m},img:u,blend:p,dispose:0})}if(n)for(var o=0;o<s.length;o++){var K=s[o];if(K.blend!=1){var le=K.rect,ne=s[o-1].rect,fe=Math.min(le.x,ne.x),te=Math.min(le.y,ne.y),he=Math.max(le.x+le.width,ne.x+ne.width),ce=Math.max(le.y+le.height,ne.y+ne.height),Ne={x:fe,y:te,width:he-fe,height:ce-te};s[o-1].dispose=1,o-1!=0&&nt.encode._updateFrame(t,e,r,s,o-1,Ne,i),nt.encode._updateFrame(t,e,r,s,o,Ne,i)}}var F=0;if(t.length!=1)for(var T=0;T<s.length;T++){var K=s[T];F+=K.rect.width*K.rect.height}return s};nt.encode._updateFrame=function(t,e,r,n,i,a,s){for(var o=Uint8Array,c=Uint32Array,A=new o(t[i-1]),u=new c(t[i-1]),d=i+1<t.length?new o(t[i+1]):null,f=new o(t[i]),h=new c(f.buffer),m=e,p=r,x=-1,v=-1,y=0;y<a.height;y++)for(var b=0;b<a.width;b++){var E=a.x+b,S=a.y+y,I=S*e+E,B=h[I];B==0||n[i-1].dispose==0&&u[I]==B&&(d==null||d[I*4+3]!=0)||(E<m&&(m=E),E>x&&(x=E),S<p&&(p=S),S>v&&(v=S))}x==-1&&(m=p=x=v=0),s&&((m&1)==1&&m--,(p&1)==1&&p--),a={x:m,y:p,width:x-m+1,height:v-p+1};var _=n[i];_.rect=a,_.blend=1,_.img=new Uint8Array(a.width*a.height*4),n[i-1].dispose==0?(nt._copyTile(A,e,r,_.img,a.width,a.height,-a.x,-a.y,0),nt.encode._prepareDiff(f,e,r,_.img,a)):nt._copyTile(f,e,r,_.img,a.width,a.height,-a.x,-a.y,0)};nt.encode._prepareDiff=function(t,e,r,n,i){nt._copyTile(t,e,r,n,i.width,i.height,-i.x,-i.y,2)};nt.encode._filterZero=function(t,e,r,n,i,a,s){var o=[],c=[0,1,2,3,4];a!=-1?c=[a]:(e*n>5e5||r==1)&&(c=[0]);var A;s&&(A={level:0});for(var u=s&&UZIP!=null?UZIP:u5,d=0;d<c.length;d++){for(var f=0;f<e;f++)nt.encode._filterLine(i,t,f,n,r,c[d]);o.push(u.deflate(i,A))}for(var h,m=1e9,d=0;d<o.length;d++)o[d].length<m&&(h=d,m=o[d].length);return o[h]};nt.encode._filterLine=function(t,e,r,n,i,a){var s=r*n,o=s+r,c=nt.decode._paeth;if(t[o]=a,o++,a==0)if(n<500)for(var A=0;A<n;A++)t[o+A]=e[s+A];else t.set(new Uint8Array(e.buffer,s,n),o);else if(a==1){for(var A=0;A<i;A++)t[o+A]=e[s+A];for(var A=i;A<n;A++)t[o+A]=e[s+A]-e[s+A-i]+256&255}else if(r==0){for(var A=0;A<i;A++)t[o+A]=e[s+A];if(a==2)for(var A=i;A<n;A++)t[o+A]=e[s+A];if(a==3)for(var A=i;A<n;A++)t[o+A]=e[s+A]-(e[s+A-i]>>1)+256&255;if(a==4)for(var A=i;A<n;A++)t[o+A]=e[s+A]-c(e[s+A-i],0,0)+256&255}else{if(a==2)for(var A=0;A<n;A++)t[o+A]=e[s+A]+256-e[s+A-n]&255;if(a==3){for(var A=0;A<i;A++)t[o+A]=e[s+A]+256-(e[s+A-n]>>1)&255;for(var A=i;A<n;A++)t[o+A]=e[s+A]+256-(e[s+A-n]+e[s+A-i]>>1)&255}if(a==4){for(var A=0;A<i;A++)t[o+A]=e[s+A]+256-c(0,e[s+A-n],0)&255;for(var A=i;A<n;A++)t[o+A]=e[s+A]+256-c(e[s+A-i],e[s+A-n],e[s+A-i-n])&255}}};nt.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=nt.crc.table[(t^e[r+i])&255]^t>>>8;return t},crc:function(t,e,r){return nt.crc.update(4294967295,t,e,r)^4294967295}};nt.quantize=function(t,e){var r=new Uint8Array(t),n=r.slice(0),i=new Uint32Array(n.buffer),a=nt.quantize.getKDtree(n,e),s=a[0],o=a[1];nt.quantize.planeDst;for(var c=r,A=i,u=c.length,d=new Uint8Array(r.length>>2),f=0;f<u;f+=4){var h=c[f]*.00392156862745098,m=c[f+1]*(1/255),p=c[f+2]*(1/255),x=c[f+3]*(1/255),v=nt.quantize.getNearest(s,h,m,p,x);d[f>>2]=v.ind,A[f>>2]=v.est.rgba}return{abuf:n.buffer,inds:d,plte:o}};nt.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=nt.quantize.stats(t,i.i0,i.i1),i.est=nt.quantize.estats(i.bst);for(var a=[i];a.length<e;){for(var s=0,o=0,c=0;c<a.length;c++)a[c].est.L>s&&(s=a[c].est.L,o=c);if(s<r)break;var A=a[o],u=nt.quantize.splitPixels(t,n,A.i0,A.i1,A.est.e,A.est.eMq255),d=A.i0>=u||A.i1<=u;if(d){A.est.L=0;continue}var f={i0:A.i0,i1:u,bst:null,est:null,tdst:0,left:null,right:null};f.bst=nt.quantize.stats(t,f.i0,f.i1),f.est=nt.quantize.estats(f.bst);var h={i0:u,i1:A.i1,bst:null,est:null,tdst:0,left:null,right:null};h.bst={R:[],m:[],N:A.bst.N-f.bst.N};for(var c=0;c<16;c++)h.bst.R[c]=A.bst.R[c]-f.bst.R[c];for(var c=0;c<4;c++)h.bst.m[c]=A.bst.m[c]-f.bst.m[c];h.est=nt.quantize.estats(h.bst),A.left=f,A.right=h,a[o]=f,a.push(h)}a.sort(function(m,p){return p.bst.N-m.bst.N});for(var c=0;c<a.length;c++)a[c].ind=c;return[i,a]};nt.quantize.getNearest=function(t,e,r,n,i){if(t.left==null)return t.tdst=nt.quantize.dist(t.est.q,e,r,n,i),t;var a=nt.quantize.planeDst(t.est,e,r,n,i),s=t.left,o=t.right;a>0&&(s=t.right,o=t.left);var c=nt.quantize.getNearest(s,e,r,n,i);if(c.tdst<=a*a)return c;var A=nt.quantize.getNearest(o,e,r,n,i);return A.tdst<c.tdst?A:c};nt.quantize.planeDst=function(t,e,r,n,i){var a=t.e;return a[0]*e+a[1]*r+a[2]*n+a[3]*i-t.eMq};nt.quantize.dist=function(t,e,r,n,i){var a=e-t[0],s=r-t[1],o=n-t[2],c=i-t[3];return a*a+s*s+o*o+c*c};nt.quantize.splitPixels=function(t,e,r,n,i,a){var s=nt.quantize.vecDot;for(n-=4;r<n;){for(;s(t,r,i)<=a;)r+=4;for(;s(t,n,i)>a;)n-=4;if(r>=n)break;var o=e[r>>2];e[r>>2]=e[n>>2],e[n>>2]=o,r+=4,n-=4}for(;s(t,r,i)>a;)r-=4;return r+4};nt.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]};nt.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],a=r-e>>2,s=e;s<r;s+=4){var o=t[s]*.00392156862745098,c=t[s+1]*(1/255),A=t[s+2]*(1/255),u=t[s+3]*(1/255);i[0]+=o,i[1]+=c,i[2]+=A,i[3]+=u,n[0]+=o*o,n[1]+=o*c,n[2]+=o*A,n[3]+=o*u,n[5]+=c*c,n[6]+=c*A,n[7]+=c*u,n[10]+=A*A,n[11]+=A*u,n[15]+=u*u}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:a}};nt.quantize.estats=function(t){var e=t.R,r=t.m,n=t.N,i=r[0],a=r[1],s=r[2],o=r[3],c=n==0?0:1/n,A=[e[0]-i*i*c,e[1]-i*a*c,e[2]-i*s*c,e[3]-i*o*c,e[4]-a*i*c,e[5]-a*a*c,e[6]-a*s*c,e[7]-a*o*c,e[8]-s*i*c,e[9]-s*a*c,e[10]-s*s*c,e[11]-s*o*c,e[12]-o*i*c,e[13]-o*a*c,e[14]-o*s*c,e[15]-o*o*c],u=A,d=nt.M4,f=[.5,.5,.5,.5],h=0,m=0;if(n!=0)for(var p=0;p<10&&(f=d.multVec(u,f),m=Math.sqrt(d.dot(f,f)),f=d.sml(1/m,f),!(Math.abs(m-h)<1e-9));p++)h=m;var x=[i*c,a*c,s*c,o*c],v=d.dot(d.sml(255,x),f);return{Cov:A,q:x,e:f,L:h,eMq255:v,eMq:d.dot(f,x),rgba:(Math.round(255*x[3])<<24|Math.round(255*x[2])<<16|Math.round(255*x[1])<<8|Math.round(255*x[0])<<0)>>>0}};nt.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]]}};nt.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 a=new Uint8Array(t[r]),s=a.length,o=0;o<s;o+=4){var c=a[o],A=a[o+1],u=a[o+2],d=a[o+3];d==0&&(c=A=u=0),n[i+o]=c,n[i+o+1]=A,n[i+o+2]=u,n[i+o+3]=d}i+=s}return n.buffer};var u0e=function(t){if(t===0)return Hd.Greyscale;if(t===2)return Hd.Truecolour;if(t===3)return Hd.IndexedColour;if(t===4)return Hd.GreyscaleWithAlpha;if(t===6)return Hd.TruecolourWithAlpha;throw new Error("Unknown color type: "+t)},d0e=function(t){for(var e=Math.floor(t.length/4),r=new Uint8Array(e*3),n=new Uint8Array(e*1),i=0,a=0,s=0;i<t.length;)r[a++]=t[i++],r[a++]=t[i++],r[a++]=t[i++],n[s++]=t[i++];return{rgbChannel:r,alphaChannel:n}},Hd;(function(t){t.Greyscale="Greyscale",t.Truecolour="Truecolour",t.IndexedColour="IndexedColour",t.GreyscaleWithAlpha="GreyscaleWithAlpha",t.TruecolourWithAlpha="TruecolourWithAlpha"})(Hd||(Hd={}));var h0e=function(){function t(e){var r=nt.decode(e),n=nt.toRGBA8(r);if(n.length>1)throw new Error("Animated PNGs are not supported");var i=new Uint8Array(n[0]),a=d0e(i),s=a.rgbChannel,o=a.alphaChannel;this.rgbChannel=s;var c=o.some(function(A){return A<255});c&&(this.alphaChannel=o),this.type=u0e(r.ctype),this.width=r.width,this.height=r.height,this.bitsPerComponent=8}return t.load=function(e){return new t(e)},t}(),iz=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 lr(this,void 0,void 0,function(){var r;return cr(this,function(n){return r=h0e.load(e),[2,new t(r)]})})},t.prototype.embedIntoContext=function(e,r){return lr(this,void 0,void 0,function(){var n,i;return cr(this,function(a){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}(),az=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,a=this.end;if(e){var o=i+e;o>a&&(o=a),this.pos=o;var s=n.subarray(i,o);return r?new Uint8ClampedArray(s):s}else{var s=n.subarray(i,a);return r?new Uint8ClampedArray(s):s}},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}(),f0e=new Uint8Array(0),X1=function(){function t(e){if(this.pos=0,this.bufferLength=0,this.eof=!1,this.buffer=f0e,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 a=this.bufferLength;n>a&&(n=a)}else{for(;!this.eof;)this.readBlock();n=this.bufferLength}this.pos=n;var s=this.buffer.subarray(i,n);return r&&!(s instanceof Uint8ClampedArray)?new Uint8ClampedArray(s):s},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 az(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 Do(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}(),wD=function(t){return t===32||t===9||t===13||t===10},p0e=function(t){ut(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,a=this.stream,s=a.getByte();wD(s);)s=a.getByte();if(s===i||s===r){this.eof=!0;return}var o=this.bufferLength,c,A;if(s===n){for(c=this.ensureBuffer(o+4),A=0;A<4;++A)c[o+A]=0;this.bufferLength+=4}else{var u=this.input;for(u[0]=s,A=1;A<5;++A){for(s=a.getByte();wD(s);)s=a.getByte();if(u[A]=s,s===i||s===r)break}if(c=this.ensureBuffer(o+A-1),this.bufferLength+=A-1,A<5){for(;A<5;++A)u[A]=117;this.eof=!0}var d=0;for(A=0;A<5;++A)d=d*85+(u[A]-33);for(A=3;A>=0;--A)c[o+A]=d&255,d>>=8}},e}(X1),m0e=function(t){ut(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,a=this.ensureBuffer(this.bufferLength+i),s=this.bufferLength,o=this.firstDigit,c=0,A=n.length;c<A;c++){var u=n[c],d=void 0;if(u>=48&&u<=57)d=u&15;else if(u>=65&&u<=70||u>=97&&u<=102)d=(u&15)+9;else if(u===62){this.eof=!0;break}else continue;o<0?o=d:(a[s++]=o<<4|d,o=-1)}o>=0&&this.eof&&(a[s++]=o<<4,o=-1),this.firstDigit=o,this.bufferLength=s},e}(X1),bD=new Int32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),g0e=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]),v0e=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]),x0e=[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],y0e=[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],w0e=function(t){ut(e,t);function e(r,n){var i=t.call(this,n)||this;i.stream=r;var a=r.getByte(),s=r.getByte();if(a===-1||s===-1)throw new Error("Invalid header in flate stream: "+a+", "+s);if((a&15)!==8)throw new Error("Unknown compression method in flate stream: "+a+", "+s);if(((a<<8)+s)%31!==0)throw new Error("Bad FCHECK in flate stream: "+a+", "+s);if(s&32)throw new Error("FDICT bit set in flate stream: "+a+", "+s);return i.codeSize=0,i.codeBuf=0,i}return e.prototype.readBlock=function(){var r,n,i=this.stream,a=this.getBits(3);if(a&1&&(this.eof=!0),a>>=1,a===0){var s=void 0;if((s=i.getByte())===-1)throw new Error("Bad block header in flate stream");var o=s;if((s=i.getByte())===-1)throw new Error("Bad block header in flate stream");if(o|=s<<8,(s=i.getByte())===-1)throw new Error("Bad block header in flate stream");var c=s;if((s=i.getByte())===-1)throw new Error("Bad block header in flate stream");if(c|=s<<8,c!==(~o&65535)&&(o!==0||c!==0))throw new Error("Bad uncompressed block length in flate stream");this.codeBuf=0,this.codeSize=0;var A=this.bufferLength;r=this.ensureBuffer(A+o);var u=A+o;if(this.bufferLength=u,o===0)i.peekByte()===-1&&(this.eof=!0);else for(var d=A;d<u;++d){if((s=i.getByte())===-1){this.eof=!0;break}r[d]=s}return}var f,h;if(a===1)f=x0e,h=y0e;else if(a===2){var m=this.getBits(5)+257,p=this.getBits(5)+1,x=this.getBits(4)+4,v=new Uint8Array(bD.length),y=void 0;for(y=0;y<x;++y)v[bD[y]]=this.getBits(3);var b=this.generateHuffmanTable(v);n=0,y=0;for(var E=m+p,S=new Uint8Array(E),I=void 0,B=void 0,_=void 0;y<E;){var O=this.getCode(b);if(O===16)I=2,B=3,_=n;else if(O===17)I=3,B=3,_=n=0;else if(O===18)I=7,B=11,_=n=0;else{S[y++]=n=O;continue}for(var j=this.getBits(I)+B;j-- >0;)S[y++]=_}f=this.generateHuffmanTable(S.subarray(0,m)),h=this.generateHuffmanTable(S.subarray(m,E))}else throw new Error("Unknown block type in flate stream");r=this.buffer;for(var T=r?r.length:0,P=this.bufferLength;;){var L=this.getCode(f);if(L<256){P+1>=T&&(r=this.ensureBuffer(P+1),T=r.length),r[P++]=L;continue}if(L===256){this.bufferLength=P;return}L-=257,L=g0e[L];var K=L>>16;K>0&&(K=this.getBits(K)),n=(L&65535)+K,L=this.getCode(h),L=v0e[L],K=L>>16,K>0&&(K=this.getBits(K));var le=(L&65535)+K;P+n>=T&&(r=this.ensureBuffer(P+n),T=r.length);for(var ne=0;ne<n;++ne,++P)r[P]=r[P-le]}},e.prototype.getBits=function(r){for(var n=this.stream,i=this.codeSize,a=this.codeBuf,s;i<r;){if((s=n.getByte())===-1)throw new Error("Bad encoding in flate stream");a|=s<<i,i+=8}return s=a&(1<<r)-1,this.codeBuf=a>>r,this.codeSize=i-=r,s},e.prototype.getCode=function(r){for(var n=this.stream,i=r[0],a=r[1],s=this.codeSize,o=this.codeBuf,c;s<a&&(c=n.getByte())!==-1;)o|=c<<s,s+=8;var A=i[o&(1<<a)-1];typeof i=="number"&&console.log("FLATE:",A);var u=A>>16,d=A&65535;if(u<1||s<u)throw new Error("Bad encoding in flate stream");return this.codeBuf=o>>u,this.codeSize=s-u,d},e.prototype.generateHuffmanTable=function(r){var n=r.length,i=0,a;for(a=0;a<n;++a)r[a]>i&&(i=r[a]);for(var s=1<<i,o=new Int32Array(s),c=1,A=0,u=2;c<=i;++c,A<<=1,u<<=1)for(var d=0;d<n;++d)if(r[d]===c){var f=0,h=A;for(a=0;a<c;++a)f=f<<1|h&1,h>>=1;for(a=f;a<s;a+=u)o[a]=c<<16|d;++A}return[o,i]},e}(X1),b0e=function(t){ut(e,t);function e(r,n,i){var a=t.call(this,n)||this;a.stream=r,a.cachedData=0,a.bitsCached=0;for(var s=4096,o={earlyChange:i,codeLength:9,nextCode:258,dictionaryValues:new Uint8Array(s),dictionaryLengths:new Uint16Array(s),dictionaryPrevCodes:new Uint16Array(s),currentSequence:new Uint8Array(s),currentSequenceLength:0},c=0;c<256;++c)o.dictionaryValues[c]=c,o.dictionaryLengths[c]=1;return a.lzwState=o,a}return e.prototype.readBlock=function(){var r=512,n=r*2,i=r,a,s,o,c=this.lzwState;if(c){var A=c.earlyChange,u=c.nextCode,d=c.dictionaryValues,f=c.dictionaryLengths,h=c.dictionaryPrevCodes,m=c.codeLength,p=c.prevCode,x=c.currentSequence,v=c.currentSequenceLength,y=0,b=this.bufferLength,E=this.ensureBuffer(this.bufferLength+n);for(a=0;a<r;a++){var S=this.readBits(m),I=v>0;if(!S||S<256)x[0]=S,v=1;else if(S>=258)if(S<u)for(v=f[S],s=v-1,o=S;s>=0;s--)x[s]=d[o],o=h[o];else x[v++]=x[0];else if(S===256){m=9,u=258,v=0;continue}else{this.eof=!0,delete this.lzwState;break}if(I&&(h[u]=p,f[u]=f[p]+1,d[u]=x[0],u++,m=u+A&u+A-1?m:Math.min(Math.log(u+A)/.6931471805599453+1,12)|0),p=S,y+=v,n<y){do n+=i;while(n<y);E=this.ensureBuffer(this.bufferLength+n)}for(s=0;s<v;s++)E[b++]=x[s]}c.nextCode=u,c.codeLength=m,c.prevCode=p,c.currentSequenceLength=v,this.bufferLength=b}},e.prototype.readBits=function(r){for(var n=this.bitsCached,i=this.cachedData;n<r;){var a=this.stream.getByte();if(a===-1)return this.eof=!0,null;i=i<<8|a,n+=8}return this.bitsCached=n-=r,this.cachedData=i,i>>>n&(1<<r)-1},e}(X1),C0e=function(t){ut(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,a=r[0];if(a<128){if(n=this.ensureBuffer(i+a+1),n[i++]=r[1],a>0){var s=this.stream.getBytes(a);n.set(s,i),i+=a}}else{a=257-a;var o=r[1];n=this.ensureBuffer(i+a+1);for(var c=0;c<a;c++)n[i++]=o}this.bufferLength=i},e}(X1),CD=function(t,e,r){if(e===re.of("FlateDecode"))return new w0e(t);if(e===re.of("LZWDecode")){var n=1;if(r instanceof sr){var i=r.lookup(re.of("EarlyChange"));i instanceof Yt&&(n=i.asNumber())}return new b0e(t,void 0,n)}if(e===re.of("ASCII85Decode"))return new p0e(t);if(e===re.of("ASCIIHexDecode"))return new m0e(t);if(e===re.of("RunLengthDecode"))return new C0e(t);throw new Ife(e.asString())},sz=function(t){var e=t.dict,r=t.contents,n=new az(r),i=e.lookup(re.of("Filter")),a=e.lookup(re.of("DecodeParms"));if(i instanceof re)n=CD(n,i,a);else if(i instanceof kr)for(var s=0,o=i.size();s<o;s++)n=CD(n,i.lookup(s,re),a&&a.lookupMaybe(s,sr));else if(i)throw new Eb([re,kr],i);return n},B0e=function(t){var e=t.MediaBox(),r=e.lookup(2,Yt).asNumber()-e.lookup(0,Yt).asNumber(),n=e.lookup(3,Yt).asNumber()-e.lookup(1,Yt).asNumber();return{left:0,bottom:0,right:r,top:n}},E0e=function(t){return[1,0,0,1,-t.left,-t.bottom]},oz=function(){function t(e,r,n){this.page=e;var i=r??B0e(e);this.width=i.right-i.left,this.height=i.top-i.bottom,this.boundingBox=i,this.transformationMatrix=n??E0e(i)}return t.for=function(e,r,n){return lr(this,void 0,void 0,function(){return cr(this,function(i){return[2,new t(e,r,n)]})})},t.prototype.embedIntoContext=function(e,r){return lr(this,void 0,void 0,function(){var n,i,a,s,o,c,A,u,d,f;return cr(this,function(h){if(n=this.page.normalizedEntries(),i=n.Contents,a=n.Resources,!i)throw new kfe;return s=this.decodeContents(i),o=this.boundingBox,c=o.left,A=o.bottom,u=o.right,d=o.top,f=e.flateStream(s,{Type:"XObject",Subtype:"Form",FormType:1,BBox:[c,A,u,d],Matrix:this.transformationMatrix,Resources:a}),r?(e.assign(r,f),[2,r]):[2,e.register(f)]})})},t.prototype.decodeContents=function(e){for(var r=Uint8Array.of(ae.Newline),n=[],i=0,a=e.size();i<a;i++){var s=e.lookup(i,no),o=void 0;if(s instanceof a1)o=sz(s).decode();else if(s instanceof Jg)o=s.getUnencodedContents();else throw new Pfe(s);n.push(o,r)}return Yue.apply(void 0,n)},t}(),My=function(t,e){if(t!==void 0)return e[t]},Xg;(function(t){t.UseNone="UseNone",t.UseOutlines="UseOutlines",t.UseThumbs="UseThumbs",t.UseOC="UseOC"})(Xg||(Xg={}));var Yg;(function(t){t.L2R="L2R",t.R2L="R2L"})(Yg||(Yg={}));var Zg;(function(t){t.None="None",t.AppDefault="AppDefault"})(Zg||(Zg={}));var _b;(function(t){t.Simplex="Simplex",t.DuplexFlipShortEdge="DuplexFlipShortEdge",t.DuplexFlipLongEdge="DuplexFlipLongEdge"})(_b||(_b={}));var BD=function(){function t(e){this.dict=e}return t.prototype.lookupBool=function(e){var r=this.dict.lookup(re.of(e));if(r instanceof i1)return r},t.prototype.lookupName=function(e){var r=this.dict.lookup(re.of(e));if(r instanceof re)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(re.of("PrintPageRange"));if(e instanceof kr)return e},t.prototype.NumCopies=function(){var e=this.dict.lookup(re.of("NumCopies"));if(e instanceof Yt)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=My(n,Xg))!==null&&r!==void 0?r:Xg.UseNone},t.prototype.getReadingDirection=function(){var e,r,n=(e=this.Direction())===null||e===void 0?void 0:e.decodeText();return(r=My(n,Yg))!==null&&r!==void 0?r:Yg.L2R},t.prototype.getPrintScaling=function(){var e,r,n=(e=this.PrintScaling())===null||e===void 0?void 0:e.decodeText();return(r=My(n,Zg))!==null&&r!==void 0?r:Zg.AppDefault},t.prototype.getDuplex=function(){var e,r=(e=this.Duplex())===null||e===void 0?void 0:e.decodeText();return My(r,_b)},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,Yt).asNumber(),a=e.lookup(n+1,Yt).asNumber();r.push({start:i,end:a})}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(re.of("HideToolbar"),r)},t.prototype.setHideMenubar=function(e){var r=this.dict.context.obj(e);this.dict.set(re.of("HideMenubar"),r)},t.prototype.setHideWindowUI=function(e){var r=this.dict.context.obj(e);this.dict.set(re.of("HideWindowUI"),r)},t.prototype.setFitWindow=function(e){var r=this.dict.context.obj(e);this.dict.set(re.of("FitWindow"),r)},t.prototype.setCenterWindow=function(e){var r=this.dict.context.obj(e);this.dict.set(re.of("CenterWindow"),r)},t.prototype.setDisplayDocTitle=function(e){var r=this.dict.context.obj(e);this.dict.set(re.of("DisplayDocTitle"),r)},t.prototype.setNonFullScreenPageMode=function(e){mu(e,"nonFullScreenPageMode",Xg);var r=re.of(e);this.dict.set(re.of("NonFullScreenPageMode"),r)},t.prototype.setReadingDirection=function(e){mu(e,"readingDirection",Yg);var r=re.of(e);this.dict.set(re.of("Direction"),r)},t.prototype.setPrintScaling=function(e){mu(e,"printScaling",Zg);var r=re.of(e);this.dict.set(re.of("PrintScaling"),r)},t.prototype.setDuplex=function(e){mu(e,"duplex",_b);var r=re.of(e);this.dict.set(re.of("Duplex"),r)},t.prototype.setPickTrayByPDFSize=function(e){var r=this.dict.context.obj(e);this.dict.set(re.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);JH(r,"printPageRange",["number"]);var a=this.dict.context.obj(r);this.dict.set(re.of("PrintPageRange"),a)},t.prototype.setNumCopies=function(e){$s(e,"numCopies",1,Number.MAX_VALUE),jfe(e,"numCopies");var r=this.dict.context.obj(e);this.dict.set(re.of("NumCopies"),r)},t.fromDict=function(e){return new t(e)},t.create=function(e){var r=e.obj({});return new t(r)},t}(),N0e=/\/([^\0\t\n\f\r\ ]+)[\0\t\n\f\r\ ]*(\d*\.\d+|\d+)?[\0\t\n\f\r\ ]+Tf/,lz=function(){function t(e,r){this.dict=e,this.ref=r}return t.prototype.T=function(){return this.dict.lookupMaybe(re.of("T"),Vr,Vt)},t.prototype.Ff=function(){var e=this.getInheritableAttribute(re.of("Ff"));return this.dict.context.lookupMaybe(e,Yt)},t.prototype.V=function(){var e=this.getInheritableAttribute(re.of("V"));return this.dict.context.lookup(e)},t.prototype.Kids=function(){return this.dict.lookupMaybe(re.of("Kids"),kr)},t.prototype.DA=function(){var e=this.dict.lookup(re.of("DA"));if(e instanceof Vr||e instanceof Vt)return e},t.prototype.setKids=function(e){this.dict.set(re.of("Kids"),this.dict.context.obj(e))},t.prototype.getParent=function(){var e=this.dict.get(re.of("Parent"));if(e instanceof Wr){var r=this.dict.lookup(re.of("Parent"),sr);return new t(r,e)}},t.prototype.setParent=function(e){e?this.dict.set(re.of("Parent"),e):this.dict.delete(re.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(re.of("T"),Vt.fromText(e)):this.dict.delete(re.of("T"))},t.prototype.setDefaultAppearance=function(e){this.dict.set(re.of("DA"),Vr.of(e))},t.prototype.getDefaultAppearance=function(){var e=this.DA();return e instanceof Vt?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 Ufe(n);var a=X3(i,N0e);if(!a.match)throw new Lfe(n);var s=i.slice(0,a.pos-a.match[0].length),o=a.pos<=i.length?i.slice(a.pos):"",c=a.match[1],A=s+" /"+c+" "+e+" Tf "+o;this.setDefaultAppearance(A)},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(re.of("Ff"),Yt.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}(),r4=function(){function t(e){this.dict=e}return t.prototype.W=function(){var e=this.dict.lookup(re.of("W"));if(e instanceof Yt)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(re.of("W"),r)},t.fromDict=function(e){return new t(e)},t}(),S0e=function(){function t(e){this.dict=e}return t.prototype.Rect=function(){return this.dict.lookup(re.of("Rect"),kr)},t.prototype.AP=function(){return this.dict.lookupMaybe(re.of("AP"),sr)},t.prototype.F=function(){var e=this.dict.lookup(re.of("F"));return this.dict.context.lookupMaybe(e,Yt)},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,a=e.height,s=this.dict.context.obj([r,n,r+i,n+a]);this.dict.set(re.of("Rect"),s)},t.prototype.getAppearanceState=function(){var e=this.dict.lookup(re.of("AS"));if(e instanceof re)return e},t.prototype.setAppearanceState=function(e){this.dict.set(re.of("AS"),e)},t.prototype.setAppearances=function(e){this.dict.set(re.of("AP"),e)},t.prototype.ensureAP=function(){var e=this.AP();return e||(e=this.dict.context.obj({}),this.dict.set(re.of("AP"),e)),e},t.prototype.getNormalAppearance=function(){var e=this.ensureAP(),r=e.get(re.of("N"));if(r instanceof Wr||r instanceof sr)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(re.of("N"),e)},t.prototype.setRolloverAppearance=function(e){var r=this.ensureAP();r.set(re.of("R"),e)},t.prototype.setDownAppearance=function(e){var r=this.ensureAP();r.set(re.of("D"),e)},t.prototype.removeRolloverAppearance=function(){var e=this.AP();e==null||e.delete(re.of("R"))},t.prototype.removeDownAppearance=function(){var e=this.AP();e==null||e.delete(re.of("D"))},t.prototype.getAppearances=function(){var e=this.AP();if(e){var r=e.lookup(re.of("N"),sr,no),n=e.lookupMaybe(re.of("R"),sr,no),i=e.lookupMaybe(re.of("D"),sr,no);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(re.of("F"),Yt.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}(),n4=function(){function t(e){this.dict=e}return t.prototype.R=function(){var e=this.dict.lookup(re.of("R"));if(e instanceof Yt)return e},t.prototype.BC=function(){var e=this.dict.lookup(re.of("BC"));if(e instanceof kr)return e},t.prototype.BG=function(){var e=this.dict.lookup(re.of("BG"));if(e instanceof kr)return e},t.prototype.CA=function(){var e=this.dict.lookup(re.of("CA"));if(e instanceof Vt||e instanceof Vr)return e},t.prototype.RC=function(){var e=this.dict.lookup(re.of("RC"));if(e instanceof Vt||e instanceof Vr)return e},t.prototype.AC=function(){var e=this.dict.lookup(re.of("AC"));if(e instanceof Vt||e instanceof Vr)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 a=e.get(n);a instanceof Yt&&r.push(a.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 a=e.get(n);a instanceof Yt&&r.push(a.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(re.of("R"),r)},t.prototype.setBorderColor=function(e){var r=this.dict.context.obj(e);this.dict.set(re.of("BC"),r)},t.prototype.setBackgroundColor=function(e){var r=this.dict.context.obj(e);this.dict.set(re.of("BG"),r)},t.prototype.setCaptions=function(e){var r=Vt.fromText(e.normal);if(this.dict.set(re.of("CA"),r),e.rollover){var n=Vt.fromText(e.rollover);this.dict.set(re.of("RC"),n)}else this.dict.delete(re.of("RC"));if(e.down){var i=Vt.fromText(e.down);this.dict.set(re.of("AC"),i)}else this.dict.delete(re.of("AC"))},t.fromDict=function(e){return new t(e)},t}(),qS=function(t){ut(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.MK=function(){var r=this.dict.lookup(re.of("MK"));if(r instanceof sr)return r},e.prototype.BS=function(){var r=this.dict.lookup(re.of("BS"));if(r instanceof sr)return r},e.prototype.DA=function(){var r=this.dict.lookup(re.of("DA"));if(r instanceof Vr||r instanceof Vt)return r},e.prototype.P=function(){var r=this.dict.get(re.of("P"));if(r instanceof Wr)return r},e.prototype.setP=function(r){this.dict.set(re.of("P"),r)},e.prototype.setDefaultAppearance=function(r){this.dict.set(re.of("DA"),Vr.of(r))},e.prototype.getDefaultAppearance=function(){var r=this.DA();return r instanceof Vt?r.decodeText():r==null?void 0:r.asString()},e.prototype.getAppearanceCharacteristics=function(){var r=this.MK();if(r)return n4.fromDict(r)},e.prototype.getOrCreateAppearanceCharacteristics=function(){var r=this.MK();if(r)return n4.fromDict(r);var n=n4.fromDict(this.dict.context.obj({}));return this.dict.set(re.of("MK"),n.dict),n},e.prototype.getBorderStyle=function(){var r=this.BS();if(r)return r4.fromDict(r)},e.prototype.getOrCreateBorderStyle=function(){var r=this.BS();if(r)return r4.fromDict(r);var n=r4.fromDict(this.dict.context.obj({}));return this.dict.set(re.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 sr)for(var i=n.keys(),a=0,s=i.length;a<s;a++){var o=i[a];if(o!==re.of("Off"))return o}},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}(S0e),Lp=function(t){ut(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.FT=function(){var r=this.getInheritableAttribute(re.of("FT"));return this.dict.context.lookup(r,re)},e.prototype.getWidgets=function(){var r=this.Kids();if(!r)return[qS.fromDict(this.dict)];for(var n=new Array(r.size()),i=0,a=r.size();i<a;i++){var s=r.lookup(i,sr);n[i]=qS.fromDict(s)}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 Nb(r,0,n.size());n.remove(r)}else{if(r!==0)throw new Nb(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(re.of("Kids"),r)),{Kids:r}},e.fromDict=function(r,n){return new e(r,n)},e}(lz),uT=function(t){ut(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.Opt=function(){return this.dict.lookupMaybe(re.of("Opt"),Vr,Vt,kr)},e.prototype.setOpt=function(r){this.dict.set(re.of("Opt"),this.dict.context.obj(r))},e.prototype.getExportValues=function(){var r=this.Opt();if(r){if(r instanceof Vr||r instanceof Vt)return[r];for(var n=[],i=0,a=r.size();i<a;i++){var s=r.lookup(i);(s instanceof Vr||s instanceof Vt)&&n.push(s)}return n}},e.prototype.removeExportValue=function(r){var n=this.Opt();if(n)if(n instanceof Vr||n instanceof Vt){if(r!==0)throw new Nb(r,0,0);this.setOpt([])}else{if(r<0||r>n.size())throw new Nb(r,0,n.size());n.remove(r)}},e.prototype.normalizeExportValues=function(){for(var r,n,i,a,s=(r=this.getExportValues())!==null&&r!==void 0?r:[],o=[],c=this.getWidgets(),A=0,u=c.length;A<u;A++){var d=c[A],f=(n=s[A])!==null&&n!==void 0?n:Vt.fromText((a=(i=d.getOnValue())===null||i===void 0?void 0:i.decodeText())!==null&&a!==void 0?a:"");o.push(f)}this.setOpt(o)},e.prototype.addOpt=function(r,n){var i;this.normalizeExportValues();var a=r.decodeText(),s;if(n)for(var o=(i=this.getExportValues())!==null&&i!==void 0?i:[],c=0,A=o.length;c<A;c++){var u=o[c];u.decodeText()===a&&(s=c)}var d=this.Opt();return d.push(r),s??d.size()-1},e.prototype.addWidgetWithOpt=function(r,n,i){var a=this.addOpt(n,i),s=re.of(String(a));return this.addWidget(r),s},e}(Lp),p5=function(t){ut(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:re.of("Yes");if(r!==i&&r!==re.of("Off"))throw new sT;this.dict.set(re.of("V"),r);for(var a=this.getWidgets(),s=0,o=a.length;s<o;s++){var c=a[s],A=c.getOnValue()===r?r:re.of("Off");c.setAppearanceState(A)}},e.prototype.getValue=function(){var r=this.V();return r instanceof re?r:re.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}(uT),xi=function(t){return 1<<t},cl;(function(t){t[t.ReadOnly=xi(0)]="ReadOnly",t[t.Required=xi(1)]="Required",t[t.NoExport=xi(2)]="NoExport"})(cl||(cl={}));var To;(function(t){t[t.NoToggleToOff=xi(14)]="NoToggleToOff",t[t.Radio=xi(15)]="Radio",t[t.PushButton=xi(16)]="PushButton",t[t.RadiosInUnison=xi(25)]="RadiosInUnison"})(To||(To={}));var Mn;(function(t){t[t.Multiline=xi(12)]="Multiline",t[t.Password=xi(13)]="Password",t[t.FileSelect=xi(20)]="FileSelect",t[t.DoNotSpellCheck=xi(22)]="DoNotSpellCheck",t[t.DoNotScroll=xi(23)]="DoNotScroll",t[t.Comb=xi(24)]="Comb",t[t.RichText=xi(25)]="RichText"})(Mn||(Mn={}));var Qr;(function(t){t[t.Combo=xi(17)]="Combo",t[t.Edit=xi(18)]="Edit",t[t.Sort=xi(19)]="Sort",t[t.MultiSelect=xi(21)]="MultiSelect",t[t.DoNotSpellCheck=xi(22)]="DoNotSpellCheck",t[t.CommitOnSelChange=xi(26)]="CommitOnSelChange"})(Qr||(Qr={}));var cz=function(t){ut(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.setValues=function(r){if(this.hasFlag(Qr.Combo)&&!this.hasFlag(Qr.Edit)&&!this.valuesAreValid(r))throw new sT;if(r.length===0&&this.dict.delete(re.of("V")),r.length===1&&this.dict.set(re.of("V"),r[0]),r.length>1){if(!this.hasFlag(Qr.MultiSelect))throw new Rfe;this.dict.set(re.of("V"),this.dict.context.obj(r))}this.updateSelectedIndices(r)},e.prototype.valuesAreValid=function(r){for(var n=this.getOptions(),i=function(c,A){var u=r[c].decodeText();if(!n.find(function(d){return u===(d.display||d.value).decodeText()}))return{value:!1}},a=0,s=r.length;a<s;a++){var o=i(a);if(typeof o=="object")return o.value}return!0},e.prototype.updateSelectedIndices=function(r){if(r.length>1){for(var n=new Array(r.length),i=this.getOptions(),a=function(c,A){var u=r[c].decodeText();n[c]=i.findIndex(function(d){return u===(d.display||d.value).decodeText()})},s=0,o=r.length;s<o;s++)a(s,o);this.dict.set(re.of("I"),this.dict.context.obj(n.sort()))}else this.dict.delete(re.of("I"))},e.prototype.getValues=function(){var r=this.V();if(r instanceof Vr||r instanceof Vt)return[r];if(r instanceof kr){for(var n=[],i=0,a=r.size();i<a;i++){var s=r.lookup(i);(s instanceof Vr||s instanceof Vt)&&n.push(s)}return n}return[]},e.prototype.Opt=function(){return this.dict.lookupMaybe(re.of("Opt"),Vr,Vt,kr)},e.prototype.setOptions=function(r){for(var n=new Array(r.length),i=0,a=r.length;i<a;i++){var s=r[i],o=s.value,c=s.display;n[i]=this.dict.context.obj([o,c||o])}this.dict.set(re.of("Opt"),this.dict.context.obj(n))},e.prototype.getOptions=function(){var r=this.Opt();if(r instanceof Vr||r instanceof Vt)return[{value:r,display:r}];if(r instanceof kr){for(var n=[],i=0,a=r.size();i<a;i++){var s=r.lookup(i);if((s instanceof Vr||s instanceof Vt)&&n.push({value:s,display:s}),s instanceof kr&&s.size()>0){var o=s.lookup(0,Vr,Vt),c=s.lookupMaybe(1,Vr,Vt);n.push({value:o,display:c||o})}}return n}return[]},e}(Lp),m5=function(t){ut(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:Qr.Combo,Kids:[]}),i=r.register(n);return new e(n,i)},e}(cz),Fb=function(t){ut(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(re.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}(lz),dT=function(t){ut(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.fromDict=function(r,n){return new e(r,n)},e}(Lp),g5=function(t){ut(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.MaxLen=function(){var r=this.dict.lookup(re.of("MaxLen"));if(r instanceof Yt)return r},e.prototype.Q=function(){var r=this.dict.lookup(re.of("Q"));if(r instanceof Yt)return r},e.prototype.setMaxLength=function(r){this.dict.set(re.of("MaxLen"),Yt.of(r))},e.prototype.removeMaxLength=function(){this.dict.delete(re.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(re.of("Q"),Yt.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(re.of("V"),r)},e.prototype.removeValue=function(){this.dict.delete(re.of("V"))},e.prototype.getValue=function(){var r=this.V();if(r instanceof Vr||r instanceof Vt)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}(Lp),v5=function(t){ut(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:To.PushButton,Kids:[]}),i=r.register(n);return new e(n,i)},e}(uT),x5=function(t){ut(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!==re.of("Off"))throw new sT;this.dict.set(re.of("V"),r);for(var i=this.getWidgets(),a=0,s=i.length;a<s;a++){var o=i[a],c=o.getOnValue()===r?r:re.of("Off");o.setAppearanceState(c)}},e.prototype.getValue=function(){var r=this.V();return r instanceof re?r:re.of("Off")},e.prototype.getOnValues=function(){for(var r=this.getWidgets(),n=[],i=0,a=r.length;i<a;i++){var s=r[i].getOnValue();s&&n.push(s)}return n},e.fromDict=function(r,n){return new e(r,n)},e.create=function(r){var n=r.obj({FT:"Btn",Ff:To.Radio,Kids:[]}),i=r.register(n);return new e(n,i)},e}(uT),y5=function(t){ut(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}(cz),hT=function(t){if(!t)return[];for(var e=[],r=0,n=t.size();r<n;r++){var i=t.get(r),a=t.lookup(r);i instanceof Wr&&a instanceof sr&&e.push([Az(a,i),i])}return e},Az=function(t,e){var r=_0e(t);return r?Fb.fromDict(t,e):F0e(t,e)},_0e=function(t){var e=t.lookup(re.of("Kids"));if(e instanceof kr)for(var r=0,n=e.size();r<n;r++){var i=e.lookup(r),a=i instanceof sr&&i.has(re.of("T"));if(a)return!0}return!1},F0e=function(t,e){var r=fT(t,re.of("FT")),n=t.context.lookup(r,re);return n===re.of("Btn")?T0e(t,e):n===re.of("Ch")?j0e(t,e):n===re.of("Tx")?g5.fromDict(t,e):n===re.of("Sig")?dT.fromDict(t,e):Lp.fromDict(t,e)},T0e=function(t,e){var r,n=fT(t,re.of("Ff")),i=t.context.lookupMaybe(n,Yt),a=(r=i==null?void 0:i.asNumber())!==null&&r!==void 0?r:0;return GS(a,To.PushButton)?v5.fromDict(t,e):GS(a,To.Radio)?x5.fromDict(t,e):p5.fromDict(t,e)},j0e=function(t,e){var r,n=fT(t,re.of("Ff")),i=t.context.lookupMaybe(n,Yt),a=(r=i==null?void 0:i.asNumber())!==null&&r!==void 0?r:0;return GS(a,Qr.Combo)?m5.fromDict(t,e):y5.fromDict(t,e)},GS=function(t,e){return(t&e)!==0},fT=function(t,e){var r;return uz(t,function(n){r||(r=n.get(e))}),r},uz=function(t,e){e(t);var r=t.lookupMaybe(re.of("Parent"),sr);r&&uz(r,e)},Tb=function(){function t(e){this.dict=e}return t.prototype.Fields=function(){var e=this.dict.lookup(re.of("Fields"));if(e instanceof kr)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 a=e.get(n),s=e.lookup(n,sr);r[n]=[Az(s,a),a]}return r},t.prototype.getAllFields=function(){var e=[],r=function(n){if(n)for(var i=0,a=n.length;i<a;i++){var s=n[i];e.push(s);var o=s[0];o instanceof Fb&&r(hT(o.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(re.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}(),dz=function(t){ut(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.Pages=function(){return this.lookup(re.of("Pages"),sr)},e.prototype.AcroForm=function(){return this.lookupMaybe(re.of("AcroForm"),sr)},e.prototype.getAcroForm=function(){var r=this.AcroForm();if(r)return Tb.fromDict(r)},e.prototype.getOrCreateAcroForm=function(){var r=this.getAcroForm();if(!r){r=Tb.create(this.context);var n=this.context.register(r.dict);this.set(re.of("AcroForm"),n)}return r},e.prototype.ViewerPreferences=function(){return this.lookupMaybe(re.of("ViewerPreferences"),sr)},e.prototype.getViewerPreferences=function(){var r=this.ViewerPreferences();if(r)return BD.fromDict(r)},e.prototype.getOrCreateViewerPreferences=function(){var r=this.getViewerPreferences();if(!r){r=BD.create(this.context);var n=this.context.register(r.dict);this.set(re.of("ViewerPreferences"),n)}return r},e.prototype.insertLeafNode=function(r,n){var i=this.get(re.of("Pages")),a=this.Pages().insertLeafNode(r,n);return a||i},e.prototype.removeLeafNode=function(r){this.Pages().removeLeafNode(r)},e.withContextAndPages=function(r,n){var i=new Map;return i.set(re.of("Type"),re.of("Catalog")),i.set(re.of("Pages"),n),new e(i,r)},e.fromMapWithContext=function(r,n){return new e(r,n)},e}(sr),hz=function(t){ut(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.Parent=function(){return this.lookup(re.of("Parent"))},e.prototype.Kids=function(){return this.lookup(re.of("Kids"),kr)},e.prototype.Count=function(){return this.lookup(re.of("Count"),Yt)},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(),a=this.Count().asNumber();if(n>a)throw new uD(n,a);for(var s=n,o=0,c=i.size();o<c;o++){if(s===0){this.insertLeafKid(o,r);return}var A=i.get(o),u=this.context.lookup(A);if(u instanceof e){if(u.Count().asNumber()>s)return u.insertLeafNode(r,s)||A;s-=u.Count().asNumber()}u instanceof Yc&&(s-=1)}if(s===0){this.insertLeafKid(i.size(),r);return}throw new dD(n,"insertLeafNode")},e.prototype.removeLeafNode=function(r,n){n===void 0&&(n=!0);var i=this.Kids(),a=this.Count().asNumber();if(r>=a)throw new uD(r,a);for(var s=r,o=0,c=i.size();o<c;o++){var A=i.get(o),u=this.context.lookup(A);if(u instanceof e)if(u.Count().asNumber()>s){u.removeLeafNode(s,n),n&&u.Kids().size()===0&&i.remove(o);return}else s-=u.Count().asNumber();if(u instanceof Yc)if(s===0){this.removeKid(o);return}else s-=1}throw new dD(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,a=n.size();i<a;i++){var s=n.get(i),o=this.context.lookup(s);o instanceof e&&o.traverse(r),r(o,s)}},e.prototype.insertLeafKid=function(r,n){var i=this.Kids();this.ascend(function(a){var s=a.Count().asNumber()+1;a.set(re.of("Count"),Yt.of(s))}),i.insert(r,n)},e.prototype.removeKid=function(r){var n=this.Kids(),i=n.lookup(r);i instanceof Yc&&this.ascend(function(a){var s=a.Count().asNumber()-1;a.set(re.of("Count"),Yt.of(s))}),n.remove(r)},e.withContext=function(r,n){var i=new Map;return i.set(re.of("Type"),re.of("Pages")),i.set(re.of("Kids"),r.obj([])),i.set(re.of("Count"),r.obj(0)),n&&i.set(re.of("Parent"),n),new e(i,r)},e.fromMapWithContext=function(r,n){return new e(r,n)},e}(sr),La=new Uint8Array(256);La[ae.Zero]=1;La[ae.One]=1;La[ae.Two]=1;La[ae.Three]=1;La[ae.Four]=1;La[ae.Five]=1;La[ae.Six]=1;La[ae.Seven]=1;La[ae.Eight]=1;La[ae.Nine]=1;var w5=new Uint8Array(256);w5[ae.Period]=1;w5[ae.Plus]=1;w5[ae.Minus]=1;var pT=new Uint8Array(256);for(var zm=0,I0e=256;zm<I0e;zm++)pT[zm]=La[zm]||w5[zm]?1:0;var ED=ae.Newline,ND=ae.CarriageReturn,k0e=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(!La[r])break;e+=Jc(this.bytes.next())}var n=Number(e);if(!e||!isFinite(n))throw new hD(this.bytes.position(),e);return n},t.prototype.parseRawNumber=function(){for(var e="";!this.bytes.done();){var r=this.bytes.peek();if(!pT[r]||(e+=Jc(this.bytes.next()),r===ae.Period))break}for(;!this.bytes.done();){var r=this.bytes.peek();if(!La[r])break;e+=Jc(this.bytes.next())}var n=Number(e);if(!e||!isFinite(n))throw new hD(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()&&xA[this.bytes.peek()];)this.bytes.next()},t.prototype.skipLine=function(){for(;!this.bytes.done();){var e=this.bytes.peek();if(e===ED||e===ND)return;this.bytes.next()}},t.prototype.skipComment=function(){if(this.bytes.peek()!==ae.Percent)return!1;for(;!this.bytes.done();){var e=this.bytes.peek();if(e===ED||e===ND)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}(),b5=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===ae.Newline?(this.line+=1,this.column=0):this.column+=1,e},t.prototype.assertNext=function(e){if(this.peek()!==e)throw new Mfe(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(sz(e).decode())},t}(),P0e=ae.Space,Vm=ae.CarriageReturn,Wm=ae.Newline,Km=[ae.s,ae.t,ae.r,ae.e,ae.a,ae.m],Qy=[ae.e,ae.n,ae.d,ae.s,ae.t,ae.r,ae.e,ae.a,ae.m],ln={header:[ae.Percent,ae.P,ae.D,ae.F,ae.Dash],eof:[ae.Percent,ae.Percent,ae.E,ae.O,ae.F],obj:[ae.o,ae.b,ae.j],endobj:[ae.e,ae.n,ae.d,ae.o,ae.b,ae.j],xref:[ae.x,ae.r,ae.e,ae.f],trailer:[ae.t,ae.r,ae.a,ae.i,ae.l,ae.e,ae.r],startxref:[ae.s,ae.t,ae.a,ae.r,ae.t,ae.x,ae.r,ae.e,ae.f],true:[ae.t,ae.r,ae.u,ae.e],false:[ae.f,ae.a,ae.l,ae.s,ae.e],null:[ae.n,ae.u,ae.l,ae.l],stream:Km,streamEOF1:_r(Km,[P0e,Vm,Wm]),streamEOF2:_r(Km,[Vm,Wm]),streamEOF3:_r(Km,[Vm]),streamEOF4:_r(Km,[Wm]),endstream:Qy,EOF1endstream:_r([Vm,Wm],Qy),EOF2endstream:_r([Vm],Qy),EOF3endstream:_r([Wm],Qy)},fz=function(t){ut(e,t);function e(r,n,i){i===void 0&&(i=!1);var a=t.call(this,r,i)||this;return a.context=n,a}return e.prototype.parseObject=function(){if(this.skipWhitespaceAndComments(),this.matchKeyword(ln.true))return i1.True;if(this.matchKeyword(ln.false))return i1.False;if(this.matchKeyword(ln.null))return vs;var r=this.bytes.peek();if(r===ae.LessThan&&this.bytes.peekAhead(1)===ae.LessThan)return this.parseDictOrStream();if(r===ae.LessThan)return this.parseHexString();if(r===ae.LeftParen)return this.parseString();if(r===ae.ForwardSlash)return this.parseName();if(r===ae.LeftSquareBracket)return this.parseArray();if(pT[r])return this.parseNumberOrRef();throw new Qfe(this.bytes.position(),r)},e.prototype.parseNumberOrRef=function(){var r=this.parseRawNumber();this.skipWhitespaceAndComments();var n=this.bytes.offset();if(La[this.bytes.peek()]){var i=this.parseRawNumber();if(this.skipWhitespaceAndComments(),this.bytes.peek()===ae.R)return this.bytes.assertNext(ae.R),Wr.of(r,i)}return this.bytes.moveTo(n),Yt.of(r)},e.prototype.parseHexString=function(){var r="";for(this.bytes.assertNext(ae.LessThan);!this.bytes.done()&&this.bytes.peek()!==ae.GreaterThan;)r+=Jc(this.bytes.next());return this.bytes.assertNext(ae.GreaterThan),Vt.of(r)},e.prototype.parseString=function(){for(var r=0,n=!1,i="";!this.bytes.done();){var a=this.bytes.next();if(i+=Jc(a),n||(a===ae.LeftParen&&(r+=1),a===ae.RightParen&&(r-=1)),a===ae.BackSlash?n=!n:n&&(n=!1),r===0)return Vr.of(i.substring(1,i.length-1))}throw new Vfe(this.bytes.position())},e.prototype.parseName=function(){this.bytes.assertNext(ae.ForwardSlash);for(var r="";!this.bytes.done();){var n=this.bytes.peek();if(xA[n]||qo[n])break;r+=Jc(n),this.bytes.next()}return re.of(r)},e.prototype.parseArray=function(){this.bytes.assertNext(ae.LeftSquareBracket),this.skipWhitespaceAndComments();for(var r=kr.withContext(this.context);this.bytes.peek()!==ae.RightSquareBracket;){var n=this.parseObject();r.push(n),this.skipWhitespaceAndComments()}return this.bytes.assertNext(ae.RightSquareBracket),r},e.prototype.parseDict=function(){this.bytes.assertNext(ae.LessThan),this.bytes.assertNext(ae.LessThan),this.skipWhitespaceAndComments();for(var r=new Map;!this.bytes.done()&&this.bytes.peek()!==ae.GreaterThan&&this.bytes.peekAhead(1)!==ae.GreaterThan;){var n=this.parseName(),i=this.parseObject();r.set(n,i),this.skipWhitespaceAndComments()}this.skipWhitespaceAndComments(),this.bytes.assertNext(ae.GreaterThan),this.bytes.assertNext(ae.GreaterThan);var a=r.get(re.of("Type"));return a===re.of("Catalog")?dz.fromMapWithContext(r,this.context):a===re.of("Pages")?hz.fromMapWithContext(r,this.context):a===re.of("Page")?Yc.fromMapWithContext(r,this.context):sr.fromMapWithContext(r,this.context)},e.prototype.parseDictOrStream=function(){var r=this.bytes.position(),n=this.parseDict();if(this.skipWhitespaceAndComments(),!this.matchKeyword(ln.streamEOF1)&&!this.matchKeyword(ln.streamEOF2)&&!this.matchKeyword(ln.streamEOF3)&&!this.matchKeyword(ln.streamEOF4)&&!this.matchKeyword(ln.stream))return n;var i=this.bytes.offset(),a,s=n.get(re.of("Length"));s instanceof Yt?(a=i+s.asNumber(),this.bytes.moveTo(a),this.skipWhitespaceAndComments(),this.matchKeyword(ln.endstream)||(this.bytes.moveTo(i),a=this.findEndOfStreamFallback(r))):a=this.findEndOfStreamFallback(r);var o=this.bytes.slice(i,a);return a1.of(n,o)},e.prototype.findEndOfStreamFallback=function(r){for(var n=1,i=this.bytes.offset();!this.bytes.done()&&(i=this.bytes.offset(),this.matchKeyword(ln.stream)?n+=1:this.matchKeyword(ln.EOF1endstream)||this.matchKeyword(ln.EOF2endstream)||this.matchKeyword(ln.EOF3endstream)||this.matchKeyword(ln.endstream)?n-=1:this.bytes.next(),n!==0););if(n!==0)throw new zfe(r);return i},e.forBytes=function(r,n,i){return new e(b5.of(r),n,i)},e.forByteStream=function(r,n,i){return i===void 0&&(i=!1),new e(r,n,i)},e}(k0e),D0e=function(t){ut(e,t);function e(r,n){var i=t.call(this,b5.fromPDFRawStream(r),r.dict.context)||this,a=r.dict;return i.alreadyParsed=!1,i.shouldWaitForTick=n||function(){return!1},i.firstOffset=a.lookup(re.of("First"),Yt).asNumber(),i.objectCount=a.lookup(re.of("N"),Yt).asNumber(),i}return e.prototype.parseIntoContext=function(){return lr(this,void 0,void 0,function(){var r,n,i,a,s,o,c,A;return cr(this,function(u){switch(u.label){case 0:if(this.alreadyParsed)throw new aT("PDFObjectStreamParser","parseIntoContext");this.alreadyParsed=!0,r=this.parseOffsetsAndObjectNumbers(),n=0,i=r.length,u.label=1;case 1:return n<i?(a=r[n],s=a.objectNumber,o=a.offset,this.bytes.moveTo(this.firstOffset+o),c=this.parseObject(),A=Wr.of(s,0),this.context.assign(A,c),this.shouldWaitForTick()?[4,fp()]:[3,3]):[3,4];case 2:u.sent(),u.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 a=this.parseRawInt();this.skipWhitespaceAndComments();var s=this.parseRawInt();r.push({objectNumber:a,offset:s})}return r},e.forStream=function(r,n){return new e(r,n)},e}(fz),O0e=function(){function t(e){this.alreadyParsed=!1,this.dict=e.dict,this.bytes=b5.fromPDFRawStream(e),this.context=this.dict.context;var r=this.dict.lookup(re.of("Size"),Yt),n=this.dict.lookup(re.of("Index"));if(n instanceof kr){this.subsections=[];for(var i=0,a=n.size();i<a;i+=2){var s=n.lookup(i+0,Yt).asNumber(),o=n.lookup(i+1,Yt).asNumber();this.subsections.push({firstObjectNumber:s,length:o})}}else this.subsections=[{firstObjectNumber:0,length:r.asNumber()}];var c=this.dict.lookup(re.of("W"),kr);this.byteWidths=[-1,-1,-1];for(var i=0,a=c.size();i<a;i++)this.byteWidths[i]=c.lookup(i,Yt).asNumber()}return t.prototype.parseIntoContext=function(){if(this.alreadyParsed)throw new aT("PDFXRefStreamParser","parseIntoContext");this.alreadyParsed=!0,this.context.trailerInfo={Root:this.dict.get(re.of("Root")),Encrypt:this.dict.get(re.of("Encrypt")),Info:this.dict.get(re.of("Info")),ID:this.dict.get(re.of("ID"))};var e=this.parseEntries();return e},t.prototype.parseEntries=function(){for(var e=[],r=this.byteWidths,n=r[0],i=r[1],a=r[2],s=0,o=this.subsections.length;s<o;s++)for(var c=this.subsections[s],A=c.firstObjectNumber,u=c.length,d=0;d<u;d++){for(var f=0,h=0,m=n;h<m;h++)f=f<<8|this.bytes.next();for(var p=0,h=0,m=i;h<m;h++)p=p<<8|this.bytes.next();for(var x=0,h=0,m=a;h<m;h++)x=x<<8|this.bytes.next();n===0&&(f=1);var v=A+d,y={ref:Wr.of(v,x),offset:p,deleted:f===0,inObjectStream:f===2};e.push(y)}return e},t.forStream=function(e){return new t(e)},t}(),R0e=function(t){ut(e,t);function e(r,n,i,a){n===void 0&&(n=1/0),i===void 0&&(i=!1),a===void 0&&(a=!1);var s=t.call(this,b5.of(r),WS.create(),a)||this;return s.alreadyParsed=!1,s.parsedObjects=0,s.shouldWaitForTick=function(){return s.parsedObjects+=1,s.parsedObjects%s.objectsPerTick===0},s.objectsPerTick=n,s.throwOnInvalidObject=i,s}return e.prototype.parseDocument=function(){return lr(this,void 0,void 0,function(){var r,n;return cr(this,function(i){switch(i.label){case 0:if(this.alreadyParsed)throw new aT("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 Wfe(this.bytes.position());return r=n,[3,1];case 3:return this.maybeRecoverRoot(),this.context.lookup(Wr.of(0))&&(console.warn("Removing parsed object: 0 0 R"),this.context.delete(Wr.of(0))),[2,this.context]}})})},e.prototype.maybeRecoverRoot=function(){var r=function(u){return u instanceof sr&&u.lookup(re.of("Type"))===re.of("Catalog")},n=this.context.lookup(this.context.trailerInfo.Root);if(!r(n))for(var i=this.context.enumerateIndirectObjects(),a=0,s=i.length;a<s;a++){var o=i[a],c=o[0],A=o[1];r(A)&&(this.context.trailerInfo.Root=c)}},e.prototype.parseHeader=function(){for(;!this.bytes.done();){if(this.matchKeyword(ln.header)){var r=this.parseRawInt();this.bytes.assertNext(ae.Period);var n=this.parseRawInt(),i=f5.forVersion(r,n);return this.skipBinaryHeaderComment(),i}this.bytes.next()}throw new Kfe(this.bytes.position())},e.prototype.parseIndirectObjectHeader=function(){this.skipWhitespaceAndComments();var r=this.parseRawInt();this.skipWhitespaceAndComments();var n=this.parseRawInt();if(this.skipWhitespaceAndComments(),!this.matchKeyword(ln.obj))throw new qfe(this.bytes.position(),ln.obj);return Wr.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 lr(this,void 0,void 0,function(){var r,n;return cr(this,function(i){switch(i.label){case 0:return r=this.parseIndirectObjectHeader(),this.skipWhitespaceAndComments(),n=this.parseObject(),this.skipWhitespaceAndComments(),this.matchKeyword(ln.endobj),n instanceof a1&&n.dict.lookup(re.of("Type"))===re.of("ObjStm")?[4,D0e.forStream(n,this.shouldWaitForTick).parseIntoContext()]:[3,2];case 1:return i.sent(),[3,3];case 2:n instanceof a1&&n.dict.lookup(re.of("Type"))===re.of("XRef")?O0e.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 a=this.bytes.offset(),s=!0;!this.bytes.done()&&(this.matchKeyword(ln.endobj)&&(s=!1),!!s);)this.bytes.next();if(s)throw new Hfe(r);var o=this.bytes.offset()-ln.endobj.length,c=rz.of(this.bytes.slice(a,o));return this.context.assign(i,c),i},e.prototype.parseIndirectObjects=function(){return lr(this,void 0,void 0,function(){var r;return cr(this,function(n){switch(n.label){case 0:this.skipWhitespaceAndComments(),n.label=1;case 1:if(!(!this.bytes.done()&&La[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,fp()]:[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(ln.xref)){this.skipWhitespaceAndComments();for(var r=-1,n=$H.createEmpty();!this.bytes.done()&&La[this.bytes.peek()];){var i=this.parseRawInt();this.skipWhitespaceAndComments();var a=this.parseRawInt();this.skipWhitespaceAndComments();var s=this.bytes.peek();if(s===ae.n||s===ae.f){var o=Wr.of(r,a);this.bytes.next()===ae.n?n.addEntry(o,i):n.addDeletedEntry(o,i),r+=1}else r=i;this.skipWhitespaceAndComments()}return n}},e.prototype.maybeParseTrailerDict=function(){if(this.skipWhitespaceAndComments(),!!this.matchKeyword(ln.trailer)){this.skipWhitespaceAndComments();var r=this.parseDict(),n=this.context;n.trailerInfo={Root:r.get(re.of("Root"))||n.trailerInfo.Root,Encrypt:r.get(re.of("Encrypt"))||n.trailerInfo.Encrypt,Info:r.get(re.of("Info"))||n.trailerInfo.Info,ID:r.get(re.of("ID"))||n.trailerInfo.ID}}},e.prototype.maybeParseTrailer=function(){if(this.skipWhitespaceAndComments(),!!this.matchKeyword(ln.startxref)){this.skipWhitespaceAndComments();var r=this.parseRawInt();return this.skipWhitespace(),this.matchKeyword(ln.eof),this.skipWhitespaceAndComments(),this.matchKeyword(ln.eof),this.skipWhitespaceAndComments(),cT.forLastCrossRefSectionOffset(r)}},e.prototype.parseDocumentSection=function(){return lr(this,void 0,void 0,function(){return cr(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>=ae.Space&&n<=ae.Tilde;if(i&&(this.matchKeyword(ln.xref)||this.matchKeyword(ln.trailer)||this.matchKeyword(ln.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,a){return new e(r,n,i,a)},e}(fz),zl=function(t){return 1<<t},$g;(function(t){t[t.Invisible=zl(0)]="Invisible",t[t.Hidden=zl(1)]="Hidden",t[t.Print=zl(2)]="Print",t[t.NoZoom=zl(3)]="NoZoom",t[t.NoRotate=zl(4)]="NoRotate",t[t.NoView=zl(5)]="NoView",t[t.ReadOnly=zl(6)]="ReadOnly",t[t.Locked=zl(7)]="Locked",t[t.ToggleNoView=zl(8)]="ToggleNoView",t[t.LockedContents=zl(9)]="LockedContents"})($g||($g={}));var C5=function(t){return t instanceof re?t:re.of(t)},Zt=function(t){return t instanceof Yt?t:Yt.of(t)},Ar=function(t){return t instanceof Yt?t.asNumber():t},s1;(function(t){t.Degrees="degrees",t.Radians="radians"})(s1||(s1={}));var Kt=function(t){return je(t,"degreeAngle",["number"]),{type:s1.Degrees,angle:t}},pz=s1.Radians,mz=s1.Degrees,gz=function(t){return t*Math.PI/180},U0e=function(t){return t*180/Math.PI},va=function(t){return t.type===pz?t.angle:t.type===mz?gz(t.angle):W1("Invalid rotation: "+JSON.stringify(t))},vz=function(t){return t.type===pz?U0e(t.angle):t.type===mz?t.angle:W1("Invalid rotation: "+JSON.stringify(t))},yA=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},Vh=function(t,e){e===void 0&&(e=0);var r=yA(e);return r===90||r===270?{width:t.height,height:t.width}:{width:t.width,height:t.height}},L0e=function(t,e,r){e===void 0&&(e=0),r===void 0&&(r=0);var n=t.x,i=t.y,a=t.width,s=t.height,o=yA(r),c=e/2;return o===0?{x:n-c,y:i-c,width:a,height:s}:o===90?{x:n-s+c,y:i-c,width:s,height:a}:o===180?{x:n-a+c,y:i-s+c,width:a,height:s}:o===270?{x:n-c,y:i-a+c,width:s,height:a}:{x:n-c,y:i-c,width:a,height:s}},xz=function(){return Nr.of(Fr.ClipNonZero)},jb=Math.cos,Ib=Math.sin,kb=Math.tan,B5=function(t,e,r,n,i,a){return Nr.of(Fr.ConcatTransformationMatrix,[Zt(t),Zt(e),Zt(r),Zt(n),Zt(i),Zt(a)])},Oo=function(t,e){return B5(1,0,0,1,t,e)},o1=function(t,e){return B5(t,0,0,e,0,0)},Mp=function(t){return B5(jb(Ar(t)),Ib(Ar(t)),-Ib(Ar(t)),jb(Ar(t)),0,0)},Hy=function(t){return Mp(gz(Ar(t)))},mT=function(t,e){return B5(1,kb(Ar(t)),kb(Ar(e)),1,0,0)},E5=function(t,e){return Nr.of(Fr.SetLineDashPattern,["["+t.map(Zt).join(" ")+"]",Zt(e)])},v0;(function(t){t[t.Butt=0]="Butt",t[t.Round=1]="Round",t[t.Projecting=2]="Projecting"})(v0||(v0={}));var N5=function(t){return Nr.of(Fr.SetLineCapStyle,[Zt(t)])},SD;(function(t){t[t.Miter=0]="Miter",t[t.Round=1]="Round",t[t.Bevel=2]="Bevel"})(SD||(SD={}));var Wh=function(t){return Nr.of(Fr.SetGraphicsStateParams,[C5(t)])},Mi=function(){return Nr.of(Fr.PushGraphicsState)},Qi=function(){return Nr.of(Fr.PopGraphicsState)},Y1=function(t){return Nr.of(Fr.SetLineWidth,[Zt(t)])},eo=function(t,e,r,n,i,a){return Nr.of(Fr.AppendBezierCurve,[Zt(t),Zt(e),Zt(r),Zt(n),Zt(i),Zt(a)])},zy=function(t,e,r,n){return Nr.of(Fr.CurveToReplicateInitialPoint,[Zt(t),Zt(e),Zt(r),Zt(n)])},Yu=function(){return Nr.of(Fr.ClosePath)},hc=function(t,e){return Nr.of(Fr.MoveTo,[Zt(t),Zt(e)])},Zi=function(t,e){return Nr.of(Fr.LineTo,[Zt(t),Zt(e)])},Z1=function(){return Nr.of(Fr.StrokePath)},gT=function(){return Nr.of(Fr.FillNonZero)},vT=function(){return Nr.of(Fr.FillNonZeroAndStroke)},yz=function(){return Nr.of(Fr.EndPath)},M0e=function(){return Nr.of(Fr.NextLine)},wz=function(t){return Nr.of(Fr.ShowText,[t])},bz=function(){return Nr.of(Fr.BeginText)},Cz=function(){return Nr.of(Fr.EndText)},xT=function(t,e){return Nr.of(Fr.SetFontAndSize,[C5(t),Zt(e)])},Q0e=function(t){return Nr.of(Fr.SetTextLineHeight,[Zt(t)])},_D;(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"})(_D||(_D={}));var H0e=function(t,e,r,n,i,a){return Nr.of(Fr.SetTextMatrix,[Zt(t),Zt(e),Zt(r),Zt(n),Zt(i),Zt(a)])},Bz=function(t,e,r,n,i){return H0e(jb(Ar(t)),Ib(Ar(t))+kb(Ar(e)),-Ib(Ar(t))+kb(Ar(r)),jb(Ar(t)),n,i)},yT=function(t){return Nr.of(Fr.DrawObject,[C5(t)])},z0e=function(t){return Nr.of(Fr.NonStrokingColorGray,[Zt(t)])},V0e=function(t){return Nr.of(Fr.StrokingColorGray,[Zt(t)])},W0e=function(t,e,r){return Nr.of(Fr.NonStrokingColorRgb,[Zt(t),Zt(e),Zt(r)])},K0e=function(t,e,r){return Nr.of(Fr.StrokingColorRgb,[Zt(t),Zt(e),Zt(r)])},q0e=function(t,e,r,n){return Nr.of(Fr.NonStrokingColorCmyk,[Zt(t),Zt(e),Zt(r),Zt(n)])},G0e=function(t,e,r,n){return Nr.of(Fr.StrokingColorCmyk,[Zt(t),Zt(e),Zt(r),Zt(n)])},Ez=function(t){return Nr.of(Fr.BeginMarkedContent,[C5(t)])},Nz=function(){return Nr.of(Fr.EndMarkedContent)},Zu;(function(t){t.Grayscale="Grayscale",t.RGB="RGB",t.CMYK="CMYK"})(Zu||(Zu={}));var Sz=function(t){return $s(t,"gray",0,1),{type:Zu.Grayscale,gray:t}},fr=function(t,e,r){return $s(t,"red",0,1),$s(e,"green",0,1),$s(r,"blue",0,1),{type:Zu.RGB,red:t,green:e,blue:r}},_z=function(t,e,r,n){return $s(t,"cyan",0,1),$s(e,"magenta",0,1),$s(r,"yellow",0,1),$s(n,"key",0,1),{type:Zu.CMYK,cyan:t,magenta:e,yellow:r,key:n}},wT=Zu.Grayscale,bT=Zu.RGB,CT=Zu.CMYK,Kh=function(t){return t.type===wT?z0e(t.gray):t.type===bT?W0e(t.red,t.green,t.blue):t.type===CT?q0e(t.cyan,t.magenta,t.yellow,t.key):W1("Invalid color: "+JSON.stringify(t))},$1=function(t){return t.type===wT?V0e(t.gray):t.type===bT?K0e(t.red,t.green,t.blue):t.type===CT?G0e(t.cyan,t.magenta,t.yellow,t.key):W1("Invalid color: "+JSON.stringify(t))},as=function(t,e){return e===void 0&&(e=1),(t==null?void 0:t.length)===1?Sz(t[0]*e):(t==null?void 0:t.length)===3?fr(t[0]*e,t[1]*e,t[2]*e):(t==null?void 0:t.length)===4?_z(t[0]*e,t[1]*e,t[2]*e,t[3]*e):void 0},FD=function(t){return t.type===wT?[t.gray]:t.type===bT?[t.red,t.green,t.blue]:t.type===CT?[t.cyan,t.magenta,t.yellow,t.key]:W1("Invalid color: "+JSON.stringify(t))},Ot=0,Rt=0,Cr=0,Br=0,dg=0,hg=0,TD=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]]),J0e=function(t){for(var e,r=[],n=[],i="",a=!1,s=0,o=0,c=t;o<c.length;o++){var A=c[o];if(TD.has(A))s=TD.get(A),e&&(i.length>0&&(n[n.length]=+i),r[r.length]={cmd:e,args:n},n=[],i="",a=!1),e=A;else if([" ",","].includes(A)||A==="-"&&i.length>0&&i[i.length-1]!=="e"||A==="."&&a){if(i.length===0)continue;n.length===s?(r[r.length]={cmd:e,args:n},n=[+i],e==="M"&&(e="L"),e==="m"&&(e="l")):n[n.length]=+i,a=A===".",i=["-","."].includes(A)?A:""}else i+=A,A==="."&&(a=!0)}return i.length>0&&(n.length===s?(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},X0e=function(t){Ot=Rt=Cr=Br=dg=hg=0;for(var e=[],r=0;r<t.length;r++){var n=t[r];if(n.cmd&&typeof jD[n.cmd]=="function"){var i=jD[n.cmd](n.args);Array.isArray(i)?e=e.concat(i):e.push(i)}}return e},jD={M:function(t){return Ot=t[0],Rt=t[1],Cr=Br=null,dg=Ot,hg=Rt,hc(Ot,Rt)},m:function(t){return Ot+=t[0],Rt+=t[1],Cr=Br=null,dg=Ot,hg=Rt,hc(Ot,Rt)},C:function(t){return Ot=t[4],Rt=t[5],Cr=t[2],Br=t[3],eo(t[0],t[1],t[2],t[3],t[4],t[5])},c:function(t){var e=eo(t[0]+Ot,t[1]+Rt,t[2]+Ot,t[3]+Rt,t[4]+Ot,t[5]+Rt);return Cr=Ot+t[2],Br=Rt+t[3],Ot+=t[4],Rt+=t[5],e},S:function(t){(Cr===null||Br===null)&&(Cr=Ot,Br=Rt);var e=eo(Ot-(Cr-Ot),Rt-(Br-Rt),t[0],t[1],t[2],t[3]);return Cr=t[0],Br=t[1],Ot=t[2],Rt=t[3],e},s:function(t){(Cr===null||Br===null)&&(Cr=Ot,Br=Rt);var e=eo(Ot-(Cr-Ot),Rt-(Br-Rt),Ot+t[0],Rt+t[1],Ot+t[2],Rt+t[3]);return Cr=Ot+t[0],Br=Rt+t[1],Ot+=t[2],Rt+=t[3],e},Q:function(t){return Cr=t[0],Br=t[1],Ot=t[2],Rt=t[3],zy(t[0],t[1],Ot,Rt)},q:function(t){var e=zy(t[0]+Ot,t[1]+Rt,t[2]+Ot,t[3]+Rt);return Cr=Ot+t[0],Br=Rt+t[1],Ot+=t[2],Rt+=t[3],e},T:function(t){Cr===null||Br===null?(Cr=Ot,Br=Rt):(Cr=Ot-(Cr-Ot),Br=Rt-(Br-Rt));var e=zy(Cr,Br,t[0],t[1]);return Cr=Ot-(Cr-Ot),Br=Rt-(Br-Rt),Ot=t[0],Rt=t[1],e},t:function(t){Cr===null||Br===null?(Cr=Ot,Br=Rt):(Cr=Ot-(Cr-Ot),Br=Rt-(Br-Rt));var e=zy(Cr,Br,Ot+t[0],Rt+t[1]);return Ot+=t[0],Rt+=t[1],e},A:function(t){var e=ID(Ot,Rt,t);return Ot=t[5],Rt=t[6],e},a:function(t){t[5]+=Ot,t[6]+=Rt;var e=ID(Ot,Rt,t);return Ot=t[5],Rt=t[6],e},L:function(t){return Ot=t[0],Rt=t[1],Cr=Br=null,Zi(Ot,Rt)},l:function(t){return Ot+=t[0],Rt+=t[1],Cr=Br=null,Zi(Ot,Rt)},H:function(t){return Ot=t[0],Cr=Br=null,Zi(Ot,Rt)},h:function(t){return Ot+=t[0],Cr=Br=null,Zi(Ot,Rt)},V:function(t){return Rt=t[0],Cr=Br=null,Zi(Ot,Rt)},v:function(t){return Rt+=t[0],Cr=Br=null,Zi(Ot,Rt)},Z:function(){var t=Yu();return Ot=dg,Rt=hg,t},z:function(){var t=Yu();return Ot=dg,Rt=hg,t}},ID=function(t,e,r){for(var n=r[0],i=r[1],a=r[2],s=r[3],o=r[4],c=r[5],A=r[6],u=Y0e(c,A,n,i,s,o,a,t,e),d=[],f=0,h=u;f<h.length;f++){var m=h[f],p=Z0e.apply(void 0,m);d.push(eo.apply(void 0,p))}return d},Y0e=function(t,e,r,n,i,a,s,o,c){var A=s*(Math.PI/180),u=Math.sin(A),d=Math.cos(A);r=Math.abs(r),n=Math.abs(n),Cr=d*(o-t)*.5+u*(c-e)*.5,Br=d*(c-e)*.5-u*(o-t)*.5;var f=Cr*Cr/(r*r)+Br*Br/(n*n);f>1&&(f=Math.sqrt(f),r*=f,n*=f);var h=d/r,m=u/r,p=-u/n,x=d/n,v=h*o+m*c,y=p*o+x*c,b=h*t+m*e,E=p*t+x*e,S=(b-v)*(b-v)+(E-y)*(E-y),I=1/S-.25;I<0&&(I=0);var B=Math.sqrt(I);a===i&&(B=-B);var _=.5*(v+b)-B*(E-y),O=.5*(y+E)+B*(b-v),j=Math.atan2(y-O,v-_),T=Math.atan2(E-O,b-_),P=T-j;P<0&&a===1?P+=2*Math.PI:P>0&&a===0&&(P-=2*Math.PI);for(var L=Math.ceil(Math.abs(P/(Math.PI*.5+.001))),K=[],le=0;le<L;le++){var ne=j+le*P/L,fe=j+(le+1)*P/L;K[le]=[_,O,ne,fe,r,n,u,d]}return K},Z0e=function(t,e,r,n,i,a,s,o){var c=o*i,A=-s*a,u=s*i,d=o*a,f=.5*(n-r),h=8/3*Math.sin(f*.5)*Math.sin(f*.5)/Math.sin(f),m=t+Math.cos(r)-h*Math.sin(r),p=e+Math.sin(r)+h*Math.cos(r),x=t+Math.cos(n),v=e+Math.sin(n),y=x+h*Math.sin(n),b=v-h*Math.cos(n),E=[c*m+A*p,u*m+d*p,c*y+A*b,u*y+d*b,c*x+A*v,u*x+d*v];return E},$0e=function(t){return X0e(J0e(t))},epe=function(t,e){for(var r=[Mi(),e.graphicsState&&Wh(e.graphicsState),bz(),Kh(e.color),xT(e.font,e.size),Q0e(e.lineHeight),Bz(va(e.rotate),va(e.xSkew),va(e.ySkew),e.x,e.y)].filter(Boolean),n=0,i=t.length;n<i;n++)r.push(wz(t[n]),M0e());return r.push(Cz(),Qi()),r},Fz=function(t,e){return[Mi(),e.graphicsState&&Wh(e.graphicsState),Oo(e.x,e.y),Mp(va(e.rotate)),o1(e.width,e.height),mT(va(e.xSkew),va(e.ySkew)),yT(t),Qi()].filter(Boolean)},tpe=function(t,e){return[Mi(),e.graphicsState&&Wh(e.graphicsState),Oo(e.x,e.y),Mp(va(e.rotate)),o1(e.xScale,e.yScale),mT(va(e.xSkew),va(e.ySkew)),yT(t),Qi()].filter(Boolean)},rpe=function(t){var e,r;return[Mi(),t.graphicsState&&Wh(t.graphicsState),t.color&&$1(t.color),Y1(t.thickness),E5((e=t.dashArray)!==null&&e!==void 0?e:[],(r=t.dashPhase)!==null&&r!==void 0?r:0),hc(t.start.x,t.start.y),t.lineCap&&N5(t.lineCap),hc(t.start.x,t.start.y),Zi(t.end.x,t.end.y),Z1(),Qi()].filter(Boolean)},pp=function(t){var e,r;return[Mi(),t.graphicsState&&Wh(t.graphicsState),t.color&&Kh(t.color),t.borderColor&&$1(t.borderColor),Y1(t.borderWidth),t.borderLineCap&&N5(t.borderLineCap),E5((e=t.borderDashArray)!==null&&e!==void 0?e:[],(r=t.borderDashPhase)!==null&&r!==void 0?r:0),Oo(t.x,t.y),Mp(va(t.rotate)),mT(va(t.xSkew),va(t.ySkew)),hc(0,0),Zi(0,t.height),Zi(t.width,t.height),Zi(t.width,0),Yu(),t.color&&t.borderWidth?vT():t.color?gT():t.borderColor?Z1():Yu(),Qi()].filter(Boolean)},Pb=4*((Math.sqrt(2)-1)/3),npe=function(t){var e=Ar(t.x),r=Ar(t.y),n=Ar(t.xScale),i=Ar(t.yScale);e-=n,r-=i;var a=n*Pb,s=i*Pb,o=e+n*2,c=r+i*2,A=e+n,u=r+i;return[Mi(),hc(e,u),eo(e,u-s,A-a,r,A,r),eo(A+a,r,o,u-s,o,u),eo(o,u+s,A+a,c,A,c),eo(A-a,c,e,u+s,e,u),Qi()]},ipe=function(t){var e=Ar(t.x),r=Ar(t.y),n=Ar(t.xScale),i=Ar(t.yScale),a=-n,s=-i,o=n*Pb,c=i*Pb,A=a+n*2,u=s+i*2,d=a+n,f=s+i;return[Oo(e,r),Mp(va(t.rotate)),hc(a,f),eo(a,f-c,d-o,s,d,s),eo(d+o,s,A,f-c,A,f),eo(A,f+c,d+o,u,d,u),eo(d-o,u,a,f+c,a,f)]},JS=function(t){var e,r,n;return _r([Mi(),t.graphicsState&&Wh(t.graphicsState),t.color&&Kh(t.color),t.borderColor&&$1(t.borderColor),Y1(t.borderWidth),t.borderLineCap&&N5(t.borderLineCap),E5((e=t.borderDashArray)!==null&&e!==void 0?e:[],(r=t.borderDashPhase)!==null&&r!==void 0?r:0)],t.rotate===void 0?npe({x:t.x,y:t.y,xScale:t.xScale,yScale:t.yScale}):ipe({x:t.x,y:t.y,xScale:t.xScale,yScale:t.yScale,rotate:(n=t.rotate)!==null&&n!==void 0?n:Kt(0)}),[t.color&&t.borderWidth?vT():t.color?gT():t.borderColor?Z1():Yu(),Qi()]).filter(Boolean)},ape=function(t,e){var r,n,i;return _r([Mi(),e.graphicsState&&Wh(e.graphicsState),Oo(e.x,e.y),Mp(va((r=e.rotate)!==null&&r!==void 0?r:Kt(0))),e.scale?o1(e.scale,-e.scale):o1(1,-1),e.color&&Kh(e.color),e.borderColor&&$1(e.borderColor),e.borderWidth&&Y1(e.borderWidth),e.borderLineCap&&N5(e.borderLineCap),E5((n=e.borderDashArray)!==null&&n!==void 0?n:[],(i=e.borderDashPhase)!==null&&i!==void 0?i:0)],$0e(t),[e.color&&e.borderWidth?vT():e.color?gT():e.borderColor?Z1():Yu(),Qi()]).filter(Boolean)},spe=function(t){var e=Ar(t.size),r=-1+.75,n=-1+.51,i=1-.525,a=1-.31,s=-1+.325,o=-((s-r)*(a-r))/(i-n)+n;return[Mi(),t.color&&$1(t.color),Y1(t.thickness),Oo(t.x,t.y),hc(s*e,o*e),Zi(r*e,n*e),Zi(a*e,i*e),Z1(),Qi()].filter(Boolean)},md=function(t){return t.rotation===0?[Oo(0,0),Hy(0)]:t.rotation===90?[Oo(t.width,0),Hy(90)]:t.rotation===180?[Oo(t.width,t.height),Hy(180)]:t.rotation===270?[Oo(0,t.height),Hy(270)]:[]},Vy=function(t){var e=pp({x:t.x,y:t.y,width:t.width,height:t.height,borderWidth:t.borderWidth,color:t.color,borderColor:t.borderColor,rotate:Kt(0),xSkew:Kt(0),ySkew:Kt(0)});if(!t.filled)return e;var r=Ar(t.width),n=Ar(t.height),i=Math.min(r,n)/2,a=spe({x:r/2,y:n/2,size:i,thickness:t.thickness,color:t.markColor});return _r([Mi()],e,a,[Qi()])},Wy=function(t){var e=Ar(t.width),r=Ar(t.height),n=Math.min(e,r)/2,i=JS({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 a=JS({x:t.x,y:t.y,xScale:n*.45,yScale:n*.45,color:t.dotColor,borderColor:void 0,borderWidth:0});return _r([Mi()],i,a,[Qi()])},kD=function(t){var e=Ar(t.x),r=Ar(t.y),n=Ar(t.width),i=Ar(t.height),a=pp({x:e,y:r,width:n,height:i,borderWidth:t.borderWidth,color:t.color,borderColor:t.borderColor,rotate:Kt(0),xSkew:Kt(0),ySkew:Kt(0)}),s=BT(t.textLines,{color:t.textColor,font:t.font,size:t.fontSize,rotate:Kt(0),xSkew:Kt(0),ySkew:Kt(0)});return _r([Mi()],a,s,[Qi()])},BT=function(t,e){for(var r=[bz(),Kh(e.color),xT(e.font,e.size)],n=0,i=t.length;n<i;n++){var a=t[n],s=a.encoded,o=a.x,c=a.y;r.push(Bz(va(e.rotate),va(e.xSkew),va(e.ySkew),o,c),wz(s))}return r.push(Cz()),r},Tz=function(t){var e=Ar(t.x),r=Ar(t.y),n=Ar(t.width),i=Ar(t.height),a=Ar(t.borderWidth),s=Ar(t.padding),o=e+a/2+s,c=r+a/2+s,A=n-(a/2+s)*2,u=i-(a/2+s)*2,d=[hc(o,c),Zi(o,c+u),Zi(o+A,c+u),Zi(o+A,c),Yu(),xz(),yz()],f=pp({x:e,y:r,width:n,height:i,borderWidth:t.borderWidth,color:t.color,borderColor:t.borderColor,rotate:Kt(0),xSkew:Kt(0),ySkew:Kt(0)}),h=BT(t.textLines,{color:t.textColor,font:t.font,size:t.fontSize,rotate:Kt(0),xSkew:Kt(0),ySkew:Kt(0)}),m=_r([Ez("Tx"),Mi()],h,[Qi(),Nz()]);return _r([Mi()],f,d,m,[Qi()])},ope=function(t){for(var e=Ar(t.x),r=Ar(t.y),n=Ar(t.width),i=Ar(t.height),a=Ar(t.lineHeight),s=Ar(t.borderWidth),o=Ar(t.padding),c=e+s/2+o,A=r+s/2+o,u=n-(s/2+o)*2,d=i-(s/2+o)*2,f=[hc(c,A),Zi(c,A+d),Zi(c+u,A+d),Zi(c+u,A),Yu(),xz(),yz()],h=pp({x:e,y:r,width:n,height:i,borderWidth:t.borderWidth,color:t.color,borderColor:t.borderColor,rotate:Kt(0),xSkew:Kt(0),ySkew:Kt(0)}),m=[],p=0,x=t.selectedLines.length;p<x;p++){var v=t.textLines[t.selectedLines[p]];m.push.apply(m,pp({x:v.x-o,y:v.y-(a-v.height)/2,width:n-s,height:v.height+(a-v.height)/2,borderWidth:0,color:t.selectedColor,borderColor:void 0,rotate:Kt(0),xSkew:Kt(0),ySkew:Kt(0)}))}var y=BT(t.textLines,{color:t.textColor,font:t.font,size:t.fontSize,rotate:Kt(0),xSkew:Kt(0),ySkew:Kt(0)}),b=_r([Ez("Tx"),Mi()],y,[Qi(),Nz()]);return _r([Mi()],h,m,f,b,[Qi()])},lpe=function(t){ut(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),cpe=function(t){ut(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),Ape=function(t){ut(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),upe=function(t){ut(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),dpe=function(t){ut(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),jd=function(t){ut(e,t);function e(r,n,i){var a,s,o=this,c=n==null?void 0:n.name,A=(s=(a=i==null?void 0:i.constructor)===null||a===void 0?void 0:a.name)!==null&&s!==void 0?s:i,u='Expected field "'+r+'" to be of type '+c+", "+("but it is actually of type "+A);return o=t.call(this,u)||this,o}return e}(Error);(function(t){ut(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 jz=function(t){ut(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),hpe=function(t){ut(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){ut(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 fpe=function(t){ut(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),ppe=function(t){ut(e,t);function e(r,n){var i=this,a="Failed to layout combed text as lineLength="+r+" is greater than cellCount="+n;return i=t.call(this,a)||this,i}return e}(Error),mpe=function(t){ut(e,t);function e(r,n,i){var a=this,s="Attempted to set text with length="+r+" for TextField with maxLength="+n+" and name="+i;return a=t.call(this,s)||this,a}return e}(Error),gpe=function(t){ut(e,t);function e(r,n,i){var a=this,s="Attempted to set maxLength="+n+", which is less than "+r+", the length of this field's current value (name="+i+")";return a=t.call(this,s)||this,a}return e}(Error),Pi;(function(t){t[t.Left=0]="Left",t[t.Center=1]="Center",t[t.Right=2]="Right"})(Pi||(Pi={}));var Iz=4,kz=500,Pz=function(t,e,r,n){n===void 0&&(n=!1);for(var i=Iz;i<kz;){for(var a=0,s=0,o=t.length;s<o;s++){a+=1;for(var c=t[s],A=c.split(" "),u=r.width,d=0,f=A.length;d<f;d++){var h=d===f-1,m=h?A[d]:A[d]+" ",p=e.widthOfTextAtSize(m,i);u-=p,u<=0&&(a+=1,u=r.width-p)}}if(!n&&a>t.length)return i-1;var x=e.heightAtSize(i),v=x+x*.2,y=v*a;if(y>Math.abs(r.height))return i-1;i+=1}return i},vpe=function(t,e,r,n){for(var i=r.width/n,a=r.height,s=Iz,o=que(t);s<kz;){for(var c=0,A=o.length;c<A;c++){var u=o[c],d=e.widthOfTextAtSize(u,s)>i*.75;if(d)return s-1}var f=e.heightAtSize(s,{descender:!1});if(f>a)return s-1;s+=1}return s},xpe=function(t){for(var e=t.length;e>0;e--)if(/\s/.test(t[e]))return e},ype=function(t,e,r,n){for(var i,a=t.length;a>0;){var s=t.substring(0,a),o=r.encodeText(s),c=r.widthOfTextAtSize(s,n);if(c<e){var A=t.substring(a)||void 0;return{line:s,encoded:o,width:c,remainder:A}}a=(i=xpe(s))!==null&&i!==void 0?i:0}return{line:t,encoded:r.encodeText(t),width:r.widthOfTextAtSize(t,n),remainder:void 0}},Dz=function(t,e){var r=e.alignment,n=e.fontSize,i=e.font,a=e.bounds,s=X9(V1(t));(n===void 0||n===0)&&(n=Pz(s,i,a,!0));for(var o=i.heightAtSize(n),c=o+o*.2,A=[],u=a.x,d=a.y,f=a.x+a.width,h=a.y+a.height,m=a.y+a.height,p=0,x=s.length;p<x;p++)for(var v=s[p];v!==void 0;){var y=ype(v,a.width,i,n),b=y.line,E=y.encoded,S=y.width,I=y.remainder,B=r===Pi.Left?a.x:r===Pi.Center?a.x+a.width/2-S/2:r===Pi.Right?a.x+a.width-S:a.x;m-=c,B<u&&(u=B),m<d&&(d=m),B+S>f&&(f=B+S),m+o>h&&(h=m+o),A.push({text:b,encoded:E,width:S,height:o,x:B,y:m}),v=I==null?void 0:I.trim()}return{fontSize:n,lineHeight:c,lines:A,bounds:{x:u,y:d,width:f-u,height:h-d}}},wpe=function(t,e){var r=e.fontSize,n=e.font,i=e.bounds,a=e.cellCount,s=Y9(V1(t));if(s.length>a)throw new ppe(s.length,a);(r===void 0||r===0)&&(r=vpe(s,n,i,a));for(var o=i.width/a,c=n.heightAtSize(r,{descender:!1}),A=i.y+(i.height/2-c/2),u=[],d=i.x,f=i.y,h=i.x+i.width,m=i.y+i.height,p=0,x=0;p<a;){var v=Z9(s,x),y=v[0],b=v[1],E=n.encodeText(y),S=n.widthOfTextAtSize(y,r),I=i.x+(o*p+o/2),B=I-S/2;B<d&&(d=B),A<f&&(f=A),B+S>h&&(h=B+S),A+c>m&&(m=A+c),u.push({text:s,encoded:E,width:S,height:c,x:B,y:A}),p+=1,x+=b}return{fontSize:r,cells:u,bounds:{x:d,y:f,width:h-d,height:m-f}}},Db=function(t,e){var r=e.alignment,n=e.fontSize,i=e.font,a=e.bounds,s=Y9(V1(t));(n===void 0||n===0)&&(n=Pz([s],i,a));var o=i.encodeText(s),c=i.widthOfTextAtSize(s,n),A=i.heightAtSize(n,{descender:!1}),u=r===Pi.Left?a.x:r===Pi.Center?a.x+a.width/2-c/2:r===Pi.Right?a.x+a.width-c:a.x,d=a.y+(a.height/2-A/2);return{fontSize:n,line:{text:s,encoded:o,width:c,height:A,x:u,y:d},bounds:{x:u,y:d,width:c,height:A}}},Qp=function(t){return"normal"in t?t:{normal:t}},bpe=/\/([^\0\t\n\f\r\ ]+)[\0\t\n\f\r\ ]+(\d*\.\d+|\d+)[\0\t\n\f\r\ ]+Tf/,$u=function(t){var e,r,n=(e=t.getDefaultAppearance())!==null&&e!==void 0?e:"",i=(r=X3(n,bpe).match)!==null&&r!==void 0?r:[],a=Number(i[2]);return isFinite(a)?a:void 0},Cpe=/(\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)/,Wo=function(t){var e,r=(e=t.getDefaultAppearance())!==null&&e!==void 0?e:"",n=X3(r,Cpe).match,i=n??[],a=i[1],s=i[2],o=i[3],c=i[4],A=i[5];if(A==="g"&&a)return Sz(Number(a));if(A==="rg"&&a&&s&&o)return fr(Number(a),Number(s),Number(o));if(A==="k"&&a&&s&&o&&c)return _z(Number(a),Number(s),Number(o),Number(c))},Ko=function(t,e,r,n){var i;n===void 0&&(n=0);var a=[Kh(e).toString(),xT((i=r==null?void 0:r.name)!==null&&i!==void 0?i:"dummy__noop",n).toString()].join(` 3569`);t.setDefaultAppearance(a)},Bpe=function(t,e){var r,n,i,a=Wo(e),s=Wo(t.acroField),o=e.getRectangle(),c=e.getAppearanceCharacteristics(),A=e.getBorderStyle(),u=(r=A==null?void 0:A.getWidth())!==null&&r!==void 0?r:0,d=yA(c==null?void 0:c.getRotation()),f=Vh(o,d),h=f.width,m=f.height,p=md(tr(tr({},o),{rotation:d})),x=fr(0,0,0),v=(n=as(c==null?void 0:c.getBorderColor()))!==null&&n!==void 0?n:x,y=as(c==null?void 0:c.getBackgroundColor()),b=as(c==null?void 0:c.getBackgroundColor(),.8),E=(i=a??s)!==null&&i!==void 0?i:x;Ko(a?e:t.acroField,E);var S={x:0+u/2,y:0+u/2,width:h-u,height:m-u,thickness:1.5,borderWidth:u,borderColor:v,markColor:E};return{normal:{on:_r(p,Vy(tr(tr({},S),{color:y,filled:!0}))),off:_r(p,Vy(tr(tr({},S),{color:y,filled:!1})))},down:{on:_r(p,Vy(tr(tr({},S),{color:b,filled:!0}))),off:_r(p,Vy(tr(tr({},S),{color:b,filled:!1})))}}},Epe=function(t,e){var r,n,i,a=Wo(e),s=Wo(t.acroField),o=e.getRectangle(),c=e.getAppearanceCharacteristics(),A=e.getBorderStyle(),u=(r=A==null?void 0:A.getWidth())!==null&&r!==void 0?r:0,d=yA(c==null?void 0:c.getRotation()),f=Vh(o,d),h=f.width,m=f.height,p=md(tr(tr({},o),{rotation:d})),x=fr(0,0,0),v=(n=as(c==null?void 0:c.getBorderColor()))!==null&&n!==void 0?n:x,y=as(c==null?void 0:c.getBackgroundColor()),b=as(c==null?void 0:c.getBackgroundColor(),.8),E=(i=a??s)!==null&&i!==void 0?i:x;Ko(a?e:t.acroField,E);var S={x:h/2,y:m/2,width:h-u,height:m-u,borderWidth:u,borderColor:v,dotColor:E};return{normal:{on:_r(p,Wy(tr(tr({},S),{color:y,filled:!0}))),off:_r(p,Wy(tr(tr({},S),{color:y,filled:!1})))},down:{on:_r(p,Wy(tr(tr({},S),{color:b,filled:!0}))),off:_r(p,Wy(tr(tr({},S),{color:b,filled:!1})))}}},Npe=function(t,e,r){var n,i,a,s,o,c=Wo(e),A=Wo(t.acroField),u=$u(e),d=$u(t.acroField),f=e.getRectangle(),h=e.getAppearanceCharacteristics(),m=e.getBorderStyle(),p=h==null?void 0:h.getCaptions(),x=(n=p==null?void 0:p.normal)!==null&&n!==void 0?n:"",v=(a=(i=p==null?void 0:p.down)!==null&&i!==void 0?i:x)!==null&&a!==void 0?a:"",y=(s=m==null?void 0:m.getWidth())!==null&&s!==void 0?s:0,b=yA(h==null?void 0:h.getRotation()),E=Vh(f,b),S=E.width,I=E.height,B=md(tr(tr({},f),{rotation:b})),_=fr(0,0,0),O=as(h==null?void 0:h.getBorderColor()),j=as(h==null?void 0:h.getBackgroundColor()),T=as(h==null?void 0:h.getBackgroundColor(),.8),P={x:y,y,width:S-y*2,height:I-y*2},L=Db(x,{alignment:Pi.Center,fontSize:u??d,font:r,bounds:P}),K=Db(v,{alignment:Pi.Center,fontSize:u??d,font:r,bounds:P}),le=Math.min(L.fontSize,K.fontSize),ne=(o=c??A)!==null&&o!==void 0?o:_;Ko(c||u!==void 0?e:t.acroField,ne,r,le);var fe={x:0+y/2,y:0+y/2,width:S-y,height:I-y,borderWidth:y,borderColor:O,textColor:ne,font:r.name,fontSize:le};return{normal:_r(B,kD(tr(tr({},fe),{color:j,textLines:[L.line]}))),down:_r(B,kD(tr(tr({},fe),{color:T,textLines:[K.line]})))}},Spe=function(t,e,r){var n,i,a,s,o=Wo(e),c=Wo(t.acroField),A=$u(e),u=$u(t.acroField),d=e.getRectangle(),f=e.getAppearanceCharacteristics(),h=e.getBorderStyle(),m=(n=t.getText())!==null&&n!==void 0?n:"",p=(i=h==null?void 0:h.getWidth())!==null&&i!==void 0?i:0,x=yA(f==null?void 0:f.getRotation()),v=Vh(d,x),y=v.width,b=v.height,E=md(tr(tr({},d),{rotation:x})),S=fr(0,0,0),I=as(f==null?void 0:f.getBorderColor()),B=as(f==null?void 0:f.getBackgroundColor()),_,O,j=t.isCombed()?0:1,T={x:p+j,y:p+j,width:y-(p+j)*2,height:b-(p+j)*2};if(t.isMultiline()){var P=Dz(m,{alignment:t.getAlignment(),fontSize:A??u,font:r,bounds:T});_=P.lines,O=P.fontSize}else if(t.isCombed()){var P=wpe(m,{fontSize:A??u,font:r,bounds:T,cellCount:(a=t.getMaxLength())!==null&&a!==void 0?a:0});_=P.cells,O=P.fontSize}else{var P=Db(m,{alignment:t.getAlignment(),fontSize:A??u,font:r,bounds:T});_=[P.line],O=P.fontSize}var L=(s=o??c)!==null&&s!==void 0?s:S;Ko(o||A!==void 0?e:t.acroField,L,r,O);var K={x:0+p/2,y:0+p/2,width:y-p,height:b-p,borderWidth:p??0,borderColor:I,textColor:L,font:r.name,fontSize:O,color:B,textLines:_,padding:j};return _r(E,Tz(K))},_pe=function(t,e,r){var n,i,a,s=Wo(e),o=Wo(t.acroField),c=$u(e),A=$u(t.acroField),u=e.getRectangle(),d=e.getAppearanceCharacteristics(),f=e.getBorderStyle(),h=(n=t.getSelected()[0])!==null&&n!==void 0?n:"",m=(i=f==null?void 0:f.getWidth())!==null&&i!==void 0?i:0,p=yA(d==null?void 0:d.getRotation()),x=Vh(u,p),v=x.width,y=x.height,b=md(tr(tr({},u),{rotation:p})),E=fr(0,0,0),S=as(d==null?void 0:d.getBorderColor()),I=as(d==null?void 0:d.getBackgroundColor()),B=1,_={x:m+B,y:m+B,width:v-(m+B)*2,height:y-(m+B)*2},O=Db(h,{alignment:Pi.Left,fontSize:c??A,font:r,bounds:_}),j=O.line,T=O.fontSize,P=(a=s??o)!==null&&a!==void 0?a:E;Ko(s||c!==void 0?e:t.acroField,P,r,T);var L={x:0+m/2,y:0+m/2,width:v-m,height:y-m,borderWidth:m??0,borderColor:S,textColor:P,font:r.name,fontSize:T,color:I,textLines:[j],padding:B};return _r(b,Tz(L))},Fpe=function(t,e,r){var n,i,a=Wo(e),s=Wo(t.acroField),o=$u(e),c=$u(t.acroField),A=e.getRectangle(),u=e.getAppearanceCharacteristics(),d=e.getBorderStyle(),f=(n=d==null?void 0:d.getWidth())!==null&&n!==void 0?n:0,h=yA(u==null?void 0:u.getRotation()),m=Vh(A,h),p=m.width,x=m.height,v=md(tr(tr({},A),{rotation:h})),y=fr(0,0,0),b=as(u==null?void 0:u.getBorderColor()),E=as(u==null?void 0:u.getBackgroundColor()),S=t.getOptions(),I=t.getSelected();t.isSorted()&&S.sort();for(var B="",_=0,O=S.length;_<O;_++)B+=S[_],_<O-1&&(B+=` 3570`);for(var j=1,T={x:f+j,y:f+j,width:p-(f+j)*2,height:x-(f+j)*2},P=Dz(B,{alignment:Pi.Left,fontSize:o??c,font:r,bounds:T}),L=P.lines,K=P.fontSize,le=P.lineHeight,ne=[],_=0,O=L.length;_<O;_++){var fe=L[_];I.includes(fe.text)&&ne.push(_)}var te=fr(153/255,193/255,218/255),he=(i=a??s)!==null&&i!==void 0?i:y;return Ko(a||o!==void 0?e:t.acroField,he,r,K),_r(v,ope({x:0+f/2,y:0+f/2,width:p-f,height:x-f,borderWidth:f??0,borderColor:b,textColor:he,font:r.name,fontSize:K,color:E,textLines:L,lineHeight:le,selectedColor:te,selectedLines:ne,padding:j}))},Oz=function(){function t(e,r,n){this.alreadyEmbedded=!1,je(e,"ref",[[Wr,"PDFRef"]]),je(r,"doc",[[AA,"PDFDocument"]]),je(n,"embedder",[[oz,"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 je(e,"factor",["number"]),{width:this.width*e,height:this.height*e}},t.prototype.size=function(){return this.scale(1)},t.prototype.embed=function(){return lr(this,void 0,void 0,function(){return cr(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}(),ao=function(){function t(e,r,n){this.modified=!0,je(e,"ref",[[Wr,"PDFRef"]]),je(r,"doc",[[AA,"PDFDocument"]]),je(n,"embedder",[[AT,"CustomFontEmbedder"],[Sb,"StandardFontEmbedder"]]),this.ref=e,this.doc=r,this.name=n.fontName,this.embedder=n}return t.prototype.encodeText=function(e){return je(e,"text",["string"]),this.modified=!0,this.embedder.encodeText(e)},t.prototype.widthOfTextAtSize=function(e,r){return je(e,"text",["string"]),je(r,"size",["number"]),this.embedder.widthOfTextAtSize(e,r)},t.prototype.heightAtSize=function(e,r){var n;return je(e,"size",["number"]),ct(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 je(e,"height",["number"]),this.embedder.sizeOfFontAtHeight(e)},t.prototype.getCharacterSet=function(){return this.embedder instanceof Sb?this.embedder.encoding.supportedCodePoints:this.embedder.font.characterSet},t.prototype.embed=function(){return lr(this,void 0,void 0,function(){return cr(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}(),XS=function(){function t(e,r,n){je(e,"ref",[[Wr,"PDFRef"]]),je(r,"doc",[[AA,"PDFDocument"]]),je(n,"embedder",[[nz,"JpegEmbedder"],[iz,"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 je(e,"factor",["number"]),{width:this.width*e,height:this.height*e}},t.prototype.scaleToFit=function(e,r){je(e,"width",["number"]),je(r,"height",["number"]);var n=e/this.width,i=r/this.height,a=Math.min(n,i);return this.scale(a)},t.prototype.size=function(){return this.scale(1)},t.prototype.embed=function(){return lr(this,void 0,void 0,function(){var e,r,n;return cr(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}(),Mu;(function(t){t[t.Left=0]="Left",t[t.Center=1]="Center",t[t.Right=2]="Right"})(Mu||(Mu={}));var Hp=function(t){ct(t==null?void 0:t.x,"options.x",["number"]),ct(t==null?void 0:t.y,"options.y",["number"]),ct(t==null?void 0:t.width,"options.width",["number"]),ct(t==null?void 0:t.height,"options.height",["number"]),ct(t==null?void 0:t.textColor,"options.textColor",[[Object,"Color"]]),ct(t==null?void 0:t.backgroundColor,"options.backgroundColor",[[Object,"Color"]]),ct(t==null?void 0:t.borderColor,"options.borderColor",[[Object,"Color"]]),ct(t==null?void 0:t.borderWidth,"options.borderWidth",["number"]),ct(t==null?void 0:t.rotate,"options.rotate",[[Object,"Rotation"]])},qh=function(){function t(e,r,n){je(e,"acroField",[[Lp,"PDFAcroTerminal"]]),je(r,"ref",[[Wr,"PDFRef"]]),je(n,"doc",[[AA,"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(cl.ReadOnly)},t.prototype.enableReadOnly=function(){this.acroField.setFlagTo(cl.ReadOnly,!0)},t.prototype.disableReadOnly=function(){this.acroField.setFlagTo(cl.ReadOnly,!1)},t.prototype.isRequired=function(){return this.acroField.hasFlag(cl.Required)},t.prototype.enableRequired=function(){this.acroField.setFlagTo(cl.Required,!0)},t.prototype.disableRequired=function(){this.acroField.setFlagTo(cl.Required,!1)},t.prototype.isExported=function(){return!this.acroField.hasFlag(cl.NoExport)},t.prototype.enableExporting=function(){this.acroField.setFlagTo(cl.NoExport,!1)},t.prototype.disableExporting=function(){this.acroField.setFlagTo(cl.NoExport,!0)},t.prototype.needsAppearancesUpdate=function(){throw new Do(this.constructor.name,"needsAppearancesUpdate")},t.prototype.defaultUpdateAppearances=function(e){throw new Do(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,a=e.borderColor,s=e.borderWidth,o=vz(e.rotate),c=e.caption,A=e.x,u=e.y,d=e.width+s,f=e.height+s,h=!!e.hidden,m=e.page;XH(o,"degreesAngle",90);var p=qS.create(this.doc.context,this.ref),x=L0e({x:A,y:u,width:d,height:f},s,o);p.setRectangle(x),m&&p.setP(m);var v=p.getOrCreateAppearanceCharacteristics();i&&v.setBackgroundColor(FD(i)),v.setRotation(o),c&&v.setCaptions({normal:c}),a&&v.setBorderColor(FD(a));var y=p.getOrCreateBorderStyle();if(s!==void 0&&y.setWidth(s),p.setFlagTo($g.Print,!0),p.setFlagTo($g.Hidden,h),p.setFlagTo($g.Invisible,!1),n){var b=(r=this.acroField.getDefaultAppearance())!==null&&r!==void 0?r:"",E=b+` 3571`+Kh(n).toString();this.acroField.setDefaultAppearance(E)}return p},t.prototype.updateWidgetAppearanceWithFont=function(e,r,n){var i=n.normal,a=n.rollover,s=n.down;this.updateWidgetAppearances(e,{normal:this.createAppearanceStream(e,i,r),rollover:a&&this.createAppearanceStream(e,a,r),down:s&&this.createAppearanceStream(e,s,r)})},t.prototype.updateOnOffWidgetAppearance=function(e,r,n){var i=n.normal,a=n.rollover,s=n.down;this.updateWidgetAppearances(e,{normal:this.createAppearanceDict(e,i,r),rollover:a&&this.createAppearanceDict(e,a,r),down:s&&this.createAppearanceDict(e,s,r)})},t.prototype.updateWidgetAppearances=function(e,r){var n=r.normal,i=r.rollover,a=r.down;e.setNormalAppearance(n),i?e.setRolloverAppearance(i):e.removeRolloverAppearance(),a?e.setDownAppearance(a):e.removeDownAppearance()},t.prototype.createAppearanceStream=function(e,r,n){var i,a=this.acroField.dict.context,s=e.getRectangle(),o=s.width,c=s.height,A=n&&{Font:(i={},i[n.name]=n.ref,i)},u=a.formXObject(r,{Resources:A,BBox:a.obj([0,0,o,c]),Matrix:a.obj([1,0,0,1,0,0])}),d=a.register(u);return d},t.prototype.createImageAppearanceStream=function(e,r,n){var i,a,s=this.acroField.dict.context,o=e.getRectangle(),c=e.getAppearanceCharacteristics(),A=e.getBorderStyle(),u=(a=A==null?void 0:A.getWidth())!==null&&a!==void 0?a:0,d=yA(c==null?void 0:c.getRotation()),f=md(tr(tr({},o),{rotation:d})),h=Vh(o,d),m=r.scaleToFit(h.width-u*2,h.height-u*2),p={x:u,y:u,width:m.width,height:m.height,rotate:Kt(0),xSkew:Kt(0),ySkew:Kt(0)};n===Mu.Center?(p.x+=(h.width-u*2)/2-m.width/2,p.y+=(h.height-u*2)/2-m.height/2):n===Mu.Right&&(p.x=h.width-u-m.width,p.y=h.height-u-m.height);var x=this.doc.context.addRandomSuffix("Image",10),v=_r(f,Fz(x,p)),y={XObject:(i={},i[x]=r.ref,i)},b=s.formXObject(v,{Resources:y,BBox:s.obj([0,0,o.width,o.height]),Matrix:s.obj([1,0,0,1,0,0])});return s.register(b)},t.prototype.createAppearanceDict=function(e,r,n){var i=this.acroField.dict.context,a=this.createAppearanceStream(e,r.on),s=this.createAppearanceStream(e,r.off),o=i.obj({});return o.set(n,a),o.set(re.of("Off"),s),o},t}(),fg=function(t){ut(e,t);function e(r,n,i){var a=t.call(this,r,n,i)||this;return je(r,"acroCheckBox",[[p5,"PDFAcroCheckBox"]]),a.acroField=r,a}return e.prototype.check=function(){var r,n=(r=this.acroField.getOnValue())!==null&&r!==void 0?r:re.of("Yes");this.markAsDirty(),this.acroField.setValue(n)},e.prototype.uncheck=function(){this.markAsDirty(),this.acroField.setValue(re.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,a,s,o,c,A;je(r,"page",[[jo,"PDFPage"]]),Hp(n),n||(n={}),"textColor"in n||(n.textColor=fr(0,0,0)),"backgroundColor"in n||(n.backgroundColor=fr(1,1,1)),"borderColor"in n||(n.borderColor=fr(0,0,0)),"borderWidth"in n||(n.borderWidth=1);var u=this.createWidget({x:(i=n.x)!==null&&i!==void 0?i:0,y:(a=n.y)!==null&&a!==void 0?a:0,width:(s=n.width)!==null&&s!==void 0?s:50,height:(o=n.height)!==null&&o!==void 0?o:50,textColor:n.textColor,backgroundColor:n.backgroundColor,borderColor:n.borderColor,borderWidth:(c=n.borderWidth)!==null&&c!==void 0?c:0,rotate:(A=n.rotate)!==null&&A!==void 0?A:Kt(0),hidden:n.hidden,page:r.ref}),d=this.doc.context.register(u.dict);this.acroField.addWidget(d),u.setAppearanceState(re.of("Off")),this.updateWidgetAppearance(u,re.of("Yes")),r.node.addAnnot(d)},e.prototype.needsAppearancesUpdate=function(){for(var r,n=this.acroField.getWidgets(),i=0,a=n.length;i<a;i++){var s=n[i],o=s.getAppearanceState(),c=(r=s.getAppearances())===null||r===void 0?void 0:r.normal;if(!(c instanceof sr)||o&&!c.has(o))return!0}return!1},e.prototype.defaultUpdateAppearances=function(){this.updateAppearances()},e.prototype.updateAppearances=function(r){var n;ct(r,"provider",[Function]);for(var i=this.acroField.getWidgets(),a=0,s=i.length;a<s;a++){var o=i[a],c=(n=o.getOnValue())!==null&&n!==void 0?n:re.of("Yes");c&&this.updateWidgetAppearance(o,c,r)}this.markAsClean()},e.prototype.updateWidgetAppearance=function(r,n,i){var a=i??Bpe,s=Qp(a(this,r));this.updateOnOffWidgetAppearance(r,n,s)},e.of=function(r,n,i){return new e(r,n,i)},e}(qh),o2=function(t){ut(e,t);function e(r,n,i){var a=t.call(this,r,n,i)||this;return je(r,"acroComboBox",[[m5,"PDFAcroComboBox"]]),a.acroField=r,a}return e.prototype.getOptions=function(){for(var r=this.acroField.getOptions(),n=new Array(r.length),i=0,a=n.length;i<a;i++){var s=r[i],o=s.display,c=s.value;n[i]=(o??c).decodeText()}return n},e.prototype.getSelected=function(){for(var r=this.acroField.getValues(),n=new Array(r.length),i=0,a=r.length;i<a;i++)n[i]=r[i].decodeText();return n},e.prototype.setOptions=function(r){je(r,"options",[Array]);for(var n=new Array(r.length),i=0,a=r.length;i<a;i++)n[i]={value:Vt.fromText(r[i])};this.acroField.setOptions(n)},e.prototype.addOptions=function(r){je(r,"options",["string",Array]);for(var n=Array.isArray(r)?r:[r],i=this.acroField.getOptions(),a=new Array(n.length),s=0,o=n.length;s<o;s++)a[s]={value:Vt.fromText(n[s])};this.acroField.setOptions(i.concat(a))},e.prototype.select=function(r,n){n===void 0&&(n=!1),je(r,"options",["string",Array]),je(n,"merge",["boolean"]);var i=Array.isArray(r)?r:[r],a=this.getOptions(),s=i.find(function(d){return!a.includes(d)});s&&this.enableEditing(),this.markAsDirty(),(i.length>1||i.length===1&&n)&&this.enableMultiselect();for(var o=new Array(i.length),c=0,A=i.length;c<A;c++)o[c]=Vt.fromText(i[c]);if(n){var u=this.acroField.getValues();this.acroField.setValues(u.concat(o))}else this.acroField.setValues(o)},e.prototype.clear=function(){this.markAsDirty(),this.acroField.setValues([])},e.prototype.setFontSize=function(r){h5(r,"fontSize"),this.acroField.setFontSize(r),this.markAsDirty()},e.prototype.isEditable=function(){return this.acroField.hasFlag(Qr.Edit)},e.prototype.enableEditing=function(){this.acroField.setFlagTo(Qr.Edit,!0)},e.prototype.disableEditing=function(){this.acroField.setFlagTo(Qr.Edit,!1)},e.prototype.isSorted=function(){return this.acroField.hasFlag(Qr.Sort)},e.prototype.enableSorting=function(){this.acroField.setFlagTo(Qr.Sort,!0)},e.prototype.disableSorting=function(){this.acroField.setFlagTo(Qr.Sort,!1)},e.prototype.isMultiselect=function(){return this.acroField.hasFlag(Qr.MultiSelect)},e.prototype.enableMultiselect=function(){this.acroField.setFlagTo(Qr.MultiSelect,!0)},e.prototype.disableMultiselect=function(){this.acroField.setFlagTo(Qr.MultiSelect,!1)},e.prototype.isSpellChecked=function(){return!this.acroField.hasFlag(Qr.DoNotSpellCheck)},e.prototype.enableSpellChecking=function(){this.acroField.setFlagTo(Qr.DoNotSpellCheck,!1)},e.prototype.disableSpellChecking=function(){this.acroField.setFlagTo(Qr.DoNotSpellCheck,!0)},e.prototype.isSelectOnClick=function(){return this.acroField.hasFlag(Qr.CommitOnSelChange)},e.prototype.enableSelectOnClick=function(){this.acroField.setFlagTo(Qr.CommitOnSelChange,!0)},e.prototype.disableSelectOnClick=function(){this.acroField.setFlagTo(Qr.CommitOnSelChange,!1)},e.prototype.addToPage=function(r,n){var i,a,s,o,c,A,u;je(r,"page",[[jo,"PDFPage"]]),Hp(n),n||(n={}),"textColor"in n||(n.textColor=fr(0,0,0)),"backgroundColor"in n||(n.backgroundColor=fr(1,1,1)),"borderColor"in n||(n.borderColor=fr(0,0,0)),"borderWidth"in n||(n.borderWidth=1);var d=this.createWidget({x:(i=n.x)!==null&&i!==void 0?i:0,y:(a=n.y)!==null&&a!==void 0?a:0,width:(s=n.width)!==null&&s!==void 0?s:200,height:(o=n.height)!==null&&o!==void 0?o:50,textColor:n.textColor,backgroundColor:n.backgroundColor,borderColor:n.borderColor,borderWidth:(c=n.borderWidth)!==null&&c!==void 0?c:0,rotate:(A=n.rotate)!==null&&A!==void 0?A:Kt(0),hidden:n.hidden,page:r.ref}),f=this.doc.context.register(d.dict);this.acroField.addWidget(f);var h=(u=n.font)!==null&&u!==void 0?u:this.doc.getForm().getDefaultFont();this.updateWidgetAppearance(d,h),r.node.addAnnot(f)},e.prototype.needsAppearancesUpdate=function(){var r;if(this.isDirty())return!0;for(var n=this.acroField.getWidgets(),i=0,a=n.length;i<a;i++){var s=n[i],o=((r=s.getAppearances())===null||r===void 0?void 0:r.normal)instanceof no;if(!o)return!0}return!1},e.prototype.defaultUpdateAppearances=function(r){je(r,"font",[[ao,"PDFFont"]]),this.updateAppearances(r)},e.prototype.updateAppearances=function(r,n){je(r,"font",[[ao,"PDFFont"]]),ct(n,"provider",[Function]);for(var i=this.acroField.getWidgets(),a=0,s=i.length;a<s;a++){var o=i[a];this.updateWidgetAppearance(o,r,n)}this.markAsClean()},e.prototype.updateWidgetAppearance=function(r,n,i){var a=i??_pe,s=Qp(a(this,r,n));this.updateWidgetAppearanceWithFont(r,n,s)},e.of=function(r,n,i){return new e(r,n,i)},e}(qh),l2=function(t){ut(e,t);function e(r,n,i){var a=t.call(this,r,n,i)||this;return je(r,"acroListBox",[[y5,"PDFAcroListBox"]]),a.acroField=r,a}return e.prototype.getOptions=function(){for(var r=this.acroField.getOptions(),n=new Array(r.length),i=0,a=n.length;i<a;i++){var s=r[i],o=s.display,c=s.value;n[i]=(o??c).decodeText()}return n},e.prototype.getSelected=function(){for(var r=this.acroField.getValues(),n=new Array(r.length),i=0,a=r.length;i<a;i++)n[i]=r[i].decodeText();return n},e.prototype.setOptions=function(r){je(r,"options",[Array]),this.markAsDirty();for(var n=new Array(r.length),i=0,a=r.length;i<a;i++)n[i]={value:Vt.fromText(r[i])};this.acroField.setOptions(n)},e.prototype.addOptions=function(r){je(r,"options",["string",Array]),this.markAsDirty();for(var n=Array.isArray(r)?r:[r],i=this.acroField.getOptions(),a=new Array(n.length),s=0,o=n.length;s<o;s++)a[s]={value:Vt.fromText(n[s])};this.acroField.setOptions(i.concat(a))},e.prototype.select=function(r,n){n===void 0&&(n=!1),je(r,"options",["string",Array]),je(n,"merge",["boolean"]);var i=Array.isArray(r)?r:[r],a=this.getOptions();Sfe(i,"option",a),this.markAsDirty(),(i.length>1||i.length===1&&n)&&this.enableMultiselect();for(var s=new Array(i.length),o=0,c=i.length;o<c;o++)s[o]=Vt.fromText(i[o]);if(n){var A=this.acroField.getValues();this.acroField.setValues(A.concat(s))}else this.acroField.setValues(s)},e.prototype.clear=function(){this.markAsDirty(),this.acroField.setValues([])},e.prototype.setFontSize=function(r){h5(r,"fontSize"),this.acroField.setFontSize(r),this.markAsDirty()},e.prototype.isSorted=function(){return this.acroField.hasFlag(Qr.Sort)},e.prototype.enableSorting=function(){this.acroField.setFlagTo(Qr.Sort,!0)},e.prototype.disableSorting=function(){this.acroField.setFlagTo(Qr.Sort,!1)},e.prototype.isMultiselect=function(){return this.acroField.hasFlag(Qr.MultiSelect)},e.prototype.enableMultiselect=function(){this.acroField.setFlagTo(Qr.MultiSelect,!0)},e.prototype.disableMultiselect=function(){this.acroField.setFlagTo(Qr.MultiSelect,!1)},e.prototype.isSelectOnClick=function(){return this.acroField.hasFlag(Qr.CommitOnSelChange)},e.prototype.enableSelectOnClick=function(){this.acroField.setFlagTo(Qr.CommitOnSelChange,!0)},e.prototype.disableSelectOnClick=function(){this.acroField.setFlagTo(Qr.CommitOnSelChange,!1)},e.prototype.addToPage=function(r,n){var i,a,s,o,c,A,u;je(r,"page",[[jo,"PDFPage"]]),Hp(n),n||(n={}),"textColor"in n||(n.textColor=fr(0,0,0)),"backgroundColor"in n||(n.backgroundColor=fr(1,1,1)),"borderColor"in n||(n.borderColor=fr(0,0,0)),"borderWidth"in n||(n.borderWidth=1);var d=this.createWidget({x:(i=n.x)!==null&&i!==void 0?i:0,y:(a=n.y)!==null&&a!==void 0?a:0,width:(s=n.width)!==null&&s!==void 0?s:200,height:(o=n.height)!==null&&o!==void 0?o:100,textColor:n.textColor,backgroundColor:n.backgroundColor,borderColor:n.borderColor,borderWidth:(c=n.borderWidth)!==null&&c!==void 0?c:0,rotate:(A=n.rotate)!==null&&A!==void 0?A:Kt(0),hidden:n.hidden,page:r.ref}),f=this.doc.context.register(d.dict);this.acroField.addWidget(f);var h=(u=n.font)!==null&&u!==void 0?u:this.doc.getForm().getDefaultFont();this.updateWidgetAppearance(d,h),r.node.addAnnot(f)},e.prototype.needsAppearancesUpdate=function(){var r;if(this.isDirty())return!0;for(var n=this.acroField.getWidgets(),i=0,a=n.length;i<a;i++){var s=n[i],o=((r=s.getAppearances())===null||r===void 0?void 0:r.normal)instanceof no;if(!o)return!0}return!1},e.prototype.defaultUpdateAppearances=function(r){je(r,"font",[[ao,"PDFFont"]]),this.updateAppearances(r)},e.prototype.updateAppearances=function(r,n){je(r,"font",[[ao,"PDFFont"]]),ct(n,"provider",[Function]);for(var i=this.acroField.getWidgets(),a=0,s=i.length;a<s;a++){var o=i[a];this.updateWidgetAppearance(o,r,n)}this.markAsClean()},e.prototype.updateWidgetAppearance=function(r,n,i){var a=i??Fpe,s=Qp(a(this,r,n));this.updateWidgetAppearanceWithFont(r,n,s)},e.of=function(r,n,i){return new e(r,n,i)},e}(qh),pg=function(t){ut(e,t);function e(r,n,i){var a=t.call(this,r,n,i)||this;return je(r,"acroRadioButton",[[x5,"PDFAcroRadioButton"]]),a.acroField=r,a}return e.prototype.getOptions=function(){var r=this.acroField.getExportValues();if(r){for(var n=new Array(r.length),i=0,a=r.length;i<a;i++)n[i]=r[i].decodeText();return n}for(var s=this.acroField.getOnValues(),o=new Array(s.length),i=0,a=o.length;i<a;i++)o[i]=s[i].decodeText();return o},e.prototype.getSelected=function(){var r=this.acroField.getValue();if(r!==re.of("Off")){var n=this.acroField.getExportValues();if(n){for(var i=this.acroField.getOnValues(),a=0,s=i.length;a<s;a++)if(i[a]===r)return n[a].decodeText()}return r.decodeText()}},e.prototype.select=function(r){je(r,"option",["string"]);var n=this.getOptions();mu(r,"option",n),this.markAsDirty();var i=this.acroField.getOnValues(),a=this.acroField.getExportValues();if(a)for(var s=0,o=a.length;s<o;s++)a[s].decodeText()===r&&this.acroField.setValue(i[s]);else for(var s=0,o=i.length;s<o;s++){var c=i[s];c.decodeText()===r&&this.acroField.setValue(c)}},e.prototype.clear=function(){this.markAsDirty(),this.acroField.setValue(re.of("Off"))},e.prototype.isOffToggleable=function(){return!this.acroField.hasFlag(To.NoToggleToOff)},e.prototype.enableOffToggling=function(){this.acroField.setFlagTo(To.NoToggleToOff,!1)},e.prototype.disableOffToggling=function(){this.acroField.setFlagTo(To.NoToggleToOff,!0)},e.prototype.isMutuallyExclusive=function(){return!this.acroField.hasFlag(To.RadiosInUnison)},e.prototype.enableMutualExclusion=function(){this.acroField.setFlagTo(To.RadiosInUnison,!1)},e.prototype.disableMutualExclusion=function(){this.acroField.setFlagTo(To.RadiosInUnison,!0)},e.prototype.addOptionToPage=function(r,n,i){var a,s,o,c,A,u,d,f,h;je(r,"option",["string"]),je(n,"page",[[jo,"PDFPage"]]),Hp(i);var m=this.createWidget({x:(a=i==null?void 0:i.x)!==null&&a!==void 0?a:0,y:(s=i==null?void 0:i.y)!==null&&s!==void 0?s:0,width:(o=i==null?void 0:i.width)!==null&&o!==void 0?o:50,height:(c=i==null?void 0:i.height)!==null&&c!==void 0?c:50,textColor:(A=i==null?void 0:i.textColor)!==null&&A!==void 0?A:fr(0,0,0),backgroundColor:(u=i==null?void 0:i.backgroundColor)!==null&&u!==void 0?u:fr(1,1,1),borderColor:(d=i==null?void 0:i.borderColor)!==null&&d!==void 0?d:fr(0,0,0),borderWidth:(f=i==null?void 0:i.borderWidth)!==null&&f!==void 0?f:1,rotate:(h=i==null?void 0:i.rotate)!==null&&h!==void 0?h:Kt(0),hidden:i==null?void 0:i.hidden,page:n.ref}),p=this.doc.context.register(m.dict),x=this.acroField.addWidgetWithOpt(p,Vt.fromText(r),!this.isMutuallyExclusive());m.setAppearanceState(re.of("Off")),this.updateWidgetAppearance(m,x),n.node.addAnnot(p)},e.prototype.needsAppearancesUpdate=function(){for(var r,n=this.acroField.getWidgets(),i=0,a=n.length;i<a;i++){var s=n[i],o=s.getAppearanceState(),c=(r=s.getAppearances())===null||r===void 0?void 0:r.normal;if(!(c instanceof sr)||o&&!c.has(o))return!0}return!1},e.prototype.defaultUpdateAppearances=function(){this.updateAppearances()},e.prototype.updateAppearances=function(r){ct(r,"provider",[Function]);for(var n=this.acroField.getWidgets(),i=0,a=n.length;i<a;i++){var s=n[i],o=s.getOnValue();o&&this.updateWidgetAppearance(s,o,r)}},e.prototype.updateWidgetAppearance=function(r,n,i){var a=i??Epe,s=Qp(a(this,r));this.updateOnOffWidgetAppearance(r,n,s)},e.of=function(r,n,i){return new e(r,n,i)},e}(qh),YS=function(t){ut(e,t);function e(r,n,i){var a=t.call(this,r,n,i)||this;return je(r,"acroSignature",[[dT,"PDFAcroSi
3571gnature"]]),a.acroField=r,a}return e.prototype.needsAppearancesUpdate=function(){return!1},e.of=function(r,n,i){return new e(r,n,i)},e}(qh),c2=function(t){ut(e,t);function e(r,n,i){var a=t.call(this,r,n,i)||this;return je(r,"acroText",[[g5,"PDFAcroText"]]),a.acroField=r,a}return e.prototype.getText=function(){var r=this.acroField.getValue();if(!r&&this.isRichFormatted())throw new fpe(this.getName());return r==null?void 0:r.decodeText()},e.prototype.setText=function(r){ct(r,"text",["string"]);var n=this.getMaxLength();if(n!==void 0&&r&&r.length>n)throw new mpe(r.length,n,this.getName());this.markAsDirty(),this.disableRichFormatting(),r?this.acroField.setValue(Vt.fromText(r)):this.acroField.removeValue()},e.prototype.getAlignment=function(){var r=this.acroField.getQuadding();return r===0?Pi.Left:r===1?Pi.Center:r===2?Pi.Right:Pi.Left},e.prototype.setAlignment=function(r){mu(r,"alignment",Pi),this.markAsDirty(),this.acroField.setQuadding(r)},e.prototype.getMaxLength=function(){return this.acroField.getMaxLength()},e.prototype.setMaxLength=function(r){if(ol(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 gpe(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===Pi.Center?Mu.Center:n===Pi.Right?Mu.Right:Mu.Left,a=this.acroField.getWidgets(),s=0,o=a.length;s<o;s++){var c=a[s],A=this.createImageAppearanceStream(c,r,i);this.updateWidgetAppearances(c,{normal:A})}this.markAsClean()},e.prototype.setFontSize=function(r){h5(r,"fontSize"),this.acroField.setFontSize(r),this.markAsDirty()},e.prototype.isMultiline=function(){return this.acroField.hasFlag(Mn.Multiline)},e.prototype.enableMultiline=function(){this.markAsDirty(),this.acroField.setFlagTo(Mn.Multiline,!0)},e.prototype.disableMultiline=function(){this.markAsDirty(),this.acroField.setFlagTo(Mn.Multiline,!1)},e.prototype.isPassword=function(){return this.acroField.hasFlag(Mn.Password)},e.prototype.enablePassword=function(){this.acroField.setFlagTo(Mn.Password,!0)},e.prototype.disablePassword=function(){this.acroField.setFlagTo(Mn.Password,!1)},e.prototype.isFileSelector=function(){return this.acroField.hasFlag(Mn.FileSelect)},e.prototype.enableFileSelection=function(){this.acroField.setFlagTo(Mn.FileSelect,!0)},e.prototype.disableFileSelection=function(){this.acroField.setFlagTo(Mn.FileSelect,!1)},e.prototype.isSpellChecked=function(){return!this.acroField.hasFlag(Mn.DoNotSpellCheck)},e.prototype.enableSpellChecking=function(){this.acroField.setFlagTo(Mn.DoNotSpellCheck,!1)},e.prototype.disableSpellChecking=function(){this.acroField.setFlagTo(Mn.DoNotSpellCheck,!0)},e.prototype.isScrollable=function(){return!this.acroField.hasFlag(Mn.DoNotScroll)},e.prototype.enableScrolling=function(){this.acroField.setFlagTo(Mn.DoNotScroll,!1)},e.prototype.disableScrolling=function(){this.acroField.setFlagTo(Mn.DoNotScroll,!0)},e.prototype.isCombed=function(){return this.acroField.hasFlag(Mn.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(Mn.Comb,!0)},e.prototype.disableCombing=function(){this.markAsDirty(),this.acroField.setFlagTo(Mn.Comb,!1)},e.prototype.isRichFormatted=function(){return this.acroField.hasFlag(Mn.RichText)},e.prototype.enableRichFormatting=function(){this.acroField.setFlagTo(Mn.RichText,!0)},e.prototype.disableRichFormatting=function(){this.acroField.setFlagTo(Mn.RichText,!1)},e.prototype.addToPage=function(r,n){var i,a,s,o,c,A,u;je(r,"page",[[jo,"PDFPage"]]),Hp(n),n||(n={}),"textColor"in n||(n.textColor=fr(0,0,0)),"backgroundColor"in n||(n.backgroundColor=fr(1,1,1)),"borderColor"in n||(n.borderColor=fr(0,0,0)),"borderWidth"in n||(n.borderWidth=1);var d=this.createWidget({x:(i=n.x)!==null&&i!==void 0?i:0,y:(a=n.y)!==null&&a!==void 0?a:0,width:(s=n.width)!==null&&s!==void 0?s:200,height:(o=n.height)!==null&&o!==void 0?o:50,textColor:n.textColor,backgroundColor:n.backgroundColor,borderColor:n.borderColor,borderWidth:(c=n.borderWidth)!==null&&c!==void 0?c:0,rotate:(A=n.rotate)!==null&&A!==void 0?A:Kt(0),hidden:n.hidden,page:r.ref}),f=this.doc.context.register(d.dict);this.acroField.addWidget(f);var h=(u=n.font)!==null&&u!==void 0?u:this.doc.getForm().getDefaultFont();this.updateWidgetAppearance(d,h),r.node.addAnnot(f)},e.prototype.needsAppearancesUpdate=function(){var r;if(this.isDirty())return!0;for(var n=this.acroField.getWidgets(),i=0,a=n.length;i<a;i++){var s=n[i],o=((r=s.getAppearances())===null||r===void 0?void 0:r.normal)instanceof no;if(!o)return!0}return!1},e.prototype.defaultUpdateAppearances=function(r){je(r,"font",[[ao,"PDFFont"]]),this.updateAppearances(r)},e.prototype.updateAppearances=function(r,n){je(r,"font",[[ao,"PDFFont"]]),ct(n,"provider",[Function]);for(var i=this.acroField.getWidgets(),a=0,s=i.length;a<s;a++){var o=i[a];this.updateWidgetAppearance(o,r,n)}this.markAsClean()},e.prototype.updateWidgetAppearance=function(r,n,i){var a=i??Spe,s=Qp(a(this,r,n));this.updateWidgetAppearanceWithFont(r,n,s)},e.of=function(r,n,i){return new e(r,n,i)},e}(qh),ed;(function(t){t.Courier="Courier",t.CourierBold="Courier-Bold",t.CourierOblique="Courier-Oblique",t.CourierBoldOblique="Courier-BoldOblique",t.Helvetica="Helvetica",t.Helvetica
vendor: 37,101 bytes, line 3571
3571Bold="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"})(ed||(ed={}));var Tpe=function(){function t(e,r){var n=this;this.embedDefaultFont=function(){return n.doc.embedStandardFont(ed.Helvetica)},je(e,"acroForm",[[Tb,"PDFAcroForm"]]),je(r,"doc",[[AA,"PDFDocument"]]),this.acroForm=e,this.doc=r,this.dirtyFields=new Set,this.defaultFontCache=Xc.populatedBy(this.embedDefaultFont)}return t.prototype.hasXFA=function(){return this.acroForm.dict.has(re.of("XFA"))},t.prototype.deleteXFA=function(){this.acroForm.dict.delete(re.of("XFA"))},t.prototype.getFields=function(){for(var e=this.acroForm.getAllFields(),r=[],n=0,i=e.length;n<i;n++){var a=e[n],s=a[0],o=a[1],c=jpe(s,o,this.doc);c&&r.push(c)}return r},t.prototype.getFieldMaybe=function(e){je(e,"name",["string"]);for(var r=this.getFields(),n=0,i=r.length;n<i;n++){var a=r[n];if(a.getName()===e)return a}},t.prototype.getField=function(e){je(e,"name",["string"]);var r=this.getFieldMaybe(e);if(r)return r;throw new dpe(e)},t.prototype.getButton=function(e){je(e,"name",["string"]);var r=this.getField(e);if(r instanceof A2)return r;throw new jd(e,A2,r)},t.prototype.getCheckBox=function(e){je(e,"name",["string"]);var r=this.getField(e);if(r instanceof fg)return r;throw new jd(e,fg,r)},t.prototype.getDropdown=function(e){je(e,"name",["string"]);var r=this.getField(e);if(r instanceof o2)return r;throw new jd(e,o2,r)},t.prototype.getOptionList=function(e){je(e,"name",["string"]);var r=this.getField(e);if(r instanceof l2)return r;throw new jd(e,l2,r)},t.prototype.getRadioGroup=function(e){je(e,"name",["string"]);var r=this.getField(e);if(r instanceof pg)return r;throw new jd(e,pg,r)},t.prototype.getSignature=function(e){je(e,"name",["string"]);var r=this.getField(e);if(r instanceof YS)return r;throw new jd(e,YS,r)},t.prototype.getTextField=function(e){je(e,"name",["string"]);var r=this.getField(e);if(r instanceof c2)return r;throw new jd(e,c2,r)},t.prototype.createButton=function(e){je(e,"name",["string"]);var r=Of(e),n=this.findOrCreateNonTerminals(r.nonTerminal),i=v5.create(this.doc.context);return i.setPartialName(r.terminal),Rf(n,[i,i.ref],r.terminal),A2.of(i,i.ref,this.doc)},t.prototype.createCheckBox=function(e){je(e,"name",["string"]);var r=Of(e),n=this.findOrCreateNonTerminals(r.nonTerminal),i=p5.create(this.doc.context);return i.setPartialName(r.terminal),Rf(n,[i,i.ref],r.terminal),fg.of(i,i.ref,this.doc)},t.prototype.createDropdown=function(e){je(e,"name",["string"]);var r=Of(e),n=this.findOrCreateNonTerminals(r.nonTerminal),i=m5.create(this.doc.context);return i.setPartialName(r.terminal),Rf(n,[i,i.ref],r.terminal),o2.of(i,i.ref,this.doc)},t.prototype.createOptionList=function(e){je(e,"name",["string"]);var r=Of(e),n=this.findOrCreateNonTerminals(r.nonTerminal),i=y5.create(this.doc.context);return i.setPartialName(r.terminal),Rf(n,[i,i.ref],r.terminal),l2.of(i,i.ref,this.doc)},t.prototype.createRadioGroup=function(e){je(e,"name",["string"]);var r=Of(e),n=this.findOrCreateNonTerminals(r.nonTerminal),i=x5.create(this.doc.context);return i.setPartialName(r.terminal),Rf(n,[i,i.ref],r.terminal),pg.of(i,i.ref,this.doc)},t.prototype.createTextField=function(e){je(e,"name",["string"]);var r=Of(e),n=this.findOrCreateNonTerminals(r.nonTerminal),i=g5.create(this.doc.context);return i.setPartialName(r.terminal),Rf(n,[i,i.ref],r.terminal),c2.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 a=r[n],s=a.acroField.getWidgets(),o=0,c=s.length;o<c;o++){var A=s[o],u=this.findWidgetPage(A),d=this.findWidgetAppearanceRef(a,A),f=u.node.newXObject("FlatWidget",d),h=A.getRectangle(),m=_r([Mi(),Oo(h.x,h.y)],md(tr(tr({},h),{rotation:0})),[yT(f),Qi()]).filter(Boolean);u.pushOperators.apply(u,m)}this.removeField(a)}},t.prototype.removeField=function(e){for(var r=e.acroField.getWidgets(),n=new Set,i=0,a=r.length;i<a;i++){var s=r[i],o=this.findWidgetAppearanceRef(e,s),c=this.findWidgetPage(s);n.add(c),c.node.removeAnnot(o)}n.forEach(function(h){return h.node.removeAnnot(e.ref)}),this.acroForm.removeField(e.acroField);for(var A=e.acroField.normalizedEntries().Kids,u=A.size(),d=0;d<u;d++){var f=A.get(d);f instanceof Wr&&this.doc.context.delete(f)}this.doc.context.delete(e.ref)},t.prototype.updateFieldAppearances=function(e){ct(e,"font",[[ao,"PDFFont"]]),e=e??this.getDefaultFont();for(var r=this.getFields(),n=0,i=r.length;n<i;n++){var a=r[n];a.needsAppearancesUpdate()&&a.defaultUpdateAppearances(e)}},t.prototype.markFieldAsDirty=function(e){ct(e,"fieldRef",[[Wr,"PDFRef"]]),this.dirtyFields.add(e)},t.prototype.markFieldAsClean=function(e){ct(e,"fieldRef",[[Wr,"PDFRef"]]),this.dirtyFields.delete(e)},t.prototype.fieldIsDirty=function(e){return ct(e,"fieldRef",[[Wr,"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(a){return a.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 sr&&(e instanceof fg||e instanceof pg)){var a=e.acroField.getValue(),s=(n=i.get(a))!==null&&n!==void 0?n:i.get(re.of("Off"));s instanceof Wr&&(i=s)}if(!(i instanceof Wr)){var o=e.getName();throw new Error("Failed to extract appearance ref for: "+o)}return i},t.prototype.findOrCreateNonTerminals=function(e){for(var r=[this.acroForm],n=0,i=e.length;n<i;n++){var a=e[n];if(!a)throw new hpe(a);var s=r[0],o=r[1],c=this.findNonTerminal(a,s);if(c)r=c;else{var A=Fb.create(this.doc.context);A.setPartialName(a),A.setParent(o);var u=this.doc.context.register(A.dict);s.addField(u),r=[A,u]}}return r},t.prototype.findNonTerminal=function(e,r){for(var n=r instanceof Tb?this.acroForm.getFields():hT(r.Kids()),i=0,a=n.length;i<a;i++){var s=n[i],o=s[0],c=s[1];if(o.getPartialName()===e){if(o instanceof Fb)return[o,c];throw new jz(e)}}},t.of=function(e,r){return new t(e,r)},t}(),jpe=function(t,e,r){if(t instanceof v5)return A2.of(t,e,r);if(t instanceof p5)return fg.of(t,e,r);if(t instanceof m5)return o2.of(t,e,r);if(t instanceof y5)return l2.of(t,e,r);if(t instanceof g5)return c2.of(t,e,r);if(t instanceof x5)return pg.of(t,e,r);if(t instanceof dT)return YS.of(t,e,r)},Of=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]}},Rf=function(t,e,r){for(var n=t[0],i=t[1],a=e[0],s=e[1],o=n.normalizedEntries(),c=hT("Kids"in o?o.Kids:o.Fields),A=0,u=c.length;A<u;A++)if(c[A][0].getPartialName()===r)throw new jz(r);n.addField(s),a.setParent(i)},Ipe={"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]},ZS;(function(t){t[t.Fastest=1/0]="Fastest",t[t.Fast=1500]="Fast",t[t.Medium=500]="Medium",t[t.Slow=100]="Slow"})(ZS||(ZS={}));var kpe=function(){function t(e,r,n){this.alreadyEmbedded=!1,this.ref=e,this.doc=r,this.embedder=n}return t.prototype.embed=function(){return lr(this,void 0,void 0,function(){var e,r,n,i,a;return cr(this,function(s){switch(s.label){case 0:return this.alreadyEmbedded?[3,2]:[4,this.embedder.embedIntoContext(this.doc.context,this.ref)];case 1:e=s.sent(),this.doc.catalog.has(re.of("Names"))||this.doc.catalog.set(re.of("Names"),this.doc.context.obj({})),r=this.doc.catalog.lookup(re.of("Names"),sr),r.has(re.of("EmbeddedFiles"))||r.set(re.of("EmbeddedFiles"),this.doc.context.obj({})),n=r.lookup(re.of("EmbeddedFiles"),sr),n.has(re.of("Names"))||n.set(re.of("Names"),this.doc.context.obj([])),i=n.lookup(re.of("Names"),kr),i.push(Vt.fromText(this.embedder.fileName)),i.push(e),this.doc.catalog.has(re.of("AF"))||this.doc.catalog.set(re.of("AF"),this.doc.context.obj([])),a=this.doc.catalog.lookup(re.of("AF"),kr),a.push(e),this.alreadyEmbedded=!0,s.label=2;case 2:return[2]}})})},t.of=function(e,r,n){return new t(e,r,n)},t}(),Ppe=function(){function t(e,r,n){this.alreadyEmbedded=!1,this.ref=e,this.doc=r,this.embedder=n}return t.prototype.embed=function(){return lr(this,void 0,void 0,function(){var e,r,n,i,a,s,o;return cr(this,function(c){switch(c.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=c.sent(),r.has(re.of("Names"))||r.set(re.of("Names"),n.obj({})),a=r.lookup(re.of("Names"),sr),a.has(re.of("JavaScript"))||a.set(re.of("JavaScript"),n.obj({})),s=a.lookup(re.of("JavaScript"),sr),s.has(re.of("Names"))||s.set(re.of("Names"),n.obj([])),o=s.lookup(re.of("Names"),kr),o.push(Vt.fromText(this.embedder.scriptName)),o.push(i),this.alreadyEmbedded=!0,c.label=2;case 2:return[2]}})})},t.of=function(e,r,n){return new t(e,r,n)},t}(),Dpe=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 lr(this,void 0,void 0,function(){var n;return cr(this,function(i){return n=e.obj({Type:"Action",S:"JavaScript",JS:Vt.fromText(this.script)}),r?(e.assign(r,n),[2,r]):[2,e.register(n)]})})},t}(),AA=function(){function t(e,r,n){var i=this;if(this.defaultWordBreaks=[" "],this.computePages=function(){var a=[];return i.catalog.Pages().traverse(function(s,o){if(s instanceof Yc){var c=i.pageMap.get(s);c||(c=jo.of(s,o,i),i.pageMap.set(s,c)),a.push(c)}}),a},this.getOrCreateForm=function(){var a=i.catalog.getOrCreateAcroForm();return Tpe.of(a,i)},je(e,"context",[[WS,"PDFContext"]]),je(r,"ignoreEncryption",["boolean"]),this.context=e,this.catalog=e.lookup(e.trailerInfo.Root),this.isEncrypted=!!e.lookup(e.trailerInfo.Encrypt),this.pageCache=Xc.populatedBy(this.computePages),this.pageMap=new Map,this.formCache=Xc.populatedBy(this.getOrCreateForm),this.fonts=[],this.images=[],this.embeddedPages=[],this.embeddedFiles=[],this.javaScripts=[],!r&&this.isEncrypted)throw new lpe;n&&this.updateInfoDict()}return t.load=function(e,r){return r===void 0&&(r={}),lr(this,void 0,void 0,function(){var n,i,a,s,o,c,A,u,d,f,h,m;return cr(this,function(p){switch(p.label){case 0:return n=r.ignoreEncryption,i=n===void 0?!1:n,a=r.parseSpeed,s=a===void 0?ZS.Slow:a,o=r.throwOnInvalidObject,c=o===void 0?!1:o,A=r.updateMetadata,u=A===void 0?!0:A,d=r.capNumbers,f=d===void 0?!1:d,je(e,"pdf",["string",Uint8Array,ArrayBuffer]),je(i,"ignoreEncryption",["boolean"]),je(s,"parseSpeed",["number"]),je(c,"throwOnInvalidObject",["boolean"]),h=Lm(e),[4,R0e.forBytesWithOptions(h,s,c,f).parseDocument()];case 1:return m=p.sent(),[2,new t(m,i,u)]}})})},t.create=function(e){return e===void 0&&(e={}),lr(this,void 0,void 0,function(){var r,n,i,a,s,o;return cr(this,function(c){return r=e.updateMetadata,n=r===void 0?!0:r,i=WS.create(),a=hz.withContext(i),s=i.register(a),o=dz.withContextAndPages(i,s),i.trailerInfo.Root=i.register(o),[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(re.Title);if(e)return QA(e),e.decodeText()},t.prototype.getAuthor=function(){var e=this.getInfoDict().lookup(re.Author);if(e)return QA(e),e.decodeText()},t.prototype.getSubject=function(){var e=this.getInfoDict().lookup(re.Subject);if(e)return QA(e),e.decodeText()},t.prototype.getKeywords=function(){var e=this.getInfoDict().lookup(re.Keywords);if(e)return QA(e),e.decodeText()},t.prototype.getCreator=function(){var e=this.getInfoDict().lookup(re.Creator);if(e)return QA(e),e.decodeText()},t.prototype.getProducer=function(){var e=this.getInfoDict().lookup(re.Producer);if(e)return QA(e),e.decodeText()},t.prototype.getCreationDate=function(){var e=this.getInfoDict().lookup(re.CreationDate);if(e)return QA(e),e.decodeDate()},t.prototype.getModificationDate=function(){var e=this.getInfoDict().lookup(re.ModDate);if(e)return QA(e),e.decodeDate()},t.prototype.setTitle=function(e,r){je(e,"title",["string"]);var n=re.of("Title");if(this.getInfoDict().set(n,Vt.fromText(e)),r!=null&&r.showInWindowTitleBar){var i=this.catalog.getOrCreateViewerPreferences();i.setDisplayDocTitle(!0)}},t.prototype.setAuthor=function(e){je(e,"author",["string"]);var r=re.of("Author");this.getInfoDict().set(r,Vt.fromText(e))},t.prototype.setSubject=function(e){je(e,"author",["string"]);var r=re.of("Subject");this.getInfoDict().set(r,Vt.fromText(e))},t.prototype.setKeywords=function(e){je(e,"keywords",[Array]);var r=re.of("Keywords");this.getInfoDict().set(r,Vt.fromText(e.join(" ")))},t.prototype.setCreator=function(e){je(e,"creator",["string"]);var r=re.of("Creator");this.getInfoDict().set(r,Vt.fromText(e))},t.prototype.setProducer=function(e){je(e,"creator",["string"]);var r=re.of("Producer");this.getInfoDict().set(r,Vt.fromText(e))},t.prototype.setLanguage=function(e){je(e,"language",["string"]);var r=re.of("Lang");this.catalog.set(r,Vr.of(e))},t.prototype.setCreationDate=function(e){je(e,"creationDate",[[Date,"Date"]]);var r=re.of("CreationDate");this.getInfoDict().set(r,Vr.fromDate(e))},t.prototype.setModificationDate=function(e){je(e,"modificationDate",[[Date,"Date"]]);var r=re.of("ModDate");this.getInfoDict().set(r,Vr.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 $s(e,"index",0,r.length-1),r[e]},t.prototype.getPageIndices=function(){return rde(0,this.getPageCount())},t.prototype.removePage=function(e){var r=this.getPageCount();if(this.pageCount===0)throw new upe;$s(e,"index",0,r-1),this.catalog.removeLeafNode(e),this.pageCount=r-1},t.prototype.addPage=function(e){return je(e,"page",["undefined",[jo,"PDFPage"],Array]),this.insertPage(this.getPageCount(),e)},t.prototype.insertPage=function(e,r){var n=this.getPageCount();if($s(e,"index",0,n),je(r,"page",["undefined",[jo,"PDFPage"],Array]),!r||Array.isArray(r)){var i=Array.isArray(r)?r:Ipe.A4;r=jo.create(this),r.setSize.apply(r,i)}else if(r.doc!==this)throw new Ape;var a=this.catalog.insertLeafNode(r.ref,e);return r.node.setParent(a),this.pageMap.set(r.node,r),this.pageCache.invalidate(),this.pageCount=n+1,r},t.prototype.copyPages=function(e,r){return lr(this,void 0,void 0,function(){var n,i,a,s,o,c,A,u;return cr(this,function(d){switch(d.label){case 0:return je(e,"srcDoc",[[t,"PDFDocument"]]),je(r,"indices",[Array]),[4,e.flush()];case 1:for(d.sent(),n=vD.for(e.context,this.context),i=e.getPages(),a=new Array(r.length),s=0,o=r.length;s<o;s++)c=i[r[s]],A=n.copy(c.node),u=this.context.register(A),a[s]=jo.of(A,u,this);return[2,a]}})})},t.prototype.copy=function(){return lr(this,void 0,void 0,function(){var e,r,n,i;return cr(this,function(a){switch(a.label){case 0:return[4,t.create()];case 1:return e=a.sent(),[4,e.copyPages(this,this.getPageIndices())];case 2:for(r=a.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){je(e,"name",["string"]),je(r,"script",["string"]);var n=Dpe.for(r,e),i=this.context.nextRef(),a=Ppe.of(i,this,n);this.javaScripts.push(a)},t.prototype.attach=function(e,r,n){return n===void 0&&(n={}),lr(this,void 0,void 0,function(){var i,a,s,o;return cr(this,function(c){return je(e,"attachment",["string",Uint8Array,ArrayBuffer]),je(r,"name",["string"]),ct(n.mimeType,"mimeType",["string"]),ct(n.description,"description",["string"]),ct(n.creationDate,"options.creationDate",[Date]),ct(n.modificationDate,"options.modificationDate",[Date]),wo(n.afRelationship,"options.afRelationship",KS),i=Lm(e),a=c0e.for(i,r,n),s=this.context.nextRef(),o=kpe.of(s,this,a),this.embeddedFiles.push(o),[2]})})},t.prototype.embedFont=function(e,r){return r===void 0&&(r={}),lr(this,void 0,void 0,function(){var n,i,a,s,o,c,A,u,d,f;return cr(this,function(h){switch(h.label){case 0:return n=r.subset,i=n===void 0?!1:n,a=r.customName,s=r.features,je(e,"font",["string",Uint8Array,ArrayBuffer]),je(i,"subset",["boolean"]),cD(e)?(o=Sb.for(e,a),[3,7]):[3,1];case 1:return ide(e)?(c=Lm(e),A=this.assertFontkit(),i?[4,l0e.for(A,c,a,s)]:[3,3]):[3,6];case 2:return u=h.sent(),[3,5];case 3:return[4,AT.for(A,c,a,s)];case 4:u=h.sent(),h.label=5;case 5:return o=u,[3,7];case 6:throw new TypeError("`font` must be one of `StandardFonts | string | Uint8Array | ArrayBuffer`");case 7:return d=this.context.nextRef(),f=ao.of(d,this,o),this.fonts.push(f),[2,f]}})})},t.prototype.embedStandardFont=function(e,r){if(je(e,"font",["string"]),!cD(e))throw new TypeError("`font` must be one of type `StandardFonts`");var n=Sb.for(e,r),i=this.context.nextRef(),a=ao.of(i,this,n);return this.fonts.push(a),a},t.prototype.embedJpg=function(e){return lr(this,void 0,void 0,function(){var r,n,i,a;return cr(this,function(s){switch(s.label){case 0:return je(e,"jpg",["string",Uint8Array,ArrayBuffer]),r=Lm(e),[4,nz.for(r)];case 1:return n=s.sent(),i=this.context.nextRef(),a=XS.of(i,this,n),this.images.push(a),[2,a]}})})},t.prototype.embedPng=function(e){return lr(this,void 0,void 0,function(){var r,n,i,a;return cr(this,function(s){switch(s.label){case 0:return je(e,"png",["string",Uint8Array,ArrayBuffer]),r=Lm(e),[4,iz.for(r)];case 1:return n=s.sent(),i=this.context.nextRef(),a=XS.of(i,this,n),this.images.push(a),[2,a]}})})},t.prototype.embedPdf=function(e,r){return r===void 0&&(r=[0]),lr(this,void 0,void 0,function(){var n,i,a;return cr(this,function(s){switch(s.label){case 0:return je(e,"pdf",["string",Uint8Array,ArrayBuffer,[t,"PDFDocument"]]),je(r,"indices",[Array]),e instanceof t?(i=e,[3,3]):[3,1];case 1:return[4,t.load(e)];case 2:i=s.sent(),s.label=3;case 3:return n=i,a=nde(n.getPages(),r),[2,this.embedPages(a)]}})})},t.prototype.embedPage=function(e,r,n){return lr(this,void 0,void 0,function(){var i;return cr(this,function(a){switch(a.label){case 0:return je(e,"page",[[jo,"PDFPage"]]),[4,this.embedPages([e],[r],[n])];case 1:return i=a.sent()[0],[2,i]}})})},t.prototype.embedPages=function(e,r,n){return r===void 0&&(r=[]),n===void 0&&(n=[]),lr(this,void 0,void 0,function(){var A,u,i,a,s,o,c,A,u,d,f,h,m,p,x;return cr(this,function(v){switch(v.label){case 0:if(e.length===0)return[2,[]];for(A=0,u=e.length-1;A<u;A++)if(i=e[A],a=e[A+1],i.node.context!==a.node.context)throw new Dfe;s=e[0].node.context,o=s===this.context?function(y){return y}:vD.for(s,this.context).copy,c=new Array(e.length),A=0,u=e.length,v.label=1;case 1:return A<u?(d=o(e[A].node),f=r[A],h=n[A],[4,oz.for(d,f,h)]):[3,4];case 2:m=v.sent(),p=this.context.nextRef(),c[A]=Oz.of(p,this,m),v.label=3;case 3:return A++,[3,1];case 4:return(x=this.embeddedPages).push.apply(x,c),[2,c]}})})},t.prototype.flush=function(){return lr(this,void 0,void 0,function(){return cr(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={}),lr(this,void 0,void 0,function(){var r,n,i,a,s,o,c,A,u,d;return cr(this,function(f){switch(f.label){case 0:return r=e.useObjectStreams,n=r===void 0?!0:r,i=e.addDefaultPage,a=i===void 0?!0:i,s=e.objectsPerTick,o=s===void 0?50:s,c=e.updateFieldAppearances,A=c===void 0?!0:c,je(n,"useObjectStreams",["boolean"]),je(a,"addDefaultPage",["boolean"]),je(o,"objectsPerTick",["number"]),je(A,"updateFieldAppearances",["boolean"]),a&&this.getPageCount()===0&&this.addPage(),A&&(u=this.formCache.getValue(),u&&u.updateFieldAppearances()),[4,this.flush()];case 1:return f.sent(),d=n?r0e:tz,[2,d.forContext(this.context,o).serializeToBuffer()]}})})},t.prototype.saveAsBase64=function(e){return e===void 0&&(e={}),lr(this,void 0,void 0,function(){var r,n,i,a,s;return cr(this,function(o){switch(o.label){case 0:return r=e.dataUri,n=r===void 0?!1:r,i=Lue(e,["dataUri"]),je(n,"dataUri",["boolean"]),[4,this.save(i)];case 1:return a=o.sent(),s=Mue(a),[2,n?"data:application/pdf;base64,"+s:s]}})})},t.prototype.findPageForAnnotationRef=function(e){for(var r=this.getPages(),n=0,i=r.length;n<i;n++){var a=r[n],s=a.node.Annots();if((s==null?void 0:s.indexOf(e))!==void 0)return a}},t.prototype.embedAll=function(e){return lr(this,void 0,void 0,function(){var r,n;return cr(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(re.of("Creator"))||this.setCreator(e),n.get(re.of("CreationDate"))||this.setCreationDate(r)},t.prototype.getInfoDict=function(){var e=this.context.lookup(this.context.trailerInfo.Info);if(e instanceof sr)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 cpe;return this.fontkit},t}();function QA(t){if(!(t instanceof Vt)&&!(t instanceof Vr))throw new Eb([Vt,Vr],t)}var Rc;(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"})(Rc||(Rc={}));var jo=function(){function t(e,r,n){this.fontSize=24,this.fontColor=fr(0,0,0),this.lineHeight=24,this.x=0,this.y=0,je(e,"leafNode",[[Yc,"PDFPageLeaf"]]),je(r,"ref",[[Wr,"PDFRef"]]),je(n,"doc",[[AA,"PDFDocument"]]),this.node=e,this.ref=r,this.doc=n}return t.prototype.setRotation=function(e){var r=vz(e);XH(r,"degreesAngle",90),this.node.set(re.of("Rotate"),this.doc.context.obj(r))},t.prototype.getRotation=function(){var e=this.node.Rotate();return Kt(e?e.asNumber():0)},t.prototype.setSize=function(e,r){je(e,"width",["number"]),je(r,"height",["number"]);var n=this.getMediaBox();this.setMediaBox(n.x,n.y,e,r);var i=this.getCropBox(),a=this.getBleedBox(),s=this.getTrimBox(),o=this.getArtBox(),c=this.node.CropBox(),A=this.node.BleedBox(),u=this.node.TrimBox(),d=this.node.ArtBox();c&&Uy(i,n)&&this.setCropBox(n.x,n.y,e,r),A&&Uy(a,n)&&this.setBleedBox(n.x,n.y,e,r),u&&Uy(s,n)&&this.setTrimBox(n.x,n.y,e,r),d&&Uy(o,n)&&this.setArtBox(n.x,n.y,e,r)},t.prototype.setWidth=function(e){je(e,"width",["number"]),this.setSize(e,this.getSize().height)},t.prototype.setHeight=function(e){je(e,"height",["number"]),this.setSize(this.getSize().width,e)},t.prototype.setMediaBox=function(e,r,n,i){je(e,"x",["number"]),je(r,"y",["number"]),je(n,"width",["number"]),je(i,"height",["number"]);var a=this.doc.context.obj([e,r,e+n,r+i]);this.node.set(re.MediaBox,a)},t.prototype.setCropBox=function(e,r,n,i){je(e,"x",["number"]),je(r,"y",["number"]),je(n,"width",["number"]),je(i,"height",["number"]);var a=this.doc.context.obj([e,r,e+n,r+i]);this.node.set(re.CropBox,a)},t.prototype.setBleedBox=function(e,r,n,i){je(e,"x",["number"]),je(r,"y",["number"]),je(n,"width",["number"]),je(i,"height",["number"]);var a=this.doc.context.obj([e,r,e+n,r+i]);this.node.set(re.BleedBox,a)},t.prototype.setTrimBox=function(e,r,n,i){je(e,"x",["number"]),je(r,"y",["number"]),je(n,"width",["number"]),je(i,"height",["number"]);var a=this.doc.context.obj([e,r,e+n,r+i]);this.node.set(re.TrimBox,a)},t.prototype.setArtBox=function(e,r,n,i){je(e,"x",["number"]),je(r,"y",["number"]),je(n,"width",["number"]),je(i,"height",["number"]);var a=this.doc.context.obj([e,r,e+n,r+i]);this.node.set(re.ArtBox,a)},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){je(e,"x",["number"]),je(r,"y",["number"]),this.node.normalize(),this.getContentStream();var n=this.createContentStream(Mi(),Oo(e,r)),i=this.doc.context.register(n),a=this.createContentStream(Qi()),s=this.doc.context.register(a);this.node.wrapContentStreams(i,s)},t.prototype.scale=function(e,r){je(e,"x",["number"]),je(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){je(e,"x",["number"]),je(r,"y",["number"]),this.node.normalize(),this.getContentStream();var n=this.createContentStream(Mi(),o1(e,r)),i=this.doc.context.register(n),a=this.createContentStream(Qi()),s=this.doc.context.register(a);this.node.wrapContentStreams(i,s)},t.prototype.scaleAnnotations=function(e,r){je(e,"x",["number"]),je(r,"y",["number"]);var n=this.node.Annots();if(n)for(var i=0;i<n.size();i++){var a=n.lookup(i);a instanceof sr&&this.scaleAnnot(a,e,r)}},t.prototype.resetPosition=function(){this.getContentStream(!1),this.x=0,this.y=0},t.prototype.setFont=function(e){je(e,"font",[[ao,"PDFFont"]]),this.font=e,this.fontKey=this.node.newFontDictionary(this.font.name,this.font.ref)},t.prototype.setFontSize=function(e){je(e,"fontSize",["number"]),this.fontSize=e},t.prototype.setFontColor=function(e){je(e,"fontColor",[[Object,"Color"]]),this.fontColor=e},t.prototype.setLineHeight=function(e){je(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){je(e,"x",["number"]),je(r,"y",["number"]),this.x=e,this.y=r},t.prototype.moveDown=function(e){je(e,"yDecrease",["number"]),this.y-=e},t.prototype.moveUp=function(e){je(e,"yIncrease",["number"]),this.y+=e},t.prototype.moveLeft=function(e){je(e,"xDecrease",["number"]),this.x-=e},t.prototype.moveRight=function(e){je(e,"xIncrease",["number"]),this.x+=e},t.prototype.pushOperators=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];JH(e,"operator",[[Nr,"PDFOperator"]]);var n=this.getContentStream();n.push.apply(n,e)},t.prototype.drawText=function(e,r){var n,i,a,s,o,c,A;r===void 0&&(r={}),je(e,"text",["string"]),ct(r.color,"options.color",[[Object,"Color"]]),ol(r.opacity,"opacity.opacity",0,1),ct(r.font,"options.font",[[ao,"PDFFont"]]),ct(r.size,"options.size",["number"]),ct(r.rotate,"options.rotate",[[Object,"Rotation"]]),ct(r.xSkew,"options.xSkew",[[Object,"Rotation"]]),ct(r.ySkew,"options.ySkew",[[Object,"Rotation"]]),ct(r.x,"options.x",["number"]),ct(r.y,"options.y",["number"]),ct(r.lineHeight,"options.lineHeight",["number"]),ct(r.maxWidth,"options.maxWidth",["number"]),ct(r.wordBreaks,"options.wordBreaks",[Array]),wo(r.blendMode,"options.blendMode",Rc);for(var u=this.setOrEmbedFont(r.font),d=u.oldFont,f=u.newFont,h=u.newFontKey,m=r.size||this.fontSize,p=r.wordBreaks||this.doc.defaultWordBreaks,x=function(B){return f.widthOfTextAtSize(B,m)},v=r.maxWidth===void 0?X9(V1(e)):Jue(e,p,r.maxWidth,x),y=new Array(v.length),b=0,E=v.length;b<E;b++)y[b]=f.encodeText(v[b]);var S=this.maybeEmbedGraphicsState({opacity:r.opacity,blendMode:r.blendMode}),I=this.getContentStream();I.push.apply(I,epe(y,{color:(n=r.color)!==null&&n!==void 0?n:this.fontColor,font:h,size:m,rotate:(i=r.rotate)!==null&&i!==void 0?i:Kt(0),xSkew:(a=r.xSkew)!==null&&a!==void 0?a:Kt(0),ySkew:(s=r.ySkew)!==null&&s!==void 0?s:Kt(0),x:(o=r.x)!==null&&o!==void 0?o:this.x,y:(c=r.y)!==null&&c!==void 0?c:this.y,lineHeight:(A=r.lineHeight)!==null&&A!==void 0?A:this.lineHeight,graphicsState:S})),r.font&&(d?this.setFont(d):this.resetFont())},t.prototype.drawImage=function(e,r){var n,i,a,s,o,c,A;r===void 0&&(r={}),je(e,"image",[[XS,"PDFImage"]]),ct(r.x,"options.x",["number"]),ct(r.y,"options.y",["number"]),ct(r.width,"options.width",["number"]),ct(r.height,"options.height",["number"]),ct(r.rotate,"options.rotate",[[Object,"Rotation"]]),ct(r.xSkew,"options.xSkew",[[Object,"Rotation"]]),ct(r.ySkew,"options.ySkew",[[Object,"Rotation"]]),ol(r.opacity,"opacity.opacity",0,1),wo(r.blendMode,"options.blendMode",Rc);var u=this.node.newXObject("Image",e.ref),d=this.maybeEmbedGraphicsState({opacity:r.opacity,blendMode:r.blendMode}),f=this.getContentStream();f.push.apply(f,Fz(u,{x:(n=r.x)!==null&&n!==void 0?n:this.x,y:(i=r.y)!==null&&i!==void 0?i:this.y,width:(a=r.width)!==null&&a!==void 0?a:e.size().width,height:(s=r.height)!==null&&s!==void 0?s:e.size().height,rotate:(o=r.rotate)!==null&&o!==void 0?o:Kt(0),xSkew:(c=r.xSkew)!==null&&c!==void 0?c:Kt(0),ySkew:(A=r.ySkew)!==null&&A!==void 0?A:Kt(0),graphicsState:d}))},t.prototype.drawPage=function(e,r){var n,i,a,s,o;r===void 0&&(r={}),je(e,"embeddedPage",[[Oz,"PDFEmbeddedPage"]]),ct(r.x,"options.x",["number"]),ct(r.y,"options.y",["number"]),ct(r.xScale,"options.xScale",["number"]),ct(r.yScale,"options.yScale",["number"]),ct(r.width,"options.width",["number"]),ct(r.height,"options.height",["number"]),ct(r.rotate,"options.rotate",[[Object,"Rotation"]]),ct(r.xSkew,"options.xSkew",[[Object,"Rotation"]]),ct(r.ySkew,"options.ySkew",[[Object,"Rotation"]]),ol(r.opacity,"opacity.opacity",0,1),wo(r.blendMode,"options.blendMode",Rc);var c=this.node.newXObject("EmbeddedPdfPage",e.ref),A=this.maybeEmbedGraphicsState({opacity:r.opacity,blendMode:r.blendMode}),u=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,f=this.getContentStream();f.push.apply(f,tpe(c,{x:(n=r.x)!==null&&n!==void 0?n:this.x,y:(i=r.y)!==null&&i!==void 0?i:this.y,xScale:u,yScale:d,rotate:(a=r.rotate)!==null&&a!==void 0?a:Kt(0),xSkew:(s=r.xSkew)!==null&&s!==void 0?s:Kt(0),ySkew:(o=r.ySkew)!==null&&o!==void 0?o:Kt(0),graphicsState:A}))},t.prototype.drawSvgPath=function(e,r){var n,i,a,s,o,c,A,u,d;r===void 0&&(r={}),je(e,"path",["string"]),ct(r.x,"options.x",["number"]),ct(r.y,"options.y",["number"]),ct(r.scale,"options.scale",["number"]),ct(r.rotate,"options.rotate",[[Object,"Rotation"]]),ct(r.borderWidth,"options.borderWidth",["number"]),ct(r.color,"options.color",[[Object,"Color"]]),ol(r.opacity,"opacity.opacity",0,1),ct(r.borderColor,"options.borderColor",[[Object,"Color"]]),ct(r.borderDashArray,"options.borderDashArray",[Array]),ct(r.borderDashPhase,"options.borderDashPhase",["number"]),wo(r.borderLineCap,"options.borderLineCap",v0),ol(r.borderOpacity,"options.borderOpacity",0,1),wo(r.blendMode,"options.blendMode",Rc);var f=this.maybeEmbedGraphicsState({opacity:r.opacity,borderOpacity:r.borderOpacity,blendMode:r.blendMode});!("color"in r)&&!("borderColor"in r)&&(r.borderColor=fr(0,0,0));var h=this.getContentStream();h.push.apply(h,ape(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:(a=r.rotate)!==null&&a!==void 0?a:Kt(0),color:(s=r.color)!==null&&s!==void 0?s:void 0,borderColor:(o=r.borderColor)!==null&&o!==void 0?o:void 0,borderWidth:(c=r.borderWidth)!==null&&c!==void 0?c:0,borderDashArray:(A=r.borderDashArray)!==null&&A!==void 0?A:void 0,borderDashPhase:(u=r.borderDashPhase)!==null&&u!==void 0?u:void 0,borderLineCap:(d=r.borderLineCap)!==null&&d!==void 0?d:void 0,graphicsState:f}))},t.prototype.drawLine=function(e){var r,n,i,a,s;je(e.start,"options.start",[[Object,"{ x: number, y: number }"]]),je(e.end,"options.end",[[Object,"{ x: number, y: number }"]]),je(e.start.x,"options.start.x",["number"]),je(e.start.y,"options.start.y",["number"]),je(e.end.x,"options.end.x",["number"]),je(e.end.y,"options.end.y",["number"]),ct(e.thickness,"options.thickness",["number"]),ct(e.color,"options.color",[[Object,"Color"]]),ct(e.dashArray,"options.dashArray",[Array]),ct(e.dashPhase,"options.dashPhase",["number"]),wo(e.lineCap,"options.lineCap",v0),ol(e.opacity,"opacity.opacity",0,1),wo(e.blendMode,"options.blendMode",Rc);var o=this.maybeEmbedGraphicsState({borderOpacity:e.opacity,blendMode:e.blendMode});"color"in e||(e.color=fr(0,0,0));var c=this.getContentStream();c.push.apply(c,rpe({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:(a=e.dashPhase)!==null&&a!==void 0?a:void 0,lineCap:(s=e.lineCap)!==null&&s!==void 0?s:void 0,graphicsState:o}))},t.prototype.drawRectangle=function(e){var r,n,i,a,s,o,c,A,u,d,f,h,m;e===void 0&&(e={}),ct(e.x,"options.x",["number"]),ct(e.y,"options.y",["number"]),ct(e.width,"options.width",["number"]),ct(e.height,"options.height",["number"]),ct(e.rotate,"options.rotate",[[Object,"Rotation"]]),ct(e.xSkew,"options.xSkew",[[Object,"Rotation"]]),ct(e.ySkew,"options.ySkew",[[Object,"Rotation"]]),ct(e.borderWidth,"options.borderWidth",["number"]),ct(e.color,"options.color",[[Object,"Color"]]),ol(e.opacity,"opacity.opacity",0,1),ct(e.borderColor,"options.borderColor",[[Object,"Color"]]),ct(e.borderDashArray,"options.borderDashArray",[Array]),ct(e.borderDashPhase,"options.borderDashPhase",["number"]),wo(e.borderLineCap,"options.borderLineCap",v0),ol(e.borderOpacity,"options.borderOpacity",0,1),wo(e.blendMode,"options.blendMode",Rc);var p=this.maybeEmbedGraphicsState({opacity:e.opacity,borderOpacity:e.borderOpacity,blendMode:e.blendMode});!("color"in e)&&!("borderColor"in e)&&(e.color=fr(0,0,0));var x=this.getContentStream();x.push.apply(x,pp({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:(a=e.height)!==null&&a!==void 0?a:100,rotate:(s=e.rotate)!==null&&s!==void 0?s:Kt(0),xSkew:(o=e.xSkew)!==null&&o!==void 0?o:Kt(0),ySkew:(c=e.ySkew)!==null&&c!==void 0?c:Kt(0),borderWidth:(A=e.borderWidth)!==null&&A!==void 0?A:0,color:(u=e.color)!==null&&u!==void 0?u:void 0,borderColor:(d=e.borderColor)!==null&&d!==void 0?d:void 0,borderDashArray:(f=e.borderDashArray)!==null&&f!==void 0?f:void 0,borderDashPhase:(h=e.borderDashPhase)!==null&&h!==void 0?h: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;ct(r,"size",["number"]),this.drawRectangle(tr(tr({},e),{width:r,height:r}))},t.prototype.drawEllipse=function(e){var r,n,i,a,s,o,c,A,u,d,f;e===void 0&&(e={}),ct(e.x,"options.x",["number"]),ct(e.y,"options.y",["number"]),ct(e.xScale,"options.xScale",["
3571number"]),ct(e.yScale,"options.yScale",["number"]),ct(e.rotate,"options.rotate",[[Object,"Rotation"]]),ct(e.color,"options.color",[[Object,"Color"]]),ol(e.opacity,"opacity.opacity",0,1),ct(e.borderColor,"options.borderColor",[[Object,"Color"]]),ol(e.borderOpacity,"options.borderOpacity",0,1),ct(e.borderWidth,"options.borderWidth",["number"]),ct(e.borderDashArray,"options.borderDashArray",[Array]),ct(e.borderDashPhase,"options.borderDashPhase",["number"]),wo(e.borderLineCap,"options.borderLineCap",v0),wo(e.blendMode,"options.blendMode",Rc);var h=this.maybeEmbedGraphicsState({opacity:e.opacity,borderOpacity:e.borderOpacity,blendMode:e.blendMode});!("color"in e)&&!("borderColor"in e)&&(e.color=fr(0,0,0));var m=this.getContentStream();m.push.apply(m,JS({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:(a=e.yScale)!==null&&a!==void 0?a:100,rotate:(s=e.rotate)!==null&&s!==void 0?s:void 0,color:(o=e.color)!==null&&o!==void 0?o:void 0,borderColor:(c=e.borderColor)!==null&&c!==void 0?c:void 0,borderWidth:(A=e.borderWidth)!==null&&A!==void 0?A:0,borderDashArray:(u=e.borderDashArray)!==null&&u!==void 0?u:void 0,borderDashPhase:(d=e.borderDashPhase)!==null&&d!==void 0?d:void 0,borderLineCap:(f=e.borderLineCap)!==null&&f!==void 0?f:void 0,graphicsState:h}))},t.prototype.drawCircle=function(e){e===void 0&&(e={});var r=e.size,n=r===void 0?100:r;ct(n,"size",["number"]),this.drawEllipse(tr(tr({},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,a=this.fontKey;return{oldFont:r,oldFontKey:n,newFont:i,newFontKey:a}},t.prototype.getFont=function(){if(!this.font||!this.fontKey){var e=this.doc.embedStandardFont(ed.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=Jg.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 a=this.doc.context.obj({Type:"ExtGState",ca:r,CA:n,BM:i}),s=this.node.newExtGState("GS",a);return s}},t.prototype.scaleAnnot=function(e,r,n){for(var i=["RD","CL","Vertices","QuadPoints","L","Rect"],a=0,s=i.length;a<s;a++){var o=e.lookup(re.of(i[a]));o instanceof kr&&o.scalePDFNumbers(r,n)}var c=e.lookup(re.of("InkList"));if(c instanceof kr)for(var a=0,s=c.size();a<s;a++){var A=c.lookup(a);A instanceof kr&&A.scalePDFNumbers(r,n)}},t.of=function(e,r,n){return new t(e,r,n)},t.create=function(e){je(e,"doc",[[AA,"PDFDocument"]]);var r=Wr.of(-1),n=Yc.withContextAndParent(e.context,r),i=e.context.register(n);return new t(n,i,e)},t}(),A2=function(t){ut(e,t);function e(r,n,i){var a=t.call(this,r,n,i)||this;return je(r,"acroButton",[[v5,"PDFAcroPushButton"]]),a.acroField=r,a}return e.prototype.setImage=function(r,n){n===void 0&&(n=Mu.Center);for(var i=this.acroField.getWidgets(),a=0,s=i.length;a<s;a++){var o=i[a],c=this.createImageAppearanceStream(o,r,n);this.updateWidgetAppearances(o,{normal:c})}this.markAsClean()},e.prototype.setFontSize=function(r){h5(r,"fontSize"),this.acroField.setFontSize(r),this.markAsDirty()},e.prototype.addToPage=function(r,n,i){var a,s,o,c,A,u,d,f,h,m,p;ct(r,"text",["string"]),ct(n,"page",[[jo,"PDFPage"]]),Hp(i);var x=this.createWidget({x:((a=i==null?void 0:i.x)!==null&&a!==void 0?a:0)-((s=i==null?void 0:i.borderWidth)!==null&&s!==void 0?s:0)/2,y:((o=i==null?void 0:i.y)!==null&&o!==void 0?o:0)-((c=i==null?void 0:i.borderWidth)!==null&&c!==void 0?c:0)/2,width:(A=i==null?void 0:i.width)!==null&&A!==void 0?A:100,height:(u=i==null?void 0:i.height)!==null&&u!==void 0?u:50,textColor:(d=i==null?void 0:i.textColor)!==null&&d!==void 0?d:fr(0,0,0),backgroundColor:(f=i==null?void 0:i.backgroundColor)!==null&&f!==void 0?f:fr(.75,.75,.75),borderColor:i==null?void 0:i.borderColor,borderWidth:(h=i==null?void 0:i.borderWidth)!==null&&h!==void 0?h:0,rotate:(m=i==null?void 0:i.rotate)!==null&&m!==void 0?m:Kt(0),caption:r,hidden:i==null?void 0:i.hidden,page:n.ref}),v=this.doc.context.register(x.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(x,y),n.node.addAnnot(v)},e.prototype.needsAppearancesUpdate=function(){var r;if(this.isDirty())return!0;for(var n=this.acroField.getWidgets(),i=0,a=n.length;i<a;i++){var s=n[i],o=((r=s.getAppearances())===null||r===void 0?void 0:r.normal)instanceof no;if(!o)return!0}return!1},e.prototype.defaultUpdateAppearances=function(r){je(r,"font",[[ao,"PDFFont"]]),this.updateAppearances(r)},e.prototype.updateAppearances=function(r,n){je(r,"font",[[ao,"PDFFont"]]),ct(n,"provider",[Function]);for(var i=this.acroField.getWidgets(),a=0,s=i.length;a<s;a++){var o=i[a];this.updateWidgetAppearance(o,r,n)}},e.prototype.updateWidgetAppearance=function(r,n,i){var a=i??Npe,s=Qp(a(this,r,n));this.updateWidgetAppearanceWithFont(r,n,s)},e.of=function(r,n,i){return new e(r,n,i)},e}(qh);async function PD(t){try{const e=await fetch(t);if(!e.ok)return null;
3571const r=new Uint8Array(await e.arrayBuffer());return r.length<8||r[0]!==137||r[1]!==80||r[2]!==78||r[3]!==71?null:r}catch{return null}}const DD="acelera-pyme-files",z0=595,ev=842,At=30,ET=30,_l=z0-At-ET,kt=108,Js=_l-kt,NT=fr(.76,.07,.07),OD=fr(.76,.36,.04),yi=fr(.08,.08,.08),mp=fr(.6,.6,.6),Ope=fr(1,1,1),Dn=(t,e)=>ev-t-e;function Hr(t,e,r,n,i,a,s=.5){t.drawRectangle({x:e,y:Dn(r,i),width:n,height:i,color:a,borderColor:mp,borderWidth:s})}function cn(t,e,r,n,i,a,s,o=yi,c){if(!e)return;const A=Dn(n,i)+(i-s)/2+1;t.drawText(e,{x:r,y:A,size:s,font:a,color:o,maxWidth:c})}function th(t,e,r,n){const i=t.split(" "),a=[];let s="";for(const o of i){const c=s?`${s} ${o}`:o;e.widthOfTextAtSize(c,r)<=n?s=c:(s&&a.push(s),s=o)}return s&&a.push(s),a}function RD(t,e,r,n,i,a,s,o=yi,c){if(!e)return;const A=th(e,a,s,c),u=s*1.45,d=A.length*u;let f=Dn(n,i)+i/2+d/2-s;for(const h of A)t.drawText(h,{x:r,y:f,size:s,font:a,color:o}),f-=u}function No(t,e,r,n,i,a=7){const s=Dn(r,n)+(n-a)/2;i?t.drawRectangle({x:e,y:s,width:a,height:a,color:NT}):t.drawRectangle({x:e,y:s,width:a,height:a,borderColor:mp,borderWidth:.7})}function ST(t,e,r,n,i){if(i.headerLogos){const o=i.headerLogos.scaleToFit(_l,56);t.drawImage(i.headerLogos,{x:At+(_l-o.width)/2,y:Dn(n,56),width:o.width,height:o.height})}else{t.drawRectangle({x:At,y:Dn(n,56),width:155,height:56,borderColor:mp,borderWidth:1.2}),t.drawText("OFICINA",{x:At+8,y:Dn(n,56)+56-14,size:6.5,font:e,color:yi}),t.drawText("Acelera",{x:At+8,y:Dn(n,56)+56-33,size:17,font:r,color:fr(.07,.22,.52)}),t.drawText("pyme",{x:At+78,y:Dn(n,56)+56-43,size:12,font:r,color:yi}),t.drawText("para KIT DIGITAL",{x:At+8,y:Dn(n,56)+56-54,size:5.5,font:e,color:yi});const A=z0-ET-160;t.drawText("Cámara",{x:A+26,y:Dn(n,56)+56-24,size:24,font:r,color:NT}),t.drawText("Fuerteventura",{x:A+30,y:Dn(n,56)+56-44,size:10,font:e,color:yi})}return n+62}function Rz(t,e,r,n,i=27){t.drawRectangle({x:At,y:Dn(r,i),width:_l,height:i,color:NT});const a=e.widthOfTextAtSize(n,11);return t.drawText(n,{x:At+(_l-a)/2,y:Dn(r,i)+(i-11)/2+1,size:11,font:e,color:Ope}),r+i}function _T(t,e,r,n,i){const s=ev-46,o=Dn(s,0);if(t.drawLine({start:{x:At,y:o},end:{x:z0-ET,y:o},thickness:.5,color:mp}),i.footerLogos){const A=i.footerLogos.scaleToFit(_l,22);t.drawImage(i.footerLogos,{x:At+(_l-A.width)/2,y:Dn(s+22+2,0)-A.height,width:A.width,height:A.height})}else t.drawText("Financiado por la Unión Europea · NextGenerationEU | Gobierno de España | Ministerio de Transformación Digital | Red.es | Plan de Recuperación, Transformación y Resiliencia | KIT DIGITAL | Cámara de Comercio de España",{x:At,y:o-11,size:4.5,font:e,color:mp,maxWidth:_l});const c=`Página ${n} | 3`;t.drawText(c,{x:At,y:o-26,size:7.5,font:r,color:yi})}function x0(t,e,r,n,i,a,s){return Hr(t,At,e,kt,r),cn(t,n,At+5,e,r,a,8),Hr(t,At+kt,e,Js,r),i&&cn(t,i,At+kt+6,e,r,s,8,yi,Js-10),e+r}function tv(t,e,r,n,i,a,s,o,c){const A=_l/2,u=A-kt;return Hr(t,At,e,kt,r),cn(t,n,At+5,e,r,o,7.5),Hr(t,At+kt,e,u,r),i&&cn(t,i,At+kt+5,e,r,c,8,yi,u-8),Hr(t,At+A,e,kt,r),cn(t,a,At+A+5,e,r,o,7.5),Hr(t,At+A+kt,e,u,r),s&&cn(t,s,At+A+kt+5,e,r,c,8,yi,u-8),e+r}function Rpe(t,e,r,n,i){let s=ST(t,e,r,18,i);s=Rz(t,r,s+2,"FICHA EMPRESA ACELERA PYME"),s=x0(t,s,24,"NIF EMPRESA",n.nifEmpresa,r,e),s=x0(t,s,24,"RAZÃN SOCIAL",n.razonSocial,r,e);const o=20,c=o*3,A=Js/2,u=[[{k:"mas250",l:"> 250 empleados"},{k:"menos10",l:"< 10 empleados"}],[{k:"entre50y249",l:"entre 50 y 249 empleados"},{k:"autonomo",l:"Autónomo sin asalariados"}],[{k:"entre10y49",l:"entre 10 y 49 empleados"},{k:"emprendedor",l:"Emprendedor"}]];Hr(t,At,s,kt,c),cn(t,"EMPLEADOS",At+5,s,c,r,8);for(let E=0;E<3;E++){const S=s+E*o,[I,B]=u[E];Hr(t,At+kt,S,A,o),No(t,At+kt+6,S,o,n.empleados===I.k),cn(t,I.l,At+kt+17,S,o,e,7.5),Hr(t,At+kt+A,S,A,o),No(t,At+kt+A+6,S,o,n.empleados===B.k),cn(t,B.l,At+kt+A+17,S,o,e,7.5)}s+=c;const d=Js/3,f=[{k:"menos5",l:"Menos de 5 años"},{k:"entre5y10",l:"Entre 5 y 10 años"},{k:"mas10",l:"Más de 10 años"}];Hr(t,At,s,kt,24),cn(t,"INICIO ACTIVIDAD",At+5,s,24,r,7.5);for(let E=0;E<3;E++){const S=At+kt+E*d;Hr(t,S,s,d,24),No(t,S+6,s,24,n.inicioActividad===f[E].k),cn(t,f[E].l,S+17,s,24,e,7.5)}s+=24;const h=[{kL:"A",left:"GRUPO A: Agricultura, ganaderÃa, silvicultura y pesca",kR:"L",right:"GRUPO L: Actividades inmobiliarias"},{kL:"B",left:"GRUPO B: Industrias extractivas",kR:"M",right:"GRUPO M: Actividades profesionales, cientÃficas y técnicas"},{kL:"C",left:"GRUPO C: Industria manufacturera",kR:"N",right:"GRUPO N: Actividades administrativas y servicios auxiliares"},{kL:"D",left:"GRUPO D: Suministro de energÃa eléctrica, gas, vapor y aire acondicionado",kR:"O",right:"GRUPO O: Administración Pública y defensa; Seguridad Social obligatoria"},{kL:"E",left:"GRUPO E: Suministro de agua, actividades de saneamiento, gestión de residuos y descontaminación",kR:"P",right:"GRUPO P: Educación"},{kL:"F",left:"GRUPO F: Construcción",kR:"Q",right:"GRUPO Q: Actividades sanitarias y de servicios sociales"},{kL:"G",left:"GRUPO G: Comercio al por mayor y al por menor; reparación de vehÃculos de motor y motocicletas",kR:"R",right:"GRUPO R: Actividades artÃsticas, recreativas y de entretenimiento"},{kL:"H",left:"GRUPO H: Transporte y almacenamiento",kR:"S",right:"GRUPO S: Otros servicios"},{kL:"I",left:"GRUPO I: HostelerÃa",kR:"T",right:"GRUPO T: Actividades de los hogares como empleadores de personal doméstico;"},{kL:"J",left:"GRUPO J: Información y comunicaciones",kR:"U",right:"GRUPO U: Actividades de organizaciones y organismos extraterritoriales"},{kL:"K",left:"GRUPO K: Actividades financieras y de seguros",kR:null,right:null}],m=Js/2,p=7,x=m-20,v=h.map(E=>{const S=th(E.left,e,p,x).length,I=E.right?th(E.right,e,p,x).length:0;return Math.max(22,Math.max(S,I)*(p*1.45)+10)}),y=v.reduce((E,S)=>E+S,0);Hr(t,At,s,kt,y),cn(t,"SECTOR",At+5,s,y,r,8);let b=s;for(let E=0;E<h.length;E++){const S=h[E],I=v[E];Hr(t,At+kt,b,m,I),No(t,At+kt+6,b,I,n.sector===S.kL),RD(t,S.left,At+kt+17,b,I,e,p,OD,x),Hr(t,At+kt+m,b,m,I),S.right&&S.kR&&(No(t,At+kt+m+6,b,I,n.sector===S.kR),RD(t,S.right,At+kt+m+17,b,I,e,p,OD,x)),b+=I}s+=y,s=x0(t,s,24,"DOMICILIO SOCIAL",n.domicilioSocial,r,e),s=tv(t,s,24,"CÃDIGO POSTAL",n.codigoPostal,"LOCALIDAD",n.localidad,r,e),s=tv(t,s,24,"PROVINCIA",n.provincia,"EMAIL GENERAL",n.emailGeneral,r,e),x0(t,s,24,"PÃGINA WEB",n.paginaWeb,r,e),_T(t,e,r,1,i)}function Upe(t,e,r,n,i){let s=ST(t,e,r,18,i);s=Rz(t,r,s+2,"DATOS CONSULTA");const o=42,c=68,A=_l-kt-o*3-c;Hr(t,At,s,kt,24),cn(t,"TRATAMIENTO",At+5,s,24,r,7.5);const u=[{k:"Sra",l:"Sra."},{k:"Sr",l:"Sr."},{k:"NC",l:"N/C"}];for(let B=0;B<3;B++){const _=At+kt+B*o;Hr(t,_,s,o,24),No(t,_+6,s,24,n.tratamiento===u[B].k),cn(t,u[B].l,_+17,s,24,e,8)}Hr(t,At+kt+o*3,s,c,24),cn(t,"NOMBRE",At+kt+o*3+5,s,24,r,8),Hr(t,At+kt+o*3+c,s,A,24),cn(t,n.nombre,At+kt+o*3+c+5,s,24,e,8,yi,A-8),s+=24,s=tv(t,s,24,"PRIMER APELLIDO",n.primerApellido,"SEGUNDO APELLIDO",n.segundoApellido,r,e),s=tv(t,s,24,"DNI",n.dni,"CARGO",n.cargo,r,e),s=tv(t,s,24,"EMAIL CONTACTO",n.emailContacto,"TELÃFONO",n.telefono,r,e),s=x0(t,s,24,"FECHA CONSULTA",n.fechaConsulta,r,e);const d=19,f=Js/2,h=[["eventos","Eventos","correo","Correo electrónico"],["recomendaciones","Recomendaciones de terceros","web","Web"],["prensa","Prensa","redes","Redes Sociales"],["otros","Otros:",null,null]],m=d*4;Hr(t,At,s,kt,m),cn(t,"¿Cómo nos ha",At+5,s,m/2,r,7.5),cn(t,"conocido?",At+5,s+m/2,m/2,r,7.5);for(let B=0;B<h.length;B++){const _=s+B*d,[O,j,T,P]=h[B];Hr(t,At+kt,_,f,d),No(t,At+kt+6,_,d,n.comoNosHaConocido.includes(O)),cn(t,j,At+kt+17,_,d,e,7.5),Hr(t,At+kt+f,_,f,d),T&&P&&(No(t,At+kt+f+6,_,d,n.comoNosHaConocido.includes(T)),cn(t,P,At+kt+f+17,_,d,e,7.5))}s+=m,s=x0(t,s,24,"NUM. ASISTENTES",n.numAsistentes,r,e);const p=19,x=Js/2,v=[["correo","Correo electrónico","presencial","Presencial"],["telefono","Teléfono","videoconferencia","Videoconferencia"],["chat","Chat web","otros","Otros"]],y=p*3;Hr(t,At,s,kt,y),cn(t,"CANAL DE SERVICIO",At+5,s,y,r,7.5);for(let B=0;B<v.length;B++){const _=s+B*p,[O,j,T,P]=v[B];Hr(t,At+kt,_,x,p),No(t,At+kt+6,_,p,n.canalDeServicio.includes(O)),cn(t,j,At+kt+17,_,p,e,7.5),Hr(t,At+kt+x,_,x,p),No(t,At+kt+x+6,_,p,n.canalDeServicio.includes(T)),cn(t,P,At+kt+x+17,_,p,e,7.5)}s+=y;const b=19,E=Js/2,S=[["marketing","Marketing digital y redes sociales","financiacion","Financiación y ayudas"],["presencia","Presencia Web","iot","Internet de las cosas"],["estrategia","Estrategia","proteccion","Protección de datos"],["comercio","Comercio electrónico","robotica","Robótica"],["ciber","Ciberseguridad","cloud","Soluciones Cloud"],["teletrabajo","Teletrabajo","chatbot","Chatbot"],["infra","Infraestructuras","biometria","BiometrÃa - Identidad digital"],["bigdata","Inteligencia de Negocio (Big Data y D&A)","realidad","Realidad Virtual y Aumentada"],["crm","Gestión de clientes / CRM","impresion","Impresión 3D"],["erp","Planificación de recursos / ERP","
3571ia","Inteligencia Artificial"],["blockchain","Blockchain","agiles","MetodologÃas ágiles"]],I=b*S.length;Hr(t,At,s,kt,I),cn(t,"TEMÃTICA",At+5,s,I,r,8);for(let B=0;B<S.length;B++){const _=s+B*b,[O,j,T,P]=S[B];Hr(t,At+kt,_,E,b),No(t,At+kt+6,_,b,n.tematica.includes(O)),cn(t,j,At+kt+17,_,b,e,7.5,yi,E-26),Hr(t,At+kt+E,_,E,b),No(t,At+kt+E+6,_,b,n.tematica.includes(T)),cn(t,P,At+kt+E+17,_,b,e,7.5,yi,E-26)}_T(t,e,r,2,i)}function Lpe(t,e,r,n,i,a,s){let o=ST(t,e,r,18,s);o+=4;const c=130;Hr(t,At,o,kt,c),cn(t,"OBSERVACIONES",At+5,o+8,0,r,8),th("Descripción de la consulta y resumen del asesoramiento prestado",e,7,kt-10).forEach((_,O)=>{t.drawText(_,{x:At+5,y:Dn(o,c)+c-24-O*10,size:7,font:e,color:yi})}),Hr(t,At+kt,o,Js,c),n.observaciones&&th(n.observaciones,e,8,Js-12).slice(0,10).forEach((O,j)=>{t.drawText(O,{x:At+kt+6,y:Dn(o,c)+c-16-j*11,size:8,font:e,color:yi})}),o+=c;const d=110;Hr(t,At,o,kt,d),cn(t,"Firma de la empresa",At+5,o,d,r,8),Hr(t,At+kt,o,Js,d);const h=th("La persona abajo firmante declara que todos los datos son ciertos y que ha recibido, de manera gratuita, los servicios relacionados según los datos que constan en el presente registro:",e,7,Js-10);let m=Dn(o,d)+d-14;for(const _ of h)t.drawText(_,{x:At+kt+6,y:m,size:7,font:e,color:yi}),m-=9.5;const p=At+kt+(Js-240)/2,x=Dn(o,d)+8,v=d-10-h.length*9.5-12,y=240;t.drawRectangle({x:p,y:x,width:y,height:v,borderColor:mp,borderWidth:.7});const b=a.scaleToFit(y-8,v-6);t.drawImage(a,{x:p+(y-b.width)/2,y:x+(v-b.height)/2,width:b.width,height:b.height}),o+=d;const E=o+8;t.drawText(`Nombre: ${i.signerFirstName} ${i.signerLastName}`,{x:At,y:Dn(E,0),size:7.5,font:r,color:yi}),t.drawText(`DNI/NIE: ${i.signerIdNumber}`,{x:At,y:Dn(E+12,0),size:7.5,font:e,color:yi}),t.drawText(`Fecha: ${i.signedAtDate} Hora: ${i.signedAtTime}`,{x:At,y:Dn(E+24,0),size:7.5,font:e,color:yi}),o+=42;const I=th("Los datos personales proporcionados en el presente formulario, para recibir atención personalizada como parte del Programa Oficinas Acelera Pyme para Kit Digital serán tratados por Cámara de España (C/ Ribera del Loira, 12, 28042, Madrid) y Cámara de Comercio de Fuerteventura, calle Secundino Alonso, 98-1ª planta, Puerto del Rosario (Las Palmas), en régimen de corresponsabilidad, siendo este tratamiento de datos necesario para la gestión del Programa Oficinas Acelera Pyme para Kit Digital. La finalidad de este tratamiento es posibilitar la ejecución, desarrollo, seguimiento gestión y control del Programa Oficinas Acelera Pyme para Kit Digital, asà como informarle del desarrollo y actividades realizadas en el marco del mismo. Conforme a las bases del Programa, las Cámaras deberán comunicar sus datos a Red.es u otros organismos públicos intervinientes en la gestión de fondos con la finalidad de realizar el seguimiento, evaluación y control de la correcta asignación de fondos, asà como con fines estadÃsticos. Sus datos serán conservados por un plazo de 5 años tras la finalización del Programa con la finalidad de atender posibles responsabilidades derivadas de su participación en el mismo, salvo que fueran aplicables otros plazos. Las Cámaras podrán en base a su interés legÃtimo, verificar la información suministrada mediante, por ejemplo, la consulta de registros públicos. Puede ejercer sus derechos de acceso, rectificación, supresión, portabilidad, limitación u oposición, escribiendo a cualquiera de las Cámaras, a [email protected]. Deberá incluir una copia de su documento de identidad o documento oficial análogo que le identifique. Si lo considera oportuno, puede presentar una reclamación ante la Agencia Española de Protección de Datos.",e,6.5,_l),B=9;I.forEach((_,O)=>{t.drawText(_,{x:At,y:Dn(o+O*B,0),size:6.5,font:e,color:yi})}),_T(t,e,r,3,s)}const Mpe=async(t,e)=>{const r=await AA.create(),n=await r.embedFont(ed.Helvetica),i=await r.embedFont(ed.HelveticaBold),a=zpe(e.signatureImageDataUrl),s=await r.embedPng(a),[o,c]=await Promise.all([PD("/files_1576086-2026-04-16T10-09-26-094Z-image.png"),PD("/files_1576086-2026-04-16T10-09-49-929Z-image.png")]),A=async m=>{if(!m)return null;try{return await r.embedPng(m)}catch{return null}},u={headerLogos:await A(o),footerLogos:await A(c)},d=r.addPage([z0,ev]),f=r.addPage([z0,ev]),h=r.addPage([z0,ev]);return Rpe(d,n,i,t,u),Upe(f,n,i,t,u),Lpe(h,n,i,t,e,s,u),r.save()},Qpe=async(t,e)=>{const r=e.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase().replace(/[^a-z0-9]+/g,"_").replace(/^_|_$/g,""),n=`OFICINA ACELERA PYME/ficha_${Date.now()}_${r}.pdf`,i=new Blob([t],{type:"application/pdf"}),a=new File([i],n,{type:"application/pdf"}),{error:s}=await jn.storage.from(DD).upload(n,a,{upsert:!1,cacheControl:"3600"});if(s)throw new Error(`Error al guardar el PDF generado: ${s.message}`);const{data:o}=jn.storage.from(DD).getPublicUrl(n);return o.publicUrl},Uz=async t=>
3571{const e=t.match(/\/storage\/v1\/object\/public\/([^/]+)\/(.+)/);let r;if(e){const n=decodeURIComponent(e[1]),i=decodeURIComponent(e[2]),{data:a,error:s}=await jn.storage.from(n).download(i);if(s)throw new Error(`Error al descargar el PDF: ${s.message}`);r=await a.arrayBuffer()}else{const n=await fetch(t);if(!n.ok)throw new Error("Error al descargar el PDF");r=await n.arrayBuffer()}return new Uint8Array(r)},Hpe=async(t,e)=>{const r=await Uz(t),n=new Blob([r],{type:"application/pdf"}),i=document.createElement("a");i.href=URL.createObjectURL(n);const a=e.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase().replace(/[^a-z0-9]+/g,"_").replace(/^_|_$/g,"");i.download=`ficha_acelera_pyme_${a}.pdf`,i.click(),setTimeout(()=>URL.revokeObjectURL(i.href),1e4)};function zpe(t){const e=t.split(",")[1],r=atob(e),n=new Uint8Array(r.length);for(let i=0;i<r.length;i++)n[i]=r.charCodeAt(i);return n}/*! 3572 * html2canvas 1.4.1 <https://html2canvas.hertzen.com> 3573 * Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com> 3574 * Released under MIT License 3575 *//*! ***************************************************************************** 3576Copyright (c) Microsoft Corporation. 3577 3578Permission to use, copy, modify, and/or distribute this software for any 3579purpose with or without fee is hereby granted. 3580 3581THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH 3582REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 3583AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, 3584INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 3585LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 3586OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 3587PERFORMANCE OF THIS SOFTWARE. 3588***************************************************************************** */var $S=function(t,e){return $S=Object.
vendor: 5,962 bytes, line 3588
3588setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},$S(t,e)};function kl(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");$S(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}var e_=function(){return e_=Object.assign||function(e){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},e_.apply(this,arguments)};function Ga(t,e,r,n){function i(a){return a instanceof r?a:new r(function(s){s(a)})}return new(r||(r=Promise))(function(a,s){function o(u){try{A(n.next(u))}catch(d){s(d)}}function c(u){try{A(n.throw(u))}catch(d){s(d)}}function A(u){u.done?a(u.value):i(u.value).then(o,c)}A((n=n.apply(t,[])).next())})}function Ia(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(A){return function(u){return c([A,u])}}function c(A){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(a=A[0]&2?i.return:A[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,A[1])).done)return a;switch(i=0,a&&(A=[A[0]&2,a.value]),A[0]){case 0:case 1:a=A;break;case 4:return r.label++,{value:A[1],done:!1};case 5:r.label++,i=A[1],A=[0];continue;case 7:A=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(A[0]===6||A[0]===2)){r=0;continue}if(A[0]===3&&(!a||A[1]>a[0]&&A[1]<a[3])){r.label=A[1];break}if(A[0]===6&&r.label<a[1]){r.label=a[1],a=A;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(A);break}a[2]&&r.ops.pop(),r.trys.pop();continue}A=e.call(t,r)}catch(u){A=[6,u],i=0}finally{n=a=0}if(A[0]&5)throw A[1];return{value:A[0]?A[1]:void 0,done:!0}}}function Ky(t,e,r){if(arguments.length===2)for(var n=0,i=e.length,a;n<i;n++)(a||!(n in e))&&(a||(a=Array.prototype.slice.call(e,0,n)),a[n]=e[n]);return t.concat(a||e)}var uA=function(){function t(e,r,n,i){this.left=e,this.top=r,this.width=n,this.height=i}return t.prototype.add=function(e,r,n,i){return new t(this.left+e,this.top+r,this.width+n,this.height+i)},t.fromClientRect=function(e,r){return new t(r.left+e.windowBounds.left,r.top+e.windowBounds.top,r.width,r.height)},t.fromDOMRectList=function(e,r){var n=Array.from(r).find(function(i){return i.width!==0});return n?new t(n.left+e.windowBounds.left,n.top+e.windowBounds.top,n.width,n.height):t.EMPTY},t.EMPTY=new t(0,0,0,0),t}(),S5=function(t,e){return uA.fromClientRect(t,e.getBoundingClientRect())},Vpe=function(t){var e=t.body,r=t.documentElement;if(!e||!r)throw new Error("Unable to get document size");var n=Math.max(Math.max(e.scrollWidth,r.scrollWidth),Math.max(e.offsetWidth,r.offsetWidth),Math.max(e.clientWidth,r.clientWidth)),i=Math.max(Math.max(e.scrollHeight,r.scrollHeight),Math.max(e.offsetHeight,r.offsetHeight),Math.max(e.clientHeight,r.clientHeight));return new uA(0,0,n,i)},_5=function(t){for(var e=[],r=0,n=t.length;r<n;){var i=t.charCodeAt(r++);if(i>=55296&&i<=56319&&r<n){var a=t.charCodeAt(r++);(a&64512)===56320?e.push(((i&1023)<<10)+(a&1023)+65536):(e.push(i),r--)}else e.push(i)}return e},oi=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(String.fromCodePoint)return String.fromCodePoint.apply(String,t);var r=t.length;if(!r)return"";for(var n=[],i=-1,a="";++i<r;){var s=t[i];s<=65535?n.push(s):(s-=65536,n.push((s>>10)+55296,s%1024+56320)),(i+1===r||n.length>16384)&&(a+=String.fromCharCode.apply(String,n),n.length=0)}return a},UD="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Wpe=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var qy=0;qy<UD.length;qy++)Wpe[UD.charCodeAt(qy)]=qy;var LD="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",mg=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Gy=0;Gy<LD.length;Gy++)mg[LD.charCodeAt(Gy)]=Gy;var Kpe=function(t){var e=t.length*.75,r=t.length,n,i=0,a,s,o,c;t[t.length-1]==="="&&(e--,t[t.length-2]==="="&&e--);var A=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(e):new Array(e),u=Array.isArray(A)?A:new Uint8Array(A);for(n=0;n<r;n+=4)a=mg[t.charCodeAt(n)],s=mg[t.charCodeAt(n+1)],o=mg[t.charCodeAt(n+2)],c=mg[t.charCodeAt(n+3)],u[i++]=a<<2|s>>4,u[i++]=(s&15)<<4|o>>2,u[i++]=(o&3)<<6|c&63;return A},qpe=function(t){for(var e=t.length,r=[],n=0;n<e;n+=2)r.push(t[n+1]<<8|t[n]);return r},Gpe=function(t){for(var e=t.length,r=[],n=0;n<e;n+=4)r.push(t[n+3]<<24|t[n+2]<<16|t[n+1]<<8|t[n]);return r},ch=5,FT=11,i4=2,Jpe=FT-ch,Lz=65536>>ch,Xpe=1<<ch,a4=Xpe-1,Ype=1024>>ch,Zpe=Lz+Ype,$pe=Zpe,eme=32,tme=$pe+eme,rme=65536>>FT,nme=1<<Jpe,ime=nme-1,MD=function(t,e,r){return t.slice?t.slice(e,r):new Uint16Array(Array.prototype.slice.call(t,e,r))},ame=function(t,e,r){return t.slice?t.slice(e,r):new Uint32Array(Array.prototype.slice.call(t,e,r))},sme=function(t,e){var r=Kpe(t),n=Array.isArray(r)?Gpe(r):new Uint32Array(r),i=Array.isArray(r)?qpe(r):new Uint16Array(r),a=24,s=MD(i,a/2,n[4]/2),o=n[5]===2?MD(i,(a+n[4])/2):ame(n,Math.ceil((a+n[4])/4));return new ome(n[0],n[1],n[2],n[3],s,o)},ome=function(){function t(e,r,n,i,a,s){this.initialValue=e,this.errorValue=r,this.highStart=n,this.highValueIndex=i,this.index=a,this.data=s}return t.prototype.get=function(e){var r;if(e>=0){if(e<55296||e>56319&&e<=65535)return r=this.index[e>>ch],r=(r<<i4)+(e&a4),this.data[r];if(e<=65535)return r=this.index[Lz+(e-55296>>ch)],r=(r<<i4)+(e&a4),this.data[r];if(e<this.highStart)return r=tme-rme+(e>>FT),r=this.index[r],r+=e>>ch&ime,r=this.index[r],r=(r<<i4)+(e&a4),this.data[r];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},t}(),QD="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
3588+/",lme=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Jy=0;Jy<QD.length;Jy++)lme[QD.charCodeAt(Jy)]=Jy;var cme=
vendor: 52,891 bytes, line 3588
3588"KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvE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sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IR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IIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT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AcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA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wArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQ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eAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJ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4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsA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QAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACU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lACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",
vendor: 1,791 bytes, line 3588
3588HD=50,Ame=1,Mz=2,Qz=3,ume=4,dme=5,zD=7,Hz=8,VD=9,gu=10,t_=11,WD=12,r_=13,hme=14,gg=15,n_=16,Xy=17,qm=18,fme=19,KD=20,i_=21,Gm=22,s4=23,Uf=24,Qs=25,vg=26,xg=27,Lf=28,pme=29,zd=30,mme=31,Yy=32,Zy=33,a_=34,s_=35,o_=36,l1=37,l_=38,u2=39,d2=40,o4=41,zz=42,gme=43,vme=[9001,65288],Vz="!",br="Ã",$y="÷",c_=sme(cme),Ic=[zd,o_],A_=[Ame,Mz,Qz,dme],Wz=[gu,Hz],qD=[xg,vg],xme=A_.concat(Wz),GD=[l_,u2,d2,a_,s_],yme=[gg,r_],wme=function(t,e){e===void 0&&(e="strict");var r=[],n=[],i=[];return t.forEach(function(a,s){var o=c_.get(a);if(o>HD?(i.push(!0),o-=HD):i.push(!1),["normal","auto","loose"].indexOf(e)!==-1&&[8208,8211,12316,12448].indexOf(a)!==-1)return n.push(s),r.push(n_);if(o===ume||o===t_){if(s===0)return n.push(s),r.push(zd);var c=r[s-1];return xme.indexOf(c)===-1?(n.push(n[s-1]),r.push(c)):(n.push(s),r.push(zd))}if(n.push(s),o===mme)return r.push(e==="strict"?i_:l1);if(o===zz||o===pme)return r.push(zd);if(o===gme)return a>=131072&&a<=196605||a>=196608&&a<=262141?r.push(l1):r.push(zd);r.push(o)}),[n,r,i]},l4=function(t,e,r,n){var i=n[r];if(Array.isArray(t)?t.indexOf(i)!==-1:t===i)for(var a=r;a<=n.length;){a++;var s=n[a];if(s===e)return!0;if(s!==gu)break}if(i===gu)for(var a=r;a>0;){a--;var o=n[a];if(Array.isArray(t)?t.indexOf(o)!==-1:t===o)for(var c=r;c<=n.length;){c++;var s=n[c];if(s===e)return!0;if(s!==gu)break}if(o!==gu)break}return!1},JD=function(t,e){for(var r=t;r>=0;){var n=e[r];if(n===gu)r--;else return n}return 0},bme=function(t,e,r,n,i){if(r[n]===0)return br;var a=n-1;if(Array.isArray(i)&&i[a]===!0)return br;var s=a-1,o=a+1,c=e[a],A=s>=0?e[s]:0,u=e[o];if(c===Mz&&u===Qz)return br;if(A_.indexOf(c)!==-1)return Vz;if(A_.indexOf(u)!==-1||Wz.indexOf(u)!==-1)return br;if(JD(a,e)===Hz)return $y;if(c_.get(t[a])===t_||(c===Yy||c===Zy)&&c_.get(t[o])===t_||c===zD||u===zD||
vendor: 14,440 bytes, line 3588
3588c===VD||[gu,r_,gg].indexOf(c)===-1&&u===VD||[Xy,qm,fme,Uf,Lf].indexOf(u)!==-1||JD(a,e)===Gm||l4(s4,Gm,a,e)||l4([Xy,qm],i_,a,e)||l4(WD,WD,a,e))return br;if(c===gu)return $y;if(c===s4||u===s4)return br;if(u===n_||c===n_)return $y;if([r_,gg,i_].indexOf(u)!==-1||c===hme||A===o_&&yme.indexOf(c)!==-1||c===Lf&&u===o_||u===KD||Ic.indexOf(u)!==-1&&c===Qs||Ic.indexOf(c)!==-1&&u===Qs||c===xg&&[l1,Yy,Zy].indexOf(u)!==-1||[l1,Yy,Zy].indexOf(c)!==-1&&u===vg||Ic.indexOf(c)!==-1&&qD.indexOf(u)!==-1||qD.indexOf(c)!==-1&&Ic.indexOf(u)!==-1||[xg,vg].indexOf(c)!==-1&&(u===Qs||[Gm,gg].indexOf(u)!==-1&&e[o+1]===Qs)||[Gm,gg].indexOf(c)!==-1&&u===Qs||c===Qs&&[Qs,Lf,Uf].indexOf(u)!==-1)return br;if([Qs,Lf,Uf,Xy,qm].indexOf(u)!==-1)for(var d=a;d>=0;){var f=e[d];if(f===Qs)return br;if([Lf,Uf].indexOf(f)!==-1)d--;else break}if([xg,vg].indexOf(u)!==-1)for(var d=[Xy,qm].indexOf(c)!==-1?s:a;d>=0;){var f=e[d];if(f===Qs)return br;if([Lf,Uf].indexOf(f)!==-1)d--;else break}if(l_===c&&[l_,u2,a_,s_].indexOf(u)!==-1||[u2,a_].indexOf(c)!==-1&&[u2,d2].indexOf(u)!==-1||[d2,s_].indexOf(c)!==-1&&u===d2||GD.indexOf(c)!==-1&&[KD,vg].indexOf(u)!==-1||GD.indexOf(u)!==-1&&c===xg||Ic.indexOf(c)!==-1&&Ic.indexOf(u)!==-1||c===Uf&&Ic.indexOf(u)!==-1||Ic.concat(Qs).indexOf(c)!==-1&&u===Gm&&vme.indexOf(t[o])===-1||Ic.concat(Qs).indexOf(u)!==-1&&c===qm)return br;if(c===o4&&u===o4){for(var h=r[a],m=1;h>0&&(h--,e[h]===o4);)m++;if(m%2!==0)return br}return c===Yy&&u===Zy?br:$y},Cme=function(t,e){e||(e={lineBreak:"normal",wordBreak:"normal"});var r=wme(t,e.lineBreak),n=r[0],i=r[1],a=r[2];(e.wordBreak==="break-all"||e.wordBreak==="break-word")&&(i=i.map(function(o){return[Qs,zd,zz].indexOf(o)!==-1?l1:o}));var s=e.wordBreak==="keep-all"?a.map(function(o,c){return o&&t[c]>=19968&&t[c]<=40959}):void 0;return[n,i,s]},Bme=function(){function t(e,r,n,i){this.codePoints=e,this.required=r===Vz,this.start=n,this.end=i}return t.prototype.slice=function(){return oi.apply(void 0,this.codePoints.slice(this.start,this.end))},t}(),Eme=function(t,e){var r=_5(t),n=Cme(r,e),i=n[0],a=n[1],s=n[2],o=r.length,c=0,A=0;return{next:function(){if(A>=o)return{done:!0,value:null};for(var u=br;A<o&&(u=bme(r,a,i,++A,s))===br;);if(u!==br||A===o){var d=new Bme(r,u,c,A);return c=A,{value:d,done:!1}}return{done:!0,value:null}}}},Nme=1,Sme=2,ex=4,XD=8,Ob=10,YD=47,rv=92,_me=9,Fme=32,ew=34,Jm=61,Tme=35,jme=36,Ime=37,tw=39,rw=40,Xm=41,kme=95,xs=45,Pme=33,Dme=60,Ome=62,Rme=64,Ume=91,Lme=93,Mme=61,Qme=123,nw=63,Hme=125,ZD=124,zme=126,Vme=128,$D=65533,c4=42,rh=43,Wme=44,Kme=58,qme=59,c1=46,Gme=0,Jme=8,Xme=11,Yme=14,Zme=31,$me=127,Vl=-1,Kz=48,qz=97,Gz=101,ege=102,tge=117,rge=122,Jz=65,Xz=69,Yz=70,nge=85,ige=90,ka=function(t){return t>=Kz&&t<=57},age=function(t){return t>=55296&&t<=57343},Mf=function(t){return ka(t)||t>=Jz&&t<=Yz||t>=qz&&t<=ege},sge=function(t){return t>=qz&&t<=rge},oge=function(t){return t>=Jz&&t<=ige},lge=function(t){return sge(t)||oge(t)},cge=function(t){return t>=Vme},iw=function(t){return t===Ob||t===_me||t===Fme},Rb=function(t){return lge(t)||cge(t)||t===kme},eO=function(t){return Rb(t)||ka(t)||t===xs},Age=function(t){return t>=Gme&&t<=Jme||t===Xme||t>=Yme&&t<=Zme||t===$me},tu=function(t,e){return t!==rv?!1:e!==Ob},aw=function(t,e,r){return t===xs?Rb(e)||tu(e,r):Rb(t)?!0:!!(t===rv&&tu(t,e))},A4=function(t,e,r){return t===rh||t===xs?ka(e)?!0:e===c1&&ka(r):ka(t===c1?e:t)},uge=function(t){var e=0,r=1;(t[e]===rh||t[e]===xs)&&(t[e]===xs&&(r=-1),e++);for(var n=[];ka(t[e]);)n.push(t[e++]);var i=n.length?parseInt(oi.apply(void 0,n),10):0;t[e]===c1&&e++;for(var a=[];ka(t[e]);)a.push(t[e++]);var s=a.length,o=s?parseInt(oi.apply(void 0,a),10):0;(t[e]===Xz||t[e]===Gz)&&e++;var c=1;(t[e]===rh||t[e]===xs)&&(t[e]===xs&&(c=-1),e++);for(var A=[];ka(t[e]);)A.push(t[e++]);var u=A.length?parseInt(oi.apply(void 0,A),10):0;return r*(i+o*Math.pow(10,-s))*Math.pow(10,c*u)},dge={type:2},hge={type:3},fge={type:4},pge={type:13},mge={type:8},gge={type:21},vge={type:9},xge={type:10},yge={type:11},wge={type:12},bge={type:14},sw={type:23},Cge={type:1},Bge={type:25},Ege={type:24},Nge={type:26},Sge={type:27},_ge={type:28},Fge={type:29},Tge={type:31},u_={type:32},Zz=function(){function t(){this._value=[]}return t.prototype.write=function(e){this._value=this._value.concat(_5(e))},t.prototype.read=function(){for(var e=[],r=this.consumeToken();r!==u_;)e.push(r),r=this.consumeToken();return e},t.prototype.consumeToken=function(){var e=this.consumeCodePoint();switch(e){case ew:return this.consumeStringToken(ew);case Tme:var r=this.peekCodePoint(0),n=this.peekCodePoint(1),i=this.peekCodePoint(2);if(eO(r)||tu(n,i)){var a=aw(r,n,i)?Sme:Nme,s=this.consumeName();return{type:5,value:s,flags:a}}break;case jme:if(this.peekCodePoint(0)===Jm)return this.consumeCodePoint(),pge;break;case tw:return this.consumeStringToken(tw);case rw:return dge;case Xm:return hge;case c4:if(this.peekCodePoint(0)===Jm)return this.consumeCodePoint(),bge;break;case rh:if(A4(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case Wme:return fge;case xs:var o=e,c=this.peekCodePoint(0),A=this.peekCodePoint(1);if(A4(o,c,A))return this.reconsumeCodePoint(e),this.consumeNumericToken();if(aw(o,c,A))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();if(c===xs&&A===Ome)return this.consumeCodePoint(),this.consumeCodePoint(),Ege;break;case c1:if(A4(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case YD:if(this.peekCodePoint(0)===c4)for(this.consumeCodePoint();;){var u=this.consumeCodePoint();if(u===c4&&(u=this.consumeCodePoint(),u===YD))return this.consumeToken();if(u===Vl)return this.consumeToken()}break;case Kme:return Nge;case qme:return Sge;case Dme:if(this.peekCodePoint(0)===Pme&&this.peekCodePoint(1)===xs&&this.peekCodePoint(2)===xs)return this.consumeCodePoint(),this.consumeCodePoint(),Bge;break;case Rme:var d=this.peekCodePoint(0),f=this.peekCodePoint(1),h=this.peekCodePoint(2);if(aw(d,f,h)){var s=this.consumeName();return{type:7,value:s}}break;case Ume:return _ge;case rv:if(tu(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();break;case Lme:return Fge;case Mme:if(this.peekCodePoint(0)===Jm)return this.consumeCodePoint(),mge;break;case Qme:return yge;case Hme:return wge;case tge:case nge:var m=this.peekCodePoint(0),p=this.peekCodePoint(1);return m===rh&&(Mf(p)||p===nw)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(e),this.consumeIdentLikeToken();case ZD:if(this.peekCodePoint(0)===Jm)return this.consumeCodePoint(),vge;if(this.peekCodePoint(0)===ZD)return this.consumeCodePoint(),gge;break;case zme:if(this.peekCodePoint(0)===Jm)return this.consumeCodePoint(),xge;break;case Vl:return u_}return iw(e)?(this.consumeWhiteSpace(),Tge):ka(e)?(this.reconsumeCodePoint(e),this.consumeNumericToken()):Rb(e)?(this.reconsumeCodePoint(e),this.consumeIdentLikeToken()):{type:6,value:oi(e)}},t.prototype.consumeCodePoint=function(){var e=this._value.shift();return typeof e>"u"?-1:e},t.prototype.reconsumeCodePoint=function(e){this._value.unshift(e)},t.prototype.peekCodePoint=function(e){return e>=this._value.length?-1:this._value[e]},t.prototype.consumeUnicodeRangeToken=function(){for(var e=[],r=this.consumeCodePoint();Mf(r)&&e.length<6;)e.push(r),r=this.consumeCodePoint();for(var n=!1;r===nw&&e.length<6;)e.push(r),r=this.consumeCodePoint(),n=!0;if(n){var i=parseInt(oi.apply(void 0,e.map(function(c){return c===nw?Kz:c})),16),a=parseInt(oi.apply(void 0,e.map(function(c){return c===nw?Yz:c})),16);return{type:30,start:i,end:a}}var s=parseInt(oi.apply(void 0,e),16);if(this.peekCodePoint(0)===xs&&Mf(this.peekCodePoint(1))){this.consumeCodePoint(),r=this.consumeCodePoint();for(var o=[];Mf(r)&&o.length<6;)o.push(r),r=this.consumeCodePoint();var a=parseInt(oi.apply(void 0,o),16);return{type:30,start:s,end:a}}else return{type:30,start:s,end:s}},t.prototype.consumeIdentLikeToken=function(){var e=this.consumeName();return e.toLowerCase()==="url"&&this.peekCodePoint(0)===rw?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===rw?(this.consumeCodePoint(),{type:19,value:e}):{type:20,value:e}},t.prototype.consumeUrlToken=function(){var e=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Vl)return{type:22,value:""};var r=this.peekCodePoint(0);if(r===tw||r===ew){var n=this.consumeStringToken(this.consumeCodePoint());return n.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Vl||this.peekCodePoint(0)===Xm)?(this.consumeCodePoint(),{type:22,value:n.value}):(this.consumeBadUrlRemnants(),sw)}for(;;){var i=this.consumeCodePoint();if(i===Vl||i===Xm)return{type:22,value:oi.apply(void 0,e)};if(iw(i))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Vl||this.peekCodePoint(0)===Xm?(this.consumeCodePoint(),{type:22,value:oi.apply(void 0,e)}):(this.consumeBadUrlRemnants(),sw);if(i===ew||i===tw||i===rw||Age(i))return this.consumeBadUrlRemnants(),sw;if(i===rv)if(tu(i,this.peekCodePoint(0)))e.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),sw;else e.push(i)}},t.prototype.consumeWhiteSpace=function(){for(;iw(this.peekCodePoint(0));)this.consumeCodePoint()},t.prototype.consumeBadUrlRemnants=function(){for(;;){var e=this.consumeCodePoint();if(e===Xm||e===Vl)return;tu(e,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},t.prototype.consumeStringSlice=function(e){for(var r=5e4,n="";e>0;){var i=Math.min(r,e);n+=oi.apply(void 0,this._value.splice(0,i)),e-=i}return this._value.shift(),n},t.prototype.consumeStringToken=function(e){var r="",n=0;do{var i=this._value[n];if(i===Vl||i===void 0||i===e)return r+=this.consumeStringSlice(n),{type:0,value:r};if(i===Ob)return this._value.splice(0,n),Cge;if(i===rv){var a=this._value[n+1];a!==Vl&&a!==void 0&&(a===Ob?(r+=this.consumeStringSlice(n),n=-1,this._value.shift()):tu(i,a)&&(r+=this.consumeStringSlice(n),r+=oi(this.consumeEscapedCodePoint()),n=-1))}n++}while(!0)},t.prototype.consumeNumber=function(){var e=[],r=ex,n=this.peekCodePoint(0);for((n===rh||n===xs)&&e.push(this.consumeCodePoint());ka(this.peekCodePoint(0));)e.push(this.consumeCodePoint());n=this.peekCodePoint(0);var i=this.peekCodePoint(1);if(n===c1&&ka(i))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),r=XD;ka(this.peekCodePoint(0));)e.push(this.consumeCodePoint());n=this.peekCodePoint(0),i=this.peekCodePoint(1);var a=this.peekCodePoint(2);if((n===Xz||n===Gz)&&((i===rh||i===xs)&&ka(a)||ka(i)))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),r=XD;ka(this.peekCodePoint(0));)e.push(this.consumeCodePoint());return[uge(e),r]},t.prototype.consumeNumericToken=function(){var e=this.consumeNumber(),r=e[0],n=e[1],i=this.peekCodePoint(0),a=this.peekCodePoint(1),s=this.peekCodePoint(2);if(aw(i,a,s)){var o=this.consumeName();return{type:15,number:r,flags:n,unit:o}}return i===Ime?(this.consumeCodePoint(),{type:16,number:r,flags:n}):{type:17,number:r,flags:n}},t.prototype.consumeEscapedCodePoint=function(){var e=this.consumeCodePoint();if(Mf(e)){for(var r=oi(e);Mf(this.peekCodePoint(0))&&r.length<6;)r+=oi(this.consumeCodePoint());iw(this.peekCodePoint(0))&&this.consumeCodePoint();var n=parseInt(r,16);return n===0||age(n)||n>1114111?$D:n}return e===Vl?$D:e},t.prototype.consumeName=function(){for(var e="";;){var r=this.consumeCodePoint();if(eO(r))e+=oi(r);else if(tu(r,this.peekCodePoint(0)))e+=oi(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(r),e}},t}(),$z=function(){function t(e){this._tokens=e}return t.create=function(e){var r=new Zz;return r.write(e),new t(r.read())},t.parseValue=function(e){return t.create(e).parseComponentValue()},t.parseValues=function(e){return t.create(e).parseComponentValues()},t.prototype.parseComponentValue=function(){for(var e=this.consumeToken();e.type===31;)e=this.consumeToken();if(e.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(e);var r=this.consumeComponentValue();do e=this.consumeToken();while(e.type===31);if(e.type===32)return r;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},t.prototype.parseComponentValues=function(){for(var e=[];;){var r=this.consumeComponentValue();if(r.type===32)return e;e.push(r),e.push()}},t.prototype.consumeComponentValue=function(){var e=this.consumeToken();switch(e.type){case 11:case 28:case 2:return this.consumeSimpleBlock(e.type);case 19:return this.consumeFunction(e)}return e},t.prototype.consumeSimpleBlock=function(e){for(var r={type:e,values:[]},n=this.consumeToken();;){if(n.type===32||Ige(n,e))return r;this.reconsumeToken(n),r.values.push(this.consumeComponentValue()),n=this.consumeToken()}},t.prototype.consumeFunction=function(e){for(var r={name:e.value,values:[],type:18};;){var n=this.consumeToken();if(n.type===32||n.type===3)return r;this.reconsumeToken(n),r.values.push(this.consumeComponentValue())}},t.prototype.consumeToken=function(){var e=this._tokens.shift();return typeof e>"u"?u_:e},t.prototype.reconsumeToken=function(e){this._tokens.unshift(e)},t}(),tx=function(t){return t.type===15},zp=function(t){return t.type===17},dn=function(t){return t.type===20},jge=function(t){return t.type===0},d_=function(t,e){return dn(t)&&t.value===e},eV=function(t){return t.type!==31},gp=function(t){return t.type!==31&&t.type!==4},vc=function(t){var e=[],r=[];return t.forEach(function(n){if(n.type===4){if(r.length===0)throw new Error("Error parsing function args, zero tokens for arg");e.push(r),r=[];return}n.type!==31&&r.push(n)}),r.length&&e.push(r),e},Ige=function(t,e){return e===11&&t.type===12||e===28&&t.type===29?!0:e===2&&t.type===3},td=function(t){return t.type===17||t.type===15},wi=function(t){return t.type===16||td(t)},tV=function(t){return t.length>1?[t[0],t[1]]:[t[0]]},pa={type:17,number:0,flags:ex},TT={type:16,number:50,flags:ex},vu={type:16,number:100,flags:ex},yg=function(t,e,r){var n=t[0],i=t[1];return[bn(n,e),bn(typeof i<"u"?i:n,r)]},bn=function(t,e){if(t.type===16)return t.number/100*e;if(tx(t))switch(t.unit){case"rem":case"em":return 16*t.number;case"px":default:return t.number}return t.number},rV="deg",nV="grad",iV="rad",aV="turn",F5={name:"angle",parse:function(t,e){if(e.type===15)switch(e.unit){case rV:return Math.PI*e.number/180;case nV:return Math.PI/200*e.number;case iV:return e.number;case aV:return Math.PI*2*e.number}throw new Error("Unsupported angle type")}}
vendor: 16,699 bytes, line 3588
3588,sV=function(t){return t.type===15&&(t.unit===rV||t.unit===nV||t.unit===iV||t.unit===aV)},oV=function(t){var e=t.filter(dn).map(function(r){return r.value}).join(" ");switch(e){case"to bottom right":case"to right bottom":case"left top":case"top left":return[pa,pa];case"to top":case"bottom":return Ro(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[pa,vu];case"to right":case"left":return Ro(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[vu,vu];case"to bottom":case"top":return Ro(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[vu,pa];case"to left":case"right":return Ro(270)}return 0},Ro=function(t){return Math.PI*t/180},Qu={name:"color",parse:function(t,e){if(e.type===18){var r=kge[e.name];if(typeof r>"u")throw new Error('Attempting to parse an unsupported color function "'+e.name+'"');return r(t,e.values)}if(e.type===5){if(e.value.length===3){var n=e.value.substring(0,1),i=e.value.substring(1,2),a=e.value.substring(2,3);return xu(parseInt(n+n,16),parseInt(i+i,16),parseInt(a+a,16),1)}if(e.value.length===4){var n=e.value.substring(0,1),i=e.value.substring(1,2),a=e.value.substring(2,3),s=e.value.substring(3,4);return xu(parseInt(n+n,16),parseInt(i+i,16),parseInt(a+a,16),parseInt(s+s,16)/255)}if(e.value.length===6){var n=e.value.substring(0,2),i=e.value.substring(2,4),a=e.value.substring(4,6);return xu(parseInt(n,16),parseInt(i,16),parseInt(a,16),1)}if(e.value.length===8){var n=e.value.substring(0,2),i=e.value.substring(2,4),a=e.value.substring(4,6),s=e.value.substring(6,8);return xu(parseInt(n,16),parseInt(i,16),parseInt(a,16),parseInt(s,16)/255)}}if(e.type===20){var o=Zc[e.value.toUpperCase()];if(typeof o<"u")return o}return Zc.TRANSPARENT}},Hu=function(t){return(255&t)===0},Wi=function(t){var e=255&t,r=255&t>>8,n=255&t>>16,i=255&t>>24;return e<255?"rgba("+i+","+n+","+r+","+e/255+")":"rgb("+i+","+n+","+r+")"},xu=function(t,e,r,n){return(t<<24|e<<16|r<<8|Math.round(n*255)<<0)>>>0},tO=function(t,e){if(t.type===17)return t.number;if(t.type===16){var r=e===3?1:255;return e===3?t.number/100*r:Math.round(t.number/100*r)}return 0},rO=function(t,e){var r=e.filter(gp);if(r.length===3){var n=r.map(tO),i=n[0],a=n[1],s=n[2];return xu(i,a,s,1)}if(r.length===4){var o=r.map(tO),i=o[0],a=o[1],s=o[2],c=o[3];return xu(i,a,s,c)}return 0};function u4(t,e,r){return r<0&&(r+=1),r>=1&&(r-=1),r<1/6?(e-t)*r*6+t:r<1/2?e:r<2/3?(e-t)*6*(2/3-r)+t:t}var nO=function(t,e){var r=e.filter(gp),n=r[0],i=r[1],a=r[2],s=r[3],o=(n.type===17?Ro(n.number):F5.parse(t,n))/(Math.PI*2),c=wi(i)?i.number/100:0,A=wi(a)?a.number/100:0,u=typeof s<"u"&&wi(s)?bn(s,1):1;if(c===0)return xu(A*255,A*255,A*255,1);var d=A<=.5?A*(c+1):A+c-A*c,f=A*2-d,h=u4(f,d,o+1/3),m=u4(f,d,o),p=u4(f,d,o-1/3);return xu(h*255,m*255,p*255,u)},kge={hsl:nO,hsla:nO,rgb:rO,rgba:rO},nv=function(t,e){return Qu.parse(t,$z.create(e).parseComponentValue())},Zc={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},Pge={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(t,e){return e.map(function(r){if(dn(r))switch(r.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Dge={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},T5=function(t,e){var r=Qu.parse(t,e[0]),n=e[1];return n&&wi(n)?{color:r,stop:n}:{color:r,stop:null}},iO=function(t,e){var r=t[0],n=t[t.length-1];r.stop===null&&(r.stop=pa),n.stop===null&&(n.stop=vu);for(var i=[],a=0,s=0;s<t.length;s++){var o=t[s].stop;if(o!==null){var c=bn(o,e);c>a?i.push(c):i.push(a),a=c}else i.push(null)}for(var A=null,s=0;s<i.length;s++){var u=i[s];if(u===null)A===null&&(A=s);else if(A!==null){for(var d=s-A,f=i[A-1],h=(u-f)/(d+1),m=1;m<=d;m++)i[A+m-1]=h*m;A=null}}return t.map(function(p,x){var v=p.color;return{color:v,stop:Math.max(Math.min(1,i[x]/e),0)}})},Oge=function(t,e,r){var n=e/2,i=r/2,a=bn(t[0],e)-n,s=i-bn(t[1],r);return(Math.atan2(s,a)+Math.PI*2)%(Math.PI*2)},Rge=function(t,e,r){var n=typeof t=="number"?t:Oge(t,e,r),i=Math.abs(e*Math.sin(n))+Math.abs(r*Math.cos(n)),a=e/2,s=r/2,o=i/2,c=Math.sin(n-Math.PI/2)*o,A=Math.cos(n-Math.PI/2)*o;return[i,a-A,a+A,s-c,s+c]},ll=function(t,e){return Math.sqrt(t*t+e*e)},aO=function(t,e,r,n,i){var a=[[0,0],[0,e],[t,0],[t,e]];return a.reduce(function(s,o){var c=o[0],A=o[1],u=ll(r-c,n-A);return(i?u<s.optimumDistance:u>s.optimumDistance)?{optimumCorner:o,optimumDistance:u}:s},{optimumDistance:i?1/0:-1/0,optimumCorner:null}).optimumCorner},Uge=function(t,e,r,n,i){var a=0,s=0;switch(t.size){case 0:t.shape===0?a=s=Math.min(Math.abs(e),Math.abs(e-n),Math.abs(r),Math.abs(r-i)):t.shape===1&&(a=Math.min(Math.abs(e),Math.abs(e-n)),s=Math.min(Math.abs(r),Math.abs(r-i)));break;case 2:if(t.shape===0)a=s=Math.min(ll(e,r),ll(e,r-i),ll(e-n,r),ll(e-n,r-i));else if(t.shape===1){var o=Math.min(Math.abs(r),Math.abs(r-i))/Math.min(Math.abs(e),Math.abs(e-n)),c=aO(n,i,e,r,!0),A=c[0],u=c[1];a=ll(A-e,(u-r)/o),s=o*a}break;case 1:t.shape===0?a=s=Math.max(Math.abs(e),Math.abs(e-n),Math.abs(r),Math.abs(r-i)):t.shape===1&&(a=Math.max(Math.abs(e),Math.abs(e-n)),s=Math.max(Math.abs(r),Math.abs(r-i)));break;case 3:if(t.shape===0)a=s=Math.max(ll(e,r),ll(e,r-i),ll(e-n,r),ll(e-n,r-i));else if(t.shape===1){var o=Math.max(Math.abs(r),Math.abs(r-i))/Math.max(Math.abs(e),Math.abs(e-n)),d=aO(n,i,e,r,!1),A=d[0],u=d[1];a=ll(A-e,(u-r)/o),s=o*a}break}return Array.isArray(t.size)&&(a=bn(t.size[0],n),s=t.size.length===2?bn(t.size[1],i):a),[a,s]},Lge=function(t,e){var r=Ro(180),n=[];return vc(e).forEach(function(i,a){if(a===0){var s=i[0];if(s.type===20&&s.value==="to"){r=oV(i);return}else if(sV(s)){r=F5.parse(t,s);return}}var o=T5(t,i);n.push(o)}),{angle:r,stops:n,type:1}},ow=function(t,e){var r=Ro(180),n=[];return vc(e).forEach(function(i,a){if(a===0){var s=i[0];if(s.type===20&&["top","left","right","bottom"].indexOf(s.value)!==-1){r=oV(i);return}else if(sV(s)){r=(F5.parse(t,s)+Ro(270))%Ro(360);return}}var o=T5(t,i);n.push(o)}),{angle:r,stops:n,type:1}},Mge=function(t,e){var r=Ro(180),n=[],i=1,a=0,s=3,o=[];return vc(e).forEach(function(c,A){var u=c[0];if(A===0){if(dn(u)&&u.value==="linear"){i=1;return}else if(dn(u)&&u.value==="radial"){i=2;return}}if(u.type===18){if(u.name==="from"){var d=Qu.parse(t,u.values[0]);n.push({stop:pa,color:d})}else if(u.name==="to"){var d=Qu.parse(t,u.values[0]);n.push({stop:vu,color:d})}else if(u.name==="color-stop"){var f=u.values.filter(gp);if(f.length===2){var d=Qu.parse(t,f[1]),h=f[0];zp(h)&&n.push({stop:{type:16,number:h.number*100,flags:h.flags},color:d})}}}}),i===1?{angle:(r+Ro(180))%Ro(360),stops:n,type:i}:{size:s,shape:a,stops:n,position:o,type:i}},lV="closest-side",cV="farthest-side",AV="closest-corner",uV="farthest-corner",dV="circle",hV="ellipse",fV="cover",pV="contain",Qge=function(t,e){var r=0,n=3,i=[],a=[];return vc(e).forEach(function(s,o){var c=!0;if(o===0){var A=!1;c=s.reduce(function(d,f){if(A)if(dn(f))switch(f.value){case"center":return a.push(TT),d;case"top":case"left":return a.push(pa),d;case"right":case"bottom":return a.push(vu),d}else(wi(f)||td(f))&&a.push(f);else if(dn(f))switch(f.value){case dV:return r=0,!1;case hV:return r=1,!1;case"at":return A=!0,!1;case lV:return n=0,!1;case fV:case cV:return n=1,!1;case pV:case AV:return n=2,!1;case uV:return n=3,!1}else if(td(f)||wi(f))return Array.isArray(n)||(n=[]),n.push(f),!1;return d},c)}if(c){var u=T5(t,s);i.push(u)}}),{size:n,shape:r,stops:i,position:a,type:2}},lw=function(t,e){var r=0,n=3,i=[],a=[];return vc(e).forEach(function(s,o){var c=!0;if(o===0?c=s.reduce(function(u,d){if(dn(d))switch(d.value){case"center":return a.push(TT),!1;case"top":case"left":return a.push(pa),!1;case"right":case"bottom":return a.push(vu),!1}else if(wi(d)||td(d))return a.push(d),!1;return u},c):o===1&&(c=s.reduce(function(u,d){if(dn(d))switch(d.value){case dV:return r=0,!1;case hV:return r=1,!1;case pV:case lV:return n=0,!1;case cV:return n=1,!1;case AV:return n=2,!1;case fV:case uV:return n=3,!1}else if(td(d)||wi(d))return Array.isArray(n)||(n=[]),n.push(d),!1;return u},c)),c){var A=T5(t,s);i.push(A)}}),{size:n,shape:r,stops:i,position:a,type:2}},Hge=function(t){return t.type===1},zge=function(t){return t.type===2},jT={name:"image",parse:function(t,e){if(e.type===22){var r={url:e.value,type:0};return t.cache.addImage(e.value),r}if(e.type===18){var n=mV[e.name];if(typeof n>"u")throw new Error('Attempting to parse an unsupported image function "'+e.name+'"');return n(t,e.values)}throw new Error("Unsupported image type "+e.type)}};function Vge(t){return!(t.type===20&&t.value==="none")&&(t.type!==18||!!mV[t.name])}var mV={"linear-gradient":Lge,"-moz-linear-gradient":ow,"-ms-linear-gradient":ow,"-o-linear-gradient":ow,"-webkit-linear-gradient":ow,"radial-gradient":Qge,"-moz-radial-gradient":lw,"-ms-radial-gradient":lw,"-o-radial-gradient":lw,"-webkit-radial-gradient":lw,"-webkit-gradient":Mge},Wge={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(t,e){if(e.length===0)return[];var r=e[0];return r.type===20&&r.value==="none"?[]:e.filter(function(n){return gp(n)&&Vge(n)}).map(function(n){return jT.parse(t,n)})}},Kge={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(t,e){return e.map(function(r){if(dn(r))switch(r.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},qge={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(t,e){return vc(e).map(function(r){return r.filter(wi)}).map(tV)}},Gge={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(t,e){return vc(e).map(function(r){return r.filter(dn).map(function(n){return n.value}).join(" ")}).map(Jge)}},Jge=function(t){switch(t){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},V0;(function(t){t.AUTO="auto",t.CONTAIN="contain",t.COVER="cover"})(V0||(V0={}));var Xge={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(t,e){return vc(e).map(function(r){return r.filter(Yge)})}},Yge=function(t){return dn(t)||wi(t)},j5=function(t){return{name:"border-"+t+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},Zge=j5("top"),$ge=j5("right"),eve=j5("bottom"),tve=j5("left"),I5=function(t){return{name:"border-radius-"+t,initialValue:"0 0",prefix:!1,type:1,parse:function(e,r){return tV(r.filter(wi))}}},rve=I5("top-left"),nve=I5("top-right"),ive=I5("bottom-right"),ave=I5("bottom-left"),k5=function(t){return{name:"border-"+t+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(e,r){switch(r){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},sve=k5("top"),ove=k5("right"),lve=k5("bottom"),cve=k5("left"),P5=function(t){return{name:"border-"+t+"-width",initialValue:"0",type:0,prefix:!1,parse:function(e,r){return tx(r)?r.number:0}}},Ave=P5("top"),uve=P5("right"),dve=P5("bottom"),hve=P5("left"),fve={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},pve={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(t,e){switch(e){case"rtl":return 1;case"ltr":default:return 0}}},mve={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(t,e){return e.filter(dn).reduce(function(r,n){return r|gve(n.value)},0)}},gve=function(t){switch(t){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},vve={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(t,e){switch(e){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},xve={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(t,e){return e.type===20&&e.value==="normal"?0:e.type===17||e.type===15?e.number:0}},Ub;(function(t){t.NORMAL="normal",t.STRICT="strict"})(Ub||(Ub={}));var yve={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(t,e){switch(e){case"strict":return Ub.STRICT;case"normal":default:return Ub.NORMAL}}},wve={name:"line-height",initialValue:"normal",prefix:!1,type:4},sO=function(t,e){return dn(t)&&t.value==="normal"?1.2*e:t.type===17?e*t.number:wi(t)?bn(t,e):e},bve={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(t,e){return e.type===20&&e.value==="none"?null:jT.parse(t,e)}},Cve={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(t,e){switch(e){case"inside":return 0;case"outside":default:return 1}}},h_={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(t,e){switch(e){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;
vendor: 13,650 bytes, line 3588
3588case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},D5=function(t){return{name:"margin-"+t,initialValue:"0",prefix:!1,type:4}},Bve=D5("top"),Eve=D5("right"),Nve=D5("bottom"),Sve=D5("left"),_ve={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(t,e){return e.filter(dn).map(function(r){switch(r.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},Fve={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(t,e){switch(e){case"break-word":return"break-word";case"normal":default:return"normal"}}},O5=function(t){return{name:"padding-"+t,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Tve=O5("top"),jve=O5("right"),Ive=O5("bottom"),kve=O5("left"),Pve={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(t,e){switch(e){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},Dve={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(t,e){switch(e){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Ove={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(t,e){return e.length===1&&d_(e[0],"none")?[]:vc(e).map(function(r){for(var n={color:Zc.TRANSPARENT,offsetX:pa,offsetY:pa,blur:pa},i=0,a=0;a<r.length;a++){var s=r[a];td(s)?(i===0?n.offsetX=s:i===1?n.offsetY=s:n.blur=s,i++):n.color=Qu.parse(t,s)}return n})}},Rve={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(t,e){switch(e){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},Uve={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(t,e){if(e.type===20&&e.value==="none")return null;if(e.type===18){var r=Qve[e.name];if(typeof r>"u")throw new Error('Attempting to parse an unsupported transform function "'+e.name+'"');return r(e.values)}return null}},Lve=function(t){var e=t.filter(function(r){return r.type===17}).map(function(r){return r.number});return e.length===6?e:null},Mve=function(t){var e=t.filter(function(c){return c.type===17}).map(function(c){return c.number}),r=e[0],n=e[1];e[2],e[3];var i=e[4],a=e[5];e[6],e[7],e[8],e[9],e[10],e[11];var s=e[12],o=e[13];return e[14],e[15],e.length===16?[r,n,i,a,s,o]:null},Qve={matrix:Lve,matrix3d:Mve},oO={type:16,number:50,flags:ex},Hve=[oO,oO],zve={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(t,e){var r=e.filter(wi);return r.length!==2?Hve:[r[0],r[1]]}},Vve={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(t,e){switch(e){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}},iv;(function(t){t.NORMAL="normal",t.BREAK_ALL="break-all",t.KEEP_ALL="keep-all"})(iv||(iv={}));var Wve={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(t,e){switch(e){case"break-all":return iv.BREAK_ALL;case"keep-all":return iv.KEEP_ALL;case"normal":default:return iv.NORMAL}}},Kve={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(t,e){if(e.type===20)return{auto:!0,order:0};if(zp(e))return{auto:!1,order:e.number};throw new Error("Invalid z-index number parsed")}},gV={name:"time",parse:function(t,e){if(e.type===15)switch(e.unit.toLowerCase()){case"s":return 1e3*e.number;case"ms":return e.number}throw new Error("Unsupported time type")}},qve={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(t,e){return zp(e)?e.number:1}},Gve={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Jve={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(t,e){return e.filter(dn).map(function(r){switch(r.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(r){return r!==0})}},Xve={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(t,e){var r=[],n=[];return e.forEach(function(i){switch(i.type){case 20:case 0:r.push(i.value);break;case 17:r.push(i.number.toString());break;case 4:n.push(r.join(" ")),r.length=0;break}}),r.length&&n.push(r.join(" ")),n.map(function(i){return i.indexOf(" ")===-1?i:"'"+i+"'"})}},Yve={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},Zve={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(t,e){if(zp(e))return e.number;if(dn(e))switch(e.value){case"bold":return 700;case"normal":default:return 400}return 400}},$ve={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(t,e){return e.filter(dn).map(function(r){return r.value})}},e1e={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(t,e){switch(e){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},Di=function(t,e){return(t&e)!==0},t1e={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(t,e){if(e.length===0)return[];var r=e[0];return r.type===20&&r.value==="none"?[]:e}},r1e={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(t,e){if(e.length===0)return null;var r=e[0];if(r.type===20&&r.value==="none")return null;for(var n=[],i=e.filter(eV),a=0;a<i.length;a++){var s=i[a],o=i[a+1];if(s.type===20){var c=o&&zp(o)?o.number:1;n.push({counter:s.value,increment:c})}}return n}},n1e={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(t,e){if(e.length===0)return[];for(var r=[],n=e.filter(eV),i=0;i<n.length;i++){var a=n[i],s=n[i+1];if(dn(a)&&a.value!=="none"){var o=s&&zp(s)?s.number:0;r.push({counter:a.value,reset:o})}}return r}},i1e={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(t,e){return e.filter(tx).map(function(r){return gV.parse(t,r)})}},a1e={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(t,e){if(e.length===0)return null;var r=e[0];if(r.type===20&&r.value==="none")return null;var n=[],i=e.filter(jge);if(i.length%2!==0)return null;for(var a=0;a<i.length;a+=2){var s=i[a].value,o=i[a+1].value;n.push({open:s,close:o})}return n}},lO=function(t,e,r){if(!t)return"";var n=t[Math.min(e,t.length-1)];return n?r?n.open:n.close:""},s1e={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(t,e){return e.length===1&&d_(e[0],"none")?[]:vc(e).map(function(r){for(var n={color:255,offsetX:pa,offsetY:pa,blur:pa,spread:pa,inset:!1},i=0,a=0;a<r.length;a++){var s=r[a];d_(s,"inset")?n.inset=!0:td(s)?(i===0?n.offsetX=s:i===1?n.offsetY=s:i===2?n.blur=s:n.spread=s,i++):n.color=Qu.parse(t,s)}return n})}},o1e={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(t,e){var r=[0,1,2],n=[];return e.filter(dn).forEach(function(i){switch(i.value){case"stroke":n.push(1);break;case"fill":n.push(0);break;case"markers":n.push(2);break}}),r.forEach(function(i){n.indexOf(i)===-1&&n.push(i)}),n}},l1e={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},c1e={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(t,e){return tx(e)?e.number:0}},A1e=function(){function t(e,r){var n,i;this.animationDuration=_t(e,i1e,r.animationDuration),this.backgroundClip=_t(e,Pge,r.backgroundClip),this.backgroundColor=_t(e,Dge,r.backgroundColor),this.backgroundImage=_t(e,Wge,r.backgroundImage),this.backgroundOrigin=_t(e,Kge,r.backgroundOrigin),this.backgroundPosition=_t(e,qge,r.backgroundPosition),this.backgroundRepeat=_t(e,Gge,r.backgroundRepeat),this.backgroundSize=_t(e,Xge,r.backgroundSize),this.borderTopColor=_t(e,Zge,r.borderTopColor),this.borderRightColor=_t(e,$ge,r.borderRightColor),this.borderBottomColor=_t(e,eve,r.borderBottomColor),this.borderLeftColor=_t(e,tve,r.borderLeftColor),this.borderTopLeftRadius=_t(e,rve,r.borderTopLeftRadius),this.borderTopRightRadius=_t(e,nve,r.borderTopRightRadius),this.borderBottomRightRadius=_t(e,ive,r.borderBottomRightRadius),this.borderBottomLeftRadius=_t(e,ave,r.borderBottomLeftRadius),this.borderTopStyle=_t(e,sve,r.borderTopStyle),this.borderRightStyle=_t(e,ove,r.borderRightStyle),this.borderBottomStyle=_t(e,lve,r.borderBottomStyle),this.borderLeftStyle=_t(e,cve,r.borderLeftStyle),this.borderTopWidth=_t(e,Ave,r.borderTopWidth),this.borderRightWidth=_t(e,uve,r.borderRightWidth),this.borderBottomWidth=_t(e,dve,r.borderBottomWidth),this.borderLeftWidth=_t(e,hve,r.borderLeftWidth),this.boxShadow=_t(e,s1e,r.boxShadow),this.color=_t(e,fve,r.color),this.direction=_t(e,pve,r.direction),this.display=_t(e,mve,r.display),this.float=_t(e,vve,r.cssFloat),this.fontFamily=_t(e,Xve,r.fontFamily),this.fontSize=_t(e,Yve,r.fontSize),this.fontStyle=_t(e,e1e,r.fontStyle),this.fontVariant=_t(e,$ve,r.fontVariant),this.fontWeight=_t(e,Zve,r.fontWeight),this.letterSpacing=_t(e,xve,r.letterSpacing),this.lineBreak=_t(e,yve,r.lineBreak),this.lineHeight=_t(e,wve,r.lineHeight),this.listStyleImage=_t(e,bve,r.listStyleImage),this.listStylePosition=_t(e,Cve,r.listStylePosition),this.listStyleType=_t(e,h_,r.listStyleType),this.marginTop=_t(e,Bve,r.marginTop),this.marginRight=_t(e,Eve,r.marginRight),this.marginBottom=_t(e,Nve,r.marginBottom),this.marginLeft=_t(e,Sve,r.marginLeft),this.opacity=_t(e,qve,r.opacity);var a=_t(e,_ve,r.overflow);this.overflowX=a[0],this.overflowY=a[a.length>1?1:0],this.overflowWrap=_t(e,Fve,r.overflowWrap),this.paddingTop=_t(e,Tve,r.paddingTop),this.paddingRight=_t(e,jve,r.paddingRight),this.paddingBottom=_t(e,Ive,r.paddingBottom),this.paddingLeft=_t(e,kve,r.paddingLeft),this.paintOrder=_t(e,o1e,r.paintOrder),this.position=_t(e,Dve,r.position),this.textAlign=_t(e,Pve,r.textAlign),this.textDecorationColor=_t(e,Gve,(n=r.textDecorationColor)!==null&&n!==void 0?n:r.color),this.textDecorationLine=_t(e,Jve,(i=r.textDecorationLine)!==null&&i!==void 0?i:r.textDecoration),this.textShadow=_t(e,Ove,r.textShadow),this.textTransform=_t(e,Rve,r.textTransform),this.transform=_t(e,Uve,r.transform),this.transformOrigin=_t(e,zve,r.transformOrigin),this.visibility=_t(e,Vve,r.visibility),this.webkitTextStrokeColor=_t(e,l1e,r.webkitTextStrokeColor),this.webkitTextStrokeWidth=_t(e,c1e,r.webkitTextStrokeWidth),this.wordBreak=_t(e,Wve,r.wordBreak),this.zIndex=_t(e,Kve,r.zIndex)}return t.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},t.prototype.isTransparent=function(){return Hu(this.backgroundColor)},t.prototype.isTransformed=function(){return this.transform!==null},t.prototype.isPositioned=function(){return this.position!==0},t.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},t.prototype.isFloating=function(){return this.float!==0},t.prototype.isInlineLevel=function(){return Di(this.display,4)||Di(this.display,33554432)||Di(this.display,268435456)||Di(this.display,536870912)||Di(this.display,67108864)||Di(this.display,134217728)},t}(),u1e=function(){function t(e,r){this.content=_t(e,t1e,r.content),this.quotes=_t(e,a1e,r.quotes)}return t}(),cO=function(){function t(e,r){this.counterIncrement=_t(e,r1e,r.counterIncrement),this.counterReset=_t(e,n1e,r.counterReset)}return t}(),_t=function(t,e,r){var n=new Zz,i=r!==null&&typeof r<"u"?r.toString():e.initialValue;n.write(i);var a=new $z(n.read());switch(e.type){case 2:var s=a.parseComponentValue();return e.parse(t,dn(s)?s.value:e.initialValue);case 0:return e.parse(t,a.parseComponentValue());case 1:return e.parse(t,a.parseComponentValues());case 4:return a.parseComponentValue();case 3:switch(e.format){case"angle":return F5.parse(t,a.parseComponentValue());case"color":return Qu.parse(t,a.parseComponentValue());case"image":return jT.parse(t,a.parseComponentValue());case"length":var o=a.parseComponentValue();return td(o)?o:pa;case"length-percentage":var c=a.parseComponentValue();return wi(c)?c:pa;case"time":return gV.parse(t,a.parseComponentValue())}break}},d1e="data-html2canvas-debug",h1e=function(t){var e=t.getAttribute(d1e);switch(e){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},f_=function(t,e){var r=h1e(t);return r===1||e===r},xc=function(){function t(e,r){if(this.context=e,this.textNodes=[],this.elements=[],this.flags=0,f_(r,3))debugger;this.styles=new A1e(e,window.getComputedStyle(r,null)),g_(r)&&(this.styles.animationDuration.some(function(n){return n>0})&&(r.style.animationDuration="0s"),this.styles.transform!==null&&(r.style.transform="none")),this.bounds=S5(this.context,r),f_(r,4)&&(this.flags|=16)}return t}(),f1e=
vendor: 26,159 bytes, line 3588
3588"AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAA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wFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQ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AgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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mnopqrstuvwxyz0123456789
vendor: 15,647 bytes, line 3588
3588+/",wg=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var cw=0;cw<AO.length;cw++)wg[AO.charCodeAt(cw)]=cw;var p1e=function(t){var e=t.length*.75,r=t.length,n,i=0,a,s,o,c;t[t.length-1]==="="&&(e--,t[t.length-2]==="="&&e--);var A=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(e):new Array(e),u=Array.isArray(A)?A:new Uint8Array(A);for(n=0;n<r;n+=4)a=wg[t.charCodeAt(n)],s=wg[t.charCodeAt(n+1)],o=wg[t.charCodeAt(n+2)],c=wg[t.charCodeAt(n+3)],u[i++]=a<<2|s>>4,u[i++]=(s&15)<<4|o>>2,u[i++]=(o&3)<<6|c&63;return A},m1e=function(t){for(var e=t.length,r=[],n=0;n<e;n+=2)r.push(t[n+1]<<8|t[n]);return r},g1e=function(t){for(var e=t.length,r=[],n=0;n<e;n+=4)r.push(t[n+3]<<24|t[n+2]<<16|t[n+1]<<8|t[n]);return r},Ah=5,IT=11,d4=2,v1e=IT-Ah,vV=65536>>Ah,x1e=1<<Ah,h4=x1e-1,y1e=1024>>Ah,w1e=vV+y1e,b1e=w1e,C1e=32,B1e=b1e+C1e,E1e=65536>>IT,N1e=1<<v1e,S1e=N1e-1,uO=function(t,e,r){return t.slice?t.slice(e,r):new Uint16Array(Array.prototype.slice.call(t,e,r))},_1e=function(t,e,r){return t.slice?t.slice(e,r):new Uint32Array(Array.prototype.slice.call(t,e,r))},F1e=function(t,e){var r=p1e(t),n=Array.isArray(r)?g1e(r):new Uint32Array(r),i=Array.isArray(r)?m1e(r):new Uint16Array(r),a=24,s=uO(i,a/2,n[4]/2),o=n[5]===2?uO(i,(a+n[4])/2):_1e(n,Math.ceil((a+n[4])/4));return new T1e(n[0],n[1],n[2],n[3],s,o)},T1e=function(){function t(e,r,n,i,a,s){this.initialValue=e,this.errorValue=r,this.highStart=n,this.highValueIndex=i,this.index=a,this.data=s}return t.prototype.get=function(e){var r;if(e>=0){if(e<55296||e>56319&&e<=65535)return r=this.index[e>>Ah],r=(r<<d4)+(e&h4),this.data[r];if(e<=65535)return r=this.index[vV+(e-55296>>Ah)],r=(r<<d4)+(e&h4),this.data[r];if(e<this.highStart)return r=B1e-E1e+(e>>IT),r=this.index[r],r+=e>>Ah&S1e,r=this.index[r],r=(r<<d4)+(e&h4),this.data[r];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},t}(),dO="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",j1e=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Aw=0;Aw<dO.length;Aw++)j1e[dO.charCodeAt(Aw)]=Aw;var I1e=1,f4=2,p4=3,hO=4,fO=5,k1e=7,pO=8,m4=9,g4=10,mO=11,gO=12,vO=13,xO=14,v4=15,P1e=function(t){for(var e=[],r=0,n=t.length;r<n;){var i=t.charCodeAt(r++);if(i>=55296&&i<=56319&&r<n){var a=t.charCodeAt(r++);(a&64512)===56320?e.push(((i&1023)<<10)+(a&1023)+65536):(e.push(i),r--)}else e.push(i)}return e},D1e=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(String.fromCodePoint)return String.fromCodePoint.apply(String,t);var r=t.length;if(!r)return"";for(var n=[],i=-1,a="";++i<r;){var s=t[i];s<=65535?n.push(s):(s-=65536,n.push((s>>10)+55296,s%1024+56320)),(i+1===r||n.length>16384)&&(a+=String.fromCharCode.apply(String,n),n.length=0)}return a},O1e=F1e(f1e),Bo="Ã",x4="÷",R1e=function(t){return O1e.get(t)},U1e=function(t,e,r){var n=r-2,i=e[n],a=e[r-1],s=e[r];if(a===f4&&s===p4)return Bo;if(a===f4||a===p4||a===hO||s===f4||s===p4||s===hO)return x4;if(a===pO&&[pO,m4,mO,gO].indexOf(s)!==-1||(a===mO||a===m4)&&(s===m4||s===g4)||(a===gO||a===g4)&&s===g4||s===vO||s===fO||s===k1e||a===I1e)return Bo;if(a===vO&&s===xO){for(;i===fO;)i=e[--n];if(i===xO)return Bo}if(a===v4&&s===v4){for(var o=0;i===v4;)o++,i=e[--n];if(o%2===0)return Bo}return x4},L1e=function(t){var e=P1e(t),r=e.length,n=0,i=0,a=e.map(R1e);return{next:function(){if(n>=r)return{done:!0,value:null};for(var s=Bo;n<r&&(s=U1e(e,a,++n))===Bo;);if(s!==Bo||n===r){var o=D1e.apply(null,e.slice(i,n));return i=n,{value:o,done:!1}}return{done:!0,value:null}}}},M1e=function(t){for(var e=L1e(t),r=[],n;!(n=e.next()).done;)n.value&&r.push(n.value.slice());return r},Q1e=function(t){var e=123;if(t.createRange){var r=t.createRange();if(r.getBoundingClientRect){var n=t.createElement("boundtest");n.style.height=e+"px",n.style.display="block",t.body.appendChild(n),r.selectNode(n);var i=r.getBoundingClientRect(),a=Math.round(i.height);if(t.body.removeChild(n),a===e)return!0}}return!1},H1e=function(t){var e=t.createElement("boundtest");e.style.width="50px",e.style.display="block",e.style.fontSize="12px",e.style.letterSpacing="0px",e.style.wordSpacing="0px",t.body.appendChild(e);var r=t.createRange();e.innerHTML=typeof"".repeat=="function"?"👨".repeat(10):"";var n=e.firstChild,i=_5(n.data).map(function(c){return oi(c)}),a=0,s={},o=i.every(function(c,A){r.setStart(n,a),r.setEnd(n,a+c.length);var u=r.getBoundingClientRect();a+=c.length;var d=u.x>s.x||u.y>s.y;return s=u,A===0?!0:d});return t.body.removeChild(e),o},z1e=function(){return typeof new Image().crossOrigin<"u"},V1e=function(){return typeof new XMLHttpRequest().responseType=="string"},W1e=function(t){var e=new Image,r=t.createElement("canvas"),n=r.getContext("2d");if(!n)return!1;e.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{n.drawImage(e,0,0),r.toDataURL()}catch{return!1}return!0},yO=function(t){return t[0]===0&&t[1]===255&&t[2]===0&&t[3]===255},K1e=function(t){var e=t.createElement("canvas"),r=100;e.width=r,e.height=r;var n=e.getContext("2d");if(!n)return Promise.reject(!1);n.fillStyle="rgb(0, 255, 0)",n.fillRect(0,0,r,r);var i=new Image,a=e.toDataURL();i.src=a;var s=p_(r,r,0,0,i);return n.fillStyle="red",n.fillRect(0,0,r,r),wO(s).then(function(o){n.drawImage(o,0,0);var c=n.getImageData(0,0,r,r).data;n.fillStyle="red",n.fillRect(0,0,r,r);var A=t.createElement("div");return A.style.backgroundImage="url("+a+")",A.style.height=r+"px",yO(c)?wO(p_(r,r,0,0,A)):Promise.reject(!1)}).then(function(o){return n.drawImage(o,0,0),yO(n.getImageData(0,0,r,r).data)}).catch(function(){return!1})},p_=function(t,e,r,n,i){var a="http://www.w3.org/2000/svg",s=document.createElementNS(a,"svg"),o=document.createElementNS(a,"foreignObject");return s.setAttributeNS(null,"width",t.toString()),s.setAttributeNS(null,"height",e.toString()),o.setAttributeNS(null,"width","100%"),o.setAttributeNS(null,"height","100%"),o.setAttributeNS(null,"x",r.toString()),o.setAttributeNS(null,"y",n.toString()),o.setAttributeNS(null,"externalResourcesRequired","true"),s.appendChild(o),o.appendChild(i),s},wO=function(t){return new Promise(function(e,r){var n=new Image;n.onload=function(){return e(n)},n.onerror=r,n.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(t))})},oa={get SUPPORT_RANGE_BOUNDS(){var t=Q1e(document);return Object.defineProperty(oa,"SUPPORT_RANGE_BOUNDS",{value:t}),t},get SUPPORT_WORD_BREAKING(){var t=oa.SUPPORT_RANGE_BOUNDS&&H1e(document);return Object.defineProperty(oa,"SUPPORT_WORD_BREAKING",{value:t}),t},get SUPPORT_SVG_DRAWING(){var t=W1e(document);return Object.defineProperty(oa,"SUPPORT_SVG_DRAWING",{value:t}),t},get SUPPORT_FOREIGNOBJECT_DRAWING(){var t=typeof Array.from=="function"&&typeof window.fetch=="function"?K1e(document):Promise.resolve(!1);return Object.defineProperty(oa,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:t}),t},get SUPPORT_CORS_IMAGES(){var t=z1e();return Object.defineProperty(oa,"SUPPORT_CORS_IMAGES",{value:t}),t},get SUPPORT_RESPONSE_TYPE(){var t=V1e();return Object.defineProperty(oa,"SUPPORT_RESPONSE_TYPE",{value:t}),t},get SUPPORT_CORS_XHR(){var t="withCredentials"in new XMLHttpRequest;return Object.defineProperty(oa,"SUPPORT_CORS_XHR",{value:t}),t},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var t=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(oa,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:t}),t}},av=function(){function t(e,r){this.text=e,this.bounds=r}return t}(),q1e=function(t,e,r,n){var i=X1e(e,r),a=[],s=0;return i.forEach(function(o){if(r.textDecorationLine.length||o.trim().length>0)if(oa.SUPPORT_RANGE_BOUNDS){var c=bO(n,s,o.length).getClientRects();if(c.length>1){var A=kT(o),u=0;A.forEach(function(f){a.push(new av(f,uA.fromDOMRectList(t,bO(n,u+s,f.length).getClientRects()))),u+=f.length})}else a.push(new av(o,uA.fromDOMRectList(t,c)))}else{var d=n.splitText(o.length);a.push(new av(o,G1e(t,n))),n=d}else oa.SUPPORT_RANGE_BOUNDS||(n=n.splitText(o.length));s+=o.length}),a},G1e=function(t,e){var r=e.ownerDocument;if(r){var n=r.createElement("html2canvaswrapper");n.appendChild(e.cloneNode(!0));var i=e.parentNode;if(i){i.replaceChild(n,e);var a=S5(t,n);return n.firstChild&&i.replaceChild(n.firstChild,n),a}}return uA.EMPTY},bO=function(t,e,r){var n=t.ownerDocument;if(!n)throw new Error("Node has no owner document");var i=n.createRange();return i.setStart(t,e),i.setEnd(t,e+r),i},kT=function(t){if(oa.SUPPORT_NATIVE_TEXT_SEGMENTATION){var e=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(e.segment(t)).map(function(r){return r.segment})}return M1e(t)},J1e=function(t,e){if(oa.SUPPORT_NATIVE_TEXT_SEGMENTATION){var r=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(r.segment(t)).map(function(n){return n.segment})}return Z1e(t,e)},X1e=function(t,e){return e.letterSpacing!==0?kT(t):J1e(t,e)},Y1e=[32,160,4961,65792,65793,4153,4241],Z1e=function(t,e){for(var r=Eme(t,{lineBreak:e.lineBreak,wordBreak:e.overflowWrap==="break-word"?"break-word":e.wordBreak}),n=[],i,a=function(){if(i.value){var s=i.value.slice(),o=_5(s),c="";o.forEach(function(A){Y1e.indexOf(A)===-1?c+=oi(A):(c.length&&n.push(c),n.push(oi(A)),c="")}),c.length&&n.push(c)}};!(i=r.next()).done;)a();return n},$1e=function(){function t(e,r,n){this.text=exe(r.data,n.textTransform),this.textBounds=q1e(e,this.text,n,r)}return t}(),exe=function(t,e){switch(e){case 1:return t.toLowerCase();case 3:return t.replace(txe,rxe);case 2:return t.toUpperCase();default:return t}},txe=/(^|\s|:|-|\(|\))([a-z])/g,rxe=function(t,e,r){return t.length>0?e+r.toUpperCase():t},xV=function(t){kl(e,t);function e(r,n){var i=t.call(this,r,n)||this;return i.src=n.currentSrc||n.src,i.intrinsicWidth=n.naturalWidth,i.intrinsicHeight=n.naturalHeight,i.context.cache.addImage(i.src),i}return e}(xc),yV=function(t){kl(e,t);function e(r,n){var i=t.call(this,r,n)||this;return i.canvas=n,i.intrinsicWidth=n.width,i.intrinsicHeight=n.height,i}return e}(xc),wV=function(t){kl(e,t);function e(r,n){var i=t.call(this,r,n)||this,a=new XMLSerializer,s=S5(r,n);return n.setAttribute("width",s.width+"px"),n.setAttribute("height",s.height+"px"),i.svg="data:image/svg+xml,"+encodeURIComponent(a.serializeToString(n)),i.intrinsicWidth=n.width.baseVal.value,i.intrinsicHeight=n.height.baseVal.value,i.context.cache.addImage(i.svg),i}return e}(xc),bV=function(t){kl(e,t);function e(r,n){var i=t.call(this,r,n)||this;return i.value=n.value,i}return e}(xc),m_=function(t){kl(e,t);function e(r,n){var i=t.call(this,r,n)||this;return i.start=n.start,i.reversed=typeof n.reversed=="boolean"&&n.reversed===!0,i}return e}(xc),nxe=[{type:15,flags:0,unit:"px",number:3}],ixe=[{type:16,flags:0,number:50}],axe=function(t){return t.width>t.height?new uA(t.left+(t.width-t.height)/2,t.top,t.height,t.height):t.width<t.height?new uA(t.left,t.top+(t.height-t.width)/2,t.width,t.width):t},sxe=function(t){var e=t.type===oxe?new Array(t.value.length+1).join("â¢"):t.value;return e.length===0?t.placeholder||"":e},Lb="checkbox",Mb="radio",oxe="password",CO=707406591,PT=function(t){kl(e,t);function e(r,n){var i=t.call(this,r,n)||this;switch(i.type=n.type.toLowerCase(),i.checked=n.checked,i.value=sxe(n),(i.type===Lb||i.type===Mb)&&(i.styles.backgroundColor=3739148031,i.styles.borderTopColor=i.styles.borderRightColor=i.styles.borderBottomColor=i.styles.borderLeftColor=2779096575,i.styles.borderTopWidth=i.styles.borderRightWidth=i.styles.borderBottomWidth=i.styles.borderLeftWidth=1,i.styles.borderTopStyle=i.styles.borderRightStyle=i.styles.borderBottomStyle=i.styles.borderLeftStyle=1,i.styles.backgroundClip=[0],i.styles.backgroundOrigin=[0],i.bounds=axe(i.bounds)),i.type){case Lb:i.styles.borderTopRightRadius=i.styles.borderTopLeftRadius=i.styles.borderBottomRightRadius=i.styles.borderBottomLeftRadius=nxe;break;case Mb:i.styles.borderTopRightRadius=i.styles.borderTopLeftRadius=i.styles.borderBottomRightRadius=i.styles.borderBottomLeftRadius=ixe;break}return i}return e}(xc),CV=function(t){kl(e,t);function e(r,n){var i=t.call(this,r,n)||this,a=n.options[n.selectedIndex||0];return i.value=a&&a.text||"",i}return e}(xc),BV=function(t){kl(e,t);function e(r,n){var i=t.call(this,r,n)||this;return i.value=n.value,i}return e}(xc),EV=function(t){kl(e,t);function e(r,n){var i=t.call(this,r,n)||this;i.src=n.src,i.width=parseInt(n.width,10)||0,i.height=parseInt(n.height,10)||0,i.backgroundColor=i.styles.backgroundColor;try{if(n.contentWindow&&n.contentWindow.document&&n.contentWindow.document.documentElement){i.tree=SV(r,n.contentWindow.document.documentElement);var a=n.contentWindow.document.documentElement?nv(r,getComputedStyle(n.contentWindow.document.documentElement).backgroundColor):Zc.TRANSPARENT,s=n.contentWindow.document.body?nv(r,getComputedStyle(n.contentWindow.document.body).backgroundColor):Zc.TRANSPARENT;i.backgroundColor=Hu(a)?Hu(s)?i.styles.backgroundColor:s:a}}catch{}return i}return e}(xc),lxe=["OL","UL","MENU"],h2=function(t,e,r,n){for(var i=e.firstChild,a=void 0;i;i=a)if(a=i.nextSibling,_V(i)&&i.data.trim().length>0)r.textNodes.push(new $1e(t,i,r.styles));else if(y0(i))if(IV(i)&&i.assignedNodes)i.assignedNodes().forEach(function(o){return h2(t,o,r,n)});else{var s=NV(t,i);s.styles.isVisible()&&(cxe(i,s,n)?s.flags|=4:Axe(s.styles)&&(s.flags|=2),lxe.indexOf(i.tagName)!==-1&&(s.flags|=8),r.elements.push(s),i.slot,i.shadowRoot?h2(t,i.shadowRoot,s,n):!Qb(i)&&!FV(i)&&!Hb(i)&&h2(t,i,s,n))}},NV=function(t,e){return v_(e)?new xV(t,e):TV(e)?new yV(t,e):FV(e)?new wV(t,e):uxe(e)?new bV(t,e):dxe(e)?new m_(t,e):hxe(e)?new PT(t,e):Hb(e)?new CV(t,e):Qb(e)?new BV(t,e):jV(e)?new EV(t,e):new xc(t,e)},SV=function(t,e){var r=NV(t,e);return r.flags|=4,h2(t,e,r,r),r},cxe=function(t,e,r){return e.styles.isPositionedWithZIndex()||e.styles.opacity<1||e.styles.isTransformed()||DT(t)&&r.styles.isTransparent()},Axe=function(t){return t.isPositioned()||t.isFloating()},_V=function(t){return t.nodeType===Node.TEXT_NODE},y0=function(t){return t.nodeType===Node.ELEMENT_NODE},g_=function(t){return y0(t)&&typeof t.style<"u"&&!f2(t)},f2=function(t){return typeof t.className=="object"},uxe=function(t){return t.tagName==="LI"},dxe=function(t){return t.tagName==="OL"},hxe=function(t){return t.tagName==="INPUT"},fxe=function(t){return t.tagName==="HTML"},FV=function(t){return t.tagName==="svg"},DT=function(t){return t.tagName==="BODY"},TV=function(t){return t.tagName==="CANVAS"},BO=function(t){return t.tagName==="VIDEO"},v_=function(t){return t.tagName==="IMG"},jV=function(t){return t.tagName==="IFRAME"},EO=function(t){return t.tagName==="STYLE"},pxe=function(t){return t.tagName==="SCRIPT"},Qb=function(t){return t.tagName==="TEXTAREA"},Hb=function(t){return t.tagName==="SELECT"},IV=function(t){return t.tagName==="SLOT"},NO=function(t){return t.tagName.indexOf("-")>0},mxe=function(){function t(){this.counters={}}return t.prototype.getCounterValue=function(e){var r=this.counters[e];return r&&r.length?r[r.length-1]:1},t.prototype.getCounterValues=function(e){var r=this.counters[e];return r||[]},t.prototype.pop=function(e){var r=this;e.forEach(function(n){return r.counters[n].pop()})},t.prototype.parse=function(e){var r=this,n=e.counterIncrement,i=e.counterReset,a=!0;n!==null&&n.forEach(function(o){var c=r.counters[o.counter];c&&o.increment!==0&&(a=!1,c.length||c.push(1),c[Math.max(0,c.length-1)]+=o.increment)});var s=[];return a&&i.forEach(function(o){var c=r.counters[o.counter];s.push(o.counter),c||(c=r.counters[o.counter]=[]),c.push(o.reset)}),s},t}(),SO={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},_O={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,9
vendor: 5,332 bytes, line 3588
35880,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Õ","Õ","Õ","Õ","Õ","Õ","Õ","Õ","Õ","Õ","Õ","Õ","Õ","Õ","Õ","Õ
","Õ","Õ","Õ","Õ","Õ","Ô¿","Ô¾","Ô½","Ô¼","Ô»","Ôº","Ô¹","Ô¸","Ô·","Ô¶","Ôµ","Ô´","Ô³","Ô²","Ô±"]},gxe={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["×׳","×׳","×׳","×׳","×׳","×׳","×׳","×׳","×׳","×׳","ת","ש","ר","×§","צ","פ","×¢","ס","× ","×","×","×","××","××","××","××","××","×","×","×","×","×","×","×","×","×","×"]},vxe={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["áµ","á°","á¯","á´","á®","á","á¬","á«","áª","á©","á¨","á§","á¦","á¥","á¤","á³","á¢","á¡","á ","á","á","á","á²","á","á","á","á","á","á","á±","á","á","á","á","á","á","á"]},Qf=function(t,e,r,n,i,a){return t<e||t>r?A1(t,i,a.length>0):n.integers.reduce(function(s,o,c){for(;t>=o;)t-=o,s+=n.values[c];return s},"")+a},kV=function(t,e,r,n){var i="";do r||t--,i=n(t)+i,t/=e;while(t*e>=e);return i},ai=function(t,e,r,n,i){var a=r-e+1;return(t<0?"-":"")+(kV(Math.abs(t),a,n,function(s){return oi(Math.floor(s%a)+e)})+i)},Id=function(t,e,r){r===void 0&&(r=". ");var n=e.length;return kV(Math.abs(t),n,!1,function(i){return e[Math.floor(i%n)]})+r},Yf=1,JA=2,XA=4,bg=8,kc=function(t,e,r,n,i,a){if(t<-9999||t>9999)return A1(t,4,i.length>0);var s=Math.abs(t),o=i;if(s===0)return e[0]+o;for(var c=0;s>0&&c<=4;c++){var A=s%10;A===0&&Di(a,Yf)&&o!==""?o=e[A]+o:A>1||A===1&&c===0||A===1&&c===1&&Di(a,JA)||A===1&&c===1&&Di(a,XA)&&t>100||A===1&&c>1&&Di(a,bg)?o=e[A]+(c>0?r[c-1]:"")+o:A===1&&c>0&&(o=r[c-1]+o),s=Math.floor(s/10)}return(t<0?n:"")+o},FO="åç¾åè¬",TO="æ¾ä½°ä»è¬",jO="ãã¤ãã¹",y4="ë§ì´ëì¤",A1=function(t,e,r){var n=r?". ":"",i=r?"ã":"",a=r?", ":"",s=r?" ":"";switch(e){case 0:return"â¢"+s;case 1:return"â¦"+s;case 2:return"â¾"+s;case 5:var o=ai(t,48,57,!0,n);return o.length<4?"0"+o:o;case 4:return Id(t,"ãä¸äºä¸åäºå
ä¸å
«ä¹",i);case 6:return Qf(t,1,3999,SO,3,n).toLowerCase();case 7:return Qf(t,1,3999,SO,3,n);case 8:return ai(t,945,969,!1,n);case 9:return ai(t,97,122,!1,n);case 10:return ai(t,65,90,!1,n);case 11:return ai(t,1632,1641,!0,n);case 12:case 49:return Qf(t,1,9999,_O,3,n);case 35:return Qf(t,1,9999,_O,3,n).toLowerCase();case 13:return ai(t,2534,2543,!0,n);case 14:case 30:return ai(t,6112,6121,!0,n);case 15:return Id(t,"åä¸å¯
å¯è¾°å·³åæªç³é
æäº¥",i);case 16:return Id(t,"ç²ä¹ä¸ä¸æå·±åºè¾å£¬ç¸",i);case 17:case 48:return kc(t,"é¶ä¸äºä¸åäºå
ä¸å
«ä¹",FO,"è² ",i,JA|XA|bg);case 47:return kc(t,"é¶å£¹è²³åèä¼é¸ææç",TO,"è² ",i,Yf|JA|XA|bg);case 42:return kc(t,"é¶ä¸äºä¸åäºå
ä¸å
«ä¹",FO,"è´",i,JA|XA|bg);case 41:return kc(t,"é¶å£¹è´°åèä¼éææç",TO,"è´",i,Yf|JA|XA|bg);case 26:return kc(t,"ãä¸äºä¸åäºå
ä¸å
«ä¹","åç¾åä¸",jO,i,0);case 25:return kc(t,"é¶å£±å¼ååä¼å
ä¸å
«ä¹","æ¾ç¾åä¸",jO,i,Yf|JA|XA);case 31:return kc(t,"ìì¼ì´ì¼ì¬ì¤ì¡ì¹ í구","ìë°±ì²ë§",y4,a,Yf|JA|XA);case 33:return kc(t,"é¶ä¸äºä¸åäºå
ä¸å
«ä¹","åç¾åè¬",y4,a,0);case 32:return kc(t,"é¶å£¹è²³ååäºå
ä¸å
«ä¹","æ¾ç¾å",y4,a,Yf|JA|XA);case 18:return ai(t,2406,2415,!0,n);case 20:return Qf(t,1,19999,vxe,3,n);case 21:return ai(t,2790,2799,!0,n);case 22:return ai(t,2662,2671,!0,n);case 22:return Qf(t,1,10999,gxe,3,n);case 23:return Id(t,"ããããããããããããããããã¡ã¤ã¦ã¨ãªã«ã¬ãã®ã¯ã²ãµã¸ã»ã¾ã¿ãããããããããããããããã");case 24:return Id(t,"ããã¯ã«ã»ã¸ã¨ã¡ãã¬ããããããããã¤ããªããããã®ãããã¾ããµããã¦ãããããã¿ããã²ããã");case 27:return ai(t,3302,3311,!0,n);case 28:return Id(t,"ã¢ã¤ã¦ã¨ãªã«ãã¯ã±ã³ãµã·ã¹ã»ã½ã¿ããããããããããããããããã ã¡ã¢ã¤ã¦ã¨ã©ãªã«ã¬ãã¯ã°ã±ã²ã³",i);case 29:return Id(t,"ã¤ããããããããªãã«ã²ã¯ã«ã¨ã¿ã¬ã½ãããã©ã ã¦ã°ããªã¯ã¤ãã±ãã³ã¨ãã¢ãµãã¦ã¡ãã·ã±ãã¢ã»ã¹",i);case 34:return ai(t,3792,3801,!0,n);case 37:return ai(t,6160,6169,!0,n);case 38:return ai(t,4160,4169,!0,n);case 39:return ai(t,2918,2927,!0,n);case 40:return ai(t,1776,1785,!0,n);case 43:return ai(t,3046,3055,!0,n);case 44:return ai(t,3174,3183,!0,n);case 45:return ai(t,3664,3673,!0,n);case 46:return ai(t,3872,3881,!0,n);case 3:default:return ai(t,48,57,!0,n)}},PV="data-html2canvas-ignore",IO=function(){function t(e,r,n){if(this.context=e,this.options=n,this.scrolledElements=[],this.referenceElement=r,this.counters=new mxe,this.quoteDepth=0,!r.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(r.ownerDocument.documentElement,!1)}return t.prototype.toIFrame=function(e,r){var n=this,i=xxe(e,r);if(!i.contentWindow)return Promise.reject("Unable to find iframe window");var a=e.defaultView.pageXOffset,s=e.defaultView.pageYOffset,o=i.contentWindow,c=o.document,A=bxe(i).then(function(){return Ga(n,void 0,void 0,function(){var u,d;return Ia(this,function(f){switch(f.label){case 0:return this.scrolledElements.forEac
vendor: 18,714 bytes, lines 3588-3592
3588h(Nxe),o&&(o.scrollTo(r.left,r.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(o.scrollY!==r.top||o.scrollX!==r.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(o.scrollX-r.left,o.scrollY-r.top,0,0))),u=this.options.onclone,d=this.clonedReferenceElement,typeof d>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:c.fonts&&c.fonts.ready?[4,c.fonts.ready]:[3,2];case 1:f.sent(),f.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,wxe(c)]:[3,4];case 3:f.sent(),f.label=4;case 4:return typeof u=="function"?[2,Promise.resolve().then(function(){return u(c,d)}).then(function(){return i})]:[2,i]}})})});return c.open(),c.write(Bxe(document.doctype)+"<html></html>"),Exe(this.referenceElement.ownerDocument,a,s),c.replaceChild(c.adoptNode(this.documentElement),c.documentElement),c.close(),A},t.prototype.createElementClone=function(e){if(f_(e,2))debugger;if(TV(e))return this.createCanvasClone(e);if(BO(e))return this.createVideoClone(e);if(EO(e))return this.createStyleClone(e);var r=e.cloneNode(!1);return v_(r)&&(v_(e)&&e.currentSrc&&e.currentSrc!==e.src&&(r.src=e.currentSrc,r.srcset=""),r.loading==="lazy"&&(r.loading="eager")),NO(r)?this.createCustomElementClone(r):r},t.prototype.createCustomElementClone=function(e){var r=document.createElement("html2canvascustomelement");return w4(e.style,r),r},t.prototype.createStyleClone=function(e){try{var r=e.sheet;if(r&&r.cssRules){var n=[].slice.call(r.cssRules,0).reduce(function(a,s){return s&&typeof s.cssText=="string"?a+s.cssText:a},""),i=e.cloneNode(!1);return i.textContent=n,i}}catch(a){if(this.context.logger.error("Unable to access cssRules property",a),a.name!=="SecurityError")throw a}return e.cloneNode(!1)},t.prototype.createCanvasClone=function(e){var r;if(this.options.inlineImages&&e.ownerDocument){var n=e.ownerDocument.createElement("img");try{return n.src=e.toDataURL(),n}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",e)}}var i=e.cloneNode(!1);try{i.width=e.width,i.height=e.height;var a=e.getContext("2d"),s=i.getContext("2d");if(s)if(!this.options.allowTaint&&a)s.putImageData(a.getImageData(0,0,e.width,e.height),0,0);else{var o=(r=e.getContext("webgl2"))!==null&&r!==void 0?r:e.getContext("webgl");if(o){var c=o.getContextAttributes();(c==null?void 0:c.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",e)}s.drawImage(e,0,0)}return i}catch{this.context.logger.info("Unable to clone canvas as it is tainted",e)}return i},t.prototype.createVideoClone=function(e){var r=e.ownerDocument.createElement("canvas");r.width=e.offsetWidth,r.height=e.offsetHeight;var n=r.getContext("2d");try{return n&&(n.drawImage(e,0,0,r.width,r.height),this.options.allowTaint||n.getImageData(0,0,r.width,r.height)),r}catch{this.context.logger.info("Unable to clone video as it is tainted",e)}var i=e.ownerDocument.createElement("canvas");return i.width=e.offsetWidth,i.height=e.offsetHeight,i},t.prototype.appendChildNode=function(e,r,n){(!y0(r)||!pxe(r)&&!r.hasAttribute(PV)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(r)))&&(!this.options.copyStyles||!y0(r)||!EO(r))&&e.appendChild(this.cloneNode(r,n))},t.prototype.cloneChildNodes=function(e,r,n){for(var i=this,a=e.shadowRoot?e.shadowRoot.firstChild:e.firstChild;a;a=a.nextSibling)if(y0(a)&&IV(a)&&typeof a.assignedNodes=="function"){var s=a.assignedNodes();s.length&&s.forEach(function(o){return i.appendChildNode(r,o,n)})}else this.appendChildNode(r,a,n)},t.prototype.cloneNode=function(e,r){if(_V(e))return document.createTextNode(e.data);if(!e.ownerDocument)return e.cloneNode(!1);var n=e.ownerDocument.defaultView;if(n&&y0(e)&&(g_(e)||f2(e))){var i=this.createElementClone(e);i.style.transitionProperty="none";var a=n.getComputedStyle(e),s=n.getComputedStyle(e,":before"),o=n.getComputedStyle(e,":after");this.referenceElement===e&&g_(i)&&(this.clonedReferenceElement=i),DT(i)&&Fxe(i);var c=this.counters.parse(new cO(this.context,a)),A=this.resolvePseudoContent(e,i,s,sv.BEFORE);NO(e)&&(r=!0),BO(e)||this.cloneChildNodes(e,i,r),A&&i.insertBefore(A,i.firstChild);var u=this.resolvePseudoContent(e,i,o,sv.AFTER);return u&&i.appendChild(u),this.counters.pop(c),(a&&(this.options.copyStyles||f2(e))&&!jV(e)||r)&&w4(a,i),(e.scrollTop!==0||e.scrollLeft!==0)&&this.scrolledElements.push([i,e.scrollLeft,e.scrollTop]),(Qb(e)||Hb(e))&&(Qb(i)||Hb(i))&&(i.value=e.value),i}return e.cloneNode(!1)},t.prototype.resolvePseudoContent=function(e,r,n,i){var a=this;if(n){var s=n.content,o=r.ownerDocument;if(!(!o||!s||s==="none"||s==="-moz-alt-content"||n.display==="none")){this.counters.parse(new cO(this.context,n));var c=new u1e(this.context,n),A=o.createElement("html2canvaspseudoelement");w4(n,A),c.content.forEach(function(d){if(d.type===0)A.appendChild(o.createTextNode(d.value));else if(d.type===22){var f=o.createElement("img");f.src=d.value,f.style.opacity="1",A.appendChild(f)}else if(d.type===18){if(d.name==="attr"){var h=d.values.filter(dn);h.length&&A.appendChild(o.createTextNode(e.getAttribute(h[0].value)||""))}else if(d.name==="counter"){var m=d.values.filter(gp),p=m[0],x=m[1];if(p&&dn(p)){var v=a.counters.getCounterValue(p.value),y=x&&dn(x)?h_.parse(a.context,x.value):3;A.appendChild(o.createTextNode(A1(v,y,!1)))}}else if(d.name==="counters"){var b=d.values.filter(gp),p=b[0],E=b[1],x=b[2];if(p&&dn(p)){var S=a.counters.getCounterValues(p.value),I=x&&dn(x)?h_.parse(a.context,x.value):3,B=E&&E.type===0?E.value:"",_=S.map(function(T){return A1(T,I,!1)}).join(B);A.appendChild(o.createTextNode(_))}}}else if(d.type===20)switch(d.value){case"open-quote":A.appendChild(o.createTextNode(lO(c.quotes,a.quoteDepth++,!0)));break;case"close-quote":A.appendChild(o.createTextNode(lO(c.quotes,--a.quoteDepth,!1)));break;default:A.appendChild(o.createTextNode(d.value))}}),A.className=x_+" "+y_;var u=i===sv.BEFORE?" "+x_:" "+y_;return f2(r)?r.className.baseValue+=u:r.className+=u,A}}},t.destroy=function(e){return e.parentNode?(e.parentNode.removeChild(e),!0):!1},t}(),sv;(function(t){t[t.BEFORE=0]="BEFORE",t[t.AFTER=1]="AFTER"})(sv||(sv={}));var xxe=function(t,e){var r=t.createElement("iframe");return r.className="html2canvas-container",r.style.visibility="hidden",r.style.position="fixed",r.style.left="-10000px",r.style.top="0px",r.style.border="0",r.width=e.width.toString(),r.height=e.height.toString(),r.scrolling="no",r.setAttribute(PV,"true"),t.body.appendChild(r),r},yxe=function(t){return new Promise(function(e){if(t.complete){e();return}if(!t.src){e();return}t.onload=e,t.onerror=e})},wxe=function(t){return Promise.all([].slice.call(t.images,0).map(yxe))},bxe=function(t){return new Promise(function(e,r){var n=t.contentWindow;if(!n)return r("No window assigned for iframe");var i=n.document;n.onload=t.onload=function(){n.onload=t.onload=null;var a=setInterval(function(){i.body.childNodes.length>0&&i.readyState==="complete"&&(clearInterval(a),e(t))},50)}})},Cxe=["all","d","content"],w4=function(t,e){for(var r=t.length-1;r>=0;r--){var n=t.item(r);Cxe.indexOf(n)===-1&&e.style.setProperty(n,t.getPropertyValue(n))}return e},Bxe=function(t){var e="";return t&&(e+="<!DOCTYPE ",t.name&&(e+=t.name),t.internalSubset&&(e+=t.internalSubset),t.publicId&&(e+='"'+t.publicId+'"'),t.systemId&&(e+='"'+t.systemId+'"'),e+=">"),e},Exe=function(t,e,r){t&&t.defaultView&&(e!==t.defaultView.pageXOffset||r!==t.defaultView.pageYOffset)&&t.defaultView.scrollTo(e,r)},Nxe=function(t){var e=t[0],r=t[1],n=t[2];e.scrollLeft=r,e.scrollTop=n},Sxe=":before",_xe=":after",x_="___html2canvas___pseudoelement_before",y_="___html2canvas___pseudoelement_after",kO=`{ 3589 content: "" !important; 3590 display: none !important; 3591}`,Fxe=function(t){Txe(t,"."+x_+Sxe+kO+` 3592 .`+y_+_xe+kO)},Txe=function(t,e){var r=t.ownerDocument;if(r){var n=r.createElement("style");n.textContent=e,t.appendChild(n)}},DV=function(){function t(){}return t.getOrigin=function(e){var r=t._link;return r?(r.href=e,r.href=r.href,r.protocol+r.hostname+r.port):"about:blank"},t.isSameOrigin=function(e){return t.getOrigin(e)===t._origin},t.setContext=function(e){t._link=e.document.createElement("a"),t._origin=t.getOrigin(e.location.href)},t._origin="about:blank",t}(),jxe=function(){function t(e,r){this.context=e,this._options=r,this._cache={}}return t.prototype.addImage=function(e){var r=Promise.resolve();return this.has(e)||(C4(e)||Dxe(e))&&(this._cache[e]=this.loadImage(e)).catch(function(){}),r},t.prototype.match=function(e){return this._cache[e]},t.prototype.loadImage=function(e){return Ga(this,void 0,void 0,function(){var r,n,i,a,s=this;return Ia(this,function(o){switch(o.label){case 0:return r=DV.isSameOrigin(e),n=!b4(e)&&this._options.useCORS===!0&&oa.SUPPORT_CORS_IMAGES&&!r,i=!b4(e)&&!r&&!C4(e)&&typeof this._options.proxy=="string"&&oa.SUPPORT_CORS_XHR&&!n,!r&&this._options.allowTaint===!1&&!b4(e)&&!C4(e)&&!i&&!n?[2]:(a=e,i?[4,this.proxy(a)]:[3,2]);case 1:a=o.sent(),o.label=2;case 2:return this.context.logger.debug("Added image "+e.substring(0,256)),[4,new Promise(function(c,A){var u=new Image;u.onload=function(){return c(u)},u.onerror=A,(Oxe(a)||n)&&(u.crossOrigin="anonymous"),u.src=a,u.complete===!0&&setTimeout(function(){return c(u)},500),s._options.imageTimeout>0&&setTimeout(function(){return A("Timed out ("+s._options.imageTimeout+"ms) loading image")},s._options.imageTimeout)})];case 3:return[2,o.sent()]}})})},t.prototype.has=function(e){return typeof this._cache[e]<"u"},t.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},t.prototype.proxy=function(e){var r=this,n=this._options.proxy;if(!n)throw new Error("No proxy defined");var i=e.substring(0,256);return new Promise(function(a,s){var o=oa.SUPPORT_RESPONSE_TYPE?"blob":"text",c=new XMLHttpRequest;c.onload=function(){if(c.status===200)if(o==="text")a(c.response);else{var d=new FileReader;d.addEventListener("load",function(){return a(d.result)},!1),d.addEventListener("error",function(f){return s(f)},!1),d.readAsDataURL(c.response)}else s("Failed to proxy resource "+i+" with status code "+c.status)},c.onerror=s;var A=n.indexOf("?")>-1?"&":"?";if(c.open("GET",""+n+A+"url="+encodeURIComponent(e)+"&responseType="+o),o!=="text"&&c instanceof XMLHttpRequest&&(c.responseType=o),r._options.imageTimeout){var u=r._options.imageTimeout;c.timeout=u,c.ontimeout=function(){return s("Timed out ("+u+"ms) proxying "+i)}}c.send()})},t}(),Ixe=/^data:image\/svg\+xml/i,kxe=/^data:image\/.*;base64,/i,Pxe=/^data:image\/.*/i,Dxe=function(t){return oa.SUPPORT_SVG_DRAWING||!Rxe(t)},b4=function(t){return Pxe.test(t)},Oxe=function(t){return kxe.test(t)},C4=function(t){return t.substr(0,4)==="blob"},Rxe=function(t){return t.substr(-3).toLowerCase()==="svg"||Ixe.test(t)},Bt=function(){function t(e,r){this.type=0,this.x=e,this.y=r}return t.prototype.add=function(e,r){return new t(this.x+e,this.y+r)},t}(),Hf=function(t,e,r){return new Bt(t.x+(e.x-t.x)*r,t.y+(e.y-t.y)*r)},uw=function(){function t(e,r,n,i){this.type=1,this.start=e,this.startControl=r,this.endControl=n,this.end=i}return t.prototype.subdivide=function(e,r){var n=Hf(this.start,this.startControl,e),i=Hf(this.startControl,this.endControl,e),a=Hf(this.endControl,this.end,e),s=Hf(n,i,e),o=Hf(i,a,e),c=Hf(s,o,e);return r?new t(this.start,n,s,c):new t(c,o,a,this.end)},t.prototype.add=function(e,r){return new t(this.start.add(e,r),this.startControl.add(e,r),this.endControl.add(e,r),this.end.add(e,r))},t.prototype.reverse=function(){return new t(this.end,this.endControl,this.startControl,this.start)},t}(),Io=function(t){return t.type===1},Uxe=function(){function t(e){var r=e.styles,n=e.bounds,i=yg(r.borderTopLeftRadius,n.width,n.height),a=i[0],s=i[1],o=yg(r.borderTopRightRadius,n.width,n.height),c=o[0],A=o[1],u=yg(r.borderBottomRightRadius,n.width,n.height),d=u[0],f=u[1],h=yg(r.borderBottomLeftRadius,n.width,n.height),m=h[0],p=h[1],x=[];x.push((a+c)/n.width),x.push((m+d)/n.width),x.push((s+p)/n.height),x.push((A+f)/n.height);var v=Math.max.apply(Math,x);v>1&&(a/=v,s/=v,c/=v,A/=v,d/=v,f/=v,m/=v,p/=v);var y=n.width-c,b=n.height-f,E=n.width-d,S=n.height-p,I=r.borderTopWidth,B=r.borderRightWidth,_=r.borderBottomWidth,O=r.borderLeftWidth,j=bn(r.paddingTop,e.bounds.width),T=bn(r.paddingRight,e.bounds.width),P=bn(r.paddingBottom,e.bounds.width),L=bn(r.paddingLeft,e.bounds.width);this.topLeftBorderDoubleOuterBox=a>0||s>0?Pn(n.left+O/3,n.top+I/3,a-O/3,s-I/3,qr.TOP_LEFT):new Bt(n.left+O/3,n.top+I/3),this.topRightBorderDoubleOuterBox=a>0||s>0?Pn(n.left+y,n.top+I/3,c-B/3,A-I/3,qr.TOP_RIGHT):new Bt(n.left+n.width-B/3,n.top+I/3),this.bottomRightBorderDoubleOuterBox=d>0||f>0?Pn(n.left+E,n.top+b,d-B/3,f-_/3,qr.BOTTOM_RIGHT):new Bt(n.left+n.width-B/3,n.top+n.height-_/3),this.bottomLeftBorderDoubleOuterBox=m>0||p>0?Pn(n.left+O/3,n.top+S,m-O/3,p-_/3,qr.BOTTOM_LEFT):new Bt(n.left+O/3,n.top+n.height-_/3),this.topLeftBorderDoubleInnerBox=a>0||s>0?Pn(n.left+O*2/3,n.top+I*2/3,a-O*2/3,s-I*2/3,qr.TOP_LEFT):new Bt(n.left+O*2/3,n.top+I*2/3),this.topRightBorderDoubleInnerBox=a>0||s>0?Pn(n.left+y,n.top+I*2/3,c-B*2/3,A-I*2/3,qr.TOP_RIGHT):new Bt(n.left+n.width-B*2/3,n.top+I*2/3),this.bottomRightBorderDoubleInnerBox=d>0||f>0?Pn(n.left+E,n.top+b,d-B*2/3,f-_*2/3,qr.BOTTOM_RIGHT):new Bt(n.left+n.width-B*2/3,n.top+n.height-_*2/3),this.bottomLeftBorderDoubleInnerBox=m>0||p>0?Pn(n.left+O*2/3,n.top+S,m-O*2/3,p-_*2/3,qr.BOTTOM_LEFT):new Bt(n.left+O*2/3,n.top+n.height-_*2/3),this.topLeftBorderStroke=a>0||s>0?Pn(n.left+O/2,n.top+I/2,a-O/2,s-I/2,qr.TOP_LEFT):new Bt(n.left+O/2,n.top+I/2),this.topRightBorderStroke=a>0||s>0?Pn(n.left+y,n.top+I/2,c-B/2,A-I/2,qr.TOP_RIGHT):new Bt(n.left+n.width-B/2,n.top+I/2),this.bottomRightBorderStroke=d>0||f>0?Pn(n.left+E,n.top+b,d-B/2,f-_/2,qr.BOTTOM_RIGHT):new Bt(n.left+n.width-B/2,n.top+n.height-_/2),this.bottomLeftBorderStroke=m>0||p>0?Pn(n.left+O/2,n.top+S,m-O/2,p-_/2,qr.BOTTOM_LEFT):new Bt(n.left+O/2,n.top+n.height-_/2),this.topLeftBorderBox=a>0||s>0?Pn(n.left,n.top,a,s,qr.TOP_LEFT):new Bt(n.left,n.top),this.topRightBorderBox=c>0||A>0?Pn(n.left+y,n.top,c,A,qr.TOP_RIGHT):new Bt(n.left+n.width,n.top),this.bottomRightBorderBox=d>0||f>0?Pn(n.left+E,n.top+b,d,f,qr.BOTTOM_RIGHT):new Bt(n.left+n.width,n.top+n.height),this.bottomLeftBorderBox=m>0||p>0?Pn(n.left,n.top+S,m,p,qr.BOTTOM_LEFT):new Bt(n.left,n.top+n.height),this.topLeftPaddingBox=a>0||s>0?Pn(n.left+O,n.top+I,Math.max(0,a-O),Math.max(0,s-I),qr.TOP_LEFT):new Bt(n.left+O,n.top+I),this.topRightPaddingBox=c>0||A>0?Pn(n.left+Math.min(y,n.width-B),n.top+I,y>n.width+B?0:Math.max(0,c-B),Math.max(0,A-I),qr.TOP_RIGHT):new Bt(n.left+n.width-B,n.top+I),this.bottomRightPaddingBox=d>0||f>0?Pn(n.left+Math.min(E,n.width-O),n.top+Math.min(b,n.height-_),Math.max(0,d-B),Math.max(0,f-_),qr.BOTTOM_RIGHT):new Bt(n.left+n.width-B,n.top+n.height-_),this.bottomLeftPaddingBox=m>0||p>0?Pn(n.left+O,n.top+Math.min(S,n.height-_),Math.max(0,m-O),Math.max(0,p-_),qr.BOTTOM_LEFT):new Bt(n.left+O,n.top+n.height-_),this.topLeftContentBox=a>0||s>0?Pn(n.left+O+L,n.top+I+j,Math.max(0,a-(O+L)),Math.max(0,s-(I+j)),qr.TOP_LEFT):new Bt(n.left+O+L,n.top+I+j),this.topRightContentBox=c>0||A>0?Pn(n.left+Math.min(y,n.width+O+L),n.top+I+j,y>n.width+O+L?0:c-O+L,A-(I+j),qr.TOP_RIGHT):new Bt(n.left+n.width-(B+T),n.top+I+j),this.bottomRightContentBox=d>0||f>0?Pn(n.left+Math.min(E,n.width-(O+L)),n.top+Math.min(b,n.height+I+j),Math.max(0,d-(B+T)),f-(_+P),qr.BOTTOM_RIGHT):new Bt(n.left+n.width-(B+T),n.top+n.height-(_+P)),this.bottomLeftContentBox=m>0||p>0?Pn(n.left+O+L,n.top+S,Math.max(0,m-(O+L)),p-(_+P),qr.BOTTOM_LEFT):new Bt(n.left+O+L,n.top+n.height-(_+P))}return t}(),qr;(function(t){t[t.TOP_LEFT=0]="TOP_LEFT",t[t.TOP_RIGHT=1]="TOP_RIGHT",t[t.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",t[t.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(qr||(qr={}));var Pn=function(t,e,r,n,i){var a=4*((Math.sqrt(2)-1)/3),s=r*a,o=n*a,c=t+r,A=e+n;switch(i){case qr.TOP_LEFT:return new uw(new Bt(t,A),new Bt(t,A-o),new Bt(c-s,e),new Bt(c,e));case qr.TOP_RIGHT:return new uw(new Bt(t,e),new Bt(t+s,e),new Bt(c,A-o),new Bt(c,A));case qr.BOTTOM_RIGHT:return new uw(new Bt(c,e),new Bt(c,e+o),new Bt(t+s,A),new Bt(t,A));case qr.BOTTOM_LEFT:default:return new uw(new Bt(c,A),new Bt(c-s,A),new Bt(t,e+o),new Bt(t,e))}},zb=function(t){return[t.topLeftBorderBox,t.topRightBorderBox,t.bottomRightBorderBox,t.bottomLeftBorderBox]},Lxe=function(t){return[t.topLeftContentBox,t.topRightContentBox,t.bottomRightContentBox,t.bottomLeftContentBox]},Vb=function(t){return[t.topLeftPaddingBox,t.topRightPaddingBox,t.bottomRightPaddingBox,t.bottomLeftPaddingBox]},Mxe=function(){function t(e,r,n){this.offsetX=e,this.offsetY=r,this.matrix=n,this.type=0,this.target=6}return t}(),dw=function(){function t(e,r){this.path=e,this.target=r,this.type=1}return t}(),Qxe=function(){function t(e){this.opacity=e,this.type=2,this.target=6}return t}(),Hxe=function(t){return t.type===0},OV=function(t){return t.type===1},zxe=function(t){return t.type===2},PO=function(t,e){return t.length===e.length?t.some(function(r,n){return r===e[n]}):!1},Vxe=function(t,e,r,n,i){return t.map(function(a,s){switch(s){case 0:return a.add(e,r);case 1:return a.add(e+n,r);case 2:return a.add(e+n,r+i);case 3:return a.add(e,r+i)}return a})},RV=function(){function t(e){this.element=e,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return t}(),UV=function(){function t(e,r){if(this.container=e,this.parent=r,this.effects=[],this.curves=new Uxe(this.container),this.container.styles.opacity<1&&this.effects.push(new Qxe(this.container.styles.opacity)),this.container.styles.transform!==null){var n=this.container.bounds.left+this.container.styles.transformOrigin[0].number,i=this.container.bounds.top+this.container.styles.transformOrigin[1].number,a=this.container.styles.transform;this.effects.push(new Mxe(n,i,a))}if(this.container.styles.overflowX!==0){var s=zb(this.curves),o=Vb(this.curves);PO(s,o)?this.effects.push(new dw(s,6)):(this.effects.push(new dw(s,2)),this.effects.push(new dw(o,4)))}}return t.prototype.getEffects=function(e){for(var r=[2,3].indexOf(this.container.styles.position)===-1,n=this.parent,i=this.effects.slice(0);n;){var a=n.effects.filter(function(c){return!OV(c)});if(r||n.container.styles.position!==0||!n.parent){if(i.unshift.apply(i,a),r=[2,3].indexOf(n.container.styles.position)===-1,n.container.styles.overflowX!==0){var s=zb(n.curves),o=Vb(n.curves);PO(s,o)||i.unshift(new dw(o,6))}}else i.unshift.apply(i,a);n=n.parent}return i.filter(function(c){return Di(c.target,e)})},t}
vendor: 3,655 bytes, line 3592
3592(),w_=function(t,e,r,n){t.container.elements.forEach(function(i){var a=Di(i.flags,4),s=Di(i.flags,2),o=new UV(i,t);Di(i.styles.display,2048)&&n.push(o);var c=Di(i.flags,8)?[]:n;if(a||s){var A=a||i.styles.isPositioned()?r:e,u=new RV(o);if(i.styles.isPositioned()||i.styles.opacity<1||i.styles.isTransformed()){var d=i.styles.zIndex.order;if(d<0){var f=0;A.negativeZIndex.some(function(m,p){return d>m.element.container.styles.zIndex.order?(f=p,!1):f>0}),A.negativeZIndex.splice(f,0,u)}else if(d>0){var h=0;A.positiveZIndex.some(function(m,p){return d>=m.element.container.styles.zIndex.order?(h=p+1,!1):h>0}),A.positiveZIndex.splice(h,0,u)}else A.zeroOrAutoZIndexOrTransformedOrOpacity.push(u)}else i.styles.isFloating()?A.nonPositionedFloats.push(u):A.nonPositionedInlineLevel.push(u);w_(o,u,a?u:r,c)}else i.styles.isInlineLevel()?e.inlineLevel.push(o):e.nonInlineLevel.push(o),w_(o,e,r,c);Di(i.flags,8)&&LV(i,c)})},LV=function(t,e){for(var r=t instanceof m_?t.start:1,n=t instanceof m_?t.reversed:!1,i=0;i<e.length;i++){var a=e[i];a.container instanceof bV&&typeof a.container.value=="number"&&a.container.value!==0&&(r=a.container.value),a.listValue=A1(r,a.container.styles.listStyleType,!0),r+=n?-1:1}},Wxe=function(t){var e=new UV(t,null),r=new RV(e),n=[];return w_(e,r,r,n),LV(e.container,n),r},DO=function(t,e){switch(e){case 0:return Uo(t.topLeftBorderBox,t.topLeftPaddingBox,t.topRightBorderBox,t.topRightPaddingBox);case 1:return Uo(t.topRightBorderBox,t.topRightPaddingBox,t.bottomRightBorderBox,t.bottomRightPaddingBox);case 2:return Uo(t.bottomRightBorderBox,t.bottomRightPaddingBox,t.bottomLeftBorderBox,t.bottomLeftPaddingBox);case 3:default:return Uo(t.bottomLeftBorderBox,t.bottomLeftPaddingBox,t.topLeftBorderBox,t.topLeftPaddingBox)}},Kxe=function(t,e){switch(e){case 0:return Uo(t.topLeftBorderBox,t.topLeftBorderDoubleOuterBox,t.topRightBorderBox,t.topRightBorderDoubleOuterBox);case 1:return Uo(t.topRightBorderBox,t.topRightBorderDoubleOuterBox,t.bottomRightBorderBox,t.bottomRightBorderDoubleOuterBox);case 2:return Uo(t.bottomRightBorderBox,t.bottomRightBorderDoubleOuterBox,t.bottomLeftBorderBox,t.bottomLeftBorderDoubleOuterBox);case 3:default:return Uo(t.bottomLeftBorderBox,t.bottomLeftBorderDoubleOuterBox,t.topLeftBorderBox,t.topLeftBorderDoubleOuterBox)}},qxe=function(t,e){switch(e){case 0:return Uo(t.topLeftBorderDoubleInnerBox,t.topLeftPaddingBox,t.topRightBorderDoubleInnerBox,t.topRightPaddingBox);case 1:return Uo(t.topRightBorderDoubleInnerBox,t.topRightPaddingBox,t.bottomRightBorderDoubleInnerBox,t.bottomRightPaddingBox);case 2:return Uo(t.bottomRightBorderDoubleInnerBox,t.bottomRightPaddingBox,t.bottomLeftBorderDoubleInnerBox,t.bottomLeftPaddingBox);case 3:default:return Uo(t.bottomLeftBorderDoubleInnerBox,t.bottomLeftPaddingBox,t.topLeftBorderDoubleInnerBox,t.topLeftPaddingBox)}},Gxe=function(t,e){switch(e){case 0:return hw(t.topLeftBorderStroke,t.topRightBorderStroke);case 1:return hw(t.topRightBorderStroke,t.bottomRightBorderStroke);case 2:return hw(t.bottomRightBorderStroke,t.bottomLeftBorderStroke);case 3:default:return hw(t.bottomLeftBorderStroke,t.topLeftBorderStroke)}},hw=function(t,e){var r=[];return Io(t)?r.push(t.subdivide(.5,!1)):r.push(t),Io(e)?r.push(e.subdivide(.5,!0)):r.push(e),r},Uo=function(t,e,r,n){var i=[];return Io(t)?i.push(t.subdivide(.5,!1)):i.push(t),Io(r)?i.push(r.subdivide(.5,!0)):i.push(r),Io(n)?i.push(n.subdivide(.5,!0).reverse()):i.push(n),Io(e)?i.push(e.subdivide(.5,!1).reverse()):i.push(e),i},MV=function(t){var e=t.bounds,r=t.styles;return e.add(r.borderLeftWidth,r.borderTopWidth,-(r.borderRightWidth+r.borderLeftWidth),-(r.borderTopWidth+r.borderBottomWidth))}
vendor: 14,620 bytes, line 3592
3592,Wb=function(t){var e=t.styles,r=t.bounds,n=bn(e.paddingLeft,r.width),i=bn(e.paddingRight,r.width),a=bn(e.paddingTop,r.width),s=bn(e.paddingBottom,r.width);return r.add(n+e.borderLeftWidth,a+e.borderTopWidth,-(e.borderRightWidth+e.borderLeftWidth+n+i),-(e.borderTopWidth+e.borderBottomWidth+a+s))},Jxe=function(t,e){return t===0?e.bounds:t===2?Wb(e):MV(e)},Xxe=function(t,e){return t===0?e.bounds:t===2?Wb(e):MV(e)},B4=function(t,e,r){var n=Jxe(Zf(t.styles.backgroundOrigin,e),t),i=Xxe(Zf(t.styles.backgroundClip,e),t),a=Yxe(Zf(t.styles.backgroundSize,e),r,n),s=a[0],o=a[1],c=yg(Zf(t.styles.backgroundPosition,e),n.width-s,n.height-o),A=Zxe(Zf(t.styles.backgroundRepeat,e),c,a,n,i),u=Math.round(n.left+c[0]),d=Math.round(n.top+c[1]);return[A,u,d,s,o]},zf=function(t){return dn(t)&&t.value===V0.AUTO},fw=function(t){return typeof t=="number"},Yxe=function(t,e,r){var n=e[0],i=e[1],a=e[2],s=t[0],o=t[1];if(!s)return[0,0];if(wi(s)&&o&&wi(o))return[bn(s,r.width),bn(o,r.height)];var c=fw(a);if(dn(s)&&(s.value===V0.CONTAIN||s.value===V0.COVER)){if(fw(a)){var A=r.width/r.height;return A<a!=(s.value===V0.COVER)?[r.width,r.width/a]:[r.height*a,r.height]}return[r.width,r.height]}var u=fw(n),d=fw(i),f=u||d;if(zf(s)&&(!o||zf(o))){if(u&&d)return[n,i];if(!c&&!f)return[r.width,r.height];if(f&&c){var h=u?n:i*a,m=d?i:n/a;return[h,m]}var p=u?n:r.width,x=d?i:r.height;return[p,x]}if(c){var v=0,y=0;return wi(s)?v=bn(s,r.width):wi(o)&&(y=bn(o,r.height)),zf(s)?v=y*a:(!o||zf(o))&&(y=v/a),[v,y]}var b=null,E=null;if(wi(s)?b=bn(s,r.width):o&&wi(o)&&(E=bn(o,r.height)),b!==null&&(!o||zf(o))&&(E=u&&d?b/n*i:r.height),E!==null&&zf(s)&&(b=u&&d?E/i*n:r.width),b!==null&&E!==null)return[b,E];throw new Error("Unable to calculate background-size for element")},Zf=function(t,e){var r=t[e];return typeof r>"u"?t[0]:r},Zxe=function(t,e,r,n,i){var a=e[0],s=e[1],o=r[0],c=r[1];switch(t){case 2:return[new Bt(Math.round(n.left),Math.round(n.top+s)),new Bt(Math.round(n.left+n.width),Math.round(n.top+s)),new Bt(Math.round(n.left+n.width),Math.round(c+n.top+s)),new Bt(Math.round(n.left),Math.round(c+n.top+s))];case 3:return[new Bt(Math.round(n.left+a),Math.round(n.top)),new Bt(Math.round(n.left+a+o),Math.round(n.top)),new Bt(Math.round(n.left+a+o),Math.round(n.height+n.top)),new Bt(Math.round(n.left+a),Math.round(n.height+n.top))];case 1:return[new Bt(Math.round(n.left+a),Math.round(n.top+s)),new Bt(Math.round(n.left+a+o),Math.round(n.top+s)),new Bt(Math.round(n.left+a+o),Math.round(n.top+s+c)),new Bt(Math.round(n.left+a),Math.round(n.top+s+c))];default:return[new Bt(Math.round(i.left),Math.round(i.top)),new Bt(Math.round(i.left+i.width),Math.round(i.top)),new Bt(Math.round(i.left+i.width),Math.round(i.height+i.top)),new Bt(Math.round(i.left),Math.round(i.height+i.top))]}},$xe="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",OO="Hidden Text",eye=function(){function t(e){this._data={},this._document=e}return t.prototype.parseMetrics=function(e,r){var n=this._document.createElement("div"),i=this._document.createElement("img"),a=this._document.createElement("span"),s=this._document.body;n.style.visibility="hidden",n.style.fontFamily=e,n.style.fontSize=r,n.style.margin="0",n.style.padding="0",n.style.whiteSpace="nowrap",s.appendChild(n),i.src=$xe,i.width=1,i.height=1,i.style.margin="0",i.style.padding="0",i.style.verticalAlign="baseline",a.style.fontFamily=e,a.style.fontSize=r,a.style.margin="0",a.style.padding="0",a.appendChild(this._document.createTextNode(OO)),n.appendChild(a),n.appendChild(i);var o=i.offsetTop-a.offsetTop+2;n.removeChild(a),n.appendChild(this._document.createTextNode(OO)),n.style.lineHeight="normal",i.style.verticalAlign="super";var c=i.offsetTop-n.offsetTop+2;return s.removeChild(n),{baseline:o,middle:c}},t.prototype.getMetrics=function(e,r){var n=e+" "+r;return typeof this._data[n]>"u"&&(this._data[n]=this.parseMetrics(e,r)),this._data[n]},t}(),QV=function(){function t(e,r){this.context=e,this.options=r}return t}(),tye=1e4,rye=function(t){kl(e,t);function e(r,n){var i=t.call(this,r,n)||this;return i._activeEffects=[],i.canvas=n.canvas?n.canvas:document.createElement("canvas"),i.ctx=i.canvas.getContext("2d"),n.canvas||(i.canvas.width=Math.floor(n.width*n.scale),i.canvas.height=Math.floor(n.height*n.scale),i.canvas.style.width=n.width+"px",i.canvas.style.height=n.height+"px"),i.fontMetrics=new eye(document),i.ctx.scale(i.options.scale,i.options.scale),i.ctx.translate(-n.x,-n.y),i.ctx.textBaseline="bottom",i._activeEffects=[],i.context.logger.debug("Canvas renderer initialized ("+n.width+"x"+n.height+") with scale "+n.scale),i}return e.prototype.applyEffects=function(r){for(var n=this;this._activeEffects.length;)this.popEffect();r.forEach(function(i){return n.applyEffect(i)})},e.prototype.applyEffect=function(r){this.ctx.save(),zxe(r)&&(this.ctx.globalAlpha=r.opacity),Hxe(r)&&(this.ctx.translate(r.offsetX,r.offsetY),this.ctx.transform(r.matrix[0],r.matrix[1],r.matrix[2],r.matrix[3],r.matrix[4],r.matrix[5]),this.ctx.translate(-r.offsetX,-r.offsetY)),OV(r)&&(this.path(r.path),this.ctx.clip()),this._activeEffects.push(r)},e.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},e.prototype.renderStack=function(r){return Ga(this,void 0,void 0,function(){var n;return Ia(this,function(i){switch(i.label){case 0:return n=r.element.container.styles,n.isVisible()?[4,this.renderStackContent(r)]:[3,2];case 1:i.sent(),i.label=2;case 2:return[2]}})})},e.prototype.renderNode=function(r){return Ga(this,void 0,void 0,function(){return Ia(this,function(n){switch(n.label){case 0:if(Di(r.container.flags,16))debugger;return r.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(r)]:[3,3];case 1:return n.sent(),[4,this.renderNodeContent(r)];case 2:n.sent(),n.label=3;case 3:return[2]}})})},e.prototype.renderTextWithLetterSpacing=function(r,n,i){var a=this;if(n===0)this.ctx.fillText(r.text,r.bounds.left,r.bounds.top+i);else{var s=kT(r.text);s.reduce(function(o,c){return a.ctx.fillText(c,o,r.bounds.top+i),o+a.ctx.measureText(c).width},r.bounds.left)}},e.prototype.createFontStyle=function(r){var n=r.fontVariant.filter(function(s){return s==="normal"||s==="small-caps"}).join(""),i=oye(r.fontFamily).join(", "),a=tx(r.fontSize)?""+r.fontSize.number+r.fontSize.unit:r.fontSize.number+"px";return[[r.fontStyle,n,r.fontWeight,a,i].join(" "),i,a]},e.prototype.renderTextNode=function(r,n){return Ga(this,void 0,void 0,function(){var i,a,s,o,c,A,u,d,f=this;return Ia(this,function(h){return i=this.createFontStyle(n),a=i[0],s=i[1],o=i[2],this.ctx.font=a,this.ctx.direction=n.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",c=this.fontMetrics.getMetrics(s,o),A=c.baseline,u=c.middle,d=n.paintOrder,r.textBounds.forEach(function(m){d.forEach(function(p){switch(p){case 0:f.ctx.fillStyle=Wi(n.color),f.renderTextWithLetterSpacing(m,n.letterSpacing,A);var x=n.textShadow;x.length&&m.text.trim().length&&(x.slice(0).reverse().forEach(function(v){f.ctx.shadowColor=Wi(v.color),f.ctx.shadowOffsetX=v.offsetX.number*f.options.scale,f.ctx.shadowOffsetY=v.offsetY.number*f.options.scale,f.ctx.shadowBlur=v.blur.number,f.renderTextWithLetterSpacing(m,n.letterSpacing,A)}),f.ctx.shadowColor="",f.ctx.shadowOffsetX=0,f.ctx.shadowOffsetY=0,f.ctx.shadowBlur=0),n.textDecorationLine.length&&(f.ctx.fillStyle=Wi(n.textDecorationColor||n.color),n.textDecorationLine.forEach(function(v){switch(v){case 1:f.ctx.fillRect(m.bounds.left,Math.round(m.bounds.top+A),m.bounds.width,1);break;case 2:f.ctx.fillRect(m.bounds.left,Math.round(m.bounds.top),m.bounds.width,1);break;case 3:f.ctx.fillRect(m.bounds.left,Math.ceil(m.bounds.top+u),m.bounds.width,1);break}}));break;case 1:n.webkitTextStrokeWidth&&m.text.trim().length&&(f.ctx.strokeStyle=Wi(n.webkitTextStrokeColor),f.ctx.lineWidth=n.webkitTextStrokeWidth,f.ctx.lineJoin=window.chrome?"miter":"round",f.ctx.strokeText(m.text,m.bounds.left,m.bounds.top+A)),f.ctx.strokeStyle="",f.ctx.lineWidth=0,f.ctx.lineJoin="miter";break}})}),[2]})})},e.prototype.renderReplacedElement=function(r,n,i){if(i&&r.intrinsicWidth>0&&r.intrinsicHeight>0){var a=Wb(r),s=Vb(n);this.path(s),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(i,0,0,r.intrinsicWidth,r.intrinsicHeight,a.left,a.top,a.width,a.height),this.ctx.restore()}},e.prototype.renderNodeContent=function(r){return Ga(this,void 0,void 0,function(){var n,i,a,s,o,c,y,y,A,u,d,f,E,h,m,S,p,x,v,y,b,E,S;return Ia(this,function(I){switch(I.label){case 0:this.applyEffects(r.getEffects(4)),n=r.container,i=r.curves,a=n.styles,s=0,o=n.textNodes,I.label=1;case 1:return s<o.length?(c=o[s],[4,this.renderTextNode(c,a)]):[3,4];case 2:I.sent(),I.label=3;case 3:return s++,[3,1];case 4:if(!(n instanceof xV))return[3,8];I.label=5;case 5:return I.trys.push([5,7,,8]),[4,this.context.cache.match(n.src)];case 6:return y=I.sent(),this.renderReplacedElement(n,i,y),[3,8];case 7:return I.sent(),this.context.logger.error("Error loading image "+n.src),[3,8];case 8:if(n instanceof yV&&this.renderReplacedElement(n,i,n.canvas),!(n instanceof wV))return[3,12];I.label=9;case 9:return I.trys.push([9,11,,12]),[4,this.context.cache.match(n.svg)];case 10:return y=I.sent(),this.renderReplacedElement(n,i,y),[3,12];case 11:return I.sent(),this.context.logger.error("Error loading svg "+n.svg.substring(0,255)),[3,12];case 12:return n instanceof EV&&n.tree?(A=new e(this.context,{scale:this.options.scale,backgroundColor:n.backgroundColor,x:0,y:0,width:n.width,height:n.height}),[4,A.render(n.tree)]):[3,14];case 13:u=I.sent(),n.width&&n.height&&this.ctx.drawImage(u,0,0,n.width,n.height,n.bounds.left,n.bounds.top,n.bounds.width,n.bounds.height),I.label=14;case 14:if(n instanceof PT&&(d=Math.min(n.bounds.width,n.bounds.height),n.type===Lb?n.checked&&(this.ctx.save(),this.path([new Bt(n.bounds.left+d*.39363,n.bounds.top+d*.79),new Bt(n.bounds.left+d*.16,n.bounds.top+d*.5549),new Bt(n.bounds.left+d*.27347,n.bounds.top+d*.44071),new Bt(n.bounds.left+d*.39694,n.bounds.top+d*.5649),new Bt(n.bounds.left+d*.72983,n.bounds.top+d*.23),new Bt(n.bounds.left+d*.84,n.bounds.top+d*.34085),new Bt(n.bounds.left+d*.39363,n.bounds.top+d*.79)]),this.ctx.fillStyle=Wi(CO),this.ctx.fill(),this.ctx.restore()):n.type===Mb&&n.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(n.bounds.left+d/2,n.bounds.top+d/2,d/4,0,Math.PI*2,!0),this.ctx.fillStyle=Wi(CO),this.ctx.fill(),this.ctx.restore())),nye(n)&&n.value.length){switch(f=this.createFontStyle(a),E=f[0],h=f[1],m=this.fontMetrics.getMetrics(E,h).baseline,this.ctx.font=E,this.ctx.fillStyle=Wi(a.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=aye(n.styles.textAlign),S=Wb(n),p=0,n.styles.textAlign){case 1:p+=S.width/2;break;case 2:p+=S.width;break}x=S.add(p,0,0,-S.height/2+1),this.ctx.save(),this.path([new Bt(S.left,S.top),new Bt(S.left+S.width,S.top),new Bt(S.left+S.width,S.top+S.height),new Bt(S.left,S.top+S.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new av(n.value,x),a.letterSpacing,m),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!Di(n.styles.display,2048))return[3,20];if(n.styles.listStyleImage===null)return[3,19];if(v=n.styles.listStyleImage,v.type!==0)return[3,18];y=void 0,b=v.url,I.label=15;case 15:return I.trys.push([15,17,,18]),[4,this.context.cache.match(b)];case 16:return y=I.sent(),this.ctx.drawImage(y,n.bounds.left-(y.width+10),n.bounds.top),[3,18];case 17:return I.sent(),this.context.logger.error("Error loading list-style-image "+b),[3,18];case 18:return[3,20];case 19:r.listValue&&n.styles.listStyleType!==-1&&(E=this.createFontStyle(a)[0],this.ctx.font=E,this.ctx.fillStyle=Wi(a.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",S=new uA(n.bounds.left,n.bounds.top+bn(n.styles.paddingTop,n.bounds.width),n.bounds.width,sO(a.lineHeight,a.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new av(r.listValue,S),a.letterSpacing,sO(a.lineHeight,a.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),I.label=20;case 20:return[2]}})})},e.prototype.renderStackContent=function(r){return Ga(this,void 0,void 0,function(){var n,i,v,a,s,v,o,c,v,A,u,v,d,f,v,h,m,v,p,x,v;return Ia(this,function(y){switch(y.label){case 0:if(Di(r.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(r.element)];case 1:y.sent(),n=0,i=r.negativeZIndex,y.label=2;case 2:return n<i.length?(v=i[n],[4,this.renderStack(v)]):[3,5];case 3:y.sent(),y.label=4;case 4:return n++,[3,2];case 5:return[4,this.renderNodeContent(r.element)];case 6:y.sent(),a=0,s=r.nonInlineLevel,y.label=7;case 7:return a<s.length?(v=s[a],[4,this.renderNode(v)]):[3,10];case 8:y.sent(),y.label=9;case 9:return a++,[3,7];case 10:o=0,c=r.nonPositionedFloats,y.label=11;case 11:return o<c.length?(v=c[o],[4,this.renderStack(v)]):[3,14];case 12:y.sent(),y.label=13;case 13:return o++,[3,11];case 14:A=0,u=r.nonPositionedInlineLevel,y.label=15;case 15:return A<u.length?(v=u[A],[4,this.renderStack(v)]):[3,18];case 16:y.sent(),y.label=17;case 17:return A++,[3,15];case 18:d=0,f=r.inlineLevel,y.label=19;case 19:return d<f.length?(v=f[d],[4,this.renderNode(v)]):[3,22];case 20:y.sent(),y.label=21;case 21:return d++,[3,19];case 22:h=0,m=r.zeroOrAutoZIndexOrTransformedOrOpacity,y.label=23;case 23:return h<m.length?(v=m[h],[4,this.renderStack(v)]):[3,26];case 24:y.sent(),y.label=25;case 25:return h++,[3,23];case 26:p=0,x=r.positiveZIndex,y.label=27;case 27:return p<x.length?(v=x[p],[4,this.renderStack(v)]):[3,30];case 28:y.sent(),y.label=29;case 29:return p++,[3,27];case 30:return[2]}})})},e.prototype.mask=function(r){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(r.slice(0).reverse()),this.ctx.closePath()},e.prototype.path=function(r){this.ctx.beginPath(),this.formatPath(r),this.ctx.closePath()},e.prototype.formatPath=function(r){var n=this;r.forEach(function(i,a){var s=Io(i)?i.start:i;a===0?n.ctx.moveTo(s.x,s.y):n.ctx.lineTo(s.x,s.y),Io(i)&&n.ctx.bezierCurveTo(i.startControl.x,i.startControl.y,i.endControl.x,i.endControl.y,i.end.x,i.end.y)})},e.prototype.renderRepeat=function(r,n,i,a){this.path(r),this.ctx.fillStyle=n,this.ctx.translate(i,a),this.ctx.fill(),this.ctx.translate(-i,-a)},e.prototype.resizeImage=function(r,n,i){var a;if(r.width===n&&r.height===i)return r;var s=(a=this.canvas.ownerDocument)!==null&&a!==void 0?a:document,o=s.createElement("canvas");o.width=Math.max(1,n),o.height=Math.max(1,i);var c=o.getContext("2d");return c.drawImage(r,0,0,r.width,r.height,0,0,n,i),o}
vendor: 5,829 bytes, line 3592
3592,e.prototype.renderBackgroundImage=function(r){return Ga(this,void 0,void 0,function(){var n,i,a,s,o,c;return Ia(this,function(A){switch(A.label){case 0:n=r.styles.backgroundImage.length-1,i=function(u){var d,f,h,j,ne,fe,L,K,_,m,j,ne,fe,L,K,p,x,v,y,b,E,S,I,B,_,O,j,T,P,L,K,le,ne,fe,te,he,ce,Ne,F,U,R,M;return Ia(this,function(J){switch(J.label){case 0:if(u.type!==0)return[3,5];d=void 0,f=u.url,J.label=1;case 1:return J.trys.push([1,3,,4]),[4,a.context.cache.match(f)];case 2:return d=J.sent(),[3,4];case 3:return J.sent(),a.context.logger.error("Error loading background-image "+f),[3,4];case 4:return d&&(h=B4(r,n,[d.width,d.height,d.width/d.height]),j=h[0],ne=h[1],fe=h[2],L=h[3],K=h[4],_=a.ctx.createPattern(a.resizeImage(d,L,K),"repeat"),a.renderRepeat(j,_,ne,fe)),[3,6];case 5:Hge(u)?(m=B4(r,n,[null,null,null]),j=m[0],ne=m[1],fe=m[2],L=m[3],K=m[4],p=Rge(u.angle,L,K),x=p[0],v=p[1],y=p[2],b=p[3],E=p[4],S=document.createElement("canvas"),S.width=L,S.height=K,I=S.getContext("2d"),B=I.createLinearGradient(v,b,y,E),iO(u.stops,x).forEach(function(ue){return B.addColorStop(ue.stop,Wi(ue.color))}),I.fillStyle=B,I.fillRect(0,0,L,K),L>0&&K>0&&(_=a.ctx.createPattern(S,"repeat"),a.renderRepeat(j,_,ne,fe))):zge(u)&&(O=B4(r,n,[null,null,null]),j=O[0],T=O[1],P=O[2],L=O[3],K=O[4],le=u.position.length===0?[TT]:u.position,ne=bn(le[0],L),fe=bn(le[le.length-1],K),te=Uge(u,ne,fe,L,K),he=te[0],ce=te[1],he>0&&ce>0&&(Ne=a.ctx.createRadialGradient(T+ne,P+fe,0,T+ne,P+fe,he),iO(u.stops,he*2).forEach(function(ue){return Ne.addColorStop(ue.stop,Wi(ue.color))}),a.path(j),a.ctx.fillStyle=Ne,he!==ce?(F=r.bounds.left+.5*r.bounds.width,U=r.bounds.top+.5*r.bounds.height,R=ce/he,M=1/R,a.ctx.save(),a.ctx.translate(F,U),a.ctx.transform(1,0,0,R,0,0),a.ctx.translate(-F,-U),a.ctx.fillRect(T,M*(P-U)+U,L,K*M),a.ctx.restore()):a.ctx.fill())),J.label=6;case 6:return n--,[2]}})},a=this,s=0,o=r.styles.backgroundImage.slice(0).reverse(),A.label=1;case 1:return s<o.length?(c=o[s],[5,i(c)]):[3,4];case 2:A.sent(),A.label=3;case 3:return s++,[3,1];case 4:return[2]}})})},e.prototype.renderSolidBorder=function(r,n,i){return Ga(this,void 0,void 0,function(){return Ia(this,function(a){return this.path(DO(i,n)),this.ctx.fillStyle=Wi(r),this.ctx.fill(),[2]})})},e.prototype.renderDoubleBorder=function(r,n,i,a){return Ga(this,void 0,void 0,function(){var s,o;return Ia(this,function(c){switch(c.label){case 0:return n<3?[4,this.renderSolidBorder(r,i,a)]:[3,2];case 1:return c.sent(),[2];case 2:return s=Kxe(a,i),this.path(s),this.ctx.fillStyle=Wi(r),this.ctx.fill(),o=qxe(a,i),this.path(o),this.ctx.fill(),[2]}})})},e.prototype.renderNodeBackgroundAndBorders=function(r){return Ga(this,void 0,void 0,function(){var n,i,a,s,o,c,A,u,d=this;return Ia(this,function(f){switch(f.label){case 0:return this.applyEffects(r.getEffects(2)),n=r.container.styles,i=!Hu(n.backgroundColor)||n.backgroundImage.length,a=[{style:n.borderTopStyle,color:n.borderTopColor,width:n.borderTopWidth},{style:n.borderRightStyle,color:n.borderRightColor,width:n.borderRightWidth},{style:n.borderBottomStyle,color:n.borderBottomColor,width:n.borderBottomWidth},{style:n.borderLeftStyle,color:n.borderLeftColor,width:n.borderLeftWidth}],s=iye(Zf(n.backgroundClip,0),r.curves),i||n.boxShadow.length?(this.ctx.save(),this.path(s),this.ctx.clip(),Hu(n.backgroundColor)||(this.ctx.fillStyle=Wi(n.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(r.container)]):[3,2];case 1:f.sent(),this.ctx.restore(),n.boxShadow.slice(0).reverse().forEach(function(h){d.ctx.save();var m=zb(r.curves),p=h.inset?0:tye,x=Vxe(m,-p+(h.inset?1:-1)*h.spread.number,(h.inset?1:-1)*h.spread.number,h.spread.number*(h.inset?-2:2),h.spread.number*(h.inset?-2:2));h.inset?(d.path(m),d.ctx.clip(),d.mask(x)):(d.mask(m),d.ctx.clip(),d.path(x)),d.ctx.shadowOffsetX=h.offsetX.number+p,d.ctx.shadowOffsetY=h.offsetY.number,d.ctx.shadowColor=Wi(h.color),d.ctx.shadowBlur=h.blur.number,d.ctx.fillStyle=h.inset?Wi(h.color):"rgba(0,0,0,1)",d.ctx.fill(),d.ctx.restore()}),f.label=2;case 2:o=0,c=0,A=a,f.label=3;case 3:return c<A.length?(u=A[c],u.style!==0&&!Hu(u.color)&&u.width>0?u.style!==2?[3,5]:[4,this.renderDashedDottedBorder(u.color,u.width,o,r.curves,2)]:[3,11]):[3,13];case 4:return f.sent(),[3,11];case 5:return u.style!==3?[3,7]:[4,this.renderDashedDottedBorder(u.color,u.width,o,r.curves,3)];case 6:return f.sent(),[3,11];case 7:return u.style!==4?[3,9]:[4,this.renderDoubleBorder(u.color,u.width,o,r.curves)];case 8:return f.sent(),[3,11];case 9:return[4,this.renderSolidBorder(u.color,o,r.curves)];case 10:f.sent(),f.label=11;case 11:o++,f.label=12;case 12:return c++,[3,3];case 13:return[2]}})})},e.prototype.renderDashedDottedBorder=function(r,n,i,a,s){return Ga(this,void 0,void 0,function(){var o,c,A,u,d,f,h,m,p,x,v,y,b,E,S,I,S,I;return Ia(this,function(B){return this.ctx.save(),o=Gxe(a,i),c=DO(a,i),s===2&&(this.path(c),this.ctx.clip()),Io(c[0])?(A=c[0].start.x,u=c[0].start.y):(A=c[0].x,u=c[0].y),Io(c[1])?(d=c[1].end.x,f=c[1].end.y):(d=c[1].x,f=c[1].y),i===0||i===2?h=Math.abs(A-d):h=Math.abs(u-f),this.ctx.beginPath(),s===3?this.formatPath(o):this.formatPath(c.slice(0,2)),m=n<3?n*3:n*2,p=n<3?n*2:n,s===3&&(m=n,p=n),x=!0,h<=m*2?x=!1:h<=m*2+p?(v=h/(2*m+p),m*=v,p*=v):(y=Math.floor((h+p)/(m+p)),b=(h-y*m)/(y-1),E=(h-(y+1)*m)/y,p=E<=0||Math.abs(p-b)<Math.abs(p-E)?b:E),x&&(s===3?this.ctx.setLineDash([0,m+p]):this.ctx.setLineDash([m,p])),s===3?(this.ctx.lineCap="round",this.ctx.lineWidth=n):this.ctx.lineWidth=n*2+1.1,this.ctx.strokeStyle=Wi(r),this.ctx.stroke(),this.ctx.setLineDash([]),s===2&&(Io(c[0])&&(S=c[3],I=c[0],this.ctx.beginPath(),this.formatPath([new Bt(S.end.x,S.end.y),new Bt(I.start.x,I.start.y)]),this.ctx.stroke()),Io(c[1])&&(S=c[1],I=c[2],this.ctx.beginPath(),this.formatPath([new Bt(S.end.x,S.end.y),new Bt(I.start.x,I.start.y)]),this.ctx.stroke())),this.ctx.restore(
vendor: 8,823 bytes, line 3592
3592),[2]})})},e.prototype.render=function(r){return Ga(this,void 0,void 0,function(){var n;return Ia(this,function(i){switch(i.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=Wi(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),n=Wxe(r),[4,this.renderStack(n)];case 1:return i.sent(),this.applyEffects([]),[2,this.canvas]}})})},e}(QV),nye=function(t){return t instanceof BV||t instanceof CV?!0:t instanceof PT&&t.type!==Mb&&t.type!==Lb},iye=function(t,e){switch(t){case 0:return zb(e);case 2:return Lxe(e);case 1:default:return Vb(e)}},aye=function(t){switch(t){case 1:return"center";case 2:return"right";case 0:default:return"left"}},sye=["-apple-system","system-ui"],oye=function(t){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?t.filter(function(e){return sye.indexOf(e)===-1}):t},lye=function(t){kl(e,t);function e(r,n){var i=t.call(this,r,n)||this;return i.canvas=n.canvas?n.canvas:document.createElement("canvas"),i.ctx=i.canvas.getContext("2d"),i.options=n,i.canvas.width=Math.floor(n.width*n.scale),i.canvas.height=Math.floor(n.height*n.scale),i.canvas.style.width=n.width+"px",i.canvas.style.height=n.height+"px",i.ctx.scale(i.options.scale,i.options.scale),i.ctx.translate(-n.x,-n.y),i.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+n.width+"x"+n.height+" at "+n.x+","+n.y+") with scale "+n.scale),i}return e.prototype.render=function(r){return Ga(this,void 0,void 0,function(){var n,i;return Ia(this,function(a){switch(a.label){case 0:return n=p_(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,r),[4,cye(n)];case 1:return i=a.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=Wi(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(i,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},e}(QV),cye=function(t){return new Promise(function(e,r){var n=new Image;n.onload=function(){e(n)},n.onerror=r,n.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(t))})},Aye=function(){function t(e){var r=e.id,n=e.enabled;this.id=r,this.enabled=n,this.start=Date.now()}return t.prototype.debug=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];this.enabled&&(typeof window<"u"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,Ky([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},t.prototype.getTime=function(){return Date.now()-this.start},t.prototype.info=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];this.enabled&&typeof window<"u"&&window.console&&typeof console.info=="function"&&console.info.apply(console,Ky([this.id,this.getTime()+"ms"],e))},t.prototype.warn=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];this.enabled&&(typeof window<"u"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,Ky([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},t.prototype.error=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];this.enabled&&(typeof window<"u"&&window.console&&typeof console.error=="function"?console.error.apply(console,Ky([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},t.instances={},t}(),uye=function(){function t(e,r){var n;this.windowBounds=r,this.instanceName="#"+t.instanceCount++,this.logger=new Aye({id:this.instanceName,enabled:e.logging}),this.cache=(n=e.cache)!==null&&n!==void 0?n:new jxe(this,e)}return t.instanceCount=1,t}(),HV=function(t,e){return e===void 0&&(e={}),dye(t,e)};typeof window<"u"&&DV.setContext(window);var dye=function(t,e){return Ga(void 0,void 0,void 0,function(){var r,n,i,a,s,o,c,A,u,d,f,h,m,p,x,v,y,b,E,S,B,I,B,_,O,j,T,P,L,K,le,ne,fe,te,he,ce,Ne,F,U,R;return Ia(this,function(M){switch(M.label){case 0:if(!t||typeof t!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(r=t.ownerDocument,!r)throw new Error("Element is not attached to a Document");if(n=r.defaultView,!n)throw new Error("Document is not attached to a Window");return i={allowTaint:(_=e.allowTaint)!==null&&_!==void 0?_:!1,imageTimeout:(O=e.imageTimeout)!==null&&O!==void 0?O:15e3,proxy:e.proxy,useCORS:(j=e.useCORS)!==null&&j!==void 0?j:!1},a=e_({logging:(T=e.logging)!==null&&T!==void 0?T:!0,cache:e.cache},i),s={windowWidth:(P=e.windowWidth)!==null&&P!==void 0?P:n.innerWidth,windowHeight:(L=e.windowHeight)!==null&&L!==void 0?L:n.innerHeight,scrollX:(K=e.scrollX)!==null&&K!==void 0?K:n.pageXOffset,scrollY:(le=e.scrollY)!==null&&le!==void 0?le:n.pageYOffset},o=new uA(s.scrollX,s.scrollY,s.windowWidth,s.windowHeight),c=new uye(a,o),A=(ne=e.foreignObjectRendering)!==null&&ne!==void 0?ne:!1,u={allowTaint:(fe=e.allowTaint)!==null&&fe!==void 0?fe:!1,onclone:e.onclone,ignoreElements:e.ignoreElements,inlineImages:A,copyStyles:A},c.logger.debug("Starting document clone with size "+o.width+"x"+o.height+" scrolled to "+-o.left+","+-o.top),d=new IO(c,t,u),f=d.clonedReferenceElement,f?[4,d.toIFrame(r,o)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return h=M.sent(),m=DT(f)||fxe(f)?Vpe(f.ownerDocument):S5(c,f),p=m.width,x=m.height,v=m.left,y=m.top,b=hye(c,f,e.backgroundColor),E={canvas:e.canvas,backgroundColor:b,scale:(he=(te=e.scale)!==null&&te!==void 0?te:n.devicePixelRatio)!==null&&he!==void 0?he:1,x:((ce=e.x)!==null&&ce!==void 0?ce:0)+v,y:((Ne=e.y)!==null&&Ne!==void 0?Ne:0)+y,width:(F=e.width)!==null&&F!==void 0?F:Math.ceil(p),height:(U=e.height)!==null&&U!==void 0?U:Math.ceil(x)},A?(c.logger.debug("Document cloned, using foreign object rendering"),B=new lye(c,E),[4,B.render(f)]):[3,3];case 2:return S=M.sent(),[3,5];case 3:return c.logger.debug("Document cloned, element located at "+v+","+y+" with size "+p+"x"+x+" using computed rendering"),c.logger.debug("Starting DOM parsing"),I=SV(c,f),b===I.styles.backgroundColor&&(I.styles.backgroundColor=Zc.TRANSPARENT),c.logger.debug("Starting renderer for element at "+E.x+","+E.y+" with size "+E.width+"x"+E.height),B=new rye(c,E),[4,B.render(I)];case 4:S=M.sent(),M.label=5;case 5:return(!((R=e.removeContainer)!==null&&R!==void 0)||R)&&(IO.destroy(h)||c.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),c.logger.debug("Finished rendering"),[2,S]}})})},hye=function(t,e,r){var n=e.ownerDocument,i=n.documentElement?nv(t,getComputedStyle(n.documentElement).backgroundColor):Zc.TRANSPARENT,a=n.body?nv(t,getComputedStyle(n.body).backgroundColor):Zc.TRANSPARENT,s=typeof r=="string"?nv(t,r):r===null?Zc.TRANSPARENT:4294967295;return e===n.documentElement?Hu(i)?Hu(a)?s:a:i:s};const fye=Object.freeze(Object.defineProperty({__proto__:null,default:HV},Symbol.toStringTag,{value:"Module"}));function rn(t){"@babel/helpers - typeof";return rn=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},rn(t)}var di=Uint8Array,to=Uint16Array,OT=Int32Array,R5=new di([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]),U5=new di([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]),b_=new di([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),zV=function(t,e){for(var r=new to(31),n=0;n<31;++n)r[n]=e+=1<<t[n-1];for(var i=new OT(r[30]),n=1;n<30;++n)for(var a=r[n];a<r[n+1];++a)i[a]=a-r[n]<<5|n;return{b:r,r:i}},VV=zV(R5,2),WV=VV.b,C_=VV.r;WV[28]=258,C_[258]=28;var KV=zV(U5,0),pye=KV.b,RO=KV.r,B_=new to(32768);for(var Fn=0;Fn<32768;++Fn){var HA=(Fn&43690)>>1|(Fn&21845)<<1;HA=(HA&52428)>>2|(HA&13107)<<2,HA=(HA&61680)>>4|(HA&3855)<<4,B_[Fn]=((HA&65280)>>8|(HA&255)<<8)>>1}var cc=function(t,e,r){for(var n=t.length,i=0,a=new to(e);i<n;++i)t[i]&&++a[t[i]-1];var s=new to(e);for(i=1;i<e;++i)s[i]=s[i-1]+a[i-1]<<1;var o;if(r){o=new to(1<<e);var c=15-e;for(i=0;i<n;++i)if(t[i])for(var A=i<<4|t[i],u=e-t[i],d=s[t[i]-1]++<<u,f=d|(1<<u)-1;d<=f;++d)o[B_[d]>>c]=A}else for(o=new to(n),i=0;i<n;++i)t[i]&&(o[i]=B_[s[t[i]-1]++]>>15-t[i]);return o},rd=new di(288);for(var Fn=0;Fn<144;++Fn)rd[Fn]=8;for(var Fn=144;Fn<256;++Fn)rd[Fn]=9;for(var Fn=256;Fn<280;++Fn)rd[Fn]=7;for(var Fn=280;Fn<288;++Fn)rd[Fn]=8;var u1=new di(32);for(var Fn=0;Fn<32;++Fn)u1[Fn]=5;var mye=cc(rd,9,0),gye=cc(rd,9,1),vye=cc(u1,5,0),xye=cc(u1,5,1),E4=function(t){for(var e=t[0],r=1;r<t.length;++r)t[r]>e&&(e=t[r]);return e},tl=function(t,e,r){var n=e/8|0;return(t[n]|t[n+1]<<8)>>(e&7)&r},N4=function(t,e){var r=e/8|0;return(t[r]|t[r+1]<<8|t[r+2]<<16)>>(e&7)},RT=function(t){return(t+7)/8|0},UT=function(t,e,r){return(r==null||r>t.length)&&(r=t.length),new di(t.subarray(e,r))}
vendor: 9,957 bytes, line 3592
3592,yye=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],gs=function(t,e,r){var n=new Error(e||yye[t]);if(n.code=t,Error.captureStackTrace&&Error.captureStackTrace(n,gs),!r)throw n;return n},wye=function(t,e,r,n){var i=t.length,a=0;if(!i||e.f&&!e.l)return r||new di(0);var s=!r,o=s||e.i!=2,c=e.i;s&&(r=new di(i*3));var A=function(Qe){var Me=r.length;if(Qe>Me){var Xe=new di(Math.max(Me*2,Qe));Xe.set(r),r=Xe}},u=e.f||0,d=e.p||0,f=e.b||0,h=e.l,m=e.d,p=e.m,x=e.n,v=i*8;do{if(!h){u=tl(t,d,1);var y=tl(t,d+1,3);if(d+=3,y)if(y==1)h=gye,m=xye,p=9,x=5;else if(y==2){var I=tl(t,d,31)+257,B=tl(t,d+10,15)+4,_=I+tl(t,d+5,31)+1;d+=14;for(var O=new di(_),j=new di(19),T=0;T<B;++T)j[b_[T]]=tl(t,d+T*3,7);d+=B*3;for(var P=E4(j),L=(1<<P)-1,K=cc(j,P,1),T=0;T<_;){var le=K[tl(t,d,L)];d+=le&15;var b=le>>4;if(b<16)O[T++]=b;else{var ne=0,fe=0;for(b==16?(fe=3+tl(t,d,3),d+=2,ne=O[T-1]):b==17?(fe=3+tl(t,d,7),d+=3):b==18&&(fe=11+tl(t,d,127),d+=7);fe--;)O[T++]=ne}}var te=O.subarray(0,I),he=O.subarray(I);p=E4(te),x=E4(he),h=cc(te,p,1),m=cc(he,x,1)}else gs(1);else{var b=RT(d)+4,E=t[b-4]|t[b-3]<<8,S=b+E;if(S>i){c&&gs(0);break}o&&A(f+E),r.set(t.subarray(b,S),f),e.b=f+=E,e.p=d=S*8,e.f=u;continue}if(d>v){c&&gs(0);break}}o&&A(f+131072);for(var ce=(1<<p)-1,Ne=(1<<x)-1,F=d;;F=d){var ne=h[N4(t,d)&ce],U=ne>>4;if(d+=ne&15,d>v){c&&gs(0);break}if(ne||gs(2),U<256)r[f++]=U;else if(U==256){F=d,h=null;break}else{var R=U-254;if(U>264){var T=U-257,M=R5[T];R=tl(t,d,(1<<M)-1)+WV[T],d+=M}var J=m[N4(t,d)&Ne],ue=J>>4;J||gs(3),d+=J&15;var he=pye[ue];if(ue>3){var M=U5[ue];he+=N4(t,d)&(1<<M)-1,d+=M}if(d>v){c&&gs(0);break}o&&A(f+131072);var de=f+R;if(f<he){var pe=a-he,be=Math.min(he,de);for(pe+f<0&&gs(3);f<be;++f)r[f]=n[pe+f]}for(;f<de;++f)r[f]=r[f-he]}}e.l=h,e.p=F,e.b=f,e.f=u,h&&(u=1,e.m=p,e.d=m,e.n=x)}while(!u);return f!=r.length&&s?UT(r,0,f):r.subarray(0,f)},Pc=function(t,e,r){r<<=e&7;var n=e/8|0;t[n]|=r,t[n+1]|=r>>8},Ym=function(t,e,r){r<<=e&7;var n=e/8|0;t[n]|=r,t[n+1]|=r>>8,t[n+2]|=r>>16},S4=function(t,e){for(var r=[],n=0;n<t.length;++n)t[n]&&r.push({s:n,f:t[n]});var i=r.length,a=r.slice();if(!i)return{t:GV,l:0};if(i==1){var s=new di(r[0].s+1);return s[r[0].s]=1,{t:s,l:1}}r.sort(function(S,I){return S.f-I.f}),r.push({s:-1,f:25001});var o=r[0],c=r[1],A=0,u=1,d=2;for(r[0]={s:-1,f:o.f+c.f,l:o,r:c};u!=i-1;)o=r[r[A].f<r[d].f?A++:d++],c=r[A!=u&&r[A].f<r[d].f?A++:d++],r[u++]={s:-1,f:o.f+c.f,l:o,r:c};for(var f=a[0].s,n=1;n<i;++n)a[n].s>f&&(f=a[n].s);var h=new to(f+1),m=E_(r[u-1],h,0);if(m>e){var n=0,p=0,x=m-e,v=1<<x;for(a.sort(function(I,B){return h[B.s]-h[I.s]||I.f-B.f});n<i;++n){var y=a[n].s;if(h[y]>e)p+=v-(1<<m-h[y]),h[y]=e;else break}for(p>>=x;p>0;){var b=a[n].s;h[b]<e?p-=1<<e-h[b]++-1:++n}for(;n>=0&&p;--n){var E=a[n].s;h[E]==e&&(--h[E],++p)}m=e}return{t:new di(h),l:m}},E_=function(t,e,r){return t.s==-1?Math.max(E_(t.l,e,r+1),E_(t.r,e,r+1)):e[t.s]=r},UO=function(t){for(var e=t.length;e&&!t[--e];);for(var r=new to(++e),n=0,i=t[0],a=1,s=function(c){r[n++]=c},o=1;o<=e;++o)if(t[o]==i&&o!=e)++a;else{if(!i&&a>2){for(;a>138;a-=138)s(32754);a>2&&(s(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(s(i),--a;a>6;a-=6)s(8304);a>2&&(s(a-3<<5|8208),a=0)}for(;a--;)s(i);a=1,i=t[o]}return{c:r.subarray(0,n),n:e}},Zm=function(t,e){for(var r=0,n=0;n<e.length;++n)r+=t[n]*e[n];return r},qV=function(t,e,r){var n=r.length,i=RT(e+2);t[i]=n&255,t[i+1]=n>>8,t[i+2]=t[i]^255,t[i+3]=t[i+1]^255;for(var a=0;a<n;++a)t[i+a+4]=r[a];return(i+4+n)*8},LO=function(t,e,r,n,i,a,s,o,c,A,u){Pc(e,u++,r),++i[256];for(var d=S4(i,15),f=d.t,h=d.l,m=S4(a,15),p=m.t,x=m.l,v=UO(f),y=v.c,b=v.n,E=UO(p),S=E.c,I=E.n,B=new to(19),_=0;_<y.length;++_)++B[y[_]&31];for(var _=0;_<S.length;++_)++B[S[_]&31];for(var O=S4(B,7),j=O.t,T=O.l,P=19;P>4&&!j[b_[P-1]];--P);var L=A+5<<3,K=Zm(i,rd)+Zm(a,u1)+s,le=Zm(i,f)+Zm(a,p)+s+14+3*P+Zm(B,j)+2*B[16]+3*B[17]+7*B[18];if(c>=0&&L<=K&&L<=le)return qV(e,u,t.subarray(c,c+A));var ne,fe,te,he;if(Pc(e,u,1+(le<K)),u+=2,le<K){ne=cc(f,h,0),fe=f,te=cc(p,x,0),he=p;var ce=cc(j,T,0);Pc(e,u,b-257),Pc(e,u+5,I-1),Pc(e,u+10,P-4),u+=14;for(var _=0;_<P;++_)Pc(e,u+3*_,j[b_[_]]);u+=3*P;for(var Ne=[y,S],F=0;F<2;++F)for(var U=Ne[F],_=0;_<U.length;++_){var R=U[_]&31;Pc(e,u,ce[R]),u+=j[R],R>15&&(Pc(e,u,U[_]>>5&127),u+=U[_]>>12)}}else ne=mye,fe=rd,te=vye,he=u1;for(var _=0;_<o;++_){var M=n[_];if(M>255){var R=M>>18&31;Ym(e,u,ne[R+257]),u+=fe[R+257],R>7&&(Pc(e,u,M>>23&31),u+=R5[R]);var J=M&31;Ym(e,u,te[J]),u+=he[J],J>3&&(Ym(e,u,M>>5&8191),u+=U5[J])}else Ym(e,u,ne[M]),u+=fe[M]}return Ym(e,u,ne[256]),u+fe[256]},bye=new OT([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),GV=new di(0),Cye=function(t,e,r,n,i,a){var s=a.z||t.length,o=new di(n+s+5*(1+Math.ceil(s/7e3))+i),c=o.subarray(n,o.length-i),A=a.l,u=(a.r||0)&7;if(e){u&&(c[0]=a.r>>3);for(var d=bye[e-1],f=d>>13,h=d&8191,m=(1<<r)-1,p=a.p||new to(32768),x=a.h||new to(m+1),v=Math.ceil(r/3),y=2*v,b=function(ot){return(t[ot]^t[ot+1]<<v^t[ot+2]<<y)&m},E=new OT(25e3),S=new to(288),I=new to(32),B=0,_=0,O=a.i||0,j=0,T=a.w||0,P=0;O+2<s;++O){var L=b(O),K=O&32767,le=x[L];if(p[K]=le,x[L]=K,T<=O){var ne=s-O;if((B>7e3||j>24576)&&(ne>423||!A)){u=LO(t,c,0,E,S,I,_,j,P,O-P,u),j=B=_=0,P=O;for(var fe=0;fe<286;++fe)S[fe]=0;for(var fe=0;fe<30;++fe)I[fe]=0}var te=2,he=0,ce=h,Ne=K-le&32767;if(ne>2&&L==b(O-Ne))for(var F=Math.min(f,ne)-1,U=Math.min(32767,O),R=Math.min(258,ne);Ne<=U&&--ce&&K!=le;){if(t[O+te]==t[O+te-Ne]){for(var M=0;M<R&&t[O+M]==t[O+M-Ne];++M);if(M>te){if(te=M,he=Ne,M>F)break;for(var J=Math.min(Ne,M-2),ue=0,fe=0;fe<J;++fe){var de=O-Ne+fe&32767,pe=p[de],be=de-pe&32767;be>ue&&(ue=be,le=de)}}}K=le,le=p[K],Ne+=K-le&32767}if(he){E[j++]=268435456|C_[te]<<18|RO[he];var Qe=C_[te]&31,Me=RO[he]&31;_+=R5[Qe]+U5[Me],++S[257+Qe],++I[Me],T=O+te,++B}else E[j++]=t[O],++S[t[O]]}}for(O=Math.max(O,T);O<s;++O)E[j++]=t[O],++S[t[O]];u=LO(t,c,A,E,S,I,_,j,P,O-P,u),A||(a.r=u&7|c[u/8|0]<<3,u-=7,a.h=x,a.p=p,a.i=O,a.w=T)}else{for(var O=a.w||0;O<s+A;O+=65535){var Xe=O+65535;Xe>=s&&(c[u/8|0]=A,Xe=s),u=qV(c,u+1,t.subarray(O,Xe))}a.i=s}return UT(o,0,n+RT(u)+i)},Bye=function(){for(var t=new Int32Array(256),e=0;e<256;++e){for(var r=e,n=9;--n;)r=(r&1&&-306674912)^r>>>1;t[e]=r}return t}(),Eye=function(){var t=-1;return{p:function(e){for(var r=t,n=0;n<e.length;++n)r=Bye[r&255^e[n]]^r>>>8;t=r},d:function(){return~t}}},JV=function(){var t=1,e=0;return{p:function(r){for(var n=t,i=e,a=r.length|0,s=0;s!=a;){for(var o=Math.min(s+2655,a);s<o;++s)i+=n+=r[s];n=(n&65535)+15*(n>>16),i=(i&65535)+15*(i>>16)}t=n,e=i},d:function(){return t%=65521,e%=65521,(t&255)<<24|(t&65280)<<8|(e&255)<<8|e>>8}}},XV=function(t,e,r,n,i){if(!i&&(i={l:1},e.dictionary)){var a=e.dictionary.subarray(-32768),s=new di(a.length+t.length);s.set(a),s.set(t,a.length),t=s,i.w=a.length}return Cye(t,e.level==null?6:e.level,e.mem==null?i.l?Math.ceil(Math.max(8,Math.min(13,Math.log(t.length)))*1.5):20:12+e.mem,r,n,i)},YV=function(t,e){var r={};for(var n in t)r[n]=t[n];for(var n in e)r[n]=e[n];return r},Ii=function(t,e,r){for(;r;++e)t[e]=r,r>>>=8},Nye=function(t,e){var r=e.level,n=r==0?0:r<6?1:r==9?3:2;if(t[0]=120,t[1]=n<<6|(e.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,e.dictionary){var i=JV();i.p(e.dictionary),Ii(t,2,i.d())}},Sye=function(t,e){return((t[0]&15)!=8||t[0]>>4>7||(t[0]<<8|t[1])%31)&&gs(6,"invalid zlib data"),(t[1]>>5&1)==+!e&&gs(6,"invalid zlib data: "+(t[1]&32?"need":"unexpected")+" dictionary"),(t[1]>>3&4)+2};function _ye(t,e){return XV(t,e||{},0,0)}function N_(t,e){e||(e={});var r=JV();r.p(t);var n=XV(t,e,e.dictionary?6:2,4);return Nye(n,e),Ii(n,n.length-4,r.d()),n}function Fye(t,e){return wye(t.subarray(Sye(t,e),-4),{i:2},e,e)}var ZV=function(t,e,r,n){for(var i in t){var a=t[i],s=e+i,o=n;Array.isArray(a)&&(o=YV(n,a[1]),a=a[0]),a instanceof di?r[s]=[a,o]:(r[s+="/"]=[new di(0),o],ZV(a,s,r,n))}},MO=typeof TextEncoder<"u"&&new TextEncoder,Tye=typeof TextDecoder<"u"&&new TextDecoder,jye=0;try{Tye.decode(GV,{stream:!0}),jye=1}catch{}function S_(t,e){var r;if(MO)return MO.encode(t);for(var n=t.length,i=new di(t.length+(t.length>>1)),a=0,s=function(A){i[a++]=A},r=0;r<n;++r){if(a+5>i.length){var o=new di(a+8+(n-r<<1));o.set(i),i=o}var c=t.charCodeAt(r);c<128||e?s(c):c<2048?(s(192|c>>6),s(128|c&63)):c>55295&&c<57344?(c=65536+(c&1047552)|t.charCodeAt(++r)&1023,s(240|c>>18),s(128|c>>12&63),s(128|c>>6&63),s(128|c&63)):(s(224|c>>12),s(128|c>>6&63),s(128|c&63))}return UT(i,0,a)}var __=function(t){var e=0;if(t)for(var r in t){var n=t[r].length;n>65535&&gs(9),e+=n+4}return e},QO=function(t,e,r,n,i,a,s,o){var c=n.length,A=r.extra,u=o&&o.length,d=__(A);Ii(t,e,s!=null?33639248:67324752),e+=4,s!=null&&(t[e++]=20,t[e++]=r.os),t[e]=20,e+=2,t[e++]=r.flag<<1|(a<0&&8),t[e++]=i&&8,t[e++]=r.compression&255,t[e++]=r.compression>>8;var f=new Date(r.mtime==null?Date.now():r.mtime),h=f.getFullYear()-1980;if((h<0||h>119)&&gs(10),Ii(t,e,h<<25|f.getMonth()+1<<21|f.getDate()<<16|f.getHours()<<11|f.getMinutes()<<5|f.getSeconds()>>1),e+=4,a!=-1&&(Ii(t,e,r.crc),Ii(t,e+4,a<0?-a-2:a),Ii(t,e+8,r.size)),Ii(t,e+12,c),Ii(t,e+14,d),e+=16,s!=null&&(Ii(t,e,u),Ii(t,e+6,r.attrs),Ii(t,e+10,s),e+=14),t.set(n,e),e+=c,d)for(var m in A){var p=A[m],x=p.length;Ii(t,e,+m),Ii(t,e+2,x),t.set(p,e+4),e+=4+x}return u&&(t.set(o,e),e+=u),e},Iye=function(t,e,r,n,i){Ii(t,e,101010256),Ii(t,e+8,r),Ii(t,e+10,r),Ii(t,e+12,n),Ii(t,e+16,i)};function $V(t,e){e||(e={});var r={},n=[];ZV(t,"",r,e);var i=0,a=0;for(var s in r){var o=r[s],c=o[0],A=o[1],u=A.level==0?0:8,d=S_(s),f=d.length,h=A.comment,m=h&&S_(h),p=m&&m.length,x=__(A.extra);f>65535&&gs(11);var v=u?_ye(c,A):c,y=v.length,b=Eye();b.p(c),n.push(YV(A,{size:c.length,crc:b.d(),c:v,f:d,m,u:f!=s.length||m&&h.length!=p,o:i,compression:u})),i+=30+f+x+y,a+=76+2*(f+x)+(p||0)+y}for(var E=new di(a+22),S=i,I=a-i,B=0;B<n.length;++B){var d=n[B];QO(E,d.o,d,d.f,d.u,d.c.length);var _=30+d.f.length+__(d.extra);
3592E.set(d.c,d.o+_),QO(E,i,d,d.f,d.u,d.c.length,d.o,d.m),i+=16+_+(d.m?d.m.length:0)}return Iye(E,i,n.length,I,S),E}var Wt=function(){return typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:this}();function _4(){Wt.console&&typeof Wt.console.log=="function"&&Wt.console.log.apply(Wt.console,arguments)}var mn={log:_4,warn:function(t){Wt.console&&(typeof Wt.console.warn=="function"?Wt.console.warn.apply(Wt.console,arguments):_4.call(null,arguments))},error:function(t){Wt.console&&(typeof Wt.console.error=="function"?Wt.console.error.apply(Wt.console,arguments):_4(t))}};function F4(t,e,r){var n=new XMLHttpRequest;n.open("GET",t),n.responseType="blob",n.onload=function(){Ld(n.response,e,r)},n.onerror=function(){mn.error("could not download file")},n.send()}function HO(t){var e=new XMLHttpRequest;e.open("HEAD",t,!1);try{e.send()}catch{}return e.status>=200&&e.status<=299}function pw(t){try{t.dispatchEvent(new MouseEvent("click"))}catch{var e=document.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,
vendor: 3,357 bytes, lines 3592-3597
3592!1,!1,0,null),t.dispatchEvent(e)}}var ov,F_,Ld=Wt.saveAs||((typeof window>"u"?"undefined":rn(window))!=="object"||window!==Wt?function(){}:typeof HTMLAnchorElement<"u"&&"download"in HTMLAnchorElement.prototype?function(t,e,r){var n=Wt.URL||Wt.webkitURL,i=document.createElement("a");e=e||t.name||"download",i.download=e,i.rel="noopener",typeof t=="string"?(i.href=t,i.origin!==location.origin?HO(i.href)?F4(t,e,r):pw(i,i.target="_blank"):pw(i)):(i.href=n.createObjectURL(t),setTimeout(function(){n.revokeObjectURL(i.href)},4e4),setTimeout(function(){pw(i)},0))}:"msSaveOrOpenBlob"in navigator?function(t,e,r){if(e=e||t.name||"download",typeof t=="string")if(HO(t))F4(t,e,r);else{var n=document.createElement("a");n.href=t,n.target="_blank",setTimeout(function(){pw(n)})}else navigator.msSaveOrOpenBlob(function(i,a){return a===void 0?a={autoBom:!1}:rn(a)!=="object"&&(mn.warn("Deprecated: Expected third argument to be a object"),a={autoBom:!a}),a.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(i.type)?new Blob(["\uFEFF",i],{type:i.type}):i}(t,r),e)}:function(t,e,r,n){if((n=n||open("","_blank"))&&(n.document.title=n.document.body.innerText="downloading..."),typeof t=="string")return F4(t,e,r);var i=t.type==="application/octet-stream",a=/constructor/i.test(Wt.HTMLElement)||Wt.safari,s=/CriOS\/[\d]+/.test(navigator.userAgent);if((s||i&&a)&&(typeof FileReader>"u"?"undefined":rn(FileReader))==="object"){var o=new FileReader;o.onloadend=function(){var u=o.result;u=s?u:u.replace(/^data:[^;]*;/,"data:attachment/file;"),n?n.location.href=u:location=u,n=null},o.readAsDataURL(t)}else{var c=Wt.URL||Wt.webkitURL,A=c.createObjectURL(t);n?n.location=A:location.href=A,n=null,setTimeout(function(){c.revokeObjectURL(A)},4e4)}});/** 3593 * A class to parse color values 3594 * @author Stoyan Stefanov <[email protected]> 3595 * {@link http://www.phpied.com/rgb-color-parser-in-javascript/} 3596 * @license Use it if you like it 3597 */function eW(t){var e;t=t||"",this.ok=!1,t.charAt(0)=="#"&&(t=t.substr(1,6)),t={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee9
35970",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[t=(t=t.replace(/ /g,"")).toLowerCase()]||t;for(var r=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(o){return[parseInt(o[1]),parseInt(o[2]),parseInt(o[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(o){return[parseInt(o[1],16),parseInt(o[2],16),parseInt(o[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(o){return[parseInt(o[1]+o[1],16),parseInt(o[2]+o[2],16),parseInt(o[3]+o[3],16)]}}],n=0;n<r.length;n++){var i=r[n].re,a=r[n].process,s=i.exec(t);
vendor: 25,598 bytes, lines 3597-3624
3597s&&(e=a(s),this.r=e[0],this.g=e[1],this.b=e[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var o=this.r.toString(16),c=this.g.toString(16),A=this.b.toString(16);return o.length==1&&(o="0"+o),c.length==1&&(c="0"+c),A.length==1&&(A="0"+A),"#"+o+c+A}}/** 3598 * @license 3599 * Joseph Myers does not specify a particular license for his work. 3600 * 3601 * Author: Joseph Myers 3602 * Accessed from: http://www.myersdaily.org/joseph/javascript/md5.js 3603 * 3604 * Modified by: Owen Leong 3605 */function T4(t,e){var r=t[0],n=t[1],i=t[2],a=t[3];r=_a(r,n,i,a,e[0],7,-680876936),a=_a(a,r,n,i,e[1],12,-389564586),i=_a(i,a,r,n,e[2],17,606105819),n=_a(n,i,a,r,e[3],22,-1044525330),r=_a(r,n,i,a,e[4],7,-176418897),a=_a(a,r,n,i,e[5],12,1200080426),i=_a(i,a,r,n,e[6],17,-1473231341),n=_a(n,i,a,r,e[7],22,-45705983),r=_a(r,n,i,a,e[8],7,1770035416),a=_a(a,r,n,i,e[9],12,-1958414417),i=_a(i,a,r,n,e[10],17,-42063),n=_a(n,i,a,r,e[11],22,-1990404162),r=_a(r,n,i,a,e[12],7,1804603682),a=_a(a,r,n,i,e[13],12,-40341101),i=_a(i,a,r,n,e[14],17,-1502002290),r=Fa(r,n=_a(n,i,a,r,e[15],22,1236535329),i,a,e[1],5,-165796510),a=Fa(a,r,n,i,e[6],9,-1069501632),i=Fa(i,a,r,n,e[11],14,643717713),n=Fa(n,i,a,r,e[0],20,-373897302),r=Fa(r,n,i,a,e[5],5,-701558691),a=Fa(a,r,n,i,e[10],9,38016083),i=Fa(i,a,r,n,e[15],14,-660478335),n=Fa(n,i,a,r,e[4],20,-405537848),r=Fa(r,n,i,a,e[9],5,568446438),a=Fa(a,r,n,i,e[14],9,-1019803690),i=Fa(i,a,r,n,e[3],14,-187363961),n=Fa(n,i,a,r,e[8],20,1163531501),r=Fa(r,n,i,a,e[13],5,-1444681467),a=Fa(a,r,n,i,e[2],9,-51403784),i=Fa(i,a,r,n,e[7],14,1735328473),r=Ta(r,n=Fa(n,i,a,r,e[12],20,-1926607734),i,a,e[5],4,-378558),a=Ta(a,r,n,i,e[8],11,-2022574463),i=Ta(i,a,r,n,e[11],16,1839030562),n=Ta(n,i,a,r,e[14],23,-35309556),r=Ta(r,n,i,a,e[1],4,-1530992060),a=Ta(a,r,n,i,e[4],11,1272893353),i=Ta(i,a,r,n,e[7],16,-155497632),n=Ta(n,i,a,r,e[10],23,-1094730640),r=Ta(r,n,i,a,e[13],4,681279174),a=Ta(a,r,n,i,e[0],11,-358537222),i=Ta(i,a,r,n,e[3],16,-722521979),n=Ta(n,i,a,r,e[6],23,76029189),r=Ta(r,n,i,a,e[9],4,-640364487),a=Ta(a,r,n,i,e[12],11,-421815835),i=Ta(i,a,r,n,e[15],16,530742520),r=ja(r,n=Ta(n,i,a,r,e[2],23,-995338651),i,a,e[0],6,-198630844),a=ja(a,r,n,i,e[7],10,1126891415),i=ja(i,a,r,n,e[14],15,-1416354905),n=ja(n,i,a,r,e[5],21,-57434055),r=ja(r,n,i,a,e[12],6,1700485571),a=ja(a,r,n,i,e[3],10,-1894986606),i=ja(i,a,r,n,e[10],15,-1051523),n=ja(n,i,a,r,e[1],21,-2054922799),r=ja(r,n,i,a,e[8],6,1873313359),a=ja(a,r,n,i,e[15],10,-30611744),i=ja(i,a,r,n,e[6],15,-1560198380),n=ja(n,i,a,r,e[13],21,1309151649),r=ja(r,n,i,a,e[4],6,-145523070),a=ja(a,r,n,i,e[11],10,-1120210379),i=ja(i,a,r,n,e[2],15,718787259),n=ja(n,i,a,r,e[9],21,-343485551),t[0]=yu(r,t[0]),t[1]=yu(n,t[1]),t[2]=yu(i,t[2]),t[3]=yu(a,t[3])}function L5(t,e,r,n,i,a){return e=yu(yu(e,t),yu(n,a)),yu(e<<i|e>>>32-i,r)}function _a(t,e,r,n,i,a,s){return L5(e&r|~e&n,t,e,i,a,s)}function Fa(t,e,r,n,i,a,s){return L5(e&n|r&~n,t,e,i,a,s)}function Ta(t,e,r,n,i,a,s){return L5(e^r^n,t,e,i,a,s)}function ja(t,e,r,n,i,a,s){return L5(r^(e|~n),t,e,i,a,s)}function tW(t){var e,r=t.length,n=[1732584193,-271733879,-1732584194,271733878];for(e=64;e<=t.length;e+=64)T4(n,kye(t.substring(e-64,e)));t=t.substring(e-64);var i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(e=0;e<t.length;e++)i[e>>2]|=t.charCodeAt(e)<<(e%4<<3);if(i[e>>2]|=128<<(e%4<<3),e>55)for(T4(n,i),e=0;e<16;e++)i[e]=0;return i[14]=8*r,T4(n,i),n}function kye(t){var e,r=[];for(e=0;e<64;e+=4)r[e>>2]=t.charCodeAt(e)+(t.charCodeAt(e+1)<<8)+(t.charCodeAt(e+2)<<16)+(t.charCodeAt(e+3)<<24);return r}ov=Wt.atob.bind(Wt),F_=Wt.btoa.bind(Wt);var zO="0123456789abcdef".split("");function Pye(t){for(var e="",r=0;r<4;r++)e+=zO[t>>8*r+4&15]+zO[t>>8*r&15];return e}function Dye(t){return String.fromCharCode((255&t)>>0,(65280&t)>>8,(16711680&t)>>16,(4278190080&t)>>24)}function T_(t){return tW(t).map(Dye).join("")}var Oye=function(t){for(var e=0;e<t.length;e++)t[e]=Pye(t[e]);return t.join("")}(tW("hello"))!="5d41402abc4b2a76b9719d911017c592";function yu(t,e){if(Oye){var r=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(r>>16)<<16|65535&r}return t+e&4294967295}/** 3606 * @license 3607 * FPDF is released under a permissive license: there is no usage restriction. 3608 * You may embed it freely in your application (commercial or not), with or 3609 * without modifications. 3610 * 3611 * Reference: http://www.fpdf.org/en/script/script37.php 3612 */function j_(t,e){var r,n,i,a;if(t!==r){for(var s=(i=t,a=1+(256/t.length>>0),new Array(a+1).join(i)),o=[],c=0;c<256;c++)o[c]=c;var A=0;for(c=0;c<256;c++){var u=o[c];A=(A+u+s.charCodeAt(c))%256,o[c]=o[A],o[A]=u}r=t,n=o}else o=n;var d=e.length,f=0,h=0,m="";for(c=0;c<d;c++)h=(h+(u=o[f=(f+1)%256]))%256,o[f]=o[h],o[h]=u,s=o[(o[f]+o[h])%256],m+=String.fromCharCode(e.charCodeAt(c)^s);return m}/** 3613 * @license 3614 * Licensed under the MIT License. 3615 * http://opensource.org/licenses/mit-license 3616 * Author: Owen Leong (@owenl131) 3617 * Date: 15 Oct 2020 3618 * References: 3619 * https://www.cs.cmu.edu/~dst/Adobe/Gallery/anon21jul01-pdf-encryption.txt 3620 * https://github.com/foliojs/pdfkit/blob/master/lib/security.js 3621 * http://www.fpdf.org/en/script/script37.php 3622 */var VO={print:4,modify:8,copy:16,"annot-forms":32};function $f(t,e,r,n){this.v=1,this.r=2;var i=192;t.forEach(function(o){if(VO.perm!==void 0)throw new Error("Invalid permission: "+o);i+=VO[o]}),this.padding="(¿N^NuÂAd\0NVÿú�\b..\0¶Ãh>Â/\f©þdSiz";var a=(e+this.padding).substr(0,32),s=(r+this.padding).substr(0,32);this.O=this.processOwnerPassword(a,s),this.P=-(1+(255^i)),this.encryptionKey=T_(a+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(n)).substr(0,5),this.U=j_(this.encryptionKey,this.padding)}function e0(t){if(/[^\u0000-\u00ff]/.test(t))throw new Error("Invalid PDF Name Object: "+t+", Only accept ASCII characters.");for(var e="",r=t.length,n=0;n<r;n++){var i=t.charCodeAt(n);i<33||i===35||i===37||i===40||i===41||i===47||i===60||i===62||i===91||i===93||i===123||i===125||i>126?e+="#"+("0"+i.toString(16)).slice(-2):e+=t[n]}return e}function WO(t){if(rn(t)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var e={};this.subscribe=function(r,n,i){if(i=i||!1,typeof r!="string"||typeof n!="function"||typeof i!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");e.hasOwnProperty(r)||(e[r]={});var a=Math.random().toString(35);return e[r][a]=[n,!!i],a},this.unsubscribe=function(r){for(var n in e)if(e[n][r])return delete e[n][r],Object.keys(e[n]).length===0&&delete e[n],!0;return!1},this.publish=function(r){if(e.hasOwnProperty(r)){var n=Array.prototype.slice.call(arguments,1),i=[];for(var a in e[r]){var s=e[r][a];try{s[0].apply(t,n)}catch(o){Wt.console&&mn.error("jsPDF PubSub Error",o.message,o)}s[1]&&i.push(a)}i.length&&i.forEach(this.unsubscribe)}},this.getTopics=function(){return e}}function Kb(t){if(!(this instanceof Kb))return new Kb(t);var e="opacity,stroke-opacity".split(",");for(var r in t)t.hasOwnProperty(r)&&e.indexOf(r)>=0&&(this[r]=t[r]);this.id="",this.objectNumber=-1}function rW(t,e){this.gState=t,this.matrix=e,this.id="",this.objectNumber=-1}function Vd(t,e,r,n,i){if(!(this instanceof Vd))return new Vd(t,e,r,n,i);this.type=t==="axial"?2:3,this.coords=e,this.colors=r,rW.call(this,n,i)}function w0(t,e,r,n,i){if(!(this instanceof w0))return new w0(t,e,r,n,i);this.boundingBox=t,this.xStep=e,this.yStep=r,this.stream="",this.cloneIndex=0,rW.call(this,n,i)}function zt(t){var e,r=typeof arguments[0]=="string"?arguments[0]:"p",n=arguments[1],i=arguments[2],a=arguments[3],s=[],o=1,c=16,A="S",u=null;rn(t=t||{})==="object"&&(r=t.orientation,n=t.unit||n,i=t.format||i,a=t.compress||t.compressPdf||a,(u=t.encryption||null)!==null&&(u.userPassword=u.userPassword||"",u.ownerPassword=u.ownerPassword||"",u.userPermissions=u.userPermissions||[]),o=typeof t.userUnit=="number"?Math.abs(t.userUnit):1,t.precision!==void 0&&(e=t.precision),t.floatPrecision!==void 0&&(c=t.floatPrecision),A=t.defaultPathOperation||"S"),s=t.filters||(a===!0?["FlateEncode"]:s),n=n||"mm",r=(""+(r||"P")).toLowerCase();var d=t.putOnlyUsedFonts||!1,f={},h={internal:{},__private__:{}};h.__private__.PubSub=WO;var m="1.3",p=h.__private__.getPdfVersion=function(){return m};h.__private__.setPdfVersion=function(C){m=C};var x={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],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};h.__private__.getPageFormats=function(){return x};var v=h.__private__.getPageFormat=function(C){return x[C]};i=i||"a4";var y={COMPAT:"compat",ADVANCED:"advanced"},b=y.COMPAT;function E(){this.saveGraphicsState(),oe(new Mt(Ue,0,0,-Ue,0,BA()*Ue).toString()+" cm"),this.setFontSize(this.getFontSize()/Ue),A="n",b=y.ADVANCED}function S(){this.restoreGraphicsState(),A="S",b=y.COMPAT}var I=h.__private__.combineFontStyleAndFontWeight=function(C,H){if(C=="bold"&&H=="normal"||C=="bold"&&H==400||C=="normal"&&H=="italic"||C=="bold"&&H=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return H&&(C=H==400||H==="normal"?C==="italic"?"italic":"normal":H!=700&&H!=="bold"||C!=="normal"?(H==700?"bold":H)+""+C:"bold"),C};h.advancedAPI=function(C){var H=b===y.COMPAT;return H&&E.call(this),typeof C!="function"||(C(this),H&&S.call(this)),this},h.compatAPI=function(C){var H=b===y.ADVANCED;return H&&S.call(this),typeof C!="function"||(C(this),H&&E.call(this)),this},h.isAdvancedAPI=function(){return b===y.ADVANCED};var B,_=function(C){if(b!==y.ADVANCED)throw new Error(C+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},O=h.roundToPrecision=h.__private__.roundToPrecision=function(C,H){var Ae=e||H;if(isNaN(C)||isNaN(Ae))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return C.toFixed(Ae).replace(/0+$/,"")};B=h.hpf=h.__private__.hpf=typeof c=="number"?function(C){if(isNaN(C))throw new Error("Invalid argument passed to jsPDF.hpf");return O(C,c)}:c==="smart"?function(C){if(isNaN(C))throw new Error("Invalid argument passed to jsPDF.hpf");return O(C,C>-1&&C<1?16:5)}:function(C){if(isNaN(C))throw new Error("Invalid argument passed to jsPDF.hpf");return O(C,16)};var j=h.f2=h.__private__.f2=function(C){if(isNaN(C))throw new Error("Invalid argument passed to jsPDF.f2");return O(C,2)},T=h.__private__.f3=function(C){if(isNaN(C))throw new Error("Invalid argument passed to jsPDF.f3");return O(C,3)},P=h.scale=h.__private__.scale=function(C){if(isNaN(C))throw new Error("Invalid argument passed to jsPDF.scale");return b===y.COMPAT?C*Ue:b===y.ADVANCED?C:void 0},L=function(C){return b===y.COMPAT?BA()-C:b===y.ADVANCED?C:void 0},K=function(C){return P(L(C))};h.__private__.setPrecision=h.setPrecision=function(C){typeof parseInt(C,10)=="number"&&(e=parseInt(C,10))};var le,ne="00000000000000000000000000000000",fe=h.__private__.getFileId=function(){return ne},te=h.__private__.setFileId=function(C){return ne=C!==void 0&&/^[a-fA-F0-9]{32}$/.test(C)?C.toUpperCase():ne.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),u!==null&&(Ba=new $f(u.userPermissions,u.userPassword,u.ownerPassword,ne)),ne};h.setFileId=function(C){return te(C),this},h.getFileId=function(){return fe()};var he=h.__private__.convertDateToPDFDate=function(C){var H=C.getTimezoneOffset(),Ae=H<0?"+":"-",me=Math.floor(Math.abs(H/60)),Te=Math.abs(H%60),He=[Ae,R(me),"'",R(Te),"'"].join("");return["D:",C.getFullYear(),R(C.getMonth()+1),R(C.getDate()),R(C.getHours()),R(C.getMinutes()),R(C.getSeconds()),He].join("")},ce=h.__private__.convertPDFDateToDate=function(C){var H=parseInt(C.substr(2,4),10),Ae=parseInt(C.substr(6,2),10)-1,me=parseInt(C.substr(8,2),10),Te=parseInt(C.substr(10,2),10),He=parseInt(C.substr(12,2),10),it=parseInt(C.substr(14,2),10);return new Date(H,Ae,me,Te,He,it,0)},Ne=h.__private__.setCreationDate=function(C){var H;if(C===void 0&&(C=new Date),C instanceof Date)H=he(C);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(C))throw new Error("Invalid argument passed to jsPDF.setCreationDate");H=C}return le=H},F=h.__private__.getCreationDate=function(C){var H=le;return C==="jsDate"&&(H=ce(le)),H};h.setCreationDate=function(C){return Ne(C),this},h.getCreationDate=function(C){return F(C)};var U,R=h.__private__.padd2=function(C){return("0"+parseInt(C)).slice(-2)},M=h.__private__.padd2Hex=function(C){return("00"+(C=C.toString())).substr(C.length)},J=0,ue=[],de=[],pe=0,be=[],Qe=[],Me=!1,Xe=de,ot=function(){J=0,pe=0,de=[],ue=[],be=[],ee=Bn(),k=Bn()};h.__private__.setCustomOutputDestination=function(C){Me=!0,Xe=C};var De=function(C){Me||(Xe=C)};h.__private__.resetCustomOutputDestination=function(){Me=!1,Xe=de};var oe=h.__private__.out=function(C){return C=C.toString(),pe+=C.length+1,Xe.push(C),Xe},Ke=h.__private__.write=function(C){return oe(arguments.length===1?C.toString():Array.prototype.join.call(arguments," "))},dt=h.__private__.getArrayBuffer=function(C){for(var H=C.length,Ae=new ArrayBuffer(H),me=new Uint8Array(Ae);H--;)me[H]=C.charCodeAt(H);return Ae},Ee=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];h.__private__.getStandardFonts=function(){return Ee};var We=t.fontSize||16;h.__private__.setFontSize=h.setFontSize=function(C){return We=b===y.ADVANCED?C/Ue:C,this};var Ze,rt=h.__private__.getFontSize=h.getFontSize=function(){return b===y.COMPAT?We:We*Ue},$e=t.R2L||!1;h.__private__.setR2L=h.setR2L=function(C){return $e=C,this},h.__private__.getR2L=h.getR2L=function(){return $e};var Se,Ve=h.__private__.setZoomMode=function(C){var H=[void 0,null,"fullwidth","fullheight","fullpage","original"];if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(C))Ze=C;else if(isNaN(C)){if(H.indexOf(C)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+C+'" is not recognized.');Ze=C}else Ze=parseInt(C,10)};h.__private__.getZoomMode=function(){return Ze};var vt,Tt=h.__private__.setPageMode=function(C){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(C)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+C+'" is not recognized.');Se=C};h.__private__.getPageMode=function(){return Se};var Ie=h.__private__.setLayoutMode=function(C){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(C)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+C+'" is not recognized.');vt=C};h.__private__.getLayoutMode=function(){return vt},h.__private__.setDisplayMode=h.setDisplayMode=function(C,H,Ae){return Ve(C),Ie(H),Tt(Ae),this};var Re={title:"",subject:"",author:"",keywords:"",creator:""};h.__private__.getDocumentProperty=function(C){if(Object.keys(Re).indexOf(C)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return Re[C]},h.__private__.getDocumentProperties=function(){return Re},h.__private__.setDocumentProperties=h.setProperties=h.setDocumentProperties=function(C){for(var H in Re)Re.hasOwnProperty(H)&&C[H]&&(Re[H]=C[H]);return this},h.__private__.setDocumentProperty=function(C,H){if(Object.keys(Re).indexOf(C)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return Re[C]=H};var Oe,Ue,Ft,gt,Kr,Dt={},yr={},Kn=[],dr={},co={},fn={},Ma={},Ps=null,Xr=0,Gt=[],Tr=new WO(h),Ao=t.hotfixes||[],ti={},As={},us=[],Mt=function C(H,Ae,me,Te,He,it){if(!(this instanceof C))return new C(H,Ae,me,Te,He,it);isNaN(H)&&(H=1),isNaN(Ae)&&(Ae=0),isNaN(me)&&(me=0),isNaN(Te)&&(Te=1),isNaN(He)&&(He=0),isNaN(it)&&(it=0),this._matrix=[H,Ae,me,Te,He,it]};Object.defineProperty(Mt.prototype,"sx",{get:function(){return this._matrix[0]},set:function(C){this._matrix[0]=C}}),Object.defineProperty(Mt.prototype,"shy",{get:function(){return this._matrix[1]},set:function(C){this._matrix[1]=C}}),Object.defineProperty(Mt.prototype,"shx",{get:function(){return this._matrix[2]},set:function(C){this._matrix[2]=C}}),Object.defineProperty(Mt.prototype,"sy",{get:function(){return this._matrix[3]},set:function(C){this._matrix[3]=C}}),Object.defineProperty(Mt.prototype,"tx",{get:function(){return this._matrix[4]},set:function(C){this._matrix[4]=C}}),Object.defineProperty(Mt.prototype,"ty",{get:function(){return this._matrix[5]},set:function(C){this._matrix[5]=C}}),Object.defineProperty(Mt.prototype,"a",{get:function(){return this._matrix[0]},set:function(C){this._matrix[0]=C}}),Object.defineProperty(Mt.prototype,"b",{get:function(){return this._matrix[1]},set:function(C){this._matrix[1]=C}}),Object.defineProperty(Mt.prototype,"c",{get:function(){return this._matrix[2]},set:function(C){this._matrix[2]=C}}),Object.defineProperty(Mt.prototype,"d",{get:function(){return this._matrix[3]},set:function(C){this._matrix[3]=C}}),Object.defineProperty(Mt.prototype,"e",{get:function(){return this._matrix[4]},set:function(C){this._matrix[4]=C}}),Object.defineProperty(Mt.prototype,"f",{get:function(){return this._matrix[5]},set:function(C){this._matrix[5]=C}}),Object.defineProperty(Mt.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Mt.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Mt.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Mt.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),Mt.prototype.join=function(C){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(B).join(C)},Mt.prototype.multiply=function(C){var H=C.sx*this.sx+C.shy*this.shx,Ae=C.sx*this.shy+C.shy*this.sy,me=C.shx*this.sx+C.sy*this.shx,Te=C.shx*this.shy+C.sy*this.sy,He=C.tx*this.sx+C.ty*this.shx+this.tx,it=C.tx*this.shy+C.ty*this.sy+this.ty;return new Mt(H,Ae,me,Te,He,it)},Mt.prototype.decompose=function(){var C=this.sx,H=this.shy,Ae=this.shx,me=this.sy,Te=this.tx,He=this.ty,it=Math.sqrt(C*C+H*H),Et=(C/=it)*Ae+(H/=it)*me;Ae-=C*Et,me-=H*Et;var Lt=Math.sqrt(Ae*Ae+me*me);return Et/=Lt,C*(me/=Lt)<H*(Ae/=Lt)&&(C=-C,H=-H,Et=-Et,it=-it),{scale:new Mt(it,0,0,Lt,0,0),translate:new Mt(1,0,0,1,Te,He),rotate:new Mt(C,H,-H,C,0,0),skew:new Mt(1,0,Et,1,0,0)}},Mt.prototype.toString=function(C){return this.join(" ")},Mt.prototype.inversed=function(){var C=this.sx,H=this.shy,Ae=this.shx,me=this.sy,Te=this.tx,He=this.ty,it=1/(C*me-H*Ae),Et=me*it,Lt=-H*it,or=-Ae*it,ir=C*it;return new Mt(Et,Lt,or,ir,-Et*Te-or*He,-Lt*Te-ir*He)},Mt.prototype.applyToPoint=function(C){var H=C.x*this.sx+C.y*this.shx+this.tx,Ae=C.x*this.shy+C.y*this.sy+this.ty;return new of(H,Ae)},Mt.prototype.applyToRectangle=function(C){var H=this.applyToPoint(C),Ae=this.applyToPoint(new of(C.x+C.w,C.y+C.h));return new nm(H.x,H.y,Ae.x-H.x,Ae.y-H.y)},Mt.prototype.clone=function(){var C=this.sx,H=this.shy,Ae=this.shx,me=this.sy,Te=this.tx,He=this.ty;return new Mt(C,H,Ae,me,Te,He)},h.Matrix=Mt;var Qa=h.matrixMult=function(C,H){return H.multiply(C)},vr=new Mt(1,0,0,1,0,0);h.unitMatrix=h.identityMatrix=vr;var Si=function(C,H){if(!co[C]){var Ae=(H instanceof Vd?"Sh":"P")+(Object.keys(dr).length+1).toString(10);H.id=Ae,co[C]=Ae,dr[Ae]=H,Tr.publish("addPattern",H)}};h.ShadingPattern=Vd,h.TilingPattern=w0,h.addShadingPattern=function(C,H){return _("addShadingPattern()"),Si(C,H),this},h.beginTilingPattern=function(C){_("beginTilingPattern()"),Cx(C.boundingBox[0],C.boundingBox[1],C.boundingBox[2]-C.boundingBox[0],C.boundingBox[3]-C.boundingBox[1],C.matrix)},h.endTilingPattern=function(C,H){_("endTilingPattern()"),H.stream=Qe[U].join(` 3623`),Si(C,H),Tr.publish("endTilingPattern",H),us.pop().restore()};var Un=h.__private__.newObject=function(){var C=Bn();return z(C,!0),C},Bn=h.__private__.newObjectDeferred=function(){return J++,ue[J]=function(){return pe},J},z=function(C,H){return H=typeof H=="boolean"&&H,ue[C]=pe,H&&oe(C+" 0 obj"),C},se=h.__private__.newAdditionalObject=function(){var C={objId:Bn(),content:""};return be.push(C),C},ee=Bn(),k=Bn(),q=h.__private__.decodeColorString=function(C){var H=C.split(" ");if(H.length!==2||H[1]!=="g"&&H[1]!=="G")H.length===5&&(H[4]==="k"||H[4]==="K")&&(H=[(1-H[0])*(1-H[3]),(1-H[1])*(1-H[3]),(1-H[2])*(1-H[3]),"r"]);else{var Ae=parseFloat(H[0]);H=[Ae,Ae,Ae,"r"]}for(var me="#",Te=0;Te<3;Te++)me+=("0"+Math.floor(255*parseFloat(H[Te])).toString(16)).slice(-2);return me},Y=h.__private__.encodeColorString=function(C){var H;typeof C=="string"&&(C={ch1:C});var Ae=C.ch1,me=C.ch2,Te=C.ch3,He=C.ch4,it=C.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"];if(typeof Ae=="string"&&Ae.charAt(0)!=="#"){var Et=new eW(Ae);if(Et.ok)Ae=Et.toHex();else if(!/^\d*\.?\d*$/.test(Ae))throw new Error('Invalid color "'+Ae+'" passed to jsPDF.encodeColorString.')}if(typeof Ae=="string"&&/^#[0-9A-Fa-f]{3}$/.test(Ae)&&(Ae="#"+Ae[1]+Ae[1]+Ae[2]+Ae[2]+Ae[3]+Ae[3]),typeof Ae=="string"&&/^#[0-9A-Fa-f]{6}$/.test(Ae)){var Lt=parseInt(Ae.substr(1),16);Ae=Lt>>16&255,me=Lt>>8&255,Te=255&Lt}if(me===void 0||He===void 0&&Ae===me&&me===Te)if(typeof Ae=="string")H=Ae+" "+it[0];else switch(C.precision){case 2:H=j(Ae/255)+" "+it[0];break;case 3:default:H=T(Ae/255)+" "+it[0]}else if(He===void 0||rn(He)==="object"){if(He&&!isNaN(He.a)&&He.a===0)return H=["1.","1.","1.",it[1]].join(" ");if(typeof Ae=="string")H=[Ae,me,Te,it[1]].join(" ");else switch(C.precision){case 2:H=[j(Ae/255),j(me/255),j(Te/255),it[1]].join(" ");break;default:case 3:H=[T(Ae/255),T(me/255),T(Te/255),it[1]].join(" ")}}else if(typeof Ae=="string")H=[Ae,me,Te,He,it[2]].join(" ");else switch(C.precision){case 2:H=[j(Ae),j(me),j(Te),j(He),it[2]].join(" ");break;case 3:default:H=[T(Ae),T(me),T(Te),T(He),it[2]].join(" ")}return H},ye=h.__private__.getFilters=function(){return s},Be=h.__private__.putStream=function(C){var H=(C=C||{}).data||"",Ae=C.filters||ye(),me=C.alreadyAppliedFilters||[],Te=C.addLength1||!1,He=H.length,it=C.objectId,Et=function(Ea){return Ea};if(u!==null&&it===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");u!==null&&(Et=Ba.encryptor(it,0));var Lt={};Ae===!0&&(Ae=["FlateEncode"]);var or=C.additionalKeyValues||[],ir=(Lt=zt.API.processDataByFilters!==void 0?zt.API.processDataByFilters(H,Ae):{data:H,reverseChain:[]}).reverseChain+(Array.isArray(me)?me.join(" "):me.toString());if(Lt.data.length!==0&&(or.push({key:"Length",value:Lt.data.length}),Te===!0&&or.push({key:"Length1",value:He})),ir.length!=0)if(ir.split("/").length-1==1)or.push({key:"Filter",value:ir});else{or.push({key:"Filter",value:"["+ir+"]"});for(var jr=0;jr<or.length;jr+=1)if(or[jr].key==="DecodeParms"){for(var Ln=[],qn=0;qn<Lt.reverseChain.split("/").length-1;qn+=1)Ln.push("null");Ln.push(or[jr].value),or[jr].value="["+Ln.join(" ")+"]"}}oe("<<");for(var hi=0;hi<or.length;hi++)oe("/"+or[hi].key+" "+or[hi].value);oe(">>"),Lt.data.length!==0&&(oe("stream"),oe(Et(Lt.data)),oe("endstream"))},xe=h.__private__.putPage=function(C){var H=C.number,Ae=C.data,me=C.objId,Te=C.contentsObjId;z(me,!0),oe("<</Type /Page"),oe("/Parent "+C.rootDictionaryObjId+" 0 R"),oe("/Resources "+C.resourceDictionaryObjId+" 0 R"),oe("/MediaBox ["+parseFloat(B(C.mediaBox.bottomLeftX))+" "+parseFloat(B(C.mediaBox.bottomLeftY))+" "+B(C.mediaBox.topRightX)+" "+B(C.mediaBox.topRightY)+"]"),C.cropBox!==null&&oe("/CropBox ["+B(C.cropBox.bottomLeftX)+" "+B(C.cropBox.bottomLeftY)+" "+B(C.cropBox.topRightX)+" "+B(C.cropBox.topRightY)+"]"),C.bleedBox!==null&&oe("/BleedBox ["+B(C.bleedBox.bottomLeftX)+" "+B(C.bleedBox.bottomLeftY)+" "+B(C.bleedBox.topRightX)+" "+B(C.bleedBox.topRightY)+"]"),C.trimBox!==null&&oe("/TrimBox ["+B(C.trimBox.bottomLeftX)+" "+B(C.trimBox.bottomLeftY)+" "+B(C.trimBox.topRightX)+" "+B(C.trimBox.topRightY)+"]"),C.artBox!==null&&oe("/ArtBox ["+B(C.artBox.bottomLeftX)+" "+B(C.artBox.bottomLeftY)+" "+B(C.artBox.topRightX)+" "+B(C.artBox.topRightY)+"]"),typeof C.userUnit=="number"&&C.userUnit!==1&&oe("/UserUnit "+C.userUnit),Tr.publish("putPage",{objId:me,pageContext:Gt[H],pageNumber:H,page:Ae}),oe("/Contents "+Te+" 0 R"),oe(">>"),oe("endobj");var He=Ae.join(` 3624`);return b===y.ADVANCED&&(He+=`
3625Q`),z(Te,!0),Be({data:He,filters:ye(),objectId:Te}),oe("endobj"),me},_e=h.__private__.putPages=function(){var C,H,Ae=[];for(C=1;C<=Xr;C++)Gt[C].objId=Bn(),Gt[C].contentsObjId=Bn();for(C=1;C<=Xr;C++)Ae.push(xe({number:C,data:Qe[C],objId:Gt[C].objId,contentsObjId:Gt[C].contentsObjId,mediaBox:Gt[C].mediaBox,cropBox:Gt[C].cropBox,bleedBox:Gt[C].bleedBox,trimBox:Gt[C].trimBox,artBox:Gt[C].artBox,userUnit:Gt[C].userUnit,rootDictionaryObjId:ee,resourceDictionaryObjId:k}));z(ee,!0),oe("<</Type /Pages");var me="/Kids [";for(H=0;H<Xr;H++)me+=Ae[H]+" 0 R ";oe(me+"]"),oe("/Count "+Xr),oe(">>"),oe("endobj"),Tr.publish("postPutPages")},Fe=function(C){Tr.publish("putFont",{font:C,out:oe,newObject:Un,putStream:Be}),C.isAlreadyPutted!==!0&&(C.objectNumber=Un(),oe("<<"),oe("/Type /Font"),oe("/BaseFont /"+e0(C.postScriptName)),oe("/Subtype /Type1"),typeof C.encoding=="string"&&oe("/Encoding /"+C.encoding),oe("/FirstChar 32"),oe("/LastChar 255"),oe(">>"),oe("endobj"))},Ye=function(){for(var C in Dt)Dt.hasOwnProperty(C)&&(d===!1||d===!0&&f.hasOwnProperty(C))&&Fe(Dt[C])},st=function(C){C.objectNumber=Un();var H=[];H.push({key:"Type",value:"/XObject"}),H.push({key:"Subtype",value:"/Form"}),H.push({key:"BBox",value:"["+[B(C.x),B(C.y),B(C.x+C.width),B(C.y+C.height)].join(" ")+"]"}),H.push({key:"Matrix",value:"["+C.matrix.toString()+"]"});var Ae=C.pages[1].join(` 3626`);Be({data:Ae,additionalKeyValues:H,objectId:C.objectNumber}),oe("endobj")},xt=function(){for(var C in ti)ti.hasOwnProperty(C)&&st(ti[C])},at=function(C,H){var Ae,me=[],Te=1/(H-1);for(Ae=0;Ae<1;Ae+=Te)me.push(Ae);if(me.push(1),C[0].offset!=0){var He={offset:0,color:C[0].color};C.unshift(He)}if(C[C.length-1].offset!=1){var it={offset:1,color:C[C.length-1].color};C.push(it)}for(var Et="",Lt=0,or=0;or<me.length;or++){for(Ae=me[or];Ae>C[Lt+1].offset;)Lt++;var ir=C[Lt].offset,jr=(Ae-ir)/(C[Lt+1].offset-ir),Ln=C[Lt].color,qn=C[Lt+1].color;Et+=M(Math.round((1-jr)*Ln[0]+jr*qn[0]).toString(16))+M(Math.round((1-jr)*Ln[1]+jr*qn[1]).toString(16))+M(Math.round((1-jr)*Ln[2]+jr*qn[2]).toString(16))}return Et.trim()},wt=function(C,H){H||(H=21);var Ae=Un(),me=at(C.colors,H),Te=[];Te.push({key:"FunctionType",value:"0"}),Te.push({key:"Domain",value:"[0.0 1.0]"}),Te.push({key:"Size",value:"["+H+"]"}),Te.push({key:"BitsPerSample",value:"8"}),Te.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Te.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Be({data:me,additionalKeyValues:Te,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:Ae}),oe("endobj"),C.objectNumber=Un(),oe("<< /ShadingType "+C.type),oe("/ColorSpace /DeviceRGB");var He="/Coords ["+B(parseFloat(C.coords[0]))+" "+B(parseFloat(C.coords[1]))+" ";C.type===2?He+=B(parseFloat(C.coords[2]))+" "+B(parseFloat(C.coords[3])):He+=B(parseFloat(C.coords[2]))+" "+B(parseFloat(C.coords[3]))+" "+B(parseFloat(C.coords[4]))+" "+B(parseFloat(C.coords[5])),oe(He+="]"),C.matrix&&oe("/Matrix ["+C.matrix.toString()+"]"),oe("/Function "+Ae+" 0 R"),oe("/Extend [true true]"),oe(">>"),oe("endobj")},Ht=function(C,H){var Ae=Bn(),me=Un();H.push({resourcesOid:Ae,objectOid:me}),C.objectNumber=me;var Te=[];Te.push({key:"Type",value:"/Pattern"}),Te.push({key:"PatternType",value:"1"}),Te.push({key:"PaintType",value:"1"}),Te.push({key:"TilingType",value:"1"}),Te.push({key:"BBox",value:"["+C.boundingBox.map(B).join(" ")+"]"}),Te.push({key:"XStep",value:B(C.xStep)}
vendor: 5,611 bytes, lines 3626-3627
3626),Te.push({key:"YStep",value:B(C.yStep)}),Te.push({key:"Resources",value:Ae+" 0 R"}),C.matrix&&Te.push({key:"Matrix",value:"["+C.matrix.toString()+"]"}),Be({data:C.stream,additionalKeyValues:Te,objectId:C.objectNumber}),oe("endobj")},Dr=function(C){var H;for(H in dr)dr.hasOwnProperty(H)&&(dr[H]instanceof Vd?wt(dr[H]):dr[H]instanceof w0&&Ht(dr[H],C))},pt=function(C){for(var H in C.objectNumber=Un(),oe("<<"),C)switch(H){case"opacity":oe("/ca "+j(C[H]));break;case"stroke-opacity":oe("/CA "+j(C[H]))}oe(">>"),oe("endobj")},Or=function(){var C;for(C in fn)fn.hasOwnProperty(C)&&pt(fn[C])},Ha=function(){for(var C in oe("/XObject <<"),ti)ti.hasOwnProperty(C)&&ti[C].objectNumber>=0&&oe("/"+C+" "+ti[C].objectNumber+" 0 R");Tr.publish("putXobjectDict"),oe(">>")},uo=function(){Ba.oid=Un(),oe("<<"),oe("/Filter /Standard"),oe("/V "+Ba.v),oe("/R "+Ba.r),oe("/U <"+Ba.toHexString(Ba.U)+">"),oe("/O <"+Ba.toHexString(Ba.O)+">"),oe("/P "+Ba.P),oe(">>"),oe("endobj")},Ca=function(){for(var C in oe("/Font <<"),Dt)Dt.hasOwnProperty(C)&&(d===!1||d===!0&&f.hasOwnProperty(C))&&oe("/"+C+" "+Dt[C].objectNumber+" 0 R");oe(">>")},Ds=function(){if(Object.keys(dr).length>0){for(var C in oe("/Shading <<"),dr)dr.hasOwnProperty(C)&&dr[C]instanceof Vd&&dr[C].objectNumber>=0&&oe("/"+C+" "+dr[C].objectNumber+" 0 R");Tr.publish("putShadingPatternDict"),oe(">>")}},ho=function(C){if(Object.keys(dr).length>0){for(var H in oe("/Pattern <<"),dr)dr.hasOwnProperty(H)&&dr[H]instanceof h.TilingPattern&&dr[H].objectNumber>=0&&dr[H].objectNumber<C&&oe("/"+H+" "+dr[H].objectNumber+" 0 R");Tr.publish("putTilingPatternDict"),oe(">>")}},Os=function(){if(Object.keys(fn).length>0){var C;for(C in oe("/ExtGState <<"),fn)fn.hasOwnProperty(C)&&fn[C].objectNumber>=0&&oe("/"+C+" "+fn[C].objectNumber+" 0 R");Tr.publish("putGStateDict"),oe(">>")}},ri=function(C){z(C.resourcesOid,!0),oe("<<"),oe("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),Ca(),Ds(),ho(C.objectOid),Os(),Ha(),oe(">>"),oe("endobj")},lx=function(){var C=[];Ye(),Or(),xt(),Dr(C),Tr.publish("putResources"),C.forEach(ri),ri({resourcesOid:k,objectOid:Number.MAX_SAFE_INTEGER}),Tr.publish("postPutResources")},cx=function(){Tr.publish("putAdditionalObjects");for(var C=0;C<be.length;C++){var H=be[C];z(H.objId,!0),oe(H.content),oe("endobj")}Tr.publish("postPutAdditionalObjects")},Ax=function(C){yr[C.fontName]=yr[C.fontName]||{},yr[C.fontName][C.fontStyle]=C.id},Gp=function(C,H,Ae,me,Te){var He={id:"F"+(Object.keys(Dt).length+1).toString(10),postScriptName:C,fontName:H,fontStyle:Ae,encoding:me,isStandardFont:Te||!1,metadata:{}};return Tr.publish("addFont",{font:He,instance:this}),Dt[He.id]=He,Ax(He),He.id},Y5=function(C){for(var H=0,Ae=Ee.length;H<Ae;H++){var me=Gp.call(this,C[H][0],C[H][1],C[H][2],Ee[H][3],!0);d===!1&&(f[me]=!0);var Te=C[H][0].split("-");Ax({id:me,fontName:Te[0],fontStyle:Te[1]||""})}Tr.publish("addFonts",{fonts:Dt,dictionary:yr})},Jo=function(C){return C.foo=function(){try{return C.apply(this,arguments)}catch(me){var H=me.stack||"";~H.indexOf(" at ")&&(H=H.split(" at ")[1]);var Ae="Error in function "+H.split(` 3627`)[0].split("<")[0]+": "+me.message;if(!Wt.console)throw new Error(Ae);Wt.console.error(Ae,me),Wt.alert&&alert(Ae)}},C.foo.bar=C,C.foo},ef=function(C,H){var Ae,me,Te,He,it,Et,Lt,or,ir;if(Te=(H=H||{}).sourceEncoding||"Unicode",it=H.outputEncoding,(H.autoencode||it)&&Dt[Oe].metadata&&Dt[Oe].metadata[Te]&&Dt[Oe].metadata[Te].encoding&&(He=Dt[Oe].metadata[Te].encoding,!it&&Dt[Oe].encoding&&(it=Dt[Oe].encoding),!it&&He.codePages&&(it=He.codePages[0]),typeof it=="string"&&(it=He[it]),it)){for(Lt=!1,Et=[],Ae=0,me=C.length;Ae<me;Ae++)(or=it[C.charCodeAt(Ae)])?Et.push(String.fromCharCode(or)):Et.push(C[Ae]),Et[Ae].charCodeAt(0)>>8&&(Lt=!0);C=Et.join("")}for(Ae=C.length;Lt===void 0&&Ae!==0;)C.charCodeAt(Ae-1)>>8&&(Lt=!0),Ae--;if(!Lt)return C;for(Et=H.noBOM?[]:[254,255],Ae=0,me=C.length;Ae<me;Ae++){if((ir=(or=C.charCodeAt(Ae))>>8)>>8)throw new Error("Character at position "+Ae+" of string '"+C+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");Et.push(ir),Et.push(or-(ir<<8))}return String.fromCharCode.apply(void 0,Et)},ds=h.__private__.pdfEscape=h.pdfEscape=function(C,H){return ef(C,H).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Jp=h.__private__.beginPage=function(C){Qe[++Xr]=[],Gt[Xr]={objId:0,contentsObjId:0,userUnit:Number(o),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(C[0]),topRightY:Number(C[1])}},dx(Xr),De(Qe[U])},ux=function(C,H){var Ae,me,Te;switch(r=H||r,typeof C=="string"&&(Ae=v(C.toLowerCase()),Array.isArray(Ae)&&(me=Ae[0],Te=Ae[1])),Array.isArray(C)&&(me=C[0]*Ue,Te=C[1]*Ue),isNaN(me)&&(me=i[0],Te=i[1]),(me>14400||Te>14400)&&(mn.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),me=Math.min(14400,me),Te=Math.min(14400,Te)),i=[me,Te],r.substr(0,1)){case"l":Te>me&&(i=[Te,me]);break;case"p":me>Te&&(i=[Te,me])}Jp(i),vx($p),oe(Xo),tm!==0&&oe(tm+" J"),rm!==0&&oe(rm+" j"),Tr.publish("addPage",{pageNumber:Xr})},Z5=function(C){C>0&&C<=Xr&&(Qe.splice(C,1),Gt.splice(C,1),Xr--,U>Xr&&(U=Xr),this.setPage(U))},dx=function(C){C>0&&C<=Xr&&(U=C)},$5=h.__private__.getNumberOfPages=h.getNumberOfPages=function(){return Qe.length-1},hx=function(C,H,Ae){var me,Te=void 0;return Ae=Ae||{},C=C!==void 0?C:Dt[Oe].fontName,H=H!==void 0?H:Dt[Oe].fontStyle,me=C.toLowerCase(),yr[me]!==void 0&&yr[me][H]!==void 0?Te=yr[me][H]:yr[C]!==void 0&&yr[C][H]!==void 0?Te=yr[C][H]:Ae.disableWarning===!1&&mn.warn("Unable to look up font label for font '"+C+"', '"+H+"'. Refer to getFontList(
3627) for available fonts."),Te||Ae.noFallback||(Te=yr.times[H])==null&&(Te=yr.times.normal),Te},eB=h.__private__.putInfo=function(){var C=Un(),H=function(me){return me};for(var Ae in u!==null&&(H=Ba.encryptor(C,0)),oe("<<"),oe("/Producer ("+ds(H("jsPDF "+zt.version))+")"),Re)Re.hasOwnProperty(Ae)&&Re[Ae]&&oe("/"+Ae.substr(0,1).toUpperCase()+Ae.substr(1)+" ("+ds(H(Re[Ae]))+")");oe("/CreationDate ("+ds(H(le))+")"),oe(">>"),oe("endobj")},Xp=h.__private__.putCatalog=function(C){var H=(C=C||{}).rootDictionaryObjId||ee;switch(Un(),oe("<<"),oe("/Type /Catalog"),oe("/Pages "+H+" 0 R"),Ze||(Ze="fullwidth"),Ze){case"fullwidth":oe("/OpenAction [3 0 R /FitH null]");break;case"fullheight":oe("/OpenAction [3 0 R /FitV null]");break;case"fullpage":oe("/OpenAction [3 0 R /Fit]");break;case"original":oe("/OpenAction [3 0 R /XYZ null null 1]");break;default:var Ae=""+Ze;Ae.substr(Ae.length-1)==="%"&&(Ze=parseInt(Ze)/100),typeof Ze=="number"&&oe("/OpenAction [3 0 R /XYZ null null "+j(Ze)+"]")}switch(vt||(vt="continuous"),vt){case"continuous":oe("/PageLayout /OneColumn");break;case"single":oe("/PageLayout /SinglePage");break;case"two":case"twoleft":oe("/PageLayout /TwoColumnLeft");break;case"tworight":oe("/PageLayout /TwoColumnRight")}Se&&oe("/PageMode /"+Se),Tr.publish("putCatalog"),oe(">>"),oe("endobj")},tB=h.__private__.putTrailer=function(){oe("trailer"),oe("<<"),oe("/Size "+(J+1)),oe("/Root "+J+" 0 R"),oe("/Info "+(J-1)+" 0 R"),u!==null&&oe("/Encrypt "+Ba.oid+" 0 R"),oe("/ID [ <"+ne+"> <"+ne+"> ]"),oe(">>")},rB=h.__private__.putHeader=function(){oe("%PDF-"+m),oe("%ºÃˆ ")},nB=h.__private__.putXRef=function(){var C="0000000000";oe("xref"),oe("0 "+(J+1)),oe("0000000000 65535 f ");for(var H=1;H<=J;H++)typeof ue[H]=="function"?oe((C+ue[H]()).slice(-10)+" 00000 n "):ue[H]!==void 0?oe((C+ue[H]).slice(-10)+" 00000 n "):oe("0000000000 00000 n ")},wc=h.__private__.buildDocument=function(){ot(),De(de),Tr.publish("buildDocument"),rB(),_e(),cx(),lx(),u!==null&&uo(),eB(),Xp();var C=pe;return nB(),tB(),oe("startxref"),oe(""+C),oe("%%EOF"),De(Qe[U]),de.join(` 3628`)},tf=h.__private__.getBlob=function(C){return new Blob([dt(C)],{type:"application/pdf"})},rf=h.output=h.__private__.output=Jo(function(C,H){switch(typeof(H=H||{})=="string"?H={filename:H}:H.filename=H.filename||"generated.pdf",C){case void 0:return wc();case"save":h.save(H.filename);break;case"arraybuffer":return dt(wc());case"blob":return tf(wc());case"bloburi":case"bloburl":if(Wt.URL!==void 0&&typeof Wt.URL.createObjectURL=="function")return Wt.URL&&Wt.URL.createObjectURL(tf(wc()))||void 0;mn.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var Ae="",me=wc();try{Ae=F_(me)}catch{Ae=F_(unescape(encodeURIComponent(me)))}return"data:application/pdf;filename="+H.filename+";base64,"+Ae;case"pdfobjectnewwindow":if(Object.prototype.toString.call(Wt)==="[object Window]"){var Te="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",He=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';H.pdfObjectUrl&&(Te=H.pdfObjectUrl,He="");var it='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+Te+'"'+He+'><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(H)+");<\/script></body></html>",Et=Wt.open();return Et!==null&&Et.document.write(it),Et}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if(Object.prototype.toString.call(Wt)==="[object Window]"){var Lt='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="'+(H.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+H.filename+'" width="500px" height="400px" /></body></html>',or=Wt.open();if(or!==null){or.document.write(Lt);var ir=this;or.document.documentElement.querySelector("#pdfViewer").onload=function(){or.document.title=H.filename,or.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(ir.output("bloburl"))}}return or}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if(Object.prototype.toString.call(Wt)!=="[object Window]")throw new Error("The option dataurlnewwindow just works in a browser-environment.");var jr='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring",H)+'"></iframe></body></html>',Ln=Wt.open();if(Ln!==null&&(Ln.document.write(jr),Ln.document.title=H.filename),Ln||typeof safari>"u")return Ln;break;case"datauri":case"dataurl":return Wt.document.location.href=this.output("datauristring",H);default:return null}}),fx=function(C){return Array.isArray(Ao)===!0&&Ao.indexOf(C)>-1};switch(n){case"pt":Ue=1;break;case"mm":Ue=72/25.4;break;case"cm":Ue=72/2.54;break;case"in":Ue=72;break;case"px":Ue=fx("px_scaling")==1?.75:96/72;break;case"pc":case"em":Ue=12;break;case"ex":Ue=6;break;default:if(typeof n!="number")throw new Error("Invalid unit: "+n);Ue=n}var Ba=null;Ne(),te();var iB=function(C){return u!==null?Ba.encryptor(C,0):function(H){return H}},px=h.__private__.getPageInfo=h.getPageInfo=function(C){if(isNaN(C)||C%1!=0)throw new Error("Invalid argument passed to
3628jsPDF.getPageInfo");return{objId:Gt[C].objId,pageNumber:C,pageContext:Gt[C]}},nr=h.__private__.getPageInfoByObjId=function(C){if(isNaN(C)||C%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var H in Gt)if(Gt[H].objId===C)break;return px(H)},aB=h.__private__.getCurrentPageInfo=h.getCurrentPageInfo=function(){return{objId:Gt[U].objId,pageNumber:U,pageContext:Gt[U]}};h.addPage=function(){return ux.apply(this,arguments),this},h.setPage=function(){return dx.apply(this,arguments),De.call(this,Qe[U]),this},h.insertPage=function(C){return this.addPage(),this.movePage(U,C),this},h.movePage=function(C,H){var Ae,me;if(C>H){Ae=Qe[C],me=Gt[C];for(var Te=C;Te>H;Te--)Qe[Te]=Qe[Te-1],Gt[Te]=Gt[Te-1];Qe[H]=Ae,Gt[H]=me,this.setPage(H)}else if(C<H){Ae=Qe[C],me=Gt[C];for(var He=C;He<H;He++)Qe[He]=Qe[He+1],Gt[He]=Gt[He+1];Qe[H]=Ae,Gt[H]=me,this.setPage(H)}return this},h.deletePage=function(){return Z5.apply(this,arguments),this},h.__private__.text=h.text=function(C,H,Ae,me,Te){var He,it,Et,Lt,or,ir,jr,Ln,qn,hi=(me=me||{}).scope||this;if(typeof C=="number"&&typeof H=="number"&&(typeof Ae=="string"||Array.isArray(Ae))){var Ea=Ae;Ae=H,H=C,C=Ea}if(arguments[3]instanceof Mt?(_("The transform parameter of text() with a Matrix value"),qn=Te):(Et=arguments[4],Lt=arguments[5],rn(jr=arguments[3])==="object"&&jr!==null||(typeof Et=="string"&&(Lt=Et,Et=null),typeof jr=="string"&&(Lt=jr,jr=null),typeof jr=="number"&&(Et=jr,jr=null),me={flags:jr,angle:Et,align:Lt})),isNaN(H)||isNaN(Ae)||C==null)throw new Error("Invalid arguments passed to jsPDF.text");if(C.length===0)return hi;var Hi="",Yo=!1,Rs=typeof me.lineHeightFactor=="number"?me.lineHeightFactor:xd,Ul=hi.internal.scaleFactor;function Bx(vn){return vn=vn.split(" ").join(Array(me.TabLen||9).join(" ")),ds(vn,jr)}function om(vn){for(var xn,ii=vn.concat(),_i=[],Nc=ii.length;Nc--;)typeof(xn=ii.shift())=="string"?_i.push(xn):Array.isArray(vn)&&(xn.length===1||xn[1]===void 0&&xn[2]===void 0)?_i.push(xn[0]):_i.push([xn[0],xn[1],xn[2]]);return _i}function lm(vn,xn){var ii;if(typeof vn=="string")ii=xn(vn)[0];else if(Array.isArray(vn)){for(var _i,Nc,mm=vn.concat(),vf=[],Fx=mm.length;Fx--;
vendor: 10,675 bytes, lines 3628-3642
3628)typeof(_i=mm.shift())=="string"?vf.push(xn(_i)[0]):Array.isArray(_i)&&typeof _i[0]=="string"&&(Nc=xn(_i[0],_i[1],_i[2]),vf.push([Nc[0],Nc[1],Nc[2]]));ii=vf}return ii}var cf=!1,cm=!0;if(typeof C=="string")cf=!0;else if(Array.isArray(C)){var Am=C.concat();it=[];for(var Af,na=Am.length;na--;)(typeof(Af=Am.shift())!="string"||Array.isArray(Af)&&typeof Af[0]!="string")&&(cm=!1);cf=cm}if(cf===!1)throw new Error('Type of text must be string or Array. "'+C+'" is not recognized.');typeof C=="string"&&(C=C.match(/[\r?\n]/)?C.split(/\r\n|\r|\n/g):[C]);var uf=We/hi.internal.scaleFactor,df=uf*(Rs-1);switch(me.baseline){case"bottom":Ae-=df;break;case"top":Ae+=uf-df;break;case"hanging":Ae+=uf-2*df;break;case"middle":Ae+=uf/2-df}if((ir=me.maxWidth||0)>0&&(typeof C=="string"?C=hi.splitTextToSize(C,ir):Object.prototype.toString.call(C)==="[object Array]"&&(C=C.reduce(function(vn,xn){return vn.concat(hi.splitTextToSize(xn,ir))},[]))),He={text:C,x:H,y:Ae,options:me,mutex:{pdfEscape:ds,activeFontKey:Oe,fonts:Dt,activeFontSize:We}},Tr.publish("preProcessText",He),C=He.text,Et=(me=He.options).angle,!(qn instanceof Mt)&&Et&&typeof Et=="number"){Et*=Math.PI/180,me.rotationDirection===0&&(Et=-Et),b===y.ADVANCED&&(Et=-Et);var hf=Math.cos(Et),um=Math.sin(Et);qn=new Mt(hf,um,-um,hf,0,0)}else Et&&Et instanceof Mt&&(qn=Et);b!==y.ADVANCED||qn||(qn=vr),(or=me.charSpace||sf)!==void 0&&(Hi+=B(P(or))+` Tc 3629`,this.setCharSpace(this.getCharSpace()||0)),(Ln=me.horizontalScale)!==void 0&&(Hi+=B(100*Ln)+` Tz 3630`),me.lang;var hs=-1,pB=me.renderingMode!==void 0?me.renderingMode:me.stroke,dm=hi.internal.getCurrentPageInfo().pageContext;switch(pB){case 0:case!1:case"fill":hs=0;break;case 1:case!0:case"stroke":hs=1;break;case 2:case"fillThenStroke":hs=2;break;case 3:case"invisible":hs=3;break;case 4:case"fillAndAddForClipping":hs=4;break;case 5:case"strokeAndAddPathForClipping":hs=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":hs=6;break;case 7:case"addToPathForClipping":hs=7}var Ex=dm.usedRenderingMode!==void 0?dm.usedRenderingMode:-1;hs!==-1?Hi+=hs+` Tr 3631`:Ex!==-1&&(Hi+=`0 Tr 3632`),hs!==-1&&(dm.usedRenderingMode=hs),Lt=me.align||"left";var fo,ff=We*Rs,Nx=hi.internal.pageSize.getWidth(),Sx=Dt[Oe];or=me.charSpace||sf,ir=me.maxWidth||0,jr=Object.assign({autoencode:!0,noBOM:!0},me.flags);var EA=[],bd=function(vn){return hi.getStringUnitWidth(vn,{font:Sx,charSpace:or,fontSize:We,doKerning:!1})*We/Ul};if(Object.prototype.toString.call(C)==="[object Array]"){var fs;it=om(C),Lt!=="left"&&(fo=it.map(bd));var za,NA=0;if(Lt==="right"){H-=fo[0],C=[],na=it.length;for(var Cc=0;Cc<na;Cc++)Cc===0?(za=Rl(H),fs=bc(Ae)):(za=P(NA-fo[Cc]),fs=-ff),C.push([it[Cc],za,fs]),NA=fo[Cc]}else if(Lt==="center"){H-=fo[0]/2,C=[],na=it.length;for(var Bc=0;Bc<na;Bc++)Bc===0?(za=Rl(H),fs=bc(Ae)):(za=P((NA-fo[Bc])/2),fs=-ff),C.push([it[Bc],za,fs]),NA=fo[Bc]}else if(Lt==="left"){C=[],na=it.length;for(var pf=0;pf<na;pf++)C.push(it[pf])}else if(Lt==="justify"&&Sx.encoding==="Identity-H"){C=[],na=it.length,ir=ir!==0?ir:Nx;for(var Ec=0,ni=0;ni<na;ni++)if(fs=ni===0?bc(Ae):-ff,za=ni===0?Rl(H):Ec,ni<na-1){var hm=P((ir-fo[ni])/(it[ni].split(" ").length-1)),Va=it[ni].split(" ");C.push([Va[0]+" ",za,fs]),Ec=0;for(var po=1;po<Va.length;po++){var mf=(bd(Va[po-1]+" "+Va[po])-bd(Va[po]))*Ul+hm;po==Va.length-1?C.push([Va[po],mf,0]):C.push([Va[po]+" ",mf,0]),Ec-=mf}}else C.push([it[ni],za,fs]);C.push(["",Ec,0])}else{if(Lt!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(C=[],na=it.length,ir=ir!==0?ir:Nx,ni=0;ni<na;ni++)fs=ni===0?bc(Ae):-ff,za=ni===0?Rl(H):0,ni<na-1?EA.push(B(P((ir-fo[ni])/(it[ni].split(" ").length-1)))):EA.push(0),C.push([it[ni],za,fs])}}var _x=typeof me.R2L=="boolean"?me.R2L:$e;_x===!0&&(C=lm(C,function(vn,xn,ii){return[vn.split("").reverse().join(""),xn,ii]})),He={text:C,x:H,y:Ae,options:me,mutex:{pdfEscape:ds,activeFontKey:Oe,fonts:Dt,activeFontSize:We}},Tr.publish("postProcessText",He),C=He.text,Yo=He.mutex.isHex||!1;var fm=Dt[Oe].encoding;fm!=="WinAnsiEncoding"&&fm!=="StandardEncoding"||(C=lm(C,function(vn,xn,ii){return[Bx(vn),xn,ii]})),it=om(C),C=[];for(var Cd,Bd,SA,Ed=0,gf=1,Nd=Array.isArray(it[0])?gf:Ed,_A="",pm=function(vn,xn,ii){var _i="";return ii instanceof Mt?(ii=typeof me.angle=="number"?Qa(ii,new Mt(1,0,0,1,vn,xn)):Qa(new Mt(1,0,0,1,vn,xn),ii),b===y.ADVANCED&&(ii=Qa(new Mt(1,0,0,-1,0,0),ii)),_i=ii.join(" ")+` Tm 3633`):_i=B(vn)+" "+B(xn)+` Td 3634`,_i},mo=0;mo<it.length;mo++){switch(_A="",Nd){case gf:SA=(Yo?"<":"(")+it[mo][0]+(Yo?">":")"),Cd=parseFloat(it[mo][1]),Bd=parseFloat(it[mo][2]);break;case Ed:SA=(Yo?"<":"(")+it[mo]+(Yo?">":")"),Cd=Rl(H),Bd=bc(Ae)}EA!==void 0&&EA[mo]!==void 0&&(_A=EA[mo]+` Tw 3635`),mo===0?C.push(_A+pm(Cd,Bd,qn)+SA):Nd===Ed?C.push(_A+SA):Nd===gf&&C.push(_A+pm(Cd,Bd,qn)+SA)}C=Nd===Ed?C.join(` Tj 3636T* `):C.join(` Tj 3637`),C+=` Tj 3638`;var go=`BT 3639/`;return go+=Oe+" "+We+` Tf 3640`,go+=B(We*Rs)+` TL 3641`,go+=yd+` 3642`,go+=Hi,go+=C,oe(go+="ET"),f[Oe]=!0,hi};var sB=h.__private__.clip=h.clip=function(C){return oe(C==="evenodd"?"W*":"W"),this};h.clipEvenOdd=function(){return sB("evenodd")},h.__private__.discardPath=h.discardPath=function(){return oe("n"),this};var Ol=h.__private__.isValidStyle=function(C){var H=!1;return[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(C)!==-1&&(H=!0),H};h.__private__.setDefaultPathOperation=h.setDefaultPathOperation=function(C){return Ol(C)&&(A=C),this};var mx=h.__private__.getStyle=h.getStyle=function(C){var H=A;switch(C){case"D":case"S":H="S";break;case"F":H="f";break;case"FD":case"DF":H="B";break;case"f":case"f*":case"B":case"B*":H=C}return H},gx=h.close=function(){return oe("h"),this};h.stroke=function(){return oe("S"),this},h.fill=function(C){return nf("f",C),this},h.fillEvenOdd=function(C){return nf("f*",C),this},h.fillStroke=function(C){return nf("B",C),this},h.fillStrokeEvenOdd=function(C){return nf("B*",C),this};var nf=function(C,H){rn(H)==="object"?lB(H,C):oe(C)},Yp=function(C){C===null||b===y.ADVANCED&&C===void 0||(C=mx(C),oe(C))};function oB(C,H,Ae,me,Te){var He=new w0(H||this.boundingBox,Ae||this.xStep,me||this.yStep,this.gState,Te||this.matrix);He.stream=this.stream;var it=C+"$$"+this.cloneIndex+++"$$";return Si(it,He),He}var lB=function(C,H){var Ae=co[C.key],me=dr[Ae];if(me instanceof Vd)oe("q"),oe(cB(H)),me.gState&&h.setGState(me.gState),oe(C.matrix.toString()+" cm"),oe("/"+Ae+" sh"),oe("Q");else if(me instanceof w0){var Te=new Mt(1,0,0,-1,0,BA());C.matrix&&(Te=Te.multiply(C.matrix||vr),Ae=oB.call(me,C.key,C.boundingBox,C.xStep,C.yStep,Te).id),oe("q"),oe("/Pattern cs"),oe("/"+Ae+" scn"),me.gState&&h.setGState(me.gState),oe(H),oe("Q")}},cB=function(C){switch(C){case"f":case"F":return"W n";case"f*":return"W* n";case"B":return"W S";case"B*":return"W* S";case"S":return"W S";case"n":return"W n"}},Zp=h.moveTo=function(C,H){return oe(B(P(C))+" "+B(K(H))+" m"),this},vd=h.lineTo=function(C,H){return oe(B(P(C))+" "+B(K(H))+" l"),this},bA=h.curveTo=function(C,H,Ae,me,Te,He){return oe([B(P(C)),B(K(H)),B(P(Ae)),B(K(me)),B(P(Te)),B(K(He)),"c"].join(" ")),this};h.__private__.line=h.line=function(C,H,Ae,me,Te){if(isNaN(C)||isNaN(H)||isNaN(Ae)||isNaN(me)||!Ol(Te))throw new Error("Invalid arguments passed to jsPDF.line");return b===y.COMPAT?this.lines([[Ae-C,me-H]],C,H,[1,1],Te||"S"):this.lines([[Ae-C,me-H]],C,H,[1,1]).stroke()},h.__private__.lines=h.lines=function(C,H,Ae,me,Te,He){var it,Et,Lt,or,ir,jr,Ln,qn,hi,Ea,Hi,Yo;if(typeof C=="number"&&(Yo=Ae,Ae=H,H=C,C=Yo),me=me||[1,1],He=He||!1,isNaN(H)||isNaN(Ae)||!Array.isArray(C)||!Array.isArray(me)||!Ol(Te)||typeof He!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(Zp(H,Ae),it=me[0],Et=me[1],or=C.length,Ea=H,Hi=Ae,Lt=0;Lt<or;Lt++)(ir=C[Lt]).length===2?(Ea=ir[0]*it+Ea,Hi=ir[1]*Et+Hi,vd(Ea,Hi)):(jr=ir[0]*it+Ea,Ln=ir[1]*Et+Hi,qn=ir[2]*it+Ea,hi=ir[3]*Et+Hi,Ea=ir[4]*it+Ea,Hi=ir[5]*Et+Hi,bA(jr,Ln,qn,hi,Ea,Hi));return He&&gx(),Yp(Te),this},h.path=function(C){for(var H=0;H<C.length;H++){var Ae=C[H],me=Ae.c;switch(Ae.op){case"m":Zp(me[0],me[1]);break;case"l":vd(me[0],me[1]);break;case"c":bA.apply(this,me);break;case"h":gx()}}return this},h.__private__.rect=h.rect=function(C,H,Ae,me,Te){if(isNaN(C)||isNaN(H)||isNaN(Ae)||isNaN(me)||!Ol(Te))throw new Error("Invalid arguments passed to jsPDF.rect");return b===y.COMPAT&&(me=-me),oe([B(P(C)),B(K(H)),B(P(Ae)),B(P(me)),"re"].join(" ")),Yp(Te),this},h.__private__.triangle=h.triangle=function(C,H,Ae,me,Te,He,it){if(isNaN(C)||isNaN(H)||isNaN(Ae)||isNaN(me)||isNaN(Te)||isNaN(He)||!Ol(it))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[Ae-C,me-H],[Te-Ae,He-me],[C-Te,H-He]],C,H,[1,1],it,!0),this},h.__private__.roundedRect=h.roundedRect=function(C,H,Ae,me,Te,He,it){if(isNaN(C)||isNaN(H)||isNaN(Ae)||isNaN(me)||isNaN(Te)||isNaN(He)||!Ol(it))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var Et=4/3*(Math.SQRT2-1);return Te=Math.min(Te,.5*Ae),He=Math.min(He,.5*me),this.lines([[Ae-2*Te,0],[Te*Et,0,Te,He-He*Et,Te,He],[0,me-2*He],[0,He*Et,-Te*Et,He,-Te,He],[2*Te-Ae,0],[-Te*Et,0,-Te,-He*Et,-Te,-He],[0,2*He-me],[0,-He*Et,Te*Et,-He,Te,-He]],C+Te,H,[1,1],it,!0),this},h.__private__.ellipse=h.ellipse=function(C,H,Ae,me,Te){if(isNaN(C)||isNaN(H)||isNaN(Ae)||isNaN(me)||!Ol(Te))throw new Error("Invalid arguments passed to jsPDF.ellipse");var He=4/3*(Math.SQRT2-1)*Ae,it=4/3*(Math.SQRT2-1)*me;return Zp(C+Ae,H),bA(C+Ae,H-it,C+He,H-me,C,H-me),bA(C-He,H-me,C-Ae,H-it,C-Ae,H),bA(C-Ae,H+it,C-He,H+me,C,H+me),bA(C+He,H+me,C+Ae,H+it,C+Ae,H),Yp(Te),this},h.__private__.circle=h.circle=function(C,H,Ae,me){if(isNaN(C)||isNaN(H)||isNaN(Ae)||!Ol(me))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(C,H,Ae,Ae,me)},h.setFont=function(C,H,Ae){return Ae&&(H=I(H,Ae)),Oe=hx(C,H,{disableWarning:!1}),this};var AB=h.__private__.getFont=h.getFont=function(){return Dt[hx.apply(h,arguments)]};h.__private__.getFontList=h.getFontList=function(){var C,H,Ae={};for(C in yr)if(yr.hasOwnProperty(C))for(H in Ae[C]=[],yr[C])yr[C].hasOwnProperty(H)&&Ae[C].push(H);return Ae},h.addFont=function(C,H,Ae,me,Te){var He=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&He.indexOf(arguments[3])!==-1?Te=arguments[3]:arguments[3]&&He.indexOf(arguments[3])==-1&&(Ae=I(Ae,me)),Te=Te||"Identity-H",Gp.call(this,C,H,Ae,Te)};var xd,$p=t.lineWidth||.200025,af=h.__private__.getLineWidth=h.getLineWidth=function(){return $p},vx=h.__private__.setLineWidth=h.setLineWidth=function(C){return $p=C,oe(B(P(C))+" w"),this};h.__private__.setLineDash=zt.API.setLineDash=zt.API.setLineDashPattern=function(C,H){if(C=C||[],H=H||0,isNaN(H)||!Array.isArray(C))throw new Error("Invalid arguments passed to
3642jsPDF.setLineDash");return C=C.map(function(Ae){return B(P(Ae))}).join(" "),H=B(P(H)),oe("["+C+"] "+H+" d"),this};var xx=h.__private__.getLineHeight=h.getLineHeight=function(){return We*xd};h.__private__.getLineHeight=h.getLineHeight=function(){return We*xd};var yx=h.__private__.setLineHeightFactor=h.setLineHeightFactor=function(C){return typeof(C=C||1.15)=="number"&&(xd=C),this},wx=h.__private__.getLineHeightFactor=h.getLineHeightFactor=function(){return xd};yx(t.lineHeight);var Rl=h.__private__.getHorizontalCoordinate=function(C){return P(C)},bc=h.__private__.getVerticalCoordinate=function(C){return b===y.ADVANCED?C:Gt[U].mediaBox.topRightY-Gt[U].mediaBox.bottomLeftY-P(C)},uB=h.__private__.getHorizontalCoordinateString=h.getHorizontalCoordinateString=function(C){return B(Rl(C))},CA=h.__private__.getVerticalCoordinateString=h.getVerticalCoordinateString=function(C){return B(bc(C))},Xo=t.strokeColor||"0 G";h.__private__.getStrokeColor=h.getDrawColor=function(){return q(Xo)},h.__private__.setStrokeColor=h.setDrawColor=function(C,H,Ae,me){return Xo=Y({ch1:C,ch2:H,ch3:Ae,ch4:me,pdfColorType:"draw",precision:2}),oe(Xo),this};var em=t.fillColor||"0 g";h.__private__.getFillColor=h.getFillColor=function(){return q(em)},h.__private__.setFillColor=h.setFillColor=function(C,H,Ae,me){return em=Y({ch1:C,ch2:H,ch3:Ae,ch4:me,pdfColorType:"fill",precision:2}),oe(em),this};var yd=t.textColor||"0 g",dB=h.__private__.getTextColor=h.getTextColor=function(){return q(yd)};h.__private__.setTextColor=h.setTextColor=function(C,H,Ae,me){return yd=Y({ch1:C,ch2:H,ch3:Ae,ch4:me,pdfColorType:"text",precision:3}),this};var sf=t.charSpace,hB=h.__private__.getCharSpace=h.getCharSpace=function(){return parseFloat(sf||0)};h.__private__.setCharSpace=h.setCharSpace=function(C){if(isNaN(C))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return sf=C,this};var tm=0;h.CapJoinStyles={0:0,butt:0,but:0,miter:0,1:1,round:1,rounded:1,circle:1,2:2,projecting:2,project:2,square:2,bevel:2},h.__private__.setLineCap=h.setLineCap=function(C){var H=h.CapJoinStyles[C];if(H===void 0)throw new Error("Line cap style of '"+C+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return tm=H,oe(H+" J"),this};var rm=0;h.__private__.setLineJoin=h.setLineJoin=function(C){var H=h.CapJoinStyles[C];if(H===void 0)throw new Error("Line join style of '"+C+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return rm=H,oe(H+" j"),this},h.__private__.setLineMiterLimit=h.__private__.setMiterLimit=h.setLineMiterLimit=h.setMiterLimit=function(C){if(C=C||0,isNaN(C))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return oe(B(P(C))+" M"),this},h.GState=Kb,h.setGState=function(C){(C=typeof C=="string"?fn[Ma[C]]:bx(null,C)).equals(Ps)||(oe("/"+C.id+" gs"),Ps=C)};var bx=function(C,H){if(!C||!Ma[C]){var Ae=!1;for(var me in fn)if(fn.hasOwnProperty(me)&&fn[me].equals(H)){Ae=!0;break}if(Ae)H=fn[me];else{var Te="GS"+(Object.keys(fn).length+1).toString(10);fn[Te]=H,H.id=Te}return C&&(Ma[C]=H.id),Tr.publish("addGState",H),H}};h.addGState=function(C,H){return bx(C,H),this},h.saveGraphicsState=function(){return oe("q"),Kn.push({key:Oe,size:We,color:yd}),this},h.restoreGraphicsState=function(){oe("Q");var C=Kn.pop();return Oe=C.key,We=C.size,yd=C.color,Ps=null,this},h.setCurrentTransformationMatrix=function(C){return oe(C.toString()+" cm"),this},h.comment=function(C){return oe("#"+C),this};var of=function(C,H){var Ae=C||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return Ae},set:function(He){isNaN(He)||(Ae=parseFloat(He))}});var me=H||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return me},set:function(He){isNaN(He)||(me=parseFloat(He))}});var Te="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return Te},set:function(He){Te=He.toString()}}),this},nm=function(C,H,Ae,me){of.call(this,C,H),this.type="rect";var Te=Ae||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return Te},set:function(it){isNaN(it)||(Te=parseFloat(it))}});var He=me||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return He},set:function(it){isNaN(it)||(He=parseFloat(it))}}),this},im=function(){this.page=Xr,this.currentPage=U,this.pages=Qe.slice(0),this.pagesContext=Gt.slice(0),this.x=Ft,this.y=gt,this.matrix=Kr,this.width=wd(U),this.height=BA(U),this.outputDestination=Xe,this.id="",this.objectNumber=-1};im.prototype.restore=function(){Xr=this.page,U=this.currentPage,Gt=this.pagesContext,Qe=this.pages,Ft=this.x,gt=this.y,Kr=this.matrix,am(U,this.width),sm(U,this.height),Xe=this.outputDestination};var Cx=function(C,H,Ae,me,Te){us.push(new im),Xr=U=0,Qe=[],Ft=C,gt=H,Kr=Te,Jp([Ae,me])}
vendor: 4,310 bytes, line 3642
3642,fB=function(C){if(As[C])us.pop().restore();else{var H=new im,Ae="Xo"+(Object.keys(ti).length+1).toString(10);H.id=Ae,As[C]=Ae,ti[Ae]=H,Tr.publish("addFormObject",H),us.pop().restore()}};for(var lf in h.beginFormObject=function(C,H,Ae,me,Te){return Cx(C,H,Ae,me,Te),this},h.endFormObject=function(C){return fB(C),this},h.doFormObject=function(C,H){var Ae=ti[As[C]];return oe("q"),oe(H.toString()+" cm"),oe("/"+Ae.id+" Do"),oe("Q"),this},h.getFormObject=function(C){var H=ti[As[C]];return{x:H.x,y:H.y,width:H.width,height:H.height,matrix:H.matrix}},h.save=function(C,H){return C=C||"generated.pdf",(H=H||{}).returnPromise=H.returnPromise||!1,H.returnPromise===!1?(Ld(tf(wc()),C),typeof Ld.unload=="function"&&Wt.setTimeout&&setTimeout(Ld.unload,911),this):new Promise(function(Ae,me){try{var Te=Ld(tf(wc()),C);typeof Ld.unload=="function"&&Wt.setTimeout&&setTimeout(Ld.unload,911),Ae(Te)}catch(He){me(He.message)}})},zt.API)zt.API.hasOwnProperty(lf)&&(lf==="events"&&zt.API.events.length?function(C,H){var Ae,me,Te;for(Te=H.length-1;Te!==-1;Te--)Ae=H[Te][0],me=H[Te][1],C.subscribe.apply(C,[Ae].concat(typeof me=="function"?[me]:me))}(Tr,zt.API.events):h[lf]=zt.API[lf]);var wd=h.getPageWidth=function(C){return(Gt[C=C||U].mediaBox.topRightX-Gt[C].mediaBox.bottomLeftX)/Ue},am=h.setPageWidth=function(C,H){Gt[C].mediaBox.topRightX=H*Ue+Gt[C].mediaBox.bottomLeftX},BA=h.getPageHeight=function(C){return(Gt[C=C||U].mediaBox.topRightY-Gt[C].mediaBox.bottomLeftY)/Ue},sm=h.setPageHeight=function(C,H){Gt[C].mediaBox.topRightY=H*Ue+Gt[C].mediaBox.bottomLeftY};return h.internal={pdfEscape:ds,getStyle:mx,getFont:AB,getFontSize:rt,getCharSpace:hB,getTextColor:dB,getLineHeight:xx,getLineHeightFactor:wx,getLineWidth:af,write:Ke,getHorizontalCoordinate:Rl,getVerticalCoordinate:bc,getCoordinateString:uB,getVerticalCoordinateString:CA,collections:{},newObject:Un,newAdditionalObject:se,newObjectDeferred:Bn,newObjectDeferredBegin:z,getFilters:ye,putStream:Be,events:Tr,scaleFactor:Ue,pageSize:{getWidth:function(){return wd(U)},setWidth:function(C){am(U,C)},getHeight:function(){return BA(U)},setHeight:function(C){sm(U,C)}},encryptionOptions:u,encryption:Ba,getEncryptor:iB,output:rf,getNumberOfPages:$5,pages:Qe,out:oe,f2:j,f3:T,getPageInfo:px,getPageInfoByObjId:nr,getCurrentPageInfo:aB,getPDFVersion:p,Point:of,Rectangle:nm,Matrix:Mt,hasHotfix:fx},Object.defineProperty(h.internal.pageSize,"width",{get:function(){return wd(U)},set:function(C){am(U,C)},enumerable:!0,configurable:!0}),Object.defineProperty(h.internal.pageSize,"height",{get:function(){return BA(U)},set:function(C){sm(U,C)},enumerable:!0,configurable:!0}),Y5.call(h,Ee),Oe="F1",ux(i,r),Tr.publish("initialized"),h}$f.prototype.lsbFirstWord=function(t){return String.fromCharCode(t>>0&255,t>>8&255,t>>16&255,t>>24&255)},$f.prototype.toHexString=function(t){return t.split("").map(function(e){return("0"+(255&e.charCodeAt(0)).toString(16)).slice(-2)}).join("")},$f.prototype.hexToBytes=function(t){for(var e=[],r=0;r<t.length;r+=2)e.push(String.fromCharCode(parseInt(t.substr(r,2),16)));return e.join("")},$f.prototype.processOwnerPassword=function(t,e){return j_(T_(e).substr(0,5),t)},$f.prototype.encryptor=function(t,e){var r=T_(this.encryptionKey+String.fromCharCode(255&t,t>>8&255,t>>16&255,255&e,e>>8&255)).substr(0,10);return function(n){return j_(r,n)}},Kb.prototype.equals=function(t){var e,r="id,objectNumber,equals";if(!t||rn(t)!==rn(this))return!1;var n=0;for(e in this)if(!(r.indexOf(e)>=0)){if(this.hasOwnProperty(e)&&!t.hasOwnProperty(e)||this[e]!==t[e])return!1;n++}for(e in t)t.hasOwnProperty(e)&&r.indexOf(e)<0&&n--;return n===0},zt.API={events:[]},zt.version="2.5.2";var Jn=zt.API,LT=1,Gh=function(t){return t.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Vf=function(t){return t.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},ar=function(t){return t.toFixed(2)},zA=function(t){return t.toFixed(5)};Jn.__acroform__={};var ks=function(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t},KO=function(t){return t*LT},Wl=function(t){var e=new iW,r=It.internal.getHeight(t)||0,n=It.internal.getWidth(t)||0;return e.BBox=[0,0,Number(ar(n)),Number(ar(r))],e},Rye=Jn.__acroform__.setBit=function(t,e){if(t=t||0,e=e||0,isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to
3642jsPDF.API.__acroform__.setBit");return t|=1<<e},Uye=Jn.__acroform__.clearBit=function(t,e){if(t=t||0,e=e||0,isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return t&=~(1<<e)},Lye=Jn.__acroform__.getBit=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return t&1<<e?1:0},ci=Jn.__acroform__.getBitForPdf=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return Lye(t,e-1)},Ai=Jn.__acroform__.setBitForPdf=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return Rye(t,e-1)},ui=Jn.__acroform__.clearBitForPdf=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return Uye(t,e-1)},Mye=Jn.__acroform__.calculateCoordinates=function(t,e){var r=e.internal.getHorizontalCoordinate,n=e.internal.getVerticalCoordinate,i=t[0],a=t[1],s=t[2],o=t[3],c={};return c.lowerLeft_X=r(i)||0,c.lowerLeft_Y=n(a+o)||0,c.upperRight_X=r(i+s)||0,c.upperRight_Y=n(a)||0,[Number(ar(c.lowerLeft_X)),Number(ar(c.lowerLeft_Y)),Number(ar(c.upperRight_X)),Number(ar(c.upperRight_Y))]},Qye=function(t){if(t.appearanceStreamContent)return t.appearanceStreamContent;if(t.V||t.DV){var e=[],r=t._V||t.DV,n=I_(t,r),i=t.scope.internal.getFont(t.fontName,t.fontStyle).id;e.push("/Tx BMC"),e.push("q"),e.push("BT"),e.push(t.scope.__private__.encodeColorString(t.color)),e.push("/"+i+" "+ar(n.fontSize)+" Tf"),e.push("1 0 0 1 0 0 Tm"),e.push(n.text),e.push("ET"),e.push("Q"),e.push("EMC");var a=Wl(t);return a.scope=t.scope,a.stream=e.join(` 3643`),a}},I_=function(t,e){var r=t.fontSize===0?t.maxFontSize:t.fontSize,n={text:"",fontSize:""},i=(e=(e=e.substr(0,1)=="("?e.substr(1):e).substr(e.length-1)==")"?e.substr(0,e.length-1):e).split(" ");i=t.multiline?i.map(function(T){return T.split(` 3644`)}):i.map(function(T){return[T]});var a=r,s=It.internal.getHeight(t)||0;s=s<0?-s:s;var o=It.internal.getWidth(t)||0;o=o<0?-o:o;var c=function(T,P,L){if(T+1<i.length){var K=P+" "+i[T+1][0];return mw(K,t,L).width<=o-4}return!1};a++;e:for(;a>0;){e="",a--;var A,u,d=mw("3",t,a).height,f=t.multiline?s-a:(s-d)/2,h=f+=2,m=0,p=0,x=0;if(a<=0){e=`(...) Tj 3645`,e+="% Width of Text: "+mw(e,t,a=12).width+", FieldWidth:"+o+` 3646`;break}for(var v="",y=0,b=0;b<i.length;b++)if(i.hasOwnProperty(b)){var E=!1;if(i[b].length!==1&&x!==i[b].length-1){if((d+2)*(y+2)+2>s)continue e;v+=i[b][x],E=!0,p=b,b--}else{v=(v+=i[b][x]+" ").substr(v.length-1)==" "?v.substr(0,v.length-1):v;var S=parseInt(b),I=c(S,v,a),B=b>=i.length-1;if(I&&!B){v+=" ",x=0;continue}if(I||B){if(B)p=S;else if(t.multiline&&(d+2)*(y+2)+2>s)continue e}else{if(!t.multiline||(d+2)*(y+2)+2>s)continue e;p=S}}for(var _="",O=m;O<=p;O++){var j=i[O];if(t.multiline){if(O===p){_+=j[x]+" ",x=(x+1)%j.length;continue}if(O===m){_+=j[j.length-1]+" ";continue}}_+=j[0]+" "}switch(_=_.substr(_.length-1)==" "?_.substr(0,_.length-1):_,u=mw(_,t,a).width,t.textAlign){case"right":A=o-u-2;break;case"center":A=(o-u)/2;break;case"left":default:A=2}e+=ar(A)+" "+ar(h)+` Td 3647`,e+="("+Gh(_)+`) Tj 3648`,e+=-ar(A)+` 0 Td 3649`,h=-(a+2),u=0,m=E?p:p+1,y++,v=""}break}return n.text=e,n.fontSize=a,n},mw=function(t,e,r){var n=e.scope.internal.getFont(e.fontName,e.fontStyle),i=e.scope.getStringUnitWidth(t,{font:n,fontSize:parseFloat(r),charSpace:0})*parseFloat(r);return{height:e.scope.getStringUnitWidth("3",{font:n,fontSize:parseFloat(r),charSpace:0})*parseFloat(r)*1.5,width:i}},Hye={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},zye=function(t,e){var r={type:"reference",object:t};e.internal.getPageInfo(t.page).pageContext.annotations.find(function(n){return n.type===r.type&&n.object===r.object})===void 0&&e.internal.getPageInfo(t.page).pageContext.annotations.push(r)},Vye=function(t,e){for(var r in t)if(t.hasOwnProperty(r)){var n=r,i=t[r];e.internal.newObjectDeferredBegin(i.objId,!0),rn(i)==="object"&&typeof i.putStream=="function"&&i.putStream(),delete t[n]}},Wye=function(t,e){if(e.scope=t,t.internal!==void 0&&(t.internal.acroformPlugin===void 0||t.internal.acroformPlugin.isInitialized===!1)){if
vendor: 24,779 bytes, lines 3649-3661
3649(Pl.FieldNum=0,t.internal.acroformPlugin=JSON.parse(JSON.stringify(Hye)),t.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");LT=t.internal.scaleFactor,t.internal.acroformPlugin.acroFormDictionaryRoot=new aW,t.internal.acroformPlugin.acroFormDictionaryRoot.scope=t,t.internal.acroformPlugin.acroFormDictionaryRoot._eventID=t.internal.events.subscribe("postPutResources",function(){(function(r){r.internal.events.unsubscribe(r.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete r.internal.acroformPlugin.acroFormDictionaryRoot._eventID,r.internal.acroformPlugin.printedOut=!0})(t)}),t.internal.events.subscribe("buildDocument",function(){(function(r){r.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var n=r.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var i in n)if(n.hasOwnProperty(i)){var a=n[i];a.objId=void 0,a.hasAnnotation&&zye(a,r)}})(t)}),t.internal.events.subscribe("putCatalog",function(){(function(r){if(r.internal.acroformPlugin.acroFormDictionaryRoot===void 0)throw new Error("putCatalogCallback: Root missing.");r.internal.write("/AcroForm "+r.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")})(t)}),t.internal.events.subscribe("postPutPages",function(r){(function(n,i){var a=!n;for(var s in n||(i.internal.newObjectDeferredBegin(i.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),i.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),n=n||i.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(n.hasOwnProperty(s)){var o=n[s],c=[],A=o.Rect;if(o.Rect&&(o.Rect=Mye(o.Rect,i)),i.internal.newObjectDeferredBegin(o.objId,!0),o.DA=It.createDefaultAppearanceStream(o),rn(o)==="object"&&typeof o.getKeyValueListForStream=="function"&&(c=o.getKeyValueListForStream()),o.Rect=A,o.hasAppearanceStream&&!o.appearanceStreamContent){var u=Qye(o);c.push({key:"AP",value:"<</N "+u+">>"}),i.internal.acroformPlugin.xForms.push(u)}if(o.appearanceStreamContent){var d="";for(var f in o.appearanceStreamContent)if(o.appearanceStreamContent.hasOwnProperty(f)){var h=o.appearanceStreamContent[f];if(d+="/"+f+" ",d+="<<",Object.keys(h).length>=1||Array.isArray(h)){for(var s in h)if(h.hasOwnProperty(s)){var m=h[s];typeof m=="function"&&(m=m.call(i,o)),d+="/"+s+" "+m+" ",i.internal.acroformPlugin.xForms.indexOf(m)>=0||i.internal.acroformPlugin.xForms.push(m)}}else typeof(m=h)=="function"&&(m=m.call(i,o)),d+="/"+s+" "+m,i.internal.acroformPlugin.xForms.indexOf(m)>=0||i.internal.acroformPlugin.xForms.push(m);d+=">>"}c.push({key:"AP",value:`<< 3650`+d+">>"})}i.internal.putStream({additionalKeyValues:c,objectId:o.objId}),i.internal.out("endobj")}a&&Vye(i.internal.acroformPlugin.xForms,i)})(r,t)}),t.internal.acroformPlugin.isInitialized=!0}},nW=Jn.__acroform__.arrayToPdfArray=function(t,e,r){var n=function(s){return s};if(Array.isArray(t)){for(var i="[",a=0;a<t.length;a++)switch(a!==0&&(i+=" "),rn(t[a])){case"boolean":case"number":case"object":i+=t[a].toString();break;case"string":t[a].substr(0,1)!=="/"?(e!==void 0&&r&&(n=r.internal.getEncryptor(e)),i+="("+Gh(n(t[a].toString()))+")"):i+=t[a].toString()}return i+="]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},j4=function(t,e,r){var n=function(i){return i};return e!==void 0&&r&&(n=r.internal.getEncryptor(e)),(t=t||"").toString(),t="("+Gh(n(t))+")"},rc=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(this._objId===void 0){if(this.scope===void 0)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(t){this._objId=t}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};rc.prototype.toString=function(){return this.objId+" 0 R"},rc.prototype.putStream=function(){var t=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:t,objectId:this.objId}),this.scope.internal.out("endobj")},rc.prototype.getKeyValueListForStream=function(){var t=[],e=Object.getOwnPropertyNames(this).filter(function(a){return a!="content"&&a!="appearanceStreamContent"&&a!="scope"&&a!="objId"&&a.substring(0,1)!="_"});for(var r in e)if(Object.getOwnPropertyDescriptor(this,e[r]).configurable===!1){var n=e[r],i=this[n];i&&(Array.isArray(i)?t.push({key:n,value:nW(i,this.objId,this.scope)}):i instanceof rc?(i.scope=this.scope,t.push({key:n,value:i.objId+" 0 R"})):typeof i!="function"&&t.push({key:n,value:i}))}return t};var iW=function(){rc.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writable:!0});var t,e=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return e},set:function(r){e=r}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(r){t=r.trim()},get:function(){return t||null}})};ks(iW,rc);var aW=function(){rc.call(this);var t,e=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return e.length>0?e:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return e}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(t){var r=function(n){return n};return this.scope&&(r=this.scope.internal.getEncryptor(this.objId)),"("+Gh(r(t))+")"}},set:function(r){t=r}})};ks(aW,rc);var Pl=function t(){rc.call(this);var e=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return e},set:function(v){if(isNaN(v))throw new Error('Invalid value "'+v+'" for attribute F supplied.');e=v}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return!!ci(e,3)},set:function(v){v?this.F=Ai(e,3):this.F=ui(e,3)}});var r=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return r},set:function(v){if(isNaN(v))throw new Error('Invalid value "'+v+'" for attribute Ff supplied.');r=v}});var n=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(n.length!==0)return n},set:function(v){n=v!==void 0?v:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!n||isNaN(n[0])?0:n[0]},set:function(v){n[0]=v}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!n||isNaN(n[1])?0:n[1]},set:function(v){n[1]=v}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!n||isNaN(n[2])?0:n[2]},set:function(v){n[2]=v}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!n||isNaN(n[3])?0:n[3]},set:function(v){n[3]=v}});var i="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return i},set:function(v){switch(v){case"/Btn":case"/Tx":case"/Ch":case"/Sig":i=v;break;default:throw new Error('Invalid value "'+v+'" for attribute FT supplied.')}}});var a=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!a||a.length<1){if(this instanceof qb)return;a="FieldObject"+t.FieldNum++}var v=function(y){return y};return this.scope&&(v=this.scope.internal.getEncryptor(this.objId)),"("+Gh(v(a))+")"},set:function(v){a=v.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return a},set:function(v){a=v}});var s="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return s},set:function(v){s=v}});var o="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return o},set:function(v){o=v}});var c=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return c},set:function(v){c=v}});var A=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return A===void 0?50/LT:A},set:function(v){A=v}});var u="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return u},set:function(v){u=v}});var d="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!d||this instanceof qb||this instanceof uh))return j4(d,this.objId,this.scope)},set:function(v){v=v.toString(),d=v}});var f=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(f)return this instanceof Xi?f:j4(f,this.objId,this.scope)},set:function(v){v=v.toString(),f=this instanceof Xi?v:v.substr(0,1)==="("?Vf(v.substr(1,v.length-2)):Vf(v)}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof Xi?Vf(f.substr(1,f.length-1)):f},set:function(v){v=v.toString(),f=this instanceof Xi?"/"+v:v}});var h=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(h)return h},set:function(v){this.V=v}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(h)return this instanceof Xi?h:j4(h,this.objId,this.scope)},set:function(v){v=v.toString(),h=this instanceof Xi?v:v.substr(0,1)==="("?Vf(v.substr(1,v.length-2)):Vf(v)}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof Xi?Vf(h.substr(1,h.length-1)):h},set:function(v){v=v.toString(),h=this instanceof Xi?"/"+v:v}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,configurable:!0,get:function(){return this.Rect}}),Object.defineProperty(this,"Type",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var m,p=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return p},set:function(v){v=!!v,p=v}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(m)return m},set:function(v){m=v}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return!!ci(this.Ff,1)},set:function(v){v?this.Ff=Ai(this.Ff,1):this.Ff=ui(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return!!ci(this.Ff,2)},set:function(v){v?this.Ff=Ai(this.Ff,2):this.Ff=ui(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return!!ci(this.Ff,3)},set:function(v){v?this.Ff=Ai(this.Ff,3):this.Ff=ui(this.Ff,3)}});var x=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(x!==null)return x},set:function(v){if([0,1,2].indexOf(v)===-1)throw new Error('Invalid value "'+v+'" for attribute Q supplied.');x=v}}),Object.defineProperty(this,"textAlign",{get:function(){var v;switch(x){case 0:default:v="left";break;case 1:v="center";break;case 2:v="right"}return v},configurable:!0,enumerable:!0,set:function(v){switch(v){case"right":case 2:x=2;break;case"center":case 1:x=1;break;case"left":case 0:default:x=0}}})};ks(Pl,rc);var W0=function(){Pl.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var t=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return t},set:function(r){t=r}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return t},set:function(r){t=r}});var e=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return nW(e,this.objId,this.scope)},set:function(r){var n,i;i=[],typeof(n=r)=="string"&&(i=function(a,s,o){o||(o=1);for(var c,A=[];c=s.exec(a);)A.push(c[o]);return A}(n,/\((.*?)\)/g)),e=i}}),this.getOptions=function(){return e},this.setOptions=function(r){e=r,this.sort&&e.sort()},this.addOption=function(r){r=(r=r||"").toString(),e.push(r),this.sort&&e.sort()},this.removeOption=function(r,n){for(n=n||!1,r=(r=r||"").toString();e.indexOf(r)!==-1&&(e.splice(e.indexOf(r),1),n!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return!!ci(this.Ff,18)},set:function(r){r?this.Ff=Ai(this.Ff,18):this.Ff=ui(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return!!ci(this.Ff,19)},set:function(r){this.combo===!0&&(r?this.Ff=Ai(this.Ff,19):this.Ff=ui(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return!!ci(this.Ff,20)},set:function(r){r?(this.Ff=Ai(this.Ff,20),e.sort()):this.Ff=ui(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return!!ci(this.Ff,22)},set:function(r){r?this.Ff=Ai(this.Ff,22):this.Ff=ui(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!ci(this.Ff,23)},set:function(r){r?this.Ff=Ai(this.Ff,23):this.Ff=ui(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return!!ci(this.Ff,27)},set:function(r){r?this.Ff=Ai(this.Ff,27):this.Ff=ui(this.Ff,27)}}),this.hasAppearanceStream=!1};ks(W0,Pl);var K0=function(){W0.call(this),this.fontName="helvetica",this.combo=!1};ks(K0,W0);var q0=function(){K0.call(this),this.combo=!0};ks(q0,K0);var p2=function(){q0.call(this),this.edit=!0};ks(p2,q0);var Xi=function(){Pl.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return!!ci(this.Ff,15)},set:function(r){r?this.Ff=Ai(this.Ff,15):this.Ff=ui(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return!!ci(this.Ff,16)},set:function(r){r?this.Ff=Ai(this.Ff,16):this.Ff=ui(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return!!ci(this.Ff,17)},set:function(r){r?this.Ff=Ai(this.Ff,17):this.Ff=ui(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return!!ci(this.Ff,26)},set:function(r){r?this.Ff=Ai(this.Ff,26):this.Ff=ui(this.Ff,26)}});var t,e={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var r=function(a){return a};if(this.scope&&(r=this.scope.internal.getEncryptor(this.objId)),Object.keys(e).length!==0){var n,i=[];for(n in i.push("<<"),e)i.push("/"+n+" ("+Gh(r(e[n]))+")");return i.push(">>"),i.join(` 3651`)}},set:function(r){rn(r)==="object"&&(e=r)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return e.CA||""},set:function(r){typeof r=="string"&&(e.CA=r)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return t},set:function(r){t=r}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return t.substr(1,t.length-1)},set:function(r){t="/"+r}})};ks(Xi,Pl);var m2=function(){Xi.call(this),this.pushButton=!0};ks(m2,Xi);var G0=function(){Xi.call(this),this.radio=!0,this.pushButton=!1;var t=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return t},set:function(e){t=e!==void 0?e:[]}})};ks(G0,Xi);var qb=function(){var t,e;Pl.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return t},set:function(i){t=i}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return e},set:function(i){e=i}});var r,n={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var i=function(o){return o};this.scope&&(i=this.scope.internal.getEncryptor(this.objId));var a,s=[];for(a in s.push("<<"),n)s.push("/"+a+" ("+Gh(i(n[a]))+")");return s.push(">>"),s.join(` 3652`)},set:function(i){rn(i)==="object"&&(n=i)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return n.CA||""},set:function(i){typeof i=="string"&&(n.CA=i)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return r},set:function(i){r=i}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return r.substr(1,r.length-1)},set:function(i){r="/"+i}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=It.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};ks(qb,Pl),G0.prototype.setAppearance=function(t){if(!("createAppearanceStream"in t)||!("getCA"in t))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var e in this.Kids)if(this.Kids.hasOwnProperty(e)){var r=this.Kids[e];r.appearanceStreamContent=t.createAppearanceStream(r.optionName),r.caption=t.getCA()}},G0.prototype.createOption=function(t){var e=new qb;return e.Parent=this,e.optionName=t,this.Kids.push(e),Kye.call(this.scope,e),e};var g2=function(){Xi.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=It.CheckBox.createAppearanceStream()};ks(g2,Xi);var uh=function(){Pl.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return!!ci(this.Ff,13)},set:function(e){e?this.Ff=Ai(this.Ff,13):this.Ff=ui(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return!!ci(this.Ff,21)},set:function(e){e?this.Ff=Ai(this.Ff,21):this.Ff=ui(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!ci(this.Ff,23)},set:function(e){e?this.Ff=Ai(this.Ff,23):this.Ff=ui(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return!!ci(this.Ff,24)},set:function(e){e?this.Ff=Ai(this.Ff,24):this.Ff=ui(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return!!ci(this.Ff,25)},set:function(e){e?this.Ff=Ai(this.Ff,25):this.Ff=ui(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return!!ci(this.Ff,26)},set:function(e){e?this.Ff=Ai(this.Ff,26):this.Ff=ui(this.Ff,26)}});var t=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return t},set:function(e){Number.isInteger(e)&&(t=e)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};ks(uh,Pl);var v2=function(){uh.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return!!ci(this.Ff,14)},set:function(t){t?this.Ff=Ai(this.Ff,14):this.Ff=ui(this.Ff,14)}}),this.password=!0};ks(v2,uh);var It={CheckBox:{createAppearanceStream:function(){return{N:{On:It.CheckBox.YesNormal},D:{On:It.CheckBox.YesPushDown,Off:It.CheckBox.OffPushDown}}},YesPushDown:function(t){var e=Wl(t);e.scope=t.scope;var r=[],n=t.scope.internal.getFont(t.fontName,t.fontStyle).id,i=t.scope.__private__.encodeColorString(t.color),a=I_(t,t.caption);return r.push("0.749023 g"),r.push("0 0 "+ar(It.internal.getWidth(t))+" "+ar(It.internal.getHeight(t))+" re"),r.push("f"),r.push("BMC"),r.push("q"),r.push("0 0 1 rg"),r.push("/"+n+" "+ar(a.fontSize)+" Tf "+i),r.push("BT"),r.push(a.text),r.push("ET"),r.push("Q"),r.push("EMC"),e.stream=r.join(` 3653`),e},YesNormal:function(t){var e=Wl(t);e.scope=t.scope;var r=t.scope.internal.getFont(t.fontName,t.fontStyle).id,n=t.scope.__private__.encodeColorString(t.color),i=[],a=It.internal.getHeight(t),s=It.internal.getWidth(t),o=I_(t,t.caption);return i.push("1 g"),i.push("0 0 "+ar(s)+" "+ar(a)+" re"),i.push("f"),i.push("q"),i.push("0 0 1 rg"),i.push("0 0 "+ar(s-1)+" "+ar(a-1)+" re"),i.push("W"),i.push("n"),i.push("0 g"),i.push("BT"),i.push("/"+r+" "+ar(o.fontSize)+" Tf "+n),i.push(o.text),i.push("ET"),i.push("Q"),e.stream=i.join(` 3654`),e},OffPushDown:function(t){var e=Wl(t);e.scope=t.scope;var r=[];return r.push("0.749023 g"),r.push("0 0 "+ar(It.internal.getWidth(t))+" "+ar(It.internal.getHeight(t))+" re"),r.push("f"),e.stream=r.join(` 3655`),e}},RadioButton:{Circle:{createAppearanceStream:function(t){var e={D:{Off:It.RadioButton.Circle.OffPushDown},N:{}};return e.N[t]=It.RadioButton.Circle.YesNormal,e.D[t]=It.RadioButton.Circle.YesPushDown,e},getCA:function(){return"l"},YesNormal:function(t){var e=Wl(t);e.scope=t.scope;var r=[],n=It.internal.getWidth(t)<=It.internal.getHeight(t)?It.internal.getWidth(t)/4:It.internal.getHeight(t)/4;n=Number((.9*n).toFixed(5));var i=It.internal.Bezier_C,a=Number((n*i).toFixed(5));return r.push("q"),r.push("1 0 0 1 "+zA(It.internal.getWidth(t)/2)+" "+zA(It.internal.getHeight(t)/2)+" cm"),r.push(n+" 0 m"),r.push(n+" "+a+" "+a+" "+n+" 0 "+n+" c"),r.push("-"+a+" "+n+" -"+n+" "+a+" -"+n+" 0 c"),r.push("-"+n+" -"+a+" -"+a+" -"+n+" 0 -"+n+" c"),r.push(a+" -"+n+" "+n+" -"+a+" "+n+" 0 c"),r.push("f"),r.push("Q"),e.stream=r.join(` 3656`),e},YesPushDown:function(t){var e=Wl(t);e.scope=t.scope;var r=[],n=It.internal.getWidth(t)<=It.internal.getHeight(t)?It.internal.getWidth(t)/4:It.internal.getHeight(t)/4;n=Number((.9*n).toFixed(5));var i=Number((2*n).toFixed(5)),a=Number((i*It.internal.Bezier_C).toFixed(5)),s=Number((n*It.internal.Bezier_C).toFixed(5));return r.push("0.749023 g"),r.push("q"),r.push("1 0 0 1 "+zA(It.internal.getWidth(t)/2)+" "+zA(It.internal.getHeight(t)/2)+" cm"),r.push(i+" 0 m"),r.push(i+" "+a+" "+a+" "+i+" 0 "+i+" c"),r.push("-"+a+" "+i+" -"+i+" "+a+" -"+i+" 0 c"),r.push("-"+i+" -"+a+" -"+a+" -"+i+" 0 -"+i+" c"),r.push(a+" -"+i+" "+i+" -"+a+" "+i+" 0 c"),r.push("f"),r.push("Q"),r.push("0 g"),r.push("q"),r.push("1 0 0 1 "+zA(It.internal.getWidth(t)/2)+" "+zA(It.internal.getHeight(t)/2)+" cm"),r.push(n+" 0 m"),r.push(n+" "+s+" "+s+" "+n+" 0 "+n+" c"),r.push("-"+s+" "+n+" -"+n+" "+s+" -"+n+" 0 c"),r.push("-"+n+" -"+s+" -"+s+" -"+n+" 0 -"+n+" c"),r.push(s+" -"+n+" "+n+" -"+s+" "+n+" 0 c"),r.push("f"),r.push("Q"),e.stream=r.join(` 3657`),e},OffPushDown:function(t){var e=Wl(t);e.scope=t.scope;var r=[],n=It.internal.getWidth(t)<=It.internal.getHeight(t)?It.internal.getWidth(t)/4:It.internal.getHeight(t)/4;n=Number((.9*n).toFixed(5));var i=Number((2*n).toFixed(5)),a=Number((i*It.internal.Bezier_C).toFixed(5));return r.push("0.749023 g"),r.push("q"),r.push("1 0 0 1 "+zA(It.internal.getWidth(t)/2)+" "+zA(It.internal.getHeight(t)/2)+" cm"),r.push(i+" 0 m"),r.push(i+" "+a+" "+a+" "+i+" 0 "+i+" c"),r.push("-"+a+" "+i+" -"+i+" "+a+" -"+i+" 0 c"),r.push("-"+i+" -"+a+" -"+a+" -"+i+" 0 -"+i+" c"),r.push(a+" -"+i+" "+i+" -"+a+" "+i+" 0 c"),r.push("f"),r.push("Q"),e.stream=r.join(` 3658`),e}},Cross:{createAppearanceStream:function(t){var e={D:{Off:It.RadioButton.Cross.OffPushDown},N:{}};return e.N[t]=It.RadioButton.Cross.YesNormal,e.D[t]=It.RadioButton.Cross.YesPushDown,e},getCA:function(){return"8"},YesNormal:function(t){var e=Wl(t);e.scope=t.scope;var r=[],n=It.internal.calculateCross(t);return r.push("q"),r.push("1 1 "+ar(It.internal.getWidth(t)-2)+" "+ar(It.internal.getHeight(t)-2)+" re"),r.push("W"),r.push("n"),r.push(ar(n.x1.x)+" "+ar(n.x1.y)+" m"),r.push(ar(n.x2.x)+" "+ar(n.x2.y)+" l"),r.push(ar(n.x4.x)+" "+ar(n.x4.y)+" m"),r.push(ar(n.x3.x)+" "+ar(n.x3.y)+" l"),r.push("s"),r.push("Q"),e.stream=r.join(` 3659`),e},YesPushDown:function(t){var e=Wl(t);e.scope=t.scope;var r=It.internal.calculateCross(t),n=[];return n.push("0.749023 g"),n.push("0 0 "+ar(It.internal.getWidth(t))+" "+ar(It.internal.getHeight(t))+" re"),n.push("f"),n.push("q"),n.push("1 1 "+ar(It.internal.getWidth(t)-2)+" "+ar(It.internal.getHeight(t)-2)+" re"),n.push("W"),n.push("n"),n.push(ar(r.x1.x)+" "+ar(r.x1.y)+" m"),n.push(ar(r.x2.x)+" "+ar(r.x2.y)+" l"),n.push(ar(r.x4.x)+" "+ar(r.x4.y)+" m"),n.push(ar(r.x3.x)+" "+ar(r.x3.y)+" l"),n.push("s"),n.push("Q"),e.stream=n.join(` 3660`),e},OffPushDown:function(t){var e=Wl(t);e.scope=t.scope;var r=[];return r.push("0.749023 g"),r.push("0 0 "+ar(It.internal.getWidth(t))+" "+ar(It.internal.getHeight(t))+" re"),r.push("f"),e.stream=r.join(` 3661`),e}}},createDefaultAppearanceStream:function(t){var e=t.scope.internal.getFont(t.fontName,t.fontStyle).id,r=t.scope.__private__.encodeColorString(t.color);return"/"+e+" "+t.fontSize+" Tf "+r}};It.internal={Bezier_C:.551915024494,calculateCross:function(t){var e=It.internal.getWidth(t),r=It.internal.getHeight(t),n=Math.min(e,r);return{x1:{x:(e-n)/2,y:(r-n)/2+n},x2:{x:(e-n)/2+n,y:(r-n)/2},x3:{x:(e-n)/2,y:(r-n)/2},x4:{x:(e-n)/2+n,y:(r-n)/2+n}}}},It.internal.getWidth=function(t){var e=0;return rn(t)==="object"&&(e=KO(t.Rect[2])),e},It.internal.getHeight=function(t){var e=0;return rn(t)==="object"&&(e=KO(t.Rect[3])),e};var Kye=Jn.addField=function(t){if(Wye(this,t),!(t instanceof Pl))throw new Error("Invalid argument passed to
3661jsPDF.addField.");var e;return(e=t).scope.internal.acroformPlugin.printedOut&&(e.scope.internal.acroformPlugin.printedOut=!1,e.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),e.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(e),t.page=t.scope.internal.getCurrentPageInfo().pageNumber,this};Jn.AcroFormChoiceField=W0,Jn.AcroFormListBox=K0,Jn.AcroFormComboBox=q0,Jn.AcroFormEditBox=p2,Jn.AcroFormButton=Xi,Jn.AcroFormPushButton=m2,Jn.AcroFormRadioButton=G0,Jn.AcroFormCheckBox=g2,Jn.AcroFormTextField=uh,Jn.AcroFormPasswordField=v2,Jn.AcroFormAppearance=It,Jn.AcroForm={ChoiceField:W0,ListBox:K0,ComboBox:q0,EditBox:p2,Button:Xi,PushButton:m2,RadioButton:G0,CheckBox:g2,TextField:uh,PasswordField:v2,Appearance:It},zt.AcroForm={ChoiceField:W0,ListBox:K0,ComboBox:q0,EditBox:p2,Button:Xi,PushButton:m2,RadioButton:G0,CheckBox:g2,TextField:uh,PasswordField:v2,Appearance:It};function sW(t){return t.reduce(function(e,r,n){return e[r]=n,e},{})}(function(t){t.__addimage__={};var e="UNKNOWN",r={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},n=t.__addimage__.getImageFileTypeByImageData=function(T,P){var L,K,le,ne,fe,te=e;if((P=P||e)==="RGBA"||T.data!==void 0&&T.data instanceof Uint8ClampedArray&&"height"in T&&"width"in T)return"RGBA";if(I(T))for(fe in r)for(le=r[fe],L=0;L<le.length;L+=1){for(ne=!0,K=0;K<le[L].length;K+=1)if(le[L][K]!==void 0&&le[L][K]!==T[K]){ne=!1;break}if(ne===!0){te=fe;break}}else for(fe in r)for(le=r[fe],L=0;L<le.length;L+=1){for(ne=!0,K=0;K<le[L].length;K+=1)if(le[L][K]!==void 0&&le[L][K]!==T.charCodeAt(K)){ne=!1;break}if(ne===!0){te=fe;break}}return te===e&&P!==e&&(te=P),te},i=function T(P){for(var L=this.internal.write,K=this.internal.putStream,le=(0,this.internal.getFilters)();le.indexOf("FlateEncode")!==-1;)le.splice(le.indexOf("FlateEncode"),1);P.objectId=this.internal.newObject();var ne=[];if(ne.push({key:"Type",value:"/XObject"}),ne.push({key:"Subtype",value:"/Image"}),ne.push({key:"Width",value:P.width}),ne.push({key:"Height",value:P.height}),P.colorSpace===x.INDEXED?ne.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(P.palette.length/3-1)+" "+("sMask"in P&&P.sMask!==void 0?P.objectId+2:P.objectId+1)+" 0 R]"}):(ne.push({key:"ColorSpace",value:"/"+P.colorSpace}),P.colorSpace===x.DEVICE_CMYK&&ne.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),ne.push({key:"BitsPerComponent",value:P.bitsPerComponent}),"decodeParameters"in P&&P.decodeParameters!==void 0&&ne.push({key:"DecodeParms",value:"<<"+P.decodeParameters+">>"}),"transparency"in P&&Array.isArray(P.transparency)){for(var fe="",te=0,he=P.transparency.length;te<he;te++)fe+=P.transparency[te]+" "+P.transparency[te]+" ";ne.push({key:"Mask",value:"["+fe+"]"})}P.sMask!==void 0&&ne.push({key:"SMask",value:P.objectId+1+" 0 R"});var ce=P.filter!==void 0?["/"+P.filter]:void 0;if(K({data:P.data,additionalKeyValues:ne,alreadyAppliedFilters:ce,objectId:P.objectId}),L("endobj"),"sMask"in P&&P.sMask!==void 0){var Ne="/Predictor "+P.predictor+" /Colors 1 /BitsPerComponent "+P.bitsPerComponent+" /Columns "+P.width,F={width:P.width,height:P.height,colorSpace:"DeviceGray",bitsPerComponent:P.bitsPerComponent,decodeParameters:Ne,data:P.sMask};"filter"in P&&(F.filter=P.filter),T.call(this,F)}if(P.colorSpace===x.INDEXED){var U=this.internal.newObject();K({data:_(new Uint8Array(P.palette)),objectId:U}),L("endobj")}},a=function(){var T=this.internal.collections.addImage_images;for(var P in T)i.call(this,T[P])},s=function(){var T,P=this.internal.collections.addImage_images,L=this.internal.write;for(var K in P)L("/I"+(T=P[K]).index,T.objectId,"0","R")},o=function(){this.internal.collections.addImage_images||(this.internal.collections.addImage_images={},this.internal.events.subscribe("putResources",a),this.internal.events.subscribe("putXobjectDict",s))},c=function(){var T=this.internal.collections.addImage_images;return o.call(this),T},A=function(){return Object.keys(this.internal.collections.addImage_images).length},u=function(T){return typeof t["process"+T.toUpperCase()]=="function"},d=function(T){return rn(T)==="object"&&T.nodeType===1},f=function(T,P){if(T.nodeName==="IMG"&&T.hasAttribute("src")){var L=""+T.getAttribute("src");if(L.indexOf("data:image/")===0)return ov(unescape(L).split("base64,").pop());var K=t.loadFile(L,!0);if(K!==void 0)return K}if(T.nodeName==="CANVAS"){if(T.width===0||T.height===0)throw new Error("Given canvas must have data. Canvas width: "+T.width+", height: "+T.height);var le;switch(P){case"PNG":le="image/png";break;case"WEBP":le="image/webp";break;case"JPEG":case"JPG":default:le="image/jpeg"}return ov(T.toDataURL(le,1).split("base64,").pop())}},h=function(T){var P=this.internal.collections.addImage_images;if(P){for(var L in P)if(T===P[L].alias)return P[L]}},m=function(T,P,L){return T||P||(T=-96,P=-96),T<0&&(T=-1*L.width*72/T/this.internal.scaleFactor),P<0&&(P=-1*L.height*72/P/this.internal.scaleFactor),T===0&&(T=P*L.width/L.height),P===0&&(P=T*L.height/L.width),[T,P]},p=function(T,P,L,K,le,ne){var fe=m.call(this,L,K,le),te=this.internal.getCoordinateString,he=this.internal.getVerticalCoordinateString,ce=c.call(this);if(L=fe[0],K=fe[1],ce[le.index]=le,ne){ne*=Math.PI/180;var Ne=Math.cos(ne),F=Math.sin(ne),U=function(M){return M.toFixed(4)},R=[U(Ne),U(F),U(-1*F),U(Ne),0,0,"cm"]}this.internal.write("q"),ne?(this.internal.write([1,"0","0",1,te(T),he(P+K),"cm"].join(" ")),this.internal.write(R.join(" ")),this.internal.write([te(L),"0","0",te(K),"0","0","cm"].join(" "))):this.internal.write([te(L),"0","0",te(K),te(T),he(P+K),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+le.index+" Do"),this.internal.write("Q")},x=t.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"};t.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var v=t.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},y=t.__addimage__.sHashCode=function(T){var P,L,K=0;if(typeof T=="string")for(L=T.length,P=0;P<L;P++)K=(K<<5)-K+T.charCodeAt(P),K|=0;else if(I(T))for(L=T.byteLength/2,P=0;P<L;P++)K=(K<<5)-K+T[P],K|=0;return K}
vendor: 33,580 bytes, line 3661
3661,b=t.__addimage__.validateStringAsBase64=function(T){(T=T||"").toString().trim();var P=!0;return T.length===0&&(P=!1),T.length%4!=0&&(P=!1),/^[A-Za-z0-9+/]+$/.test(T.substr(0,T.length-2))===!1&&(P=!1),/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(T.substr(-2))===!1&&(P=!1),P},E=t.__addimage__.extractImageFromDataUrl=function(T){var P=(T=T||"").split("base64,"),L=null;if(P.length===2){var K=/^data:(\w*\/\w*);*(charset=(?!charset=)[\w=-]*)*;*$/.exec(P[0]);Array.isArray(K)&&(L={mimeType:K[1],charset:K[2],data:P[1]})}return L},S=t.__addimage__.supportsArrayBuffer=function(){return typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"};t.__addimage__.isArrayBuffer=function(T){return S()&&T instanceof ArrayBuffer};var I=t.__addimage__.isArrayBufferView=function(T){return S()&&typeof Uint32Array<"u"&&(T instanceof Int8Array||T instanceof Uint8Array||typeof Uint8ClampedArray<"u"&&T instanceof Uint8ClampedArray||T instanceof Int16Array||T instanceof Uint16Array||T instanceof Int32Array||T instanceof Uint32Array||T instanceof Float32Array||T instanceof Float64Array)},B=t.__addimage__.binaryStringToUint8Array=function(T){for(var P=T.length,L=new Uint8Array(P),K=0;K<P;K++)L[K]=T.charCodeAt(K);return L},_=t.__addimage__.arrayBufferToBinaryString=function(T){for(var P="",L=I(T)?T:new Uint8Array(T),K=0;K<L.length;K+=8192)P+=String.fromCharCode.apply(null,L.subarray(K,K+8192));return P};t.addImage=function(){var T,P,L,K,le,ne,fe,te,he;if(typeof arguments[1]=="number"?(P=e,L=arguments[1],K=arguments[2],le=arguments[3],ne=arguments[4],fe=arguments[5],te=arguments[6],he=arguments[7]):(P=arguments[1],L=arguments[2],K=arguments[3],le=arguments[4],ne=arguments[5],fe=arguments[6],te=arguments[7],he=arguments[8]),rn(T=arguments[0])==="object"&&!d(T)&&"imageData"in T){var ce=T;T=ce.imageData,P=ce.format||P||e,L=ce.x||L||0,K=ce.y||K||0,le=ce.w||ce.width||le,ne=ce.h||ce.height||ne,fe=ce.alias||fe,te=ce.compression||te,he=ce.rotation||ce.angle||he}var Ne=this.internal.getFilters();if(te===void 0&&Ne.indexOf("FlateEncode")!==-1&&(te="SLOW"),isNaN(L)||isNaN(K))throw new Error("Invalid coordinates passed to jsPDF.addImage");o.call(this);var F=O.call(this,T,P,fe,te);return p.call(this,L,K,le,ne,F,he),this};var O=function(T,P,L,K){var le,ne,fe;if(typeof T=="string"&&n(T)===e){T=unescape(T);var te=j(T,!1);(te!==""||(te=t.loadFile(T,!0))!==void 0)&&(T=te)}if(d(T)&&(T=f(T,P)),P=n(T,P),!u(P))throw new Error("addImage does not support files of type '"+P+"', please ensure that a plugin for '"+P+"' support is added.");if(((fe=L)==null||fe.length===0)&&(L=function(he){return typeof he=="string"||I(he)?y(he):I(he.data)?y(he.data):null}(T)),(le=h.call(this,L))||(S()&&(T instanceof Uint8Array||P==="RGBA"||(ne=T,T=B(T))),le=this["process"+P.toUpperCase()](T,A.call(this),L,function(he){return he&&typeof he=="string"&&(he=he.toUpperCase()),he in t.image_compression?he:v.NONE}(K),ne)),!le)throw new Error("An unknown error occurred whilst processing the image.");return le},j=t.__addimage__.convertBase64ToBinaryString=function(T,P){var L;P=typeof P!="boolean"||P;var K,le="";if(typeof T=="string"){K=(L=E(T))!==null?L.data:T;try{le=ov(K)}catch(ne){if(P)throw b(K)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+ne.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return le};t.getImageProperties=function(T){var P,L,K="";if(d(T)&&(T=f(T)),typeof T=="string"&&n(T)===e&&((K=j(T,!1))===""&&(K=t.loadFile(T)||""),T=K),L=n(T),!u(L))throw new Error("addImage does not support files of type '"+L+"', please ensure that a plugin for '"+L+"' support is added.");if(!S()||T instanceof Uint8Array||(T=B(T)),!(P=this["process"+L.toUpperCase()](T)))throw new Error("An unknown error occurred whilst processing the image");return P.fileType=L,P}})(zt.API),function(t){var e=function(r){if(r!==void 0&&r!="")return!0};zt.API.events.push(["addPage",function(r){this.internal.getPageInfo(r.pageNumber).pageContext.annotations=[]}]),t.events.push(["putPage",function(r){for(var n,i,a,s=this.internal.getCoordinateString,o=this.internal.getVerticalCoordinateString,c=this.internal.getPageInfoByObjId(r.objId),A=r.pageContext.annotations,u=!1,d=0;d<A.length&&!u;d++)switch((n=A[d]).type){case"link":(e(n.options.url)||e(n.options.pageNumber))&&(u=!0);break;case"reference":case"text":case"freetext":u=!0}if(u!=0){this.internal.write("/Annots [");for(var f=0;f<A.length;f++){n=A[f];var h=this.internal.pdfEscape,m=this.internal.getEncryptor(r.objId);switch(n.type){case"reference":this.internal.write(" "+n.object.objId+" 0 R ");break;case"text":var p=this.internal.newAdditionalObject(),x=this.internal.newAdditionalObject(),v=this.internal.getEncryptor(p.objId),y=n.title||"Note";a="<</Type /Annot /Subtype /Text "+(i="/Rect ["+s(n.bounds.x)+" "+o(n.bounds.y+n.bounds.h)+" "+s(n.bounds.x+n.bounds.w)+" "+o(n.bounds.y)+"] ")+"/Contents ("+h(v(n.contents))+")",a+=" /Popup "+x.objId+" 0 R",a+=" /P "+c.objId+" 0 R",a+=" /T ("+h(v(y))+") >>",p.content=a;var b=p.objId+" 0 R";a="<</Type /Annot /Subtype /Popup "+(i="/Rect ["+s(n.bounds.x+30)+" "+o(n.bounds.y+n.bounds.h)+" "+s(n.bounds.x+n.bounds.w+30)+" "+o(n.bounds.y)+"] ")+" /Parent "+b,n.open&&(a+=" /Open true"),a+=" >>",x.content=a,this.internal.write(p.objId,"0 R",x.objId,"0 R");break;case"freetext":i="/Rect ["+s(n.bounds.x)+" "+o(n.bounds.y)+" "+s(n.bounds.x+n.bounds.w)+" "+o(n.bounds.y+n.bounds.h)+"] ";var E=n.color||"#000000";a="<</Type /Annot /Subtype /FreeText "+i+"/Contents ("+h(m(n.contents))+")",a+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+E+")",a+=" /Border [0 0 0]",a+=" >>",this.internal.write(a);break;case"link":if(n.options.name){var S=this.annotations._nameMap[n.options.name];n.options.pageNumber=S.page,n.options.top=S.y}else n.options.top||(n.options.top=0);if(i="/Rect ["+n.finalBounds.x+" "+n.finalBounds.y+" "+n.finalBounds.w+" "+n.finalBounds.h+"] ",a="",n.options.url)a="<</Type /Annot /Subtype /Link "+i+"/Border [0 0 0] /A <</S /URI /URI ("+h(m(n.options.url))+") >>";else if(n.options.pageNumber)switch(a="<</Type /Annot /Subtype /Link "+i+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(n.options.pageNumber).objId+" 0 R",n.options.magFactor=n.options.magFactor||"XYZ",n.options.magFactor){case"Fit":a+=" /Fit]";break;case"FitH":a+=" /FitH "+n.options.top+"]";break;case"FitV":n.options.left=n.options.left||0,a+=" /FitV "+n.options.left+"]";break;case"XYZ":default:var I=o(n.options.top);n.options.left=n.options.left||0,n.options.zoom===void 0&&(n.options.zoom=0),a+=" /XYZ "+n.options.left+" "+I+" "+n.options.zoom+"]"}a!=""&&(a+=" >>",this.internal.write(a))}}this.internal.write("]")}}]),t.createAnnotation=function(r){var n=this.internal.getCurrentPageInfo();switch(r.type){case"link":this.link(r.bounds.x,r.bounds.y,r.bounds.w,r.bounds.h,r);break;case"text":case"freetext":n.pageContext.annotations.push(r)}},t.link=function(r,n,i,a,s){var o=this.internal.getCurrentPageInfo(),c=this.internal.getCoordinateString,A=this.internal.getVerticalCoordinateString;o.pageContext.annotations.push({finalBounds:{x:c(r),y:A(n),w:c(r+i),h:A(n+a)},options:s,type:"link"})},t.textWithLink=function(r,n,i,a){var s,o,c=this.getTextWidth(r),A=this.internal.getLineHeight()/this.internal.scaleFactor;if(a.maxWidth!==void 0){o=a.maxWidth;var u=this.splitTextToSize(r,o).length;s=Math.ceil(A*u)}else o=c,s=A;return this.text(r,n,i,a),i+=.2*A,a.align==="center"&&(n-=c/2),a.align==="right"&&(n-=c),this.link(n,i-A,o,s,a),c},t.getTextWidth=function(r){var n=this.internal.getFontSize();return this.getStringUnitWidth(r)*n/this.internal.scaleFactor}}(zt.API),function(t){var e={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},r={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},n={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},i=[1570,1571,1573,1575];t.__arabicParser__={};var a=t.__arabicParser__.isInArabicSubstitutionA=function(p){return e[p.charCodeAt(0)]!==void 0},s=t.__arabicParser__.isArabicLetter=function(p){return typeof p=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(p)},o=t.__arabicParser__.isArabicEndLetter=function(p){return s(p)&&a(p)&&e[p.charCodeAt(0)].length<=2},c=t.__arabicParser__.isArabicAlfLetter=function(p){return s(p)&&i.indexOf(p.charCodeAt(0))>=0};t.__arabicParser__.arabicLetterHasIsolatedForm=function(p){return s(p)&&a(p)&&e[p.charCodeAt(0)].length>=1};var A=t.__arabicParser__.arabicLetterHasFinalForm=function(p){return s(p)&&a(p)&&e[p.charCodeAt(0)].length>=2};t.__arabicParser__.arabicLetterHasInitialForm=function(p){return s(p)&&a(p)&&e[p.charCodeAt(0)].length>=3};var u=t.__arabicParser__.arabicLetterHasMedialForm=function(p){return s(p)&&a(p)&&e[p.charCodeAt(0)].length==4},d=t.__arabicParser__.resolveLigatures=function(p){var x=0,v=r,y="",b=0;for(x=0;x<p.length;x+=1)v[p.charCodeAt(x)]!==void 0?(b++,typeof(v=v[p.charCodeAt(x)])=="number"&&(y+=String.fromCharCode(v),v=r,b=0),x===p.length-1&&(v=r,y+=p.charAt(x-(b-1)),x-=b-1,b=0)):(v=r,y+=p.charAt(x-b),x-=b,b=0);return y};t.__arabicParser__.isArabicDiacritic=function(p){return p!==void 0&&n[p.charCodeAt(0)]!==void 0};var f=t.__arabicParser__.getCorrectForm=function(p,x,v){return s(p)?a(p)===!1?-1:!A(p)||!s(x)&&!s(v)||!s(v)&&o(x)||o(p)&&!s(x)||o(p)&&c(x)||o(p)&&o(x)?0:u(p)&&s(x)&&!o(x)&&s(v)&&A(v)?3:o(p)||!s(v)?1:2:-1},h=function(p){var x=0,v=0,y=0,b="",E="",S="",I=(p=p||"").split("\\s+"),B=[];for(x=0;x<I.length;x+=1){for(B.push(""),v=0;v<I[x].length;v+=1)b=I[x][v],E=I[x][v-1],S=I[x][v+1],s(b)?(y=f(b,E,S),B[x]+=y!==-1?String.fromCharCode(e[b.charCodeAt(0)][y]):b):B[x]+=b;B[x]=d(B[x])}return B.join(" ")},m=t.__arabicParser__.processArabic=t.processArabic=function(){var p,x=typeof arguments[0]=="string"?arguments[0]:arguments[0].text,v=[];if(Array.isArray(x)){var y=0;for(v=[],y=0;y<x.length;y+=1)Array.isArray(x[y])?v.push([h(x[y][0]),x[y][1],x[y][2]]):v.push([h(x[y])]);p=v}else p=h(x);return typeof arguments[0]=="string"?p:(arguments[0].text=p,arguments[0])};t.events.push(["preProcessText",m])}(zt.API),zt.API.autoPrint=function(t){var e;switch((t=t||{}).variant=t.variant||"non-conform",t.variant){case"javascript":this.addJS("print({});");break;case"non-conform":default:this.internal.events.subscribe("postPutResources",function(){e=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /Named"),this.internal.out("/Type /Action"),this.internal.out("/N /Print"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+e+" 0 R")})}return this},function(t){var e=function(){var r=void 0;Object.defineProperty(this,"pdf",{get:function(){return r},set:function(o){r=o}});var n=150;Object.defineProperty(this,"width",{get:function(){return n},set:function(o){n=isNaN(o)||Number.isInteger(o)===!1||o<0?150:o,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=n+1)}});var i=300;Object.defineProperty(this,"height",{get:function(){return i},set:function(o){i=isNaN(o)||Number.isInteger(o)===!1||o<0?300:o,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=i+1)}});var a=[];Object.defineProperty(this,"childNodes",{get:function(){return a},set:function(o){a=o}});var s={};Object.defineProperty(this,"style",{get:function(){return s},set:function(o){s=o}}),Object.defineProperty(this,"parentNode",{})};e.prototype.getContext=function(r,n){var i;if((r=r||"2d")!=="2d")return null;for(i in n)this.pdf.context2d.hasOwnProperty(i)&&(this.pdf.context2d[i]=n[i]);return this.pdf.context2d._canvas=this,this.pdf.context2d},e.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},t.events.push(["initialized",function(){this.canvas=new e,this.canvas.pdf=this}])}(zt.API),function(t){var e={left:0,top:0,bottom:0,right:0},r=!1,n=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},e),this.internal.__cell__.margins.width=this.getPageWidth(),i.call(this))},i=function(){this.internal.__cell__.lastCell=new a,this.internal.__cell__.pages=1},a=function(){var c=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return c},set:function(p){c=p}});var A=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return A},set:function(p){A=p}});var u=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return u},set:function(p){u=p}});var d=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return d},set:function(p){d=p}});var f=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return f},set:function(p){f=p}});var h=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return h},set:function(p){h=p}});var m=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return m},set:function(p){m=p}}),this};a.prototype.clone=function(){return new a(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},a.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},t.setHeaderFunction=function(c){return n.call(this),this.internal.__cell__.headerFunction=typeof c=="function"?c:void 0,this},t.getTextDimensions=function(c,A){n.call(this);var u=(A=A||{}).fontSize||this.getFontSize(),d=A.font||this.getFont(),f=A.scaleFactor||this.internal.scaleFactor,h=0,m=0,p=0,x=this;if(!Array.isArray(c)&&typeof c!="string"){if(typeof c!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");c=String(c)}var v=A.maxWidth;v>0?typeof c=="string"?c=this.splitTextToSize(c,v):Object.prototype.toString.call(c)==="[object Array]"&&(c=c.reduce(function(b,E){return b.concat(x.splitTextToSize(E,v))},[])):c=Array.isArray(c)?c:[c];for(var y=0;y<c.length;y++)h<(p=this.getStringUnitWidth(c[y],{font:d})*u)&&(h=p);return h!==0&&(m=c.length),{w:h/=f,h:Math.max((m*u*this.getLineHeightFactor()-u*(this.getLineHeightFactor()-1))/f,0)}},t.cellAddPage=function(){n.call(this),this.addPage();var c=this.internal.__cell__.margins||e;return this.internal.__cell__.lastCell=new a(c.left,c.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var s=t.cell=function(){var c;c=arguments[0]instanceof a?arguments[0]:new a(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),n.call(this);var A=this.internal.__cell__.lastCell,u=this.internal.__cell__.padding,d=this.internal.__cell__.margins||e,f=this.internal.__cell__.tableHeaderRow,h=this.internal.__cell__.printHeaders;return A.lineNumber!==void 0&&(A.lineNumber===c.lineNumber?(c.x=(A.x||0)+(A.width||0),c.y=A.y||0):A.y+A.height+c.height+d.bottom>this.getPageHeight()?(this.cellAddPage(),c.y=d.top,h&&f&&(this.printHeaderRow(c.lineNumber,!0),c.y+=f[0].height)):c.y=A.y+A.height||c.y),c.text[0]!==void 0&&(this.rect(c.x,c.y,c.width,c.height,r===!0?"FD":void 0),c.align==="right"?this.text(c.text,c.x+c.width-u,c.y+u,{align:"right",baseline:"top"}):c.align==="center"?this.text(c.text,c.x+c.width/2,c.y+u,{align:"center",baseline:"top",maxWidth:c.width-u-u}):this.text(c.text,c.x+u,c.y+u,{align:"left",baseline:"top",maxWidth:c.width-u-u})),this.internal.__cell__.lastCell=c,this};t.table=function(c,A,u,d,f){if(n.call(this),!u)throw new Error("No data for PDF table.");var h,m,p,x,v=[],y=[],b=[],E={},S={},I=[],B=[],_=(f=f||{}).autoSize||!1,O=f.printHeaders!==!1,j=f.css&&f.css["font-size"]!==void 0?16*f.css["font-size"]:f.fontSize||12,T=f.margins||Object.assign({width:this.getPageWidth()},e),P=typeof f.padding=="number"?f.padding:3,L=f.headerBackgroundColor||"#c8c8c8",K=f.headerTextColor||"#000";if(i.call(this),this.internal.__cell__.printHeaders=O,this.internal.__cell__.margins=T,this.internal.__cell__.table_font_size=j,this.internal.__cell__.padding=P,this.internal.__cell__.headerBackgroundColor=L,this.internal.__cell__.headerTextColor=K,this.setFontSize(j),d==null)y=v=Object.keys(u[0]),b=v.map(function(){return"left"});else if(Array.isArray(d)&&rn(d[0])==="object")for(v=d.map(function(ce){return ce.name}),y=d.map(function(ce){return ce.prompt||ce.name||""}),b=d.map(function(ce){return ce.align||"left"}),h=0;h<d.length;h+=1)S[d[h].name]=d[h].width*(19.049976/25.4);else Array.isArray(d)&&typeof d[0]=="string"&&(y=v=d,b=v.map(function(){return"left"}));if(_||Array.isArray(d)&&typeof d[0]=="string")for(h=0;h<v.length;h+=1){for(E[x=v[h]]=u.map(function(ce){return ce[x]}),this.setFont(void 0,"bold"),I.push(this.getTextDimensions(y[h],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),m=E[x],this.setFont(void 0,"normal"),p=0;p<m.length;p+=1)I.push(this.getTextDimensions(m[p],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);S[x]=Math.max.apply(null,I)+P+P,I=[]}if(O){var le={};for(h=0;h<v.length;h+=1)le[v[h]]={},le[v[h]].text=y[h],le[v[h]].align=b[h];var ne=o.call(this,le,S);B=v.map(function(ce){return new a(c,A,S[ce],ne,le[ce].text,void 0,le[ce].align)}),this.setTableHeaderRow(B),this.printHeaderRow(1,!1)}var fe=d.reduce(function(ce,Ne){return ce[Ne.name]=Ne.align,ce},{});for(h=0;h<u.length;h+=1){"rowStart"in f&&f.rowStart instanceof Function&&f.rowStart({row:h,data:u[h]},this);var te=o.call(this,u[h],S);for(p=0;p<v.length;p+=1){var he=u[h][v[p]];"cellStart"in f&&f.cellStart instanceof Function&&f.cellStart({row:h,col:p,data:he},this),s.call(this,new a(c,A,S[v[p]],te,he,h+2,fe[v[p]]))}}return this.internal.__cell__.table_x=c,this.internal.__cell__.table_y=A,this};var o=function(c,A){var u=this.internal.__cell__.padding,d=this.internal.__cell__.table_font_size,f=this.internal.scaleFactor;return Object.keys(c).map(function(h){var m=c[h];return this.splitTextToSize(m.hasOwnProperty("text")?m.text:m,A[h]-u-u)},this).map(function(h){return this.getLineHeightFactor()*h.length*d/f+u+u},this).reduce(function(h,m){return Math.max(h,m)},0)};t.setTableHeaderRow=function(c){n.call(this),this.internal.__cell__.tableHeaderRow=c},t.printHeaderRow=function(c,A){if(n.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var u;if(r=!0,typeof this.internal.__cell__.headerFunction=="function"){var d=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new a(d[0],d[1],d[2],d[3],void 0,-1)}this.setFont(void 0,"bold");for(var f=[],h=0;h<this.internal.__cell__.tableHeaderRow.length;h+=1){u=this.internal.__cell__.tableHeaderRow[h].clone(),A&&(u.y=this.internal.__cell__.margins.top||0,f.push(u)),u.lineNumber=c;var m=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),s.call(this,u),this.setTextColor(m)}f.length>0&&this.setTableHeaderRow(f),this.setFont(void 0,"normal"),r=!1}}(zt.API);var oW={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},lW=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],k_=sW(lW),cW=[100,200,300,400,500,600,700,800,900],qye=sW(cW);function P_(t){var e=t.family.replace(/"|'/g,"").toLowerCase(),r=function(a){return oW[a=a||"normal"]?a:"normal"}(t.style),n=function(a){if(!a)return 400;if(typeof a=="number")return a>=100&&a<=900&&a%100==0?a:400;if(/^\d00$/.test(a))return parseInt(a);switch(a){case"bold":return 700;case"normal":default:return 400}}(t.weight),i=function(a){return typeof k_[a=a||"normal"]=="number"?a:"normal"}(t.stretch);return{family:e,style:r,weight:n,stretch:i,src:t.src||[],ref:t.ref||{name:e,style:[i,r,n].join(" ")}}}function qO(t,e,r,n){var i;for(i=r;i>=0&&i<e.length;i+=n)if(t[e[i]])return t[e[i]];for(i=r;i>=0&&i<e.length;i-=n)if(t[e[i]])return t[e[i]]}var Gye={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},GO={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function JO(t){return[t.stretch,t.style,t.weight,t.family].join(" ")}function Jye(t,e,r){for(var n=(r=r||{}).defaultFontFamily||"times",i=Object.assign({},Gye,r.genericFontFamilies||{}),a=null,s=null,o=0;o<e.length;++o)if(i[(a=P_(e[o])).family]&&(a.family=i[a.family]),t.hasOwnProperty(a.family)){s=t[a.family];break}if(!(s=s||t[n]))throw new Error("Could not find a font-family for the rule '"+JO(a)+"' and default family '"+n+"'.");if(s=function(c,A){if(A[c])return A[c];var u=k_[c],d=u<=k_.normal?-1:1,f=qO(A,lW,u,d);if(!f)throw new Error("Could not find a matching font-stretch value for "+c);return f}(a.stretch,s),s=function(c,A){if(A[c])return A[c];for(var u=oW[c],d=0;d<u.length;++d)if(A[u[d]])return A[u[d]];throw new Error("Could not find a matching font-style for "+c)}(a.style,s),!(s=function(c,A){if(A[c])return A[c];if(c===400&&A[500])return A[500];if(c===500&&A[400])return A[400];var u=qye[c],d=qO(A,cW,u,c<400?-1:1);if(!d)throw new Error("Could not find a matching font-weight for value "+c);return d}(a.weight,s)))throw new Error("Failed to resolve a font for the rule '"+JO(a)+"'.");return s}function XO(t){return t.trimLeft()}function Xye(t,e){for(var r=0;r<t.length;){if(t.charAt(r)===e)return[t.substring(0,r),t.substring(r+1)];r+=1}return null}function Yye(t){var e=t.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return e===null?null:[e[0],t.substring(e[0].length)]}var gw,YO,ZO,I4=["times"];(function(t){var e,r,n,i,a,s,o,c,A,u=function(F){return F=F||{},this.isStrokeTransparent=F.isStrokeTransparent||!1,this.strokeOpacity=F.strokeOpacity||1,this.strokeStyle=F.strokeStyle||"#000000",this.fillStyle=F.fillStyle||"#000000",this.isFillTransparent=F.isFillTransparent||!1,this.fillOpacity=F.fillOpacity||1,this.font=F.font||"10px sans-serif",this.textBaseline=F.textBaseline||"alphabetic",this.textAlign=F.textAlign||"left",this.lineWidth=F.lineWidth||1,this.lineJoin=F.lineJoin||"miter",this.lineCap=F.lineCap||"butt",this.path=F.path||[],this.transform=F.transform!==void 0?F.transform.clone():new c,this.globalCompositeOperation=F.globalCompositeOperation||"normal",this.globalAlpha=F.globalAlpha||1,this.clip_path=F.clip_path||[],this.currentPoint=F.currentPoint||new s,this.miterLimit=F.miterLimit||10,this.lastPoint=F.lastPoint||new s,this.lineDashOffset=F.lineDashOffset||0,this.lineDash=F.lineDash||[],this.margin=F.margin||[0,0,0,0],this.prevPageLastElemOffset=F.prevPageLastElemOffset||0,this.ignoreClearRect=typeof F.ignoreClearRect!="boolean"||F.ignoreClearRect,this};t.events.push(["initialized",function(){this.context2d=new d(this),e=this.internal.f2,r=this.internal.getCoordinateString,n=this.internal.getVerticalCoordinateString,i=this.internal.getHorizontalCoordinate,a=this.internal.getVerticalCoordinate,s=this.internal.Point,o=this.internal.Rectangle,c=this.internal.Matrix,A=new u}]);var d=function(F){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var U=F;Object.defineProperty(this,"pdf",{get:function(){return U}});var R=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return R},set:function(De){R=!!De}});var M=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return M},set:function(De){M=!!De}});var J=0;Object.defineProperty(this,"posX",{get:function(){return J},set:function(De){isNaN(De)||(J=De)}});var ue=0;Object.defineProperty(this,"posY",{get:function(){return ue},set:function(De){isNaN(De)||(ue=De)}}),Object.defineProperty(this,"margin",{get:function(){return A.margin},set:function(De){var oe;typeof De=="number"?oe=[De,De,De,De]:((oe=new Array(4))[0]=De[0],oe[1]=De.length>=2?De[1]:oe[0],oe[2]=De.length>=3?De[2]:oe[0],oe[3]=De.length>=4?De[3]:oe[1]),A.margin=oe}});var de=!1;Object.defineProperty(this,"autoPaging",{get:function(){return de},set:function(De){de=De}});var pe=0;Object.defineProperty(this,"lastBreak",{get:function(){return pe},set:function(De){pe=De}});var be=[];Object.defineProperty(this,"pageBreaks",{get:function(){return be},set:function(De){be=De}}),Object.defineProperty(this,"ctx",{get:function(){return A},set:function(De){De instanceof u&&(A=De)}}),Object.defineProperty(this,"path",{get:function(){return A.path},set:function(De){A.path=De}});var Qe=[];Object.defineProperty(this,"ctxStack",{get:function(){return Qe},set:function(De){Qe=De}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(De){var oe;oe=f(De),this.ctx.fillStyle=oe.style,this.ctx.isFillTransparent=oe.a===0,this.ctx.fillOpacity=oe.a,this.pdf.setFillColor(oe.r,oe.g,oe.b,{a:oe.a}),this.pdf.setTextColor(oe.r,oe.g,oe.b,{a:oe.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(De){var oe=f(De);this.ctx.strokeStyle=oe.style,this.ctx.isStrokeTransparent=oe.a===0,this.ctx.strokeOpacity=oe.a,oe.a===0?this.pdf.setDrawColor(255,255,255):(oe.a,this.pdf.setDrawColor(oe.r,oe.g,oe.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(De){["butt","round","square"].indexOf(De)!==-1&&(this.ctx.lineCap=De,this.pdf.setLineCap(De))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(De){isNaN(De)||(this.ctx.lineWidth=De,this.pdf.setLineWidth(De))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(De){["bevel","round","miter"].indexOf(De)!==-1&&(this.ctx.lineJoin=De,this.pdf.setLineJoin(De))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(De){isNaN(De)||(this.ctx.miterLimit=De,this.pdf.setMiterLimit(De))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(De){this.ctx.textBaseline=De}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(De){["right","end","center","left","start"].indexOf(De)!==-1&&(this.ctx.textAlign=De)}});var Me=null;function Xe(De,oe){if(Me===null){var Ke=function(dt){var Ee=[];return Object.keys(dt).forEach(function(We){dt[We].forEach(function(Ze){var rt=null;switch(Ze){case"bold":rt={family:We,weight:"bold"};break;case"italic":rt={family:We,style:"italic"};break;case"bolditalic":rt={family:We,weight:"bold",style:"italic"};break;case"":case"normal":rt={family:We}}rt!==null&&(rt.ref={name:We,style:Ze},Ee.push(rt))})}),Ee}(De.getFontList());Me=function(dt){for(var Ee={},We=0;We<dt.length;++We){var Ze=P_(dt[We]),rt=Ze.family,$e=Ze.stretch,Se=Ze.style,Ve=Ze.weight;Ee[rt]=Ee[rt]||{},Ee[rt][$e]=Ee[rt][$e]||{},Ee[rt][$e][Se]=Ee[rt][$e][Se]||{},Ee[rt][$e][Se][Ve]=Ze}return Ee}(Ke.concat(oe))}return Me}var ot=null;Object.defineProperty(this,"fontFaces",{get:function(){return ot},set:function(De){Me=null,ot=De}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(De){var oe;if(this.ctx.font=De,(oe=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z]+?)\s*$/i.exec(De))!==null){var Ke=oe[1],dt=(oe[2],oe[3]),Ee=oe[4],We=(oe[5],oe[6]),Ze=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(Ee)[2];Ee=Math.floor(Ze==="px"?parseFloat(Ee)*this.pdf.internal.scaleFactor:Ze==="em"?parseFloat(Ee)*this.pdf.getFontSize():parseFloat(Ee)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(Ee);var rt=function(Re){var Oe,Ue,Ft=[],gt=Re.trim();if(gt==="")return I4;if(gt in GO)return[GO[gt]];for(;gt!=="";){switch(Ue=null,Oe=(gt=XO(gt)).charAt(0)){case'"':case"'":Ue=Xye(gt.substring(1),Oe);break;default:Ue=Yye(gt)}if(Ue===null||(Ft.push(Ue[0]),(gt=XO(Ue[1]))!==""&>.charAt(0)!==","))return I4;gt=gt.replace(/^,/,"")}return Ft}(We);if(this.fontFaces){var $e=Jye(Xe(this.pdf,this.fontFaces),rt.map(function(Re){return{family:Re,stretch:"normal",weight:dt,style:Ke}}));this.pdf.setFont($e.ref.name,$e.ref.style)}else{var Se="";(dt==="bold"||parseInt(dt,10)>=700||Ke==="bold")&&(Se="bold"),Ke==="italic"&&(Se+="italic"),Se.length===0&&(Se="normal");for(var Ve="",vt={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},Tt=0;Tt<rt.length;Tt++){if(this.pdf.internal.getFont(rt[Tt],Se,{noFallback:!0,disableWarning:!0})!==void 0){Ve=rt[Tt];break}if(Se==="bolditalic"&&this.pdf.internal.getFont(rt[Tt],"bold",{noFallback:!0,disableWarning:!0})!==void 0)Ve=rt[Tt],Se="bold";else if(this.pdf.internal.getFont(rt[Tt],"normal",{noFallback:!0,disableWarning:!0})!==void 0){Ve=rt[Tt],Se="normal";break}}if(Ve===""){for(var Ie=0;Ie<rt.length;Ie++)if(vt[rt[Ie]]){Ve=vt[rt[Ie]];break}}Ve=Ve===""?"Times":Ve,this.pdf.setFont(Ve,Se)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(De){this.ctx.globalCompositeOperation=De}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(De){this.ctx.globalAlpha=De}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(De){this.ctx.lineDashOffset=De,Ne.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(De){this.ctx.lineDash=De,Ne.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(De){this.ctx.ignoreClearRect=!!De}})};d.prototype.setLineDash=function(F){this.lineDash=F},d.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},d.prototype.fill=function(){E.call(this,"fill",!1)},d.prototype.stroke=function(){E.call(this,"stroke",!1)},d.prototype.beginPath=function(){this.path=[{type:"begin"}]},d.prototype.moveTo=function(F,U){if(isNaN(F)||isNaN(U))throw mn.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var R=this.ctx.transform.applyToPoint(new s(F,U));this.path.push({type:"mt",x:R.x,y:R.y}),this.ctx.lastPoint=new s(F,U)},d.prototype.closePath=function(){var F=new s(0,0),U=0;for(U=this.path.length-1;U!==-1;U--)if(this.path[U].type==="begin"&&rn(this.path[U+1])==="object"&&typeof this.path[U+1].x=="number"){F=new s(this.path[U+1].x,this.path[U+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new s(F.x,F.y)},d.prototype.lineTo=function(F,U){if(isNaN(F)||isNaN(U))throw mn.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var R=this.ctx.transform.applyToPoint(new s(F,U));this.path.push({type:"lt",x:R.x,y:R.y}),this.ctx.lastPoint=new s(R.x,R.y)},d.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),E.call(this,null,!0)},d.prototype.quadraticCurveTo=function(F,U,R,M){if(isNaN(R)||isNaN(M)||isNaN(F)||isNaN(U))throw mn.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to
3661jsPDF.context2d.quadraticCurveTo");var J=this.ctx.transform.applyToPoint(new s(R,M)),ue=this.ctx.transform.applyToPoint(new s(F,U));this.path.push({type:"qct",x1:ue.x,y1:ue.y,x:J.x,y:J.y}),this.ctx.lastPoint=new s(J.x,J.y)},d.prototype.bezierCurveTo=function(F,U,R,M,J,ue){if(isNaN(J)||isNaN(ue)||isNaN(F)||isNaN(U)||isNaN(R)||isNaN(M))throw mn.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var de=this.ctx.transform.applyToPoint(new s(J,ue)),pe=this.ctx.transform.applyToPoint(new s(F,U)),be=this.ctx.transform.applyToPoint(new s(R,M));this.path.push({type:"bct",x1:pe.x,y1:pe.y,x2:be.x,y2:be.y,x:de.x,y:de.y}),this.ctx.lastPoint=new s(de.x,de.y)},d.prototype.arc=function(F,U,R,M,J,ue){if(isNaN(F)||isNaN(U)||isNaN(R)||isNaN(M)||isNaN(J))throw mn.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(ue=!!ue,!this.ctx.transform.isIdentity){var de=this.ctx.transform.applyToPoint(new s(F,U));F=de.x,U=de.y;var pe=this.ctx.transform.applyToPoint(new s(0,R)),be=this.ctx.transform.applyToPoint(new s(0,0));R=Math.sqrt(Math.pow(pe.x-be.x,2)+Math.pow(pe.y-be.y,2))}Math.abs(J-M)>=2*Math.PI&&(M=0,J=2*Math.PI),this.path.push({type:"arc",x:F,y:U,radius:R,startAngle:M,endAngle:J,counterclockwise:ue})},d.prototype.arcTo=function(F,U,R,M,J){throw new Error("arcTo not implemented.")},d.prototype.rect=function(F,U,R,M){if(isNaN(F)||isNaN(U)||isNaN(R)||isNaN(M))throw mn.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(F,U),this.lineTo(F+R,U),this.lineTo(F+R,U+M),this.lineTo(F,U+M),this.lineTo(F,U),this.lineTo(F+R,U),this.lineTo(F,U)},d.prototype.fillRect=function(F,U,R,M){if(isNaN(F)||isNaN(U)||isNaN(R)||isNaN(M))throw mn.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!h.call(this)){var J={};this.lineCap!=="butt"&&(J.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(J.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(F,U,R,M),this.fill(),J.hasOwnProperty("lineCap")&&(this.lineCap=J.lineCap),J.hasOwnProperty("lineJoin")&&(this.lineJoin=J.lineJoin)}},d.prototype.strokeRect=function(F,U,R,M){if(isNaN(F)||isNaN(U)||isNaN(R)||isNaN(M))throw mn.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");m.call(this)||(this.beginPath(),this.rect(F,U,R,M),this.stroke())},d.prototype.clearRect=function(F,U,R,M){if(isNaN(F)||isNaN(U)||isNaN(R)||isNaN(M))throw mn.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(F,U,R,M))},d.prototype.save=function(F){F=typeof F!="boolean"||F;for(var U=this.pdf.internal.getCurrentPageInfo().pageNumber,R=0;R<this.pdf.internal.getNumberOfPages();R++)this.pdf.setPage(R+1),this.pdf.internal.out("q");if(this.pdf.setPage(U),F){this.ctx.fontSize=this.pdf.internal.getFontSize();var M=new u(this.ctx);this.ctxStack.push(this.ctx),this.ctx=M}},d.prototype.restore=function(F){F=typeof F!="boolean"||F;for(var U=this.pdf.internal.getCurrentPageInfo().pageNumber,R=0;R<this.pdf.internal.getNumberOfPages();R++)this.pdf.setPage(R+1),this.pdf.internal.out("Q");this.pdf.setPage(U),F&&this.ctxStack.length!==0&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin,this.lineDash=this.ctx.lineDash,this.lineDashOffset=this.ctx.lineDashOffset)},d.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var f=function(F){var U,R,M,J;if(F.isCanvasGradient===!0&&(F=F.getColor()),!F)return{r:0,g:0,b:0,a:0,style:F};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(F))U=0,R=0,M=0,J=0;else{var ue=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(F);if(ue!==null)U=parseInt(ue[1]),R=parseInt(ue[2]),M=parseInt(ue[3]),J=1;else if((ue=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(F))!==null)U=parseInt(ue[1]),R=parseInt(ue[2]),M=parseInt(ue[3]),J=parseFloat(ue[4]);else{if(J=1,typeof F=="string"&&F.charAt(0)!=="#"){var de=new eW(F);F=de.ok?de.toHex():"#000000"}F.length===4?(U=F.substring(1,2),U+=U,R=F.substring(2,3),R+=R,M=F.substring(3,4),M+=M):(U=F.substring(1,3),R=F.substring(3,5),M=F.substring(5,7)),U=parseInt(U,16),R=parseInt(R,16),M=parseInt(M,16)}}return{r:U,g:R,b:M,a:J,style:F}},h=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},m=function(){return!!(this.ctx.isStrokeTransparent||this.globalAlpha==0)};d.prototype.fillText=function(F,U,R,M){if(isNaN(U)||isNaN(R)||typeof F!="string")throw mn.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to
3661jsPDF.context2d.fillText");if(M=isNaN(M)?void 0:M,!h.call(this)){var J=te(this.ctx.transform.rotation),ue=this.ctx.transform.scaleX;P.call(this,{text:F,x:U,y:R,scale:ue,angle:J,align:this.textAlign,maxWidth:M})}},d.prototype.strokeText=function(F,U,R,M){if(isNaN(U)||isNaN(R)||typeof F!="string")throw mn.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!m.call(this)){M=isNaN(M)?void 0:M;var J=te(this.ctx.transform.rotation),ue=this.ctx.transform.scaleX;P.call(this,{text:F,x:U,y:R,scale:ue,renderingMode:"stroke",angle:J,align:this.textAlign,maxWidth:M})}},d.prototype.measureText=function(F){if(typeof F!="string")throw mn.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var U=this.pdf,R=this.pdf.internal.scaleFactor,M=U.internal.getFontSize(),J=U.getStringUnitWidth(F)*M/U.internal.scaleFactor,ue=function(de){var pe=(de=de||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return pe}}),this};return new ue({width:J*=Math.round(96*R/72*1e4)/1e4})},d.prototype.scale=function(F,U){if(isNaN(F)||isNaN(U))throw mn.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var R=new c(F,0,0,U,0,0);this.ctx.transform=this.ctx.transform.multiply(R)},d.prototype.rotate=function(F){if(isNaN(F))throw mn.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var U=new c(Math.cos(F),Math.sin(F),-Math.sin(F),Math.cos(F),0,0);this.ctx.transform=this.ctx.transform.multiply(U)},d.prototype.translate=function(F,U){if(isNaN(F)||isNaN(U))throw mn.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var R=new c(1,0,0,1,F,U);this.ctx.transform=this.ctx.transform.multiply(R)},d.prototype.transform=function(F,U,R,M,J,ue){if(isNaN(F)||isNaN(U)||isNaN(R)||isNaN(M)||isNaN(J)||isNaN(ue))throw mn.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var de=new c(F,U,R,M,J,ue);this.ctx.transform=this.ctx.transform.multiply(de)},d.prototype.setTransform=function(F,U,R,M,J,ue){F=isNaN(F)?1:F,U=isNaN(U)?0:U,R=isNaN(R)?0:R,M=isNaN(M)?1:M,J=isNaN(J)?0:J,ue=isNaN(ue)?0:ue,this.ctx.transform=new c(F,U,R,M,J,ue)};var p=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};d.prototype.drawImage=function(F,U,R,M,J,ue,de,pe,be){var Qe=this.pdf.getImageProperties(F),Me=1,Xe=1,ot=1,De=1;M!==void 0&&pe!==void 0&&(ot=pe/M,De=be/J,Me=Qe.width/M*pe/M,Xe=Qe.height/J*be/J),ue===void 0&&(ue=U,de=R,U=0,R=0),M!==void 0&&pe===void 0&&(pe=M,be=J),M===void 0&&pe===void 0&&(pe=Qe.width,be=Qe.height);for(var oe,Ke=this.ctx.transform.decompose(),dt=te(Ke.rotate.shx),Ee=new c,We=(Ee=(Ee=(Ee=Ee.multiply(Ke.translate)).multiply(Ke.skew)).multiply(Ke.scale)).applyToRectangle(new o(ue-U*ot,de-R*De,M*Me,J*Xe)),Ze=x.call(this,We),rt=[],$e=0;$e<Ze.length;$e+=1)rt.indexOf(Ze[$e])===-1&&rt.push(Ze[$e]);if(b(rt),this.autoPaging)for(var Se=rt[0],Ve=rt[rt.length-1],vt=Se;vt<Ve+1;vt++){this.pdf.setPage(vt);var Tt=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],Ie=vt===1?this.posY+this.margin[0]:this.margin[0],Re=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],Oe=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Ue=vt===1?0:Re+(vt-2)*Oe;if(this.ctx.clip_path.length!==0){var Ft=this.path;oe=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=y(oe,this.posX+this.margin[3],-Ue+Ie+this.ctx.prevPageLastElemOffset),S.call(this,"fill",!0),this.path=Ft}var gt=JSON.parse(JSON.stringify(We));gt=y([gt],this.posX+this.margin[3],-Ue+Ie+this.ctx.prevPageLastElemOffset)[0];var Kr=(vt>Se||vt<Ve)&&p.call(this);Kr&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Tt,Oe,null).clip().discardPath()),this.pdf.addImage(F,"JPEG",gt.x,gt.
vendor: 27,929 bytes, line 3661
3661y,gt.w,gt.h,null,null,dt),Kr&&this.pdf.restoreGraphicsState()}else this.pdf.addImage(F,"JPEG",We.x,We.y,We.w,We.h,null,null,dt)};var x=function(F,U,R){var M=[];U=U||this.pdf.internal.pageSize.width,R=R||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var J=this.posY+this.ctx.prevPageLastElemOffset;switch(F.type){default:case"mt":case"lt":M.push(Math.floor((F.y+J)/R)+1);break;case"arc":M.push(Math.floor((F.y+J-F.radius)/R)+1),M.push(Math.floor((F.y+J+F.radius)/R)+1);break;case"qct":var ue=he(this.ctx.lastPoint.x,this.ctx.lastPoint.y,F.x1,F.y1,F.x,F.y);M.push(Math.floor((ue.y+J)/R)+1),M.push(Math.floor((ue.y+ue.h+J)/R)+1);break;case"bct":var de=ce(this.ctx.lastPoint.x,this.ctx.lastPoint.y,F.x1,F.y1,F.x2,F.y2,F.x,F.y);M.push(Math.floor((de.y+J)/R)+1),M.push(Math.floor((de.y+de.h+J)/R)+1);break;case"rect":M.push(Math.floor((F.y+J)/R)+1),M.push(Math.floor((F.y+F.h+J)/R)+1)}for(var pe=0;pe<M.length;pe+=1)for(;this.pdf.internal.getNumberOfPages()<M[pe];)v.call(this);return M},v=function(){var F=this.fillStyle,U=this.strokeStyle,R=this.font,M=this.lineCap,J=this.lineWidth,ue=this.lineJoin;this.pdf.addPage(),this.fillStyle=F,this.strokeStyle=U,this.font=R,this.lineCap=M,this.lineWidth=J,this.lineJoin=ue},y=function(F,U,R){for(var M=0;M<F.length;M++)switch(F[M].type){case"bct":F[M].x2+=U,F[M].y2+=R;case"qct":F[M].x1+=U,F[M].y1+=R;case"mt":case"lt":case"arc":default:F[M].x+=U,F[M].y+=R}return F},b=function(F){return F.sort(function(U,R){return U-R})},E=function(F,U){for(var R,M,J=this.fillStyle,ue=this.strokeStyle,de=this.lineCap,pe=this.lineWidth,be=Math.abs(pe*this.ctx.transform.scaleX),Qe=this.lineJoin,Me=JSON.parse(JSON.stringify(this.path)),Xe=JSON.parse(JSON.stringify(this.path)),ot=[],De=0;De<Xe.length;De++)if(Xe[De].x!==void 0)for(var oe=x.call(this,Xe[De]),Ke=0;Ke<oe.length;Ke+=1)ot.indexOf(oe[Ke])===-1&&ot.push(oe[Ke]);for(var dt=0;dt<ot.length;dt++)for(;this.pdf.internal.getNumberOfPages()<ot[dt];)v.call(this);if(b(ot),this.autoPaging)for(var Ee=ot[0],We=ot[ot.length-1],Ze=Ee;Ze<We+1;Ze++){this.pdf.setPage(Ze),this.fillStyle=J,this.strokeStyle=ue,this.lineCap=de,this.lineWidth=be,this.lineJoin=Qe;var rt=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],$e=Ze===1?this.posY+this.margin[0]:this.margin[0],Se=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],Ve=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],vt=Ze===1?0:Se+(Ze-2)*Ve;if(this.ctx.clip_path.length!==0){var Tt=this.path;R=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=y(R,this.posX+this.margin[3],-vt+$e+this.ctx.prevPageLastElemOffset),S.call(this,F,!0),this.path=Tt}if(M=JSON.parse(JSON.stringify(Me)),this.path=y(M,this.posX+this.margin[3],-vt+$e+this.ctx.prevPageLastElemOffset),U===!1||Ze===0){var Ie=(Ze>Ee||Ze<We)&&p.call(this);Ie&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],rt,Ve,null).clip().discardPath()),S.call(this,F,U),Ie&&this.pdf.restoreGraphicsState()}this.lineWidth=pe}else this.lineWidth=be,S.call(this,F,U),this.lineWidth=pe;this.path=Me},S=function(F,U){if((F!=="stroke"||U||!m.call(this))&&(F==="stroke"||U||!h.call(this))){for(var R,M,J=[],ue=this.path,de=0;de<ue.length;de++){var pe=ue[de];switch(pe.type){case"begin":J.push({begin:!0});break;case"close":J.push({close:!0});break;case"mt":J.push({start:pe,deltas:[],abs:[]});break;case"lt":var be=J.length;if(ue[de-1]&&!isNaN(ue[de-1].x)&&(R=[pe.x-ue[de-1].x,pe.y-ue[de-1].y],be>0)){for(;be>=0;be--)if(J[be-1].close!==!0&&J[be-1].begin!==!0){J[be-1].deltas.push(R),J[be-1].abs.push(pe);break}}break;case"bct":R=[pe.x1-ue[de-1].x,pe.y1-ue[de-1].y,pe.x2-ue[de-1].x,pe.y2-ue[de-1].y,pe.x-ue[de-1].x,pe.y-ue[de-1].y],J[J.length-1].deltas.push(R);break;case"qct":var Qe=ue[de-1].x+2/3*(pe.x1-ue[de-1].x),Me=ue[de-1].y+2/3*(pe.y1-ue[de-1].y),Xe=pe.x+2/3*(pe.x1-pe.x),ot=pe.y+2/3*(pe.y1-pe.y),De=pe.x,oe=pe.y;R=[Qe-ue[de-1].x,Me-ue[de-1].y,Xe-ue[de-1].x,ot-ue[de-1].y,De-ue[de-1].x,oe-ue[de-1].y],J[J.length-1].deltas.push(R);break;case"arc":J.push({deltas:[],abs:[],arc:!0}),Array.isArray(J[J.length-1].abs)&&J[J.length-1].abs.push(pe)}}M=U?null:F==="stroke"?"stroke":"fill";for(var Ke=!1,dt=0;dt<J.length;dt++)if(J[dt].arc)for(var Ee=J[dt].abs,We=0;We<Ee.length;We++){var Ze=Ee[We];Ze.type==="arc"?_.call(this,Ze.x,Ze.y,Ze.radius,Ze.startAngle,Ze.endAngle,Ze.counterclockwise,void 0,U,!Ke):L.call(this,Ze.x,Ze.y),Ke=!0}else if(J[dt].close===!0)this.pdf.internal.out("h"),Ke=!1;else if(J[dt].begin!==!0){var rt=J[dt].start.x,$e=J[dt].start.y;K.call(this,J[dt].deltas,rt,$e),Ke=!0}M&&O.call(this,M),U&&j.call(this)}},I=function(F){var U=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,R=U*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return F-R;case"top":return F+U-R;case"hanging":return F+U-2*R;case"middle":return F+U/2-R;case"ideographic":return F;case"alphabetic":default:return F}},B=function(F){return F+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};d.prototype.createLinearGradient=function(){var F=function(){};return F.colorStops=[],F.addColorStop=function(U,R){this.colorStops.push([U,R])},F.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},F.isCanvasGradient=!0,F},d.prototype.createPattern=function(){return this.createLinearGradient()},d.prototype.createRadialGradient=function(){return this.createLinearGradient()};var _=function(F,U,R,M,J,ue,de,pe,be){for(var Qe=ne.call(this,R,M,J,ue),Me=0;Me<Qe.length;Me++){var Xe=Qe[Me];Me===0&&(be?T.call(this,Xe.x1+F,Xe.y1+U):L.call(this,Xe.x1+F,Xe.y1+U)),le.call(this,F,U,Xe.x2,Xe.y2,Xe.x3,Xe.y3,Xe.x4,Xe.y4)}pe?j.call(this):O.call(this,de)},O=function(F){switch(F){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},j=function(){this.pdf.clip(),this.pdf.discardPath()},T=function(F,U){this.pdf.internal.out(r(F)+" "+n(U)+" m")},P=function(F){var U;switch(F.align){case"right":case"end":U="right";break;case"center":U="center";break;case"left":case"start":default:U="left"}var R=this.pdf.getTextDimensions(F.text),M=I.call(this,F.y),J=B.call(this,M)-R.h,ue=this.ctx.transform.applyToPoint(new s(F.x,M)),de=this.ctx.transform.decompose(),pe=new c;pe=(pe=(pe=pe.multiply(de.translate)).multiply(de.skew)).multiply(de.scale);for(var be,Qe,Me,Xe=this.ctx.transform.applyToRectangle(new o(F.x,M,R.w,R.h)),ot=pe.applyToRectangle(new o(F.x,J,R.w,R.h)),De=x.call(this,ot),oe=[],Ke=0;Ke<De.length;Ke+=1)oe.indexOf(De[Ke])===-1&&oe.push(De[Ke]);if(b(oe),this.autoPaging)for(var dt=oe[0],Ee=oe[oe.length-1],We=dt;We<Ee+1;We++){this.pdf.setPage(We);var Ze=We===1?this.posY+this.margin[0]:this.margin[0],rt=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],$e=this.pdf.internal.pageSize.height-this.margin[2],Se=$e-this.margin[0],Ve=this.pdf.internal.pageSize.width-this.margin[1],vt=Ve-this.margin[3],Tt=We===1?0:rt+(We-2)*Se;if(this.ctx.clip_path.length!==0){var Ie=this.path;be=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=y(be,this.posX+this.margin[3],-1*Tt+Ze),S.call(this,"fill",!0),this.path=Ie}var Re=y([JSON.parse(JSON.stringify(ot))],this.posX+this.margin[3],-Tt+Ze+this.ctx.prevPageLastElemOffset)[0];F.scale>=.01&&(Qe=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Qe*F.scale),Me=this.lineWidth,this.lineWidth=Me*F.scale);var Oe=this.autoPaging!=="text";if(Oe||Re.y+Re.h<=$e){if(Oe||Re.y>=Ze&&Re.x<=Ve){var Ue=Oe?F.text:this.pdf.splitTextToSize(F.text,F.maxWidth||Ve-Re.x)[0],Ft=y([JSON.parse(JSON.stringify(Xe))],this.posX+this.margin[3],-Tt+Ze+this.ctx.prevPageLastElemOffset)[0],gt=Oe&&(We>dt||We<Ee)&&p.call(this);gt&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],vt,Se,null).clip().discardPath()),this.pdf.text(Ue,Ft.x,Ft.y,{angle:F.angle,align:U,renderingMode:F.renderingMode}),gt&&this.pdf.restoreGraphicsState()}}else Re.y<$e&&(this.ctx.prevPageLastElemOffset+=$e-Re.y);F.scale>=.01&&(this.pdf.setFontSize(Qe),this.lineWidth=Me)}else F.scale>=.01&&(Qe=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Qe*F.scale),Me=this.lineWidth,this.lineWidth=Me*F.scale),this.pdf.text(F.text,ue.x+this.posX,ue.y+this.posY,{angle:F.angle,align:U,renderingMode:F.renderingMode,maxWidth:F.maxWidth}),F.scale>=.01&&(this.pdf.setFontSize(Qe),this.lineWidth=Me)},L=function(F,U,R,M){R=R||0,M=M||0,this.pdf.internal.out(r(F+R)+" "+n(U+M)+" l")},K=function(F,U,R){return this.pdf.lines(F,U,R,null,null)},le=function(F,U,R,M,J,ue,de,pe){this.pdf.internal.out([e(i(R+F)),e(a(M+U)),e(i(J+F)),e(a(ue+U)),e(i(de+F)),e(a(pe+U)),"c"].join(" "))},ne=function(F,U,R,M){for(var J=2*Math.PI,ue=Math.PI/2;U>R;)U-=J;var de=Math.abs(R-U);de<J&&M&&(de=J-de);for(var pe=[],be=M?-1:1,Qe=U;de>1e-5;){var Me=Qe+be*Math.min(de,ue);pe.push(fe.call(this,F,Qe,Me)),de-=Math.abs(Me-Qe),Qe=Me}return pe},fe=function(F,U,R){var M=(R-U)/2,J=F*Math.cos(M),ue=F*Math.sin(M),de=J,pe=-ue,be=de*de+pe*pe,Qe=be+de*J+pe*ue,Me=4/3*(Math.sqrt(2*be*Qe)-Qe)/(de*ue-pe*J),Xe=de-Me*pe,ot=pe+Me*de,De=Xe,oe=-ot,Ke=M+U,dt=Math.cos(Ke),Ee=Math.sin(Ke);return{x1:F*Math.cos(U),y1:F*Math.sin(U),x2:Xe*dt-ot*Ee,y2:Xe*Ee+ot*dt,x3:De*dt-oe*Ee,y3:De*Ee+oe*dt,x4:F*Math.cos(R),y4:F*Math.sin(R)}},te=function(F){return 180*F/Math.PI},he=function(F,U,R,M,J,ue){var de=F+.5*(R-F),pe=U+.5*(M-U),be=J+.5*(R-J),Qe=ue+.5*(M-ue),Me=Math.min(F,J,de,be),Xe=Math.max(F,J,de,be),ot=Math.min(U,ue,pe,Qe),De=Math.max(U,ue,pe,Qe);return new o(Me,ot,Xe-Me,De-ot)},ce=function(F,U,R,M,J,ue,de,pe){var be,Qe,Me,Xe,ot,De,oe,Ke,dt,Ee,We,Ze,rt,$e,Se=R-F,Ve=M-U,vt=J-R,Tt=ue-M,Ie=de-J,Re=pe-ue;for(Qe=0;Qe<41;Qe++)dt=(oe=(Me=F+(be=Qe/40)*Se)+be*((ot=R+be*vt)-Me))+be*(ot+be*(J+be*Ie-ot)-oe),Ee=(Ke=(Xe=U+be*Ve)+be*((De=M+be*Tt)-Xe))+be*(De+be*(ue+be*Re-De)-Ke),Qe==0?(We=dt,Ze=Ee,rt=dt,$e=Ee):(We=Math.min(We,dt),Ze=Math.min(Ze,Ee),rt=Math.max(rt,dt),$e=Math.max($e,Ee));return new o(Math.round(We),Math.round(Ze),Math.round(rt-We),Math.round($e-Ze))},Ne=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var F,U,R=(F=this.ctx.lineDash,U=this.ctx.lineDashOffset,JSON.stringify({lineDash:F,lineDashOffset:U}));this.prevLineDash!==R&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=R)}}})(zt.API),function(t){var e=function(a){var s,o,c,A,u,d,f,h,m,p;for(o=[],c=0,A=(a+=s="\0\0\0\0".slice(a.length%4||4)).length;A>c;c+=4)(u=(a.charCodeAt(c)<<24)+(a.charCodeAt(c+1)<<16)+(a.charCodeAt(c+2)<<8)+a.charCodeAt(c+3))!==0?(d=(u=((u=((u=((u=(u-(p=u%85))/85)-(m=u%85))/85)-(h=u%85))/85)-(f=u%85))/85)%85,o.push(d+33,f+33,h+33,m+33,p+33)):o.push(122);return function(x,v){for(var y=v;y>0;y--)x.pop()}(o,s.length),String.fromCharCode.apply(String,o)+"~>"},r=function(a){var s,o,c,A,u,d=String,f="length",h=255,m="charCodeAt",p="slice",x="replace";for(a[p](-2),a=a[p](0,-2)[x](/\s/g,"")[x]("z","!!!!!"),c=[],A=0,u=(a+=s="uuuuu"[p](a[f]%5||5))[f];u>A;A+=5)o=52200625*(a[m](A)-33)+614125*(a[m](A+1)-33)+7225*(a[m](A+2)-33)+85*(a[m](A+3)-33)+(a[m](A+4)-33),c.push(h&o>>24,h&o>>16,h&o>>8,h&o);return function(v,y){for(var b=y;b>0;b--)v.pop()}(c,s[f]),d.fromCharCode.apply(d,c)},n=function(a){var s=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((a=a.replace(/\s/g,"")).indexOf(">")!==-1&&(a=a.substr(0,a.indexOf(">"))),a.length%2&&(a+="0"),s.test(a)===!1)return"";for(var o="",c=0;c<a.length;c+=2)o+=String.fromCharCode("0x"+(a[c]+a[c+1]));return o},i=function(a){for(var s=new Uint8Array(a.length),o=a.length;o--;)s[o]=a.charCodeAt(o);return a=(s=N_(s)).reduce(function(c,A){return c+String.fromCharCode(A)},"")};t.processDataByFilters=function(a,s){var o=0,c=a||"",A=[];for(typeof(s=s||[])=="string"&&(s=[s]),o=0;o<s.length;o+=1)switch(s[o]){case"ASCII85Decode":case"/ASCII85Decode":c=r(c),A.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":c=e(c),A.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":c=n(c),A.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":c=c.split("").map(function(u){return("0"+u.charCodeAt().toString(16)).slice(-2)}).join("")+">",A.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":c=i(c),A.push("/FlateDecode");break;default:throw new Error('The filter: "'+s[o]+'" is not implemented')}return{data:c,reverseChain:A.reverse().join(" ")}}}(zt.API),function(t){t.loadFile=function(e,r,n){return function(i,a,s){a=a!==!1,s=typeof s=="function"?s:function(){};var o=void 0;try{o=function(c,A,u){var d=new XMLHttpRequest,f=0,h=function(m){var p=m.length,x=[],v=String.fromCharCode;for(f=0;f<p;f+=1)x.push(v(255&m.charCodeAt(f)));return x.join("")};if(d.open("GET",c,!A),d.overrideMimeType("text/plain; charset=x-user-defined"),A===!1&&(d.onload=function(){d.status===200?u(h(this.responseText)):u(void 0)}),d.send(null),A&&d.status===200)return h(d.responseText)}(i,a,s)}catch{}return o}(e,r,n)},t.loadImageFile=t.loadFile}(zt.API),function(t){function e(){return(Wt.html2canvas?Promise.resolve(Wt.html2canvas):uc(()=>Promise.resolve().then(()=>fye),void 0)).catch(function(s){return Promise.reject(new Error("Could not load html2canvas: "+s))}).then(function(s){return s.default?s.default:s})}function r(){return(Wt.DOMPurify?Promise.resolve(Wt.DOMPurify):uc(()=>import("./purify.es-C_uT9hQ1.js"),[])).catch(function(s){return Promise.reject(new Error("Could not load dompurify: "+s))}).then(function(s){return s.default?s.default:s})}var n=function(s){var o=rn(s);return o==="undefined"?"undefined":o==="string"||s instanceof String?"string":o==="number"||s instanceof Number?"number":o==="function"||s instanceof Function?"function":s&&s.constructor===Array?"array":s&&s.nodeType===1?"element":o==="object"?"object":"unknown"},i=function(s,o){var c=document.createElement(s);for(var A in o.className&&(c.className=o.className),o.innerHTML&&o.dompurify&&(c.innerHTML=o.dompurify.sanitize(o.innerHTML)),o.style)c.style[A]=o.style[A];return c},a=function s(o){var c=Object.assign(s.convert(Promise.resolve()),JSON.parse(JSON.stringify(s.template))),A=s.convert(Promise.resolve(),c);return A=(A=A.setProgress(1,s,1,[s])).set(o)};(a.prototype=Object.create(Promise.prototype)).constructor=a,a.convert=function(s,o){return s.__proto__=o||a.prototype,s},a.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{},backgroundColor:"transparent"}},a.prototype.from=function(s,o){return this.then(function(){switch(o=o||function(c){switch(n(c)){case"string":return"string";case"element":return c.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}(s)){case"string":return this.then(r).then(function(c){return this.set({src:i("div",{innerHTML:s,dompurify:c})})});case"element":return this.set({src:s});case"canvas":return this.set({canvas:s});case"img":return this.set({img:s});default:return this.error("Unknown source type.")}})},a.prototype.to=function(s){switch(s){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},a.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then(function(){var s={position:"relative",display:"inline-block",width:(typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||isNaN(this.opt.windowWidth)?Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth):this.opt.windowWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},o=function c(A,u){for(var d=A.nodeType===3?document.createTextNode(A.nodeValue):A.cloneNode(!1),f=A.firstChild;f;f=f.nextSibling)u!==!0&&f.nodeType===1&&f.nodeName==="SCRIPT"||d.appendChild(c(f,u));return A.nodeType===1&&(A.nodeName==="CANVAS"?(d.width=A.width,d.height=A.height,d.getContext("2d").drawImage(A,0,0)):A.nodeName!=="TEXTAREA"&&A.nodeName!=="SELECT"||(d.value=A.value),d.addEventListener("load",function(){d.scrollTop=A.scrollTop,d.scrollLeft=A.scrollLeft},!0)),d}(this.prop.src,this.opt.html2canvas.javascriptEnabled);o.tagName==="BODY"&&(s.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=i("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=i("div",{className:"html2pdf__container",style:s}),this.prop.container.appendChild(o),this.prop.container.firstChild.appendChild(i("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"})},a.prototype.toCanvas=function(){var s=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(s).then(e).then(function(o){var c=Object.assign({},this.opt.html2canvas);return delete c.onrendered,o(this.prop.container,c)}).then(function(o){(this.opt.html2canvas.onrendered||function(){})(o),this.prop.canvas=o,document.body.removeChild(this.prop.overlay)})},a.prototype.toContext2d=function(){var s=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(s).then(e).then(function(o){var c=this.opt.jsPDF,A=this.opt.fontFaces,u=typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||isNaN(this.opt.windowWidth)?1:this.opt.width/this.opt.windowWidth,d=Object.assign({async:!0,allowTaint:!0,scale:u,scrollX:this.opt.scrollX||0,scrollY:this.opt.scrollY||0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete d.onrendered,c.context2d.autoPaging=this.opt.autoPaging===void 0||this.opt.autoPaging,c.context2d.posX=this.opt.x,c.context2d.posY=this.opt.y,c.context2d.margin=this.opt.margin,c.context2d.fontFaces=A,A)for(var f=0;f<A.length;++f){var h=A[f],m=h.src.find(function(p){return p.format==="truetype"});m&&c.addFont(m.url,h.ref.name,h.ref.style)}return d.windowHeight=d.windowHeight||0,d.windowHeight=d.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):d.windowHeight,c.context2d.save(!0),o(this.prop.container,d)}).then(function(o){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(o),this.prop.canvas=o,document.body.removeChild(this.prop.overlay)})},a.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var s=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=s})},a.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},a.prototype.output=function(s,o,c){return(c=c||"pdf").toLowerCase()==="img"||c.toLowerCase()==="image"?this.outputImg(s,o):this.outputPdf(s,o)},a.prototype.outputPdf=function(s,o){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(s,o)})},a.prototype.outputImg=function(s){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(s){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+s+'" is not supported.'}})},a.prototype.save=function(s){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(s?{filename:s}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},a.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},a.prototype.set=function(s){if(n(s)!=="object")return this;var o=Object.keys(s||{}).map(function(c){if(c in a.template.prop)return function(){this.prop[c]=s[c]};switch(c){case"margin":return this.setMargin.bind(this,s.margin);case"jsPDF":return function(){return this.opt.jsPDF=s.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,s.pageSize);default:return function(){this.opt[c]=s[c]}}},this);return this.then(function(){return this.thenList(o)})},a.prototype.get=function(s,o){return this.then(function(){var c=s in a.template.prop?this.prop[s]:this.opt[s];return o?o(c):c})},a.prototype.setMargin=function(s){return this.then(function(){switch(n(s)){case"number":s=[s,s,s,s];case"array":if(s.length===2&&(s=[s[0],s[1],s[0],s[1]]),s.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=s}).then(this.setPageSize)},a.prototype.setPageSize=function(s){function o(c,A){return Math.floor(c*A/72*96)}return this.then(function(){(s=s||zt.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(s.inner={width:s.width-this.opt.margin[1]-this.opt.margin[3],height:s.height-this.opt.margin[0]-this.opt.margin[2]},s.inner.px={width:o(s.inner.width,s.k),height:o(s.inner.height,s.k)},s.inner.ratio=s.inner.height/s.inner.width),this.prop.pageSize=s})},a.prototype.setProgress=function(s,o,c,A){return s!=null&&(this.progress.val=s),o!=null&&(this.progress.state=o),c!=null&&(this.progress.n=c),A!=null&&(this.progress.stack=A),this.progress.ratio=this.progress.val/this.progress.state,this},a.prototype.updateProgress=function(s,o,c,A){return this.setProgress(s?this.progress.val+s:null,o||null,c?this.progress.n+c:null,A?this.progress.stack.concat(A):null)},a.prototype.then=function(s,o){var c=this;return this.thenCore(s,o,function(A,u){return c.updateProgress(null,null,1,[A]),Promise.prototype.then.call(this,function(d){return c.updateProgress(null,A),d}).then(A,u).then(function(d){return c.updateProgress(1),d})})},a.prototype.thenCore=function(s,o,c){c=c||Promise.prototype.then,s&&(s=s.bind(this)),o&&(o=o.bind(this));var A=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?this:a.convert(Object.assign({},this),Promise.prototype),u=c.call(A,s,o);return a.convert(u,this.__proto__)},a.prototype.thenExternal=function(s,o){return Promise.prototype.then.call(this,s,o)},a.prototype.thenList=function(s){var o=this;return s.forEach(function(c){o=o.thenCore(c)}),o},a.prototype.catch=function(s){s&&(s=s.bind(this));var o=Promise.prototype.catch.call(this,s);return a.convert(o,this)},a.prototype.catchExternal=function(s){return Promise.prototype.catch.call(this,s)},a.prototype.error=function(s){return this.then(function(){throw new Error(s)})},a.prototype.using=a.prototype.set,a.prototype.saveAs=a.prototype.save,a.prototype.export=a.prototype.output,a.prototype.run=a.prototype.then,zt.getPageSize=function(s,o,c){if(rn(s)==="object"){var A=s;s=A.orientation,o=A.unit||o,c=A.format||c}o=o||"mm",c=c||"a4",s=(""+(s||"P")).toLowerCase();var u,d=(""+c).toLowerCase(),f={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],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(o){case"pt":u=1;break;case"mm":u=72/25.4;break;case"cm":u=72/2.54;break;case"in":u=72;break;case"px":u=.75;break;case"pc":case"em":u=12;break;case"ex":u=6;break;default:throw"Invalid unit: "+o}var h,m=0,p=0;if(f.hasOwnProperty(d))m=f[d][1]/u,p=f[d][0]/u;else try{m=c[1],p=c[0]}catch{throw new Error("Invalid format: "+c)}if(s==="p"||s==="portrait")s="p",p>m&&(h=p,p=m,m=h);else{if(s!=="l"&&s!=="landscape")throw"Invalid orientation: "+s;s="l",m>p&&(h=p,p=m,m=h)}return{width:p,height:m,unit:o,k:u,orientation:s}},t.html=function(s,o){(o=o||{}).callback=o.callback||function(){},o.html2canvas=o.html2canvas||{},o.html2canvas.canvas=o.html2canvas.canvas||this.canvas,o.jsPDF=o.jsPDF||this,o.fontFaces=o.fontFaces?o.fontFaces.map(P_):null;var c=new a(o);return o.worker?c:c.from(s).doCallback()}}(zt.API),zt.API.addJS=function(t){return ZO=t,this.internal.events.subscribe("postPutResources",function(){gw=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(gw+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),YO=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+ZO+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){gw!==void 0&&YO!==void 0&&this.internal.out("/Names <</JavaScript "+gw+" 0 R>>")}),this},function(t){var e;t.events.push(["postPutResources",function(){var r=this,n=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var i=r.outline.render().split(/\r\n/),a=0;a<i.length;a++){var s=i[a],o=n.exec(s);if(o!=null){var c=o[1];r.internal.newObjectDeferredBegin(c,!1)}r.internal.write(s)}if(this.outline.createNamedDestinations){var A=this.internal.pages.length,u=[];for(a=0;a<A;a++){var d=r.internal.newObject();u.push(d);var f=r.internal.getPageInfo(a+1);r.internal.write("<< /D["+f.objId+" 0 R /XYZ null null null]>> endobj")}var h=r.internal.newObject();for(r.internal.write("<< /Names [ "),a=0;a<u.length;a++)r.internal.write("(page_"+(a+1)+")"+u[a]+" 0 R");r.internal.write(" ] >>","endobj"),e=r.internal.newObject(),r.internal.write("<< /Dests "+h+" 0 R"),r.internal.write(">>","endobj")}}]),t.events.push(["putCatalog",function(){this.outline.root.children.length>0&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+e+" 0 R"))}]),t.events.push(["initialized",function(){var r=this;r.outline={createNamedDestinations:!1,root:{children:[]}},r.outline.add=function(n,i,a){var s={title:i,options:a,children:[]};return n==null&&(n=this.root),n.children.push(s),s},r.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=r,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},r.outline.genIds_r=function(n){n.id=r.internal.newObjectDeferred();for(var i=0;i<n.children.length;i++)this.genIds_r(n.children[i])},r.outline.renderRoot=function(n){this.objStart(n),this.line("/Type /Outlines"),n.children.length>0&&(this.line("/First "+this.makeRef(n.children[0])),this.line("/Last "+this.makeRef(n.children[n.children.length-1]))),this.line("/Count "+this.count_r({count:0},n)),this.objEnd()},r.outline.renderItems=function(n){for(var i=this.ctx.pdf.internal.getVerticalCoordinateString,a=0;a<n.children.length;a++){var s=n.children[a];this.objStart(s),this.line("/Title "+this.makeString(s.title)),this.line("/Parent "+this.makeRef(n)),a>
vendor: 4,172 bytes, lines 3661-3667
36610&&this.line("/Prev "+this.makeRef(n.children[a-1])),a<n.children.length-1&&this.line("/Next "+this.makeRef(n.children[a+1])),s.children.length>0&&(this.line("/First "+this.makeRef(s.children[0])),this.line("/Last "+this.makeRef(s.children[s.children.length-1])));var o=this.count=this.count_r({count:0},s);if(o>0&&this.line("/Count "+o),s.options&&s.options.pageNumber){var c=r.internal.getPageInfo(s.options.pageNumber);this.line("/Dest ["+c.objId+" 0 R /XYZ 0 "+i(0)+" 0]")}this.objEnd()}for(var A=0;A<n.children.length;A++)this.renderItems(n.children[A])},r.outline.line=function(n){this.ctx.val+=n+`\r 3662`},r.outline.makeRef=function(n){return n.id+" 0 R"},r.outline.makeString=function(n){return"("+r.internal.pdfEscape(n)+")"},r.outline.objStart=function(n){this.ctx.val+=`\r 3663`+n.id+` 0 obj\r 3664<<\r 3665`},r.outline.objEnd=function(){this.ctx.val+=`>> \r 3666endobj\r 3667`},r.outline.count_r=function(n,i){for(var a=0;a<i.children.length;a++)n.count++,this.count_r(n,i.children[a]);return n.count}}])}(zt.API),function(t){var e=[192,193,194,195,196,197,198,199];t.processJPEG=function(r,n,i,a,s,o){var c,A=this.decode.DCT_DECODE,u=null;if(typeof r=="string"||this.__addimage__.isArrayBuffer(r)||this.__addimage__.isArrayBufferView(r)){switch(r=s||r,r=this.__addimage__.isArrayBuffer(r)?new Uint8Array(r):r,(c=function(d){for(var f,h=256*d.charCodeAt(4)+d.charCodeAt(5),m=d.length,p={width:0,height:0,numcomponents:1},x=4;x<m;x+=2){if(x+=h,e.indexOf(d.charCodeAt(x+1))!==-1){f=256*d.charCodeAt(x+5)+d.charCodeAt(x+6),p={width:256*d.charCodeAt(x+7)+d.charCodeAt(x+8),height:f,numcomponents:d.charCodeAt(x+9)};break}h=256*d.charCodeAt(x+2)+d.charCodeAt(x+3)}return p}(r=this.__addimage__.isArrayBufferView(r)?this.__addimage__.arrayBufferToBinaryString(r):r)).numcomponents){case 1:o=this.color_spaces.DEVICE_GRAY;break;case 4:o=this.color_spaces.DEVICE_CMYK;break;case 3:o=this.color_spaces.DEVICE_RGB}u={data:r,width:c.width,height:c.height,colorSpace:o,bitsPerComponent:8,filter:A,index:n,alias:i}}return u}}(zt.API);var Wf,vw,$O,eR,tR,Zye=function(){var t,e,r;function n(a){var s,o,c,A,u,d,f,h,m,p,x,v,y,b;for(this.data=a,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},d=null;;){switch(s=this.readUInt32(),m=(function(){var E,S;for(S=[],E=0;E<4;++E)S.push(String.fromCharCode(this.data[this.pos++]));return S}).call(this).join("")){case"IHDR":this.width=this.readUInt32(),this.height=this.readUInt32(),this.bits=this.data[this.pos++],this.colorType=this.data[this.pos++],this.compressionMethod=this.data[this.pos++],this.filterMethod=this.data[this.pos++],this.interlaceMethod=this.data[this.pos++];break;case"acTL":this.animation={numFrames:this.readUInt32(),numPlays:this.readUInt32()||1/0,frames:[]};break;case"PLTE":this.palette=this.read(s);break;case"fcTL":d&&this.animation.frames.push(d),this.pos+=4,d={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},u=this.readUInt16(),A=this.readUInt16()||100,d.delay=1e3*u/A,d.disposeOp=this.data[this.pos++],d.blendOp=this.data[this.pos++],d.data=[];break;case"IDAT":case"fdAT":for(m==="fdAT"&&(this.pos+=4,s-=4),a=(d!=null?d.data:void 0)||this.imgData,v=0;0<=s?v<s:v>s;0<=s?++v:--v)a.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(c=this.palette.length/3,this.transparency.indexed=this.read(s),this.transparency.indexed.length>c)throw new Error("More transparent colors than palette size");if((p=c-this.transparency.indexed.length)>0)for(y=0;0<=p?y<p:y>p;0<=p?++y:--y)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(s)[0];break;case 2:this.transparency.rgb=this.read(s)}break;case"tEXt":f=(x=this.read(s)).indexOf(0),h=String.fromCharCode.apply(String,x.slice(0,f)),this.text[h]=String.fromCharCode.apply(String,x.slice(f+1));break;case"IEND":return d&&this.animation.frames.push(d),this.colors=(function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}).call(this),this.hasAlphaChannel=(b=this.colorType)===4||b===6,o=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*o,this.colorSpace
vendor: 7,821 bytes, lines 3667-3718
3667=(function(){switch(this.colors){case 1:return"DeviceGray";case 3:return"DeviceRGB"}}).call(this),void(this.imgData=new Uint8Array(this.imgData));default:this.pos+=s}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}n.prototype.read=function(a){var s,o;for(o=[],s=0;0<=a?s<a:s>a;0<=a?++s:--s)o.push(this.data[this.pos++]);return o},n.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},n.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},n.prototype.decodePixels=function(a){var s=this.pixelBitlength/8,o=new Uint8Array(this.width*this.height*s),c=0,A=this;if(a==null&&(a=this.imgData),a.length===0)return new Uint8Array(0);function u(d,f,h,m){var p,x,v,y,b,E,S,I,B,_,O,j,T,P,L,K,le,ne,fe,te,he,ce=Math.ceil((A.width-d)/h),Ne=Math.ceil((A.height-f)/m),F=A.width==ce&&A.height==Ne;for(P=s*ce,j=F?o:new Uint8Array(P*Ne),E=a.length,T=0,x=0;T<Ne&&c<E;){switch(a[c++]){case 0:for(y=le=0;le<P;y=le+=1)j[x++]=a[c++];break;case 1:for(y=ne=0;ne<P;y=ne+=1)p=a[c++],b=y<s?0:j[x-s],j[x++]=(p+b)%256;break;case 2:for(y=fe=0;fe<P;y=fe+=1)p=a[c++],v=(y-y%s)/s,L=T&&j[(T-1)*P+v*s+y%s],j[x++]=(L+p)%256;break;case 3:for(y=te=0;te<P;y=te+=1)p=a[c++],v=(y-y%s)/s,b=y<s?0:j[x-s],L=T&&j[(T-1)*P+v*s+y%s],j[x++]=(p+Math.floor((b+L)/2))%256;break;case 4:for(y=he=0;he<P;y=he+=1)p=a[c++],v=(y-y%s)/s,b=y<s?0:j[x-s],T===0?L=K=0:(L=j[(T-1)*P+v*s+y%s],K=v&&j[(T-1)*P+(v-1)*s+y%s]),S=b+L-K,I=Math.abs(S-b),_=Math.abs(S-L),O=Math.abs(S-K),B=I<=_&&I<=O?b:_<=O?L:K,j[x++]=(p+B)%256;break;default:throw new Error("Invalid filter algorithm: "+a[c-1])}if(!F){var U=((f+T*m)*A.width+d)*s,R=T*P;for(y=0;y<ce;y+=1){for(var M=0;M<s;M+=1)o[U++]=j[R++];U+=(h-1)*s}}T++}}return a=Fye(a),A.interlaceMethod==1?(u(0,0,8,8),u(4,0,8,8),u(0,4,4,8),u(2,0,4,4),u(0,2,2,4),u(1,0,2,2),u(0,1,1,2)):u(0,0,1,1),o},n.prototype.decodePalette=function(){var a,s,o,c,A,u,d,f,h;for(o=this.palette,u=this.transparency.indexed||[],A=new Uint8Array((u.length||0)+o.length),c=0,a=0,s=d=0,f=o.length;d<f;s=d+=3)A[c++]=o[s],A[c++]=o[s+1],A[c++]=o[s+2],A[c++]=(h=u[a++])!=null?h:255;return A},n.prototype.copyToImageData=function(a,s){var o,c,A,u,d,f,h,m,p,x,v;if(c=this.colors,p=null,o=this.hasAlphaChannel,this.palette.length&&(p=(v=this._decodedPalette)!=null?v:this._decodedPalette=this.decodePalette(),c=4,o=!0),m=(A=a.data||a).length,d=p||s,u=f=0,c===1)for(;u<m;)h=p?4*s[u/4]:f,x=d[h++],A[u++]=x,A[u++]=x,A[u++]=x,A[u++]=o?d[h++]:255,f=h;else for(;u<m;)h=p?4*s[u/4]:f,A[u++]=d[h++],A[u++]=d[h++],A[u++]=d[h++],A[u++]=o?d[h++]:255,f=h},n.prototype.decode=function(){var a;return a=new Uint8Array(this.width*this.height*4),this.copyToImageData(a,this.decodePixels()),a};var i=function(){if(Object.prototype.toString.call(Wt)==="[object Window]"){try{e=Wt.document.createElement("canvas"),r=e.getContext("2d")}catch{return!1}return!0}return!1};return i(),t=function(a){var s;if(i()===!0)return r.width=a.width,r.height=a.height,r.clearRect(0,0,a.width,a.height),r.putImageData(a,0,0),(s=new Image).src=e.toDataURL(),s;throw new Error("This method requires a Browser with Canvas-capability.")},n.prototype.decodeFrames=function(a){var s,o,c,A,u,d,f,h;if(this.animation){for(h=[],o=u=0,d=(f=this.animation.frames).length;u<d;o=++u)s=f[o],c=a.createImageData(s.width,s.height),A=this.decodePixels(new Uint8Array(s.data)),this.copyToImageData(c,A),s.imageData=c,h.push(s.image=t(c));return h}},n.prototype.renderFrame=function(a,s){var o,c,A;return o=(c=this.animation.frames)[s],A=c[s-1],s===0&&a.clearRect(0,0,this.width,this.height),(A!=null?A.disposeOp:void 0)===1?a.clearRect(A.xOffset,A.yOffset,A.width,A.height):(A!=null?A.disposeOp:void 0)===2&&a.putImageData(A.imageData,A.xOffset,A.yOffset),o.blendOp===0&&a.clearRect(o.xOffset,o.yOffset,o.width,o.height),a.drawImage(o.image,o.xOffset,o.yOffset)},n.prototype.animate=function(a){var s,o,c,A,u,d,f=this;return o=0,d=this.animation,A=d.numFrames,c=d.frames,u=d.numPlays,(s=function(){var h,m;if(h=o++%A,m=c[h],f.renderFrame(a,h),A>1&&o/A<u)return f.animation._timeout=setTimeout(s,m.delay)})()},n.prototype.stopAnimation=function(){var a;return clearTimeout((a=this.animation)!=null?a._timeout:void 0)},n.prototype.render=function(a){var s,o;return a._png&&a._png.stopAnimation(),a._png=this,a.width=this.width,a.height=this.height,s=a.getContext("2d"),this.animation?(this.decodeFrames(s),this.animate(s)):(o=s.createImageData(this.width,this.height),this.copyToImageData(o,this.decodePixels()),s.putImageData(o,0,0))},n}();/** 3668 * @license 3669 * 3670 * Copyright (c) 2014 James Robb, https://github.com/jamesbrobb 3671 * 3672 * Permission is hereby granted, free of charge, to any person obtaining 3673 * a copy of this software and associated documentation files (the 3674 * "Software"), to deal in the Software without restriction, including 3675 * without limitation the rights to use, copy, modify, merge, publish, 3676 * distribute, sublicense, and/or sell copies of the Software, and to 3677 * permit persons to whom the Software is furnished to do so, subject to 3678 * the following conditions: 3679 * 3680 * The above copyright notice and this permission notice shall be 3681 * included in all copies or substantial portions of the Software. 3682 * 3683 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 3684 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 3685 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 3686 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 3687 * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 3688 * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 3689 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 3690 * ==================================================================== 3691 *//** 3692 * @license 3693 * (c) Dean McNamee <[email protected]>, 2013. 3694 * 3695 * https://github.com/deanm/omggif 3696 * 3697 * Permission is hereby granted, free of charge, to any person obtaining a copy 3698 * of this software and associated documentation files (the "Software"), to 3699 * deal in the Software without restriction, including without limitation the 3700 * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or 3701 * sell copies of the Software, and to permit persons to whom the Software is 3702 * furnished to do so, subject to the following conditions: 3703 * 3704 * The above copyright notice and this permission notice shall be included in 3705 * all copies or substantial portions of the Software. 3706 * 3707 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 3708 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 3709 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 3710 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 3711 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 3712 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 3713 * IN THE SOFTWARE. 3714 * 3715 * omggif is a JavaScript implementation of a GIF 89a encoder and decoder, 3716 * including animation and compression. It does not rely on any specific 3717 * underlying system, so should run in the browser, Node, or Plask. 3718 */function $ye(t){var e=0;if(t[e++]!==71||t[e++]!==73||t[e++]!==70||t[e++]!==56||(t[e++]+1&253)!=56||t[e++]!==97)throw new Error("Invalid GIF 87a/89a header.");var r=t[e++]|t[e++]<<8,n=t[e++]|t[e++]<<8,i=t[e++],a=i>>7,s=1<<(7&i)+1;t[e++],t[e++];var o=null,c=null;a&&(o=e,c=s,e+=3*s);var A=!0,u=[],d=0,f=null,h=0,m=null;for(this.width=r,this.height=n;A&&e<t.length;)switch(t[e++]){case 33:switch(t[e++]){case 255:if(t[e]!==11||t[e+1]==78&&t[e+2]==69&&t[e+3]==84&&t[e+4]==83&&t[e+5]==67&&t[e+6]==65&&t[e+7]==80&&t[e+8]==69&&t[e+9]==50&&t[e+10]==46&&t[e+11]==48&&t[e+12]==3&&t[e+13]==1&&t[e+16]==0)e+=14,m=t[e++
vendor: 4,085 bytes, lines 3718-3742
3718]|t[e++]<<8,e++;else for(e+=12;;){if(!((T=t[e++])>=0))throw Error("Invalid block size");if(T===0)break;e+=T}break;case 249:if(t[e++]!==4||t[e+4]!==0)throw new Error("Invalid graphics extension block.");var p=t[e++];d=t[e++]|t[e++]<<8,f=t[e++],!(1&p)&&(f=null),h=p>>2&7,e++;break;case 254:for(;;){if(!((T=t[e++])>=0))throw Error("Invalid block size");if(T===0)break;e+=T}break;default:throw new Error("Unknown graphic control label: 0x"+t[e-1].toString(16))}break;case 44:var x=t[e++]|t[e++]<<8,v=t[e++]|t[e++]<<8,y=t[e++]|t[e++]<<8,b=t[e++]|t[e++]<<8,E=t[e++],S=E>>6&1,I=1<<(7&E)+1,B=o,_=c,O=!1;E>>7&&(O=!0,B=e,_=I,e+=3*I);var j=e;for(e++;;){var T;if(!((T=t[e++])>=0))throw Error("Invalid block size");if(T===0)break;e+=T}u.push({x,y:v,width:y,height:b,has_local_palette:O,palette_offset:B,palette_size:_,data_offset:j,data_length:e-j,transparent_index:f,interlaced:!!S,delay:d,disposal:h});break;case 59:A=!1;break;default:throw new Error("Unknown gif block: 0x"+t[e-1].toString(16))}this.numFrames=function(){return u.length},this.loopCount=function(){return m},this.frameInfo=function(P){if(P<0||P>=u.length)throw new Error("Frame index out of range.");return u[P]},this.decodeAndBlitFrameBGRA=function(P,L){var K=this.frameInfo(P),le=K.width*K.height,ne=new Uint8Array(le);rR(t,K.data_offset,ne,le);var fe=K.palette_offset,te=K.transparent_index;te===null&&(te=256);var he=K.width,ce=r-he,Ne=he,F=4*(K.y*r+K.x),U=4*((K.y+K.height)*r+K.x),R=F,M=4*ce;K.interlaced===!0&&(M+=4*r*7);for(var J=8,ue=0,de=ne.length;ue<de;++ue){var pe=ne[ue];if(Ne===0&&(Ne=he,(R+=M)>=U&&(M=4*ce+4*r*(J-1),R=F+(he+ce)*(J<<1),J>>=1)),pe===te)R+=4;else{var be=t[fe+3*pe],Qe=t[fe+3*pe+1],Me=t[fe+3*pe+2];L[R++]=Me,L[R++]=Qe,L[R++]=be,L[R++]=255}--Ne}},this.decodeAndBlitFrameRGBA=function(P,L){var K=this.frameInfo(P),le=K.width*K.height,ne=new Uint8Array(le);rR(t,K.data_offset,ne,le);var fe=K.palette_offset,te=K.transparent_index;te===null&&(te=256);var he=K.width,ce=r-he,Ne=he,F=4*(K.y*r+K.x),U=4*((K.y+K.height)*r+K.x),R=F,M=4*ce;K.interlaced===!0&&(M+=4*r*7);for(var J=8,ue=0,de=ne.length;ue<de;++ue){var pe=ne[ue];if(Ne===0&&(Ne=he,(R+=M)>=U&&(M=4*ce+4*r*(J-1),R=F+(he+ce)*(J<<1),J>>=1)),pe===te)R+=4;else{var be=t[fe+3*pe],Qe=t[fe+3*pe+1],Me=t[fe+3*pe+2];L[R++]=be,L[R++]=Qe,L[R++]=Me,L[R++]=255}--Ne}}}function rR(t,e,r,n){for(var i=t[e++],a=1<<i,s=a+1,o=s+1,c=i+1,A=(1<<c)-1,u=0,d=0,f=0,h=t[e++],m=new Int32Array(4096),p=null;;){for(;u<16&&h!==0;)d|=t[e++]<<u,u+=8,h===1?h=t[e++]:--h;if(u<c)break;var x=d&A;if(d>>=c,u-=c,x!==a){if(x===s)break;for(var v=x<o?x:p,y=0,b=v;b>a;)b=m[b]>>8,++y;var E=b;if(f+y+(v!==x?1:0)>n)return void mn.log("Warning, gif stream longer than expected.");r[f++]=E;var S=f+=y;for(v!==x&&(r[f++]=E),b=v;y--;)b=m[b],r[--S]=255&b,b>>=8;p!==null&&o<4096&&(m[o++]=p<<8|E,o>=A+1&&c<12&&(++c,A=A<<1|1)),p=x}else o=s+1,A=(1<<(c=i+1))-1,p=null}return f!==n&&mn.log("Warning, gif stream shorter than expected."),r}/** 3719 * @license 3720 Copyright (c) 2008, Adobe Systems Incorporated 3721 All rights reserved. 3722 3723 Redistribution and use in source and binary forms, with or without 3724 modification, are permitted provided that the following conditions are 3725 met: 3726 3727 * Redistributions of source code must retain the above copyright notice, 3728 this list of conditions and the following disclaimer. 3729 3730 * Redistributions in binary form must reproduce the above copyright 3731 notice, this list of conditions and the following disclaimer in the 3732 documentation and/or other materials provided with the distribution. 3733 3734 * Neither the name of Adobe Systems Incorporated nor the names of its 3735 contributors may be used to endorse or promote products derived from 3736 this software without specific prior written permission. 3737 3738 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS 3739 IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 3740 THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 3741 PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 3742 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
3743 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 3744 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 3745 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 3746 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 3747 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 3748 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 3749*/function k4(t){var e,r,n,i,a,s=Math.floor,o=new Array(64),c=new Array(64),A=new Array(64),u=new Array(64),d=new Array(65535),f=new Array(65535),h=new Array(64),m=new Array(64),p=[],x=0,v=7,y=new Array(64),b=new Array(64),E=new Array(64),S=new Array(256),I=new Array(2048),B=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],_=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],O=[0,1,2,3,4,5,6,7,8,9,10,11],j=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],T=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],P=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],L=[0,1,2,3,4,5,6,7,8,9,10,11],K=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],le=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function ne(F,U){for(var R=0,M=0,J=new Array,ue=1;ue<=16;ue++){for(var de=1;de<=F[ue];de++)J[U[M]]=[],J[U[M]][0]=R,J[U[M]][1]=ue,M++,R++;R*=2}return J}function fe(F){for(var U=F[0],R=F[1]-1;R>=0;)U&1<<R&&(x|=1<<v),R--,--v<0&&(x==255?(te(255),te(0)):te(x),v=7,x=0)}function te(F){p.push(F)}function he(F){te(F>>8&255),te(255&F)}function ce(F,U,R,M,J){for(var ue,de=J[0],pe=J[240],be=function(Ee,We){var Ze,rt,$e,Se,Ve,vt,Tt,Ie,Re,Oe,Ue=0;for(Re=0;Re<8;++Re){Ze=Ee[Ue],rt=Ee[Ue+1],$e=Ee[Ue+2],Se=Ee[Ue+3],Ve=Ee[Ue+4],vt=Ee[Ue+5],Tt=Ee[Ue+6];var Ft=Ze+(Ie=Ee[Ue+7]),gt=Ze-Ie,Kr=rt+Tt,Dt=rt-Tt,yr=$e+vt,Kn=$e-vt,dr=Se+Ve,co=Se-Ve,fn=Ft+dr,Ma=Ft-dr,Ps=Kr+yr,Xr=Kr-yr;Ee[Ue]=fn+Ps,Ee[Ue+4]=fn-Ps;var Gt=.707106781*(Xr+Ma);Ee[Ue+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e(J[(Ke<<4)+f[ue]]),fe(d[ue]),De++}return Xe!=63&&fe(de),R}function Ne(F){F=Math.min(Math.max(F,1),100),a!=F&&(function(U){for(var R=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],M=0;M<64;M++){var J=s((R[M]*U+50)/100);J=Math.min(Math.max(J,1),255),o[B[M]]=J}for(var ue=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],de=0;de<64;de++){var pe=s((ue[de]*U+50)/100);pe=Math.min(Math.max(pe,1),255),c[B[de]]=pe}for(var be=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Qe=0,Me=0;Me<8;Me++)for(var Xe=0;Xe<8;Xe++)A[Qe]=1/(o[B[Qe]]*be[Me]*be[Xe]*8),u[Qe]=1/(c[B[Qe]]*be[Me]*be[Xe]*8),Qe++}
vendor: 54,465 bytes, lines 3749-3755
3749(F<50?Math.floor(5e3/F):Math.floor(200-2*F)),a=F)}this.encode=function(F,U){U&&Ne(U),p=new Array,x=0,v=7,he(65496),he(65504),he(16),te(74),te(70),te(73),te(70),te(0),te(1),te(1),te(0),he(1),he(1),te(0),te(0),function(){he(65499),he(132),te(0);for(var rt=0;rt<64;rt++)te(o[rt]);te(1);for(var $e=0;$e<64;$e++)te(c[$e])}(),function(rt,$e){he(65472),he(17),te(8),he($e),he(rt),te(3),te(1),te(17),te(0),te(2),te(17),te(1),te(3),te(17),te(1)}(F.width,F.height),function(){he(65476),he(418),te(0);for(var rt=0;rt<16;rt++)te(_[rt+1]);for(var $e=0;$e<=11;$e++)te(O[$e]);te(16);for(var Se=0;Se<16;Se++)te(j[Se+1]);for(var Ve=0;Ve<=161;Ve++)te(T[Ve]);te(1);for(var vt=0;vt<16;vt++)te(P[vt+1]);for(var Tt=0;Tt<=11;Tt++)te(L[Tt]);te(17);for(var Ie=0;Ie<16;Ie++)te(K[Ie+1]);for(var Re=0;Re<=161;Re++)te(le[Re])}(),he(65498),he(12),te(3),te(1),te(0),te(2),te(17),te(3),te(17),te(0),te(63),te(0);var R=0,M=0,J=0;x=0,v=7,this.encode.displayName="_encode_";for(var ue,de,pe,be,Qe,Me,Xe,ot,De,oe=F.data,Ke=F.width,dt=F.height,Ee=4*Ke,We=0;We<dt;){for(ue=0;ue<Ee;){for(Qe=Ee*We+ue,Xe=-1,ot=0,De=0;De<64;De++)Me=Qe+(ot=De>>3)*Ee+(Xe=4*(7&De)),We+ot>=dt&&(Me-=Ee*(We+1+ot-dt)),ue+Xe>=Ee&&(Me-=ue+Xe-Ee+4),de=oe[Me++],pe=oe[Me++],be=oe[Me++],y[De]=(I[de]+I[pe+256>>0]+I[be+512>>0]>>16)-128,b[De]=(I[de+768>>0]+I[pe+1024>>0]+I[be+1280>>0]>>16)-128,E[De]=(I[de+1280>>0]+I[pe+1536>>0]+I[be+1792>>0]>>16)-128;R=ce(y,A,R,e,n),M=ce(b,u,M,r,i),J=ce(E,u,J,r,i),ue+=32}We+=8}if(v>=0){var Ze=[];Ze[1]=v+1,Ze[0]=(1<<v+1)-1,fe(Ze)}return he(65497),new Uint8Array(p)},t=t||50,function(){for(var F=String.fromCharCode,U=0;U<256;U++)S[U]=F(U)}(),e=ne(_,O),r=ne(P,L),n=ne(j,T),i=ne(K,le),function(){for(var F=1,U=2,R=1;R<=15;R++){for(var M=F;M<U;M++)f[32767+M]=R,d[32767+M]=[],d[32767+M][1]=R,d[32767+M][0]=M;for(var J=-(U-1);J<=-F;J++)f[32767+J]=R,d[32767+J]=[],d[32767+J][1]=R,d[32767+J][0]=U-1+J;F<<=1,U<<=1}}(),function(){for(var F=0;F<256;F++)I[F]=19595*F,I[F+256>>0]=38470*F,I[F+512>>0]=7471*F+32768,I[F+768>>0]=-11059*F,I[F+1024>>0]=-21709*F,I[F+1280>>0]=32768*F+8421375,I[F+1536>>0]=-27439*F,I[F+1792>>0]=-5329*F}(),Ne(t)}/** 3750 * @license 3751 * Copyright (c) 2017 Aras Abbasi 3752 * 3753 * Licensed under the MIT License. 3754 * http://opensource.org/licenses/mit-license 3755 */function rl(t,e){if(this.pos=0,this.buffer=t,this.datav=new DataView(t.buffer),this.is_with_alpha=!!e,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,["BM","BA","CI","CP","IC","PT"].indexOf(this.flag)===-1)throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function nR(t){function e(_){if(!_)throw Error("assert :P")}function r(_,O,j){for(var T=0;4>T;T++)if(_[O+T]!=j.charCodeAt(T))return!0;return!1}function n(_,O,j,T,P){for(var L=0;L<P;L++)_[O+L]=j[T+L]}function i(_,O,j,T){for(var P=0;P<T;P++)_[O+P]=j}function a(_){return new Int32Array(_)}function s(_,O){for(var j=[],T=0;T<_;T++)j.push(new O);return j}function o(_,O){var j=[];return function T(P,L,K){for(var le=K[L],ne=0;ne<le&&(P.push(K.length>L+1?[]:new O),!(K.length<L+1));ne++)T(P[ne],L+1,K)}(j,0,_),j}var c=function(){var _=this;function O(g,w){for(var N=1<<w-1>>>0;g&N;)N>>>=1;return N?(g&N-1)+N:g}function j(g,w,N,D,Q){e(!(D%N));do g[w+(D-=N)]=Q;while(0<D)}function T(g,w,N,D,Q){if(e(2328>=Q),512>=Q)var V=a(512);else if((V=a(Q))==null)return 0;return function(W,G,X,ie,ge,ke){var Pe,Ce,Je=G,Le=1<<X,ve=a(16),we=a(16);for(e(ge!=0),e(ie!=null),e(W!=null),e(0<X),Ce=0;Ce<ge;++Ce){if(15<ie[Ce])return 0;++ve[ie[Ce]]}if(ve[0]==ge)return 0;for(we[1]=0,Pe=1;15>Pe;++Pe){if(ve[Pe]>1<<Pe)return 0;we[Pe+1]=we[Pe]+ve[Pe]}for(Ce=0;Ce<ge;++Ce)Pe=ie[Ce],0<ie[Ce]&&(ke[we[Pe]++]=Ce);if(we[15]==1)return(ie=new P).g=0,ie.value=ke[0],j(W,Je,1,Le,ie),Le;var qe,tt=-1,Ge=Le-1,Nt=0,yt=1,Qt=1,bt=1<<X;for(Ce=0,Pe=1,ge=2;Pe<=X;++Pe,ge<<=1){if(yt+=Qt<<=1,0>(Qt-=ve[Pe]))return 0;for(;0<ve[Pe];--ve[Pe])(ie=new P).g=Pe,ie.value=ke[Ce++],j(W,Je+Nt,ge,bt,ie),Nt=O(Nt,Pe)}for(Pe=X+1,ge=2;15>=Pe;++Pe,ge<<=1){if(yt+=Qt<<=1,0>(Qt-=ve[Pe]))return 0;for(;0<ve[Pe];--ve[Pe]){if(ie=new P,(Nt&Ge)!=tt){for(Je+=bt,qe=1<<(tt=Pe)-X;15>tt&&!(0>=(qe-=ve[tt]));)++tt,qe<<=1;Le+=bt=1<<(qe=tt-X),W[G+(tt=Nt&Ge)].g=qe+X,W[G+tt].value=Je-G-tt}ie.g=Pe-X,ie.value=ke[Ce++],j(W,Je+(Nt>>X),ge,bt,ie),Nt=O(Nt,Pe)}}return yt!=2*we[15]-1?0:Le}(g,w,N,D,Q,V)}function P(){this.value=this.g=0}function L(){this.value=this.g=0}function K(){this.G=s(5,P),this.H=a(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=s(na,L)}function le(g,w,N,D){e(g!=null),e(w!=null),e(2147483648>D),g.Ca=254,g.I=0,g.b=-8,g.Ka=0,g.oa=w,g.pa=N,g.Jd=w,g.Yc=N+D,g.Zc=4<=D?N+D-4+1:N,ue(g)}function ne(g,w){for(var N=0;0<w--;)N|=pe(g,128)<<w;return N}function fe(g,w){var N=ne(g,w);return de(g)?-N:N}function te(g,w,N,D){var Q,V=0;for(e(g!=null),e(w!=null),e(4294967288>D),g.Sb=D,g.Ra=0,g.u=0,g.h=0,4<D&&(D=4),Q=0;Q<D;++Q)V+=w[N+Q]<<8*Q;g.Ra=V,g.bb=D,g.oa=w,g.pa=N}function he(g){for(;8<=g.u&&g.bb<g.Sb;)g.Ra>>>=8,g.Ra+=g.oa[g.pa+g.bb]<<hf-8>>>0,++g.bb,g.u-=8;R(g)&&(g.h=1,g.u=0)}function ce(g,w){if(e(0<=w),!g.h&&w<=df){var N=U(g)&uf[w];return g.u+=w,he(g),N}return g.h=1,g.u=0}function Ne(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function F(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function U(g){return g.Ra>>>(g.u&hf-1)>>>0}function R(g){return e(g.bb<=g.Sb),g.h||g.bb==g.Sb&&g.u>hf}function M(g,w){g.u=w,g.h=R(g)}function J(g){g.u>=um&&(e(g.u>=um),he(g))}function ue(g){e(g!=null&&g.oa!=null),g.pa<g.Zc?(g.I=(g.oa[g.pa++]|g.I<<8)>>>0,g.b+=8):(e(g!=null&&g.oa!=null),g.pa<g.Yc?(g.b+=8,g.I=g.oa[g.pa++]|g.I<<8):g.Ka?g.b=0:(g.I<<=8,g.b+=8,g.Ka=1))}function de(g){return ne(g,1)}function pe(g,w){var N=g.Ca;0>g.b&&ue(g);var D=g.b,Q=N*w>>>8,V=(g.I>>>D>Q)+0;for(V?(N-=Q,g.I-=Q+1<<D>>>0):N=Q+1,D=N,Q=0;256<=D;)Q+=8,D>>=8;return D=7^Q+hs[D],g.b-=D,g.Ca=(N<<D)-1,V}function be(g,w,N){g[w+0]=N>>24&255,g[w+1]=N>>16&255,g[w+2]=N>>8&255,g[w+3]=N>>0&255}function Qe(g,w){return g[w+0]<<0|g[w+1]<<8}function Me(g,w){return Qe(g,w)|g[w+2]<<16}function Xe(g,w){return Qe(g,w)|Qe(g,w+2)<<16}function ot(g,w){var N=1<<w;return e(g!=null),e(0<w),g.X=a(N),g.X==null?0:(g.Mb=32-w,g.Xa=w,1)}function De(g,w){e(g!=null),e(w!=null),e(g.Xa==w.Xa),n(w.X,0,g.X,0,1<<w.Xa)}function oe(){this.X=[],this.Xa=this.Mb=0}function Ke(g,w,N,D){e(N!=null),e(D!=null);var Q=N[0],V=D[0];return Q==0&&(Q=(g*V+w/2)/w),V==0&&(V=(w*Q+g/2)/g),0>=Q||0>=V?0:(N[0]=Q,D[0]=V,1)}function dt(g,w){return g+(1<<w)-1>>>w}function Ee(g,w){return((4278255360&g)+(4278255360&w)>>>0&4278255360)+((16711935&g)+(16711935&w)>>>0&16711935)>>>0}function We(g,w){_[w]=function(N,D,Q,V,W,G,X){var ie;for(ie=0;ie<W;++ie){var ge=_[g](G[X+ie-1],Q,V+ie);G[X+ie]=Ee(N[D+ie],ge)}}}function Ze(){this.ud=this.hd=this.jd=0}function rt(g,w){return((4278124286&(g^w))>>>1)+(g&w)>>>0}function $e(g){return 0<=g&&256>g?g:0>g?0:255<g?255:void 0}function Se(g,w){return $e(g+(g-w+.5>>1))}function Ve(g,w,N){return Math.abs(w-N)-Math.abs(g-N)}function vt(g,w,N,D,Q,V,W){for(D=V[W-1],N=0;N<Q;++N)V[W+N]=D=Ee(g[w+N],D)}function Tt(g,w,N,D,Q){var V;for(V=0;V<N;++V){var W=g[w+V],G=W>>8&255,X=16711935&(X=(X=16711935&W)+((G<<16)+G));D[Q+V]=(4278255360&W)+X>>>0}}function Ie(g,w){w.jd=g>>0&255,w.hd=g>>8&255,w.ud=g>>16&255}function Re(g,w,N,D,Q,V){var W;for(W=0;W<D;++W){var G=w[N+W],X=G>>>8,ie=G,ge=255&(ge=(ge=G>>>16)+((g.jd<<24>>24)*(X<<24>>24)>>>5));ie=255&(ie=(ie=ie+((g.hd<<24>>24)*(X<<24>>24)>>>5))+((g.ud<<24>>24)*(ge<<24>>24)>>>5)),Q[V+W]=(4278255360&G)+(ge<<16)+ie}}function Oe(g,w,N,D,Q){_[w]=function(V,W,G,X,ie,ge,ke,Pe,Ce){for(X=ke;X<Pe;++X)for(ke=0;ke<Ce;++ke)ie[ge++]=Q(G[D(V[W++])])},_[g]=function(V,W,G,X,ie,ge,ke){var Pe=8>>V.b,Ce=V.Ea,Je=V.K[0],Le=V.w;if(8>Pe)for(V=(1<<V.b)-1,Le=(1<<Pe)-1;W<G;++W){var ve,we=0;for(ve=0;ve<Ce;++ve)ve&V||(we=D(X[ie++])),ge[ke++]=Q(Je[we&Le]),we>>=Pe}else _["VP8LMapColor"+N](X,ie,Je,Le,ge,ke,W,G,Ce)}}function Ue(g,w,N,D,Q){for(N=w+N;w<N;){var V=g[w++];D[Q++]=V>>16&255,D[Q++]=V>>8&255,D[Q++]=V>>0&255}}function Ft(g,w,N,D,Q){for(N=w+N;w<N;){var V=g[w++];D[Q++]=V>>16&255,D[Q++]=V>>8&255,D[Q++]=V>>0&255,D[Q++]=V>>24&255}}function gt(g,w,N,D,Q){for(N=w+N;w<N;){var V=(W=g[w++])>>16&240|W>>12&15,W=W>>0&240|W>>28&15;D[Q++]=V,D[Q++]=W}}function Kr(g,w,N,D,Q){for(N=w+N;w<N;){var V=(W=g[w++])>>16&248|W>>13&7,W=W>>5&224|W>>3&31;D[Q++]=V,D[Q++]=W}}function Dt(g,w,N,D,Q){for(N=w+N;w<N;){var V=g[w++];D[Q++]=V>>0&255,D[Q++]=V>>8&255,D[Q++]=V>>16&255}}function yr(g,w,N,D,Q,V){if(V==0)for(N=w+N;w<N;)be(D,((V=g[w++])[0]>>24|V[1]>>8&65280|V[2]<<8&16711680|V[3]<<24)>>>0),Q+=32;else n(D,Q,g,w,N)}function Kn(g,w){_[w][0]=_[g+"0"],_[w][1]=_[g+"1"],_[w][2]=_[g+"2"],_[w][3]=_[g+"3"],_[w][4]=_[g+"4"],_[w][5]=_[g+"5"],_[w][6]=_[g+"6"],_[w][7]=_[g+"7"],_[w][8]=_[g+"8"],_[w][9]=_[g+"9"],_[w][10]=_[g+"10"],_[w][11]=_[g+"11"],_[w][12]=_[g+"12"],_[w][13]=_[g+"13"],_[w][14]=_[g+"0"],_[w][15]=_[g+"0"]}function dr(g){return g==vB||g==xB||g==Dx||g==yB}function co(){this.eb=[],this.size=this.A=this.fb=0}function fn(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function Ma(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new co,this.f.kb=new fn,this.sd=null}function Ps(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function Xr(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function Gt(g){return alert("todo:WebPSamplerProcessPlane"),g.T}function Tr(g,w){var N=g.T,D=w.ba.f.RGBA,Q=D.eb,V=D.fb+g.ka*D.A,W=xo[w.ba.S],G=g.y,X=g.O,ie=g.f,ge=g.N,ke=g.ea,Pe=g.W,Ce=w.cc,Je=w.dc,Le=w.Mc,ve=w.Nc,we=g.ka,qe=g.ka+g.T,tt=g.U,Ge=tt+1>>1;for(we==0?W(G,X,null,null,ie,ge,ke,Pe,ie,ge,ke,Pe,Q,V,null,null,tt):(W(w.ec,w.fc,G,X,Ce,Je,Le,ve,ie,ge,ke,Pe,Q,V-D.A,Q,V,tt),++N);we+2<qe;we+=2)Ce=ie,Je=ge,Le=ke,ve=Pe,ge+=g.Rc,Pe+=g.Rc,V+=2*D.A,W(G,(X+=2*g.fa)-g.fa,G,X,Ce,Je,Le,ve,ie,ge,ke,Pe,Q,V-D.A,Q,V,tt);return X+=g.fa,g.j+qe<g.o?(n(w.ec,w.fc,G,X,tt),n(w.cc,w.dc,ie,ge,Ge),n(w.Mc,w.Nc,ke,Pe,Ge),N--):1&qe||W(G,X,null,null,ie,ge,ke,Pe,ie,ge,ke,Pe,Q,V+D.A,null,null,tt),N}function Ao(g,w,N){var D=g.F,Q=[g.J];if(D!=null){var V=g.U,W=w.ba.S,G=W==Px||W==Dx;w=w.ba.f.RGBA;var X=[0],ie=g.ka;X[0]=g.T,g.Kb&&(ie==0?--X[0]:(--ie,Q[0]-=g.width),g.j+g.ka+g.T==g.o&&(X[0]=g.o-g.j-ie));var ge=w.eb;ie=w.fb+ie*w.A,g=xn(D,Q[0],g.width,V,X,ge,ie+(G?0:3),w.A),e(N==X),g&&dr(W)&&go(ge,ie,G,V,X,w.A)}return 0}function ti(g){var w=g.ma,N=w.ba.S,D=11>N,Q=N==Ix||N==kx||N==Px||N==gB||N==12||dr(N);if(w.memory=null,w.Ib=null,w.Jb=null,w.Nd=null,!cm(w.Oa,g,Q?11:12))return 0;if(Q&&dr(N)&&it(),g.da)alert("todo:use_scaling");else{if(D){if(w.Ib=Gt,g.Kb){if(N=g.U+1>>1,w.memory=a(g.U+2*N),w.memory==null)return 0;w.ec=w.memory,w.fc=0,w.cc=w.ec,w.dc=w.fc+g.U,w.Mc=w.cc,w.Nc=w.dc+N,w.Ib=Tr,it()}}else alert("todo:EmitYUV");Q&&(w.Jb=Ao,D&&Te())}if(D&&!vj){for(g=0;256>g;++g)xq[g]=89858*(g-128)+Rx>>Ox,bq[g]=-22014*(g-128)+Rx,wq[g]=-45773*(g-128),yq[g]=113618*(g-128)+Rx>>Ox;for(g=vm;g<CB;++g)w=76283*(g-16)+Rx>>Ox,Cq[g-vm]=Rs(w,255),Bq[g-vm]=Rs(w+8>>4,15);vj=1}return 1}function As(g){var w=g.ma,N=g.U,D=g.T;return e(!(1&g.ka)),0>=N||0>=D?0:(N=w.Ib(g,w),w.Jb!=null&&w.Jb(g,w,N),w.Dc+=N,1)}function us(g){g.ma.memory=null}function Mt(g,w,N,D){return ce(g,8)!=47?0:(w[0]=ce(g,14)+1,N[0]=ce(g,14)+1,D[0]=ce(g,1),ce(g,3)!=0?0:!g.h)}function Qa(g,w){if(4>g)return g+1;var N=g-2>>1;return(2+(1&g)<<N)+ce(w,N)+1}function vr(g,w){return 120<w?w-120:1<=(N=((N=aq[w-1])>>4)*g+(8-(15&N)))?N:1;var N}function Si(g,w,N){var D=U(N),Q=g[w+=255&D].g-8;return 0<Q&&(M(N,N.u+8),D=U(N),w+=g[w].value,w+=D&(1<<Q)-1),M(N,N.u+g[w].g),g[w].value}function Un(g,w,N){return N.g+=g.g,N.value+=g.value<<w>>>0,e(8>=N.g),g.g}function Bn(g,w,N){var D=g.xc;return e((w=D==0?0:g.vc[g.md*(N>>D)+(w>>D)])<g.Wb),g.Ya[w]}function z(g,w,N,D){var Q=g.ab,V=g.c*w,W=g.C;w=W+w;var G=N,X=D;for(D=g.Ta,N=g.Ua;0<Q--;){var ie=g.gc[Q],ge=W,ke=w,Pe=G,Ce=X,Je=(X=D,G=N,ie.Ea);switch(e(ge<ke),e(ke<=ie.nc),ie.hc){case 2:Ex(Pe,Ce,(ke-ge)*Je,X,G);break;case 0:var Le=ge,ve=ke,we=X,qe=G,tt=(bt=ie).Ea;Le==0&&(pB(Pe,Ce,null,null,1,we,qe),vt(Pe,Ce+1,0,0,tt-1,we,qe+1),Ce+=tt,qe+=tt,++Le);for(var Ge=1<<bt.b,Nt=Ge-1,yt=dt(tt,bt.b),Qt=bt.K,bt=bt.w+(Le>>bt.b)*yt;Le<ve;){var Mr=Qt,Yr=bt,Ir=1;for(dm(Pe,Ce,we,qe-tt,1,we,qe);Ir<tt;){var wr=(Ir&~Nt)+Ge;wr>tt&&(wr=tt),(0,EA[Mr[Yr++]>>8&15])(Pe,Ce+ +Ir,we,qe+Ir-tt,wr-Ir,we,qe+Ir),Ir=wr}Ce+=tt,qe+=tt,++Le&Nt||(bt+=yt)}ke!=ie.nc&&n(X,G-Je,X,G+(ke-ge-1)*Je,Je);break;case 1:for(Je=Pe,ve=Ce,tt=(Pe=ie.Ea)-(qe=Pe&~(we=(Ce=1<<ie.b)-1)),Le=dt(Pe,ie.b),Ge=ie.K,ie=ie.w+(ge>>ie.b)*Le;ge<ke;){for(Nt=Ge,yt=ie,Qt=new Ze,bt=ve+qe,Mr=ve+Pe;ve<bt;)Ie(Nt[yt++],Qt),bd(Qt,Je,ve,Ce,X,G),ve+=Ce,G+=Ce;ve<Mr&&(Ie(Nt[yt++],Qt),bd(Qt,Je,ve,tt,X,G),ve+=tt,G+=tt),++ge&we||(ie+=Le)}break;case 3:if(Pe==X&&Ce==G&&0<ie.b){for(ve=X,Pe=Je=G+(ke-ge)*Je-(qe=(ke-ge)*dt(ie.Ea,ie.b)),Ce=X,we=G,Le=[],qe=(tt=qe)-1;0<=qe;--qe)Le[qe]=Ce[we+qe];for(qe=tt-1;0<=qe;--qe)ve[Pe+qe]=Le[qe];fo(ie,ge,ke,X,Je,X,G)}else fo(ie,ge,ke,Pe,Ce,X,G)}G=D,X=N}X!=N&&n(D,N,G,X,V)}function se(g,w){var N=g.V,D=g.Ba+g.c*g.C,Q=w-g.C;if(e(w<=g.l.o),e(16>=Q),0<Q){var V=g.l,W=g.Ta,G=g.Ua,X=V.width;if(z(g,Q,N,D),Q=G=[G],e((N=g.C)<(D=w)),e(V.v<V.va),D>V.o&&(D=V.o),N<V.j){var ie=V.j-N;N=V.j,Q[0]+=ie*X}if(N>=D?N=0:(Q[0]+=4*V.v,V.ka=N-V.j,V.U=V.va-V.v,V.T=D-N,N=1),N){if(G=G[0],11>(N=g.ca).S){var ge=N.f.RGBA,ke=(D=N.S,Q=V.U,V=V.T,ie=ge.eb,ge.A),Pe=V;for(ge=ge.fb+g.Ma*ge.A;0<Pe--;){var Ce=W,Je=G,Le=Q,ve=ie,we=ge;switch(D){case jx:fs(Ce,Je,Le,ve,we);break;case Ix:za(Ce,Je,Le,ve,we);break;case vB:za(Ce,Je,Le,ve,we),go(ve,we,0,Le,1,0);break;case lj:Bc(Ce,Je,Le,ve,we);break;case kx:yr(Ce,Je,Le,ve,we,1);break;case xB:yr(Ce,Je,Le,ve,we,1),go(ve,we,0,Le,1,0);break;case Px:yr(Ce,Je,Le,ve,we,0);break;case Dx:yr(Ce,Je,Le,ve,we,0),go(ve,we,1,Le,1,0);break;case gB:NA(Ce,Je,Le,ve,we);break;case yB:NA(Ce,Je,Le,ve,we),vn(ve,we,Le,1,0);break;case cj:Cc(Ce,Je,Le,ve,we);break;default:e(0)}G+=X,ge+=ke}g.Ma+=V}else alert("todo:EmitRescaledRowsYUVA");e(g.Ma<=N.height)}}g.C=w,e(g.C<=g.i)}function ee(g){var w;if(0<g.ua)return 0;for(w=0;w<g.Wb;++w){var N=g.Ya[w].G,D=g.Ya[w].H;if(0<N[1][D[1]+0].g||0<N[2][D[2]+0].g||0<N[3][D[3]+0].g)return 0}return 1}function k(g,w,N,D,Q,V){if(g.Z!=0){var W=g.qd,G=g.rd;for(e(TA[g.Z]!=null);w<N;++w)TA[g.Z](W,G,D,Q,D,Q,V),W=D,G=Q,Q+=V;g.qd=W,g.rd=G}}function q(g,w){var N=g.l.ma,D=N.Z==0||N.Z==1?g.l.j:g.C;if(D=g.C<D?D:g.C,e(w<=g.l.o),w>D){var Q=g.l.width,V=N.ca,W=N.tb+Q*D,G=g.V,X=g.Ba+g.c*D,ie=g.gc;e(g.ab==1),e(ie[0].hc==3),Nx(ie[0],D,w,G,X,V,W),k(N,D,w,V,W,Q)}g.C=g.Ma=w}function Y(g,w,N,D,Q,V,W){var G=g.$/D,X=g.$%D,ie=g.m,ge=g.s,ke=N+g.$,Pe=ke;Q=N+D*Q;var Ce=N+D*V,Je=280+ge.ua,Le=g.Pb?G:16777216,ve=0<ge.ua?ge.Wa:null,we=ge.wc,qe=ke<Ce?Bn(ge,X,G):null;e(g.C<V),e(Ce<=Q);var tt=!1;e:for(;;){for(;tt||ke<Ce;){var Ge=0;if(G>=Le){var Nt=ke-N;e((Le=g).Pb),Le.wd=Le.m,Le.xd=Nt,0<Le.s.ua&&De(Le.s.Wa,Le.s.vb),Le=G+oq}if(X&we||(qe=Bn(ge,X,G)),e(qe!=null),qe.Qb&&(w[ke]=qe.qb,tt=!0),!tt)if(J(ie),qe.jc){Ge=ie,Nt=w;var yt=ke,Qt=qe.pd[U(Ge)&na-1];e(qe.jc),256>Qt.g?(M(Ge,Ge.u+Qt.g),Nt[yt]=Qt.value,Ge=0):(M(Ge,Ge.u+Qt.g-256),e(256<=Qt.value),Ge=Qt.value),Ge==0&&(tt=!0)}else Ge=Si(qe.G[0],qe.H[0],ie);if(ie.h)break;if(tt||256>Ge){if(!tt)if(qe.nd)w[ke]=(qe.qb|Ge<<8)>>>0;else{if(J(ie),tt=Si(qe.G[1],qe.H[1],ie),J(ie),Nt=Si(qe.G[2],qe.H[2],ie),yt=Si(qe.G[3],qe.H[3],ie),ie.h)break;w[ke]=(yt<<24|tt<<16|Ge<<8|Nt)>>>0}if(tt=!1,++ke,++X>=D&&(X=0,++G,W!=null&&G<=V&&!(G%16)&&W(g,G),ve!=null))for(;Pe<ke;)Ge=w[Pe++],ve.X[(506832829*Ge&4294967295)>>>ve.Mb]=Ge}else if(280>Ge){if(Ge=Qa(Ge-256,ie),Nt=Si(qe.G[4],qe.H[4],ie),J(ie),Nt=vr(D,Nt=Qa(Nt,ie)),ie.h)break;if(ke-N<Nt||Q-ke<Ge)break e;for(yt=0;yt<Ge;++yt)w[ke+yt]=w[ke+yt-Nt];for(ke+=Ge,X+=Ge;X>=D;)X-=D,++G,W!=null&&G<=V&&!(G%16)&&W(g,G);if(e(ke<=Q),X&we&&(qe=Bn(ge,X,G)),ve!=null)for(;Pe<ke;)Ge=w[Pe++],ve.X[(506832829*Ge&4294967295)>>>ve.Mb]=Ge}else{if(!(Ge<Je))break e;for(tt=Ge-280,e(ve!=null);Pe<ke;)Ge=w[Pe++],ve.X[(506832829*Ge&4294967295)>>>ve.Mb]=Ge;Ge=ke,e(!(tt>>>(Nt=ve).Xa)),w[Ge]=Nt.X[tt],tt=!0}tt||e(ie.h==R(ie))}if(g.Pb&&ie.h&&ke<Q)e(g.m.h),g.a=5,g.m=g.wd,g.$=g.xd,0<g.s.ua&&De(g.s.vb,g.s.Wa);else{if(ie.h)break e;W!=null&&W(g,G>V?V:G),g.a=0,g.$=ke-N}return 1}return g.a=3,0}function ye(g){e(g!=null),g.vc=null,g.yc=null,g.Ya=null;var w=g.Wa;w!=null&&(w.X=null),g.vb=null,e(g!=null)}function Be(){var g=new fB;return g==null?null:(g.a=0,g.xb=dj,Kn("Predictor","VP8LPredictors"),Kn("Predictor","VP8LPredictors_C"),Kn("PredictorAdd","VP8LPredictorsAdd"),Kn("PredictorAdd","VP8LPredictorsAdd_C"),Ex=Tt,bd=Re,fs=Ue,za=Ft,NA=gt,Cc=Kr,Bc=Dt,_.VP8LMapColor32b=ff,_.VP8LMapColor8b=Sx,g)}function xe(g,w,N,D,Q){var V=1,W=[g],G=[w],X=D.m,ie=D.s,ge=null,ke=0;e:for(;;){if(N)for(;V&&ce(X,1);){var Pe=W,Ce=G,Je=D,Le=1,ve=Je.m,we=Je.gc[Je.ab],qe=ce(ve,2);if(Je.Oc&1<<qe)V=0;else{switch(Je.Oc|=1<<qe,we.hc=qe,we.Ea=Pe[0],we.nc=Ce[0],we.K=[null],++Je.ab,e(4>=Je.ab),qe){case 0:case 1:we.b=ce(ve,3)+2,Le=xe(dt(we.Ea,we.b),dt(we.nc,we.b),0,Je,we.K),we.K=we.K[0];break;case 3:var tt,Ge=ce(ve,8)+1,Nt=16<Ge?0:4<Ge?1:2<Ge?2:3;if(Pe[0]=dt(we.Ea,Nt),we.b=Nt,tt=Le=xe(Ge,1,0,Je,we.K)){var yt,Qt=Ge,bt=we,Mr=1<<(8>>bt.b),Yr=a(Mr);if(Yr==null)tt=0;else{var Ir=bt.K[0],wr=bt.w;for(Yr[0]=bt.K[0][0],yt=1;yt<1*Qt;++yt)Yr[yt]=Ee(Ir[wr+yt],Yr[yt-1]);for(;yt<4*Mr;++yt)Yr[yt]=0;bt.K[0]=null,bt.K[0]=Yr,tt=1}}Le=tt;break;case 2:break;default:e(0)}V=Le}}if(W=W[0],G=G[0],V&&ce(X,1)&&!(V=1<=(ke=ce(X,4))&&11>=ke)){D.a=3;break e}var pn;if(pn=V)t:{var on,ur,fi,ps=D,pi=W,ms=G,Zr=ke,Ls=N,Ms=ps.m,zi=ps.s,ia=[null],Wa=1,yo=0,Ll=sq[Zr];r:for(;;){if(Ls&&ce(Ms,1)){var Vi=ce(Ms,3)+2,_c=dt(pi,Vi),Sd=dt(ms,Vi),xf=_c*Sd;if(!xe(_c,Sd,0,ps,ia))break r;for(ia=ia[0],zi.xc=Vi,on=0;on<xf;++on){var jA=ia[on]>>8&65535;ia[on]=jA,jA>=Wa&&(Wa=jA+1)}}if(Ms.h)break r;for(ur=0;5>ur;++ur){var Gn=Aj[ur];!ur&&0<Zr&&(Gn+=1<<Zr),yo<Gn&&(yo=Gn)}var BB=s(Wa*Ll,P),wj=Wa,bj=s(wj,K);if(bj==null)var Lx=null;else e(65536>=wj),Lx=bj;var xm=a(yo);if(Lx==null||xm==null||BB==null){ps.a=1;break r}var Mx=BB;for(on=fi=0;on<Wa;++on){var $o=Lx[on],yf=$o.G,wf=$o.H,Cj=0,Qx=1,Bj=0;for(ur=0;5>ur;++ur){Gn=Aj[ur],yf[ur]=Mx,wf[ur]=fi,!ur&&0<Zr&&(Gn+=1<<Zr);i:{var Hx,EB=Gn,zx=ps,ym=xm,Sq=Mx,_q=fi,NB=0,IA=zx.m,Fq=ce(IA,1);if(i(ym,0,0,EB),Fq){var Tq=ce(IA,1)+1,jq=ce(IA,1),Ej=ce(IA,jq==0?1:8);ym[Ej]=1,Tq==2&&(ym[Ej=ce(IA,8)]=1);var Vx=1}else{var Nj=a(19),Sj=ce(IA,4)+4;if(19<Sj){zx.a=3;var Wx=0;break i}for(Hx=0;Hx<Sj;++Hx)Nj[iq[Hx]]=ce(IA,3);var SB=void 0,wm=void 0,_j=zx,Iq=Nj,Kx=EB,Fj=ym,_B=0,kA=_j.m,Tj=8,jj=s(128,P);n:for(;T(jj,0,7,Iq,19);){if(ce(kA,1)){var kq=2+2*ce(kA,3);if((SB=2+ce(kA,kq))>Kx)break n}else SB=Kx;for(wm=0;wm<Kx&&SB--;){J(kA);var Ij=jj[0+(127&U(kA))];M(kA,kA.u+Ij.g);var bf=Ij.value;if(16>bf)Fj[wm++]=bf,bf!=0&&(Tj=bf);else{var Pq=bf==16,kj=bf-16,Dq=rq[kj],Pj=ce(kA,tq[kj])+Dq;if(wm+Pj>Kx)break n;for(var Oq=Pq?Tj:0;0<Pj--;)Fj[wm++]=Oq}}_B=1;break n}_B||(_j.a=3),Vx=_B}(Vx=Vx&&!IA.h)&&(NB=T(Sq,_q,8,ym,EB)),Vx&&NB!=0?Wx=NB:(zx.a=3,Wx=0)}if(Wx==0)break r;if(Qx&&nq[ur]==1&&(Qx=Mx[fi].g==0),Cj+=Mx[fi].g,fi+=Wx,3>=ur){var bm,FB=xm[0];for(bm=1;bm<Gn;++bm)xm[bm]>FB&&(FB=xm[bm]);Bj+=FB}}if($o.nd=Qx,$o.Qb=0,Qx&&($o.qb=(yf[3][wf[3]+0].value<<24|yf[1][wf[1]+0].value<<16|yf[2][wf[2]+0].value)>>>0,Cj==0&&256>yf[0][wf[0]+0].value&&($o.Qb=1,$o.qb+=yf[0][wf[0]+0].value<<8)),$o.jc=!$o.Qb&&6>Bj,$o.jc){var qx,Fc=$o;for(qx=0;qx<na;++qx){var PA=qx,DA=Fc.pd[PA],Gx=Fc.G[0][Fc.H[0]+PA];256<=Gx.value?(DA.g=Gx.g+256,DA.value=Gx.value):(DA.g=0,DA.value=0,PA>>=Un(Gx,8,DA),PA>>=Un(Fc.G[1][Fc.H[1]+PA],16,DA),PA>>=Un(Fc.G[2][Fc.H[2]+PA],0,DA),Un(Fc.G[3][Fc.H[3]+PA],24,DA))}}}zi.vc=ia,zi.Wb=Wa,zi.Ya=Lx,zi.yc=BB,pn=1;break t}pn=0}if(!(V=pn)){D.a=3;break e}if(0<ke){if(ie.ua=1<<ke,!ot(ie.Wa,ke)){D.a=1,V=0;break e}}else ie.ua=0;var TB=D,Dj=W,Rq=G,jB=TB.s,IB=jB.xc;if(TB.c=Dj,TB.i=Rq,jB.md=dt(Dj,IB),jB.wc=IB==0?-1:(1<<IB)-1,N){D.xb=fq;break e}if((ge=a(W*G))==null){D.a=1,V=0;break e}V=(V=Y(D,ge,0,W,G,G,null))&&!X.h;break e}return V?(Q!=null?Q[0]=ge:(e(ge==null),e(N)),D.$=0,N||ye(ie)):ye(ie),V}function _e(g,w){var N=g.c*g.i,D=N+w+16*w;return e(g.c<=w),g.V=a(D),g.V==null?(g.Ta=null,g.Ua=0,g.a=1,0):(g.Ta=g.V,g.Ua=g.Ba+N+w,1)}function Fe(g,w){var N=g.C,D=w-N,Q=g.V,V=g.Ba+g.c*N;for(e(w<=g.l.o);0<D;){var W=16<D?16:D,G=g.l.ma,X=g.l.width,ie=X*W,ge=G.ca,ke=G.tb+X*N,Pe=g.Ta,Ce=g.Ua;z(g,W,Q,V),ii(Pe,Ce,ge,ke,ie),k(G,N,N+W,ge,ke,X),D-=W,Q+=W*g.c,N+=W}e(N==w),g.C=g.Ma=w}function Ye(){this.ub=this.yd=this.td=this.Rb=0}function st(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function xt(){this.Fb=this.Bb=this.Cb=0,this.Zb=a(4),this.Lb=a(4)}function at(){this.Yb=function(){var g=[];return function w(N,D,Q){for(var V=Q[D],W=0;W<V&&(N.push(Q.length>D+1?[]:0),!(Q.length<D+1));W++)w(N[W],D+1,Q)}(g,0,[3,11]),g}()}function wt(){this.jb=a(3),this.Wc=o([4,8],at),this.Xc=o([4,17],at)}function Ht(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new a(4),this.od=new a(4)}function Dr(){this.ld=this.La=this.dd=this.tc=0}function pt(){this.Na=this.la=0}function Or(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function Ha(){this.ad=a(384),this.Za=0,this.Ob=a(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function uo(){this.uc=this.M=this.Nb=0,this.wa=Array(new Dr),this.Y=0,this.ya=Array(new Ha),this.aa=0,this.l=new ho}function Ca(){this.y=a(16),this.f=a(8),this.ea=a(8)}function Ds(){this.cb=this.a=0,this.sc="",this.m=new Ne,this.Od=new Ye,this.Kc=new st,this.ed=new Ht,this.Qa=new xt,this.Ic=this.$c=this.Aa=0,this.D=new uo,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=s(8,Ne),this.ia=0,this.pb=s(4,Or),this.Pa=new wt,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new Ca),this.Hd=0,this.rb=Array(new pt),this.sb=0,this.wa=Array(new Dr),this.Y=0,this.oc=[],this.pc=0,this.sa=[],this.ta=0,this.qa=[],this.ra=0,this.Ha=[],this.B=this.R=this.Ia=0,this.Ec=[],this.M=this.ja=this.Vb=this.Fc=0,this.ya=Array(new Ha),this.L=this.aa=0,this.gd=o([4,2],Dr),this.ga=null,this.Fa=[],this.Cc=this.qc=this.P=0,this.Gb=[],this.Uc=0,this.mb=[],this.nb=0,this.rc=[],this.Ga=this.Vc=0}function ho(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Os(){var g=new Ds;return g!=null&&(g.a=0,g.sc="OK",g.cb=0,g.Xb=0,gm||(gm=Ax)),g}function ri(g,w,N){return g.a==0&&(g.a=w,g.sc=N,g.cb=0),0}function lx(g,w,N){return 3<=N&&g[w+0]==157&&g[w+1]==1&&g[w+2]==42}function cx(g,w){if(g==null)return 0;if(g.a=0,g.sc="OK",w==null)return ri(g,2,"null VP8Io passed to VP8GetHeaders()");var N=w.data,D=w.w,Q=w.ha;if(4>Q)return ri(g,7,"Truncated header.");var V=N[D+0]|N[D+1]<<8|N[D+2]<<16,W=g.Od;if(W.Rb=!(1&V),W.td=V>>1&7,W.yd=V>>4&1,W.ub=V>>5,3<W.td)return ri(g,3,"Incorrect keyframe parameters.");if(!W.yd)return ri(g,4,"Frame not displayable.");D+=3,Q-=3;var G=g.Kc;if(W.Rb){if(7>Q)return ri(g,7,"cannot parse picture header");if(!lx(N,D,Q))return ri(g,3,"Bad code word");G.c=16383&(N[D+4]<<8|N[D+3]),G.Td=N[D+4]>>6,G.i=16383&(N[D+6]<<8|N[D+5]),G.Ud=N[D+6]>>6,D+=7,Q-=7,g.za=G.c+15>>4,g.Ub=G.i+15>>4,w.width=G.c,w.height=G.i,w.Da=0,w.j=0,w.v=0,w.va=w.width,w.o=w.height,w.da=0,w.ib=w.width,w.hb=w.height,w.U=w.width,w.T=w.height,i((V=g.Pa).jb,0,255,V.jb.length),e((V=g.Qa)!=null),V.Cb=0,V.Bb=0,V.Fb=1,i(V.Zb,0,0,V.Zb.length),i(V.Lb,0,0,V.Lb)}if(W.ub>Q)return ri(g,7,"bad partition length");le(V=g.m,N,D,W.ub),D+=W.ub,Q-=W.ub,W.Rb&&(G.Ld=de(V),G.Kd=de(V)),G=g.Qa;var X,ie=g.Pa;if(e(V!=null),e(G!=null),G.Cb=de(V),G.Cb){if(G.Bb=de(V),de(V)){for(G.Fb=de(V),X=0;4>X;++X)G.Zb[X]=de(V)?fe(V,7):0;for(X=0;4>X;++X)G.Lb[X]=de(V)?fe(V,6):0}if(G.Bb)for(X=0;3>X;++X)ie.jb[X]=de(V)?ne(V,8):255}else G.Bb=0;if(V.Ka)return ri(g,3,"cannot parse segment header");if((G=g.ed).zd=de(V),G.Tb=ne(V,6),G.wb=ne(V,3),G.Pc=de(V),G.Pc&&de(V)){for(ie=0;4>ie;++ie)de(V)&&(G.vd[ie]=fe(V,6));for(ie=0;4>ie;++ie)de(V)&&(G.od[ie]=fe(V,6))}if(g.L=G.Tb==0?0:G.zd?1:2,V.Ka)return ri(g,3,"cannot parse filter header");var ge=Q;if(Q=X=D,D=X+ge,G=ge,g.Xb=(1<<ne(g.m,2))-1,ge<3*(ie=g.Xb))N=7;else{for(X+=3*ie,G-=3*ie,ge=0;ge<ie;++ge){var ke=N[Q+0]|N[Q+1]<<8|N[Q+2]<<16;ke>G&&(ke=G),le(g.Jc[+ge],N,X,ke),X+=ke,G-=ke,Q+=3}le(g.Jc[+ie],N,X,G),N=X<D?0:5}if(N!=0)return ri(g,N,"cannot parse partitions");for(N=ne(X=g.m,7),Q=de(X)?fe(X,4):0,D=de(X)?fe(X,4):0,G=de(X)?fe(X,4):0,ie=de(X)?fe(X,4):0,X=de(X)?fe(X,4):0,ge=g.Qa,ke=0;4>ke;++ke){if(ge.Cb){var Pe=ge.Zb[ke];ge.Fb||(Pe+=N)}else{if(0<ke){g.pb[ke]=g.pb[0];continue}Pe=N}var Ce=g.pb[ke];Ce.Sc[0]=wB[Rs(Pe+Q,127)],Ce.Sc[1]=bB[Rs(Pe+0,127)],Ce.Eb[0]=2*wB[Rs(Pe+D,127)],Ce.Eb[1]=101581*bB[Rs(Pe+G,127)]>>16,8>Ce.Eb[1]&&(Ce.Eb[1]=8),Ce.Qc[0]=wB[Rs(Pe+ie,117)],Ce.Qc[1]=bB[Rs(Pe+X,127)],Ce.lc=Pe+X}if(!W.Rb)return ri(g,4,"Not a key frame.");for(de(V),W=g.Pa,N=0;4>N;++N){for(Q=0;8>Q;++Q)for(D=0;3>D;++D)for(G=0;11>G;++G)ie=pe(V,dq[N][Q][D][G])?ne(V,8):Aq[N][Q][D][G],W.Wc[N][Q].Yb[D][G]=ie;for(Q=0;17>Q;++Q)W.Xc[N][Q]=W.Wc[N][hq[Q]]}return g.kc=de(V),g.kc&&(g.Bd=ne(V,8)),g.cb=1}function Ax(g,w,N,D,Q,V,W){var G=w[Q].Yb[N];for(N=0;16>Q;++Q){if(!pe(g,G[N+0]))return Q;for(;!pe(g,G[N+1]);)if(G=w[++Q].Yb[0],N=0,Q==16)return 16;var X=w[Q+1].Yb;if(pe(g,G[N+2])){var ie=g,ge=0;if(pe(ie,(Pe=G)[(ke=N)+3]))if(pe(ie,Pe[ke+6])){for(G=0,ke=2*(ge=pe(ie,Pe[ke+8]))+(Pe=pe(ie,Pe[ke+9+ge])),ge=0,Pe=lq[ke];Pe[G];++G)ge+=ge+pe(ie,Pe[G]);ge+=3+(8<<ke)}else pe(ie,Pe[ke+7])?(ge=7+2*pe(ie,165),ge+=pe(ie,145)):ge=5+pe(ie,159);else ge=pe(ie,Pe[ke+4])?3+pe(ie,Pe[ke+5]):2;G=X[2]}else ge=1,G=X[1];X=W+cq[Q],0>(ie=g).b&&ue(ie);var ke,Pe=ie.b,Ce=(ke=ie.Ca>>1)-(ie.I>>Pe)>>31;--ie.b,ie.Ca+=Ce,ie.Ca|=1,ie.I-=(ke+1&Ce)<<Pe,V[X]=((ge^Ce)-Ce)*D[(0<Q)+0]}return 16}function Gp(g){var w=g.rb[g.sb-1];w.la=0,w.Na=0,i(g.zc,0,0,g.zc.length),g.ja=0}function Y5(g,w){if(g==null)return 0;if(w==null)return ri(g,2,"NULL VP8Io parameter in VP8Decode().");if(!g.cb&&!cx(g,w))return 0;if(e(g.cb),w.ac==null||w.ac(w)){w.ob&&(g.L=0);var N=Ux[g.L];if(g.L==2?(g.yb=0,g.zb=0):(g.yb=w.v-N>>4,g.zb=w.j-N>>4,0>g.yb&&(g.yb=0),0>g.zb&&(g.zb=0)),g.Va=w.o+15+N>>4,g.Hb=w.va+15+N>>4,g.Hb>g.za&&(g.Hb=g.za),g.Va>g.Ub&&(g.Va=g.Ub),0<g.L){var D=g.ed;for(N=0;4>N;++N){var Q;if(g.Qa.Cb){var V=g.Qa.Lb[N];g.Qa.Fb||(V+=D.Tb)}else V=D.Tb;for(Q=0;1>=Q;++Q){var W=g.gd[N][Q],G=V;if(D.Pc&&(G+=D.vd[0],Q&&(G+=D.od[0])),0<(G=0>G?0:63<G?63:G)){var X=G;0<D.wb&&(X=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on,Vi+4,Ll,zi),Cd(Sd,xf,jA,Gn,_c,Vi+4,Ll,zi)),ia.La&&(SA(Wa,yo,on,Vi,Ll,zi),gf(Sd,xf,jA,Gn,_c,Vi,Ll,zi)),0<ps&&(mf(Wa,yo,on,Vi+4,Ll,zi),fm(Sd,xf,jA,Gn,_c,Vi+4,Ll,zi)),ia.La&&(Bd(Wa,yo,on,Vi,Ll,zi),Ed(Sd,xf,jA,Gn,_c,Vi,Ll,zi))}}if(ve.ia&&alert("todo:DitherRow"),we.put!=null){if(ur=16*Zr,Zr=16*(Zr+1),Ls?(we.y=ve.sa,we.O=ve.ta+pn,we.f=ve.qa,we.N=ve.ra+ms,we.ea=ve.Ha,we.W=ve.Ia+ms):(ur-=wr,we.y=yt,we.O=Qt,we.f=bt,we.N=Ge,we.ea=Mr,we.W=Yr),Ir||(Zr-=wr),Zr>we.o&&(Zr=we.o),we.F=null,we.J=null,ve.Fa!=null&&0<ve.Fa.length&&ur<Zr&&(we.J=sm(ve,we,ur,Zr-ur),we.F=ve.mb,we.F==null&&we.F.length==0)){qe=ri(ve,3,"Could not decode alpha data.");break e}ur<we.j&&(wr=we.j-ur,ur=we.j,e(!(1&wr)),we.O+=ve.R*wr,we.N+=ve.B*(wr>>1),we.W+=ve.B*(wr>>1),we.F!=null&&(we.J+=we.width*wr)),ur<Zr&&(we.O+=we.v,we.N+=we.v>>1,we.W+=we.v>>1,we.F!=null&&(we.J+=we.v),we.ka=ur-we.j,we.U=we.va-we.v,we.T=Zr-ur,qe=we.put(we))}Le+1!=ve.Ic||Ir||(n(ve.sa,ve.ta-tt,yt,Qt+16*ve.R,tt),n(ve.qa,ve.ra-Nt,bt,Ge+8*ve.B,Nt),n(ve.Ha,ve.Ia-Nt,Mr,Yr+8*ve.B,Nt))}if(!qe)return ri(Ce,6,"Output aborted.")}return 1}(g,w)),w.bc!=null&&w.bc(w),N&=1}return N?(g.cb=0,N):0}function Jo(g,w,N,D,Q){Q=g[w+N+32*D]+(Q>>3),g[w+N+32*D]=-256&Q?0>Q?0:255:Q}function ef(g,w,N,D,Q,V){Jo(g,w,0,N,D+Q),Jo(g,w,1,N,D+V),Jo(g,w,2,N,D-V),Jo(g,w,3,N,D-Q)}function ds(g){return(20091*g>>16)+g}function Jp(g,w,N,D){var Q,V=0,W=a(16);for(Q=0;4>Q;++Q){var G=g[w+0]+g[w+8],X=g[w+0]-g[w+8],ie=(35468*g[w+4]>>16)-ds(g[w+12]),ge=ds(g[w+4])+(35468*g[w+12]>>16);W[V+0]=G+ge,W[V+1]=X+ie,W[V+2]=X-ie,W[V+3]=G-ge,V+=4,w++}for(Q=V=0;4>Q;++Q)G=(g=W[V+0]+4)+W[V+8],X=g-W[V+8],ie=(35468*W[V+4]>>16)-ds(W[V+12]),Jo(N,D,0,0,G+(ge=ds(W[V+4])+(35468*W[V+12]>>16))),Jo(N,D,1,0,X+ie),Jo(N,D,2,0,X-ie),Jo(N,D,3,0,G-ge),V++,D+=32}function ux(g,w,N,D){var Q=g[w+0]+4,V=35468*g[w+4]>>16,W=ds(g[w+4]),G=35468*g[w+1]>>16;ef(N,D,0,Q+W,g=ds(g[w+1]),G),ef(N,D,1,Q+V,g,G),ef(N,D,2,Q-V,g,G),ef(N,D,3,Q-W,g,G)}function Z5(g,w,N,D,Q){Jp(g,w,N,D),Q&&Jp(g,w+16,N,D+4)}function dx(g,w,N,D){Ec(g,w+0,N,D,1),Ec(g,w+32,N,D+128,1)}function $5(g,w,N,D){var Q;for(g=g[w+0]+4,Q=0;4>Q;++Q)for(w=0;4>w;++w)Jo(N,D,w,Q,g)}function hx(g,w,N,D){g[w+0]&&Va(g,w+0,N,D),g[w+16]&&Va(g,w+16,N,D+4),g[w+32]&&Va(g,w+32,N,D+128),g[w+48]&&Va(g,w+48,N,D+128+4)}function eB(g,w,N,D){var Q,V=a(16);for(Q=0;4>Q;++Q){var W=g[w+0+Q]+g[w+12+Q],G=g[w+4+Q]+g[w+8+Q],X=g[w+4+Q]-g[w+8+Q],ie=g[w+0+Q]-g[w+12+Q];V[0+Q]=W+G,V[8+Q]=W-G,V[4+Q]=ie+X,V[12+Q]=ie-X}for(Q=0;4>Q;++Q)W=(g=V[0+4*Q]+3)+V[3+4*Q],G=V[1+4*Q]+V[2+4*Q],X=V[1+4*Q]-V[2+4*Q],ie=g-V[3+4*Q],N[D+0]=W+G>>3,N[D+16]=ie+X>>3,N[D+32]=W-G>>3,N[D+48]=ie-X>>3,D+=64}function Xp(g,w,N){var D,Q=w-32,V=Us,W=255-g[Q-1];for(D=0;D<N;++D){var G,X=V,ie=W+g[w-1];for(G=0;G<N;++G)g[w+G]=X[ie+g[Q+G]];w+=32}}function tB(g,w){Xp(g,w,4)}function rB(g,w){Xp(g,w,8)}function nB(g,w){Xp(g,w,16)}function wc(g,w){var N;for(N=0;16>N;++N)n(g,w+32*N,g,w-32,16)}function tf(g,w){var N;for(N=16;0<N;--N)i(g,w,g[w-1],16),w+=32}function rf(g,w,N){var D;for(D=0;16>D;++D)i(w,N+32*D,g,16)}function fx(g,w){var N,D=16;for(N=0;16>N;++N)D+=g[w-1+32*N]+g[w+N-32];rf(D>>5,g,w)}function Ba(g,w){var N,D=8;for(N=0;16>N;++N)D+=g[w-1+32*N];rf(D>>4,g,w)}function iB(g,w){var N,D=8;for(N=0;16>N;++N)D+=g[w+N-32];rf(D>>4,g,w)}function px(g,w){rf(128,g,w)}function nr(g,w,N){return g+2*w+N+2>>2}function aB(g,w){var N,D=w-32;for(D=new Uint8Array([nr(g[D-1],g[D+0],g[D+1]),nr(g[D+0],g[D+1],g[D+2]),nr(g[D+1],g[D+2],g[D+3]),nr(g[D+2],g[D+3],g[D+4])]),N=0;4>N;++N)n(g,w+32*N,D,0,D.length)}function sB(g,w){var N=g[w-1],D=g[w-1+32],Q=g[w-1+64],V=g[w-1+96];be(g,w+0,16843009*nr(g[w-1-32],N,D)),be(g,w+32,16843009*nr(N,D,Q)),be(g,w+64,16843009*nr(D,Q,V)),be(g,w+96,16843009*nr(Q,V,V))}function Ol(g,w){var N,D=4;for(N=0;4>N;++N)D+=g[w+N-32]+g[w-1+32*N];for(D>>=3,N=0;4>N;++N)i(g,w+32*N,D,4)}function mx(g,w){var N=g[w-1+0],D=g[w-1+32],Q=g[w-1+64],V=g[w-1-32],W=g[w+0-32],G=g[w+1-32],X=g[w+2-32],ie=g[w+3-32];g[w+0+96]=nr(D,Q,g[w-1+96]),g[w+1+96]=g[w+0+64]=nr(N,D,Q),g[w+2+96]=g[w+1+64]=g[w+0+32]=nr(V,N,D),g[w+3+96]=g[w+2+64]=g[w+1+32]=g[w+0+0]=nr(W,V,N),g[w+3+64]=g[w+2+32]=g[w+1+0]=nr(G,W,V),g[w+3+32]=g[w+2+0]=nr(X,G,W),g[w+3+0]=nr(ie,X,G)}function gx(g,w){var N=g[w+1-32],D=g[w+2-32],Q=g[w+3-32],V=g[w+4-32],W=g[w+5-32],G=g[w+6-32],X=g[w+7-32];g[w+0+0]=nr(g[w+0-32],N,D),g[w+1+0]=g[w+0+32]=nr(N,D,Q),g[w+2+0]=g[w+1+32]=g[w+0+64]=nr(D,Q,V),g[w+3+0]=g[w+2+32]=g[w+1+64]=g[w+0+96]=nr(Q,V,W),g[w+3+32]=g[w+2+64]=g[w+1+96]=nr(V,W,G),g[w+3+64]=g[w+2+96]=nr(W,G,X),g[w+3+96]=nr(G,X,X)}function nf(g,w){var N=g[w-1+0],D=g[w-1+32],Q=g[w-1+64],V=g[w-1-32],W=g[w+0-32],G=g[w+1-32],X=g[w+2-32],ie=g[w+3-32];g[w+0+0]=g[w+1+64]=V+W+1>>1,g[w+1+0]=g[w+2+64]=W+G+1>>1,g[w+2+0]=g[w+3+64]=G+X+1>>1,g[w+3+0]=X+ie+1>>1,g[w+0+96]=nr(Q,D,N),g[w+0+64]=nr(D,N,V),g[w+0+32]=g[w+1+96]=nr(N,V,W),g[w+1+32]=g[w+2+96]=nr(V,W,G),g[w+2+32]=g[w+3+96]=nr(W,G,X),g[w+3+32]=nr(G,X,ie)}function Yp(g,w){var N=g[w+0-32],D=g[w+1-32],Q=g[w+2-32],V=g[w+3-32],W=g[w+4-32],G=g[w+5-32],X=g[w+6-32],ie=g[w+7-32];g[w+0+0]=N+D+1>>1,g[w+1+0]=g[w+0+64]=D+Q+1>>1,g[w+2+0]=g[w+1+64]=Q+V+1>>1,g[w+3+0]=g[w+2+64]=V+W+1>>1,g[w+0+32]=nr(N,D,Q),g[w+1+32]=g[w+0+96]=nr(D,Q,V),g[w+2+32]=g[w+1+96]=nr(Q,V,W),g[w+3+32]=g[w+2+96]=nr(V,W,G),g[w+3+64]=nr(W,G,X),g[w+3+96]=nr(G,X,ie)}function oB(g,w){var N=g[w-1+0],D=g[w-1+32],Q=g[w-1+64],V=g[w-1+96];g[w+0+0]=N+D+1>>1,g[w+2+0]=g[w+0+32]=D+Q+1>>1,g[w+2+32]=g[w+0+64]=Q+V+1>>1,g[w+1+0]=nr(N,D,Q),g[w+3+0]=g[w+1+32]=nr(D,Q,V),g[w+3+32]=g[w+1+64]=nr(Q,V,V),g[w+3+64]=g[w+2+64]=g[w+0+96]=g[w+1+96]=g[w+2+96]=g[w+3+96]=V}function lB(g,w){var N=g[w-1+0],D=g[w-1+32],Q=g[w-1+64],V=g[w-1+96],W=g[w-1-32],G=g[w+0-32],X=g[w+1-32],ie=g[w+2-32];g[w+0+0]=g[w+2+32]=N+W+1>>1,g[w+0+32]=g[w+2+64]=D+N+1>>1,g[w+0+64]=g[w+2+96]=Q+D+1>>1,g[w+0+96]=V+Q+1>>1,g[w+3+0]=nr(G,X,ie),g[w+2+0]=nr(W,G,X),g[w+1+0]=g[w+3+32]=nr(N,W,G),g[w+1+32]=g[w+3+64]=nr(D,N,W),g[w+1+64]=g[w+3+96]=nr(Q,D,N),g[w+1+96]=nr(V,Q,D)}function cB(g,w){var N;for(N=0;8>N;++N)n(g,w+32*N,g,w-32,8)}function Zp(g,w){var N;for(N=0;8>N;++N)i(g,w,g[w-1],8),w+=32}function vd(g,w,N){var D;for(D=0;8>D;++D)i(w,N+32*D,g,8)}function bA(g,w){var N,D=8;for(N=0;8>N;++N)D+=g[w+N-32]+g[w-1+32*N];vd(D>>4,g,w)}function AB(g,w){var N,D=4;for(N=0;8>N;++N)D+=g[w+N-32];vd(D>>3,g,w)}function xd(g,w){var N,D=4;for(N=0;8>N;++N)D+=g[w-1+32*N];vd(D>>3,g,w)}function $p(g,w){vd(128,g,w)}function af(g,w,N){var D=g[w-N],Q=g[w+0],V=3*(Q-D)+mB[1020+g[w-2*N]-g[w+N]],W=Tx[112+(V+4>>3)];g[w-N]=Us[255+D+Tx[112+(V+3>>3)]],g[w+0]=Us[255+Q-W]}function vx(g,w,N,D){var Q=g[w+0],V=g[w+N];return vo[255+g[w-2*N]-g[w-N]]>D||vo[255+V-Q]>D}function xx(g,w,N,D){return 4*vo[255+g[w-N]-g[w+0]]+vo[255+g[w-2*N]-g[w+N]]<=D}function yx(g,w,N,D,Q){var V=g[w-3*N],W=g[w-2*N],G=g[w-N],X=g[w+0],ie=g[w+N],ge=g[w+2*N],ke=g[w+3*N];return 4*vo[255+G-X]+vo[255+W-ie]>D?0:vo[255+g[w-4*N]-V]<=Q&&vo[255+V-W]<=Q&&vo[255+W-G]<=Q&&vo[255+ke-ge]<=Q&&vo[255+ge-ie]<=Q&&vo[255+ie-X]<=Q}function wx(g,w,N,D){var Q=2*D+1;for(D=0;16>D;++D)xx(g,w+D,N,Q)&&af(g,w+D,N)}function Rl(g,w,N,D){var Q=2*D+1;for(D=0;16>D;++D)xx(g,w+D*N,1,Q)&&af(g,w+D*N,1)}function bc(g,w,N,D){var Q;for(Q=3;0<Q;--Q)wx(g,w+=4*N,N,D)}function uB(g,w,N,D){var Q;for(Q=3;0<Q;--Q)Rl(g,w+=4,N,D)}function CA(g,w,N,D,Q,V,W,G){for(V=2*V+1;0<Q--;){if(yx(g,w,N,V,W))if(vx(g,w,N,G))af(g,w,N);else{var X=g,ie=w,ge=N,ke=X[ie-2*ge],Pe=X[ie-ge],Ce=X[ie+0],Je=X[ie+ge],Le=X[ie+2*ge],ve=27*(qe=mB[1020+3*(Ce-Pe)+mB[1020+ke-Je]])+63>>7,we=18*qe+63>>7,qe=9*qe+63>>7;X[ie-3*ge]=Us[255+X[ie-3*ge]+qe],X[ie-2*ge]=Us[255+ke+we],X[ie-ge]=Us[255+Pe+ve],X[ie+0]=Us[255+Ce-ve],X[ie+ge]=Us[255+Je-we],X[ie+2*ge]=Us[255+Le-qe]}w+=D}}function Xo(g,w,N,D,Q,V,W,G){for(V=2*V+1;0<Q--;){if(yx(g,w,N,V,W))if(vx(g,w,N,G))af(g,w,N);else{var X=g,ie=w,ge=N,ke=X[ie-ge],Pe=X[ie+0],Ce=X[ie+ge],Je=Tx[112+((Le=3*(Pe-ke))+4>>3)],Le=Tx[112+(Le+3>>3)],ve=Je+1>>1;X[ie-2*ge]=Us[255+X[ie-2*ge]+ve],X[ie-ge]=Us[255+ke+Le],X[ie+0]=Us[255+Pe-Je],X[ie+ge]=Us[255+Ce-ve]}w+=D}}function em(g,w,N,D,Q,V){CA(g,w,N,1,16,D,Q,V)}function yd(g,w,N,D,Q,V){CA(g,w,1,N,16,D,Q,V)}function dB(g,w,N,D,Q,V){var W;for(W=3;0<W;--W)Xo(g,w+=4*N,N,1,16,D,Q,V)}function sf(g,w,N,D,Q,V){var W;for(W=3;0<W;--W)Xo(g,w+=4,1,N,16,D,Q,V)}function hB(g,w,N,D,Q,V,W,G){CA(g,w,Q,1,8,V,W,G),CA(N,D,Q,1,8,V,W,G)}function tm(g,w,N,D,Q,V,W,G){CA(g,w,1,Q,8,V,W,G),CA(N,D,1,Q,8,V,W,G)}function rm(g,w,N,D,Q,V,W,G){Xo(g,w+4*Q,Q,1,8,V,W,G),Xo(N,D+4*Q,Q,1,8,V,W,G)}function bx(g,w,N,D,Q,V,W,G){Xo(g,w+4,1,Q,8,V,W,G),Xo(N,D+4,1,Q,8,V,W,G)}function of(){this.ba=new Ma,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new Xr,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function nm(){this.data=[],this.offset=this.kd=this.ha=this.w=0,this.na=[],this.xa=this.gb=this.Ja=this.Sa=this.P=0}function im(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function Cx(){this.ua=0,this.Wa=new oe,this.vb=new oe,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new K,this.yc=new P}function fB(){this.xb=this.a=0,this.l=new ho,this.ca=new Ma,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new F,this.Pb=0,this.wd=new F,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new Cx,this.ab=0,this.gc=s(4,im),this.Oc=0}function lf(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new ho,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function wd(g,w,N,D,Q,V,W){for(g=g==null?0:g[w+0],w=0;w<W;++w)Q[V+w]=g+N[D+w]&255,g=Q[V+w]}function am(g,w,N,D,Q,V,W){var G;if(g==null)wd(null,null,N,D,Q,V,W);else for(G=0;G<W;++G)Q[V+G]=g[w+G]+N[D+G]&255}function BA(g,w,N,D,Q,V,W){if(g==null)wd(null,null,N,D,Q,V,W);else{var G,X=g[w+0],ie=X,ge=X;for(G=0;G<W;++G)ie=ge+(X=g[w+G])-ie,ge=N[D+G]+(-256&ie?0>ie?0:255:ie)&255,ie=X,Q[V+G]=ge}}function sm(g,w,N,D){var Q=w.width,V=w.o;if(e(g!=null&&w!=null),0>N||0>=D||N+D>V)return null;if(!g.Cc){if(g.ga==null){var W;if(g.ga=new lf,(W=g.ga==null)||(W=w.width*w.o,e(g.Gb.length==0),g.Gb=a(W),g.Uc=0,g.Gb==null?W=0:(g.mb=g.Gb,g.nb=g.Uc,g.rc=null,W=1),W=!W),!W){W=g.ga;var G=g.Fa,X=g.P,ie=g.qc,ge=g.mb,ke=g.nb,Pe=X+1,Ce=ie-1,Je=W.l;if(e(G!=null&&ge!=null&&w!=null),TA[0]=null,TA[1]=wd,TA[2]=am,TA[3]=BA,W.ca=ge,W.tb=ke,W.c=w.width,W.i=w.height,e(0<W.c&&0<W.i),1>=ie)w=0;else if(W.$a=G[X+0]>>0&3,W.Z=G[X+0]>>2&3,W.Lc=G[X+0]>>4&3,X=G[X+0]>>6&3,0>W.$a||1<W.$a||4<=W.Z||1<W.Lc||X)w=0;else if(Je.put=As,Je.ac=ti,Je.bc=us,Je.ma=W,Je.width=w.width,Je.height=w.height,Je.Da=w.Da,Je.v=w.v,Je.va=w.va,Je.j=w.j,Je.o=w.o,W.$a)e:{e(W.$a==1),w=Be();t:for(;;){if(w==null){w=0;break e}if(e(W!=null),W.mc=w,w.c=W.c,w.i=W.i,w.l=W.l,w.l.ma=W,w.l.width=W.c,w.l.height=W.i,w.a=0,te(w.m,G,Pe,Ce),!xe(W.c,W.i,1,w,null)||(w.ab==1&&w.gc[0].hc==3&&ee(w.s)?(W.ic=1,G=w.c*w.i,w.Ta=null,w.Ua=0,w.V=a(G),w.Ba=0,w.V==null?(w.a=1,w=0):w=1):(W.ic=0,w=_e(w,W.c)),!w))break t;w=1;break e}W.mc=null,w=0}else w=Ce>=W.c*W.i;W=!w}if(W)return null;g.ga.Lc!=1?g.Ga=0:D=V-N}e(g.ga!=null),e(N+D<=V);e:{if(w=(G=g.ga).c,V=G.l.o,G.$a==0){if(Pe=g.rc,Ce=g.Vc,Je=g.Fa,X=g.P+1+N*w,ie=g.mb,ge=g.nb+N*w,e(X<=g.P+g.qc),G.Z!=0)for(e(TA[G.Z]!=null),W=0;W<D;++W)TA[G.Z](Pe,Ce,Je,X,ie,ge,w),Pe=ie,Ce=ge,ge+=w,X+=w;else for(W=0;W<D;++W)n(ie,ge,Je,X,w),Pe=ie,Ce=ge,ge+=w,X+=w;g.rc=Pe,g.Vc=Ce}else{if(e(G.mc!=null),w=N+D,e((W=G.mc)!=null),e(w<=W.i),W.C>=w)w=1;else if(G.ic||Te(),G.ic){G=W.V,Pe=W.Ba,Ce=W.c;var Le=W.i,ve=(Je=1,X=W.$/Ce,ie=W.$%Ce,ge=W.m,ke=W.s,W.$),we=Ce*Le,qe=Ce*w,tt=ke.wc,Ge=ve<qe?Bn(ke,ie,X):null;e(ve<=we),e(w<=Le),e(ee(ke));t:for(;;){for(;!ge.h&&ve<qe;){if(ie&tt||(Ge=Bn(ke,ie,X)),e(Ge!=null),J(ge),256>(Le=Si(Ge.G[0],Ge.H[0],ge)))G[Pe+ve]=Le,++ve,++ie>=Ce&&(ie=0,++X<=w&&!(X%16)&&q(W,X));else{if(!(280>Le)){Je=0;break t}Le=Qa(Le-256,ge);var Nt,yt=Si(Ge.G[4],Ge.H[4],ge);if(J(ge),!(ve>=(yt=vr(Ce,yt=Qa(yt,ge)))&&we-ve>=Le)){Je=0;break t}for(Nt=0;Nt<Le;++Nt)G[Pe+ve+Nt]=G[Pe+ve+Nt-yt];for(ve+=Le,ie+=Le;ie>=Ce;)ie-=Ce,++X<=w&&!(X%16)&&q(W,X);ve<qe&&ie&tt&&(Ge=Bn(ke,ie,X))}e(ge.h==R(ge))}q(W,X>w?w:X);break t}!Je||ge.h&&ve<we?(Je=0,W.a=ge.h?5:3):W.$=ve,w=Je}else w=Y(W,W.V,W.Ba,W.c,W.i,w,Fe);if(!w){D=0;break e}}N+D>=V&&(g.Cc=1),D=1}if(!D)return null;if(g.Cc&&((D=g.ga)!=null&&(D.mc=null),g.ga=null,0<g.Ga))return alert("todo:WebPDequantizeLevels"),null}return g.nb+N*Q}function C(g,w,N,D,Q,V){for(;0<Q--;){var W,G=g,X=w+(N?1:0),ie=g,ge=w+(N?0:3);for(W=0;W<D;++W){var ke=ie[ge+4*W];ke!=255&&(ke*=32897,G[X+4*W+0]=G[X+4*W+0]*ke>>23,G[X+4*W+1]=G[X+4*W+1]*ke>>23,G[X+4*W+2]=G[X+4*W+2]*ke>>23)}w+=V}}function H(g,w,N,D,Q){for(;0<D--;){var V;for(V=0;V<N;++V){var W=g[w+2*V+0],G=15&(ie=g[w+2*V+1]),X=4369*G,ie=(240&ie|ie>>4)*X>>16;g[w+2*V+0]=(240&W|W>>4)*X>>16&240|(15&W|W<<4)*X>>16>>4&15,g[w+2*V+1]=240&ie|G}w+=Q}}function Ae(g,w,N,D,Q,V,W,G){var X,ie,ge=255;for(ie=0;ie<Q;++ie){for(X=0;X<D;++X){var ke=g[w+X];V[W+4*X]=ke,ge&=ke}w+=N,W+=G}return ge!=255}function me(g,w,N,D,Q){var V;for(V=0;V<Q;++V)N[D+V]=g[w+V]>>8}function Te(){go=C,vn=H,xn=Ae,ii=me}function He(g,w,N){_[g]=function(D,Q,V,W,G,X,ie,ge,ke,Pe,Ce,Je,Le,ve,we,qe,tt){var Ge,Nt=tt-1>>1,yt=G[X+0]|ie[ge+0]<<16,Qt=ke[Pe+0]|Ce[Je+0]<<16;e(D!=null);var bt=3*yt+Qt+131074>>2;for(w(D[Q+0],255&bt,bt>>16,Le,ve),V!=null&&(bt=3*Qt+yt+131074>>2,w(V[W+0],255&bt,bt>>16,we,qe)),Ge=1;Ge<=Nt;++Ge){var Mr=G[X+Ge]|ie[ge+Ge]<<16,Yr=ke[Pe+Ge]|Ce[Je+Ge]<<16,Ir=yt+Mr+Qt+Yr+524296,wr=Ir+2*(Mr+Qt)>>3;bt=wr+yt>>1,yt=(Ir=Ir+2*(yt+Yr)>>3)+Mr>>1,w(D[Q+2*Ge-1],255&bt,bt>>16,Le,ve+(2*Ge-1)*N),w(D[Q+2*Ge-0],255&yt,yt>>16,Le,ve+(2*Ge-0)*N),V!=null&&(bt=Ir+Qt>>1,yt=wr+Yr>>1,w(V[W+2*Ge-1],255&bt,bt>>16,we,qe+(2*Ge-1)*N),w(V[W+2*Ge+0],255&yt,yt>>16,we,qe+(2*Ge+0)*N)),yt=Mr,Qt=Yr}1&tt||(bt=3*yt+Qt+131074>>2,w(D[Q+tt-1],255&bt,bt>>16,Le,ve+(tt-1)*N),V!=null&&(bt=3*Qt+yt+131074>>2,w(V[W+tt-1],255&bt,bt>>16,we,qe+(tt-1)*N)))}}function it(){xo[jx]=pq,xo[Ix]=hj,xo[lj]=mq,xo[kx]=fj,xo[Px]=pj,xo[gB]=mj,xo[cj]=gq,xo[vB]=hj,xo[xB]=fj,xo[Dx]=pj,xo[yB]=mj}function Et(g){return g&~vq?0>g?0:255:g>>gj}function Lt(g,w){return Et((19077*g>>8)+(26149*w>>8)-14234)}function or(g,w,N){return Et((19077*g>>8)-(6419*w>>8)-(13320*N>>8)+8708)}function ir(g,w){return Et((19077*g>>8)+(33050*w>>8)-17685)}function jr(g,w,N,D,Q){D[Q+0]=Lt(g,N),D[Q+1]=or(g,w,N),D[Q+2]=ir(g,w)}function Ln(g,w,N,D,Q){D[Q+0]=ir(g,w),D[Q+1]=or(g,w,N),D[Q+2]=Lt(g,N)}function qn(g,w,N,D,Q){var V=or(g,w,N);w=V<<3&224|ir(g,w)>>3,D[Q+0]=248&Lt(g,N)|V>>5,D[Q+1]=w}function hi(g,w,N,D,Q){var V=240&ir(g,w)|15;D[Q+0]=240&Lt(g,N)|or(g,w,N)>>4,D[Q+1]=V}function Ea(g,w,N,D,Q){D[Q+0]=255,jr(g,w,N,D,Q+1)}function Hi(g,w,N,D,Q){Ln(g,w,N,D,Q),D[Q+3]=255}function Yo(g,w,N,D,Q){jr(g,w,N,D,Q),D[Q+3]=255}function Rs(g,w){return 0>g?0:g>w?w:g}function Ul(g,w,N){_[g]=function(D,Q,V,W,G,X,ie,ge,ke){for(var Pe=ge+(-2&ke)*N;ge!=Pe;)w(D[Q+0],V[W+0],G[X+0],ie,ge),w(D[Q+1],V[W+0],G[X+0],ie,ge+N),Q+=2,++W,++X,ge+=2*N;1&ke&&w(D[Q+0],V[W+0],G[X+0],ie,ge)}}function Bx(g,w,N){return N==0?g==0?w==0?6:5:w==0?4:0:N}function om(g,w,N,D,Q){switch(g>>>30){case 3:Ec(w,N,D,Q,0);break;case 2:ni(w,N,D,Q);break;case 1:Va(w,N,D,Q)}}function lm(g,w){var N,D,Q=w.M,V=w.Nb,W=g.oc,G=g.pc+40,X=g.oc,ie=g.pc+584,ge=g.oc,ke=g.pc+600;for(N=0;16>N;++N)W[G+32*N-1]=129;for(N=0;8>N;++N)X[ie+32*N-1]=129,ge[ke+32*N-1]=129;for(0<Q?W[G-1-32]=X[ie-1-32]=ge[ke-1-32]=129:(i(W,G-32-1,127,21),i(X,ie-32-1,127,9),i(ge,ke-32-1,127,9)),D=0;D<g.za;++D){var Pe=w.ya[w.aa+D];if(0<D){for(N=-1;16>N;++N)n(W,G+32*N-4,W,G+32*N+12,4);for(N=-1;8>N;++N)n(X,ie+32*N-4,X,ie+32*N+4,4),n(ge,ke+32*N-4,ge,ke+32*N+4,4)}var Ce=g.Gd,Je=g.Hd+D,Le=Pe.ad,ve=Pe.Hc;if(0<Q&&(n(W,G-32,Ce[Je].y,0,16),n(X,ie-32,Ce[Je].f,0,8),n(ge,ke-32,Ce[Je].ea,0,8)),Pe.Za){var we=W,qe=G-32+16;for(0<Q&&(D>=g.za-1?i(we,qe,Ce[Je].y[15],4):n(we,qe,Ce[Je+1].y,0,4)),N=0;4>N;N++)we[qe+128+N]=we[qe+256+N]=we[qe+384+N]=we[qe+0+N];for(N=0;16>N;++N,ve<<=2)we=W,qe=G+xj[N],Zo[Pe.Ob[N]](we,qe),om(ve,Le,16*+N,we,qe)}else if(we=Bx(D,Q,Pe.Ob[0]),FA[we](W,G),ve!=0)for(N=0;16>N;++N,ve<<=2)om(ve,Le,16*+N,W,G+xj[N]);for(N=Pe.Gc,we=Bx(D,Q,Pe.Dd),Sc[we](X,ie),Sc[we](ge,ke),ve=Le,we=X,qe=ie,255&(Pe=N>>0)&&(170&Pe?hm(ve,256,we,qe):po(ve,256,we,qe)),Pe=ge,ve=ke,255&(N>>=8)&&(170&N?hm(Le,320,Pe,ve):po(Le,320,Pe,ve)),Q<g.Ub-1&&(n(Ce[Je].y,0,W,G+480,16),n(Ce[Je].f,0,X,ie+224,8),n(Ce[Je].ea,0,ge,ke+224,8)),N=8*V*g.B,Ce=g.sa,Je=g.ta+16*D+16*V*g.R,Le=g.qa,Pe=g.ra+8*D+N,ve=g.Ha,we=g.Ia+8*D+N,N=0;16>N;++N)n(Ce,Je+N*g.R,W,G+32*N,16);for(N=0;8>N;++N)n(Le,Pe+N*g.B,X,ie+32*N,8),n(ve,we+N*g.B,ge,ke+32*N,8)}}function cf(g,w,N,D,Q,V,W,G,X){var ie=[0],ge=[0],ke=0,Pe=X!=null?X.kd:0,Ce=X??new nm;if(g==null||12>N)return 7;Ce.data=g,Ce.w=w,Ce.ha=N,w=[w],N=[N],Ce.gb=[Ce.gb];e:{var Je=w,Le=N,ve=Ce.gb;if(e(g!=null),e(Le!=null),e(ve!=null),ve[0]=0,12<=Le[0]&&!r(g,Je[0],"RIFF")){if(r(g,Je[0]+8,"WEBP")){ve=3;break e}var we=Xe(g,Je[0]+4);if(12>we||4294967286<we){ve=3;break e}if(Pe&&we>Le[0]-8){ve=7;break e}ve[0]=we,Je[0]+=12,Le[0]-=12}ve=0}if(ve!=0)return ve;for(we=0<Ce.gb[0],N=N[0];;){e:{var qe=g;Le=w,ve=N;var tt=ie,Ge=ge,Nt=Je=[0];if((bt=ke=[ke])[0]=0,8>ve[0])ve=7;else{if(!r(qe,Le[0],"VP8X")){if(Xe(qe,Le[0]+4)!=10){ve=3;break e}if(18>ve[0]){ve=7;break e}var yt=Xe(qe,Le[0]+8),Qt=1+Me(qe,Le[0]+12);if(2147483648<=Qt*(qe=1+Me(qe,Le[0]+15))){ve=3;break e}Nt!=null&&(Nt[0]=yt),tt!=null&&(tt[0]=Qt),Ge!=null&&(Ge[0]=qe),Le[0]+=18,ve[0]-=18,bt[0]=1}ve=0}}if(ke=ke[0],Je=Je[0],ve!=0)return ve;if(Le=!!(2&Je),!we&&ke)return 3;if(V!=null&&(V[0]=!!(16&Je)),W!=null&&(W[0]=Le),G!=null&&(G[0]=0),W=ie[0],Je=ge[0],ke&&Le&&X==null){ve=0;break}if(4>N){ve=7;break}if(we&&ke||!we&&!ke&&!r(g,w[0],"ALPH")){N=[N],Ce.na=[Ce.na],Ce.P=[Ce.P],Ce.Sa=[Ce.Sa];e:{yt=g,ve=w,we=N;var bt=Ce.gb;tt=Ce.na,Ge=Ce.P,Nt=Ce.Sa,Qt=22,e(yt!=null),e(we!=null),qe=ve[0];var Mr=we[0];for(e(tt!=null),e(Nt!=null),tt[0]=null,Ge[0]=null,Nt[0]=0;;){if(ve[0]=qe,we[0]=Mr,8>Mr){ve=7;break e}var Yr=Xe(yt,qe+4);if(4294967286<Yr){ve=3;break e}var Ir=8+Yr+1&-2;if(Qt+=Ir,0<bt&&Qt>bt){ve=3;break e}if(!r(yt,qe,"VP8 ")||!r(yt,qe,"VP8L")){ve=0;break e}if(Mr[0]<Ir){ve=7;break e}r(yt,qe,"ALPH")||(tt[0]=yt,Ge[0]=qe+8,Nt[0]=Yr),qe+=Ir,Mr-=Ir}}if(N=N[0],Ce.na=Ce.na[0],Ce.P=Ce.P[0],Ce.Sa=Ce.Sa[0],ve!=0)break}N=[N],Ce.Ja=[Ce.Ja],Ce.xa=[Ce.xa];e:if(bt=g,ve=w,we=N,tt=Ce.gb[0],Ge=Ce.Ja,Nt=Ce.xa,yt=ve[0],qe=!r(bt,yt,"VP8 "),Qt=!r(bt,yt,"VP8L"),e(bt!=null),e(we!=null),e(Ge!=null),e(Nt!=null),8>we[0])ve=7;else{if(qe||Qt){if(bt=Xe(bt,yt+4),12<=tt&&bt>tt-12){ve=3;break e}if(Pe&&bt>we[0]-8){ve=7;break e}Ge[0]=bt,ve[0]+=8,we[0]-=8,Nt[0]=Qt}else Nt[0]=5<=we[0]&&bt[yt+0]==47&&!(bt[yt+4]>>5),Ge[0]=we[0];ve=0}if(N=N[0],Ce.Ja=Ce.Ja[0],Ce.xa=Ce.xa[0],w=w[0],ve!=0)break;if(4294967286<Ce.Ja)return 3;if(G==null||Le||(G[0]=Ce.xa?2:1),W=[W],Je=[Je],Ce.xa){if(5>N){ve=7;break}G=W,Pe=Je,Le=V,g==null||5>N?g=0:5<=N&&g[w+0]==47&&!(g[w+4]>>5)?(we=[0],bt=[0],tt=[0],te(Ge=new F,g,w,N),Mt(Ge,we,bt,tt)?(G!=null&&(G[0]=we[0]),Pe!=null&&(Pe[0]=bt[0]),Le!=null&&(Le[0]=tt[0]),g=1):g=0):g=0}else{if(10>N){ve=7;break}G=Je,g==null||10>N||!lx(g,w+3,N-3)?g=0:(Pe=g[w+0]|g[w+1]<<8|g[w+2]<<16,Le=16383&(g[w+7]<<8|g[w+6]),g=16383&(g[w+9]<<8|g[w+8]),1&Pe||3<(Pe>>1&7)||!(Pe>>4&1)||Pe>>5>=Ce.Ja||!Le||!g?g=0:(W&&(W[0]=Le),G&&(G[0]=g),g=1))}if(!g||(W=W[0],Je=Je[0],ke&&(ie[0]!=W||ge[0]!=Je)))return 3;X!=null&&(X[0]=Ce,X.offset=w-X.w,e(4294967286>w-X.w),e(X.offset==X.ha-N));break}return ve==0||ve==7&&ke&&X==null?(V!=null&&(V[0]|=Ce.na!=null&&0<Ce.na.length),D!=null&&(D[0]=W),Q!=null&&(Q[0]=Je),0):ve}function cm(g,w,N){var D=w.width,Q=w.height,V=0,W=0,G=D,X=Q;if(w.Da=g!=null&&0<g.Da,w.Da&&(G=g.cd,X=g.bd,V=g.v,W=g.j,11>N||(V&=-2,W&=-2),0>V||0>W||0>=G||0>=X||V+G>D||W+X>Q))return 0;if(w.v=V,w.j=W,w.va=V+G,w.o=W+X,w.U=G,w.T=X,w.da=g!=null&&0<g.da,w.da){if(!Ke(G,X,N=[g.ib],V=[g.hb]))return 0;w.ib=N[0],w.hb=V[0]}return w.ob=g!=null&&g.ob,w.Kb=g==null||!g.Sd,w.da&&(w.ob=w.ib<3*D/4&&w.hb<3*Q/4,w.Kb=0),1}function Am(g){if(g==null)return 2;if(11>g.S){var w=g.f.RGBA;w.fb+=(g.height-1)*w.A,w.A=-w.A}else w=g.f.kb,g=g.height,w.O+=(g-1)*w.fa,w.fa=-w.fa,w.N+=(g-1>>1)*w.Ab,w.Ab=-w.Ab,w.W+=(g-1>>1)*w.Db,w.Db=-w.Db,w.F!=null&&(w.J+=(g-1)*w.lb,w.lb=-w.lb);return 0}function Af(g,w,N,D){if(D==null||0>=g||0>=w)return 2;if(N!=null){if(N.Da){var Q=N.cd,V=N.bd,W=-2&N.v,G=-2&N.j;if(0>W||0>G||0>=Q||0>=V||W+Q>g||G+V>w)return 2;g=Q,w=V}if(N.da){if(!Ke(g,w,Q=[N.ib],V=[N.hb]))return 2;g=Q[0],w=V[0]}}D.width=g,D.height=w;e:{var X=D.width,ie=D.height;if(g=D.S,0>=X||0>=ie||!(g>=jx&&13>g))g=2;else{if(0>=D.Rd&&D.sd==null){W=V=Q=w=0;var ge=(G=X*yj[g])*ie;if(11>g||(V=(ie+1)/2*(w=(X+1)/2),g==12&&(W=(Q=X)*ie)),(ie=a(ge+2*V+W))==null){g=1;break e}D.sd=ie,11>g?((X=D.f.RGBA).eb=ie,X.fb=0,X.A=G,X.size=ge):((X=D.f.kb).y=ie,X.O=0,X.fa=G,X.Fd=ge,X.f=ie,X.N=0+ge,X.Ab=w,X.Cd=V,X.ea=ie,X.W=0+ge+V,X.Db=w,X.Ed=V,g==12&&(X.F=ie,X.J=0+ge+2*V),X.Tc=W,X.lb=Q)}if(w=1,Q=D.S,V=D.width,W=D.height,Q>=jx&&13>Q)if(11>Q)g=D.f.RGBA,w&=(G=Math.abs(g.A))*(W-1)+V<=g.size,w&=G>=V*yj[Q],w&=g.eb!=null;else{g=D.f.kb,G=(V+1)/2,ge=(W+1)/2,X=Math.abs(g.fa),ie=Math.abs(g.Ab);var ke=Math.abs(g.Db),Pe=Math.abs(g.lb),Ce=Pe*(W-1)+V;w&=X*(W-1)+V<=g.Fd,w&=ie*(ge-1)+G<=g.Cd,w=(w&=ke*(ge-1)+G<=g.Ed)&X>=V&ie>=G&ke>=G,w&=g.y!=null,w&=g.f!=null,w&=g.ea!=null,Q==12&&(w&=Pe>=V,w&=Ce<=g.Tc,w&=g.F!=null)}else w=0;g=w?0:2}}return g!=0||N!=null&&N.fd&&(g=Am(D)),g}var na=64,uf=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],df=24,hf=32,um=8,hs=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];We("Predictor0","PredictorAdd0"),_.Predictor0=function(){return 4278190080},_.Predictor1=function(g){return g},_.Predictor2=function(g,w,N){return w[N+0]},_.Predictor3=function(g,w,N){return w[N+1]},_.Predictor4=function(g,w,N){return w[N-1]},_.Predictor5=function(g,w,N){return rt(rt(g,w[N+1]),w[N+0])},_.Predictor6=function(g,w,N){return rt(g,w[N-1])},_.Predictor7=function(g,w,N){return rt(g,w[N+0])},_.Predictor8=function(g,w,N){return rt(w[N-1],w[N+0])},_.Predictor9=function(g,w,N){return rt(w[N+0],w[N+1])},_.Predictor10=function(g,w,N){return rt(rt(g,w[N-1]),rt(w[N+0],w[N+1]))},_.Predictor11=function(g,w,N){var D=w[N+0];return 0>=Ve(D>>24&255,g>>24&255,(w=w[N-1])>>24&255)+Ve(D>>16&255,g>>16&255,w>>16&255)+Ve(D>>8&255,g>>8&255,w>>8&255)+Ve(255&D,255&g,255&w)?D:g},_.Predictor12=function(g,w,N){var D=w[N+0];return($e((g>>24&255)+(D>>24&255)-((w=w[N-1])>>24&255))<<24|$e((g>>16&255)+(D>>16&255)-(w>>16&255))<<16|$e((g>>8&255)+(D>>8&255)-(w>>8&255))<<8|$e((255&g)+(255&D)-(255&w)))>>>0},_.Predictor13=function(g,w,N){var D=w[N-1];return(Se((g=rt(g,w[N+0]))>>24&255,D>>24&255)<<24|Se(g>>16&255,D>>16&255)<<16|Se(g>>8&255,D>>8&255)<<8|Se(g>>0&255,D>>0&255))>>>0};var pB=_.PredictorAdd0;_.PredictorAdd1=vt,We("Predictor2","PredictorAdd2"),We("Predictor3","PredictorAdd3"),We("Predictor4","PredictorAdd4"),We("Predictor5","PredictorAdd5"),We("Predictor6","PredictorAdd6"),We("Predictor7","PredictorAdd7"),We("Predictor8","PredictorAdd8"),We("Predictor9","PredictorAdd9"),We("Predictor10","PredictorAdd10"),We("Predictor11","PredictorAdd11"),We("Predictor12","PredictorAdd12"),We("Predictor13","PredictorAdd13");var dm=_.PredictorAdd2;Oe("ColorIndexInverseTransform","MapARGB","32b",function(g){return g>>8&255},function(g){return g}),Oe("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(g){return g},function(g){return g>>8&255});var Ex,fo=_.ColorIndexInverseTransform,ff=_.MapARGB,Nx=_.VP8LColorIndexInverseTransformAlpha,Sx=_.MapAlpha,EA=_.VP8LPredictorsAdd=[];EA.length=16,(_.VP8LPredictors=[]).length=16,(_.VP8LPredictorsAdd_C=[]).length=16,(_.VP8LPredictors_C=[]).length=16;var bd,fs,za,NA,Cc,Bc,pf,Ec,ni,hm,Va,po,mf,_x,fm,Cd,Bd,SA,Ed,gf,Nd,_A,pm,mo,go,vn,xn,ii,_i=a(511),Nc=a(2041),mm=a(225),vf=a(
vendor: 4,687 bytes, line 3755
3755767),Fx=0,mB=Nc,Tx=mm,Us=vf,vo=_i,jx=0,Ix=1,lj=2,kx=3,Px=4,gB=5,cj=6,vB=7,xB=8,Dx=9,yB=10,tq=[2,3,7],rq=[3,3,11],Aj=[280,256,256,256,40],nq=[0,1,1,1,0],iq=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],aq=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],sq=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],oq=8,wB=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],bB=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],gm=null,lq=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],cq=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],uj=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],Aq=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,25
37555,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],uq=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,
37551,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],dq=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,25
vendor: 4,187 bytes, line 3755
37555,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],hq=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],FA=[],Zo=[],Sc=[],fq=1,dj=2,TA=[],xo=[];He("UpsampleRgbLinePair",jr,3),He("UpsampleBgrLinePair",Ln,3),He("UpsampleRgbaLinePair",Yo,4),He("UpsampleBgraLinePair",Hi,4),He("UpsampleArgbLinePair",Ea,4),He("UpsampleRgba4444LinePair",hi,2),He("UpsampleRgb565LinePair",qn,2);var pq=_.UpsampleRgbLinePair,mq=_.UpsampleBgrLinePair,hj=_.UpsampleRgbaLinePair,fj=_.UpsampleBgraLinePair,pj=_.UpsampleArgbLinePair,mj=_.UpsampleRgba4444LinePair,gq=_.UpsampleRgb565LinePair,Ox=16,Rx=1<<Ox-1,vm=-227,CB=482,gj=6,vq=(256<<gj)-1,vj=0,xq=a(256),yq=a(256),wq=a(256),bq=a(256),Cq=a(CB-vm),Bq=a(CB-vm);Ul("YuvToRgbRow",jr,3),Ul("YuvToBgrRow",Ln,3),Ul("YuvToRgbaRow",Yo,4),Ul("YuvToBgraRow",Hi,4),Ul("YuvToArgbRow",Ea,4),Ul("YuvToRgba4444Row",hi,2),Ul("YuvToRgb565Row",qn,2);var xj=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],Ux=[0,2,8],Eq=[8,7,6,4,4,2,2,2,1,1,1,1],Nq=1;this.WebPDecodeRGBA=function(g,w,N,D,Q){var V=Ix,W=new of,G=new Ma;W.ba=G,G.S=V,G.width=[G.width],G.height=[G.height];var X=G.width,ie=G.height,ge=new Ps;if(ge==null||g==null)var ke=2;else e(ge!=null),ke=cf(g,w,N,ge.width,ge.height,ge.Pd,ge.Qd,ge.format,null);if(ke!=0?X=0:(X!=null&&(X[0]=ge.width[0]),ie!=null&&(ie[0]=ge.height[0]),X=1),X){G.width=G.width[0],G.height=G.height[0],D!=null&&(D[0]=G.width),Q!=null&&(Q[0]=G.height);e:{if(D=new ho,(Q=new nm).data=g,Q.w=w,Q.ha=N,Q.kd=1,w=[0],e(Q!=null),((g=cf(Q.data,Q.w,Q.ha,null,null,null,w,null,Q))==0||g==7)&&w[0]&&(g=4),(w=g)==0){if(e(W!=null),D.data=Q.data,D.w=Q.w+Q.offset,D.ha=Q.ha-Q.offset,D.put=As,D.ac=ti,D.bc=us,D.ma=W,Q.xa){if((g=Be())==null){W=1;break e}if(function(Pe,Ce){var Je=[0],Le=[0],ve=[0];t:for(;;){if(Pe==null)return 0;if(Ce==null)return Pe.a=2,0;if(Pe.l=Ce,Pe.a=0,te(Pe.m,Ce.data,Ce.w,Ce.ha),!Mt(Pe.m,Je,Le,ve)){Pe.a=3;break t}if(Pe.xb=dj,Ce.width=Je[0],Ce.height=Le[0],!xe(Je[0],Le[0],1,Pe,null))break t;return 1}return e(Pe.a!=0),0}(g,D)){if(D=(w=Af(D.width,D.height,W.Oa,W.ba))==0){t:{D=g;r:for(;;){if(D==null){D=0;break t}if(e(D.s.yc!=null),e(D.s.Ya!=null),e(0<D.s.Wb),e((N=D.l)!=null),e((Q=N.ma)!=null),D.xb!=0){if(D.ca=Q.ba,D.tb=Q.tb,e(D.ca!=null),!cm(Q.Oa,N,kx)){D.a=2;break r}if(!_e(D,N.width)||N.da)break r;if((N.da||dr(D.ca.S))&&Te(),11>D.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),D.ca.f.kb.F!=null&&Te()),D.Pb&&0<D.s.ua&&D.s.vb.X==null&&!ot(D.s.vb,D.s.Wa.Xa)){D.a=1;break r}D.xb=0}if(!Y(D,D.V,D.Ba,D.c,D.i,N.o,se))break r;Q.Dc=D.Ma,D=1;break t}e(D.a!=0),D=0}D=!D}D&&(w=g.a)}else w=g.a}else{if((g=new Os)==null){W=1;break e}if(g.Fa=Q.na,g.P=Q.P,g.qc=Q.Sa,cx(g,D)){if((w=Af(D.width,D.height,W.Oa,W.ba))==0){if(g.Aa=0,N=W.Oa,e((Q=g)!=null),N!=null){if(0<(X=0>(X=N.Md)?0:100<X?255:255*X/100)){for(ie=ge=0;4>ie;++ie)12>(ke=Q.pb[ie]).lc&&(ke.ia=X*Eq[0>ke.lc?0:ke.lc]>>3),ge|=ke.ia;ge&&(alert("todo:VP8InitRandom"),Q.ia=1)}Q.Ga=N.Id,100<Q.Ga?Q.Ga=100:0>Q.Ga&&(Q.Ga=0)}Y5(g,D)||(w=g.a)}}else w=g.a}w==0&&W.Oa!=null&&W.Oa.fd&&(w=Am(W.ba))}W=w}V=W!=0?null:11>V?G.f.RGBA.eb:G.f.kb.y}else V=null;return V};var yj=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function A(_,O){for(var j="",T=0;T<4;T++)j+=String.fromCharCode(_[O++]);return j}function u(_,O){return(_[O+0]<<0|_[O+1]<<8|_[O+2]<<16)>>>0}function d(_,O){return(_[O+0]<<0|_[O+1]<<8|_[O+2]<<16|_[O+3]<<24)>>>0}new c;var f=[0],h=[0],m=[],p=new c,x=t,v=function(_,O){var j={},T=0,P=!1,L=0,K=0;if(j.frames=[],!function(U,R,M,J){for(var ue=0;ue<J;
vendor: 10,476 bytes, line 3755
3755ue++)if(U[R+ue]!=M.charCodeAt(ue))return!0;return!1}(_,O,"RIFF",4)){var le,ne;for(d(_,O+=4),O+=8;O<_.length;){var fe=A(_,O),te=d(_,O+=4);O+=4;var he=te+(1&te);switch(fe){case"VP8 ":case"VP8L":j.frames[T]===void 0&&(j.frames[T]={}),(F=j.frames[T]).src_off=P?K:O-8,F.src_size=L+te+8,T++,P&&(P=!1,L=0,K=0);break;case"VP8X":(F=j.header={}).feature_flags=_[O];var ce=O+4;F.canvas_width=1+u(_,ce),ce+=3,F.canvas_height=1+u(_,ce),ce+=3;break;case"ALPH":P=!0,L=he+8,K=O-8;break;case"ANIM":(F=j.header).bgcolor=d(_,O),ce=O+4,F.loop_count=(le=_)[(ne=ce)+0]<<0|le[ne+1]<<8,ce+=2;break;case"ANMF":var Ne,F;(F=j.frames[T]={}).offset_x=2*u(_,O),O+=3,F.offset_y=2*u(_,O),O+=3,F.width=1+u(_,O),O+=3,F.height=1+u(_,O),O+=3,F.duration=u(_,O),O+=3,Ne=_[O++],F.dispose=1&Ne,F.blend=Ne>>1&1}fe!="ANMF"&&(O+=he)}return j}}(x,0);v.response=x,v.rgbaoutput=!0,v.dataurl=!1;var y=v.header?v.header:null,b=v.frames?v.frames:null;if(y){y.loop_counter=y.loop_count,f=[y.canvas_height],h=[y.canvas_width];for(var E=0;E<b.length&&b[E].blend!=0;E++);}var S=b[0],I=p.WebPDecodeRGBA(x,S.src_off,S.src_size,h,f);S.rgba=I,S.imgwidth=h[0],S.imgheight=f[0];for(var B=0;B<h[0]*f[0]*4;B++)m[B]=I[B];return this.width=h,this.height=f,this.data=m,this}(function(t){var e=function(){return typeof N_=="function"},r=function(f,h,m,p){var x=4,v=s;switch(p){case t.image_compression.FAST:x=1,v=a;break;case t.image_compression.MEDIUM:x=6,v=o;break;case t.image_compression.SLOW:x=9,v=c}f=n(f,h,m,v);var y=N_(f,{level:x});return t.__addimage__.arrayBufferToBinaryString(y)},n=function(f,h,m,p){for(var x,v,y,b=f.length/h,E=new Uint8Array(f.length+b),S=u(),I=0;I<b;I+=1){if(y=I*h,x=f.subarray(y,y+h),p)E.set(p(x,m,v),y+I);else{for(var B,_=S.length,O=[];B<_;B+=1)O[B]=S[B](x,m,v);var j=d(O.concat());E.set(O[j],y+I)}v=x}return E},i=function(f){var h=Array.apply([],f);return h.unshift(0),h},a=function(f,h){var m,p=[],x=f.length;p[0]=1;for(var v=0;v<x;v+=1)m=f[v-h]||0,p[v+1]=f[v]-m+256&255;return p},s=function(f,h,m){var p,x=[],v=f.length;x[0]=2;for(var y=0;y<v;y+=1)p=m&&m[y]||0,x[y+1]=f[y]-p+256&255;return x},o=function(f,h,m){var p,x,v=[],y=f.length;v[0]=3;for(var b=0;b<y;b+=1)p=f[b-h]||0,x=m&&m[b]||0,v[b+1]=f[b]+256-(p+x>>>1)&255;return v},c=function(f,h,m){var p,x,v,y,b=[],E=f.length;b[0]=4;for(var S=0;S<E;S+=1)p=f[S-h]||0,x=m&&m[S]||0,v=m&&m[S-h]||0,y=A(p,x,v),b[S+1]=f[S]-y+256&255;return b},A=function(f,h,m){if(f===h&&h===m)return f;var p=Math.abs(h-m),x=Math.abs(f-m),v=Math.abs(f+h-m-m);return p<=x&&p<=v?f:x<=v?h:m},u=function(){return[i,a,s,o,c]},d=function(f){var h=f.map(function(m){return m.reduce(function(p,x){return p+Math.abs(x)},0)});return h.indexOf(Math.min.apply(null,h))};t.processPNG=function(f,h,m,p){var x,v,y,b,E,S,I,B,_,O,j,T,P,L,K,le=this.decode.FLATE_DECODE,ne="";if(this.__addimage__.isArrayBuffer(f)&&(f=new Uint8Array(f)),this.__addimage__.isArrayBufferView(f)){if(f=(y=new Zye(f)).imgData,v=y.bits,x=y.colorSpace,E=y.colors,[4,6].indexOf(y.colorType)!==-1){if(y.bits===8){_=(B=y.pixelBitlength==32?new Uint32Array(y.decodePixels().buffer):y.pixelBitlength==16?new Uint16Array(y.decodePixels().buffer):new Uint8Array(y.decodePixels().buffer)).length,j=new Uint8Array(_*y.colors),O=new Uint8Array(_);var fe,te=y.pixelBitlength-y.bits;for(L=0,K=0;L<_;L++){for(P=B[L],fe=0;fe<te;)j[K++]=P>>>fe&255,fe+=y.bits;O[L]=P>>>fe&255}}if(y.bits===16){_=(B=new Uint32Array(y.decodePixels().buffer)).length,j=new Uint8Array(_*(32/y.pixelBitlength)*y.colors),O=new Uint8Array(_*(32/y.pixelBitlength)),T=y.colors>1,L=0,K=0;for(var he=0;L<_;)P=B[L++],j[K++]=P>>>0&255,T&&(j[K++]=P>>>16&255,P=B[L++],j[K++]=P>>>0&255),O[he++]=P>>>16&255;v=8}p!==t.image_compression.NONE&&e()?(f=r(j,y.width*y.colors,y.colors,p),I=r(O,y.width,1,p)):(f=j,I=O,le=void 0)}if(y.colorType===3&&(x=this.color_spaces.INDEXED,S=y.palette,y.transparency.indexed)){var ce=y.transparency.indexed,Ne=0;for(L=0,_=ce.length;L<_;++L)Ne+=ce[L];if((Ne/=255)===_-1&&ce.indexOf(0)!==-1)b=[ce.indexOf(0)];else if(Ne!==_){for(B=y.decodePixels(),O=new Uint8Array(B.length),L=0,_=B.length;L<_;L++)O[L]=ce[B[L]];I=r(O,y.width,1)}}var F=function(U){var R;switch(U){case t.image_compression.FAST:R=11;break;case t.image_compression.MEDIUM:R=13;break;case t.image_compression.SLOW:R=14;break;default:R=12}return R}(p);return le===this.decode.FLATE_DECODE&&(ne="/Predictor "+F+" "),ne+="/Colors "+E+" /BitsPerComponent "+v+" /Columns "+y.width,(this.__addimage__.isArrayBuffer(f)||this.__addimage__.isArrayBufferView(f))&&(f=this.__addimage__.arrayBufferToBinaryString(f)),(I&&this.__addimage__.isArrayBuffer(I)||this.__addimage__.isArrayBufferView(I))&&(I=this.__addimage__.arrayBufferToBinaryString(I)),{alias:m,data:f,index:h,filter:le,decodeParameters:ne,transparency:b,palette:S,sMask:I,predictor:F,width:y.width,height:y.height,bitsPerComponent:v,colorSpace:x}}}})(zt.API),function(t){t.processGIF89A=function(e,r,n,i){var a=new $ye(e),s=a.width,o=a.height,c=[];a.decodeAndBlitFrameRGBA(0,c);var A={data:c,width:s,height:o},u=new k4(100).encode(A,100);return t.processJPEG.call(this,u,r,n,i)},t.processGIF87A=t.processGIF89A}(zt.API),rl.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.bitPP===16&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var t=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(t);for(var e=0;e<t;e++){var r=this.datav.getUint8(this.pos++,!0),n=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0);this.palette[e]={red:i,green:n,blue:r,quad:a}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},rl.prototype.parseBGR=function(){this.pos=this.offset;try{var t="bit"+this.bitPP,e=this.width*this.height*4;this.data=new Uint8Array(e),this[t]()}catch(r){mn.log("bit decode error:"+r)}},rl.prototype.bit1=function(){var t,e=Math.ceil(this.width/8),r=e%4;for(t=this.height-1;t>=0;t--){for(var n=this.bottom_up?t:this.height-1-t,i=0;i<e;i++)for(var a=this.datav.getUint8(this.pos++,!0),s=n*this.width*4+8*i*4,o=0;o<8&&8*i+o<this.width;o++){var c=this.palette[a>>7-o&1];this.data[s+4*o]=c.blue,this.data[s+4*o+1]=c.green,this.data[s+4*o+2]=c.red,this.data[s+4*o+3]=255}r!==0&&(this.pos+=4-r)}},rl.prototype.bit4=function(){for(var t=Math.ceil(this.width/2),e=t%4,r=this.height-1;r>=0;r--){for(var n=this.bottom_up?r:this.height-1-r,i=0;i<t;i++){var a=this.datav.getUint8(this.pos++,!0),s=n*this.width*4+2*i*4,o=a>>4,c=15&a,A=this.palette[o];if(this.data[s]=A.blue,this.data[s+1]=A.green,this.data[s+2]=A.red,this.data[s+3]=255,2*i+1>=this.width)break;A=this.palette[c],this.data[s+4]=A.blue,this.data[s+4+1]=A.green,this.data[s+4+2]=A.red,this.data[s+4+3]=255}e!==0&&(this.pos+=4-e)}},rl.prototype.bit8=function(){for(var t=this.width%4,e=this.height-1;e>=0;e--){for(var r=this.bottom_up?e:this.height-1-e,n=0;n<this.width;n++){var i=this.datav.getUint8(this.pos++,!0),a=r*this.width*4+4*n;if(i<this.palette.length){var s=this.palette[i];this.data[a]=s.red,this.data[a+1]=s.green,this.data[a+2]=s.blue,this.data[a+3]=255}else this.data[a]=255,this.data[a+1]=255,this.data[a+2]=255,this.data[a+3]=255}t!==0&&(this.pos+=4-t)}},rl.prototype.bit15=function(){for(var t=this.width%3,e=parseInt("11111",2),r=this.height-1;r>=0;r--){for(var n=this.bottom_up?r:this.height-1-r,i=0;i<this.width;i++){var a=this.datav.getUint16(this.pos,!0);this.pos+=2;var s=(a&e)/e*255|0,o=(a>>5&e)/e*255|0,c=(a>>10&e)/e*255|0,A=a>>15?255:0,u=n*this.width*4+4*i;this.data[u]=c,this.data[u+1]=o,this.data[u+2]=s,this.data[u+3]=A}this.pos+=t}},rl.prototype.bit16=function(){for(var t=this.width%3,e=parseInt("11111",2),r=parseInt("111111",2),n=this.height-1;n>=0;n--){for(var i=this.bottom_up?n:this.height-1-n,a=0;a<this.width;a++){var s=this.datav.getUint16(this.pos,!0);this.pos+=2;var o=(s&e)/e*255|0,c=(s>>5&r)/r*255|0,A=(s>>11)/e*255|0,u=i*this.width*4+4*a;this.data[u]=A,this.data[u+1]=c,this.data[u+2]=o,this.data[u+3]=255}this.pos+=t}},rl.prototype.bit24=function(){for(var t=this.height-1;t>=0;t--){for(var e=this.bottom_up?t:this.height-1-t,r=0;r<this.width;r++){var n=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),s=e*this.width*4+4*r;this.data[s]=a,this.data[s+1]=i,this.data[s+2]=n,this.data[s+3]=255}this.pos+=this.width%4}},rl.prototype.bit32=function(){for(var t=this.height-1;t>=0;t--)for(var e=this.bottom_up?t:this.height-1-t,r=0;r<this.width;r++){var n=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),s=this.datav.getUint8(this.pos++,!0),o=e*this.width*4+4*r;this.data[o]=a,this.data[o+1]=i,this.data[o+2]=n,this.data[o+3]=s}},rl.prototype.getData=function(){return this.data},function(t){t.processBMP=function(e,r,n,i){var a=new rl(e,!1),s=a.width,o=a.height,c={data:a.getData(),width:s,height:o},A=new k4(100).encode(c,100);return t.processJPEG.call(this,A,r,n,i)}}(zt.API),nR.prototype.getData=function(){return this.data},function(t){t.processWEBP=function(e,r,n,i){var a=new nR(e),s=a.width,o=a.height,c={data:a.getData(),width:s,height:o},A=new k4(100).encode(c,100);return t.processJPEG.call(this,A,r,n,i)}}(zt.API),zt.API.processRGBA=function(t,e,r){for(var n=t.data,i=n.length,a=new Uint8Array(i/4*3),s=new Uint8Array(i/4),o=0,c=0,A=0;A<i;A+=4){var u=n[A],d=n[A+1],f=n[A+2],h=n[A+3];a[o++]=u,a[o++]=d,a[o++]=f,s[c++]=h}var m=this.__addimage__.arrayBufferToBinaryString(a);return{alpha:this.__addimage__.arrayBufferToBinaryString(s),data:m,index:e,alias:r,colorSpace:"DeviceRGB",bitsPerComponent:8,width:t.width,height:t.height}},zt.API.setLanguage=function(t){return this.internal.languageSettings===void 0&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),{af:"Afrikaans",sq
vendor: 11,063 bytes, lines 3755-3757
3755:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[t]!==void 0&&(this.internal.languageSettings.languageCode=t,this.internal.languageSettings.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")}),this.internal.languageSettings.isSubscribed=!0)),this},Wf=zt.API,vw=Wf.getCharWidthsArray=function(t,e){var r,n,i=(e=e||{}).font||this.internal.getFont(),a=e.fontSize||this.internal.getFontSize(),s=e.charSpace||this.internal.getCharSpace(),o=e.widths?e.widths:i.metadata.Unicode.widths,c=o.fof?o.fof:1,A=e.kerning?e.kerning:i.metadata.Unicode.kerning,u=A.fof?A.fof:1,d=e.doKerning!==!1,f=0,h=t.length,m=0,p=o[0]||c,x=[];for(r=0;r<h;r++)n=t.charCodeAt(r),typeof i.metadata.widthOfString=="function"?x.push((i.metadata.widthOfGlyph(i.metadata.characterToGlyph(n))+s*(1e3/a)||0)/1e3):(f=d&&rn(A[n])==="object"&&!isNaN(parseInt(A[n][m],10))?A[n][m]/u:0,x.push((o[n]||p)/c+f)),m=n;return x},$O=Wf.getStringUnitWidth=function(t,e){var r=(e=e||{}).fontSize||this.internal.getFontSize(),n=e.font||this.internal.getFont(),i=e.charSpace||this.internal.getCharSpace();return Wf.processArabic&&(t=Wf.processArabic(t)),typeof n.metadata.widthOfString=="function"?n.metadata.widthOfString(t,r,i)/r:vw.apply(this,arguments).reduce(function(a,s){return a+s},0)},eR=function(t,e,r,n){for(var i=[],a=0,s=t.length,o=0;a!==s&&o+e[a]<r;)o+=e[a],a++;i.push(t.slice(0,a));var c=a;for(o=0;a!==s;)o+e[a]>n&&(i.push(t.slice(c,a)),o=0,c=a),o+=e[a],a++;return c!==a&&i.push(t.slice(c,a)),i},tR=function(t,e,r){r||(r={});var n,i,a,s,o,c,A,u=[],d=[u],f=r.textIndent||0,h=0,m=0,p=t.split(" "),x=vw.apply(this,[" ",r])[0];if(c=r.lineIndent===-1?p[0].length+2:r.lineIndent||0){var v=Array(c).join(" "),y=[];p.map(function(E){(E=E.split(/\s*\n/)).length>1?y=y.concat(E.map(function(S,I){return(I&&S.length?` 3756`:"")+S})):y.push(E[0])}),p=y,c=$O.apply(this,[v,r])}for(a=0,s=p.length;a<s;a++){var b=0;if(n=p[a],c&&n[0]==` 3757`&&(n=n.substr(1),b=1),f+h+(m=(i=vw.apply(this,[n,r])).reduce(function(E,S){return E+S},0))>e||b){if(m>e){for(o=eR.apply(this,[n,i,e-(f+h),e]),u.push(o.shift()),u=[o.pop()];o.length;)d.push([o.shift()]);m=i.slice(n.length-(u[0]?u[0].length:0)).reduce(function(E,S){return E+S},0)}else u=[n];d.push(u),f=m+c,h=x}else u.push(n),f+=h+m,h=x}return A=c?function(E,S){return(S?v:"")+E.join(" ")}:function(E){return E.join(" ")},d.map(A)},Wf.splitTextToSize=function(t,e,r){var n,i=(r=r||{}).fontSize||this.internal.getFontSize(),a=(function(u){if(u.widths&&u.kerning)return{widths:u.widths,kerning:u.kerning};var d=this.internal.getFont(u.fontName,u.fontStyle);return d.metadata.Unicode?{widths:d.metadata.Unicode.widths||{0:1},kerning:d.metadata.Unicode.kerning||{}}:{font:d.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}).call(this,r);n=Array.isArray(t)?t:String(t).split(/\r?\n/);var s=1*this.internal.scaleFactor*e/i;a.textIndent=r.textIndent?1*r.textIndent*this.internal.scaleFactor/i:0,a.lineIndent=r.lineIndent;var o,c,A=[];for(o=0,c=n.length;o<c;o++)A=A.concat(tR.apply(this,[n[o],s,a]));return A},function(t){t.__fontmetrics__=t.__fontmetrics__||{};for(var e="klmnopqrstuvwxyz",r={},n={},i=0;i<e.length;i++)r[e[i]]="0123456789abcdef"[i],n["0123456789abcdef"[i]]=e[i];var a=function(d){return"0x"+parseInt(d,10).toString(16)},s=t.__fontmetrics__.compress=function(d){var f,h,m,p,x=["{"];for(var v in d){if(f=d[v],isNaN(parseInt(v,10))?h="'"+v+"'":(v=parseInt(v,10),h=(h=a(v).slice(2)).slice(0,-1)+n[h.slice(-1)]),typeof f=="number")f<0?(m=a(f).slice(3),p="-"):(m=a(f).slice(2),p=""),m=p+m.slice(0,-1)+n[m.slice(-1)];else{if(rn(f)!=="object")throw new Error("Don't know what to do with value type "+rn(f)+".");m=s(f)}x.push(h+m)}return x.push("}"),x.join("")},o=t.__fontmetrics__.uncompress=function(d){if(typeof d!="string")throw new Error("Invalid argument passed to uncompress.");for(var f,h,m,p,x={},v=1,y=x,b=[],E="",S="",I=d.length-1,B=1;B<I;B+=1)(p=d[B])=="'"?f?(m=f.join(""),f=void 0):f=[]:f?f.push(p):p=="{"?(b.push([y,m]),y={},m=void 0):p=="}"?((h=b.pop())[0][h[1]]=y,m=void 0,y=h[0]):p=="-"?v=-1:m===void 0?r.hasOwnProperty(p)?(E+=r[p],m=parseInt(E,16)*v,v=1,E=""):E+=p:r.hasOwnProperty(p)?(S+=r[p],y[m]=parseInt(S,16)*v,v=1,m=void 0,S=""):S+=p;return x},c={codePages:["WinAnsiEncoding"],WinAnsiEncoding:o("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},A={Unicode:{Courier:c,"Courier-Bold":c,"Courier-BoldOblique":c,"Courier-Oblique":c,Helvetica:c,"Helvetica-Bold":c,"Helvetica-BoldOblique":c,"Helvetica-Oblique":c,"Times-Roman":c,"Times-Bold":c,"Times-BoldItalic":c,"Times-Italic":c}},u={Unicode:{"Courier-Oblique":o("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":o("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":o("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4y
3757dn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:o("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":o("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":o("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:o("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:o("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4y
3757dn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":o("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4y
3757dn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:o("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":o("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":o("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}
3757fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":o("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":o("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4y
3757dn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};t.events.push(["addFont",function(d){var f=d.font,h=u.Unicode[f.postScriptName];h&&(f.metadata.Unicode={},f.metadata.Unicode.widths=h.widths,f.metadata.Unicode.kerning=h.kerning);var m=A.Unicode[f.postScriptName];m&&(f.metadata.Unicode.encoding=m,f.encoding=m.codePages[0])}])}(zt.API),function(t){var e=function(r){for(var n=r.length,i=new Uint8Array(n),a=0;a<n;a++)i[a]=r.charCodeAt(a);return i};t.API.events.push(["addFont",function(r){var n=void 0,i=r.font,a=r.instance;if(!i.isStandardFont){if(a===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+i.postScriptName+"').");if(typeof(n=a.existsFileInVFS(i.postScriptName)===!1?a.loadFile(i.postScriptName):a.getFileFromVFS(i.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+i.postScriptName+"').");(function(s,o){o=/^\x00\x01\x00\x00/.test(o)?e(o):e(ov(o)),s.metadata=t.API.TTFFont.open(o),s.metadata.Unicode=s.metadata.Unicode||{encoding:{},kerning:{},widths:[]},s.metadata.glyIdsUsed=[0]})(i,n)}}])}(zt),function(t){function e(){return(Wt.canvg?Promise.resolve(Wt.canvg):uc(()=>import("./index.es-CRzAVzOZ.js"),[])).catch(function(r){return Promise.reject(new Error("Could not load canvg: "+r))}).then(function(r){return r.default?r.default:r})}zt.API.addSvgAsImage=function(r,n,i,a,s,o,c,A){if(isNaN(n)||isNaN(i))throw mn.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(a)||isNaN(s))throw mn.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var u=document.createElement("canvas");u.width=a,u.height=s;var d=u.getContext("2d");d.fillStyle="#fff",d.fillRect(0,0,u.width,u.height);var f={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},h=this;return e().then(function(m){return m.fromString(d,r,f)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(m){return m.render(f)}).then(function(){h.addImage(u.toDataURL("image/jpeg",1),n,i,a,s,c,A)})}}(),zt.API.putTotalPages=function(t){var e,r=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(e=new RegExp(t,"g"),r=this.internal.getNumberOfPages()):(e=new RegExp(this.pdfEscape16(t,this.internal.getFont()),"g"),r=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var n=1;n<=this.internal.getNumberOfPages();n++)for(var i=0;i<this.internal.pages[n].length;i++)this.internal.pages[n][i]=this.internal.pages[n][i].replace(e,r);return this},zt.API.viewerPreferences=function(t,e){var r;t=t||{},e=e||!1;var n,i,a,s={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},o=Object.keys(s),c=[],A=0,u=0,d=0;function f(m,p){var x,v=!1;for(x=0;x<m.length;x+=1)m[x]===p&&(v=!0);return v}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(s)),this.internal.viewerpreferences.isSubscribed=!1),r=this.internal.viewerpreferences.configuration,t==="reset"||e===!0){var h=o.length;for(d=0;d<h;d+=1)r[o[d]].value=r[o[d]].defaultValue,r[o[d]].explicitSet=!1}if(rn(t)==="object"){for(i in t)if(a=t[i],f(o,i)&&a!==void 0){if(r[i].type==="boolean"&&typeof a=="boolean")r[i].value=a;else if(r[i].type==="name"&&f(r[i].valueSet,a))r[i].value=a;else if(r[i].type==="integer"&&Number.isInteger(a))r[i].value=a;else if(r[i].type==="array"){for(A=0;A<a.length;A+=1)if(n=!0,a[A].length===1&&typeof a[A][0]=="number")c.push(String(a[A]-1));else if(a[A].length>1){for(u=0;
vendor: 42,289 bytes, lines 3757-3785
3757u<a[A].length;u+=1)typeof a[A][u]!="number"&&(n=!1);n===!0&&c.push([a[A][0]-1,a[A][1]-1].join(" "))}r[i].value="["+c.join(" ")+"]"}else r[i].value=r[i].defaultValue;r[i].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var m,p=[];for(m in r)r[m].explicitSet===!0&&(r[m].type==="name"?p.push("/"+m+" /"+r[m].value):p.push("/"+m+" "+r[m].value));p.length!==0&&this.internal.write(`/ViewerPreferences 3758<< 3759`+p.join(` 3760`)+` 3761>>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=r,this},function(t){var e=function(){var n='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+this.internal.__metadata__.namespaceuri+'"><jspdf:metadata>',i=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),a=unescape(encodeURIComponent(n)),s=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),o=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),c=unescape(encodeURIComponent("</x:xmpmeta>")),A=a.length+s.length+o.length+i.length+c.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+A+" >>"),this.internal.write("stream"),this.internal.write(i+a+s+o+c),this.internal.write("endstream"),this.internal.write("endobj")},r=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};t.addMetadata=function(n,i){return this.internal.__metadata__===void 0&&(this.internal.__metadata__={metadata:n,namespaceuri:i||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",r),this.internal.events.subscribe("postPutResources",e)),this}}(zt.API),function(t){var e=t.API,r=e.pdfEscape16=function(a,s){for(var o,c=s.metadata.Unicode.widths,A=["","0","00","000","0000"],u=[""],d=0,f=a.length;d<f;++d){if(o=s.metadata.characterToGlyph(a.charCodeAt(d)),s.metadata.glyIdsUsed.push(o),s.metadata.toUnicode[o]=a.charCodeAt(d),c.indexOf(o)==-1&&(c.push(o),c.push([parseInt(s.metadata.widthOfGlyph(o),10)])),o=="0")return u.join("");o=o.toString(16),u.push(A[4-o.length],o)}return u.join("")},n=function(a){var s,o,c,A,u,d,f;for(u=`/CIDInit /ProcSet findresource begin 376212 dict begin 3763begincmap 3764/CIDSystemInfo << 3765 /Registry (Adobe) 3766 /Ordering (UCS) 3767 /Supplement 0 3768>> def 3769/CMapName /Adobe-Identity-UCS def 3770/CMapType 2 def 37711 begincodespacerange 3772<0000><ffff> 3773endcodespacerange`,c=[],d=0,f=(o=Object.keys(a).sort(function(h,m){return h-m})).length;d<f;d++)s=o[d],c.length>=100&&(u+=` 3774`+c.length+` beginbfchar 3775`+c.join(` 3776`)+` 3777endbfchar`,c=[]),a[s]!==void 0&&a[s]!==null&&typeof a[s].toString=="function"&&(A=("0000"+a[s].toString(16)).slice(-4),s=("0000"+(+s).toString(16)).slice(-4),c.push("<"+s+"><"+A+">"));return c.length&&(u+=` 3778`+c.length+` beginbfchar 3779`+c.join(` 3780`)+` 3781endbfchar 3782`),u+=`endcmap 3783CMapName currentdict /CMap defineresource pop 3784end 3785end`};e.events.push(["putFont",function(a){(function(s){var o=s.font,c=s.out,A=s.newObject,u=s.putStream;if(o.metadata instanceof t.API.TTFFont&&o.encoding==="Identity-H"){for(var d=o.metadata.Unicode.widths,f=o.metadata.subset.encode(o.metadata.glyIdsUsed,1),h="",m=0;m<f.length;m++)h+=String.fromCharCode(f[m]);var p=A();u({data:h,addLength1:!0,objectId:p}),c("endobj");var x=A();u({data:n(o.metadata.toUnicode),addLength1:!0,objectId:x}),c("endobj");var v=A();c("<<"),c("/Type /FontDescriptor"),c("/FontName /"+e0(o.fontName)),c("/FontFile2 "+p+" 0 R"),c("/FontBBox "+t.API.PDFObject.convert(o.metadata.bbox)),c("/Flags "+o.metadata.flags),c("/StemV "+o.metadata.stemV),c("/ItalicAngle "+o.metadata.italicAngle),c("/Ascent "+o.metadata.ascender),c("/Descent "+o.metadata.decender),c("/CapHeight "+o.metadata.capHeight),c(">>"),c("endobj");var y=A();c("<<"),c("/Type /Font"),c("/BaseFont /"+e0(o.fontName)),c("/FontDescriptor "+v+" 0 R"),c("/W "+t.API.PDFObject.convert(d)),c("/CIDToGIDMap /Identity"),c("/DW 1000"),c("/Subtype /CIDFontType2"),c("/CIDSystemInfo"),c("<<"),c("/Supplement 0"),c("/Registry (Adobe)"),c("/Ordering ("+o.encoding+")"),c(">>"),c(">>"),c("endobj"),o.objectNumber=A(),c("<<"),c("/Type /Font"),c("/Subtype /Type0"),c("/ToUnicode "+x+" 0 R"),c("/BaseFont /"+e0(o.fontName)),c("/Encoding /"+o.encoding),c("/DescendantFonts ["+y+" 0 R]"),c(">>"),c("endobj"),o.isAlreadyPutted=!0}})(a)}]),e.events.push(["putFont",function(a){(function(s){var o=s.font,c=s.out,A=s.newObject,u=s.putStream;if(o.metadata instanceof t.API.TTFFont&&o.encoding==="WinAnsiEncoding"){for(var d=o.metadata.rawData,f="",h=0;h<d.length;h++)f+=String.fromCharCode(d[h]);var m=A();u({data:f,addLength1:!0,objectId:m}),c("endobj");var p=A();u({data:n(o.metadata.toUnicode),addLength1:!0,objectId:p}),c("endobj");var x=A();c("<<"),c("/Descent "+o.metadata.decender),c("/CapHeight "+o.metadata.capHeight),c("/StemV "+o.metadata.stemV),c("/Type /FontDescriptor"),c("/FontFile2 "+m+" 0 R"),c("/Flags 96"),c("/FontBBox "+t.API.PDFObject.convert(o.metadata.bbox)),c("/FontName /"+e0(o.fontName)),c("/ItalicAngle "+o.metadata.italicAngle),c("/Ascent "+o.metadata.ascender),c(">>"),c("endobj"),o.objectNumber=A();for(var v=0;v<o.metadata.hmtx.widths.length;v++)o.metadata.hmtx.widths[v]=parseInt(o.metadata.hmtx.widths[v]*(1e3/o.metadata.head.unitsPerEm));c("<</Subtype/TrueType/Type/Font/ToUnicode "+p+" 0 R/BaseFont/"+e0(o.fontName)+"/FontDescriptor "+x+" 0 R/Encoding/"+o.encoding+" /FirstChar 29 /LastChar 255 /Widths "+t.API.PDFObject.convert(o.metadata.hmtx.widths)+">>"),c("endobj"),o.isAlreadyPutted=!0}})(a)}]);var i=function(a){var s,o=a.text||"",c=a.x,A=a.y,u=a.options||{},d=a.mutex||{},f=d.pdfEscape,h=d.activeFontKey,m=d.fonts,p=h,x="",v=0,y="",b=m[p].encoding;if(m[p].encoding!=="Identity-H")return{text:o,x:c,y:A,options:u,mutex:d};for(y=o,p=h,Array.isArray(o)&&(y=o[0]),v=0;v<y.length;v+=1)m[p].metadata.hasOwnProperty("cmap")&&(s=m[p].metadata.cmap.unicode.codeMap[y[v].charCodeAt(0)]),s||y[v].charCodeAt(0)<256&&m[p].metadata.hasOwnProperty("Unicode")?x+=y[v]:x+="";var E="";return parseInt(p.slice(1))<14||b==="WinAnsiEncoding"?E=f(x,p).split("").map(function(S){return S.charCodeAt(0).toString(16)}).join(""):b==="Identity-H"&&(E=r(x,m[p])),d.isHex=!0,{text:E,x:c,y:A,options:u,mutex:d}};e.events.push(["postProcessText",function(a){var s=a.text||"",o=[],c={text:s,x:a.x,y:a.y,options:a.options,mutex:a.mutex};if(Array.isArray(s)){var A=0;for(A=0;A<s.length;A+=1)Array.isArray(s[A])&&s[A].length===3?o.push([i(Object.assign({},c,{text:s[A][0]})).text,s[A][1],s[A][2]]):o.push(i(Object.assign({},c,{text:s[A]})).text);a.text=o}else a.text=i(Object.assign({},c,{text:s})).text}])}(zt),function(t){var e=function(){return this.internal.vFS===void 0&&(this.internal.vFS={}),!0};t.existsFileInVFS=function(r){return e.call(this),this.internal.vFS[r]!==void 0},t.addFileToVFS=function(r,n){return e.call(this),this.internal.vFS[r]=n,this},t.getFileFromVFS=function(r){return e.call(this),this.internal.vFS[r]!==void 0?this.internal.vFS[r]:null}}(zt.API),function(t){t.__bidiEngine__=t.prototype.__bidiEngine__=function(n){var i,a,s,o,c,A,u,d=e,f=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],h=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],m={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},p={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},x=["(",")","(","<",">","<","[","]","[","{","}","{","«","»","«","â¹","âº","â¹","â ","â","â ","â½","â¾","â½","â","â","â","â¤","â¥","â¤","â©","âª","â©","ï¹","ï¹","ï¹","ï¹","ï¹","ï¹","ï¹","ï¹","ï¹","﹤","ï¹¥","﹤"],v=new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/),y=!1,b=0;this.__bidiEngine__={};var E=function(T){var P=T.charCodeAt(),L=P>>8,K=p[L];return K!==void 0?d[256*K+(255&P)]:L===252||L===253?"AL":v.test(L)?"L":L===8?"R":"N"},S=function(T){for(var P,L=0;L<T.length;L++){if((P=E(T.charAt(L)))==="L")return!1;if(P==="R")return!0}return!1},I=function(T,P,L,K){var le,ne,fe,te,he=P[K];switch(he){case"L":case"R":y=!1;break;case"N":case"AN":break;case"EN":y&&(he="AN");break;case"AL":y=!0,he="R";break;case"WS":he="N";break;case"CS":K<1||K+1>=P.length||(le=L[K-1])!=="EN"&&le!=="AN"||(ne=P[K+1])!=="EN"&&ne!=="AN"?he="N":y&&(ne="AN"),he=ne===le?ne:"N";break;case"ES":he=(le=K>0?L[K-1]:"B")==="EN"&&K+1<P.length&&P[K+1]==="EN"?"EN":"N";break;case"ET":if(K>0&&L[K-1]==="EN"){he="EN";break}if(y){he="N";break}for(fe=K+1,te=P.length;fe<te&&P[fe]==="ET";)fe++;he=fe<te&&P[fe]==="EN"?"EN":"N";break;case"NSM":if(s&&!o){for(te=P.length,fe=K+1;fe<te&&P[fe]==="NSM";)fe++;if(fe<te){var ce=T[K],Ne=ce>=1425&&ce<=2303||ce===64286;if(le=P[fe],Ne&&(le==="R"||le==="AL")){he="R";break}}}he=K<1||(le=P[K-1])==="B"?"N":L[K-1];break;case"B":y=!1,i=!0,he=b;break;case"S":a=!0,he="N";break;case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":y=!1;break;case"BN":he="N"}return he},B=function(T,P,L){var K=T.split("");return L&&_(K,L,{hiLevel:b}),K.reverse(),P&&P.reverse(),K.join("")},_=function(T,P,L){var K,le,ne,fe,te,he=-1,ce=T.length,Ne=0,F=[],U=b?h:f,R=[];for(y=!1,i=!1,a=!1,le=0;le<ce;le++)R[le]=E(T[le]);for(ne=0;ne<ce;ne++){if(te=Ne,F[ne]=I(T,R,F,ne),K=240&(Ne=U[te][m[F[ne]]]),Ne&=15,P[ne]=fe=U[Ne][5],K>0)if(K===16){for(le=he;le<ne;le++)P[le]=1;he=-1}else he=-1;if(U[Ne][6])he===-1&&(he=ne);else if(he>-1){for(le=he;le<ne;le++)P[le]=fe;he=-1}R[ne]==="B"&&(P[ne]=0),L.hiLevel|=fe}a&&function(M,J,ue){for(var de=0;de<ue;de++)if(M[de]==="S"){J[de]=b;for(var pe=de-1;pe>=0&&M[pe]==="WS";pe--)J[pe]=b}}(R,P,ce)},O=function(T,P,L,K,le){if(!(le.hiLevel<T)){if(T===1&&b===1&&!i)return P.reverse(),void(L&&L.reverse());for(var ne,fe,te,he,ce=P.length,Ne=0;Ne<ce;){if(K[Ne]>=T){for(te=Ne+1;te<ce&&K[te]>=T;)te++;for(he=Ne,fe=te-1;he<fe;he++,fe--)ne=P[he],P[he]=P[fe],P[fe]=ne,L&&(ne=L[he],L[he]=L[fe],L[fe]=ne);Ne=te}Ne++}}},j=function(T,P,L){var K=T.split(""),le={hiLevel:b};return L||(L=[]),_(K,L,le),function(ne,fe,te){if(te.hiLevel!==0&&u)for(var he,ce=0;ce<ne.length;ce++)fe[ce]===1&&(he=x.indexOf(ne[ce]))>=0&&(ne[ce]=x[he+1])}(K,L,le),O(2,K,P,L,le),O(1,K,P,L,le),K.join("")};return this.__bidiEngine__.doBidiReorder=function(T,P,L){if(function(le,ne){if(ne)for(var fe=0;fe<le.length;fe++)ne[fe]=fe;o===void 0&&(o=S(le)),A===void 0&&(A=S(le))}(T,P),s||!c||A)if(s&&c&&o^A)b=o?1:0,T=B(T,P,L);else if(!s&&c&&A)b=o?1:0,T=j(T,P,L),T=B(T,P);else if(!s||o||c||A){if(s&&!c&&o^A)T=B(T,P),o?(b=0,T=j(T,P,L)):(b=1,T=j(T,P,L),T=B(T,P));else if(s&&o&&!c&&A)b=1,T=j(T,P,L),T=B(T,P);else if(!s&&!c&&o^A){var K=u;o?(b=1,T=j(T,P,L),b=0,u=!1,T=j(T,P,L),u=K):(b=0,T=j(T,P,L),T=B(T,P),b=1,u=!1,T=j(T,P,L),u=K,T=B(T,P))}}else b=0,T=j(T,P,L);else b=o?1:0,T=j(T,P,L);return T},this.__bidiEngine__.setOptions=function(T){T&&(s=T.isInputVisual,c=T.isOutputVisual,o=T.isInputRtl,A=T.isOutputRtl,u=T.isSymmetricSwapping)},this.__bidiEngine__.setOptions(n),this.__bidiEngine__};var e=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","N","ET","ET","ET","ET","N","N","N","N","L","N","N","BN","N","N","ET","ET","EN","EN","N","L","N","N","N","EN","L","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","N","N","N","N","N","ET","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","NSM","R","NSM","NSM","R","NSM","NSM","R","NSM","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","N","N","N","N","N","R","R","R","R","R","N","N","N","N","N","N","N","N","N","N","N","AN","AN","AN","AN","AN","AN","N","N","AL","ET","ET","AL","CS","AL","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","N","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","N","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","R","N","N","N","N","R","N","N","N","N","N","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","BN","BN","BN","L","R","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","B","LRE","RLE","PDF","LRO","RLO","CS","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","BN","BN","BN","BN","BN","N","LRI","RLI","FSI","PDI","BN","BN","BN","BN","BN","BN","EN","L","N","N","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","L","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","N","N","N","N","N","R","NSM","R","R","R","R","R","R","R","R","R","R","ES","R","R","R","R","R","R","R","R","R","R","R","R","R","N","R","R","R","R","R","N","R","N","R","R","N","R","R","N","R","R","R","R","R","R","R","R","R","R","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","CS","N","N","CS","N","N","N","N","N","N","N","N","N","ET","N","N","ES","ES","N","N","N","N","N","ET","ET","N","N","N","N","N","AL","AL","AL","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","BN","N","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","N","N","N","ET","ET","N","N","N","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N"],r=new t.__bidiEngine__({isInputVisual:!0});t.API.events.push(["postProcessText",function(n){var i=n.text,a=(n.x,n.y,n.options||{}),s=(n.mutex,a.lang,[]);if(a.isInputVisual=typeof a.isInputVisual!="boolean"||a.isInputVisual,r.setOptions(a),Object.prototype.toString.call(i)==="[object Array]"){var o=0;for(s=[],o=0;o<i.length;o+=1)Object.prototype.toString.call(i[o])==="[object Array]"?s.push([r.doBidiReorder(i[o][0]),i[o][1],i[o][2]]):s.push([r.doBidiReorder(i[o])]);n.text=s}else n.text=r.doBidiReorder(i);r.setOptions({isInputVisual:!0})}])}(zt),zt.API.TTFFont=function(){function t(e){var r;if(this.rawData=e,r=this.contents=new nd(e),this.contents.pos=4,r.readString(4)==="ttcf")throw new Error("TTCF not supported.");r.pos=0,this.parse(),this.subset=new fwe(this),this.registerTTF()}return t.open=function(e){return new t(e)},t.prototype.parse=function(){return this.directory=new ewe(this.contents),this.head=new rwe(this),this.name=new owe(this),this.cmap=new AW(this),this.toUnicode={},this.hhea=new nwe(this),this.maxp=new lwe(this),this.hmtx=new cwe(this),this.post=new awe(this),this.os2=new iwe(this),this.loca=new hwe(this),this.glyf=new Awe(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},t.prototype.registerTTF=function(){var e,r,n,i,a;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=(function(){var s,o,c,A;for(A=[],s=0,o=(c=this.bbox).length;s<o;s++)e=c[s],A.push(Math.round(e*this.scaleFactor));return A}).call(this),this.stemV=0,this.post.exists?(n=255&(i=this.post.italic_angle),32768&(r=i>>16)&&(r=-(1+(65535^r))),this.italicAngle=+(r+"."+n)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=(a=this.familyClass)===1||a===2||a===3||a===4||a===5||a===7,this.isScript=this.familyClass===10,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),this.italicAngle!==0&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},t.prototype.characterToGlyph=function(e){var r;return((r=this.cmap.unicode)!=null?r.codeMap[e]:void 0)||0},t.prototype.widthOfGlyph=function(e){var r;return r=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(e).advance*r},t.prototype.widthOfString=function(e,r,n){var i,a,s,o;for(s=0,a=0,o=(e=""+e).length;0<=o?a<o:a>o;a=0<=o?++a:--a)i=e.charCodeAt(a),s+=this.widthOfGlyph(this.characterToGlyph(i))+n*(1e3/r)||0;return s*(r/1e3)},t.prototype.lineHeight=function(e,r){var n;return r==null&&(r=!1),n=r?this.lineGap:0,(this.ascender+n-this.decender)/1e3*e},t}();var Dl,nd=function(){function t(e){this.data=e??[],this.pos=0,this.length=this.data.length}return t.prototype.readByte=function(){return this.data[this.pos++]},t.prototype.writeByte=function(e){return this.data[this.pos++]=e},t.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},t.prototype.writeUInt32=function(e){return this.writeByte(e>>>24&255),this.writeByte(e>>16&255),this.writeByte(e>>8&255),this.writeByte(255&e)},t.prototype.readInt32=function(){var e;return(e=this.readUInt32())>=2147483648?e-4294967296:e},t.prototype.writeInt32=function(e){return e<0&&(e+=4294967296),this.writeUInt32(e)},t.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},t.prototype.writeUInt16=function(e){return this.writeByte(e>>8&255),this.writeByte(255&e)},t.prototype.readInt16=function(){var e;return(e=this.readUInt16())>=32768?e-65536:e},t.prototype.writeInt16=function(e){return e<0&&(e+=65536),this.writeUInt16(e)},t.prototype.readString=function(e){var r,n;for(n=[],r=0;0<=e?r<e:r>e;r=0<=e?++r:--r)n[r]=String.fromCharCode(this.readByte());return n.join("")},t.prototype.writeString=function(e){var r,n,i;for(i=[],r=0,n=e.length;0<=n?r<n:r>n;r=0<=n?++r:--r)i.push(this.writeByte(e.charCodeAt(r)));return i},t.prototype.readShort=function(){return this.readInt16()},t.prototype.writeShort=function(e){return this.writeInt16(e)},t.prototype.readLongLong=function(){var e,r,n,i,a,s,o,c;return e=this.readByte(),r=this.readByte(),n=this.readByte(),i=this.readByte(),a=this.readByte(),s=this.readByte(),o=this.readByte(),c=this.readByte(),128&e?-1*(72057594037927940*(255^e)+281474976710656*(255^r)+1099511627776*(255^n)+4294967296*(255^i)+16777216*(255^a)+65536*(255^s)+256*(255^o)+(255^c)+1):72057594037927940*e+281474976710656*r+1099511627776*n+4294967296*i+16777216*a+65536*s+256*o+c},t.prototype.writeLongLong=function(e){var r,n;return r=Math.floor(e/4294967296),n=4294967295&e,this.writeByte(r>>24&255),this.writeByte(r>>16&255),this.writeByte(r>>8&255),this.writeByte(255&r),this.writeByte(n>>24&255),this.writeByte(n>>16&255),this.writeByte(n>>8&255),this.writeByte(255&n)},t.prototype.readInt=function(){return this.readInt32()},t.prototype.writeInt=function(e){return this.writeInt32(e)},t.prototype.read=function(e){var r,n;for(r=[],n=0;0<=e?n<e:n>e;n=0<=e?++n:--n)r.push(this.readByte());return r},t.prototype.write=function(e){var r,n,i,a;for(a=[],n=0,i=e.length;n<i;n++)r=e[n],a.push(this.writeByte(r));return a},t}(),ewe=function(){var t;function e(r){var n,i,a;for(this.scalarType=r.readInt(),this.tableCount=r.readShort(),this.searchRange=r.readShort(),this.entrySelector=r.readShort(),this.rangeShift=r.readShort(),this.tables={},i=0,a=this.tableCount;0<=a?i<a:i>a;i=0<=a?++i:--i)n={tag:r.readString(4),checksum:r.readInt(),offset:r.readInt(),length:r.readInt()},this.tables[n.tag]=n}return e.prototype.encode=function(r){var n,i,a,s,o,c,A,u,d,f,h,m,p;for(p in h=Object.keys(r).length,c=Math.log(2),d=16*Math.floor(Math.log(h)/c),s=Math.floor(d/c),u=16*h-d,(i=new nd).writeInt(this.scalarType),i.writeShort(h),i.writeShort(d),i.writeShort(s),i.writeShort(u),a=16*h,A=i.pos+a,o=null,m=[],r)for(f=r[p],i.writeString(p),i.writeInt(t(f)),i.writeInt(A),i.writeInt(f.length),m=m.concat(f),p==="head"&&(o=A),A+=f.length;A%4;)m.push(0),A++;return i.write(m),n=2981146554-t(i.data),i.pos=o+8,i.writeUInt32(n),i.data},t=function(r){var n,i,a,s;for(r=uW.call(r);r.length%4;)r.push(0);for(a=new nd(r),i=0,n=0,s=r.length;n<s;n=n+=4)i+=a.readUInt32();return 4294967295&i},e}(),twe={}.hasOwnProperty,yc=function(t,e){for(var r in e)twe.call(e,r)&&(t[r]=e[r]);function n(){this.constructor=t}return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t};Dl=function(){function t(e){var r;this.file=e,r=this.file.directory.tables[this.tag],this.exists=!!r,r&&(this.offset=r.offset,this.length=r.length,this.parse(this.file.contents))}return t.prototype.parse=function(){},t.prototype.encode=function(){},t.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},t}();var rwe=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return yc(e,Dl),e.prototype.tag="head",e.prototype.parse=function(r){return r.pos=this.offset,this.version=r.readInt(),this.revision=r.readInt(),this.checkSumAdjustment=r.readInt(),this.magicNumber=r.readInt(),this.flags=r.readShort(),this.unitsPerEm=r.readShort(),this.created=r.readLongLong(),this.modified=r.readLongLong(),this.xMin=r.readShort(),this.yMin=r.readShort(),this.xMax=r.readShort(),this.yMax=r.readShort(),this.macStyle=r.readShort(),this.lowestRecPPEM=r.readShort(),this.fontDirectionHint=r.readShort(),this.indexToLocFormat=r.readShort(),this.glyphDataFormat=r.readShort()},e.prototype.encode=function(r){var n;return(n=new nd).writeInt(this.version),n.writeInt(this.revision),n.writeInt(this.checkSumAdjustment),n.writeInt(this.magicNumber),n.writeShort(this.flags),n.writeShort(this.unitsPerEm),n.writeLongLong(this.created),n.writeLongLong(this.modified),n.writeShort(this.xMin),n.writeShort(this.yMin),n.writeShort(this.xMax),n.writeShort(this.yMax),n.writeShort(this.macStyle),n.writeShort(this.lowestRecPPEM),n.writeShort(this.fontDirectionHint),n.writeShort(r),n.writeShort(this.glyphDataFormat),n.data},e}(),iR=function(){function t(e,r){var n,i,a,s,o,c,A,u,d,f,h,m,p,x,v,y,b;switch(this.platformID=e.readUInt16(),this.encodingID=e.readShort(),this.offset=r+e.readInt(),d=e.pos,e.pos=this.offset,this.format=e.readUInt16(),this.length=e.readUInt16(),this.language=e.readUInt16(),this.isUnicode=this.platformID===3&&this.encodingID===1&&this.format===4||this.platformID===0&&this.format===4,this.codeMap={},this.format){case 0:for(c=0;c<256;++c)this.codeMap[c]=e.readByte();break;case 4:for(h=e.readUInt16(),f=h/2,e.pos+=6,a=function(){var E,S;for(S=[],c=E=0;0<=f?E<f:E>f;c=0<=f?++E:--E)S.push(e.readUInt16());return S}(),e.pos+=2,p=function(){var E,S;for(S=[],c=E=0;0<=f?E<f:E>f;c=0<=f?++E:--E)S.push(e.readUInt16());return S}(),A=function(){var E,S;for(S=[],c=E=0;0<=f?E<f:E>f;c=0<=f?++E:--E)S.push(e.readUInt16());return S}(),u=function(){var E,S;for(S=[],c=E=0;0<=f?E<f:E>f;c=0<=f?++E:--E)S.push(e.readUInt16());return S}(),i=(this.length-e.pos+this.offset)/2,o=function(){var E,S;for(S=[],c=E=0;0<=i?E<i:E>i;c=0<=i?++E:--E)S.push(e.readUInt16());return S}(),c=v=0,b=a.length;v<b;c=++v)for(x=a[c],n=y=m=p[c];m<=x?y<=x:y>=x;n=m<=x?++y:--y)u[c]===0?s=n+A[c]:(s=o[u[c]/2+(n-m)-(f-c)]||0)!==0&&(s+=A[c]),this.codeMap[n]=65535&s}e.pos=d}return t.encode=function(e,r){var n,i,a,s,o,c,A,u,d,f,h,m,p,x,v,y,b,E,S,I,B,_,O,j,T,P,L,K,le,ne,fe,te,he,ce,Ne,F,U,R,M,J,ue,de,pe,be,Qe,Me;switch(K=new nd,s=Object.keys(e).sort(function(Xe,ot){return Xe-ot}),r){case"macroman":for(p=0,x=function(){var Xe=[];for(m=0;m<256;++m)Xe.push(0);return Xe}(),y={0:0},a={},le=0,he=s.length;le<he;le++)y[pe=e[i=s[le]]]==null&&(y[pe]=++p),a[i]={old:e[i],new:y[e[i]]},x[i]=y[e[i]];return K.writeUInt16(1),K.writeUInt16(0),K.writeUInt32(12),K.writeUInt16(0),K.writeUInt16(262),K.writeUInt16(0),K.write(x),{charMap:a,subtable:K.data,maxGlyphID:p+1};case"unicode":for(P=[],d=[],b=0,y={},n={},v=A=null,ne=0,ce=s.length;ne<ce;ne++)y[S=e[i=s[ne]]]==null&&(y[S]=++b),n[i]={old:S,new:y[S]},o=y[S]-i,v!=null&&o===A||(v&&d.push(v),P.push(i),A=o),v=i;for(v&&d.push(v),d.push(65535),P.push(65535),j=2*(O=P.length),_=2*Math.pow(Math.log(O)/Math.LN2,2),f=Math.log(_/2)/Math.LN2,B=2*O-_,c=[],I=[],h=[],m=fe=0,Ne=P.length;fe<Ne;m=++fe){if(T=P[m],u=d[m],T===65535){c.push(0),I.push(0);break}if(T-(L=n[T].new)>=32768)for(c.push(0),I.push(2*(h.length+O-m)),i=te=T;T<=u?te<=u:te>=u;i=T<=u?++te:--te)h.push(n[i].new);else c.push(L-T),I.push(0)}for(K.writeUInt16(3),K.writeUInt16(1),K.writeUInt32(12),K.writeUInt16(4),K.writeUInt16(16+8*O+2*h.length),K.writeUInt16(0),K.writeUInt16(j),K.writeUInt16(_),K.writeUInt16(f),K.writeUInt16(B),ue=0,F=d.length;ue<F;ue++)i=d[ue],K.writeUInt16(i);for(K.writeUInt16(0),de=0,U=P.length;de<U;de++)i=P[de],K.writeUInt16(i);for(be=0,R=c.length;be<R;be++)o=c[be],K.writeUInt16(o);for(Qe=0,M=I.length;Qe<M;Qe++)E=I[Qe],K.writeUInt16(E);for(Me=0,J=h.length;Me<J;Me++)p=h[Me],K.writeUInt16(p);return{charMap:n,subtable:K.data,maxGlyphID:b+1}}},t}(),AW=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return yc(e,Dl),e.prototype.tag="cmap",e.prototype.parse=function(r){var n,i,a;for(r.pos=this.offset,this.version=r.readUInt16(),a=r.readUInt16(),this.tables=[],this.unicode=null,i=0;0<=a?i<a:i>a;i=0<=a?++i:--i)n=new iR(r,this.offset),this.tables.push(n),n.isUnicode&&this.unicode==null&&(this.unicode=n);return!0},e.encode=function(r,n){var i,a;return n==null&&(n="macroman"),i=iR.encode(r,n),(a=new nd).writeUInt16(0),a.writeUInt16(1),i.table=a.data.concat(i.subtable),i},e}(),nwe=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return yc(e,Dl),e.prototype.tag="hhea",e.prototype.parse=function(r){return r.pos=this.offset,this.version=r.readInt(),this.ascender=r.readShort(),this.decender=r.readShort(),this.lineGap=r.readShort(),this.advanceWidthMax=r.readShort(),this.minLeftSideBearing=r.readShort(),this.minRightSideBearing=r.readShort(),this.xMaxExtent=r.readShort(),this.caretSlopeRise=r.readShort(),this.caretSlopeRun=r.readShort(),this.caretOffset=r.readShort(),r.pos+=8,this.metricDataFormat=r.readShort(),this.numberOfMetrics=r.readUInt16()},e}(),iwe=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return yc(e,Dl),e.prototype.tag="OS/2",e.prototype.parse=function(r){if(r.pos=this.offset,this.version=r.readUInt16(),this.averageCharWidth=r.readShort(),this.weightClass=r.readUInt16(),this.widthClass=r.readUInt16(),this.type=r.readShort(),this.ySubscriptXSize=r.readShort(),this.ySubscriptYSize=r.readShort(),this.ySubscriptXOffset=r.readShort(),this.ySubscriptYOffset=r.readShort(),this.ySuperscriptXSize=r.readShort(),this.ySuperscriptYSize=r.readShort(),this.ySuperscriptXOffset=r.readShort(),this.ySuperscriptYOffset=r.readShort(),this.yStrikeoutSize=r.readShort(),this.yStrikeoutPosition=r.readShort(),this.familyClass=r.readShort(),this.panose=function(){var n,i;for(i=[],n=0;n<10;++n)i.push(r.readByte());return i}(),this.charRange=function(){var n,i;for(i=[],n=0;n<4;++n)i.push(r.readInt());return i}(),this.vendorID=r.readString(4),this.selection=r.readShort(),this.firstCharIndex=r.readShort(),this.lastCharIndex=r.readShort(),this.version>0&&(this.ascent=r.readShort(),this.descent=r.readShort(),this.lineGap=r.readShort(),this.winAscent=r.readShort(),this.winDescent=r.readShort(),this.codePageRange=function(){var n,i;for(i=[],n=0;n<2;n=++n)i.push(r.readInt());return i}(),this.version>1))return this.xHeight=r.readShort(),this.capHeight=r.readShort(),this.defaultChar=r.readShort(),this.breakChar=r.readShort(),this.maxContext=r.readShort()},e}(),awe=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return yc(e,Dl),e.prototype.tag="post",e.prototype.parse=function(r){var n,i,a;switch(r.pos=this.offset,this.format=r.readInt(),this.italicAngle=r.readInt(),this.underlinePosition=r.readShort(),this.underlineThickness=r.readShort(),this.isFixedPitch=r.readInt(),this.minMemType42=r.readInt(),this.maxMemType42=r.readInt(),this.minMemType1=r.readInt(),this.maxMemType1=r.readInt(),this.format){case 65536:break;case 131072:var s;for(i=r.readUInt16(),this.glyphNameIndex=[],s=0;0<=i?s<i:s>i;s=0<=i?++s:--s)this.glyphNameIndex.push(r.readUInt16());for(this.names=[],a=[];r.pos<this.offset+this.length;)n=r.readByte(),a.push(this.names.push(r.readString(n)));return a;case 151552:return i=r.readUInt16(),this.offsets=r.read(i);case 196608:break;case 262144:return this.map=(function(){var o,c,A;for(A=[],s=o=0,c=this.file.maxp.numGlyphs;0<=c?o<c:o>c;s=0<=c?++o:--o)A.push(r.readUInt32());return A}).call(this)}},e}(),swe=function(t,e){this.raw=t,this.length=t.length,this.platformID=e.platformID,this.encodingID=e.encodingID,this.languageID=e.languageID},owe=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return yc(e,Dl),e.prototype.tag="name",e.prototype.parse=function(r){var n,i,a,s,o,c,A,u,d,f,h;for(r.pos=this.offset,r.readShort(),n=r.readShort(),c=r.readShort(),i=[],s=0;0<=n?s<n:s>n;s=0<=n?++s:--s)i.push({platformID:r.readShort(),encodingID:r.readShort(),languageID:r.readShort(),nameID:r.readShort(),length:r.readShort(),offset:this.offset+c+r.readShort()});for(A={},s=d=0,f=i.length;d<f;s=++d)a=i[s],r.pos=a.offset,u=r.readString(a.length),o=new swe(u,a),A[h=a.nameID]==null&&(A[h]=[]),A[a.nameID].push(o);this.strings=A,this.copyright=A[0],this.fontFamily=A[1],this.fontSubfamily=A[2],this.uniqueSubfamily=A[3],this.fontName=A[4],this.version=A[5];try{this.postscriptName=A[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch{this.postscriptName=A[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=A[7],this.manufacturer=A[8],this.designer=A[9],this.description=A[10],this.vendorUrl=A[11],this.designerUrl=A[12],this.license=A[13],this.licenseUrl=A[14],this.preferredFamily=A[15],this.preferredSubfamily=A[17],this.compatibleFull=A[18],this.sampleText=A[19]},e}(),lwe=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return yc(e,Dl),e.prototype.tag="maxp",e.prototype.parse=function(r){return r.pos=this.offset,this.version=r.readInt(),this.numGlyphs=r.readUInt16(),this.maxPoints=r.readUInt16(),this.maxContours=r.readUInt16(),this.maxCompositePoints=r.readUInt16(),this.maxComponentContours=r.readUInt16(),this.maxZones=r.readUInt16(),this.maxTwilightPoints=r.readUInt16(),this.maxStorage=r.readUInt16(),this.maxFunctionDefs=r.readUInt16(),this.maxInstructionDefs=r.readUInt16(),this.maxStackElements=r.readUInt16(),this.maxSizeOfInstructions=r.readUInt16(),this.maxComponentElements=r.readUInt16(),this.maxComponentDepth=r.readUInt16()},e}(),cwe=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return yc(e,Dl),e.prototype.tag="hmtx",e.prototype.parse=function(r){var n,i,a,s,o,c,A;for(r.pos=this.offset,this.metrics=[],n=0,c=this.file.hhea.numberOfMetrics;0<=c?n<c:n>c;n=0<=c?++n:--n)this.metrics.push({advance:r.readUInt16(),lsb:r.readInt16()});for(a=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var u,d;for(d=[],n=u=0;0<=a?u<a:u>a;n=0<=a?++u:--u)d.push(r.readInt16());return d}(),this.widths=(function(){var u,d,f,h;for(h=[],u=0,d=(f=this.metrics).length;u<d;u++)s=f[u],h.push(s.advance);return h}).call(this),i=this.widths[this.widths.length-1],A=[],n=o=0;0<=a?o<a:o>a;n=0<=a?++o:--o)A.push(this.widths.push(i));return A},e.prototype.forGlyph=function(r){return r in this.metrics?this.metrics[r]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[r-this.metrics.length]}},e}(),uW=[].slice,Awe=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return yc(e,Dl),e.prototype.tag="glyf",e.prototype.parse=function(){return this.cache={}},e.prototype.glyphFor=function(r){var n,i,a,s,o,c,A,u,d,f;return r in this.cache?this.cache[r]:(s=this.file.loca,n=this.file.contents,i=s.indexOf(r),(a=s.lengthOf(r))===0?this.cache[r]=null:(n.pos=this.offset+i,o=(c=new nd(n.read(a))).readShort(),u=c.readShort(),f=c.readShort(),A=c.readShort(),d=c.readShort(),this.cache[r]=o===-1?new dwe(c,u,f,A,d):new uwe(c,o,u,f,A,d),this.cache[r]))},e.prototype.encode=function(r,n,i){var a,s,o,c,A;for(o=[],s=[],c=0,A=n.length;c<A;c++)a=r[n[c]],s.push(o.length),a&&(o=o.concat(a.encode(i)));return s.push(o.length),{table:o,offsets:s}},e}(),uwe=function(){function t(e,r,n,i,a,s){this.raw=e,this.numberOfContours=r,this.xMin=n,this.yMin=i,this.xMax=a,this.yMax=s,this.compound=!1}return t.prototype.encode=function(){return this.raw.data},t}(),dwe=function(){function t(e,r,n,i,a){var s,o;for(this.raw=e,this.xMin=r,this.yMin=n,this.xMax=i,this.yMax=a,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],s=this.raw;o=s.readShort(),this.glyphOffsets.push(s.pos),this.glyphIDs.push(s.readUInt16()),32&o;)s.pos+=1&o?4:2,128&o?s.pos+=8:64&o?s.pos+=4:8&o&&(s.pos+=2)}return t.prototype.encode=function(){var e,r,n;for(r=new nd(uW.call(this.raw.data)),e=0,n=this.glyphIDs.length;e<n;++e)r.pos=this.glyphOffsets[e];return r.data},t}(),hwe=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return yc(e,Dl),e.prototype.tag="loca",e.prototype.parse=function(r){var n,i;return r.pos=this.offset,n=this.file.head.indexToLocFormat,this.offsets=n===0?(function(){var a,s;for(s=[],i=0,a=this.length;i<a;i+=2)s.push(2*r.readUInt16());return s}).call(this):(function(){var a,s;for(s=[],i=0,a=this.length;i<a;i+=4)s.push(r.readUInt32());return s}).call(this)},e.prototype.indexOf=function(r){return this.offsets[r]},e.prototype.lengthOf=function(r){return this.offsets[r+1]-this.offsets[r]},e.prototype.encode=function(r,n){for(var i=new Uint32Array(this.offsets.length),a=0,s=0,o=0;o<i.length;++o)if(i[o]=a,s<n.length&&n[s]==o){++s,i[o]=a;var c=this.offsets[o],A=this.offsets[o+1]-c;A>0&&(a+=A)}for(var u=new Array(4*i.length),d=0;d<i.length;++d)u[4*d+3]=255&i[d],u[4*d+2]=(65280&i[d])>>8,u[4*d+1]=(16711680&i[d])>>16,u[4*d]=(4278190080&i[d])>>24;return u},e}(),fwe=function(){function t(e){this.font=e,this.subset={},this.unicodes={},this.next=33}return t.prototype.generateCmap=function(){var e,r,n,i,a;for(r in i=this.font.cmap.tables[0].codeMap,e={},a=this.subset)n=a[r],e[r]=i[n];return e},t.prototype.glyphsFor=function(e){var r,n,i,a,s,o,c;for(i={},s=0,o=e.length;s<o;s++)i[a=e[s]]=this.font.glyf.glyphFor(a);for(a in r=[],i)(n=i[a])!=null&&n.compound&&r.push.apply(r,n.glyphIDs);if(r.length>0)for(a in c=this.glyphsFor(r))n=c[a],i[a]=n;return i},t.prototype.encode=function(e,r){var n,i,a,s,o,c,A,u,d,f,h,m,p,x,v;for(i in n=AW.encode(this.generateCmap(),"unicode"),s=this.glyphsFor(e),h={0:0},v=n.charMap)h[(c=v[i]).old]=c.new;for(m in f=n.maxGlyphID,s)m in h||(h[m]=f++);return u=function(y){var b,E;for(b in E={},y)E[y[b]]=b;return E}(h),d=Object.keys(u).sort(function(y,b){return y-b}),p=function(){var y,b,E;for(E=[],y=0,b=d.length;y<b;y++)o=d[y],E.push(u[o]);return E}(),a=this.font.glyf.encode(s,p,h),A=this.font.loca.encode(a.offsets,p),x={cmap:this.font.cmap.raw(),glyf:a.table,loca:A,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.encode(r)},this.font.os2.exists&&(x["OS/2"]=this.font.os2.raw()),this.font.directory.encode(x)},t}();zt.API.PDFObject=function(){var t;function e(){}return t=function(r,n){return(Array(n+1).join("0")+r).slice(-n)},e.convert=function(r){var n,i,a,s;if(Array.isArray(r))return"["+function(){var o,c,A;
3785for(A=[],o=0,c=r.length;o<c;o++)n=r[o],A.push(e.convert(n));return A}().join(" ")+"]";if(typeof r=="string")return"/"+r;if(r!=null&&r.isString)return"("+r+")";if(r instanceof Date)return"(D:"+t(r.getUTCFullYear(),4)+t(r.getUTCMonth(),2)+t(r.getUTCDate(),2)+t(r.getUTCHours(),2)+t(r.getUTCMinutes(),2)+t(r.getUTCSeconds(),2)+"Z)";if({}.toString.call(r)==="[object Object]"){for(i in a=["<<"],r)s=r[i],a.push("/"+i+" "+e.convert(s));return a.push(">>"),a.join(` 3786`)}return""+r},e}();function M5(){return(M5=Object.assign||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}).apply(this,arguments)}function dW(t,e){if(t==null)return{};var r,n,i={},a=Object.keys(t);for(n=0;n<a.length;n++)e.indexOf(r=a[n])>=0||(i[r]=t[r]);return i}function D_(t){var e=Z.useRef(t),r=Z.useRef(function(n){e.current&&e.current(n)});return e.current=t,r.current}var d1=function(t,e,r){return e===void 0&&(e=0),r===void 0&&(r=1),t>r?r:t<e?e:t},lv=function(t){return"touches"in t},O_=function(t){return t&&t.ownerDocument.defaultView||self},aR=function(t,e,r){var n=t.getBoundingClientRect(),i=lv(e)?function(a,s){for(var o=0;o<a.length;o++)if(a[o].identifier===s)return a[o];return a[0]}(e.touches,r):e;return{left:d1((i.pageX-(n.left+O_(t).pageXOffset))/n.width),top:d1((i.pageY-(n.top+O_(t).pageYOffset))/n.height)}},sR=function(t){!lv(t)&&t.preventDefault()},hW=hr.memo(function(t){var e=t.onMove,r=t.onKey,n=dW(t,["onMove","onKey"]),i=Z.useRef(null),a=D_(e),s=D_(r),o=Z.useRef(null),c=Z.useRef(!1),A=Z.useMemo(function(){var h=function(x){sR(x),(lv(x)?x.touches.length>0:x.buttons>0)&&i.current?a(aR(i.current,x,o.current)):p(!1)},m=function(){return p(!1)};function p(x){var v=c.current,y=O_(i.current),b=x?y.addEventListener:y.removeEventListener;b(v?"touchmove":"mousemove",h),b(v?"touchend":"mouseup",m)}return[function(x){var v=x.nativeEvent,y=i.current;if(y&&(sR(v),!function(E,S){return S&&!lv(E)}(v,c.current)&&y)){if(lv(v)){c.current=!0;var b=v.changedTouches||[];b.length&&(o.current=b[0].identifier)}y.focus(),a(aR(y,v,o.current)),p(!0)}},function(x){var v=x.which||x.keyCode;v<37||v>40||(x.preventDefault(),s({left:v===39?.05:v===37?-.05:0,top:v===40?.05:v===38?-.05:0}))},p]},[s,a]),u=A[0],d=A[1],f=A[2];return Z.useEffect(function(){return f},[f]),hr.createElement("div",M5({},n,{onTouchStart:u,onMouseDown:u,className:"react-colorful__interactive",ref:i,onKeyDown:d,tabIndex:0,role:"slider"}))}),MT=function(t){return t.filter(Boolean).join(" ")},fW=function(t){var e=t.color,r=t.left,n=t.top,i=n===void 0?.5:n,a=MT(["react-colorful__pointer",t.className]);return hr.createElement("div",{className:a,style:{top:100*i+"%",left:100*r+"%"}},hr.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:e}}))},ma=function(t,e,r){return e===void 0&&(e=0),r===void 0&&(r=Math.pow(10,e)),Math.round(r*t)/r},pwe=function(t){return ywe(R_(t))},R_=function(t){return t[0]==="#"&&(t=t.substring(1)),t.length<6?{r:parseInt(t[0]+t[0],16),g:parseInt(t[1]+t[1],16),b:parseInt(t[2]+t[2],16),a:t.length===4?ma(parseInt(t[3]+t[3],16)/255,2):1}:{r:parseInt(t.substring(0,2),16),g:parseInt(t.substring(2,4),16),b:parseInt(t.substring(4,6),16),a:t.length===8?ma(parseInt(t.substring(6,8),16)/255,2):1}},mwe=function(t){return xwe(vwe(t))},gwe=function(t){var e=t.s,r=t.v,n=t.a,i=(200-e)*r/100;return{h:ma(t.h),s:ma(i>0&&i<200?e*r/100/(i<=100?i:200-i)*100:0),l:ma(i/2),a:ma(n,2)}},U_=function(t){var e=gwe(t);return"hsl("+e.h+", "+e.s+"%, "+e.l+"%)"},vwe=function(t){var e=t.h,r=t.s,n=t.v,i=t.a;e=e/360*6,r/=100,n/=100;var a=Math.floor(e),s=n*(1-r),o=n*(1-(e-a)*r),c=n*(1-(1-e+a)*r),A=a%6;return{r:ma(255*[n,o,s,s,c,n][A]),g:ma(255*[c,n,n,o,s,s][A]),b:ma(255*[s,s,c,n,n,o][A]),a:ma(i,2)}},xw=function(t){var e=t.toString(16);return e.length<2?"0"+e:e},xwe=function(t){var e=t.r,r=t.g,n=t.b,i=t.a,a=i<1?xw(ma(255*i)):"";return"#"+xw(e)+xw(r)+xw(n)+a},ywe=function(t){var e=t.r,r=t.g,n=t.b,i=t.a,a=Math.max(e,r,n),s=a-Math.min(e,r,n),o=s?a===e?(r-n)/s:a===r?2+(n-e)/s:4+(e-r)/s:0;return{h:ma(60*(o<0?o+6:o)),s:ma(a?s/a*100:0),v:ma(a/255*100),a:i}},wwe=hr.memo(function(t){var e=t.hue,r=t.onChange,n=MT(["react-colorful__hue",t.className]);return hr.createElement("div",{className:n},hr.createElement(hW,{onMove:function(i){r({h:360*i.left})},onKey:function(i){r({h:d1(e+360*i.left,0,360)})},"aria-label":"Hue","aria-valuenow":ma(e),"aria-valuemax":"360","aria-valuemin":"
37860"},hr.createElement(fW,{className:"react-colorful__hue-pointer",left:e/360,color:U_({h:e,s:100,v:100,a:1})})))}),bwe=hr.memo(function(t){var e=t.hsva,r=t.onChange,n={backgroundColor:U_({h:e.h,s:100,v:100,a:1})};return hr.createElement("div",{className:"react-colorful__saturation",style:n},hr.createElement(hW,{onMove:function(i){r({s:100*i.left,v:100-100*i.top})},onKey:function(i){r({s:d1(e.s+100*i.left,0,100),v:d1(e.v-100*i.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+ma(e.s)+"%, Brightness "+ma(e.v)+"%"},hr.createElement(fW,{className:"react-colorful__saturation-pointer",top:1-e.v/100,left:e.s/100,color:U_(e)})))}),pW=function(t,e){if(t===e)return!0;for(var r in t)if(t[r]!==e[r])return!1;return!0},Cwe=function(t,e){return t.toLowerCase()===e.toLowerCase()||pW(R_(t),R_(e))};function Bwe(t,e,r){var n=D_(r),i=Z.useState(function(){return t.toHsva(e)}),a=i[0],s=i[1],o=Z.useRef({color:e,hsva:a});Z.useEffect(function(){if(!t.equal(e,o.current.color)){var A=t.toHsva(e);o.current={hsva:A,color:e},s(A)}},[e,t]),Z.useEffect(function(){var A;pW(a,o.current.hsva)||t.equal(A=t.fromHsva(a),o.current.color)||(o.current={hsva:a,color:A},n(A))},[a,t,n]);var c=Z.useCallback(function(A){s(function(u){return Object.assign({},u,A)})},[]);return[a,c]}var Ewe=typeof window<"u"?Z.useLayoutEffect:Z.useEffect,Nwe=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},oR=new Map,Swe=function(t){Ewe(function(){var e=t.current?t.current.ownerDocument:document;if(e!==void 0&&!oR.has(e)){var r=e.createElement("style");r.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><path d="M8 0h8v8H8zM0 8h8v8H0z"/></svg>')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,oR.set(e,r);var n=Nwe();n&&r.setAttribute("nonce",n),e.head.appendChild(r)}},[])},_we=function(t){var e=t.className,r=t.colorModel,n=t.color,i=n===void 0?r.defaultColor:n,a=t.onChange,s=dW(t,["className","colorModel","color","onChange"]),o=Z.useRef(null);Swe(o);var c=Bwe(r,i,a),A=c[0],u=c[1],d=MT(["react-colorful",e]);return hr.createElement("div",M5({},s,{ref:o,className:d}),hr.createElement(bwe,{hsva:A,onChange:u}),hr.createElement(wwe,{hue:A.h,onChange:u,className:"react-colorful__last-control"}))},Fwe={defaultColor:"000",toHsva:pwe,fromHsva:function(t){return mwe({h:t.h,s:t.s,v:t.v,a:1})},equal:Cwe},Gb=function(t){return hr.createElement(_we,M5({},t,{colorModel:Fwe}))};const Twe=[{width:85,height:130,name:"Tarjeta (85x130mm)"}],lR=3.7795275591,cR="https://firebasestorage.googleapis.com/v0/b/ccf-web-59053.firebasestorage.app/o/IMAGENES%20EVENTOS%2F1024por500.jpg?alt=media&token=c8ece0f1-1d8b-4270-bee3-15263f5aeeed",mW=({event:t,registration:e,onClose:r,isAdmin:n=!1})=>{Z.useState(!1);const[i,a]=Z.useState(!1),[s,o]=Z.useState(!1),[c,A]=Z.useState(!1),[u,d]=Z.useState(null),[f,h]=Z.useState(null),[m,p]=Z.useState(null),[x,v]=Z.useState(null),[y,b]=Z.useState(null),[E]=Z.useState(Twe[0]),[S,I]=Z.useState("download"),B=e.multiPrint||[e],_=Z.useRef(null),O=t.title.toLowerCase().includes("africagua"),[j,T]=Z.useState("#CF163D"),[P,L]=Z.useState("#A61131"),[K,le]=Z.useState(!1),[ne,fe]=Z.useState(!1),[te,he]=Z.useState(!0),[ce,Ne]=Z.useState(!0),[F,U]=Z.useState(!0),[R,M]=Z.useState("normal"),[J,ue]=Z.useState("solid"),[de,pe]=Z.useState(3),[be,Qe]=Z.useState(0),[Me,Xe]=Z.useState(135);Z.useEffect(()=>{let Ee=!0;
3786const We={eventImage:!t.imageUrl,logo:!1,africaguaBackground:!O,africaguaLogo:!O,africaguaQr:!O},Ze=()=>{console.log("Image loading status:",We),Object.values(We).every($e=>$e)&&(console.log("All images loaded successfully"),Ee&&A(!0))},rt=async $e=>{const Ve=await(await fetch($e)).blob();return URL.createObjectURL(Ve)};return t.imageUrl&&(console.log("Loading event image from:",t.imageUrl),fetch(t.imageUrl).then($e=>(console.log("Event image response status:",$e.status),$e.blob())).then($e=>{if(!Ee)return;const Se=URL.createObjectURL($e);console.log("Event image loaded successfully:",Se),d(Se),We.eventImage=!0,Ze()}).catch($e=>{console.error("Error loading event image:",$e),Ee&&(a(!0),We.eventImage=!0,Ze())})),console.log("Loading logo from:",cR),fetch(cR).then($e=>(console.log("Logo response status:",$e.status),$e.blob())).then($e=>{if(!Ee)return;const Se=URL.createObjectURL($e);console.log("Logo loaded successfully:",Se),h(Se),We.logo=!0,Ze()}).catch($e=>{console.error("Error loading logo:",$e),Ee&&(We.logo=!0,Ze())}),O&&(rt("/gota-creando-efecto-onda-agua_23-2148795902.jpg").then($e=>{Ee&&(p($e),We.africaguaBackground=!0,Ze())}).catch($e=>{console.error("Error loading Africagua background:",$e),Ee&&(We.africaguaBackground=!0,Ze())}),rt("/Logo_timeline_2_Azul.png").then($e=>{Ee&&(v($e),We.africaguaLogo=!0,Ze())}).catch($e=>{console.error("Error loading Africagua logo:",$e),Ee&&(We.africaguaLogo=!0,Ze())}),rt("/qr_africagua_program.png").then($e=>{Ee&&(b($e),We.africaguaQr=!0,Ze())}).catch($e=>{console.error("Error loading Africagua QR:",$e),Ee&&(We.africaguaQr=!0,Ze())})),()=>{Ee=!1,u&&URL.revokeObjectURL(u),f&&URL.revokeObjectURL(f),m&&URL.revokeObjectURL(m),x&&URL.revokeObjectURL(x),y&&URL.revokeObjectURL(y)}},[t.imageUrl,O]);const ot=Ee=>{var Ve,vt,Tt,Ie,Re;const We=((Ve=Ee.customCredentialData)==null?void 0:Ve.displayName)||Ee.name,Ze=((vt=Ee.customCredentialData)==null?void 0:vt.customCompany)||Ee.company||"",rt=((Tt=Ee.customCredentialData)==null?void 0:Tt.customPosition)||Ee.position||"",$e=((Ie=Ee.customCredentialData)==null?void 0:Ie.showCompany)??!0,Se=((Re=Ee.customCredentialData)==null?void 0:Re.showPosition)??!0;return` 3787 <div style=" 3788 width: 100%; 3789 height: 100%; 3790 font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; 3791 overflow: hidden; 3792 position: relative; 3793 box-shadow: 0 10px 25px rgba(0,0,0,0.2); 3794 border-radius: 12px; 3795 background-color: #f0f9ff; 3796 "> 3797 <!-- Background water image --> 3798 ${m?` 3799 <div style=" 3800 position: absolute; 3801 top: 0; 3802 left: 0; 3803 right: 0; 3804 bottom: 0; 3805 background-image: url('${m}'); 3806 background-size: cover; 3807 background-position: center; 3808 z-index: 0; 3809 "></div> 3810 `:""} 3811 3812 <!-- Overlay gradient --> 3813 <div style=" 3814 position: absolute; 3815 top: 0; 3816 left: 0; 3817 right: 0; 3818 bottom: 0; 3819 background: linear-gradient(180deg, rgba(0, 120, 180, 0.15) 0%, rgba(0, 180, 220, 0.1) 100%); 3820 z-index: 1; 3821 "></div> 3822 3823 <!-- Africagua Logo --> 3824 ${x?` 3825 <div style=" 3826 position: absolute; 3827 top: 16px; 3828 left: 16px; 3829 z-index: 10; 3830 width: 120px; 3831 height: 40px; 3832 background-color: rgba(255, 255, 255, 0.95); 3833 border-radius: 8px; 3834 padding: 4px; 3835 display: flex; 3836 align-items: center; 3837 justify-content: center; 3838 box-shadow: 0 2px 8px rgba(0,0,0,0.15); 3839 "> 3840 <img 3841 src="${x}" 3842 alt="Africagua Canarias" 3843 style="max-width: 100%; max-height: 100%; object-fit: contain;" 3844 /> 3845 </div> 3846 `:""} 3847 3848 <!-- Attendee information --> 3849 <div style=" 3850 position: relative; 3851 z-index: 10; 3852 height: 100%; 3853 display: flex; 3854 flex-direction: column; 3855 justify-content: center; 3856 align-items: center; 3857 padding: 20px; 3858 padding-top: 80px; 3859 padding-bottom: 100px; 3860 "> 3861 <div style=" 3862 text-align: center; 3863 background-color: rgba(0, 0, 0, 0.3); 3864 backdrop-filter: blur(8px); 3865 padding: 24px 20px; 3866 border-radius: 12px; 3867 width: 100%; 3868 max-width: 260px; 3869 box-shadow: 0 4px 12px rgba(0,0,0,0.3); 3870 "> 3871 <div style=" 3872 font-size: 13px; 3873 color: white; 3874 font-weight: 500; 3875 letter-spacing: 2px; 3876 text-transform: uppercase; 3877 margin-bottom: 16px; 3878 text-shadow: 0 2px 4px rgba(0,0,0,0.5); 3879 "> 3880 ASISTENTE 3881 </div> 3882 3883 <div style=" 3884 font-size: 20px; 3885 color: white; 3886 font-weight: 700; 3887 margin-bottom: 14px; 3888 line-height: 1.2; 3889 text-shadow: 0 2px 6px rgba(0,0,0,0.6); 3890 "> 3891 ${We} 3892 </div> 3893 3894 ${$e&&Ze?` 3895 <div style=" 3896 font-size: 15px; 3897 color: white; 3898 margin-bottom: 8px; 3899 font-weight: 500; 3900 text-shadow: 0 2px 4px rgba(0,0,0,0.5); 3901 "> 3902 ${Ze} 3903 </div> 3904 `:""} 3905 3906 ${Se&&rt?` 3907 <div style=" 3908 font-size: 14px; 3909 color: rgba(255, 255, 255, 0.95); 3910 font-style: italic; 3911 text-shadow: 0 2px 4px rgba(0,0,0,0.5); 3912 "> 3913 ${rt} 3914 </div> 3915 `:""} 3916 </div> 3917 </div> 3918 3919 <!-- QR Code --> 3920 ${y?` 3921 <div style=" 3922 position: absolute; 3923 bottom: 16px; 3924 right: 16px; 3925 z-index: 10; 3926 width: 80px; 3927 height: 95px; 3928 background-color: rgba(255, 255, 255, 0.98); 3929 border-radius: 8px; 3930 padding: 6px; 3931 display: flex; 3932 flex-direction: column; 3933 align-items: center; 3934 justify-content: center; 3935 box-shadow: 0 4px 12px rgba(0,0,0,0.25); 3936 "> 3937 <img 3938 src="${y}" 3939 alt="Programa QR" 3940 style="width: 66px; height: 66px; object-fit: contain; margin-bottom: 4px;" 3941 /> 3942 <div style=" 3943 font-size: 9px; 3944 color: #0078b4; 3945 font-weight: 600; 3946 text-transform: lowercase; 3947 text-align: center; 3948 letter-spacing: 0.3px; 3949 "> 3950 ver programa 3951 </div> 3952 </div> 3953 `:""} 3954 </div> 3955 `},De=Ee=>{var Ie,Re,Oe,Ue,Ft;if(O)return ot(Ee);const We=((Ie=Ee.customCredentialData)==null?void 0:Ie.displayName)||Ee.name,Ze=((Re=Ee.customCredentialData)==null?void 0:Re.customCompany)||Ee.company||"",rt=((Oe=Ee.customCredentialData)==null?void 0:Oe.customPosition)||Ee.position||"",$e=((Ue=Ee.customCredentialData)==null?void 0:Ue.showCompany)??!0,Se=((Ft=Ee.customCredentialData)==null?void 0:Ft.showPosition)??!0,Ve=[...t.dates].sort((gt,Kr)=>new Date(gt.date).getTime()-new Date(Kr.date).getTime()),vt=Gr(Ve[0].date),Tt=Gr(Ve[Ve.length-1].date);return` 3956 <div style=" 3957 width: 100%; 3958 height: 100%; 3959 font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; 3960 overflow: hidden; 3961 position: relative; 3962 box-shadow: 0 10px 25px rgba(0,0,0,0.1); 3963 border-radius: ${be}px; 3964 border: ${de}px ${J} ${j}; 3965 ">
3966 <!-- Background pattern --> 3967 <div style="position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(${Me}deg, ${j}0D 0%, ${P}03 100%); z-index: 0; overflow: hidden;"> 3968 <div style="position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(ellipse at center, ${j}0D 0%, ${P}00 70%); z-index: 0;"></div> 3969 </div> 3970 3971 <!-- Header with registration number --> 3972 <div style="position: relative; z-index: 10; background: linear-gradient(${Me}deg, ${j} 0%, ${P} 100%); color: white; padding: 10px 12px; border-radius: ${be}px ${be}px 0 0; box-shadow: 0 2px 10px ${j}33;"> 3973 <div style="display: flex; justify-content: space-between; align-items: center;"> 3974 <div style="font-size: ${R==="small"?"8px":R==="large"?"12px":"10px"}; opacity: 0.9; letter-spacing: 0.5px; text-transform: uppercase; font-weight: 500;"> 3975 Credencial 3976 </div> 3977 <div style="font-size: ${R==="small"?"16px":R==="large"?"20px":"18px"}; font-weight: 700; letter-spacing: 0.5px;"> 3978 Nº ${Ee.registrationNumber} 3979 </div> 3980 </div> 3981 <div style="font-size: ${R==="small"?"6px":R==="large"?"10px":"8px"}; opacity: 0.7; margin-top: 2px; letter-spacing: 0.3px;"> 3982 ID: ${Ee.id.substring(0,8)}... 3983 </div> 3984 </div> 3985 3986 <!-- Logo/Image section --> 3987 ${te&&u?` 3988 <div style="position: relative; z-index: 10; width: 100%; height: 64px; background: white; display: flex; align-items: center; justify-content: center; overflow: hidden; border-bottom: 1px solid rgba(0,0,0,0.05);"> 3989 <div style="width: 100%; height: 100%; position: relative; display: flex; align-items: center; justify-content: center; padding: 8px;"> 3990 <img 3991 src="${u}" 3992 alt="${t.title}" 3993 style="max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));" 3994 /> 3995 </div> 3996 </div> 3997 `:""} 3998 3999 <!-- Attendee information --> 4000 <div style="position: relative; z-index: 10; flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 12px; background: white;"> 4001 <div style="text-align: center;"> 4002 <div style="display: flex; align-items: center; justify-content: center; gap: 6px; margin-bottom: 6px;"> 4003 <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="${j}" stroke-width="2" style="flex-shrink: 0;"> 4004 <path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"></path> 4005 <circle cx="12" cy="7" r="4"></circle> 4006 </svg> 4007 <span style="font-weight: 600; font-size: ${R==="small"?"11px":R==="large"?"15px":"13px"}; color: #333; letter-spacing: 0.2px; line-height: 1.3;">${We}</span> 4008 </div> 4009 4010 ${$e&&Ze?` 4011 <div style="display: flex; align-items: center; justify-content: center; gap: 6px; margin-bottom: 5px;"> 4012 <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="${j}" stroke-width="2" style="flex-shrink: 0; opacity: 0.8;"> 4013 <rect x="2" y="3" width="20" height="14" rx="2" ry="2"></rect> 4014 <path d="M12 21V17"></path> 4015 <path d="M8 21h8"></path> 4016 </svg> 4017 <span style="font-size: ${R==="small"?"10px":R==="large"?"14px":"12px"}; color: #555; letter-spacing: 0.2px;">${Ze}</span> 4018 </div> 4019 `:""} 4020 4021 ${Se&&rt?` 4022 <div style="display: flex; align-items: center; justify-content: center; gap: 6px;"> 4023 <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="${j}" stroke-width="2" style="flex-shrink: 0; opacity: 0.8;"> 4024 <rect x="2" y="7" width="20" height="14" rx="2" ry="2"></rect> 4025 <path d="M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16"></path> 4026 </svg> 4027 <span style="font-size: ${R==="small"?"10px":R==="large"?"14px":"12px"}; color: #555; font-style: italic; letter-spacing: 0.2px;">${rt}</span> 4028 </div> 4029 `:""} 4030 </div> 4031 </div> 4032 4033 <!-- Event information footer --> 4034 ${ce?` 4035 <div style="position: relative; z-index: 10; background: linear-gradient(${Me}deg, ${j} 0%, ${P} 100%); color: white; padding: 12px; border-radius: 0 0 ${be}px ${be}px; box-shadow: 0 -2px 10px ${j}33;"> 4036 <h3 style="font-size: ${R==="small"?"9px":R==="large"?"13px":"11px"}; font-weight: 600; margin-bottom: 8px; line-height: 1.3; text-align: center; letter-spacing: 0.3px; text-shadow: 0 1px 2px rgba(0,0,0,0.1);"> 4037 ${t.title} 4038 </h3> 4039 <div style="display: flex; flex-direction: column; gap: 4px;"> 4040 <div style="display: flex; align-items: center; justify-content: center; gap: 6px; font-size: ${R==="small"?"7px":R==="large"?"11px":"9px"};
4040 opacity: 0.9;"> 4041 <svg width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"> 4042 <rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect> 4043 <line x1="16" y1="2" x2="16" y2="6"></line> 4044 <line x1="8" y1="2" x2="8" y2="6"></line> 4045 <line x1="3" y1="10" x2="21" y2="10"></line> 4046 </svg> 4047 <span style="letter-spacing: 0.2px;"> 4048 ${Ve.length>1?`Del ${St(vt,"d 'de' MMMM",{locale:er})} al ${St(Tt,"d 'de' MMMM 'de' yyyy",{locale:er})}`:St(vt,"d 'de' MMMM 'de' yyyy",{locale:er})} 4049 </span> 4050 </div> 4051 <div style="display: flex; align-items: center; justify-content: center; gap: 6px; font-size: ${R==="small"?"7px":R==="large"?"11px":"9px"}; opacity: 0.9;"> 4052 <svg width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"> 4053 <circle cx="12" cy="12" r="10"></circle> 4054 <polyline points="12 6 12 12 16 14"></polyline> 4055 </svg> 4056 <span style="letter-spacing: 0.2px;"> 4057 ${Ve[0].startTime} hrs 4058 ${Ve[0].endTime?` - ${Ve[0].endTime} hrs`:""} 4059 </span> 4060 </div> 4061 ${Ve.length>1?` 4062 <div style="font-size: ${R==="small"?"6px":R==="large"?"10px":"8px"}; opacity: 0.8; text-align: center; margin-top: 2px;"> 4063 ${Ve.map((gt,Kr)=>` 4064 ${St(Gr(gt.date),"d 'de' MMMM",{locale:er})}: ${gt.startTime}${gt.endTime?` - ${gt.endTime}`:""} hrs 4065 `).join(" ⢠")} 4066 </div> 4067 `:""} 4068 </div> 4069 </div> 4070 `:""} 4071 4072 <!-- Logo y texto legal --> 4073 ${F?` 4074 <div style="position: absolute; z-index: 20; bottom: 80px; left: 0; right: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 10px;"> 4075 <div style="width: 120px; height: 50px; display: flex; align-items: center; justify-content: center; margin-bottom: 5px;"> 4076 ${f?` 4077 <img 4078 src="${f}" 4079 alt="Cámara de Comercio de Fuerteventura" 4080 style="max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain;" 4081 /> 4082 `:` 4083 <div style="width: 120px; height: 50px; background: #f3f4f6; display: flex; align-items: center; justify-content: center; font-size: 10px; color: #666;"> 4084 Cámara 4085 </div> 4086 `} 4087 </div> 4088 <p style="font-size: 6px; text-align: center; color: #444; margin: 0; line-height: 1.2; font-weight: 500; max-width: 200px;"> 4089 Credencial autogenerada por el programa de eventos de la Cámara oficial de Comercio, Industria y Navegación de Fuerteventura, en acuerdo con la ley de protección de datos previamente aceptado por el usuario al registrarse. 4090 </p> 4091 </div> 4092 `:""} 4093 </div> 4094 `},oe=async Ee=>{const We=document.createElement("div");We.style.width=`${E.width}mm`,We.style.height=`${E.height}mm`,We.style.position="absolute",We.style.left="-9999px",We.innerHTML=De(Ee),document.body.appendChild(We);const Ze=await HV(We,{scale:4,useCORS:!0,allowTaint:!0,backgroundColor:"#ffffff",width:E.width*lR,height:E.height*lR});return document.body.removeChild(We),Ze},Ke=Z.useMemo(()=>c?De(B[0]):"",[c,B,u,f,m,x,y,j,P,Me,R,J,de,be,te,ce,F,O,t]),dt=async()=>{if(!s){o(!0);try{const Ee=new zt({orientation:"portrait",unit:"mm",format:"a4"}),We=210,Ze=297,rt=15,$e=15,Se=10,Ve=10,vt=2,Tt=2,Ie=vt*Tt,Re=(We-2*rt-Se)/vt,Oe=(Ze-2*$e-Ve)/Tt;for(let Ue=0;Ue<B.length;Ue++){Ue>0&&Ue%Ie===0&&Ee.addPage();const gt=(await oe(B[Ue])).toDataURL("image/jpeg",1),Kr=Ue%Ie%vt,Dt=Math.floor(Ue%Ie/vt),yr=rt+Kr*(Re+Se),Kn=$e+Dt*(Oe+Ve);Ee.addImage(gt,"JPEG",yr,Kn,Re,Oe,void 0,"FAST")}if(S==="print"){Ee.autoPrint();const Ue=Ee.output("blob"),Ft=URL.createObjectURL(Ue),gt=window.open(Ft);gt&&(gt.onload=()=>{gt.print(),URL.revokeObjectURL(Ft)})}else Ee.save(`credenciales_${t.title.toLowerCase().replace(/\s+/g,"_")}.pdf`)}catch(Ee){console.error("Error generando credenciales:",Ee)}finally{o(!1)}}};return l.jsx("div",{className:"fixed inset-0 bg-black bg-opacity-50 z-50 flex items-center justify-center p-4",children:l.jsx("div",{className:"bg-white rounded-lg shadow-xl w-full max-w-6xl max-h-[95vh] overflow-hidden",children:l.jsxs("div",{className:"p-4 flex flex-col h-full",children:[l.jsxs("div",{className:"flex justify-between items-center mb-3",children:[l.jsx("h2",{className:"text-2xl font-bold text-gray-900",children:B.length>1?`Credenciales (${B.length})`:"Credencial del Evento"}),l.jsx("button",{onClick:r,className:"text-gray-500 hover:text-gray-700 transition-colors p-2",children:l.jsx(vi,{className:"w-6 h-6"})})]}),l.jsxs("div",{className:"flex-1 overflow-hidden flex gap-6",children:[n?l.jsxs("div",{className:"w-[320px] flex-shrink-0 overflow-y-auto pr-4 space-y-3",children:[l.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[l.jsxs("div",{children:[l.jsx("label",{className:"block text-xs font-medium text-gray-700 mb-1",children:"Color principal"}),l.jsxs("div",{className:"relative",children:[l.jsxs("button",{className:"w-full h-8 rounded border flex items-center px-2 gap-1 text-sm",onClick:()=>{le(!K),fe(!1)},style:{backgroundColor:j,color:"white"},children:[l.jsx("div",{className:"w-4 h-4 rounded border",style:{backgroundColor:j}}),l.jsx("span",{className:"truncate",children:"Principal"})]}),K&&l.jsx("div",{className:"absolute z-10 mt-1",children:l.jsx(Gb,{color:j,onChange:T})})]})]}),l.jsxs("div",{children:[l.jsx("label",{className:"block text-xs font-medium text-gray-700 mb-1",children:"Color secundario"}),l.jsxs("div",{className:"relative",children:[l.jsxs("button",{className:"w-full h-8 rounded border flex items-center px-2 gap-1 text-sm",onClick:()=>{fe(!ne),le(!1)},style:{backgroundColor:P,color:"white"},children:[l.jsx("div",{className:"w-4 h-4 rounded border",style:{backgroundColor:P}}),l.jsx("span",{className:"truncate",children:"Secundario"})]}),ne&&l.jsx("div",{className:"absolute z-10 mt-1",children:l.jsx(Gb,{color:P,onChange:L})})]})]})]}),l.jsxs("div",{children:[l.jsxs("label",{className:"block text-xs font-medium text-gray-700 mb-1",children:["Orientación del gradiente (",Me,"°)"]}),l.jsx("input",{type:"range",min:"0",max:"360",value:Me,onChange:Ee=>Xe(parseInt(Ee.target.value)),className:"w-full h-1.5"}),l.jsx("div",{className:"grid grid-cols-4 gap-1 mt-1",children:[0,45,90,135,180,225,270,315].map(Ee=>l.jsxs("button",{onClick:()=>Xe(Ee),className:`px-1 py-0.5 text-[10px] rounded ${Me===Ee?"bg-[#CF163D] text-white":"bg-gray-100 text-gray-700 hover:bg-gray-200"}`,children:[Ee,"°"]},Ee))})]}),l.jsxs("div",{children:[l.jsx("label",{className:"block text-xs font-medium text-gray-700 mb-1",children:"Tamaño del texto"}),l.jsxs("select",{value:R,onChange:Ee=>M(Ee.target.value),className:"w-full px-2 py-1 border rounded-md text-sm",children:[l.jsx("option",{value:"small",children:"Pequeño"}),l.jsx("option",{value:"normal",children:"Normal"}),l.jsx("option",{value:"large",children:"Grande"})]})]}),l.jsxs("div",{children:[l.jsx("label",{className:"block text-xs font-medium text-gray-700 mb-1",children:"Estilo del borde"}),l.jsxs("select",{value:J,onChange:Ee=>ue(Ee.target.value),className:"w-full px-2 py-1 border rounded-md text-sm",children:[l.jsx("option",{value:"solid",children:"Sólido"}),l.jsx("option",{value:"dashed",children:"Discontinuo"}),l.jsx("option",{value:"dotted",children:"Punteado"}),l.jsx("option",{value:"double",children:"Doble"})]})]}),l.jsxs("div",{children:[l.jsxs("label",{className:"block text-xs font-medium text-gray-700 mb-1",children:["Grosor del borde (",de,"px)"]}),l.jsx("input",{type:"range",min:"0",max:"5",value:de,onChange:Ee=>pe(parseInt(Ee.target.value)),className:"w-full h-1.5"})]}),l.jsxs("div",{children:[l.jsxs("label",{className:"block text-xs font-medium text-gray-700 mb-1",children:["Redondeo de esquinas (",be,"px)"]}),l.jsx("input",{type:"range",min:"0",max:"20",value:be,onChange:Ee=>Qe(parseInt(Ee.target.value)),className:"w-full h-1.5"})]}),l.jsxs("div",{className:"space-y-1.5 pt-2 border-t",children:[l.jsxs("label",{className:"flex items-center gap-2",children:[l.jsx("input",{type:"checkbox",checked:te,onChange:Ee=>he(Ee.target.checked),className:"rounded text-[#CF163D]"}),l.jsx("span",{className:"text-sm",children:"Mostrar imagen del evento"})]}),l.jsxs("label",{className:"flex items-center gap-2",children:[l.jsx("input",{type:"checkbox",checked:ce,onChange:Ee=>Ne(Ee.target.checked),className:"rounded text-[#CF163D]"}),l.jsx("span",{className:"text-sm",children:"Mostrar pie de credencial"})]}),l.jsxs("label",{className:"flex items-center gap-2",children:[l.jsx("input",{type:"checkbox",checked:F,onChange:Ee=>U(Ee.target.checked),className:"rounded text-[#CF163D]"}),l.jsx("span",{className:"text-sm",children:"Mostrar logo y texto legal"})]})]}),l.jsxs("div",{className:"pt-2 border-t sticky bottom-0 bg-white pb-2 -mx-4 px-4 shadow-[0_-4px_6px_-1px_rgba(0,0,0,0.1)]",children:[l.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-1.5",children:"Modo de impresión"}),l.jsxs("div",{className:"space-y-1.5",children:[l.jsxs("label",{className:"flex items-center",children:[l.jsx("input",{type:"radio",checked:S==="download",onChange:()=>I("download"),className:"text-primary focus:ring-primary"}),l.jsx("span",{className:"ml-2 text-sm",children:"Descargar PDF"})]}),l.jsxs("label",{className:"flex items-center",children:[l.jsx("input",{type:"radio",checked:S==="print",onCh
4094ange:()=>I("print"),className:"text-primary focus:ring-primary"}),l.jsx("span",{className:"ml-2 text-sm",children:"Imprimir directamente"})]})]}),l.jsx("button",{onClick:dt,disabled:s||!c,className:"w-full mt-2 flex items-center justify-center gap-2 bg-primary text-white px-4 py-2.5 rounded-md hover:bg-primary-dark transition duration-200 disabled:opacity-50 font-medium",children:c?s?l.jsxs(l.Fragment,{children:[l.jsx("div",{className:"animate-spin rounded-full h-5 w-5 border-b-2 border-white"}),l.jsx("span",{children:"Procesando..."})]}):l.jsxs(l.Fragment,{children:[S==="print"?l.jsx(gS,{className:"w-5 h-5"}):l.jsx(Xa,{className:"w-5 h-5"}),l.jsxs("span",{children:[S==="print"?"Imprimir":"Descargar PDF",B.length>1?` (${B.length})`:""]})]}):l.jsxs(l.Fragment,{children:[l.jsx("div",{className:"animate-spin rounded-full h-5 w-5 border-b-2 border-white"}),l.jsx("span",{children:"Cargando imágenes..."})]})})]})]}):l.jsxs("div",{className:"w-[320px] flex-shrink-0",children:[l.jsx("p",{className:"text-gray-600 mb-4",children:"Tu credencial está lista. Puedes descargarla en PDF o imprimirla directamente."}),l.jsxs("div",{className:"space-y-4",children:[l.jsxs("div",{className:"space-y-2",children:[l.jsxs("label",{className:"flex items-center",children:[l.jsx("input",{type:"radio",checked:S==="download",onChange:()=>I("download"),className:"text-primary focus:ring-primary"}),l.jsx("span",{className:"ml-2",children:"Descargar PDF"})]}),l.jsxs("label",{className:"flex items-center",children:[l.jsx("input",{type:"radio",checked:S==="print",onChange:()=>I("print"),className:"text-primary focus:ring-primary"}),l.jsx("span",{className:"ml-2",children:"Imprimir directamente"})]})]}),l.jsx("button",{onClick:dt,disabled:s||!c,className:"w-full flex items-center justify-center gap-2 bg-primary text-white px-4 py-3 rounded-md hover:bg-primary-dark transition duration-200 disabled:opacity-50",children:c?s?l.jsxs(l.Fragment,{children:[l.jsx("div",{className:"animate-spin rounded-full h-5 w-5 border-b-2 border-white"}),l.jsx("span",{children:"Procesando..."})]}):l.jsxs(l.Fragment,{children:[S==="print"?l.jsx(gS,{className:"w-5 h-5"}):l.jsx(Xa,{className:"w-5 h-5"}),l.jsx("span",{children:S==="print"?"Imprimir":"Descargar PDF"})]}):l.jsxs(l.Fragment,{children:[l.jsx("div",{className:"animate-spin rounded-full h-5 w-5 border-b-2 border-white"}),l.jsx("span",{children:"Cargando imágenes..."})]})})]})]}),l.jsxs("div",{className:"flex-1 bg-gray-100 p-4 rounded-lg overflow-y-auto",children:[l.jsx("div",{className:"text-sm text-gray-600 mb-4",children:"Vista previa:"}),c?l.jsx("div",{ref:_,className:"mx-auto",style:{width:`${E.width}mm`,maxWidth:"100%",aspectRatio:`${E.width} / ${E.height}`},dangerouslySetInnerHTML:{__html:Ke}}):l.jsxs("div",{className:"flex flex-col items-center justify-center h-64 text-gray-500",children:[l.jsx("div",{className:"animate-spin rounded-full h-12 w-12 border-b-2 border-primary mb-4"}),l.jsx("p",{className:"text-sm",children:"Cargando imágenes..."})]})]})]})]})})})},jwe=`POLÃTICA DE PRIVACIDAD 4095 4096La PolÃtica de Privacidad forma parte de las Condiciones Generales que rigen la presente Web. 4097 4098¿Quién es el responsable del tratamiento de tus datos? 4099 4100CÃMARA OFICIAL DE COMERCIO, INDUSTRIA, SERVICIOS Y NAVEGACIÃN DE FUERTEVENTURA 4101CIF: Q3500374H 4102Domicilio: C/ Secundino Alonso nº 98, 1º planta, Puerto del Rosario, 35600, Fuerteventura. 4103Tfno: 928861070 4104Delegado de protección de datos: [email protected] 4105 4106Puedes dirigirte de cualquier forma para comunicarte con nosotros. 4107Nos reservamos el derecho a modificar o adaptar la presente PolÃtica de Privacidad en cualquier momento. Te recomendamos revisar la misma, y si te has registrado y accedes a tu cuenta o perfil, se te informará de las modificaciones. 4108 4109+ CLIENTES 4110¿Con que finalidades vamos a tratar tus datos personales? 4111⢠Elaboración del presupuesto y seguimiento de este mediante comunicaciones entre ambas partes. 4112⢠Información por medios electrónicos, que versen sobre tu solicitud. 4113⢠Información comercial o de eventos por medios electrónicos, siempre que exista autorización expresa. 4114⢠Gestionar los servicios administrativos, de comunicaciones y de logÃstica realizados por el Responsable. 4115⢠Facturación y declaración de los impuestos oportunos. 4116⢠Realizar las transacciones que correspondan. 4117⢠Gestiones de control y recobro. 4118 4119¿Cuál es la legitimación para el tratamiento de tus datos?
4120La base legal es la ejecución de un contrato o la aplicación de medidas precontractuales a petición tuya, asà como tu consentimiento expreso para las comunicaciones comerciales que hayas autorizado. 4121¿Durante cuánto tiempo vamos a mantener los datos personales? 4122Durante la vigencia de la relación contractual y, posteriormente, durante los plazos de prescripción legal aplicables. 4123 4124+ CONTACTOS DE LA WEB O DEL CORREO ELECTRÃNICO 4125¿Qué datos recopilamos a través de la Web? 4126Podemos tratar tu IP, qué sistema operativo o navegador usas, e incluso la duración de tu visita, de forma anónima. 4127Si nos facilitas datos en el formulario de contacto, te identificarás para poder contactar contigo, en caso de que sea necesario. 4128¿Con que finalidades vamos a tratar sus datos personales? 4129⢠Contestar a tus consultas, solicitudes o peticiones. 4130⢠Gestionar el servicio solicitado, contestar tu solicitud, o tramitar tu petición. 4131⢠Información por medios electrónicos, que versen sobre tu solicitud. 4132⢠Información comercial o de eventos por medios electrónicos, siempre que exista autorización expresa. 4133⢠Realizar análisis y mejoras en la Web, sobre nuestros productos y servicios. Mejorar nuestra estrategia comercial. 4134¿Cuál es la legitimación para el tratamiento de tus datos? 4135La aceptación y consentimiento del interesado, otorgado a través de una acción voluntaria, como en los casos donde para realizar una solicitud sea necesario cumplimentar un formulario y hacer un "click" en el botón de enviar, la realización del mismo implicará necesariamente que ha sido informado y ha otorgado expresamente su consentimiento al contenido de la cláusula anexada a dicho formulario o aceptación de la polÃtica de privacidad. 4136Todos nuestros formularios cuentan con el sÃmbolo * en los datos obligatorios. Si no facilitas esos campos, o no marcas el checkbox de aceptación de la polÃtica de privacidad, no se permitirá el envÃo de la información. 4137 4138¿Durante cuánto tiempo vamos a mantener los datos personales? 4139Hasta la revocación del consentimiento otorgado. 4140 4141+ VIVERO DE EMPRESAS 4142¿Con que finalidades vamos a tratar tus datos personales? 4143⢠Gestionar la reserva de su solicitud. 4144⢠Información por medios electrónicos, que versen sobre tu solicitud. 4145⢠Información comercial o de eventos por medios electrónicos, siempre que exista autorización expresa. 4146⢠Gestionar los servicios administrativos, de comunicaciones y de logÃstica realizados por el Responsable. 4147⢠Facturación y declaración de los impuestos oportunos. 4148⢠Realizar las transacciones que correspondan. 4149⢠Gestiones de control y recobro. 4150 4151¿Cuál es la legitimación para el tratamiento de tus datos? 4152La base legal es la ejecución de un contrato o la aplicación de medidas precontractuales a petición tuya, asà como tu consentimiento expreso para las comunicaciones comerciales que hayas autorizado. 4153¿Durante cuánto tiempo vamos a mantener los datos personales? 4154Durante la vigencia de la relación contractual y, posteriormente, durante los plazos de prescripción legal aplicables. 4155 4156+ CONTACTOS DE NEWSLETTER, COMUNICACIONES INFORMATIVAS Y COMERCIALES 4157¿Qué datos tratamos en el envÃo de comunicaciones informativas? 4158Si está vinculado con nosotros por una relación contractual previa o si nos ha dado su consentimiento, podremos enviarle comunicaciones informativas a través de correo electrónico, sms y otras vÃas electrónicas de comunicación, sobre actividades, eventos, servicios y productos propios y de otras empresas de la isla, de acuerdo con las funciones de promoción comercial de productos, bienes y servicios de empresas que tiene esta entidad. 4159Almacenaremos únicamente su email y número de teléfono en nuestra base de datos, y procederemos a enviarle mensajes periódicamente, hasta que solicite la baja, o dejemos de enviar mensajes. 4160Siempre tendrá la opción de darse de baja, en cualquier comunicación. 4161¿Con que finalidades vamos a tratar tus datos personales? 4162⢠Información por medios electrónicos, que versen sobre su solicitud. 4163⢠Información informativa, comercial o de eventos por medios electrónicos. 4164⢠Realizar análisis y mejoras en el envÃo de mailing, para mejorar nuestra estrategia comercial. 4165¿Cuál es la legitimación para el tratamiento de sus datos? 4166La legitimación es el consentimiento expreso. 4167 4168+ ENCUESTAS DE CALIDAD 4169¿Con que finalidades vamos a tratar sus datos personales?
4170⢠Valorar el grado de calidad en el servicio dispensado. 4171⢠Mejorar los servicios ofrecidos. 4172¿Cuál es la legitimación para el tratamiento de tus datos? 4173La legitimación es exclusivamente el consentimiento expreso. 4174¿Durante cuánto tiempo vamos a mantener los datos personales? 4175Los datos se conservarán mientras dure el tratamiento y, una vez finalizado, durante los plazos legales de conservación aplicables. 4176 4177+ PROVEEDORES 4178¿Con que finalidades vamos a tratar tus datos personales? 4179⢠Información por medios electrónicos, que versen sobre tu solicitud. 4180⢠Información comercial o de eventos por medios electrónicos, siempre que exista autorización expresa. 4181⢠Gestionar los servicios administrativos, de comunicaciones y de logÃstica realizados por el Responsable. 4182⢠Facturación. 4183⢠Realizar las transacciones que correspondan. 4184⢠Facturación y declaración de los impuestos oportunos. 4185⢠Gestiones de control y recobro. 4186¿Cuál es la legitimación para el tratamiento de tus datos? 4187La base legal es la aceptación de una relación contractual, o en su defecto tu consentimiento al contactar con nosotros u ofrecernos sus productos por alguna vÃa. 4188¿Durante cuánto tiempo vamos a mantener los datos personales? 4189Durante la vigencia de las relaciones entre las partes y por los plazos de prescripción derivados de las mismas. 4190 4191+ CONTACTOS REDES SOCIALES 4192¿Con que finalidades vamos a tratar tus datos personales? 4193⢠Contestar a sus consultas, solicitudes o peticiones. 4194⢠Gestionar el servicio solicitado, contestar su solicitud, o tramitar su petición. 4195⢠Relacionarnos con usted y crear una comunidad de seguidores. 4196¿Cuál es la legitimación para el tratamiento de tus datos? 4197Las bases que legitiman el tratamiento es el consentimiento del interesado de ponerse en contacto y, en su caso, la aceptación de una relación contractual en el entorno de la red social que corresponda. El tratamiento de los datos dentro de la Red Social se realizará conforme a sus polÃticas de Privacidad. 4198¿Durante cuánto tiempo vamos a mantener los datos personales? 4199Sólo podemos consultar o dar de baja sus datos de forma restringida al tener un perfil especÃfico. Los trataremos tanto tiempo como usted nos lo permita siguiéndonos, siendo amigos o dándole a "me gusta", "seguir" o botones similares. 4200Cualquier rectificación de sus datos o restricción de información o de publicaciones debe realizarla a través de la configuración de su perfil o usuario en la propia red social. 4201 4202+ SERVICIO DE AGENCIA DE COLOCACIÃN DE EMPLEO 4203¿Con que finalidades vamos a tratar tus datos personales? 4204Trataremos sus datos con la finalidad de ofrecerle nuestro servicio de intermediación laboral entre las ofertas y demandas de trabajo y, asÃ, ponerle en contacto con empresas que están buscando contratar. 4205¿Cuál es la legitimación para el tratamiento de sus datos? 4206La base legal es su consentimiento inequÃvoco al realizar los trámites correspondientes. 4207¿A quién comunicaremos sus datos personales? 4208Comunicaremos sus datos al Servicio Público de Empleo Estatal y los Servicios Públicos de la Comunidad Autónoma. También comunicaremos tus datos a aquellas empresas que estén buscando trabajadores para ayudarte a conseguir empleo. 4209 4210+ BOLSA DE EMPLEO 4211¿Con qué finalidades vamos a tratar tus datos personales? 4212⢠Incorporar tus datos personales y la documentación que aportes a la Bolsa de Empleo de la Cámara Oficial de Comercio, Industria, Servicios y Navegación de Fuerteventura. 4213⢠Organizar los procesos de selección de personal propios de la Cámara. 4214⢠Concertar entrevistas y evaluar tu candidatura cuando te inscribas en una oferta publicada por la Cámara. 4215⢠Remitirte comunicaciones sobre ofertas de empleo y cursos de formación ajustados a los intereses que nos hayas indicado. 4216⢠Verificar, cuando proceda, las referencias profesionales o la documentación acreditativa que aportes. 4217¿Cuál es la legitimación para el tratamiento de tus datos? 4218La base jurÃdica es tu consentimiento, manifestado al inscribirse en la Bolsa de Empleo con el marcado de la casilla de aceptación y envÃo del formulario. 4219¿Durante cuánto tiempo vamos a mantener tus datos personales? 4220Se conservarán mientras no se revoque el consentimiento. Podrán actualizar o eliminar en cualquier momento accedie
4220ndo a tu perfil con el usuario y contraseña facilitados en la inscripción. Una vez revocado el consentimiento, los datos quedarán bloqueados durante los plazos legalmente exigidos, procediendo después a su destrucción segura. 4221¿A quién comunicaremos sus datos personales? 4222No cedemos tus datos a empresas ni organismos externos que busquen perfiles candidatos: la Bolsa de Empleo es de uso exclusivo de la Cámara. 4223 4224+ ACTIVIDADES FORMATIVAS 4225¿Con que finalidades vamos a tratar tus datos personales? 4226⢠Gestionar su participación en el correspondiente curso o formación. 4227⢠Trámites administrativos de cobro de la actividad cuando esta no sea gratuita. 4228⢠Emisión del correspondiente diploma en su caso. 4229¿Cuál es la legitimación para el tratamiento de sus datos? 4230La base legal para el tratamiento de sus datos es su consentimiento al realizar la inscripción en el curso o actividad formativa. 4231¿A quién comunicaremos sus datos personales? 4232En algunos casos, colaboramos con Administraciones o Entidades Públicas para la impartición de la formación, por lo que es posible que tengamos que comunicarles datos personales de los participantes. 4233 4234+ TALLERES, SEMINARIOS, JORNADAS Y OTROS EVENTOS INFORMATIVOS 4235¿Con que finalidades vamos a tratar tus datos personales? 4236⢠Gestionar tu participación en el evento. 4237⢠En su caso, proporcionarte el certificado de asistencia. 4238⢠Trámites administrativos de cobro de la actividad cuando esta no sea gratuita. 4239⢠Para el acceso al evento B2B se realizará a través del enlace https://africagua-water-and-renewable-energy.b2.match.io/signup y podrá acceder con el usuario registrado o sus claves de usuario de Google o LinkedIn. 4240¿Cuál es la legitimación para el tratamiento de tus datos? 4241La base legal para el tratamiento de sus datos es su consentimiento al realizar la inscripción en el taller, seminario, jornada o evento. 4242 4243+ CANAL ÃTICO 4244¿Qué datos recopilamos a través del Canal Ãtico? 4245En caso de identificarse podremos recabar: nombre, apellido, email, teléfono y los datos personales de tercero/s que nos proporcione en la comunicación. 4246¿Con qué finalidades vamos a tratar sus datos personales? 4247⢠Gestionar las comunicaciones 4248⢠Adoptar las medidas correctivas correspondientes y, 4249⢠En caso de ser necesario, informarle sobre el resultado del procedimiento. 4250¿Cuál es la legitimación para el tratamiento de tus datos? 4251La base legal es la obligación legal o, en su defecto, el interés público. 4252¿Durante cuánto tiempo vamos a mantener los datos personales? 4253Los datos se conservarán durante el tiempo necesario para investigar y resolver la comunicación recibida procediendo después a su supresión o anonimización salvo que deban conservarse como prueba en un procedimiento judicial o administrativo. 4254 4255+ DEMANDANTES DE EMPLEO 4256¿Con que finalidades vamos a tratar tus datos personales? 4257⢠Organización de procesos de selección para la contratación de empleados. 4258⢠Citarte para entrevistas de trabajo y evaluar tu candidatura. 4259⢠Si nos has dado tu consentimiento, se lo podremos ceder a empresas colaboradoras o afines, con el único objetivo de ayudarte a encontrar empleo. 4260⢠Si nos das tu consentimiento, cederemos tu solicitud de empleo a las entidades que soliciten personal con tu perfil. 4261Asimismo, te comunicamos que transcurrido un año desde la recepción de tu currÃculum vitae, procederemos a su destrucción segura. 4262¿Cuál es la legitimación para el tratamiento de tus datos? 4263La base legal, si presentas tu CV como candidatura espontánea, es tu consentimiento inequÃvoco, al enviarnos tu CV. Si estás en un proceso de selección lanzado por esta entidad y al que estás aplicando, la base jurÃdica es la ejecución de acciones precontractuales. 4264¿Durante cuánto tiempo vamos a mantener los datos personales? 4265Si aporta un CV para un puesto vacante publicado, tus datos serán tratados en marco del proceso de selección de dicha vacante y lo eliminaremos al finalizar el proceso si no ha sido escogido. 4266Si aporta un CV en un buzón de candidaturas espontáneas o nuestro apartado de "trabaja con nosotros", conservaremos sus datos por el plazo de un año en base al consentimiento del interesado. 4267 4268+ PROCESO ELECTORAL 4269¿Con que finalidades vamos a tratar tus datos personales? 4270Trataremos los datos personales con la finalidad de gestión del del proceso electoral (gestión de candidatos, avalistas, miembros de la Junta
4270Electoral, voto por correo). 4271¿Cuál es la legitimación para el tratamiento de sus datos? 4272La base legal para los tratamientos indicados con anterioridad es una obligación legal aplicable al responsable del tratamiento. Al respecto, debemos mencionar las siguientes normas: 4273Ley 4/2014, de 1 de abril, Básica de las Cámaras Oficiales de Comercio, Industria, Servicios y Navegación. 4274Real Decreto 669/2015, de 17 de julio, por el que se desarrolla la Ley 4/2014, de 1 de abril, Básica de las Cámaras Oficiales de Comercio, Industria, Servicios y Navegación. 4275Ley 10/2019, de 25 de abril, de Cámaras Oficiales de Comercio, Industria, Servicios y Navegación de Canarias. 4276¿Durante cuánto tiempo vamos a mantener los datos personales? 4277Los datos se conservarán durante la duración del proceso electoral y, posteriormente, durante los plazos de conservación e impugnación que establezca la normativa electoral aplicable. 4278 4279¿Realizaremos comunicaciones por medios electrónicos? 4280Sólo se realizarán para gestionar tu solicitud, si es uno de los medios de contacto que nos ha facilitado. Si realizamos comunicaciones comerciales habrán sido previa y expresamente autorizadas por ti. 4281 4282¿Qué medidas de seguridad aplicamos? 4283Hemos adoptado un nivel óptimo de protección de los Datos Personales que manejamos, y hemos instalado todos los medios y medidas técnicas a nuestra disposición según el estado de la tecnologÃa para evitar la pérdida, mal uso, alteración, acceso no autorizado y robo de los Datos Personales. 4284En caso de compra o pago, si eliges alguna aplicación, web, plataforma, tarjeta bancaria, o algún otro servicio online, tus datos se cederán a esa plataforma o se tratarán en su entorno, siempre con la máxima seguridad. 4285Cuando se lo ordenemos, tendrán acceso a nuestra web la empresa de desarrollo y mantenimiento web, alojamiento web/hosting. Las mismas tendrán firmado un contrato de prestación de servicios que les obliga a mantener el mismo nivel de privacidad que nosotros. 4286Tus datos no se cederán a terceros, salvo obligación legal. En concreto se comunicarán a la Agencia Estatal de la Administración Tributaria y a bancos y entidades financieras para el cobro del servicio prestado o producto adquirido, como a las personas u entidades encargadas del tratamiento necesarias para la ejecución del acuerdo. 4287Podrán realizarse transferencias internacionales de datos al usarse aplicaciones americanas, no obstante, dichas transferencias se realizarán a las entidades que hayan demostrado que cumplen con el nivel de protección y garantÃas de acuerdo con los parámetros y exigencias previstas en la normativa vigente en materia de protección de datos, como el Reglamento Europeo, o cuando exista una habilitación legal para realizar la transferencia internacional. 4288 4289¿Qué Derechos tienes? 4290⢠A saber si estamos tratando tus datos o no. 4291⢠A acceder a tus datos personales. 4292⢠A solicitar la rectificación de tus datos si son inexactos. 4293⢠A solicitar la supresión de tus datos si ya no son necesarios para los fines para los que fueron recogidos o si nos retiras el consentimiento otorgado. 4294⢠A solicitar la limitación del tratamiento de sus datos, en algunos supuestos, en cuyo caso sólo los conservaremos de acuerdo con la normativa vigente. 4295⢠A portar tus datos, que te serán facilitados en un formato estructurado, de uso común o lectura mecánica. Si lo prefieres, se los podemos enviar al nuevo responsable que nos designes. Sólo es válido en determinados supuestos. 4296⢠A presentar una reclamación ante la Agencia Española de Protección de Datos o autoridad de control competente, si crees que no te hemos atendido correctamente. 4297⢠A revocar el consentimiento para cualquier tratamiento para el que hayas consentido, en cualquier momento. 4298⢠Si modificas algún dato, te agradecemos que nos lo comuniques para mantenerlos actualizados. 4299 4300¿Quieres un formulario para el ejercicio de Derechos? 4301⢠Tenemos formularios para el ejercicio de tus derechos, pÃdenoslos por email o si lo prefieres, puedes usar los elaborados por la Agencia Esp
4301añola de Protección de Datos o terceros. 4302⢠Las solicitudes deben ir firmados electrónicamente o aportar la identificación fehaciente de la persona que lo ejercita. 4303⢠Los formularios pueden ser presentados presencialmente, enviados por carta o por mail en la dirección del Responsable al inicio de este texto. 4304¿Cuánto tardamos en contestarte al Ejercicio de Derechos? 4305Depende del derecho, pero como máximo en un mes desde tu solicitud, y dos meses si el tema es muy complejo y te notificamos que necesitamos más tiempo. 4306¿Tratamos cookies? 4307Si usamos otro tipo de cookies que no sean las necesarias, podrás consultar la polÃtica de cookies en el enlace correspondiente desde el inicio de nuestra web.`,Iwe=({onAccept:t,onDecline:e})=>{const[r,n]=Z.useState(!1),i=a=>{const s=a.currentTarget;s.scrollHeight-s.scrollTop-s.clientHeight<50&&!r&&n(!0)};return l.jsx("div",{className:"fixed inset-0 z-[200] bg-black/60 flex items-center justify-center p-4 animate-in fade-in duration-200",children:l.jsxs("div",{className:"bg-white rounded-2xl shadow-2xl w-full max-w-3xl max-h-[90vh] flex flex-col overflow-hidden",children:[l.jsxs("div",{className:"flex items-center justify-between px-6 py-4 border-b border-gray-200 bg-gradient-to-r from-[#CF163D]/5 to-transparent",children:[l.jsxs("div",{className:"flex items-center gap-3",children:[l.jsx("div",{className:"w-10 h-10 rounded-full bg-[#CF163D]/10 flex items-center justify-center",children:l.jsx(Use,{className:"w-5 h-5 text-[#CF163D]"})}),l.jsxs("div",{children:[l.jsx("h2",{className:"text-lg font-bold text-gray-900",children:"PolÃtica de Privacidad"}),l.jsxs("p",{className:"text-xs text-gray-500 flex items-center gap-1",children:[l.jsx(JQ,{className:"w-3 h-3"}),"Debes aceptar para finalizar la inscripción"]})]})]}),l.jsx("button",{onClick:e,className:"text-gray-400 hover:text-gray-600 p-2 rounded-lg hover:bg-gray-100 transition-colors","aria-label":"Cerrar",children:l.jsx(vi,{className:"w-5 h-5"})})]}),l.jsx("div",{onScroll:i,className:"flex-1 overflow-y-auto px-6 py-4",children:l.jsx("div",{className:"prose prose-sm max-w-none text-gray-700 whitespace-pre-wrap text-sm leading-relaxed",children:jwe})}),l.jsxs("div",{className:"px-6 py-4 border-t border-gray-200 bg-gray-50",children:[!r&&l.jsx("p",{className:"text-xs text-gray-500 mb-3 text-center",children:"Desplázate hasta el final del texto para poder aceptar"}),l.jsxs("div",{className:"flex flex-col sm:flex-row gap-3",children:[l.jsx("button",{onClick:e,className:"flex-1 px-4 py-3 border border-gray-300 text-gray-700 font-medium rounded-lg hover:bg-gray-100 transition-colors",children:"No aceptar"}),l.jsxs("button",{onClick:t,disabled:!r,className:"flex-1 px-4 py-3 bg-[#CF163D] text-white font-semibold rounded-lg hover:bg-[#A61131] transition-colors disabled:opacity-40 disabled:cursor-not-allowed flex items-center justify-center gap-2",children:[l.jsx(ca,{className:"w-5 h-5"}),"Aceptar polÃtica de privacidad"]})]})]})]})})},AR=t=>{fetch("https://pthgnwpzudehwhhogosv.supabase.co/functions/v1/notify-registration",{method:"POST",headers:{Authorization:"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InB0aGdud3B6dWRlaHdoaG9nb3N2Iiwicm9sZSI6ImFub24iLCJpYXQiOjE3NjE3MjQzNjksImV4cCI6MjA3NzMwMDM2OX0.sQrdgSQOFZItqIpO88cLQv2XhyOJneMxk86aTNETanY","Content-Type":"application/json"},body:JSON.stringify(t)}).catch(r=>console.error("Email notification failed:",r))},kwe=()=>{var $e;const{id:t}=kL(),e=S1(),[r,n]=Z.useState(null),[i,a]=Z.useState(!0),[s,o]=Z.useState(""),[c,A]=Z.useState(!1),[u,d]=Z.useState(null),[f,h]=Z.useState(!1),[m,p]=Z.useState(!1),[x,v]=Z.useState(!1),[y,b]=Z.useState(!1),[E,S]=Z.useState(null),[I,B]=Z.useState({}),[_,O]=Z.useState(null),[j,T]=Z.useState({firstName:"",lastName:"",email:"",phone:"",identificationNumber:"",company:"",position:"",type:"company",interestedInEntrepreneurship:!1,hasCertifications:!1,digitalCertificateDeclaration:!1,companyActivity:"",interestedInExpansion:!1,socialReason:"",nif:"",fiscalAddressMunicipality:"",activityStartDate:"",contactPersonName:"",contactPersonPosition:"",contactEmail:"",contactPhone:"",website:"",activitySector:"",activityDescription:"",additionalInfo:"",documents:{},signedRegistrationFormUrl:"",activityStartDateDocumentUrl:"",imageConsentAccepted:!1,imageConsentDeclined:!1});Z.useEffect(()=>{(async()=>
4307{if(!t){e("/");return}try{let Ve=null;if(ko(t)?Ve=await OE(t):Ve=await Xw(t),!Ve){o("Evento no encontrado");return}n(Ve)}catch(Ve){console.error("Error fetching event:",Ve),o("Error al cargar el evento. Por favor, inténtelo de nuevo.")}finally{a(!1)}})()},[t,e]),Z.useEffect(()=>{if(!m)return;const Se=Ve=>{Ve.key==="Escape"&&p(!1)};return document.addEventListener("keydown",Se),document.body.style.overflow="hidden",()=>{document.removeEventListener("keydown",Se),document.body.style.overflow=""}},[m]);const P=Se=>{const{name:Ve,value:vt,type:Tt}=Se.target;if(Tt==="checkbox"){const Ie=Se.target.checked;T(Re=>({...Re,[Ve]:Ie}))}else T(Ie=>({...Ie,[Ve]:vt}));o("")},L=async(Se,Ve,vt="documents")=>{var Ie;const Tt=(Ie=Se.target.files)==null?void 0:Ie[0];if(Tt)try{B(Ue=>({...Ue,[Ve]:!0}));const Oe=r&&(ko(r.id)||TS(r.formType))?await R0(Tt,vt):await Jw(Tt,vt);if(Ve.startsWith("documents.")){const Ue=Ve.split(".")[1];T(Ft=>({...Ft,documents:{...Ft.documents,[Ue]:Oe}}))}else T(Ue=>({...Ue,[Ve]:Oe}));o("")}catch(Re){console.error("Error uploading file:",Re),o(Re instanceof Error?Re.message:"Error al subir el archivo")}finally{B(Re=>({...Re,[Ve]:!1}))}},K=()=>{var Ve,vt,Tt;return!r||!(j.firstName.trim()&&j.lastName.trim()&&j.email.trim()&&j.identificationNumber.trim())||r.formType==="superBasico"&&!j.phone.trim()||!j.imageConsentAccepted&&!j.imageConsentDeclined?!1:r.formType==="superBasico"?!0:!(r.formType==="tallerOnlineFiscalidad"&&(r.referenceDocumentUrl&&!j.signedRegistrationFormUrl.trim()||r.requiresEntrepreneurshipDocs&&(!((Ve=j.documents.modelo036037Autonomo)!=null&&Ve.trim())||!((vt=j.documents.resolucionAltaReta)!=null&&vt.trim())||!((Tt=j.documents.dniNieEmprendedor)!=null&&Tt.trim())))||r.formType==="oficinAceleraPyme"&&(r.referenceDocumentUrl&&!j.signedRegistrationFormUrl.trim()||!_)||r.formType==="enhanced"&&r.requiresDigitalCertificate&&!j.digitalCertificateDeclaration)},le=async Se=>{var Ve,vt,Tt;if(Se.preventDefault(),!(!r||c)){if(!j.firstName.trim()||!j.lastName.trim()||!j.email.trim()||!j.identificationNumber.trim()){o("Por favor, complete todos los campos obligatorios");return}if(r.formType==="superBasico"&&!j.phone.trim()){o("El teléfono es obligatorio");return}if(!j.imageConsentAccepted&&!j.imageConsentDeclined){o("Debe seleccionar una opción de consentimiento para el uso de imágenes");return}if((r.formType==="basic"||r.formType==="enhanced"||r.formType==="consolidate")&&(j.type==="company"||j.type==="selfEmployed")&&!j.companyActivity.trim()){o("La Actividad Principal es obligatoria para empresas y autónomos");return}if(r.formType==="enhanced"&&r.requiresDigitalCertificate&&!j.digitalCertificateDeclaration){o("Debe declarar que cuenta con certificado digital o DNI electrónico");return}if(r.formType==="tallerOnlineFiscalidad"){if(r.referenceDocumentUrl&&!j.signedRegistrationFormUrl.trim()){o("Debe descargar, completar y subir el documento de emprendimiento para poder inscribirse");return}if(r.requiresEntrepreneurshipDocs){if(!((Ve=j.documents.modelo036037Autonomo)!=null&&Ve.trim())){o("Debe subir el Modelo de Alta 036/037 (AEAT) para poder inscribirse");return}if(!((vt=j.documents.resolucionAltaReta)!=null&&vt.trim())){o("Debe subir la Resolución de Alta en la RETA para poder inscribirse");return}if(!((Tt=j.documents.dniNieEmprendedor)!=null&&Tt.trim())){o("Debe subir el DNI o NIE para poder inscribirse");return}}}if(r.formType==="oficinAceleraPyme"){if(r.referenceDocumentUrl&&!j.signedRegistrationFormUrl.trim()){o("Debe descargar, completar y subir el documento de Oficina Acelera Pyme para poder inscribirse");return}if(!_){o("Debe firmar el formulario antes de inscribirse");return}}if(!y){v(!0);return}o(""),await ne()}},ne=async(Se=y)=>{if(r){A(!0);try{const Ve=ko(r.id)||TS(r.formType);let vt="";if(r.formType==="oficinAceleraPyme"&&_)try{const Oe=await(await fetch(_.signatureImageDataUrl)).blob(),Ue=new File([Oe],`firma_${Date.now()}.png`,{type:"image/png"});vt=await R0(Ue,"firmas")}catch(Oe){throw new Error(`Error al subir la firma: ${Oe instanceof Error?Oe.message:String(Oe)}`)}const Tt={eventId:r.id,firstName:j.firstName.trim(),lastName:j.lastName.trim(),email:j.email.trim(),phone:j.phone.trim(),identificationNumber:j.identificationNumber.trim(),company:j.company.trim(),position:j.position.trim(),type:j.type,interestedInEntrepreneurship:j.interestedInEntrepreneurship,hasCertifications:j.hasCertifications,digitalCertificateDeclaration:j.digitalCertificateDeclaration,companyActivity:j.companyActivity.trim(),interestedInExpansion:j.interestedInExpansion,socialReason:j.socialReason.trim(),nif:j.nif.trim(),fiscalAddressMunicipality:j.fiscalAddressMunicipality.trim(),activityStartDate:j.activityStartDate,contactPersonName:j.contactPersonName.trim(),contactPersonPosition:j.contactPersonPosition.trim(),contactEmail:j.contactEmail.trim(),contactPhone:j.contactPhone.trim(),website:j.website.trim(),activitySector:j.activitySector.trim(),activityDescription:j.activityDescription.trim(),additionalInfo:j.additionalInfo.trim(),documents:j.documents,signedRegistrationFormUrl:j.signedRegistrationFormUrl,activityStartDateDocumentUrl:j.activityStartDateDocumentUrl,imageConsentAccepted:j.imageConsentAccepted,imageConsentDeclined:j.imageConsentDeclined,privacyPolicyAccepted:Se,...r.formType==="oficinAceleraPyme"&&_?{signatureData:{signerFirstName:_.signerFirstName,signerLastName:_.signerLastName,signerIdNumber:_.signerIdNumber,signedAtDate:_.signedAtDate,signedAtTime:_.signedAtTime,signatureImageUrl:vt}}:{}};let Ie;Ve?Ie=await aP(Tt):Ie=await pce(Tt),d(Ie),AR({eventTitle:r.title,re
4307cipientEmail:r.registrationEmail,firstName:j.firstName.trim(),lastName:j.lastName.trim(),email:j.email.trim(),phone:j.phone.trim()||void 0,identificationNumber:j.identificationNumber.trim()||void 0,company:j.company.trim()||void 0,position:j.position.trim()||void 0,registrationNumber:Ie.registrationNumber,eventDates:r.dates,eventModality:r.modality});const Re=ko(r.id)?await OE(r.id):await Xw(r.id);Re&&n(Re)}catch(Ve){console.error("Error creating registration:",Ve),o(Ve instanceof Error?Ve.message:`Error inesperado: ${String(Ve)}`)}finally{A(!1)}}},fe=async(Se,Ve,vt,Tt=y)=>{if(r){if(!Tt){S({oapData:Se,signature:Ve,imageConsent:vt}),v(!0);return}A(!0),o("");try{let Ie;try{const gt=await(await fetch(Ve.signatureImageDataUrl)).blob(),Kr=new File([gt],`firma_${Date.now()}.png`,{type:"image/png"});Ie=await R0(Kr,"firmas")}catch(gt){throw new Error(`Error al subir la firma: ${gt instanceof Error?gt.message:String(gt)}`)}let Re;try{Re=await Mpe(Se,Ve)}catch(gt){throw new Error(`Error al generar el PDF: ${gt instanceof Error?gt.message:String(gt)}`)}let Oe;try{Oe=await Qpe(Re,Se.primerApellido||Se.nombre)}catch(gt){throw new Error(`Error al guardar el PDF: ${gt instanceof Error?gt.message:String(gt)}`)}let Ue;try{Ue=await aP({eventId:r.id,firstName:Se.nombre,lastName:Se.primerApellido,email:Se.emailContacto,phone:Se.telefono,identificationNumber:Se.dni,company:Se.razonSocial,position:Se.cargo,type:"company",imageConsentAccepted:vt.accepted,imageConsentDeclined:vt.declined,signatureData:{signerFirstName:Ve.signerFirstName,signerLastName:Ve.signerLastName,signerIdNumber:Ve.signerIdNumber,signedAtDate:Ve.signedAtDate,signedAtTime:Ve.signedAtTime,signatureImageUrl:Ie},oapFormData:Se,generatedPdfUrl:Oe,privacyPolicyAccepted:!0})}catch(gt){throw new Error(`Error al registrar los datos: ${gt instanceof Error?gt.message:String(gt)}`)}d(Ue),S(null),AR({eventTitle:r.title,recipientEmail:r.registrationEmail,firstName:Se.nombre,lastName:Se.primerApellido,email:Se.emailContacto,phone:Se.telefono||void 0,identificationNumber:Se.dni||void 0,company:Se.razonSocial||void 0,position:Se.cargo||void 0,registrationNumber:Ue.registrationNumber,eventDates:r.dates,eventModality:r.modality});const Ft=ko(r.id)?await OE(r.id):await Xw(r.id);Ft&&n(Ft)}catch(Ie){console.error("Error en inscripción OAP:",Ie),o(Ie instanceof Error?Ie.message:`Error inesperado: ${String(Ie)}`)}finally{A(!1)}}},te=()=>{u&&r&&h(!0)};if(i)return l.jsx("div",{className:"flex justify-center items-center min-h-[400px]",children:l.jsx("div",{className:"animate-spin rounded-full h-12 w-12 border-b-2 border-[#CF163D]"})});if(s&&!r)return l.jsxs("div",{className:"text-center py-12",children:[l.jsx("div",{className:"bg-red-100 border border-red-400 text-red-700 px-4 py-3 rounded max-w-md mx-auto",children:l.jsxs("div",{className:"flex items-center",children:[l.jsx(rs,{className:"h-5 w-5 mr-2"}),l.jsx("span",{children:s})]})}),l.jsxs("button",{onClick:()=>e("/"),className:"mt-4 inline-flex items-center gap-2 text-primary hover:text-primary-dark",children:[l.jsx(hS,{className:"w-5 h-5"}),"Volver a eventos"]})]});if(!r)return null;const he=[...r.dates].sort((Se,Ve)=>new Date(Se.date).getTime()-new Date(Ve.date).getTime()),ce=he[0],Ne=he[he.length-1],F=ce?`${ce.date}T${ce.startTime}:00`:($e=r.dates[0])==null?void 0:$e.date,U=Ne!=null&&Ne.endTime?`${Ne.date}T${Ne.endTime}:00`:void 0,M=(Se=>Se.replace(/<[^>]*>/g," ").replace(/\s+/g," ").trim())(r.content).slice(0,300),J=`${r.title} | Cámara de Comercio de Fuerteventura`,ue=M||`${r.title} - Evento de la Cámara de Comercio de Fuerteventura. Fuerteventura, Islas Canarias.`,de=`${window.location.origin}/eventos/${r.id}`,pe=F?new Date(F).getFullYear():new Date().getFullYear(),be={"@context":"https://schema.org","@type":r.category==="Formacion"?"EducationEvent":"Event",name:r.title,description:ue,startDate:F,...U?{endDate:U}:{},eventStatus:"https://schema.org/EventScheduled",eventAttendanceMode:"https://schema.org/OfflineEventAttendanceMode",location:{"@type":"Place",name:"Cámara Oficial de Comercio de Fuerteventura",address:{"@type":"PostalAddress",addressLocality:"Puerto del Rosario",addressRegion:"Fuerteventura",addressCountry:"ES"}},organizer:{"@type":"Organization",name:"Cámara Oficial de Comercio, de Industria y de Navegación de Fuerteventura",url:"https://www.camarafuer.es"},offers:{"@type":"Offer",url:de,availability:"https://schema.org/InStock",price:"0",priceCurrency:"EUR",validFrom:F},...r.imageUrl?{image:r.imageUrl}:{}
4307,url:de,...r.registrationLimit?{maximumAttendeeCapacity:r.registrationLimit}:{}},Qe={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Inicio",item:window.location.origin},{"@type":"ListItem",position:2,name:"Eventos",item:`${window.location.origin}/`},{"@type":"ListItem",position:3,name:r.title,item:de}]},Me=[...r.dates].sort((Se,Ve)=>new Date(Se.date).getTime()-new Date(Ve.date).getTime()),Xe=Gr(Me[Me.length-1].date),ot=r.endDate?lh(wb(Gr(r.endDate))):lh(wb(Xe)),De=r.registrationLimit&&r.registrationCount&&r.registrationCount>=r.registrationLimit,oe=r.registrationDeadline?lh(Gr(r.registrationDeadline)):!1,Ke=r.forceRegistrationOpen===!0,dt=(!ot||Ke)&&!De&&(!oe||Ke)&&!u,Ee=!dt&&!u&&(ot||De||oe),We=r.category==="Evento"?pb:qQ,Ze=r.category==="Evento"?"Evento":"Formación",rt=r.category==="Evento"?"bg-blue-100 text-blue-600":"bg-green-100 text-green-600";return l.jsxs("div",{className:"max-w-4xl mx-auto px-4",children:[l.jsxs(BL,{children:[l.jsx("title",{children:J}),l.jsx("meta",{name:"description",content:ue}),l.jsx("link",{rel:"canonical",href:de}),l.jsx("meta",{property:"og:title",content:J}),l.jsx("meta",{property:"og:description",content:ue}),l.jsx("meta",{property:"og:url",content:de}),l.jsx("meta",{property:"og:type",content:"article"}),r.imageUrl&&l.jsx("meta",{property:"og:image",content:r.imageUrl}),l.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),l.jsx("meta",{name:"twitter:title",content:J}),l.jsx("meta",{name:"twitter:description",content:ue}),r.imageUrl&&l.jsx("meta",{name:"twitter:image",content:r.imageUrl}),l.jsx("script",{type:"application/ld+json",children:JSON.stringify(be)}),l.jsx("script",{type:"application/ld+json",children:JSON.stringify(Qe)})]}),l.jsxs("nav",{className:"flex items-center gap-2 text-sm text-neutral-500 mb-6","aria-label":"Breadcrumb",children:[l.jsx("a",{href:"/",className:"hover:text-primary transition-colors",children:"Inicio"}),l.jsx("span",{className:"text-neutral-300",children:"/"}),l.jsx("a",{href:"/",className:"hover:text-primary transition-colors",children:"Eventos"}),l.jsx("span",{className:"text-neutral-300",children:"/"}),l.jsx("span",{className:"text-neutral-700 font-medium truncate max-w-xs",children:r.title})]}),l.jsxs("button",{onClick:()=>e("/"),className:"inline-flex items-center gap-2 text-neutral-600 hover:text-primary mb-6 transition-colors",children:[l.jsx(hS,{className:"w-5 h-5"}),"Volver a eventos"]}),l.jsxs("div",{className:"modern-card p-6 md:p-8 mb-8",children:[r.imageUrl&&l.jsxs("div",{className:"w-full h-0 pb-[75%] sm:pb-[60%] md:pb-[50%] lg:pb-[48%] relative overflow-hidden bg-neutral-100 rounded-xl mb-6 group cursor-zoom-in",onClick:()=>p(!0),children:[l.jsx("img",{src:r.imageUrl,alt:r.title,className:`absolute inset-0 w-full h-full object-contain transition-transform duration-300 group-hover:scale-[1.03] ${ot?"grayscale opacity-75":""}`,loading:"lazy"}),l.jsx("div",{className:"absolute inset-0 bg-black/0 group-hover:bg-black/20 transition-colors duration-300 flex items-center justify-center z-10",children:l.jsx("div",{className:"opacity-0 group-hover:opacity-100 transition-opacity duration-300 bg-white/90 rounded-full p-3 shadow-lg",children:l.jsx(Qse,{className:"w-7 h-7 text-neutral-800"})})}),r.modality&&l.jsxs("div",{className:`absolute top-4 left-4 px-5 py-2.5 rounded-full flex items-center gap-2.5 backdrop-blur-md shadow-xl z-20 ${r.modality==="virtual"?"bg-blue-600/95 text-white":"bg-emerald-600/95 text-white"}`,children:[r.modality==="virtual"?l.jsx(up,{className:"w-5 h-5"}):l.jsx(Eh,{className:"w-5 h-5"}),l.jsx("span",{className:"text-base font-bold tracking-wide",children:r.modality==="virtual"?"VIRTUAL":"PRESENCIAL"})]}),ot&&!Ke&&l.jsxs("div",{className:`absolute ${r.modality?"top-16":"top-4"} right-4 bg-neutral-800/90 text-white px-4 py-2 rounded-full flex items-center gap-2 backdrop-blur-sm`,children:[l.jsx(mb,{className:"w-5 h-5"}),l.jsx("span",{className:"font-medium",children:"EventoCerrado"})]})]}),l.jsxs("div",{className:"flex items-center justify-between gap-3 mb-4",children:[l.jsx("div",{className:"flex items-center gap-2 flex-wrap",children:l.jsxs("div",{className:`${rt} px-3 py-1 rounded-full flex items-center gap-2`,children:[l.jsx(We,{className:"w-4 h-4"}),l.jsx("span",{className:"text-sm font-medium",children:Ze})]})}
4307),l.jsx(K9,{url:de,title:r.title,description:ue,imageUrl:r.imageUrl})]}),l.jsx("h1",{className:"text-3xl md:text-4xl font-serif font-bold text-neutral-900 mb-3",children:r.title}),r.modality&&l.jsx("div",{className:`mb-6 rounded-xl overflow-hidden shadow-lg ${r.modality==="virtual"?"bg-gradient-to-r from-blue-600 to-blue-500":"bg-gradient-to-r from-emerald-600 to-emerald-500"}`,children:l.jsxs("div",{className:"flex items-center gap-4 px-6 py-4 sm:px-8 sm:py-5",children:[l.jsx("div",{className:"shrink-0 w-12 h-12 sm:w-14 sm:h-14 rounded-full flex items-center justify-center bg-white/20 backdrop-blur-sm",children:r.modality==="virtual"?l.jsx(up,{className:"w-6 h-6 sm:w-7 sm:h-7 text-white"}):l.jsx(Eh,{className:"w-6 h-6 sm:w-7 sm:h-7 text-white"})}),l.jsxs("div",{className:"flex-1",children:[l.jsx("p",{className:"text-white/80 text-xs sm:text-sm font-medium uppercase tracking-wider mb-0.5",children:"Modalidad del evento"}),l.jsx("p",{className:"text-white text-xl sm:text-2xl font-bold",children:r.modality==="virtual"?"Evento Virtual - Online":"Evento Presencial - Asistencia en persona"})]})]})}),l.jsxs("p",{className:"text-neutral-600 text-lg mb-6",children:[r.title," ",pe," â ",Ze," organizado por la Cámara de Comercio de Fuerteventura. InscrÃbete online en ",r.title," ",pe,", Fuerteventura, Islas Canarias."]}),l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6 mb-6",children:[l.jsxs("div",{className:"flex items-start gap-3",children:[l.jsx(Jr,{className:"w-6 h-6 text-primary mt-1"}),l.jsxs("div",{children:[l.jsx("h3",{className:"font-semibold text-neutral-900 mb-1",children:"Fecha"}),l.jsx("p",{className:"text-neutral-600",children:Me.length>1?l.jsxs(l.Fragment,{children:["Del ",St(Gr(Me[0].date),"d 'de' MMMM",{locale:er})," al"," ",St(Gr(Me[Me.length-1].date),"d 'de' MMMM 'de' yyyy",{locale:er})]}):St(Gr(Me[0].date),"d 'de' MMMM 'de' yyyy",{locale:er})}),Me.length>1&&l.jsx("div",{className:"mt-2 text-sm text-neutral-500",children:Me.map((Se,Ve)=>l.jsxs("div",{children:[St(Gr(Se.date),"d 'de' MMMM",{locale:er}),": ",Se.startTime,Se.endTime&&` - ${Se.endTime}`," hrs"]},Ve))})]})]}),l.jsxs("div",{className:"flex items-start gap-3",children:[l.jsx(da,{className:"w-6 h-6 text-primary mt-1"}),l.jsxs("div",{children:[l.jsx("h3",{className:"font-semibold text-neutral-900 mb-1",children:"Horario"}),l.jsxs("p",{className:"text-neutral-600",children:[Me[0].startTime," hrs",Me[0].endTime&&` - ${Me[0].endTime} hrs`]})]})]}),l.jsxs("div",{className:"flex items-start gap-3",children:[l.jsx(Ip,{className:"w-6 h-6 text-primary mt-1"}),l.jsxs("div",{children:[l.jsx("h3",{className:"font-semibold text-neutral-900 mb-1",children:"Información"}),l.jsx("p",{className:"text-neutral-600",children:r.registrationEmail})]})]})]}),dt&&r.registrationLimit&&l.jsx("div",{className:"mb-6",children:l.jsx(q9,{registrationLimit:r.registrationLimit,registrationCount:r.registrationCount,variant:"full"})}),l.jsx("div",{className:"prose max-w-none",children:l.jsx("div",{dangerouslySetInnerHTML:{__html:r.content}})})]}),r.footerImages&&r.footerImages.length>0&&l.jsx("div",{className:"modern-card p-6 md:p-8 mb-8",children:l.jsx("div",{className:"flex flex-col items-center gap-6",children:r.footerImages.map((Se,Ve)=>l.jsxs("div",{className:"flex flex-col items-center justify-center w-full",children:[l.jsx("img",{src:Se.url,alt:Se.caption||`Imagen ${Ve+1}`,className:"rounded-lg w-full max-w-full sm:max-w-2xl md:max-w-3xl lg:max-w-4xl h-auto object-contain",loading:"lazy"}),Se.caption&&l.jsx("p",{className:"mt-2 text-sm text-neutral-600 text-center",children:Se.caption})]},Ve))})}),dt&&l.jsxs("div",{className:"modern-card p-6 md:p-8",children:[l.jsx("h2",{className:"text-2xl font-serif font-bold text-neutral-900 mb-6",children:"Formulario de Inscripción"}),r.formType==="oficinAceleraPyme"?l.jsx(Uue,{eventId:r.id,onSubmit:fe,isSubmitting:c,error:s}):l.jsxs(l.Fragment,{children:[s&&l.jsxs("div",{className:"bg-red-100 border border-red-400 text-red-700 px-4 py-3 rounded mb-6",children:[l.jsxs("div",{className:"flex items-center",children:[l.jsx(rs,{className:"h-5 w-5 mr-2"}),l.jsx("span",{children:s})]}),l.jsx("button",{onClick:()=>o(""),className:"absolute top-0 bottom-0 right-0 px-4 py-3",children:l.jsx(vi,{className:"h-5 w-5"})})]}),l.jsxs("form",{onSubmit:le,className:"space-y-6",children:[l.jsxs("div",{children:[l.jsx("h3",{className:"text-lg font-semibold text-neutral-900 mb
4307-4",children:"Datos Personales"}),l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[l.jsxs("div",{children:[l.jsx("label",{htmlFor:"firstName",className:"block text-sm font-medium text-gray-700 mb-1",children:(r.formType==="canariasExpande","Nombre *")}),l.jsx("input",{type:"text",id:"firstName",name:"firstName",required:!0,value:j.firstName,onChange:P,className:"form-input"})]}),l.jsxs("div",{children:[l.jsx("label",{htmlFor:"lastName",className:"block text-sm font-medium text-gray-700 mb-1",children:(r.formType==="canariasExpande","Apellidos *")}),l.jsx("input",{type:"text",id:"lastName",name:"lastName",required:!0,value:j.lastName,onChange:P,className:"form-input"})]})]})]}),r.formType==="canariasExpande"&&l.jsxs(l.Fragment,{children:[l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[l.jsxs("div",{children:[l.jsx("label",{htmlFor:"socialReason",className:"block text-sm font-medium text-gray-700 mb-1",children:"Razón social *"}),l.jsx("input",{type:"text",id:"socialReason",name:"socialReason",required:!0,value:j.socialReason,onChange:P,className:"form-input"})]}),l.jsxs("div",{children:[l.jsx("label",{htmlFor:"nif",className:"block text-sm font-medium text-gray-700 mb-1",children:"NIF *"}),l.jsx("input",{type:"text",id:"nif",name:"nif",required:!0,value:j.nif,onChange:P,className:"form-input"})]})]}),l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[l.jsxs("div",{children:[l.jsx("label",{htmlFor:"fiscalAddressMunicipality",className:"block text-sm font-medium text-gray-700 mb-1",children:"Municipio del domicilio fiscal *"}),l.jsx("input",{type:"text",id:"fiscalAddressMunicipality",name:"fiscalAddressMunicipality",required:!0,value:j.fiscalAddressMunicipality,onChange:P,className:"form-input"})]}),l.jsxs("div",{children:[l.jsx("label",{htmlFor:"activityStartDate",className:"block text-sm font-medium text-gray-700 mb-1",children:"Fecha de inicio de la actividad *"}),l.jsx("input",{type:"date",id:"activityStartDate",name:"activityStartDate",required:!0,value:j.activityStartDate,onChange:P,className:"form-input"})]})]}),l.jsx("h4",{className:"text-lg font-semibold text-gray-700 pt-4",children:"Datos de contacto"}),l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[l.jsxs("div",{children:[l.jsx("label",{htmlFor:"contactPersonName",className:"block text-sm font-medium text-gray-700 mb-1",children:"Nombre y apellidos de la persona de contacto *"}),l.jsx("input",{type:"text",id:"contactPersonName",name:"contactPersonName",required:!0,value:j.contactPersonName,onChange:P,className:"form-input"})]}),l.jsxs("div",{children:[l.jsx("label",{htmlFor:"contactPersonPosition",className:"block text-sm font-medium text-gray-700 mb-1",children:"Cargo *"}),l.jsx("input",{type:"text",id:"contactPersonPosition",name:"contactPersonPosition",required:!0,value:j.contactPersonPosition,onChange:P,className:"form-input"})]})]}),l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[l.jsxs("div",{children:[l.jsx("label",{htmlFor:"contactEmail",className:"block text-sm font-medium text-gray-700 mb-1",children:"Correo electrónico de contacto *"}),l.jsx("input",{type:"email",id:"contactEmail",name:"contactEmail",required:!0,value:j.contactEmail,onChange:P,className:"form-input"})]}),l.jsxs("div",{children:[l.jsx("label",{htmlFor:"contactPhone",className:"block text-sm font-medium text-gray-700 mb-1",children:"Teléfono de contacto *"}),l.jsx("input",{type:"tel",id:"contactPhone",name:"contactPhone",required:!0,value:j.contactPhone,onChange:P,className:"form-input"})]})]}),l.jsxs("div",{children:[l.jsx("label",{htmlFor:"website",className:"block text-sm font-medium text-gray-700 mb-1",children:"Página web (opcional)"}),l.jsx("input",{type:"url",id:"website",name:"website",value:j.website,onChange:P,className:"form-input"})]}),l.jsxs("div",{children:[l.jsx("label",{htmlFor:"activitySector",className:"block text-sm font-medium text-gray-700 mb-1",children:"Sector de actividad *"}),l.jsx("input",{type:"text",id:"activitySector",name:"activitySector",required:!0,value:j.activitySector,onChange:P,className:"form-input"})]}),l.jsxs("div",{children:[l.jsx("label",{htmlFor:"activityDescription",className:"block text-sm font-medium text-gray-700 mb-1",children:"Breve descripción de actividad a realizar *"}),l.jsx("textarea",{id:"activityDescription",name:"activityDescription",required:!0,rows:4,value:j.activityDescription,onChange:P,className:"form-input"})]}),l.jsxs("div",{children:[l.jsx("label",{htmlFor:"additionalInfo",className:"block text-sm font-medium text-gray-700 mb-1",children:"Datos adicionales de interés"}),l.jsx("textarea",{id:"additionalInfo",name:"additionalInfo",rows:3,value:j.additionalInfo,onChange:P,className:"form-input"})]}),l.jsxs("div",{className:"pt-4 border-t border-gray-200",children:[l.jsx("h4",{className:"text-lg font-semibold text-gray-700 mb-4",children:"Documentación"}),l.jsxs("div",{className:"bg-gray-100 p-4 rounded-lg",children:[l.jsxs("div",{className:"flex items-center justify-between mb-2",children:[l.jsx("span",{className:"text-sm font-medium text-gray-700",children:"Documento de fecha de alta de su empresa *"}),I.activityStartDateDocumentUrl&&l.jsxs("div",{className:"flex items-center gap-2 text-blue-600",children:[l.jsx("div",{className:"animate-spin rounded-full h-4 w-4 border-b-2 border-blue-600"}),l.jsx("span",{className:"text-sm",children:"Subiendo..."})]})]}),l.jsx("input",{type:"file",accept:".pdf,.jpg,.jpeg,.png,.doc,.docx",onChange:Se=>L(Se,"activityStartDateDocumentUrl","CREACION EMPRESA"),className:"w-full px-3 py-2 border border-gray-300 rounded-md",disabled:I.activityStartDateDocumentUrl}),l.jsx("p",{className:"text-xs text-gray-500 mt-1",children:"Formatos permitidos: PDF, JPG, PNG, DOC, DOCX (máx. 10MB)"}),j.activityStartDateDocumentUrl&&l.jsx("p",{className:"text-sm text-green-600 mt-2",children:"â Documento subido correctamente"})]})]})]}),r.formType!=="canariasExpande"&&l.jsxs(l.Fragment,{children:[l.jsxs("div",{children:[l.jsx("label",{htmlFor:"identificationNumber",className:"block text-sm font-medium text-gray-700 mb-1",children:r.formType==="formacion"||r.formType==="tallerOnlineFiscalidad"||r.formType==="oficinAceleraPyme"||r.formType==="superBasico"?"DNI/NIE *":"DNI/NIE/Pasaporte o CIF *"}),l.jsx("input",{type:"text",id:"identificationNumber",name:"identificationNumber",required:!0,value:j.identificationNumber,onChange:P,className:"form-input"})]}),l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[l.jsxs("div",{children:[l.jsx("label",{htmlFor:"email",className:"block text-sm font-medium text-gray-700 mb-1",children:"Correo electrónico *"}),l.jsx("input",{type:"email",id:"email",name:"email",required:!0,value:j.email,onChange:P,className:"form-input"})]}),l.jsxs("div",{children:[l.jsxs("label",{htmlFor:"phone",className:"block text-sm font-medium text-gray-700 mb-1",children:["Teléfono",r.formType==="superBasico"?" *":""]}),l.jsx("input",{type:"tel",id:"phone",name:"phone",required:r.formType==="superBasico",value:j.phone,onChange:P,className:"form-input"})]})]}),r.formType==="basic"&&l.jsxs("div",{children:[l.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-3",children:"Tipo de participante *"}),l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-4",children:[{value:"company",icon:Bh,label:"Empresa"},{value:"selfEmployed",icon:lc,label:"Autónomo"},{value:"visitor",icon:_s,label:"Emprendedor/Visitante"},{value:"delegacionGubernamental",icon:_s,label:"Delegación Gubernamental"}].map(({value:Se,icon:Ve,label:vt})=>l.jsxs("label",{className:"relative flex cursor-pointer rounded-lg border border-gray-300 p-4 focus:outline-none",children:[l.jsx("input",{type:"radio",name:"type",value:Se,checked:j.type===Se,onChange:P,className:"sr-only",required:!0}),l.jsx("span",{className:`flex flex-1 ${j.type===Se?"border-primary bg-primary/5":"border-gray-300"} rounded-lg p-4 transition-colors`,children:l.jsxs("span",{className:"flex flex-col",children:[l.jsx(Ve,{className:"w-5 h-5 text-primary mb-1"}),l.jsx("span",{className:`block text-sm font-medium ${j.type===Se?"text-primary":"text-gray-900"}`,children:vt})]})})]},Se))})]}),(r.formType==="enhanced"||r.formType==="consolidate")&&l.jsxs("div",{children:[l.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-3",children:"Tipo de participante *"}),l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[{value:"company",icon:Bh,label:"Empresa"},{value:"selfEmployed",icon:lc,label:"Autónomo"},{value:"visitor",icon:_s,label:"Emprendedor/Visitante"}].map(({value:Se,icon:Ve,label:vt})=>l.jsxs("label",{className:"relative flex cursor-pointer rounded-lg border border-gray-300 p-4 focus:outline-none",children:[l.jsx("input",{type:"radio",name:"type",value:Se,checked:j.type===Se,onChange:P,className:"sr-only",required:!0}),l.jsx("span",{className:`flex flex-1 ${j.type===Se?"border-primary bg-primary/5":"border-gray-300"} rounded-lg p-4 transition-colors`,children:l.jsxs("span",{className:"flex flex-col",children:[l.jsx(Ve,{className:"w-5 h-5 text-primary mb-1"}),l.jsx("span",{className:`block text-sm font-medium ${j.type===Se?"text-primary":"text-gray-900"}`,children:vt})]})})]},Se))})]}),r.formType!=="formacion"&&r.formType!=="tallerOnlineFiscalidad"&&r.formType!=="superBasico"&&l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[l.jsxs("div",{children:[l.jsx("label",{htmlFor:"company",className:"block text-sm font-medium text-gray-700 mb-1",children:"Nombre de la empresa"}),l.jsx("input",{type:"text",id:"company",name:"company",value:j.company,onChange:P,className:"form-input"})]}),l.jsxs("div",{children:[l.jsx("label",{htmlFor:"position",className:"block text-sm font-medium text-gray-700 mb-1",children:"Cargo"}),l.jsx("input",{type:"text",id:"position",name:"position",value:j.position,onChange:P,className:"form-input"})]})]}),r.formType==="formacion"&&l.jsxs(l.Fragment,{children:[l.jsxs("div",{children:[l.jsx("label",{htmlFor:"companyActivity",className:"block text-sm font-medium text-gray-700 mb-1",children:"Actividad de la empresa"}),l.jsx("input",{type:"text",id:"companyActivity",name:"companyActivity",value:j.companyActivity,onChange:P,className:"form-input"})]}),l.jsx("div",{children:l.jsxs("label",{className:"flex items-center space-x-3",children:[l.jsx("input",{type:"checkbox",name:"interestedInExpansion",checked:j.interestedInExpansion,onChange:P,className:"h-4 w-4 text-primary focus:ring-primary border-gray-300 rounded"}),l.jsx("span",{className:"text-sm text-gray-700",children:"¿Está interesado en expandir la actividad de su empresa?"})]})})]}),r.formType==="basic"&&(j.type==="company"||j.type==="selfEmployed")&&l.jsxs("div",{children:[l.jsx("label",{htmlFor:"companyActivity",className:"block text-sm font-medium text-gray-700 mb-1",children:"Actividad Principal *"}),l.jsx("input",{type:"text",id:"companyActivity",name:"companyActivity",value:j.companyActivity,onChange:P,className:"form-input",placeholder:"Ej: Comercio minorista, TecnologÃa, HostelerÃa...",required:!0})]}),(r.formType==="enhanced"||r.formType==="consolidate")&&(j.type==="company"||j.type==="selfEmployed")&&l.jsxs("div",{children:[l.jsx("label",{htmlFor:"companyActivity",className:"block text-sm font-medium text-gray-700 mb-1",children:"Actividad Principal *"}),l.jsx("input",{type:"text",id:"companyActivity",name:"companyActivity",value:j.companyActivity,onChange:P,className:"form-input",placeholder:"Ej: Comercio minorista, TecnologÃa, HostelerÃa...",required:!0})]}),(r.formType==="basic"||r.formType==="enhanced")&&l.jsxs("div",{className:"pt-4 border-t border-gray-200 space-y-4",children:[l.jsxs("label",{className:"flex items-center space-x-3",children:[l.jsx("input",{type:"checkbox",name:"interestedInEntrepreneurship",checked:j.interestedInEntrepreneurship,onChange:P,className:"h-4 w-4 text-primary focus:ring-primary border-gray-300 rounded"}),l.jsx("span",{className:"text-sm text-gray-700",children:"Me interesa emprender"})]}),l.jsxs("label",{className:"flex items-center space-x-3",children:[l.jsx("input",{type:"checkbox",name:"hasCertifications",checked:j.hasCertifications,onChange:P,className:"h-4 w-4 text-primary focus:ring-primary border-gray-300 rounded"}),l.jsx("span",{className:"text-sm text-gray-700",children:"¿Cuenta con alguna de las certificaciones ofertadas?"})]})]}),r.formType==="tallerOnlineFiscalidad"&&l.jsxs("div",{className:"pt-4 border-t border-gray-200",children:[l.jsx("h4",{className:"text-lg font-semibold text-gray-800 mb
4307-4",children:"Documentación Requerida"}),l.jsxs("div",{className:"space-y-4",children:[r.referenceDocumentUrl&&l.jsxs("div",{className:"bg-gray-100 p-4 rounded-lg",children:[l.jsx("div",{className:"flex items-center justify-between mb-2",children:l.jsx("span",{className:"text-sm font-medium text-gray-700",children:"1. Descargar documento de referencia *"})}),l.jsxs("a",{href:r.referenceDocumentUrl,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-4 py-2 bg-blue-600 text-white rounded-md hover:bg-blue-700 transition-colors",children:[l.jsx(Xa,{className:"w-4 h-4"}),l.jsx("span",{children:"Descargar documento de referencia"})]}),l.jsx("p",{className:"text-xs text-gray-500 mt-2",children:"Debe descargar y completar este documento antes de subirlo"})]}),l.jsxs("div",{className:"bg-gray-100 p-4 rounded-lg",children:[l.jsxs("div",{className:"flex items-center justify-between mb-2",children:[l.jsx("span",{className:"text-sm font-medium text-gray-700",children:"2. Subir documento de emprendimiento o FICHA PREINSCRIPCIÃN *"}),I.signedRegistrationFormUrl&&l.jsxs("div",{className:"flex items-center gap-2 text-blue-600",children:[l.jsx("div",{className:"animate-spin rounded-full h-4 w-4 border-b-2 border-blue-600"}),l.jsx("span",{className:"text-sm",children:"Subiendo..."})]})]}),l.jsx("input",{type:"file",accept:".pdf",onChange:Se=>L(Se,"signedRegistrationFormUrl","CREACION EMPRESA"),className:"w-full px-3 py-2 border border-gray-300 rounded-md",disabled:I.signedRegistrationFormUrl}),l.jsx("p",{className:"text-xs text-gray-500 mt-1",children:"Formato requerido: PDF (máx. 10MB)"}),j.signedRegistrationFormUrl&&l.jsx("div",{className:"mt-3 p-3 bg-green-50 border border-green-200 rounded-md",children:l.jsxs("div",{className:"flex items-center justify-between",children:[l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx(ca,{className:"w-5 h-5 text-green-600"}),l.jsxs("div",{children:[l.jsx("p",{className:"text-sm font-medium text-green-800",children:"Documento subido correctamente"}),l.jsx("p",{className:"text-xs text-green-600 mt-0.5",children:"Su documento ha sido cargado y está listo para el envÃo"})]})]}),l.jsx("button",{type:"button",onClick:()=>T(Se=>({...Se,signedRegistrationFormUrl:""})),className:"p-1 text-green-600 hover:text-green-800 hover:bg-green-100 rounded transition-colors",title:"Eliminar documento",children:l.jsx(vi,{className:"w-4 h-4"})})]})})]}),r.requiresEntrepreneurshipDocs&&l.jsxs(l.Fragment,{children:[l.jsxs("div",{className:"bg-gray-100 p-4 rounded-lg",children:[l.jsxs("div",{className:"flex items-center justify-between mb-2",children:[l.jsx("span",{className:"text-sm font-medium text-gray-700",children:"3. Modelo de Alta 036/037 (AEAT) *"}),I["documents.modelo036037Autonomo"]&&l.jsxs("div",{className:"flex items-center gap-2 text-blue-600",children:[l.jsx("div",{className:"animate-spin rounded-full h-4 w-4 border-b-2 border-blue-600"}),l.jsx("span",{className:"text-sm",children:"Subiendo..."})]})]}),l.jsx("input",{type:"file",accept:".pdf",onChange:Se=>L(Se,"documents.modelo036037Autonomo","CREACION EMPRESA"),className:"w-full px-3 py-2 border border-gray-300 rounded-md",disabled:I["documents.modelo036037Autonomo"]}),l.jsx("p",{className:"text-xs text-gray-500 mt-1",children:"Formato requerido: PDF (máx. 10MB)"}),j.documents.modelo036037Autonomo&&l.jsx("div",{className:"mt-3 p-3 bg-green-50 border border-green-200 rounded-md",children:l.jsxs("div",{className:"flex items-center justify-between",children:[l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx(ca,{className:"w-5 h-5 text-green-600"}),l.jsxs("div",{children:[l.jsx("p",{className:"text-sm font-medium text-green-800",children:"Documento subido correctamente"}),l.jsx("p",{className:"text-xs text-green-600 mt-0.5",children:"Su documento ha sido cargado y está listo para el envÃo"})]})]}),l.jsx("button",{type:"button",onClick:()=>T(Se=>({...Se,documents:{...Se.documents,modelo036037Autonomo:""}})),className:"p-1 text-green-600 hover:text-green-800 hover:bg-green-100 rounded transition-colors",title:"Eliminar documento",children:l.jsx(vi,{className:"w-4 h-4"})})]})})]}),l.jsxs("div",{className:"bg-gray-100 p-4 rounded-lg",children:[l.jsxs("div",{className:"flex items-center justify-between mb-2",children:[l.jsx("span",{className:"text-sm font-medium text-gray-700",children:"4. Resolución de Alta en la RETA (Seguridad Social) *"}),I["documents.resolucionAltaReta"]&&l.jsxs("div",{className:"flex items-center gap-2 text-blue-600",children:[l.jsx("div",{className:"animate-spin rounded-full h-4 w-4 border-b-2 border-blue-600"}),l.jsx("span",{className:"text-sm",children:"Subiendo..."})]})]}),l.jsx("input",{type:"file",accept:".pdf",onChange:Se=>L(Se,"documents.resolucionAltaReta","CREACION EMPRESA"),className:"w-full px-3 py-2 border border-gray-300 rounded-md",disabled:I["documents.resolucionAltaReta"]}),l.jsx("p",{className:"text-xs text-gray-500 mt-1",children:"Formato requerido: PDF (máx. 10MB)"}),j.documents.resolucionAltaReta&&l.jsx("div",{className:"mt-3 p-3 bg-green-50 border border-green-200 rounded-md",children:l.jsxs("div",{className:"flex items-center justify-between",children:[l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx(ca,{className:"w-5 h-5 text-green-600"}),l.jsxs("div",{children:[l.jsx("p",{className:"text-sm font-medium text-green-800",children:"Documento subido correctamente"}),l.jsx("p",{className:"text-xs text-green-600 mt-0.5",children:"Su documento ha sido cargado y está listo para el envÃo"})]})]}),l.jsx("button",{type:"button",onClick:()=>T(Se=>({...Se,documents:{...Se.documents,resolucionAltaReta:""}})),className:"p-1 text-green-600 hover:text-green-800 hover:bg-green-100 rounded transition-colors",title:"Eliminar documento",children:l.jsx(vi,{className:"w-4 h-4"})})]})})]}),l.jsxs("div",{className:"bg-gray-100 p-4 rounded-lg",children:[l.jsxs("div",{className:"flex items-center justify-between mb-2",children:[l.jsx("span",{className:"text-sm font-medium text-gray-700",children:"5. DNI o NIE *"}),I["documents.dniNieEmprendedor"]&&l.jsxs("div",{className:"flex items-center gap-2 text-blue-600",children:[l.jsx("div",{className:"animate-spin rounded-full h-4 w-4 border-b-2 border-blue-600"}),l.jsx("span",{className:"text-sm",children:"Subiendo..."})]})]}),l.jsx("input",{type:"file",accept:".pdf",onChange:Se=>L(Se,"documents.dniNieEmprendedor","CREACION EMPRESA"),className:"w-full px-3 py-2 border border-gray-300 rounded-md",disabled:I["documents.dniNieEmprendedor"]}),l.jsx("p",{className:"text-xs text-gray-500 mt-1",children:"Formato requerido: PDF (máx. 10MB)"}),j.documents.dniNieEmprendedor&&l.jsx("div",{className:"mt-3 p-3 bg-green-50 border border-green-200 rounded-md",children:l.jsxs("div",{className:"flex items-center justify-between",children:[l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx(ca,{className:"w-5 h-5 text-green-600"}),l.jsxs("div",{children:[l.jsx("p",{className:"text-sm font-medium text-green-800",children:"Documento subido correctamente"}),l.jsx("p",{className:"text-xs text-green-600 mt-0.5",children:"Su documento ha sido cargado y está listo para el envÃo"})]})]}),l.jsx("button",{type:"button",onClick:()=>T(Se=>({...Se,documents:{...Se.documents,dniNieEmprendedor:""}})),className:"p-1 text-green-600 hover:text-green-800 hover:bg-green-100 rounded transition-colors",title:"Eliminar documento",children:l.jsx(vi,{className:"w-4 h-4"})})]})})]})]})]})]}),r.formType==="oficinAceleraPyme"&&l.jsxs("div",{className:"pt-4 border-t border-gray-200 space-y-6",children:[l.jsx("h4",{className:"text-lg font-semibold text-gray-800",children:"Documentación y Firma"}),r.referenceDocumentUrl&&l.jsxs("div",{className:"space-y-4",children:[l.jsxs("div",{className:"bg-gray-100 p-4 rounded-lg",children:[l.jsx("span",{className:"text-sm font-medium text-gray-700 block mb-2",children:"1. Descargar documento de referencia *"}),l.jsxs("a",{href:r.referenceDocumentUrl,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-4 py-2 bg-[#1e3a5f] text-white rounded-md hover:bg-[#16304f] transition-colors",children:[l.jsx(Xa,{className:"w-4 h-4"}),"Descargar documento Oficina Acelera Pyme"]}),l.jsx("p",{className:"text-xs text-gray-500 mt-2",children:"Descargue y complete este documento antes de subirlo"})]}),l.jsxs("div",{className:"bg-gray-100 p-4 rounded-lg",children:[l.jsxs("div",{className:"flex items-center justify-between mb-2",children:[l.jsx("span",{className:"text-sm font-medium text-gray-700",children:"2. Subir documento completado *"}),I.signedRegistrationFormUrl&&l.jsxs("div",{className:"flex items-center gap-2 text-blue-600",children:[l.jsx("div",{className:"animate-spin rounded-full h-4 w-4 border-b-2 border-blue-600"}),l.jsx("span",{className:"text-sm",children:"Subiendo..."})]})]}),l.jsx("input",{type:"file",accept:".pdf",onChange:Se=>L(Se,"signedRegistrationFormUrl","OFICINA ACELERA PYME"),className:"w-full px-3 py-2 border border-gray-300 rounded-md",disabled:I.signedRegistrationFormUrl}),l.jsx("p",{className:"text-xs text-gray-500 mt-1",children:"Formato requerido: PDF (máx. 10MB)"}),j.signedRegistrationFormUrl&&l.jsx("div",{className:"mt-3 p-3 bg-green-50 border border-green-200 rounded-md",children:l.jsxs("div",{className:"flex items-center justify-between",children:[l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx(ca,{className:"w-5 h-5 text-green-600"}),l.jsxs("div",{children:[l.jsx("p",{className:"text-sm font-medium text-green-800",children:"Documento subido correctamente"}),l.jsx("p",{className:"text-xs text-green-600 mt-0.5",children:"Su documento ha sido cargado y está listo para el envÃo"})]})]}),l.jsx("button",{type:"button",onClick:()=>T(Se=>({...Se,signedRegistrationFormUrl:""})),className:"p-1 text-green-600 hover:text-green-800 hover:bg-green-100 rounded transition-colors",children:l.jsx(vi,{className:"w-4 h-4"})})]})})]})]}),l.jsxs("div",{className:"bg-gray-50 border border-gray-200 rounded-xl p-5",children:[l.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[l.jsx(wl,{className:"w-5 h-5 text-[#1e3a5f]"}),l.jsxs("h5",{className:"text-base font-semibold text-gray-900",children:[r.referenceDocumentUrl?"3. ":"","Firma del formulario *"]})]}),l.jsx("p",{className:"text-sm text-gray-600 mb-4",children:"La firma es obligatoria. Los datos de identificación y la fecha/hora se registran automáticamente."}),l.jsx(G9,{signerFirstName:j.firstName,signerLastName:j.lastName,signerIdNumber:j.identificationNumber,isSigned:!!_,onSign:Se=>O(Se),onClear:()=>O(null)})]})]}),r.formType==="enhanced"&&r.requiresDigitalCertificate&&l.jsx("div",{className:"pt-4 border-t border-gray-200",children:l.jsx("div",{className:"bg-blue-100 p-4 rounded-lg",children:l.jsxs("label",{className:"flex items-start gap-3",children:[l.jsx("input",{type:"checkbox",name:"digitalCertificateDeclaration",checked:j.digitalCertificateDeclaration,onChange:P,className:"mt-1 h-4 w-4 text-primary focus:ring-primary border-gray-300 rounded",required:!0}),l.jsxs("div",{className:"flex-1",children:[l.jsx("span",{className:"text-sm font-medium text-gray-700",children:"Declaro que cuento con certificado digital o DNI electrónico *"}),l.jsx("p",{className:"text-xs text-gray-600 mt-1",children:"Necesarios para poder realizar el curso en el momento de la solicitud"})]})]})})}),r.formType==="enhanced"&&l.jsxs("div",{className:"pt-4 border-t border-gray-200",children:[l.jsx("h4",{className:"text-lg font-semibold text-gray-800 mb
4307-4",children:"Documentos requeridos"}),l.jsx("div",{className:"space-y-4",children:l.jsxs("div",{children:[l.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:"Documento ejemplo *"}),l.jsx("input",{type:"file",accept:".pdf,.jpg,.jpeg,.png,.doc,.docx",onChange:Se=>L(Se,"documents.example"),className:"w-full px-3 py-2 border border-gray-300 rounded-md"}),l.jsx("p",{className:"text-xs text-gray-500 mt-1",children:"Formatos permitidos: PDF, JPG, PNG, DOC, DOCX (máx. 10MB)"})]})})]})]}),l.jsxs("div",{className:"pt-4 border-t border-gray-200",children:[l.jsx("div",{className:"mb-2",children:l.jsx("span",{className:"text-sm font-medium text-gray-700",children:"Consentimiento para el uso de imágenes *"})}),l.jsxs("div",{className:"space-y-3",children:[l.jsxs("label",{className:"flex items-start space-x-3 cursor-pointer",children:[l.jsx("input",{type:"radio",name:"imageConsent",checked:j.imageConsentAccepted,onChange:()=>T({...j,imageConsentAccepted:!0,imageConsentDeclined:!1}),className:"h-4 w-4 text-primary focus:ring-primary border-gray-300 mt-1"}),l.jsx("div",{className:"flex-1",children:l.jsx("span",{className:"text-sm text-gray-700",children:"Acepto el consentimiento para el uso de imágenes"})})]}),l.jsxs("label",{className:"flex items-start space-x-3 cursor-pointer",children:[l.jsx("input",{type:"radio",name:"imageConsent",checked:j.imageConsentDeclined,onChange:()=>T({...j,imageConsentAccepted:!1,imageConsentDeclined:!0}),className:"h-4 w-4 text-primary focus:ring-primary border-gray-300 mt-1"}),l.jsx("div",{className:"flex-1",children:l.jsx("span",{className:"text-sm text-gray-700",children:"No acepto el consentimiento para el uso de imágenes"})})]})]})]}),r.formType==="tallerOnlineFiscalidad"&&r.referenceDocumentUrl&&!j.signedRegistrationFormUrl&&l.jsx("div",{className:"bg-amber-50 border border-amber-200 rounded-md p-4",children:l.jsxs("div",{className:"flex items-start gap-3",children:[l.jsx(rs,{className:"w-5 h-5 text-amber-600 flex-shrink-0 mt-0.5"}),l.jsxs("div",{children:[l.jsx("p",{className:"text-sm font-medium text-amber-800",children:"Documento requerido"}),l.jsx("p",{className:"text-xs text-amber-700 mt-1",children:"Debe descargar, completar y subir el documento de emprendimiento antes de poder inscribirse."})]})]})}),r.formType==="oficinAceleraPyme"&&!_&&l.jsx("div",{className:"bg-amber-50 border border-amber-200 rounded-md p-4",children:l.jsxs("div",{className:"flex items-start gap-3",children:[l.jsx(rs,{className:"w-5 h-5 text-amber-600 flex-shrink-0 mt-0.5"}),l.jsxs("div",{children:[l.jsx("p",{className:"text-sm font-medium text-amber-800",children:"Firma obligatoria requerida"}),l.jsx("p",{className:"text-xs text-amber-700 mt-1",children:"Debe completar y confirmar la firma del formulario antes de poder inscribirse."})]})]})}),l.jsx("button",{type:"submit",disabled:c||!K(),className:"w-full bg-primary text-white py-3 px-6 rounded-md hover:bg-primary-dark transition duration-200 disabled:opacity-50 disabled:cursor-not-allowed flex items-center justify-center gap-2",children:c?l.jsxs(l.Fragment,{children:[l.jsx("div",{className:"animate-spin rounded-full h-5 w-5 border-b-2 border-white"}),l.jsx("span",{children:"Procesando inscripción..."})]}):l.jsxs(l.Fragment,{children:[l.jsx(ca,{className:"w-5 h-5"}),l.jsx("span",{children:"Inscribirse"})]})}),!K()&&!c&&l.jsx("p",{className:"text-xs text-gray-500 text-center -mt-2",children:"Complete todos los campos obligatorios (*) y requisitos del evento para continuar"})]})]})]}),u&&l.jsxs("div",{className:"modern-card p-6 md:p-8 text-center",children:[l.jsx("div",{className:"w-16 h-16 bg-green-100 rounded-full flex items-center justify-center mx-auto mb-4",children:l.jsx(ca,{className:"w-8 h-8 text-green-600"})}),l.jsx("h2",{className:"text-2xl font-serif font-bold text-neutral-900 mb-4",children:"¡Inscripción Exitosa!"}),l.jsxs("p",{className:"text-neutral-600 mb-4",children:["Tu inscripción ha sido registrada exitosamente. Número de inscripción: ",l.jsxs("strong",{children:["#",u.registrationNumber]})]}),r.formType==="oficinAceleraPyme"&&u.generatedPdfUrl&&l.jsxs("div",{className:"bg-green-50 border border-green-200 rounded-lg p-4 mb-4 text-left",children:[l.jsx("p",{className:"text-sm font-semibold text-green-800 mb-1",children:"Ficha firmada generada"}),l.jsx("p",{className:"text-sm text-green-700",children:"Su ficha Acelera Pyme ha sido cumplimentada y firmada digitalmente. La Cámara de Comercio tiene acceso a su ficha firmada."})]}),l.jsxs("p",{className:"text-sm text-neutral-500 mb-6",children:["Queda confirmado! ",u.email]}),r.issueCredential&&l.jsxs("button",{onClick:te,className:"btn-primary mb-4",children:[l.jsx(Ru,{className:"w-5 h-5"}),l.jsx("span",{children:"Generar Credencial"})]}),l.jsx("div",{className:"text-sm text-neutral-500",children:l.jsxs("p",{children:["Para cualquier consulta, contacta con ",r.registrationEmail]})})]}),Ee&&l.jsxs("div",{className:"modern-card p-6 md:p-8 text-center",children:[l.jsx("div",{className:"w-16 h-16 bg-gray-100 rounded-full flex items-center justify-center mx-auto mb-4",children:ot?l.jsx(mb,{className:"w-8 h-8 text-gray-500"}):oe?l.jsx(da,{className:"w-8 h-8 text-gray-500"}):l.jsx(bl,{className:"w-8 h-8 text-gray-500"})}),l.jsx("h2",{className:"text-2xl font-serif font-bold text-neutral-900 mb
4307-4",children:ot?"Evento Finalizado":oe?"Plazo de Inscripción Cerrado":"Inscripciones Cerradas"}),l.jsx("p",{className:"text-neutral-600",children:ot?"Este evento ya ha finalizado.":oe?"El plazo de inscripción para este evento ha finalizado.":"Se ha alcanzado el lÃmite máximo de inscripciones para este evento."}),l.jsxs("p",{className:"text-sm text-neutral-500 mt-4",children:["Para más información, contacta con ",r.registrationEmail]})]}),f&&u&&r&&l.jsx(mW,{event:r,registration:u,onClose:()=>h(!1),isAdmin:!1}),m&&r.imageUrl&&l.jsxs("div",{className:"fixed inset-0 z-[100] bg-black/90 flex items-center justify-center p-4 animate-in fade-in duration-200",onClick:()=>p(!1),children:[l.jsx("button",{onClick:()=>p(!1),className:"absolute top-4 right-4 text-white/80 hover:text-white p-2 rounded-full hover:bg-white/10 transition-colors z-10","aria-label":"Cerrar",children:l.jsx(vi,{className:"w-8 h-8"})}),l.jsx("img",{src:r.imageUrl,alt:r.title,className:"max-w-full max-h-full object-contain rounded-lg shadow-2xl",onClick:Se=>Se.stopPropagation()})]}),x&&l.jsx(Iwe,{onAccept:async()=>{if(b(!0),v(!1),E){const Se=E;await fe(Se.oapData,Se.signature,Se.imageConsent,!0)}else await ne(!0)},onDecline:()=>{b(!1),S(null),v(!1)}})]})},Pwe=()=>{const[t,e]=Z.useState(""),[r,n]=Z.useState(""),{login:i,isAuthenticated:a,error:s,clearError:o,loading:c}=XC(),A=S1();Z.useEffect(()=>{a&&A("/admin/dashboard")},[a,A]);const u=async d=>{if(d.preventDefault(),!c)try{await i(t,r)}catch{}};return l.jsx("div",{className:"max-w-md mx-auto mt-16",children:l.jsxs("div",{className:"bg-white p-8 rounded-lg shadow-md",children:[l.jsx("div",{className:"flex justify-center mb-6",children:l.jsx(JQ,{className:"h-12 w-12 text-primary"})}),l.jsx("h2",{className:"text-2xl font-bold text-center text-gray-800 mb-6",children:"Acceso Administrador"}),s&&l.jsxs("div",{className:"bg-red-100 border border-red-400 text-red-700 px-4 py-3 rounded mb-4 relative",children:[l.jsxs("div",{className:"flex items-center",children:[l.jsx(rs,{className:"h-5 w-5 mr-2"}),l.jsx("span",{className:"block sm:inline",children:s})]}),l.jsx("button",{onClick:o,className:"absolute top-0 bottom-0 right-0 px-4 py-3",children:l.jsx(vi,{className:"h-5 w-5"})})]}),l.jsxs("form",{onSubmit:u,className:"space-y-4",children:[l.jsxs("div",{children:[l.jsx("label",{htmlFor:"email",className:"block text-sm font-medium text-gray-700 mb-1",children:"Email"}),l.jsx("input",{type:"email",id:"email",value:t,onChange:d=>e(d.target.value),className:"w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-primary focus:border-primary",required:!0})]}),l.jsxs("div",{children:[l.jsx("label",{htmlFor:"password",className:"block text-sm font-medium text-gray-700 mb-1",children:"Contraseña"}),l.jsx("input",{type:"password",id:"password",value:r,onChange:d=>n(d.target.value),className:"w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-primary focus:border-primary",required:!0})]}),l.jsx("button",{type:"submit",disabled:c,className:"w-full bg-primary text-white py-2 px-4 rounded-md hover:bg-primary-dark transition duration-200 disabled:opacity-50",children:c?"Iniciando sesión...":"Iniciar Sesión"})]})]})})};/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */var Jb={};Jb.version="0.18.5";var gW=1252,Dwe=[874,932,936,949,950,1250,1251,1252,1253,1254,1255,1256,1257,1258,1e4],vW=function(t){Dwe.indexOf(t)!=-1&&(gW=t)};function Owe(){vW(1252)}var h1=function(t){vW(t)};function Rwe(){h1(1200),Owe()}var yw=function(e){return String.fromCharCode(e)},uR=function(e){return String.fromCharCode(e)},Wd,wu="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function f1(t){for(var e="",r=0,n=0,i=0,a=0,s=0,o=0,c=0,A=0;A<t.length;)r=t.charCodeAt(A++),a=r>>2,n=t.charCodeAt(A++),s=(r&3)<<4|n>>4,i=t.charCodeAt(A++),o=(n&15)<<2|i>>6,c=i&63,isNaN(n)?o=c=64:isNaN(i)&&(c=64),e+=wu.charAt(a)+wu.charAt(s)+wu.charAt(o)+wu.charAt(c);return e}function dA(t){var e="",r=0,n=0,i=0,a=0,s=0,o=0,c=0;t=t.replace(/[^\w\+\/\=]/g,"");for(var A=0;A<t.length;)a=wu.indexOf(t.charAt(A++)),s=wu.indexOf(t.charAt(A++)),r=a<<2|s>>4,e+=String.fromCharCode(r),o=wu.indexOf(t.charAt(A++)),n=(s&15)<<4|o>>2,o!==64&&(e+=String.fromCharCode(n)),c=wu.indexOf(t.charAt(A++)),i=(o&3)<<6|c,c!==64&&(e+=String.fromCharCode(i));return e}var zr=function(){return typeof Buffer<"u"&&typeof process<"u"&&typeof process.versions<"u"&&!!process.versions.node}(),wA=function(){if(typeof Buffer<"u"){var t=!Buffer.from;if(!t)try{Buffer.from("foo","utf8")}catch{t=!0}return t?function(e,r){return r?new Buffer(e,r):new Buffer(e)}:Buffer.from.bind(Buffer)}return function(){}}();function Ih(t){return zr?Buffer.alloc?Buffer.alloc(t):new Buffer(t):typeof Uint8Array<"u"?new Uint8Array(t):new Array(t)}function dR(t){return zr?Buffer.allocUnsafe?Buffer.allocUnsafe(t):new Buffer(t):typeof Uint8Array<"u"?new Uint8Array(t):new Array(t)}var gl=function(e){return zr?wA(e,"binary"):e.split("").map(function(r){return r.charCodeAt(0)&255})};function Q5(t){if(typeof ArrayBuffer>"u")return gl(t);
4307for(var e=new ArrayBuffer(t.length),r=new Uint8Array(e),n=0;n!=t.length;++n)r[n]=t.charCodeAt(n)&255;return e}function rx(t){if(Array.isArray(t))return t.map(function(n){return String.fromCharCode(n)}).join("");for(var e=[],r=0;r<t.length;++r)e[r]=String.fromCharCode(t[r]);return e.join("")}function Uwe(t){if(typeof Uint8Array>"u")throw new Error("Unsupported");return new Uint8Array(t)}var Aa=zr?function(t){return Buffer.concat(t.map(function(e){return Buffer.isBuffer(e)?e:wA(e)}))}:function(t){if(typeof Uint8Array<"u"){var e=0,r=0;for(e=0;e<t.length;++e)r+=t[e].length;var n=new Uint8Array(r),i=0;for(e=0,r=0;e<t.length;r+=i,++e)if(i=t[e].length,t[e]instanceof Uint8Array)n.set(t[e],r);else{if(typeof t[e]=="string")throw"wtf";n.set(new Uint8Array(t[e]),r)}return n}return[].concat.apply([],t.map(function(a){return Array.isArray(a)?a:[].slice.call(a)}))};function Lwe(t){for(var e=[],r=0,n=t.length+250,i=Ih(t.length+255),a=0;a<t.length;++a){var s=t.charCodeAt(a);if(s<128)i[r++]=s;else if(s<2048)i[r++]=192|s>>6&31,i[r++]=128|s&63;else if(s>=55296&&s<57344){s=(s&1023)+64;var o=t.charCodeAt(++a)&1023;i[r++]=240|s>>8&7,i[r++]=128|s>>2&63,i[r++]=128|o>>6&15|(s&3)<<4,i[r++]=128|o&63}else i[r++]=224|s>>12&15,i[r++]=128|s>>6&63,i[r++]=128|s&63;r>n&&(e.push(i.slice(0,r)),r=0,i=Ih(65535),n=65530)}return e.push(i.slice(0,r)),Aa(e)}var cv=/\u0000/g,ww=/[\u0001-\u0006]/g;function J0(t){for(var e="",r=t.length-1;r>=0;)e+=t.charAt(r--);return e}function Cl(t,e){var r=""+t;return r.length>=e?r:Yn("0",e-r.length)+r}function QT(t,e){var r=""+t;return r.length>=e?r:Yn(" ",e-r.length)+r}function Xb(t,e){var r=""+t;return r.length>=e?r:r+Yn(" ",e-r.length)}function Mwe(t,e){var r=""+Math.round(t);return r.length>=e?r:Yn("0",e-r.length)+r}function Qwe(t,e){var r=""+t;return r.length>=e?r:Yn("0",e-r.length)+r}var hR=Math.pow(2,32);function Kf(t,e){if(t>hR||t<-hR)return Mwe(t,e);var r=Math.round(t);return Qwe(r,e)}function Yb(t,e){return e=e||0,t.length>=7+e&&(t.charCodeAt(e)|32)===103&&(t.charCodeAt(e+1)|32)===101&&(t.charCodeAt(e+2)|32)===110&&(t.charCodeAt(e+3)|32)===101&&(t.charCodeAt(e+4)|32)===114&&(t.charCodeAt(e+5)|32)===97&&(t.charCodeAt(e+6)|32)===108}var fR=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],P4=[["J","Jan","January"],["F","Feb","February"],["M","Mar","March"],["A","Apr","April"],["M","May","May"],["J","Jun","June"],["J","Jul","July"],["A","Aug","August"],["S","Sep","September"],["O","Oct","October"],["N","Nov","November"],["D","Dec","December"]];function Hwe(t){return t||(t={}),t[0]="General",t[1]="0",t[2]="0.00",t[3]="#,##0",t[4]="#,##0.00",t[9]="0%",t[10]="0.00%",t[11]="0.00E+00",t[12]="# ?/?",t[13]="# ??/??",t[14]="m/d/yy",t[15]="d-mmm-yy",t[16]="d-mmm",t[17]="mmm-yy",t[18]="h:mm AM/PM",t[19]="h:mm:ss AM/PM",t[20]="h:mm",t[21]="h:mm:ss",t[22]="m/d/yy h:mm",t[37]="#,##0 ;(#,##0)",t[38]="#,##0 ;[Red](#,##0)",t[39]="#,##0.00;(#,##0.00)",t[40]="#,##0.00;[Red](#,##0.00)",t[45]="mm:ss",t[46]="[h]:mm:ss",t[47]="mmss.0",t[48]="##0.0E+0",t[49]="@",t[56]='"ä¸å/ä¸å "hh"æ"mm"å"ss"ç§ "',t}var Zn={0:"General",1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",14:"m/d/yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",37:"#,##0 ;(#,##0)",38:"#,##0 ;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0",48:"##0.0E+0",49:"@",56:'"ä¸å/ä¸å "hh"æ"mm"å"ss"ç§ "'},pR={5:37,6:38,7:39,8:40,23:0,24:0,25:0,26:0,27:14,28:14,29:14,30:14,31:14,50:14,51:14,52:14,53:14,54:14,55:14,56:14,57:14,58:14,59:1,60:2,61:3,62:4,67:9,68:10,69:12,70:13,71:14,72:14,73:15,74:16,75:17,76:20,77:21,78:22,79:45,80:46,81:47,82:0},zwe={5:'"$"#,##0_);\\("$"#,##0\\)',63:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',41:'_(* #,##0_);_(* \\(#,##0\\);
4307_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)'};function Zb(t,e,r){for(var n=t<0?-1:1,i=t*n,a=0,s=1,o=0,c=1,A=0,u=0,d=Math.floor(i);A<e&&(d=Math.floor(i),o=d*s+a,u=d*A+c,!(i-d<5e-8));)i=1/(i-d),a=s,s=o,c=A,A=u;if(u>e&&(A>e?(u=c,o=a):(u=A,o=s)),!r)return[0,n*o,u];var f=Math.floor(n*o/u);return[f,n*o-f*u,u]}function bw(t,e,r){if(t>2958465||t<0)return null;var n=t|0,i=Math.floor(86400*(t-n)),a=0,s=[],o={D:n,T:i,u:86400*(t-n)-i,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(o.u)<1e-6&&(o.u=0),e&&e.date1904&&(n+=1462),o.u>.9999&&(o.u=0,++i==86400&&(o.T=i=0,++n,++o.D)),n===60)s=r?[1317,10,29]:[1900,2,29],a=3;else if(n===0)s=r?[1317,8,29]:[1900,1,0],a=6;else{n>60&&--n;var c=new Date(1900,0,1);c.setDate(c.getDate()+n-1),s=[c.getFullYear(),c.getMonth()+1,c.getDate()],a=c.getDay(),n<60&&(a=(a+6)%7),r&&(a=Xwe(c,s))}return o.y=s[0],o.m=s[1],o.d=s[2],o.S=i%60,i=Math.floor(i/60),o.M=i%60,i=Math.floor(i/60),o.H=i,o.q=a,o}var xW=new Date(1899,11,31,0,0,0),Vwe=xW.getTime(),Wwe=new Date(1900,2,1,0,0,0);function yW(t,e){var r=t.getTime();return e?r-=1461*24*60*60*1e3:t>=Wwe&&(r+=24*60*60*1e3),(r-(Vwe+(t.getTimezoneOffset()-xW.getTimezoneOffset())*6e4))/(24*60*60*1e3)}function HT(t){return t.indexOf(".")==-1?t:t.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function Kwe(t){return t.indexOf("E")==-1?t:t.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}function qwe(t){var e=t<0?12:11,r=HT(t.toFixed(12));return r.length<=e||(r=t.toPrecision(10),r.length<=e)?r:t.toExponential(5)}function Gwe(t){var e=HT(t.toFixed(11));return e.length>(t<0?12:11)||e==="0"||e==="-0"?t.toPrecision(6):e}function Jwe(t){var e=Math.floor(Math.log(Math.abs(t))*Math.LOG10E),r;return e>=-4&&e<=-1?r=t.toPrecision(10+e):Math.abs(e)<=9?r=qwe(t):e===10?r=t.toFixed(10).substr(0,12):r=Gwe(t),HT(Kwe(r.toUpperCase()))}function L_(t,e){switch(typeof t){case"string":return t;case"boolean":return t?"TRUE":"FALSE";case"number":return(t|0)===t?t.toString(10):Jwe(t);case"undefined":return"";case"object":if(t==null)return"";if(t instanceof Date)return id(14,yW(t,e&&e.date1904),e)}throw new Error("unsupported value in General format: "+t)}function Xwe(t,e){e[0]-=581;var r=t.getDay();return t<60&&(r=(r+6)%7),r}function Ywe(t,e,r,n){var i="",a=0,s=0,o=r.y,c,A=0;switch(t){case 98:o=r.y+543;case 121:switch(e.length){case 1:case 2:c=o%100,A=2;break;default:c=o%1e4,A=4;break}break;case 109:switch(e.length){case 1:case 2:c=r.m,A=e.length;break;case 3:return P4[r.m-1][1];case 5:return P4[r.m-1][0];default:return P4[r.m-1][2]}break;case 100:switch(e.length){case 1:case 2:c=r.d,A=e.length;break;case 3:return fR[r.q][0];default:return fR[r.q][1]}break;case 104:switch(e.length){case 1:case 2:c=1+(r.H+11)%12,A=e.length;break;default:throw"bad hour format: "+e}break;case 72:switch(e.length){case 1:case 2:c=r.H,A=e.length;break;default:throw"bad hour format: "+e}break;case 77:switch(e.length){case 1:case 2:c=r.M,A=e.length;break;default:throw"bad minute format: "+e}break;case 115:if(e!="s"&&e!="ss"&&e!=".0"&&e!=".00"&&e!=".000")throw"bad second format: "+e;return r.u===0&&(e=="s"||e=="ss")?Cl(r.S,e.length):(n>=2?s=n===3?1e3:100:s=n===1?10:1,a=Math.round(s*(r.S+r.u)),a>=60*s&&(a=0),e==="s"?a===0?"0":""+a/s:(i=Cl(a,2+n),e==="ss"?i.substr(0,2):"."+i.substr(2,e.length-1)));case 90:switch(e){case"[h]":case"[hh]":c=r.D*24+r.H;break;case"[m]":case"[mm]":c=(r.D*24+r.H)*60+r.M;break;case"[s]":case"[ss]":c=((r.D*24+r.H)*60+r.M)*60+Math.round(r.S+r.u);break;default:throw"bad abstime format: "+e}A=e.length===3?1:2;break;case 101:c=o,A=1;break}var u=A>0?Cl(c,A):"";return u}function bu(t){var e=3;if(t.length<=e)return t;for(var r=t.length%e,n=t.substr(0,r);r!=t.length;r+=e)n+=(n.length>0?",":"")+t.substr(r,e);return n}var wW=/%/g;function Zwe(t,e,r){var n=e.replace(wW,""),i=e.length-n.length;return $c(t,n,r*Math.pow(10,2*i))+Yn("%",i)}function $we(t,e,r){for(var n=e.length-1;e.charCodeAt(n-1)===44;)--n;return $c(t,e.substr(0,n),r/Math.pow(10,3*(e.length-n)))}function bW(t,e){var r,n=t.indexOf("E")-t.indexOf(".")-1;if(t.match(/^#+0.0E\+0$/)){if(e==0)return"0.0E+0";if(e<0)return"-"+bW(t,-e);var i=t.indexOf(".");i===-1&&(i=t.indexOf("E"));var a=Math.floor(Math.log(e)*Math.LOG10E)%i;if(a<0&&(a+=i),r=(e/Math.pow(10,a)).toPrecision(n+1+(i+a)%i),r.indexOf("e")===-1){var s=Math.floor(Math.log(e)*Math.LOG10E);for(r.indexOf(".")===-1?r=r.charAt(0)+"."+r.substr(1)+"E+"+(s-r.length+a):r+="E+"+(s-a);r.substr(0,2)==="0.";
vendor: 5,562 bytes, line 4307
4307)r=r.charAt(0)+r.substr(2,i)+"."+r.substr(2+i),r=r.replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");r=r.replace(/\+-/,"-")}r=r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(o,c,A,u){return c+A+u.substr(0,(i+a)%i)+"."+u.substr(a)+"E"})}else r=e.toExponential(n);return t.match(/E\+00$/)&&r.match(/e[+-]\d$/)&&(r=r.substr(0,r.length-1)+"0"+r.charAt(r.length-1)),t.match(/E\-/)&&r.match(/e\+/)&&(r=r.replace(/e\+/,"e")),r.replace("e","E")}var CW=/# (\?+)( ?)\/( ?)(\d+)/;function e2e(t,e,r){var n=parseInt(t[4],10),i=Math.round(e*n),a=Math.floor(i/n),s=i-a*n,o=n;return r+(a===0?"":""+a)+" "+(s===0?Yn(" ",t[1].length+1+t[4].length):QT(s,t[1].length)+t[2]+"/"+t[3]+Cl(o,t[4].length))}function t2e(t,e,r){return r+(e===0?"":""+e)+Yn(" ",t[1].length+2+t[4].length)}var BW=/^#*0*\.([0#]+)/,EW=/\).*[0#]/,NW=/\(###\) ###\\?-####/;function Ya(t){for(var e="",r,n=0;n!=t.length;++n)switch(r=t.charCodeAt(n)){case 35:break;case 63:e+=" ";break;case 48:e+="0";break;default:e+=String.fromCharCode(r)}return e}function mR(t,e){var r=Math.pow(10,e);return""+Math.round(t*r)/r}function gR(t,e){var r=t-Math.floor(t),n=Math.pow(10,e);return e<(""+Math.round(r*n)).length?0:Math.round(r*n)}function r2e(t,e){return e<(""+Math.round((t-Math.floor(t))*Math.pow(10,e))).length?1:0}function n2e(t){return t<2147483647&&t>-2147483648?""+(t>=0?t|0:t-1|0):""+Math.floor(t)}function bo(t,e,r){if(t.charCodeAt(0)===40&&!e.match(EW)){var n=e.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return r>=0?bo("n",n,r):"("+bo("n",n,-r)+")"}if(e.charCodeAt(e.length-1)===44)return $we(t,e,r);if(e.indexOf("%")!==-1)return Zwe(t,e,r);if(e.indexOf("E")!==-1)return bW(e,r);if(e.charCodeAt(0)===36)return"$"+bo(t,e.substr(e.charAt(1)==" "?2:1),r);var i,a,s,o,c=Math.abs(r),A=r<0?"-":"";if(e.match(/^00+$/))return A+Kf(c,e.length);if(e.match(/^[#?]+$/))return i=Kf(r,0),i==="0"&&(i=""),i.length>e.length?i:Ya(e.substr(0,e.length-i.length))+i;if(a=e.match(CW))return e2e(a,c,A);if(e.match(/^#+0+$/))return A+Kf(c,e.length-e.indexOf("0"));if(a=e.match(BW))return i=mR(r,a[1].length).replace(/^([^\.]+)$/,"$1."+Ya(a[1])).replace(/\.$/,"."+Ya(a[1])).replace(/\.(\d*)$/,function(m,p){return"."+p+Yn("0",Ya(a[1]).length-p.length)}),e.indexOf("0.")!==-1?i:i.replace(/^0\./,".");if(e=e.replace(/^#+([0.])/,"$1"),a=e.match(/^(0*)\.(#*)$/))return A+mR(c,a[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,a[1].length?"0.":".");if(a=e.match(/^#{1,3},##0(\.?)$/))return A+bu(Kf(c,0));if(a=e.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+bo(t,e,-r):bu(""+(Math.floor(r)+r2e(r,a[1].length)))+"."+Cl(gR(r,a[1].length),a[1].length);if(a=e.match(/^#,#*,#0/))return bo(t,e.replace(/^#,#*,/,""),r);if(a=e.match(/^([0#]+)(\\?-([0#]+))+$/))return i=J0(bo(t,e.replace(/[\\-]/g,""),r)),s=0,J0(J0(e.replace(/\\/g,"")).replace(/[0#]/g,function(m){return s<i.length?i.charAt(s++):m==="0"?"0":""}));if(e.match(NW))return i=bo(t,"##########",r),"("+i.substr(0,3)+") "+i.substr(3,3)+"-"+i.substr(6);var u="";if(a=e.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return s=Math.min(a[4].length,7),o=Zb(c,Math.pow(10,s)-1,!1),i=""+A,u=$c("n",a[1],o[1]),u.charAt(u.length-1)==" "&&(u=u.substr(0,u.length-1)+"0"),i+=u+a[2]+"/"+a[3],u=Xb(o[2],s),u.length<a[4].length&&(u=Ya(a[4].substr(a[4].length-u.length))+u),i+=u,i;if(a=e.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return s=Math.min(Math.max(a[1].length,a[4].length),7),o=Zb(c,Math.pow(10,s)-1,!0),A+(o[0]||(o[1]?"":"0"))+" "+(o[1]?QT(o[1],s)+a[2]+"/"+a[3]+Xb(o[2],s):Yn(" ",2*s+1+a[2].length+a[3].length));if(a=e.match(/^[#0?]+$/))return i=Kf(r,0),e.length<=i.length?i:Ya(e.substr(0,e.length-i.length))+i;if(a=e.match(/^([#0?]+)\.([#0]+)$/)){i=""+r.toFixed(Math.min(a[2].length,10)).replace(/([^0])0+$/,"$1"),s=i.indexOf(".");var d=e.indexOf(".")-s,f=e.length-i.length-d;return Ya(e.substr(0,d)+i+e.substr(e.length-f))}if(a=e.match(/^00,000\.([#0]*0)$/))return s=gR(r,a[1].length),r<0?"-"+bo(t,e,-r):bu(n2e(r)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(m){return"00,"+(m.length<3?Cl(0,3-m.length):"")+m})+"."+Cl(s,a[1].length);switch(e){case"###,##0.00":return bo(t,"#,##0.00",r);case"###,###":case"##,###":case"#,###":var h=bu(Kf(c,0));return h!=="0"?A+h:"";case"###,###.00":return bo(t,"###,##0.00",r).replace(/^0\./,".");case"#,###.00":return bo(t,"#,##0.00",r).replace(/^0\./,".")}throw new Error("unsupported format |"+e+"|")}function i2e(t,e,r){for(var n=e.length-1;e.charCodeAt(n-1)===44;)--n;return $c(t,e.substr(0,n),r/Math.pow(10,3*(e.length-n)))}function a2e(t,e,r){var n=e.replace(wW,""),i=e.length-n.length;return $c(t,n,r*Math.pow(10,2*i))+Yn("%",i)}function SW(t,e){var r,n=t.indexOf("E")-t.indexOf(".")-1;if(t.match(/^#+0.0E\+0$/)){if(e==0)return"0.0E+0";if(e<0)return"-"+SW(t,-e);var i=t.indexOf(".");i===-1&&(i=t.indexOf("E"));var a=Math.floor(Math.log(e)*Math.LOG10E)%i;if(a<0&&(a+=i),r=(e/Math.pow(10,a)).toPrecision(n+1+(i+a)%i),!r.match(/[Ee]/)){var s=Math.floor(Math.log(e)*Math.LOG10E);r.indexOf(".")===-1?r=r.charAt(0)+"."+r.substr(1)+"E+"+(s-r.length+a):r+="E+"+(s-a),r=r.replace(/\+-/,"-")}r=r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(o,c,A,u){return c+A+u.substr(0,(i+a)%i)+"."+u.substr(a)+"E"})}else r=e.toExponential(n);return t.match(/E\+00$/)&&r.match(/e[+-]\d$/)&&(r=r.substr(0,r.length-1)+"0"+r.charAt(r.length-1)),t.match(/E\-/)&&r.match(/e\+/)&&(r=r.replace(/e\+/,"e")),r.replace("e","E")}function Kl(t,e,r){if(t.charCodeAt(0)===40&&!e.match(EW)){var n=e.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return r>=0?Kl("n",n,r):"("+Kl("n",n,-r)+")"}if(e.charCodeAt(e.length-1)===44)return i2e(t,e,r);
vendor: 13,132 bytes, line 4307
4307if(e.indexOf("%")!==-1)return a2e(t,e,r);if(e.indexOf("E")!==-1)return SW(e,r);if(e.charCodeAt(0)===36)return"$"+Kl(t,e.substr(e.charAt(1)==" "?2:1),r);var i,a,s,o,c=Math.abs(r),A=r<0?"-":"";if(e.match(/^00+$/))return A+Cl(c,e.length);if(e.match(/^[#?]+$/))return i=""+r,r===0&&(i=""),i.length>e.length?i:Ya(e.substr(0,e.length-i.length))+i;if(a=e.match(CW))return t2e(a,c,A);if(e.match(/^#+0+$/))return A+Cl(c,e.length-e.indexOf("0"));if(a=e.match(BW))return i=(""+r).replace(/^([^\.]+)$/,"$1."+Ya(a[1])).replace(/\.$/,"."+Ya(a[1])),i=i.replace(/\.(\d*)$/,function(m,p){return"."+p+Yn("0",Ya(a[1]).length-p.length)}),e.indexOf("0.")!==-1?i:i.replace(/^0\./,".");if(e=e.replace(/^#+([0.])/,"$1"),a=e.match(/^(0*)\.(#*)$/))return A+(""+c).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,a[1].length?"0.":".");if(a=e.match(/^#{1,3},##0(\.?)$/))return A+bu(""+c);if(a=e.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+Kl(t,e,-r):bu(""+r)+"."+Yn("0",a[1].length);if(a=e.match(/^#,#*,#0/))return Kl(t,e.replace(/^#,#*,/,""),r);if(a=e.match(/^([0#]+)(\\?-([0#]+))+$/))return i=J0(Kl(t,e.replace(/[\\-]/g,""),r)),s=0,J0(J0(e.replace(/\\/g,"")).replace(/[0#]/g,function(m){return s<i.length?i.charAt(s++):m==="0"?"0":""}));if(e.match(NW))return i=Kl(t,"##########",r),"("+i.substr(0,3)+") "+i.substr(3,3)+"-"+i.substr(6);var u="";if(a=e.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return s=Math.min(a[4].length,7),o=Zb(c,Math.pow(10,s)-1,!1),i=""+A,u=$c("n",a[1],o[1]),u.charAt(u.length-1)==" "&&(u=u.substr(0,u.length-1)+"0"),i+=u+a[2]+"/"+a[3],u=Xb(o[2],s),u.length<a[4].length&&(u=Ya(a[4].substr(a[4].length-u.length))+u),i+=u,i;if(a=e.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return s=Math.min(Math.max(a[1].length,a[4].length),7),o=Zb(c,Math.pow(10,s)-1,!0),A+(o[0]||(o[1]?"":"0"))+" "+(o[1]?QT(o[1],s)+a[2]+"/"+a[3]+Xb(o[2],s):Yn(" ",2*s+1+a[2].length+a[3].length));if(a=e.match(/^[#0?]+$/))return i=""+r,e.length<=i.length?i:Ya(e.substr(0,e.length-i.length))+i;if(a=e.match(/^([#0]+)\.([#0]+)$/)){i=""+r.toFixed(Math.min(a[2].length,10)).replace(/([^0])0+$/,"$1"),s=i.indexOf(".");var d=e.indexOf(".")-s,f=e.length-i.length-d;return Ya(e.substr(0,d)+i+e.substr(e.length-f))}if(a=e.match(/^00,000\.([#0]*0)$/))return r<0?"-"+Kl(t,e,-r):bu(""+r).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(m){return"00,"+(m.length<3?Cl(0,3-m.length):"")+m})+"."+Cl(0,a[1].length);switch(e){case"###,###":case"##,###":case"#,###":var h=bu(""+c);return h!=="0"?A+h:"";default:if(e.match(/\.[0#?]*$/))return Kl(t,e.slice(0,e.lastIndexOf(".")),r)+Ya(e.slice(e.lastIndexOf(".")))}throw new Error("unsupported format |"+e+"|")}function $c(t,e,r){return(r|0)===r?Kl(t,e,r):bo(t,e,r)}function s2e(t){for(var e=[],r=!1,n=0,i=0;n<t.length;++n)switch(t.charCodeAt(n)){case 34:r=!r;break;case 95:case 42:case 92:++n;break;case 59:e[e.length]=t.substr(i,n-i),i=n+1}if(e[e.length]=t.substr(i),r===!0)throw new Error("Format |"+t+"| unterminated string ");return e}var _W=/\[[HhMmSs\u0E0A\u0E19\u0E17]*\]/;function FW(t){for(var e=0,r="",n="";e<t.length;)switch(r=t.charAt(e)){case"G":Yb(t,e)&&(e+=6),e++;break;case'"':for(;t.charCodeAt(++e)!==34&&e<t.length;);++e;break;case"\\":e+=2;break;case"_":e+=2;break;case"@":++e;break;case"B":case"b":if(t.charAt(e+1)==="1"||t.charAt(e+1)==="2")return!0;case"M":case"D":case"Y":case"H":case"S":case"E":case"m":case"d":case"y":case"h":case"s":case"e":case"g":return!0;case"A":case"a":case"ä¸":if(t.substr(e,3).toUpperCase()==="A/P"||t.substr(e,5).toUpperCase()==="AM/PM"||t.substr(e,5).toUpperCase()==="ä¸å/ä¸å")return!0;++e;break;case"[":for(n=r;t.charAt(e++)!=="]"&&e<t.length;)n+=t.charAt(e);if(n.match(_W))return!0;break;case".":case"0":case"#":for(;e<t.length&&("0#?.,E+-%".indexOf(r=t.charAt(++e))>-1||r=="\\"&&t.charAt(e+1)=="-"&&"0#".indexOf(t.charAt(e+2))>-1););break;case"?":for(;t.charAt(++e)===r;);break;case"*":++e,(t.charAt(e)==" "||t.charAt(e)=="*")&&++e;break;case"(":case")":++e;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(;e<t.length&&"0123456789".indexOf(t.charAt(++e))>-1;);break;case" ":++e;break;default:++e;break}return!1}function o2e(t,e,r,n){for(var i=[],a="",s=0,o="",c="t",A,u,d,f="H";s<t.length;)switch(o=t.charAt(s)){case"G":if(!Yb(t,s))throw new Error("unrecognized character "+o+" in "+t);i[i.length]={t:"G",v:"General"},s+=7;break;case'"':for(a="";(d=t.charCodeAt(++s))!==34&&s<t.length;)a+=String.fromCharCode(d);i[i.length]={t:"t",v:a},++s;break;case"\\":var h=t.charAt(++s),m=h==="("||h===")"?h:"t";i[i.length]={t:m,v:h},++s;break;case"_":i[i.length]={t:"t",v:" "},s+=2;break;case"@":i[i.length]={t:"T",v:e},++s;break;case"B":case"b":if(t.charAt(s+1)==="1"||t.charAt(s+1)==="2"){if(A==null&&(A=bw(e,r,t.charAt(s+1)==="2"),A==null))return"";i[i.length]={t:"X",v:t.substr(s,2)},c=o,s+=2;break}case"M":case"D":case"Y":case"H":case"S":case"E":o=o.toLowerCase();case"m":case"d":case"y":case"h":case"s":case"e":case"g":if(e<0||A==null&&(A=bw(e,r),A==null))return"";for(a=o;++s<t.length&&t.charAt(s).toLowerCase()===o;)a+=o;o==="m"&&c.toLowerCase()==="h"&&(o="M"),o==="h"&&(o=f),i[i.length]={t:o,v:a},c=o;break;case"A":case"a":case"ä¸":var p={t:o,v:o};if(A==null&&(A=bw(e,r)),t.substr(s,3).toUpperCase()==="A/P"?(A!=null&&(p.v=A.H>=12?"P":"A"),p.t="T",f="h",s+=3):t.substr(s,5).toUpperCase()==="AM/PM"?(A!=null&&(p.v=A.H>=12?"PM":"AM"),p.t="T",s+=5,f="h"):t.substr(s,5).toUpperCase()==="ä¸å/ä¸å"?(A!=null&&(p.v=A.H>=12?"ä¸å":"ä¸å"),p.t="T",s+=5,f="h"):(p.t="t",++s),A==null&&p.t==="T")return"";i[i.length]=p,c=o;break;case"[":for(a=o;t.charAt(s++)!=="]"&&s<t.length;)a+=t.charAt(s);if(a.slice(-1)!=="]")throw'unterminated "[" block: |'+a+"|";if(a.match(_W)){if(A==null&&(A=bw(e,r),A==null))return"";i[i.length]={t:"Z",v:a.toLowerCase()},c=a.charAt(1)}else a.indexOf("$")>-1&&(a=(a.match(/\$([^-\[\]]*)/)||[])[1]||"$",FW(t)||(i[i.length]={t:"t",v:a}));break;case".":if(A!=null){for(a=o;++s<t.length&&(o=t.charAt(s))==="0";)a+=o;i[i.length]={t:"s",v:a};break}case"0":case"#":for(a=o;++s<t.length&&"0#?.,E+-%".indexOf(o=t.charAt(s))>-1;)a+=o;i[i.length]={t:"n",v:a};break;case"?":for(a=o;t.charAt(++s)===o;)a+=o;i[i.length]={t:o,v:a},c=o;break;case"*":++s,(t.charAt(s)==" "||t.charAt(s)=="*")&&++s;break;case"(":case")":i[i.length]={t:n===1?"t":o,v:o},++s;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(a=o;s<t.length&&"0123456789".indexOf(t.charAt(++s))>-1;)a+=t.charAt(s);i[i.length]={t:"D",v:a};break;case" ":i[i.length]={t:o,v:o},++s;break;case"$":i[i.length]={t:"t",v:"$"},++s;break;default:if(",$-+/():!^&'~{}<>=â¬acfijklopqrtuvwxzP".indexOf(o)===-1)throw new Error("unrecognized character "+o+" in "+t);i[i.length]={t:"t",v:o},++s;break}var x=0,v=0,y;for(s=i.length-1,c="t";s>=0;--s)switch(i[s].t){case"h":case"H":i[s].t=f,c="h",x<1&&(x=1);break;case"s":(y=i[s].v.match(/\.0+$/))&&(v=Math.max(v,y[0].length-1)),x<3&&(x=3);case"d":case"y":case"M":case"e":c=i[s].t;break;case"m":c==="s"&&(i[s].t="M",x<2&&(x=2));break;case"X":break;case"Z":x<1&&i[s].v.match(/[Hh]/)&&(x=1),x<2&&i[s].v.match(/[Mm]/)&&(x=2),x<3&&i[s].v.match(/[Ss]/)&&(x=3)}switch(x){case 0:break;case 1:A.u>=.5&&(A.u=0,++A.S),A.S>=60&&(A.S=0,++A.M),A.M>=60&&(A.M=0,++A.H);break;case 2:A.u>=.5&&(A.u=0,++A.S),A.S>=60&&(A.S=0,++A.M);break}var b="",E;for(s=0;s<i.length;++s)switch(i[s].t){case"t":case"T":case" ":case"D":break;case"X":i[s].v="",i[s].t=";";break;case"d":case"m":case"y":case"h":case"H":case"M":case"s":case"e":case"b":case"Z":i[s].v=Ywe(i[s].t.charCodeAt(0),i[s].v,A,v),i[s].t="t";break;case"n":case"?":for(E=s+1;i[E]!=null&&((o=i[E].t)==="?"||o==="D"||(o===" "||o==="t")&&i[E+1]!=null&&(i[E+1].t==="?"||i[E+1].t==="t"&&i[E+1].v==="/")||i[s].t==="("&&(o===" "||o==="n"||o===")")||o==="t"&&(i[E].v==="/"||i[E].v===" "&&i[E+1]!=null&&i[E+1].t=="?"));)i[s].v+=i[E].v,i[E]={v:"",t:";"},++E;b+=i[s].v,s=E-1;break;case"G":i[s].t="t",i[s].v=L_(e,r);break}var S="",I,B;if(b.length>0){b.charCodeAt(0)==40?(I=e<0&&b.charCodeAt(0)===45?-e:e,B=$c("n",b,I)):(I=e<0&&n>1?-e:e,B=$c("n",b,I),I<0&&i[0]&&i[0].t=="t"&&(B=B.substr(1),i[0].v="-"+i[0].v)),E=B.length-1;var _=i.length;for(s=0;s<i.length;++s)if(i[s]!=null&&i[s].t!="t"&&i[s].v.indexOf(".")>-1){_=s;break}var O=i.length;if(_===i.length&&B.indexOf("E")===-1){for(s=i.length-1;s>=0;--s)i[s]==null||"n?".indexOf(i[s].t)===-1||(E>=i[s].v.length-1?(E-=i[s].v.length,i[s].v=B.substr(E+1,i[s].v.length)):E<0?i[s].v="":(i[s].v=B.substr(0,E+1),E=-1),i[s].t="t",O=s);E>=0&&O<i.length&&(i[O].v=B.substr(0,E+1)+i[O].v)}else if(_!==i.length&&B.indexOf("E")===-1){for(E=B.indexOf(".")-1,s=_;s>=0;--s)if(!(i[s]==null||"n?".indexOf(i[s].t)===-1)){for(u=i[s].v.indexOf(".")>-1&&s===_?i[s].v.indexOf(".")-1:i[s].v.length-1,S=i[s].v.substr(u+1);u>=0;--u)E>=0&&(i[s].v.charAt(u)==="0"||i[s].v.charAt(u)==="#")&&(S=B.charAt(E--)+S);i[s].v=S,i[s].t="t",O=s}for(E>=0&&O<i.length&&(i[O].v=B.substr(0,E+1)+i[O].v),E=B.indexOf(".")+1,s=_;s<i.length;++s)if(!(i[s]==null||"n?(".indexOf(i[s].t)===-1&&s!==_)){for(u=i[s].v.indexOf(".")>-1&&s===_?i[s].v.indexOf(".")+1:0,S=i[s].v.substr(0,u);u<i[s].v.length;++u)E<B.length&&(S+=B.charAt(E++));i[s].v=S,i[s].t="t",O=s}}}for(s=0;s<i.length;++s)i[s]!=null&&"n?".indexOf(i[s].t)>-1&&(I=n>1&&e<0&&s>0&&i[s-1].v==="-"?-e:e,i[s].v=$c(i[s].t,i[s].v,I),i[s].t="t");var j="";for(s=0;s!==i.length;++s)i[s]!=null&&(j+=i[s].v);return j}var vR=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function xR(t,e){if(e==null)return!1;var r=parseFloat(e[2]);switch(e[1]){case"=":if(t==r)return!0;break;case">":if(t>r)return!0;break;case"<":if(t<r)return!0;break;case"<>":if(t!=r)return!0;break;case">=":if(t>=r)return!0;break;case"<=":if(t<=r)return!0;break}return!1}function l2e(t,e){var r=s2e(t),n=r.length,i=r[n-1].indexOf("@");if(n<4&&i>-1&&--n,r.length>4)throw new Error("cannot find right format for |"+r.join("|")+"|");if(typeof e!="number")return[4,r.length===4||i>-1?r[r.length-1]:"@"];switch(r.length){case 1:r=i>-1?["General","General","General",r[0]]:[r[0],r[0],r[0],"@"];break;case 2:r=i>-1?[r[0],r[0],r[0],r[1]]:[r[0],r[1],r[0],"@"];break;case 3:r=i>-1?[r[0],r[1],r[0],r[2]]:[r[0],r[1],r[2],"@"];break}var a=e>0?r[0]:e<0?r[1]:r[2];if(r[0].indexOf("[")===-1&&r[1].indexOf("[")===-1)return[n,a];if(r[0].match(/\[[=<>]/)!=null||r[1].match(/\[[=<>]/)!=null){var s=r[0].match(vR),o=r[1].match(vR);return xR(e,s)?[n,r[0]]:xR(e,o)?[n,r[1]]:[n,r[s!=null&&o!=null?2:1]]}return[n,a]}function id(t,e,r){r==null&&(r={});var n="";switch(typeof t){case"string":t=="m/d/yy"&&r.dateNF?n=r.dateNF:n=t;break;case"number":t==14&&r.dateNF?n=r.dateNF:n=(r.table!=null?r.table:Zn)[t],n==null&&(n=r.table&&r.table[pR[t]]||Zn[pR[t]]),n==null&&(n=zwe[t]||"General");break}if(Yb(n,0))return L_(e,r);e instanceof Date&&(e=yW(e,r.date1904));var i=l2e(n,e);if(Yb(i[1]))return L_(e,r);if(e===!0)e="TRUE";else if(e===!1)e="FALSE";else if(e===""||e==null)return"";return o2e(i[1],e,r,i[0])}function TW(t,e){if(typeof e!="number"){e=+e||-1;for(var r=0;r<392;++r){if(Zn[r]==null){e<0&&(e=r);continue}if(Zn[r]==t){e=r;break}}e<0&&(e=391)}return Zn[e]=t,e}function H5(t){for(var e=0;e!=392;++e)t[e]!==void 0&&TW(t[e],e)}function z5(){Zn=Hwe()}var jW=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;function c2e(t){var e=typeof t=="number"?Zn[t]:t;return e=e.replace(jW,"(\\d+)"),new RegExp("^"+e+"$")}function A2e(t,e,r){var n=-1,i=-1,a=-1,s=-1,o=-1,c=-1;(e.match(jW)||[]).forEach(function(d,f){var h=parseInt(r[f+1],10);switch(d.toLowerCase().charAt(0)){case"y":n=h;break;case"d":a=h;break;case"h":s=h;break;case"s":c=h;break;case"m":s>=0?o=h:i=h;break}}),c>=0&&o==-1&&i>=0&&(o=i,i=-1);var A=(""+(n>=0?n:new Date().getFullYear())).slice(-4)+"-"+("00"+(i>=1?i:1)).slice(-2)+"-"+("00"+(a>=1?a:1)).slice(-2);A.length==7&&(A="0"+A),A.length==8&&(A="20"+A);var u=("00"+(s>=0?s:0)).slice(-2)+":"+("00"+(o>=0?o:0)).slice(-2)+":"+("00"+(c>=0?c:0)).slice(-2);return s==-1&&o==-1&&c==-1?A:n==-1&&i==-1&&a==-1?u:A+"T"+u}var u2e=function(){var t={};t.version="1.2.0";function e(){for(var B=0,_=new Array(256),O=0;O!=256;++O)B=O,B=B&1?-306674912^B>>>1:B>>>1,B=B&1?-306674912^B>>>1:B>>>1,B=B&1?-306674912^B>>>1:B>>>1,B=B&1?-306674912^B>>>1:B>>>1,B=B&1?-306674912^B>>>1:B>>>1,B=B&1?-306674912^B>>>1:B>>>1,B=B&1?-306674912^B>>>1:B>>>1,B=B&1?-306674912^B>>>1:B>>>1,_[O]=B;return typeof Int32Array<"u"?new Int32Array(_):_}var r=e();function n(B){var _=0,O=0,j=0,T=typeof Int32Array<"u"?new Int32Array(4096):new Array(4096);for(j=0;j!=256;++j)T[j]=B[j];for(j=0;j!=256;++j)for(O=B[j],_=256+j;_<4096;_+=256)O=T[_]=O>>>8^B[O&255];var P=[];for(j=1;j!=16;++j)P[j-1]=typeof Int32Array<"u"?T.subarray(j*256,j*256+256):T.slice(j*256,j*256+256);return P}var i=n(r),a=i[0],s=i[1],o=i[2],c=i[3],A=i[4],u=i[5],d=i[6],f=i[7],h=i[8],m=i[9],p=i[10],x=i[11],v=i[12],y=i[13],b=i[14];function E(B,_){for(var O=_^-1,j=0,T=B.length;j<T;)O=O>>>8^r[(O^B.charCodeAt(j++))&255];return~O}function S(B,_){for(var O=_^-1,j=B.length-15,T=0;T<j;)O=b[B[T++]^O&255]^y[B[T++]^O>>8&255]^v[B[T++]^O>>16&255]^x[B[T++]^O>>>24]^p[B[T++]]^m[B[T++]]^h[B[T++]]^f[B[T++]]^d[B[T++]]^u[B[T++]]^A[B[T++]]^c[B[T++]]^o[B[T++]]^s[B[T++]]^a[B[T++]]^r[B[T++]];for(j+=15;T<j;)O=O>>>8^r[(O^B[T++])&255];return~O}function I(B,_){for(var O=_^-1,j=0,T=B.length,P=0,L=0;j<T;
vendor: 4,765 bytes, line 4307
4307)P=B.charCodeAt(j++),P<128?O=O>>>8^r[(O^P)&255]:P<2048?(O=O>>>8^r[(O^(192|P>>6&31))&255],O=O>>>8^r[(O^(128|P&63))&255]):P>=55296&&P<57344?(P=(P&1023)+64,L=B.charCodeAt(j++)&1023,O=O>>>8^r[(O^(240|P>>8&7))&255],O=O>>>8^r[(O^(128|P>>2&63))&255],O=O>>>8^r[(O^(128|L>>6&15|(P&3)<<4))&255],O=O>>>8^r[(O^(128|L&63))&255]):(O=O>>>8^r[(O^(224|P>>12&15))&255],O=O>>>8^r[(O^(128|P>>6&63))&255],O=O>>>8^r[(O^(128|P&63))&255]);return~O}return t.table=r,t.bstr=E,t.buf=S,t.str=I,t}(),un=function(){var e={};e.version="1.2.1";function r(z,se){for(var ee=z.split("/"),k=se.split("/"),q=0,Y=0,ye=Math.min(ee.length,k.length);q<ye;++q){if(Y=ee[q].length-k[q].length)return Y;if(ee[q]!=k[q])return ee[q]<k[q]?-1:1}return ee.length-k.length}function n(z){if(z.charAt(z.length-1)=="/")return z.slice(0,-1).indexOf("/")===-1?z:n(z.slice(0,-1));var se=z.lastIndexOf("/");return se===-1?z:z.slice(0,se+1)}function i(z){if(z.charAt(z.length-1)=="/")return i(z.slice(0,-1));var se=z.lastIndexOf("/");return se===-1?z:z.slice(se+1)}function a(z,se){typeof se=="string"&&(se=new Date(se));var ee=se.getHours();ee=ee<<6|se.getMinutes(),ee=ee<<5|se.getSeconds()>>>1,z.write_shift(2,ee);var k=se.getFullYear()-1980;k=k<<4|se.getMonth()+1,k=k<<5|se.getDate(),z.write_shift(2,k)}function s(z){var se=z.read_shift(2)&65535,ee=z.read_shift(2)&65535,k=new Date,q=ee&31;ee>>>=5;var Y=ee&15;ee>>>=4,k.setMilliseconds(0),k.setFullYear(ee+1980),k.setMonth(Y-1),k.setDate(q);var ye=se&31;se>>>=5;var Be=se&63;return se>>>=6,k.setHours(se),k.setMinutes(Be),k.setSeconds(ye<<1),k}function o(z){Vs(z,0);for(var se={},ee=0;z.l<=z.length-4;){var k=z.read_shift(2),q=z.read_shift(2),Y=z.l+q,ye={};switch(k){case 21589:ee=z.read_shift(1),ee&1&&(ye.mtime=z.read_shift(4)),q>5&&(ee&2&&(ye.atime=z.read_shift(4)),ee&4&&(ye.ctime=z.read_shift(4))),ye.mtime&&(ye.mt=new Date(ye.mtime*1e3));break}z.l=Y,se[k]=ye}return se}var c;function A(){return c||(c={})}function u(z,se){if(z[0]==80&&z[1]==75)return fn(z,se);if((z[0]|32)==109&&(z[1]|32)==105)return us(z,se);if(z.length<512)throw new Error("CFB file size "+z.length+" < 512");var ee=3,k=512,q=0,Y=0,ye=0,Be=0,xe=0,_e=[],Fe=z.slice(0,512);Vs(Fe,0);var Ye=d(Fe);switch(ee=Ye[0],ee){case 3:k=512;break;case 4:k=4096;break;case 0:if(Ye[1]==0)return fn(z,se);default:throw new Error("Major Version: Expected 3 or 4 saw "+ee)}k!==512&&(Fe=z.slice(0,k),Vs(Fe,28));var st=z.slice(0,k);f(Fe,ee);var xt=Fe.read_shift(4,"i");if(ee===3&&xt!==0)throw new Error("# Directory Sectors: Expected 0 saw "+xt);Fe.l+=4,ye=Fe.read_shift(4,"i"),Fe.l+=4,Fe.chk("00100000","Mini Stream Cutoff Size: "),Be=Fe.read_shift(4,"i"),q=Fe.read_shift(4,"i"),xe=Fe.read_shift(4,"i"),Y=Fe.read_shift(4,"i");for(var at=-1,wt=0;wt<109&&(at=Fe.read_shift(4,"i"),!(at<0));++wt)_e[wt]=at;var Ht=h(z,k);x(xe,Y,Ht,k,_e);var Dr=y(Ht,ye,_e,k);Dr[ye].name="!Directory",q>0&&Be!==L&&(Dr[Be].name="!MiniFAT"),Dr[_e[0]].name="!FAT",Dr.fat_addrs=_e,Dr.ssz=k;var pt={},Or=[],Ha=[],uo=[];b(ye,Dr,Ht,Or,q,pt,Ha,Be),m(Ha,uo,Or),Or.shift();var Ca={FileIndex:Ha,FullPaths:uo};return se&&se.raw&&(Ca.raw={header:st,sectors:Ht}),Ca}function d(z){if(z[z.l]==80&&z[z.l+1]==75)return[0,0];z.chk(K,"Header Signature: "),z.l+=16;var se=z.read_shift(2,"u");return[z.read_shift(2,"u"),se]}function f(z,se){var ee=9;switch(z.l+=2,ee=z.read_shift(2)){case 9:if(se!=3)throw new Error("Sector Shift: Expected 9 saw "+ee);break;case 12:if(se!=4)throw new Error("Sector Shift: Expected 12 saw "+ee);break;default:throw new Error("Sector Shift: Expected 9 or 12 saw "+ee)}z.chk("0600","Mini Sector Shift: "),z.chk("000000000000","Reserved: ")}function h(z,se){for(var ee=Math.ceil(z.length/se)-1,k=[],q=1;q<ee;++q)k[q-1]=z.slice(q*se,(q+1)*se);return k[ee-1]=z.slice(ee*se),k}function m(z,se,ee){for(var k=0,q=0,Y=0,ye=0,Be=0,xe=ee.length,_e=[],Fe=[];k<xe;++k)_e[k]=Fe[k]=k,se[k]=ee[k];for(;Be<Fe.length;++Be)k=Fe[Be],q=z[k].L,Y=z[k].R,ye=z[k].C,_e[k]===k&&(q!==-1&&_e[q]!==q&&(_e[k]=_e[q]),Y!==-1&&_e[Y]!==Y&&(_e[k]=_e[Y])),ye!==-1&&(_e[ye]=k),q!==-1&&k!=_e[k]&&(_e[q]=_e[k],Fe.lastIndexOf(q)<Be&&Fe.push(q)),Y!==-1&&k!=_e[k]&&(_e[Y]=_e[k],Fe.lastIndexOf(Y)<Be&&Fe.push(Y));for(k=1;k<xe;++k)_e[k]===k&&(Y!==-1&&_e[Y]!==Y?_e[k]=_e[Y]:q!==-1&&_e[q]!==q&&(_e[k]=_e[q]));for(k=1;k<xe;++k)if(z[k].type!==0){if(Be=k,Be!=_e[Be])do Be=_e[Be],se[k]=se[Be]+"/"+se[k];while(Be!==0&&_e[Be]!==-1&&Be!=_e[Be]);_e[k]=-1}for(se[0]+="/",k=1;k<xe;++k)z[k].type!==2&&(se[k]+="/")}function p(z,se,ee){for(var k=z.start,q=z.size,Y=[],ye=k;ee&&q>0&&ye>=0;)Y.push(se.slice(ye*P,ye*P+P)),q-=P,ye=Kd(ee,ye*4);return Y.length===0?ze(0):Aa(Y).slice(0,z.size)}function x(z,se,ee,k,q){var Y=L;if(z===L){if(se!==0)throw new Error("DIFAT chain shorter than expected")}else if(z!==-1){var ye=ee[z],Be=(k>>>2)-1;if(!ye)return;for(var xe=0;xe<Be&&(Y=Kd(ye,xe*4))!==L;
vendor: 8,048 bytes, line 4307
4307++xe)q.push(Y);x(Kd(ye,k-4),se-1,ee,k,q)}}function v(z,se,ee,k,q){var Y=[],ye=[];q||(q=[]);var Be=k-1,xe=0,_e=0;for(xe=se;xe>=0;){q[xe]=!0,Y[Y.length]=xe,ye.push(z[xe]);var Fe=ee[Math.floor(xe*4/k)];if(_e=xe*4&Be,k<4+_e)throw new Error("FAT boundary crossed: "+xe+" 4 "+k);if(!z[Fe])break;xe=Kd(z[Fe],_e)}return{nodes:Y,data:SR([ye])}}function y(z,se,ee,k){var q=z.length,Y=[],ye=[],Be=[],xe=[],_e=k-1,Fe=0,Ye=0,st=0,xt=0;for(Fe=0;Fe<q;++Fe)if(Be=[],st=Fe+se,st>=q&&(st-=q),!ye[st]){xe=[];var at=[];for(Ye=st;Ye>=0;){at[Ye]=!0,ye[Ye]=!0,Be[Be.length]=Ye,xe.push(z[Ye]);var wt=ee[Math.floor(Ye*4/k)];if(xt=Ye*4&_e,k<4+xt)throw new Error("FAT boundary crossed: "+Ye+" 4 "+k);if(!z[wt]||(Ye=Kd(z[wt],xt),at[Ye]))break}Y[st]={nodes:Be,data:SR([xe])}}return Y}function b(z,se,ee,k,q,Y,ye,Be){for(var xe=0,_e=k.length?2:0,Fe=se[z].data,Ye=0,st=0,xt;Ye<Fe.length;Ye+=128){var at=Fe.slice(Ye,Ye+128);Vs(at,64),st=at.read_shift(2),xt=qT(at,0,st-_e),k.push(xt);var wt={name:xt,type:at.read_shift(1),color:at.read_shift(1),L:at.read_shift(4,"i"),R:at.read_shift(4,"i"),C:at.read_shift(4,"i"),clsid:at.read_shift(16),state:at.read_shift(4,"i"),start:0,size:0},Ht=at.read_shift(2)+at.read_shift(2)+at.read_shift(2)+at.read_shift(2);Ht!==0&&(wt.ct=E(at,at.l-8));var Dr=at.read_shift(2)+at.read_shift(2)+at.read_shift(2)+at.read_shift(2);Dr!==0&&(wt.mt=E(at,at.l-8)),wt.start=at.read_shift(4,"i"),wt.size=at.read_shift(4,"i"),wt.size<0&&wt.start<0&&(wt.size=wt.type=0,wt.start=L,wt.name=""),wt.type===5?(xe=wt.start,q>0&&xe!==L&&(se[xe].name="!StreamData")):wt.size>=4096?(wt.storage="fat",se[wt.start]===void 0&&(se[wt.start]=v(ee,wt.start,se.fat_addrs,se.ssz)),se[wt.start].name=wt.name,wt.content=se[wt.start].data.slice(0,wt.size)):(wt.storage="minifat",wt.size<0?wt.size=0:xe!==L&&wt.start!==L&&se[xe]&&(wt.content=p(wt,se[xe].data,(se[Be]||{}).data))),wt.content&&Vs(wt.content,0),Y[xt]=wt,ye.push(wt)}}function E(z,se){return new Date((Ks(z,se+4)/1e7*Math.pow(2,32)+Ks(z,se)/1e7-11644473600)*1e3)}function S(z,se){return A(),u(c.readFileSync(z),se)}function I(z,se){var ee=se&&se.type;switch(ee||zr&&Buffer.isBuffer(z)&&(ee="buffer"),ee||"base64"){case"file":return S(z,se);case"base64":return u(gl(dA(z)),se);case"binary":return u(gl(z),se)}return u(z,se)}function B(z,se){var ee=se||{},k=ee.root||"Root Entry";if(z.FullPaths||(z.FullPaths=[]),z.FileIndex||(z.FileIndex=[]),z.FullPaths.length!==z.FileIndex.length)throw new Error("inconsistent CFB structure");z.FullPaths.length===0&&(z.FullPaths[0]=k+"/",z.FileIndex[0]={name:k,type:5}),ee.CLSID&&(z.FileIndex[0].clsid=ee.CLSID),_(z)}function _(z){var se="�Sh33tJ5";if(!un.find(z,"/"+se)){var ee=ze(4);ee[0]=55,ee[1]=ee[3]=50,ee[2]=54,z.FileIndex.push({name:se,type:2,content:ee,size:4,L:69,R:69,C:69}),z.FullPaths.push(z.FullPaths[0]+se),O(z)}}function O(z,se){B(z);for(var ee=!1,k=!1,q=z.FullPaths.length-1;q>=0;--q){var Y=z.FileIndex[q];switch(Y.type){case 0:k?ee=!0:(z.FileIndex.pop(),z.FullPaths.pop());break;case 1:case 2:case 5:k=!0,isNaN(Y.R*Y.L*Y.C)&&(ee=!0),Y.R>-1&&Y.L>-1&&Y.R==Y.L&&(ee=!0);break;default:ee=!0;break}}if(!(!ee&&!se)){var ye=new Date(1987,1,19),Be=0,xe=Object.create?Object.create(null):{},_e=[];for(q=0;q<z.FullPaths.length;++q)xe[z.FullPaths[q]]=!0,z.FileIndex[q].type!==0&&_e.push([z.FullPaths[q],z.FileIndex[q]]);for(q=0;q<_e.length;++q){var Fe=n(_e[q][0]);k=xe[Fe],k||(_e.push([Fe,{name:i(Fe).replace("/",""),type:1,clsid:ne,ct:ye,mt:ye,content:null}]),xe[Fe]=!0)}for(_e.sort(function(xt,at){return r(xt[0],at[0])}),z.FullPaths=[],z.FileIndex=[],q=0;q<_e.length;++q)z.FullPaths[q]=_e[q][0],z.FileIndex[q]=_e[q][1];for(q=0;q<_e.length;++q){var Ye=z.FileIndex[q],st=z.FullPaths[q];if(Ye.name=i(st).replace("/",""),Ye.L=Ye.R=Ye.C=-(Ye.color=1),Ye.size=Ye.content?Ye.content.length:0,Ye.start=0,Ye.clsid=Ye.clsid||ne,q===0)Ye.C=_e.length>1?1:-1,Ye.size=0,Ye.type=5;else if(st.slice(-1)=="/"){for(Be=q+1;Be<_e.length&&n(z.FullPaths[Be])!=st;++Be);for(Ye.C=Be>=_e.length?-1:Be,Be=q+1;Be<_e.length&&n(z.FullPaths[Be])!=n(st);++Be);Ye.R=Be>=_e.length?-1:Be,Ye.type=1}else n(z.FullPaths[q+1]||"")==n(st)&&(Ye.R=q+1),Ye.type=2}}}function j(z,se){var ee=se||{};if(ee.fileType=="mad")return Mt(z,ee);switch(O(z),ee.fileType){case"zip":return Ps(z,ee)}var k=function(xt){for(var at=0,wt=0,Ht=0;Ht<xt.FileIndex.length;++Ht){var Dr=xt.FileIndex[Ht];if(Dr.content){var pt=Dr.content.length;pt>0&&(pt<4096?at+=pt+63>>6:wt+=pt+511>>9)}}for(var Or=xt.FullPaths.length+3>>2,Ha=at+7>>3,uo=at+127>>7,Ca=Ha+wt+Or+uo,Ds=Ca+127>>7,ho=Ds<=109?0:Math.ceil((Ds-109)/127);Ca+Ds+ho+127>>7>Ds;)ho=++Ds<=109?0:Math.ceil((Ds-109)/127);var Os=[1,ho,Ds,uo,Or,wt,at,0];return xt.FileIndex[0].size=at<<6,Os[7]=(xt.FileIndex[0].start=Os[0]+Os[1]+Os[2]+Os[3]+Os[4]+Os[5])+(Os[6]+7>>3),Os}(z),q=ze(k[7]<<9),Y=0,ye=0;{for(Y=0;Y<8;++Y)q.write_shift(1,le[Y]);for(Y=0;Y<8;++Y)q.write_shift(2,0);for(q.write_shift(2,62),q.write_shift(2,3),q.write_shift(2,65534),q.write_shift(2,9),q.write_shift(2,6),Y=0;Y<3;++Y)q.write_shift(2,0);for(q.write_shift(4,0),q.write_shift(4,k[2]),q.write_shift(4,k[0]+k[1]+k[2]+k[3]-1),q.write_shift(4,0),q.write_shift(4,4096),q.write_shift(4,k[3]?k[0]+k[1]+k[2]-1:L),q.write_shift(4,k[3]),q.write_shift(-4,k[1]?k[0]-1:L),q.write_shift(4,k[1]),Y=0;Y<109;++Y)q.write_shift(-4,Y<k[2]?k[1]+Y:-1)}if(k[1])for(ye=0;ye<k[1];++ye){for(;Y<236+ye*127;++Y)q.write_shift(-4,Y<k[2]?k[1]+Y:-1);q.write_shift(-4,ye===k[1]-1?L:ye+1)}var Be=function(xt){for(ye+=xt;Y<ye-1;++Y)q.write_shift(-4,Y+1);xt&&(++Y,q.write_shift(-4,L))};for(ye=Y=0,ye+=k[1];Y<ye;++Y)q.write_shift(-4,fe.DIFSECT);for(ye+=k[2];Y<ye;++Y)q.write_shift(-4,fe.FATSECT);Be(k[3]),Be(k[4]);for(var xe=0,_e=0,Fe=z.FileIndex[0];xe<z.FileIndex.length;++xe)Fe=z.FileIndex[xe],Fe.content&&(_e=Fe.content.length,!(_e<4096)&&(Fe.start=ye,Be(_e+511>>9)));for(Be(k[6]+7>>3);q.l&511;)q.write_shift(-4,fe.ENDOFCHAIN);for(ye=Y=0,xe=0;xe<z.FileIndex.length;++xe)Fe=z.FileIndex[xe],Fe.content&&(_e=Fe.content.length,!(!_e||_e>=4096)&&(Fe.start=ye,Be(_e+63>>6)));for(;q.l&511;)q.write_shift(-4,fe.ENDOFCHAIN);for(Y=0;Y<k[4]<<2;++Y){var Ye=z.FullPaths[Y];if(!Ye||Ye.length===0){for(xe=0;xe<17;++xe)q.write_shift(4,0);for(xe=0;xe<3;++xe)q.write_shift(4,-1);for(xe=0;xe<12;++xe)q.write_shift(4,0);continue}Fe=z.FileIndex[Y],Y===0&&(Fe.start=Fe.size?Fe.start-1:L);var st=Y===0&&ee.root||Fe.name;if(_e=2*(st.length+1),q.write_shift(64,st,"utf16le"),q.write_shift(2,_e),q.write_shift(1,Fe.type),q.write_shift(1,Fe.color),q.write_shift(-4,Fe.L),q.write_shift(-4,Fe.R),q.write_shift(-4,Fe.C),Fe.clsid)q.write_shift(16,Fe.clsid,"hex");else for(xe=0;xe<4;++xe)q.write_shift(4,0);q.write_shift(4,Fe.state||0),q.write_shift(4,0),q.write_shift(4,0),q.write_shift(4,0),q.write_shift(4,0),q.write_shift(4,Fe.start),q.write_shift(4,Fe.size),q.write_shift(4,0)}for(Y=1;Y<z.FileIndex.length;++Y)if(Fe=z.FileIndex[Y],Fe.size>=4096)if(q.l=Fe.start+1<<9,zr&&Buffer.isBuffer(Fe.content))Fe.content.copy(q,q.l,0,Fe.size),q.l+=Fe.size+511&-512;else{for(xe=0;xe<Fe.size;++xe)q.write_shift(1,Fe.content[xe]);for(;xe&511;++xe)q.write_shift(1,0)}for(Y=1;Y<z.FileIndex.length;++Y)if(Fe=z.FileIndex[Y],Fe.size>0&&Fe.size<4096)if(zr&&Buffer.isBuffer(Fe.content))Fe.content.copy(q,q.l,0,Fe.size),q.l+=Fe.size+63&-64;else{for(xe=0;xe<Fe.size;++xe)q.write_shift(1,Fe.content[xe]);for(;xe&63;++xe)q.write_shift(1,0)}if(zr)q.l=q.length;else for(;q.l<q.length;)q.write_shift(1,0);return q}function T(z,se){var ee=z.FullPaths.map(function(xe){return xe.toUpperCase()}),k=ee.map(function(xe){var _e=xe.split("/");return _e[_e.length-(xe.slice(-1)=="/"?2:1)]}),q=!1;se.charCodeAt(0)===47?(q=!0,se=ee[0].slice(0,-1)+se):q=se.indexOf("/")!==-1;var Y=se.toUpperCase(),ye=q===!0?ee.indexOf(Y):k.indexOf(Y);if(ye!==-1)return z.FileIndex[ye];var Be=!Y.match(ww);for(Y=Y.replace(cv,""),Be&&(Y=Y.replace(ww,"!")),ye=0;ye<ee.length;++ye)if((Be?ee[ye].replace(ww,"!"):ee[ye]).replace(cv,"")==Y||(Be?k[ye].replace(ww,"!"):k[ye]).replace(cv,"")==Y)return z.FileIndex[ye];return null}var P=64,L=-2,K="d0cf11e0a1b11ae1",le=[208,207,17,224,161,177,26,225],ne="00000000000000000000000000000000",fe={MAXREGSECT
vendor: 11,396 bytes, lines 4307-4312
4307:-6,DIFSECT:-4,FATSECT:-3,ENDOFCHAIN:L,FREESECT:-1,HEADER_SIGNATURE:K,HEADER_MINOR_VERSION:"3e00",MAXREGSID:-6,NOSTREAM:-1,HEADER_CLSID:ne,EntryTypes:["unknown","storage","stream","lockbytes","property","root"]};function te(z,se,ee){A();var k=j(z,ee);c.writeFileSync(se,k)}function he(z){for(var se=new Array(z.length),ee=0;ee<z.length;++ee)se[ee]=String.fromCharCode(z[ee]);return se.join("")}function ce(z,se){var ee=j(z,se);switch(se&&se.type||"buffer"){case"file":return A(),c.writeFileSync(se.filename,ee),ee;case"binary":return typeof ee=="string"?ee:he(ee);case"base64":return f1(typeof ee=="string"?ee:he(ee));case"buffer":if(zr)return Buffer.isBuffer(ee)?ee:wA(ee);case"array":return typeof ee=="string"?gl(ee):ee}return ee}var Ne;function F(z){try{var se=z.InflateRaw,ee=new se;if(ee._processChunk(new Uint8Array([3,0]),ee._finishFlushFlag),ee.bytesRead)Ne=z;else throw new Error("zlib does not expose bytesRead")}catch(k){console.error("cannot use native zlib: "+(k.message||k))}}function U(z,se){if(!Ne)return dr(z,se);var ee=Ne.InflateRaw,k=new ee,q=k._processChunk(z.slice(z.l),k._finishFlushFlag);return z.l+=k.bytesRead,q}function R(z){return Ne?Ne.deflateRawSync(z):Oe(z)}var M=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],J=[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],ue=[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];function de(z){var se=(z<<1|z<<11)&139536|(z<<5|z<<15)&558144;return(se>>16|se>>8|se)&255}for(var pe=typeof Uint8Array<"u",be=pe?new Uint8Array(256):[],Qe=0;Qe<256;++Qe)be[Qe]=de(Qe);function Me(z,se){var ee=be[z&255];return se<=8?ee>>>8-se:(ee=ee<<8|be[z>>8&255],se<=16?ee>>>16-se:(ee=ee<<8|be[z>>16&255],ee>>>24-se))}function Xe(z,se){var ee=se&7,k=se>>>3;return(z[k]|(ee<=6?0:z[k+1]<<8))>>>ee&3}function ot(z,se){var ee=se&7,k=se>>>3;return(z[k]|(ee<=5?0:z[k+1]<<8))>>>ee&7}function De(z,se){var ee=se&7,k=se>>>3;return(z[k]|(ee<=4?0:z[k+1]<<8))>>>ee&15}function oe(z,se){var ee=se&7,k=se>>>3;return(z[k]|(ee<=3?0:z[k+1]<<8))>>>ee&31}function Ke(z,se){var ee=se&7,k=se>>>3;return(z[k]|(ee<=1?0:z[k+1]<<8))>>>ee&127}function dt(z,se,ee){var k=se&7,q=se>>>3,Y=(1<<ee)-1,ye=z[q]>>>k;return ee<8-k||(ye|=z[q+1]<<8-k,ee<16-k)||(ye|=z[q+2]<<16-k,ee<24-k)||(ye|=z[q+3]<<24-k),ye&Y}function Ee(z,se,ee){var k=se&7,q=se>>>3;return k<=5?z[q]|=(ee&7)<<k:(z[q]|=ee<<k&255,z[q+1]=(ee&7)>>8-k),se+3}function We(z,se,ee){var k=se&7,q=se>>>3;return ee=(ee&1)<<k,z[q]|=ee,se+1}function Ze(z,se,ee){var k=se&7,q=se>>>3;return ee<<=k,z[q]|=ee&255,ee>>>=8,z[q+1]=ee,se+8}function rt(z,se,ee){var k=se&7,q=se>>>3;return ee<<=k,z[q]|=ee&255,ee>>>=8,z[q+1]=ee&255,z[q+2]=ee>>>8,se+16}function $e(z,se){var ee=z.length,k=2*ee>se?2*ee:se+5,q=0;if(ee>=se)return z;if(zr){var Y=dR(k);if(z.copy)z.copy(Y);else for(;q<z.length;++q)Y[q]=z[q];return Y}else if(pe){var ye=new Uint8Array(k);if(ye.set)ye.set(z);else for(;q<ee;++q)ye[q]=z[q];return ye}return z.length=k,z}function Se(z){for(var se=new Array(z),ee=0;ee<z;++ee)se[ee]=0;return se}function Ve(z,se,ee){var k=1,q=0,Y=0,ye=0,Be=0,xe=z.length,_e=pe?new Uint16Array(32):Se(32);for(Y=0;Y<32;++Y)_e[Y]=0;for(Y=xe;Y<ee;++Y)z[Y]=0;xe=z.length;var Fe=pe?new Uint16Array(xe):Se(xe);for(Y=0;Y<xe;++Y)_e[q=z[Y]]++,k<q&&(k=q),Fe[Y]=0;for(_e[0]=0,Y=1;Y<=k;++Y)_e[Y+16]=Be=Be+_e[Y-1]<<1;for(Y=0;Y<xe;++Y)Be=z[Y],Be!=0&&(Fe[Y]=_e[Be+16]++);var Ye=0;for(Y=0;Y<xe;++Y)if(Ye=z[Y],Ye!=0)for(Be=Me(Fe[Y],k)>>k-Ye,ye=(1<<k+4-Ye)-1;ye>=0;--ye)se[Be|ye<<Ye]=Ye&15|Y<<4;return k}var vt=pe?new Uint16Array(512):Se(512),Tt=pe?new Uint16Array(32):Se(32);if(!pe){for(var Ie=0;Ie<512;++Ie)vt[Ie]=0;for(Ie=0;Ie<32;++Ie)Tt[Ie]=0}(function(){for(var z=[],se=0;se<32;se++)z.push(5);Ve(z,Tt,32);var ee=[];for(se=0;se<=143;se++)ee.push(8);for(;se<=255;se++)ee.push(9);for(;se<=279;se++)ee.push(7);for(;se<=287;se++)ee.push(8);Ve(ee,vt,288)})();var Re=function(){for(var se=pe?new Uint8Array(32768):[],ee=0,k=0;ee<ue.length-1;++ee)for(;k<ue[ee+1];++k)se[k]=ee;for(;k<32768;++k)se[k]=29;var q=pe?new Uint8Array(259):[];for(ee=0,k=0;ee<J.length-1;++ee)for(;k<J[ee+1];++k)q[k]=ee;function Y(Be,xe){for(var _e=0;_e<Be.length;){var Fe=Math.min(65535,Be.length-_e),Ye=_e+Fe==Be.length;for(xe.write_shift(1,+Ye),xe.write_shift(2,Fe),xe.write_shift(2,~Fe&65535);Fe-- >0;)xe[xe.l++]=Be[_e++]}return xe.l}function ye(Be,xe){for(var _e=0,Fe=0,Ye=pe?new Uint16Array(32768):[];Fe<Be.length;){var st=Math.min(65535,Be.length-Fe);if(st<10){for(_e=Ee(xe,_e,+(Fe+st==Be.length)),_e&7&&(_e+=8-(_e&7)),xe.l=_e/8|0,xe.write_shift(2,st),xe.write_shift(2,~st&65535);st-- >0;)xe[xe.l++]=Be[Fe++];_e=xe.l*8;continue}_e=Ee(xe,_e,+(Fe+st==Be.length)+2);for(var xt=0;st-- >0;){var at=Be[Fe];xt=(xt<<5^at)&32767;var wt=-1,Ht=0;if((wt=Ye[xt])&&(wt|=Fe&-32768,wt>Fe&&(wt-=32768),wt<Fe))for(;Be[wt+Ht]==Be[Fe+Ht]&&Ht<250;)++Ht;if(Ht>2){at=q[Ht],at<=22?_e=Ze(xe,_e,be[at+1]>>1)-1:(Ze(xe,_e,3),_e+=5,Ze(xe,_e,be[at-23]>>5),_e+=3);var Dr=at<8?0:at-4>>2;Dr>0&&(rt(xe,_e,Ht-J[at]),_e+=Dr),at=se[Fe-wt],_e=Ze(xe,_e,be[at]>>3),_e-=3;var pt=at<4?0:at-2>>1;pt>0&&(rt(xe,_e,Fe-wt-ue[at]),_e+=pt);for(var Or=0;Or<Ht;++Or)Ye[xt]=Fe&32767,xt=(xt<<5^Be[Fe])&32767,++Fe;st-=Ht-1}else at<=143?at=at+48:_e=We(xe,_e,1),_e=Ze(xe,_e,be[at]),Ye[xt]=Fe&32767,++Fe}_e=Ze(xe,_e,0)-1}return xe.l=(_e+7)/8|0,xe.l}return function(xe,_e){return xe.length<8?Y(xe,_e):ye(xe,_e)}}();function Oe(z){var se=ze(50+Math.floor(z.length*1.1)),ee=Re(z,se);return se.slice(0,ee)}var Ue=pe?new Uint16Array(32768):Se(32768),Ft=pe?new Uint16Array(32768):Se(32768),gt=pe?new Uint16Array(128):Se(128),Kr=1,Dt=1;function yr(z,se){var ee=oe(z,se)+257;se+=5;var k=oe(z,se)+1;se+=5;var q=De(z,se)+4;se+=4;for(var Y=0,ye=pe?new Uint8Array(19):Se(19),Be=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],xe=1,_e=pe?new Uint8Array(8):Se(8),Fe=pe?new Uint8Array(8):Se(8),Ye=ye.length,st=0;st<q;++st)ye[M[st]]=Y=ot(z,se),xe<Y&&(xe=Y),_e[Y]++,se+=3;var xt=0;for(_e[0]=0,st=1;st<=xe;++st)Fe[st]=xt=xt+_e[st-1]<<1;for(st=0;st<Ye;++st)(xt=ye[st])!=0&&(Be[st]=Fe[xt]++);var at=0;for(st=0;st<Ye;++st)if(at=ye[st],at!=0){xt=be[Be[st]]>>8-at;for(var wt=(1<<7-at)-1;wt>=0;--wt)gt[xt|wt<<at]=at&7|st<<3}var Ht=[];for(xe=1;Ht.length<ee+k;)switch(xt=gt[Ke(z,se)],se+=xt&7,xt>>>=3){case 16:for(Y=3+Xe(z,se),se+=2,xt=Ht[Ht.length-1];Y-- >0;)Ht.push(xt);break;case 17:for(Y=3+ot(z,se),se+=3;Y-- >0;)Ht.push(0);break;case 18:for(Y=11+Ke(z,se),se+=7;Y-- >0;)Ht.push(0);break;default:Ht.push(xt),xe<xt&&(xe=xt);break}var Dr=Ht.slice(0,ee),pt=Ht.slice(ee);for(st=ee;st<286;++st)Dr[st]=0;for(st=k;st<30;++st)pt[st]=0;return Kr=Ve(Dr,Ue,286),Dt=Ve(pt,Ft,30),se}function Kn(z,se){if(z[0]==3&&!(z[1]&3))return[Ih(se),2];for(var ee=0,k=0,q=dR(se||1<<18),Y=0,ye=q.length>>>0,Be=0,xe=0;!(k&1);){if(k=ot(z,ee),ee+=3,k>>>1)k>>1==1?(Be=9,xe=5):(ee=yr(z,ee),Be=Kr,xe=Dt);else{ee&7&&(ee+=8-(ee&7));var _e=z[ee>>>3]|z[(ee>>>3)+1]<<8;if(ee+=32,_e>0)for(!se&&ye<Y+_e&&(q=$e(q,Y+_e),ye=q.length);_e-- >0;)q[Y++]=z[ee>>>3],ee+=8;continue}for(;;){!se&&ye<Y+32767&&(q=$e(q,Y+32767),ye=q.length);var Fe=dt(z,ee,Be),Ye=k>>>1==1?vt[Fe]:Ue[Fe];if(ee+=Ye&15,Ye>>>=4,!(Ye>>>8&255))q[Y++]=Ye;else{if(Ye==256)break;Ye-=257;var st=Ye<8?0:Ye-4>>2;st>5&&(st=0);var xt=Y+J[Ye];st>0&&(xt+=dt(z,ee,st),ee+=st),Fe=dt(z,ee,xe),Ye=k>>>1==1?Tt[Fe]:Ft[Fe],ee+=Ye&15,Ye>>>=4;var at=Ye<4?0:Ye-2>>1,wt=ue[Ye];for(at>0&&(wt+=dt(z,ee,at),ee+=at),!se&&ye<xt&&(q=$e(q,xt+100),ye=q.length);Y<xt;)q[Y]=q[Y-wt],++Y}}}return se?[q,ee+7>>>3]:[q.slice(0,Y),ee+7>>>3]}function dr(z,se){var ee=z.slice(z.l||0),k=Kn(ee,se);return z.l+=k[1],k[0]}function co(z,se){if(z)typeof console<"u"&&console.error(se);else throw new Error(se)}function fn(z,se){var ee=z;Vs(ee,0);var k=[],q=[],Y={FileIndex:k,FullPaths:q};B(Y,{root:se.root});for(var ye=ee.length-4;(ee[ye]!=80||ee[ye+1]!=75||ee[ye+2]!=5||ee[ye+3]!=6)&&ye>=0;)--ye;ee.l=ye+4,ee.l+=4;var Be=ee.read_shift(2);ee.l+=6;var xe=ee.read_shift(4);for(ee.l=xe,ye=0;ye<Be;++ye){ee.l+=20;var _e=ee.read_shift(4),Fe=ee.read_shift(4),Ye=ee.read_shift(2),st=ee.read_shift(2),xt=ee.read_shift(2);ee.l+=8;var at=ee.read_shift(4),wt=o(ee.slice(ee.l+Ye,ee.l+Ye+st));ee.l+=Ye+st+xt;var Ht=ee.l;ee.l=at+4,Ma(ee,_e,Fe,Y,wt),ee.l=Ht}return Y}function Ma(z,se,ee,k,q){z.l+=2;var Y=z.read_shift(2),ye=z.read_shift(2),Be=s(z);if(Y&8257)throw new Error("Unsupported ZIP encryption");for(var xe=z.read_shift(4),_e=z.read_shift(4),Fe=z.read_shift(4),Ye=z.read_shift(2),st=z.read_shift(2),xt="",at=0;at<Ye;++at)xt+=String.fromCharCode(z[z.l++]);if(st){var wt=o(z.slice(z.l,z.l+st));(wt[21589]||{}).mt&&(Be=wt[21589].mt),((q||{})[21589]||{}).mt&&(Be=q[21589].mt)}z.l+=st;var Ht=z.slice(z.l,z.l+_e);switch(ye){case 8:Ht=U(z,Fe);break;case 0:break;default:throw new Error("Unsupported ZIP Compression method "+ye)}var Dr=!1;Y&8&&(xe=z.read_shift(4),xe==134695760&&(xe=z.read_shift(4),Dr=!0),_e=z.read_shift(4),Fe=z.read_shift(4)),_e!=se&&co(Dr,"Bad compressed size: "+se+" != "+_e),Fe!=ee&&co(Dr,"Bad uncompressed size: "+ee+" != "+Fe),vr(k,xt,Ht,{unsafe:!0,mt:Be})}function Ps(z,se){var ee=se||{},k=[],q=[],Y=ze(1),ye=ee.compression?8:0,Be=0,xe=0,_e=0,Fe=0,Ye=0,st=z.FullPaths[0],xt=st,at=z.FileIndex[0],wt=[],Ht=0;for(xe=1;xe<z.FullPaths.length;++xe)if(xt=z.FullPaths[xe].slice(st.length),at=z.FileIndex[xe],!(!at.size||!at.content||xt=="�Sh33tJ5")){var Dr=Fe,pt=ze(xt.length);for(_e=0;_e<xt.length;++_e)pt.write_shift(1,xt.charCodeAt(_e)&127);pt=pt.slice(0,pt.l),wt[Ye]=u2e.buf(at.content,0);var Or=at.content;ye==8&&(Or=R(Or)),Y=ze(30),Y.write_shift(4,67324752),Y.write_shift(2,20),Y.write_shift(2,Be),Y.write_shift(2,ye),at.mt?a(Y,at.mt):Y.write_shift(4,0),Y.write_shift(-4,wt[Ye]),Y.write_shift(4,Or.length),Y.write_shift(4,at.content.length),Y.write_shift(2,pt.length),Y.write_shift(2,0),Fe+=Y.length,k.push(Y),Fe+=pt.length,k.push(pt),Fe+=Or.length,k.push(Or),Y=ze(46),Y.write_shift(4,33639248),Y.write_shift(2,0),Y.write_shift(2,20),Y.write_shift(2,Be),Y.write_shift(2,ye),Y.write_shift(4,0),Y.write_shift(-4,wt[Ye]),Y.write_shift(4,Or.length),Y.write_shift(4,at.content.length),Y.write_shift(2,pt.length),Y.write_shift(2,0),Y.write_shift(2,0),Y.write_shift(2,0),Y.write_shift(2,0),Y.write_shift(4,0),Y.write_shift(4,Dr),Ht+=Y.l,q.push(Y),Ht+=pt.length,q.push(pt),++Ye}return Y=ze(22),Y.write_shift(4,101010256),Y.write_shift(2,0),Y.write_shift(2,0),Y.write_shift(2,Ye),Y.write_shift(2,Ye),Y.write_shift(4,Ht),Y.write_shift(4,Fe),Y.write_shift(2,0),Aa([Aa(k),Aa(q),Y])}var Xr={htm:"text/html",xml:"text/xml",gif:"image/gif",jpg:"image/jpeg",png:"image/png",mso:"application/x-mso",thmx:"application/vnd.ms-officetheme",sh33tj5:"application/octet-stream"};function Gt(z,se){if(z.ctype)return z.ctype;var ee=z.name||"",k=ee.match(/\.([^\.]+)$/);return k&&Xr[k[1]]||se&&(k=(ee=se).match(/[\.\\]([^\.\\])+$/),k&&Xr[k[1]])?Xr[k[1]]:"application/octet-stream"}function Tr(z){for(var se=f1(z),ee=[],k=0;k<se.length;k+=76)ee.push(se.slice(k,k+76));return ee.join(`\r 4308`)+`\r 4309`}function Ao(z){var se=z.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF=]/g,function(_e){var Fe=_e.charCodeAt(0).toString(16).toUpperCase();return"="+(Fe.length==1?"0"+Fe:Fe)});se=se.replace(/ $/mg,"=20").replace(/\t$/mg,"=09"),se.charAt(0)==` 4310`&&(se="=0D"+se.slice(1)),se=se.replace(/\r(?!\n)/mg,"=0D").replace(/\n\n/mg,` 4311=0A`).replace(/([^\r\n])\n/mg,"$1=0A");for(var ee=[],k=se.split(`\r 4312`),q=0;q<k.length;++q){var Y=k[q];if(Y.length==0){ee.push("");continue}for(var ye=0;ye<Y.length;){var Be=76,xe=Y.slice(ye,ye+Be);
vendor: 12,835 bytes, lines 4312-4319
4312xe.charAt(Be-1)=="="?Be--:xe.charAt(Be-2)=="="?Be-=2:xe.charAt(Be-3)=="="&&(Be-=3),xe=Y.slice(ye,ye+Be),ye+=Be,ye<Y.length&&(xe+="="),ee.push(xe)}}return ee.join(`\r 4313`)}function ti(z){for(var se=[],ee=0;ee<z.length;++ee){for(var k=z[ee];ee<=z.length&&k.charAt(k.length-1)=="=";)k=k.slice(0,k.length-1)+z[++ee];se.push(k)}for(var q=0;q<se.length;++q)se[q]=se[q].replace(/[=][0-9A-Fa-f]{2}/g,function(Y){return String.fromCharCode(parseInt(Y.slice(1),16))});return gl(se.join(`\r 4314`))}function As(z,se,ee){for(var k="",q="",Y="",ye,Be=0;Be<10;++Be){var xe=se[Be];if(!xe||xe.match(/^\s*$/))break;var _e=xe.match(/^(.*?):\s*([^\s].*)$/);if(_e)switch(_e[1].toLowerCase()){case"content-location":k=_e[2].trim();break;case"content-type":Y=_e[2].trim();break;case"content-transfer-encoding":q=_e[2].trim();break}}switch(++Be,q.toLowerCase()){case"base64":ye=gl(dA(se.slice(Be).join("")));break;case"quoted-printable":ye=ti(se.slice(Be));break;default:throw new Error("Unsupported Content-Transfer-Encoding "+q)}var Fe=vr(z,k.slice(ee.length),ye,{unsafe:!0});Y&&(Fe.ctype=Y)}function us(z,se){if(he(z.slice(0,13)).toLowerCase()!="mime-version:")throw new Error("Unsupported MAD header");var ee=se&&se.root||"",k=(zr&&Buffer.isBuffer(z)?z.toString("binary"):he(z)).split(`\r 4315`),q=0,Y="";for(q=0;q<k.length;++q)if(Y=k[q],!!/^Content-Location:/i.test(Y)&&(Y=Y.slice(Y.indexOf("file")),ee||(ee=Y.slice(0,Y.lastIndexOf("/")+1)),Y.slice(0,ee.length)!=ee))for(;ee.length>0&&(ee=ee.slice(0,ee.length-1),ee=ee.slice(0,ee.lastIndexOf("/")+1),Y.slice(0,ee.length)!=ee););var ye=(k[1]||"").match(/boundary="(.*?)"/);if(!ye)throw new Error("MAD cannot find boundary");var Be="--"+(ye[1]||""),xe=[],_e=[],Fe={FileIndex:xe,FullPaths:_e};B(Fe);var Ye,st=0;for(q=0;q<k.length;++q){var xt=k[q];xt!==Be&&xt!==Be+"--"||(st++&&As(Fe,k.slice(Ye,q),ee),Ye=q)}return Fe}function Mt(z,se){var ee=se||{},k=ee.boundary||"SheetJS";k="------="+k;for(var q=["MIME-Version: 1.0",'Content-Type: multipart/related; boundary="'+k.slice(2)+'"',"","",""],Y=z.FullPaths[0],ye=Y,Be=z.FileIndex[0],xe=1;xe<z.FullPaths.length;++xe)if(ye=z.FullPaths[xe].slice(Y.length),Be=z.FileIndex[xe],!(!Be.size||!Be.content||ye=="�Sh33tJ5")){ye=ye.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF]/g,function(Ht){return"_x"+Ht.charCodeAt(0).toString(16)+"_"}).replace(/[\u0080-\uFFFF]/g,function(Ht){return"_u"+Ht.charCodeAt(0).toString(16)+"_"});for(var _e=Be.content,Fe=zr&&Buffer.isBuffer(_e)?_e.toString("binary"):he(_e),Ye=0,st=Math.min(1024,Fe.length),xt=0,at=0;at<=st;++at)(xt=Fe.charCodeAt(at))>=32&&xt<128&&++Ye;var wt=Ye>=st*4/5;q.push(k),q.push("Content-Location: "+(ee.root||"file:///C:/SheetJS/")+ye),q.push("Content-Transfer-Encoding: "+(wt?"quoted-printable":"base64")),q.push("Content-Type: "+Gt(Be,ye)),q.push(""),q.push(wt?Ao(Fe):Tr(Fe))}return q.push(k+`--\r 4316`),q.join(`\r 4317`)}function Qa(z){var se={};return B(se,z),se}function vr(z,se,ee,k){var q=k&&k.unsafe;q||B(z);var Y=!q&&un.find(z,se);if(!Y){var ye=z.FullPaths[0];se.slice(0,ye.length)==ye?ye=se:(ye.slice(-1)!="/"&&(ye+="/"),ye=(ye+se).replace("//","/")),Y={name:i(se),type:2},z.FileIndex.push(Y),z.FullPaths.push(ye),q||un.utils.cfb_gc(z)}return Y.content=ee,Y.size=ee?ee.length:0,k&&(k.CLSID&&(Y.clsid=k.CLSID),k.mt&&(Y.mt=k.mt),k.ct&&(Y.ct=k.ct)),Y}function Si(z,se){B(z);var ee=un.find(z,se);if(ee){for(var k=0;k<z.FileIndex.length;++k)if(z.FileIndex[k]==ee)return z.FileIndex.splice(k,1),z.FullPaths.splice(k,1),!0}return!1}function Un(z,se,ee){B(z);var k=un.find(z,se);if(k){for(var q=0;q<z.FileIndex.length;++q)if(z.FileIndex[q]==k)return z.FileIndex[q].name=i(ee),z.FullPaths[q]=ee,!0}return!1}function Bn(z){O(z,!0)}return e.find=T,e.read=I,e.parse=u,e.write=ce,e.writeFile=te,e.utils={cfb_new:Qa,cfb_add:vr,cfb_del:Si,cfb_mov:Un,cfb_gc:Bn,ReadShift:uv,CheckField:JW,prep_blob:Vs,bconcat:Aa,use_zlib:F,_deflateRaw:Oe,_inflateRaw:dr,consts:fe},e}();function d2e(t){return typeof t=="string"?Q5(t):Array.isArray(t)?Uwe(t):t}function nx(t,e,r){if(typeof Deno<"u"){if(r&&typeof e=="string")switch(r){case"utf8":e=new TextEncoder(r).encode(e);break;case"binary":e=Q5(e);break;default:throw new Error("Unsupported encoding "+r)}return Deno.writeFileSync(t,e)}var n=r=="utf8"?m1(e):e;if(typeof IE_SaveFile<"u")return IE_SaveFile(n,t);if(typeof Blob<"u"){var i=new Blob([d2e(n)],{type:"application/octet-stream"});if(typeof navigator<"u"&&navigator.msSaveBlob)return navigator.msSaveBlob(i,t);if(typeof saveAs<"u")return saveAs(i,t);if(typeof URL<"u"&&typeof document<"u"&&document.createElement&&URL.createObjectURL){var a=URL.createObjectURL(i);if(typeof chrome=="object"&&typeof(chrome.downloads||{}).download=="function")return URL.revokeObjectURL&&typeof setTimeout<"u"&&setTimeout(function(){URL.revokeObjectURL(a)},6e4),chrome.downloads.download({url:a,filename:t,saveAs:!0});var s=document.createElement("a");if(s.download!=null)return s.download=t,s.href=a,document.body.appendChild(s),s.click(),document.body.removeChild(s),URL.revokeObjectURL&&typeof setTimeout<"u"&&setTimeout(function(){URL.revokeObjectURL(a)},6e4),a}}if(typeof $<"u"&&typeof File<"u"&&typeof Folder<"u")try{var o=File(t);return o.open("w"),o.encoding="binary",Array.isArray(e)&&(e=rx(e)),o.write(e),o.close(),e}catch(c){if(!c.message||!c.message.match(/onstruct/))throw c}throw new Error("cannot save file "+t)}function ba(t){for(var e=Object.keys(t),r=[],n=0;n<e.length;++n)Object.prototype.hasOwnProperty.call(t,e[n])&&r.push(e[n]);return r}function yR(t,e){for(var r=[],n=ba(t),i=0;i!==n.length;++i)r[t[n[i]][e]]==null&&(r[t[n[i]][e]]=n[i]);return r}function zT(t){for(var e=[],r=ba(t),n=0;n!==r.length;++n)e[t[r[n]]]=r[n];return e}function V5(t){for(var e=[],r=ba(t),n=0;n!==r.length;++n)e[t[r[n]]]=parseInt(r[n],10);return e}function h2e(t){for(var e=[],r=ba(t),n=0;n!==r.length;++n)e[t[r[n]]]==null&&(e[t[r[n]]]=[]),e[t[r[n]]].push(r[n]);return e}var $b=new Date(1899,11,30,0,0,0);function js(t,e){var r=t.getTime(),n=$b.getTime()+(t.getTimezoneOffset()-$b.getTimezoneOffset())*6e4;return(r-n)/(24*60*60*1e3)}var IW=new Date,f2e=$b.getTime()+(IW.getTimezoneOffset()-$b.getTimezoneOffset())*6e4,wR=IW.getTimezoneOffset();function kW(t){var e=new Date;return e.setTime(t*24*60*60*1e3+f2e),e.getTimezoneOffset()!==wR&&e.setTime(e.getTime()+(e.getTimezoneOffset()-wR)*6e4),e}var bR=new Date("2017-02-19T19:06:09.000Z"),PW=isNaN(bR.getFullYear())?new Date("2/19/17"):bR,p2e=PW.getFullYear()==2017;function ss(t,e){var r=new Date(t);if(p2e)return e>0?r.setTime(r.getTime()+r.getTimezoneOffset()*60*1e3):e<0&&r.setTime(r.getTime()-r.getTimezoneOffset()*60*1e3),r;if(t instanceof Date)return t;if(PW.getFullYear()==1917&&!isNaN(r.getFullYear())){var n=r.getFullYear();return t.indexOf(""+n)>-1||r.setFullYear(r.getFullYear()+100),r}var i=t.match(/\d+/g)||["2017","2","19","0","0","0"],a=new Date(+i[0],+i[1]-1,+i[2],+i[3]||0,+i[4]||0,+i[5]||0);return t.indexOf("Z")>-1&&(a=new Date(a.getTime()-a.getTimezoneOffset()*60*1e3)),a}function W5(t,e){if(zr&&Buffer.isBuffer(t))return t.toString("binary");if(typeof TextDecoder<"u")try{var r={"â¬":"Â","â":"Â",Æ:"Â","â":"Â","â¦":" ","â ":"Â","â¡":"Â","Ë":"Â","â°":"Â",Å :"Â","â¹":"Â",Å:"Â",Ž:"Â","â":"Â","â":"Â","â":"Â","â":"Â","â¢":"Â","â":"Â","â":"Â","Ë":"Â","â¢":"Â",Å¡:"Â","âº":"Â",Å:"Â",ž:"Â",Ÿ:"Â"};return Array.isArray(t)&&(t=new Uint8Array(t)),new TextDecoder("latin1").decode(t).replace(/[â¬âÆââ¦â â¡Ëâ°Å â¹ÅŽâââââ¢ââËâ¢Å¡âºÅžŸ]/g,function(a){return r[a]||a})}catch{}for(var n=[],i=0;i!=t.length;++i)n.push(String.fromCharCode(t[i]));return n.join("")}function Is(t){if(typeof JSON<"u"&&!Array.isArray(t))return JSON.parse(JSON.stringify(t));if(typeof t!="object"||t==null)return t;if(t instanceof Date)return new Date(t.getTime());var e={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=Is(t[r]));return e}function Yn(t,e){for(var r="";r.length<e;)r+=t;return r}function eA(t){var e=Number(t);if(!isNaN(e))return isFinite(e)?e:NaN;if(!/\d/.test(t))return e;var r=1,n=t.replace(/([\d]),([\d])/g,"$1$2").replace(/[$]/g,"").replace(/[%]/g,function(){return r*=100,""});return!isNaN(e=Number(n))||(n=n.replace(/[(](.*)[)]/,function(i,a){return r=-r,a}),!isNaN(e=Number(n)))?e/r:e}var m2e=["january","february","march","april","may","june","july","august","september","october","november","december"];function p1(t){var e=new Date(t),r=new Date(NaN),n=e.getYear(),i=e.getMonth(),a=e.getDate();if(isNaN(a))return r;var s=t.toLowerCase();if(s.match(/jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec/)){if(s=s.replace(/[^a-z]/g,"").replace(/([^a-z]|^)[ap]m?([^a-z]|$)/,""),s.length>3&&m2e.indexOf(s)==-1)return r}else if(s.match(/[a-z]/))return r;return n<0||n>8099?r:(i>0||a>1)&&n!=101?e:t.match(/[^-0-9:,\/\\]/)?r:e}function pr(t,e,r){if(t.FullPaths){if(typeof r=="string"){var n;return zr?n=wA(r):n=Lwe(r),un.utils.cfb_add(t,e,n)}un.utils.cfb_add(t,e,r)}else t.file(e,r)}function VT(){return un.utils.cfb_new()}var Ni=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r 4318`,g2e={""":'"',"'":"'",">":">","<":"<","&":"&"},WT=zT(g2e),KT=/[&<>'"]/g,v2e=/[\u0000-\u0008\u000b-\u001f]/g;function nn(t){var e=t+"";return e.replace(KT,function(r){return WT[r]}).replace(v2e,function(r){return"_x"+("000"+r.charCodeAt(0).toString(16)).slice(-4)+"_"})}function CR(t){return nn(t).replace(/ /g,"_x0020_")}var DW=/[\u0000-\u001f]/g;function x2e(t){var e=t+"";return e.replace(KT,function(r){return WT[r]}).replace(/\n/g,"<br/>").replace(DW,function(r){return"&#x"+("000"+r.charCodeAt(0).toString(16)).slice(-4)+";"})}function y2e(t){var e=t+"";return e.replace(KT,function(r){return WT[r]}).replace(DW,function(r){return"&#x"+r.charCodeAt(0).toString(16).toUpperCase()+";"})}function w2e(t){return t.replace(/(\r\n|[\r\n])/g," ")}function b2e(t){switch(t){case 1:case!0:case"1":case"true":case"TRUE":return!0;default:return!1}}function D4(t){for(var e="",r=0,n=0,i=0,a=0,s=0,o=0;r<t.length;){if(n=t.charCodeAt(r++),n<128){e+=String.fromCharCode(n);continue}if(i=t.charCodeAt(r++),n>191&&n<224){s=(n&31)<<6,s|=i&63,e+=String.fromCharCode(s);continue}if(a=t.charCodeAt(r++),n<240){e+=String.fromCharCode((n&15)<<12|(i&63)<<6|a&63);continue}s=t.charCodeAt(r++),o=((n&7)<<18|(i&63)<<12|(a&63)<<6|s&63)-65536,e+=String.fromCharCode(55296+(o>>>10&1023)),e+=String.fromCharCode(56320+(o&1023))}return e}function BR(t){var e=Ih(2*t.length),r,n,i=1,a=0,s=0,o;for(n=0;n<t.length;n+=i)i=1,(o=t.charCodeAt(n))<128?r=o:o<224?(r=(o&31)*64+(t.charCodeAt(n+1)&63),i=2):o<240?(r=(o&15)*4096+(t.charCodeAt(n+1)&63)*64+(t.charCodeAt(n+2)&63),i=3):(i=4,r=(o&7)*262144+(t.charCodeAt(n+1)&63)*4096+(t.charCodeAt(n+2)&63)*64+(t.charCodeAt(n+3)&63),r-=65536,s=55296+(r>>>10&1023),r=56320+(r&1023)),s!==0&&(e[a++]=s&255,e[a++]=s>>>8,s=0),e[a++]=r%256,e[a++]=r>>>8;return e.slice(0,a).toString("ucs2")}function ER(t){return wA(t,"binary").toString("utf8")}var Cw="foo bar bazâÂÂð£",Av=zr&&(ER(Cw)==D4(Cw)&&ER||BR(Cw)==D4(Cw)&&BR)||D4,m1=zr?function(t){return wA(t,"utf8").toString("binary")}:function(t){for(var e=[],r=0,n=0,i=0;r<t.length;)switch(n=t.charCodeAt(r++),!0){case n<128:e.push(String.fromCharCode(n));break;case n<2048:e.push(String.fromCharCode(192+(n>>6))),e.push(String.fromCharCode(128+(n&63)));break;case(n>=55296&&n<57344):n-=55296,i=t.charCodeAt(r++)-56320+(n<<10),e.push(String.fromCharCode(240+(i>>18&7))),e.push(String.fromCharCode(144+(i>>12&63))),e.push(String.fromCharCode(128+(i>>6&63))),e.push(String.fromCharCode(128+(i&63)));break;default:e.push(String.fromCharCode(224+(n>>12))),e.push(String.fromCharCode(128+(n>>6&63))),e.push(String.fromCharCode(128+(n&63)))}return e.join("")},C2e=function(){var t=[["nbsp"," "],["middot","·"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map(function(e){return[new RegExp("&"+e[0]+";","ig"),e[1]]});return function(r){for(var n=r.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+</g,"<").replace(/[\t\n\r ]+/g," ").replace(/<\s*[bB][rR]\s*\/?>/g,` 4319`).replace(/<[^>]*>/g,""),i=0;i<t.length;++i)n=n.replace(t[i][0],t[i][1]);return n}}(),OW=/(^\s|\s$|\n)/;function ua(t,e){return"<"+t+(e.match(OW)?' xml:space="preserve"':"")+">"+e+"</"+t+">"}function g1(t){return ba(t).map(function(e){return" "+e+'="'+t[e]+'"'}).join("")}function ft(t,e,r){return"<"+t+(r!=null?g1(r):"")+(e!=null?(e.match(OW)?' xml:space="preserve"':"")+">"+e+"</"+t:"/")+">"}function M_(t,e){try{return t.toISOString().replace(/\.\d*/,"")}catch(r){if(e)throw r}return""}function B2e(t,e){switch(typeof t){case"string":var r=ft("vt:lpwstr",nn(t));return r=r.replace(/"/g,"_x0022_"),r;case"number":return ft((t|0)==t?"vt:i4":"vt:r8",nn(String(t)));case"boolean":return ft("vt:bool",t?"true":"false")}if(t instanceof Date)return ft("vt:filetime",M_(t));throw new Error("Unable to serialize "+t)}
vendor: 8,149 bytes, line 4319
4319var $i={CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",CT:"http://schemas.openxmlformats.org/package/2006/content-types",RELS:"http://schemas.openxmlformats.org/package/2006/relationships",TCMNT:"http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments",dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",mx:"http://schemas.microsoft.com/office/mac/excel/2008/main",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",sjs:"http://schemas.openxmlformats.org/package/2006/sheetjs/core-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",xsi:"http://www.w3.org/2001/XMLSchema-instance",xsd:"http://www.w3.org/2001/XMLSchema"},Vp=["http://schemas.openxmlformats.org/spreadsheetml/2006/main","http://purl.oclc.org/ooxml/spreadsheetml/main","http://schemas.microsoft.com/office/excel/2006/main","http://schemas.microsoft.com/office/excel/2006/2"],Ws={o:"urn:schemas-microsoft-com:office:office",x:"urn:schemas-microsoft-com:office:excel",ss:"urn:schemas-microsoft-com:office:spreadsheet",dt:"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882",mv:"http://macVmlSchemaUri",v:"urn:schemas-microsoft-com:vml",html:"http://www.w3.org/TR/REC-html40"};function E2e(t,e){for(var r=1-2*(t[e+7]>>>7),n=((t[e+7]&127)<<4)+(t[e+6]>>>4&15),i=t[e+6]&15,a=5;a>=0;--a)i=i*256+t[e+a];return n==2047?i==0?r*(1/0):NaN:(n==0?n=-1022:(n-=1023,i+=Math.pow(2,52)),r*Math.pow(2,n-52)*i)}function N2e(t,e,r){var n=(e<0||1/e==-1/0?1:0)<<7,i=0,a=0,s=n?-e:e;isFinite(s)?s==0?i=a=0:(i=Math.floor(Math.log(s)/Math.LN2),a=s*Math.pow(2,52-i),i<=-1023&&(!isFinite(a)||a<Math.pow(2,52))?i=-1022:(a-=Math.pow(2,52),i+=1023)):(i=2047,a=isNaN(e)?26985:0);for(var o=0;o<=5;++o,a/=256)t[r+o]=a&255;t[r+6]=(i&15)<<4|a&15,t[r+7]=i>>4|n}var NR=function(t){for(var e=[],r=10240,n=0;n<t[0].length;++n)if(t[0][n])for(var i=0,a=t[0][n].length;i<a;i+=r)e.push.apply(e,t[0][n].slice(i,i+r));return e},SR=zr?function(t){return t[0].length>0&&Buffer.isBuffer(t[0][0])?Buffer.concat(t[0].map(function(e){return Buffer.isBuffer(e)?e:wA(e)})):NR(t)}:NR,_R=function(t,e,r){for(var n=[],i=e;i<r;i+=2)n.push(String.fromCharCode(Cg(t,i)));return n.join("").replace(cv,"")},qT=zr?function(t,e,r){return Buffer.isBuffer(t)?t.toString("utf16le",e,r).replace(cv,""):_R(t,e,r)}:_R,FR=function(t,e,r){for(var n=[],i=e;i<e+r;++i)n.push(("0"+t[i].toString(16)).slice(-2));return n.join("")},RW=zr?function(t,e,r){return Buffer.isBuffer(t)?t.toString("hex",e,e+r):FR(t,e,r)}:FR,TR=function(t,e,r){for(var n=[],i=e;i<r;i++)n.push(String.fromCharCode(t0(t,i)));return n.join("")},ix=zr?function(e,r,n){return Buffer.isBuffer(e)?e.toString("utf8",r,n):TR(e,r,n)}:TR,UW=function(t,e){var r=Ks(t,e);return r>0?ix(t,e+4,e+4+r-1):""},LW=UW,MW=function(t,e){var r=Ks(t,e);return r>0?ix(t,e+4,e+4+r-1):""},QW=MW,HW=function(t,e){var r=2*Ks(t,e);return r>0?ix(t,e+4,e+4+r-1):""},zW=HW,VW=function(e,r){var n=Ks(e,r);return n>0?qT(e,r+4,r+4+n):""},WW=VW,KW=function(t,e){var r=Ks(t,e);return r>0?ix(t,e+4,e+4+r):""},qW=KW,GW=function(t,e){return E2e(t,e)},eC=GW,GT=function(e){return Array.isArray(e)||typeof Uint8Array<"u"&&e instanceof Uint8Array};zr&&(LW=function(e,r){if(!Buffer.isBuffer(e))return UW(e,r);var n=e.readUInt32LE(r);return n>0?e.toString("utf8",r+4,r+4+n-1):""},QW=function(e,r){if(!Buffer.isBuffer(e))return MW(e,r);var n=e.readUInt32LE(r);return n>0?e.toString("utf8",r+4,r+4+n-1):""},zW=function(e,r){if(!Buffer.isBuffer(e))return HW(e,r);var n=2*e.readUInt32LE(r);return e.toString("utf16le",r+4,r+4+n-1)},WW=function(e,r){if(!Buffer.isBuffer(e))return VW(e,r);var n=e.readUInt32LE(r);return e.toString("utf16le",r+4,r+4+n)},qW=function(e,r){if(!Buffer.isBuffer(e))return KW(e,r);var n=e.readUInt32LE(r);return e.toString("utf8",r+4,r+4+n)},eC=function(e,r){return Buffer.isBuffer(e)?e.readDoubleLE(r):GW(e,r)},GT=function(e){return Buffer.isBuffer(e)||Array.isArray(e)||typeof Uint8Array<"u"&&e instanceof Uint8Array});var t0=function(t,e){return t[e]},Cg=function(t,e){return t[e+1]*256+t[e]},S2e=function(t,e){var r=t[e+1]*256+t[e];return r<32768?r:(65535-r+1)*-1},Ks=function(t,e){return t[e+3]*(1<<24)+(t[e+2]<<16)+(t[e+1]<<8)+t[e]},Kd=function(t,e){return t[e+3]<<24|t[e+2]<<16|t[e+1]<<8|t[e]},_2e=function(t,e){return t[e]<<24|t[e+1]<<16|t[e+2]<<8|t[e+3]};function uv(t,e){var r="",n,i,a=[],s,o,c,A;switch(e){case"dbcs":if(A=this.l,zr&&Buffer.isBuffer(this))r=this.slice(this.l,this.l+2*t).toString("utf16le");else for(c=0;c<t;++c)r+=String.fromCharCode(Cg(this,A)),A+=2;t*=2;break;case"utf8":r=ix(this,this.l,this.l+t);break;case"utf16le":t*=2,r=qT(this,this.l,this.l+t);break;case"wstr":return uv.call(this,t,"dbcs");case"lpstr-ansi":r=LW(this,this.l),t=4+Ks(this,this.l);break;case"lpstr-cp":r=QW(this,this.l),t=4+Ks(this,this.l);break;case"lpwstr":r=zW(this,this.l),t=4+2*Ks(this,this.l);break;case"lpp4":t=4+Ks(this,this.l),r=WW(this,this.l),t&2&&(t+=2);break;case"8lpp4":t=4+Ks(this,this.l),r=qW(this,this.l),t&3&&(t+=4-(t&3));break;case"cstr":for(t=0,r="";(s=t0(this,this.l+t++))!==0;)a.push(yw(s));r=a.join("");break;case"_wstr":for(t=0,r="";(s=Cg(this,this.l+t))!==0;)a.push(yw(s)),t+=2;t+=2,r=a.join("");break;case"dbcs-cont":for(r="",A=this.l,c=0;c<t;++c){if(this.lens&&this.lens.indexOf(A)!==-1)return s=t0(this,A),this.l=A+1,o=uv.call(this,t-c,s?"dbcs-cont":"sbcs-cont"),a.join("")+o;a.push(yw(Cg(this,A))),A+=2}r=a.join(""),t*=2;break;case"cpstr":case"sbcs-cont":for(r="",A=this.l,c=0;c!=t;++c){if(this.lens&&this.lens.indexOf(A)!==-1)return s=t0(this,A),this.l=A+1,o=uv.call(this,t-c,s?"dbcs-cont":"sbcs-cont"),a.join("")+o;a.push(yw(t0(this,A))),A+=1}r=a.join("");break;default:switch(t){case 1:return n=t0(this,this.l),this.l++,n;case 2:return n=(e==="i"?S2e:Cg)(this,this.l),this.l+=2,n;case 4:case-4:return e==="i"||!(this[this.l+3]&128)?(n=(t>0?Kd:_2e)(this,this.l),this.l+=4,n):(i=Ks(this,this.l),this.l+=4,i);case 8:case-8:if(e==="f")return t==8?i=eC(this,this.l):i=eC([this[this.l+7],this[this.l+6],this[this.l+5],this[this.l+4],this[this.l+3],this[this.l+2],this[this.l+1],this[this.l+0]],0),this.l+=8,i;t=8;case 16:r=RW(this,this.l,t);break}}return this.l+=t,r}var F2e=function(t,e,r){t[r]=e&255,t[r+1]=e>>>8&255,t[r+2]=e>>>16&255,t[r+3]=e>>>24&255},T2e=function(t,e,r){t[r]=e&255,t[r+1]=e>>8&255,t[r+2]=e>>16&255,t[r+3]=e>>24&255},j2e=function(t,e,r){t[r]=e&255,t[r+1]=e>>>8&255};function I2e(t,e,r){var n=0,i=0;if(r==="dbcs"){for(i=0;i!=e.length;++i)j2e(this,e.charCodeAt(i),this.l+2*i);n=2*e.length}else if(r==="sbcs"){for(e=e.replace(/[^\x00-\x7F]/g,"_"),i=0;i!=e.length;++i)this[this.l+i]=e.charCodeAt(i)&255;n=e.length}else if(r==="hex"){for(;i<t;++i)this[this.l++]=parseInt(e.slice(2*i,2*i+2),16)||0;return this}else if(r==="utf16le"){var a=Math.min(this.l+t,this.length);for(i=0;i<Math.min(e.length,t);++i){var s=e.charCodeAt(i);this[this.l++]=s&255,this[this.l++]=s>>8}for(;this.l<a;)this[this.l++]=0;return this}else switch(t){case 1:n=1,this[this.l]=e&255;break;case 2:n=2,this[this.l]=e&255,e>>>=8,this[this.l+1]=e&255;break;case 3:n=3,this[this.l]=e&255,e>>>=8,this[this.l+1]=e&255,e>>>=8,this[this.l+2]=e&255;break;case 4:n=4,F2e(this,e,this.l);break;case 8:if(n=8,r==="f"){N2e(this,e,this.l);break}case 16:break;case-4:n=4,T2e(this,e,this.l);break}return this.l+=n,this}function JW(t,e){var r=RW(this,this.l,t.length>>1);if(r!==t)throw new Error(e+"Expected "+t+" saw "+r);this.l+=t.length>>1}function Vs(t,e){t.l=e,t.read_shift=uv,t.chk=JW,t.write_shift=I2e}function fc(t,e){t.l+=e}function ze(t){var e=Ih(t);return Vs(e,0),e}function Fs(){var t=[],e=zr?256:2048,r=function(A){var u=ze(A);return Vs(u,0),u},n=r(e),i=function(){n&&(n.length>n.l&&(n=n.slice(0,n.l),n.l=n.length),n.length>0&&t.push(n),n=null)},a=function(A){return n&&A<n.length-n.l?n:(i(),n=r(Math.max(A+1,e)))},s=function(){return i(),Aa(t)},o=function(A){i(),n=A,n.l==null&&(n.l=n.length),a(e)};return{next:a,push:o,end:s,_bufs:t}}function et(t,e,r,n){var i=+e,a;
vendor: 4,406 bytes, line 4319
4319if(!isNaN(i)){n||(n=E4e[i].p||(r||[]).length||0),a=1+(i>=128?1:0)+1,n>=128&&++a,n>=16384&&++a,n>=2097152&&++a;var s=t.next(a);i<=127?s.write_shift(1,i):(s.write_shift(1,(i&127)+128),s.write_shift(1,i>>7));for(var o=0;o!=4;++o)if(n>=128)s.write_shift(1,(n&127)+128),n>>=7;else{s.write_shift(1,n);break}n>0&>(r)&&t.push(r)}}function dv(t,e,r){var n=Is(t);if(e.s?(n.cRel&&(n.c+=e.s.c),n.rRel&&(n.r+=e.s.r)):(n.cRel&&(n.c+=e.c),n.rRel&&(n.r+=e.r)),!r||r.biff<12){for(;n.c>=256;)n.c-=256;for(;n.r>=65536;)n.r-=65536}return n}function jR(t,e,r){var n=Is(t);return n.s=dv(n.s,e.s,r),n.e=dv(n.e,e.s,r),n}function hv(t,e){if(t.cRel&&t.c<0)for(t=Is(t);t.c<0;)t.c+=e>8?16384:256;if(t.rRel&&t.r<0)for(t=Is(t);t.r<0;)t.r+=e>8?1048576:e>5?65536:16384;var r=sn(t);return!t.cRel&&t.cRel!=null&&(r=D2e(r)),!t.rRel&&t.rRel!=null&&(r=k2e(r)),r}function O4(t,e){return t.s.r==0&&!t.s.rRel&&t.e.r==(e.biff>=12?1048575:e.biff>=8?65536:16384)&&!t.e.rRel?(t.s.cRel?"":"$")+Oa(t.s.c)+":"+(t.e.cRel?"":"$")+Oa(t.e.c):t.s.c==0&&!t.s.cRel&&t.e.c==(e.biff>=12?16383:255)&&!t.e.cRel?(t.s.rRel?"":"$")+xa(t.s.r)+":"+(t.e.rRel?"":"$")+xa(t.e.r):hv(t.s,e.biff)+":"+hv(t.e,e.biff)}function JT(t){return parseInt(P2e(t),10)-1}function xa(t){return""+(t+1)}function k2e(t){return t.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}function P2e(t){return t.replace(/\$(\d+)$/,"$1")}function XT(t){for(var e=O2e(t),r=0,n=0;n!==e.length;++n)r=26*r+e.charCodeAt(n)-64;return r-1}function Oa(t){if(t<0)throw new Error("invalid column "+t);var e="";for(++t;t;t=Math.floor((t-1)/26))e=String.fromCharCode((t-1)%26+65)+e;return e}function D2e(t){return t.replace(/^([A-Z])/,"$$$1")}function O2e(t){return t.replace(/^\$([A-Z])/,"$1")}function R2e(t){return t.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")}function ea(t){for(var e=0,r=0,n=0;n<t.length;++n){var i=t.charCodeAt(n);i>=48&&i<=57?e=10*e+(i-48):i>=65&&i<=90&&(r=26*r+(i-64))}return{c:r-1,r:e-1}}function sn(t){for(var e=t.c+1,r="";e;e=(e-1)/26|0)r=String.fromCharCode((e-1)%26+65)+r;return r+(t.r+1)}function so(t){var e=t.indexOf(":");return e==-1?{s:ea(t),e:ea(t)}:{s:ea(t.slice(0,e)),e:ea(t.slice(e+1))}}function Bi(t,e){return typeof e>"u"||typeof e=="number"?Bi(t.s,t.e):(typeof t!="string"&&(t=sn(t)),typeof e!="string"&&(e=sn(e)),t==e?t:t+":"+e)}function In(t){var e={s:{c:0,r:0},e:{c:0,r:0}},r=0,n=0,i=0,a=t.length;for(r=0;n<a&&!((i=t.charCodeAt(n)-64)<1||i>26);++n)r=26*r+i;for(e.s.c=--r,r=0;n<a&&!((i=t.charCodeAt(n)-48)<0||i>9);++n)r=10*r+i;if(e.s.r=--r,n===a||i!=10)return e.e.c=e.s.c,e.e.r=e.s.r,e;for(++n,r=0;n!=a&&!((i=t.charCodeAt(n)-64)<1||i>26);++n)r=26*r+i;for(e.e.c=--r,r=0;n!=a&&!((i=t.charCodeAt(n)-48)<0||i>9);++n)r=10*r+i;return e.e.r=--r,e}function IR(t,e){var r=t.t=="d"&&e instanceof Date;if(t.z!=null)try{return t.w=id(t.z,r?js(e):e)}catch{}try{return t.w=id((t.XF||{}).numFmtId||(r?14:0),r?js(e):e)}catch{return""+e}}function hA(t,e,r){return t==null||t.t==null||t.t=="z"?"":t.w!==void 0?t.w:(t.t=="d"&&!t.z&&r&&r.dateNF&&(t.z=r.dateNF),t.t=="e"?ax[t.v]||t.v:e==null?IR(t,t.v):IR(t,e))}function Jh(t,e){var r=e&&e.sheet?e.sheet:"Sheet1",n={};return n[r]=t,{SheetNames:[r],Sheets:n}}function XW(t,e,r){var n=r||{},i=t?Array.isArray(t):n.dense,a=t||(i?[]:{}),s=0,o=0;if(a&&n.origin!=null){if(typeof n.origin=="number")s=n.origin;else{var c=typeof n.origin=="string"?ea(n.origin):n.origin;s=c.r,o=c.c}a["!ref"]||(a["!ref"]="A1:A1")}var A={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(a["!ref"]){var u=In(a["!ref"]);A.s.c=u.s.c,A.s.r=u.s.r,A.e.c=Math.max(A.e.c,u.e.c),A.e.r=Math.max(A.e.r,u.e.r),s==-1&&(A.e.r=s=u.e.r+1)}for(var d=0;d!=e.length;++d)if(e[d]){if(!Array.isArray(e[d]))throw new Error("aoa_to_sheet expects an array of arrays");for(var f=0;f!=e[d].length;++f)if(!(typeof e[d][f]>"u")){var h={v:e[d][f]},m=s+d,p=o+f;if(A.s.r>m&&(A.s.r=m),A.s.c>p&&(A.s.c=p),A.e.r<m&&(A.e.r=m),A.e.c<p&&(A.e.c=p),e[d][f]&&typeof e[d][f]=="object"&&!Array.isArray(e[d][f])&&!(e[d][f]instanceof Date))h=e[d][f];else if(Array.isArray(h.v)&&(h.f=e[d][f][1],h.v=h.v[0]),h.v===null)if(h.f)h.t="n";else if(n.nullError)h.t="e",h.v=0;else if(n.sheetStubs)h.t="z";else continue;else typeof h.v=="number"?h.t="n":typeof h.v=="boolean"?h.t="b":h.v instanceof Date?(h.z=n.dateNF||Zn[14],n.cellDates?(h.t="d",h.w=id(h.z,js(h.v))):(h.t="n",h.v=js(h.v),h.w=id(h.z,h.v))):h.t="s";if(i)a[m]||(a[m]=[]),a[m][p]&&a[m][p].z&&(h.z=a[m][p].z),a[m][p]=h;else{var x=sn({c:p,r:m});a[x]&&a[x].z&&(h.z=a[x].z),a[x]=h}}}
4319return A.s.c<1e7&&(a["!ref"]=Bi(A)),a}function Wp(t,e){return XW(null,t,e)}function U2e(t){return t.read_shift(4,"i")}function Fl(t,e){return e||(e=ze(4)),e.write_shift(4,t),e}function Ra(t){var e=t.read_shift(4);return e===0?"":t.read_shift(e,"dbcs")}function ta(t,e){var r=!1;return e==null&&(r=!0,e=ze(4+2*t.length)),e.write_shift(4,t.length),t.length>0&&e.write_shift(0,t,"dbcs"),r?e.slice(0,e.l):e}function L2e(t){return{ich:t.read_shift(2),ifnt:t.read_shift(2)}}function M2e(t,e){return e||(e=ze(4)),e.write_shift(2,0),e.write_shift(2,0),e}function YT(t,e){var r=t.l,n=t.read_shift(1),i=Ra(t),a=[],s={t:i,h:i};if(n&1){for(var o=t.read_shift(4),c=0;c!=o;++c)a.push(L2e(t));s.r=a}else s.r=[{ich:0,ifnt:0}];return t.l=r+e,s}function Q2e(t,e){var r=!1;return e==null&&(r=!0,e=ze(15+4*t.t.length)),e.write_shift(1,0),ta(t.t,e),r?e.slice(0,e.l):e}var H2e=YT;function z2e(t,e){var r=!1;return e==null&&(r=!0,e=ze(23+4*t.t.length)),e.write_shift(1,1),ta(t.t,e),e.write_shift(4,1),M2e({ich:0,ifnt:0},e),r?e.slice(0,e.l):e}function Go(t){var e=t.read_shift(4),r=t.read_shift(2);return r+=t.read_shift(1)<<16,t.l++,{c:e,iStyleRef:r}}function Xh(t,e){return e==null&&(e=ze(8)),e.write_shift(-4,t.c),e.write_shift(3,t.iStyleRef||t.s),e.write_shift(1,0),e}function Yh(t){var e=t.read_shift(2);return e+=t.read_shift(1)<<16,t.l++,{c:-1,iStyleRef:e}}function Zh(t,e){return e==null&&(e=ze(4)),e.write_shift(3,t.iStyleRef||t.s),e.write_shift(1,0),e}var V2e=Ra,YW=ta;function ZT(t){var e=t.read_shift(4);return e===0||e===4294967295?"":t.read_shift(e,"dbcs")}function tC(t,e){var r=!1;return e==null&&(r=!0,e=ze(127)),e.write_shift(4,t.length>0?t.length:4294967295),t.length>0&&e.write_shift(0,t,"dbcs"),r?e.slice(0,e.l):e}var W2e=Ra,Q_=ZT,$T=tC;function ZW(t){var e=t.slice(t.l,t.l+4),r=e[0]&1,n=e[0]&2;t.l+=4;var i=n===0?eC([0,0,0,0,e[0]&252,e[1],e[2],e[3]],0):Kd(e,0)>>2;return r?i/100:i}function $W(t,e){e==null&&(e=ze(4));var r=0,n=0,i=t*100;if(t==(t|0)&&t>=-(1<<29)&&t<1<<29?n=1:i==(i|0)&&i>=-(1<<29)&&i<1<<29&&(n=1,r=1),n)e.write_shift(-4,((r?i:t)<<2)+(r+2));else throw new Error("unsupported RkNumber "+t)}function eK(t){var e={s:{},e:{}};return e.s.r=t.read_shift(4),e.e.r=t.read_shift(4),e.s.c=t.read_shift(4),e.e.c=t.read_shift(4),e}function K2e(t,e){return e||(e=ze(16)),e.write_shift(4,t.s.r),e.write_shift(4,t.e.r),e.write_shift(4,t.s.c),e.write_shift(4,t.e.c),e}var $h=eK,Kp=K2e;function qp(t){if(t.length-t.l<8)throw"XLS Xnum Buffer underflow";return t.read_shift(8,"f")}function kh(t,e){return(e||ze(8)).write_shift(8,t,"f")}function q2e(t){var e={},r=t.read_shift(1),n=r>>>1,i=t.read_shift(1),a=t.read_shift(2,"i"),s=t.read_shift(1),o=t.read_shift(1),c=t.read_shift(1);switch(t.l++,n){case 0:e.auto=1;break;case 1:e.index=i;var A=rbe[i];A&&(e.rgb=zR(A));break;case 2:e.rgb=zR([s,o,c]);break;case 3:e.theme=i;break}return a!=0&&(e.tint=a>0?a/32767:a/32768),e}function rC(t,e){if(e||(e=ze(8)),!t||t.auto)return e.write_shift(4,0),e.write_shift(4,0),e;t.index!=null?(e.write_shift(1,2),e.write_shift(1,t.index)):t.theme!=null?(e.write_shift(1,6),e.write_shift(1,t.theme)):(e.write_shift(1,5),e.write_shift(1,0));var r=t.tint||0;if(r>0?r*=32767:r<0&&(r*=32768),e.write_shift(2,r),!t.rgb||t.theme!=null)e.write_shift(2,0),e.write_shift(1,0),e.write_shift(1,0);else{var n=t.rgb||"FFFFFF";typeof n=="number"&&(n=("000000"+n.toString(16)).slice(-6)),e.write_shift(1,parseInt(n.slice(0,2),16)),e.write_shift(1,parseInt(n.slice(2,4),16)),e.write_shift(1,parseInt(n.slice(4,6),16)),e.write_shift(1,255)}return e}function G2e(t){var e=t.read_shift(1);t.l++;var r={fBold:e&1,fItalic:e&2,fUnderline:e&4,fStrikeout:e&8,fOutline:e&16,fShadow:e&32,fCondense:e&64,fExtend:e&128};return r}function J2e(t,e){e||(e=ze(2));var r=(t.italic?2:0)|(t.strike?8:0)|(t.outline?16:0)|(t.shadow?32:0)|(t.condense?64:0)|(t.extend?128:0);return e.write_shift(1,r),e.write_shift(1,0),e}var tK=2,Hs=3,Bw=11,nC=19,Ew=64,X2e=65,Y2e=71,Z2e=4108,$2e=4126,la=80,kR={1:{n:"CodePage",t:tK},2:{n:"Category",t:la},3:{n:"PresentationFormat",t:la},4:{n:"ByteCount",t:Hs},5:{n:"LineCount",t:Hs},6:{n:"ParagraphCount",t:Hs},7:{n:"SlideCount",t:Hs},8:{n:"NoteCount",t:Hs},9:{n:"HiddenCount",t:Hs},10:{n:"MultimediaClipCount",t:Hs},11:{n:"ScaleCrop",t:Bw},12:{n:"HeadingPairs",t:Z2e},13:{n:"TitlesOfParts",t:$2e},14:{n:"Manager",t:la},15:{n:"Company",t:la},16:{n:"LinksUpToDate",t:Bw},17:{n:"CharacterCount",t:Hs},19:{n:"SharedDoc",t:Bw},22:{n:"HyperlinksChanged",t:Bw},23:{n:"AppVersion",t:Hs,p:"version"},24:{n:"DigSig",t:X2e},26:{n:"ContentType",t:la},27:{n:"ContentStatus",t:la},28:{n:"Language",t:la},29:{n:"Version",t:la},255:{},2147483648:{n:"Locale",t:nC},2147483651:{n:"Behavior",t:nC},1919054434:{}},PR={1:{n:"CodePage",t:tK},2:{n:"Title",t:la},3:{n:"Subject",t:la},4:{n:"Author",t:la},5:{n:"Keywords",t:la},6:{n:"Comments",t:la},7:{n:"Template",t:la},8:{n:"LastAuthor",t:la},9:{n:"RevNumber",t:la}
vendor: 7,320 bytes, line 4319
4319,10:{n:"EditTime",t:Ew},11:{n:"LastPrinted",t:Ew},12:{n:"CreatedDate",t:Ew},13:{n:"ModifiedDate",t:Ew},14:{n:"PageCount",t:Hs},15:{n:"WordCount",t:Hs},16:{n:"CharCount",t:Hs},17:{n:"Thumbnail",t:Y2e},18:{n:"Application",t:la},19:{n:"DocSecurity",t:Hs},255:{},2147483648:{n:"Locale",t:nC},2147483651:{n:"Behavior",t:nC},1919054434:{}};function ebe(t){return t.map(function(e){return[e>>16&255,e>>8&255,e&255]})}var tbe=ebe([0,16777215,16711680,65280,255,16776960,16711935,65535,0,16777215,16711680,65280,255,16776960,16711935,65535,8388608,32768,128,8421376,8388736,32896,12632256,8421504,10066431,10040166,16777164,13434879,6684774,16744576,26316,13421823,128,16711935,16776960,65535,8388736,8388608,32896,255,52479,13434879,13434828,16777113,10079487,16751052,13408767,16764057,3368703,3394764,10079232,16763904,16750848,16737792,6710937,9868950,13158,3381606,13056,3355392,10040064,10040166,3355545,3355443,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),rbe=Is(tbe),ax={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},nbe={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.sheet.macroEnabled.main+xml":"workbooks","application/vnd.ms-excel.sheet.binary.macroEnabled.main":"workbooks","application/vnd.ms-excel.addin.macroEnabled.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":"sheets","application/vnd.ms-excel.worksheet":"sheets","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":"charts","application/vnd.ms-excel.chartsheet":"charts","application/vnd.ms-excel.macrosheet+xml":"macros","application/vnd.ms-excel.macrosheet":"macros","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":"dialogs","application/vnd.ms-excel.dialogsheet":"dialogs","application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":"strs","application/vnd.ms-excel.sharedStrings":"strs","application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":"styles","application/vnd.ms-excel.styles":"styles","application/vnd.openxmlformats-package.core-properties+xml":"coreprops","application/vnd.openxmlformats-officedocument.custom-properties+xml":"custprops","application/vnd.openxmlformats-officedocument.extended-properties+xml":"extprops","application/vnd.openxmlformats-officedocument.customXmlProperties+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":"comments","application/vnd.ms-excel.comments":"comments","application/vnd.ms-excel.threadedcomments+xml":"threadedcomments","application/vnd.ms-excel.person+xml":"people","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"metadata","application/vnd.ms-excel.sheetMetadata":"metadata","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+xml":"TODO","application/vnd.ms-office.chartex+xml":"TODO","application/vnd.ms-excel.calcChain":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":"TODO","application/vnd.ms-office.activeX":"TODO","application/vnd.ms-office.activeX+xml":"TODO","application/vnd.ms-excel.attachedToolbars":"TODO","application/vnd.ms-excel.connections":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":"TODO","application/vnd.ms-excel.externalLink":"links","application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":"links","application/vnd.ms-excel.pivotCacheDefinition":"TODO","application/vnd.ms-excel.pivotCacheRecords":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml":"TODO","application/vnd.ms-excel.queryTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":"TODO","application/vnd.ms-excel.userNames":"TODO","application/vnd.ms-excel.revisionHeaders":"TODO","application/vnd.ms-excel.revisionLog":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml":"TODO","application/vnd.ms-excel.tableSingleCells":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":"TODO","application/vnd.ms-excel.slicer":"TODO","application/vnd.ms-excel.slicerCache":"TODO","application/vnd.ms-excel.slicer+xml":"TODO","application/vnd.ms-excel.slicerCache+xml":"TODO","application/vnd.ms-excel.wsSortMap":"TODO","application/vnd.ms-excel.table":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":"TODO","application/vnd.openxmlformats-officedocument.theme+xml":"themes","application/vnd.openxmlformats-officedocument.themeOverride+xml":"TODO","application/vnd.ms-excel.Timeline+xml":"TODO","application/vnd.ms-excel.TimelineCache+xml":"TODO","application/vnd.ms-office.vbaProject":"vba","application/vnd.ms-office.vbaProjectSignature":"TODO","application/vnd.ms-office.volatileDependencies":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":"TODO","application/vnd.ms-excel.controlproperties+xml":"TODO","application/vnd.openxmlformats-officedocument.model+data":"TODO","application/vnd.ms-excel.Survey+xml":"TODO","application/vnd.openxmlformats-officedocument.drawing+xml":"drawings","application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml":"TODO","application/vnd.openxmlformats-officedocument.vmlDrawing":"TODO","application/vnd.openxmlformats-package.relationships+xml":"rels","application/vnd.openxmlformats-officedocument.oleObject":"TODO","image/png":"TODO",sheet:"js"},Nw={workbooks:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",xlsm:"application/vnd.ms-excel.sheet.macroEnabled.main+xml",xlsb:"application/vnd.ms-excel.sheet.binary.macroEnabled.main",xlam:"application/vnd.ms-excel.addin.macroEnabled.main+xml",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml"},strs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml",xlsb:"application/vnd.ms-excel.sharedStrings"}
4319,comments:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml",xlsb:"application/vnd.ms-excel.comments"},sheets:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml",xlsb:"application/vnd.ms-excel.worksheet"},charts:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml",xlsb:"application/vnd.ms-excel.chartsheet"},dialogs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml",xlsb:"application/vnd.ms-excel.dialogsheet"},macros:{xlsx:"application/vnd.ms-excel.macrosheet+xml",xlsb:"application/vnd.ms-excel.macrosheet"},metadata:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml",xlsb:"application/vnd.ms-excel.sheetMetadata"},styles:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",xlsb:"application/vnd.ms-excel.styles"}};function rK(){return{workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""}}function nK(t,e){var r=h2e(nbe),n=[],i;n[n.length]=Ni,n[n.length]=ft("Types",null,{xmlns:$i.CT,"xmlns:xsd":$i.xsd,"xmlns:xsi":$i.xsi}),n=n.concat([["xml","application/xml"],["bin","application/vnd.ms-excel.sheet.binary.macroEnabled.main"],["vml","application/vnd.openxmlformats-officedocument.vmlDrawing"],["data","application/vnd.openxmlformats-officedocument.model+data"],["bmp","image/bmp"],["png","image/png"],["gif","image/gif"],["emf","image/x-emf"],["wmf","image/x-wmf"],["jpg","image/jpeg"],["jpeg","image/jpeg"],["t
4319if","image/tiff"],["tiff","image/tiff"],["pdf","application/pdf"],["rels","application/vnd.openxmlformats-package.relationships+xml"]].map(function(c){return ft("Default",null,{Extension:c[0],ContentType:c[1]})}));var a=function(c){t[c]&&t[c].length>0&&(i=t[c][0],n[n.length]=ft("Override",null,{PartName:(i[0]=="/"?"":"/")+i,ContentType:Nw[c][e.bookType]||Nw[c].xlsx}))},s=function(c){(t[c]||[]).forEach(function(A){n[n.length]=ft("Override",null,{PartName:(A[0]=="/"?"":"/")+A,ContentType:Nw[c][e.bookType]||Nw[c].xlsx})})},o=function(c){(t[c]||[]).forEach(function(A){n[n.length]=ft("Override",null,{PartName:(A[0]=="/"?"":"/")+A,ContentType:r[c][0]})})};return a("workbooks"),s("sheets"),s("charts"),o("themes"),["strs","styles"].forEach(a),["coreprops","extprops","custprops"].forEach(o),o("vba"),o("comments"),o("threadedcomments"),o("drawings"),s("metadata"),o("people"),n.length>2&&(n[n.length]="</Types>",n[1]=n[1].replace("/>",">")),n.join("")}var Ur
vendor: 2,399 bytes, line 4319
4319={WB:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",SHEET:"http://sheetjs.openxmlformats.org/officeDocument/2006/relationships/officeDocument",HLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",VML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",XPATH:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath",XMISS:"http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing",XLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink",CXML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",CXMLP:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps",CMNT:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties",SST:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",STY:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",THEME:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",CHART:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",CHARTEX:"http://schemas.microsoft.com/office/2014/relationships/chartEx",CS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet",WS:["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"],DS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet",MS:"http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet",IMG:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",DRAW:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",XLMETA:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata",TCMNT:"http://schemas.microsoft.com/office/2017/10/relationships/threadedComment",PEOPLE:"http://schemas.microsoft.com/office/2017/10/relationships/person",
vendor: 9,072 bytes, lines 4319-4329
4319VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function iK(t){var e=t.lastIndexOf("/");return t.slice(0,e+1)+"_rels/"+t.slice(e+1)+".rels"}function X0(t){var e=[Ni,ft("Relationships",null,{xmlns:$i.RELS})];return ba(t["!id"]).forEach(function(r){e[e.length]=ft("Relationship",null,t["!id"][r])}),e.length>2&&(e[e.length]="</Relationships>",e[1]=e[1].replace("/>",">")),e.join("")}function tn(t,e,r,n,i,a){if(i||(i={}),t["!id"]||(t["!id"]={}),t["!idx"]||(t["!idx"]=1),e<0)for(e=t["!idx"];t["!id"]["rId"+e];++e);if(t["!idx"]=e+1,i.Id="rId"+e,i.Type=n,i.Target=r,[Ur.HLINK,Ur.XPATH,Ur.XMISS].indexOf(i.Type)>-1&&(i.TargetMode="External"),t["!id"][i.Id])throw new Error("Cannot rewrite rId "+e);return t["!id"][i.Id]=i,t[("/"+i.Target).replace("//","/")]=i,e}function ibe(t){var e=[Ni];e.push(`<manifest:manifest xmlns:manifest="urn:oasis:names:tc:opendocument:xmlns:manifest:1.0" manifest:version="1.2"> 4320`),e.push(` <manifest:file-entry manifest:full-path="/" manifest:version="1.2" manifest:media-type="application/vnd.oasis.opendocument.spreadsheet"/> 4321`);for(var r=0;r<t.length;++r)e.push(' <manifest:file-entry manifest:full-path="'+t[r][0]+'" manifest:media-type="'+t[r][1]+`"/> 4322`);return e.push("</manifest:manifest>"),e.join("")}function DR(t,e,r){return[' <rdf:Description rdf:about="'+t+`"> 4323`,' <rdf:type rdf:resource="http://docs.oasis-open.org/ns/office/1.2/meta/'+(r||"odf")+"#"+e+`"/> 4324`,` </rdf:Description> 4325`].join("")}function abe(t,e){return[' <rdf:Description rdf:about="'+t+`"> 4326`,' <ns0:hasPart xmlns:ns0="http://docs.oasis-open.org/ns/office/1.2/meta/pkg#" rdf:resource="'+e+`"/> 4327`,` </rdf:Description> 4328`].join("")}function sbe(t){var e=[Ni];e.push(`<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> 4329`);for(var r=0;r!=t.length;++r)e.push(DR(t[r][0],t[r][1])),e.push(abe("",t[r][0]));return e.push(DR("","Document","pkg")),e.push("</rdf:RDF>"),e.join("")}function aK(){return'<office:document-meta xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xlink="http://www.w3.org/1999/xlink" office:version="1.2"><office:meta><meta:generator>SheetJS '+Jb.version+"</meta:generator></office:meta></office:document-meta>"}var dh=[["cp:category","Category"],["cp:contentStatus","ContentStatus"],["cp:keywords","Keywords"],["cp:lastModifiedBy","LastAuthor"],["cp:lastPrinted","LastPrinted"],["cp:revision","RevNumber"],["cp:version","Version"],["dc:creator","Author"],["dc:description","Comments"],["dc:identifier","Identifier"],["dc:language","Language"],["dc:subject","Subject"],["dc:title","Title"],["dcterms:created","CreatedDate","date"],["dcterms:modified","ModifiedDate","date"]];function R4(t,e,r,n,i){i[t]!=null||e==null||e===""||(i[t]=e,e=nn(e),n[n.length]=r?ft(t,e,r):ua(t,e))}function sK(t,e){var r=e||{},n=[Ni,ft("cp:coreProperties",null,{"xmlns:cp":$i.CORE_PROPS,"xmlns:dc":$i.dc,"xmlns:dcterms":$i.dcterms,"xmlns:dcmitype":$i.dcmitype,"xmlns:xsi":$i.xsi})],i={};if(!t&&!r.Props)return n.join("");t&&(t.CreatedDate!=null&&R4("dcterms:created",typeof t.CreatedDate=="string"?t.CreatedDate:M_(t.CreatedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},n,i),t.ModifiedDate!=null&&R4("dcterms:modified",typeof t.ModifiedDate=="string"?t.ModifiedDate:M_(t.ModifiedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},n,i));for(var a=0;a!=dh.length;++a){var s=dh[a],o=r.Props&&r.Props[s[1]]!=null?r.Props[s[1]]:t?t[s[1]]:null;o===!0?o="1":o===!1?o="0":typeof o=="number"&&(o=String(o)),o!=null&&R4(s[0],o,null,n,i)}return n.length>2&&(n[n.length]="</cp:coreProperties>",n[1]=n[1].replace("/>",">")),n.join("")}var Y0=[["Application","Application","string"],["AppVersion","AppVersion","string"],["Company","Company","string"],["DocSecurity","DocSecurity","string"],["Manager","Manager","string"],["HyperlinksChanged","HyperlinksChanged","bool"],["SharedDoc","SharedDoc","bool"],["LinksUpToDate","LinksUpToDate","bool"],["ScaleCrop","ScaleCrop","bool"],["HeadingPairs","HeadingPairs","raw"],["TitlesOfParts","TitlesOfParts","raw"]],oK=["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"];function lK(t){var e=[],r=ft;return t||(t={}),t.Application="SheetJS",e[e.length]=Ni,e[e.length]=ft("Properties",null,{xmlns:$i.EXT_PROPS,"xmlns:vt":$i.vt}),Y0.forEach(function(n){if(t[n[1]]!==void 0){var i;switch(n[2]){case"string":i=nn(String(t[n[1]]));break;case"bool":i=t[n[1]]?"true":"false";break}i!==void 0&&(e[e.length]=r(n[0],i))}}),e[e.length]=r("HeadingPairs",r("vt:vector",r("vt:variant","<vt:lpstr>Worksheets</vt:lpstr>")+r("vt:variant",r("vt:i4",String(t.Worksheets))),{size:2,baseType:"variant"})),e[e.length]=r("TitlesOfParts",r("vt:vector",t.SheetNames.map(function(n){return"<vt:lpstr>"+nn(n)+"</vt:lpstr>"}).join(""),{size:t.Worksheets,baseType:"lpstr"})),e.length>2&&(e[e.length]="</Properties>",e[1]=e[1].replace("/>",">")),e.join("")}function cK(t){var e=[Ni,ft("Properties",null,{xmlns:$i.CUST_PROPS,"xmlns:vt":$i.vt})];if(!t)return e.join("");var r=1;return ba(t).forEach(function(i){++r,e[e.length]=ft("property",B2e(t[i]),{fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:r,name:nn(i)})}),e.length>2&&(e[e.length]="</Properties>",e[1]=e[1].replace("/>",">")),e.join("")}var OR={Title:"Title",Subject:"Subject",Author:"Author",Keywords:"Keywords",Comments:"Description",LastAuthor:"LastAuthor",RevNumber:"Revision",Application:"AppName",LastPrinted:"LastPrinted",CreatedDate:"Created",ModifiedDate:"LastSaved",Category:"Category",Manager:"Manager",Company:"Company",AppVersion:"Version",ContentStatus:"ContentStatus",Identifier:"Identifier",Language:"Language"};function obe(t,e){var r=[];return ba(OR).map(function(n){for(var i=0;i<dh.length;++i)if(dh[i][1]==n)return dh[i];for(i=0;i<Y0.length;++i)if(Y0[i][1]==n)return Y0[i];throw n}).forEach(function(n){if(t[n[1]]!=null){var i=e&&e.Props&&e.Props[n[1]]!=null?e.Props[n[1]]:t[n[1]];switch(n[2]){case"date":i=new Date(i).toISOString().replace(/\.\d*Z/,"Z");break}typeof i=="number"?i=String(i):i===!0||i===!1?i=i?"1":"0":i instanceof Date&&(i=new Date(i).toISOString().replace(/\.\d*Z/,"")),r.push(ua(OR[n[1]]||n[1],i))}}),ft("DocumentProperties",r.join(""),{xmlns:Ws.o})}function lbe(t,e){var r=["Worksheets","SheetNames"],n="CustomDocumentProperties",i=[];return t&&ba(t).forEach(function(a){if(Object.prototype.hasOwnProperty.call(t,a)){for(var s=0;s<dh.length;++s)if(a==dh[s][1])return;for(s=0;s<Y0.length;++s)if(a==Y0[s][1])return;for(s=0;s<r.length;++s)if(a==r[s])return;var o=t[a],c="string";typeof o=="number"?(c="float",o=String(o)):o===!0||o===!1?(c="boolean",o=o?"1":"0"):o=String(o),i.push(ft(CR(a),o,{"dt:dt":c}))}}),e&&ba(e).forEach(function(a){if(Object.prototype.hasOwnProperty.call(e,a)&&!(t&&Object.prototype.hasOwnProperty.call(t,a))){var s=e[a],o="string";typeof s=="number"?(o="float",s=String(s)):s===!0||s===!1?(o="boolean",s=s?"1":"0"):s instanceof Date?(o="dateTime.tz",s=s.toISOString()):s=String(s),i.push(ft(CR(a),s,{"dt:dt":o}))}}),"<"+n+' xmlns="'+Ws.o+'">'+i.join("")+"</"+n+">"}function cbe(t){var e=typeof t=="string"?new Date(Date.parse(t)):t,r=e.getTime()/1e3+11644473600,n=r%Math.pow(2,32),i=(r-n)/Math.pow(2,32);n*=1e7,i*=1e7;var a=n/Math.pow(2,32)|0;a>0&&(n=n%Math.pow(2,32),i+=a);var s=ze(8);return s.write_shift(4,n),s.write_shift(4,i),s}function RR(t,e){var r=ze(4),n=ze(4);switch(r.write_shift(4,t==80?31:t),t){case 3:n.write_shift(-4,e);break;case 5:n=ze(8),n.write_shift(8,e,"f");break;case 11:n.write_shift(4,e?1:0);break;case 64:n=cbe(e);break;case 31:case 80:for(n=ze(4+2*(e.length+1)+(e.length%2?0:2)),n.write_shift(4,e.length+1),n.write_shift(0,e,"dbcs");n.l!=n.length;)n.write_shift(1,0);break;default:throw new Error("TypedPropertyValue unrecognized type "+t+" "+e)}return Aa([r,n])}var AK=["CodePage","Thumbnail","_PID_LINKBASE","_PID_HLINKS","SystemIdentifier","FMTID"];function Abe(t){switch(typeof t){case"boolean":return 11;case"number":return(t|0)==t?3:5;case"string":return 31;case"object":if(t instanceof Date)return 64;break}return-1}function UR(t,e,r){var n=ze(8),i=[],a=[],s=8,o=0,c=ze(8),A=ze(8);if(c.write_shift(4,2),c.write_shift(4,1200),A.write_shift(4,1),a.push(c),i.push(A),s+=8+c.length,!e){A=ze(8),A.write_shift(4,0),i.unshift(A);var u=[ze(4)];for(u[0].write_shift(4,t.length),o=0;o<t.length;++o){var d=t[o][0];for(c=ze(8+2*(d.length+1)+(d.length%2?0:2)),c.write_shift(4,o+2),c.write_shift(4,d.length+1),c.write_shift(0,d,"dbcs");c.l!=c.length;)c.write_shift(1,0);u.push(c)}c=Aa(u),a.unshift(c),s+=8+c.length}for(o=0;o<t.length;++o)if(!(e&&!e[t[o][0]])&&!(AK.indexOf(t[o][0])>-1||oK.indexOf(t[o][0])>-1)&&t[o][1]!=null){var f=t[o][1],h=0;if(e){h=+e[t[o][0]];var m=r[h];if(m.p=="version"&&typeof f=="string"){var p=f.split(".");f=(+p[0]<<16)+(+p[1]||0)}c=RR(m.t,f)}else{var x=Abe(f);x==-1&&(x=31,f=String(f)),c=RR(x,f)}a.push(c),A=ze(8),A.write_shift(4,e?h:2+o),i.push(A),s+=8+c.length}var v=8*(a.length+1);for(o=0;o<a.length;++o)i[o].write_shift(4,v),v+=a[o].length;return n.write_shift(4,s),n.write_shift(4,a.length),Aa([n].concat(i).c
vendor: 6,904 bytes, line 4329
4329oncat(a))}function LR(t,e,r,n,i,a){var s=ze(i?68:48),o=[s];s.write_shift(2,65534),s.write_shift(2,0),s.write_shift(4,842412599),s.write_shift(16,un.utils.consts.HEADER_CLSID,"hex"),s.write_shift(4,i?2:1),s.write_shift(16,e,"hex"),s.write_shift(4,i?68:48);var c=UR(t,r,n);if(o.push(c),i){var A=UR(i,null,null);s.write_shift(16,a,"hex"),s.write_shift(4,68+c.length),o.push(A)}return Aa(o)}function ube(t,e){e||(e=ze(t));for(var r=0;r<t;++r)e.write_shift(1,0);return e}function dbe(t,e){return t.read_shift(e)===1}function Za(t,e){return e||(e=ze(2)),e.write_shift(2,+!!t),e}function uK(t){return t.read_shift(2,"u")}function Eo(t,e){return e||(e=ze(2)),e.write_shift(2,t),e}function dK(t,e,r){return r||(r=ze(2)),r.write_shift(1,e=="e"?+t:+!!t),r.write_shift(1,e=="e"?1:0),r}function hK(t,e,r){var n=t.read_shift(r&&r.biff>=12?2:1),i="sbcs-cont";if(r&&r.biff>=8,!r||r.biff==8){var a=t.read_shift(1);a&&(i="dbcs-cont")}else r.biff==12&&(i="wstr");r.biff>=2&&r.biff<=5&&(i="cpstr");var s=n?t.read_shift(n,i):"";return s}function hbe(t){var e=t.t||"",r=ze(3);r.write_shift(2,e.length),r.write_shift(1,1);var n=ze(2*e.length);n.write_shift(2*e.length,e,"utf16le");var i=[r,n];return Aa(i)}function fbe(t,e,r){var n;if(r){if(r.biff>=2&&r.biff<=5)return t.read_shift(e,"cpstr");if(r.biff>=12)return t.read_shift(e,"dbcs-cont")}var i=t.read_shift(1);return i===0?n=t.read_shift(e,"sbcs-cont"):n=t.read_shift(e,"dbcs-cont"),n}function pbe(t,e,r){var n=t.read_shift(r&&r.biff==2?1:2);return n===0?(t.l++,""):fbe(t,n,r)}function mbe(t,e,r){if(r.biff>5)return pbe(t,e,r);var n=t.read_shift(1);return n===0?(t.l++,""):t.read_shift(n,r.biff<=4||!t.lens?"cpstr":"sbcs-cont")}function fK(t,e,r){return r||(r=ze(3+2*t.length)),r.write_shift(2,t.length),r.write_shift(1,1),r.write_shift(31,t,"utf16le"),r}function MR(t,e){e||(e=ze(6+t.length*2)),e.write_shift(4,1+t.length);for(var r=0;r<t.length;++r)e.write_shift(2,t.charCodeAt(r));return e.write_shift(2,0),e}function gbe(t){var e=ze(512),r=0,n=t.Target;n.slice(0,7)=="file://"&&(n=n.slice(7));var i=n.indexOf("#"),a=i>-1?31:23;switch(n.charAt(0)){case"#":a=28;break;case".":a&=-3;break}e.write_shift(4,2),e.write_shift(4,a);var s=[8,6815827,6619237,4849780,83];for(r=0;r<s.length;++r)e.write_shift(4,s[r]);if(a==28)n=n.slice(1),MR(n,e);else if(a&2){for(s="e0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),r=0;r<s.length;++r)e.write_shift(1,parseInt(s[r],16));var o=i>-1?n.slice(0,i):n;for(e.write_shift(4,2*(o.length+1)),r=0;r<o.length;++r)e.write_shift(2,o.charCodeAt(r));e.write_shift(2,0),a&8&&MR(i>-1?n.slice(i+1):"",e)}else{for(s="03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" "),r=0;r<s.length;++r)e.write_shift(1,parseInt(s[r],16));for(var c=0;n.slice(c*3,c*3+3)=="../"||n.slice(c*3,c*3+3)=="..\\";)++c;for(e.write_shift(2,c),e.write_shift(4,n.length-3*c+1),r=0;r<n.length-3*c;++r)e.write_shift(1,n.charCodeAt(r+3*c)&255);for(e.write_shift(1,0),e.write_shift(2,65535),e.write_shift(2,57005),r=0;r<6;++r)e.write_shift(4,0)}return e.slice(0,e.l)}function Ph(t,e,r,n){return n||(n=ze(6)),n.write_shift(2,t),n.write_shift(2,e),n.write_shift(2,r||0),n}function vbe(t,e,r){var n=r.biff>8?4:2,i=t.read_shift(n),a=t.read_shift(n,"i"),s=t.read_shift(n,"i");return[i,a,s]}function xbe(t){var e=t.read_shift(2),r=t.read_shift(2),n=t.read_shift(2),i=t.read_shift(2);return{s:{c:n,r:e},e:{c:i,r}}}function pK(t,e){return e||(e=ze(8)),e.write_shift(2,t.s.r),e.write_shift(2,t.e.r),e.write_shift(2,t.s.c),e.write_shift(2,t.e.c),e}function ej(t,e,r){var n=1536,i=16;switch(r.bookType){case"biff8":break;case"biff5":n=1280,i=8;break;case"biff4":n=4,i=6;break;case"biff3":n=3,i=6;break;case"biff2":n=2,i=4;break;case"xla":break;default:throw new Error("unsupported BIFF version")}var a=ze(i);return a.write_shift(2,n),a.write_shift(2,e),i>4&&a.write_shift(2,29282),i>6&&a.write_shift(2,1997),i>8&&(a.write_shift(2,49161),a.write_shift(2,1),a.write_shift(2,1798),a.write_shift(2,0)),a}function ybe(t,e){var r=!e||e.biff==8,n=ze(r?112:54);for(n.write_shift(e.biff==8?2:1,7),r&&n.write_shift(1,0),n.write_shift(4,859007059),n.write_shift(4,5458548|(r?0:536870912));n.l<n.length;)n.write_shift(1,r?0:32);return n}function wbe(t,e){var r=!e||e.biff>=8?2:1,n=ze(8+r*t.name.length);n.write_shift(4,t.pos),n.write_shift(1,t.hs||0),n.write_shift(1,t.dt),n.write_shift(1,t.name.length),e.biff>=8&&n.write_shift(1,1),n.write_shift(r*t.name.length,t.name,e.biff<8?"sbcs":"utf16le");var i=n.slice(0,n.l);return i.l=n.l,i}function bbe(t,e){var r=ze(8);r.write_shift(4,t.Count),r.write_shift(4,t.Unique);for(var n=[],i=0;i<t.length;++i)n[i]=hbe(t[i]);var a=Aa([r].concat(n));return a.parts=[r.length].concat(n.map(function(s){return s.length})),a}function Cbe(){var t=ze(18);return t.write_shift(2,0),t.write_shift(2,0),t.write_shift(2,29280),t.write_shift(2,17600),t.write_shift(2,56),t.write_shift(2,0),t.write_shift(2,0),t.write_shift(2,1),t.write_shift(2,500),t}function Bbe(t){var e=ze(18),r=1718;return t&&t.RTL&&(r|=64),e.write_shift(2,r),e.write_shift(4,0),e.write_shift(4,64),e.write_shift(4,0),e.write_shift(4,0),e}function Ebe(t,e){var r=t.name||"Arial",n=e&&e.biff==5,i=n?15+r.length:16+2*r.length,a=ze(i);return a.write_shift(2,(t.sz||12)*20),a.write_shift(4,0),a.write_shift(2,400),a.write_shift(4,0),a.write_shift(2,0),a.write_shift(1,r.length),n||a.write_shift(1,1),a.write_shift((n?1:2)*r.length,r,n?"sbcs":"utf16le"),a}function Nbe(t,e,r,n){var i=ze(10);return Ph(t,e,n,i),i.write_shift(4,r),i}function Sbe(t,e,r,n,i){var a=!i||i.biff==8,s=ze(8+ +a+(1+a)*r.length);return Ph(t,e,n,s),s.write_shift(2,r.length),a&&s.write_shift(1,1),s.write_shift((1+a)*r.length,r,a?"utf16le":"sbcs"),s}function _be(t,e,r,n){var i=r&&r.biff==5;n||(n=ze(i?3+e.length:5+2*e.length)),n.write_shift(2,t),n.write_shift(i?1:2,e.length),i||n.write_shift(1,1),n.write_shift((i?1:2)*e.length,e,i?"sbcs":"utf16le");var a=n.length>n.l?n.slice(0,n.l):n;return a.l==null&&(a.l=a.length),a}function Fbe(t,e){var r=e.biff==8||!e.biff?4:2,n=ze(2*r+6);return n.write_shift(r,t.s.r),n.write_shift(r,t.e.r+1),n.write_shift(2,t.s.c),n.write_shift(2,t.e.c+1),n.write_shift(2,0),n}function QR(t,e,r,n){var i=r&&r.biff==5;n||(n=ze(i?16:20)),n.write_shift(2,0),t.style?(n.write_shift(2,t.numFmtId||0),n.write_shift(2,65524)):(n.write_shift(2,t.numFmtId||0),n.write_shift(2,e<<4));var a=0;return t.numFmtId>0&&i&&(a|=1024),n.write_shift(4,a),n.write_shift(4,0),i||n.write_shift(4,0),n.write_shift(2,0),n}function Tbe(t){var e=ze(8);return e.write_shift(4,0),e.write_shift(2,0),e.write_shift(2,0),e}function jbe(t,e,r,n,i,a){var s=ze(8);return Ph(t,e,n,s),dK(r,a,s),s}function Ibe(t,e,r,n){var i=ze(14);return Ph(t,e,n,i),kh(r,i),i}function kbe(t,e,r){if(r.biff<8)return Pbe(t,e,r);for(var n=[],i=t.l+e,a=t.read_shift(r.biff>8?4:2);a--!==0;)n.push(vbe(t,r.biff>8?12:6,r));if(t.l!=i)throw new Error("Bad ExternSheet: "+t.l+" != "+i);return n}function Pbe(t,e,r){t[t.l+1]==3&&t[t.l]++;var n=hK(t,e,r);
vendor: 5,820 bytes, line 4329
4329return n.charCodeAt(0)==3?n.slice(1):n}function Dbe(t){var e=ze(2+t.length*8);e.write_shift(2,t.length);for(var r=0;r<t.length;++r)pK(t[r],e);return e}function Obe(t){var e=ze(24),r=ea(t[0]);e.write_shift(2,r.r),e.write_shift(2,r.r),e.write_shift(2,r.c),e.write_shift(2,r.c);for(var n="d0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),i=0;i<16;++i)e.write_shift(1,parseInt(n[i],16));return Aa([e,gbe(t[1])])}function Rbe(t){var e=t[1].Tooltip,r=ze(10+2*(e.length+1));r.write_shift(2,2048);var n=ea(t[0]);r.write_shift(2,n.r),r.write_shift(2,n.r),r.write_shift(2,n.c),r.write_shift(2,n.c);for(var i=0;i<e.length;++i)r.write_shift(2,e.charCodeAt(i));return r.write_shift(2,0),r}function Ube(t){return t||(t=ze(4)),t.write_shift(2,1),t.write_shift(2,1),t}function Lbe(t,e,r){if(!r.cellStyles)return fc(t,e);var n=r&&r.biff>=12?4:2,i=t.read_shift(n),a=t.read_shift(n),s=t.read_shift(n),o=t.read_shift(n),c=t.read_shift(2);n==2&&(t.l+=2);var A={s:i,e:a,w:s,ixfe:o,flags:c};return(r.biff>=5||!r.biff)&&(A.level=c>>8&7),A}function Mbe(t,e){var r=ze(12);r.write_shift(2,e),r.write_shift(2,e),r.write_shift(2,t.width*256),r.write_shift(2,0);var n=0;return t.hidden&&(n|=1),r.write_shift(1,n),n=t.level||0,r.write_shift(1,n),r.write_shift(2,0),r}function Qbe(t){for(var e=ze(2*t),r=0;r<t;++r)e.write_shift(2,r+1);return e}function Hbe(t,e,r){var n=ze(15);return ox(n,t,e),n.write_shift(8,r,"f"),n}function zbe(t,e,r){var n=ze(9);return ox(n,t,e),n.write_shift(2,r),n}var Vbe=function(){var t={1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127,8:865,9:437,10:850,11:437,13:437,14:850,15:437,16:850,17:437,18:850,19:932,20:850,21:437,22:850,23:865,24:437,25:437,26:850,27:437,28:863,29:850,31:852,34:852,35:852,36:860,37:850,38:866,55:850,64:852,77:936,78:949,79:950,80:874,87:1252,88:1252,89:1252,108:863,134:737,135:852,136:857,204:1257,255:16969},e=zT({1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127});function r(o,c){var A=[],u=Ih(1);switch(c.type){case"base64":u=gl(dA(o));break;case"binary":u=gl(o);break;case"buffer":case"array":u=o;break}Vs(u,0);var d=u.read_shift(1),f=!!(d&136),h=!1,m=!1;switch(d){case 2:break;case 3:break;case 48:h=!0,f=!0;break;case 49:h=!0,f=!0;break;case 131:break;case 139:break;case 140:m=!0;break;case 245:break;default:throw new Error("DBF Unsupported Version: "+d.toString(16))}var p=0,x=521;d==2&&(p=u.read_shift(2)),u.l+=3,d!=2&&(p=u.read_shift(4)),p>1048576&&(p=1e6),d!=2&&(x=u.read_shift(2));var v=u.read_shift(2),y=c.codepage||1252;d!=2&&(u.l+=16,u.read_shift(1),u[u.l]!==0&&(y=t[u[u.l]]),u.l+=1,u.l+=2),m&&(u.l+=36);for(var b=[],E={},S=Math.min(u.length,d==2?521:x-10-(h?264:0)),I=m?32:11;u.l<S&&u[u.l]!=13;)switch(E={},E.name=Wd.utils.decode(y,u.slice(u.l,u.l+I)).replace(/[\u0000\r\n].*$/g,""),u.l+=I,E.type=String.fromCharCode(u.read_shift(1)),d!=2&&!m&&(E.offset=u.read_shift(4)),E.len=u.read_shift(1),d==2&&(E.offset=u.read_shift(2)),E.dec=u.read_shift(1),E.name.length&&b.push(E),d!=2&&(u.l+=m?13:14),E.type){case"B":(!h||E.len!=8)&&c.WTF&&console.log("Skipping "+E.name+":"+E.type);break;case"G":case"P":c.WTF&&console.log("Skipping "+E.name+":"+E.type);break;case"+":case"0":case"@":case"C":case"D":case"F":case"I":case"L":case"M":case"N":case"O":case"T":case"Y":break;default:throw new Error("Unknown Field Type: "+E.type)}if(u[u.l]!==13&&(u.l=x-1),u.read_shift(1)!==13)throw new Error("DBF Terminator not found "+u.l+" "+u[u.l]);u.l=x;var B=0,_=0;for(A[0]=[],_=0;_!=b.length;++_)A[0][_]=b[_].name;for(;p-- >0;){if(u[u.l]===42){u.l+=v;continue}for(++u.l,A[++B]=[],_=0,_=0;_!=b.length;++_){var O=u.slice(u.l,u.l+b[_].len);u.l+=b[_].len,Vs(O,0);var j=Wd.utils.decode(y,O);switch(b[_].type){case"C":j.trim().length&&(A[B][_]=j.replace(/\s+$/,""));break;case"D":j.length===8?A[B][_]=new Date(+j.slice(0,4),+j.slice(4,6)-1,+j.slice(6,8)):A[B][_]=j;break;case"F":A[B][_]=parseFloat(j.trim());break;case"+":case"I":A[B][_]=m?O.read_shift(-4,"i")^2147483648:O.read_shift(4,"i");break;case"L":switch(j.trim().toUpperCase()){case"Y":case"T":A[B][_]=!0;break;case"N":case"F":A[B][_]=!1;break;case"":case"?":break;default:throw new Error("DBF Unrecognized L:|"+j+"|")}break;case"M":if(!f)throw new Error("DBF Unexpected MEMO for type "+d.toString(16));A[B][_]="##MEMO##"+(m?parseInt(j.trim(),10):O.read_shift(4));break;case"N":j=j.replace(/\u0000/g,"").trim(),j&&j!="."&&(A[B][_]=+j||0);break;case"@":A[B][_]=new Date(O.read_shift(-8,"f")-621356832e5);break;case"T":A[B][_]=new Date((O.read_shift(4)-2440588)*864e5+O.read_shift(4));break;case"Y":A[B][_]=O.read_shift(4,"i")/1e4+O.read_shift(4,"i")/1e4*Math.pow(2,32);break;case"O":A[B][_]=-O.read_shift(-8,"f");break;case"B":if(h&&b[_].len==8){A[B][_]=O.read_shift(8,"f");break}case"G":case"P":O.l+=b[_].len;break;case"0":if(b[_].name==="_NullFlags")break;default:throw new Error("DBF Unsupported data type "+b[_].type)}}}if(d!=2&&u.l<u.length&&u[u.l++]!=26)throw new Error("DBF EOF Marker missing "+(u.l-1)+" of "+u.length+" "+u[u.l-1].toString(16));return c&&c.sheetRows&&(A=A.slice(0,c.sheetRows)),c.DBF=b,A}function n(o,c){var A=c||{};A.dateNF||(A.dateNF="yyyymmdd");var u=Wp(r(o,A),A);return u["!cols"]=A.DBF.map(function(d){return{wch:d.len,DBF:d}}),delete A.DBF,u}function i(o,c){try{return Jh(n(o,c),c)}catch(A){if(c&&c.WTF)throw A}return{SheetNames:[],Sheets:{}}}var a={B:8,C:250,L:1,D:8,"?":0,"":0};function s(o,c){var A=c||{};if(+A.codepage>=0&&h1(+A.codepage),A.type=="string")throw new Error("Cannot write DBF to JS string");var u=Fs(),d=lC(o,{header:1,raw:!0,cellDates:!0}
vendor: 9,579 bytes, lines 4329-4333
4329),f=d[0],h=d.slice(1),m=o["!cols"]||[],p=0,x=0,v=0,y=1;for(p=0;p<f.length;++p){if(((m[p]||{}).DBF||{}).name){f[p]=m[p].DBF.name,++v;continue}if(f[p]!=null){if(++v,typeof f[p]=="number"&&(f[p]=f[p].toString(10)),typeof f[p]!="string")throw new Error("DBF Invalid column name "+f[p]+" |"+typeof f[p]+"|");if(f.indexOf(f[p])!==p){for(x=0;x<1024;++x)if(f.indexOf(f[p]+"_"+x)==-1){f[p]+="_"+x;break}}}}var b=In(o["!ref"]),E=[],S=[],I=[];for(p=0;p<=b.e.c-b.s.c;++p){var B="",_="",O=0,j=[];for(x=0;x<h.length;++x)h[x][p]!=null&&j.push(h[x][p]);if(j.length==0||f[p]==null){E[p]="?";continue}for(x=0;x<j.length;++x){switch(typeof j[x]){case"number":_="B";break;case"string":_="C";break;case"boolean":_="L";break;case"object":_=j[x]instanceof Date?"D":"C";break;default:_="C"}O=Math.max(O,String(j[x]).length),B=B&&B!=_?"C":_}O>250&&(O=250),_=((m[p]||{}).DBF||{}).type,_=="C"&&m[p].DBF.len>O&&(O=m[p].DBF.len),B=="B"&&_=="N"&&(B="N",I[p]=m[p].DBF.dec,O=m[p].DBF.len),S[p]=B=="C"||_=="N"?O:a[B]||0,y+=S[p],E[p]=B}var T=u.next(32);for(T.write_shift(4,318902576),T.write_shift(4,h.length),T.write_shift(2,296+32*v),T.write_shift(2,y),p=0;p<4;++p)T.write_shift(4,0);for(T.write_shift(4,0|(+e[gW]||3)<<8),p=0,x=0;p<f.length;++p)if(f[p]!=null){var P=u.next(32),L=(f[p].slice(-10)+"\0\0\0\0\0\0\0\0\0\0\0").slice(0,11);P.write_shift(1,L,"sbcs"),P.write_shift(1,E[p]=="?"?"C":E[p],"sbcs"),P.write_shift(4,x),P.write_shift(1,S[p]||a[E[p]]||0),P.write_shift(1,I[p]||0),P.write_shift(1,2),P.write_shift(4,0),P.write_shift(1,0),P.write_shift(4,0),P.write_shift(4,0),x+=S[p]||a[E[p]]||0}var K=u.next(264);for(K.write_shift(4,13),p=0;p<65;++p)K.write_shift(4,0);for(p=0;p<h.length;++p){var le=u.next(y);for(le.write_shift(1,0),x=0;x<f.length;++x)if(f[x]!=null)switch(E[x]){case"L":le.write_shift(1,h[p][x]==null?63:h[p][x]?84:70);break;case"B":le.write_shift(8,h[p][x]||0,"f");break;case"N":var ne="0";for(typeof h[p][x]=="number"&&(ne=h[p][x].toFixed(I[x]||0)),v=0;v<S[x]-ne.length;++v)le.write_shift(1,32);le.write_shift(1,ne,"sbcs");break;case"D":h[p][x]?(le.write_shift(4,("0000"+h[p][x].getFullYear()).slice(-4),"sbcs"),le.write_shift(2,("00"+(h[p][x].getMonth()+1)).slice(-2),"sbcs"),le.write_shift(2,("00"+h[p][x].getDate()).slice(-2),"sbcs")):le.write_shift(8,"00000000","sbcs");break;case"C":var fe=String(h[p][x]!=null?h[p][x]:"").slice(0,S[x]);for(le.write_shift(1,fe,"sbcs"),v=0;v<S[x]-fe.length;++v)le.write_shift(1,32);break}}return u.next(1).write_shift(1,26),u.end()}return{to_workbook:i,to_sheet:n,from_sheet:s}}(),Wbe=function(){var t={AA:"Ã",BA:"Ã",CA:"Ã",DA:195,HA:"Ã",JA:197,AE:"Ã",BE:"Ã",CE:"Ã",HE:"Ã",AI:"Ã",BI:"Ã",CI:"Ã",HI:"Ã",AO:"Ã",BO:"Ã",CO:"Ã",DO:213,HO:"Ã",AU:"Ã",BU:"Ã",CU:"Ã",HU:"Ã",Aa:"à ",Ba:"á",Ca:"â",Da:227,Ha:"ä",Ja:229,Ae:"è",Be:"é",Ce:"ê",He:"ë",Ai:"ì",Bi:"Ã",Ci:"î",Hi:"ï",Ao:"ò",Bo:"ó",Co:"ô",Do:245,Ho:"ö",Au:"ù",Bu:"ú",Cu:"û",Hu:"ü",KC:"Ã",Kc:"ç",q:"æ",z:"Å",a:"Ã",j:"Å",DN:209,Dn:241,Hy:255,S:169,c:170,R:174,"B ":180,0:176,1:177,2:178,3:179,5:181,6:182,7:183,Q:185,k:186,b:208,i:216,l:222,s:240,y:248,"!":161,'"':162,"#":163,"(":164,"%":165,"'":167,"H ":168,"+":171,";":187,"<":188,"=":189,">":190,"?":191,"{":223},e=new RegExp("\x1BN("+ba(t).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),r=function(f,h){var m=t[h];return typeof m=="number"?uR(m):m},n=function(f,h,m){var p=h.charCodeAt(0)-32<<4|m.charCodeAt(0)-48;return p==59?f:uR(p)};t["|"]=254;function i(f,h){switch(h.type){case"base64":return a(dA(f),h);case"binary":return a(f,h);case"buffer":return a(zr&&Buffer.isBuffer(f)?f.toString("binary"):rx(f),h);case"array":return a(W5(f),h)}throw new Error("Unrecognized type "+h.type)}function a(f,h){var m=f.split(/[\n\r]+/),p=-1,x=-1,v=0,y=0,b=[],E=[],S=null,I={},B=[],_=[],O=[],j=0,T;for(+h.codepage>=0&&h1(+h.codepage);v!==m.length;++v){j=0;var P=m[v].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,n).replace(e,r),L=P.replace(/;;/g,"\0").split(";").map(function(M){return M.replace(/\u0000/g,";")}),K=L[0],le;if(P.length>0)switch(K){case"ID":break;case"E":break;case"B":break;case"O":break;case"W":break;case"P":L[1].charAt(0)=="P"&&E.push(P.slice(3).replace(/;;/g,";"));break;case"C":var ne=!1,fe=!1,te=!1,he=!1,ce=-1,Ne=-1;for(y=1;y<L.length;++y)switch(L[y].charAt(0)){case"A":break;case"X":x=parseInt(L[y].slice(1))-1,fe=!0;break;case"Y":for(p=parseInt(L[y].slice(1))-1,fe||(x=0),T=b.length;T<=p;++T)b[T]=[];break;case"K":le=L[y].slice(1),le.charAt(0)==='"'?le=le.slice(1,le.length-1):le==="TRUE"?le=!0:le==="FALSE"?le=!1:isNaN(eA(le))?isNaN(p1(le).getDate())||(le=ss(le)):(le=eA(le),S!==null&&FW(S)&&(le=kW(le))),ne=!0;break;case"E":he=!0;var F=zCe(L[y].slice(1),{r:p,c:x});b[p][x]=[b[p][x],F];break;case"S":te=!0,b[p][x]=[b[p][x],"S5S"];break;case"G":break;case"R":ce=parseInt(L[y].slice(1))-1;break;case"C":Ne=parseInt(L[y].slice(1))-1;break;default:if(h&&h.WTF)throw new Error("SYLK bad record "+P)}if(ne&&(b[p][x]&&b[p][x].length==2?b[p][x][0]=le:b[p][x]=le,S=null),te){if(he)throw new Error("SYLK shared formula cannot have own formula");var U=ce>-1&&b[ce][Ne];if(!U||!U[1])throw new Error("SYLK shared formula cannot find base");b[p][x][1]=VCe(U[1],{r:p-ce,c:x-Ne})}break;case"F":var R=0;for(y=1;y<L.length;++y)switch(L[y].charAt(0)){case"X":x=parseInt(L[y].slice(1))-1,++R;break;case"Y":for(p=parseInt(L[y].slice(1))-1,T=b.length;T<=p;++T)b[T]=[];break;case"M":j=parseInt(L[y].slice(1))/20;break;case"F":break;case"G":break;case"P":S=E[parseInt(L[y].slice(1))];break;case"S":break;case"D":break;case"N":break;case"W":for(O=L[y].slice(1).split(" "),T=parseInt(O[0],10);T<=parseInt(O[1],10);++T)j=parseInt(O[2],10),_[T-1]=j===0?{hidden:!0}:{wch:j},tj(_[T-1]);break;case"C":x=parseInt(L[y].slice(1))-1,_[x]||(_[x]={});break;case"R":p=parseInt(L[y].slice(1))-1,B[p]||(B[p]={}),j>0?(B[p].hpt=j,B[p].hpx=yK(j)):j===0&&(B[p].hidden=!0);break;default:if(h&&h.WTF)throw new Error("SYLK bad record "+P)}R<1&&(S=null);break;default:if(h&&h.WTF)throw new Error("SYLK bad record "+P)}}return B.length>0&&(I["!rows"]=B),_.length>0&&(I["!cols"]=_),h&&h.sheetRows&&(b=b.slice(0,h.sheetRows)),[b,I]}function s(f,h){var m=i(f,h),p=m[0],x=m[1],v=Wp(p,h);return ba(x).forEach(function(y){v[y]=x[y]}),v}function o(f,h){return Jh(s(f,h),h)}function c(f,h,m,p){var x="C;Y"+(m+1)+";X"+(p+1)+";K";switch(f.t){case"n":x+=f.v||0,f.f&&!f.F&&(x+=";E"+nj(f.f,{r:m,c:p}));break;case"b":x+=f.v?"TRUE":"FALSE";break;case"e":x+=f.w||f.v;break;case"d":x+='"'+(f.w||f.v)+'"';break;case"s":x+='"'+f.v.replace(/"/g,"").replace(/;/g,";;")+'"';break}return x}function A(f,h){h.forEach(function(m,p){var x="F;W"+(p+1)+" "+(p+1)+" ";m.hidden?x+="0":(typeof m.width=="number"&&!m.wpx&&(m.wpx=iC(m.width)),typeof m.wpx=="number"&&!m.wch&&(m.wch=aC(m.wpx)),typeof m.wch=="number"&&(x+=Math.round(m.wch))),x.charAt(x.length-1)!=" "&&f.push(x)})}function u(f,h){h.forEach(function(m,p){var x="F;";m.hidden?x+="M0;":m.hpt?x+="M"+20*m.hpt+";":m.hpx&&(x+="M"+20*sC(m.hpx)+";"),x.length>2&&f.push(x+"R"+(p+1))})}function d(f,h){var m=["ID;PWXL;N;E"],p=[],x=In(f["!ref"]),v,y=Array.isArray(f),b=`\r 4330`;m.push("P;PGeneral"),m.push("F;P0;DG0G8;M255"),f["!cols"]&&A(m,f["!cols"]),f["!rows"]&&u(m,f["!rows"]),m.push("B;Y"+(x.e.r-x.s.r+1)+";X"+(x.e.c-x.s.c+1)+";D"+[x.s.c,x.s.r,x.e.c,x.e.r].join(" "));for(var E=x.s.r;E<=x.e.r;++E)for(var S=x.s.c;S<=x.e.c;++S){var I=sn({r:E,c:S});v=y?(f[E]||[])[S]:f[I],!(!v||v.v==null&&(!v.f||v.F))&&p.push(c(v,f,E,S))}return m.join(b)+b+p.join(b)+b+"E"+b}return{to_workbook:o,to_sheet:s,from_sheet:d}}(),Kbe=function(){function t(a,s){switch(s.type){case"base64":return e(dA(a),s);case"binary":return e(a,s);case"buffer":return e(zr&&Buffer.isBuffer(a)?a.toString("binary"):rx(a),s);case"array":return e(W5(a),s)}throw new Error("Unrecognized type "+s.type)}function e(a,s){for(var o=a.split(` 4331`),c=-1,A=-1,u=0,d=[];u!==o.length;++u){if(o[u].trim()==="BOT"){d[++c]=[],A=0;continue}if(!(c<0)){var f=o[u].trim().split(","),h=f[0],m=f[1];++u;for(var p=o[u]||"";(p.match(/["]/g)||[]).length&1&&u<o.length-1;)p+=` 4332`+o[++u];switch(p=p.trim(),+h){case-1:if(p==="BOT"){d[++c]=[],A=0;continue}else if(p!=="EOD")throw new Error("Unrecognized DIF special command "+p);break;case 0:p==="TRUE"?d[c][A]=!0:p==="FALSE"?d[c][A]=!1:isNaN(eA(m))?isNaN(p1(m).getDate())?d[c][A]=m:d[c][A]=ss(m):d[c][A]=eA(m),++A;break;case 1:p=p.slice(1,p.length-1),p=p.replace(/""/g,'"'),p&&p.match(/^=".*"$/)&&(p=p.slice(2,-1)),d[c][A++]=p!==""?p:null;break}if(p==="EOD")break}}return s&&s.sheetRows&&(d=d.slice(0,s.sheetRows)),d}function r(a,s){return Wp(t(a,s),s)}function n(a,s){return Jh(r(a,s),s)}var i=function(){var a=function(c,A,u,d,f){c.push(A),c.push(u+","+d),c.push('"'+f.replace(/"/g,'""')+'"')},s=function(c,A,u,d){c.push(A+","+u),c.push(A==1?'"'+d.replace(/"/g,'""')+'"':d)};return function(c){var A=[],u=In(c["!ref"]),d,f=Array.isArray(c);a(A,"TABLE",0,1,"sheetjs"),a(A,"VECTORS",0,u.e.r-u.s.r+1,""),a(A,"TUPLES",0,u.e.c-u.s.c+1,""),a(A,"DATA",0,0,"");for(var h=u.s.r;h<=u.e.r;++h){s(A,-1,0,"BOT");for(var m=u.s.c;m<=u.e.c;++m){var p=sn({r:h,c:m});if(d=f?(c[h]||[])[m]:c[p],!d){s(A,1,0,"");continue}switch(d.t){case"n":var x=d.w;!x&&d.v!=null&&(x=d.v),x==null?d.f&&!d.F?s(A,1,0,"="+d.f):s(A,1,0,""):s(A,0,x,"V");break;case"b":s(A,0,d.v?1:0,d.v?"TRUE":"FALSE");break;case"s":s(A,1,0,isNaN(d.v)?d.v:'="'+d.v+'"');break;case"d":d.w||(d.w=id(d.z||Zn[14],js(ss(d.v)))),s(A,0,d.w,"V");break;default:s(A,1,0,"")}}}s(A,-1,0,"EOD");var v=`\r 4333`,y=A.join(v);return y}}();return{to_workbook:n,to_sheet:r,from_sheet:i}}(),mK=function(){function t(d){return d.replace(/\\b/g,"\\").replace(/\\c/g,":").replace(/\\n
vendor: 6,064 bytes, lines 4333-4343
4333/g,` 4334`)}function e(d){return d.replace(/\\/g,"\\b").replace(/:/g,"\\c").replace(/\n/g,"\\n")}function r(d,f){for(var h=d.split(` 4335`),m=-1,p=-1,x=0,v=[];x!==h.length;++x){var y=h[x].trim().split(":");if(y[0]==="cell"){var b=ea(y[1]);if(v.length<=b.r)for(m=v.length;m<=b.r;++m)v[m]||(v[m]=[]);switch(m=b.r,p=b.c,y[2]){case"t":v[m][p]=t(y[3]);break;case"v":v[m][p]=+y[3];break;case"vtf":var E=y[y.length-1];case"vtc":switch(y[3]){case"nl":v[m][p]=!!+y[4];break;default:v[m][p]=+y[4];break}y[2]=="vtf"&&(v[m][p]=[v[m][p],E])}}}return f&&f.sheetRows&&(v=v.slice(0,f.sheetRows)),v}function n(d,f){return Wp(r(d,f),f)}function i(d,f){return Jh(n(d,f),f)}var a=["socialcalc:version:1.5","MIME-Version: 1.0","Content-Type: multipart/mixed; boundary=SocialCalcSpreadsheetControlSave"].join(` 4336`),s=["--SocialCalcSpreadsheetControlSave","Content-type: text/plain; charset=UTF-8"].join(` 4337`)+` 4338`,o=["# SocialCalc Spreadsheet Control Save","part:sheet"].join(` 4339`),c="--SocialCalcSpreadsheetControlSave--";function A(d){if(!d||!d["!ref"])return"";for(var f=[],h=[],m,p="",x=so(d["!ref"]),v=Array.isArray(d),y=x.s.r;y<=x.e.r;++y)for(var b=x.s.c;b<=x.e.c;++b)if(p=sn({r:y,c:b}),m=v?(d[y]||[])[b]:d[p],!(!m||m.v==null||m.t==="z")){switch(h=["cell",p,"t"],m.t){case"s":case"str":h.push(e(m.v));break;case"n":m.f?(h[2]="vtf",h[3]="n",h[4]=m.v,h[5]=e(m.f)):(h[2]="v",h[3]=m.v);break;case"b":h[2]="vt"+(m.f?"f":"c"),h[3]="nl",h[4]=m.v?"1":"0",h[5]=e(m.f||(m.v?"TRUE":"FALSE"));break;case"d":var E=js(ss(m.v));h[2]="vtc",h[3]="nd",h[4]=""+E,h[5]=m.w||id(m.z||Zn[14],E);break;case"e":continue}f.push(h.join(":"))}return f.push("sheet:c:"+(x.e.c-x.s.c+1)+":r:"+(x.e.r-x.s.r+1)+":tvf:1"),f.push("valueformat:1:text-wiki"),f.join(` 4340`)}function u(d){return[a,s,o,s,A(d),c].join(` 4341`)}return{to_workbook:i,to_sheet:n,from_sheet:u}}(),qbe=function(){function t(u,d,f,h,m){m.raw?d[f][h]=u:u===""||(u==="TRUE"?d[f][h]=!0:u==="FALSE"?d[f][h]=!1:isNaN(eA(u))?isNaN(p1(u).getDate())?d[f][h]=u:d[f][h]=ss(u):d[f][h]=eA(u))}function e(u,d){var f=d||{},h=[];if(!u||u.length===0)return h;for(var m=u.split(/[\r\n]/),p=m.length-1;p>=0&&m[p].length===0;)--p;for(var x=10,v=0,y=0;y<=p;++y)v=m[y].indexOf(" "),v==-1?v=m[y].length:v++,x=Math.max(x,v);for(y=0;y<=p;++y){h[y]=[];var b=0;for(t(m[y].slice(0,x).trim(),h,y,b,f),b=1;b<=(m[y].length-x)/10+1;++b)t(m[y].slice(x+(b-1)*10,x+b*10).trim(),h,y,b,f)}return f.sheetRows&&(h=h.slice(0,f.sheetRows)),h}var r={44:",",9:" ",59:";",124:"|"},n={44:3,9:2,59:1,124:0};function i(u){for(var d={},f=!1,h=0,m=0;h<u.length;++h)(m=u.charCodeAt(h))==34?f=!f:!f&&m in r&&(d[m]=(d[m]||0)+1);m=[];for(h in d)Object.prototype.hasOwnProperty.call(d,h)&&m.push([d[h],h]);if(!m.length){d=n;for(h in d)Object.prototype.hasOwnProperty.call(d,h)&&m.push([d[h],h])}return m.sort(function(p,x){return p[0]-x[0]||n[p[1]]-n[x[1]]}),r[m.pop()[1]]||44}function a(u,d){var f=d||{},h="",m=f.dense?[]:{},p={s:{c:0,r:0},e:{c:0,r:0}};u.slice(0,4)=="sep="?u.charCodeAt(5)==13&&u.charCodeAt(6)==10?(h=u.charAt(4),u=u.slice(7)):u.charCodeAt(5)==13||u.charCodeAt(5)==10?(h=u.charAt(4),u=u.slice(6)):h=i(u.slice(0,1024)):f&&f.FS?h=f.FS:h=i(u.slice(0,1024));var x=0,v=0,y=0,b=0,E=0,S=h.charCodeAt(0),I=!1,B=0,_=u.charCodeAt(0);u=u.replace(/\r\n/mg,` 4342`);var O=f.dateNF!=null?c2e(f.dateNF):null;function j(){var T=u.slice(b,E),P={};if(T.charAt(0)=='"'&&T.charAt(T.length-1)=='"'&&(T=T.slice(1,-1).replace(/""/g,'"')),T.length===0)P.t="z";else if(f.raw)P.t="s",P.v=T;else if(T.trim().length===0)P.t="s",P.v=T;else if(T.charCodeAt(0)==61)T.charCodeAt(1)==34&&T.charCodeAt(T.length-1)==34?(P.t="s",P.v=T.slice(2,-1).replace(/""/g,'"')):WCe(T)?(P.t="n",P.f=T.slice(1)):(P.t="s",P.v=T);else if(T=="TRUE")P.t="b",P.v=!0;else if(T=="FALSE")P.t="b",P.v=!1;else if(!isNaN(y=eA(T)))P.t="n",f.cellText!==!1&&(P.w=T),P.v=y;else if(!isNaN(p1(T).getDate())||O&&T.match(O)){P.z=f.dateNF||Zn[14];var L=0;O&&T.match(O)&&(T=A2e(T,f.dateNF,T.match(O)||[]),L=1),f.cellDates?(P.t="d",P.v=ss(T,L)):(P.t="n",P.v=js(ss(T,L))),f.cellText!==!1&&(P.w=id(P.z,P.v instanceof Date?js(P.v):P.v)),f.cellNF||delete P.z}else P.t="s",P.v=T;if(P.t=="z"||(f.dense?(m[x]||(m[x]=[]),m[x][v]=P):m[sn({c:v,r:x})]=P),b=E+1,_=u.charCodeAt(b),p.e.c<v&&(p.e.c=v),p.e.r<x&&(p.e.r=x),B==S)++v;else if(v=0,++x,f.sheetRows&&f.sheetRows<=x)return!0}e:for(;E<u.length;++E)switch(B=u.charCodeAt(E)){case 34:_===34&&(I=!I);break;case S:case 10:case 13:if(!I&&j())break e;break}return E-b>0&&j(),m["!ref"]=Bi(p),m}function s(u,d){return!(d&&d.PRN)||d.FS||u.slice(0,4)=="sep="||u.indexOf(" ")>=0||u.indexOf(",")>=0||u.indexOf(";")>=0?a(u,d):Wp(e(u,d),d)}function o(u,d){var f="",h=d.type=="string"?[0,0,0,0]:aNe(u,d);switch(d.type){case"base64":f=dA(u);break;case"binary":f=u;break;case"buffer":d.codepage==65001?f=u.toString("utf8"):d.codepage&&typeof Wd<"u"?f=Wd.utils.decode(d.codepage,u):f=zr&&Buffer.isBuffer(u)?u.toString("binary"):rx(u);break;case"array":f=W5(u);break;case"string":f=u;break;default:throw new Error("Unrecognized type "+d.type)}return h[0]==239&&h[1]==187&&h[2]==191?f=Av(f.slice(3)):d.type!="string"&&d.type!="buffer"&&d.codepage==65001?f=Av(f):d.type=="binary"&&typeof Wd<"u"&&d.codepage&&(f=Wd.utils.decode(d.codepage,Wd.utils.encode(28591,f))),f.slice(0,19)=="socialcalc:version:"?mK.to_sheet(d.type=="string"?f:Av(f),d):s(f,d)}function c(u,d){return Jh(o(u,d),d)}function A(u){for(var d=[],f=In(u["!ref"]),h,m=Array.isArray(u),p=f.s.r;p<=f.e.r;++p){for(var x=[],v=f.s.c;v<=f.e.c;++v){var y=sn({r:p,c:v});if(h=m?(u[p]||[])[v]:u[y],!h||h.v==null){x.push(" ");continue}for(var b=(h.w||(hA(h),h.w)||"").slice(0,10);b.length<10;)b+=" ";x.push(b+(v===0?" ":""))}d.push(x.join(""))}return d.join(` 4343`)}return{to_workbook:c,to_sheet:o,from_sheet:A}}(),HR=function(){function t(F,U,R){if(F){Vs(F,F.l||0);for(var M=R.Enum||ce;F.l<F.length;){var J=F.read_shift(2),ue=M[J]||M[65535],de=F.read_shift(2),pe=F.l+de,be=ue.f&&ue.f(F,de,R);if(F.l=pe,U(be,ue,J))return}}}function e(F,U){switch(U.type){case"base64":return r(gl(dA(F)),U);case"binary":return r(gl(F),U);case"buffer":case"array":return r(F,U)}throw"Unsupported type "+U.type}
vendor: 3,012 bytes, line 4343
4343function r(F,U){if(!F)return F;var R=U||{},M=R.dense?[]:{},J="Sheet1",ue="",de=0,pe={},be=[],Qe=[],Me={s:{r:0,c:0},e:{r:0,c:0}},Xe=R.sheetRows||0;if(F[2]==0&&(F[3]==8||F[3]==9)&&F.length>=16&&F[14]==5&&F[15]===108)throw new Error("Unsupported Works 3 for Mac file");if(F[2]==2)R.Enum=ce,t(F,function(Ke,dt,Ee){switch(Ee){case 0:R.vers=Ke,Ke>=4096&&(R.qpro=!0);break;case 6:Me=Ke;break;case 204:Ke&&(ue=Ke);break;case 222:ue=Ke;break;case 15:case 51:R.qpro||(Ke[1].v=Ke[1].v.slice(1));case 13:case 14:case 16:Ee==14&&(Ke[2]&112)==112&&(Ke[2]&15)>1&&(Ke[2]&15)<15&&(Ke[1].z=R.dateNF||Zn[14],R.cellDates&&(Ke[1].t="d",Ke[1].v=kW(Ke[1].v))),R.qpro&&Ke[3]>de&&(M["!ref"]=Bi(Me),pe[J]=M,be.push(J),M=R.dense?[]:{},Me={s:{r:0,c:0},e:{r:0,c:0}},de=Ke[3],J=ue||"Sheet"+(de+1),ue="");var We=R.dense?(M[Ke[0].r]||[])[Ke[0].c]:M[sn(Ke[0])];if(We){We.t=Ke[1].t,We.v=Ke[1].v,Ke[1].z!=null&&(We.z=Ke[1].z),Ke[1].f!=null&&(We.f=Ke[1].f);break}R.dense?(M[Ke[0].r]||(M[Ke[0].r]=[]),M[Ke[0].r][Ke[0].c]=Ke[1]):M[sn(Ke[0])]=Ke[1];break}},R);else if(F[2]==26||F[2]==14)R.Enum=Ne,F[2]==14&&(R.qpro=!0,F.l=0),t(F,function(Ke,dt,Ee){switch(Ee){case 204:J=Ke;break;case 22:Ke[1].v=Ke[1].v.slice(1);case 23:case 24:case 25:case 37:case 39:case 40:if(Ke[3]>de&&(M["!ref"]=Bi(Me),pe[J]=M,be.push(J),M=R.dense?[]:{},Me={s:{r:0,c:0},e:{r:0,c:0}},de=Ke[3],J="Sheet"+(de+1)),Xe>0&&Ke[0].r>=Xe)break;R.dense?(M[Ke[0].r]||(M[Ke[0].r]=[]),M[Ke[0].r][Ke[0].c]=Ke[1]):M[sn(Ke[0])]=Ke[1],Me.e.c<Ke[0].c&&(Me.e.c=Ke[0].c),Me.e.r<Ke[0].r&&(Me.e.r=Ke[0].r);break;case 27:Ke[14e3]&&(Qe[Ke[14e3][0]]=Ke[14e3][1]);break;case 1537:Qe[Ke[0]]=Ke[1],Ke[0]==de&&(J=Ke[1]);break}},R);else throw new Error("Unrecognized LOTUS BOF "+F[2]);if(M["!ref"]=Bi(Me),pe[ue||J]=M,be.push(ue||J),!Qe.length)return{SheetNames:be,Sheets:pe};for(var ot={},De=[],oe=0;oe<Qe.length;++oe)pe[be[oe]]?(De.push(Qe[oe]||be[oe]),ot[Qe[oe]]=pe[Qe[oe]]||pe[be[oe]]):(De.push(Qe[oe]),ot[Qe[oe]]={"!ref":"A1"});return{SheetNames:De,Sheets:ot}}function n(F,U){var R=U||{};if(+R.codepage>=0&&h1(+R.codepage),R.type=="string")throw new Error("Cannot write WK1 to JS string");var M=Fs(),J=In(F["!ref"]),ue=Array.isArray(F),de=[];mt(M,0,a(1030)),mt(M,6,c(J));for(var pe=Math.min(J.e.r,8191),be=J.s.r;be<=pe;++be)for(var Qe=xa(be),Me=J.s.c;Me<=J.e.c;++Me){be===J.s.r&&(de[Me]=Oa(Me));var Xe=de[Me]+Qe,ot=ue?(F[be]||[])[Me]:F[Xe];if(!(!ot||ot.t=="z"))if(ot.t=="n")(ot.v|0)==ot.v&&ot.v>=-32768&&ot.v<=32767?mt(M,13,h(be,Me,ot.v)):mt(M,14,p(be,Me,ot.v));else{var De=hA(ot);mt(M,15,d(be,Me,De.slice(0,239)))}}return mt(M,1),M.end()}function i(F,U){var R=U||{};if(+R.codepage>=0&&h1(+R.codepage),R.type=="string")throw new Error("Cannot write WK3 to JS string");var M=Fs();mt(M,0,s(F));for(var J=0,ue=0;J<F.SheetNames.length;++J)(F.Sheets[F.SheetNames[J]]||{})["!ref"]&&mt(M,27,he(F.SheetNames[J],ue++));var de=0;for(J=0;J<F.SheetNames.length;++J){var pe=F.Sheets[F.SheetNames[J]];if(!(!pe||!pe["!ref"])){for(var be=In(pe["!ref"]),Qe=Array.isArray(pe),Me=[],Xe=Math.min(be.e.r,8191),ot=be.s.r;ot<=Xe;
vendor: 4,138 bytes, line 4343
4343++ot)for(var De=xa(ot),oe=be.s.c;oe<=be.e.c;++oe){ot===be.s.r&&(Me[oe]=Oa(oe));var Ke=Me[oe]+De,dt=Qe?(pe[ot]||[])[oe]:pe[Ke];if(!(!dt||dt.t=="z"))if(dt.t=="n")mt(M,23,j(ot,oe,de,dt.v));else{var Ee=hA(dt);mt(M,22,B(ot,oe,de,Ee.slice(0,239)))}}++de}}return mt(M,1),M.end()}function a(F){var U=ze(2);return U.write_shift(2,F),U}function s(F){var U=ze(26);U.write_shift(2,4096),U.write_shift(2,4),U.write_shift(4,0);for(var R=0,M=0,J=0,ue=0;ue<F.SheetNames.length;++ue){var de=F.SheetNames[ue],pe=F.Sheets[de];if(!(!pe||!pe["!ref"])){++J;var be=so(pe["!ref"]);R<be.e.r&&(R=be.e.r),M<be.e.c&&(M=be.e.c)}}return R>8191&&(R=8191),U.write_shift(2,R),U.write_shift(1,J),U.write_shift(1,M),U.write_shift(2,0),U.write_shift(2,0),U.write_shift(1,1),U.write_shift(1,2),U.write_shift(4,0),U.write_shift(4,0),U}function o(F,U,R){var M={s:{c:0,r:0},e:{c:0,r:0}};return U==8&&R.qpro?(M.s.c=F.read_shift(1),F.l++,M.s.r=F.read_shift(2),M.e.c=F.read_shift(1),F.l++,M.e.r=F.read_shift(2),M):(M.s.c=F.read_shift(2),M.s.r=F.read_shift(2),U==12&&R.qpro&&(F.l+=2),M.e.c=F.read_shift(2),M.e.r=F.read_shift(2),U==12&&R.qpro&&(F.l+=2),M.s.c==65535&&(M.s.c=M.e.c=M.s.r=M.e.r=0),M)}function c(F){var U=ze(8);return U.write_shift(2,F.s.c),U.write_shift(2,F.s.r),U.write_shift(2,F.e.c),U.write_shift(2,F.e.r),U}function A(F,U,R){var M=[{c:0,r:0},{t:"n",v:0},0,0];return R.qpro&&R.vers!=20768?(M[0].c=F.read_shift(1),M[3]=F.read_shift(1),M[0].r=F.read_shift(2),F.l+=2):(M[2]=F.read_shift(1),M[0].c=F.read_shift(2),M[0].r=F.read_shift(2)),M}function u(F,U,R){var M=F.l+U,J=A(F,U,R);if(J[1].t="s",R.vers==20768){F.l++;var ue=F.read_shift(1);return J[1].v=F.read_shift(ue,"utf8"),J}return R.qpro&&F.l++,J[1].v=F.read_shift(M-F.l,"cstr"),J}function d(F,U,R){var M=ze(7+R.length);M.write_shift(1,255),M.write_shift(2,U),M.write_shift(2,F),M.write_shift(1,39);for(var J=0;J<M.length;++J){var ue=R.charCodeAt(J);M.write_shift(1,ue>=128?95:ue)}return M.write_shift(1,0),M}function f(F,U,R){var M=A(F,U,R);return M[1].v=F.read_shift(2,"i"),M}function h(F,U,R){var M=ze(7);return M.write_shift(1,255),M.write_shift(2,U),M.write_shift(2,F),M.write_shift(2,R,"i"),M}function m(F,U,R){var M=A(F,U,R);return M[1].v=F.read_shift(8,"f"),M}function p(F,U,R){var M=ze(13);return M.write_shift(1,255),M.write_shift(2,U),M.write_shift(2,F),M.write_shift(8,R,"f"),M}function x(F,U,R){var M=F.l+U,J=A(F,U,R);if(J[1].v=F.read_shift(8,"f"),R.qpro)F.l=M;else{var ue=F.read_shift(2);E(F.slice(F.l,F.l+ue),J),F.l+=ue}return J}function v(F,U,R){var M=U&32768;return U&=-32769,U=(M?F:0)+(U>=8192?U-16384:U),(M?"":"$")+(R?Oa(U):xa(U))}var y={51:["FALSE",0],52:["TRUE",0],70:["LEN",1],80:["SUM",69],81:["AVERAGEA",69],82:["COUNTA",69],83:["MINA",69],84:["MAXA",69],111:["T",1]},b=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function E(F,U){Vs(F,0);for(var R=[],M=0,J="",ue="",de="",pe="";F.l<F.length;){var be=F[F.l++];switch(be){case 0:R.push(F.read_shift(8,"f"));break;case 1:ue=v(U[0].c,F.read_shift(2),!0),J=v(U[0].r,F.read_shift(2),!1),R.push(ue+J);break;case 2:{var Qe=v(U[0].c,F.read_shift(2),!0),Me=v(U[0].r,F.read_shift(2),!1);ue=v(U[0].c,F.read_shift(2),!0),J=v(U[0].r,F.read_shift(2),!1),R.push(Qe+Me+":"+ue+J)}break;case 3:if(F.l<F.length){console.error("WK1 premature formula end");return}break;case 4:R.push("("+R.pop()+")");break;case 5:R.push(F.read_shift(2));break;case 6:{for(var Xe="";be=F[F.l++];)Xe+=String.fromCharCode(be);R.push('"'+Xe.replace(/"/g,'""')+'"')}break;case 8:R.push("-"+R.pop());break;case 23:R.push("+"+R.pop());break;case 22:R.push("NOT("+R.pop()+")");break;case 20:case 21:pe=R.pop(),de=R.pop(),R.push(["AND","OR"][be-20]+"("+de+","+pe+")");break;default:if(be<32&&b[be])pe=R.pop(),de=R.pop(),R.push(de+b[be]+pe);else if(y[be]){if(M=y[be][1],M==69&&(M=F[F.l++]),M>R.length){console.error("WK1 bad formula parse 0x"+be.toString(16)+":|"+R.join("|")+"|");return}var ot=R.slice(-M);R.length-=M,R.push(y[be][0]+"("+ot.join(",")+")")}else return be<=7?console.error("WK1 invalid opcode "+be.toString(16)):be<=24?console.error("WK1 unsupported op "+be.toString(16)):be<=30?console.error("WK1 invali
4343d opcode "+be.toString(16)):be<=115?console.error("WK1 unsupported function opcode "+be.toString(16)):console.error("WK1 unrecognized opcode "+be.toString(16))}}R.length==1?U[1].f=""+R[0]:console.error("WK1 bad formula parse |"+R.join("|")+"|")}function S(F){var U=[{c:0,r:0},{t:"n",v:0},0];return U[0].r=F.read_shift(2),U[3]=F[F.l++],U[0].c=F[F.l++],U}function I(F,U){var R=S(F);return R[1].t="s",R[1].v=F.read_shift(U-4,"cstr"),R}function B(F,U,R,M){var J=ze(6+M.length);J.write_shift(2,F),J.write_shift(1,R),J.write_shift(1,U),J.write_shift(1,39);for(var ue=0;ue<M.length;++ue){var de=M.charCodeAt(ue);J.write_shift(1,de>=128?95:de)}return J.write_shift(1,0),J}function _(F,U){var R=S(F);R[1].v=F.read_shift(2);var M=R[1].v>>1;if(R[1].v&1)switch(M&7){case 0:M=(M>>3)*5e3;break;case 1:M=(M>>3)*500;break;case 2:M=(M>>3)/20;break;case 3:M=(M>>3)/200;break;case 4:M=(M>>3)/2e3;break;case 5:M=(M>>3)/2e4;break;case 6:M=(M>>3)/16;break;case 7:M=(M>>3)/64;break}return R[1].v=M,R}function O(F,U){var R=S(F),M=F.read_shift(4),J=F.read_shift(4),ue=F.read_shift(2);if(ue==65535)return M===0&&J===3221225472?(R[1].t="e",R[1].v=15):M===0&&J===3489660928?(R[1].t="e",R[1].v=42):R[1].v=0,R;var de=ue&32768;return ue=(ue&32767)-16446,R[1].v=(1-de*2)*(J*Math.pow(2,ue+32)+M*Math.pow(2,ue)),R}function j(F,U,R,M){var J=ze(14);if(J.write_shift(2,F),J.write_shift(1,R),J.write_shift(1,U),M==0)return J.write_shift(4,0),J.write_shift(4,0),J.write_shift(2,65535),J;var ue=0,de=0,pe=0,be=0;return M<0&&(ue=1,M=-M),de=Math.log2(M)|0,M/=Math.pow(2,de-31),be=M>>>0,be&2147483648||(M/=2,++de,be=M>>>0),M-=be,be|=2147483648,be>>>=0,M*=Math.pow(2,32),pe=M>>>0,J.write_shift(4,pe),J.write_shift(4,be),de+=16383+(ue?32768:0),J.write_shift(2,de),J}function T(F,U){var R=O(F);return F.l+=U-14,R}function P(F,U){var R=S(F),M=F.read_shift(4);return R[1].v=M>>6,R}function L(F,U){var R=S(F),M=F.read_shift(8,"f");return R[1].v=M,R}function K(F,U){var R=L(F);return F.l+=U-10,R}function le(F,U){return F[F.l+U-1]==0?F.read_shift(U,"cstr"):""}function ne(F,U){var R=F[F.l++];R>U-1&&(R=U-1);for(var M="";M.length<R;)M+=String.fromCharCode(F[F.l++]);return M}function fe(F,U,R){if(!(!R.qpro||U<21)){var M=F.read_shift(1);F.l+=17,F.l+=1,F.l+=2;var J=F.read_shift(U-21,"cstr");return[M,J]}}function te(F,U){for(var R={},M=F.l+U;F.l<M;){var J=F.read_shift(2);if(J==14e3){for(R[J]=[0,""],R[J][0]=F.read_shift(2);F[F.l];)R[J][1]+=String.fromCharCode(F[F.l]),F.l++;F.l++}}return R}function he(F,U){var R=ze(5+F.length);R.write_shift(2,14e3),R.write_shift(2,U);for(var M=0;M<F.length;++M){var J=F.charCodeAt(M);R[R.l++]=J>127?95:J}return R[R.l++]=0,R}var ce={0:{n:"BOF",f:uK},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:o},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f},14:{n:"NUMBER",f:m},15:{n:"LABEL",f:u},16:{n:"FORMULA",f:x},24:{n:"TABLE"},25:{n:"ORANGE"},26:{n:"PRANGE"},27:{n:"SRANGE"},28:{n:"FRANGE"},29:{n:"KRANGE1"},32:{n:"HRANGE"},35:{n:"KRANGE2"},36:{n:"PROTEC"},37:{n:"FOOTER"},38:{n:"HEADER"},39:{n:"SETUP"},40:{n:"MARGINS"},41:{n:"LABELFMT"},42:{n:"TITLES"},43:{n:"SHEETJS"},45:{n:"GRAPH"},46:{n:"NGRAPH"},47:{n:"CALCCOUNT"},48:{n:"UNFORMATTED"},49:{n:"CURSORW12"},50:{n:"WINDOW"},51:{n:"STRING",f:u},55:{n:"PASSWORD"},56:{n:"LOCKED"},60:{n:"QUERY"},61:{n:"QUERYNAME"},62:{n:"PRINT"},63:{n:"PRINTNAME"},64:{n:"GRAPH2"},65:{n:"GRAPHNAME"},66:{n:"ZOOM"},67:{n:"SYMSPLIT"},68:{n:"NSROWS"},69:{n:"NSCOLS"},70:{n:"RULER"},71:{n:"NNAME"},72:{n:"ACOMM"},73:{n:"AMACRO"},74:{n:"PARSE"},102:{n:"PRANGES??"},103:{n:"RRANGES??"},104:{n:"FNAME??"},105:{n:"MRANGES??"},204:{n:"SHEETNAMECS",f:le},222:{n:"SHEETNAMELP",f:ne},65535:{n:""}},Ne={0:{n:"BOF"},1:{n:"EOF"},2:{n:"PASSWORD"},3:{n:"CALCSET"},4:{n:"WINDOWSET"},5:{n:"SHEETCELLPTR"},6:{n:"SHEETLAYOUT"},7:{n:"COLUMNWIDTH"},8:{n:"HIDDENCOLUMN"},9:{n:"USERRANGE"},10:{n:"SYSTEMRANGE"},11:{n:"ZEROFORCE"},12:{n:"SORTKEYDIR"},13:{n:"FILESEAL"},14:{n:"DATAFILLNUMS"},15:{n:"PRINTMAIN"},16:{n:"PRINTSTRING"},17:{n:"GRAPHMAIN"},18:{n:"GRAPHSTRING"},19:{n:"??"},20:{n:"ERRCELL"},21:{n:"NACELL"},22:{n:"LABEL16",f:I},23:{n:"NUMBER17",f:O},24:{n:"NUMBER18",f:_},25:{n:"FORMULA19",f:T},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:te},28:{n:"DTLABELMISC"},29:{n:"DTLABELCELL"},30:{n:"GRAPHWINDOW"},31:{n:"CPA"},32:{n:"LPLAUTO"},33:{n:"QUERY"},34:{n:"HIDDENSHEET"},35:{n:"??"}
4343,37:{n:"NUMBER25",f:P},38:{n:"??"},39:{n:"NUMBER27",f:L},40:{n:"FORMULA28",f:K},142:{n:"??"},147:{n:"??"},150:{n:"??"},151:{n:"??"},152:{n:"??"},153:{n:"??"},154:{n:"??"},155:{n:"??"},156:{n:"??"},163:{n:"??"},174:{n:"??"},175:{n:"??"},176:{n:"??"},177:{n:"??"},184:{n:"??"},185:{n:"??"},186:{n:"??"},187:{n:"??"},188:{n:"??"},195:{n:"??"},201:{n:"??"},204:{n:"SHEETNAMECS",f:le},205:{n:"??"},206:{n:"??"},207:{n:"??"},208:{n:"??"},256:{n:"??"},259:{n:"??"},260:{n:"??"},261:{n:"??"},262:{n:"??"},263:{n:"??"},265:{n:"??"},266:{n:"??"},267:{n:"??"},268:{n:"??"},270:{n:"??"},271:{n:"??"},384:{n:"??"},389:{n:"??"},390:{n:"??"},393:{n:"??"},396:{n:"??"},512:{n:"??"},514:{n:"??"},513:{n:"??"},516:{n:"??"},517:{n:"??"},640:{n:"??"},641:{n:"??"},642:{n:"??"},643:{n:"??"},644:{n:"??"},645:{n:"??"},646:{n:"??"},647:{n:"??"},648:{n:"??"},658:{n:"??"},659:{n:"??"},660:{n:"??"},661:{n:"??"},662:{n:"??"},665:{n:"??"},666:{n:"??"},768:{n:"??"},772:{n:"??"},1537:{n:"SHEETINFOQP",f:fe},1600:{n:"??"},1602:{n:"??"},1793:{n:"??"},1794:{n:"??"},1795:{n:"??"},1796:{n:"??"},1920:{n:"??"},2048:{n:"??"},2049:{n:"??"},2052:{n:"??"},2688:{n:"??"},10998:{n:"??"},12849:{n:"??"},28233:{n:"??"},28484:{n:"??"},65535:{n:""}};return{sheet_to_wk1:n,book_to_wk3:i,to_workbook:e}}(),Gbe=/^\s|\s$|[\t\n\r]/;function gK(t,e){if(!e.bookSST)return"";var r=[Ni];r[r.length]=ft("sst",null,{xmlns:Vp[0],count:t.Count,uniqueCount:t.Unique});for(var n=0;n!=t.length;++n)if(t[n]!=null){var i=t[n],a="<si>";i.r?a+=i.r:(a+="<t",i.t||(i.t=""),i.t.match(Gbe)&&(a+=' xml:space="preserve"'),a+=">"+nn(i.t)+"</t>"),a+="</si>",r[r.length]=a}return r.length>2&&(r[r.length]="</sst>",r[1]=r[1].replace("/>",">")),r.join("")}function Jbe(t){return[t.read_shift(4),t.read_shift(4)]}function Xbe(t,e){return e||(e=ze(8)),e.write_shift(4,t.Count),e.write_shift(4,t.Unique),e}var Ybe=Q2e;function Zbe(t){var e=Fs();et(e,159,Xbe(t));for(var r=0;r<t.length;++r)et(e,19,Ybe(t[r]));return et(e,160),e.end()}function $be(t){for(var e=[],r=t.split(""),n=0;n<r.length;++n)e[n]=r[n].charCodeAt(0);return e}function vK(t){var e=0,r,n=$be(t),i=n.length+1,a,s,o,c,A;for(r=Ih(i),r[0]=n.length,a=1;a!=i;++a)r[a]=n[a-1];for(a=i-1;a>=0;--a)s=r[a],o=e&16384?1:0,c=e<<1&32767,A=o|c,e=A^s;return e^52811}var eCe=function(){function t(i,a){switch(a.type){case"base64":return e(dA(i),a);case"binary":return e(i,a);case"buffer":return e(zr&&Buffer.isBuffer(i)?i.toString("binary"):rx(i),a);case"array":return e(W5(i),a)}throw new Error("Unrecognized type "+a.type)}function e(i,a){var s=a||{},o=s.dense?[]:{},c=i.match(/\\trowd.*?\\row\b/g);if(!c.length)throw new Error("RTF missing table");var A={s:{c:0,r:0},e:{c:0,r:c.length-1}};return c.forEach(function(u,d){Array.isArray(o)&&(o[d]=[]);for(var f=/\\\w+\b/g,h=0,m,p=-1;m=f.exec(u);){switch(m[0]){case"\\cell":var x=u.slice(h,f.lastIndex-m[0].length);if(x[0]==" "&&(x=x.slice(1)),++p,x.length){var v={v:x,t:"s"};Array.isArray(o)?o[d][p]=v:o[sn({r:d,c:p})]=v}break}h=f.lastIndex}p>A.e.c&&(A.e.c=p)}),o["!ref"]=Bi(A),o}function r(i,a){return Jh(t(i,a),a)}function n(i){for(var a=["{\\rtf1\\ansi"],s=In(i["!ref"]),o,c=Array.isArray(i),A=s.s.r;A<=s.e.r;++A){a.push("\\trowd\\trautofit1");for(var u=s.s.c;u<=s.e.c;++u)a.push("\\cellx"+(u+1));for(a.push("\\pard\\intbl"),u=s.s.c;u<=s.e.c;++u){var d=sn({r:A,c:u});o=c?(i[A]||[])[u]:i[d],!(!o||o.v==null&&(!o.f||o.F))&&(a.push(" "+(o.w||(hA(o),o.w))),a.push("\\cell"))}a.push("\\pard\\intbl\\row")}return a.join("")+"}"}return{to_workbook:r,to_sheet:t,from_sheet:n}}();function zR(t){for(var e=0,r=1;e!=3;++e)r=r*256+(t[e]>255?255:t[e]<0?0:t[e]);return r.toString(16).toUpperCase().slice(1)}var tCe=6,tA=tCe;function iC(t){return Math.floor((t+Math.round(128/tA)/256)*tA)}function aC(t){return Math.floor((t-5)/tA*100+.5)/100}function H_(t){return Math.round((t*tA+5)/tA*256)/256}function tj(t){t.width?(t.wpx=iC(t.width),t.wch=aC(t.wpx),t.MDW=tA):t.wpx?(t.wch=aC(t.wpx),t.width=H_(t.wch),t.MDW=tA):typeof t.wch=="number"&&(t.width=H_(t.wch),t.wpx=iC(t.width),t.MDW=tA),t.customWidth&&delete t.customWidth}var rCe=96,xK=rCe;function sC(t){return t*96/xK}function yK(t){return t*xK/96}function nCe(t){var e=["<numFmts>"];
vendor: 4,171 bytes, line 4343
4343return[[5,8],[23,26],[41,44],[50,392]].forEach(function(r){for(var n=r[0];n<=r[1];++n)t[n]!=null&&(e[e.length]=ft("numFmt",null,{numFmtId:n,formatCode:nn(t[n])}))}),e.length===1?"":(e[e.length]="</numFmts>",e[0]=ft("numFmts",null,{count:e.length-2}).replace("/>",">"),e.join(""))}function iCe(t){var e=[];return e[e.length]=ft("cellXfs",null),t.forEach(function(r){e[e.length]=ft("xf",null,r)}),e[e.length]="</cellXfs>",e.length===2?"":(e[0]=ft("cellXfs",null,{count:e.length-2}).replace("/>",">"),e.join(""))}function wK(t,e){var r=[Ni,ft("styleSheet",null,{xmlns:Vp[0],"xmlns:vt":$i.vt})],n;return t.SSF&&(n=nCe(t.SSF))!=null&&(r[r.length]=n),r[r.length]='<fonts count="1"><font><sz val="12"/><color theme="1"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font></fonts>',r[r.length]='<fills count="2"><fill><patternFill patternType="none"/></fill><fill><patternFill patternType="gray125"/></fill></fills>',r[r.length]='<borders count="1"><border><left/><right/><top/><bottom/><diagonal/></border></borders>',r[r.length]='<cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"/></cellStyleXfs>',(n=iCe(e.cellXfs))&&(r[r.length]=n),r[r.length]='<cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0"/></cellStyles>',r[r.length]='<dxfs count="0"/>',r[r.length]='<tableStyles count="0" defaultTableStyle="TableStyleMedium9" defaultPivotStyle="PivotStyleMedium4"/>',r.length>2&&(r[r.length]="</styleSheet>",r[1]=r[1].replace("/>",">")),r.join("")}function aCe(t,e){var r=t.read_shift(2),n=Ra(t);return[r,n]}function sCe(t,e,r){r||(r=ze(6+4*e.length)),r.write_shift(2,t),ta(e,r);var n=r.length>r.l?r.slice(0,r.l):r;return r.l==null&&(r.l=r.length),n}function oCe(t,e,r){var n={};n.sz=t.read_shift(2)/20;var i=G2e(t);i.fItalic&&(n.italic=1),i.fCondense&&(n.condense=1),i.fExtend&&(n.extend=1),i.fShadow&&(n.shadow=1),i.fOutline&&(n.outline=1),i.fStrikeout&&(n.strike=1);var a=t.read_shift(2);switch(a===700&&(n.bold=1),t.read_shift(2)){case 1:n.vertAlign="superscript";break;case 2:n.vertAlign="subscript";break}var s=t.read_shift(1);s!=0&&(n.underline=s);var o=t.read_shift(1);o>0&&(n.family=o);var c=t.read_shift(1);switch(c>0&&(n.charset=c),t.l++,n.color=q2e(t),t.read_shift(1)){case 1:n.scheme="major";break;case 2:n.scheme="minor";break}return n.name=Ra(t),n}function lCe(t,e){e||(e=ze(25+4*32)),e.write_shift(2,t.sz*20),J2e(t,e),e.write_shift(2,t.bold?700:400);var r=0;t.vertAlign=="superscript"?r=1:t.vertAlign=="subscript"&&(r=2),e.write_shift(2,r),e.write_shift(1,t.underline||0),e.write_shift(1,t.family||0),e.write_shift(1,t.charset||0),e.write_shift(1,0),rC(t.color,e);var n=0;return t.scheme=="major"&&(n=1),t.scheme=="minor"&&(n=2),e.write_shift(1,n),ta(t.name,e),e.length>e.l?e.slice(0,e.l):e}var cCe=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"],U4,ACe=fc;function VR(t,e){e||(e=ze(4*3+8*7+16*1)),U4||(U4=zT(cCe));var r=U4[t.patternType];r==null&&(r=40),e.write_shift(4,r);var n=0;if(r!=40)for(rC({auto:1},e),rC({auto:1},e);n<12;++n)e.write_shift(4,0);else{for(;n<4;++n)e.write_shift(4,0);for(;n<12;++n)e.write_shift(4,0)}return e.length>e.l?e.slice(0,e.l):e}function uCe(t,e){var r=t.l+e,n=t.read_shift(2),i=t.read_shift(2);return t.l=r,{ixfe:n,numFmtId:i}}function bK(t,e,r){r||(r=ze(16)),r.write_shift(2,e||0),r.write_shift(2,t.numFmtId||0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(1,0),r.write_shift(1,0);var n=0;return r.write_shift(1,n),r.write_shift(1,0),r.write_shift(1,0),r.write_shift(1,0),r}function $m(t,e){return e||(e=ze(10)),e.write_shift(1,0),e.write_shift(1,0),e.write_shift(4,0),e.write_shift(4,0),e}var dCe=fc;function hCe(t,e){return e||(e=ze(51)),e.write_shift(1,0),$m(null,e),$m(null,e),$m(null,e),$m(null,e),$m(null,e),e.length>e.l?e.slice(0,e.l):e}function fCe(t,e){return e||(e=ze(12+4*10)),e.write_shift(4,t.xfId),e.write_shift(2,1),e.write_shift(1,+t.builtinId),e.write_shift(1,0),tC(t.name||"",e),e.length>e.l?e.slice(0,e.l):e}function pCe(t,e,r){var n=ze(2052);
vendor: 4,081 bytes, line 4343
4343return n.write_shift(4,t),tC(e,n),tC(r,n),n.length>n.l?n.slice(0,n.l):n}function mCe(t,e){if(e){var r=0;[[5,8],[23,26],[41,44],[50,392]].forEach(function(n){for(var i=n[0];i<=n[1];++i)e[i]!=null&&++r}),r!=0&&(et(t,615,Fl(r)),[[5,8],[23,26],[41,44],[50,392]].forEach(function(n){for(var i=n[0];i<=n[1];++i)e[i]!=null&&et(t,44,sCe(i,e[i]))}),et(t,616))}}function gCe(t){var e=1;et(t,611,Fl(e)),et(t,43,lCe({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"})),et(t,612)}function vCe(t){var e=2;et(t,603,Fl(e)),et(t,45,VR({patternType:"none"})),et(t,45,VR({patternType:"gray125"})),et(t,604)}function xCe(t){var e=1;et(t,613,Fl(e)),et(t,46,hCe()),et(t,614)}function yCe(t){var e=1;et(t,626,Fl(e)),et(t,47,bK({numFmtId:0,fontId:0,fillId:0,borderId:0},65535)),et(t,627)}function wCe(t,e){et(t,617,Fl(e.length)),e.forEach(function(r){et(t,47,bK(r,0))}),et(t,618)}function bCe(t){var e=1;et(t,619,Fl(e)),et(t,48,fCe({xfId:0,builtinId:0,name:"Normal"})),et(t,620)}function CCe(t){var e=0;et(t,505,Fl(e)),et(t,506)}function BCe(t){var e=0;et(t,508,pCe(e,"TableStyleMedium9","PivotStyleMedium4")),et(t,509)}function ECe(t,e){var r=Fs();return et(r,278),mCe(r,t.SSF),gCe(r),vCe(r),xCe(r),yCe(r),wCe(r,e.cellXfs),bCe(r),CCe(r),BCe(r),et(r,279),r.end()}function CK(t,e){if(e&&e.themeXLSX)return e.themeXLSX;if(t&&typeof t.raw=="string")return t.raw;var r=[Ni];return r[r.length]='<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme">',r[r.length]="<a:themeElements>",r[r.length]='<a:clrScheme name="Office">',r[r.length]='<a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1>',r[r.length]='<a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1>',r[r.length]='<a:dk2><a:srgbClr val="1F497D"/></a:dk2>',r[r.length]='<a:lt2><a:srgbClr val="EEECE1"/></a:lt2>',r[r.length]='<a:accent1><a:srgbClr val="4F81BD"/></a:accent1>',r[r.length]='<a:accent2><a:srgbClr val="C0504D"/></a:accent2>',r[r.length]='<a:accent3><a:srgbClr val="9BBB59"/></a:accent3>',r[r.length]='<a:accent4><a:srgbClr val="8064A2"/></a:accent4>',r[r.length]='<a:accent5><a:srgbClr val="4BACC6"/></a:accent5>',r[r.length]='<a:accent6><a:srgbClr val="F79646"/></a:accent6>',r[r.length]='<a:hlink><a:srgbClr val="0000FF"/></a:hlink>',r[r.length]='<a:folHlink><a:srgbClr val="800080"/></a:folHlink>',r[r.length]="</a:clrScheme>",r[r.length]='<a:fontScheme name="Office">',r[r.length]="<a:majorFont>",r[r.length]='<a:latin typeface="Cambria"/>',r[r.length]='<a:ea typeface=""/>',r[r.length]='<a:cs typeface=""/>',r[r.length]='<a:font script="Jpan" typeface="ï¼ï¼³ ï¼°ã´ã·ãã¯"/>',r[r.length]='<a:font script="Hang" typeface="ë§ì ê³ ë"/>',r[r.length]='<a:font script="Hans" typeface="å®ä½"/>',r[r.length]='<a:font script="Hant" typeface="æ°ç´°æé«"/>',r[r.length]='<a:font script="Arab" typeface="Times New Roman"/>',r[r.length]='<a:font script="Hebr" typeface="Times New Roman"/>',r[r.length]='<a:font script="Thai" typeface="Tahoma"/>',r[r.length]='<a:font script="Ethi" typeface="Nyala"/>',r[r.length]='<a:font script="Beng" typeface="Vrinda"/>',r[r.length]='<a:font script="Gujr" typeface="Shruti"/>',r[r.length]='<a:font script="Khmr" typeface="MoolBoran"/>',r[r.length]='<a:font script="Knda" typeface="Tunga"/>',r[r.length]='<a:font script="Guru" typeface="Raavi"/>',r[r.length]='<a:font script="Cans" typeface="Euphemia"/>',r[r.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',r[r.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',r[r.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',r[r.length]='<a:font script="Thaa" typeface="MV Boli"/>',r[r.length]='<a:font script="Deva" typeface="Mangal"/>',r[r.length]='<a:font script="Telu" typeface="Gautami"/>',r[r.length]='<a:font script="Taml" typeface="Latha"/>',r[r.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',r[r.length]='<a:font script="Orya" typeface="Kalinga"/>',r[r.length]='<a:font script="Mlym" typeface="Kartika"/>',r[r.length]='<a:font script="Laoo" typeface="DokChampa"/>',r[r.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>
4343',r[r.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',r[r.length]='<a:font script="Viet" typeface="Times New Roman"/>',r[r.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',r[r.length]='<a:font script="Geor" typeface="Sylfaen"/>',r[r.length]="</a:majorFont>",r[r.length]="<a:minorFont>",r[r.length]='<a:latin typeface="Calibri"/>',r[r.length]='<a:ea typeface=""/>',r[r.length]='<a:cs typeface=""/>',r[r.length]='<a:font script="Jpan" typeface="ï¼ï¼³ ï¼°ã´ã·ãã¯"/>',r[r.length]='<a:font script="Hang" typeface="ë§ì ê³ ë"/>',r[r.length]='<a:font script="Hans" typeface="å®ä½"/>',r[r.length]='<a:font script="Hant" typeface="æ°ç´°æé«"/>',r[r.length]='<a:font script="Arab" typeface="Arial"/>',r[r.length]='<a:font script="Hebr" typeface="Arial"/>',r[r.length]='<a:font script="Thai" typeface="Tahoma"/>',r[r.length]='<a:font script="Ethi" typeface="Nyala"/>',r[r.length]='<a:font script="Beng" typeface="Vrinda"/>',r[r.length]='<a:font script="Gujr" typeface="Shruti"/>',r[r.length]='<a:font script="Khmr" typeface="DaunPenh"/>',r[r.length]='<a:font script="Knda" typeface="Tunga"/>',r[r.length]='<a:font script="Guru" typeface="Raavi"/>',r[r.length]='<a:font script="Cans" typeface="Euphemia"/>',r[r.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',r[r.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',r[r.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',r[r.length]='<a:font script="Thaa" typeface="MV Boli"/>',r[r.length]='<a:font script="Deva" typeface="Mangal"/>',r[r.length]='<a:font script="Telu" typeface="Gautami"/>',r[r.length]='<a:font script="Taml" typeface="Latha"/>',r[r.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',r[r.length]='<a:font script="Orya" typeface="Kalinga"/>',r[r.length]='<a:font script="Mlym" typeface="Kartika"/>',r[r.length]='<a:font script="Laoo" typeface="DokChampa"/>',r[r.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',r[r.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',r[r.length]='<a:font script="Viet" typeface="Arial"/>',r[r.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',r[r.length]='<a:font script="Geor" typeface="Sylfaen"/>',r[r.length]="</a:minorFont>",r[r.length]="</a:fontScheme>",r[r.length]='<a:fmtScheme name="Office">',r[r.length]="<a:fillStyleLst>",r[r.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="50000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="35000"><a:schemeClr val="phClr"><a:tint val="37000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="15000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:lin ang="16200000" scaled="1"/>',r[r.length]="</a:gradFill>",r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="100000"/><a:shade val="100000"/><a:satMod val="130000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="50000"/><a:shade val="100000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:lin ang="16200000" scaled="0"/>',r[r.length]="</a:gradFill>",r[r.length]="</a:fillStyleLst>",r[r.length]="<a:lnStyleLst>",r[r.length]='<a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"><a:shade val="95000"/><a:satMod val="105000"/></a:schemeClr></a:solidFill><a:prstDash val="solid"/></a:ln>',r[r.length]='<a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',r[r.length]='<a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',r[r.length]="</a:lnStyleLst>",r[r.length]="<a:effectStyleLst>",r[r.length]="<a:effectStyle>",r[r.length]="<a:effectLst>
4343",r[r.length]='<a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="38000"/></a:srgbClr></a:outerShdw>',r[r.length]="</a:effectLst>",r[r.length]="</a:effectStyle>",r[r.length]="<a:effectStyle>",r[r.length]="<a:effectLst>",r[r.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',r[r.length]="</a:effectLst>",r[r.length]="</a:effectStyle>",r[r.length]="<a:effectStyle>",r[r.length]="<a:effectLst>",r[r.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',r[r.length]="</a:effectLst>",r[r.length]='<a:scene3d><a:camera prst="orthographicFront"><a:rot lat="0" lon="0" rev="0"/></a:camera><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="1200000"/></a:lightRig></a:scene3d>',r[r.length]='<a:sp3d><a:bevelT w="63500" h="25400"/></a:sp3d>',r[r.length]="</a:effectStyle>",r[r.length]="</a:effectStyleLst>",r[r.length]="<a:bgFillStyleLst>",r[r.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="40000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="40000"><a:schemeClr val="phClr"><a:tint val="45000"/><a:shade val="99000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="20000"/><a:satMod val="255000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:path path="circle"><a:fillToRect l="50000" t="-80000" r="50000" b="180000"/></a:path>',r[r.length]="</a:gradFill>",r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="80000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="30000"/><a:satMod val="200000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:path path="circle"><a:fillToRect l="50000" t="50000" r="50000" b="50000"/></a:path>',r[r.length]="</a:gradFill>",r[r.length]="</a:bgFillStyleLst>",r[r.length]="</a:fmtScheme>",r[r.length]="</a:themeElements>",r[r.length]="<a:objectDefaults>",r[r.length]="<a:spDef>",r[r.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="1"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="3"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="2"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="lt1"/></a:fontRef></a:style>',r[r.length]="</a:spDef>",r[r.length]="<a:lnDef>",r[r.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="2"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="0"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="1"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="tx1"/></a:fontRef></a:style>',r[r.length]="</a:lnDef>",r[r.length]="</a:objectDefaults>",r[r.length]="<a:extraClrSchemeLst/>",r[r.length]="</a:theme>",r.join("")}function NCe(t,e){return{flags:t.read_shift(4),version:t.read_shift(4),name:Ra(t)}}function SCe(t){var e=ze(12+2*t.name.length);return e.write_shift(4,t.flags),e.write_shift(4,t.version),ta(t.name,e),e.slice(0,e.l)}function _Ce(t){for(var e=[],r=t.read_shift(4);r-- >0;)e.push([t.read_shift(4),t.read_shift(4)]);return e}function FCe(t){var e=ze(4+8*t.length);e.write_shift(4,t.length);for(var r=0;r<t.length;++r)e.write_shift(4,t[r][0]),e.write_shift(4,t[r][1]);return e}function TCe(t,e){var r=ze(8+2*e.length);return r.write_shift(4,t),ta(e,r),r.slice(0,r.l)}function jCe(t){return t.l+=4,t.read_shift(4)!=0}function ICe(t,e){var r=ze(8);return r.write_shift(4,t),r.write_shift(4,1),r}function kCe(){var t=Fs();return et(t,332),et(t,334,Fl(1)),et(t,335,SCe({name:"XLDAPR",version:12e4,flags:3496657072})),et(t,336),et(t,339,TCe(1,"XLDAPR")),et(t,52),et(t,35,Fl(514)),et(t,4096,Fl(0)),et(t,4097,Eo(1)),et(t,36),et(t,53),et(t,340),et(t,337,ICe(1)),et(t,51,FCe([[1,0]])
vendor: 4,668 bytes, lines 4343-4365
4343),et(t,338),et(t,333),t.end()}function BK(){var t=[Ni];return t.push(`<metadata xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:xlrd="http://schemas.microsoft.com/office/spreadsheetml/2017/richdata" xmlns:xda="http://schemas.microsoft.com/office/spreadsheetml/2017/dynamicarray"> 4344 <metadataTypes count="1"> 4345 <metadataType name="XLDAPR" minSupportedVersion="120000" copy="1" pasteAll="1" pasteValues="1" merge="1" splitFirst="1" rowColShift="1" clearFormats="1" clearComments="1" assign="1" coerce="1" cellMeta="1"/> 4346 </metadataTypes> 4347 <futureMetadata name="XLDAPR" count="1"> 4348 <bk> 4349 <extLst> 4350 <ext uri="{bdbb8cdc-fa1e-496e-a857-3c3f30c029c3}"> 4351 <xda:dynamicArrayProperties fDynamic="1" fCollapsed="0"/> 4352 </ext> 4353 </extLst> 4354 </bk> 4355 </futureMetadata> 4356 <cellMetadata count="1"> 4357 <bk> 4358 <rc t="1" v="0"/> 4359 </bk> 4360 </cellMetadata> 4361</metadata>`),t.join("")}function PCe(t){var e={};e.i=t.read_shift(4);var r={};r.r=t.read_shift(4),r.c=t.read_shift(4),e.r=sn(r);var n=t.read_shift(1);return n&2&&(e.l="1"),n&8&&(e.a="1"),e}var b0=1024;function EK(t,e){for(var r=[21600,21600],n=["m0,0l0",r[1],r[0],r[1],r[0],"0xe"].join(","),i=[ft("xml",null,{"xmlns:v":Ws.v,"xmlns:o":Ws.o,"xmlns:x":Ws.x,"xmlns:mv":Ws.mv}).replace(/\/>/,">"),ft("o:shapelayout",ft("o:idmap",null,{"v:ext":"edit",data:t}),{"v:ext":"edit"}),ft("v:shapetype",[ft("v:stroke",null,{joinstyle:"miter"}),ft("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202","o:spt":202,coordsize:r.join(","),path:n})];b0<t*1e3;)b0+=1e3;return e.forEach(function(a){var s=ea(a[0]),o={color2:"#BEFF82",type:"gradient"};o.type=="gradient"&&(o.angle="-180");var c=o.type=="gradient"?ft("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}):null,A=ft("v:fill",c,o),u={on:"t",obscured:"t"};++b0,i=i.concat(["<v:shape"+g1({id:"_x0000_s"+b0,type:"#_x0000_t202",style:"position:absolute; margin-left:80pt;margin-top:5pt;width:104pt;height:64pt;z-index:10"+(a[1].hidden?";visibility:hidden":""),fillcolor:"#ECFAD4",strokecolor:"#edeaa1"})+">",A,ft("v:shadow",null,u),ft("v:path",null,{"o:connecttype":"none"}),'<v:textbox><div style="text-align:left"></div></v:textbox>','<x:ClientData ObjectType="Note">',"<x:MoveWithCells/>","<x:SizeWithCells/>",ua("x:Anchor",[s.c+1,0,s.r+1,0,s.c+3,20,s.r+5,20].join(",")),ua("x:AutoFill","False"),ua("x:Row",String(s.r)),ua("x:Column",String(s.c)),a[1].hidden?"":"<x:Visible/>","</x:ClientData>","</v:shape>"])}),i.push("</xml>"),i.join("")}function NK(t){var e=[Ni,ft("comments",null,{xmlns:Vp[0]})],r=[];return e.push("<authors>"),t.forEach(function(n){n[1].forEach(function(i){var a=nn(i.a);r.indexOf(a)==-1&&(r.push(a),e.push("<author>"+a+"</author>")),i.T&&i.ID&&r.indexOf("tc="+i.ID)==-1&&(r.push("tc="+i.ID),e.push("<author>tc="+i.ID+"</author>"))})}),r.length==0&&(r.push("SheetJ5"),e.push("<author>SheetJ5</author>")),e.push("</authors>"),e.push("<commentList>"),t.forEach(function(n){var i=0,a=[];if(n[1][0]&&n[1][0].T&&n[1][0].ID?i=r.indexOf("tc="+n[1][0].ID):n[1].forEach(function(c){c.a&&(i=r.indexOf(nn(c.a))),a.push(c.t||"")}),e.push('<comment ref="'+n[0]+'" authorId="'+i+'"><text>'),a.length<=1)e.push(ua("t",nn(a[0]||"")));else{for(var s=`Comment: 4362 `+a[0]+` 4363`,o=1;o<a.length;++o)s+=`Reply: 4364 `+a[o]+` 4365`;e.push(ua("t",nn(s)))}e.push("</text></comment>")}),e.push("</commentList>"),e.length>2&&(e[e.length]="</comments>",e[1]=e[1].replace("/>",">")),e.join("")}function DCe(t,e,r){var n=[Ni,ft("ThreadedComments",null,{xmlns:$i.TCMNT}).replace(/[\/]>/,">")];return t.forEach(function(i){var a="";(i[1]||[]).forEach(function(s,o){if(!s.T){delete s.ID;return}s.a&&e.indexOf(s.a)==-1&&e.push(s.a);var c={ref:i[0],id:"{54EE7951-7262-4200-6969-"+("000000000000"+r.tcid++).slice(-12)+"}"};o==0?a=c.id:c.parentId=a,s.ID=c.id,s.a&&(c.personId="{54EE7950-7262-4200-6969-"+("000000000000"+e.indexOf(s.a)).slice(-12)+"}"),n.push(ft("threadedComment",ua("text",s.t||""),c))})}),n.push("</ThreadedComments>"),n.join("")}function OCe(t){var e=[Ni,ft("personList",null,{xmlns:$i.TCMNT,"xmlns:x":Vp[0]}).replace(/[\/]>/,">")];return t.forEach(function(r,n){e.push(ft("person",null,{displayName:r,id:"{54EE7950-7262-4200-6969-"+("000000000000"+n).slice(-12)+"}",userId:r,providerId:"None"}))}),e.push("</personList>"),e.join("")}function RCe(t){var e={};e.iauthor=t.read_shift(4);var r=$h(t);return e.rfx=r.s,e.ref=sn(r.s),t.l+=16,e}function UCe(t,e){return e==null&&(e=ze(36)),e.write_shift(4,t[1].iauthor),Kp(t[0],e),e.write_shift(4,0),e.write_shift(4,0),e.write_shift(4,0),e.write_shift(4,0),e}var LCe=Ra;function MCe(t){return ta(t.slice(0,54))}function QCe(t){var e=Fs(),r=[];
4365return et(e,628),et(e,630),t.forEach(function(n){n[1].forEach(function(i){r.indexOf(i.a)>-1||(r.push(i.a.slice(0,54)),et(e,632,MCe(i.a)))})}),et(e,631),et(e,633),t.forEach(function(n){n[1].forEach(function(i){i.iauthor=r.indexOf(i.a);var a={s:ea(n[0]),e:ea(n[0])};et(e,635,UCe([a,i])),i.t&&i.t.length>0&&et(e,637,z2e(i)),et(e,636),delete i.iauthor})}),et(e,634),et(e,629),e.end()}function HCe(t,e){e.FullPaths.forEach(function(r,n){if(n!=0){var i=r.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");i.slice(-1)!=="/"&&un.utils.cfb_add(t,i,e.FileIndex[n].content)}})}var SK=["xlsb","xlsm","xlam","biff8","xla"],zCe=function(){var t=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g,e={r:0,c:0};function r(n,i,a,s){var o=!1,c=!1;a.length==0?c=!0:a.charAt(0)=="["&&(c=!0,a=a.slice(1,-1)),s.length==0?o=!0:s.charAt(0)=="["&&(o=!0,s=s.slice(1,-1));var A=a.length>0?parseInt(a,10)|0:0,u=s.length>0?parseInt(s,10)|0:0;return o?u+=e.c:--u,c?A+=e.r:--A,i+(o?"":"$")+Oa(u)+(c?"":"$")+xa(A)}return function(i,a){return e=a,i.replace(t,r)}}(),rj=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g,nj=function(){return function(e,r){return e.replace(rj,function(n,i,a,s,o,c){var A=XT(s)-(a?0:r.c),u=JT(c)-(o?0:r.r),d=u==0?"":o?u+1:"["+u+"]",f=A==0?"":a?A+1:"["+A+"]";return i+"R"+d+"C"+f})}}();function VCe(t,e){return t.replace(rj,function(r,n,i,a,s,o){return n+(i=="$"?i+a:Oa(XT(a)+e.c))+(s=="$"?s+o:xa(JT(o)+e.r))})}function WCe(t){return t.length!=1}function mi(t){t.l+=1}function ad(t,e){var r=t.read_shift(2);return[r&16383,r>>14&1,r>>15&1]}function _K(t,e,r){var n=2;if(r){if(r.biff>=2&&r.biff<=5)return FK(t);r.biff==12&&(n=4)}var i=t.read_shift(n),a=t.read_shift(n),s=ad(t),o=ad(t);return{s:{r:i,c:s[0],cRel:s[1],rRel:s[2]},e:{r:a,c:o[0],cRel:o[1],rRel:o[2]}}}function FK(t){var e=ad(t),r=ad(t),n=t.read_shift(1),i=t.read_shift(1);return{s:{r:e[0],c:n,cRel:e[1],rRel:e[2]},e:{r:r[0],c:i,cRel:r[1],rRel:r[2]}}}function KCe(t,e,r){if(r.biff<8)return FK(t);var n=t.read_shift(r.biff==12?4:2),i=t.read_shift(r.biff==12?4:2),a=ad(t),s=ad(t);return{s:{r:n,c:a[0],cRel:a[1],rRel:a[2]},e:{r:i,c:s[0],cRel:s[1],rRel:s[2]}}}function TK(t,e,r){if(r&&r.biff>=2&&r.biff<=5)return qCe(t);var n=t.read_shift(r&&r.biff==12?4:2),i=ad(t);return{r:n,c:i[0],cRel:i[1],rRel:i[2]}}function qCe(t){var e=ad(t),r=t.read_shift(1);return{r:e[0],c:r,cRel:e[1],rRel:e[2]}}function GCe(t){var e=t.read_shift(2),r=t.read_shift(2);return{r:e,c:r&255,fQuoted:!!(r&16384),cRel:r>>15,rRel:r>>15}}function JCe(t,e,r){var n=r&&r.biff?r.biff:8;if(n>=2&&n<=5)return XCe(t);var i=t.read_shift(n>=12?4:2),a=t.read_shift(2),s=(a&16384)>>14,o=(a&32768)>>15;if(a&=16383,o==1)for(;i>524287;)i-=1048576;if(s==1)for(;a>8191;)a=a-16384;return{r:i,c:a,cRel:s,rRel:o}}function XCe(t){var e=t.read_shift(2),r=t.read_shift(1),n=(e&32768)>>15,i=(e&16384)>>14;return e&=16383,n==1&&e>=8192&&(e=e-16384),i==1&&r>=128&&(r=r-256),{r:e,c:r,cRel:i,rRel:n}}function YCe(t,e,r){var n=(t[t.l++]&96)>>5,i=_K(t,r.biff>=2&&r.biff<=5?6:8,r);return[n,i]}function ZCe(t,e,r){var n=(t[t.l++]&96)>>5,i=t.read_shift(2,"i"),a=8;if(r)switch(r.biff){case 5:t.l+=12,a=6;break;case 12:a=12;break}var s=_K(t,a,r);return[n,i,s]}function $Ce(t,e,r){var n=(t[t.l++]&96)>>5;return t.l+=r&&r.biff>8?12:r.biff<8?6:8,[n]}function e5e(t,e,r){var n=(t[t.l++]&96)>>5,i=t.read_shift(2),a=8;if(r)switch(r.biff){case 5:t.l+=12,a=6;break;case 12:a=12;break}return t.l+=a,[n,i]}function t5e(t,e,r){var n=(t[t.l++]&96)>>5,i=KCe(t,e-1,r);return[n,i]}function r5e(t,e,r){var n=(t[t.l++]&96)>>5;return t.l+=r.biff==2?6:r.biff==12?14:7,[n]}function WR(t){var e=t[t.l+1]&1,r=1;return t.l+=4,[e,r]}function n5e(t,e,r){t.l+=2;for(var n=t.read_shift(r&&r.biff==2?1:2),i=[],a=0;a<=n;++a)i.push(t.read_shift(r&&r.biff==2?1:2));return i}function i5e(t,e,r){var n=t[t.l+1]&255?1:0;return t.l+=2,[n,t.read_shift(r&&r.biff==2?1:2)]}function a5e(t,e,r){var n=t[t.l+1]&255?1:0;return t.l+=2,[n,t.read_shift(r&&r.biff==2?1:2)]}function s5e(t){var e=t[t.l+1]&255?1:0;return t.l+=2,[e,t.read_shift(2)]}function o5e(t,e,r){var n=t[t.l+1]&255?1:0;return t.l+=r&&r.biff==2?3:4,[n]}function jK(t){var e=t.read_shift(1),r=t.read_shift(1);return[e,r]}function l5e(t){return t.read_shift(2),jK(t)}function c5e(t){return t.read_shift(2),jK(t)}function A5e(t,e,r){var n=(t[t.l]&96)>>5;t.l+=1;var i=TK(t,0,r);return[n,i]}function u5e(t,e,r){var n=(t[t.l]&96)>>5;t.l+=1;var i=JCe(t,0,r);return[n,i]}function d5e(t,e,r){var n=(t[t.l]&96)>>5;t.l+=1;var i=t.read_shift(2);
4365r&&r.biff==5&&(t.l+=12);var a=TK(t,0,r);return[n,i,a]}function h5e(t,e,r){var n=(t[t.l]&96)>>5;t.l+=1;var i=t.read_shift(r&&r.biff<=3?1:2);return[hBe[i],PK[i],n]}function f5e(t,e,r){var n=t[t.l++],i=t.read_shift(1),a=r&&r.biff<=3?[n==88?-1:0,t.read_shift(1)]:p5e(t);return[i,(a[0]===0?PK:dBe)[a[1]]]}function p5e(t){return[t[t.l+1]>>7,t.read_shift(2)&32767]}function m5e(t,e,r){t.l+=r&&r.biff==2?3:4}function g5e(t,e,r){if(t.l++,r&&r.biff==12)return[t.read_shift(4,"i"),0];var n=t.read_shift(2),i=t.read_shift(r&&r.biff==2?1:2);return[n,i]}function v5e(t){return t.l++,ax[t.read_shift(1)]}function x5e(t){return t.l++,t.read_shift(2)}function y5e(t){return t.l++,t.read_shift(1)!==0}function w5e(t){return t.l++,qp(t)}function b5e(t,e,r){return t.l++,hK(t,e-1,r)}function C5e(t,e){var r=[t.read_shift(1)];if(e==12)switch(r[0]){case 2:r[0]=4;break;case 4:r[0]=16;break;case 0:r[0]=1;break;case 1:r[0]=2;break}switch(r[0]){case 4:r[1]=dbe(t,1)?"TRUE":"FALSE",e!=12&&(t.l+=7);break;case 37:case 16:r[1]=ax[t[t.l]],t.l+=e==12?4:8;break;case 0:t.l+=8;break;case 1:r[1]=qp(t);break;case 2:r[1]=mbe(t,0,{biff:e>0&&e<8?2:e});break;default:throw new Error("Bad SerAr: "+r[0])}return r}function B5e(t,e,r){for(var n=t.read_shift(r.biff==12?4:2),i=[],a=0;a!=n;++a)i.push((r.biff==12?$h:xbe)(t));return i}function E5e(t,e,r){var n=0,i=0;r.biff==12?(n=t.read_shift(4),i=t.read_shift(4)):(i=1+t.read_shift(1),n=1+t.read_shift(2)),r.biff>=2&&r.biff<8&&(--n,--i==0&&(i=256));for(var a=0,s=[];a!=n&&(s[a]=[]);++a)for(var o=0;o!=i;++o)s[a][o]=C5e(t,r.biff);return s}function N5e(t,e,r){var n=t.read_shift(1)>>>5&3,i=!r||r.biff>=8?4:2,a=t.read_shift(i);switch(r.biff){case 2:t.l+=5;break;case 3:case 4:t.l+=8;break;case 5:t.l+=12;break}return[n,0,a]}function S5e(t,e,r){if(r.biff==5)return _5e(t);var n=t.read_shift(1)>>>5&3,i=t.read_shift(2),a=t.read_shift(4);return[n,i,a]}function _5e(t){var e=t.read_shift(1)>>>5&3,r=t.read_shift(2,"i");t.l+=8;var n=t.read_shift(2);return t.l+=12,[e,r,n]}function F5e(t,e,r){var n=t.read_shift(1)>>>5&3;t.l+=r&&r.biff==2?3:4;var i=t.read_shift(r&&r.biff==2?1:2);return[n,i]}function T5e(t,e,r){var n=t.read_shift(1)>>>5&3,i=t.read_shift(r&&r.biff==2?1:2);return[n,i]}function j5e(t,e,r){var n=t.read_shift(1)>>>5&3;return t.l+=4,r.biff<8&&t.l--,r.biff==12&&(t.l+=2),[n]}function I5e(t,e,r){var n=(t[t.l++]&96)>>5,i=t.read_shift(2),a=4;if(r)switch(r.biff){case 5:a=15;break;case 12:a=6;break}return t.l+=a,[n,i]}var k5e=fc,P5e=fc,D5e=fc;function sx(t,e,r){return t.l+=2,[GCe(t)]}function ij(t){return t.l+=6,[]}
vendor: 6,429 bytes, line 4365
4365var O5e=sx,R5e=ij,U5e=ij,L5e=sx;function IK(t){return t.l+=2,[uK(t),t.read_shift(2)&1]}var M5e=sx,Q5e=IK,H5e=ij,z5e=sx,V5e=sx,W5e=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];function K5e(t){t.l+=2;var e=t.read_shift(2),r=t.read_shift(2),n=t.read_shift(4),i=t.read_shift(2),a=t.read_shift(2),s=W5e[r>>2&31];return{ixti:e,coltype:r&3,rt:s,idx:n,c:i,C:a}}function q5e(t){return t.l+=2,[t.read_shift(4)]}function G5e(t,e,r){return t.l+=5,t.l+=2,t.l+=r.biff==2?1:4,["PTGSHEET"]}function J5e(t,e,r){return t.l+=r.biff==2?4:5,["PTGENDSHEET"]}function X5e(t){var e=t.read_shift(1)>>>5&3,r=t.read_shift(2);return[e,r]}function Y5e(t){var e=t.read_shift(1)>>>5&3,r=t.read_shift(2);return[e,r]}function Z5e(t){return t.l+=4,[0,0]}var KR={1:{n:"PtgExp",f:g5e},2:{n:"PtgTbl",f:D5e},3:{n:"PtgAdd",f:mi},4:{n:"PtgSub",f:mi},5:{n:"PtgMul",f:mi},6:{n:"PtgDiv",f:mi},7:{n:"PtgPower",f:mi},8:{n:"PtgConcat",f:mi},9:{n:"PtgLt",f:mi},10:{n:"PtgLe",f:mi},11:{n:"PtgEq",f:mi},12:{n:"PtgGe",f:mi},13:{n:"PtgGt",f:mi},14:{n:"PtgNe",f:mi},15:{n:"PtgIsect",f:mi},16:{n:"PtgUnion",f:mi},17:{n:"PtgRange",f:mi},18:{n:"PtgUplus",f:mi},19:{n:"PtgUminus",f:mi},20:{n:"PtgPercent",f:mi},21:{n:"PtgParen",f:mi},22:{n:"PtgMissArg",f:mi},23:{n:"PtgStr",f:b5e},26:{n:"PtgSheet",f:G5e},27:{n:"PtgEndSheet",f:J5e},28:{n:"PtgErr",f:v5e},29:{n:"PtgBool",f:y5e},30:{n:"PtgInt",f:x5e},31:{n:"PtgNum",f:w5e},32:{n:"PtgArray",f:r5e},33:{n:"PtgFunc",f:h5e},34:{n:"PtgFuncVar",f:f5e},35:{n:"PtgName",f:N5e},36:{n:"PtgRef",f:A5e},37:{n:"PtgArea",f:YCe},38:{n:"PtgMemArea",f:F5e},39:{n:"PtgMemErr",f:k5e},40:{n:"PtgMemNoMem",f:P5e},41:{n:"PtgMemFunc",f:T5e},42:{n:"PtgRefErr",f:j5e},43:{n:"PtgAreaErr",f:$Ce},44:{n:"PtgRefN",f:u5e},45:{n:"PtgAreaN",f:t5e},46:{n:"PtgMemAreaN",f:X5e},47:{n:"PtgMemNoMemN",f:Y5e},57:{n:"PtgNameX",f:S5e},58:{n:"PtgRef3d",f:d5e},59:{n:"PtgArea3d",f:ZCe},60:{n:"PtgRefErr3d",f:I5e},61:{n:"PtgAreaErr3d",f:e5e},255:{}},$5e={64:32,96:32,65:33,97:33,66:34,98:34,67:35,99:35,68:36,100:36,69:37,101:37,70:38,102:38,71:39,103:39,72:40,104:40,73:41,105:41,74:42,106:42,75:43,107:43,76:44,108:44,77:45,109:45,78:46,110:46,79:47,111:47,88:34,120:34,89:57,121:57,90:58,122:58,91:59,123:59,92:60,124:60,93:61,125:61},eBe={1:{n:"PtgElfLel",f:IK},2:{n:"PtgElfRw",f:z5e},3:{n:"PtgElfCol",f:O5e},6:{n:"PtgElfRwV",f:V5e},7:{n:"PtgElfColV",f:L5e},10:{n:"PtgElfRadical",f:M5e},11:{n:"PtgElfRadicalS",f:H5e},13:{n:"PtgElfColS",f:R5e},15:{n:"PtgElfColSV",f:U5e},16:{n:"PtgElfRadicalLel",f:Q5e},25:{n:"PtgList",f:K5e},29:{n:"PtgSxName",f:q5e},255:{}},tBe={0:{n:"PtgAttrNoop",f:Z5e},1:{n:"PtgAttrSemi",f:o5e},2:{n:"PtgAttrIf",f:a5e},4:{n:"PtgAttrChoose",f:n5e},8:{n:"PtgAttrGoto",f:i5e},16:{n:"PtgAttrSum",f:m5e},32:{n:"PtgAttrBaxcel",f:WR},33:{n:"PtgAttrBaxcel",f:WR},64:{n:"PtgAttrSpace",f:l5e},65:{n:"PtgAttrSpaceSemi",f:c5e},128:{n:"PtgAttrIfError",f:s5e},255:{}};function rBe(t,e,r,n){if(n.biff<8)return fc(t,e);for(var i=t.l+e,a=[],s=0;s!==r.length;++s)switch(r[s][0]){case"PtgArray":r[s][1]=E5e(t,0,n),a.push(r[s][1]);break;case"PtgMemArea":r[s][2]=B5e(t,r[s][1],n),a.push(r[s][2]);break;case"PtgExp":n&&n.biff==12&&(r[s][1][1]=t.read_shift(4),a.push(r[s][1]));break;case"PtgList":case"PtgElfRadicalS":case"PtgElfColS":case"PtgElfColSV":throw"Unsupported "+r[s][0]}return e=i-t.l,e!==0&&a.push(fc(t,e)),a}function nBe(t,e,r){for(var n=t.l+e,i,a,s=[];n!=t.l;)e=n-t.l,a=t[t.l],i=KR[a]||KR[$5e[a]],(a===24||a===25)&&(i=(a===24?eBe:tBe)[t[t.l+1]]),!i||!i.f?fc(t,e):s.push([i.n,i.f(t,e,r)]);return s}function iBe(t){for(var e=[],r=0;r<t.length;++r){for(var n=t[r],i=[],a=0;a<n.length;++a){var s=n[a];if(s)switch(s[0]){case 2:i.push('"'+s[1].replace(/"/g,'""')+'"');break;default:i.push(s[1])}else i.push("")}e.push(i.join(","))}return e.join(";")}var aBe={PtgAdd:"+",PtgConcat:"&",PtgDiv:"/",PtgEq:"=",PtgGe:">=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function sBe(t,e){if(!t&&!(e&&e.biff<=5&&e.biff>=2))throw new Error("empty sheet name");return/[^\w\u4E00-\u9FFF\u3040-\u30FF]/.test(t)?"'"+t+"'":t}function kK(t,e,r){if(!t)return"SH33TJSERR0";if(r.biff>8&&(!t.XTI||!t.XTI[e]))return t.SheetNames[e];if(!t.XTI)return"SH33TJSERR6";var n=t.XTI[e];if(r.biff<8)return e>1e4&&(e-=65536),e<0&&(e=-e),e==0?"":t.XTI[e-1];if(!n)return"SH33TJSERR1";var i="";if(r.biff>8)switch(t[n[0]][0]){case 357:return i=n[1]==-1?"#REF":t.SheetNames[n[1]],n[1]==n[2]?i:i+":"+t.SheetNames[n[2]];case 358:return r.SID!=null?t.SheetNames[r.SID]:"SH33TJSSAME"+t[n[0]][0];case 355:default:return"SH33TJSSRC"+t[n[0]][0]}switch(t[n[0]][0][0]){case 1025:return i=n[1]==-1?"#REF":t.SheetNames[n[1]]||"SH33TJSERR3",n[1]==n[2]?i:i+":"+t.SheetNames[n[2]];case 14849:return t[n[0]].slice(1).map(function(a){return a.Name}).join(";;");default:return t[n[0]][0][3]?(i=n[1]==-1?"#REF":t[n[0]][0][3][n[1]]||"SH33TJSERR4",n[1]==n[2]?i:i+":"+t[n[0]][0][3][n[2]]):"SH33TJSERR2"}}function qR(t,e,r){var n=kK(t,e,r);return n=="#REF"?n:sBe(n,r)}function vp(t,e,r,n,i){var a=i&&i.biff||8,s={s:{c:0,r:0},e:{c:0,r:0}},o=[],c,A,u,d=0,f=0,h,m="";if(!t[0]||!t[0][0])return"";for(var p=-1,x="",v=0,y=t[0].length;v<y;++v){var b=t[0][v];switch(b[0]){case"PtgUminus":o.push("-"+o.pop());break;case"PtgUplus":o.push("+"+o.pop());break;case"PtgPercent":o.push(o.pop()+"%");break;case"PtgAdd":case"PtgConcat":case"PtgDiv":case"PtgEq":case"PtgGe":case"PtgGt":case"PtgLe":case"PtgLt":case"PtgMul":case"PtgNe":case"PtgPower":case"PtgSub":if(c=o.pop(),A=o.pop(),p>=0){switch(t[0][p][1][0]){case 0:x=Yn(" ",t[0][p][1][1]);break;case 1:x=Yn("\r",t[0][p][1][1]);break;default:if(x="",i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+t[0][p][1][0])}A=A+x,p=-1}o.push(A+aBe[b[0]]+c);break;case"PtgIsect":c=o.pop(),A=o.pop(),o.push(A+" "+c);break;case"PtgUnion":c=o.pop(),A=o.pop(),o.push(A+","+c);break;case"PtgRange":c=o.pop(),A=o.pop(),o.push(A+":"+c);break;case"PtgAttrChoose":break;case"PtgAttrGoto":break;case"PtgAttrIf":break;case"PtgAttrIfError":break;case"PtgRef":u=dv(b[1][1],s,i),o.push(hv(u,a));break;case"PtgRefN":u=r?dv(b[1][1],r,i):b[1][1],o.push(hv(u,a));break;case"PtgRef3d":d=b[1][1],u=dv(b[1][2],s,i),m=qR(n,d,i),o.push(m+"!"+hv(u,a));break;case"PtgFunc":case"PtgFuncVar":var E=b[1][0],S=b[1][1];E||(E=0),E&=127;var I=E==0?[]:o.slice(-E);o.length-=E,S==="User"&&(S=I.shift()),o.push(S+"("+I.join(",")+")");break;case"PtgBool":o.push(b[1]?"TRUE":"FALSE");break;case"PtgInt":o.push(b[1]);break;
vendor: 3,558 bytes, line 4365
4365case"PtgNum":o.push(String(b[1]));break;case"PtgStr":o.push('"'+b[1].replace(/"/g,'""')+'"');break;case"PtgErr":o.push(b[1]);break;case"PtgAreaN":h=jR(b[1][1],r?{s:r}:s,i),o.push(O4(h,i));break;case"PtgArea":h=jR(b[1][1],s,i),o.push(O4(h,i));break;case"PtgArea3d":d=b[1][1],h=b[1][2],m=qR(n,d,i),o.push(m+"!"+O4(h,i));break;case"PtgAttrSum":o.push("SUM("+o.pop()+")");break;case"PtgAttrBaxcel":case"PtgAttrSemi":break;case"PtgName":f=b[1][2];var B=(n.names||[])[f-1]||(n[0]||[])[f],_=B?B.Name:"SH33TJSNAME"+String(f);_&&_.slice(0,6)=="_xlfn."&&!i.xlfn&&(_=_.slice(6)),o.push(_);break;case"PtgNameX":var O=b[1][1];f=b[1][2];var j;if(i.biff<=5)O<0&&(O=-O),n[O]&&(j=n[O][f]);else{var T="";if(((n[O]||[])[0]||[])[0]==14849||(((n[O]||[])[0]||[])[0]==1025?n[O][f]&&n[O][f].itab>0&&(T=n.SheetNames[n[O][f].itab-1]+"!"):T=n.SheetNames[f-1]+"!"),n[O]&&n[O][f])T+=n[O][f].Name;else if(n[0]&&n[0][f])T+=n[0][f].Name;else{var P=(kK(n,O,i)||"").split(";;");P[f-1]?T=P[f-1]:T+="SH33TJSERRX"}o.push(T);break}j||(j={Name:"SH33TJSERRY"}),o.push(j.Name);break;case"PtgParen":var L="(",K=")";if(p>=0){switch(x="",t[0][p][1][0]){case 2:L=Yn(" ",t[0][p][1][1])+L;break;case 3:L=Yn("\r",t[0][p][1][1])+L;break;case 4:K=Yn(" ",t[0][p][1][1])+K;break;case 5:K=Yn("\r",t[0][p][1][1])+K;break;default:if(i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+t[0][p][1][0])}p=-1}o.push(L+o.pop()+K);break;case"PtgRefErr":o.push("#REF!");break;case"PtgRefErr3d":o.push("#REF!");break;case"PtgExp":u={c:b[1][1],r:b[1][0]};var le={c:r.c,r:r.r};if(n.sharedf[sn(u)]){var ne=n.sharedf[sn(u)];o.push(vp(ne,s,le,n,i))}else{var fe=!1;for(c=0;c!=n.arrayf.length;++c)if(A=n.arrayf[c],!(u.c<A[0].s.c||u.c>A[0].e.c)&&!(u.r<A[0].s.r||u.r>A[0].e.r)){o.push(vp(A[1],s,le,n,i)),fe=!0;break}fe||o.push(b[1])}break;case"PtgArray":o.push("{"+iBe(b[1])+"}");break;case"PtgMemArea":break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":p=v;break;case"PtgTbl":break;case"PtgMemErr":break;case"PtgMissArg":o.push("");break;case"PtgAreaErr":o.push("#REF!");break;case"PtgAreaErr3d":o.push("#REF!");break;case"PtgList":o.push("Table"+b[1].idx+"[#"+b[1].rt+"]");break;case"PtgMemAreaN":case"PtgMemNoMemN":case"PtgAttrNoop":case"PtgSheet":case"PtgEndSheet":break;case"PtgMemFunc":break;case"PtgMemNoMem":break;case"PtgElfCol":case"PtgElfColS":case"PtgElfColSV":case"PtgElfColV":case"PtgElfLel":case"PtgElfRadical":case"PtgElfRadicalLel":case"PtgElfRadicalS":case"PtgElfRw":case"PtgElfRwV":throw new Error("Unsupported ELFs");case"PtgSxName":throw new Error("Unrecognized Formula Token: "+String(b));default:throw new Error("Unrecognized Formula Token: "+String(b))}var te=["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"];if(i.biff!=3&&p>=0&&te.indexOf(t[0][v][0])==-1){b=t[0][p];var he=!0;switch(b[1][0]){case 4:he=!1;case 0:x=Yn(" ",b[1][1]);break;case 5:he=!1;case 1:x=Yn("\r",b[1][1]);break;default:if(x="",i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+b[1][0])}o.push((he?x:"")+o.pop()+(he?"":x)),p=-1}}if(o.length>1&&i.WTF)throw new Error("bad formula stack");return o[0]}function oBe(t){if(t==null){var e=ze(8);return e.write_shift(1,3),e.write_shift(1,0),e.write_shift(2,0),e.write_shift(2,0),e.write_shift(2,65535),e}else if(typeof t=="number")return kh(t);return kh(0)}function lBe(t,e,r,n,i){var a=Ph(e,r,i),s=oBe(t.v),o=ze(6),c=33;o.write_shift(2,c),o.write_shift(4,0);for(var A=ze(t.bf.length),u=0;u<t.bf.length;++u)A[u]=t.bf[u];var d=Aa([a,s,o,A]);return d}function K5(t,e,r){var n=t.read_shift(4),i=nBe(t,n,r),a=t.read_shift(4),s=a>0?rBe(t,a,i,r):null;return[i,s]}var cBe=K5,q5=K5,ABe=K5,uBe=K5,dBe
vendor: 7,370 bytes, line 4365
4365={0:"BEEP",1:"OPEN",2:"OPEN.LINKS",3:"CLOSE.ALL",4:"SAVE",5:"SAVE.AS",6:"FILE.DELETE",7:"PAGE.SETUP",8:"PRINT",9:"PRINTER.SETUP",10:"QUIT",11:"NEW.WINDOW",12:"ARRANGE.ALL",13:"WINDOW.SIZE",14:"WINDOW.MOVE",15:"FULL",16:"CLOSE",17:"RUN",22:"SET.PRINT.AREA",23:"SET.PRINT.TITLES",24:"SET.PAGE.BREAK",25:"REMOVE.PAGE.BREAK",26:"FONT",27:"DISPLAY",28:"PROTECT.DOCUMENT",29:"PRECISION",30:"A1.R1C1",31:"CALCULATE.NOW",32:"CALCULATION",34:"DATA.FIND",35:"EXTRACT",36:"DATA.DELETE",37:"SET.DATABASE",38:"SET.CRITERIA",39:"SORT",40:"DATA.SERIES",41:"TABLE",42:"FORMAT.NUMBER",43:"ALIGNMENT",44:"STYLE",45:"BORDER",46:"CELL.PROTECTION",47:"COLUMN.WIDTH",48:"UNDO",49:"CUT",50:"COPY",51:"PASTE",52:"CLEAR",53:"PASTE.SPECIAL",54:"EDIT.DELETE",55:"INSERT",56:"FILL.RIGHT",57:"FILL.DOWN",61:"DEFINE.NAME",62:"CREATE.NAMES",63:"FORMULA.GOTO",64:"FORMULA.FIND",65:"SELECT.LAST.CELL",66:"SHOW.ACTIVE.CELL",67:"GALLERY.AREA",68:"GALLERY.BAR",69:"GALLERY.COLUMN",70:"GALLERY.LINE",71:"GALLERY.PIE",72:"GALLERY.SCATTER",73:"COMBINATION",74:"PREFERRED",75:"ADD.OVERLAY",76:"GRIDLINES",77:"SET.PREFERRED",78:"AXES",79:"LEGEND",80:"ATTACH.TEXT",81:"ADD.ARROW",82:"SELECT.CHART",83:"SELECT.PLOT.AREA",84:"PATTERNS",85:"MAIN.CHART",86:"OVERLAY",87:"SCALE",88:"FORMAT.LEGEND",89:"FORMAT.TEXT",90:"EDIT.REPEAT",91:"PARSE",92:"JUSTIFY",93:"HIDE",94:"UNHIDE",95:"WORKSPACE",96:"FORMULA",97:"FORMULA.FILL",98:"FORMULA.ARRAY",99:"DATA.FIND.NEXT",100:"DATA.FIND.PREV",101:"FORMULA.FIND.NEXT",102:"FORMULA.FIND.PREV",103:"ACTIVATE",104:"ACTIVATE.NEXT",105:"ACTIVATE.PREV",106:"UNLOCKED.NEXT",107:"UNLOCKED.PREV",108:"COPY.PICTURE",109:"SELECT",110:"DELETE.NAME",111:"DELETE.FORMAT",112:"VLINE",113:"HLINE",114:"VPAGE",115:"HPAGE",116:"VSCROLL",117:"HSCROLL",118:"ALERT",119:"NEW",120:"CANCEL.COPY",121:"SHOW.CLIPBOARD",122:"MESSAGE",124:"PASTE.LINK",125:"APP.ACTIVATE",126:"DELETE.ARROW",127:"ROW.HEIGHT",128:"FORMAT.MOVE",129:"FORMAT.SIZE",130:"FORMULA.REPLACE",131:"SEND.KEYS",132:"SELECT.SPECIAL",133:"APPLY.NAMES",134:"REPLACE.FONT",135:"FREEZE.PANES",136:"SHOW.INFO",137:"SPLIT",138:"ON.WINDOW",139:"ON.DATA",140:"DISABLE.INPUT",142:"OUTLINE",143:"LIST.NAMES",144:"FILE.CLOSE",145:"SAVE.WORKBOOK",146:"DATA.FORM",147:"COPY.CHART",148:"ON.TIME",149:"WAIT",150:"FORMAT.FONT",151:"FILL.UP",152:"FILL.LEFT",153:"DELETE.OVERLAY",155:"SHORT.MENUS",159:"SET.UPDATE.STATUS",161:"COLOR.PALETTE",162:"DELETE.STYLE",163:"WINDOW.RESTORE",164:"WINDOW.MAXIMIZE",166:"CHANGE.LINK",167:"CALCULATE.DOCUMENT",168:"ON.KEY",169:"APP.RESTORE",170:"APP.MOVE",171:"APP.SIZE",172:"APP.MINIMIZE",173:"APP.MAXIMIZE",174:"BRING.TO.FRONT",175:"SEND.TO.BACK",185:"MAIN.CHART.TYPE",186:"OVERLAY.CHART.TYPE",187:"SELECT.END",188:"OPEN.MAIL",189:"SEND.MAIL",190:"STANDARD.FONT",191:"CONSOLIDATE",192:"SORT.SPECIAL",193:"GALLERY.3D.AREA",194:"GALLERY.3D.COLUMN",195:"GALLERY.3D.LINE",196:"GALLERY.3D.PIE",197:"VIEW.3D",198:"GOAL.SEEK",199:"WORKGROUP",200:"FILL.GROUP",201:"UPDATE.LINK",202:"PROMOTE",203:"DEMOTE",204:"SHOW.DETAIL",206:"UNGROUP",207:"OBJECT.PROPERTIES",208:"SAVE.NEW.OBJECT",209:"SHARE",210:"SHARE.NAME",211:"DUPLICATE",212:"APPLY.STYLE",213:"ASSIGN.TO.OBJECT",214:"OBJECT.PROTECTION",215:"HIDE.OBJECT",216:"SET.EXTRACT",217:"CREATE.PUBLISHER",218:"SUBSCRIBE.TO",219:"ATTRIBUTES",220:"SHOW.TOOLBAR",222:"PRINT.PREVIEW",223:"EDIT.COLOR",224:"SHOW.LEVELS",225:"FORMAT.MAIN",226:"FORMAT.OVERLAY",227:"ON.RECALC",228:"EDIT.SERIES",229:"DEFINE.STYLE",240:"LINE.PRINT",243:"ENTER.DATA",249:"GALLERY.RADAR",250:"MERGE.STYLES",251:"EDITION.OPTIONS",252:"PASTE.PICTURE",253:"PASTE.PICTURE.LINK",254:"SPELLING",256:"ZOOM",259:"INSERT.OBJECT",260:"WINDOW.MINIMIZE",265:"SOUND.NOTE",266:"SOUND.PLAY",267:"FORMAT.SHAPE",268:"EXTEND.POLYGON",269:"FORMAT.AUTO",272:"GALLERY.3D.BAR",273:"GALLERY.3D.SURFACE",274:"FILL.AUTO",276:"CUSTOMIZE.TOOLBAR",277:"ADD.TOOL",278:"EDIT.OBJECT",279:"ON.DOUBLECLICK",280:"ON.ENTRY",281:"WORKBOOK.ADD",282:"WORKBOOK.MOVE",283:"WORKBOOK.COPY",284:"WORKBOOK.OPTIONS",285:"SAVE.WORKSPACE",288:"CHART.WIZARD",289:"DELETE.TOOL",290:"MOVE.TOOL",291:"WORKBOOK.SELECT",292:"WORKBOOK.ACTIVATE",293:"ASSIGN.TO.TOOL",295:"COPY.TOOL",296:"RESET.TOOL",297:"CONSTRAIN.NUMERIC",298:"PASTE.TOOL",302:"WORKBOOK.NEW",305:"SCENARIO.CELLS",306:"SCENARIO.DELETE",307:"SCENARIO.ADD",308:"SCENARIO.EDIT",309:"SCENARIO.SHOW",310:"SCENARIO.SHOW.NEXT",311:"SCENARIO.SUMMARY",312:"PIVOT.TABLE.WIZARD",313:"PIVOT.FIELD.PROPERTIES",314:"PIVOT.FIELD",315:"PIVOT.ITEM",316:"PIVOT.ADD.FIELDS",318:"OPTIONS.CALCULATION",319:"OPTIONS.EDIT",320:"OPTIONS.VIEW",321:"ADDIN.MANAGER",322:"MENU.EDITOR",323:"ATTACH.TOOLBARS",324:"VBAActivate",325:"OPTIONS.CHART",328:"VBA.INSERT.FILE",330:"VBA.PROCEDURE.DEFINITION",336:"ROUTING.SLIP",338:"ROUTE.DOCUMENT",339:"MAIL.LOGON",342:"INSERT.PICTURE",343:"EDIT.TOOL",344:"GALLERY.DOUGHNUT",350:"CHART.TREND",352:"PIVOT.ITEM.PROPERTIES",354:"WORKBOOK.INSERT",355:"OPTIONS.TRANSITION",356:"OPTIONS.GENERAL",370:"FILTER.ADVANCED",373:"MAIL.ADD.MAILER",374:"MAIL.DELETE.MAILER",375:"MAIL.REPLY",376:"MAIL.REPLY.ALL",377:"MAIL.FORWARD",378:"MAIL.NEXT.LETTER",379:"DATA.LABEL",380:"INSERT.TITLE",381:"FONT.PROPERTIES",382:"MACRO.OPTIONS",383:"WORKBOOK.HIDE",384:"WORKBOOK.UNHIDE",385:"WORKBOOK.DELETE",386:"WORKBOOK.NAME",388:"GALLERY.CUSTOM",390:"ADD.CHART.AUTOFORMAT",391:"DELETE.CHART.AUTOFORMAT",392:"CHART.ADD.DATA",393:"AUTO.OUTLINE",394:"TAB.ORDER",395:"SHOW.DIALOG",396:"SELECT.ALL",397:"UNGROUP.SHEETS",398:"SUBTOTAL.CREATE",399:"SUBTOTAL.REMOVE",400:"RENAME.OBJECT",412:"WORKBOOK.SCROLL",413:"WORKBOOK.NEXT",414:"WORKBOOK.PREV",415:"WORKBOOK.TAB.SPLIT",416:"FULL.SCREEN",417:"WORKBOOK.PROTECT",420:"SCROLLBAR.PROPERTIES",421:"PIVOT.SHOW.PAGES",422:"TEXT.TO.COLUMNS",423:"FORMAT.CHARTTYPE",424:"LINK.FORMAT",425:"TRACER.DISPLAY",430:"TRACER.NAVIGATE",431:"TRACER.CLEAR",432:"TRACER.ERROR",433:"PIVOT.FIELD.GROUP",434:"PIVOT.FIELD.UNGROUP",435:"CHECKBOX.PROPERTIES",436:"LABEL.PROPERTIES",437:"LISTBOX.PROPERTIES",438:"EDITBOX.PROPERTIES",439:"PIVOT.REFRESH",440:"LINK.COMBO",441:"OPEN.TEXT",442:"HIDE.DIALOG",443:"SET.DIALOG.FOCUS",444:"ENABLE.OBJECT",445:"PUSHBUTTON.PROPERTIES",446:"SET.DIALOG.DEFAULT",447:"FILTER",448:"FILTER.SHOW.ALL",449:"CLEAR.OUTLINE",450:"FUNCTION.WIZARD",451:"ADD.LIST.ITEM",452:"SET.LIST.ITEM",453:"REMOVE.LIST.ITEM",454:"SELECT.LIST.ITEM",455:"SET.CONTROL.VALUE",456:"SAVE.COPY.AS",458:"OPTIONS.LISTS.ADD",459:"OPTIONS.LISTS.DELETE",460:"SERIES.AXES",461:"SERIES.X",462:"SERIES.Y",463:"ERRORBAR.X",464:"ERRORBAR.Y",465:"FORMAT.CHART",466:"SERIES.ORDER",467:"MAIL.LOGOFF",468:"CLEAR.ROUTING.SLIP",469:"APP.ACTIVATE.MICROSOFT",470:"MAIL.EDIT.MAILER",471:"ON.SHEET",472:"STANDARD.WIDTH",473:"SCENARIO.MERGE",474:"SUMMARY.INFO",475:"FIND.FILE",476:"ACTIVE.CELL.FONT",477:"ENABLE.TIPWIZARD",478:"VBA.MAKE.ADDIN",480:"INSERTDATATABLE",481:"WORKGROUP.OPTIONS",482:"MAIL.SEND.MAILER",485:"AUTOCORRECT",489:"POST.DOCUMENT",491:"PICKLIST",493:"VIEW.SHOW",494:"VIEW.DEFINE",495:"VIEW.DELETE",509:"SHEET.BACKGROUND",510:"INSERT.MAP.OBJECT",511:"OPTIONS.MENONO",517:"MSOCHECKS",518:"NORMAL",519:"LAYOUT",520:"RM.PRINT.AREA",521:"CLEAR.PRINT.AREA",522:"ADD.PRINT.AREA",523:"MOVE.BRK",545:"HIDECURR.NOTE",546:"HIDEALL.NOTES",547:"DELETE.NOTE",548:"TRAVERSE.NOTES",549:"ACTIVATE.NOTES",620:"PROTECT.REVISIONS",621:"UNPROTECT.REVISIONS",647:"OPTIONS.ME",653:"WEB.PUBLISH",667:"NEWWEBQUERY",673:"PIVOT.TABLE.CHART",753:"OPTIONS.SAVE",755:"OPTIONS.SPELL",808:"HIDEALL.INKANNOTS"},
4365PK={0:"COUNT",1:"IF",2:"ISNA",3:"ISERROR",4:"SUM",5:"AVERAGE",6:"MIN",7:"MAX",8:"ROW",9:"COLUMN",10:"NA",11:"NPV",12:"STDEV",13:"DOLLAR",14:"FIXED",15:"SIN",16:"COS",17:"TAN",18:"ATAN",19:"PI",20:"SQRT",21:"EXP",22:"LN",23:"LOG10",24:"ABS",25:"INT",26:"SIGN",27:"ROUND",28:"LOOKUP",29:"INDEX",30:"REPT",31:"MID",32:"LEN",33:"VALUE",34:"TRUE",35:"FALSE",36:"AND",37:"OR",38:"NOT",39:"MOD",40:"DCOUNT",41:"DSUM",42:"DAVERAGE",43:"DMIN",44:"DMAX",45:"DSTDEV",46:"VAR",47:"DVAR",48:"TEXT",49:"LINEST",50:"TREND",51:"LOGEST",52:"GROWTH",53:"GOTO",54:"HALT",55:"RETURN",56:"PV",57:"FV",58:"NPER",59:"PMT",60:"RATE",61:"MIRR",62:"IRR",63:"RAND",64:"MATCH",65:"DATE",66:"TIME",67:"DAY",68:"MONTH",69:"YEAR",70:"WEEKDAY",71:"HOUR",72:"MINUTE",73:"SECOND",74:"NOW",75:"AREAS",76:"ROWS",77:"COLUMNS",78:"OFFSET",79:"ABSREF",80:"RELREF",81:"ARGUMENT",82:"SEARCH",83:"TRANSPOSE",84:"ERROR",85:"STEP",86:"TYPE",87:"ECHO",88:"SET.NAME",89:"CALLER",90:"DEREF",91:"WINDOWS",92:"SERIES",93:"DOCUMENTS",94:"ACTIVE.CELL",95:"SELECTION",96:"RESULT",97:"ATAN2",98:"ASIN",99:"ACOS",100:"CHOOSE",101:"HLOOKUP",102:"VLOOKUP",103:"LINKS",104:"INPUT",105:"ISREF",106:"GET.FORMULA",107:"GET.NAME",108:"SET.VALUE",109:"LOG",110:"EXEC",111:"CHAR",112:"LOWER",113:"UPPER",114:"PROPER",115:"LEFT",116:"RIGHT",117:"EXACT",118:"TRIM",119:"REPLACE",120:"SUBSTITUTE",121:"CODE",122:"NAMES",123:"DIRECTORY",124:"FIND",125:"CELL",126:"ISERR",127:"ISTEXT",128:"ISNUMBER",129:"ISBLANK",130:"T",131:"N",132:"FOPEN",133:"FCLOSE",134:"FSIZE",135:"FREADLN",136:"FREAD",137:"FWRITELN",138:"FWRITE",139:"FPOS",140:"DATEVALUE",141:"TIMEVALUE",142:"SLN",143:"SYD",144:"DDB",145:"GET.DEF",146:"REFTEXT",147:"TEXTREF",148:"INDIRECT",149:"REGISTER",150:"CALL",151:"ADD.BAR",152:"ADD.MENU",153:"ADD.COMMAND",154:"ENABLE.COMMAND",155:"CHECK.COMMAND",156:"RENAME.COMMAND",157:"SHOW.BAR",158:"DELETE.MENU",159:"DELETE.COMMAND",160:"GET.CHART.ITEM",161:"DIALOG.BOX",162:"CLEAN",163:"MDETERM",164:"MINVERSE",165:"MMULT",166:"FILES",167:"IPMT",168:"PPMT",169:"COUNTA",170:"CANCEL.KEY",171:"FOR",172:"WHILE",173:"BREAK",174:"NEXT",175:"INITIATE",176:"REQUEST",177:"POKE",178:"EXECUTE",179:"TERMINATE",180:"RESTART",181:"HELP",182:"GET.BAR",183:"PRODUCT",184:"FACT",185:"GET.CELL",186:"GET.WORKSPACE",187:"GET.WINDOW",188:"GET.DOCUMENT",189:"DPRODUCT",190:"ISNONTEXT",191:"GET.NOTE",192:"NOTE",193:"STDEVP",194:"VARP",195:"DSTDEVP",196:"DVARP",197:"TRUNC",198:"ISLOGICAL",199:"DCOUNTA",200:"DELETE.BAR",201:"UNREGISTER",204:"USDOLLAR",205:"FINDB",206:"SEARCHB",207:"REPLACEB",208:"LEFTB",209:"RIGHTB",210:"MIDB",211:"LENB",212:"ROUNDUP",213:"ROUNDDOWN",214:"ASC",215:"DBCS",216:"RANK",219:"ADDRESS",220:"DAYS360",221:"TODAY",222:"VDB",223:"ELSE",224:"ELSE.IF",225:"END.IF",226:"FOR.CELL",227:"MEDIAN",228:"SUMPRODUCT",229:"SINH",230:"COSH",231:"TANH",232:"ASINH",233:"ACOSH",234:"ATANH",235:"DGET",236:"CREATE.OBJECT",237:"VOLATILE",238:"LAST.ERROR",239:"CUSTOM.UNDO",240:"CUSTOM.REPEAT",241:"FORMULA.CONVERT",242:"GET.LINK.INFO",243:"TEXT.BOX",244:"INFO",245:"GROUP",246:"GET.OBJECT",247:"DB",248:"PAUSE",251:"RESUME",252:"FREQUENCY",253:"ADD.TOOLBAR",254:"DELETE.TOOLBAR",255:"User",256:"RESET.TOOLBAR",257:"EVALUATE",258:"GET.TOOLBAR",259:"GET.TOOL",260:"SPELLING.CHECK",261:"ERROR.TYPE",262:"APP.TITLE",263:"WINDOW.TITLE",264:"SAVE.TOOLBAR",265:"ENABLE.TOOL",266:"PRESS.TOOL",267:"REGISTER.ID",268:"GET.WORKBOOK",269:"AVEDEV",270:"BETADIST",271:"GAMMALN",272:"BETAINV",273:"BINOMDIST",274:"CHIDIST",275:"CHIINV",276:"COMBIN",277:"CONFIDENCE",278:"CRITBINOM",279:"EVEN",280:"EXPONDIST",281:"FDIST",282:"FINV",283:"FISHER",284
vendor: 9,189 bytes, line 4365
4365:"FISHERINV",285:"FLOOR",286:"GAMMADIST",287:"GAMMAINV",288:"CEILING",289:"HYPGEOMDIST",290:"LOGNORMDIST",291:"LOGINV",292:"NEGBINOMDIST",293:"NORMDIST",294:"NORMSDIST",295:"NORMINV",296:"NORMSINV",297:"STANDARDIZE",298:"ODD",299:"PERMUT",300:"POISSON",301:"TDIST",302:"WEIBULL",303:"SUMXMY2",304:"SUMX2MY2",305:"SUMX2PY2",306:"CHITEST",307:"CORREL",308:"COVAR",309:"FORECAST",310:"FTEST",311:"INTERCEPT",312:"PEARSON",313:"RSQ",314:"STEYX",315:"SLOPE",316:"TTEST",317:"PROB",318:"DEVSQ",319:"GEOMEAN",320:"HARMEAN",321:"SUMSQ",322:"KURT",323:"SKEW",324:"ZTEST",325:"LARGE",326:"SMALL",327:"QUARTILE",328:"PERCENTILE",329:"PERCENTRANK",330:"MODE",331:"TRIMMEAN",332:"TINV",334:"MOVIE.COMMAND",335:"GET.MOVIE",336:"CONCATENATE",337:"POWER",338:"PIVOT.ADD.DATA",339:"GET.PIVOT.TABLE",340:"GET.PIVOT.FIELD",341:"GET.PIVOT.ITEM",342:"RADIANS",343:"DEGREES",344:"SUBTOTAL",345:"SUMIF",346:"COUNTIF",347:"COUNTBLANK",348:"SCENARIO.GET",349:"OPTIONS.LISTS.GET",350:"ISPMT",351:"DATEDIF",352:"DATESTRING",353:"NUMBERSTRING",354:"ROMAN",355:"OPEN.DIALOG",356:"SAVE.DIALOG",357:"VIEW.GET",358:"GETPIVOTDATA",359:"HYPERLINK",360:"PHONETIC",361:"AVERAGEA",362:"MAXA",363:"MINA",364:"STDEVPA",365:"VARPA",366:"STDEVA",367:"VARA",368:"BAHTTEXT",369:"THAIDAYOFWEEK",370:"THAIDIGIT",371:"THAIMONTHOFYEAR",372:"THAINUMSOUND",373:"THAINUMSTRING",374:"THAISTRINGLENGTH",375:"ISTHAIDIGIT",376:"ROUNDBAHTDOWN",377:"ROUNDBAHTUP",378:"THAIYEAR",379:"RTD",380:"CUBEVALUE",381:"CUBEMEMBER",382:"CUBEMEMBERPROPERTY",383:"CUBERANKEDMEMBER",384:"HEX2BIN",385:"HEX2DEC",386:"HEX2OCT",387:"DEC2BIN",388:"DEC2HEX",389:"DEC2OCT",390:"OCT2BIN",391:"OCT2HEX",392:"OCT2DEC",393:"BIN2DEC",394:"BIN2OCT",395:"BIN2HEX",396:"IMSUB",397:"IMDIV",398:"IMPOWER",399:"IMABS",400:"IMSQRT",401:"IMLN",402:"IMLOG2",403:"IMLOG10",404:"IMSIN",405:"IMCOS",406:"IMEXP",407:"IMARGUMENT",408:"IMCONJUGATE",409:"IMAGINARY",410:"IMREAL",411:"COMPLEX",412:"IMSUM",413:"IMPRODUCT",414:"SERIESSUM",415:"FACTDOUBLE",416:"SQRTPI",417:"QUOTIENT",418:"DELTA",419:"GESTEP",420:"ISEVEN",421:"ISODD",422:"MROUND",423:"ERF",424:"ERFC",425:"BESSELJ",426:"BESSELK",427:"BESSELY",428:"BESSELI",429:"XIRR",430:"XNPV",431:"PRICEMAT",432:"YIELDMAT",433:"INTRATE",434:"RECEIVED",435:"DISC",436:"PRICEDISC",437:"YIELDDISC",438:"TBILLEQ",439:"TBILLPRICE",440:"TBILLYIELD",441:"PRICE",442:"YIELD",443:"DOLLARDE",444:"DOLLARFR",445:"NOMINAL",446:"EFFECT",447:"CUMPRINC",448:"CUMIPMT",449:"EDATE",450:"EOMONTH",451:"YEARFRAC",452:"COUPDAYBS",453:"COUPDAYS",454:"COUPDAYSNC",455:"COUPNCD",456:"COUPNUM",457:"COUPPCD",458:"DURATION",459:"MDURATION",460:"ODDLPRICE",461:"ODDLYIELD",462:"ODDFPRICE",463:"ODDFYIELD",464:"RANDBETWEEN",465:"WEEKNUM",466:"AMORDEGRC",467:"AMORLINC",468:"CONVERT",724:"SHEETJS",469:"ACCRINT",470:"ACCRINTM",471:"WORKDAY",472:"NETWORKDAYS",473:"GCD",474:"MULTINOMIAL",475:"LCM",476:"FVSCHEDULE",477:"CUBEKPIMEMBER",478:"CUBESET",479:"CUBESETCOUNT",480:"IFERROR",481:"COUNTIFS",482:"SUMIFS",483:"AVERAGEIF",484:"AVERAGEIFS"},hBe={2:1,3:1,10:0,15:1,16:1,17:1,18:1,19:0,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:2,30:2,31:3,32:1,33:1,34:0,35:0,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,63:0,65:3,66:3,67:1,68:1,69:1,70:1,71:1,72:1,73:1,74:0,75:1,76:1,77:1,79:2,80:2,83:1,85:0,86:1,89:0,90:1,94:0,95:0,97:2,98:1,99:1,101:3,102:3,105:1,106:1,108:2,111:1,112:1,113:1,114:1,117:2,118:1,119:4,121:1,126:1,127:1,128:1,129:1,130:1,131:1,133:1,134:1,135:1,136:2,137:2,138:2,140:1,141:1,142:3,143:4,144:4,161:1,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,186:1,189:3,190:1,195:3,196:3,197:1,198:1,199:3,201:1,207:4,210:3,211:1,212:2,213:2,214:1,215:1,225:0,229:1,230:1,231:1,232:1,233:1,234:1,235:3,244:1,247:4,252:2,257:1,261:1,271:1,273:4,274:2,275:2,276:2,277:3,278:3,279:1,280:3,281:3,282:3,283:1,284:1,285:2,286:4,287:3,288:2,289:4,290:3,291:3,292:3,293:4,294:1,295:3,296:1,297:3,298:1,299:2,300:3,301:3,302:4,303:2,304:2,305:2,306:2,307:2,308:2,309:3,310:2,311:2,312:2,313:2,314:2,315:2,316:4,325:2,326:2,327:2,328:2,331:2,332:2,337:2,342:1,343:1,346:2,347:1,350:4,351:3,352:1,353:2,360:1,368:1,369:1,370:1,371:1,372:1,373:1,374:1,375:1,376:1,377:1,378:1,382:3,385:1,392:1,393:1,396:2,397:2,398:2,399:1,400:1,401:1,402:1,403:1,404:1,405:1,406:1,407:1,408:1,409:1,410:1,414:4,415:1,416:1,417:2,420:1,421:1,422:2,424:1,425:2,426:2,427:2,428:2,430:3,438:3,439:3,440:3,443:2,444:2,445:2,446:2,447:6,448:6,449:2,450:2,464:2,468:3,476:2,479:1,480:2,65535:0};function fBe(t){var e="of:="+t.replace(rj,"$1[.$2$3$4$5]").replace(/\]:\[/g,":");return e.replace(/;/g,"|").replace(/,/g,";")}function pBe(t){return t.replace(/\./,"!")}var fv=typeof Map<"u";function aj(t,e,r){var n=0,i=t.length;if(r){if(fv?r.has(e):Object.prototype.hasOwnProperty.call(r,e)){for(var a=fv?r.get(e):r[e];n<a.length;++n)if(t[a[n]].t===e)return t.Count++,a[n]}}else for(;n<i;++n)if(t[n].t===e)return t.Count++,n;return t[i]={t:e},t.Count++,t.Unique++,r&&(fv?(r.has(e)||r.set(e,[]),r.get(e).push(i)):(Object.prototype.hasOwnProperty.call(r,e)||(r[e]=[]),r[e].push(i))),i}function G5(t,e){var r={min:t+1,max:t+1},n=-1;return e.MDW&&(tA=e.MDW),e.width!=null?r.customWidth=1:e.wpx!=null?n=aC(e.wpx):e.wch!=null&&(n=e.wch),n>-1?(r.width=H_(n),r.customWidth=1):e.width!=null&&(r.width=e.width),e.hidden&&(r.hidden=!0),e.level!=null&&(r.outlineLevel=r.level=e.level),r}function DK(t,e){if(t){var r=[.7,.7,.75,.75,.3,.3];t.left==null&&(t.left=r[0]),t.right==null&&(t.right=r[1]),t.top==null&&(t.top=r[2]),t.bottom==null&&(t.bottom=r[3]),t.header==null&&(t.header=r[4]),t.footer==null&&(t.footer=r[5])}}function gd(t,e,r){var n=r.revssf[e.z!=null?e.z:"General"],i=60,a=t.length;if(n==null&&r.ssf){for(;i<392;++i)if(r.ssf[i]==null){TW(e.z,i),r.ssf[i]=e.z,r.revssf[e.z]=n=i;break}}for(i=0;i!=a;++i)if(t[i].numFmtId===n)return i;return t[a]={numFmtId:n,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1},a}function mBe(t,e,r){if(t&&t["!ref"]){var n=In(t["!ref"]);if(n.e.c<n.s.c||n.e.r<n.s.r)throw new Error("Bad range ("+r+"): "+t["!ref"])}}function gBe(t){if(t.length===0)return"";for(var e='<mergeCells count="'+t.length+'">',r=0;r!=t.length;++r)e+='<mergeCell ref="'+Bi(t[r])+'"/>';return e+"</mergeCells>"}function vBe(t,e,r,n,i){var a=!1,s={},o=null;if(n.bookType!=="xlsx"&&e.vbaraw){var c=e.SheetNames[r];try{e.Workbook&&(c=e.Workbook.Sheets[r].CodeName||c)}catch{}a=!0,s.codeName=m1(nn(c))}if(t&&t["!outline"]){var A={summaryBelow:1,summaryRight:1};t["!outline"].above&&(A.summaryBelow=0),t["!outline"].left&&(A.summaryRight=0),o=(o||"")+ft("outlinePr",null,A)}!a&&!o||(i[i.length]=ft("sheetPr",o,s))}var xBe=["objects","scenarios","selectLockedCells","selectUnlockedCells"],yBe=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"];function wBe(t){var e={sheet:1};return xBe.forEach(function(r){t[r]!=null&&t[r]&&(e[r]="1")}),yBe.forEach(function(r){t[r]!=null&&!t[r]&&(e[r]="0")}),t.password&&(e.password=vK(t.password).toString(16).toUpperCase()),ft("sheetProtection",null,e)}function bBe(t){return DK(t),ft("pageMargins",null,t)}function CBe(t,e){for(var r=["<cols>"],n,i=0;i!=e.length;++i)(n=e[i])&&(r[r.length]=ft("col",null,G5(i,n)));return r[r.length]="</cols>",r.join("")}function BBe(t,e,r,n){var i=typeof t.ref=="string"?t.ref:Bi(t.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var a=r.Workbook.Names,s=so(i);s.s.r==s.e.r&&(s.e.r=so(e["!ref"]).e.r,i=Bi(s));for(var o=0;o<a.length;++o){var c=a[o];if(c.Name=="_xlnm._FilterDatabase"&&c.Sheet==n){c.Ref="'"+r.SheetNames[n]+"'!"+i;break}}return o==a.length&&a.push({Name:"_xlnm._FilterDatabase",Sheet:n,Ref:"'"+r.SheetNames[n]+"'!"+i}),ft("autoFilter",null,{ref:i})}function EBe(t,e,r,n){var i={workbookViewId:"0"};return(((n||{}).Workbook||{}).Views||[])[0]&&(i.rightToLeft=n.Workbook.Views[0].RTL?"1":"0"),ft("sheetViews",ft("sheetView",null,i),{})}function NBe(t,e,r,n){if(t.c&&r["!comments"].push([e,t.c]),t.v===void 0&&typeof t.f!="string"||t.t==="z"&&!t.f)return"";var i="",a=t.t,s=t.v;if(t.t!=="z")switch(t.t){case"b":i=t.v?"1":"0";break;case"n":i=""+t.v;break;case"e":i=ax[t.v];break;case"d":n&&n.cellDates?i=ss(t.v,-1).toISOString():(t=Is(t),t.t="n",i=""+(t.v=js(ss(t.v)))),typeof t.z>"u"&&(t.z=Zn[14]);break;default:i=t.v;break}var o=ua("v",nn(i)),c={r:e},A=gd(n.cellXfs,t,n);switch(A!==0&&(c.s=A),t.t){case"n":break;case"d":c.t="d";break;case"b":c.t="b";break;case"e":c.t="e";break;case"z":break;default:if(t.v==null){delete t.t;break}if(t.v.length>32767)throw new Error("Text length must not exceed 32767 characters");if(n&&n.bookSST){o=ua("v",""+aj(n.Strings,t.v,n.revStrings)),c.t="s";break}c.t="str";break}if(t.t!=a&&(t.t=a,t.v=s),typeof t.f=="string"&&t.f){var u=t.F&&t.F.slice(0,e.length)==e?{t:"array",ref:t.F}:null;o=ft("f",nn(t.f),u)+(t.v!=null?o:"")}return t.l&&r["!links"].push([e,t.l]),t.D&&(c.cm=1),ft("c",o,c)}function SBe(t,e,r,n){var i=[],a=[],s=In(t["!ref"]),o="",c,A="",u=[],d=0,f=0,h=t["!rows"],m=Array.isArray(t),p={r:A},x,v=-1;for(f=s.s.c;f<=s.e.c;++f)u[f]=Oa(f);for(d=s.s.r;d<=s.e.r;++d){for(a=[],A=xa(d),f=s.s.c;f<=s.e.c;++f){c=u[f]+A;var y=m?(t[d]||[])[f]:t[c];y!==void 0&&(o=NBe(y,c,t,e))!=null&&a.push(o)}(a.length>
vendor: 4,185 bytes, line 4365
43650||h&&h[d])&&(p={r:A},h&&h[d]&&(x=h[d],x.hidden&&(p.hidden=1),v=-1,x.hpx?v=sC(x.hpx):x.hpt&&(v=x.hpt),v>-1&&(p.ht=v,p.customHeight=1),x.level&&(p.outlineLevel=x.level)),i[i.length]=ft("row",a.join(""),p))}if(h)for(;d<h.length;++d)h&&h[d]&&(p={r:d+1},x=h[d],x.hidden&&(p.hidden=1),v=-1,x.hpx?v=sC(x.hpx):x.hpt&&(v=x.hpt),v>-1&&(p.ht=v,p.customHeight=1),x.level&&(p.outlineLevel=x.level),i[i.length]=ft("row","",p));return i.join("")}function OK(t,e,r,n){var i=[Ni,ft("worksheet",null,{xmlns:Vp[0],"xmlns:r":$i.r})],a=r.SheetNames[t],s=0,o="",c=r.Sheets[a];c==null&&(c={});var A=c["!ref"]||"A1",u=In(A);if(u.e.c>16383||u.e.r>1048575){if(e.WTF)throw new Error("Range "+A+" exceeds format limit A1:XFD1048576");u.e.c=Math.min(u.e.c,16383),u.e.r=Math.min(u.e.c,1048575),A=Bi(u)}n||(n={}),c["!comments"]=[];var d=[];vBe(c,r,t,e,i),i[i.length]=ft("dimension",null,{ref:A}),i[i.length]=EBe(c,e,t,r),e.sheetFormat&&(i[i.length]=ft("sheetFormatPr",null,{defaultRowHeight:e.sheetFormat.defaultRowHeight||"16",baseColWidth:e.sheetFormat.baseColWidth||"10",outlineLevelRow:e.sheetFormat.outlineLevelRow||"7"})),c["!cols"]!=null&&c["!cols"].length>0&&(i[i.length]=CBe(c,c["!cols"])),i[s=i.length]="<sheetData/>",c["!links"]=[],c["!ref"]!=null&&(o=SBe(c,e),o.length>0&&(i[i.length]=o)),i.length>s+1&&(i[i.length]="</sheetData>",i[s]=i[s].replace("/>",">")),c["!protect"]&&(i[i.length]=wBe(c["!protect"])),c["!autofilter"]!=null&&(i[i.length]=BBe(c["!autofilter"],c,r,t)),c["!merges"]!=null&&c["!merges"].length>0&&(i[i.length]=gBe(c["!merges"]));var f=-1,h,m=-1;return c["!links"].length>0&&(i[i.length]="<hyperlinks>",c["!links"].forEach(function(p){p[1].Target&&(h={ref:p[0]},p[1].Target.charAt(0)!="#"&&(m=tn(n,-1,nn(p[1].Target).replace(/#.*$/,""),Ur.HLINK),h["r:id"]="rId"+m),(f=p[1].Target.indexOf("#"))>-1&&(h.location=nn(p[1].Target.slice(f+1))),p[1].Tooltip&&(h.tooltip=nn(p[1].Tooltip)),i[i.length]=ft("hyperlink",null,h))}),i[i.length]="</hyperlinks>"),delete c["!links"],c["!margins"]!=null&&(i[i.length]=bBe(c["!margins"])),(!e||e.ignoreEC||e.ignoreEC==null)&&(i[i.length]=ua("ignoredErrors",ft("ignoredError",null,{numberStoredAsText:1,sqref:A}))),d.length>0&&(m=tn(n,-1,"../drawings/drawing"+(t+1)+".xml",Ur.DRAW),i[i.length]=ft("drawing",null,{"r:id":"rId"+m}),c["!drawing"]=d),c["!comments"].length>0&&(m=tn(n,-1,"../drawings/vmlDrawing"+(t+1)+".vml",Ur.VML),i[i.length]=ft("legacyDrawing",null,{"r:id":"rId"+m}),c["!legacy"]=m),i.length>1&&(i[i.length]="</worksheet>",i[1]=i[1].replace("/>",">")),i.join("")}function _Be(t,e){var r={},n=t.l+e;r.r=t.read_shift(4),t.l+=4;var i=t.read_shift(2);t.l+=1;var a=t.read_shift(1);return t.l=n,a&7&&(r.level=a&7),a&16&&(r.hidden=!0),a&32&&(r.hpt=i/20),r}function FBe(t,e,r){var n=ze(145),i=(r["!rows"]||[])[t]||{};n.write_shift(4,t),n.write_shift(4,0);var a=320;i.hpx?a=sC(i.hpx)*20:i.hpt&&(a=i.hpt*20),n.write_shift(2,a),n.write_shift(1,0);var s=0;i.level&&(s|=i.level),i.hidden&&(s|=16),(i.hpx||i.hpt)&&(s|=32),n.write_shift(1,s),n.write_shift(1,0);var o=0,c=n.l;n.l+=4;for(var A={r:t,c:0},u=0;u<16;++u)if(!(e.s.c>u+1<<10||e.e.c<u<<10)){for(var d=-1,f=-1,h=u<<10;h<u+1<<10;++h){A.c=h;var m=Array.isArray(r)?(r[A.r]||[])[A.c]:r[sn(A)];m&&(d<0&&(d=h),f=h)}d<0||(++o,n.write_shift(4,d),n.write_shift(4,f))}var p=n.l;return n.l=c,n.write_shift(4,o),n.l=p,n.length>n.l?n.slice(0,n.l):n}function TBe(t,e,r,n){var i=FBe(n,r,e);(i.length>17||(e["!rows"]||[])[n])&&et(t,0,i)}var jBe=$h,IBe=Kp;function kBe(){}function PBe(t,e){var r={},n=t[t.l];return++t.l,r.above=!(n&64),r.left=!(n&128),t.l+=18,r.name=V2e(t),r}function DBe(t,e,r){r==null&&(r=ze(84+4*t.length));var n=192;e&&(e.above&&(n&=-65),e.left&&(n&=-129)),r.write_shift(1,n);for(var i=1;i<3;++i)r.write_shift(1,0);return rC({auto:1},r),r.write_shift(-4,-1),r.write_shift(-4,-1),YW(t,r),r.slice(0,r.l)}function OBe(t){var e=Go(t);return[e]}function RBe(t,e,r){return r==null&&(r=ze(8)),Xh(e,r)}function UBe(t){var e=Yh(t);return[e]}function LBe(t,e,r){return r==null&&(r=ze(4)),Zh(e,r)}function MBe(t){var e=Go(t),r=t.read_shift(1);return[e,r,"b"]}function QBe(t,e,r){return r==null&&(r=ze(9)),Xh(e,r),r.write_shift(1,t.v?1:0),r}function HBe(t){var e=Yh(t),r=t.read_shift(1);return[e,r,"b"]}
vendor: 13,154 bytes, line 4365
4365function zBe(t,e,r){return r==null&&(r=ze(5)),Zh(e,r),r.write_shift(1,t.v?1:0),r}function VBe(t){var e=Go(t),r=t.read_shift(1);return[e,r,"e"]}function WBe(t,e,r){return r==null&&(r=ze(9)),Xh(e,r),r.write_shift(1,t.v),r}function KBe(t){var e=Yh(t),r=t.read_shift(1);return[e,r,"e"]}function qBe(t,e,r){return r==null&&(r=ze(8)),Zh(e,r),r.write_shift(1,t.v),r.write_shift(2,0),r.write_shift(1,0),r}function GBe(t){var e=Go(t),r=t.read_shift(4);return[e,r,"s"]}function JBe(t,e,r){return r==null&&(r=ze(12)),Xh(e,r),r.write_shift(4,e.v),r}function XBe(t){var e=Yh(t),r=t.read_shift(4);return[e,r,"s"]}function YBe(t,e,r){return r==null&&(r=ze(8)),Zh(e,r),r.write_shift(4,e.v),r}function ZBe(t){var e=Go(t),r=qp(t);return[e,r,"n"]}function $Be(t,e,r){return r==null&&(r=ze(16)),Xh(e,r),kh(t.v,r),r}function eEe(t){var e=Yh(t),r=qp(t);return[e,r,"n"]}function tEe(t,e,r){return r==null&&(r=ze(12)),Zh(e,r),kh(t.v,r),r}function rEe(t){var e=Go(t),r=ZW(t);return[e,r,"n"]}function nEe(t,e,r){return r==null&&(r=ze(12)),Xh(e,r),$W(t.v,r),r}function iEe(t){var e=Yh(t),r=ZW(t);return[e,r,"n"]}function aEe(t,e,r){return r==null&&(r=ze(8)),Zh(e,r),$W(t.v,r),r}function sEe(t){var e=Go(t),r=YT(t);return[e,r,"is"]}function oEe(t){var e=Go(t),r=Ra(t);return[e,r,"str"]}function lEe(t,e,r){return r==null&&(r=ze(12+4*t.v.length)),Xh(e,r),ta(t.v,r),r.length>r.l?r.slice(0,r.l):r}function cEe(t){var e=Yh(t),r=Ra(t);return[e,r,"str"]}function AEe(t,e,r){return r==null&&(r=ze(8+4*t.v.length)),Zh(e,r),ta(t.v,r),r.length>r.l?r.slice(0,r.l):r}function uEe(t,e,r){var n=t.l+e,i=Go(t);i.r=r["!row"];var a=t.read_shift(1),s=[i,a,"b"];if(r.cellFormula){t.l+=2;var o=q5(t,n-t.l,r);s[3]=vp(o,null,i,r.supbooks,r)}else t.l=n;return s}function dEe(t,e,r){var n=t.l+e,i=Go(t);i.r=r["!row"];var a=t.read_shift(1),s=[i,a,"e"];if(r.cellFormula){t.l+=2;var o=q5(t,n-t.l,r);s[3]=vp(o,null,i,r.supbooks,r)}else t.l=n;return s}function hEe(t,e,r){var n=t.l+e,i=Go(t);i.r=r["!row"];var a=qp(t),s=[i,a,"n"];if(r.cellFormula){t.l+=2;var o=q5(t,n-t.l,r);s[3]=vp(o,null,i,r.supbooks,r)}else t.l=n;return s}function fEe(t,e,r){var n=t.l+e,i=Go(t);i.r=r["!row"];var a=Ra(t),s=[i,a,"str"];if(r.cellFormula){t.l+=2;var o=q5(t,n-t.l,r);s[3]=vp(o,null,i,r.supbooks,r)}else t.l=n;return s}var pEe=$h,mEe=Kp;function gEe(t,e){return e==null&&(e=ze(4)),e.write_shift(4,t),e}function vEe(t,e){var r=t.l+e,n=$h(t),i=ZT(t),a=Ra(t),s=Ra(t),o=Ra(t);t.l=r;var c={rfx:n,relId:i,loc:a,display:o};return s&&(c.Tooltip=s),c}function xEe(t,e){var r=ze(50+4*(t[1].Target.length+(t[1].Tooltip||"").length));Kp({s:ea(t[0]),e:ea(t[0])},r),$T("rId"+e,r);var n=t[1].Target.indexOf("#"),i=n==-1?"":t[1].Target.slice(n+1);return ta(i||"",r),ta(t[1].Tooltip||"",r),ta("",r),r.slice(0,r.l)}function yEe(){}function wEe(t,e,r){var n=t.l+e,i=eK(t),a=t.read_shift(1),s=[i];if(s[2]=a,r.cellFormula){var o=cBe(t,n-t.l,r);s[1]=o}else t.l=n;return s}function bEe(t,e,r){var n=t.l+e,i=$h(t),a=[i];if(r.cellFormula){var s=uBe(t,n-t.l,r);a[1]=s,t.l=n}else t.l=n;return a}function CEe(t,e,r){r==null&&(r=ze(18));var n=G5(t,e);r.write_shift(-4,t),r.write_shift(-4,t),r.write_shift(4,(n.width||10)*256),r.write_shift(4,0);var i=0;return e.hidden&&(i|=1),typeof n.width=="number"&&(i|=2),e.level&&(i|=e.level<<8),r.write_shift(2,i),r}var RK=["left","right","top","bottom","header","footer"];function BEe(t){var e={};return RK.forEach(function(r){e[r]=qp(t)}),e}function EEe(t,e){return e==null&&(e=ze(6*8)),DK(t),RK.forEach(function(r){kh(t[r],e)}),e}function NEe(t){var e=t.read_shift(2);return t.l+=28,{RTL:e&32}}function SEe(t,e,r){r==null&&(r=ze(30));var n=924;return(((e||{}).Views||[])[0]||{}).RTL&&(n|=32),r.write_shift(2,n),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(1,0),r.write_shift(1,0),r.write_shift(2,0),r.write_shift(2,100),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(4,0),r}function _Ee(t){var e=ze(24);return e.write_shift(4,4),e.write_shift(4,1),Kp(t,e),e}function FEe(t,e){return e==null&&(e=ze(16*4+2)),e.write_shift(2,t.password?vK(t.password):0),e.write_shift(4,1),[["objects",!1],["scenarios",!1],["formatCells",!0],["formatColumns",!0],["formatRows",!0],["insertColumns",!0],["insertRows",!0],["insertHyperlinks",!0],["deleteColumns",!0],["deleteRows",!0],["selectLockedCells",!1],["sort",!0],["autoFilter",!0],["pivotTables",!0],["selectUnlockedCells",!1]].forEach(function(r){r[1]?e.write_shift(4,t[r[0]]!=null&&!t[r[0]]?1:0):e.write_shift(4,t[r[0]]!=null&&t[r[0]]?0:1)}),e}function TEe(){}function jEe(){}function IEe(t,e,r,n,i,a,s){if(e.v===void 0)return!1;var o="";switch(e.t){case"b":o=e.v?"1":"0";break;case"d":e=Is(e),e.z=e.z||Zn[14],e.v=js(ss(e.v)),e.t="n";break;case"n":case"e":o=""+e.v;break;default:o=e.v;break}var c={r,c:n};switch(c.s=gd(i.cellXfs,e,i),e.l&&a["!links"].push([sn(c),e.l]),e.c&&a["!comments"].push([sn(c),e.c]),e.t){case"s":case"str":return i.bookSST?(o=aj(i.Strings,e.v,i.revStrings),c.t="s",c.v=o,s?et(t,18,YBe(e,c)):et(t,7,JBe(e,c))):(c.t="str",s?et(t,17,AEe(e,c)):et(t,6,lEe(e,c))),!0;case"n":return e.v==(e.v|0)&&e.v>-1e3&&e.v<1e3?s?et(t,13,aEe(e,c)):et(t,2,nEe(e,c)):s?et(t,16,tEe(e,c)):et(t,5,$Be(e,c)),!0;case"b":return c.t="b",s?et(t,15,zBe(e,c)):et(t,4,QBe(e,c)),!0;case"e":return c.t="e",s?et(t,14,qBe(e,c)):et(t,3,WBe(e,c)),!0}return s?et(t,12,LBe(e,c)):et(t,1,RBe(e,c)),!0}function kEe(t,e,r,n){var i=In(e["!ref"]||"A1"),a,s="",o=[];et(t,145);var c=Array.isArray(e),A=i.e.r;e["!rows"]&&(A=Math.max(i.e.r,e["!rows"].length-1));for(var u=i.s.r;u<=A;++u){s=xa(u),TBe(t,e,i,u);var d=!1;if(u<=i.e.r)for(var f=i.s.c;f<=i.e.c;++f){u===i.s.r&&(o[f]=Oa(f)),a=o[f]+s;var h=c?(e[u]||[])[f]:e[a];if(!h){d=!1;continue}d=IEe(t,h,u,f,n,e,d)}}et(t,146)}function PEe(t,e){!e||!e["!merges"]||(et(t,177,gEe(e["!merges"].length)),e["!merges"].forEach(function(r){et(t,176,mEe(r))}),et(t,178))}function DEe(t,e){!e||!e["!cols"]||(et(t,390),e["!cols"].forEach(function(r,n){r&&et(t,60,CEe(n,r))}),et(t,391))}function OEe(t,e){!e||!e["!ref"]||(et(t,648),et(t,649,_Ee(In(e["!ref"]))),et(t,650))}function REe(t,e,r){e["!links"].forEach(function(n){if(n[1].Target){var i=tn(r,-1,n[1].Target.replace(/#.*$/,""),Ur.HLINK);et(t,494,xEe(n,i))}}),delete e["!links"]}function UEe(t,e,r,n){if(e["!comments"].length>0){var i=tn(n,-1,"../drawings/vmlDrawing"+(r+1)+".vml",Ur.VML);et(t,551,$T("rId"+i)),e["!legacy"]=i}}function LEe(t,e,r,n){if(e["!autofilter"]){var i=e["!autofilter"],a=typeof i.ref=="string"?i.ref:Bi(i.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var s=r.Workbook.Names,o=so(a);o.s.r==o.e.r&&(o.e.r=so(e["!ref"]).e.r,a=Bi(o));for(var c=0;c<s.length;++c){var A=s[c];if(A.Name=="_xlnm._FilterDatabase"&&A.Sheet==n){A.Ref="'"+r.SheetNames[n]+"'!"+a;break}}c==s.length&&s.push({Name:"_xlnm._FilterDatabase",Sheet:n,Ref:"'"+r.SheetNames[n]+"'!"+a}),et(t,161,Kp(In(a))),et(t,162)}}function MEe(t,e,r){et(t,133),et(t,137,SEe(e,r)),et(t,138),et(t,134)}function QEe(t,e){e["!protect"]&&et(t,535,FEe(e["!protect"]))}function HEe(t,e,r,n){var i=Fs(),a=r.SheetNames[t],s=r.Sheets[a]||{},o=a;try{r&&r.Workbook&&(o=r.Workbook.Sheets[t].CodeName||o)}catch{}var c=In(s["!ref"]||"A1");if(c.e.c>16383||c.e.r>1048575){if(e.WTF)throw new Error("Range "+(s["!ref"]||"A1")+" exceeds format limit A1:XFD1048576");c.e.c=Math.min(c.e.c,16383),c.e.r=Math.min(c.e.c,1048575)}return s["!links"]=[],s["!comments"]=[],et(i,129),(r.vbaraw||s["!outline"])&&et(i,147,DBe(o,s["!outline"])),et(i,148,IBe(c)),MEe(i,s,r.Workbook),DEe(i,s),kEe(i,s,t,e),QEe(i,s),LEe(i,s,r,t),PEe(i,s),REe(i,s,n),s["!margins"]&&et(i,476,EEe(s["!margins"])),(!e||e.ignoreEC||e.ignoreEC==null)&&OEe(i,s),UEe(i,s,t,n),et(i,130),i.end()}function zEe(t,e){t.l+=10;var r=Ra(t);return{name:r}}var VEe=[["allowRefreshQuery",!1,"bool"],["autoCompressPictures",!0,"bool"],["backupFile",!1,"bool"],["checkCompatibility",!1,"bool"],["CodeName",""],["date1904",!1,"bool"],["defaultThemeVersion",0,"int"],["filterPrivacy",!1,"bool"],["hidePivotFieldList",!1,"bool"],["promptedSolutions",!1,"bool"],["publishItems",!1,"bool"],["refreshAllConnections",!1,"bool"],["saveExternalLinkValues",!0,"bool"],["showBorderUnselectedTables",!0,"bool"],["showInkAnnotation",!0,"bool"],["showObjects","all"],["showPivotChartFilter",!1,"bool"],["updateLinks","userSet"]];function WEe(t){return!t.Workbook||!t.Workbook.WBProps?"false":b2e(t.Workbook.WBProps.date1904)?"true":"false"}var KEe="][*?/\\".split("");function UK(t,e){if(t.length>31)throw new Error("Sheet names cannot exceed 31 chars");var r=!0;return KEe.forEach(function(n){if(t.indexOf(n)!=-1)throw new Error("Sheet name cannot contain : \\ / ? * [ ]")}),r}function qEe(t,e,r){t.forEach(function(n,i){UK(n);for(var a=0;a<i;++a)if(n==t[a])throw new Error("Duplicate Sheet Name: "+n);if(r){var s=e&&e[i]&&e[i].CodeName||n;if(s.charCodeAt(0)==95&&s.length>22)throw new Error("Bad Code Name: Worksheet"+s)}})}function GEe(t){if(!t||!t.SheetNames||!t.Sheets)throw new Error("Invalid Workbook");if(!t.SheetNames.length)throw new Error("Workbook is empty");var e=t.Workbook&&t.Workbook.Sheets||[];qEe(t.SheetNames,e,!!t.vbaraw);for(var r=0;r<t.SheetNames.length;++r)mBe(t.Sheets[t.SheetNames[r]],t.SheetNames[r],r)}function LK(t){var e=[Ni];e[e.length]=ft("workbook",null,{xmlns:Vp[0],"xmlns:r":$i.r});var r=t.Workbook&&(t.Workbook.Names||[]).length>0,n={codeName:"ThisWorkbook"};t.Workbook&&t.Workbook.WBProps&&(VEe.forEach(function(o){t.Workbook.WBProps[o[0]]!=null&&t.Workbook.WBProps[o[0]]!=o[1]&&(n[o[0]]=t.Workbook.WBProps[o[0]])}),t.Workbook.WBProps.CodeName&&(n.codeName=t.Workbook.WBProps.CodeName,delete n.CodeName)),e[e.length]=ft("workbookPr",null,n);var i=t.Workbook&&t.Workbook.Sheets||[],a=0;if(i&&i[0]&&i[0].Hidden){for(e[e.length]="<bookViews>",a=0;a!=t.SheetNames.length&&!(!i[a]||!i[a].Hidden);++a);a==t.SheetNames.length&&(a=0),e[e.length]='<workbookView firstSheet="'+a+'" activeTab="'+a+'"/>',e[e.length]="</bookViews>"}for(e[e.length]="<sheets>",a=0;a!=t.SheetNames.length;++a){var s={name:nn(t.SheetNames[a].slice(0,31))};if(s.sheetId=""+(a+1),s["r:id"]="rId"+(a+1),i[a])switch(i[a].Hidden){case 1:s.state="hidden";break;case 2:s.state="veryHidden";break}e[e.length]=ft("sheet",null,s)}return e[e.length]="</sheets>",r&&(e[e.length]="<definedNames>",t.Workbook&&t.Workbook.Names&&t.Workbook.Names.forEach(function(o){var c={name:o.Name};o.Comment&&(c.comment=o.Comment),o.Sheet!=null&&(c.localSheetId=""+o.Sheet),o.Hidden&&(c.hidden="1"),o.Ref&&(e[e.length]=ft("definedName",nn(o.Ref),c))}),e[e.length]="</definedNames>"),e.length>2&&(e[e.length]="</workbook>",e[1]=e[1].replace("/>",">")),e.join("")}function JEe(t,e){var r={};return r.Hidden=t.read_shift(4),r.iTabID=t.read_shift(4),r.strRelID=Q_(t),r.name=Ra(t),r}function XEe(t,e){return e||(e=ze(127)),e.write_shift(4,t.Hidden),e.write_shift(4,t.iTabID),$T(t.strRelID,e),ta(t.name.slice(0,31),e),e.length>e.l?e.slice(0,e.l):e}function YEe(t,e){var r={},n=t.read_shift(4);r.defaultThemeVersion=t.read_shift(4);var i=e>8?Ra(t):"";return i.length>0&&(r.CodeName=i),r.autoCompressPictures=!!(n&65536),r.backupFile=!!(n&64),r.checkCompatibility=!!(n&4096),r.date1904=!!(n&1),r.filterPrivacy=!!(n&8),r.hidePivotFieldList=!!(n&1024),r.promptedSolutions=!!(n&16),r.publishItems=!!(n&2048),r.refreshAllConnections=!!(n&262144),r.saveExternalLinkValues=!!(n&128),r.showBorderUnselectedTables=!!(n&4),r.showInkAnnotation=!!(n&32),r.showObjects=["all","placeholders","none"][n>>13&3],r.showPivotChartFilter=!!(n&32768),r.updateLinks=["userSet","never","always"][n>>8&3],r}function ZEe(t,e){e||(e=ze(72));var r=0;return t&&t.filterPrivacy&&(r|=8),e.write_shift(4,r),e.write_shift(4,0),YW(t&&t.CodeName||"ThisWorkbook",e),e.slice(0,e.l)}function $Ee(t,e,r){var n=t.l+e;t.l+=4,t.l+=1;var i=t.read_shift(4),a=W2e(t),s=ABe(t,0,r),o=ZT(t);t.l=n;var c={Name:a,Ptg:s};return i<268435455&&(c.Sheet=i),o&&(c.Comment=o),c}function e4e(t,e){et(t,143);for(var r=0;r!=e.SheetNames.length;++r){var n=e.Workbook&&e.Workbook.Sheets&&e.Workbook.Sheets[r]&&e.Workbook.Sheets[r].Hidden||0,i={Hidden:n,iTabID:r+1,strRelID:"rId"+(r+1),name:e.SheetNames[r]};et(t,156,XEe(i))}et(t,144)}function t4e(t,e){e||(e=ze(127));for(var r=0;r!=4;++r)e.write_shift(4,0);return ta("SheetJS",e),ta(Jb.version,e),ta(Jb.version,e),ta("7262",e),e.length>e.l?e.slice(0,e.l):e}function r4e(t,e){e||(e=ze(29)),e.write_shift(-4,0),e.write_shift(-4,460),e.write_shift(4,28800),e.write_shift(4,17600),e.write_shift(4,500),e.write_shift(4,t),e.write_shift(4,t);var r=120;return e.write_shift(1,r),e.length>e.l?e.slice(0,e.l):e}function n4e(t,e){if(!(!e.Workbook||!e.Workbook.Sheets)){for(var r=e.Workbook.Sheets,n=0,i=-1,a=-1;n<r.length;++n)!r[n]||!r[n].Hidden&&i==-1?i=n:r[n].Hidden==1&&a==-1&&(a=n);a>i||(et(t,135),et(t,158,r4e(i)),et(t,136))}}function i4e(t,e){var r=Fs();return et(r,131),et(r,128,t4e()),et(r,153,ZEe(t.Workbook&&t.Workbook.WBProps||null)),n4e(r,t),e4e(r,t),et(r,132),r.end()}function a4e(t,e,r){return(e.slice(-4)===".bin"?i4e:LK)(t)}function s4e(t,e,r,n,i){return(e.slice(-4)===".bin"?HEe:OK)(t,r,n,i)}function o4e(t,e,r){return(e.slice(-4)===".bin"?ECe:wK)(t,r)}function l4e(t,e,r){return(e.slice(-4)===".bin"?Zbe:gK)(t,r)}function c4e(t,e,r){return(e.slice(-4)===".bin"?QCe:NK)(t)}
vendor: 4,381 bytes, line 4365
4365function A4e(t){return(t.slice(-4)===".bin"?kCe:BK)()}function u4e(t,e){var r=[];return t.Props&&r.push(obe(t.Props,e)),t.Custprops&&r.push(lbe(t.Props,t.Custprops)),r.join("")}function d4e(){return""}function h4e(t,e){var r=['<Style ss:ID="Default" ss:Name="Normal"><NumberFormat/></Style>'];return e.cellXfs.forEach(function(n,i){var a=[];a.push(ft("NumberFormat",null,{"ss:Format":nn(Zn[n.numFmtId])}));var s={"ss:ID":"s"+(21+i)};r.push(ft("Style",a.join(""),s))}),ft("Styles",r.join(""))}function MK(t){return ft("NamedRange",null,{"ss:Name":t.Name,"ss:RefersTo":"="+nj(t.Ref,{r:0,c:0})})}function f4e(t){if(!((t||{}).Workbook||{}).Names)return"";for(var e=t.Workbook.Names,r=[],n=0;n<e.length;++n){var i=e[n];i.Sheet==null&&(i.Name.match(/^_xlfn\./)||r.push(MK(i)))}return ft("Names",r.join(""))}function p4e(t,e,r,n){if(!t||!((n||{}).Workbook||{}).Names)return"";for(var i=n.Workbook.Names,a=[],s=0;s<i.length;++s){var o=i[s];o.Sheet==r&&(o.Name.match(/^_xlfn\./)||a.push(MK(o)))}return a.join("")}function m4e(t,e,r,n){if(!t)return"";var i=[];if(t["!margins"]&&(i.push("<PageSetup>"),t["!margins"].header&&i.push(ft("Header",null,{"x:Margin":t["!margins"].header})),t["!margins"].footer&&i.push(ft("Footer",null,{"x:Margin":t["!margins"].footer})),i.push(ft("PageMargins",null,{"x:Bottom":t["!margins"].bottom||"0.75","x:Left":t["!margins"].left||"0.7","x:Right":t["!margins"].right||"0.7","x:Top":t["!margins"].top||"0.75"})),i.push("</PageSetup>")),n&&n.Workbook&&n.Workbook.Sheets&&n.Workbook.Sheets[r])if(n.Workbook.Sheets[r].Hidden)i.push(ft("Visible",n.Workbook.Sheets[r].Hidden==1?"SheetHidden":"SheetVeryHidden",{}));else{for(var a=0;a<r&&!(n.Workbook.Sheets[a]&&!n.Workbook.Sheets[a].Hidden);++a);a==r&&i.push("<Selected/>")}return((((n||{}).Workbook||{}).Views||[])[0]||{}).RTL&&i.push("<DisplayRightToLeft/>"),t["!protect"]&&(i.push(ua("ProtectContents","True")),t["!protect"].objects&&i.push(ua("ProtectObjects","True")),t["!protect"].scenarios&&i.push(ua("ProtectScenarios","True")),t["!protect"].selectLockedCells!=null&&!t["!protect"].selectLockedCells?i.push(ua("EnableSelection","NoSelection")):t["!protect"].selectUnlockedCells!=null&&!t["!protect"].selectUnlockedCells&&i.push(ua("EnableSelection","UnlockedCells")),[["formatCells","AllowFormatCells"],["formatColumns","AllowSizeCols"],["formatRows","AllowSizeRows"],["insertColumns","AllowInsertCols"],["insertRows","AllowInsertRows"],["insertHyperlinks","AllowInsertHyperlinks"],["deleteColumns","AllowDeleteCols"],["deleteRows","AllowDeleteRows"],["sort","AllowSort"],["autoFilter","AllowFilter"],["pivotTables","AllowUsePivotTables"]].forEach(function(s){t["!protect"][s[0]]&&i.push("<"+s[1]+"/>")})),i.length==0?"":ft("WorksheetOptions",i.join(""),{xmlns:Ws.x})}function g4e(t){return t.map(function(e){var r=w2e(e.t||""),n=ft("ss:Data",r,{xmlns:"http://www.w3.org/TR/REC-html40"});return ft("Comment",n,{"ss:Author":e.a})}).join("")}function v4e(t,e,r,n,i,a,s){if(!t||t.v==null&&t.f==null)return"";var o={};if(t.f&&(o["ss:Formula"]="="+nn(nj(t.f,s))),t.F&&t.F.slice(0,e.length)==e){var c=ea(t.F.slice(e.length+1));o["ss:ArrayRange"]="RC:R"+(c.r==s.r?"":"["+(c.r-s.r)+"]")+"C"+(c.c==s.c?"":"["+(c.c-s.c)+"]")}if(t.l&&t.l.Target&&(o["ss:HRef"]=nn(t.l.Target),t.l.Tooltip&&(o["x:HRefScreenTip"]=nn(t.l.Tooltip))),r["!merges"])for(var A=r["!merges"],u=0;u!=A.length;++u)A[u].s.c!=s.c||A[u].s.r!=s.r||(A[u].e.c>A[u].s.c&&(o["ss:MergeAcross"]=A[u].e.c-A[u].s.c),A[u].e.r>A[u].s.r&&(o["ss:MergeDown"]=A[u].e.r-A[u].s.r));var d="",f="";switch(t.t){case"z":if(!n.sheetStubs)return"";break;case"n":d="Number",f=String(t.v);break;case"b":d="Boolean",f=t.v?"1":"0";break;case"e":d="Error",f=ax[t.v];break;case"d":d="DateTime",f=new Date(t.v).toISOString(),t.z==null&&(t.z=t.z||Zn[14]);break;case"s":d="String",f=y2e(t.v||"");break}var h=gd(n.cellXfs,t,n);o["ss:StyleID"]="s"+(21+h),o["ss:Index"]=s.c+1;var m=t.v!=null?f:"",p=t.t=="z"?"":'<Data ss:Type="'+d+'">'+m+"</Data>";return(t.c||[]).length>0&&(p+=g4e(t.c)),ft("Cell",p,o)}function x4e(t,e){var r='<Row ss:Index="'+(t+1)+'"';return e&&(e.hpt&&!e.hpx&&(e.hpx=yK(e.hpt)),e.hpx&&(r+=' ss:AutoFitHeight="0" ss:Height="'+e.hpx+'"'),e.hidden&&(r+=' ss:Hidden="1"')),r+">"}function y4e(t,e,r,n){if(!t["!ref"])return"";var i=In(t["!ref"]),a=t["!merges"]||[],s=0,o=[];t["!cols"]&&t["!cols"].forEach(function(x,v){tj(x);var y=!!x.width,b=G5(v,x),E={"ss:Index":v+1};
vendor: 5,231 bytes, line 4365
4365y&&(E["ss:Width"]=iC(b.width)),x.hidden&&(E["ss:Hidden"]="1"),o.push(ft("Column",null,E))});for(var c=Array.isArray(t),A=i.s.r;A<=i.e.r;++A){for(var u=[x4e(A,(t["!rows"]||[])[A])],d=i.s.c;d<=i.e.c;++d){var f=!1;for(s=0;s!=a.length;++s)if(!(a[s].s.c>d)&&!(a[s].s.r>A)&&!(a[s].e.c<d)&&!(a[s].e.r<A)){(a[s].s.c!=d||a[s].s.r!=A)&&(f=!0);break}if(!f){var h={r:A,c:d},m=sn(h),p=c?(t[A]||[])[d]:t[m];u.push(v4e(p,m,t,e,r,n,h))}}u.push("</Row>"),u.length>2&&o.push(u.join(""))}return o.join("")}function w4e(t,e,r){var n=[],i=r.SheetNames[t],a=r.Sheets[i],s=a?p4e(a,e,t,r):"";return s.length>0&&n.push("<Names>"+s+"</Names>"),s=a?y4e(a,e,t,r):"",s.length>0&&n.push("<Table>"+s+"</Table>"),n.push(m4e(a,e,t,r)),n.join("")}function b4e(t,e){e||(e={}),t.SSF||(t.SSF=Is(Zn)),t.SSF&&(z5(),H5(t.SSF),e.revssf=V5(t.SSF),e.revssf[t.SSF[65535]]=0,e.ssf=t.SSF,e.cellXfs=[],gd(e.cellXfs,{},{revssf:{General:0}}));var r=[];r.push(u4e(t,e)),r.push(d4e()),r.push(""),r.push("");for(var n=0;n<t.SheetNames.length;++n)r.push(ft("Worksheet",w4e(n,e,t),{"ss:Name":nn(t.SheetNames[n])}));return r[2]=h4e(t,e),r[3]=f4e(t),Ni+ft("Workbook",r.join(""),{xmlns:Ws.ss,"xmlns:o":Ws.o,"xmlns:x":Ws.x,"xmlns:ss":Ws.ss,"xmlns:dt":Ws.dt,"xmlns:html":Ws.html})}var L4={SI:"e0859ff2f94f6810ab9108002b27b3d9",DSI:"02d5cdd59c2e1b10939708002b2cf9ae",UDI:"05d5cdd59c2e1b10939708002b2cf9ae"};function C4e(t,e){var r=[],n=[],i=[],a=0,s,o=yR(kR,"n"),c=yR(PR,"n");if(t.Props)for(s=ba(t.Props),a=0;a<s.length;++a)(Object.prototype.hasOwnProperty.call(o,s[a])?r:Object.prototype.hasOwnProperty.call(c,s[a])?n:i).push([s[a],t.Props[s[a]]]);if(t.Custprops)for(s=ba(t.Custprops),a=0;a<s.length;++a)Object.prototype.hasOwnProperty.call(t.Props||{},s[a])||(Object.prototype.hasOwnProperty.call(o,s[a])?r:Object.prototype.hasOwnProperty.call(c,s[a])?n:i).push([s[a],t.Custprops[s[a]]]);var A=[];for(a=0;a<i.length;++a)AK.indexOf(i[a][0])>-1||oK.indexOf(i[a][0])>-1||i[a][1]!=null&&A.push(i[a]);n.length&&un.utils.cfb_add(e,"/�SummaryInformation",LR(n,L4.SI,c,PR)),(r.length||A.length)&&un.utils.cfb_add(e,"/�DocumentSummaryInformation",LR(r,L4.DSI,o,kR,A.length?A:null,L4.UDI))}function B4e(t,e){var r=e||{},n=un.utils.cfb_new({root:"R"}),i="/Workbook";switch(r.bookType||"xls"){case"xls":r.bookType="biff8";case"xla":r.bookType||(r.bookType="xla");case"biff8":i="/Workbook",r.biff=8;break;case"biff5":i="/Book",r.biff=5;break;default:throw new Error("invalid type "+r.bookType+" for XLS CFB")}return un.utils.cfb_add(n,i,QK(t,r)),r.biff==8&&(t.Props||t.Custprops)&&C4e(t,n),r.biff==8&&t.vbaraw&&HCe(n,un.read(t.vbaraw,{type:typeof t.vbaraw=="string"?"binary":"buffer"})),n}var E4e={0:{f:_Be},1:{f:OBe},2:{f:rEe},3:{f:VBe},4:{f:MBe},5:{f:ZBe},6:{f:oEe},7:{f:GBe},8:{f:fEe},9:{f:hEe},10:{f:uEe},11:{f:dEe},12:{f:UBe},13:{f:iEe},14:{f:KBe},15:{f:HBe},16:{f:eEe},17:{f:cEe},18:{f:XBe},19:{f:YT},20:{},21:{},22:{},23:{},24:{},25:{},26:{},27:{},28:{},29:{},30:{},31:{},32:{},33:{},34:{},35:{T:1},36:{T:-1},37:{T:1},38:{T:-1},39:{f:$Ee},40:{},42:{},43:{f:oCe},44:{f:aCe},45:{f:ACe},46:{f:dCe},47:{f:uCe},48:{},49:{f:U2e},50:{},51:{f:_Ce},52:{T:1},53:{T:-1},54:{T:1},55:{T:-1},56:{T:1},57:{T:-1},58:{},59:{},60:{f:Lbe},62:{f:sEe},63:{f:PCe},64:{f:TEe},65:{},66:{},67:{},68:{},69:{},70:{},128:{},129:{T:1},130:{T:-1},131:{T:1,f:fc,p:0},132:{T:-1},133:{T:1},134:{T:-1},135:{T:1},136:{T:-1},137:{T:1,f:NEe},138:{T:-1},139:{T:1},140:{T:-1},141:{T:1},142:{T:-1},143:{T:1},144:{T:-1},145:{T:1},146:{T:-1},147:{f:PBe},148:{f:jBe,p:16},151:{f:yEe},152:{},153:{f:YEe},154:{},155:{},156:{f:JEe},157:{},158:{},159:{T:1,f:Jbe},160:{T:-1},161:{T:1,f:$h},162:{T:-1},163:{T:1},164:{T:-1},165:{T:1},166:{T:-1},167:{},168:{},169:{},170:{},171:{},172:{T:1},173:{T:-1},174:{},175:{},176:{f:pEe},177:{T:1},178:{T:-1},179:{T:1},180:{T:-1},181:{T:1},182:{T:-1},183:{T:1},184:{T:-1},185:{T:1},186:{T:-1},187:{T:1},188:{T:-1},189:{T:1},190:{T:-1},191:{T:1},192:{T:-1},193:{T:1},194:{T:-1},195:{T:1},196:{T:-1},197:{T:1},198:{T:-1},199:{T:1},200:{T:-1},201:{T:1},202:{T:-1},203:{T:1},204:{T:-1},205:{T:1},206:{T:-1},207:{T:1},208:{T:-1},209:{T:1},210:{T:-1},211:{T:1},212:{T:-1},213:{T:1},214:{T:-1},215:{T:1},216:{T:-1},217:{T:1},218:{T:-1},219:{T:1},220:{T:-1},221:{T:1},222:{T:-1},223:{T:1},224:{T:-1},225:{T:1},226:{T:-1},227:{T:1},228:{T:-1},229:{T:1},230:{T:-1},231:{T:1},232:{T:-1},233:{T:1},234:{T:-1},235:{T:1},236:{T:-1},237:{T:1},238:{T:-1},239:{T:1},240:{T:-1},241:{T:1},242:{T:-1},243:{T:1},244:{T:-1},245:{T:1},246:{T:-1},247:{T:1},248:{T:-1},249:{T:1},250:{T:-1},251:{T:1},252:{T:-1},253:{T:1},254:{T:-1},255:{T:1},256:{T:-1},257:{T:1},258:{T:-1},259:{T:1},260:{T:-1},261:{T:1},262:{T:-1},263:{T:1},264:{T:-1},265:{T:1},266:{T:-1},267:{T:1},268:{T:-1},269:{T:1},270:{T:-1},271:{T:1},272:{T:-1},273:{T:1},274:{T:-1},275:{T:1},276:{T:-1},277:{},278:{T:1},279:{T:-1},280:{T:1},281:{T:-1},282:{T:1},283:{T:1},284:{T:-1},285:{T:1},286:{T:-1},287:{T:1},288:{T:-1},289:{T:1},290:{T:-1},291:{T:1},292:{T:-1},293:{T:1},294:{T:-1},295:{T:1},296:{T:-1},297:{T:1},298:{T:-1},299:{T:1},300:{T:-1},301:{T:1},302:{T:-1},303:{T:1},304:{T:-1},305:{T:1},306:{T:-1},307:{T:1},308:{T:-1},309:{T:1},310:{T:-1},311:{T:1},312:{T:-1},313:{T:-1},314:{T:1},315:{T:-1},316:{T:1},317:{T:-1},318:{T:1},319:{T:-1},320:{T:1},321:{T:-1}
vendor: 6,358 bytes, line 4365
4365,322:{T:1},323:{T:-1},324:{T:1},325:{T:-1},326:{T:1},327:{T:-1},328:{T:1},329:{T:-1},330:{T:1},331:{T:-1},332:{T:1},333:{T:-1},334:{T:1},335:{f:NCe},336:{T:-1},337:{f:jCe,T:1},338:{T:-1},339:{T:1},340:{T:-1},341:{T:1},342:{T:-1},343:{T:1},344:{T:-1},345:{T:1},346:{T:-1},347:{T:1},348:{T:-1},349:{T:1},350:{T:-1},351:{},352:{},353:{T:1},354:{T:-1},355:{f:Q_},357:{},358:{},359:{},360:{T:1},361:{},362:{f:kbe},363:{},364:{},366:{},367:{},368:{},369:{},370:{},371:{},372:{T:1},373:{T:-1},374:{T:1},375:{T:-1},376:{T:1},377:{T:-1},378:{T:1},379:{T:-1},380:{T:1},381:{T:-1},382:{T:1},383:{T:-1},384:{T:1},385:{T:-1},386:{T:1},387:{T:-1},388:{T:1},389:{T:-1},390:{T:1},391:{T:-1},392:{T:1},393:{T:-1},394:{T:1},395:{T:-1},396:{},397:{},398:{},399:{},400:{},401:{T:1},403:{},404:{},405:{},406:{},407:{},408:{},409:{},410:{},411:{},412:{},413:{},414:{},415:{},416:{},417:{},418:{},419:{},420:{},421:{},422:{T:1},423:{T:1},424:{T:-1},425:{T:-1},426:{f:wEe},427:{f:bEe},428:{},429:{T:1},430:{T:-1},431:{T:1},432:{T:-1},433:{T:1},434:{T:-1},435:{T:1},436:{T:-1},437:{T:1},438:{T:-1},439:{T:1},440:{T:-1},441:{T:1},442:{T:-1},443:{T:1},444:{T:-1},445:{T:1},446:{T:-1},447:{T:1},448:{T:-1},449:{T:1},450:{T:-1},451:{T:1},452:{T:-1},453:{T:1},454:{T:-1},455:{T:1},456:{T:-1},457:{T:1},458:{T:-1},459:{T:1},460:{T:-1},461:{T:1},462:{T:-1},463:{T:1},464:{T:-1},465:{T:1},466:{T:-1},467:{T:1},468:{T:-1},469:{T:1},470:{T:-1},471:{},472:{},473:{T:1},474:{T:-1},475:{},476:{f:BEe},477:{},478:{},479:{T:1},480:{T:-1},481:{T:1},482:{T:-1},483:{T:1},484:{T:-1},485:{f:kBe},486:{T:1},487:{T:-1},488:{T:1},489:{T:-1},490:{T:1},491:{T:-1},492:{T:1},493:{T:-1},494:{f:vEe},495:{T:1},496:{T:-1},497:{T:1},498:{T:-1},499:{},500:{T:1},501:{T:-1},502:{T:1},503:{T:-1},504:{},505:{T:1},506:{T:-1},507:{},508:{T:1},509:{T:-1},510:{T:1},511:{T:-1},512:{},513:{},514:{T:1},515:{T:-1},516:{T:1},517:{T:-1},518:{T:1},519:{T:-1},520:{T:1},521:{T:-1},522:{},523:{},524:{},525:{},526:{},527:{},528:{T:1},529:{T:-1},530:{T:1},531:{T:-1},532:{T:1},533:{T:-1},534:{},535:{},536:{},537:{},538:{T:1},539:{T:-1},540:{T:1},541:{T:-1},542:{T:1},548:{},549:{},550:{f:Q_},551:{},552:{},553:{},554:{T:1},555:{T:-1},556:{T:1},557:{T:-1},558:{T:1},559:{T:-1},560:{T:1},561:{T:-1},562:{},564:{},565:{T:1},566:{T:-1},569:{T:1},570:{T:-1},572:{},573:{T:1},574:{T:-1},577:{},578:{},579:{},580:{},581:{},582:{},583:{},584:{},585:{},586:{},587:{},588:{T:-1},589:{},590:{T:1},591:{T:-1},592:{T:1},593:{T:-1},594:{T:1},595:{T:-1},596:{},597:{T:1},598:{T:-1},599:{T:1},600:{T:-1},601:{T:1},602:{T:-1},603:{T:1},604:{T:-1},605:{T:1},606:{T:-1},607:{},608:{T:1},609:{T:-1},610:{},611:{T:1},612:{T:-1},613:{T:1},614:{T:-1},615:{T:1},616:{T:-1},617:{T:1},618:{T:-1},619:{T:1},620:{T:-1},625:{},626:{T:1},627:{T:-1},628:{T:1},629:{T:-1},630:{T:1},631:{T:-1},632:{f:LCe},633:{T:1},634:{T:-1},635:{T:1,f:RCe},636:{T:-1},637:{f:H2e},638:{T:1},639:{},640:{T:-1},641:{T:1},642:{T:-1},643:{T:1},644:{},645:{T:-1},646:{T:1},648:{T:1},649:{},650:{T:-1},651:{f:zEe},652:{},653:{T:1},654:{T:-1},655:{T:1},656:{T:-1},657:{T:1},658:{T:-1},659:{},660:{T:1},661:{},662:{T:-1},663:{},664:{T:1},665:{},666:{T:-1},667:{},668:{},669:{},671:{T:1},672:{T:-1},673:{T:1},674:{T:-1},675:{},676:{},677:{},678:{},679:{},680:{},681:{},1024:{},1025:{},1026:{T:1},1027:{T:-1},1028:{T:1},1029:{T:-1},1030:{},1031:{T:1},1032:{T:-1},1033:{T:1},1034:{T:-1},1035:{},1036:{},1037:{},1038:{T:1},1039:{T:-1},1040:{},1041:{T:1},1042:{T:-1},1043:{},1044:{},1045:{},1046:{T:1},1047:{T:-1},1048:{T:1},1049:{T:-1},1050:{},1051:{T:1},1052:{T:1},1053:{f:jEe},1054:{T:1},1055:{},1056:{T:1},1057:{T:-1},1058:{T:1},1059:{T:-1},1061:{},1062:{T:1},1063:{T:-1},1064:{T:1},1065:{T:-1},1066:{T:1},1067:{T:-1},1068:{T:1},1069:{T:-1},1070:{T:1},1071:{T:-1},1072:{T:1},1073:{T:-1},1075:{T:1},1076:{T:-1},1077:{T:1},1078:{T:-1},1079:{T:1},1080:{T:-1},1081:{T:1},1082:{T:-1},1083:{T:1},1084:{T:-1},1085:{},1086:{T:1},1087:{T:-1},1088:{T:1},1089:{T:-1},1090:{T:1},1091:{T:-1},1092:{T:1},1093:{T:-1},1094:{T:1},1095:{T:-1},1096:{},1097:{T:1},1098:{},1099:{T:-1},1100:{T:1},1101:{T:-1},1102:{},1103:{},1104:{},1105:{},1111:{},1112:{},1113:{T:1},1114:{T:-1},1115:{T:1},1116:{T:-1},1117:{},1118:{T:1},1119:{T:-1},1120:{T:1},1121:{T:-1},1122:{T:1},1123:{T:-1},1124:{T:1},1125:{T:-1},1126:{},1128:{T:1},1129:{T:-1},1130:{},1131:{T:1},1132:{T:-1},1133:{T:1},1134:{T:-1},1135:{T:1},1136:{T:-1},1137:{T:1},1138:{T:-1},1139:{T:1},1140:{T:-1},1141:{},1142:{T:1},1143:{T:-1},1144:{T:1},1145:{T:-1},1146:{},1147:{T:1},1148:{T:-1},1149:{T:1},1150:{T:-1},1152:{T:1},1153:{T:-1},1154:{T:-1},1155:{T:-1},1156:{T:-1},1157:{T:1},1158:{T:-1},1159:{T:1},1160:{T:-1},1161:{T:1},1162:{T:-1},1163:{T:1},1164:{T:-1},1165:{T:1},1166:{T:-1},1167:{T:1},1168:{T:-1},1169:{T:1},1170:{T:-1},1171:{},1172:{T:1},1173:{T:-1},1177:{},1178:{T:1},1180:{},1181:{},1182:{},2048:{T:1},2049:{T:-1},2050:{},2051:{T:1},2052:{T:-1},2053:{},2054:{},2055:{T:1},2056:{T:-1},2057:{T:1},2058:{T:-1},2060:{},2067:{},2068:{T:1},2069:{T:-1},2070:{},2071:{},2072:{T:1},2073:{T:-1},2075:{},2076:{},2077:{T:1},2078:{T:-1},2079:{},2080:{T:1},2081:{T:-1},2082:{},2083:{T:1},2084:{T:-1},2085:{T:1},2086:{T:-1},2087:{T:1},2088:{T:-1},2089:{T:1},2090:{T:-1},2091:{},2092:{},2093:{T:1},2094:{T:-1},2095:{},2096:{T:1},2097:{T:-1},2098:{T:1},2099:{T:-1},2100:{T:1},2101:{T:-1},2102:{},2103:{T:1},2104:{T:-1},2105:{},2106:{T:1},2107:{T:-1},2108:{},2109:{T:1},2110:{T:-1},2111:{T:1},2112:{T:-1},2113:{T:1},2114:{T:-1},2115:{},2116:{},2117:{},2118:{T:1},2119:{T:-1},2120:{},2121:{T:1},2122:{T:-1},2123:{T:1},2124:{T:-1},2125:{},2126:{T:1},2127:{T:-1},2128:{},2129:{T:1},2130:{T:-1},2131:{T:1},2132:{T:-1},2133:{T:1},2134:{},2135:{},2136:{},2137:{T:1},2138:{T:-1},2139:{T:1},2140:{T:-1},2141:{},3072:{},3073:{},4096:{T:1},4097:{T:-1},5002:{T:1},5003:{T:-1},5081:{T:1},5082:{T:-1},5083:{},5084:{T:1},5085:{T:-1},5086:{T:1},5087:{T:-1},5088:{},5089:{},5090:{},5092:{T:1},5093:{T:-1},5094:{},5095:{T:1},5096:{T:-1},5097:{},5099:{},65535:{n:""}};function mt(t,e,r,n){var i=e;if(!isNaN(i)){var a=n||(r||[]).length||0,s=t.next(4);s.write_shift(2,i),s.write_shift(2,a),a>0&>(r)&&t.push(r)}}function N4e(t,e,r,n){var i=(r||[]).length||0;if(i<=8224)return mt(t,e,r,i);var a=e;if(!isNaN(a)){for(var s=r.parts||[],o=0,c=0,A=0;A+(s[o]||8224)<=8224;)A+=s[o]||8224,o++;var u=t.next(4);for(u.write_shift(2,a),u.write_shift(2,A),t.push(r.slice(c,c+A)),c+=A;c<i;
vendor: 4,568 bytes, line 4365
4365){for(u=t.next(4),u.write_shift(2,60),A=0;A+(s[o]||8224)<=8224;)A+=s[o]||8224,o++;u.write_shift(2,A),t.push(r.slice(c,c+A)),c+=A}}}function ox(t,e,r){return t||(t=ze(7)),t.write_shift(2,e),t.write_shift(2,r),t.write_shift(2,0),t.write_shift(1,0),t}function S4e(t,e,r,n){var i=ze(9);return ox(i,t,e),dK(r,n||"b",i),i}function _4e(t,e,r){var n=ze(8+2*r.length);return ox(n,t,e),n.write_shift(1,r.length),n.write_shift(r.length,r,"sbcs"),n.l<n.length?n.slice(0,n.l):n}function F4e(t,e,r,n){if(e.v!=null)switch(e.t){case"d":case"n":var i=e.t=="d"?js(ss(e.v)):e.v;i==(i|0)&&i>=0&&i<65536?mt(t,2,zbe(r,n,i)):mt(t,3,Hbe(r,n,i));return;case"b":case"e":mt(t,5,S4e(r,n,e.v,e.t));return;case"s":case"str":mt(t,4,_4e(r,n,(e.v||"").slice(0,255)));return}mt(t,1,ox(null,r,n))}function T4e(t,e,r,n){var i=Array.isArray(e),a=In(e["!ref"]||"A1"),s,o="",c=[];if(a.e.c>255||a.e.r>16383){if(n.WTF)throw new Error("Range "+(e["!ref"]||"A1")+" exceeds format limit A1:IV16384");a.e.c=Math.min(a.e.c,255),a.e.r=Math.min(a.e.c,16383),s=Bi(a)}for(var A=a.s.r;A<=a.e.r;++A){o=xa(A);for(var u=a.s.c;u<=a.e.c;++u){A===a.s.r&&(c[u]=Oa(u)),s=c[u]+o;var d=i?(e[A]||[])[u]:e[s];d&&F4e(t,d,A,u)}}}function j4e(t,e){for(var r=e||{},n=Fs(),i=0,a=0;a<t.SheetNames.length;++a)t.SheetNames[a]==r.sheet&&(i=a);if(i==0&&r.sheet&&t.SheetNames[0]!=r.sheet)throw new Error("Sheet not found: "+r.sheet);return mt(n,r.biff==4?1033:r.biff==3?521:9,ej(t,16,r)),T4e(n,t.Sheets[t.SheetNames[i]],i,r),mt(n,10),n.end()}function I4e(t,e,r){mt(t,49,Ebe({sz:12,color:{theme:1},name:"Arial",family:2,scheme:"minor"},r))}function k4e(t,e,r){e&&[[5,8],[23,26],[41,44],[50,392]].forEach(function(n){for(var i=n[0];i<=n[1];++i)e[i]!=null&&mt(t,1054,_be(i,e[i],r))})}function P4e(t,e){var r=ze(19);r.write_shift(4,2151),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(2,3),r.write_shift(1,1),r.write_shift(4,0),mt(t,2151,r),r=ze(39),r.write_shift(4,2152),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(2,3),r.write_shift(1,0),r.write_shift(4,0),r.write_shift(2,1),r.write_shift(4,4),r.write_shift(2,0),pK(In(e["!ref"]||"A1"),r),r.write_shift(4,4),mt(t,2152,r)}function D4e(t,e){for(var r=0;r<16;++r)mt(t,224,QR({numFmtId:0,style:!0},0,e));e.cellXfs.forEach(function(n){mt(t,224,QR(n,0,e))})}function O4e(t,e){for(var r=0;r<e["!links"].length;++r){var n=e["!links"][r];mt(t,440,Obe(n)),n[1].Tooltip&&mt(t,2048,Rbe(n))}delete e["!links"]}function R4e(t,e){if(e){var r=0;e.forEach(function(n,i){++r<=256&&n&&mt(t,125,Mbe(G5(i,n),i))})}}function U4e(t,e,r,n,i){var a=16+gd(i.cellXfs,e,i);if(e.v==null&&!e.bf){mt(t,513,Ph(r,n,a));return}if(e.bf)mt(t,6,lBe(e,r,n,i,a));else switch(e.t){case"d":case"n":var s=e.t=="d"?js(ss(e.v)):e.v;mt(t,515,Ibe(r,n,s,a));break;case"b":case"e":mt(t,517,jbe(r,n,e.v,a,i,e.t));break;case"s":case"str":if(i.bookSST){var o=aj(i.Strings,e.v,i.revStrings);mt(t,253,Nbe(r,n,o,a))}else mt(t,516,Sbe(r,n,(e.v||"").slice(0,255),a,i));break;default:mt(t,513,Ph(r,n,a))}}function L4e(t,e,r){var n=Fs(),i=r.SheetNames[t],a=r.Sheets[i]||{},s=(r||{}).Workbook||{},o=(s.Sheets||[])[t]||{},c=Array.isArray(a),A=e.biff==8,u,d="",f=[],h=In(a["!ref"]||"A1"),m=A?65536:16384;if(h.e.c>255||h.e.r>=m){if(e.WTF)throw new Error("Range "+(a["!ref"]||"A1")+" exceeds format limit A1:IV16384");h.e.c=Math.min(h.e.c,255),h.e.r=Math.min(h.e.c,m-1)}mt(n,2057,ej(r,16,e)),mt(n,13,Eo(1)),mt(n,12,Eo(100)),mt(n,15,Za(!0)),mt(n,17,Za(!1)),mt(n,16,kh(.001)),mt(n,95,Za(!0)),mt(n,42,Za(!1)),mt(n,43,Za(!1)),mt(n,130,Eo(1)),mt(n,128,Tbe()),mt(n,131,Za(!1)),mt(n,132,Za(!1)),A&&R4e(n,a["!cols"]),mt(n,512,Fbe(h,e)),A&&(a["!links"]=[]);for(var p=h.s.r;p<=h.e.r;++p){d=xa(p);for(var x=h.s.c;x<=h.e.c;++x){p===h.s.r&&(f[x]=Oa(x)),u=f[x]+d;var v=c?(a[p]||[])[x]:a[u];v&&(U4e(n,v,p,x,e),A&&v.l&&a["!links"].push([u,v.l]))}}var y=o.CodeName||o.name||i;return A&&mt(n,574,Bbe((s.Views||[])[0])),A&&(a["!merges"]||[]).length&&mt(n,229,Dbe(a["!merges"])),A&&O4e(n,a),mt(n,442,fK(y)),A&&P4e(n,a),mt(n,10),n.end()}function M4e(t,e,r){var n=Fs(),i=(t||{}).Workbook||{},a=i.Sheets||[],s=i.WBProps||{},o=r.biff==8,c=r.biff==5;if(mt(n,2057,ej(t,5,r)),r.bookType=="xla"&&mt(n,135),mt(n,225,o?Eo(1200):null),mt(n,193,ube(2)),c&&mt(n,191),c&&mt(n,192),mt(n,226),mt(n,92,ybe("SheetJS",r)),mt(n,66,Eo(o?1200:1252)),o&&mt(n,353,Eo(0)),o&&mt(n,448),mt(n,317,Qbe(t.SheetNames.length)),o&&t.vbaraw&&mt(n,211),o&&t.vbaraw){var A=s.CodeName||"ThisWorkbook";mt(n,442,fK(A))}mt(n,156,Eo(17)),mt(n,25,Za(!1)),mt(n,18,Za(!1)),mt(n,19,Eo(0)),o&&mt(n,431,Za(!1)),o&&mt(n,444,Eo(0)),mt(n,61,Cbe()),mt(n,64,Za(!1)),mt(n,141,Eo(0)),mt(n,34,Za(WEe(t)=="true")),mt(n,
vendor: 5,317 bytes, line 4365
436514,Za(!0)),o&&mt(n,439,Za(!1)),mt(n,218,Eo(0)),I4e(n,t,r),k4e(n,t.SSF,r),D4e(n,r),o&&mt(n,352,Za(!1));var u=n.end(),d=Fs();o&&mt(d,140,Ube()),o&&r.Strings&&N4e(d,252,bbe(r.Strings)),mt(d,10);var f=d.end(),h=Fs(),m=0,p=0;for(p=0;p<t.SheetNames.length;++p)m+=(o?12:11)+(o?2:1)*t.SheetNames[p].length;var x=u.length+m+f.length;for(p=0;p<t.SheetNames.length;++p){var v=a[p]||{};mt(h,133,wbe({pos:x,hs:v.Hidden||0,dt:0,name:t.SheetNames[p]},r)),x+=e[p].length}var y=h.end();if(m!=y.length)throw new Error("BS8 "+m+" != "+y.length);var b=[];return u.length&&b.push(u),y.length&&b.push(y),f.length&&b.push(f),Aa(b)}function Q4e(t,e){var r=e||{},n=[];t&&!t.SSF&&(t.SSF=Is(Zn)),t&&t.SSF&&(z5(),H5(t.SSF),r.revssf=V5(t.SSF),r.revssf[t.SSF[65535]]=0,r.ssf=t.SSF),r.Strings=[],r.Strings.Count=0,r.Strings.Unique=0,sj(r),r.cellXfs=[],gd(r.cellXfs,{},{revssf:{General:0}}),t.Props||(t.Props={});for(var i=0;i<t.SheetNames.length;++i)n[n.length]=L4e(i,r,t);return n.unshift(M4e(t,n,r)),Aa(n)}function QK(t,e){for(var r=0;r<=t.SheetNames.length;++r){var n=t.Sheets[t.SheetNames[r]];if(!(!n||!n["!ref"])){var i=so(n["!ref"]);i.e.c>255&&typeof console<"u"&&console.error&&console.error("Worksheet '"+t.SheetNames[r]+"' extends beyond column IV (255). Data may be lost.")}}var a=e||{};switch(a.biff||2){case 8:case 5:return Q4e(t,e);case 4:case 3:case 2:return j4e(t,e)}throw new Error("invalid type "+a.bookType+" for BIFF")}function H4e(t,e,r,n){for(var i=t["!merges"]||[],a=[],s=e.s.c;s<=e.e.c;++s){for(var o=0,c=0,A=0;A<i.length;++A)if(!(i[A].s.r>r||i[A].s.c>s)&&!(i[A].e.r<r||i[A].e.c<s)){if(i[A].s.r<r||i[A].s.c<s){o=-1;break}o=i[A].e.r-i[A].s.r+1,c=i[A].e.c-i[A].s.c+1;break}if(!(o<0)){var u=sn({r,c:s}),d=n.dense?(t[r]||[])[s]:t[u],f=d&&d.v!=null&&(d.h||x2e(d.w||(hA(d),d.w)||""))||"",h={};o>1&&(h.rowspan=o),c>1&&(h.colspan=c),n.editable?f='<span contenteditable="true">'+f+"</span>":d&&(h["data-t"]=d&&d.t||"z",d.v!=null&&(h["data-v"]=d.v),d.z!=null&&(h["data-z"]=d.z),d.l&&(d.l.Target||"#").charAt(0)!="#"&&(f='<a href="'+d.l.Target+'">'+f+"</a>")),h.id=(n.id||"sjs")+"-"+u,a.push(ft("td",f,h))}}var m="<tr>";return m+a.join("")+"</tr>"}var z4e='<html><head><meta charset="utf-8"/><title>SheetJS Table Export</title></head><body>',V4e="</body></html>";function W4e(t,e,r){var n=[];return n.join("")+"<table"+(r&&r.id?' id="'+r.id+'"':"")+">"}function HK(t,e){var r=e||{},n=r.header!=null?r.header:z4e,i=r.footer!=null?r.footer:V4e,a=[n],s=so(t["!ref"]);r.dense=Array.isArray(t),a.push(W4e(t,s,r));for(var o=s.s.r;o<=s.e.r;++o)a.push(H4e(t,s,o,r));return a.push("</table>"+i),a.join("")}function zK(t,e,r){var n=r||{},i=0,a=0;if(n.origin!=null)if(typeof n.origin=="number")i=n.origin;else{var s=typeof n.origin=="string"?ea(n.origin):n.origin;i=s.r,a=s.c}var o=e.getElementsByTagName("tr"),c=Math.min(n.sheetRows||1e7,o.length),A={s:{r:0,c:0},e:{r:i,c:a}};if(t["!ref"]){var u=so(t["!ref"]);A.s.r=Math.min(A.s.r,u.s.r),A.s.c=Math.min(A.s.c,u.s.c),A.e.r=Math.max(A.e.r,u.e.r),A.e.c=Math.max(A.e.c,u.e.c),i==-1&&(A.e.r=i=u.e.r+1)}var d=[],f=0,h=t["!rows"]||(t["!rows"]=[]),m=0,p=0,x=0,v=0,y=0,b=0;for(t["!cols"]||(t["!cols"]=[]);m<o.length&&p<c;++m){var E=o[m];if(GR(E)){if(n.display)continue;h[p]={hidden:!0}}var S=E.children;for(x=v=0;x<S.length;++x){var I=S[x];if(!(n.display&&GR(I))){var B=I.hasAttribute("data-v")?I.getAttribute("data-v"):I.hasAttribute("v")?I.getAttribute("v"):C2e(I.innerHTML),_=I.getAttribute("data-z")||I.getAttribute("z");for(f=0;f<d.length;++f){var O=d[f];O.s.c==v+a&&O.s.r<p+i&&p+i<=O.e.r&&(v=O.e.c+1-a,f=-1)}b=+I.getAttribute("colspan")||1,((y=+I.getAttribute("rowspan")||1)>1||b>1)&&d.push({s:{r:p+i,c:v+a},e:{r:p+i+(y||1)-1,c:v+a+(b||1)-1}});var j={t:"s",v:B},T=I.getAttribute("data-t")||I.getAttribute("t")||"";B!=null&&(B.length==0?j.t=T||"z":n.raw||B.trim().length==0||T=="s"||(B==="TRUE"?j={t:"b",v:!0}:B==="FALSE"?j={t:"b",v:!1}:isNaN(eA(B))?isNaN(p1(B).getDate())||(j={t:"d",v:ss(B)},n.cellDates||(j={t:"n",v:js(j.v)}),j.z=n.dateNF||Zn[14]):j={t:"n",v:eA(B)})),j.z===void 0&&_!=null&&(j.z=_);var P="",L=I.getElementsByTagName("A");if(L&&L.length)for(var K=0;K<L.length&&!(L[K].hasAttribute("href")&&(P=L[K].getAttribute("href"),P.charAt(0)!="#"));++K);P&&P.charAt(0)!="#"&&(j.l={Target:P}),n.dense?(t[p+i]||(t[p+i]=[]),t[p+i][v+a]=j):t[sn({c:v+a,r:p+i})]=j,A.e.c<v+a&&(A.e.c=v+a),v+=b}}++p}return d.length&&(t["!merges"]=(t["!merges"]||[]).concat(d)),A.e.r=Math.max(A.e.r,p-1+i),t["!ref"]=Bi(A),p>=c&&(t["!fullref"]=Bi((A.e.r=o.length-m+p-1+i,A))),t}function VK(t,e){var r=e||{},n=r.dense?[]:{};return zK(n,t,e)}function K4e(t,e){return Jh(VK(t,e),e)}function GR(t){var e="",r=q4e(t);return r&&(e=r(t).getPropertyValue("display")),e||(e=t.style&&t.style.display),e==="none"}function q4e(t){return t.ownerDocument.defaultView&&typeof t.ownerDocument.defaultView.getComputedStyle=="function"?t.ownerDocument.defaultView.getComputedStyle:typeof getComputedStyle=="function"?getComputedStyle:null}var G4e=function(){var t=["<office:master-styles>",'<style:master-page style:name="mp1" style:page-layout-name="mp1">',"<style:header/>",'<style:header-left style:display="false"/>',"<style:footer/>",'<style:footer-left style:display="false"/>',"</style:master-page>","</office:master-styles>"].join(""),e="<office:document-styles "+g1({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office
4365:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","office:version":"1.2"})+">"+t+"</office:document-styles>";return function(){return Ni+e}}(),JR=function(){var t=function(a){return nn(a).replace(/ +/g,function(s){return'<text:s text:c="'+s.length+'"/>'}).replace(/\t/g,"<text:tab/>").replace(/\n/g,"</text:p><text:p>").replace(/^ /,"<text:s/>").replace(/ $/,"<text:s/>")},e=` <table:table-cell /> 4366`,r=` <table:covered-table-cell/> 4367`,n=function(a,s,o){var c=[];c.push(' <table:table table:name="'+nn(s.SheetNames[o])+`" table:style-name="ta1"> 4368`);var A=0,u=0,d=so(a["!ref"]||"A1"),f=a["!merges"]||[],h=0,m=Array.isArray(a);if(a["!cols"])for(u=0;u<=d.e.c;++u)c.push(" <table:table-column"+(a["!cols"][u]?' table:style-name="co'+a["!cols"][u].ods+'"':"")+`></table:table-column> 4369`);var p="",x=a["!rows"]||[];for(A=0;A<d.s.r;++A)p=x[A]?' table:style-name="ro'+x[A].ods+'"':"",c.push(" <table:table-row"+p+`></table:table-row> 4370`);for(;A<=d.e.r;++A){for(p=x[A]?' table:style-name="ro'+x[A].ods+'"':"",c.push(" <table:table-row"+p+`> 4371`),u=0;u<d.s.c;++u)c.push(e);for(;u<=d.e.c;++u){var v=!1,y={},b="";for(h=0;h!=f.length;++h)if(!(f[h].s.c>u)&&!(f[h].s.r>A)&&!(f[h].e.c<u)&&!(f[h].e.r<A)){(f[h].s.c!=u||f[h].s.r!=A)&&(v=!0),y["table:number-columns-spanned"]=f[h].e.c-f[h].s.c+1,y["table:number-rows-spanned"]=f[h].e.r-f[h].s.r+1;break}if(v){c.push(r);continue}var E=sn({r:A,c:u}),S=m?(a[A]||[])[u]:a[E];if(S&&S.f&&(y["table:formula"]=nn(fBe(S.f)),S.F&&S.F.slice(0,E.length)==E)){var I=so(S.F);y["table:number-matrix-columns-spanned"]=I.e.c-I.s.c+1,y["table:number-matrix-rows-spanned"]=I.e.r-I.s.r+1}if(!S){c.push(e);continue}switch(S.t){case"b":b=S.v?"TRUE":"FALSE",y["office:value-type"]="boolean",y["office:boolean-value"]=S.v?"true":"false";break;
vendor: 20,112 bytes, lines 4371-4399
4371case"n":b=S.w||String(S.v||0),y["office:value-type"]="float",y["office:value"]=S.v||0;break;case"s":case"str":b=S.v==null?"":S.v,y["office:value-type"]="string";break;case"d":b=S.w||ss(S.v).toISOString(),y["office:value-type"]="date",y["office:date-value"]=ss(S.v).toISOString(),y["table:style-name"]="ce1";break;default:c.push(e);continue}var B=t(b);if(S.l&&S.l.Target){var _=S.l.Target;_=_.charAt(0)=="#"?"#"+pBe(_.slice(1)):_,_.charAt(0)!="#"&&!_.match(/^\w+:/)&&(_="../"+_),B=ft("text:a",B,{"xlink:href":_.replace(/&/g,"&")})}c.push(" "+ft("table:table-cell",ft("text:p",B,{}),y)+` 4372`)}c.push(` </table:table-row> 4373`)}return c.push(` </table:table> 4374`),c.join("")},i=function(a,s){a.push(` <office:automatic-styles> 4375`),a.push(` <number:date-style style:name="N37" number:automatic-order="true"> 4376`),a.push(` <number:month number:style="long"/> 4377`),a.push(` <number:text>/</number:text> 4378`),a.push(` <number:day number:style="long"/> 4379`),a.push(` <number:text>/</number:text> 4380`),a.push(` <number:year/> 4381`),a.push(` </number:date-style> 4382`);var o=0;s.SheetNames.map(function(A){return s.Sheets[A]}).forEach(function(A){if(A&&A["!cols"]){for(var u=0;u<A["!cols"].length;++u)if(A["!cols"][u]){var d=A["!cols"][u];if(d.width==null&&d.wpx==null&&d.wch==null)continue;tj(d),d.ods=o;var f=A["!cols"][u].wpx+"px";a.push(' <style:style style:name="co'+o+`" style:family="table-column"> 4383`),a.push(' <style:table-column-properties fo:break-before="auto" style:column-width="'+f+`"/> 4384`),a.push(` </style:style> 4385`),++o}}});var c=0;s.SheetNames.map(function(A){return s.Sheets[A]}).forEach(function(A){if(A&&A["!rows"]){for(var u=0;u<A["!rows"].length;++u)if(A["!rows"][u]){A["!rows"][u].ods=c;var d=A["!rows"][u].hpx+"px";a.push(' <style:style style:name="ro'+c+`" style:family="table-row"> 4386`),a.push(' <style:table-row-properties fo:break-before="auto" style:row-height="'+d+`"/> 4387`),a.push(` </style:style> 4388`),++c}}}),a.push(` <style:style style:name="ta1" style:family="table" style:master-page-name="mp1"> 4389`),a.push(` <style:table-properties table:display="true" style:writing-mode="lr-tb"/> 4390`),a.push(` </style:style> 4391`),a.push(` <style:style style:name="ce1" style:family="table-cell" style:parent-style-name="Default" style:data-style-name="N37"/> 4392`),a.push(` </office:automatic-styles> 4393`)};return function(s,o){var c=[Ni],A=g1({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:meta":"urn:oasis:names:tc:opendocument:xmlns:meta:1.0","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:presentation":"urn:oasis:names:tc:opendocument:xmlns:presentation:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:chart":"urn:oasis:names:tc:opendocument:xmlns:chart:1.0","xmlns:dr3d":"urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0","xmlns:math":"http://www.w3.org/1998/Math/MathML","xmlns:form":"urn:oasis:names:tc:opendocument:xmlns:form:1.0","xmlns:script":"urn:oasis:names:tc:opendocument:xmlns:script:1.0","xmlns:ooo":"http://openoffice.org/2004/office","xmlns:ooow":"http://openoffice.org/2004/writer","xmlns:oooc":"http://openoffice.org/2004/calc","xmlns:dom":"http://www.w3.org/2001/xml-events","xmlns:xforms":"http://www.w3.org/2002/xforms","xmlns:xsd":"http://www.w3.org/2001/XMLSchema","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance","xmlns:sheet":"urn:oasis:names:tc:opendocument:sh33tjs:1.0","xmlns:rpt":"http://openoffice.org/2005/report","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","xmlns:xhtml":"http://www.w3.org/1999/xhtml","xmlns:grddl":"http://www.w3.org/2003/g/data-view#","xmlns:tableooo":"http://openoffice.org/2009/table","xmlns:drawooo":"http://openoffice.org/2010/draw","xmlns:calcext":"urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0","xmlns:loext":"urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0","xmlns:field":"urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0","xmlns:formx":"urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0","xmlns:css3t":"http://www.w3.org/TR/css3-text/","office:version":"1.2"}),u=g1({"xmlns:config":"urn:oasis:names:tc:opendocument:xmlns:config:1.0","office:mimetype":"application/vnd.oasis.opendocument.spreadsheet"});o.bookType=="fods"?(c.push("<office:document"+A+u+`> 4394`),c.push(aK().replace(/office:document-meta/g,"office:meta"))):c.push("<office:document-content"+A+`> 4395`),i(c,s),c.push(` <office:body> 4396`),c.push(` <office:spreadsheet> 4397`);for(var d=0;d!=s.SheetNames.length;++d)c.push(n(s.Sheets[s.SheetNames[d]],s,d));return c.push(` </office:spreadsheet> 4398`),c.push(` </office:body> 4399`),o.bookType=="fods"?c.push("</office:document>"):c.push("</office:document-content>"),c.join("")}}();function WK(t,e){if(e.bookType=="fods")return JR(t,e);var r=VT(),n="",i=[],a=[];return n="mimetype",pr(r,n,"application/vnd.oasis.opendocument.spreadsheet"),n="content.xml",pr(r,n,JR(t,e)),i.push([n,"text/xml"]),a.push([n,"ContentFile"]),n="styles.xml",pr(r,n,G4e(t,e)),i.push([n,"text/xml"]),a.push([n,"StylesFile"]),n="meta.xml",pr(r,n,Ni+aK()),i.push([n,"text/xml"]),a.push([n,"MetadataFile"]),n="manifest.rdf",pr(r,n,sbe(a)),i.push([n,"application/rdf+xml"]),n="META-INF/manifest.xml",pr(r,n,ibe(i)),r}/*! sheetjs (C) 2013-present SheetJS -- http://sheetjs.com */function oC(t){return new DataView(t.buffer,t.byteOffset,t.byteLength)}function J4e(t){return typeof TextEncoder<"u"?new TextEncoder().encode(t):gl(m1(t))}function X4e(t,e){e:for(var r=0;r<=t.length-e.length;++r){for(var n=0;n<e.length;++n)if(t[r+n]!=e[n])continue e;return!0}return!1}function sd(t){var e=t.reduce(function(i,a){return i+a.length},0),r=new Uint8Array(e),n=0;return t.forEach(function(i){r.set(i,n),n+=i.length}),r}function Y4e(t,e,r){var n=Math.floor(r==0?0:Math.LOG10E*Math.log(Math.abs(r)))+6176-20,i=r/Math.pow(10,n-6176);t[e+15]|=n>>7,t[e+14]|=(n&127)<<1;for(var a=0;i>=1;++a,i/=256)t[e+a]=i&255;t[e+15]|=r>=0?0:128}function v1(t,e){var r=e?e[0]:0,n=t[r]&127;e:if(t[r++]>=128&&(n|=(t[r]&127)<<7,t[r++]<128||(n|=(t[r]&127)<<14,t[r++]<128)||(n|=(t[r]&127)<<21,t[r++]<128)||(n+=(t[r]&127)*Math.pow(2,28),++r,t[r++]<128)||(n+=(t[r]&127)*Math.pow(2,35),++r,t[r++]<128)||(n+=(t[r]&127)*Math.pow(2,42),++r,t[r++]<128)))break e;return e&&(e[0]=r),n}function $r(t){var e=new Uint8Array(7);e[0]=t&127;var r=1;e:if(t>127){if(e[r-1]|=128,e[r]=t>>7&127,++r,t<=16383||(e[r-1]|=128,e[r]=t>>14&127,++r,t<=2097151)||(e[r-1]|=128,e[r]=t>>21&127,++r,t<=268435455)||(e[r-1]|=128,e[r]=t/256>>>21&127,++r,t<=34359738367)||(e[r-1]|=128,e[r]=t/65536>>>21&127,++r,t<=4398046511103))break e;e[r-1]|=128,e[r]=t/16777216>>>21&127,++r}return e.slice(0,r)}function Z0(t){var e=0,r=t[e]&127;e:if(t[e++]>=128){if(r|=(t[e]&127)<<7,t[e++]<128||(r|=(t[e]&127)<<14,t[e++]<128)||(r|=(t[e]&127)<<21,t[e++]<128))break e;r|=(t[e]&127)<<28}return r}function Ti(t){for(var e=[],r=[0];r[0]<t.length;){var n=r[0],i=v1(t,r),a=i&7;i=Math.floor(i/8);var s=0,o;if(i==0)break;switch(a){case 0:{for(var c=r[0];t[r[0]++]>=128;);o=t.slice(c,r[0])}break;case 5:s=4,o=t.slice(r[0],r[0]+s),r[0]+=s;break;case 1:s=8,o=t.slice(r[0],r[0]+s),r[0]+=s;break;case 2:s=v1(t,r),o=t.slice(r[0],r[0]+s),r[0]+=s;break;case 3:case 4:default:throw new Error("PB Type ".concat(a," for Field ").concat(i," at offset ").concat(n))}var A={data:o,type:a};e[i]==null?e[i]=[A]:e[i].push(A)}return e}function aa(t){var e=[];return t.forEach(function(r,n){r.forEach(function(i){i.data&&(e.push($r(n*8+i.type)),i.type==2&&e.push($r(i.data.length)),e.push(i.data))})}),sd(e)}function nl(t){for(var e,r=[],n=[0];n[0]<t.length;){var i=v1(t,n),a=Ti(t.slice(n[0],n[0]+i));n[0]+=i;var s={id:Z0(a[1][0].data),messages:[]};a[2].forEach(function(o){var c=Ti(o.data),A=Z0(c[3][0].data);s.messages.push({meta:c,data:t.slice(n[0],n[0]+A)}),n[0]+=A}),(e=a[3])!=null&&e[0]&&(s.merge=Z0(a[3][0].data)>>>0>0),r.push(s)}return r}function qf(t){var e=[];return t.forEach(function(r){var n=[];n[1]=[{data:$r(r.id),type:0}],n[2]=[],r.merge!=null&&(n[3]=[{data:$r(+!!r.merge),type:0}]);var i=[];r.messages.forEach(function(s){i.push(s.data),s.meta[3]=[{type:0,data:$r(s.data.length)}],n[2].push({data:aa(s.meta),type:2})});var a=aa(n);e.push($r(a.length)),e.push(a),i.forEach(function(s){return e.push(s)})}),sd(e)}function Z4e(t,e){if(t!=0)throw new Error("Unexpected Snappy chunk type ".concat(t));for(var r=[0],n=v1(e,r),i=[];r[0]<e.length;){var a=e[r[0]]&3;if(a==0){var s=e[r[0]++]>>2;if(s<60)++s;else{var o=s-59;s=e[r[0]],o>1&&(s|=e[r[0]+1]<<8),o>2&&(s|=e[r[0]+2]<<16),o>3&&(s|=e[r[0]+3]<<24),s>>>=0,s++,r[0]+=o}i.push(e.slice(r[0],r[0]+s)),r[0]+=s;continue}else{var c=0,A=0;if(a==1?(A=(e[r[0]]>>2&7)+4,c=(e[r[0]++]&224)<<3,c|=e[r[0]++]):(A=(e[r[0]++]>>2)+1,a==2?(c=e[r[0]]|e[r[0]+1]<<8,r[0]+=2):(c=(e[r[0]]|e[r[0]+1]<<8|e[r[0]+2]<<16|e[r[0]+3]<<24)>>>0,r[0]+=4)),i=[sd(i)],c==0)throw new Error("Invalid offset 0");if(c>i[0].length)throw new Error("Invalid offset beyond length");if(A>=c)for(i.push(i[0].slice(-c)),A-=c;A>=i[i.length-1].length;)i.push(i[i.length-1]),A-=i[i.length-1].length;i.push(i[0].slice(-c,-c+A))}}var u=sd(i);if(u.length!=n)throw new Error("Unexpected length: ".concat(u.length," != ").concat(n));return u}function il(t){for(var e=[],r=0;r<t.length;){var n=t[r++],i=t[r]|t[r+1]<<8|t[r+2]<<16;r+=3,e.push(Z4e(n,t.slice(r,r+i))),r+=i}if(r!==t.length)throw new Error("data is not a valid framed stream!");return sd(e)}function Gf(t){for(var e=[],r=0;r<t.length;){var n=Math.min(t.length-r,268435455),i=new Uint8Array(4);e.push(i);var a=$r(n),s=a.length;e.push(a),n<=60?(s++,e.push(new Uint8Array([n-1<<2]))):n<=256?(s+=2,e.push(new Uint8Array([240,n-1&255]))):n<=65536?(s+=3,e.push(new Uint8Array([244,n-1&255,n-1>>8&255]))):n<=16777216?(s+=4,e.push(new Uint8Array([248,n-1&255,n-1>>8&255,n-1>>16&255]))):n<=4294967296&&(s+=5,e.push(new Uint8Array([252,n-1&255,n-1>>8&255,n-1>>16&255,n-1>>>24&255]))),e.push(t.slice(r,r+n)),s+=n,i[0]=0,i[1]=s&255,i[2]=s>>8&255,i[3]=s>>16&255,r+=n}return sd(e)}function M4(t,e){var r=new Uint8Array(32),n=oC(r),i=12,a=0;switch(r[0]=5,t.t){case"n":r[1]=2,Y4e(r,i,t.v),a|=1,i+=16;break;case"b":r[1]=6,n.setFloat64(i,t.v?1:0,!0),a|=2,i+=8;break;case"s":if(e.indexOf(t.v)==-1)throw new Error("Value ".concat(t.v," missing from SST!"));r[1]=3,n.setUint32(i,e.indexOf(t.v),!0),a|=8,i+=4;break;default:throw"unsupported cell type "+t.t}return n.setUint32(8,a,!0),r.slice(0,i)}function Q4(t,e){var r=new Uint8Array(32),n=oC(r),i=12,a=0;switch(r[0]=3,t.t){case"n":r[2]=2,n.setFloat64(i,t.v,!0),a|=32,i+=8;break;case"b":r[2]=6,n.setFloat64(i,t.v?1:0,!0),a|=32,i+=8;break;case"s":if(e.indexOf(t.v)==-1)throw new Error("Value ".concat(t.v," missing from SST!"));r[2]=3,n.setUint32(i,e.indexOf(t.v),!0),a|=16,i+=4;break;default:throw"unsupported cell type "+t.t}return n.setUint32(4,a,!0),r.slice(0,i)}function VA(t){var e=Ti(t);return v1(e[1][0].data)}function $4e(t,e,r){var n,i,a,s;if(!((n=t[6])!=null&&n[0])||!((i=t[7])!=null&&i[0]))throw"Mutation only works on post-BNC storages!";var o=((s=(a=t[8])==null?void 0:a[0])==null?void 0:s.data)&&Z0(t[8][0].data)>0||!1;if(o)throw"Math only works with normal offsets";for(var c=0,A=oC(t[7][0].data),u=0,d=[],f=oC(t[4][0].data),h=0,m=[],p=0;p<e.length;++p){if(e[p]==null){A.setUint16(p*2,65535,!0),f.setUint16(p*2,65535);continue}A.setUint16(p*2,u,!0),f.setUint16(p*2,h,!0);var x,v;switch(typeof e[p]){case"string":x=M4({t:"s",v:e[p]},r),v=Q4({t:"s",v:e[p]},r);break;case"number":x=M4({t:"n",v:e[p]},r),v=Q4({t:"n",v:e[p]},r);break;case"boolean":x=M4({t:"b",v:e[p]},r),v=Q4({t:"b",v:e[p]},r);break;default:throw new Error("Unsupported value "+e[p])}d.push(x),u+=x.length,m.push(v),h+=v.length,++c}for(t[2][0].data=$r(c);p<t[7][0].data.length/2;++p)A.setUint16(p*2,65535,!0),f.setUint16(p*2,65535,!0);return t[6][0].data=sd(d),t[3][0].data=sd(m),c}function eNe(t,e){if(!e||!e.numbers)throw new Error("Must pass a `numbers` option -- check the README");var r=t.Sheets[t.SheetNames[0]];t.SheetNames.length>1&&console.error("The Numbers writer currently writes only the first table");var n=so(r["!ref"]);n.s.r=n.s.c=0;var i=!1;n.e.c>9&&(i=!0,n.e.c=9),n.e.r>49&&(i=!0,n.e.r=49),i&&console.error("The Numbers writer is currently limited to ".concat(Bi(n)));var a=lC(r,{range:n,header:1}),s=["~Sh33tJ5~"];a.forEach(function(U){return U.forEach(function(R){typeof R=="string"&&s.push(R)})});var o={},c=[],A=un.read(e.numbers,{type:"base64"});A.FileIndex.map(function(U,R){return[U,A.FullPaths[R]]}).forEach(function(U){var R=U[0],M=U[1];if(R.type==2&&R.name.match(/\.iwa/)){var J=R.content,ue=il(J),de=nl(ue);de.forEach(function(pe){c.push(pe.id),o[pe.id]={deps:[],location:M,type:Z0(pe.messages[0].meta[1][0].data)}})}}),c.sort(function(U,R){return U-R});var u=c.filter(function(U){return U>1}).map(function(U){return[U,$r(U)]});A.FileIndex.map(function(U,R){return[U,A.FullPaths[R]]}).forEach(function(U){var R=U[0];if(U[1],!!R.name.match(/\.iwa/)){var M=nl(il(R.content));M.forEach(function(J){J.messages.forEach(function(ue){u.forEach(function(de){J.messages.some(function(pe){return Z0(pe.meta[1][0].data)!=11006&&X4e(pe.data,de[1])})&&o[de[0]].deps.push(J.id)})})})}});for(var d=un.find(A,o[1].location),f=nl(il(d.content)),h,m=0;m<f.length;++m){var p=f[m];p.id==1&&(h=p)}var x=VA(Ti(h.messages[0].data)[1][0].data);for(d=un.find(A,o[x].location),f=nl(il(d.content)),m=0;m<f.length;++m)p=f[m],p.id==x&&(h=p);for(x=VA(Ti(h.messages[0].data)[2][0].data),d=un.find(A,o[x].location),f=nl(il(d.content)),m=0;m<f.length;++m)p=f[m],p.id==x&&(h=p);for(x=VA(Ti(h.messages[0].data)[2][0].data),d=un.find(A,o[x].location),f=nl(il(d.content)),m=0;m<f.length;++m)p=f[m],p.id==x&&(h=p);var v=Ti(h.messages[0].data);{v[6][0].data=$r(n.e.r+1),v[7][0].data=$r(n.e.c+1);var y=VA(v[46][0].data),b=un.find(A,o[y].location),E=nl(il(b.content));{for(var S=0;S<E.length&&E[S].id!=y;++S);if(E[S].id!=y)throw"Bad ColumnRowUIDMapArchive";var I=Ti(E[S].messages[0].data);I[1]=[],I[2]=[],I[3]=[];for(var B=0;B<=n.e.c;++B){var _=[];_[1]=_[2]=[{type:0,data:$r(B+420690)}],I[1].push({type:2,data:aa(_)}),I[2].push({type:0,data:$r(B)}),I[3].push({type:0,data:$r(B)})}I[4]=[],I[5]=[],I[6]=[];for(var O=0;O<=n.e.r;++O)_=[],_[1]=_[2]=[{type:0,data:$r(O+726270)}],I[4].push({type:2,data:aa(_)}),I[5].push({type:0,data:$r(O)}),I[6].push({type:0,data:$r(O)});E[S].messages[0].data=aa(I)}b.content=Gf(qf(E)),b.size=b.content.length,delete v[46];var j=Ti(v[4][0].data);{j[7][0].data=$r(n.e.r+1);var T=Ti(j[1][0].data),P=VA(T[2][0].data);b=un.find(A,o[P].location),E=nl(il(b.content));{if(E[0].id!=P)throw"Bad HeaderStorageBucket";var L=Ti(E[0].messages[0].data);for(O=0;O<a.length;++O){var K=Ti(L[2][0].data);K[1][0].data=$r(O),K[4][0].data=$r(a[O].length),L[2][O]={type:L[2][0].type,data:aa(K)}}E[0].messages[0].data=aa(L)}b.content=Gf(qf(E)),b.size=b.content.length;var le=VA(j[2][0].data);b=un.find(A,o[le].location),E=nl(il(b.content));{if(E[0].id!=le)throw"Bad HeaderStorageBucket";for(L=Ti(E[0].messages[0].data),B=0;B<=n.e.c;++B)K=Ti(L[2][0].data),K[1][0].data=$r(B),K[4][0].data=$r(n.e.r+1),L[2][B]={type:L[2][0].type,data:aa(K)};E[0].messages[0].data=aa(L)}b.content=Gf(qf(E)),b.size=b.content.length;var ne=VA(j[4][0].data);(function(){for(var U=un.find(A,o[ne].location),R=nl(il(U.content)),M,J=0;J<R.length;++J){var ue=R[J];ue.id==ne&&(M=ue)}var de=Ti(M.messages[0].data);{de[3]=[];var pe=[];s.forEach(function(Me,Xe){pe[1]=[{type:0,data:$r(Xe)}],pe[2]=[{type:0,data:$r(1)}],pe[3]=[{type:2,data:J4e(Me)}],de[3].push({type:2,data:aa(pe)})})}M.messages[0].data=aa(de);var be=qf(R),Qe=Gf(be);U.content=Qe,U.size=U.content.length})();var fe=Ti(j[3][0].data);{var te=fe[1][0];delete fe[2];var he=Ti(te.data);{var ce=VA(he[2][0].data);(function(){for(var U=un.find(A,o[ce].location),R=nl(il(U.content)),M,J=0;J<R.length;++J){var ue=R[J];ue.id==ce&&(M=ue)}var de=Ti(M.messages[0].data);{delete de[6],delete fe[7];var pe=new Uint8Array(de[5][0].data);de[5]=[];for(var be=0,Qe=0;Qe<=n.e.r;++Qe){var Me=Ti(pe);be+=$4e(Me,a[Qe],s),Me[1][0].data=$r(Qe),de[5].push({data:aa(Me),type:2})}de[1]=[{type:0,data:$r(n.e.c+1)}],de[2]=[{type:0,data:$r(n.e.r+1)}],de[3]=[{type:0,data:$r(be)}],de[4]=[{type:0,data:$r(n.e.r+1)}]}M.messages[0].data=aa(de);var Xe=qf(R),ot=Gf(Xe);U.content=ot,U.size=U.content.length})()}te.data=aa(he)}j[3][0].data=aa(fe)}v[4][0].data=aa(j)}h.messages[0].data=aa(v);var Ne=qf(f),F=Gf(Ne);return d.content=F,d.size=d.content.length,A}function tNe(t){return function(r){for(var n=0;n!=t.length;++n){var i=t[n];r[i[0]]===void 0&&(r[i[0]]=i[1]),i[2]==="n"&&(r[i[0]]=Number(r[i[0]]))}}}function sj(t){tNe([["cellDates",!1],["bookSST",!1],["bookType","xlsx"],["compression",!1],["WTF",!1]])(t)}function rNe(t,e){return e.bookType=="ods"?WK(t,e):e.bookType=="numbers"?eNe(t,e):e.bookType=="xlsb"?nNe(t,e):iNe(t,e)}function nNe(t,e){b0=1024,t&&!t.SSF&&(t.SSF=Is(Zn)),t&&t.SSF&&(z5(),H5(t.SSF),e.revssf=V5(t.SSF),e.revssf[t.SSF[65535]]=0,e.ssf=t.SSF),e.rels={},e.wbrels={},e.Strings=[],e.Strings.Count=0,e.Strings.Unique=0,fv?e.revStrings=new Map:(e.revStrings={},e.revStrings.foo=[],delete e.revStrings.foo);var r=e.bookType=="xlsb"?"bin":"xml",n=SK.indexOf(e.bookType)>-1,i=rK();sj(e=e||{});var a=VT(),s="",o=0;if(e.cellXfs=[],gd(e.cellXfs,{},{revssf:{General:0}}),t.Props||(t.Props={}),s="docProps/core.xml",pr(a,s,sK(t.Props,e)),i.coreprops.push(s),tn(e.rels,2,s,Ur.CORE_PROPS),s="docProps/app.xml",!(t.Props&&t.Props.SheetNames))if(!t.Workbook||!t.Workbook.Sheets)t.Props.SheetNames=t.SheetNames;else{for(var c=[],A=0;A<t.SheetNames.length;++A)(t.Workbook.Sheets[A]||{}).Hidden!=2&&c.push(t.SheetNames[A]);t.Props.SheetNames=c}for(t.Props.Worksheets=t.Props.SheetNames.length,pr(a,s,lK(t.Props)),i.extprops.push(s),tn(e.rels,3,s,Ur.EXT_PROPS),t.Custprops!==t.Props&&ba(t.Custprops||{}).length>0&&(s="docProps/custom.xml",pr(a,s,cK(t.Custprops)),i.custprops.push(s),tn(e.rels,4,s,Ur.CUST_PROPS)),o=1;o<=t.SheetNames.length;++o){var u={"!id":{}},d=t.Sheets[t.SheetNames[o-1]],f=(d||{})["!type"]||"sheet";switch(f){case"chart":default:s="xl/worksheets/sheet"+o+"."+r,pr(a,s,s4e(o-1,s,e,t,u)),i.sheets.push(s),tn(e.wbrels,-1,"worksheets/sheet"+o+"."+r,Ur.WS[0])}if(d){var h=d["!comments"],m=!1,p="";h&&h.length>0&&(p="xl/comments"+o+"."+r,pr(a,p,c4e(h,p)),i.comments.push(p),tn(u,-1,"../comments"+o+"."+r,Ur.CMNT),m=!0),d["!legacy"]&&m&&pr(a,"xl/drawings/vmlDrawing"+o+".vml",EK(o,d["!comments"])),delete d["!comments"],delete d["!legacy"]}u["!id"].rId1&&pr(a,iK(s),X0(u))}return e.Strings!=null&&e.Strings.length>0&&(s="xl/sharedStrings."+r,pr(a,s,l4e(e.Strings,s,e)),i.strs.push(s),tn(e.wbrels,-1,"sharedStrings."+r,Ur.SST)),s="xl/workbook."+r,pr(a,s,a4e(t,s)),i.workbooks.push(s),tn(e.rels,1,s,Ur.WB),s="xl/theme/theme1.xml",pr(a,s,CK(t.Themes,e)),i.themes.push(s),tn(e.wbrels,-1,"theme/theme1.xml",Ur.THEME),s="xl/styles."+r,pr(a,s,o4e(t,s,e)),i.styles.push(s),tn(e.wbrels,-1,"styles."+r,Ur.STY),t.vbaraw&&n&&(s="xl/vbaProject.bin",pr(a,s,t.vbaraw),i.vba.push(s),tn(e.wbrels,-1,"vbaProject.bin",Ur.VBA)),s="xl/metadata."+r,pr(a,s,A4e(s)),i.metadata.push(s),tn(e.wbrels,-1,"metadata."+r,Ur.XLMETA),pr(a,"[Content_Types].xml",nK(i,e)),pr(a,"_rels/.rels",X0(e.rels)),pr(a,"xl/_rels/workbook."+r+".rels",X0(e.wbrels)),delete e.revssf,delete e.ssf,a}function iNe(t,e){b0=1024,t&&!t.SSF&&(t.SSF=Is(Zn)),t&&t.SSF&&(z5(),H5(t.SSF),e.revssf=V5(t.SSF),e.revssf[t.SSF[65535]]=0,e.ssf=t.SSF),e.rels={},e.wbrels={},e.Strings=[],e.Strings.Count=0,e.Strings.Unique=0,fv?e.revStrings=new Map:(e.revStrings={},e.revStrings.foo=[],delete e.revStrings.foo);var r="xml",n=SK.indexOf(e.bookType)>-1,i=rK();sj(e=e||{});var a=VT(),s="",o=0;if(e.cellXfs=[],gd(e.cellXfs,{},{revssf:{General:0}}),t.Props||(t.Props={}),s="docProps/core.xml",pr(a,s,sK(t.Props,e)),i.coreprops.push(s),tn(e.rels,2,s,Ur.CORE_PROP
vendor: 4,221 bytes, line 4399
4399S),s="docProps/app.xml",!(t.Props&&t.Props.SheetNames))if(!t.Workbook||!t.Workbook.Sheets)t.Props.SheetNames=t.SheetNames;else{for(var c=[],A=0;A<t.SheetNames.length;++A)(t.Workbook.Sheets[A]||{}).Hidden!=2&&c.push(t.SheetNames[A]);t.Props.SheetNames=c}t.Props.Worksheets=t.Props.SheetNames.length,pr(a,s,lK(t.Props)),i.extprops.push(s),tn(e.rels,3,s,Ur.EXT_PROPS),t.Custprops!==t.Props&&ba(t.Custprops||{}).length>0&&(s="docProps/custom.xml",pr(a,s,cK(t.Custprops)),i.custprops.push(s),tn(e.rels,4,s,Ur.CUST_PROPS));var u=["SheetJ5"];for(e.tcid=0,o=1;o<=t.SheetNames.length;++o){var d={"!id":{}},f=t.Sheets[t.SheetNames[o-1]],h=(f||{})["!type"]||"sheet";switch(h){case"chart":default:s="xl/worksheets/sheet"+o+"."+r,pr(a,s,OK(o-1,e,t,d)),i.sheets.push(s),tn(e.wbrels,-1,"worksheets/sheet"+o+"."+r,Ur.WS[0])}if(f){var m=f["!comments"],p=!1,x="";if(m&&m.length>0){var v=!1;m.forEach(function(y){y[1].forEach(function(b){b.T==!0&&(v=!0)})}),v&&(x="xl/threadedComments/threadedComment"+o+"."+r,pr(a,x,DCe(m,u,e)),i.threadedcomments.push(x),tn(d,-1,"../threadedComments/threadedComment"+o+"."+r,Ur.TCMNT)),x="xl/comments"+o+"."+r,pr(a,x,NK(m)),i.comments.push(x),tn(d,-1,"../comments"+o+"."+r,Ur.CMNT),p=!0}f["!legacy"]&&p&&pr(a,"xl/drawings/vmlDrawing"+o+".vml",EK(o,f["!comments"])),delete f["!comments"],delete f["!legacy"]}d["!id"].rId1&&pr(a,iK(s),X0(d))}return e.Strings!=null&&e.Strings.length>0&&(s="xl/sharedStrings."+r,pr(a,s,gK(e.Strings,e)),i.strs.push(s),tn(e.wbrels,-1,"sharedStrings."+r,Ur.SST)),s="xl/workbook."+r,pr(a,s,LK(t)),i.workbooks.push(s),tn(e.rels,1,s,Ur.WB),s="xl/theme/theme1.xml",pr(a,s,CK(t.Themes,e)),i.themes.push(s),tn(e.wbrels,-1,"theme/theme1.xml",Ur.THEME),s="xl/styles."+r,pr(a,s,wK(t,e)),i.styles.push(s),tn(e.wbrels,-1,"styles."+r,Ur.STY),t.vbaraw&&n&&(s="xl/vbaProject.bin",pr(a,s,t.vbaraw),i.vba.push(s),tn(e.wbrels,-1,"vbaProject.bin",Ur.VBA)),s="xl/metadata."+r,pr(a,s,BK()),i.metadata.push(s),tn(e.wbrels,-1,"metadata."+r,Ur.XLMETA),u.length>1&&(s="xl/persons/person.xml",pr(a,s,OCe(u)),i.people.push(s),tn(e.wbrels,-1,"persons/person.xml",Ur.PEOPLE)),pr(a,"[Content_Types].xml",nK(i,e)),pr(a,"_rels/.rels",X0(e.rels)),pr(a,"xl/_rels/workbook."+r+".rels",X0(e.wbrels)),delete e.revssf,delete e.ssf,a}function aNe(t,e){var r="";switch((e||{}).type||"base64"){case"buffer":return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7]];case"base64":r=dA(t.slice(0,12));break;case"binary":r=t;break;case"array":return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7]];default:throw new Error("Unrecognized type "+(e&&e.type||"undefined"))}return[r.charCodeAt(0),r.charCodeAt(1),r.charCodeAt(2),r.charCodeAt(3),r.charCodeAt(4),r.charCodeAt(5),r.charCodeAt(6),r.charCodeAt(7)]}function KK(t,e){switch(e.type){case"base64":case"binary":break;case"buffer":case"array":e.type="";break;case"file":return nx(e.file,un.write(t,{type:zr?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+e.bookType+"' files");default:throw new Error("Unrecognized type "+e.type)}return un.write(t,e)}function sNe(t,e){var r=Is(e||{}),n=rNe(t,r);return oNe(n,r)}function oNe(t,e){var r={},n=zr?"nodebuffer":typeof Uint8Array<"u"?"array":"string";if(e.compression&&(r.compression="DEFLATE"),e.password)r.type=n;else switch(e.type){case"base64":r.type="base64";break;case"binary":r.type="string";break;case"string":throw new Error("'string' output type invalid for '"+e.bookType+"' files");case"buffer":case"file":r.type=n;break;default:throw new Error("Unrecognized type "+e.type)}var i=t.FullPaths?un.write(t,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[r.type]||r.type,compression:!!e.compression}):t.generate(r);if(typeof Deno<"u"&&typeof i=="string"){if(e.type=="binary"||e.type=="base64")return i;i=new Uint8Array(Q5(i))}return e.password&&typeof encrypt_agile<"u"?KK(encrypt_agile(i,e.password),e):e.type==="file"?nx(e.file,i):e.type=="string"?Av(i):i}function lNe(t,e){var r=e||{},n=B4e(t,r);return KK(n,r)}function ql(t,e,r){r||(r="");var n=r+t;switch(e.type){case"base64":return f1(m1(n));case"binary":return m1(n);case"string":return t;case"file":return nx(e.file,n,"utf8");case"buffer":return zr?wA(n,"utf8"):typeof TextEncoder<"u"?new TextEncoder().encode(n):ql(n,{type:"binary"}
vendor: 4,932 bytes, line 4399
4399).split("").map(function(i){return i.charCodeAt(0)})}throw new Error("Unrecognized type "+e.type)}function cNe(t,e){switch(e.type){case"base64":return f1(t);case"binary":return t;case"string":return t;case"file":return nx(e.file,t,"binary");case"buffer":return zr?wA(t,"binary"):t.split("").map(function(r){return r.charCodeAt(0)})}throw new Error("Unrecognized type "+e.type)}function Sw(t,e){switch(e.type){case"string":case"base64":case"binary":for(var r="",n=0;n<t.length;++n)r+=String.fromCharCode(t[n]);return e.type=="base64"?f1(r):e.type=="string"?Av(r):r;case"file":return nx(e.file,t);case"buffer":return t;default:throw new Error("Unrecognized type "+e.type)}}function qK(t,e){Rwe(),GEe(t);var r=Is(e||{});if(r.cellStyles&&(r.cellNF=!0,r.sheetStubs=!0),r.type=="array"){r.type="binary";var n=qK(t,r);return r.type="array",Q5(n)}var i=0;if(r.sheet&&(typeof r.sheet=="number"?i=r.sheet:i=t.SheetNames.indexOf(r.sheet),!t.SheetNames[i]))throw new Error("Sheet not found: "+r.sheet+" : "+typeof r.sheet);switch(r.bookType||"xlsb"){case"xml":case"xlml":return ql(b4e(t,r),r);case"slk":case"sylk":return ql(Wbe.from_sheet(t.Sheets[t.SheetNames[i]],r),r);case"htm":case"html":return ql(HK(t.Sheets[t.SheetNames[i]],r),r);case"txt":return cNe(GK(t.Sheets[t.SheetNames[i]],r),r);case"csv":return ql(oj(t.Sheets[t.SheetNames[i]],r),r,"\uFEFF");case"dif":return ql(Kbe.from_sheet(t.Sheets[t.SheetNames[i]],r),r);case"dbf":return Sw(Vbe.from_sheet(t.Sheets[t.SheetNames[i]],r),r);case"prn":return ql(qbe.from_sheet(t.Sheets[t.SheetNames[i]],r),r);case"rtf":return ql(eCe.from_sheet(t.Sheets[t.SheetNames[i]],r),r);case"eth":return ql(mK.from_sheet(t.Sheets[t.SheetNames[i]],r),r);case"fods":return ql(WK(t,r),r);case"wk1":return Sw(HR.sheet_to_wk1(t.Sheets[t.SheetNames[i]],r),r);case"wk3":return Sw(HR.book_to_wk3(t,r),r);case"biff2":r.biff||(r.biff=2);case"biff3":r.biff||(r.biff=3);case"biff4":return r.biff||(r.biff=4),Sw(QK(t,r),r);case"biff5":r.biff||(r.biff=5);case"biff8":case"xla":case"xls":return r.biff||(r.biff=8),lNe(t,r);case"xlsx":case"xlsm":case"xlam":case"xlsb":case"numbers":case"ods":return sNe(t,r);default:throw new Error("Unrecognized bookType |"+r.bookType+"|")}}function ANe(t){if(!t.bookType){var e={xls:"biff8",htm:"html",slk:"sylk",socialcalc:"eth",Sh33tJS:"WTF"},r=t.file.slice(t.file.lastIndexOf(".")).toLowerCase();r.match(/^\.[a-z]+$/)&&(t.bookType=r.slice(1)),t.bookType=e[t.bookType]||t.bookType}}function XR(t,e,r){var n={};return n.type="file",n.file=e,ANe(n),qK(t,n)}function uNe(t,e,r,n,i,a,s,o){var c=xa(r),A=o.defval,u=o.raw||!Object.prototype.hasOwnProperty.call(o,"raw"),d=!0,f=i===1?[]:{};if(i!==1)if(Object.defineProperty)try{Object.defineProperty(f,"__rowNum__",{value:r,enumerable:!1})}catch{f.__rowNum__=r}else f.__rowNum__=r;if(!s||t[r])for(var h=e.s.c;h<=e.e.c;++h){var m=s?t[r][h]:t[n[h]+c];if(m===void 0||m.t===void 0){if(A===void 0)continue;a[h]!=null&&(f[a[h]]=A);continue}var p=m.v;switch(m.t){case"z":if(p==null)break;continue;case"e":p=p==0?null:void 0;break;case"s":case"d":case"b":case"n":break;default:throw new Error("unrecognized type "+m.t)}if(a[h]!=null){if(p==null)if(m.t=="e"&&p===null)f[a[h]]=null;else if(A!==void 0)f[a[h]]=A;else if(u&&p===null)f[a[h]]=null;else continue;else f[a[h]]=u&&(m.t!=="n"||m.t==="n"&&o.rawNumbers!==!1)?p:hA(m,p,o);p!=null&&(d=!1)}}return{row:f,isempty:d}}function lC(t,e){if(t==null||t["!ref"]==null)return[];var r={t:"n",v:0},n=0,i=1,a=[],s=0,o="",c={s:{r:0,c:0},e:{r:0,c:0}},A=e||{},u=A.range!=null?A.range:t["!ref"];switch(A.header===1?n=1:A.header==="A"?n=2:Array.isArray(A.header)?n=3:A.header==null&&(n=0),typeof u){case"string":c=In(u);break;case"number":c=In(t["!ref"]),c.s.r=u;break;default:c=u}n>0&&(i=0);var d=xa(c.s.r),f=[],h=[],m=0,p=0,x=Array.isArray(t),v=c.s.r,y=0,b={};x&&!t[v]&&(t[v]=[]);var E=A.skipHidden&&t["!cols"]||[],S=A.skipHidden&&t["!rows"]||[];for(y=c.s.c;y<=c.e.c;++y)if(!(E[y]||{}).hidden)switch(f[y]=Oa(y),r=x?t[v][y]:t[f[y]+d],n){case 1:a[y]=y-c.s.c;break;case 2:a[y]=f[y];break;case 3:a[y]=A.header[y-c.s.c];break;default:if(r==null&&(r={w:"__EMPTY",t:"s"}),o=s=hA(r,null,A),p=b[s]||0,!p)b[s]=1;else{do o=s+"_"+p++;while(b[o]);b[s]=p,b[o]=1}a[y]=o}for(v=c.s.r+i;v<=c.e.r;++v)if(!(S[v]||{}).hidden){var I=uNe(t,c,v,f,n,a,x,A);(I.isempty===!1||(n===1?A.blankrows!==!1:A.blankrows))&&(h[m++]=I.row)}return h.length=m,h}var YR=/"/g;function dNe(t,e,r,n,i,a,s,o){for(var c=!0,A=[],u="",d=xa(r),f=e.s.c;f<=e.e.c;++f)if(n[f]){var h=o.dense?(t[r]||[])[f]:t[n[f]+d];if(h==null)u="";else if(h.v!=null){c=!1,u=""+(o.rawNumbers&&h.t=="n"?h.v:hA(h,null,o));for(var m=0,p=0;m!==u.length;++m)if((p=u.charCodeAt(m))===i||p===a||p===34||o.forceQuotes){u='"'+u.replace(YR,'""')+'"';break}u=="ID"&&(u='"ID"')}else h.f!=null&&!h.F?(c=!1,u="="+h.f,u.indexOf(",")>=0&&(u='"'+u.replace(YR,'""')+'"')):u="";A.push(u)}return o.blankrows===!1&&c?null:A.join(s)}function oj(t,e){var r=[],n=e??{};if(t==null||t["!ref"]==null)return"";
4399var i=In(t["!ref"]),a=n.FS!==void 0?n.FS:",",s=a.charCodeAt(0),o=n.RS!==void 0?n.RS:` 4400`,c=o.charCodeAt(0),A=new RegExp((a=="|"?"\\|":a)+"+$"),u="",d=[];n.dense=Array.isArray(t);for(var f=n.skipHidden&&t["!cols"]||[],h=n.skipHidden&&t["!rows"]||[],m=i.s.c;m<=i.e.c;++m)(f[m]||{}).hidden||(d[m]=Oa(m));for(var p=0,x=i.s.r;x<=i.e.r;++x)(h[x]||{}).hidden||(u=dNe(t,i,x,d,s,c,a,n),u!=null&&(n.strip&&(u=u.replace(A,"")),(u||n.blankrows!==!1)&&r.push((p++?o:"")+u)));return delete n.dense,r.join("")}function GK(t,e){e||(e={}),e.FS=" ",e.RS=` 4401`;var r=oj(t,e);return r}function hNe(t){var e="",r,n="";if(t==null||t["!ref"]==null)return[];var i=In(t["!ref"]),a="",s=[],o,c=[],A=Array.isArray(t);for(o=i.s.c;o<=i.e.c;++o)s[o]=Oa(o);for(var u=i.s.r;u<=i.e.r;++u)for(a=xa(u),o=i.s.c;o<=i.e.c;++o)if(e=s[o]+a,r=A?(t[u]||[])[o]:t[e],n="",r!==void 0){if(r.F!=null){if(e=r.F,!r.f)continue;n=r.f,e.indexOf(":")==-1&&(e=e+":"+e)}if(r.f!=null)n=r.f;else{if(r.t=="z")continue;if(r.t=="n"&&r.v!=null)n=""+r.v;else if(r.t=="b")n=r.v?"TRUE":"FALSE";else if(r.w!==void 0)n="'"+r.w;else{if(r.v===void 0)continue;r.t=="s"?n="'"+r.v:n=""+r.v}}c[c.length]=e+"="+n}return c}function JK(t,e,r){var n=r||{},i=+!n.skipHeader,a=t||{},s=0,o=0;if(a&&n.origin!=null)if(typeof n.origin=="number")s=n.origin;else{var c=typeof n.origin=="string"?ea(n.origin):n.origin;s=c.r,o=c.c}var A,u={s:{c:0,r:0},e:{c:o,r:s+e.length-1+i}};if(a["!ref"]){var d=In(a["!ref"]);u.e.c=Math.max(u.e.c,d.e.c),u.e.r=Math.max(u.e.r,d.e.r),s==-1&&(s=d.e.r+1,u.e.r=s+e.length-1+i)}else s==-1&&(s=0,u.e.r=e.length-1+i);var f=n.header||[],h=0;e.forEach(function(p,x){ba(p).forEach(function(v){(h=f.indexOf(v))==-1&&(f[h=f.length]=v);var y=p[v],b="z",E="",S=sn({c:o+h,r:s+x+i});A=x1(a,S),y&&typeof y=="object"&&!(y instanceof Date)?a[S]=y:(typeof y=="number"?b="n":typeof y=="boolean"?b="b":typeof y=="string"?b="s":y instanceof Date?(b="d",n.cellDates||(b="n",y=js(y)),E=n.dateNF||Zn[14]):y===null&&n.nullError&&(b="e",y=0),A?(A.t=b,A.v=y,delete A.w,delete A.R,E&&(A.z=E)):a[S]=A={t:b,v:y},E&&(A.z=E))})}),u.e.c=Math.max(u.e.c,o+f.length-1);var m=xa(s);if(i)for(h=0;h<f.length;++h)a[Oa(h+o)+m]={t:"s",v:f[h]};return a["!ref"]=Bi(u),a}function fNe(t,e){return JK(null,t,e)}function x1(t,e,r){if(typeof e=="string"){if(Array.isArray(t)){var n=ea(e);return t[n.r]||(t[n.r]=[]),t[n.r][n.c]||(t[n.r][n.c]={t:"z"})}return t[e]||(t[e]={t:"z"})}return typeof e!="number"?x1(t,sn(e)):x1(t,sn({r:e,c:r||0}))}function pNe(t,e){if(typeof e=="number"){if(e>=0&&t.SheetNames.length>e)return e;throw new Error("Cannot find sheet # "+e)}else if(typeof e=="string"){var r=t.SheetNames.indexOf(e);if(r>-1)return r;throw new Error("Cannot find sheet name |"+e+"|")}else throw new Error("Cannot find sheet |"+e+"|")}function mNe(){return{SheetNames:[],Sheets:{}}}function gNe(t,e,r,n){var i=1;if(!r)for(;i<=65535&&t.SheetNames.indexOf(r="Sheet"+i)!=-1;++i,r=void 0);if(!r||t.SheetNames.length>=65535)throw new Error("Too many worksheets");if(n&&t.SheetNames.indexOf(r)>=0){var a=r.match(/(^.*?)(\d+)$/);i=a&&+a[2]||0;var s=a&&a[1]||r;for(++i;i<=65535&&t.SheetNames.indexOf(r=s+i)!=-1;++i);}if(UK(r),t.SheetNames.indexOf(r)>=0)throw new Error("Worksheet with name |"+r+"| already exists!");return t.SheetNames.push(r),t.Sheets[r]=e,r}function vNe(t,e,r){t.Workbook||(t.Workbook={}),t.Workbook.Sheets||(t.Workbook.Sheets=[]);var n=pNe(t,e);switch(t.Workbook.Sheets[n]||(t.Workbook.Sheets[n]={}),r){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+r)}t.Workbook.Sheets[n].Hidden=r}function xNe(t,e){return t.z=e,t}function XK(t,e,r){return e?(t.l={Target:e},r&&(t.l.Tooltip=r)):delete t.l,t}function yNe(t,e,r){return XK(t,"#"+e,r)}function wNe(t,e,r){t.c||(t.c=[]),t.c.push({t:e,a:r||"SheetJS"})}function bNe(t,e,r,n){for(var i=typeof e!="string"?e:In(e),a=typeof e=="string"?e:Bi(e),s=i.s.r;s<=i.e.r;++s)for(var o=i.s.c;o<=i.e.c;++o){var c=x1(t,s,o);c.t="n",c.F=a,delete c.v,s==i.s.r&&o==i.s.c&&(c.f=r,n&&(c.D=!0))}return t}var WA={encode_col:Oa,encode_row:xa,encode_cell:sn,encode_range:Bi,decode_col:XT,decode_row:JT,split_cell:R2e,decode_cell:ea,decode_range:so,format_cell:hA,sheet_add_aoa:XW,sheet_add_json:JK,sheet_add_dom:zK,aoa_to_sheet:Wp,json_to_sheet:fNe,table_to_sheet:VK,table_to_book:K4e,sheet_to_csv:oj,sheet_to_txt:GK,sheet_to_json:lC,sheet_to_html:HK,sheet_to_formulae:hNe,sheet_to_row_object_array:lC,sheet_get_cell:x1,book_new:mNe,book_append_sheet:gNe,book_set_sheet_visibility:vNe,cell_set_number_format:xNe,cell_set_hyperlink:XK,cell_set_internal_link:yNe,cell_add_comment:wNe,sheet_set_array_formula:bNe,consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}};const CNe="https://firebasestorage.googleapis.com/v0/b/ccf-web-59053.firebasestorage.app/o/IMAGENES%20EVENTOS%2F1024por500.jpg?alt=media&token=c8ece0f1-1d8b-4270-bee3-15263f5aeeed",BNe=t=>{switch(t){case"company":return"Empresa";case"selfEmployed":return"Autónomo";case"visitor":return"Emprendedor/Visitante";case"delegacionGubernamental":return"Delegación Gubernamental";default:return"No especificado"}},_w=t=>t===void 0?"No especificado":t?"SÃ":"No",H4=async t=>new Promise((e,r)=>{const n=new Image;n.crossOrigin="anonymous",n.onload=()=>{const a=document.createElement("canvas");a.width=n.width,a.height=n.height;const s=a.getContext("2d");s?(s.fillStyle="#FFFFFF",s.fillRect(0,0,a.width,a.height),s.drawImage(n,
44010,0),e({dataUrl:a.toDataURL("image/jpeg",.85),width:n.width,height:n.height})):r(new Error("Failed to get canvas context"))},n.onerror=()=>r(new Error("Failed to load image"));const i="https://corsproxy.io/?";n.src=i+encodeURIComponent(t)}),ENe=t=>{const e=/<img[^>]+src="([^">]+)"/g,r=[];let n;for(;(n=e.exec(t))!==null;)r.push(n[1]);return r},NNe=t=>t.replace(/<img[^>]*>/g,"[IMAGEN]").replace(/<[^>]*>/g,""),SNe=async(t,e)=>{const r=new zt({orientation:"portrait",unit:"mm",format:"a4"}),n=r.internal.pageSize.getWidth(),i=r.internal.pageSize.getHeight(),a=20,s=n-2*a;let o=a;try{const p=await H4(CNe),x=140,v=30,y=p.width/p.height;let b=x,E=b/y;E>v&&(E=v,b=E*y);const S=(n-b)/2;r.addImage(p.dataUrl,"JPEG",S,o,b,E),o+=E+8}catch(p){console.error("Error loading logo:",p),o+=10}r.setFontSize(20),r.setTextColor(207,22,61),r.text("Información de Inscripción",a,o),o+=10,r.setFontSize(10),r.setTextColor(100,100,100),r.text(`Generado el ${St(new Date,"d 'de' MMMM 'de' yyyy 'a las' HH:mm",{locale:er})}`,a,o),o+=15;const c=p=>{o>i-40&&(r.addPage(),o=a),r.setFontSize(14),r.setTextColor(207,22,61),r.text(p,a,o),o+=2,r.setDrawColor(207,22,61),r.setLineWidth(.5),r.line(a,o,n-a,o),o+=8},A=(p,x,v=!1)=>{if(o>i-30&&(r.addPage(),o=a),r.setFontSize(10),r.setTextColor(80,80,80),r.setFont("helvetica","bold"),r.text(`${p}:`,a,o),o+=1,r.setFont("helvetica","normal"),r.setTextColor(40,40,40),v&&x){r.setTextColor(0,0,255);const y=x.length>70?x.substring(0,67)+"...":x;r.textWithLink(y,a+2,o+4,{url:x}),o+=5}else{const y=r.splitTextToSize(x||"No disponible",s-2);r.text(y,a+2,o+4,{align:"justify",maxWidth:s-2}),o+=y.length*5}o+=3};if(c("Datos del Evento"),A("Evento",e.title),e.dates&&e.dates.length>0){const p=St(new Date(e.dates[0].date),"d 'de' MMMM 'de' yyyy",{locale:er});A("Fecha",p),A("Hora",`${e.dates[0].startTime}${e.dates[0].endTime?` - ${e.dates[0].endTime}`:""}`)}A("CategorÃa",e.category==="Evento"?"Evento":"Formación"),o+=5;const u=[];if(e.content){c("Descripción del Evento");const p=ENe(e.content),x=NNe(e.content);for(const y of p)try{const b=await H4(y);u.push(b)}catch(b){console.error("Error loading content image:",b)}r.setFontSize(10),r.setTextColor(40,40,40),r.setFont("helvetica","normal");const v=x.split(` 4402`);for(const y of v){if(!y.trim())continue;const b=y.trim().split(/\s+/);let E="";for(let S=0;S<b.length;S++){const I=E+(E?" ":"")+b[S];if(r.getTextWidth(I)>s&&E){if(o>i-30&&(r.addPage(),o=a),S<b.length-1){const _=E.trim().split(/\s+/);if(_.length>1){const O=_.reduce((P,L)=>P+r.getTextWidth(L),0),j=(s-O)/(_.length-1);let T=a;for(let P=0;P<_.length;P++)r.text(_[P],T,o),T+=r.getTextWidth(_[P])+j}else r.text(E,a,o)}else r.text(E,a,o);o+=5,E=b[S]}else E=I}E&&(o>i-30&&(r.addPage(),o=a),r.text(E,a,o),o+=5),o+=2}o+=10}if(c("Información de Inscripción"),A("Número de inscripción",`#${t.registrationNumber}`),A("Estado",t.active?"Activo":"Inactivo"),A("Fecha de inscripción",St(new Date(t.createdAt),"d 'de' MMMM 'de' yyyy 'a las' HH:mm",{locale:er})),o+=5,c("Datos Personales"),A("Nombre completo",t.name||`${t.firstName||""} ${t.lastName||""}`.trim()),A("Email",t.email),A("Teléfono",t.phone||"No disponible"),A("Documento de identidad",t.identificationNumber),o+=5,c("Datos de Empresa"),A("Tipo de participante",BNe(t.type)),A("Empresa",t.company||"No disponible"),A("Cargo",t.position||"No disponible"),t.interestedInEntrepreneurship!==void 0&&A("Interesado en emprender",_w(t.interestedInEntrepreneurship)),t.hasCertifications!==void 0&&A("Tiene certificaciones",_w(t.hasCertifications)),t.companyActivity&&A("Actividad de la empresa",t.companyActivity),t.interestedInExpansion!==void 0&&A("Interesado en expansión",_w(t.interestedInExpansion)),o+=5,(t.socialReason||t.nif||t.activityDescription)&&(c("Información Adicional (Canarias Expande)"),t.socialReason&&A("Razón social",t.socialReason),t.nif&&A("NIF",t.nif),t.fiscalAddressMunicipality&&A("Municipio",t.fiscalAddressMunicipality),t.activityStartDate&&A("Fecha inicio actividad",St(new Date(t.activityStartDate),"d 'de' MMMM 'de' yyyy",{locale:er})),t.contactPersonName&&A("Persona de contacto",t.contactPersonName),t.contactPersonPosition&&A("Cargo de contacto",t.contactPersonPosition),t.contactEmail&&A("Email de contacto",t.contactEmail),t.contactPhone&&A("Teléfono de contacto",t.contactPhone),t.website&&A("Sitio web",t.website,!0),t.activitySector&&A("Sector de actividad",t.activitySector),o+=5),t.activityDescription||t.additionalInfo){if(c("Descripción de Actividad"),t.activityDescription){r.setFontSize(10),r.setTextColor(80,80,80),r.setFont("helvetica","bold"),r.text("Descripción de actividad:",a,o),o+=5,r.setFont("helvetica","normal"),r.setTextColor(40,40,40);const p=r.splitTextToSize(t.activityDescription,s);r.text(p,a,o,{align:"justify",maxWidth:s}),o+=p.length*5+5}if(t.additionalInfo){o>i-40&&(r.addPage(),o=a),r.setFontSize(10),r.setTextColor(80,80,80),r.setFont("helvetica","bold"),r.text("Información adicional:",a,o),o+=5,r.setFont("helvetica","normal"),r.setTextColor(40,40,40);const p=r.splitTextToSize(t.additionalInfo,s);r.text(p,a,o,{align:"justify",maxWidth:s}),o+=p.length*5+5}}if(t.digitalCertificateDeclaration!==void 0&&(c("Certificación Digital"),A("Certificado digital o DNI electrónico",_w(t.digitalCertificateDeclaration)),o+=5),(t.signedRegistrationFormUrl||t.activityStartDateDocumentUrl||t.documents&&Object.values(t.documents).some(p=>p))&&(c("Documentos Adjuntos"),t.signedRegistrationFormUrl&&A("Ficha de inscripción firmada",t.signedRegistrationFormUrl,!0),t.activityStartDateDocumentUrl&&A("Documento fecha de alta",t.activityStartDateDocumentUrl,!0),t.documents)){const p={nifAutonomo:"NIF Autónomo",modelo036037Autonomo:"Modelo 036/037 Autónomo",cifEmpresa:"CIF Empresa",nifRepresentante:"NIF Representante",documentoRepresentacion:"Documento de Representación",modelo036037Empresa:"Modelo 036/037 Empresa",dniNieEmprendedor:"DNI/NIE Emprendedor",certificadoEmpadronamiento:"Certificado de Empadronamiento"};
4402Object.entries(t.documents).forEach(([x,v])=>{v&&A(p[x]||x,v,!0)})}if(u.length>0){r.addPage(),o=a;for(const p of u){const y=p.width/p.height;let b=120,E=b/y;E>50&&(E=50,b=E*y),o+E>i-30&&(r.addPage(),o=a);const S=(n-b)/2;r.addImage(p.dataUrl,"JPEG",S,o,b,E),o+=E+10}}if(e.footerImages&&e.footerImages.length>0){(u.length>0||o>i-100)&&(r.addPage(),o=a);for(const p of e.footerImages)try{const x=await H4(p.url),v=120,y=50,b=x.width/x.height;let E=v,S=E/b;S>y&&(S=y,E=S*b),o+S>i-30&&(r.addPage(),o=a);const I=(n-E)/2;if(r.addImage(x.dataUrl,"JPEG",I,o,E,S),o+=S+5,p.caption){r.setFontSize(9),r.setTextColor(100,100,100),r.setFont("helvetica","normal");const B=r.splitTextToSize(p.caption,s);r.text(B,n/2,o,{align:"center",maxWidth:s}),o+=B.length*4+10}else o+=10}catch(x){console.error("Error loading footer image:",x)}}o<i-30||r.addPage(),o=i-25,r.setFontSize(8),r.setTextColor(120,120,120),r.setFont("helvetica","italic");const h=r.splitTextToSize("Documento generado automáticamente por el sistema de gestión de eventos de la Cámara Oficial de Comercio, Industria y Navegación de Fuerteventura.",s);r.text(h,n/2,o,{align:"center",maxWidth:s});const m=`inscripcion_${t.registrationNumber}_${t.name.toLowerCase().replace(/\s+/g,"_")}.pdf`;r.save(m)},ZR=async t=>{const e=t.match(/\/storage\/v1\/object\/public\/([^/]+)\/(.+)/);if(e){const n=decodeURIComponent(e[1]),i=decodeURIComponent(e[2]),{data:a,error:s}=await jn.storage.from(n).download(i);if(s)throw new Error(`Failed to fetch: ${t}`);return a.arrayBuffer()}const r=await fetch(t);if(!r.ok)throw new Error(`Failed to fetch: ${t}`);return r.arrayBuffer()},_Ne=async t=>{const{pdfUrl:e,signatureImageUrl:r,signerFirstName:n,signerLastName:i,signerIdNumber:a,signedAtDate:s,signedAtTime:o,lastName:c}=t,[A,u]=await Promise.all([ZR(e),ZR(r)]),d=await AA.load(A),f=await d.embedFont(ed.Helvetica),h=await d.embedFont(ed.HelveticaBold);let m;(r.toLowerCase().includes(".jpg")||r.toLowerCase().includes(".jpeg")?"jpg":"png")==="jpg"?m=await d.embedJpg(u):m=await d.embedPng(u);const x=52,v=14,E=m.scaleToFit(110,32),S=d.getPages();for(const j of S){const{width:T}=j.getSize(),P=v;j.drawLine({start:{x:v,y:P+x},end:{x:T-v,y:P+x},thickness:.5,color:fr(.7,.7,.7)}),j.drawText("FIRMA DIGITAL",{x:v,y:P+x-10,size:6,font:h,color:fr(.5,.5,.5)});const L=v,K=P+(x-16-E.height)/2;j.drawImage(m,{x:L,y:K,width:E.width,height:E.height});const le=L+E.width+12,ne=fr(.15,.15,.15),fe=fr(.45,.45,.45),te=10,he=P+x-20;j.drawText("Firmado digitalmente por:",{x:le,y:he,size:6.5,font:f,color:fe}),j.drawText(`${n} ${i}`,{x:le,y:he-te,size:8,font:h,color:ne}),j.drawText(`DNI/NIE/CIF: ${a}`,{x:le,y:he-te*2,size:7,font:f,color:ne}),j.drawText(`Fecha: ${s} Hora: ${o}`,{x:le,y:he-te*3,size:7,font:f,color:ne})}const I=await d.save(),B=new Blob([I],{type:"application/pdf"}),_=URL.createObjectURL(B),O=document.createElement("a");O.href=_,O.download=`ficha_inscripcion_firmada_${c.toLowerCase().replace(/\s+/g,"_")}.pdf`,O.click(),setTimeout(()=>URL.revokeObjectURL(_),1e4)},FNe=({selectedDate:t,onSelectDate:e,reservations:r,currentMonth:n,onMonthChange:i})=>{const a=i5(n),s=r5(n),o=Z.useMemo(()=>n5({start:a,end:s}),[a,s]),c=a.getDay(),A=Array(c===0?6:c-1).fill(null),u=f=>{const h=St(f,"yyyy-MM-dd");return r.filter(m=>m.date===h&&m.status==="active")},d=f=>V9(Xu(f),Xu(new Date));return l.jsxs("div",{className:"bg-gradient-to-br from-white via-gray-50 to-white rounded-2xl shadow-2xl border border-gray-200/50 overflow-hidden",children:[l.jsx("div",{className:"bg-gradient-to-r from-primary via-primary-dark to-primary p-6",children:l.jsxs("div",{className:"flex items-center justify-between",children:[l.jsx("button",{type:"button",onClick:()=>i(s5(n,1)),className:"p-3 bg-white/20 hover:bg-white/30 backdrop-blur-sm rounded-xl transition-all duration-300 hover:scale-110 active:scale-95 group",children:l.jsx(L1,{className:"w-5 h-5 text-white transition-transform group-hover:-translate-x-0.5"})}),l.jsxs("div",{className:"text-center",children:[l.jsxs("div",{className:"flex items-center justify-center gap-2 mb-1",children:[l.jsx(Jr,{className:"w-5 h-5 text-white/90"}),l.jsx("h3",{className:"text-2xl font-serif font-bold text-white capitalize tracking-wide",children:St(n,"MMMM",{locale:er})})]}),l.jsx("p",{className:"text-white/80 text-sm font-medium",children:St(n,"yyyy")})]}),l.jsx("button",{type:"button",onClick:()=>i(H1(n,1)),className:"p-3 bg-white/20 hover:bg-white/30 backdrop-blur-sm rounded-xl transition-all duration-300 hover:scale-110 active:scale-95 group",children:l.jsx(jp,{className:"w-5 h-5 text-white transition-transform group-hover:translate-x-0.5"})})]})}),l.jsxs("div",{className:"p-6",children:[l.jsx("div",{className:"grid grid-cols-7 gap-3 mb-3",children:["Lun","Mar","Mié","Jue","Vie","Sáb","Dom"].map((f,h)=>l.jsx("div",{className:"text-center text-xs font-bold text-gray-500 uppercase tracking-wider py-3",children:l.jsx("div",{className:`${h>=5?"text-primary":""}`,children:f})},f))}),l.jsxs("div",{className:"grid grid-cols-7 gap-3",children:[A.map((f,h)=>l.jsx("div",{className:"aspect-square"},`empty-${h}`)),o.map(f=>{const h=u(f),m=t&&hp(f,t),p=a5(f),x=d(f),v=h.length>0;return f.getDay()===0||f.getDay(),l.jsxs("button",{type:"button",onClick:()=>!x&&e(f),disabled:x,className:` 4403 aspect-square rounded-2xl transition-all duration-300 relative overflow-hidden 4404 ${x?"bg-gray-100 text-gray-400 cursor-not-allowed opacity-50":"hover:shadow-xl hover:scale-105 cursor-pointer transform"} 4405 ${m?"bg-gradient-to-br from-primary to-primary-light text-white shadow-2xl scale-105 ring-4 ring-primary/30":v&&!x?"bg-gradient-to-br from-orange-50 to-orange-100 border-2 border-orange-300 hover:border-orange-400":"bg-white border-2 border-gray-200 hover:border-primary/50"} 4406 ${p&&!m?"ring-4 ring-blue-400 ring-opacity-50 bg-gradient-to-br from-blue-50 to-blue-100 border-blue-400 animate-pulse-subtle":""} 4407 `,children:[l.jsx("div",{className:` 4408 text-lg font-bold flex items-center justify-center h-full 4409 ${m?"text-white":p?"text-blue-600":x?"text-gray-400":"text-gray-700"} 4410 `,children:St(f,"d")}),v&&!x&&l.jsx("div",{className:"absolute bottom-1.5 left-1/2 transform -translate-x-1/2",children:l.jsxs("div",{className:` 4411 flex items-center justify-center gap-0.5 px-2 py-0.5 rounded-full 4412 ${m?"bg-white/30 backdrop-blur-sm":"bg-orange-500"} 4413 `,children:[l.jsx(XQ,{className:"w-2.5 h-2.5 text-white"}),l.jsx("span",{className:"text-[9px] font-bold text-white",children:h.length})]})}),p&&!m&&l.jsx("div",{className:"absolute top-1.5 right-1.5",children:l.jsx("div",{className:"w-2 h-2 bg-blue-500 rounded-full animate-pulse"})})]},f.toISOString())})]})]}),t&&l.jsxs("div",{className:"mx-6 mb-6 p-5 bg-gradient-to-br from-gray-50 to-white rounded-2xl border-2 border-gray-200 shadow-lg",children:[l.jsxs("div",{className:"flex items-center gap-3 mb-4 pb-3 border-b border-gray-200",children:[l.jsx("div",{className:"p-2 bg-primary/10 rounded-xl",children:l.jsx(da,{className:"w-5 h-5 text-primary"})}),l.jsxs("div",{children:[l.jsx("h4",{className:"text-sm font-semibold text-gray-500 uppercase tracking-wide",children:"Reservas para"}),l.jsx("p",{className:"text-lg font-bold text-gray-900",children:St(t,"d 'de' MMMM, yyyy",{locale:er})})]})]}),u(t).length===0?l.jsxs("div",{className:"text-center py-8",children:[l.jsx("div",{className:"w-16 h-16 bg-gray-100 rounded-full flex items-center justify-center mx-auto mb-3",children:l.jsx(Jr,{className:"w-8 h-8 text-gray-400"})}),l.jsx("p",{className:"text-sm text-gray-500 font-medium",children:"No hay reservas para este dÃa"})]}):l.jsx("div",{className:"space-y-3",children:u(t).map((f,h)=>l.jsx("div",{className:"group relative bg-white p-4 rounded-xl border-l-4 border-orange-500 shadow-md hover:shadow-xl transition-all duration-300 hover:scale-102 transform",style:{animationDelay:`${h*100}ms`},children:l.jsxs("div",{className:"flex items-start justify-between",children:[l.jsxs("div",{className:"flex-1",children:[l.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[l.jsx("div",{className:"w-2 h-2 bg-orange-500 rounded-full animate-pulse"}),l.jsx("h5",{className:"font-bold text-gray-900 text-base",children:f.name})]}),l.jsxs("div",{className:"flex items-center gap-2 text-sm text-gray-600",children:[l.jsx(da,{className:"w-4 h-4 text-orange-500"}),l.jsxs("span",{className:"font-medium",children:[f.startTime," - ",f.endTime]})]})]}),l.jsx("div",{className:"w-10 h-10 bg-orange-100 rounded-lg flex items-center justify-center group-hover:bg-orange-200 transition-colors",children:l.jsx("span",{className:"text-lg font-bold text-orange-600",children:h+1})})]})},f.id))})]})]})},TNe=({onClose:t,onSuccess:e})=>{const[r,n]=Z.useState(null),[i,a]=Z.useState(new Date),[s,o]=Z.useState([]),[c,A]=Z.useState(!0),[u,d]=Z.useState(!1),[f,h]=Z.useState(""),[m,p]=Z.useState({name:"",startTime:"",endTime:"",notes:""});Z.useEffect(()=>{x()},[]);const x=async()=>{try{const S=await Q1();o(S)}catch(S){console.error("Error fetching reservations:",S)}finally{A(!1)}},v=S=>{const{name:I,value:B}=S.target;p(_=>
4413({..._,[I]:B})),h("")},b=(()=>{const S=[];for(let I=0;I<24;I++)for(let B=0;B<60;B+=30){const _=`${String(I).padStart(2,"0")}:${String(B).padStart(2,"0")}`;S.push(_)}return S})(),E=async S=>{if(S.preventDefault(),!r){h("Por favor, selecciona una fecha");return}if(!m.name.trim()){h("El nombre identificativo es obligatorio");return}if(!m.startTime||!m.endTime){h("Debes seleccionar hora de inicio y fin");return}if(m.startTime>=m.endTime){h("La hora de fin debe ser posterior a la hora de inicio");return}d(!0),h("");try{await xce({date:St(r,"yyyy-MM-dd"),startTime:m.startTime,endTime:m.endTime,name:m.name.trim(),notes:m.notes.trim()||void 0,status:"active"}),e(),t()}catch(I){console.error("Error creating reservation:",I),I instanceof Error?h(I.message):h("Error al crear la reserva. Por favor, inténtelo de nuevo.")}finally{d(!1)}};return l.jsx("div",{className:"fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 p-4",children:l.jsxs("div",{className:"bg-white rounded-lg shadow-xl max-w-4xl w-full max-h-[90vh] overflow-y-auto",children:[l.jsxs("div",{className:"sticky top-0 bg-white border-b px-6 py-4 flex items-center justify-between",children:[l.jsxs("h2",{className:"text-2xl font-bold text-[#CF163D] flex items-center gap-2",children:[l.jsx(Jr,{className:"w-6 h-6"}),"Nueva Reserva"]}),l.jsx("button",{onClick:t,className:"p-2 hover:bg-gray-100 rounded-lg transition-colors",children:l.jsx(vi,{className:"w-5 h-5 text-gray-500"})})]}),f&&l.jsxs("div",{className:"mx-6 mt-4 bg-red-100 border border-red-400 text-red-700 px-4 py-3 rounded relative",children:[l.jsxs("div",{className:"flex items-center",children:[l.jsx(rs,{className:"h-5 w-5 mr-2"}),l.jsx("span",{className:"block sm:inline",children:f})]}),l.jsx("button",{onClick:()=>h(""),className:"absolute top-0 bottom-0 right-0 px-4 py-3",children:l.jsx(vi,{className:"h-5 w-5"})})]}),l.jsxs("form",{onSubmit:E,className:"p-6",children:[l.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:[l.jsxs("div",{children:[l.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Seleccionar fecha"}),c?l.jsx("div",{className:"flex justify-center items-center py-12",children:l.jsx("div",{className:"animate-spin rounded-full h-8 w-8 border-b-2 border-[#CF163D]"})}):l.jsx(FNe,{selectedDate:r,onSelectDate:n,reservations:s,currentMonth:i,onMonthChange:a})]}),l.jsxs("div",{children:[l.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Detalles de la reserva"}),l.jsxs("div",{className:"space-y-4",children:[l.jsxs("div",{children:[l.jsxs("label",{htmlFor:"name",className:"block text-sm font-medium text-gray-700 mb-1 flex items-center gap-2",children:[l.jsx(lc,{className:"w-4 h-4"}),"Nombre identificativo *"]}),l.jsx("input",{type:"text",id:"name",name:"name",required:!0,value:m.name,onChange:v,placeholder:"Ej: Reunión de dirección, Evento corporativo...",className:"w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-primary focus:border-primary"})]}),l.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[l.jsxs("div",{children:[l.jsxs("label",{htmlFor:"startTime",className:"block text-sm font-medium text-gray-700 mb-1 flex items-center gap-2",children:[l.jsx(da,{className:"w-4 h-4"}),"Hora inicio *"]}),l.jsxs("select",{id:"startTime",name:"startTime",required:!0,value:m.startTime,onChange:v,className:"w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-primary focus:border-primary bg-white",children:[l.jsx("option",{value:"",children:"Seleccionar"}),b.map(S=>l.jsx("option",{value:S,children:S},S))]})]}),l.jsxs("div",{children:[l.jsxs("label",{htmlFor:"endTime",className:"block text-sm font-medium text-gray-700 mb-1 flex items-center gap-2",children:[l.jsx(da,{className:"w-4 h-4"}),"Hora fin *"]}),l.jsxs("select",{id:"endTime",name:"endTime",required:!0,value:m.endTime,onChange:v,className:"w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-primary focus:border-primary bg-white",children:[l.jsx("option",{value:"",children:"Seleccionar"}),b.map(S=>l.jsx("option",{value:S,children:S},S))]})]})]}),l.jsxs("div",{children:[l.jsxs("label",{htmlFor:"notes",className:"block text-sm font-medium text-gray-700 mb-1 flex items-center gap-2",children:[l.jsx(wl,{className:"w-4 h-4"}),"Notas adicionales"]}),l.jsx("textarea",{id:"notes",name:"notes",value:m.notes,onChange:v,rows:4,placeholder:"Información adicional sobre la reserva...",className:"w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-primary focus:border-primary resize-none"})]}),r&&l.jsxs("div",{className:"bg-blue-50 border border-blue-200 rounded-lg p-4",children:[l.jsx("h4",{className:"text-sm font-semibold text-blue-900 mb-2",children:"Resumen de la reserva"}),l.jsxs("div",{className:"text-sm text-blue-800 space-y-1",children:[l.jsxs("p",{children:[l.jsx("span",{className:"font-medium",children:"Fecha:"}
4413)," ",St(r,"dd/MM/yyyy",{locale:er})]}),m.startTime&&m.endTime&&l.jsxs("p",{children:[l.jsx("span",{className:"font-medium",children:"Horario:"})," ",m.startTime," - ",m.endTime]}),m.name&&l.jsxs("p",{children:[l.jsx("span",{className:"font-medium",children:"Nombre:"})," ",m.name]})]})]})]})]})]}),l.jsxs("div",{className:"flex gap-4 justify-end mt-6 pt-6 border-t",children:[l.jsx("button",{type:"button",onClick:t,className:"px-6 py-2 border border-gray-300 rounded-md text-gray-700 hover:bg-gray-50 transition-colors",children:"Cancelar"}),l.jsx("button",{type:"submit",disabled:u||!r||!m.name||!m.startTime||!m.endTime,className:"px-6 py-2 bg-primary text-white rounded-md hover:bg-primary-dark disabled:opacity-50 disabled:cursor-not-allowed transition-colors",children:u?"Guardando...":"Crear Reserva"})]})]})]})})},jNe=()=>{const[t,e]=Z.useState(new Date),[r,n]=Z.useState(null),[i,a]=Z.useState([]),[s,o]=Z.useState([]),[c,A]=Z.useState(!0),[u,d]=Z.useState(!0),[f,h]=Z.useState(!0),[m,p]=Z.useState(!0);Z.useEffect(()=>{x()},[]);const x=async()=>{try{const[ce,Ne]=await Promise.all([Q1(),D9()]);a(ce);const F=[...ce.filter(U=>U.status==="active").map(U=>({id:U.id,date:U.date,title:U.name,startTime:U.startTime,endTime:U.endTime,type:"reservation"})),...Ne.events.map(U=>({id:U.id,date:U.date,title:U.title,startTime:U.startTime,endTime:U.endTime,type:U.category==="Formacion"?"formacion":"event"}))];o(F)}catch(ce){console.error("Error fetching calendar data:",ce)}finally{A(!1)}},v=async ce=>{if(window.confirm("¿Estás seguro de que quieres eliminar esta reserva?"))try{await yce(ce),await x()}catch(Ne){console.error("Error deleting reservation:",Ne),alert("Error al eliminar la reserva")}},y=i5(t),b=r5(t),E=n5({start:y,end:b}),S=y.getDay(),I=Array(S===0?6:S-1).fill(null),B=ce=>{const Ne=St(ce,"yyyy-MM-dd");return s.filter(F=>!(F.date!==Ne||F.type==="reservation"&&!u||F.type==="event"&&!f||F.type==="formacion"&&!m))},_=ce=>V9(Xu(ce),Xu(new Date)),O=r?B(r):[],j=ce=>({reservations:ce.filter(Ne=>Ne.type==="reservation"),events:ce.filter(Ne=>Ne.type==="event"),formaciones:ce.filter(Ne=>Ne.type==="formacion")}),{reservations:T,events:P,formaciones:L}=j(O),K=s.filter(ce=>ce.type==="reservation").length,le=s.filter(ce=>ce.type==="event").length,ne=s.filter(ce=>ce.type==="formacion").length,fe=St(new Date,"yyyy-MM-dd"),te=s.filter(ce=>ce.date===fe).length,he=new Set(s.map(ce=>ce.date)).size;return c?l.jsx("div",{className:"flex justify-center items-center py-12",children:l.jsx("div",{className:"animate-spin rounded-full h-8 w-8 border-b-2 border-[#CF163D]"})}):l.jsxs("div",{className:"bg-gradient-to-br from-white via-gray-50 to-white p-8 rounded-3xl shadow-2xl border border-gray-200/50",children:[l.jsx("div",{className:"mb-8",children:l.jsxs("div",{className:"flex items-center gap-3 mb-2",children:[l.jsx("div",{className:"p-3 bg-gradient-to-br from-primary to-primary-light rounded-2xl shadow-lg",children:l.jsx(Jr,{className:"w-7 h-7 text-white"})}),l.jsxs("div",{children:[l.jsx("h2",{className:"text-3xl font-serif font-bold text-gray-900",children:"Calendario de Reservas"}),l.jsx("p",{className:"text-sm text-gray-500 mt-1",children:"Gestión completa de eventos y reservas"})]})]})}),l.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:[l.jsxs("div",{className:"lg:col-span-2",children:[l.jsx("div",{className:"bg-gradient-to-r from-primary via-primary-dark to-primary p-5 rounded-2xl mb-5 shadow-lg",children:l.jsxs("div",{className:"flex items-center justify-between",children:[l.jsx("button",{onClick:()=>e(s5(t,1)),className:"p-3 bg-white/20 hover:bg-white/30 backdrop-blur-sm rounded-xl transition-all duration-300 hover:scale-110 active:scale-95 group",children:l.jsx(L1,{className:"w-5 h-5 text-white transition-transform group-hover:-translate-x-0.5"})}),l.jsx("div",{className:"text-center",children:l.jsx("h3",{className:"text-2xl font-serif font-bold text-white capitalize tracking-wide",children:St(t,"MMMM yyyy",{locale:er})})}),l.jsx("button",{onClick:()=>e(H1(t,1)),className:"p-3 bg-white/20 hover:bg-white/30 backdrop-blur-sm rounded-xl transition-all duration-300 hover:scale-110 active:scale-95 group",children:l.jsx(jp,{className:"w-5 h-5 text-white transition-transform group-hover:translate-x-0.5"})})]})}),l.jsxs("div",{className:"grid grid-cols-7 gap-3",children:[["Lun","Mar","Mié","Jue","Vie","Sáb","Dom"].map((ce,Ne)=>l.jsx("div",{className:"text-center text-xs font-bold uppercase tracking-wider py-3",children:l.jsx("div",{className:`${Ne>=5?"text-primary":"text-gray-500"}`,children:ce})},ce)),I.map((ce,Ne)=>l.jsx("div",{className:"aspect-square"},`empty-${Ne}`)),E.map(ce=>{const Ne=B(ce),F=j(Ne),U=r&&hp(ce,r),R=a5(ce),M=_(ce),J=Ne.length>0;return l.jsxs("button",{onClick:()=>n(ce),className:` 4414 min-h-[120px] p-2 rounded-2xl transition-all duration-300 relative flex flex-col items-start overflow-hidden 4415 ${M?"bg-gray-100 text-gray-400 opacity-60":"hover:shadow-xl hover:scale-[1.02] cursor-pointer transform"} 4416 ${U?"bg-gradient-to-br from-primary to-primary-light shadow-2xl scale-[1.02] ring-4 ring-primary/30":"border-2"} 4417 ${R&&!U?"ring-4 ring-blue-400 ring-opacity-50 bg-gradient-to-br from-blue-50 to-blue-100 border-blue-400":""} 4418 ${J&&!M&&!U?"bg-gradient-to-br from-emerald-50 to-emerald-100 border-emerald-300 hover:border-emerald-400":U?"":"border-gray-200 bg-white hover:border-primary/50"} 4419 `,children:[l.jsx("div",{className:`text-base font-bold mb-1 w-full text-center ${U?"text-white":R?"text-blue-600":"text-gray-700"}`,children:St(ce,"d")}),J&&l.jsxs("div",{className:"w-full space-y-0.5 overflow-y-auto max-h-[90px] text-left px-0.5",children:[F.reservations.slice(0,3).map((ue,de)=>l.jsxs("div",{className:`text-[9px] leading-tight px-1.5 py-1 rounded-lg truncate border-l-3 shadow-sm ${U?"bg-white/90 text-orange-900 border-white":"bg-orange-100 text-orange-800 border-orange-500"}`,title:`${ue.startTime} - ${ue.title}`,children:[l.jsx("div",{className:"truncate font-bold",children:ue.title}),l.jsx("div",{className:`text-[8px] font-medium ${U?"text-orange-700":"text-orange-600"}`,children:ue.startTime})]},`res-${de}`)),F.events.slice(0,3).map((ue,de)=>l.jsxs("div",{className:`text-[9px] leading-tight px-1.5 py-1 rounded-lg truncate border-l-3 shadow-sm ${U?"bg-white/90 text-blue-900 border-white":"bg-blue-100 text-blue-800 border-blue-500"}`,title:`${ue.startTime} - ${ue.title}`,children:[l.jsx("div",{className:"truncate font-bold",children:ue.title}),l.jsx("div",{className:`text-[8px] font-medium ${U?"text-blue-700":"text-blue-600"}`,children:ue.startTime})]},`evt-${de}`)),F.formaciones.slice(0,3).map((ue,de)=>l.jsxs("div",{className:`text-[9px] leading-tight px-1.5 py-1 rounded-lg truncate border-l-3 shadow-sm ${U?"bg-white/90 text-green-900 border-white":"bg-emerald-100 text-emerald-800 border-emerald-500"}`,title:`${ue.startTime} - ${ue.title}`,children:[l.jsx("div",{className:"truncate font-bold",children:ue.title}),l.jsx("div",{className:`text-[8px] font-medium ${U?"text-green-700":"text-emerald-600"}`,children:ue.startTime})]},`form-${de}`)),Ne.length>9&&l.jsxs("div",{className:`text-[8px] font-bold text-center py-1 px-2 rounded-full ${U?"bg-white/80 text-primary":"bg-gray-200 text-gray-700"}`,children:["+",Ne.length-9," más"]})]})]},ce.toISOString())})]}),l.jsxs("div",{className:"mt-6 space-y-4",children:[l.jsxs("div",{className:"flex flex-wrap gap-4 text-xs",children:[l.jsxs("div",{className:"flex items-center gap-2 bg-white px-3 py-2 rounded-xl shadow-sm border border-gray-200",children:[l.jsx("div",{className:"w-5 h-5 bg-gradient-to-br from-blue-50 to-blue-100 border-2 border-blue-500 rounded-lg"}),l.jsx("span",{className:"font-semibold text-gray-700",children:"Hoy"})]}),l.jsxs("div",{className:"flex items-center gap-2 bg-white px-3 py-2 rounded-xl shadow-sm border border-gray-200",children:[l.jsx("div",{className:"w-5 h-5 bg-gradient-to-br from-emerald-50 to-emerald-100 border-2 border-emerald-300 rounded-lg"}),l.jsx("span",{className:"font-semibold text-gray-700",children:"Con actividad"})]}),l.jsxs("div",{className:"flex items-center gap-2 bg-white px-3 py-2 rounded-xl shadow-sm border border-gray-200",children:[l.jsx("div",{className:"w-5 h-5 bg-gradient-to-br from-primary to-primary-light rounded-lg shadow"}),l.jsx("span",{className:"font-semibold text-gray-700",children:"Seleccionado"})]})]}),l.jsxs("div",{className:"flex flex-wrap gap-3 text-sm",children:[l.jsxs("button",{onClick:()=>d(!u),className:`flex items-center gap-2 px-4 py-2.5 rounded-xl font-semibold transition-all duration-300 transform hover:scale-105 active:scale-95 shadow-md ${u?"bg-gradient-to-r from-orange-500 to-orange-600 text-white shadow-orange-200":"bg-white text-gray-500 border-2 border-gray-300 hover:border-orange-300"}`,children:[l.jsx(_s,{className:"w-4 h-4"}),l.jsx("span",{children:"Reservas"}),u&&l.jsx("div",{className:"w-2 h-2 rounded-full bg-white animate-pulse"})]}),l.jsxs("button",{onClick:()=>
4419h(!f),className:`flex items-center gap-2 px-4 py-2.5 rounded-xl font-semibold transition-all duration-300 transform hover:scale-105 active:scale-95 shadow-md ${f?"bg-gradient-to-r from-blue-500 to-blue-600 text-white shadow-blue-200":"bg-white text-gray-500 border-2 border-gray-300 hover:border-blue-300"}`,children:[l.jsx(bl,{className:"w-4 h-4"}),l.jsx("span",{children:"Eventos"}),f&&l.jsx("div",{className:"w-2 h-2 rounded-full bg-white animate-pulse"})]}),l.jsxs("button",{onClick:()=>p(!m),className:`flex items-center gap-2 px-4 py-2.5 rounded-xl font-semibold transition-all duration-300 transform hover:scale-105 active:scale-95 shadow-md ${m?"bg-gradient-to-r from-emerald-500 to-emerald-600 text-white shadow-emerald-200":"bg-white text-gray-500 border-2 border-gray-300 hover:border-emerald-300"}`,children:[l.jsx(Ru,{className:"w-4 h-4"}),l.jsx("span",{children:"Formaciones"}),m&&l.jsx("div",{className:"w-2 h-2 rounded-full bg-white animate-pulse"})]})]})]})]}),l.jsx("div",{className:"lg:col-span-1",children:l.jsx("div",{className:"bg-gradient-to-br from-gray-50 to-white rounded-2xl p-5 h-full border-2 border-gray-200 shadow-xl",children:r?l.jsxs(l.Fragment,{children:[l.jsx("div",{className:"mb-4 pb-4 border-b-2 border-gray-200",children:l.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[l.jsx("div",{className:"p-2 bg-primary/10 rounded-xl",children:l.jsx(da,{className:"w-5 h-5 text-primary"})}),l.jsxs("div",{children:[l.jsx("h4",{className:"text-xs font-semibold text-gray-500 uppercase tracking-wide",children:"Fecha seleccionada"}),l.jsx("p",{className:"text-lg font-bold text-gray-900",children:St(r,"dd/MM/yyyy",{locale:er})})]})]})}),O.length===0?l.jsxs("div",{className:"text-center py-8",children:[l.jsx("div",{className:"w-16 h-16 bg-gray-100 rounded-full flex items-center justify-center mx-auto mb-3",children:l.jsx(Jr,{className:"w-8 h-8 text-gray-400"})}),l.jsx("p",{className:"text-sm text-gray-500 font-medium",children:"No hay actividad para este dÃa"})]}):l.jsxs("div",{className:"space-y-3 max-h-[400px] overflow-y-auto",children:[T.length>0&&l.jsxs("div",{children:[l.jsxs("div",{className:"flex items-center gap-2 mb-3 p-2 bg-orange-50 rounded-xl",children:[l.jsx("div",{className:"p-1.5 bg-orange-500 rounded-lg",children:l.jsx(_s,{className:"w-4 h-4 text-white"})}),l.jsx("h5",{className:"text-sm font-bold text-orange-900",children:"Reservas"})]}),l.jsx("div",{className:"space-y-2",children:T.map(ce=>{const Ne=i.find(F=>F.id===ce.id);return l.jsxs("div",{className:"bg-white p-4 rounded-xl border-l-4 border-orange-500 shadow-lg hover:shadow-xl transition-all duration-300 hover:scale-[1.02] transform",children:[l.jsxs("div",{className:"flex items-start justify-between mb-2",children:[l.jsxs("div",{className:"flex-1 min-w-0",children:[l.jsx("div",{className:"font-medium text-sm text-gray-900 truncate",children:ce.title}),l.jsxs("div",{className:"text-xs text-gray-600 flex items-center gap-1 mt-1",children:[l.jsx(da,{className:"w-3 h-3"}),ce.startTime," - ",ce.endTime]})]}),l.jsx("button",{onClick:()=>v(ce.id),className:"p-1 text-red-600 hover:bg-red-100 rounded transition-colors flex-shrink-0",title:"Eliminar",children:l.jsx(Nh,{className:"w-3 h-3"})})]}),(Ne==null?void 0:Ne.notes)&&l.jsx("p",{className:"text-xs text-gray-500 mt-2 line-clamp-2",children:Ne.notes})]},ce.id)})})]}),P.length>0&&l.jsxs("div",{children:[l.jsxs("div",{className:"flex items-center gap-2 mb-3 p-2 bg-blue-50 rounded-xl",children:[l.jsx("div",{className:"p-1.5 bg-blue-500 rounded-lg",children:l.jsx(bl,{className:"w-4 h-4 text-white"})}),l.jsx("h5",{className:"text-sm font-bold text-blue-900",children:"Eventos"})]}),l.jsx("div",{className:"space-y-2",children:P.map(ce=>l.jsxs("div",{className:"bg-white p-4 rounded-xl border-l-4 border-blue-500 shadow-lg hover:shadow-xl transition-all duration-300 hover:scale-[1.02] transform",children:[l.jsx("div",{className:"font-medium text-sm text-gray-900 truncate",children:ce.title}),l.jsxs("div",{className:"text-xs text-gray-600 flex items-center gap-1 mt-1",children:[l.jsx(da,{className:"w-3 h-3"}),ce.startTime,ce.endTime?` - ${ce.endTime}`:""]})]},ce.id))})]}),L.length>0&&l.jsxs("div",{children:[l.jsxs("div",{className:"flex items-center gap-2 mb-3 p-2 bg-emerald-50 rounded-xl",children:[l.jsx("div",{className:"p-1.5 bg-emerald-500 rounded-lg",children:l.jsx(Ru,{className:"w-4 h-4 text-white"})}),l.jsx("h5",{className:"text-sm font-bold text-emerald-900",children:"Formaciones"})]}),l.jsx("div",{className:"space-y-2",children:L.map(ce=>l.jsxs("div",{className:"bg-white p-4 rounded-xl border-l-4 border-emerald-500 shadow-lg hover:shadow-xl transition-all duration-300 hover:scale-[1.02] transform",children:[l.jsx("div",{className:"font-medium text-sm text-gray-900 truncate",children:ce.title}),l.jsxs("div",{className:"text-xs text-gray-600 flex items-center gap-1 mt-1",children:[l.jsx(da,{className:"w-3 h-3"}),ce.startTime,ce.endTime?` - ${ce.endTime}`:""]})]},ce.id))})]})]})]}):l.jsxs("div",{className:"text-center py-12",children:[l.jsx("div",{className:"w-20 h-20 bg-gradient-to-br from-gray-100 to-gray-200 rounded-2xl flex items-center justify-center mx-auto mb-4 shadow-inner",children:l.jsx(Jr,{className:"w-10 h-10 text-gray-400"})}),l.jsx("p",{className:"text-sm text-gray-500 font-medium",children:"Selecciona un dÃa para ver la actividad"})]})})})]}),l.jsxs("div",{className:"mt-8 pt-8 border-t-2 border-gray-200 grid grid-cols-2 md:grid-cols-4 lg:grid-cols-5 ga
4419p-4",children:[l.jsxs("div",{className:"bg-gradient-to-br from-orange-50 to-orange-100 p-5 rounded-2xl shadow-lg hover:shadow-xl transition-all duration-300 hover:scale-105 transform border border-orange-200",children:[l.jsx("div",{className:"p-2 bg-orange-500 rounded-xl w-fit mb-3",children:l.jsx(_s,{className:"w-6 h-6 text-white"})}),l.jsx("div",{className:"text-3xl font-bold text-orange-900 mb-1",children:K}),l.jsx("div",{className:"text-xs font-semibold text-orange-700 uppercase tracking-wide",children:"Total reservas"})]}),l.jsxs("div",{className:"bg-gradient-to-br from-blue-50 to-blue-100 p-5 rounded-2xl shadow-lg hover:shadow-xl transition-all duration-300 hover:scale-105 transform border border-blue-200",children:[l.jsx("div",{className:"p-2 bg-blue-500 rounded-xl w-fit mb-3",children:l.jsx(bl,{className:"w-6 h-6 text-white"})}),l.jsx("div",{className:"text-3xl font-bold text-blue-900 mb-1",children:le}),l.jsx("div",{className:"text-xs font-semibold text-blue-700 uppercase tracking-wide",children:"Total eventos"})]}),l.jsxs("div",{className:"bg-gradient-to-br from-emerald-50 to-emerald-100 p-5 rounded-2xl shadow-lg hover:shadow-xl transition-all duration-300 hover:scale-105 transform border border-emerald-200",children:[l.jsx("div",{className:"p-2 bg-emerald-500 rounded-xl w-fit mb-3",children:l.jsx(Ru,{className:"w-6 h-6 text-white"})}),l.jsx("div",{className:"text-3xl font-bold text-emerald-900 mb-1",children:ne}),l.jsx("div",{className:"text-xs font-semibold text-emerald-700 uppercase tracking-wide",children:"Total formaciones"})]}),l.jsxs("div",{className:"bg-gradient-to-br from-cyan-50 to-cyan-100 p-5 rounded-2xl shadow-lg hover:shadow-xl transition-all duration-300 hover:scale-105 transform border border-cyan-200",children:[l.jsx("div",{className:"p-2 bg-cyan-500 rounded-xl w-fit mb-3",children:l.jsx(Jr,{className:"w-6 h-6 text-white"})}),l.jsx("div",{className:"text-3xl font-bold text-cyan-900 mb-1",children:te}),l.jsx("div",{className:"text-xs font-semibold text-cyan-700 uppercase tracking-wide",children:"Actividad hoy"})]}),l.jsxs("div",{className:"bg-gradient-to-br from-amber-50 to-amber-100 p-5 rounded-2xl shadow-lg hover:shadow-xl transition-all duration-300 hover:scale-105 transform border border-amber-200",children:[l.jsx("div",{className:"p-2 bg-amber-500 rounded-xl w-fit mb-3",children:l.jsx(Jr,{className:"w-6 h-6 text-white"})}),l.jsx("div",{className:"text-3xl font-bold text-amber-900 mb-1",children:he}),l.jsx("div",{className:"text-xs font-semibold text-amber-700 uppercase tracking-wide",children:"DÃas programados"})]})]})]})},INe=({registration:t,className:e="",showLabel:r=!0})=>{var A,u,d,f,h;const n=t||{registrationNumber:"001",name:"Nombre del Asistente",company:"Empresa Ejemplo S.L.",position:"Cargo Ejemplo",customCredentialData:{displayName:"Nombre del Asistente",customCompany:"Empresa Ejemplo S.L.",customPosition:"Cargo Ejemplo",showCompany:!0,showPosition:!0}},i=((A=n.customCredentialData)==null?void 0:A.displayName)||n.name,a=((u=n.customCredentialData)==null?void 0:u.customCompany)||n.company,s=((d=n.customCredentialData)==null?void 0:d.customPosition)||n.position,o=((f=n.customCredentialData)==null?void 0:f.showCompany)??!0,c=((h=n.customCredentialData)==null?void 0:h.showPosition)??!0;return l.jsxs("div",{className:e,children:[r&&l.jsx("div",{className:"text-sm font-medium text-gray-700 mb-4",children:"Vista Previa en Tiempo Real:"}),l.jsx("div",{className:"mx-auto",style:{width:"320px",aspectRatio:"85 / 130"},children:l.jsxs("div",{style:{width:"100%",height:"100%",fontFamily:"'Segoe UI', Roboto, Helvetica, Arial, sans-serif",overflow:"hidden",position:"relative",boxShadow:"0 10px 25px rgba(0,0,0,0.2)",borderRadius:"12px",backgroundColor:"#f0f9ff"},children:[l.jsx("div",{style:{position:"absolute",top:0,left:0,right:0,bottom:0,backgroundImage:"url(/gota-creando-efecto-onda-agua_23-2148795902.jpg)",backgroundSize:"cover",backgroundPosition:"center",zIndex:0}}),l.jsx("div",{style:{position:"absolute",top:0,left:0,right:0,bottom:0,background:"linear-gradient(180deg, rgba(0, 120, 180, 0.15) 0%, rgba(0, 180, 220, 0.1) 100%)",zIndex:1}}),l.jsx("div",{style:{position:"absolute",top:"16px",left:"16px",zIndex:10,width:"120px",height:"40px",backgroundColor:"rgba(255, 255, 255, 0.95)",borderRadius:"8px",padding:"4px",display:"flex",alignItems:"center",justifyContent:"center",boxShadow:"0 2px 8px rgba(0,0,0,0.15)"},children:l.jsx("img",{src:"/Logo_timeline_2_Azul.png",alt:"Africagua Canarias",style:{maxWidth:"100%",maxHeight:"100%",objectFit:"contain"}})}),l.jsx("div",{style:{position:"relative",zIndex:10,height:"100%",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",padding:"20px",paddingTop:"80px",paddingBottom:"100px"},children:l.jsxs("div",{style:{textAlign:"center",backgroundColor:"rgba(0, 0, 0, 0.3)",backdropFilter:"blur(8px)",padding:"24px 20px",borderRadius:"12px",width:"100%",maxWidth:"260px",boxShadow:"0 4px 12px rgba(0,0,0,0.3)"},children:[l.jsx("div",{style:{fontSize:"13px",color:"white",fontWeight:500,letterSpacing:"2px",textTransform:"uppercase",marginBottom:"16
4419px",textShadow:"0 2px 4px rgba(0,0,0,0.5)"},children:"ASISTENTE"}),l.jsx("div",{style:{fontSize:"20px",color:"white",fontWeight:700,marginBottom:"14px",lineHeight:1.2,textShadow:"0 2px 6px rgba(0,0,0,0.6)"},children:i}),o&&a&&l.jsx("div",{style:{fontSize:"15px",color:"white",marginBottom:"8px",fontWeight:500,textShadow:"0 2px 4px rgba(0,0,0,0.5)"},children:a}),c&&s&&l.jsx("div",{style:{fontSize:"14px",color:"rgba(255, 255, 255, 0.95)",fontStyle:"italic",textShadow:"0 2px 4px rgba(0,0,0,0.5)"},children:s})]})}),l.jsxs("div",{style:{position:"absolute",bottom:"16px",right:"16px",zIndex:10,width:"80px",height:"95px",backgroundColor:"rgba(255, 255, 255, 0.98)",borderRadius:"8px",padding:"6px",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",boxShadow:"0 4px 12px rgba(0,0,0,0.25)"},children:[l.jsx("img",{src:"/qr_africagua_program.png",alt:"Programa QR",style:{width:"66px",height:"66px",objectFit:"contain",marginBottom:"4px"}}),l.jsx("div",{style:{fontSize:"9px",color:"#0078b4",fontWeight:600,textTransform:"lowercase",textAlign:"center",letterSpacing:"0.3px"},children:"ver programa"})]})]})})]})},YK=({event:t,registration:e,className:r="",showLabel:n=!0})=>{var O,j,T,P,L,K,le,ne,fe,te,he,ce,Ne,F;if(t.title.toLowerCase().includes("africagua"))return l.jsx(INe,{registration:e,className:r,showLabel:n});const a=e||{registrationNumber:"001",name:"Nombre del Asistente",company:"Empresa Ejemplo S.L.",position:"Cargo Ejemplo",customCredentialData:{displayName:"Nombre del Asistente",customCompany:"Empresa Ejemplo S.L.",customPosition:"Cargo Ejemplo",showCompany:!0,showPosition:!0}},s=t.dates.length>0?[...t.dates].sort((U,R)=>new Date(U.date).getTime()-new Date(R.date).getTime()):[{date:new Date().toISOString().split("T")[0],startTime:"09:00",endTime:"18:00"}],o=Gr(s[0].date),c=Gr(s[s.length-1].date),A=((O=t.credentialSettings)==null?void 0:O.primaryColor)||"#CF163D",u=((j=t.credentialSettings)==null?void 0:j.secondaryColor)||"#A61131",d=((T=t.credentialSettings)==null?void 0:T.gradientAngle)||135,f=((P=t.credentialSettings)==null?void 0:P.textSize)||"normal",h=((L=t.credentialSettings)==null?void 0:L.borderStyle)||"solid",m=((K=t.credentialSettings)==null?void 0:K.borderWidth)??3,p=((le=t.credentialSettings)==null?void 0:le.borderRadius)??8,x=((ne=t.credentialSettings)==null?void 0:ne.showHeaderImage)??!0,v=((fe=t.credentialSettings)==null?void 0:fe.showFooterImage)??!0,y=((te=a.customCredentialData)==null?void 0:te.displayName)||a.name,b=((he=a.customCredentialData)==null?void 0:he.customCompany)||a.company,E=((ce=a.customCredentialData)==null?void 0:ce.customPosition)||a.position,S=((Ne=a.customCredentialData)==null?void 0:Ne.showCompany)??!0,I=((F=a.customCredentialData)==null?void 0:F.showPosition)??!0,_={small:{name:"12px",company:"10px",position:"10px",header:"9px",footer:"10px",footerDate:"8px",number:"16px"},normal:{name:"14px",company:"12px",position:"12px",header:"10px",footer:"11px",footerDate:"9px",number:"18px"},large:{name:"16px",company:"14px",position:"14px",header:"11px",footer:"12px",footerDate:"10px",number:"20px"}}[f];return l.jsxs("div",{className:r,children:[n&&l.jsx("div",{className:"text-sm font-medium text-gray-700 mb-4",children:"Vista Previa en Tiempo Real:"}),l.jsx("div",{className:"mx-auto",style:{width:"320px",aspectRatio:"85 / 130"},children:l.jsxs("div",{style:{width:"100%",height:"100%",fontFamily:"'Segoe UI', Roboto, Helvetica, Arial, sans-serif",overflow:"hidden",position:"relative",boxShadow:"0 10px 25px rgba(0,0,0,0.1)",borderRadius:`${p}px`,border:`${m}px ${h} ${A}`,backgroundColor:"white"},children:[l.jsx("div",{style:{position:"absolute",top:0,left:0,right:0,bottom:0,background:`linear-gradient(${d}deg, ${A}0D 0%, ${u}03 100%)`,zIndex:0}}),l.jsx("div",{style:{position:"relative",zIndex:10,background:`linear-gradient(${d}deg, ${A} 0%, ${u} 100%)`,color:"white",padding:"12px 16px",borderRadius:`${p}px ${p}px 0 0`},children:l.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[l.jsx("div",{style:{fontSize:_.header,opacity:.9,letterSpacing:"0.5px",textTransform:"uppercase",fontWeight:500},children:"Credencial"}),l.jsxs("div",{style:{fontSize:_.number,fontWeight:700,letterSpacing:"0.5px"},children:["Nº ",a.registrationNumber]})]})}),x&&t.imageUrl&&l.jsx("div",{style:{position:"relative",zIndex:10,width:"100%",height:"64px",background:"white",display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden",borderBottom:"1px solid rgba(0,0,0,0.05)"},children:l.jsx("img",{src:t.imageUrl,alt:t.title,style:{maxWidth:"100%",maxHeight:"100%",objectFit:"contain"}})}),l.jsx("div",{style:{position:"relative",zIndex:10,flex:1,display:"flex",flexDirection:"column",justifyContent:"center",padding:"16px",background:"white",minHeight:"120px"},children:l.jsxs("div",{style:{textAlign:"center"},children:[l.jsx("div",{style:{fontWeight:600,fontSize:_.name,color:"#333",marginBottom:"8px",lineHeight:1.3},children:y}),S&&b&&l.jsx("div",{style:{fontSize:_.company,color:"#555",marginBottom:"6px"},children:b}),I&&E&&l.jsx("div",{style:{fontSize:_.position,color:"#555",fontStyle:"italic"},children:E})]})}),v&&l.jsxs("div",{style:{position:"relative",zIndex:10,background:`linear-gradient(${d}deg, ${A} 0%, ${u} 100%)`,color:"white",padding:"12px 16px",borderRadius:`0 0 ${p}px ${p}px`},children:[l.jsx("h3",{style:{fontSize:_.footer,fontWeight:600,marginBottom:"8px",textAlign:"center",lineHeight:1.3},children:t.title||"TÃtulo del Evento"}),l.jsx("div",{style:{fontSize:_.footerDate,opacity:.9,textAlign:"center"},children:s.length>1?`Del ${St(o,"d 'de' MMMM",{locale:er})} al ${St(c,"d 'de' MMMM 'de' yyyy",{locale:er})}`:St(o,"d 'de' MMMM 'de' yyyy",{locale:er})})]})]})})]})},kNe=({event:t,registration:e,onClose:r,onSave:n})=>{var u,d,f,h,m,p;const[i,a]=Z.useState(!1),[s,o]=Z.useState({displayName:((u=e.customCredentialData)==null?void 0:u.displayName)||e.name,customPosition:((d=e.customCredentialData)==null?void 0:d.customPosition)||e.position||"",customCompany:((f=e.customCredentialData)==null?void 0:f.customCompany)||e.company||"",showCompany:((h=e.customCredentialData)==null?void 0:h.showCompany)??!0,showPosition:((m=e.customCredentialData)==null?void 0:m.showPosition)??!0}),c=async()=>{a(!0);try{await n(s),r()}catch(x){console.error("Error saving credential customization:",x),alert("Error al guardar la personalización de credencial")}finally{a(!1)}},A=()=>
4419{o({displayName:e.name,customPosition:e.position||"",customCompany:e.company||"",showCompany:!0,showPosition:!0})};return l.jsx("div",{className:"fixed inset-0 bg-black bg-opacity-50 z-50 flex items-center justify-center p-4",children:l.jsx("div",{className:"bg-white rounded-lg shadow-xl w-full max-w-5xl max-h-[95vh] overflow-hidden",children:l.jsxs("div",{className:"p-4 flex flex-col h-full max-h-[95vh]",children:[l.jsxs("div",{className:"flex justify-between items-center mb-3",children:[l.jsxs("div",{className:"flex items-center gap-3",children:[l.jsx(KQ,{className:"w-6 h-6 text-primary"}),l.jsx("h2",{className:"text-2xl font-bold text-gray-900",children:"Personalizar Credencial"})]}),l.jsx("button",{onClick:r,className:"text-gray-500 hover:text-gray-700 transition-colors p-2",children:l.jsx(vi,{className:"w-6 h-6"})})]}),l.jsxs("div",{className:"flex-1 overflow-hidden flex gap-4",children:[l.jsx("div",{className:"w-1/2 overflow-y-auto pr-2",children:l.jsxs("div",{className:"space-y-3",children:[l.jsx("div",{className:"bg-blue-50 border border-blue-200 rounded-lg p-3",children:l.jsxs("div",{className:"flex items-start gap-2",children:[l.jsx(fS,{className:"w-5 h-5 text-blue-600 mt-0.5 flex-shrink-0"}),l.jsxs("div",{children:[l.jsx("h3",{className:"font-semibold text-blue-900 mb-1 text-sm",children:"Información Original"}),l.jsxs("p",{className:"text-xs text-blue-800",children:["Nombre: ",l.jsx("strong",{children:e.name})]}),e.company&&l.jsxs("p",{className:"text-xs text-blue-800",children:["Empresa: ",l.jsx("strong",{children:e.company})]}),e.position&&l.jsxs("p",{className:"text-xs text-blue-800",children:["Cargo: ",l.jsx("strong",{children:e.position})]})]})]})}),l.jsxs("div",{children:[l.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:"Nombre para mostrar en credencial *"}),l.jsx("input",{type:"text",value:(s==null?void 0:s.displayName)||"",onChange:x=>o({...s,displayName:x.target.value}),className:"w-full px-3 py-2 border border-gray-300 rounded-md focus:ring-2 focus:ring-primary focus:border-transparent text-sm",placeholder:"Nombre completo",maxLength:50}),l.jsx("p",{className:"text-xs text-gray-500 mt-0.5",children:"Máximo 50 caracteres"})]}),l.jsxs("div",{children:[l.jsxs("label",{className:"flex items-center gap-2 mb-1",children:[l.jsx("input",{type:"checkbox",checked:(s==null?void 0:s.showCompany)??!0,onChange:x=>o({...s,showCompany:x.target.checked}),className:"rounded text-primary focus:ring-primary"}),l.jsx("span",{className:"text-sm font-medium text-gray-700",children:"Mostrar empresa en credencial"})]}),(s==null?void 0:s.showCompany)&&l.jsx("input",{type:"text",value:(s==null?void 0:s.customCompany)||"",onChange:x=>o({...s,customCompany:x.target.value}),className:"w-full px-3 py-2 border border-gray-300 rounded-md focus:ring-2 focus:ring-primary focus:border-transparent text-sm",placeholder:"Nombre de la empresa",maxLength:50})]}),l.jsxs("div",{children:[l.jsxs("label",{className:"flex items-center gap-2 mb-1",children:[l.jsx("input",{type:"checkbox",checked:(s==null?void 0:s.showPosition)??!0,onChange:x=>o({...s,showPosition:x.target.checked}),className:"rounded text-primary focus:ring-primary"}),l.jsx("span",{className:"text-sm font-medium text-gray-700",children:"Mostrar cargo en credencial"})]}),(s==null?void 0:s.showPosition)&&l.jsx("input",{type:"text",value:(s==null?void 0:s.customPosition)||"",onChange:x=>o({...s,customPosition:x.target.value}),className:"w-full px-3 py-2 border border-gray-300 rounded-md focus:ring-2 focus:ring-primary focus:border-transparent text-sm",placeholder:"Cargo o posición",maxLength:50})]}),l.jsxs("div",{className:"pt-3 border-t border-gray-200 flex gap-2 sticky bottom-0 bg-white",children:[l.jsxs("button",{onClick:A,className:"flex items-center gap-1.5 px-3 py-2 border border-gray-300 rounded-md text-sm text-gray-700 hover:bg-gray-50 transition-colors",children:[l.jsx(Ose,{className:"w-4 h-4"}),"Restablecer"]}),l.jsx("button",{onClick:c,disabled:i||!((p=s==null?void 0:s.displayName)!=null&&p.trim()),className:"flex-1 flex items-center justify-center gap-1.5 bg-primary text-white px-3 py-2 rounded-md text-sm hover:bg-primary-dark transition-colors disabled:opacity-50 disabled:cursor-not-allowed",children:i?l.jsxs(l.Fragment,{children:[l.jsx("div",{className:"animate-spin rounded-full h-4 w-4 border-b-2 border-white"}),l.jsx("span",{children:"Guardando..."})]}):l.jsxs(l.Fragment,{children:[l.jsx(Rse,{className:"w-4 h-4"}),l.jsx("span",{children:"Guardar Cambios"})]})})]})]})}),l.jsx("div",{className:"w-1/2 bg-gray-100 rounded-lg p-4 overflow-y-auto",children:l.jsx(YK,{event:{title:t.title,imageUrl:t.imageUrl,dates:t.dates,credentialSettings:t.credentialSettings},registration:{registrationNumber:e.registrationNumber,name:e.name,company:e.company,position:e.position,customCredentialData:s},showLabel:!0})})]})]})})})},ZK=t=>VC(JC,t?`events/${t}`:"events"),$K=t=>VC(JC,t?`registrations/${t}`:"registrations"),J5=async()=>{try{const t=await wa($K());if(!t.exists())return[];const e=[];return t.forEach(r=>{if(r.key){const n=r.val();e.push({id:r.key,...n})}}),e}catch(t){return console.error("Error getting all registrations:",t),[]}},X5=async()=>{try{const t=await wa(ZK());if(!t.exists())return[];const e=[];return t.forEach(r=>{if(r.key){const n=r.val();e.push({id:r.key,...n})}}),e}catch(t){return console.error("Error getting all events:",t),[]}},PNe=async()=>{const t=await X5(),e=await J5(),r=[],n=[];let i=0;const a=new Set(t.map(s=>s.id));for(const s of t){const o=e.filter(d=>d.eventId===s.id),c=o.length,A=s.registrationCount||0,u=c===A;u||i++,r.push({eventId:s.id,eventTitle:s.title,storedCount:A,actualCount:c,isConsistent:u,registrations:o})}for(const s of e)(!s.eventId||!a.has(s.eventId))&&n.push(s);
4419return{events:r,orphanedRegistrations:n,totalEvents:t.length,totalRegistrations:e.length,totalOrphaned:n.length,inconsistencies:i}},$R=async t=>{const e=await J5(),r=t.toLowerCase();return e.filter(n=>{const i=(n.firstName||"").toLowerCase(),a=(n.lastName||"").toLowerCase(),s=(n.email||"").toLowerCase(),o=(n.company||"").toLowerCase(),c=(n.name||"").toLowerCase();return i.includes(r)||a.includes(r)||s.includes(r)||o.includes(r)||c.includes(r)})},DNe=(t,e)=>{const r=t.toLowerCase().trim();return e.filter(n=>{const i=n.id.toLowerCase().trim();return i===r?!1:ONe(r,i)>.7})},ONe=(t,e)=>{const r=t.length>e.length?t:e,n=t.length>e.length?e:t;if(r.length===0)return 1;const i=RNe(r,n);return(r.length-i)/r.length},RNe=(t,e)=>{const r=[];for(let n=0;n<=e.length;n++)r[n]=[n];for(let n=0;n<=t.length;n++)r[0][n]=n;for(let n=1;n<=e.length;n++)for(let i=1;i<=t.length;i++)e.charAt(n-1)===t.charAt(i-1)?r[n][i]=r[n-1][i-1]:r[n][i]=Math.min(r[n-1][i-1]+1,r[n][i-1]+1,r[n-1][i]+1);return r[e.length][t.length]},eU=async(t,e)=>{try{const r=$K(t),n=await wa(r);if(!n.exists())throw new Error("La inscripción no existe");const i=n.val();await mc(r,{...i,eventId:e,updatedAt:new Date().toISOString()})}catch(r){throw console.error("Error fixing registration eventId:",r),r}},UNe=async()=>{const t=await X5(),e=await J5(),r=[];let n=0;for(const i of t){const a=e.filter(o=>o.eventId===i.id).length,s=i.registrationCount||0;if(a!==s){const o=ZK(i.id);await mc(o,{...i,registrationCount:a,updatedAt:new Date().toISOString()}),r.push({eventId:i.id,title:i.title,oldCount:s,newCount:a}),n++}}return{updated:n,results:r}},LNe=async()=>{var i,a;const t=await X5(),e=await J5(),r=[],n=new Set(t.map(s=>s.id));new Map(t.map(s=>[s.id,s]));for(const s of e)if(s.eventId){if(!n.has(s.eventId)){const o=DNe(s.eventId,t);r.push({registration:s,issue:`eventId inválido: ${s.eventId}`,suggestedEventId:(i=o[0])==null?void 0:i.id,suggestedEventTitle:(a=o[0])==null?void 0:a.title})}}else{const o=MNe(s,t);r.push({registration:s,issue:"Sin eventId",suggestedEventId:o==null?void 0:o.id,suggestedEventTitle:o==null?void 0:o.title})}return r},MNe=(t,e)=>{var n;const r=t.createdAt?new Date(t.createdAt):null;if(r)for(const i of e){const a=(n=i.dates[0])!=null&&n.date?new Date(i.dates[0].date):null;if(!a)continue;if(Math.abs((a.getTime()-r.getTime())/(1e3*60*60*24))<30)return i}},QNe=t=>JSON.stringify(t,null,2),HNe=t=>{let e=`Tipo,ID,TÃtulo/Nombre,Contador Guardado,Contador Real,Estado,Email 4420`;for(const r of t.events)e+=`Evento,${r.eventId},"${r.eventTitle}",${r.storedCount},${r.actualCount},${r.isConsistent?"OK":"INCONSISTENTE"}, 4421`;for(const r of t.orphanedRegistrations)e+=`Inscripción Huérfana,${r.id},"${r.firstName} ${r.lastName}",,,,${r.email} 4422`;return e};function zNe(){const[t,e]=Z.useState(null),[r,n]=Z.useState([]),[i,a]=Z.useState(!1),[s,o]=Z.useState(""),[c,A]=Z.useState([]),[u,d]=Z.useState(!1),[f,h]=Z.useState(!1),[m,p]=Z.useState(null),x=async()=>{a(!0);try{const B=await PNe();e(B);const _=await LNe();n(_)}catch(B){console.error("Error loading diagnostics:",B),alert("Error al cargar el diagnóstico")}finally{a(!1)}};Z.useEffect(()=>{x()},[]);const v=async()=>{if(s.trim()){a(!0);try{const B=await $R(s);A(B)}catch(B){console.error("Error searching:",B),alert("Error en la búsqueda")}finally{a(!1)}}},y=async(B,_)=>{if(confirm("¿Estás seguro de que quieres corregir esta inscripción?")){d(!0);try{await eU(B,_),alert("Inscripción corregida exitosamente"),await x()}catch(O){console.error("Error fixing registration:",O),alert("Error al corregir la inscripción")}finally{d(!1)}}},b=async()=>{if(confirm("¿Recalcular todos los contadores de inscripciones? Esto puede tomar unos momentos.")){h(!0);try{const B=await UNe();alert(`Contadores actualizados: ${B.updated} eventos corregidos`),await x()}catch(B){console.error("Error recalculating:",B),alert("Error al recalcular contadores")}finally{h(!1)}}},E=()=>{if(!t)return;const B=QNe(t),_=new Blob([B],{type:"application/json"}),O=URL.createObjectURL(_),j=document.createElement("a");j.href=O,j.download=`diagnostico-${new Date().toISOString()}.json`,j.click(),URL.revokeObjectURL(O)},S=()=>
4422{if(!t)return;const B=HNe(t),_=new Blob([B],{type:"text/csv"}),O=URL.createObjectURL(_),j=document.createElement("a");j.href=O,j.download=`diagnostico-${new Date().toISOString()}.csv`,j.click(),URL.revokeObjectURL(O)},I=async()=>{if(confirm("¿Buscar y corregir todas las inscripciones del taller de Canva?")){d(!0);try{const B=await $R("canva"),O=(await X5()).find(T=>T.title.toLowerCase().includes("canva"));if(!O){alert("No se encontró el evento de Canva");return}let j=0;for(const T of B)T.eventId!==O.id&&(await eU(T.id,O.id),j++);alert(`Se corrigieron ${j} inscripciones del taller de Canva`),await x()}catch(B){console.error("Error fixing Canva registrations:",B),alert("Error al corregir inscripciones de Canva")}finally{d(!1)}}};return i&&!t?l.jsx("div",{className:"flex items-center justify-center h-64",children:l.jsxs("div",{className:"text-center",children:[l.jsx(_6,{className:"w-8 h-8 animate-spin mx-auto mb-2 text-blue-600"}),l.jsx("p",{className:"text-gray-600",children:"Analizando datos..."})]})}):l.jsxs("div",{className:"space-y-6",children:[l.jsxs("div",{className:"flex items-center justify-between",children:[l.jsx("h2",{className:"text-2xl font-bold",children:"Diagnóstico de Datos en Firebase"}),l.jsxs("div",{className:"flex gap-2",children:[l.jsxs("button",{onClick:x,disabled:i,className:"px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 disabled:opacity-50 flex items-center gap-2",children:[l.jsx(_6,{className:`w-4 h-4 ${i?"animate-spin":""}`}),"Actualizar"]}),l.jsxs("button",{onClick:b,disabled:f,className:"px-4 py-2 bg-green-600 text-white rounded-lg hover:bg-green-700 disabled:opacity-50 flex items-center gap-2",children:[l.jsx(Mse,{className:`w-4 h-4 ${f?"animate-spin":""}`}),"Recalcular Contadores"]})]})]}),t&&l.jsxs(l.Fragment,{children:[l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4",children:[l.jsxs("div",{className:"bg-white p-6 rounded-lg shadow-md border-l-4 border-blue-600",children:[l.jsx("div",{className:"text-3xl font-bold text-blue-600",children:t.totalEvents}),l.jsx("div",{className:"text-gray-600",children:"Eventos Totales"})]}),l.jsxs("div",{className:"bg-white p-6 rounded-lg shadow-md border-l-4 border-green-600",children:[l.jsx("div",{className:"text-3xl font-bold text-green-600",children:t.totalRegistrations}),l.jsx("div",{className:"text-gray-600",children:"Inscripciones Totales"})]}),l.jsxs("div",{className:"bg-white p-6 rounded-lg shadow-md border-l-4 border-yellow-600",children:[l.jsx("div",{className:"text-3xl font-bold text-yellow-600",children:t.inconsistencies}),l.jsx("div",{className:"text-gray-600",children:"Inconsistencias"})]}),l.jsxs("div",{className:"bg-white p-6 rounded-lg shadow-md border-l-4 border-red-600",children:[l.jsx("div",{className:"text-3xl font-bold text-red-600",children:t.totalOrphaned}),l.jsx("div",{className:"text-gray-600",children:"Inscripciones Huérfanas"})]})]}),l.jsxs("div",{className:"bg-white p-6 rounded-lg shadow-md",children:[l.jsx("h3",{className:"text-xl font-semibold mb-4",children:"Búsqueda de Inscripciones"}),l.jsxs("div",{className:"flex gap-2 mb-4",children:[l.jsx("input",{type:"text",value:s,onChange:B=>o(B.target.value),onKeyPress:B=>B.key==="Enter"&&v(),placeholder:"Buscar por nombre, email, empresa...",className:"flex-1 px-4 py-2 border rounded-lg focus:ring-2 focus:ring-blue-600"}),l.jsxs("button",{onClick:v,disabled:i,className:"px-6 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 disabled:opacity-50 flex items-center gap-2",children:[l.jsx(vS,{className:"w-4 h-4"}),"Buscar"]}),l.jsx("button",{onClick:I,disabled:u,className:"px-6 py-2 bg-purple-600 text-white rounded-lg hover:bg-purple-700 disabled:opacity-50",children:"Corregir Canva"})]}),c.length>0&&l.jsxs("div",{className:"mt-4",children:[l.jsxs("h4",{className:"font-semibold mb-2",children:["Resultados (",c.length,")"]}),l.jsx("div",{className:"space-y-2 max-h-96 overflow-y-auto",children:c.map(B=>l.jsx("div",{className:"p-3 border rounded-lg",children:l.jsxs("div",{className:"flex justify-between items-start",children:[l.jsxs("div",{children:[l.jsxs("div",{className:"font-semibold",children:[B.firstName," ",B.lastName]}),l.jsx("div",{className:"text-sm text-gray-600",children:B.email}),l.jsxs("div",{className:"text-xs text-gray-500",children:["EventID: ",B.eventId||"Sin eventId"," | ID: ",B.id]})]}),!B.eventId&&l.jsx("span",{className:"px-2 py-1 bg-red-100 text-red-800 text-xs rounded",children:"Sin evento"})]})},B.id))})]})]}),r.length>0&&l.jsxs("div",{className:"bg-white p-6 rounded-lg shadow-md",children:[l.jsxs("h3",{className:"text-xl font-semibold mb-4 flex items-center gap-2",children:[l.jsx(rs,{className:"w-6 h-6 text-yellow-600"}),"Inscripciones con Problemas (",r.length,")"]}),l.jsx("div",{className:"space-y-3 max-h-96 overflow-y-auto",children:r.map(B=>l.jsx("div",{className:"p-4 border border-yellow-300 rounded-lg bg-yellow-50",children:l.jsxs("div",{className:"flex justify-between items-start",children:[l.jsxs("div",{children:[l.jsxs("div",{className:"font-semibold",children:[B.registration.firstName," ",B.registration.lastName]}),l.jsx("div",{className:"text-sm text-gray-600",children:B.registration.email}),l.jsx("div",{className:"text-sm text-red-600 mt-1",children:B.issue}),B.suggestedEventTitle&&l.jsxs("div",{className:"text-sm text-green-600 mt-1",children:["Sugerencia: ",B.suggestedEventTitle]})]}),B.suggestedEventId&&l.jsx("button",{onClick:()=>y(B.registration.id,B.suggestedEventId),disabled:u,className:"px-3 py-1 bg-green-600 text-white text-sm rounded hover:bg-green-700 disabled:opacity-50",children:"Corregir"})]})},B.registration.id))})]}),l.jsxs("div",{className:"bg-white p-6 rounded-lg shadow-md",children:[l.jsxs("div",{className:"flex justify-between items-center mb-4",children:[l.jsx("h3",{className:"text-xl font-semibold",children:"Estado de Eventos"}),l.jsxs("div",{className:"flex gap-2",children:[l.jsxs("button",{onClick:E,className:"px-4 py-2 bg-gray-600 text-white rounded-lg hover:bg-gray-700 flex items-center gap-2",children:[l.jsx(Xa,{className:"w-4 h-4"}),"JSON"]}),l.jsxs("button",{onClick:S,className:"px-4 py-2 bg-gray-600 text-white rounded-lg hover:bg-gray-700 flex items-center gap-2",children:[l.jsx(Xa,{className:"w-4 h-4"}),"CSV"]})]})]}),l.jsx("div",{className:"space-y-2 max-h-96 overflow-y-auto",children:t.events.map(B=>l.jsxs("div",{children:[l.jsx("div",{className:`p-4 border rounded-lg cursor-pointer ${B.isConsistent?"bg-green-50 border-green-300":"bg-red-50 border-red-300"}`,onClick:()=>p(m===B.eventId?null:B.eventId),children:l.jsxs("div",{className:"flex justify-between items-center",children:[l.jsxs("div",{className:"flex-1",children:[l.jsx("div",{className:"font-semibold",children:B.eventTitle}),l.jsxs("div",{className:"text-sm text-gray-600",children:["ID: ",B.eventId]})]}),l.jsxs("div",{className:"flex items-center gap-4",children:[l.jsxs("div",{className:"text-right",children:[l.jsxs("div",{className:"text-sm text-gray-600",children:["Guardado: ",B.storedCount]}),l.jsxs("div",{className:"text-sm text-gray-600",children:["Real
4422: ",B.actualCount]})]}),B.isConsistent?l.jsx(ca,{className:"w-6 h-6 text-green-600"}):l.jsx(rs,{className:"w-6 h-6 text-red-600"})]})]})}),m===B.eventId&&B.registrations.length>0&&l.jsxs("div",{className:"mt-2 ml-4 p-4 bg-gray-50 rounded-lg border",children:[l.jsxs("h4",{className:"font-semibold mb-2",children:["Inscripciones (",B.actualCount,")"]}),l.jsx("div",{className:"space-y-2 max-h-64 overflow-y-auto",children:B.registrations.map(_=>l.jsxs("div",{className:"text-sm p-2 bg-white rounded border",children:[l.jsxs("div",{className:"font-medium",children:[_.firstName," ",_.lastName]}),l.jsx("div",{className:"text-gray-600",children:_.email}),l.jsxs("div",{className:"text-gray-500 text-xs",children:["Número: ",_.registrationNumber," | ID: ",_.id]})]},_.id))})]})]},B.eventId))})]}),t.orphanedRegistrations.length>0&&l.jsxs("div",{className:"bg-white p-6 rounded-lg shadow-md",children:[l.jsxs("h3",{className:"text-xl font-semibold mb-4 flex items-center gap-2 text-red-600",children:[l.jsx(rs,{className:"w-6 h-6"}),"Inscripciones Huérfanas (",t.totalOrphaned,")"]}),l.jsx("div",{className:"space-y-2 max-h-96 overflow-y-auto",children:t.orphanedRegistrations.map(B=>l.jsxs("div",{className:"p-4 border border-red-300 rounded-lg bg-red-50",children:[l.jsxs("div",{className:"font-semibold",children:[B.firstName," ",B.lastName]}),l.jsx("div",{className:"text-sm text-gray-600",children:B.email}),l.jsxs("div",{className:"text-xs text-gray-500",children:["EventID: ",B.eventId||"Sin eventId"," | ID: ",B.id]})]},B.id))})]})]})]})}const VNe=()=>{const t=S1(),{isAuthenticated:e,user:r}=XC(),n=Z.useRef(null),[i,a]=Z.useState([]),[s,o]=Z.useState(null),[c,A]=Z.useState(""),[u,d]=Z.useState([]),[f,h]=Z.useState(!0),[m,p]=Z.useState(!1),[x,v]=Z.useState(null),[y,b]=Z.useState(!1),[E,S]=Z.useState(null),[I,B]=Z.useState(new Set),[_,O]=Z.useState(null),[j,T]=Z.useState("company"),[P,L]=Z.useState(""),[K,le]=Z.useState("all"),[ne,fe]=Z.useState(""),[te,he]=Z.useState("closest"),[ce,Ne]=Z.useState(null),[F,U]=Z.useState(null),[R,M]=Z.useState(null),[J,ue]=Z.useState(!1),[de,pe]=Z.useState(null),[be,Qe]=Z.useState(!1),Me=Z.useRef(null),[Xe,ot]=Z.useState(!1),[De,oe]=Z.useState(null),[Ke,dt]=Z.useState(null),[Ee,We]=Z.useState("events");Z.useEffect(()=>{if(!e||!r){t("/admin");return}Ze()},[e,t,r]),Z.useEffect(()=>{const k=q=>{Ke&&(q.target.closest(".action-menu-container")||dt(null))};return document.addEventListener("mousedown",k),()=>document.removeEventListener("mousedown",k)},[Ke]);const Ze=async()=>{try{const[k,q]=await Promise.all([e5(!0),Cce()]);a([...k,...q])}catch(k){console.error("Error fetching events:",k)}finally{h(!1)}},rt=Z.useCallback(k=>{if(ko(k))return!0;const q=i.find(Y=>Y.id===k);return q?TS(q.formType):!1},[i]),$e=Z.useCallback(async k=>{if(!k){d([]);return}p(!0);try{const q=rt(k)?await Fce(k):await mce(k);d(q)}catch(q){console.error("Error fetching registrations:",q),d([])}finally{p(!1)}},[rt]),Se=Z.useMemo(()=>{const k=new Set;new Date().getFullYear(),i.forEach(q=>{if(q.dates.length>0){const Y=Gr(q.dates[0].date);k.add(St(Y,"yyyy-MM"))}});for(let q=-6;q<18;q++){const Y=new Date;Y.setMonth(Y.getMonth()+q),k.add(St(Y,"yyyy-MM"))}return Array.from(k).sort()},[i]),Ve=Z.useMemo(()=>{let k=[...i];if(P.trim()){const Y=P.toLowerCase().trim();k=k.filter(ye=>(ye.title||"").toLowerCase().includes(Y)||(ye.category||"").toLowerCase().includes(Y))}if(K!=="all"&&(k=k.filter(Y=>K==="published"?Y.published!==!1:K==="unpublished"?Y.published===!1:!0)),ne){const[Y,ye]=ne.split("-").map(Number),Be=new Date(Y,ye-1);k=k.filter(xe=>{if(xe.dates.length===0)return!1;const _e=Gr(xe.dates[0].date);return zg(_e,Be)})}const q=new Date;return q.setHours(0,0,0,0),k.sort((Y,ye)=>{const Be=Y.dates.length>0?new Date(Y.dates[0].date).getTime():0,xe=ye.dates.length>0?new Date(ye.dates[0].date).getTime():0;if(te==="newest")return xe-Be;if(te==="oldest")return Be-xe;const _e=Math.abs(Be-q.getTime()),Fe=Math.abs(xe-q.getTime());return _e-Fe}),k},[i,P,K,ne,te]),vt=k=>{A(k);const q=i.find(Y=>Y.id===k)||null;o(q),v(null),B(new Set),O(null),T("company"),k?($e(k),setTimeout(()=>{var Y;(Y=n.current)==null||Y.scrollIntoView({behavior:"smooth",block:"start"})},100)):d([])},Tt=k=>{vt(k)},Ie=()=>{var k;(k=Me.current)==null||k.scrollIntoView({behavior:"smooth",block:"start"})},Re=async k=>
4422{if(window.confirm("¿Estás seguro de que quieres eliminar este evento?"))try{ko(k)?await Sce(k):await fce(k),await Ze(),c===k&&(A(""),o(null),d([]))}catch(q){console.error("Error deleting event:",q),alert("Error al eliminar el evento")}},Oe=async k=>{a(q=>q.map(Y=>Y.id===k?{...Y,published:!Y.published}:Y)),(s==null?void 0:s.id)===k&&o(q=>q&&{...q,published:!q.published});try{ko(k)?await _ce(k):await hce(k)}catch(q){a(Y=>Y.map(ye=>ye.id===k?{...ye,published:!ye.published}:ye)),(s==null?void 0:s.id)===k&&o(Y=>Y&&{...Y,published:!Y.published}),console.error("Error toggling event published status:",q),alert("Error al cambiar el estado de publicación del evento")}},Ue=async k=>{if(window.confirm("¿Estás seguro de que quieres eliminar esta inscripción?"))try{rt(c)?await Tce(k):await vce(k),c&&await $e(c)}catch(q){console.error("Error deleting registration:",q),alert("Error al eliminar la inscripción")}},Ft=async k=>{try{rt(c)?k.active?await jce(k.id):await RE(k.id,{active:!0}):k.active?await gce(k.id):await DE(k.id,{active:!0}),c&&await $e(c)}catch(q){console.error("Error toggling registration:",q),alert("Error al cambiar el estado de la inscripción")}},gt=k=>{O(k.id),T(k.type)},Kr=k=>{T(k.target.value)},Dt=async k=>{try{rt(c)?await RE(k,{type:j}):await DE(k,{type:j}),O(null),c&&await $e(c)}catch(q){console.error("Error updating registration type:",q),alert("Error al actualizar el tipo de participante")}},yr=()=>{O(null),T("company")},Kn=k=>{v(x===k?null:k)},dr=k=>{S(k),b(!0)},co=k=>{const q=new Set(I);q.has(k)?q.delete(k):q.add(k),B(q)},fn=()=>{I.size===u.length?B(new Set):B(new Set(u.map(k=>k.id)))},Ma=()=>{const k=u.filter(q=>I.has(q.id));if(k.length>0){const Y={...k[0],multiPrint:k};S(Y),b(!0)}},Ps=()=>{if(u.length===0){alert("No hay inscripciones para imprimir");return}const k=`¿Desea generar credenciales para todos los ${u.length} inscritos?`;if(window.confirm(k)){const Y={...u[0],multiPrint:u};S(Y),b(!0)}},Xr=async k=>{if(s){Ne(k.id);try{await SNe(k,s)}catch(q){console.error("Error generating PDF:",q),alert("Error al generar el PDF. Por favor, inténtelo de nuevo.")}finally{Ne(null)}}},Gt=async k=>{if(!(!k.signedRegistrationFormUrl||!k.signatureData)){U(k.id);try{await _Ne({pdfUrl:k.signedRegistrationFormUrl,signatureImageUrl:k.signatureData.signatureImageUrl,signerFirstName:k.signatureData.signerFirstName,signerLastName:k.signatureData.signerLastName,signerIdNumber:k.signatureData.signerIdNumber,signedAtDate:k.signatureData.signedAtDate,signedAtTime:k.signatureData.signedAtTime,lastName:k.lastName||k.signatureData.signerLastName})}catch(q){console.error("Error embedding signature in PDF:",q),alert("Error al generar el PDF con firma. Por favor, inténtelo de nuevo.")}finally{U(null)}}},Tr=async k=>{if(k.generatedPdfUrl){M(k.id);try{await Hpe(k.generatedPdfUrl,k.lastName||k.firstName)}catch(q){console.error("Error descargando la ficha generada:",q),alert("Error al descargar la ficha. Por favor, inténtelo de nuevo.")}finally{M(null)}}},Ao=k=>k.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase().replace(/[^a-z0-9]+/g,"_").replace(/^_|_$/g,""),ti=async()=>{const k=u.filter(xe=>xe.generatedPdfUrl);if(k.length===0){pe("No hay fichas firmadas para descargar en este evento."),setTimeout(()=>pe(null),5e3);return}ue(!0),pe(null);const q={};let Y=0;const ye=[],Be=new Set;for(const xe of k){const _e=Ao(`${xe.lastName||""}_${xe.firstName||""}`.replace(/^_+|_+$/g,"")||"inscrito");let Fe=`ficha_${_e}.pdf`,Ye=1;for(;Be.has(Fe);)Fe=`ficha_${_e}_${Ye}.pdf`,Ye+=1;Be.add(Fe);try{const st=await Uz(xe.generatedPdfUrl);q[Fe]=st,Y+=1}catch(st){console.error(`Error descargando la ficha de ${xe.firstName} ${xe.lastName}:`,st),ye.push(`${xe.firstName} ${xe.lastName}`.trim())}}try{if(Y===0)throw new Error("No se pudo descargar ninguna ficha.");const xe=$V(q),_e=new Blob([xe],{type:"application/zip"}),Fe=document.createElement("a");Fe.href=URL.createObjectURL(_e);const Ye=s?Ao(s.title):"evento",st=St(new Date,"yyyy-MM-dd");Fe.download=`fichas_acelera_pyme_${Ye}_${st}.zip`,Fe.click(),setTimeout(()=>URL.revokeObjectURL(Fe.href),1e4);const xt=u.length-k.length,at=[`ZIP con ${Y} ficha(s) firmada(s).`];xt>0&&at.push(`${xt} inscrito(s) sin ficha fueron omitidos.`),ye.length>0&&at.push(`No se pudieron descargar ${ye.length} ficha(s): ${ye.join(", ")}.`),pe(at.join(" "))}catch(xe){console.error("Error generando el ZIP:",xe),pe("Error al generar el ZIP. Por favor, inténtelo de nuevo.")}finally{ue(!1),setTimeout(()=>pe(null),8e3)}},As=k=>{oe(k),ot(!0)},us=async k=>
4422{if(De)try{rt(c)?await RE(De.id,{customCredentialData:k}):await DE(De.id,{customCredentialData:k}),c&&await $e(c)}catch(q){throw console.error("Error saving credential customization:",q),q}},Mt=()=>{if(u.length===0||!s){alert("No hay inscripciones para exportar");return}const k=u.map((Be,xe)=>({Nº:xe+1,"Nº Inscripción":Be.registrationNumber,Nombre:Be.name||`${Be.firstName||""} ${Be.lastName||""}`.trim(),Email:Be.email,Teléfono:Be.phone||"No disponible",Documento:Be.identificationNumber,Empresa:Be.company||"No disponible",Cargo:Be.position||"No disponible",Tipo:Bn(Be.type),"Interesado en Emprender":z(Be.interestedInEntrepreneurship),"Tiene Certificaciones":z(Be.hasCertifications),"Actividad de la empresa":Be.companyActivity||"No disponible","Interesado en expansión":z(Be.interestedInExpansion),Estado:Be.active?"Activo":"Inactivo","Consentimiento Imágenes":Be.imageConsentDeclined?"NO ACEPTA":Be.imageConsentAccepted?"Acepta":"No especificado","PolÃtica de Privacidad":Be.privacyPolicyAccepted?"Aceptada":"No especificado","Fecha de Inscripción":St(new Date(Be.createdAt),"dd/MM/yyyy HH:mm",{locale:er})})),q=WA.json_to_sheet(k),Y=WA.book_new();WA.book_append_sheet(Y,q,"Inscripciones");const ye=`inscripciones_${s.title.toLowerCase().replace(/\s+/g,"_")}_${St(new Date,"yyyy-MM-dd")}.xlsx`;XR(Y,ye)},Qa=k=>k.replace(/<[^>]*>/g,"").replace(/ /g," ").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'").trim(),vr=(k,q=32767)=>{const Y=Array.from(k==null?"":String(k)).filter(ye=>{const Be=ye.codePointAt(0)??0;return Be===9||Be===10||Be===13||Be>=32&&Be<=55295||Be>=57344&&Be<=65533||Be>=65536}).join("").trim();return Array.from(Y).slice(0,q).join("")},Si=k=>{switch(k){case"basic":return"Básico";case"superBasico":return"Súper Básico";case"enhanced":return"Mejorado";case"formacion":return"Formación";case"tallerOnlineFiscalidad":return"Taller Online Fiscalidad";case"consolidate":return"Consolidar";case"canariasExpande":return"Canarias Expande";case"delegacionGubernamental":return"Delegación Gubernamental";case"oficinAceleraPyme":return"Oficina Acelera Pyme";default:return"No especificado"}},Un=()=>{if(i.length===0){alert("No hay eventos para exportar");return}const k=[...i].sort((pt,Or)=>{const Ha=pt.dates.length>0?new Date(pt.dates[0].date).getTime():0;return(Or.dates.length>0?new Date(Or.dates[0].date).getTime():0)-Ha}),q=["Nº","TÃtulo","CategorÃa","Tipo de Formulario","Primera Fecha","Todas las Fechas","Nº Sesiones","Fecha Fin","Estado","Inscripciones","LÃmite Inscripciones","Plazas Disponibles","Email Registro","Fecha Creación","Ãltima Actualización","Fecha LÃmite Inscripción","Requiere Certificado Digital","Emite Credencial","URL Imagen","URL Documento Referencia","Descripción","ID"].map(pt=>vr(pt)),Y=k.map((pt,Or)=>{const Ha=pt.dates.length>0?pt.dates.map(Ca=>{const Ds=St(new Date(Ca.date),"dd/MM/yyyy",{locale:er}),ho=Ca.endTime?`${Ca.startTime} - ${Ca.endTime}`:Ca.startTime;return`${Ds} (${ho})`}).join(" | "):"Sin fecha",uo=pt.dates.length>0?St(new Date(pt.dates[0].date),"dd/MM/yyyy",{locale:er}):"Sin fecha";return[Or+1,vr(pt.title||"Sin tÃtulo"),vr(pt.category||"No especificado"),vr(Si(pt.formType)),vr(uo),vr(Ha),pt.dates.length,vr(pt.endDate?St(new Date(pt.endDate),"dd/MM/yyyy",{locale:er}):"No aplica"),vr(pt.published!==!1?"Publicado":"Oculto"),pt.registrationCount||0,typeof pt.registrationLimit=="number"?pt.registrationLimit:vr("Sin lÃmite"),pt.registrationLimit?Math.max(0,pt.registrationLimit-(pt.registrationCount||0)):vr("Sin lÃmite"),vr(pt.registrationEmail||"No disponible"),vr(pt.createdAt?St(new Date(pt.createdAt),"dd/MM/yyyy HH:mm",{locale:er}):"No disponible"),vr(pt.updatedAt?St(new Date(pt.updatedAt),"dd/MM/yyyy HH:mm",{locale:er}):"No disponible"),vr(pt.registrationDeadline?St(new Date(pt.registrationDeadline),"dd/MM/yyyy",{locale:er}):"Sin lÃmite"),vr(z(pt.requiresDigitalCertificate)),vr(z(pt.issueCredential)),vr(pt.imageUrl||"No disponible"),vr(pt.referenceDocumentUrl||"No disponible"),pt.content?vr(Qa(pt.content),500):"Sin descripción",vr(pt.i
4422d)]}),ye=i.length,Be=i.filter(pt=>pt.published!==!1).length,xe=i.filter(pt=>pt.published===!1).length,_e=i.reduce((pt,Or)=>pt+(Or.registrationCount||0),0),Fe=i.filter(pt=>pt.category==="Formacion").length,Ye=i.filter(pt=>pt.category==="Evento").length,st={};i.forEach(pt=>{const Or=Si(pt.formType);st[Or]=(st[Or]||0)+1});const xt=[{Métrica:"Total de Eventos",Valor:ye},{Métrica:"Eventos Publicados",Valor:Be},{Métrica:"Eventos Ocultos",Valor:xe},{Métrica:"Total Inscripciones (todos los eventos)",Valor:_e},{Métrica:"Eventos (categorÃa Evento)",Valor:Ye},{Métrica:"Formaciones (categorÃa Formación)",Valor:Fe},...Object.entries(st).map(([pt,Or])=>({Métrica:`Tipo: ${pt}`,Valor:Or})),{Métrica:"Fecha de Exportación",Valor:St(new Date,"dd/MM/yyyy HH:mm",{locale:er})}],at=WA.aoa_to_sheet([q,...Y]);at["!cols"]=[{wch:5},{wch:35},{wch:12},{wch:22},{wch:14},{wch:50},{wch:10},{wch:14},{wch:12},{wch:14},{wch:18},{wch:18},{wch:30},{wch:20},{wch:20},{wch:18},{wch:18},{wch:14},{wch:40},{wch:40},{wch:60},{wch:30}];const wt=WA.json_to_sheet(xt.map(pt=>({Métrica:vr(pt.Métrica),Valor:typeof pt.Valor=="number"?pt.Valor:vr(pt.Valor)})));wt["!cols"]=[{wch:40},{wch:20}];const Ht=WA.book_new();WA.book_append_sheet(Ht,at,"Eventos"),WA.book_append_sheet(Ht,wt,"Resumen");const Dr=`eventos_completo_${St(new Date,"yyyy-MM-dd")}.xlsx`;XR(Ht,Dr)},Bn=k=>{switch(k){case"company":return"Empresa";case"selfEmployed":return"Autónomo";case"visitor":return"Emprendedor/Visitante";case"delegacionGubernamental":return"Delegación Gubernamental";default:return"No especificado"}},z=k=>k===void 0?"No especificado":k?"SÃ":"No",se=Z.useCallback(k=>{if(!k)return!1;const q=new Date;q.setHours(0,0,0,0);const Y=k.endDate||(k.dates.length>0?k.dates[k.dates.length-1].date:null);return Y?new Date(Y)<q:!1},[]),ee=k=>{var q,Y,ye,Be,xe,_e;return l.jsx("div",{className:"p-6 bg-gray-50 border-t border-gray-100",children:l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:[l.jsxs("div",{className:"space-y-4",children:[l.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[l.jsx(lc,{className:"w-5 h-5 text-blue-600"}),l.jsx("h4",{className:"font-semibold text-gray-900",children:"Datos Personales"})]}),l.jsxs("div",{className:"space-y-2 text-sm",children:[l.jsxs("div",{children:[l.jsx("span",{className:"font-medium text-gray-600",children:"Nombre completo:"}),l.jsx("p",{className:"text-gray-900",children:k.name||`${k.firstName||""} ${k.lastName||""}`.trim()})]}),l.jsxs("div",{children:[l.jsx("span",{className:"font-medium text-gray-600",children:"Email:"}),l.jsx("p",{className:"text-gray-900 break-all",children:k.email})]}),l.jsxs("div",{children:[l.jsx("span",{className:"font-medium text-gray-600",children:"Teléfono:"}),l.jsx("p",{className:"text-gray-900",children:k.phone||"No disponible"})]}),l.jsxs("div",{children:[l.jsx("span",{className:"font-medium text-gray-600",children:"Documento:"}),l.jsx("p",{className:"text-gray-900",children:k.identificationNumber})]}),l.jsxs("div",{children:[l.jsx("span",{className:"font-medium text-gray-600",children:"Fecha de inscripción:"}),l.jsx("p",{className:"text-gray-900",children:St(new Date(k.createdAt),"dd/MM/yyyy HH:mm",{locale:er})})]}),l.jsxs("div",{children:[l.jsx("span",{className:"font-medium text-gray-600",children:"Estado:"}),l.jsx("span",{className:`inline-flex items-center px-2 py-1 rounded-full text-xs font-medium ml-2 ${k.active?"bg-green-100 text-green-800":"bg-red-100 text-red-800"}`,children:k.active?"Activo":"Inactivo"})]}),l.jsxs("div",{children:[l.jsx("span",{className:"font-medium text-gray-600",children:"Consentimiento de imágenes:"}),l.jsx("p",{className:`font-semibold ${k.imageConsentDeclined?"text-red-600":"text-gray-900"}`,children:k.imageConsentDeclined?"NO ACEPTA el uso de imágenes":k.imageConsentAccepted?"Acepta el uso de imágenes":"No especificado"})]}),l.jsxs("div",{children:[l.jsx("span",{className:"font-medium text-gray-600",children:"PolÃtica de privacidad:"}),l.jsx("p",{className:"text-gray-900",children:k.privacyPolicyAccepted||se(s)?"Aceptada":"No especificado"})]})]})]}),l.jsxs("div",{className:"space-y-4",children:[l.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[l.jsx(Bh,{className:"w-5 h-5 text-green-600"}),l.jsx("h4",{className:"font-semibold text-gray-900",children:"Datos de Empresa"})]}),l.jsxs("div",{className:"space-y-2 text-sm",children:[l.jsxs("div",{children:[l.jsx("span",{className:"font-medium text-gray-600",children:"Tipo de participante:"}),l.jsx("p",{className:"text-gray-900",children:Bn(k.type)})]}),l.jsxs("div",{children:[l.jsx("span",{className:"font-medium text-gray-600",children:"Empresa:"}),l.jsx("p",{className:"text-gray-900",children:k.company||"No dis
4422ponible"})]}),l.jsxs("div",{children:[l.jsx("span",{className:"font-medium text-gray-600",children:"Cargo:"}),l.jsx("p",{className:"text-gray-900",children:k.position||"No disponible"})]}),l.jsxs("div",{children:[l.jsx("span",{className:"font-medium text-gray-600",children:"Interesado en emprender:"}),l.jsx("p",{className:"text-gray-900",children:z(k.interestedInEntrepreneurship)})]}),l.jsxs("div",{children:[l.jsx("span",{className:"font-medium text-gray-600",children:"Tiene certificaciones:"}),l.jsx("p",{className:"text-gray-900",children:z(k.hasCertifications)})]}),l.jsxs("div",{children:[l.jsx("span",{className:"font-medium text-gray-600",children:"Actividad de la empresa:"}),l.jsx("p",{className:"text-gray-900",children:k.companyActivity||"No disponible"})]}),l.jsxs("div",{children:[l.jsx("span",{className:"font-medium text-gray-600",children:"Interesado en expansión:"}),l.jsx("p",{className:"text-gray-900",children:z(k.interestedInExpansion)})]})]})]}),l.jsxs("div",{className:"space-y-4",children:[l.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[l.jsx(wl,{className:"w-5 h-5 text-purple-600"}),l.jsx("h4",{className:"font-semibold text-gray-900",children:"Información Adicional"})]}),l.jsxs("div",{className:"space-y-2 text-sm",children:[k.digitalCertificateDeclaration!==void 0&&l.jsxs("div",{children:[l.jsx("span",{className:"font-medium text-gray-600",children:"Certificado digital:"}),l.jsx("p",{className:"text-gray-900",children:z(k.digitalCertificateDeclaration)})]}),k.socialReason&&l.jsxs(l.Fragment,{children:[l.jsxs("div",{children:[l.jsx("span",{className:"font-medium text-gray-600",children:"Razón social:"}),l.jsx("p",{className:"text-gray-900",children:k.socialReason})]}),l.jsxs("div",{children:[l.jsx("span",{className:"font-medium text-gray-600",children:"NIF:"}),l.jsx("p",{className:"text-gray-900",children:k.nif||"No disponible"})]}),l.jsxs("div",{children:[l.jsx("span",{className:"font-medium text-gray-600",children:"Municipio:"}),l.jsx("p",{className:"text-gray-900",children:k.fiscalAddressMunicipality||"No disponible"})]}),l.jsxs("div",{children:[l.jsx("span",{className:"font-medium text-gray-600",children:"Fecha inicio actividad:"}),l.jsx("p",{className:"text-gray-900",children:k.activityStartDate?St(new Date(k.activityStartDate),"dd/MM/yyyy",{locale:er}):"No disponible"})]}),l.jsxs("div",{children:[l.jsx("span",{className:"font-medium text-gray-600",children:"Persona de contacto:"}),l.jsx("p",{className:"text-gray-900",children:k.contactPersonName||"No disponible"})]}),l.jsxs("div",{children:[l.jsx("span",{className:"font-medium text-gray-600",children:"Cargo de contacto:"}),l.jsx("p",{className:"text-gray-900",children:k.contactPersonPosition||"No disponible"})]}),k.website&&l.jsxs("div",{children:[l.jsx("span",{className:"font-medium text-gray-600",children:"Sitio web:"}),l.jsxs("a",{href:k.website,target:"_blank",rel:"noopener noreferrer",className:"text-blue-600 hover:text-blue-800 flex items-center gap-1 mt-1",children:[k.website,l.jsx(gn,{className:"w-3 h-3"})]})]}),k.activitySector&&l.jsxs("div",{children:[l.jsx("span",{className:"font-medium text-gray-600",children:"Sector de actividad:"}),l.jsx("p",{className:"text-gray-900",children:k.activitySector})]})]})]})]}),k.generatedPdfUrl&&l.jsxs("div",{className:"space-y-3 md:col-span-2 lg:col-span-3",children:[l.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[l.jsx(wl,{className:"w-5 h-5 text-[#1e3a5f]"}),l.jsx("h4",{className:"font-semibold text-gray-900",children:"Ficha Acelera Pyme"}),l.jsxs("span",{className:"ml-2 inline-flex items-center gap-1 px-2 py-0.5 rounded-full text-xs font-medium bg-green-100 text-green-800",children:[l.jsx(ca,{className:"w-3 h-3"}),"Firmada digitalmente"]})]}),l.jsxs("div",{className:"bg-green-50 border border-green-200 rounded-xl p-4 flex items-center justify-between gap-4",children:[l.jsxs("div",{children:[l.jsx("p",{className:"text-sm font-medium text-green-800",children:"Ficha FICHA EMPRESA ACELERA PYME"}),l.jsxs("p",{className:"text-xs text-green-600 mt-0.5",children:["Autocompletada y firmada digitalmente por ",(q=k.signatureData)==null?void 0:q.signerFirstName," ",(Y=k.signatureData)==null?void 0:Y.signerLastName,(ye=k.signatureData)!=null&&ye.signedAtDate?` · ${k.signatureData.signedAtDate}`:""]})]}),l.jsxs("button",{onClick:()=>Tr(k),disabled:R===k.id,className:"flex-shrink-0 flex items-center gap-2 px-4 py-2 bg-[#1e3a5f] text-white text-sm font-medium rounded-lg hover:bg-[#16304f] disabled:opacity-50 disabled:cursor-not-allowed transition-colors",children:[R===k.id?l.jsx("div",{className:"w-4 h-4 border-2 border-white border-t-transparent roun
4422ded-full animate-spin"}):l.jsx(Xa,{className:"w-4 h-4"}),R===k.id?"Descargando...":"Descargar ficha firmada"]})]})]}),(k.documents||k.signedRegistrationFormUrl||k.activityStartDateDocumentUrl)&&l.jsxs("div",{className:"space-y-4 md:col-span-2 lg:col-span-3",children:[l.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[l.jsx(wl,{className:"w-5 h-5 text-orange-600"}),l.jsx("h4",{className:"font-semibold text-gray-900",children:"Documentos Adjuntos"})]}),l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-3",children:[k.signedRegistrationFormUrl&&l.jsxs("div",{className:"flex flex-col gap-2 p-3 bg-white rounded-lg border",children:[l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx(Xa,{className:"w-4 h-4 text-blue-600 flex-shrink-0"}),l.jsx("a",{href:k.signedRegistrationFormUrl,target:"_blank",rel:"noopener noreferrer",className:"text-blue-600 hover:text-blue-800 text-sm font-medium",children:"Ficha de inscripción (original)"})]}),k.signatureData&&l.jsxs("button",{onClick:()=>Gt(k),disabled:F===k.id,className:"flex items-center gap-2 text-sm font-medium text-green-700 hover:text-green-900 disabled:opacity-50 disabled:cursor-not-allowed transition-colors",children:[F===k.id?l.jsx("div",{className:"w-4 h-4 border-2 border-green-600 border-t-transparent rounded-full animate-spin flex-shrink-0"}):l.jsx(Xa,{className:"w-4 h-4 flex-shrink-0"}),F===k.id?"Generando PDF...":"Descargar con firma digital"]})]}),k.activityStartDateDocumentUrl&&l.jsxs("div",{className:"flex items-center gap-2 p-3 bg-white rounded-lg border",children:[l.jsx(Xa,{className:"w-4 h-4 text-blue-600"}),l.jsx("a",{href:k.activityStartDateDocumentUrl,target:"_blank",rel:"noopener noreferrer",className:"text-blue-600 hover:text-blue-800 text-sm font-medium",children:"Documento fecha de alta"})]}),((Be=k.documents)==null?void 0:Be.modelo036037Autonomo)&&l.jsxs("div",{className:"flex items-center gap-2 p-3 bg-white rounded-lg border",children:[l.jsx(Xa,{className:"w-4 h-4 text-blue-600 flex-shrink-0"}),l.jsx("a",{href:k.documents.modelo036037Autonomo,target:"_blank",rel:"noopener noreferrer",className:"text-blue-600 hover:text-blue-800 text-sm font-medium",children:"Modelo 036/037 AEAT"})]}),((xe=k.documents)==null?void 0:xe.resolucionAltaReta)&&l.jsxs("div",{className:"flex items-center gap-2 p-3 bg-white rounded-lg border",children:[l.jsx(Xa,{className:"w-4 h-4 text-blue-600 flex-shrink-0"}),l.jsx("a",{href:k.documents.resolucionAltaReta,target:"_blank",rel:"noopener noreferrer",className:"text-blue-600 hover:text-blue-800 text-sm font-medium",children:"Resolución Alta RETA"})]}),((_e=k.documents)==null?void 0:_e.dniNieEmprendedor)&&l.jsxs("div",{className:"flex items-center gap-2 p-3 bg-white rounded-lg border",children:[l.jsx(Xa,{className:"w-4 h-4 text-blue-600 flex-shrink-0"}),l.jsx("a",{href:k.documents.dniNieEmprendedor,target:"_blank",rel:"noopener noreferrer",className:"text-blue-600 hover:text-blue-800 text-sm font-medium",children:"DNI / NIE"})]}),k.documents&&Object.entries(k.documents).map(([Fe,Ye])=>["modelo036037Autonomo","resolucionAltaReta","dniNieEmprendedor"].includes(Fe)?null:Ye?l.jsxs("div",{className:"flex items-center gap-2 p-3 bg-white rounded-lg border",children:[l.jsx(Xa,{className:"w-4 h-4 text-blue-600"}),l.jsx("a",{href:Ye,target:"_blank",rel:"noopener noreferrer",className:"text-blue-600 hover:text-blue-800 text-sm font-medium",children:Fe.replace(/([A-Z])/g," $1").toLowerCase().replace(/^./,st=>st.toUpperCase())})]},Fe):null)]})]}),k.signatureData&&l.jsxs("div",{className:"space-y-4 md:col-span-2 lg:col-span-3",children:[l.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[l.jsx(wl,{className:"w-5 h-5 text-[#1e3a5f]"}),l.jsx("h4",{className:"font-semibold text-gray-900",children:"Firma Digital"})]}),l.jsxs("div",{className:"bg-gray-50 border border-gray-200 rounded-xl p-4",children:[l.jsxs("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-3 mb-4",children:[l.jsxs("div",{className:"p-3 bg-white rounded-lg border border-gray-200",children:[l.jsx("p",{className:"text-xs text-gray-500 mb-1",children:"Firmante"}),l.jsxs("p",{className:"text-sm font-medium text-gray-900",children:[k.signatureData.signerFirstName," ",k.signatureData.signerLastName]})]}),l.jsxs("div",{className:"p-3 bg-white rounded-lg border border-gray-200",children:[l.jsx("p",{className:"text-xs text-gray-500 mb-1",children:"DNI / NIE / CIF"}),l.jsx("p",{className:"text-sm font-medium text-gray-900",children:k.signatureData.signerIdNumber})]}),l.jsxs("div",{className:"p-3 bg-white rounded-lg border border-gray-200",children:[l.jsx("p",{className:"text-xs text-gray-500 mb-1",children:"Fecha de firma"}),l.jsx("p",{className:"text-sm font-medium text-gray-900",children:k.signatureData.signedAtDate})]}),l.jsxs("div",{className:"p-3 bg-white rounded-lg border border-gray-200",children:[l.jsx("p",{className:"text-xs text-gray-500 mb-1",children:"Hora de firma"}),l.jsx("p",{className:"text-sm font-medium text-gray-900",children:k.signatureData.signedAtTime})]})]}),k.signatureData.signatureImageUrl&&l.jsxs("div",{className:"space-y-2",children:[l.jsx("p",{className:"text-xs font-medium text-gray-600",children:"Imagen de la Firma:"}),l.jsx("div",{className:"border border-gray-200 rounded-lg overflow-hidden bg-white inline-block",children:l.jsx("img",{src:k.signatureData.signatureImageUrl,alt:"Firma del participante",className:"max-w-xs max-h-24 object-contain"})})]})]})]}),(k.activityDescription||k.additionalInfo)&&l.jsxs("div",{className:"space-y-4 md:col-span-2 lg:col-span-3",children:[l.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[l.jsx(_s,{className:"w-5 h-5 text-indigo-600"}),l.jsx("h4",{className:"font-semibold text-gray-900",children:"Descripción de Actividad"})]}),l.jsxs("div",{className:"space-y-3",children:[k.activityDescription&&l.jsxs("div",{children:[l.jsx("span",{className:"font-medium text-gray-600",children:"Descripción de actividad:"}),l.jsx("p",{className:"text-gray-900 mt-1 p-3 bg-white rounded-lg border",children:k.activityDescription})]}),k.additionalInfo&&l.jsxs("div",{children:[l.jsx("span",{className:"font-medium text-gray-600",children:"Información adicional:"}),l.jsx("p",{className:"text-gray-900 mt-1 p-3 bg-white rounded-lg border",children:k.additionalInfo})]})]})]})]})})};return f?l.jsx("div",{className:"flex justify-center items-center min-h-[400px]",children:l.jsx("div",{className:"animate-spin rounded-full h-12 w-12 border-b-2 border-[#CF163D]"})}):l.jsxs("div",{className:"space-y-8",children:[l.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4",children:[l.jsxs("div",{children:[l.jsx("h1",{className:"text-3xl font-bold text-[#CF163D]",children:"Panel de Administración"}),l.jsx("p",{className:"mt-2 text-gray-600",children:"Gestiona eventos e inscripciones"})]}),l.jsxs("div",{className:"flex flex-wrap gap-3",children:[l.jsxs("button",{onClick:Un,className:"inline-flex items-center gap-2 bg-emerald-600 text-white px-4 py-2 rounded-md hover:bg-emerald-700 transition duration-200 shadow-sm",title:"Exportar todos los eventos a Excel con todos los detalles",children:[l.jsx(wse,{className:"w-5 h-5"}),"Exportar Eventos"]}),l.jsxs("button",{onClick:()=>Qe(!0),className:"inline-flex items-center gap-2 bg-green-600 text-white px-4 py-2 rounded-md hover:bg-green-700 transition duration-200",children:[l.jsx(Jr,{className:"w-5 h-5"}),"Reservar"]}),l.jsxs(Jl,{to:"/admin/eventos/nuevo",className:"inline-flex items-center gap-2 bg-primary text-white px-4 py-2 rounded-md hover:bg-primary-dark transition duration-200",children:[l.jsx(mS,{className:"w-5 h-5"}),"Nuevo Evento"]})]})]}),l.jsx("div",{className:"bg-white rounded-lg shadow-md overflow-hidden",children:l.jsxs("div",{className:"flex border-b border-gray-200",children:[l.jsx("button",{onClick:()=>We("events"),className:`flex-1 px-6 py-4 text-sm font-medium transition-colors ${Ee==="events"?"text-primary border-b-2 border-primary bg-blue-50":"text-gray-600 hover:text-gray-900 hover:bg-gray-50"}`,children:l.jsxs("span",{className:"flex items-center justify-center gap-2",children:[l.jsx(Jr,{className:"w-5 h-5"}),"Eventos e Inscripciones"]})}),l.jsx("button",{onClick:()=>We("diagnostics"),className:`flex-1 px-6 py-4 text-sm font-medium transition-colors ${Ee==="diagnostics"?"text-primary border-b-2 border-primary bg-blue-50":"text-gray-600 hover:text-gray-900 hover:bg-gray-50"}`,children:l.jsxs("span",{className:"flex items-center justify-center gap-2",children:[l.jsx(rs,{className:"w-5 h-5"}),"Diagnóstico de Datos"]})})]})}),Ee==="events"&&l.jsxs(l.Fragment,{children:[l.jsx("div",{className:"bg-amber-50 border-l-4 border-amber-500 p-4 rounded-lg shadow-sm",children:l.jsxs("div",{className:"flex items-start gap-3",children:[l.jsx(rs,{className:"w-6 h-6 text-amber-600 flex-shrink-0 mt-0.5"}),l.jsxs("div",{children:[l.jsx("h3",{className:"text-lg font-semibold text-amber-900 mb
4422-1",children:"Importante"}),l.jsx("p",{className:"text-amber-800",children:"Antes de crear un evento, comprueben en el calendario que la fecha está disponible."})]})]})}),l.jsxs("div",{className:"bg-white p-6 rounded-lg shadow-md",children:[l.jsxs("div",{className:"flex items-center justify-between mb-6",children:[l.jsxs("h2",{className:"text-xl font-semibold text-gray-900 flex items-center gap-2",children:[l.jsx(Jr,{className:"w-6 h-6 text-primary"}),"Eventos"]}),l.jsxs("button",{onClick:Ie,className:"inline-flex items-center gap-2 px-4 py-2 bg-primary text-white rounded-md hover:bg-primary-dark transition duration-200",children:[l.jsx(Jr,{className:"w-5 h-5"}),"Ver Calendario"]})]}),l.jsxs("div",{className:"mb-6 space-y-4",children:[l.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[l.jsxs("div",{className:"relative flex-1",children:[l.jsx(vS,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-5 h-5 text-gray-400"}),l.jsx("input",{type:"text",placeholder:"Buscar eventos por tÃtulo o categorÃa...",value:P,onChange:k=>L(k.target.value),className:"w-full pl-10 pr-4 py-2 border border-gray-300 rounded-md focus:ring-2 focus:ring-primary focus:border-transparent"})]}),l.jsxs("div",{className:"relative",children:[l.jsx(pS,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-5 h-5 text-gray-400"}),l.jsxs("select",{value:K,onChange:k=>le(k.target.value),className:"pl-10 pr-4 py-2 border border-gray-300 rounded-md focus:ring-2 focus:ring-primary focus:border-transparent bg-white appearance-none min-w-[140px]",children:[l.jsx("option",{value:"all",children:"Todos"}),l.jsx("option",{value:"published",children:"Publicados"}),l.jsx("option",{value:"unpublished",children:"Ocultos"})]})]}),l.jsxs("div",{className:"relative",children:[l.jsx(Jr,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-5 h-5 text-gray-400"}),l.jsxs("select",{value:ne,onChange:k=>fe(k.target.value),className:"pl-10 pr-4 py-2 border border-gray-300 rounded-md focus:ring-2 focus:ring-primary focus:border-transparent bg-white appearance-none min-w-[160px]",children:[l.jsx("option",{value:"",children:"Todos los meses"}),Se.map(k=>{const[q,Y]=k.split("-"),ye=new Date(parseInt(q),parseInt(Y)-1),Be=i.some(xe=>xe.dates.length===0?!1:zg(Gr(xe.dates[0].date),ye));return l.jsxs("option",{value:k,children:[St(ye,"MMMM yyyy",{locale:er}),Be?" (â)":""]},k)})]})]}),l.jsxs("div",{className:"relative",children:[l.jsx(hse,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-5 h-5 text-gray-400"}),l.jsxs("select",{value:te,onChange:k=>he(k.target.value),className:"pl-10 pr-4 py-2 border border-gray-300 rounded-md focus:ring-2 focus:ring-primary focus:border-transparent bg-white appearance-none min-w-[160px]",children:[l.jsx("option",{value:"closest",children:"Más cercana a hoy"}),l.jsx("option",{value:"newest",children:"Más reciente primero"}),l.jsx("option",{value:"oldest",children:"Más antigua primero"})]})]})]}),(P||K!=="all"||ne||te!=="closest")&&l.jsxs("div",{className:"text-sm text-gray-600 bg-gray-50 px-4 py-2 rounded-md",children:["Mostrando ",Ve.length," de ",i.length," eventos",P&&` ⢠Búsqueda: "${P}"`,K!=="all"&&` ⢠Estado: ${K==="published"?"Publicados":"Ocultos"}`,ne&&` ⢠Mes: ${St(new Date(parseInt(ne.split("-")[0]),parseInt(ne.split("-")[1])-1),"MMMM yyyy",{locale:er})}`,te!=="closest"&&` ⢠Orden: ${te==="newest"?"Más reciente primero":"Más antigua primero"}`,(P||K!=="all"||ne||te!=="closest")&&l.jsx("button",{onClick:()=>{L(""),le("all"),fe(""),he("closest")},className:"ml-2 text-primary hover:text-primary-dark font-medium",children:"Limpiar filtros"})]})]}),i.length===0?l.jsxs("div",{className:"text-center py-8",children:[l.jsx(Jr,{className:"w-16 h-16 text-gray-400 mx-auto mb-4"}),l.jsx("p",{className:"text-lg text-gray-600",children:"No hay eventos creados"}),l.jsx("p",{className:"text-gray-500",children:"Crea tu primer evento para comenzar"})]}):Ve.length===0?l.jsxs("div",{className:"text-center py-8",children:[l.jsx(vS,{className:"w-16 h-16 text-gray-400 mx-auto mb-4"}),l.jsx("p",{className:"text-lg text-gray-600",children:"No se encontraron eventos"}),l.jsx("p",{className:"text-gray-500",children:"Intenta con otros criterios de búsqueda"})]}):l.jsx("div",{className:"overflow-x-auto",children:l.jsxs("table",{className:"w-full",children:[l.jsx("thead",{children:l.jsxs("tr",{className:"bg-gray-50",children:[l.jsx("th",{className:"px-4 py-3 text-left text-xs font-semibold text-gray-600 uppercase tracking-wider",children:"TÃtulo"}),l.jsx("th",{className:"px-4 py-3 text-left text-xs font-semibold text-gray-600 uppercase tracking-wider",children:"Fecha"}),l.jsx("th",{className:"px-4 py-3 text-left text-xs font-semibold text-gray-600 uppercase tracking-wider",children:"CategorÃa"}),l.jsx("th",{className:"px-4 py-3 text-left text-xs font-semibold text-gray-600 uppercase tracking-wider",children:"Inscripciones"}),l.jsx("th",{className:"px-4 py-3 text-left text-xs font-semibold text-gray-600 uppercase tracking-wider",children:"Estado"}),l.jsx("th",{className:"px-4 py-3 text-left text-xs font-semibold text-gray-600 uppercase tracking-wider",children:"Acciones"})]})}),l.jsx("tbody",{className:"divide-y divide-gray-200",children:Ve.map(k=>l.jsxs("tr",{className:"hover:bg-gray-50 transition-colors duration-150",children:[l.jsx("td",{className:"px-4 py-3 text-sm text-gray-800 font-medium",children:l.jsxs("div",{className:"flex items-center gap-2 flex-wrap",children:[k.title,ko(k.id)&&l.jsx("span",{className:"inline-flex items-center px-1.5 py-0.5 rounded text-xs font-medium bg-amber-100 text-amber-800 border border-amber-200 whitespace-nowrap",children:"Supabase"}),k.forceRegistrationOpen&&l.jsx("span",{className:"inline-flex items-center px-1.5 py-0.5 rounded text-xs font-medium bg-orange-100 text-orange-800 border border-orange-200 whitespace-nowrap",children:"Inscripciones forzadas"})]})}),l.jsx("td",{className:"px-4 py-3 text-sm text-gray-600",children:k.dates.length>0&&St(new Date(k.dates[0].date),"dd/MM/yyyy",{locale:er})}),l.jsx("td",{className:"px-4 py-3",children:l.jsx("span",{className:`inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium ${k.category==="Evento"?"bg-blue-100 text-blue-800":"bg-green-100 text-green-800"}`,children:k.category==="Evento"?"Evento":"Formación"})}),l.jsx("td",{className:"px-4 py-3 text-sm text-gray-600",children:l.jsxs("button",{onClick:()=>Tt(k.id),className:"flex items-center gap-1 hover:text-primary transition-colors duration-200 hover:bg-primary/5 px-2 py-1 rounded-md",title:"Ver inscripciones de este evento",children:[l.jsx(bl,{className:"w-4 h-4"}),l.jsx("span",{className:"font-medium",children:k.registrationCount||0}),k.registrationLimit&&l.jsxs("span",{className:"text-gray-400",children:["/ ",k.registrationLimit]})]})}),l.jsx("td",{className:"px-4 py-3",children:l.jsx("div",{className:"flex items-center gap-1 text-sm",children:k.published!==!1?l.jsxs(l.Fragment,{children:[l.jsx(fS,{className:"w-4 h-4 text-green-600"}),l.jsx("span",{className:"text-green-600 font-medium",children:"Publicado"})]}):l.jsxs(l.Fragment,{children:[l.jsx(E6,{className:"w-4 h-4 text-gray-500"}),l.jsx("span",{className:"text-gray-500 font-medium",children:"Oculto"})]})})}),l.jsx("td",{className:"px-4 py-3",children:l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx("button",{onClick:()=>Oe(k.id),className:"p-2 text-gray-600 hover:bg-gray-100 rounded-lg transition-colors duration-200",title:k.published!==!1?"Ocultar evento":"Publicar evento",children:k.published!==!1?l.jsx(fS,{className:"w-4 h-4 text-green-600"}):l.jsx(E6,{className:"w-4 h-4 text-gray-500"})}),l.jsx(Jl,{to:`/admin/eventos/${k.id}`,className:"p-2 text-blue-600 hover:bg-blue-100 rounded-lg transition-colors duration-200",title:"Editar evento",children:l.jsx(GQ,{className:"w-4 h-4"})}),l.jsx("button",{onClick:()=>Re(k.id),className:"p-2 text-red-600 hover:bg-red-100 rounded-lg transition-colors duration-200",title:"Eliminar evento",children:l.jsx(Nh,{className:"w-4 h-4"})})]})})]},k.id))})]})})]}),l.jsxs("div",{ref:n,className:"bg-white p-6 rounded-lg shadow-md",children:[l.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4 mb-6",children:[l.jsxs("h2",{className:"text-xl font-semibold text-gray-900 flex items-center gap-2",children:[l.jsx(bl,{className:"w-6 h-6 text-primary"}),"Inscripciones"]}),l.jsxs("div",{className:"flex items-center gap-3",children:[l.jsxs("select",{value:c,onChange:k=>vt(k.target.value),className:"px-3 py-2 border border-gray-300 rounded-md focus:ring-2 focus:ring-primary focus:border-transparent text-sm",children:[l.jsx("option",{value:"",children:"Seleccionar evento"}),i.map(k=>l.jsxs("option",{value:k.id,children:[k.title," (",k.registrationCount||0," inscripciones)"]},k.id))]}),c&&u.length>0&&l.jsxs(l.Fragment,{children:[l.jsxs("button",{onClick:Mt,className:"inline-flex items-center gap-2 px-3 py-2 bg-green-600 text-white text-sm rounded-md hover:bg-green-700 transition duration-200",children:[l.jsx(Xa,{className:"w-4 h-4"}),"Excel"]}),l.jsxs("button",{onClick:Ps,className:"inline-flex items-center gap-2 px-3 py-2 bg-blue-600 text-white text-sm rounded-md hover:bg-blue-700 transition duration-200",title:"Imprimir credenciales de todos los inscritos",children:[l.jsx(gS,{className:"w-4 h-4"}),"Todas las Credenciales (",u.length,")"]}),rt(c)&&u.some(k=>k.generatedPdfUrl)&&l.jsx("button",{onClick:ti,disabled:J,className:"inline-flex items-center gap-2 px-3 py-2 bg-amber-600 text-white text-sm rounded-md hover:bg-amber-700 transition duration-200 disabled:opacity-60 disabled:cursor-not-allowed",title:"Descargar todas las fichas firmadas en un ZIP",children:J?l.jsxs(l.Fragment,{children:[l.jsx("div",{className:"w-4 h-4 border-2 border-white border-t-transparent roun
4422ded-full animate-spin"}),"Generando ZIP..."]}):l.jsxs(l.Fragment,{children:[l.jsx(dse,{className:"w-4 h-4"}),"Fichas ZIP (",u.filter(k=>k.generatedPdfUrl).length,")"]})}),I.size>0&&l.jsxs("button",{onClick:Ma,className:"inline-flex items-center gap-2 px-3 py-2 bg-purple-600 text-white text-sm rounded-md hover:bg-purple-700 transition duration-200",children:[l.jsx(B6,{className:"w-4 h-4"}),"Credenciales (",I.size,")"]})]})]})]}),de&&l.jsx("div",{className:"mb-4 px-4 py-2 rounded-md bg-amber-50 border border-amber-200 text-amber-800 text-sm",children:de}),m?l.jsx("div",{className:"flex justify-center items-center py-12",children:l.jsx("div",{className:"animate-spin rounded-full h-8 w-8 border-b-2 border-[#CF163D]"})}):c&&u.length===0?l.jsxs("div",{className:"text-center py-12",children:[l.jsx(bl,{className:"w-16 h-16 text-gray-400 mx-auto mb-4"}),l.jsx("p",{className:"text-lg text-gray-600",children:"No hay inscripciones para este evento"})]}):c?l.jsx("div",{className:"overflow-x-auto",children:l.jsxs("table",{className:"w-full",children:[l.jsx("thead",{children:l.jsxs("tr",{className:"bg-gray-50",children:[l.jsx("th",{className:"px-2 py-2 text-left w-8",children:l.jsx("input",{type:"checkbox",checked:I.size===u.length&&u.length>0,onChange:fn,className:"rounded text-primary focus:ring-primary"})}),l.jsx("th",{className:"px-2 py-2 text-left text-xs font-semibold text-gray-600 uppercase tracking-wider w-12",children:l.jsx("button",{className:"flex items-center gap-1",children:"Detalles"})}),l.jsx("th",{className:"px-2 py-2 text-left text-xs font-semibold text-gray-600 uppercase tracking-wider w-16",children:"Nº"}),l.jsx("th",{className:"px-2 py-2 text-left text-xs font-semibold text-gray-600 uppercase tracking-wider",children:"Nombre"}),l.jsx("th",{className:"px-2 py-2 text-left text-xs font-semibold text-gray-600 uppercase tracking-wider",children:"Actividad Principal"}),l.jsx("th",{className:"px-2 py-2 text-left text-xs font-semibold text-gray-600 uppercase tracking-wider w-32",children:"Tipo"}),l.jsx("th",{className:"px-2 py-2 text-left text-xs font-semibold text-gray-600 uppercase tracking-wider w-24",children:"Estado"}),l.jsx("th",{className:"px-2 py-2 text-right text-xs font-semibold text-gray-600 uppercase tracking-wider w-40",children:"Acciones"})]})}),l.jsx("tbody",{className:"divide-y divide-gray-200",children:u.map(k=>l.jsxs(hr.Fragment,{children:[l.jsxs("tr",{className:`hover:bg-gray-50 transition-colors duration-150 ${k.imageConsentDeclined?"bg-red-50 border-l-4 border-red-500":""}`,children:[l.jsx("td",{className:"px-2 py-2",children:l.jsx("input",{type:"checkbox",checked:I.has(k.id),onChange:()=>co(k.id),className:"rounded text-primary focus:ring-primary"})}),l.jsx("td",{className:"px-2 py-2",children:l.jsx("button",{onClick:()=>Kn(k.id),className:"p-1 text-gray-500 hover:text-gray-700 transition-colors duration-200",children:x===k.id?l.jsx(qv,{className:"w-4 h-4"}):l.jsx(jp,{className:"w-4 h-4"})})}),l.jsxs("td",{className:"px-2 py-2 text-xs font-medium text-gray-900",children:["#",k.registrationNumber]}),l.jsxs("td",{className:"px-2 py-2 text-sm text-gray-800 font-medium",children:[k.name||`${k.firstName||""} ${k.lastName||""}`.trim(),k.imageConsentDeclined&&l.jsxs("span",{className:"ml-2 inline-flex items-center gap-1 px-2 py-0.5 rounded-full text-xs font-bold bg-red-600 text-white",children:[l.jsx(rs,{className:"w-3 h-3"}),"NO ACEPTA USO DE IMÃGENES"]})]}),l.jsx("td",{className:"px-2 py-2 text-sm text-gray-600",children:k.companyActivity||l.jsx("span",{className:"text-gray-400 italic text-xs",children:"â"})}),l.jsx("td",{className:"px-2 py-2 text-sm text-gray-600",children:_===k.id?l.jsxs("div",{className:"flex items-center gap-1",children:[l.jsxs("select",{value:j,onChange:Kr,className:"px-1.5 py-0.5 border border-gray-300 rounded text-xs focus:ring-2 focus:ring-primary focus:border-transparent",children:[l.jsx("option",{value:"company",children:"Empresa"}),l.jsx("option",{value:"selfEmployed",children:"Autónomo"}),l.jsx("option",{value:"visitor",children:"Emprendedor/Visitante"}),l.jsx("option",{value:"delegacionGubernamental",children:"Delegación Gubernamental"})]}),l.jsx("button",{onClick:()=>Dt(k.id),className:"p-0.5 text-green-600 hover:bg-green-100 rounded transition-colors duration-200",title:"Guardar cambios",children:l.jsx(Fo,{className:"w-3 h-3"})}),l.jsx("button",{onClick:yr,className:"p-0.5 text-gray-600 hover:bg-gray-100 rounded transition-colors duration-200",title:"Cancelar",children:l.jsx(vi,{className:"w-3 h-3"})})]}):l.jsxs("div",{className:"flex items-center gap-1",children:[l.jsx("span",{className:`inline-flex items-center px-2 py-0.5 rounded-full text-xs font-medium ${k.type==="company"?"bg-blue-100 text-blue-800":k.type==="selfEmployed"?"bg-green-100 text-green-800":k.type==="visitor"?"bg-purple-100 text-purple-800":"bg-gray-100 text-gray-800"}`,children:k.type==="company"?l.jsxs(l.Fragment,{children:[l.jsx(Bh,{className:"w-3 h-3 mr-0.5"}),"Empresa"]}):k.type==="selfEmployed"?l.jsxs(l.Fragment,{children:[l.jsx(lc,{className:"w-3 h-3 mr-0.5"}),"Autónomo"]}):k.type==="visitor"?l.jsxs(l.Fragment,{children:[l.jsx(_s,{className:"w-3 h-3 mr-0.5"}),"Emprendedor/Visitante"]}):k.type==="delegacionGubernamental"?l.jsxs(l.Fragment,{children:[l.jsx(_s,{className:"w-3 h-3 mr-0.5"}),"Delegación Gubernamental"]}):l.jsxs(l.Fragment,{children:[l.jsx(lc,{className:"w-3 h-3 mr-0.5"}),"No especificado"]}
4422)}),l.jsx("button",{onClick:()=>gt(k),className:"p-0.5 text-gray-400 hover:text-primary hover:bg-gray-100 rounded transition-colors duration-200",title:"Editar tipo",children:l.jsx(Pse,{className:"w-3 h-3"})})]})}),l.jsx("td",{className:"px-2 py-2",children:l.jsx("span",{className:`inline-flex items-center px-2 py-0.5 rounded-full text-xs font-medium ${k.active?"bg-green-100 text-green-800":"bg-red-100 text-red-800"}`,children:k.active?l.jsxs(l.Fragment,{children:[l.jsx(ca,{className:"w-3 h-3 mr-0.5"}),"Activo"]}):l.jsxs(l.Fragment,{children:[l.jsx(mb,{className:"w-3 h-3 mr-0.5"}),"Inactivo"]})})}),l.jsx("td",{className:"px-2 py-2",children:l.jsxs("div",{className:"flex items-center justify-end gap-1 relative",children:[l.jsx("button",{onClick:()=>Xr(k),disabled:ce===k.id,className:"p-1.5 text-blue-600 hover:bg-blue-100 rounded transition-colors duration-200 disabled:opacity-50",title:"Descargar PDF",children:ce===k.id?l.jsx("div",{className:"w-3.5 h-3.5 border-2 border-blue-600 border-t-transparent rounded-full animate-spin"}):l.jsx(yse,{className:"w-3.5 h-3.5"})}),l.jsx("button",{onClick:()=>As(k),className:`p-1.5 rounded transition-colors duration-200 ${k.customCredentialData?"text-amber-600 hover:bg-amber-100":"text-gray-600 hover:bg-gray-100"}`,title:"Personalizar credencial",children:l.jsx(KQ,{className:"w-3.5 h-3.5"})}),l.jsx("button",{onClick:()=>dr(k),className:"p-1.5 text-purple-600 hover:bg-purple-100 rounded transition-colors duration-200",title:"Generar credencial",children:l.jsx(B6,{className:"w-3.5 h-3.5"})}),l.jsxs("div",{className:"relative action-menu-container",children:[l.jsx("button",{onClick:()=>dt(Ke===k.id?null:k.id),className:"p-1.5 text-gray-600 hover:bg-gray-100 rounded transition-colors duration-200",title:"Más acciones",children:l.jsx(Ise,{className:"w-3.5 h-3.5"})}),Ke===k.id&&l.jsxs("div",{className:"absolute right-0 top-full mt-1 bg-white rounded-lg shadow-lg border border-gray-200 py-1 z-10 min-w-[160px]",children:[l.jsx("button",{onClick:()=>{Ft(k),dt(null)},className:"w-full px-3 py-2 text-left text-sm hover:bg-gray-50 flex items-center gap-2",children:k.active?l.jsxs(l.Fragment,{children:[l.jsx(rs,{className:"w-4 h-4 text-orange-600"}),l.jsx("span",{children:"Desactivar"})]}):l.jsxs(l.Fragment,{children:[l.jsx(ca,{className:"w-4 h-4 text-green-600"}),l.jsx("span",{children:"Activar"})]})}),l.jsxs("button",{onClick:()=>{Ue(k.id),dt(null)},className:"w-full px-3 py-2 text-left text-sm hover:bg-gray-50 flex items-center gap-2 text-red-600",children:[l.jsx(Nh,{className:"w-4 h-4"}),l.jsx("span",{children:"Eliminar"})]})]})]})]})})]}),x===k.id&&l.jsx("tr",{children:l.jsx("td",{colSpan:7,className:"p-0",children:ee(k)})})]},k.id))})]})}):l.jsxs("div",{className:"text-center py-12",children:[l.jsx(bl,{className:"w-16 h-16 text-gray-400 mx-auto mb-4"}),l.jsx("p",{className:"text-lg text-gray-600",children:"Selecciona un evento para ver las inscripciones"})]})]}),l.jsx("div",{ref:Me,children:l.jsx(jNe,{})})]}),Ee==="diagnostics"&&l.jsx(zNe,{}),y&&E&&s&&l.jsx(mW,{event:s,registration:E,onClose:()=>{b(!1),S(null)},isAdmin:!0}),be&&l.jsx(TNe,{onClose:()=>Qe(!1),onSuccess:()=>{Qe(!1)}}),Xe&&De&&s&&l.jsx(kNe,{event:s,registration:De,onClose:()=>{ot(!1),oe(null)},onSave:us})]})};function WNe(t){let e=t.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,"").replace(/<style\b[^<]*(?:(?!<\/style>)<[^<]*)*<\/style>/gi,"").replace(/<img[^>]+>/gi,"");return e=e.replace(/<\/?(div|span|section|article|header|footer|nav|figure|figcaption|blockquote|pre|code|table|thead|tbody|tfoot|tr|th|td|colgroup|col|caption)[^>]*>/gi,""),e=e.replace(/<(h[1-6])([^>]*)>([\s\S]*?)<\/\1>/gi,(r,n,i,a)=>`<p style="margin:0 0 16px 0;mso-margin-top-alt:0;mso-margin-bottom-alt:16px;font-family:Arial,sans-serif;font-size:${{h1:"26px",h2:"22px",h3:"19px",h4:"17px",h5:"15px",h6:"14px"}[n.toLowerCase()]||"18px"};font-weight:bold;color:#1a1a1a;line-height:1.3;">${a.trim()}</p>`),e=e.replace(/<ul([^>]*)>([\s\S]*?)<\/ul>/gi,(r,n,i)=>`<table border="0" cellpadding="0" cellspacing="0" width="100%" style="mso-table-lspace:0pt;mso-table-rspace:0pt;"><tr><td style="padding:0 0 18px 0;font-family:Arial,sans-serif;font-size:15px;color:#3d3d3d;">${i}</td></tr></table>`),e=e.replace(/<ol([^>]*)>([\s\S]*?)<\/ol>/gi,(r,n,i)=>`<table border="0" cellpadding="0" cellspacing="0" width="100%" style="mso-table-lspace:0pt;mso-table-rspace:0pt;"><tr><td style="padding:0 0 18px 0;font-family:Arial,sans-serif;font-size:15px;color:#3d3d3d;">${i}</td></tr></table>`),e=e.replace(/<li([^>]*)>([\s\S]*?)<\/li>/gi,(r,n,i)=>`<p style="margin:0 0 6px 0;mso-margin-top-alt:0;mso-margin-bottom-alt:6px;font-family:Arial,sans-serif;font-size:15px;color:#3d3d3d;line-height:1.7;">• ${i.trim()}</p>`),e=e.replace(/<strong([^>]*)>([\s\S]*?)<\/strong>
4422/gi,'<strong style="color:#1a1a1a;font-weight:bold;">$2</strong>').replace(/<b([^>]*)>([\s\S]*?)<\/b>/gi,'<strong style="color:#1a1a1a;font-weight:bold;">$2</strong>').replace(/<em([^>]*)>([\s\S]*?)<\/em>/gi,"<em>$2</em>").replace(/<i([^>]*)>([\s\S]*?)<\/i>/gi,"<em>$2</em>").replace(/<u([^>]*)>([\s\S]*?)<\/u>/gi,"<u>$2</u>"),e=e.replace(/<a\s[^>]*href="([^"]*)"[^>]*>([\s\S]*?)<\/a>/gi,'<a href="$1" style="color:#CF163D;text-decoration:underline;">$2</a>'),e=e.replace(/<br\s*\/?>/gi,"<br />"),e=e.replace(/<p([^>]*)>([\s\S]*?)<\/p>/gi,(r,n,i)=>{const a=i.trim();return!a||a==="<br />"?"":`<p style="margin:0 0 18px 0;mso-margin-top-alt:0;mso-margin-bottom-alt:18px;font-family:Arial,sans-serif;font-size:15px;color:#3d3d3d;line-height:1.7;text-align:justify;">${a}</p>`}),e=e.replace(/<(?!\/?(p|strong|em|u|a|br|table|tr|td|th)[\s>\/])[^>]+>/gi,""),e}function KNe(t){try{const e=St(new Date(t.date+"T12:00:00"),"d 'de' MMMM 'de' yyyy",{locale:er});return e.charAt(0).toUpperCase()+e.slice(1)}catch{return t.date}}function qNe(t){let e="";try{e=St(new Date(t.date+"T12:00:00"),"EEEE, d 'de' MMMM 'de' yyyy",{locale:er}),e=e.charAt(0).toUpperCase()+e.slice(1)}catch{e=t.date}const r=t.endTime?`${t.startTime} - ${t.endTime} h`:`${t.startTime} h`;return` 4423 <tr> 4424 <td style="padding:14px 20px;border-bottom:1px solid #f0f0f0;"> 4425 <p style="margin:0 0 3px 0;font-family:Arial,sans-serif;font-size:14px;font-weight:bold;color:#1a1a1a;line-height:1.3;">${e}</p> 4426 <p style="margin:0;font-family:Arial,sans-serif;font-size:13px;color:#888888;line-height:1.3;">${r}</p> 4427 </td> 4428 </tr>`}function GNe(t){if(!t||t.length===0)return"";const e=t.filter(n=>n.url&&!n.url.startsWith("data:"));return e.length===0?"":` 4429 <tr> 4430 <td style="padding:20px 40px 0 40px;"> 4431 <table border="0" cellpadding="0" cellspacing="0" width="100%" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border-top:1px solid #eeeeee;"> 4432 <tr> 4433 <td style="padding-top:20px;"> 4434 <table border="0" cellpadding="0" cellspacing="0" align="center" style="mso-table-lspace:0pt;mso-table-rspace:0pt;"> 4435 <tr>${e.map(n=>` 4436 <td align="center" valign="middle" style="padding:8px 10px;"> 4437 <img src="${n.url}" alt="${n.caption||"Logo"}" width="100" style="max-width:100px;height:auto;display:block;" /> 4438 ${n.caption?`<p style="margin:4px 0 0 0;font-family:Arial,sans-serif;font-size:10px;color:#999999;text-align:center;">${n.caption}</p>`:""} 4439 </td>`).join("")}</tr> 4440 </table> 4441 </td> 4442 </tr> 4443 </table> 4444 </td> 4445 </tr>`}function JNe(t,e){const r=t[0],n=KNe(r),i=r.endTime?`${r.startTime} - ${r.endTime} hrs`:`${r.startTime} hrs`,a=e?` 4446 <tr> 4447 <td style="padding:0 0 16px 0;"> 4448 <table border="0" cellpadding="0" cellspacing="0" width="100%" style="mso-table-lspace:0pt;mso-table-rspace:0pt;"> 4449 <tr> 4450 <td width="28" valign="top" style="padding-top:1px;"> 4451 <p style="margin:0;font-family:Arial,sans-serif;font-size:18px;color:#CF163D;line-height:1;">✉</p> 4452 </td> 4453 <td valign="top"> 4454 <p style="margin:0 0 2px 0;font-family:Arial,sans-serif;font-size:11px;font-weight:bold;color:#CF163D;text-transform:uppercase;letter-spacing:0.5px;">Información</p> 4455 <a href="mailto:${e}" style="font-family:Arial,sans-serif;font-size:14px;color:#3d3d3d;text-decoration:none;">${e}</a> 4456 </td> 4457 </tr> 4458 </table> 4459 </td> 4460 </tr>`:"";return` 4461 <tr> 4462 <td style="padding:24px 40px 8px 40px;border-bottom:1px solid #f0f0f0;"> 4463 <table border="0" cellpadding="0" cellspacing="0" width="100%" style="mso-table-lspace:0pt;mso-table-rspace:0pt;"> 4464 4465 <!-- Fecha + Horario en 2 columnas --> 4466 <tr> 4467 <td width="50%" valign="top" style="padding:0 12px 16px 0;"> 4468 <table border="0" cellpadding="0" cellspacing="0" width="100%" style="mso-table-lspace:0pt;mso-table-rspace:0pt;"> 4469 <tr> 4470 <td width="28" valign="top" style="padding-top:1px;"> 4471 <p style="margin:0;font-family:Arial,sans-serif;font-size:18px;color:#CF163D;line-height:1;">📅</p> 4472 </td> 4473 <td valign="top"> 4474 <p style="margin:0 0 2px 0;font-family:Arial,sans-serif;font-size:11px;font-weight:bold;color:#CF163D;text-transform:uppercase;letter-spacing:0.5px;">Fecha</p> 4475 <p style="margin:0;font-family:Arial,sans-serif;font-size:14px;color:#3d3d3d;line-height:1.4;">${n}</p> 4476 </td> 4477 </tr> 4478 </table> 4479 </td> 4480 <td width="50%" valign="top" style="padding:0 0 16px 12px;"> 4481 <table border="0" cellpadding="0" cellspacing="0" width="100%" style="mso-table-lspace:0pt;mso-table-rspace:0pt;"> 4482 <tr> 4483 <td width="28" valign="top" style="padding-top:1px;"> 4484 <p style="margin:0;font-family:Arial,sans-serif;font-size:18px;color:#CF163D;line-height:1;">🕐</p> 4485 </td> 4486 <td valign="top"> 4487 <p style="margin:0 0 2px 0;font-family:Arial,sans-serif;font-size:11px;font-weight:bold;color:#CF163D;text-transform:uppercase;letter-spacing:0.5px;">Horario</p> 4488 <p style="margin:0;font-family:Arial,sans-serif;font-size:14px;color:#3d3d3d;line-height:1.4;">${i}</p> 4489 </td> 4490 </tr> 4491 </table> 4492 </td> 4493 </tr> 4494 4495 ${a} 4496 4497 </table> 4498 </td> 4499 </tr>`}function eq(t){const{title:e,content:r,dates:n,imageUrl:i,registrationEmail
4499:a,footerImages:s=[],category:o="Evento",eventUrl:c}=t,A=n.filter(S=>S.date&&S.startTime),u=A.map(qNe).join(""),d=WNe(r),f=GNe(s),h=i&&!i.startsWith("data:")?` 4500 <tr> 4501 <td style="padding:0;" mc:edit="imagen_evento"> 4502 <img src="${i}" alt="${e}" width="600" style="width:100%;max-width:600px;height:auto;display:block;border:0;" /> 4503 </td> 4504 </tr>`:"",m=A.length>0?JNe(A,a):"",p=c||(a?`mailto:${a}?subject=Inscripcion: ${encodeURIComponent(e)}`:"#"),x=c?"Ver información e inscribirse":"Inscribirse ahora",v=!c&&a?`<p style="margin:10px 0 0 0;font-family:Arial,sans-serif;font-size:12px;color:#999999;text-align:center;">O escribe a <a href="mailto:${a}" style="color:#CF163D;text-decoration:none;">${a}</a></p>`:c&&a?`<p style="margin:10px 0 0 0;font-family:Arial,sans-serif;font-size:12px;color:#999999;text-align:center;">Consultas: <a href="mailto:${a}" style="color:#CF163D;text-decoration:none;">${a}</a></p>`:"",y=A.length>0?` 4505 <tr> 4506 <td style="padding:0 40px 28px 40px;"> 4507 <table border="0" cellpadding="0" cellspacing="0" width="100%" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border:1px solid #e8e8e8;"> 4508 <tr> 4509 <td style="padding:10px 20px;background-color:#CF163D;"> 4510 <p style="margin:0;font-family:Arial,sans-serif;font-size:11px;font-weight:bold;color:#ffffff;text-transform:uppercase;letter-spacing:1.5px;">Fechas y Horarios</p> 4511 </td> 4512 </tr> 4513 ${u} 4514 </table> 4515 </td> 4516 </tr>`:"";return`<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 4517<html xmlns="http://www.w3.org/1999/xhtml" lang="es"> 4518<head> 4519 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 4520 <meta name="viewport" content="width=device-width, initial-scale=1.0" /> 4521 <title>${e}</title> 4522 <!--[if mso]> 4523 <style type="text/css"> 4524 body, table, td, p, a, span { font-family: Arial, sans-serif !important; } 4525 </style> 4526 <![endif]--> 4527</head> 4528<body style="margin:0;padding:0;background-color:#efefef;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;"> 4529 4530<table border="0" cellpadding="0" cellspacing="0" width="100%" style="mso-table-lspace:0pt;mso-table-rspace:0pt;background-color:#efefef;"> 4531 <tr> 4532 <td align="center" valign="top" style="padding:36px 10px;"> 4533 4534 <table border="0" cellpadding="0" cellspacing="0" width="600" style="mso-table-lspace:0pt;mso-table-rspace:0pt;max-width:600px;background-color:#ffffff;"> 4535 4536 <!-- BARRA ACENTO SUPERIOR --> 4537 <tr> 4538 <td style="background-color:#A5102E;height:4px;font-size:0;line-height:0;"> </td> 4539 </tr> 4540 4541 <!-- IMAGEN HERO --> 4542 ${h} 4543 4544 <!-- BADGE CATEGORIA + TITULO --> 4545 <tr> 4546 <td style="padding:32px 40px 20px 40px;" mc:edit="cabecera"> 4547 <!-- Badge categoria --> 4548 <table border="0" cellpadding="0" cellspacing="0" style="mso-table-lspace:0pt;mso-table-rspace:0pt;margin-bottom:16px;"> 4549 <tr> 4550 <td style="background-color:${o==="Formación"||o==="Formacion"?"#dcfce7":"#dbeafe"};border-radius:20px;padding:5px 14px;"> 4551 <p style="margin:0;font-family:Arial,sans-serif;font-size:12px;font-weight:bold;color:${o==="Formación"||o==="Formacion"?"#166534":"#1e40af"};">${o}</p> 4552 </td> 4553 </tr> 4554 </table> 4555 <!-- Titulo principal --> 4556 <p style="margin:0;font-family:Georgia,'Times New Roman',serif;font-size:28px;font-weight:bold;color:#111827;line-height:1.25;">${e}</p> 4557 </td> 4558 </tr> 4559 4560 <!-- BLOQUE META INFO: fecha, horario, email --> 4561 ${m} 4562 4563 <!-- SALUDO + CONTENIDO PRINCIPAL --> 4564 <tr> 4565 <td style="padding:28px 40px 12px 40px;" mc:edit="contenido_evento"> 4566 <p style="margin:0 0 20px 0;font-family:Arial,sans-serif;font-size:15px;color:#3d3d3d;line-height:1.7;"> 4567 Estimado/a, 4568 </p> 4569 ${d} 4570 </td> 4571 </tr> 4572 4573 <!-- FECHAS Y HORARIOS --> 4574 ${y} 4575 4576 <!-- BOTON CTA --> 4577 <tr> 4578 <td align="center" style="padding:8px 40px 36px 40px;" mc:edit="boton_inscripcion"> 4579 <!--[if mso]> 4580 <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="${p}" style="height:50px;v-text-anchor:middle;width:280px;" arcsize="6%" stroke="f" fillcolor="#CF163D"> 4581 <w:anchorlock/> 4582 <center style="color:#ffffff;font-family:Arial,sans-serif;font-size:15px;font-weight:bold;">${x}</center> 4583 </v:roundrect> 4584 <![endif]--> 4585 <!--[if !mso]><!--> 4586 <table border="0" cellpadding="0" cellspacing="0" style="mso-table-lspace:0pt;mso-table-rspace:0pt;"> 4587 <tr> 4588 <td align="center" style="border-radius:4px;background-color:#CF163D;"> 4589 <a href="${p}" target="_blank" style="display:inline-block;padding:15px 44px;font-family:Arial,sans-serif;font-size:15px;font-weight:bold;color:#ffffff;text-decoration:none;border-radius:4px;"> 4590 ${x} 4591 </a> 4592 </td> 4593 </tr> 4594 </table> 4595 <!--<![endif]--> 4596 ${v} 4597 </td> 4598 </tr> 4599 4600 <!-- LOGOS PIE --> 4601 ${f} 4602 4603 <!-- SEPARADOR --> 4604 <tr> 4605 <td style="padding:0 40px;"> 4606 <table border="0" cellpadding="0" cellspacing="0" width="100%" style="mso-table-lspace:0pt;mso-table-rspace:0pt;"> 4607 <tr> 4608 <td style="border-top:1px solid #e8e8e8;font-size:0;line-height:0;padding-top:0;"> </td> 4609 </tr> 4610 </table> 4611 </td> 4612 </tr> 4613 4614 <!-- PIE LEGAL --> 4615 <tr> 4616 <td style="padding:22px 40px 30px 40px;background-color:#f8f8f8;" mc:edit="pie_legal"> 4617 <p style="margin:0 0 6px 0;font-family:Arial,sans-serif;font-size:12px;font-weight:bold;color:#888888;line-height:1.5;text-align:center;"> 4618 Cámara Oficial de Comercio, Industria, Servicios y Navegación de Fuerteventura 4619 </p> 4620 <p style="margin:0;font-family:Arial,sans-serif;font-size:11px;color:#bbbbbb;text-align:center;line-height:1.6;"> 4621 Has recibido este email porque estás suscrito a nuestra lista de eventos.<br /> 4622 <a href="*|UNSUB|*" style="color:#aaaaaa;text-decoration:underline;">Darse de baja</a> 4623 • 4624 <a href="*|UPDATE_PROFILE|*" style="color:#aaaaaa;text-decoration:underline;">Gestionar preferencias</a> 4625 </p> 4626 </td> 4627 </tr> 4628 4629 <!-- BARRA ACENTO INFERIOR --> 4630 <tr> 4631 <td style="background-color:#A5102E;height:3px;font-size:0;line-height:0;"> </td> 4632 </tr> 4633 4634 </table> 4635 4636 </td> 4637 </tr> 4638</table> 4639 4640</body> 4641</html>`}function XNe(t){return(t||"evento").toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/[^a-z0-9]+/g,"_").replace(/^_|_$/g,"").slice(0,60)}async function YNe(t){const e=eq(t);await navigator.clipboard.writeText(e)}function ZNe(t){const e=eq(t),r=XNe(t.title),n=$V({"index.html":S_(e)},{level:6}),i=new Blob([n],{type:"application/zip"}),a=URL.createObjectURL(i),s=document.createElement("a");s.href=a,s.download=`plantilla_mailchimp_${r}.zip`,document.body.appendChild(s),s.click(),document.body.removeChild(s),URL.revokeObjectURL(a)}const $Ne=({formType:t,requiresDigitalCertificate:e=!1})=>{const r=()=>{switch(t){case"basic":return"Formulario Básico";case"superBasico":return"Formulario Súper Básico";case"enhanced":return"Formulario Avanzado (con documentos)";case"formacion":return"Formulario de Formación";case"tallerOnlineFiscalidad":return"Formulario Emprendimiento";case"consolidate":return"Formulario Consolidate";case"canariasExpande":return"Formulario Canarias Expande";case"oficinAceleraPyme":return"Formulario Oficina Acelera Pyme";default:return"Vista previa del formulario"}},n=()=>{switch(t){case"basic":return"Formulario estándar con selección de tipo de participante";case"superBasico":return"Formulario mÃnino: nombre, apellidos, DNI/NIE, email, teléfono y consentimiento de imágenes";case"enhanced":return"Formulario completo con carga de documentos requeridos";case"formacion":return"Formulario simplificado para cursos de formación";case"tallerOnlineFiscalidad":return"Formulario especializado para proyectos de emprendimiento";case"consolidate":return"Formulario básico sin preguntas de emprendimiento y certificaciones";case"canariasExpande":return"Formulario especializado para empresas de Canarias Expande";case"oficinAceleraPyme":return"Formulario con documento descargable/subible y firma digital obligatoria";default:return""}};return l.jsxs("div",{className:"mt-6 p-6 bg-gray-50 rounded-lg border",children:[l.jsxs("div",{className:"mb-4",children:[l.jsxs("h3",{className:"text-lg font-semibold text-gray-800 flex items-center gap-2",children:[l.jsx(Jr,{className:"w-5 h-5 text-[#CF163D]"}),"Vista previa: ",r()]}),l.jsx("p",{className:"text-sm text-gray-600 mt-1",children:n()})]}),l.jsxs("div",{className:"space-y-4 max-h-96 overflow-y-auto",children:[l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[l.jsxs("div",{children:[l.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:"Nombre *"}),l.jsx("input",{type:"text",disabled:!0,placeholder:"Ej: Juan Carlos",className:"w-full px-4 py-2 border border-gray-300 rounded-md bg-gray-100 text-gray-500"})]}),l.jsxs("div",{children:[l.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:"Apellido(s) *"}),l.jsx("input",{type:"text",disabled:!0,placeholder:"Ej: Pérez GarcÃa",className:"w-full px-4 py-2 border border-gray-300 rounded-md bg-gray-100 text-gray-500"})]})]}),t==="superBasico"&&l.jsxs("div",{className:"bg-teal-50 p-4 rounded-lg border border-teal-200",children:[l.jsx("p",{className:"text-sm font-medium text-teal-900",children:"Formulario Súper Básico"}),l.jsx("p",{className:"text-sm text-teal-700 mt-1",children:"Solo datos personales básicos y consentimiento de imágenes. Sin tipo de participante ni datos de empresa."})]}),t==="formacion"&&l.jsxs("div",{className:"bg-blue-50 p-4 rounded-lg border border-blue-200",children:[l.jsx("p",{className:"text-sm font-medium text-blue-900",children:"Formulario de Formación"}),l.jsx("p",{className:"text-sm text-blue-700 mt-1",children:"Este es un formulario simplificado para cursos de formación."})]}),t==="tallerOnlineFiscalidad"&&l.jsxs("div",{className:"bg-yellow-50 p-4 rounded-lg border border-yellow-200",children:[l.jsx("p",{className:"text-sm font-medium text-yellow-900",children:"Formulario Emprendimiento"}),l.jsx("p",{className:"text-sm text-yellow-700 mt-1",children:"Formulario especializado para proyectos de emprendimiento."})]}),t==="consolidate"&&l.jsxs("div",{className:"bg-purple-50 p-4 rounded-lg border border-purple-200",children:[l.jsx("p",{className:"text-sm font-medium text-purple-900",children:"Formulario Consolidate"}),l.jsx("p",{className:"text-sm text-purple-700 mt-1",children:"Formulario básico sin preguntas sobre emprendimiento y certificaciones."})]}),t==="canariasExpande"&&l.jsxs("div",{className:"bg-green-50 p-4 rounded-lg border border-green-200",children:[l.jsx("p",{className:"text-sm font-medium text-green-900",children:"Formulario Canarias Expande"}),l.jsx("p",{className:"text-sm text-green-700 mt-1",children:"Formulario especializado para empresas de Canarias Expande."})]}),t==="basic"&&l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-4",children:[l.jsx("div",{className:"relative flex cursor-pointer rounded-lg border border-gray-300 p-4 bg-gray-100",children:l.jsx("span",{className:"flex flex-1",children:l.jsxs("span",{className:"flex flex-col",children:[l.jsx(Bh,{className:"w-5 h-5 text-gray-400 mb-1"}),l.jsx("span",{className:"block text-sm font-medium text-gray-500",children:"Empresa"})]})})}),l.jsx("div",{className:"relative flex cursor-pointer rounded-lg border border-gray-300 p-4 bg-gray-100",children:l.jsx("span",{className:"flex flex-1",children:l.jsxs("span",{className:"flex flex-col",children:[l.jsx(lc,{className:"w-5 h-5 text-gray-400 mb-1"}),l.jsx("span",{className:"block text-sm font-medium text-gray-500",children:"Autónomo"})]})})}),l.jsx("div",{className:"relative flex cursor-pointer rounded-lg border border-gray-300 p-4 bg-gray-100",children:l.jsx("span",{className:"flex flex-1",children:l.jsxs("span",{className:"flex flex-col",children:[l.jsx(_s,{className:"w-5 h-5 text-gray-400 mb-1"}),l.jsx("span",{className:"block text-sm font-medium text-gray-500",children:"Emprendedor/Visitante"})]})})}),l.jsx("div",{className:"relative flex cursor-pointer rounded-lg border border-gray-300 p-4 bg-gray-100",children:l.jsx("span",{className:"flex flex-1",children:l.jsxs("span",{className:"flex flex-col",children:[l.jsx(_s,{className:"w-5 h-5 text-gray-400 mb-1"}),l.jsx("span",{className:"block text-sm font-medium text-gray-500",children:"Delegación Gubernamental"})]})})})]}),(t==="enhanced"||t==="consolidate")&&l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[l.jsx("div",{className:"relative flex cursor-pointer rounded-lg border border-gray-300 p-4 bg-gray-100",children:l.jsx("span",{className:"flex flex-1",children:l.jsxs("span",{className:"flex flex-col",children:[l.jsx(Bh,{className:"w-5 h-5 text-gray-400 mb-1"}),l.jsx("span",{className:"block text-sm font-medium text-gray-500",children:"Empresa"})]})})}),l.jsx("div",{className:"relative flex cursor-pointer rounded-lg border border-gray-300 p-4 bg-gray-100",children:l.jsx("span",{className:"flex flex-1",children:l.jsxs("span",{className:"flex flex-col",children:[l.jsx(lc,{className:"w-5 h-5 text-gray-400 mb-1"}),l.jsx("span",{className:"block text-sm font-medium text-gray-500",children:"Autónomo"})]})})}),l.jsx("div",{className:"relative flex cursor-pointer rounded-lg border border-gray-300 p-4 bg-gray-100",children:l.jsx("span",{className:"flex flex-1",children:l.jsxs("span",{className:"flex flex-col",children:[l.jsx(_s,{className:"w-5 h-5 text-gray-400 mb-1"}),l.jsx("span",{className:"block text-sm font-medium text-gray-500",children:"Emprendedor/Visitante"})]})})})]}),t==="canariasExpande"&&l.jsxs("div",{className:"space-y-4",children:[l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[l.jsxs("div",{children:[l.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:"Razón social *"}),l.jsx("input",{type:"text",disabled:!0,placeholder:"EMPRESA EJEMPLO S.L.",className:"w-full px-4 py-2 border border-gray-300 rounded-md bg-gray-100 text-gray-500"})]}),l.jsxs("div",{children:[l.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:"NIF *"}),l.jsx("input",{type:"text",disabled:!0,placeholder:"B12345678",className:"w-full px-4 py-2 border border-gray-300 rounded-md bg-gray-100 text-gray-500"})]})]}),l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[l.jsxs("div",{children:[l.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:"Municipio del domicilio fiscal *"}),l.jsx("input",{type:"text",disabled:!0,placeholder:"Puerto del Rosario",className:"w-full px-4 py-2 border border-gray-300 rounded-md bg-gray-100 text-gray-500"})]}),l.jsxs("div",{children:[l.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:"Fecha de inicio de la actividad *"}),l.jsx("input",{type:"date",disabled:!0,className:"w-full px-4 py-2 border border-gray-300 rounded-md bg-gray-100 text-gray-500"})]})]}),l.jsx("h4",{className:"text-lg font-semibold text-gray-700 pt-4",children:"Datos de contacto"}),l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[l.jsxs("div",{children:[l.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:"Nombre y apellidos de la persona de contacto *"}),l.jsx("input",{type:"text",disabled:!0,placeholder:"Juan Pérez GarcÃa",className:"w-full px-4 py-2 border border-gray-300 rounded-md bg-gray-100 text-gray-500"})]}),l.jsxs("div",{children:[l.jsx("label",{className:"block text-sm font-medium
4641 text-gray-700 mb-1",children:"Cargo *"}),l.jsx("input",{type:"text",disabled:!0,placeholder:"Director General",className:"w-full px-4 py-2 border border-gray-300 rounded-md bg-gray-100 text-gray-500"})]})]}),l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[l.jsxs("div",{children:[l.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:"Correo electrónico de contacto *"}),l.jsx("input",{type:"email",disabled:!0,placeholder:"[email protected]",className:"w-full px-4 py-2 border border-gray-300 rounded-md bg-gray-100 text-gray-500"})]}),l.jsxs("div",{children:[l.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:"Teléfono de contacto *"}),l.jsx("input",{type:"tel",disabled:!0,placeholder:"928123456",className:"w-full px-4 py-2 border border-gray-300 rounded-md bg-gray-100 text-gray-500"})]})]}),l.jsxs("div",{children:[l.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:"Página web (opcional)"}),l.jsx("input",{type:"url",disabled:!0,placeholder:"https://www.empresa.com",className:"w-full px-4 py-2 border border-gray-300 rounded-md bg-gray-100 text-gray-500"})]}),l.jsxs("div",{children:[l.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:"Sector de actividad *"}),l.jsx("input",{type:"text",disabled:!0,placeholder:"TecnologÃa, Turismo, Comercio, etc.",className:"w-full px-4 py-2 border border-gray-300 rounded-md bg-gray-100 text-gray-500"})]}),l.jsxs("div",{children:[l.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:"Breve descripción de actividad a realizar *"}),l.jsx("textarea",{disabled:!0,rows:4,placeholder:"Describa brevemente la actividad de su empresa...",className:"w-full px-4 py-2 border border-gray-300 rounded-md bg-gray-100 text-gray-500"})]}),l.jsxs("div",{children:[l.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:"Datos adicionales de interés"}),l.jsx("textarea",{disabled:!0,rows:3,placeholder:"Información adicional que considere relevante...",className:"w-full px-4 py-2 border border-gray-300 rounded-md bg-gray-100 text-gray-500"})]}),l.jsxs("div",{className:"pt-4 border-t border-gray-200",children:[l.jsx("h4",{className:"text-lg font-semibold text-gray-700 mb-4",children:"Documentación"}),l.jsxs("div",{className:"bg-gray-100 p-4 rounded-lg",children:[l.jsx("div",{className:"flex items-center justify-between mb-2",children:l.jsx("span",{className:"text-sm font-medium text-gray-700",children:"Documento de fecha de alta de su empresa *"})}),l.jsx("input",{type:"file",disabled:!0,className:"w-full px-3 py-2 border border-gray-300 rounded-md bg-gray-200 text-gray-500"}),l.jsx("p",{className:"text-xs text-gray-500 mt-1",children:"Formatos permitidos: PDF, JPG, PNG, DOC, DOCX (máx. 10MB)"})]})]})]}),t!=="canariasExpande"&&l.jsxs("div",{children:[l.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:t==="formacion"||t==="tallerOnlineFiscalidad"||t==="superBasico"?"DNI/NIE *":"DNI/NIE/Pasaporte o CIF *"}),l.jsx("input",{type:"text",disabled:!0,placeholder:"Ej: 12345678A",className:"w-full px-4 py-2 border border-gray-300 rounded-md bg-gray-100 text-gray-500"})]}),t!=="canariasExpande"&&l.jsxs(l.Fragment,{children:[l.jsxs("div",{children:[l.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:"Correo electrónico *"}),l.jsx("input",{type:"email",disabled:!0,placeholder:"[email protected]",className:"w-full px-4 py-2 border border-gray-300 rounded-md bg-gray-100 text-gray-500"})]}),l.jsxs("div",{children:[l.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:"Teléfono"}),l.jsx("input",{type:"tel",disabled:!0,placeholder:"Ej: 928123456",className:"w-full px-4 py-2 border border-gray-300 rounded-md bg-gray-100 text-gray-500"})]})]}),t!=="formacion"&&t!=="tallerOnlineFiscalidad"&&t!=="canariasExpande"&&t!=="superBasico"&&l.jsxs(l.Fragment,{children:[l.jsxs("div",{children:[l.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:"Nombre de la empresa"}),l.jsx("input",{type:"text",disabled:!0,placeholder:"NOMBRE DE LA EMPRESA",className:"w-full px-4 py-2 border border-gray-300 rounded-md bg-gray-100 text-gray-500"})]}),l.jsxs("div",{children:[l.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:"Cargo"}),l.jsx("input",{type:"text",disabled:!0,placeholder:"Ej: Director Comercial",className:"w-full px-4 py-2 border border-gray-300 rounded-md bg-gray-100 text-gray-500"})]})]}),t==="formacion"&&l.jsxs(l.Fragment,{children:[l.jsxs("div",{children:[l.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:"Actividad de la empresa"}),l.jsx("input",{type:"text",disabled:!0,placeholder:"Ej: Desarrollo de softw
4641are, ConsultorÃa, etc.",className:"w-full px-4 py-2 border border-gray-300 rounded-md bg-gray-100 text-gray-500"})]}),l.jsx("div",{children:l.jsxs("label",{className:"flex items-center space-x-3",children:[l.jsx("input",{type:"checkbox",disabled:!0,className:"h-4 w-4 text-gray-300 bg-gray-100 border-gray-300 rounded"}),l.jsx("span",{className:"text-sm text-gray-500",children:"¿Está interesado en expandir la actividad de su empresa?"})]})})]}),(t==="basic"||t==="enhanced")&&l.jsxs("div",{className:"pt-4 border-t border-gray-200 space-y-4",children:[l.jsxs("label",{className:"flex items-center space-x-3",children:[l.jsx("input",{type:"checkbox",disabled:!0,className:"h-4 w-4 text-gray-300 bg-gray-100 border-gray-300 rounded"}),l.jsx("span",{className:"text-sm text-gray-500",children:"Me interesa emprender"})]}),l.jsxs("label",{className:"flex items-center space-x-3",children:[l.jsx("input",{type:"checkbox",disabled:!0,className:"h-4 w-4 text-gray-300 bg-gray-100 border-gray-300 rounded"}),l.jsx("span",{className:"text-sm text-gray-500",children:"¿Cuenta con alguna de las certificaciones ofertadas?"})]})]}),t==="tallerOnlineFiscalidad"&&l.jsxs("div",{className:"pt-4 border-t border-gray-200",children:[l.jsx("h4",{className:"text-lg font-semibold text-gray-800 mb-4",children:"Documentación Requerida"}),l.jsxs("div",{className:"space-y-4",children:[l.jsxs("div",{className:"bg-gray-100 p-4 rounded-lg",children:[l.jsx("div",{className:"flex items-center justify-between mb-2",children:l.jsx("span",{className:"text-sm font-medium text-gray-700",children:"1. Descargar documento de referencia *"})}),l.jsxs("button",{type:"button",disabled:!0,className:"inline-flex items-center gap-2 px-4 py-2 bg-gray-400 text-white rounded-md",children:[l.jsx(wl,{className:"w-4 h-4"}),l.jsx("span",{children:"Descargar documento de referencia"})]})]}),l.jsxs("div",{className:"bg-gray-100 p-4 rounded-lg",children:[l.jsx("div",{className:"flex items-center justify-between mb-2",children:l.jsx("span",{className:"text-sm font-medium text-gray-700",children:"2. Subir documento de emprendimiento o FICHA PREINSCRIPCIÃN PROGRAMA DE ACOMPAÃAMIENTO EMPRESARIAL *"})}),l.jsx("input",{type:"file",disabled:!0,className:"w-full px-3 py-2 border border-gray-300 rounded-md bg-gray-200 text-gray-500"})]})]})]}),t==="oficinAceleraPyme"&&l.jsxs("div",{className:"pt-4 border-t border-gray-200 space-y-4",children:[l.jsx("h4",{className:"text-lg font-semibold text-gray-800",children:"Documentación y Firma"}),l.jsxs("div",{className:"bg-gray-100 p-4 rounded-lg",children:[l.jsx("span",{className:"text-sm font-medium text-gray-700 block mb-2",children:"1. Descargar documento de referencia *"}),l.jsxs("button",{type:"button",disabled:!0,className:"inline-flex items-center gap-2 px-4 py-2 bg-gray-400 text-white rounded-md",children:[l.jsx(wl,{className:"w-4 h-4"}),l.jsx("span",{children:"Descargar documento Oficina Acelera Pyme"})]})]}),l.jsxs("div",{className:"bg-gray-100 p-4 rounded-lg",children:[l.jsx("span",{className:"text-sm font-medium text-gray-700 block mb-2",children:"2. Subir documento completado *"}),l.jsx("input",{type:"file",disabled:!0,className:"w-full px-3 py-2 border border-gray-300 rounded-md bg-gray-200 text-gray-500"})]}),l.jsxs("div",{className:"bg-gray-50 border border-gray-200 rounded-xl p-4",children:[l.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[l.jsx(wl,{className:"w-4 h-4 text-gray-500"}),l.jsx("span",{className:"text-sm font-semibold text-gray-800",children:"3. Firma del formulario *"})]}),l.jsx("div",{className:"grid grid-cols-2 gap-3 mb-3",children:[{label:"Nombre completo",value:"Auto-rellenado del formulario"},{label:"DNI / NIE / CIF",value:"Auto-rellenado del formulario"},{label:"Fecha de firma",value:"Capturada automáticamente"},{label:"Hora de firma",value:"Capturada automáticamente"}].map(({label:i,value:a})=>l.jsxs("div",{className:"p-2 bg-white rounded border border-gray-200",children:[l.jsx("p",{className:"text-xs text-gray-500",children:i}),l.jsx("p",{className:"text-xs font-medium text-gray-400 italic",children:a})]},i))}),l.jsx("div",{className:"border-2 border-dashed border-gray-300 rounded-lg h-16 flex items-center justify-center bg-white",children:l.jsx("span",{className:"text-xs text-gray-400",children:"Ãrea de firma (canvas interactivo)"})})]})]}),t==="enhanced"&&e&&l.jsx("div",{className:"pt-4 border-t border-gray-200",children:l.jsx("div",{className:"bg-blue-100 p-4 rounded-lg",children:l.jsxs("label",{className:"flex items-start gap-3",children:[l.jsx("input",{type:"checkbox",disabled:!0,className:"mt-1 h-4 w-4 text-gray-300 bg-gray-100 border-gray-300 rounded"}),l.jsxs("div",{className:"flex-1",children:[l.jsx("span",{className:"text-sm font-medium text-gray-700",children:"Declaro que cuento con certificado digital o DNI electrónico *"}),l.jsx("p",{className:"text-xs text-gray-600 mt-1",children:"Necesarios para poder realizar el curso en el momento de la solicitud"})]})]})})}),t==="enhanced"&&l.jsxs("div",{className:"pt-4 border-t border-gray-200",children:[l.jsx("h4",{className:"text-lg font-semibold text-gray-800 mb
4641-4",children:"Documentos requeridos"}),l.jsx("div",{className:"space-y-4",children:l.jsxs("div",{children:[l.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:"Documento ejemplo *"}),l.jsx("input",{type:"file",disabled:!0,className:"w-full px-3 py-2 border border-gray-300 rounded-md bg-gray-100 text-gray-500"}),l.jsx("p",{className:"text-xs text-gray-500 mt-1",children:"Formatos permitidos: PDF, JPG, PNG, DOC, DOCX (máx. 10MB)"})]})})]}),l.jsx("div",{className:"pt-4 border-t border-gray-200",children:l.jsxs("label",{className:"flex items-start space-x-3",children:[l.jsx("input",{type:"checkbox",disabled:!0,className:"h-4 w-4 text-gray-300 bg-gray-100 border-gray-300 rounded mt-1"}),l.jsx("div",{className:"flex-1",children:l.jsx("span",{className:"text-sm text-gray-500",children:"Acepto el consentimiento para el uso de imágenes *"})})]})}),l.jsxs("button",{type:"button",disabled:!0,className:"w-full bg-gray-400 text-white py-2 px-4 rounded-md flex items-center justify-center gap-2",children:[l.jsx(ca,{className:"w-5 h-5"}),"Inscribirse"]})]})]})},eSe=({value:t,onChange:e,placeholder:r="Escribe el contenido aquÃ..."})=>{const[n,i]=Z.useState(null);Z.useEffect(()=>{uc(()=>import("./index-DxyqwxU7.js").then(o=>o.i),[]).then(o=>{i(()=>o.default)})},[]);const a={toolbar:[[{header:[1,2,!1]}],["bold","italic","underline","strike","blockquote"],[{align:[]}],[{list:"ordered"},{list:"bullet"},{indent:"-1"},{indent:"+1"}],["link"],["clean"]],clipboard:{matchVisual:!1}},s=["header","bold","italic","underline","strike","blockquote","list","bullet","indent","link","align"];return n?l.jsx("div",{className:"rich-text-editor-wrapper",children:l.jsx(n,{theme:"snow",value:t,onChange:e,modules:a,formats:s,placeholder:r})}):l.jsx("div",{className:"rich-text-editor-wrapper flex items-center justify-center min-h-[400px] bg-gray-50 rounded-xl",children:l.jsxs("div",{className:"text-center",children:[l.jsx("div",{className:"animate-spin rounded-full h-8 w-8 border-b-2 border-[#CF163D] mx-auto mb-2"}),l.jsx("p",{className:"text-sm text-gray-600",children:"Cargando editor..."})]})})},tSe=({occupiedDates:t,excludeEventId:e})=>{const[r,n]=Z.useState(new Date),[i,a]=Z.useState(null),s=i5(r),o=r5(r),c=n5({start:s,end:o}),A=s.getDay(),u=Array(A===0?6:A-1).fill(null),d=h=>{const m=St(h,"yyyy-MM-dd"),p=t.events.filter(b=>b.date===m&&(!e||b.id!==e)),x=p.filter(b=>b.category==="Evento"),v=p.filter(b=>b.category==="Formacion"),y=t.reservations.filter(b=>b.date===m);return{events:x,formaciones:v,reservations:y,hasItems:x.length>0||v.length>0||y.length>0}},f=i?d(i):null;return l.jsxs("div",{className:"bg-white border border-gray-200 rounded-lg overflow-hidden",children:[l.jsxs("div",{className:"bg-gray-50 px-4 py-3 border-b flex items-center justify-between",children:[l.jsxs("h3",{className:"text-sm font-semibold text-gray-900 flex items-center gap-2",children:[l.jsx(Jr,{className:"w-4 h-4 text-primary"}),"Calendario de Ocupación"]}),l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx("button",{type:"button",onClick:()=>n(s5(r,1)),className:"p-1 hover:bg-gray-200 rounded transition-colors",children:l.jsx(L1,{className:"w-4 h-4 text-gray-600"})}),l.jsx("span",{className:"text-sm font-medium text-gray-700 min-w-[140px] text-center capitalize",children:St(r,"MMMM yyyy",{locale:er})}),l.jsx("button",{type:"button",onClick:()=>n(H1(r,1)),className:"p-1 hover:bg-gray-200 rounded transition-colors",children:l.jsx(jp,{className:"w-4 h-4 text-gray-600"})})]})]}),l.jsxs("div",{className:"p-4",children:[l.jsx("div",{className:"grid grid-cols-7 gap-1 mb-2",children:["L","M","X","J","V","S","D"].map(h=>l.jsx("div",{className:"text-center text-xs font-semibold text-gray-500 py-1",children:h},h))}),l.jsxs("div",{className:"grid grid-cols-7 gap-1",children:[u.map((h,m)=>l.jsx("div",{className:"aspect-square"},`empty-${m}`)),c.map(h=>{const m=d(h),p=i&&hp(h,i),x=a5(h),v=m.events.length>0,y=m.formaciones.length>0,b=m.reservations.length>0;return l.jsxs("button",{type:"button",onClick:()=>a(h),className:` 4642 aspect-square p-1 rounded text-xs flex flex-col items-center justify-center transition-all relative 4643 ${p?"bg-primary text-white font-semibold shadow-md":""} 4644 ${!p&&x?"bg-blue-100 text-blue-900 font-medium":""} 4645 ${!p&&!x&&m.hasItems?"bg-orange-50 hover:bg-orange-100":""} 4646 ${!p&&!x&&!m.hasItems?"hover:bg-gray-50":""} 4647 `,children:[l.jsx("span",{className:p?"text-white":"text-gray-700",children:St(h,"d")}),m.hasItems&&!p&&l.jsxs("div",{className:"flex gap-0.5 mt-0.5",children:[b&&l.jsx("div",{className:"w-1 h-1 rounded-full bg-orange-600"}),v&&l.jsx("div",{className:"w-1 h-1 rounded-full bg-blue-600"}),y&&l.jsx("div",{className:"w-1 h-1 rounded-full bg-green-600"})]})]},h.toISOString())})]}),l.jsxs("div",{className:"mt-4 pt-4 border-t",children:[l.jsxs("div",{className:"flex flex-wrap gap-4 text-xs mb-4",children:[l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx("div",{className:"w-3 h-3 bg-blue-100 border border-blue-500 rounded"}),l.jsx("span",{className:"text-gray-600",children:"Hoy"})]}),l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx("div",{className:"w-3 h-3 rounded-full bg-orange-600"}),l.jsx("span",{className:"text-gray-600",children:"Reservas"})]}),l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx("div",{className:"w-3 h-3 rounded-full bg-blue-600"}),l.jsx("span",{className:"text-gray-600",children:"Eventos"})]}),l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx("div",{className:"w-3 h-3 rounded-full bg-green-600"}),l.jsx("span",{className:"text-gray-600",children:"Formaciones"})]})]}),f?l.jsxs("div",{className:"space-y-3",children:[l.jsx("h4",{className:"text-sm font-semibold text-gray-900",children:St(i,"dd/MM/yyyy",{locale:er})}),f.reservations.length>0&&l.jsxs("div",{children:[l.jsxs("p",{className:"text-xs font-medium text-gray-700 mb-2 flex items-center gap-1",children:[l.jsx(_s,{className:"w-3 h-3 text-orange-600"}),"Reservas:"]}),l.jsx("div",{className:"space-y-1",children:f.reservations.map((h,m)=>l.jsxs("div",{className:"text-xs bg-orange-50 border border-orange-200 rounded p-2",children:[l.jsx("div",{className:"font-medium text-orange-900",children:h.title}),l.jsxs("div",{className:"text-orange-700 flex items-center gap-1 mt-1",children:[l.jsx(da,{className:"w-3 h-3"}),h.startTime," - ",h.endTime]})]},m))})]}),f.events.length>0&&l.jsxs("div",{children:[l.jsxs("p",{className:"text-xs font-medium text-gray-700 mb-2 flex items-center gap-1",children:[l.jsx(bl,{className:"w-3 h-3 text-blue-600"}),"Eventos:"]}),l.jsx("div",{className:"space-y-1",children:f.events.map((h,m)=>l.jsxs("div",{className:"text-xs bg-blue-50 border border-blue-200 rounded p-2",children:[l.jsx("div",{className:"font-medium text-blue-900",children:h.title}),l.jsxs("div",{className:"text-blue-700 flex items-center gap-1 mt-1",children:[l.jsx(da,{className:"w-3 h-3"}),h.startTime,h.endTime?` - ${h.endTime}`:""]})]},m))})]}),f.formaciones.length>0&&l.jsxs("div",{children:[l.jsxs("p",{className:"text-xs font-medium text-gray-700 mb-2 flex items-center gap-1",children:[l.jsx(Ru,{className:"w-3 h-3 text-green-600"}),"Formaciones:"]}),l.jsx("div",{className:"space-y-1",children:f.formaciones.map((h,m)=>l.jsxs("div",{className:"text-xs bg-green-50 border border-green-200 rounded p-2",children:[l.jsx("div",{className:"font-medium text-green-900",children:h.title}),l.jsxs("div",{className:"text-green-700 flex items-center gap-1 mt-1",children:[l.jsx(da,{className:"w-3 h-3"}),h.startTime,h.endTime?` - ${h.endTime}`:""]})]},m))})]}),!f.hasItems&&l.jsx("p",{className:"text-xs text-gray-500 italic",children:"No hay actividad programada para esta fecha"})]}):l.jsx("p",{className:"text-xs text-gray-500 text-center py-4",children:"Selecciona un dÃa para ver la actividad"})]})]})]})},tU=()=>{const{id:t}=kL(),e=S1(),{isAuthenticated:r,user:n}=XC(),[i,a]=Z.useState(!0),[s,o]=Z.useState(!1),[c,A]=Z.useState(!1),[u,d]=Z.useState({title:"",content:"",dates:[{date:"",startTime:"",endTime:""}
4647],endDate:"",registrationEmail:"",imageUrl:"",registrationLimit:"",category:"Evento",formType:"basic",requiresDigitalCertificate:!1,requiresEntrepreneurshipDocs:!1,issueCredential:!0,referenceDocumentUrl:"",registrationDeadline:"",modality:"presencial",forceRegistrationOpen:!1,footerImages:[],credentialSettings:{primaryColor:"#CF163D",secondaryColor:"#A61131",gradientAngle:135,textSize:"normal",borderStyle:"solid",borderWidth:3,borderRadius:0,showHeaderImage:!0,showFooterImage:!0,showLogo:!0}}),[f,h]=Z.useState(null),[m,p]=Z.useState(null),[x,v]=Z.useState(""),[y,b]=Z.useState(""),[E,S]=Z.useState(""),[I,B]=Z.useState(!1),[_,O]=Z.useState(!1),[j,T]=Z.useState(!1),[P,L]=Z.useState(!1),[K,le]=Z.useState(new Map),[ne,fe]=Z.useState([]),[te,he]=Z.useState(!1),[ce,Ne]=Z.useState({events:[],reservations:[]}),[F,U]=Z.useState(!1),[R,M]=Z.useState(!1),[J,ue]=Z.useState(null);Z.useEffect(()=>{if(!r||!n){e("/admin");return}(async()=>{var Re;if(!t){a(!1);return}try{const Oe=ko(t)?await Bce(t):await Xw(t,!0);if(!Oe){e("/admin/dashboard");return}const Ue=Oe.dates||[{date:new Date(Oe.eventDate).toISOString().split("T")[0],startTime:new Date(Oe.eventDate).toTimeString().split(" ")[0].slice(0,5),endTime:""}];d({title:Oe.title,content:Oe.content,dates:Ue,endDate:Oe.endDate||"",registrationEmail:Oe.registrationEmail,imageUrl:Oe.imageUrl||"",registrationLimit:((Re=Oe.registrationLimit)==null?void 0:Re.toString())||"",category:Oe.category||"Evento",formType:Oe.formType||"basic",requiresDigitalCertificate:Oe.requiresDigitalCertificate||!1,requiresEntrepreneurshipDocs:Oe.requiresEntrepreneurshipDocs||!1,issueCredential:Oe.issueCredential??!0,footerImages:Oe.footerImages||[],credentialSettings:{...u.credentialSettings,...Oe.credentialSettings},referenceDocumentUrl:Oe.referenceDocumentUrl||"",registrationDeadline:Oe.registrationDeadline||"",modality:Oe.modality||"presencial",forceRegistrationOpen:Oe.forceRegistrationOpen||!1}),S(Oe.imageUrl||""),v(Oe.referenceDocumentUrl||""),b("")}catch(Oe){console.error("Error fetching event:",Oe),Oe instanceof Error?b(Oe.message):b("Error al cargar el evento. Por favor, inténtelo de nuevo."),e("/admin/dashboard")}finally{a(!1)}})()},[t,r,e,n]),Z.useEffect(()=>{(async()=>{const Re=await D9();Ne(Re)})()},[]),Z.useEffect(()=>{const Ie=async()=>{const Oe=u.dates.filter(Ft=>Ft.date&&Ft.startTime);if(Oe.length===0){fe([]);return}he(!0);const Ue=await wce(Oe,t);fe(Ue),he(!1)},Re=setTimeout(()=>{Ie()},500);return()=>clearTimeout(Re)},[u.dates,t]);const de=Ie=>{const{name:Re,value:Oe}=Ie.target;if(Re==="registrationLimit"){(Oe===""||/^\d+$/.test(Oe)&&parseInt(Oe)>0)&&d(Ue=>({...Ue,[Re]:Oe}));return}d(Ue=>({...Ue,[Re]:Oe})),b("")},pe=Ie=>{const{name:Re,checked:Oe}=Ie.target;d(Ue=>({...Ue,[Re]:Oe})),b("")},be=(Ie,Re,Oe)=>{d(Ue=>({...Ue,dates:Ue.dates.map((Ft,gt)=>gt===Ie?{...Ft,[Re]:Oe}:Ft)})),b("")},Qe=()=>{d(Ie=>({...Ie,dates:[...Ie.dates,{date:"",startTime:"",endTime:""}]}))},Me=Ie=>{u.dates.length>1&&d(Re=>({...Re,dates:Re.dates.filter((Oe,Ue)=>Ue!==Ie)}))},Xe=(Ie,Re)=>{d(Oe=>({...Oe,credentialSettings:{...Oe.credentialSettings,[Ie]:Re}}))},ot=Ie=>{d(Re=>({...Re,content:Ie})),b("")},De=Ie=>{if(Ie.target.files&&Ie.target.files[0]){const Re=Ie.target.files[0];if(Re.size>20*1024*1024){b("La imagen no puede superar los 20MB");return}h(Re),b("");const Oe=new FileReader;Oe.onloadend=()=>{S(Oe.result)},Oe.readAsDataURL(Re)}},oe=Ie=>{if(Ie.target.files&&Ie.target.files[0]){const Re=Ie.target.files[0];if(Re.size>10*1024*1024){b("El documento no puede superar los 10MB");return}if(!["application/pdf","application/msword","application/vnd.openxmlformats-officedocument.wordprocessingml.document","image/"].some(Ft=>Re.type===Ft||Re.type.startsWith(Ft))){b("Solo se permiten archivos PDF, Word o imágenes");return}p(Re),b(""),v(`Archivo seleccionado: ${Re.name}`)}},Ke=()=>{d(Ie=>({...Ie,footerImages:[...Ie.footerImages,{url:"",caption:""}]}))},dt=Ie=>{d(Re=>({...Re,footerImages:Re.footerImages.filter((Oe,Ue)=>Ue!==Ie)})),le(Re=>{const Oe=new Map(Re);return Oe.delete(Ie),Oe})},Ee=(Ie,Re)=>{if(Ie.target.files&&Ie.target.files[0]){const Oe=Ie.target.files[0];if(Oe.size>10*1024*1024){b("La imagen no puede superar los 10MB");return}if(!Oe.type.startsWith("image/")){b("Solo se permiten archivos de imagen");return}le(Ft=>new Map(Ft).set(Re,Oe)),b("");const Ue=new FileReader;Ue.onloadend=()=>{d(Ft=>({...Ft,footerImages:Ft.footerImages.map((gt,Kr)=>Kr===Re?{...gt,url:Ue.result}:gt)}))}
4647,Ue.readAsDataURL(Oe)}},We=(Ie,Re)=>{d(Oe=>({...Oe,footerImages:Oe.footerImages.map((Ue,Ft)=>Ft===Ie?{...Ue,caption:Re}:Ue)}))},Ze=Ie=>{var Re;return((Re=ne.find(Oe=>Oe.date===Ie))==null?void 0:Re.conflicts)||[]},rt=async Ie=>{if(Ie.preventDefault(),s||c)return;if(u.dates.some(Oe=>!Oe.date||!Oe.startTime)){b("Todas las fechas deben tener fecha y hora de inicio");return}if(ne.length>0&&!F){U(!0),b("Se han detectado conflictos con las fechas seleccionadas. Revisa las advertencias abajo.");return}b(""),o(!0);const Re=!!t&&ko(t)||!t&&u.formType==="oficinAceleraPyme";try{let Oe=u.imageUrl,Ue=u.referenceDocumentUrl;if(f){A(!0);try{Oe=Re?await R0(f,"imagenes"):await Jw(f)}catch(Dt){console.error("Error uploading image:",Dt),Dt instanceof Error?b(Dt.message):b("Error al subir la imagen. Por favor, inténtelo de nuevo.");return}finally{A(!1)}}if(m){A(!0);try{Ue=Re?await R0(m,"documentos"):await Jw(m,"CREACION EMPRESA")}catch(Dt){console.error("Error uploading reference document:",Dt),Dt instanceof Error?b(Dt.message):b("Error al subir el documento de referencia. Por favor, inténtelo de nuevo.");return}finally{A(!1)}}const Ft=[];for(let Dt=0;Dt<u.footerImages.length;Dt++){const yr=u.footerImages[Dt],Kn=K.get(Dt);if(Kn){L(!0);try{const dr=Re?await R0(Kn,"footer"):await Jw(Kn);Ft.push({url:dr,caption:yr.caption})}catch(dr){console.error("Error uploading footer image:",dr),dr instanceof Error?b(dr.message):b("Error al subir la imagen de pie. Por favor, inténtelo de nuevo.");return}finally{L(!1)}}else yr.url&&!yr.url.startsWith("data:")&&Ft.push(yr)}
4647const gt={...u,imageUrl:Oe,referenceDocumentUrl:Ue||null,endDate:u.endDate||null,footerImages:Ft,dates:u.dates.map(Dt=>({...Dt,date:new Date(Dt.date).toISOString().split("T")[0]})),registrationLimit:u.registrationLimit?parseInt(u.registrationLimit):null,registrationDeadline:u.registrationDeadline||null,formType:u.formType,requiresDigitalCertificate:u.requiresDigitalCertificate,requiresEntrepreneurshipDocs:u.requiresEntrepreneurshipDocs,issueCredential:u.issueCredential,forceRegistrationOpen:u.forceRegistrationOpen,createdBy:(n==null?void 0:n.email)||null};let Kr=t;if(Re)if(t)await Nce(t,gt);else{const Dt=await Ece(gt);Kr=Dt==null?void 0:Dt.id}else if(t)await dce(t,gt);else{const Dt=await uce(gt);Kr=Dt==null?void 0:Dt.id}if(Kr){const Dt=`${window.location.origin}/eventos/${Kr}`;fetch("https://pthgnwpzudehwhhogosv.supabase.co/functions/v1/seo-notify-indexing",{method:"POST",headers:{Authorization:"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InB0aGdud3B6dWRlaHdoaG9nb3N2Iiwicm9sZSI6ImFub24iLCJpYXQiOjE3NjE3MjQzNjksImV4cCI6MjA3NzMwMDM2OX0.sQrdgSQOFZItqIpO88cLQv2XhyOJneMxk86aTNETanY","Content-Type":"application/json"},body:JSON.stringify({eventUrl:Dt,eventTitle:u.title})}).catch(Kn=>console.error("SEO indexing notification failed:",Kn))}e("/admin/dashboard")}catch(Oe){console.error("Error saving event:",Oe),Oe instanceof Error?b(Oe.message):b("Error al guardar el evento. Por favor, inténtelo de nuevo.")}finally{o(!1)}};function $e(){const Ie=t?`${window.location.origin}/eventos/${t}`:void 0;return{title:u.title||"Evento",content:u.content,dates:u.dates,imageUrl:E||u.imageUrl,registrationEmail:u.registrationEmail,footerImages:u.footerImages,category:u.category,eventUrl:Ie}}function Se(Ie,Re){ue({message:Ie,type:Re}),setTimeout(()=>ue(null),3e3)}const Ve=async()=>{M(!1);try{await YNe($e()),Se("HTML copiado al portapapeles. Pégalo en Mailchimp > Pegar código.","success")}catch{Se("Error al copiar. Prueba con la opción ZIP.","error")}},vt=()=>{M(!1),ZNe($e()),Se("ZIP descargado. Impórtalo en Mailchimp > Importar ZIP.","success")},Tt=()=>{if(M(!1),!t){Se("Guarda el evento primero para obtener la URL.","error");return}const Ie=ko(t),Re="https://pthgnwpzudehwhhogosv.supabase.co",Oe=Ie?"oap":"event",Ue=window.location.origin,gt=`${Re}/functions/v1/mailchimp-template?id=${t}&type=${Oe}&origin=${encodeURIComponent(Ue)}&apikey=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InB0aGdud3B6dWRlaHdoaG9nb3N2Iiwicm9sZSI6ImFub24iLCJpYXQiOjE3NjE3MjQzNjksImV4cCI6MjA3NzMwMDM2OX0.sQrdgSQOFZItqIpO88cLQv2XhyOJneMxk86aTNETanY`;navigator.clipboard.writeText(gt).then(()=>{Se("URL copiada. Pégala en Mailchimp > Importar de URL.","success")}).catch(()=>{Se(`URL: ${gt}`,"error")})};return i?l.jsx("div",{className:"flex justify-center items-center min-h-[400px]",children:l.jsx("div",{className:"animate-spin rounded-full h-12 w-12 border-b-2 border-[#CF163D]"})}):l.jsxs("div",{className:"max-w-4xl mx-auto px-4",children:[l.jsx("h1",{className:"text-3xl font-bold text-[#CF163D] mb-8",children:t?"Editar Evento":"Nuevo Evento"}),y&&l.jsxs("div",{className:"bg-red-100 border border-red-400 text-red-700 px-4 py-3 rounded mb-4 relative",children:[l.jsxs("div",{className:"flex items-center",children:[l.jsx(rs,{className:"h-5 w-5 mr-2"}),l.jsx("span",{className:"block sm:inline",children:y})]}),l.jsx("button",{onClick:()=>b(""),className:"absolute top-0 bottom-0 right-0 px-4 py-3",children:l.jsx(vi,{className:"h-5 w-5"})})]}),l.jsxs("form",{onSubmit:rt,className:"space-y-6",children:[l.jsxs("div",{children:[l.jsx("label",{htmlFor:"title",className:"block text-sm font-medium text-gray-700 mb-1",children:"TÃtulo *"}),l.jsx("input",{type:"text",id:"title",name:"title",required:!0,value:u.title,onChange:de,className:"w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-primary focus:border-primary"})]}),l.jsxs("div",{children:[l.jsx("label",{htmlFor:"category",className:"block text-sm font-medium text-gray-700 mb-1",children:"CategorÃa *"}),l.jsxs("select",{id:"category",name:"category",required:!0,value:u.category,onChange:de,className:"w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-primary focus:border-primary bg-white",children:[l.jsx("option",{value:"Evento",children:"Evento"}),l.jsx("option",{value:"Formacion",children:"Formación"})]})]}),l.jsxs("div",{children:[l.jsx("label",{htmlFor:"formType",className:"block text-sm font-medium text-gray-700 mb-1",children:"Tipo de formulario de inscripción *"}),l.jsxs("select",{id:"formType",name:"formType",required:!0,value:u.formType,onCh
4647ange:de,className:"w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-primary focus:border-primary bg-white",children:[l.jsx("option",{value:"basic",children:"Básico"}),l.jsx("option",{value:"superBasico",children:"Súper Básico"}),l.jsx("option",{value:"formacion",children:"Formación"}),l.jsx("option",{value:"tallerOnlineFiscalidad",children:"Formulario Emprendimiento"}),l.jsx("option",{value:"oficinAceleraPyme",children:"Formulario Oficina Acelera Pyme"}),l.jsx("option",{value:"consolidate",children:"Consolidate"}),l.jsx("option",{value:"canariasExpande",children:"Canarias Expande"}),l.jsx("option",{value:"delegacionGubernamental",children:"Delegación Gubernamental"}),l.jsx("option",{value:"enhanced",children:"Avanzado (con carga de documentos)"})]})]}),l.jsxs("div",{children:[l.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Modalidad del evento"}),l.jsxs("div",{className:"grid grid-cols-2 gap-4 max-w-md",children:[l.jsxs("button",{type:"button",onClick:()=>d(Ie=>({...Ie,modality:"presencial"})),className:`flex items-center justify-center gap-2 px-4 py-3 rounded-lg border-2 transition-all duration-200 ${u.modality==="presencial"?"border-emerald-500 bg-emerald-50 text-emerald-700 shadow-sm":"border-gray-300 bg-white text-gray-500 hover:border-gray-400"}`,children:[l.jsx(Eh,{className:"w-5 h-5"}),l.jsx("span",{className:"text-sm font-semibold",children:"Presencial"})]}),l.jsxs("button",{type:"button",onClick:()=>d(Ie=>({...Ie,modality:"virtual"})),className:`flex items-center justify-center gap-2 px-4 py-3 rounded-lg border-2 transition-all duration-200 ${u.modality==="virtual"?"border-blue-500 bg-blue-50 text-blue-700 shadow-sm":"border-gray-300 bg-white text-gray-500 hover:border-gray-400"}`,children:[l.jsx(up,{className:"w-5 h-5"}),l.jsx("span",{className:"text-sm font-semibold",children:"Virtual"})]})]}),l.jsx("p",{className:"text-xs text-gray-500 mt-2",children:"Esta etiqueta aparecerá destacada sobre la imagen del evento en el listado y en la ficha detallada"})]}),l.jsx($Ne,{formType:u.formType,requiresDigitalCertificate:u.requiresDigitalCertificate}),u.formType==="enhanced"&&l.jsx("div",{className:"bg-blue-50 p-4 rounded-lg",children:l.jsxs("label",{className:"flex items-start gap-3",children:[l.jsx("input",{type:"checkbox",name:"requiresDigitalCertificate",checked:u.requiresDigitalCertificate,onChange:pe,className:"mt-1 h-4 w-4 text-primary focus:ring-primary border-gray-300 rounded"}),l.jsxs("div",{className:"flex-1",children:[l.jsx("span",{className:"text-sm font-medium text-gray-900",children:"Requiere certificado digital o DNI electrónico"}),l.jsx("p",{className:"text-xs text-gray-600 mt-1",children:"Los participantes deberán declarar que cuentan con certificado digital o DNI electrónico"})]})]})}),u.formType==="tallerOnlineFiscalidad"&&l.jsx("div",{className:"bg-amber-50 border border-amber-200 p-4 rounded-lg",children:l.jsxs("label",{className:"flex items-start gap-3",children:[l.jsx("input",{type:"checkbox",name:"requiresEntrepreneurshipDocs",checked:u.requiresEntrepreneurshipDocs,onChange:pe,className:"mt-1 h-4 w-4 text-amber-600 focus:ring-amber-500 border-gray-300 rounded"}),l.jsxs("div",{className:"flex-1",children:[l.jsx("span",{className:"text-sm font-medium text-gray-900",children:"Requerir documentación adicional de alta"}),l.jsx("p",{className:"text-xs text-gray-600 mt-1",children:"El inscrito deberá subir obligatoriamente: Modelo 036/037 (AEAT), Resolución de Alta en la RETA (Seguridad Social) y DNI o NIE"})]})]})}),l.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:[l.jsxs("div",{className:"lg:col-span-2 space-y-4",children:[l.jsxs("div",{className:"flex items-center justify-between",children:[l.jsx("label",{className:"block text-sm font-medium text-gray-700",children:"Fechas del evento *"}),l.jsxs("button",{type:"button",onClick:Qe,className:"text-sm text-[#CF163D] hover:text-[#A61131] flex items-center gap-1",children:[l.jsx(mS,{className:"w-4 h-4"}),l.jsx("span",{children:"Añadir fecha"})]})]}),l.jsx("div",{className:"space-y-4",children:u.dates.map((Ie,Re)=>{const Oe=Ie.date?Ze(Ie.date):[],Ue=Oe.length>0;return l.jsxs("div",{className:"space-y-2",children:[l.jsxs("div",{className:"flex gap-4 items-start",children:[l.jsxs("div",{className:"flex-1",children:[l.jsx("label",{className:"block text-xs text-gray-500 mb-1",children:"Fecha"}
4647),l.jsx("input",{type:"date",required:!0,value:Ie.date,onChange:Ft=>be(Re,"date",Ft.target.value),className:`w-full px-4 py-2 border rounded-md focus:ring-primary focus:border-primary ${Ue?"border-orange-400 bg-orange-50":"border-gray-300"}`})]}),l.jsxs("div",{children:[l.jsx("label",{className:"block text-xs text-gray-500 mb-1",children:"Hora inicio"}),l.jsx("input",{type:"time",required:!0,value:Ie.startTime,onChange:Ft=>be(Re,"startTime",Ft.target.value),className:`w-full px-4 py-2 border rounded-md focus:ring-primary focus:border-primary ${Ue?"border-orange-400 bg-orange-50":"border-gray-300"}`})]}),l.jsxs("div",{children:[l.jsx("label",{className:"block text-xs text-gray-500 mb-1",children:"Hora fin"}),l.jsx("input",{type:"time",value:Ie.endTime,onChange:Ft=>be(Re,"endTime",Ft.target.value),className:`w-full px-4 py-2 border rounded-md focus:ring-primary focus:border-primary ${Ue?"border-orange-400 bg-orange-50":"border-gray-300"}`})]}),u.dates.length>1&&l.jsx("button",{type:"button",onClick:()=>Me(Re),className:"mt-6 p-2 text-gray-400 hover:text-red-600 transition-colors",children:l.jsx(Nh,{className:"w-5 h-5"})})]}),Ue&&l.jsx("div",{className:"bg-orange-50 border border-orange-200 rounded-md p-3",children:l.jsxs("div",{className:"flex items-start gap-2",children:[l.jsx(C6,{className:"w-5 h-5 text-orange-600 flex-shrink-0 mt-0.5"}),l.jsxs("div",{className:"flex-1",children:[l.jsxs("p",{className:"text-sm font-medium text-orange-900 mb-2",children:["Conflictos detectados para ",St(new Date(Ie.date),"dd/MM/yyyy",{locale:er})]}),l.jsx("div",{className:"space-y-1",children:Oe.map((Ft,gt)=>l.jsxs("div",{className:"text-xs text-orange-800 flex items-center gap-2",children:[Ft.type==="event"?l.jsx(Jr,{className:"w-3 h-3"}):l.jsx(da,{className:"w-3 h-3"}),l.jsxs("span",{className:"font-medium",children:[Ft.type==="event"?"Evento":"Reserva",":"]}),l.jsx("span",{children:Ft.title}),l.jsxs("span",{className:"text-orange-600",children:["(",Ft.startTime,Ft.endTime?` - ${Ft.endTime}`:"",")"]})]},gt))})]})]})})]},Re)})}),te&&l.jsxs("div",{className:"text-sm text-gray-500 flex items-center gap-2",children:[l.jsx("div",{className:"animate-spin rounded-full h-4 w-4 border-b-2 border-gray-500"}),"Verificando conflictos..."]}),ne.length>0&&l.jsx("div",{className:"bg-yellow-50 border border-yellow-200 rounded-lg p-4",children:l.jsxs("div",{className:"flex items-start gap-3",children:[l.jsx(C6,{className:"w-6 h-6 text-yellow-600 flex-shrink-0 mt-0.5"}),l.jsxs("div",{className:"flex-1",children:[l.jsxs("h4",{className:"text-sm font-semibold text-yellow-900 mb-2",children:["Se han detectado ",ne.length," fecha",ne.length>1?"s":""," con conflictos"]}),l.jsx("p",{className:"text-sm text-yellow-800 mb-3",children:"Las fechas seleccionadas se solapan con eventos o reservas existentes. Puedes continuar si deseas programar múltiples eventos en las mismas fechas."}),F&&l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx("button",{type:"button",onClick:()=>{U(!1),b("")},className:"text-sm bg-yellow-600 text-white px-4 py-2 rounded-md hover:bg-yellow-700 transition-colors",children:"Continuar de todas formas"}),l.jsx("span",{className:"text-xs text-yellow-700",children:"Haz clic para confirmar que deseas crear este evento a pesar de los conflictos"})]})]})]})})]}),l.jsx("div",{className:"lg:col-span-1",children:l.jsx(tSe,{occupiedDates:ce,excludeEventId:t})})]}),l.jsxs("div",{children:[l.jsx("label",{htmlFor:"registrationEmail",className:"block text-sm font-medium text-gray-700 mb-1",children:"Email para recibir inscripciones *"}),l.jsx("input",{type:"email",id:"registrationEmail",name:"registrationEmail",required:!0,value:u.registrationEmail,onChange:de,className:"w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-primary focus:border-primary"})]}),l.jsxs("div",{children:[l.jsx("label",{htmlFor:"registrationLimit",className:"block text-sm font-medium text-gray-700 mb-1",children:"LÃmite de inscripciones"}),l.jsxs("div",{className:"relative",children:[l.jsx("input",{type:"number",id:"registrationLimit",name:"registrationLimit",min:"1",value:u.registrationLimit,onChange:de,placeholder:"Sin lÃmite",className:"w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-primary focus:border-primary"}),l.jsx("span",{className:"text-xs text-gray-500 mt-1 block",children:"Deja en blanco para no establecer lÃmite"})]})]}),l.jsxs("div",{children:[l.jsx("label",{htmlFor:"registrationDeadline",className:"block text-sm font-medium text-gray-700 mb-1",children:"Fecha lÃmite de inscripción"}),l.jsx("input",{type:"datetime-local",id:"registrationDeadline",name:"registrationDeadline",value:u.registrationDeadline,onChange:de,className:"w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-primary focus:border-primary"}),l.jsx("span",{className:"text-xs text-gray-500 mt-1 block",children:"Deja en blanco para mantener las inscripciones abiertas hasta la fecha del evento"})]}),l.jsxs("div",{children:[l.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:"Imagen del evento (máx. 20MB)"}),l.jsx("input",{type:"file",accept:"image/*",onChange:De,className:"w-full mb-4"}),E&&l.jsxs("div",{className:"relative mt-2 max-w-2xl mx-auto",children:[l.jsx("img",{src:E,alt:"Preview",className:"w-full h-auto rounded-lg shadow-md object-cover aspect-[16/9]"}),l.jsx("div",{className:"mt-2 text-sm text-gray-500",children:"La imagen se ajustará automáticamente a un formato 16:9 manteniendo la proporción"})]})]}),(u.formType==="tallerOnlineFiscalidad"||u.formType==="oficinAceleraPyme")&&l.jsxs("div",{children:[l.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:"Documento de referencia (máx. 10MB)"}),l.jsx("p",{className:"text-xs text-gray-500 mb-2",children:"Este documento estará disponible para descarga durante el proceso de inscripción"}),l.jsx("input",{type:"file",accept:".pdf,.doc,.docx,image/*",onChange:oe,className:"w-full mb-4"}),x&&l.jsx("div",{className:"mt-2",children:x.startsWith("Archivo seleccionado:")?l.jsx("div",{className:"text-sm text-gray-600",children:x}):l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx("span",{className:"text-sm text-gray-600",children:"Documento actual:"}),l.jsx("a",{href:x,target:"_blank",rel:"noopener noreferrer",className:"text-blue-600 hover:text-blue-800 text-sm underline",children:"Ver documento"})]})})]}),l.jsxs("div",{children:[l.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Contenido *"}),l.jsx("div",{className:"bg-white rounded-xl shadow-sm border border-gray-200 overflow-hidden",children:l.jsx(eSe,{value:u.content,onChange:ot,placeholder:"Escribe el contenido del evento aquÃ. Puedes usar la barra de herramientas para dar formato al texto."})})]}),l.jsxs("div",{children:[l.jsxs("div",{className:"flex items-center justify-between mb-2",children:[l.jsx("label",{className:"block text-sm font-medium text-gray-700",children:"Imágenes de pie de ficha"}),l.jsxs("button",{type:"button",onClick:Ke,className:"text-sm text-[#CF163D] hover:text-[#A61131] flex items-center gap-1",children:[l.jsx(mS,{className:"w-4 h-4"}),l.jsx("span",{children:"Añadir imagen"})]})]}),l.jsx("p",{className:"text-xs text-gray-500 mb-4",children:"Estas imágenes aparecerán en la parte inferior de la ficha del evento, separadas del contenido principal"}),u.footerImages.length>0&&l.jsx("div",{className:"space-y-4",children:u.footerImages.map((Ie,Re)=>l.jsxs("div",{className:"border border-gray-300 rounded-lg p-4 bg-gray-50",children:[l.jsxs("div",{className:"flex items-start justify-between mb-3",children:[l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx(N6,{className:"w-5 h-5 text-gray-500"}),l.jsxs("span",{className:"text-sm font-medium text-gray-700",children:["Imagen ",Re+1]})]}),l.jsx("button",{type:"button",onClick:()=>dt(Re),className:"p-1 text-gray-400 hover:text-red-600 transition-colors",children:l.jsx(Nh,{className:"w-5 h-5"})})]}),l.jsxs("div",{className:"space-y-3",children:[l.jsxs("div",{children:[l.jsx("label",{className:"block text-xs font-medium text-gray-600 mb-1",children:"Imagen (máx. 10MB)"}),l.jsx("input",{type:"file",accept:"image/*",onChange:Oe=>Ee(Oe,Re),className:"w-full text-sm"})]}),Ie.url&&l.jsx("div",{className:"relative",children:l.jsx("img",{src:Ie.url,alt:`Footer ${Re+1}`,className:"w-full h-32 object-cover rounded-md"})}),l.jsxs("div",{children:[l.jsx("label",{className:"block text-xs font-medium text-gray-600 mb-1",children:"Texto descriptivo (opcional)"}),l.jsx("input",{type:"text",value:Ie.caption||"",onChange:Oe=>We(Re,Oe.target.value),placeholder:"Ej: Logotipo de patrocinador, imagen descriptiva...",className:"w-full px-3 py-2 text-sm border border-gray-300 rounded-md focus:ring-primary focus:border-primary"})]})]})]},Re))}),u.footerImages.length===0&&l.jsxs("div",{className:"border-2 border-dashed border-gray-300 rounded-lg p-8 text-center",children:[l.jsx(N6,{className:"w-12 h-12 text-gray-400 mx-auto mb-3"}),l.jsx("p",{className:"text-sm text-gray-500 mb-2",children:"No hay imágenes de pie añadidas"}),l.jsx("p",{className:"text-xs text-gray-400",children:'Haz clic en "Añadir imagen" para incluir imágenes en el pie de la ficha del evento'})]})]}),l.jsxs("div",{children:[l.jsxs("label",{className:"flex items-center space-x-3",children:[l.jsx("input",{type:"checkbox",id:"forceRegistrationOpen",name:"forceRegistrationOpen",checked:u.forceRegistrationOpen,onChange:pe,className:"h-4 w-4 text-primary focus:ring-primary border-gray-300 rounded"}),l.jsx("span",{className:"text-sm font-medium text-gray-700",children:"Forzar inscripciones abiertas"})]}),l.jsx("p",{className:"text-xs text-gray-500 mt-1 ml-7",children:"Permite inscribirse aunque la fecha del evento o el plazo hayan pasado. Util cuando quedan plazas disponibles."})]}),l.jsxs("div",{children:[l.jsxs("label",{className:"flex items-center space-x-3",children:[l.jsx("input",{type:"checkbox",id:"issueCredential",name:"issueCredential",checked:u.issueCredential,onChange:pe,className:"h-4 w-4 text-primary focus:ring-primary border-gray-300 rounded"}),l.jsx("span",{className:"text-sm font-medium text-gray-700",children:"Emitir credencial de participación automáticamente"})]}),l.jsx("p",{className:"text-xs text-gray-500 mt-1 ml-7",children:"Si está desactivado, los participantes no recibirán credencial automáticamente al inscribirse"})]}),l.jsxs("div",{className:"border rounded-lg overflow-hidden",children:[l.jsxs("button",{type:"button",className:"w-full px-4 py-3 bg-gray-50 hover:bg-gray-100 transition-colors flex items-center justify-between",onClick:()=>B(!I),children:[l.jsx("span",{className:"font-medium text-gray-700",children:"Personalización de credenciales"}),I?l.jsx(YC,{className:"w-5 h-5 text-gray-500"}):l.jsx(qv,{className:"w-5 h-5 text-gray-500"})]}),I&&l.jsx("div",{className:"p-4 space-y-4",children:l.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:[l.jsxs("div",{className:"space-y-4",children:[l.jsx("h3",{className:"text-sm font-semibold text-gray-700 mb-3",children:"Configuración de Diseño"}),l.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[l.jsxs("div",{children:[l.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:"Color principal"}),l.jsxs("div",{className:"relative",children:[l.jsxs("button",{type:"button",className:"w-full h-8 rounded border flex items-center px-2 gap-1 text-sm",onClick:()=>{O(!_),T(!1)},style:{backgroundColor:u.credentialSettings.primaryColor,color:"white"},children:[l.jsx("div",{className:"w-4 h-4 rounded border",style:{backgroundColor:u.credentialSettings.primaryColor}}),l.jsx("span",{className:"truncate",children:"Principal"})]}),_&&l.jsx("div",{className:"absolute z-10 mt-1",children:l.jsx(Gb,{color:u.credentialSettings.primaryColor,onChange:Ie=>Xe("primaryColor",Ie)})})]})]}),l.jsxs("div",{children:[l.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:"Color secundario"}),l.jsxs("div",{className:"relative",children:[l.jsxs("button",{type:"button",className:"w-full h-8 rounded border flex items-center px-2 gap-1 text-sm",onClick:()=>{T(!j),O(!1)},style:{backgroundColor:u.credentialSettings.secondaryColor,color:"white"},children:[l.jsx("div",{className:"w-4 h-4 rounded border",style:{backgroundColor:u.credentialSettings.secondaryColor}}),l.jsx("span",{className:"truncate",children:"Secundario"})]}),j&&l.jsx("div",{className:"absolute z-10 mt-1",children:l.jsx(Gb,{color:u.credentialSettings.secondaryColor,onChange:Ie=>Xe("secondaryColor",Ie)})})]})]})]}),l.jsxs("div",{children:[l.jsxs("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:["Orientación del gradiente (",u.credentialSettings.gradientAngle,"°)"]}),l.jsx("input",{type:"range",min:"0",max:"360",value:u.credentialSettings.gradientAngle,onChange:Ie=>Xe("gradientAngle",parseInt(Ie.target.value)),className:"w-full"}),l.jsx("div",{className:"grid grid-cols-4 gap-1 mt-1",children:[0,45,90,135,180,225,270,315].map(Ie=>l.jsxs("button",{type:"button",onClick:()=>Xe("gradientAngle",Ie),className:`px-1 py-0.5 text-xs rounded ${u.credentialSettings.gradientAngle===Ie?"bg-primary text-white":"bg-gray-100 text-gray-700 hover:bg-gray-200"}`,children:[Ie,"°"]},Ie))})]}),l.jsxs("div",{children:[l.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:"Tamaño del texto"}),l.jsxs("select",{value:u.credentialSettings.textSize,onChange:Ie=>Xe("textSize",Ie.target.value),className:"w-full px-2 py-1.5 border rounded-md text-sm",children:[l.jsx("option",{value:"small",children:"Pequeño"}),l.jsx("option",{value:"normal",children:"Normal"}),l.jsx("option",{value:"large",children:"Grande"})]})]}),l.jsxs("div",{children:[l.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:"Estilo del borde"}),l.jsxs("select",{value:u.credentialSettings.borderStyle,onChange:Ie=>Xe("borderStyle",Ie.target.value),className:"w-full px-2 py-1.5 border rounded-md text-sm",children:[l.jsx("option",{value:"solid",children:"Sólido"}),l.jsx("option",{value:"dashed",children:"Discontinuo"}),l.jsx("option",{value:"dotted",children:"Punteado"}),l.jsx("option",{value:"double",children:"Doble"})]})]}),l.jsxs("div",{children:[l.jsxs("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:["Grosor del borde (",u.credentialSettings.borderWidth,"px)"]}),l.jsx("input",{type:"range",min:"0",max:"5",value:u.credentialSettings.borderWidth,onChange:Ie=>Xe("borderWidth",parseInt(Ie.target.value)),className:"w-full"})]}),l.jsxs("div",{children:[l.jsxs("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:["Redondeo de esquinas (",u.credentialSettings.borderRadius,"px)"]}),l.jsx("input",{type:"range",min:"0",max:"20",value:u.credentialSettings.borderRadius,onChange:Ie=>Xe("borderRadius",parseInt(Ie.target.value)),className:"w-full"})]}),l.jsxs("div",{className:"space-y-2 pt-2",children:[l.jsxs("label",{className:"flex items-center gap-2",children:[l.jsx("input",{type:"checkbox",checked:u.credentialSettings.showHeaderImage,onChange:Ie=>Xe("showHeaderImage",Ie.target.checked),className:"rounded text-primary"}),l.jsx("span",{className:"text-sm",children:"Mostrar imagen del evento"})]}),l.jsxs("label",{className:"flex items-center gap-2",children:[l.jsx("input",{type:"checkbox",checked:u.credentialSettings.showFooterImage,onChange:Ie=>
4647Xe("showFooterImage",Ie.target.checked),className:"rounded text-primary"}),l.jsx("span",{className:"text-sm",children:"Mostrar pie de credencial"})]}),l.jsxs("label",{className:"flex items-center gap-2",children:[l.jsx("input",{type:"checkbox",checked:u.credentialSettings.showLogo,onChange:Ie=>Xe("showLogo",Ie.target.checked),className:"rounded text-primary"}),l.jsx("span",{className:"text-sm",children:"Mostrar logo y texto legal"})]})]})]}),l.jsxs("div",{className:"lg:border-l lg:pl-6",children:[l.jsx(YK,{event:{title:u.title||"TÃtulo del Evento",imageUrl:E||u.imageUrl,dates:u.dates.filter(Ie=>Ie.date).length>0?u.dates.filter(Ie=>Ie.date):[{date:new Date().toISOString().split("T")[0],startTime:"09:00",endTime:"18:00"}],credentialSettings:u.credentialSettings},showLabel:!0}),l.jsx("div",{className:"mt-4 p-3 bg-blue-50 border border-blue-200 rounded-lg",children:l.jsx("p",{className:"text-xs text-blue-800",children:"Esta es una vista previa de cómo se verán las credenciales para este evento. Los cambios se reflejan en tiempo real."})})]})]})})]}),J&&l.jsxs("div",{className:`fixed bottom-6 left-1/2 -translate-x-1/2 z-50 flex items-center gap-2 px-5 py-3 rounded-lg shadow-lg text-sm font-medium transition-all ${J.type==="success"?"bg-green-600 text-white":"bg-red-600 text-white"}`,children:[J.type==="success"?l.jsx(Fo,{className:"w-4 h-4 shrink-0"}):l.jsx(rs,{className:"w-4 h-4 shrink-0"}),J.message]}),l.jsxs("div",{className:"flex flex-wrap gap-3 pt-4",children:[l.jsx("button",{type:"button",onClick:()=>e("/admin/dashboard"),className:"px-4 py-2 border border-gray-300 rounded-md text-gray-700 hover:bg-gray-50",children:"Cancelar"}),l.jsxs("div",{className:"relative",children:[l.jsxs("button",{type:"button",onClick:()=>M(Ie=>!Ie),className:"px-4 py-2 border border-gray-300 rounded-md text-gray-700 hover:bg-gray-50 flex items-center gap-2 transition-colors",children:[l.jsx(Ip,{className:"w-4 h-4 text-green-600"}),"Plantilla Mailchimp",l.jsx(qv,{className:`w-3.5 h-3.5 text-gray-400 transition-transform ${R?"rotate-180":""}`})]}),R&&l.jsxs(l.Fragment,{children:[l.jsx("div",{className:"fixed inset-0 z-10",onClick:()=>M(!1)}),l.jsxs("div",{className:"absolute left-0 bottom-full mb-2 w-80 bg-white border border-gray-200 rounded-xl shadow-xl z-20 overflow-hidden",children:[l.jsx("div",{className:"px-4 py-2.5 bg-gray-50 border-b border-gray-100",children:l.jsx("p",{className:"text-xs font-semibold text-gray-500 uppercase tracking-wider",children:"Exportar plantilla a Mailchimp"})}),l.jsxs("button",{type:"button",onClick:Ve,className:"w-full flex items-start gap-3 px-4 py-3.5 hover:bg-gray-50 transition-colors text-left border-b border-gray-100",children:[l.jsx("span",{className:"mt-0.5 p-1.5 bg-blue-50 rounded-md shrink-0",children:l.jsx(pse,{className:"w-4 h-4 text-blue-600"})}),l.jsxs("span",{children:[l.jsx("span",{className:"block text-sm font-medium text-gray-800",children:"Pegar código"}),l.jsx("span",{className:"block text-xs text-gray-500 mt-0.5",children:"Copia el HTML al portapapeles para pegarlo directamente en Mailchimp"})]})]}),l.jsxs("button",{type:"button",onClick:vt,className:"w-full flex items-start gap-3 px-4 py-3.5 hover:bg-gray-50 transition-colors text-left border-b border-gray-100",children:[l.jsx("span",{className:"mt-0.5 p-1.5 bg-amber-50 rounded-md shrink-0",children:l.jsx(xse,{className:"w-4 h-4 text-amber-600"})}),l.jsxs("span",{children:[l.jsx("span",{className:"block text-sm font-medium text-gray-800",children:"Importar ZIP"}),l.jsx("span",{className:"block text-xs text-gray-500 mt-0.5",children:"Descarga un archivo ZIP listo para subir en Mailchimp"})]})]}),l.jsxs("button",{type:"button",onClick:Tt,className:`w-full flex items-start gap-3 px-4 py-3.5 hover:bg-gray-50 transition-colors text-left ${t?"":"opacity-50 cursor-not-allowed"}`,disabled:!t,children:[l.jsx("span",{className:"mt-0.5 p-1.5 bg-green-50 rounded-md shrink-0",children:l.jsx(Nse,{className:"w-4 h-4 text-green-600"})}),l.jsxs("span",{children:[l.jsx("span",{className:"block text-sm font-medium text-gray-800",children:"Importar de URL"}),l.jsx("span",{className:"block text-xs text-gray-500 mt-0.5",children:t?"Copia la URL de la plantilla alojada para importarla en Mailchimp":"Guarda el evento primero para usar esta opción"})]})]})]})]})]}),l.jsx("button",{type:"submit",disabled:s||c,className:"px-4 py-2 bg-primary text-white rounded-md hover:bg-primary-dark disabled:opacity-50",children:s?"Guardando...":c?"Subiendo imagen...":"Guardar Evento"})]})]})]})},KA=()=>{const t=ud(),[e,r]=Z.useState(!1),[n,i]=Z.useState(!0),s=t.pathname.includes("jean-michel-tordeur")?"full-name":t.pathname.includes("jm
4647-tordeur")?"jm":t.pathname.includes("jimmy-tordeur")?"jimmy":"default";Z.useEffect(()=>{window.scrollTo(0,0);const u={"full-name":"Jean Michel Tordeur - Ingeniero Informático y Desarrollador Full Stack | Fuerteventura",jm:"JM Tordeur - Experto en Desarrollo de Software y Hardware | Cámara de Comercio Fuerteventura",jimmy:"Jimmy Tordeur - Desarrollador Web Full Stack e Ingeniero de Sistemas | Fuerteventura",default:"Jean Michel Jimmy Tordeur - Ingeniero Informático | Cámara de Comercio Fuerteventura"},d={"full-name":"Jean Michel Tordeur (J.M Tordeur, J M Tordeur) es un ingeniero informático belgo-francés con Máster en IngenierÃa Informática y más de 2 años de experiencia en Canarias, especializado en desarrollo full stack, bases de datos SQL, diseño web y aplicaciones empresariales. Responsable tecnológico de la Cámara de Comercio de Fuerteventura.",jm:"JM Tordeur (Jean Michel Tordeur, J.M Tordeur, J M Tordeur) - Ingeniero belgo-francés de hardware y software con Máster en IngenierÃa Informática y más de 2 años transformando la tecnologÃa en Canarias. Experiencia en React, TypeScript, Python, Supabase, Firebase y desarrollo de soluciones tecnológicas para empresas en Fuerteventura.",jimmy:"Jimmy Tordeur (Jean Michel Tordeur, JM Tordeur, J.M Tordeur, J M Tordeur) - Desarrollador web full stack belgo-francés con Máster en IngenierÃa Informática y más de 2 años de experiencia en Canarias, experto en inteligencia artificial, automatización, cloud computing y diseño de aplicaciones. Ingeniero informático en Cámara de Comercio Fuerteventura.",default:"Jean Michel Jimmy Tordeur (JM Tordeur, J.M Tordeur, J M Tordeur) - Ingeniero informático belgo-francés y desarrollador full stack con Máster en IngenierÃa Informática y más de 2 años de experiencia en Canarias, especializado en SQL, JavaScript, Python, diseño web y desarrollo de aplicaciones. Responsable tecnológico en la Cámara de Comercio de Fuerteventura."};document.title=u[s];let f=document.querySelector('meta[name="description"]');f&&f.setAttribute("content",d[s]);const h=()=>{r(window.scrollY>400)};return window.addEventListener("scroll",h),()=>window.removeEventListener("scroll",h)},[s]);const o=u=>{const d=document.getElementById(u);d&&d.scrollIntoView({behavior:"smooth"})},c=()=>{window.scrollTo({top:0,behavior:"smooth"})},A=()=>{switch(s){case"full-name":return l.jsxs(l.Fragment,{children:[l.jsxs("p",{className:"font-bold text-[15px] leading-[1.6] mb-3",children:[l.jsx("strong",{children:"Jean Michel Tordeur"})," es un ingeniero informático con más de 10 años de experiencia en el sector tecnológico, especializado en el desarrollo de soluciones digitales integrales para empresas e instituciones. Actualmente desempeña el rol de Responsable Informático y de Desarrollo Tecnológico en la ",l.jsx("strong",{children:"Cámara Oficial de Comercio, de Industria y de Navegación de Fuerteventura"}),", donde lidera la transformación digital de la institución."]}),l.jsxs("p",{className:"text-[15px] leading-[1.6] mb-3",children:["Conocido también como ",l.jsx("strong",{children:"JM Tordeur"})," o ",l.jsx("strong",{children:"Jimmy Tordeur"}),", Jean Michel ha desarrollado una carrera profesional centrada en la innovación tecnológica, el diseño de aplicaciones web empresariales y la implementación de sistemas de gestión avanzados. Su formación académica abarca tanto ingenierÃa de hardware como desarrollo de software, lo que le proporciona una visión holÃstica de la tecnologÃa y sus aplicaciones prácticas en el mundo empresarial."]})]});case"jm":return l.jsxs(l.Fragment,{children:[l.jsxs("p",{className:"font-bold text-[15px] leading-[1.6] mb-3",children:[l.jsx("strong",{children:"JM Tordeur"})," (nombre completo: Jean Michel Jimmy Tordeur) es un ingeniero de sistemas con amplia experiencia en el diseño y desarrollo de infraestructuras tecnológicas complejas. Su especialización combina conocimientos profundos de ingenierÃa de hardware con habilidades avanzadas en programación y desarrollo de software, creando soluciones tecnológicas robustas y escalables."]}),l.jsxs("p",{className:"text-[15px] leading-[1.6] mb-3",children:["En su posición actual como Responsable Informático de la ",l.jsx("strong",{children:"Cámara de Comercio de Fuerteventura"}),", ",l.jsx("strong",{children:"JM Tordeur"})," ha implementado numerosos proyectos de modernización tecnológica, incluyendo plataformas de gestión de eventos, sistemas de credencialización digital y aplicaciones web de alto rendimiento. Su enfoque técnico se caracteriza por la búsqueda constante de la excelencia en el código y la implementación de las mejores prácticas de desarrollo."]})]});case"jimmy":return l.jsxs(l.Fragment,{children:[l.jsxs("p",{className:"font-bold text-[15px] leading-[1.6] mb-3",children:[l.jsx("strong",{children:"Jimmy Tordeur"})," (Jean Michel Tordeur) es un desarrollador full stack y arquitecto de softw
4647are con pasión por crear experiencias digitales excepcionales. Su trayectoria profesional se caracteriza por la versatilidad técnica y la capacidad de adaptarse a las tecnologÃas más avanzadas del mercado, desde frameworks modernos de JavaScript hasta sistemas de inteligencia artificial."]}),l.jsxs("p",{className:"text-[15px] leading-[1.6] mb-3",children:["Como Responsable Tecnológico en la ",l.jsx("strong",{children:"Cámara de Comercio de Fuerteventura"}),", ",l.jsx("strong",{children:"Jimmy Tordeur"})," combina su experiencia en desarrollo web con conocimientos en automatización de procesos, cloud computing y diseño de experiencia de usuario. Su filosofÃa de trabajo se basa en crear soluciones tecnológicas que no solo funcionen perfectamente, sino que también sean intuitivas, escalables y mantenibles a largo plazo."]})]});default:return l.jsxs(l.Fragment,{children:[l.jsxs("p",{className:"font-bold text-[15px] leading-[1.6] mb-3",children:[l.jsx("strong",{children:"Jean Michel Tordeur"})," (conocido como ",l.jsx("strong",{children:"JM Tordeur"})," o ",l.jsx("strong",{children:"Jimmy Tordeur"}),") es un ingeniero informático con amplia experiencia en el desarrollo de soluciones tecnológicas integrales. Actualmente se desempeña como Responsable Informático y de Desarrollo Tecnológico en la ",l.jsx("strong",{children:"Cámara Oficial de Comercio, de Industria y de Navegación de Fuerteventura"}),"."]}),l.jsxs("p",{className:"text-[15px] leading-[1.6] mb-3",children:["Con una sólida formación en ingenierÃa de hardware y software, ",l.jsx("strong",{children:"Jean Michel Jimmy Tordeur"})," ha desarrollado numerosas plataformas web empresariales, sistemas de gestión de eventos y aplicaciones especializadas para el sector empresarial."]})]})}};return l.jsxs("div",{className:"bg-white min-h-screen",style:{fontFamily:"Georgia, serif"},children:[l.jsxs("div",{className:"max-w-[1200px] mx-auto px-4 py-4",children:[l.jsxs("div",{className:"text-xs mb-4 text-[#54595D]",style:{fontFamily:"Arial, sans-serif"},children:[l.jsx("a",{href:"/",className:"text-[#0645AD] hover:underline",children:"Inicio"}),l.jsx("span",{className:"mx-1",children:"âº"}),l.jsx("span",{children:"Jean Michel Tordeur"})]}),l.jsxs("div",{className:"flex gap-6",children:[l.jsxs("main",{className:"flex-1 min-w-0",children:[l.jsx("h1",{className:"text-[32px] font-bold mb-4 pb-2 border-b border-[#A2A9B1] text-[#202122]",style:{fontFamily:"Arial, sans-serif"},children:"Jean Michel Tordeur"}),l.jsxs("div",{className:"lg:hidden mb-6 border border-[#A2A9B1] bg-[#F8F9FA]",children:[l.jsx("div",{className:"bg-[#EAECF0] px-4 py-2 text-center border-b border-[#A2A9B1]",children:l.jsx("h2",{className:"font-bold text-[15px]",style:{fontFamily:"Arial, sans-serif"},children:"Jean Michel Tordeur"})}),l.jsxs("div",{className:"p-4",children:[l.jsx("img",{src:"/jimmy-tordeur-ingeniero-informatico-fuerteventura.png",alt:"Jean Michel Tordeur",className:"w-full max-w-[280px] mx-auto border border-[#A2A9B1] mb-2"}),l.jsx("p",{className:"text-[11px] text-[#54595D] text-center mb-4",children:"Jean Michel Tordeur en 2025"})]}),l.jsx("table",{className:"w-full text-[12px]",style:{fontFamily:"Arial, sans-serif"},children:l.jsxs("tbody",{children:[l.jsxs("tr",{className:"bg-white",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top w-[35%]",children:"Nombre completo"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:"Jean Michel Jimmy Tordeur"})]}),l.jsxs("tr",{className:"bg-[#F8F9FA]",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"También conocido como"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:"JM Tordeur, Jimmy Tordeur"})]}),l.jsxs("tr",{className:"bg-white",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Nacimiento"}),l.jsxs("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:["30 de mayo de 1980 (45 años)",l.jsx("br",{}),"Créon, Francia"]})]}),l.jsxs("tr",{className:"bg-[#F8F9FA]",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Residencia"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:"Fuerteventura, España"})]}),l.jsxs("tr",{className:"bg-white",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Nacionalidad"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:"Belgo-francés"})]}),l.jsxs("tr",{className:"bg-[#F8F9FA]",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Educación"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:"Máster en IngenierÃa Informática"})]}),l.jsxs("tr",{className:"bg-white",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Ocupación"}),l.jsxs("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:["Ingeniero informático",l.jsx("br",{}
4647),"Diseñador web",l.jsx("br",{}),"Formador tecnológico",l.jsx("br",{}),"Diseñador de aplicaciones"]})]}),l.jsxs("tr",{className:"bg-[#F8F9FA]",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Idiomas"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:"Español, Alemán, Italiano, Francés, Inglés, Neerlandés"})]}),l.jsxs("tr",{className:"bg-white",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Empleador"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:"Cámara de Comercio de Fuerteventura"})]}),l.jsxs("tr",{className:"bg-[#F8F9FA]",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Años activo"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:"2004 - presente"})]}),l.jsxs("tr",{className:"bg-white",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Ãrea"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:"Desarrollo de software, Bases de datos, Hardware"})]}),l.jsxs("tr",{className:"bg-[#F8F9FA]",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Correo"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:l.jsx("a",{href:"mailto:[email protected]",className:"text-[#0645AD] hover:underline break-all text-[11px]",children:"[email protected]"})})]})]})})]}),l.jsxs("div",{className:"text-[15px] leading-[1.6] text-[#202122] mb-6 text-justify",children:[A(),l.jsxs("p",{className:"text-[15px] leading-[1.6] mb-3",children:["La trayectoria profesional de ",l.jsx("strong",{children:"Jean Michel Jimmy Tordeur"})," se ha caracterizado por una constante evolución y adaptación a las nuevas tecnologÃas. Su expertise abarca desde el desarrollo frontend con ",l.jsx("strong",{children:"React"}),", ",l.jsx("strong",{children:"TypeScript"})," y ",l.jsx("strong",{children:"Tailwind CSS"}),", hasta la implementación de backends robustos con ",l.jsx("strong",{children:"Node.js"}),", ",l.jsx("strong",{children:"Express"})," y bases de datos como ",l.jsx("strong",{children:"Supabase"}),", ",l.jsx("strong",{children:"Firebase"})," y ",l.jsx("strong",{children:"PostgreSQL"}),". Esta versatilidad técnica le permite diseñar arquitecturas completas de aplicaciones, desde la concepción hasta el despliegue en producción."]})]}),l.jsxs("div",{className:"bg-[#F8F9FA] border-l-4 border-[#0645AD] p-4 mb-6 italic",children:[l.jsxs("p",{className:"text-[15px] leading-[1.6] text-[#202122] mb-2",children:['"Como ingeniero informático en Fuerteventura, ',l.jsx("strong",{children:"Jimmy Tordeur"}),' (Jean Michel Tordeur, también conocido como JM Tordeur, J.M Tordeur y J M Tordeur) ha dedicado más de 2 años al desarrollo de soluciones tecnológicas innovadoras para instituciones públicas y privadas en Canarias. Su trabajo como ingeniero informático y diseñador web ha transformado la manera en que las organizaciones de Fuerteventura interactúan con la tecnologÃa. Jimmy Tordeur es reconocido en Canarias por su experiencia en desarrollo web, inteligencia artificial y formación tecnológica."']}),l.jsx("p",{className:"text-[13px] text-[#54595D] text-right",children:"â Jean Michel Jimmy Tordeur (Jimmy Tordeur), Responsable de Desarrollo Tecnológico, Cámara de Comercio de Fuerteventura"})]}),l.jsxs("div",{className:"bg-[#F8F9FA] border border-[#A2A9B1] p-4 mb-6 inline-block",children:[l.jsxs("div",{className:"flex items-center justify-between mb-2",children:[l.jsx("h2",{className:"text-sm font-bold text-[#202122]",style:{fontFamily:"Arial, sans-serif"},children:"Contenidos"}),l.jsxs("button",{onClick:()=>i(!n),className:"text-[#0645AD] text-xs",style:{fontFamily:"Arial, sans-serif"},children:["[",n?"ocultar":"mostrar","]"]})]}),n&&l.jsxs("ol",{className:"text-[13px] space-y-1 list-decimal list-inside text-[#0645AD]",style:{fontFamily:"Arial, sans-serif"},children:[l.jsx("li",{children:l.jsx("a",{href:"#biografia",onClick:u=>{u.preventDefault(),o("biografia")},className:"hover:underline",children:"BiografÃa profesional"})}),l.jsx("li",{children:l.jsx("a",{href:"#filosofia",onClick:u=>{u.preventDefault(),o("filosofia")},className:"hover:underline",children:"FilosofÃa de desarrollo"})}),l.jsx("li",{children:l.jsx("a",{href:"#experiencia",onClick:u=>{u.preventDefault(),o("experiencia")},className:"hover:underline",children:"Experiencia profesional"})}),l.jsx("li",{children:l.jsx("a",{href:"#especializacion",onClick:u=>{u.preventDefault(),o("especializacion")},className:"hover:underline",children:"Especialización técnica"})}),l.jsx("li",{children:l.jsx("a",{href:"#proyectos",onClick:u=>{u.preventDefault(),o("proyectos")},className:"hover:underline",children:"Proyectos destacados"})}),l.jsx("li",{children:l.jsx("a",{href:"#conocimiento",onClick:u=>{u.preventDefault(),o("conocimiento")},className:"hover:underline",children:"Conocimiento técnico"})}),l.jsx("li",{children:l.jsx("a",{href:"#formacion",onClick:u=>{u.preventDefault(),o("formacion")},className:"hover:underline",children:"Formación y certificaciones"})}),l.jsx("li",{children:l.jsx("a",{href:"#aficiones",onClick:u=>{u.preventDefault(),o("aficiones")},className:"hover:underline",children:"Vida personal y aficiones"})}),l.jsx("li",{children:l.jsx("a",{href:"#referencias",onClick:u=>{u.preventDefault(),o("referencias")},className:"hover:underline",children:"Referencias"})}),l.jsx("li",{children:l.jsx("a",{href:"#enlaces",onClick:u=>{u.preventDefault(),o("enlaces")},className:"hover:underline",children:"Enlaces externos"})})]})]}),l.jsxs("section",{id:"biografia",className:"mb-8",children:[l.jsx("h2",{className:"text-[24px] font-bold mb-2 pb-1 border-b border-[#A2A9B1] text-[#202122]",style:{fontFamily:"Arial, sans-serif"},children:"BiografÃa profesional"}),l.jsxs("div",{className:"text-[15px] leading-[1.6] text-[#202122] text-justify",children:[l.jsxs("p",{className:"mb-3",children:["En el ámbito del hardware y sistemas, ",l.jsx("strong",{children:"JM Tordeur"})," posee conocimientos profundos en arquitectura de redes, administración de servidores, configuración de sistemas cloud y gestión de infraestructuras IT. Esta combinación única de habilidades software y hardware le permite diagnosticar y resolver problemas desde múltiples ángulos, optimizando tanto el código como la infraestructura subyacente."]}),l.jsxs("p",{className:"mb-3",children:["El trabajo de ",l.jsx("strong",{children:"Jimmy Tordeur"})," en la Cámara de Comercio de Fuerteventura ha sido fundamental para la digitalización de la institución. Ha liderado la implementación de sistemas de gestión empresarial, plataformas de formación online, aplicaciones de credencialización digital y portales web institucionales. Su visión estratég
4647ica combina eficiencia operativa con experiencia de usuario excepcional, logrando que las soluciones tecnológicas sean accesibles tanto para usuarios técnicos como para el público general."]}),l.jsxs("p",{className:"mb-3",children:["Además de su trabajo principal, ",l.jsx("strong",{children:"Jean Michel Tordeur"})," mantiene un interés activo en las últimas tendencias tecnológicas, particularmente en el campo de la inteligencia artificial y el machine learning. Ha implementado sistemas de automatización basados en IA para optimizar procesos empresariales, reducir tareas repetitivas y mejorar la toma de decisiones basada en datos. Su enfoque en Python para proyectos de IA complementa perfectamente su expertise en JavaScript para aplicaciones web."]})]})]}),l.jsxs("section",{id:"filosofia",className:"mb-8",children:[l.jsx("h2",{className:"text-[24px] font-bold mb-2 pb-1 border-b border-[#A2A9B1] text-[#202122]",style:{fontFamily:"Arial, sans-serif"},children:"FilosofÃa de desarrollo"}),l.jsxs("div",{className:"text-[15px] leading-[1.6] text-[#202122] text-justify",children:[l.jsxs("p",{className:"mb-3",children:["La filosofÃa de trabajo de ",l.jsx("strong",{children:"JM Tordeur"})," se fundamenta en tres pilares esenciales: ",l.jsx("strong",{children:"código limpio"}),", ",l.jsx("strong",{children:"escalabilidad"})," y ",l.jsx("strong",{children:"mantenibilidad"}
4647),". Cada proyecto que desarrolla está diseñado pensando no solo en las necesidades inmediatas, sino también en su evolución futura. Esto implica el uso de patrones de diseño probados, arquitecturas modulares y documentación exhaustiva que permita a otros desarrolladores comprender y extender el código fácilmente."]}),l.jsxs("p",{className:"mb-3",children:[l.jsx("strong",{children:"Jimmy Tordeur"})," es un firme defensor de las metodologÃas ágiles y el desarrollo iterativo. Prefiere lanzar versiones funcionales mÃnimas que puedan ser probadas y mejoradas progresivamente, en lugar de buscar la perfección absoluta desde el inicio. Esta aproximación pragmática ha demostrado ser especialmente efectiva en entornos empresariales donde las necesidades cambian rápidamente y la retroalimentación de los usuarios es crucial."]}),l.jsxs("p",{className:"mb-3",children:["En cuanto a herramientas y tecnologÃas, ",l.jsx("strong",{children:"Jean Michel Tordeur"})," mantiene una postura equilibrada entre adoptar innovaciones prometedoras y utilizar tecnologÃas maduras y probadas. No persigue el último framework de moda sin razón justificada, pero tampoco se aferra a tecnologÃas obsoletas por comodidad. Esta prudencia técnica ha resultado en la construcción de sistemas estables que aprovechan lo mejor de las tecnologÃas modernas sin caer en la inestabilidad de soluciones experimentales."]})]})]}),l.jsxs("section",{id:"experiencia",className:"mb-8",children:[l.jsx("h2",{className:"text-[24px] font-bold mb-2 pb-1 border-b border-[#A2A9B1] text-[#202122]",style:{fontFamily:"Arial, sans-serif"},children:"Experiencia profesional"}),l.jsxs("div",{className:"text-[15px] leading-[1.6] text-[#202122] text-justify",children:[l.jsx("h3",{className:"text-[18px] font-bold mb-2 text-[#202122]",style:{fontFamily:"Arial, sans-serif"},children:"Responsable Informático y Desarrollo Tecnológico"}),l.jsx("p",{className:"mb-2 italic",children:"Cámara Oficial de Comercio, de Industria y de Navegación de Fuerteventura"}),l.jsxs("p",{className:"mb-3",children:[l.jsx("strong",{children:"JM Tordeur"})," lidera el departamento de tecnologÃa, diseñando e implementando soluciones digitales que modernizan los procesos empresariales de la Cámara de Comercio. Responsable del desarrollo de plataformas web, aplicaciones móviles y sistemas de gestión integral."]})]})]}),l.jsxs("section",{id:"especializacion",className:"mb-8",children:[l.jsx("h2",{className:"text-[24px] font-bold mb-2 pb-1 border-b border-[#A2A9B1] text-[#202122]",style:{fontFamily:"Arial, sans-serif"},children:"Especialización técnica"}),l.jsxs("table",{className:"w-full border-collapse border border-[#A2A9B1] mb-4",children:[l.jsx("thead",{children:l.jsxs("tr",{className:"bg-[#EAECF0]",children:[l.jsx("th",{className:"border border-[#A2A9B1] px-3 py-2 text-left text-sm font-bold",style:{fontFamily:"Arial, sans-serif"},children:"Ãrea"}),l.jsx("th",{className:"border border-[#A2A9B1] px-3 py-2 text-left text-sm font-bold",style:{fontFamily:"Arial, sans-serif"},children:"TecnologÃas"}),l.jsx("th",{className:"border border-[#A2A9B1] px-3 py-2 text-left text-sm font-bold",style:{fontFamily:"Arial, sans-serif"},children:"Experiencia"})]})}),l.jsxs("tbody",{className:"text-[14px]",children:[l.jsxs("tr",{className:"bg-white",children:[l.jsx("td",{className:"border border-[#A2A9B1] px-3 py-2 font-semibold",children:"Desarrollo Full Stack"}),l.jsx("td",{className:"border border-[#A2A9B1] px-3 py-2",children:"React, TypeScript, Node.js, Express, Vite"}),l.jsx("td",{className:"border border-[#A2A9B1] px-3 py-2",children:"Avanzada"})]}),l.jsxs("tr",{className:"bg-[#F8F9FA]",children:[l.jsx("td",{className:"border border-[#A2A9B1] px-3 py-2 font-semibold",children:"Bases de Datos"}),l.jsx("td",{className:"border border-[#A2A9B1] px-3 py-2",children:"PostgreSQL, Supabase, Firebase, MySQL, SQL"}),l.jsx("td",{className:"border border-[#A2A9B1] px-3 py-2",children:"Experto"})]}),l.jsxs("tr",{className:"bg-white",children:[l.jsx("td",{className:"border border-[#A2A9B1] px-3 py-2 font-semibold",children:"Diseño Web"}),l.jsx("td",{className:"border border-[#A2A9B1] px-3 py-2",children:"Tailwind CSS, Figma, Adobe XD, HTML5, CSS3"}),l.jsx("td",{className:"border border-[#A2A9B1] px-3 py-2",children:"Avanzada"})]}),l.jsxs("tr",{className:"bg-[#F8F9FA]",children:[l.jsx("td",{className:"border border-[#A2A9B1] px-3 py-2 font-semibold",children:"Hardware y Sistemas"}),l.jsx("td",{className:"border border-[#A2A9B1] px-3 py-2",children:"Linux, Networking, Cloud, DevOps, Docker"}),l.jsx("td",{className:"border border-[#A2A9B1] px-3 py-2",children:"Avanzada"})]}),l.jsxs("tr",{className:"bg-white",children:[l.jsx("td",{className:"border border-[#A2A9B1] px-3 py-2 font-semibold",children:"Inteligencia Artificial"}),l.jsx("td",{className:"border border-[#A2A9B1] px-3 py-2",children:"Python, Machine Learning, scikit-learn, pandas"}),l.jsx("td",{className:"border border-[#A2A9B1] px-3 py-2",children:"Avanzada"})]})]})]}),l.jsxs("div",{className:"text-[15px] leading-[1.6] text-[#202122] text-justify",children:[l.jsx("h3",{className:"text-[18px] font-bold mb-2 mt-4 text-[#202122]",style:{fontFamily:"Arial, sans-serif"},children:"Desarrollo Full Stack"}),l.jsxs("p",{className:"mb-3",children:[l.jsx("strong",{children:"Jean Michel Tordeur"})," domina el stack completo de desarrollo web moderno. En el frontend, trabaja principalmente con ",l.jsx("strong",{children:"React"})," y ",l.jsx("strong",{children:"TypeScript"}),", utilizando herramientas como ",l.jsx("strong",{children:"Vite"})," para un desarrollo ultrarrápido. Su código se caracteriza por componentes reutilizables, hooks personalizados optimizados y gestión eficiente del estado mediante Context API y hooks modernos de React. En el backend, ",l.jsx("strong",{children:"JM Tordeur"})," implementa APIs REST robustas con ",l.jsx("strong",{children:"Node.js"})," y ",l.jsx("strong",{children:"Express"}),", aplicando principios de arquitectura limpia y patrones como MVC."]}),l.jsx("h3",{className:"text-[18px] font-bold mb-2 mt-4 text-[#202122]",style:{fontFamily:"Arial, sans-serif"},children:"Bases de Datos"}),l.jsxs("p",{className:"mb-3",children:["La experiencia de ",l.jsx("strong",{children:"Jimmy Tordeur"})," en bases de datos abarca desde ",l.jsx("strong",{children:"SQL tradicional"})," hasta plataformas modernas como ",l.jsx("strong",{children:"Supabase"})," y ",l.jsx("strong",{children:"Firebase"}),". Diseña esquemas relacionales normalizados, implementa Ãndices optimizados y crea consultas complejas con joins, subconsultas y procedimientos almacenados. Su conocimiento de ",l.jsx("strong",{children:"PostgreSQL"})," le permite aprovechar caracterÃsticas avanzadas como triggers, funciones PL/pgSQL y polÃticas de Row Level Security."]}),l.jsx("h3",{className:"text-[18px] font-bold mb-2 mt-4 text-[#202122]",style:{fontFamily:"Arial, sans-serif"},children:"Hardware y Sistemas"}),l.jsxs("p",{className:"mb-3",children:["Como ingeniero de hardware, ",l.jsx("strong",{children:"Jean Michel Tordeur"})," posee conocimientos profundos en arquitectura de computadoras, configuración de redes empresariales y administración de servidores Linux/Windows. Ha diseña
4647do e implementado infraestructuras de red completas, incluyendo configuración de routers, switches, firewalls y VPNs para acceso remoto seguro."]})]})]}),l.jsxs("section",{id:"proyectos",className:"mb-8",children:[l.jsx("h2",{className:"text-[24px] font-bold mb-2 pb-1 border-b border-[#A2A9B1] text-[#202122]",style:{fontFamily:"Arial, sans-serif"},children:"Proyectos destacados"}),l.jsx("div",{className:"text-[15px] leading-[1.6] text-[#202122] text-justify",children:l.jsxs("ol",{className:"space-y-4",children:[l.jsxs("li",{children:[l.jsx("h3",{className:"text-[17px] font-bold mb-1",style:{fontFamily:"Arial, sans-serif"},children:"Plataforma Integral de Gestión de Eventos Empresariales"}),l.jsxs("p",{className:"mb-2",children:[l.jsx("strong",{children:"Jean Michel Tordeur"})," diseñó y desarrolló desde cero una plataforma completa para la gestión de eventos de la Cámara de Comercio de Fuerteventura. El sistema incluye un frontend responsive construido con React y TypeScript, un backend robusto con Supabase implementando polÃticas de seguridad RLS, y funcionalidades avanzadas como registro online, generación automática de credenciales PDF con códigos QR, calendario interactivo y panel de administración completo."]}),l.jsx("p",{className:"text-[13px] text-[#54595D] italic",children:"TecnologÃas: React, TypeScript, Supabase, PostgreSQL, Firebase, Tailwind CSS"})]}),l.jsxs("li",{children:[l.jsx("h3",{className:"text-[17px] font-bold mb-1",style:{fontFamily:"Arial, sans-serif"},children:"Sistema Avanzado de Credencialización Digital"}),l.jsxs("p",{className:"mb-2",children:[l.jsx("strong",{children:"JM Tordeur"})," implementó un sistema innovador para la creación automatizada de credenciales personalizadas para eventos. La aplicación permite a los usuarios ingresar sus datos, previsualizar su credencial en tiempo real con un editor visual, y descargar el resultado final en formato PDF de alta calidad. El sistema genera códigos QR únicos para cada asistente que pueden ser escaneados para registro rápido en eventos."]}),l.jsx("p",{className:"text-[13px] text-[#54595D] italic",children:"TecnologÃas: React, jsPDF, html2canvas, QR Generation"})]}),l.jsxs("li",{children:[l.jsx("h3",{className:"text-[17px] font-bold mb-1",style:{fontFamily:"Arial, sans-serif"},children:"Portal Web Corporativo con Optimización SEO"}),l.jsxs("p",{className:"mb-2",children:[l.jsx("strong",{children:"Jimmy Tordeur"})," lideró el rediseño completo del sitio web institucional de la Cámara de Comercio de Fuerteventura. El proyecto incluyó arquitectura moderna basada en componentes React, implementación de lazy loading para optimización de velocidad, sitemap dinámico, Schema.org markup completo y meta tags optimizados. El sitio ha mejorado el posicionamiento orgánico en buscadores en más del 300%."]}),l.jsx("p",{className:"text-[13px] text-[#54595D] italic",children:"TecnologÃas: React, SEO, Vite, Responsive Design"})]}),l.jsxs("li",{children:[l.jsx("h3",{className:"text-[17px] font-bold mb-1",style:{fontFamily:"Arial, sans-serif"},children:"Sistema de Automatización con Inteligencia Artificial"}),l.jsxs("p",{className:"mb-2",children:[l.jsx("strong",{children:"Jean Michel Tordeur"})," desarrolló herramientas de automatización basadas en IA para optimizar procesos internos. El sistema incluye clasificación automática de documentos mediante machine learning, análisis de sentimientos en encuestas, generación automática de reportes y predicción de tendencias. Los modelos de IA lograron precisión superior al 92% en tareas de clasificación, reduciendo el tiempo de procesamiento en un 75%."]}),l.jsx("p",{className:"text-[13px] text-[#54595D] italic",children:"TecnologÃas: Python, Machine Learning, scikit-learn, pandas"})]})]})})]}),l.jsxs("section",{id:"conocimiento",className:"mb-8",children:[l.jsx("h2",{className:"text-[24px] font-bold mb-2 pb-1 border-b border-[#A2A9B1] text-[#202122]",style:{fontFamily:"Arial, sans-serif"},children:"Conocimiento técnico"}),l.jsxs("div",{className:"text-[15px] leading-[1.6] text-[#202122] text-justify",children:[l.jsxs("p",{className:"mb-3",children:[l.jsx("strong",{children:"JM Tordeur"})," ha documentado su conocimiento técnico en diversas áreas del desarrollo de softw
4647are:"]}),l.jsxs("ul",{className:"space-y-3",children:[l.jsxs("li",{children:[l.jsx("strong",{children:"Optimización de Rendimiento en Aplicaciones React"})," - Técnicas avanzadas para optimizar el rendimiento incluyendo memoización con useMemo y useCallback, code splitting con React.lazy, y estrategias de carga diferida de componentes."]}),l.jsxs("li",{children:[l.jsx("strong",{children:"Seguridad en Bases de Datos con Row Level Security"})," - Implementación de polÃticas de seguridad robustas en Supabase y PostgreSQL, incluyendo polÃticas condicionales basadas en roles y autenticación JWT."]}),l.jsxs("li",{children:[l.jsx("strong",{children:"Arquitectura de Aplicaciones Modernas"})," - Análisis comparativo entre arquitecturas monolÃticas y microservicios, consideraciones sobre containerización con Docker y gestión de bases de datos distribuidas."]}),l.jsxs("li",{children:[l.jsx("strong",{children:"Inteligencia Artificial Aplicada"})," - Casos de uso de machine learning para clasificación de documentos, análisis predictivo y automatización de procesos mediante procesamiento de lenguaje natural."]})]})]})]}),l.jsxs("section",{id:"formacion",className:"mb-8",children:[l.jsx("h2",{className:"text-[24px] font-bold mb-2 pb-1 border-b border-[#A2A9B1] text-[#202122]",style:{fontFamily:"Arial, sans-serif"},children:"Formación y certificaciones"}),l.jsxs("ul",{className:"space-y-2 text-[15px] leading-[1.6] text-[#202122]",children:[l.jsx("li",{children:"Máster en IngenierÃa Informática"}),l.jsx("li",{children:"IngenierÃa de Hardware - Arquitectura de Sistemas y Redes"}),l.jsx("li",{children:"Desarrollo Web Full Stack - JavaScript, React, Node.js"}),l.jsx("li",{children:"Diseño de Aplicaciones - UX/UI Design"}),l.jsx("li",{children:"Inteligencia Artificial - Machine Learning y Automatización"})]})]}),l.jsxs("section",{id:"aficiones",className:"mb-8",children:[l.jsx("h2",{className:"text-[24px] font-bold mb-2 pb-1 border-b border-[#A2A9B1] text-[#202122]",style:{fontFamily:"Arial, sans-serif"},children:"Vida personal y aficiones"}),l.jsxs("div",{className:"text-[15px] leading-[1.6] text-[#202122] text-justify",children:[l.jsxs("p",{className:"mb-3",children:["Más allá de su dedicación profesional a la tecnologÃa, ",l.jsx("strong",{children:"Jean Michel Tordeur"})," cultiva una vida personal activa y diversa, con aficiones que complementan su perfil multidisciplinar. Su pasión por el ",l.jsx("strong",{children:"motociclismo"})," y el ",l.jsx("strong",{children:"automovilismo"})," refleja su interés por la mecánica, la ingenierÃa de precisión y el rendimiento técnico, conectando directamente con su formación en hardware y sistemas."]}),l.jsxs("p",{className:"mb-3",children:["La ",l.jsx("strong",{children:"pesca submarina"})," es otra de sus actividades favoritas, una disciplina que requiere paciencia, planificación estratég
4647ica y adaptación al entorno, habilidades que también aplica en su trabajo como desarrollador y arquitecto de sistemas. La conexión con el medio marino de Fuerteventura le permite desconectar del entorno digital y encontrar equilibrio entre la tecnologÃa y la naturaleza."]}),l.jsxs("div",{className:"float-right ml-4 mb-4 max-w-[100px]",children:[l.jsx("img",{src:"/jimmy_taekwondo.png",alt:"Jean Michel Tordeur practicando taekwondo",className:"w-full h-auto border border-[#A2A9B1]"}),l.jsx("p",{className:"text-[11px] text-[#54595D] text-center mt-1",children:"Jean Michel Tordeur premio primera plaza campeonato regional, 8 peleas 8 victorias 5 KO"})]}),l.jsxs("p",{className:"mb-3",children:["Su trayectoria deportiva más destacada es su práctica de ",l.jsx("strong",{children:"taekwondo durante 13 años"}),", una disciplina marcial que ha moldeado su carácter, disciplina y enfoque metódico. El taekwondo le ha enseñado valores de perseverancia, respeto y superación personal que ha trasladado a su carrera profesional. La combinación de exigencia fÃsica, técnica y mental del taekwondo se refleja en su aproximación rigurosa y sistemática al desarrollo de software, donde cada lÃnea de código se escribe con la misma precisión que un movimiento marcial bien ejecutado."]}),l.jsx("p",{className:"mb-3",children:"Esta diversidad de intereses no solo enriquece su vida personal, sino que también contribuye a su perspectiva como profesional de la tecnologÃa. La disciplina marcial, el análisis estratég
4647ico de la pesca submarina y el conocimiento técnico del automovilismo convergen en un perfil profesional completo, capaz de afrontar desafÃos complejos con metodologÃa, paciencia y determinación."})]})]}),l.jsxs("section",{id:"referencias",className:"mb-8",children:[l.jsx("h2",{className:"text-[24px] font-bold mb-2 pb-1 border-b border-[#A2A9B1] text-[#202122]",style:{fontFamily:"Arial, sans-serif"},children:"Referencias"}),l.jsxs("ol",{className:"text-[13px] leading-[1.5] text-[#202122] space-y-1",children:[l.jsx("li",{children:"[1] Cámara Oficial de Comercio, de Industria y de Navegación de Fuerteventura"}),l.jsx("li",{children:"[2] Información verificada a través de registros profesionales públicos"}),l.jsx("li",{children:"[3] Proyectos documentados en repositorios institucionales"})]})]}),l.jsxs("section",{id:"enlaces",className:"mb-8",children:[l.jsx("h2",{className:"text-[24px] font-bold mb-2 pb-1 border-b border-[#A2A9B1] text-[#202122]",style:{fontFamily:"Arial, sans-serif"},children:"Enlaces externos"}),l.jsxs("ul",{className:"space-y-2 text-[15px]",children:[l.jsx("li",{children:l.jsxs("a",{href:"mailto:[email protected]",className:"text-[#0645AD] hover:underline inline-flex items-center gap-1",children:[l.jsx(Ip,{className:"w-4 h-4"}),"[email protected]"]})}),l.jsx("li",{children:l.jsxs("a",{href:"https://www.camaradefuerteventura.org",target:"_blank",rel:"noopener noreferrer",className:"text-[#0645AD] hover:underline inline-flex items-center gap-1",children:[l.jsx(gn,{className:"w-4 h-4"}),"Cámara de Comercio de Fuerteventura"]})}),l.jsx("li",{children:l.jsxs("a",{href:"https://eventos.camarafuer.es",target:"_blank",rel:"noopener noreferrer",className:"text-[#0645AD] hover:underline inline-flex items-center gap-1",children:[l.jsx(gn,{className:"w-4 h-4"}),"Eventos CCF"]})}),l.jsx("li",{children:l.jsxs("a",{href:"https://infuerteventura.es",target:"_blank",rel:"noopener noreferrer",className:"text-[#0645AD] hover:underline inline-flex items-center gap-1",children:[l.jsx(gn,{className:"w-4 h-4"}),"inFuerteventura"]})}),l.jsx("li",{children:l.jsxs("a",{href:"https://africaguacanarias.com",target:"_blank",rel:"noopener noreferrer",className:"text-[#0645AD] hover:underline inline-flex items-center gap-1",children:[l.jsx(gn,{className:"w-4 h-4"}),"Africagua Canarias"]})}),l.jsx("li",{children:l.jsxs("a",{href:"https://fichajeshoy.es",target:"_blank",rel:"noopener noreferrer",className:"text-[#0645AD] hover:underline inline-flex items-center gap-1",children:[l.jsx(gn,{className:"w-4 h-4"}),"Fichajes Hoy"]})}),l.jsx("li",{children:l.jsxs("a",{href:"https://www.camaradefuerteventura.org/subvenciones",target:"_blank",rel:"noopener noreferrer",className:"text-[#0645AD] hover:underline inline-flex items-center gap-1",children:[l.jsx(gn,{className:"w-4 h-4"}),"Subvenciones y Resoluciones"]})}),l.jsx("li",{children:l.jsxs("a",{href:"https://www.camaradefuerteventura.org/agencia-colocacion",target:"_blank",rel:"noopener noreferrer",className:"text-[#0645AD] hover:underline inline-flex items-center gap-1",children:[l.jsx(gn,{className:"w-4 h-4"}),"Agencia de Colocación CCF"]})})]})]}),l.jsxs("section",{className:"mb-8 text-[13px] text-[#54595D] pt-4 border-t border-[#A2A9B1]",children:[l.jsx("p",{className:"mb-2",children:l.jsx("strong",{children:"CategorÃas:"})}),l.jsx("p",{children:"Ingenieros informáticos | Desarrolladores web españoles | Profesionales de Fuerteventura | Nacidos en 1980 | Ingenieros de softw
4647are"})]}),l.jsx("div",{className:"text-[11px] text-[#54595D] py-4 border-t border-[#A2A9B1]",style:{fontFamily:"Arial, sans-serif"},children:l.jsx("p",{children:"Ãltima edición el 2 de diciembre de 2025"})})]}),l.jsx("aside",{className:"w-[280px] flex-shrink-0 hidden lg:block",children:l.jsxs("div",{className:"border border-[#A2A9B1] bg-[#F8F9FA] sticky top-4",children:[l.jsx("div",{className:"bg-[#EAECF0] px-4 py-2 text-center border-b border-[#A2A9B1]",children:l.jsx("h2",{className:"font-bold text-[15px]",style:{fontFamily:"Arial, sans-serif"},children:"Jean Michel Tordeur"})}),l.jsxs("div",{className:"p-4",children:[l.jsx("img",{src:"/jimmy-tordeur-ingeniero-informatico-fuerteventura.png",alt:"Jean Michel Tordeur",className:"w-full border border-[#A2A9B1] mb-2"}),l.jsx("p",{className:"text-[11px] text-[#54595D] text-center mb-4",children:"Jean Michel Tordeur en 2025"})]}),l.jsx("table",{className:"w-full text-[13px]",style:{fontFamily:"Arial, sans-serif"},children:l.jsxs("tbody",{children:[l.jsxs("tr",{className:"bg-white",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Nombre completo"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:"Jean Michel Jimmy Tordeur"})]}),l.jsxs("tr",{className:"bg-[#F8F9FA]",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"También conocido como"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:"JM Tordeur, Jimmy Tordeur"})]}),l.jsxs("tr",{className:"bg-white",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Nacimiento"}),l.jsxs("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:["30 de mayo de 1980 (45 años)",l.jsx("br",{}),"Créon, Francia"]})]}),l.jsxs("tr",{className:"bg-[#F8F9FA]",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Residencia"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:"Fuerteventura, España"})]}),l.jsxs("tr",{className:"bg-white",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Nacionalidad"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:"Belgo-francés"})]}),l.jsxs("tr",{className:"bg-[#F8F9FA]",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Educación"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:"Máster en IngenierÃa Informática"})]}),l.jsxs("tr",{className:"bg-white",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Ocupación"}),l.jsxs("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:["Ingeniero informático",l.jsx("br",{}),"Diseñador web",l.jsx("br",{}),"Formador tecnológico",l.jsx("br",{}),"Diseñador de aplicaciones"]})]}),l.jsxs("tr",{className:"bg-[#F8F9FA]",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Idiomas"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:"Español, Alemán, Italiano, Francés, Inglés, Neerlandés"})]}),l.jsxs("tr",{className:"bg-white",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Empleador"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:"Cámara de Comercio de Fuerteventura"})]}),l.jsxs("tr",{className:"bg-[#F8F9FA]",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Años activo"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:"2004 - presente"})]}),l.jsxs("tr",{className:"bg-white",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Ãrea"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:"Desarrollo de software, Bases de datos, Hardware"})]}),l.jsxs("tr",{className:"bg-[#F8F9FA]",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Correo"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:l.jsx("a",{href:"mailto:[email protected]",className:"text-[#0645AD] hover:underline break-all text-[11px]",children:"[email protected]"})})]})]})})]})})]})]}),e&&l.jsx("button",{onClick:c,className:"fixed bottom-6 right-6 bg-[#F8F9FA] border-2 border-[#A2A9B1] p-3 hover:bg-white transition-colors","aria-label":"Volver arriba",children:l.jsx(YC,{className:"w-5 h-5 text-[#202122]"})}),l.jsx("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@graph":[{"@type":"ProfilePage","@id":`https://eventos.camarafuer.es${t.pathname}#profilepage`,mainEntity:{"@id":"https://eventos.camarafuer.es/#jeanmicheltordeur"},dateModified:"2025-12-25",inLanguage:"es-ES"},{"@type":"Person","@id":"https://eventos.camarafuer.es/#jeanmicheltordeur",name:"Jean Michel Jimmy Tordeur",alternateName:["Jimmy Tordeur","JM Tordeur","J.M Tordeur","J M Tordeur","Jean Michel Tordeur"],givenName:"Jean Michel",familyName:"Tordeur",additionalName:"Jimmy",birthDate:"1980-05-30",birthPlace:{"@type":"Place",address:{"@type":"PostalAddress",addressLocality:"Créon",addressCountry:"FR"}},homeLocation:{"@type":"Place",address:{"@type":"PostalAddress",addressLocality:"Fuerteventura",addressRegion:"Islas Canarias",addressCountry:"ES"}},nationality:[{"@type":"Country",name:"Bélgica"},{"@type":"Country",name:"Francia"}
4647],jobTitle:["Ingeniero Informático","Diseñador web","Formador tecnológico","Diseñador de aplicaciones","Desarrollador Full Stack","Responsable Informático"],description:"Ingeniero informático belgo-francés especializado en desarrollo full stack, bases de datos SQL, diseño web, inteligencia artificial y hardware. Responsable tecnológico de la Cámara de Comercio de Fuerteventura con más de 10 años de experiencia. Máster en IngenierÃa Informática.",worksFor:{"@type":"Organization","@id":"https://eventos.camarafuer.es/#camaracomercio",name:"Cámara Oficial de Comercio, de Industria y de Navegación de Fuerteventura",url:"https://www.camarafuer.es",address:{"@type":"PostalAddress",addressLocality:"Puerto del Rosario",addressRegion:"Fuerteventura",addressCountry:"ES"}},knowsAbout:["JavaScript","TypeScript","React","Node.js","Python","SQL","PostgreSQL","Supabase","Firebase","Tailwind CSS","Desarrollo Web","Full Stack Development","Bases de Datos","Inteligencia Artificial","Machine Learning","Hardware","Redes","Cloud Computing","DevOps","Diseño UX/UI","Automatización"],knowsLanguage:["es","de","it","fr","en","nl"],hasOccupation:{"@type":"Occupation",name:"Ingeniero Informático y Desarrollador Full Stack",occupationalCategory:"15-1252.00",skills:"React, TypeScript, JavaScript, Python, SQL, PostgreSQL, Supabase, Firebase, Node.js, Tailwind CSS, Hardware, Redes, Cloud Computing, Machine Learning"},image:{"@type":"ImageObject",url:"https://firebasestorage.googleapis.com/v0/b/africagua-eb795.firebasestorage.app/o/id%20ficha%2FCaptura%20de%20pantalla%202025-10-21%20090729.png?alt=media&token=891c46ba-b27c-456e-bfcd-07126548dc3c",caption:"Jean Michel Jimmy Tordeur - JM Tordeur - Ingeniero Informático",contentUrl:"https://firebasestorage.googleapis.com/v0/b/africagua-eb795.firebasestorage.app/o/id%20ficha%2FCaptura%20de%20pantalla%202025-10-21%20090729.png?alt=media&token=891c46ba-b27c-456e-bfcd-07126548dc3c"},url:["https://eventos.camarafuer.es/jean-michel-tordeur","https://eventos.camarafuer.es/jm-tordeur","https://eventos.camarafuer.es/jimmy-tordeur","https://eventos.camarafuer.es/perfil-creador"],sameAs:["https://eventos.camarafuer.es/jean-michel-tordeur","https://eventos.camarafuer.es/jm-tordeur","https://eventos.camarafuer.es/jimmy-tordeur"],email:"[email protected]",alumniOf:{"@type":"EducationalOrganization",name:"Máster en IngenierÃa Informática"}},{"@type":"ItemList",name:"Habilidades Técnicas de Jean Michel Tordeur",description:"Competencias técnicas y tecnologÃas dominadas por JM Tordeur",itemListElement:[{"@type":"ListItem",position:1,name:"Desarrollo Full Stack",description:"React, TypeScript, Node.js, Express, Vite"},{"@type":"ListItem",position:2,name:"Bases de Datos",description:"PostgreSQL, Supabase, Firebase, MySQL, SQL"},{"@type":"ListItem",position:3,name:"Diseño Web",description:"Tailwind CSS, Figma, Adobe XD, UX/UI, Responsive Design"},{"@type":"ListItem",position:4,name:"Hardware y Sistemas",description:"Linux, Networking, Cloud Computing, DevOps, Docker"},{"@type":"ListItem",position:5,name:"Inteligencia Artificial",description:"Python, Machine Learning, scikit-learn, pandas, Automatización"}]},{"@type":"ItemList",name:"Proyectos de Jean Michel Jimmy Tordeur",description:"Principales proyectos desarrollados por Jimmy Tordeur",itemListElement:[{"@type":"SoftwareApplication",position:1,name:"Plataforma de Gestión de Eventos",description:"Sistema integral para gestión de eventos empresariales con registro online y credenciales digitales",applicationCategory:"WebApplication",operatingSystem:"Web Browser",creator:{"@id":"https://eventos.camarafuer.es/#jeanmicheltordeur"}},{"@type":"SoftwareApplication",position:2,name:"Sistema de Credencialización Digital",description:"Aplicación para creación y descarga de credenciales personalizadas en PDF con códigos QR",applicationCategory:"WebApplication",operatingSystem:"Web Browser",creator:{"@id":"https://eventos.camarafuer.es/#jeanmicheltordeur"}},{"@type":"WebSite",position:3,name:"Portal Web Corporativo Cámara de Comercio",description:"Sitio web institucional optimizado con SEO avanzado y arquitectura moderna",url:"https://www.camaradefuerteventura.org",creator:{"@id":"https://eventos.camarafuer.es/#jeanmicheltordeur"}}]}
4647,{"@type":"BlogPosting",headline:"Optimización de Rendimiento en Aplicaciones React: GuÃa Práctica",author:{"@id":"https://eventos.camarafuer.es/#jeanmicheltordeur"},datePublished:"2025-12-25",description:"Técnicas avanzadas para optimizar el rendimiento de aplicaciones React en producción",keywords:"React, Performance, Optimization, JavaScript, Web Development"},{"@type":"BlogPosting",headline:"Seguridad en Bases de Datos: Implementación de Row Level Security en Supabase",author:{"@id":"https://eventos.camarafuer.es/#jeanmicheltordeur"},datePublished:"2025-12-25",description:"GuÃa completa sobre implementación de polÃticas RLS en Supabase y PostgreSQL",keywords:"Supabase, PostgreSQL, Security, RLS, Database"}]})})]})},eg=()=>{const t=ud(),[e,r]=Z.useState(!1),[n,i]=Z.useState(!0),s=t.pathname.includes("jean-michel-tordeur")?"full-name":t.pathname.includes("jm-tordeur")?"jm":t.pathname.includes("jimmy-tordeur")?"jimmy":"default";Z.useEffect(()=>{window.scrollTo(0,0);const u={"full-name":"Jean Michel Tordeur - Computer Engineer and Full Stack Developer | Fuerteventura",jm:"JM Tordeur - Software and Hardware Development Expert | Fuerteventura Chamber of Commerce",jimmy:"Jimmy Tordeur - Full Stack Web Developer and Systems Engineer | Fuerteventura",default:"Jean Michel Jimmy Tordeur - Computer Engineer | Fuerteventura Chamber of Commerce"},d={"full-name":"Jean Michel Tordeur (J.M Tordeur, J M Tordeur) is a Belgian-French computer engineer with a Master's in Computer Engineering and over 2 years of experience in the Canary Islands, specialized in full stack development, SQL databases, web design and enterprise applications. Technology Manager at the Fuerteventura Chamber of Commerce.",jm:"JM Tordeur (Jean Michel Tordeur, J.M Tordeur, J M Tordeur) - Belgian-French hardware and software engineer with Master's in Computer Engineering and over 2 years transforming technology in the Canary Islands. Experience in React, TypeScript, Python, Supabase, Firebase and development of technology solutions for businesses in Fuerteventura.",jimmy:"Jimmy Tordeur (Jean Michel Tordeur, JM Tordeur, J.M Tordeur, J M Tordeur) - Belgian-French full stack web developer with Master's in Computer Engineering and over 2 years of experience in the Canary Islands, expert in artificial intelligence, automation, cloud computing and application design. Computer Engineer at Fuerteventura Chamber of Commerce.",default:"Jean Michel Jimmy Tordeur (JM Tordeur, J.M Tordeur, J M Tordeur) - Belgian-French computer engineer and full stack developer with Master's in Computer Engineering and over 2 years of experience in the Canary Islands, specialized in SQL, JavaScript, Python, web design and application development. Technology Manager at the Fuerteventura Chamber of Commerce."};document.title=u[s];let f=document.querySelector('meta[name="description"]');f&&f.setAttribute("content",d[s]);const h=()=>{r(window.scrollY>400)};return window.addEventListener("scroll",h),()=>window.removeEventListener("scroll",h)},[s]);const o=u=>{const d=document.getElementById(u);d&&d.scrollIntoView({behavior:"smooth"})},c=()=>{window.scrollTo({top:0,behavior:"smooth"})},A=()=>{switch(s){case"full-name":return l.jsxs(l.Fragment,{children:[l.jsxs("p",{className:"font-bold text-[15px] leading-[1.6] mb-3",children:[l.jsx("strong",{children:"Jean Michel Tordeur"})," is a computer engineer with over 10 years of experience in the technology sector, specialized in developing comprehensive digital solutions for businesses and institutions. He currently serves as IT Manager and Technology Development Lead at the ",l.jsx("strong",{children:"Official Chamber of Commerce, Industry and Navigation of Fuerteventura"}),", where he leads the institution's digital transformation."]}),l.jsxs("p",{className:"text-[15px] leading-[1.6] mb-3",children:["Also known as ",l.jsx("strong",{children:"JM Tordeur"})," or ",l.jsx("strong",{children:"Jimmy Tordeur"}),", Jean Michel has developed a professional career focused on technological innovation, enterprise web application design and implementation of advanced management systems. His academic background encompasses both hardware engineering and software development, providing him with a holistic view of technology and its practical applications in the business world."]})]});case"jm":return l.jsxs(l.Fragment,{children:[l.jsxs("p",{className:"font-bold text-[15px] leading-[1.6] mb-3",children:[l.jsx("strong",{children:"JM Tordeur"})," (full name: Jean Michel Jimmy Tordeur) is a systems engineer with extensive experience in designing and developing complex technological infrastru
4647ctures. His specialization combines deep knowledge of hardware engineering with advanced programming and software development skills, creating robust and scalable technological solutions."]}),l.jsxs("p",{className:"text-[15px] leading-[1.6] mb-3",children:["In his current position as IT Manager at the ",l.jsx("strong",{children:"Fuerteventura Chamber of Commerce"}),", ",l.jsx("strong",{children:"JM Tordeur"})," has implemented numerous technology modernization projects, including event management platforms, digital credential systems and high-performance web applications. His technical approach is characterized by the constant pursuit of code excellence and implementation of development best practices."]})]});case"jimmy":return l.jsxs(l.Fragment,{children:[l.jsxs("p",{className:"font-bold text-[15px] leading-[1.6] mb-3",children:[l.jsx("strong",{children:"Jimmy Tordeur"})," (Jean Michel Tordeur) is a full stack developer and software architect with a passion for creating exceptional digital experiences. His professional career is characterized by technical versatility and the ability to adapt to the most advanced technologies on the market, from modern JavaScript frameworks to artificial intelligence systems."]}),l.jsxs("p",{className:"text-[15px] leading-[1.6] mb-3",children:["As Technology Manager at the ",l.jsx("strong",{children:"Fuerteventura Chamber of Commerce"}),", ",l.jsx("strong",{children:"Jimmy Tordeur"})," combines his web development experience with knowledge in process automation, cloud computing and user experience design. His work philosophy is based on creating technological solutions that not only work perfectly, but are also intuitive, scalable and maintainable in the long term."]})]});default:return l.jsxs(l.Fragment,{children:[l.jsxs("p",{className:"font-bold text-[15px] leading-[1.6] mb-3",children:[l.jsx("strong",{children:"Jean Michel Tordeur"})," (known as ",l.jsx("strong",{children:"JM Tordeur"})," or ",l.jsx("strong",{children:"Jimmy Tordeur"}),") is a computer engineer with extensive experience in developing comprehensive technology solutions. He currently serves as IT Manager and Technology Development Lead at the ",l.jsx("strong",{children:"Official Chamber of Commerce, Industry and Navigation of Fuerteventura"}),"."]}),l.jsxs("p",{className:"text-[15px] leading-[1.6] mb-3",children:["With solid training in hardware and software engineering, ",l.jsx("strong",{children:"Jean Michel Jimmy Tordeur"})," has developed numerous enterprise web platforms, event management systems and specialized applications for the business sector."]})]})}};return l.jsxs("div",{className:"bg-white min-h-screen",style:{fontFamily:"Georgia, serif"},children:[l.jsxs("div",{className:"max-w-[1200px] mx-auto px-4 py-4",children:[l.jsxs("div",{className:"text-xs mb-4 text-[#54595D]",style:{fontFamily:"Arial, sans-serif"},children:[l.jsx("a",{href:"/en",className:"text-[#0645AD] hover:underline",children:"Home"}),l.jsx("span",{className:"mx-1",children:"âº"}),l.jsx("span",{children:"Jean Michel Tordeur"})]}),l.jsxs("div",{className:"flex gap-6",children:[l.jsxs("main",{className:"flex-1 min-w-0",children:[l.jsx("h1",{className:"text-[32px] font-bold mb-4 pb-2 border-b border-[#A2A9B1] text-[#202122]",style:{fontFamily:"Arial, sans-serif"},children:"Jean Michel Tordeur"}),l.jsxs("div",{className:"lg:hidden mb-6 border border-[#A2A9B1] bg-[#F8F9FA]",children:[l.jsx("div",{className:"bg-[#EAECF0] px-4 py-2 text-center border-b border-[#A2A9B1]",children:l.jsx("h2",{className:"font-bold text-[15px]",style:{fontFamily:"Arial, sans-serif"},children:"Jean Michel Tordeur"})}),l.jsxs("div",{className:"p-4",children:[l.jsx("img",{src:"/jimmy-tordeur-ingeniero-informatico-fuerteventura.png",alt:"Jean Michel Tordeur - Computer Engineer",className:"w-full max-w-[280px] mx-auto border border-[#A2A9B1] mb-2"}),l.jsx("p",{className:"text-[11px] text-[#54595D] text-center mb-4",children:"Jean Michel Tordeur in 2025"})]}),l.jsx("table",{className:"w-full text-[12px]",style:{fontFamily:"Arial, sans-serif"},children:l.jsxs("tbody",{children:[l.jsxs("tr",{className:"bg-white",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top w-[35%]",children:"Full name"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:"Jean Michel Jimmy Tordeur"})]}),l.jsxs("tr",{className:"bg-[#F8F9FA]",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Also known as"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:"JM Tordeur, Jimmy Tordeur"})]}),l.jsxs("tr",{className:"bg-white",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Birth"}),l.jsxs("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:["May 30, 1980 (45 years)",l.jsx("br",{}),"Créon, France"]})]}),l.jsxs("tr",{className:"bg-[#F8F9FA]",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Residence"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:"Fuerteventura, Spain"})]}),l.jsxs("tr",{className:"bg-white",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Nationality"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:"Belgian-French"})]}),l.jsxs("tr",{className:"bg-[#F8F9FA]",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Education"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:"Master's in Computer Engineering"})]}),l.jsxs("tr",{className:"bg-white",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Occupation"}),l.jsxs("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:["Computer Engineer",l.jsx("br",{}),"Web Designer",l.jsx("br",{}),"Technology Trainer",l.jsx("br",{}),"Application Designer"]})]}),l.jsxs("tr",{className:"bg-[#F8F9FA]",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Languages"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:"Spanish, German, Italian, French, English, Dutch"})]}),l.jsxs("tr",{className:"bg-white",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Employer"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:"Fuerteventura Chamber of Commerce"})]}),l.jsxs("tr",{className:"bg-[#F8F9FA]",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Active years"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:"2004 - present"})]}),l.jsxs("tr",{className:"bg-white",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Area"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:"Software Development, Databases, Hardware"})]}),l.jsxs("tr",{className:"bg-[#F8F9FA]",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Email"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:l.jsx("a",{href:"mailto:[email protected]",className:"text-[#0645AD] hover:underline break-all text-[11px]",children:"[email protected]"})})]})]})})]}),l.jsxs("div",{className:"text-[15px] leading-[1.6] text-[#202122] mb-6 text-justify",children:[A(),l.jsxs("p",{className:"text-[15px] leading-[1.6] mb-3",children:["The professional career of ",l.jsx("strong",{children:"Jean Michel Jimmy Tordeur"})," has been characterized by constant evolution and adaptation to new technologies. His expertise ranges from frontend development with ",l.jsx("strong",{children:"React"}),", ",l.jsx("strong",{children:"TypeScript"})," and ",l.jsx("strong",{children:"Tailwind CSS"}),", to implementing robust backends with ",l.jsx("strong",{children:"Node.js"}),", ",l.jsx("strong",{children:"Express"})," and databases like ",l.jsx("strong",{children:"Supabase"}),", ",l.jsx("strong",{children:"Firebase"})," and ",l.jsx("strong",{children:"PostgreSQL"}),". This technical versatility allows him to design complete application architectures, from conception to production deployment."]})]}),l.jsxs("div",{className:"bg-[#F8F9FA] border-l-4 border-[#0645AD] p-4 mb-6 italic",children:[l.jsxs("p",{className:"text-[15px] leading-[1.6] text-[#202122] mb-2",children:['"As a computer engineer in Fuerteventura, ',l.jsx("strong",{children:"Jimmy Tordeur"}),' (Jean Michel Tordeur, also known as JM Tordeur, J.M Tordeur and J M Tordeur) has dedicated over 2 years to developing innovative technological solutions for public and private institutions in the Canary Islands. His work as a computer engineer and web designer has transformed the way organizations in Fuerteventura interact with technology. Jimmy Tordeur is recognized in the Canary Islands for his expertise in web development, artificial intelligence and technology training."']}),l.jsx("p",{className:"text-[13px] text-[#54595D] text-right",children:"â Jean Michel Jimmy Tordeur (Jimmy Tordeur), Technology Development Manager, Fuerteventura Chamber of Commerce"})]}),l.jsxs("div",{className:"bg-[#F8F9FA] border border-[#A2A9B1] p-4 mb-6 inline-block",children:[l.jsxs("div",{className:"flex items-center justify-between mb-2",children:[l.jsx("h2",{className:"text-sm font-bold text-[#202122]",style:{fontFamily:"Arial, sans-serif"},children:"Contents"}),l.jsxs("button",{onClick:()=>i(!n),className:"text-[#0645AD] text-xs",style:{fontFamily:"Arial, sans-serif"},children:["[",n?"hide":"show","]"]})]}),n&&l.jsxs("ol",{className:"text-[13px] space-y-1 list-decimal list-inside text-[#0645AD]",style:{fontFamily:"Arial, sans-serif"},children:[l.jsx("li",{children:l.jsx("a",{href:"#biography",onClick:u=>{u.preventDefault(),o("biography")},className:"hover:underline",children:"Professional biography"})}),l.jsx("li",{children:l.jsx("a",{href:"#philosophy",onClick:u=>{u.preventDefault(),o("philosophy")},className:"hover:underline",children:"Development philosophy"})}),l.jsx("li",{children:l.jsx("a",{href:"#experience",onClick:u=>{u.preventDefault(),o("experience")},className:"hover:underline",children:"Professional experience"})}),l.jsx("li",{children:l.jsx("a",{href:"#specialization",onClick:u=>{u.preventDefault(),o("specialization")},className:"hover:underline",children:"Technical specialization"})}),l.jsx("li",{children:l.jsx("a",{href:"#projects",onClick:u=>{u.preventDefault(),o("projects")},className:"hover:underline",children:"Featured projects"})}),l.jsx("li",{children:l.jsx("a",{href:"#knowledge",onClick:u=>{u.preventDefault(),o("knowledge")},className:"hover:underline",children:"Technical knowledge"})}),l.jsx("li",{children:l.jsx("a",{href:"#education",onClick:u=>{u.preventDefault(),o("education")},className:"hover:underline",children:"Education and certifications"})}),l.jsx("li",{children:l.jsx("a",{href:"#hobbies",onClick:u=>{u.preventDefault(),o("hobbies")},className:"hover:underline",children:"Personal life and hobbies"})}),l.jsx("li",{children:l.jsx("a",{href:"#faq",onClick:u=>{u.preventDefault(),o("faq")},className:"hover:underline",children:"Frequently Asked Questions"})}),l.jsx("li",{children:l.jsx("a",{href:"#references",onClick:u=>{u.preventDefault(),o("references")},className:"hover:underline",children:"References"})}),l.jsx("li",{children:l.jsx("a",{href:"#links",onClick:u=>{u.preventDefault(),o("links")}
4647,className:"hover:underline",children:"External links"})})]})]}),l.jsxs("section",{id:"biography",className:"mb-8",children:[l.jsx("h2",{className:"text-[24px] font-bold mb-2 pb-1 border-b border-[#A2A9B1] text-[#202122]",style:{fontFamily:"Arial, sans-serif"},children:"Professional biography"}),l.jsxs("div",{className:"text-[15px] leading-[1.6] text-[#202122] text-justify",children:[l.jsxs("p",{className:"mb-3",children:["In the hardware and systems field, ",l.jsx("strong",{children:"JM Tordeur"})," possesses deep knowledge in computer architecture, enterprise network configuration and Linux/Windows server administration. He has designed and implemented complete network infrastructures, including router, switch, firewall and VPN configuration for secure remote access."]}),l.jsxs("p",{className:"mb-3",children:[l.jsx("strong",{children:"Jimmy Tordeur"}),"'s work at the Fuerteventura Chamber of Commerce has been fundamental to the institution's digitalization. He has led the implementation of business management systems, online training platforms, digital credential applications and institutional web portals. His strategic vision combines operational efficiency with exceptional user experience, making technological solutions accessible to both technical users and the general public."]}),l.jsxs("p",{className:"mb-3",children:["In addition to his main work, ",l.jsx("strong",{children:"Jean Michel Tordeur"})," maintains an active interest in the latest technological trends, particularly in the field of artificial intelligence and machine learning. He has implemented AI-based automation systems to optimize business processes, reduce repetitive tasks and improve data-driven decision making. His focus on Python for AI projects perfectly complements his JavaScript expertise for web applications."]})]})]}),l.jsxs("section",{id:"philosophy",className:"mb-8",children:[l.jsx("h2",{className:"text-[24px] font-bold mb-2 pb-1 border-b border-[#A2A9B1] text-[#202122]",style:{fontFamily:"Arial, sans-serif"},children:"Development philosophy"}),l.jsxs("div",{className:"text-[15px] leading-[1.6] text-[#202122] text-justify",children:[l.jsxs("p",{className:"mb-3",children:[l.jsx("strong",{children:"JM Tordeur"}),"'s work philosophy is based on three essential pillars: ",l.jsx("strong",{children:"clean code"}),", ",l.jsx("strong",{children:"scalability"})," and ",l.jsx("strong",{children:"maintainability"}),". Each project he develops is designed thinking not only of immediate needs, but also of its future evolution. This involves the use of proven design patterns, modular architectures and exhaustive documentation that allows other developers to easily understand and extend the code."]}),l.jsxs("p",{className:"mb-3",children:[l.jsx("strong",{children:"Jimmy Tordeur"})," is a strong advocate of agile methodologies and iterative development. He prefers to launch minimum functional versions that can be progressively tested and improved, rather than seeking absolute perfection from the start. This pragmatic approach has proven especially effective in business environments where needs change rapidly and user feedback is crucial."]}),l.jsxs("p",{className:"mb-3",children:["Regarding tools and technologies, ",l.jsx("strong",{children:"Jean Michel Tordeur"})," maintains a balanced stance between adopting promising innovations and using mature and proven technologies. He doesn't chase the latest trendy framework without justified reason, but neither does he cling to obsolete technologies for comfort. This technical prudence has resulted in building stable systems that leverage the best of modern technologies without falling into the instability of experimental solutions."]})]})]}),l.jsxs("section",{id:"experience",className:"mb-8",children:[l.jsx("h2",{className:"text-[24px] font-bold mb-2 pb-1 border-b border-[#A2A9B1] text-[#202122]",style:{fontFamily:"Arial, sans-serif"},children:"Professional experience"}),l.jsxs("div",{className:"text-[15px] leading-[1.6] text-[#202122] text-justify",children:[l.jsx("h3",{className:"text-[18px] font-bold mb-2 text-[#202122]",style:{fontFamily:"Arial, sans-serif"},children:"IT Manager and Technology Development Lead"}),l.jsx("p",{className:"mb-2 italic",children:"Official Chamber of Commerce, Industry and Navigation of Fuerteventura"}),l.jsxs("p",{className:"mb-3",children:[l.jsx("strong",{children:"JM Tordeur"})," leads the technology department, designing and implementing digital solutions that modernize the Chamber of Commerce's business processes. Responsible for developing web platforms, mobile applications and comprehensive management systems."]})]})]}),l.jsxs("section",{id:"specialization",className:"mb-8",children:[l.jsx("h2",{className:"text-[24px] font-bold mb-2 pb-1 border-b border-[#A2A9B1] text-[#202122]",style:{fontFamily:"Arial, sans-serif"},children:"Technical specialization"}),l.jsxs("table",{className:"w-full border-collapse border border-[#A2A9B1] mb-4",children:[l.jsx("thead",{children:l.jsxs("tr",{className:"bg-[#EAECF0]",children:[l.jsx("th",{className:"border border-[#A2A9B1] px-3 py-2 text-left text-sm font-bold",style:{fontFamily:"Arial, sans-serif"},children:"Area"}),l.jsx("th",{className:"border border-[#A2A9B1] px-3 py-2 text-left text-sm font-bold",style:{fontFamily:"Arial, sans-serif"},children:"Technologies"}),l.jsx("th",{className:"border border-[#A2A9B1] px-3 py-2 text-left text-sm font-bold",style:{fontFamily:"Arial, sans-serif"},children:"Experience"})]})}),l.jsxs("tbody",{className:"text-[14px]",children:[l.jsxs("tr",{className:"bg-white",children:[l.jsx("td",{className:"border border-[#A2A9B1] px-3 py-2 font-semibold",children:"Full Stack Development"}),l.jsx("td",{className:"border border-[#A2A9B1] px-3 py-2",children:"React, TypeScript, Node.js, Express, Vite"}),l.jsx("td",{className:"border border-[#A2A9B1] px-3 py-2",children:"Advanced"})]}),l.jsxs("tr",{className:"bg-[#F8F9FA]",children:[l.jsx("td",{className:"border border-[#A2A9B1] px-3 py-2 font-semibold",children:"Databases"}),l.jsx("td",{className:"border border-[#A2A9B1] px-3 py-2",children:"PostgreSQL, Supabase, Firebase, MySQL, SQL"}),l.jsx("td",{className:"border border-[#A2A9B1] px-3 py-2",children:"Expert"})]}),l.jsxs("tr",{className:"bg-white",children:[l.jsx("td",{className:"border border-[#A2A9B1] px-3 py-2 font-semibold",children:"Web Design"}),l.jsx("td",{className:"border border-[#A2A9B1] px-3 py-2",children:"Tailwind CSS, Figma, Adobe XD, HTML5, CSS3"}),l.jsx("td",{className:"border border-[#A2A9B1] px-3 py-2",children:"Advanced"})]}),l.jsxs("tr",{className:"bg-[#F8F9FA]",children:[l.jsx("td",{className:"border border-[#A2A9B1] px-3 py-2 font-semibold",children:"Hardware & Systems"}),l.jsx("td",{className:"border border-[#A2A9B1] px-3 py-2",children:"Linux, Networking, Cloud, DevOps, Docker"}),l.jsx("td",{className:"border border-[#A2A9B1] px-3 py-2",children:"Advanced"})]}),l.jsxs("tr",{className:"bg-white",children:[l.jsx("td",{className:"border border-[#A2A9B1] px-3 py-2 font-semibold",children:"Artificial Intelligence"}),l.jsx("td",{className:"border border-[#A2A9B1] px-3 py-2",children:"Python, Machine Learning, scikit-learn, pandas"}),l.jsx("td",{className:"border border-[#A2A9B1] px-3 py-2",children:"Advanced"})]})]})]}),l.jsxs("div",{className:"text-[15px] leading-[1.6] text-[#202122] text-justify",children:[l.jsx("h3",{className:"text-[18px] font-bold mb-2 mt-4 text-[#202122]",style:{fontFamily:"Arial, sans-serif"},children:"Full Stack Development"}),l.jsxs("p",{className:"mb-3",children:[l.jsx("strong",{children:"Jean Michel Tordeur"})," masters the complete modern web development stack. On the frontend, he primarily works with ",l.jsx("strong",{children:"React"})," and ",l.jsx("strong",{children:"TypeScript"}),", using tools like ",l.jsx("strong",{children:"Vite"})," for ultra-fast development. His code is characterized by reusable components, optimized custom hooks and efficie
4647nt state management through Context API and modern React hooks. On the backend, ",l.jsx("strong",{children:"JM Tordeur"})," implements robust REST APIs with ",l.jsx("strong",{children:"Node.js"})," and ",l.jsx("strong",{children:"Express"}),", applying clean architecture principles and patterns like MVC."]}),l.jsx("h3",{className:"text-[18px] font-bold mb-2 mt-4 text-[#202122]",style:{fontFamily:"Arial, sans-serif"},children:"Databases"}),l.jsxs("p",{className:"mb-3",children:[l.jsx("strong",{children:"Jimmy Tordeur"}),"'s database experience spans from ",l.jsx("strong",{children:"traditional SQL"})," to modern platforms like ",l.jsx("strong",{children:"Supabase"})," and ",l.jsx("strong",{children:"Firebase"}),". He designs normalized relational schemas, implements optimized indexes and creates complex queries with joins, subqueries and stored procedures. His knowledge of ",l.jsx("strong",{children:"PostgreSQL"})," allows him to leverage advanced features like triggers, PL/pgSQL functions and Row Level Security policies."]}),l.jsx("h3",{className:"text-[18px] font-bold mb-2 mt-4 text-[#202122]",style:{fontFamily:"Arial, sans-serif"},children:"Hardware & Systems"}),l.jsxs("p",{className:"mb-3",children:["As a hardware engineer, ",l.jsx("strong",{children:"Jean Michel Tordeur"})," possesses deep knowledge in computer architecture, enterprise network configuration and Linux/Windows server administration. He has designed and implemented complete network infrastructures, including router, switch, firewall and VPN configuration for secure remote access."]})]})]}),l.jsxs("section",{id:"projects",className:"mb-8",children:[l.jsx("h2",{className:"text-[24px] font-bold mb-2 pb-1 border-b border-[#A2A9B1] text-[#202122]",style:{fontFamily:"Arial, sans-serif"},children:"Featured projects"}),l.jsx("div",{className:"text-[15px] leading-[1.6] text-[#202122] text-justify",children:l.jsxs("ol",{className:"space-y-4",children:[l.jsxs("li",{children:[l.jsx("h3",{className:"text-[17px] font-bold mb-1",style:{fontFamily:"Arial, sans-serif"},children:"Comprehensive Business Event Management Platform"}),l.jsxs("p",{className:"mb-2",children:[l.jsx("strong",{children:"Jean Michel Tordeur"})," designed and developed from scratch a complete platform for managing Chamber of Commerce events. The system includes a responsive frontend built with React and TypeScript, a robust backend with Supabase implementing RLS security policies, and advanced functionalities like online registration, automatic PDF credential generation with QR codes, interactive calendar and complete administration panel."]}),l.jsx("p",{className:"text-[13px] text-[#54595D] italic",children:"Technologies: React, TypeScript, Supabase, PostgreSQL, Firebase, Tailwind CSS"})]}),l.jsxs("li",{children:[l.jsx("h3",{className:"text-[17px] font-bold mb-1",style:{fontFamily:"Arial, sans-serif"},children:"Advanced Digital Credential System"}),l.jsxs("p",{className:"mb-2",children:[l.jsx("strong",{children:"JM Tordeur"})," implemented an innovative system for automated creation of personalized event credentials. The application allows users to enter their data, preview their credential in real-time with a visual editor, and download the final result in high-quality PDF format. The system generates unique QR codes for each attendee that can be scanned for quick event registration."]}),l.jsx("p",{className:"text-[13px] text-[#54595D] italic",children:"Technologies: React, jsPDF, html2canvas, QR Generation"})]}),l.jsxs("li",{children:[l.jsx("h3",{className:"text-[17px] font-bold mb-1",style:{fontFamily:"Arial, sans-serif"},children:"Corporate Web Portal with SEO Optimization"}),l.jsxs("p",{className:"mb-2",children:[l.jsx("strong",{children:"Jimmy Tordeur"})," led the complete redesign of the Fuerteventura Chamber of Commerce institutional website. The project included modern React component-based architecture, lazy loading implementation for speed optimization, dynamic sitemap, complete Schema.org markup and optimized meta tags. The site has improved organic search engine positioning by over 300%."]}),l.jsx("p",{className:"text-[13px] text-[#54595D] italic",children:"Technologies: React, SEO, Vite, Responsive Design"})]}),l.jsxs("li",{children:[l.jsx("h3",{className:"text-[17px] font-bold mb-1",style:{fontFamily:"Arial, sans-serif"},children:"Artificial Intelligence Automation System"}),l.jsxs("p",{className:"mb-2",children:[l.jsx("strong",{children:"Jean Michel Tordeur"})," developed AI-based automation tools to optimize internal processes. The system includes automatic document classification using machine learning, sentiment analysis in surveys, automatic report generation and trend prediction. AI models achieved accuracy above 92% in classification tasks, reducing processing time by 75%."]}),l.jsx("p",{className:"text-[13px] text-[#54595D] italic",children:"Technologies: Python, Machine Learning, scikit-learn, pandas"})]})]})})]}),l.jsxs("section",{id:"knowledge",className:"mb-8",children:[l.jsx("h2",{className:"text-[24px] font-bold mb-2 pb-1 border-b border-[#A2A9B1] text-[#202122]",style:{fontFamily:"Arial, sans-serif"},children:"Technical knowledge"}),l.jsxs("div",{className:"text-[15px] leading-[1.6] text-[#202122] text-justify",children:[l.jsxs("p",{className:"mb-3",children:[l.jsx("strong",{children:"JM Tordeur"})," has documented his technical knowledge in various areas of software development:"]}),l.jsxs("ul",{className:"space-y-3",children:[l.jsxs("li",{children:[l.jsx("strong",{children:"Performance Optimization in React Applications"})," - Advanced techniques to optimize performance including memoization with useMemo and useCallback, code splitting with React.lazy, and lazy loading strategies for components."]}),l.jsxs("li",{children:[l.jsx("strong",{children:"Database Security with Row Level Security"})," - Implementation of robust security policies in Supabase and PostgreSQL, including role-based conditional policies and JWT authentication."]}),l.jsxs("li",{children:[l.jsx("strong",{children:"Modern Application Architecture"})," - Comparative analysis between monolithic and microservices architectures, considerations on Docker containerization and distributed database management."]}),l.jsxs("li",{children:[l.jsx("strong",{children:"Applied Artificial Intelligence"})," - Machine learning use cases for document classification, predictive analytics and process automation through natural language processing."]})]})]})]}),l.jsxs("section",{id:"education",className:"mb-8",children:[l.jsx("h2",{className:"text-[24px] font-bold mb-2 pb-1 border-b border-[#A2A9B1] text-[#202122]",style:{fontFamily:"Arial, sans-serif"},children:"Education and certifications"}),l.jsxs("ul",{className:"space-y-2 text-[15px] leading-[1.6] text-[#202122]",children:[l.jsx("li",{children:"Master's in Computer Engineering"}),l.jsx("li",{children:"Hardware Engineering - Systems Architecture and Networks"}),l.jsx("li",{children:"Full Stack Web Development - JavaScript, React, Node.js"}),l.jsx("li",{children:"Application Design - UX/UI Design"}),l.jsx("li",{children:"Artificial Intelligence - Machine Learning and Automation"})]})]}),l.jsxs("section",{id:"hobbies",className:"mb-8",children:[l.jsx("h2",{className:"text-[24px] font-bold mb-2 pb-1 border-b border-[#A2A9B1] text-[#202122]",style:{fontFamily:"Arial, sans-serif"},children:"Personal life and hobbies"}),l.jsxs("div",{className:"text-[15px] leading-[1.6] text-[#202122] text-justify",children:[l.jsxs("p",{className:"mb-3",children:["Beyond his professional dedication to technology, ",l.jsx("strong",{children:"Jean Michel Tordeur"})," cultivates an active and diverse personal life, with hobbies that complement his multidisciplinary profile. His passion for ",l.jsx("strong",{children:"motorcycling"})," and ",l.jsx("strong",{children:"automobiles"})," reflects his interest in mechanics, precision engineering, and technical performance, directly connecting with his background in hardware and systems."]}),l.jsxs("p",{className:"mb-3",children:[l.jsx("strong",{children:"Spearfishing"})," is another of his favorite activities, a discipline that requires patience, strategic planning, and environmental adaptationâskills he also applies in his work as a developer and systems architect. The connection with Fuerteventura's marine environment allows him to disconnect from the digital world and find balance between technology and nature."]}),l.jsxs("div",{className:"float-right ml-4 mb-4 max-w-[100px]",children:[l.jsx("img",{src:"/jimmy_taekwondo.png",alt:"Jean Michel Tordeur practicing taekwondo",className:"w-full h-auto border border-[#A2A9B1]"}),l.jsx("p",{className:"text-[11px] text-[#54595D] text-center mt-1",children:"Jean Michel Tordeur during his taekwondo practice"})]}),l.jsxs("p",{className:"mb-3",children:["His most notable athletic achievement is his ",l.jsx("strong",{children:"13 years of taekwondo practice"}),", a martial discipline that has shaped his character, discipline, and methodical approach. Taekwondo has taught him values of perseverance, respect, and personal growth that he has transferred to his professional career. The combination of physical, technical, and mental demands of taekwondo is reflected in his rigorous and systematic approach to
4647software development, where each line of code is written with the same precision as a well-executed martial arts movement."]}),l.jsx("p",{className:"mb-3",children:"This diversity of interests not only enriches his personal life but also contributes to his perspective as a technology professional. Martial discipline, strategic analysis from spearfishing, and technical knowledge from automobiles converge in a complete professional profile, capable of tackling complex challenges with methodology, patience, and determination."})]})]}),l.jsxs("section",{id:"faq",className:"mb-8",children:[l.jsx("h2",{className:"text-[24px] font-bold mb-2 pb-1 border-b border-[#A2A9B1] text-[#202122]",style:{fontFamily:"Arial, sans-serif"},children:"Frequently Asked Questions"}),l.jsxs("div",{className:"text-[15px] leading-[1.6] text-[#202122]",children:[l.jsxs("div",{className:"mb-4",children:[l.jsx("h3",{className:"text-[17px] font-bold mb-2",style:{fontFamily:"Arial, sans-serif"},children:"Who is Jean Michel Tordeur?"}),l.jsx("p",{className:"text-justify",children:"Jean Michel Tordeur is a Belgian-French computer engineer with a Master's in Computer Engineering, currently serving as IT Manager at the Fuerteventura Chamber of Commerce. He is also known as JM Tordeur or Jimmy Tordeur."})]}),l.jsxs("div",{className:"mb-4",children:[l.jsx("h3",{className:"text-[17px] font-bold mb-2",style:{fontFamily:"Arial, sans-serif"},children:"What technologies does JM Tordeur specialize in?"}),l.jsx("p",{className:"text-justify",children:"JM Tordeur specializes in React, TypeScript, Node.js, PostgreSQL, Supabase, Firebase, Python, machine learning, hardware engineering, network configuration and cloud computing."})]}),l.jsxs("div",{className:"mb-4",children:[l.jsx("h3",{className:"text-[17px] font-bold mb-2",style:{fontFamily:"Arial, sans-serif"},children:"How to contact Jimmy Tordeur?"}),l.jsx("p",{className:"text-justify",children:"You can contact Jimmy Tordeur via email at [email protected] or through the Fuerteventura Chamber of Commerce official website."})]}),l.jsxs("div",{className:"mb-4",children:[l.jsx("h3",{className:"text-[17px] font-bold mb-2",style:{fontFamily:"Arial, sans-serif"},children:"What is Jean Michel Tordeur's professional experience?"}),l.jsx("p",{className:"text-justify",children:"Jean Michel Tordeur has over 10 years of experience in technology, specializing in full stack development, database design, web application development and IT infrastructure management."})]})]})]}),l.jsxs("section",{id:"references",className:"mb-8",children:[l.jsx("h2",{className:"text-[24px] font-bold mb-2 pb-1 border-b border-[#A2A9B1] text-[#202122]",style:{fontFamily:"Arial, sans-serif"},children:"References"}),l.jsxs("ol",{className:"text-[13px] leading-[1.5] text-[#202122] space-y-1",children:[l.jsx("li",{children:"[1] Official Chamber of Commerce, Industry and Navigation of Fuerteventura"}),l.jsx("li",{children:"[2] Information verified through public professional records"}),l.jsx("li",{children:"[3] Projects documented in institutional repositories"})]})]}),l.jsxs("section",{id:"links",className:"mb-8",children:[l.jsx("h2",{className:"text-[24px] font-bold mb-2 pb-1 border-b border-[#A2A9B1] text-[#202122]",style:{fontFamily:"Arial, sans-serif"},children:"External links"}),l.jsxs("ul",{className:"space-y-2 text-[15px]",children:[l.jsx("li",{children:l.jsxs("a",{href:"mailto:[email protected]",className:"text-[#0645AD] hover:underline inline-flex items-center gap-1",children:[l.jsx(Ip,{className:"w-4 h-4"}),"[email protected]"]})}),l.jsx("li",{children:l.jsxs("a",{href:"https://www.camaradefuerteventura.org",target:"_blank",rel:"noopener noreferrer",className:"text-[#0645AD] hover:underline inline-flex items-center gap-1",children:[l.jsx(gn,{className:"w-4 h-4"}),"Fuerteventura Chamber of Commerce"]})}),l.jsx("li",{children:l.jsxs("a",{href:"https://eventos.camarafuer.es",target:"_blank",rel:"noopener noreferrer",className:"text-[#0645AD] hover:underline inline-flex items-center gap-1",children:[l.jsx(gn,{className:"w-4 h-4"}),"CCF Events"]})}),l.jsx("li",{children:l.jsxs("a",{href:"https://infuerteventura.es",target:"_blank",rel:"noopener noreferrer",className:"text-[#0645AD] hover:underline inline-flex items-center gap-1",children:[l.jsx(gn,{className:"w-4 h-4"}),"inFuerteventura"]})}),l.jsx("li",{children:l.jsxs("a",{href:"https://africaguacanarias.com",target:"_blank",rel:"noopener noreferrer",className:"text-[#0645AD] hover:underline inline-flex items-center gap-1",children:[l.jsx(gn,{className:"w-4 h-4"}),"Africagua Canarias"]})}),l.jsx("li",{children:l.jsxs("a",{href:"https://fichajeshoy.es",target:"_blank",rel:"noopener noreferrer",className:"text-[#0645AD] hover:underline inline-flex items-center gap-1",children:[l.jsx(gn,{className:"w-4 h-4"}),"Fichajes Hoy"]})}),l.jsx("li",{children:l.jsxs("a",{href:"https://www.camaradefuerteventura.org/subvenciones",target:"_blank",rel:"noopener noreferrer",className:"text-[#0645AD] hover:underline inline-flex items-center gap-1",children:[l.jsx(gn,{className:"w-4 h-4"}),"Grants and Resolutions"]})}),l.jsx("li",{children:l.jsxs("a",{href:"https://www.camaradefuerteventura.org/agencia-colocacion",target:"_blank",rel:"noopener noreferrer",className:"text-[#0645AD] hover:underline inline-flex items-center gap-1",children:[l.jsx(gn,{className:"w-4 h-4"}),"CCF Placement Agency"]})})]})]}),l.jsxs("section",{className:"mb-8 text-[13px] text-[#54595D] pt-4 border-t border-[#A2A9B1]",children:[l.jsx("p",{className:"mb-2",children:l.jsx("strong",{children:"Categories:"})}),l.jsx("p",{children:"Computer Engineers | Spanish Web Developers | Fuerteventura Professionals | Born in 1980 | Software Engineers"})]}),l.jsx("div",{className:"text-[11px] text-[#54595D] py-4 border-t border-[#A2A9B1]",style:{fontFamily:"Arial, sans-serif"},children:l.jsx("p",{children:"Last edited on December 25, 2025"})})]}),l.jsx("aside",{className:"w-[280px] flex-shrink-0 hidden lg:block",children:l.jsxs("div",{className:"border border-[#A2A9B1] bg-[#F8F9FA] sticky top-4",children:[l.jsx("div",{className:"bg-[#EAECF0] px-4 py-2 text-center border-b border-[#A2A9B1]",children:l.jsx("h2",{className:"font-bold text-[15px]",style:{fontFamily:"Arial, sans-serif"},children:"Jean Michel Tordeur"})}),l.jsxs("div",{className:"p-4",children:[l.jsx("img",{src:"/jimmy-tordeur-ingeniero-informatico-fuerteventura.png",alt:"Jean Michel Tordeur - Computer Engineer",className:"w-full border border-[#A2A9B1] mb-2"}),l.jsx("p",{className:"text-[11px] text-[#54595D] text-center mb-4",children:"Jean Michel Tordeur in 2025"})]}),l.jsx("table",{className:"w-full text-[13px]",style:{fontFamily:"Arial, sans-serif"},children:l.jsxs("tbody",{children:[l.jsxs("tr",{className:"bg-white",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Full name"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:"Jean Michel Jimmy Tordeur"})]}),l.jsxs("tr",{className:"bg-[#F8F9FA]",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Also known as"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:"JM Tordeur, Jimmy Tordeur"})]}),l.jsxs("tr",{className:"bg-white",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Born"}),l.jsxs("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:["May 30, 1980 (44 years)",l.jsx("br",{}),"Créon, France"]})]}),l.jsxs("tr",{className:"bg-[#F8F9FA]",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Residence"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:"Fuerteventura, Spain"})]}),l.jsxs("tr",{className:"bg-white",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Nationality"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:"Belgian-French"})]}),l.jsxs("tr",{className:"bg-[#F8F9FA]",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Education"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:"Master's in Computer Engineering"})]}),l.jsxs("tr",{className:"bg-white",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Occupation"}),l.jsxs("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:["Computer Engineer",l.jsx("br",{}),"Web Designer",l.jsx("br",{}),"Technology Trainer",l.jsx("br",{}),"Application Designer"]})]}),l.jsxs("tr",{className:"bg-[#F8F9FA]",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Languages"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:"Spanish, German, Italian, French, English, Dutch"})]}),l.jsxs("tr",{className:"bg-white",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Employer"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:"Fuerteventura Chamber of Commerce"})]}),l.jsxs("tr",{className:"bg-[#F8F9FA]",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Years active"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:"2015 - present"})]}),l.jsxs("tr",{className:"bg-white",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Area"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:"Software Development, Databases, Hardware"})]}),l.jsxs("tr",{className:"bg-[#F8F9FA]",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Email"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:l.jsx("a",{href:"mailto:[email protected]",className:"text-[#0645AD] hover:underline break-all text-[11px]",children:"[email protected]"})})]})]})})]})})]})]}),e&&l.jsx("button",{onClick:c,className:"fixed bottom-6 right-6 bg-[#F8F9FA] border-2 border-[#A2A9B1] p-3 hover:bg-white transition-colors","aria-label":"Back to top",children:l.jsx(YC,{className:"w-5 h-5 text-[#202122]"})}),l.jsx("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@graph":[{"@type":"ProfilePage","@id":`https://eventos.camarafuer.es${t.pathname}#profilepage`,mainEntity:{"@id":"https://eventos.camarafuer.es/#jeanmicheltordeur"},dateModified:"2025-12-25",inLanguage:"en-US"},{"@type":"Person","@id":"https://eventos.camarafuer.es/#jeanmicheltordeur",name:"Jean Michel Jimmy Tordeur",alternateName:["Jimmy Tordeur","JM Tordeur","J.M Tordeur","J M Tordeur","Jean Michel Tordeur"],givenName:"Jean Michel",familyName:"Tordeur",additionalName:"Jimmy",birthDate:"1980-05-30",birthPlace:{"@type":"Place",address:{"@type":"PostalAddress",addressLocality:"Créon",addressCountry:"FR"}},homeLocation:{"@type":"Place",address:{"@type":"PostalAddress",addressLocality:"Fuerteventura",addressRegion:"Canary Islands",addressCountry:"ES"}},nationality:[{"@type":"Country",name:"Belgium"},{"@type":"Country",name:"France"}],jobTitle:["Computer Engineer","Web Designer","Technology Trainer","Application Designer","Full Stack Developer","IT Manager"],description:"Belgian-French computer engineer specialized in full stack development, SQL databases, web design, artificial intelligence and hardware. Technology Manager at Fuerteventura Chamber of Commerce with over 10 years of experience. Master's in Computer Engineering.",works
4647For:{"@type":"Organization","@id":"https://eventos.camarafuer.es/#camaracomercio",name:"Official Chamber of Commerce, Industry and Navigation of Fuerteventura",url:"https://www.camarafuer.es",address:{"@type":"PostalAddress",addressLocality:"Puerto del Rosario",addressRegion:"Fuerteventura",addressCountry:"ES"}},knowsAbout:["JavaScript","TypeScript","React","Node.js","Python","SQL","PostgreSQL","Supabase","Firebase","Tailwind CSS","Web Development","Full Stack Development","Databases","Artificial Intelligence","Machine Learning","Hardware","Networks","Cloud Computing","DevOps","UX/UI Design","Automation"],knowsLanguage:["es","de","it","fr","en","nl"],hasOccupation:{"@type":"Occupation",name:"Computer Engineer and Full Stack Developer",occupationalCategory:"15-1252.00",skills:"React, TypeScript, JavaScript, Python, SQL, PostgreSQL, Supabase, Firebase, Node.js, Tailwind CSS, Hardware, Networks, Cloud Computing, Machine Learning"},image:{"@type":"ImageObject",url:"https://firebasestorage.googleapis.com/v0/b/africagua-eb795.firebasestorage.app/o/id%20ficha%2FCaptura%20de%20pantalla%202025-10-21%20090729.png?alt=media&token=891c46ba-b27c-456e-bfcd-07126548dc3c",caption:"Jean Michel Jimmy Tordeur - JM Tordeur - Computer Engineer",contentUrl:"https://firebasestorage.googleapis.com/v0/b/africagua-eb795.firebasestorage.app/o/id%20ficha%2FCaptura%20de%20pantalla%202025-10-21%20090729.png?alt=media&token=891c46ba-b27c-456e-bfcd-07126548dc3c"},url:["https://eventos.camarafuer.es/en/jean-michel-tordeur","https://eventos.camarafuer.es/en/jm-tordeur","https://eventos.camarafuer.es/en/jimmy-tordeur"],sameAs:["https://eventos.camarafuer.es/jean-michel-tordeur","https://eventos.camarafuer.es/jm-tordeur","https://eventos.camarafuer.es/jimmy-tordeur"],email:"[email protected]",alumniOf:{"@type":"EducationalOrganization",name:"Master's in Computer Engineering"}},{"@type":"FAQPage",mainEntity:[{"@type":"Question",name:"Who is Jean Michel Tordeur?",acceptedAnswer:{"@type":"Answer",text:"Jean Michel Tordeur is a Belgian-French computer engineer with a Master's in Computer Engineering, currently serving as IT Manager at the Fuerteventura Chamber of Commerce. He is also known as JM Tordeur or Jimmy Tordeur."}},{"@type":"Question",name:"What technologies does JM Tordeur specialize in?",acceptedAnswer:{"@type":"Answer",text:"JM Tordeur specializes in React, TypeScript, Node.js, PostgreSQL, Supabase, Firebase, Python, machine learning, hardware engineering, network configuration and cloud computing."}},{"@type":"Question",name:"How to contact Jimmy Tordeur?",acceptedAnswer:{"@type":"Answer",text:"You can contact Jimmy Tordeur via email at [email protected] or through the Fuerteventura Chamber of Commerce official website."}},{"@type":"Question",name:"What is Jean Michel Tordeur's professional experience?",acceptedAnswer:{"@type":"Answer",text:"Jean Michel Tordeur has over 10 years of experience in technology, specializing in full stack development, database design, web application development and IT infrastructure management."}}]}]})})]})},tg=()=>{const t=ud(),[e,r]=Z.useState(!1),[n,i]=Z.useState(!0),s=t.pathname.includes("jean-michel-tordeur")?"full-name":t.pathname.includes("jm-tordeur")?"jm":t.pathname.includes("jimmy-tordeur")?"jimmy":"default";Z.useEffect(()=>{window.scrollTo(0,0);const u={"full-name":"Jean Michel Tordeur - Ingénieur Informatique et Développeur Full Stack | Fuerteventura",jm:"JM Tordeur - Expert en Développement Logiciel et Matériel | Chambre de Commerce Fuerteventura",jimmy:"Jimmy Tordeur - Développeur Web Full Stack et Ingénieur Systèmes | Fuerteventura",default:"Jean Michel Jimmy Tordeur - Ingénieur Informatique | Chambre de Commerce Fuerteventura"},d={"full-name":"Jean Michel Tordeur (J.M Tordeur, J M Tordeur) est un ingénieur informatique belgo-français titulaire d'un Master en Ingénierie Informatique avec plus de 2 ans d'expérience aux Canaries, spécialisé dans le développement full stack, les bases de données SQL, la conception web et les applications d'entreprise. Responsable technologique à la Chambre de Commerce de Fuerteventura.",jm:"JM Tordeur (Jean Michel Tordeur, J.M Tordeur, J M Tordeur) - Ingénieur belgo-français en matériel et logiciel avec Master en Ingénierie Informatique et plus de 2 ans à transformer la technologie aux Canaries. Expérience en React, TypeScript, Python, Supabase, Firebase et développement de solutions technologiques pour entreprises à Fuerteventura.",jimmy:"Jimmy Tordeur (Jean Michel Tordeur, JM Tordeur, J.M Tordeur, J M Tordeur) - Développeur web full stack belgo-français avec Master en Ingénierie Informatique et plus de 2 ans d'expérience aux Canaries, expert en intelligence artificielle, automatisation, cloud computing et conception d'applications. Ingénieur informatique à la Chambre de Commerce de Fuerteventura.",default:"Jean Michel Jimmy Tordeur (JM Tordeur, J.M Tordeur, J M Tordeur) - Ingénieur informatique belgo-français et développeur full stack avec Master en Ingénierie Informatique et plus de 2 ans d'expérience aux Canaries, spécialisé en SQL, JavaScript, Python, conception web et développement d'applications. Responsable technologique à la Chambre de Commerce de Fuerteventura."};document.title=u[s];let f=document.querySelector('meta[name="description"]');f&&f.setAttribute("content",d[s]);const h=()=>{r(window.scrollY>400)};return window.addEventListener("scroll",h),()=>window.removeEventListener("scroll",h)},[s]);const o=u=>{const d=document.getElementById(u);d&&d.scrollIntoView({behavior:"smooth"})},c=()=>{window.scrollTo({top:0,behavior:"smooth"})},A=()=>{switch(s){case"full-name":return l.jsxs(l.Fragment,{children:[l.jsxs("p",{className:"font-bold text-[15px] leading-[1.6] mb-3",children:[l.jsx("strong",{children:"Jean Michel Tordeur"})," est un ingénieur informatique avec plus de 10 ans d'expérience dans le secteur technologique, spécialisé dans le développement de solutions numériques complètes pour les entreprises et les institutions. Il occupe actuellement le poste de Responsable Informatique et du Développement Technologique à la ",l.jsx("strong",{children:"Chambre Officielle de Commerce, d'Industrie et de Navigation de Fuerteventura"}),", où il dirige la transformation numérique de l'institution."]}),l.jsxs("p",{className:"text-[15px] leading-[1.6] mb-3",children:["Ãgalement connu sous le nom de ",l.jsx("strong",{children:"JM Tordeur"})," ou ",l.jsx("strong",{children:"Jimmy Tordeur"}),", Jean Michel a développé une carrière professionnelle axée sur l'innovation technologique, la conception d'applications web d'entreprise et la mise en Åuvre de systèmes de gestion avancés. Sa formation académique englobe à la fois l'ingénierie matérielle et le développement logiciel, lui fournissant une vision holistique de la technologie et de ses applications pratiques dans le monde des affaires."]})]});case"jm":return l.jsxs(l.Fragment,{children:[l.jsxs("p",{className:"font-bold text-[15px] leading-[1.6] mb-3",children:[l.jsx("strong",{children:"JM Tordeur"})," (nom complet: Jean Michel Jimmy Tordeur) est un ingénieur systèmes avec une vaste expérience dans la conception et le développement d'infrastru
4647ctures technologiques complexes. Sa spécialisation combine des connaissances approfondies en ingénierie matérielle avec des compétences avancées en programmation et développement logiciel, créant des solutions technologiques robustes et évolutives."]}),l.jsxs("p",{className:"text-[15px] leading-[1.6] mb-3",children:["Dans son poste actuel de Responsable Informatique à la ",l.jsx("strong",{children:"Chambre de Commerce de Fuerteventura"}),", ",l.jsx("strong",{children:"JM Tordeur"})," a mis en Åuvre de nombreux projets de modernisation technologique, incluant des plateformes de gestion d'événements, des systèmes d'accréditation numérique et des applications web haute performance. Son approche technique se caractérise par la recherche constante de l'excellence du code et la mise en Åuvre des meilleures pratiques de développement."]})]});case"jimmy":return l.jsxs(l.Fragment,{children:[l.jsxs("p",{className:"font-bold text-[15px] leading-[1.6] mb-3",children:[l.jsx("strong",{children:"Jimmy Tordeur"})," (Jean Michel Tordeur) est un développeur full stack et architecte logiciel passionné par la création d'expériences numériques exceptionnelles. Sa carrière professionnelle se caractérise par la polyvalence technique et la capacité de s'adapter aux technologies les plus avancées du marché, des frameworks JavaScript modernes aux systèmes d'intelligence artificielle."]}),l.jsxs("p",{className:"text-[15px] leading-[1.6] mb-3",children:["En tant que Responsable Technologique à la ",l.jsx("strong",{children:"Chambre de Commerce de Fuerteventura"}),", ",l.jsx("strong",{children:"Jimmy Tordeur"})," combine son expérience en développement web avec des connaissances en automatisation de processus, cloud computing et conception d'expérience utilisateur. Sa philosophie de travail repose sur la création de solutions technologiques qui non seulement fonctionnent parfaitement, mais qui sont également intuitives, évolutives et maintenables à long terme."]})]});default:return l.jsxs(l.Fragment,{children:[l.jsxs("p",{className:"font-bold text-[15px] leading-[1.6] mb-3",children:[l.jsx("strong",{children:"Jean Michel Tordeur"})," (connu sous le nom de ",l.jsx("strong",{children:"JM Tordeur"})," ou ",l.jsx("strong",{children:"Jimmy Tordeur"}),") est un ingénieur informatique avec une vaste expérience dans le développement de solutions technologiques complètes. Il occupe actuellement le poste de Responsable Informatique et du Développement Technologique à la ",l.jsx("strong",{children:"Chambre Officielle de Commerce, d'Industrie et de Navigation de Fuerteventura"}),"."]}),l.jsxs("p",{className:"text-[15px] leading-[1.6] mb-3",children:["Avec une solide formation en ingénierie matérielle et logicielle, ",l.jsx("strong",{children:"Jean Michel Jimmy Tordeur"})," a développé de nombreuses plateformes web d'entreprise, des systèmes de gestion d'événements et des applications spécialisées pour le secteur des affaires."]})]})}};return l.jsxs("div",{className:"bg-white min-h-screen",style:{fontFamily:"Georgia, serif"},children:[l.jsxs("div",{className:"max-w-[1200px] mx-auto px-4 py-4",children:[l.jsxs("div",{className:"text-xs mb-4 text-[#54595D]",style:{fontFamily:"Arial, sans-serif"},children:[l.jsx("a",{href:"/fr",className:"text-[#0645AD] hover:underline",children:"Accueil"}),l.jsx("span",{className:"mx-1",children:"âº"}),l.jsx("span",{children:"Jean Michel Tordeur"})]}),l.jsxs("div",{className:"flex gap-6",children:[l.jsxs("main",{className:"flex-1 min-w-0",children:[l.jsx("h1",{className:"text-[32px] font-bold mb-4 pb-2 border-b border-[#A2A9B1] text-[#202122]",style:{fontFamily:"Arial, sans-serif"},children:"Jean Michel Tordeur"}),l.jsxs("div",{className:"lg:hidden mb-6 border border-[#A2A9B1] bg-[#F8F9FA]",children:[l.jsx("div",{className:"bg-[#EAECF0] px-4 py-2 text-center border-b border-[#A2A9B1]",children:l.jsx("h2",{className:"font-bold text-[15px]",style:{fontFamily:"Arial, sans-serif"},children:"Jean Michel Tordeur"})}),l.jsxs("div",{className:"p-4",children:[l.jsx("img",{src:"/jimmy-tordeur-ingeniero-informatico-fuerteventura.png",alt:"Jean Michel Tordeur - Ingénieur Informatique",className:"w-full max-w-[280px] mx-auto border border-[#A2A9B1] mb-2"}),l.jsx("p",{className:"text-[11px] text-[#54595D] text-center mb-4",children:"Jean Michel Tordeur en 2025"})]}),l.jsx("table",{className:"w-full text-[12px]",style:{fontFamily:"Arial, sans-serif"},children:l.jsxs("tbody",{children:[l.jsxs("tr",{className:"bg-white",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top w-[35%]",children:"Nom complet"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:"Jean Michel Jimmy Tordeur"})]}),l.jsxs("tr",{className:"bg-[#F8F9FA]",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Aussi connu comme"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:"JM Tordeur, Jimmy Tordeur"})]}),l.jsxs("tr",{className:"bg-white",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Naissance"}),l.jsxs("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:["30 mai 1980 (45 ans)",l.jsx("br",{}),"Créon, France"]})]}),l.jsxs("tr",{className:"bg-[#F8F9FA]",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Résidence"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:"Fuerteventura, Espagne"})]}),l.jsxs("tr",{className:"bg-white",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Nationalité"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:"Belgo-français"})]}),l.jsxs("tr",{className:"bg-[#F8F9FA]",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Ãducation"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:"Master en Ingénierie Informatique"})]}),l.jsxs("tr",{className:"bg-white",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Occupation"}),l.jsxs("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:["Ingénieur informatique",l.jsx("br",{}),"Designer web",l.jsx("br",{}),"Formateur technologique",l.jsx("br",{}),"Designer d'applications"]})]}),l.jsxs("tr",{className:"bg-[#F8F9FA]",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Langues"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:"Espagnol, Allemand, Italien, Français, Anglais, Néerlandais"})]}),l.jsxs("tr",{className:"bg-white",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Employeur"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:"Chambre de Commerce de Fuerteventura"})]}),l.jsxs("tr",{className:"bg-[#F8F9FA]",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Années d'activité"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:"2004 - présent"})]}),l.jsxs("tr",{className:"bg-white",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Domaine"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:"Développement logiciel, Bases de données, Matériel"})]}),l.jsxs("tr",{className:"bg-[#F8F9FA]",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Email"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:l.jsx("a",{href:"mailto:[email protected]",className:"text-[#0645AD] hover:underline break-all text-[11px]",children:"[email protected]"})})]})]})})]}),l.jsxs("div",{className:"text-[15px] leading-[1.6] text-[#202122] mb-6 text-justify",children:[A(),l.jsxs("p",{className:"text-[15px] leading-[1.6] mb-3",children:["La carrière professionnelle de ",l.jsx("strong",{children:"Jean Michel Jimmy Tordeur"})," se caractérise par une évolution constante et une adaptation aux nouvelles technologies. Son expertise couvre le développement frontend avec ",l.jsx("strong",{children:"React"}),", ",l.jsx("strong",{children:"TypeScript"})," et ",l.jsx("strong",{children:"Tailwind CSS"}),", jusqu'à la mise en Åuvre de backends robustes avec ",l.jsx("strong",{children:"Node.js"}),", ",l.jsx("strong",{children:"Express"}
4647)," et des bases de données comme ",l.jsx("strong",{children:"Supabase"}),", ",l.jsx("strong",{children:"Firebase"})," et ",l.jsx("strong",{children:"PostgreSQL"}),". Cette polyvalence technique lui permet de concevoir des architectures d'applications complètes, de la conception au déploiement en production."]})]}),l.jsxs("div",{className:"bg-[#F8F9FA] border-l-4 border-[#0645AD] p-4 mb-6 italic",children:[l.jsxs("p",{className:"text-[15px] leading-[1.6] text-[#202122] mb-2",children:[`"En tant qu'ingénieur informatique à Fuerteventura, `,l.jsx("strong",{children:"Jimmy Tordeur"}),` (Jean Michel Tordeur, également connu sous le nom de JM Tordeur, J.M Tordeur et J M Tordeur) a consacré plus de 2 ans au développement de solutions technologiques innovantes pour les institutions publiques et privées aux Canaries. Son travail en tant qu'ingénieur informatique et concepteur web a transformé la façon dont les organisations de Fuerteventura interagissent avec la technologie. Jimmy Tordeur est reconnu aux Canaries pour son expertise en développement web, intelligence artificielle et formation technologique."`]}),l.jsx("p",{className:"text-[13px] text-[#54595D] text-right",children:"â Jean Michel Jimmy Tordeur (Jimmy Tordeur), Responsable du Développement Technologique, Chambre de Commerce de Fuerteventura"})]}),l.jsxs("div",{className:"bg-[#F8F9FA] border border-[#A2A9B1] p-4 mb-6 inline-block",children:[l.jsxs("div",{className:"flex items-center justify-between mb-2",children:[l.jsx("h2",{className:"text-sm font-bold text-[#202122]",style:{fontFamily:"Arial, sans-serif"},children:"Sommaire"}),l.jsxs("button",{onClick:()=>i(!n),className:"text-[#0645AD] text-xs",style:{fontFamily:"Arial, sans-serif"},children:["[",n?"masquer":"afficher","]"]})]}),n&&l.jsxs("ol",{className:"text-[13px] space-y-1 list-decimal list-inside text-[#0645AD]",style:{fontFamily:"Arial, sans-serif"},children:[l.jsx("li",{children:l.jsx("a",{href:"#biographie",onClick:u=>{u.preventDefault(),o("biographie")},className:"hover:underline",children:"Biographie professionnelle"})}),l.jsx("li",{children:l.jsx("a",{href:"#philosophie",onClick:u=>{u.preventDefault(),o("philosophie")},className:"hover:underline",children:"Philosophie de développement"})}),l.jsx("li",{children:l.jsx("a",{href:"#experience",onClick:u=>{u.preventDefault(),o("experience")},className:"hover:underline",children:"Expérience professionnelle"})}),l.jsx("li",{children:l.jsx("a",{href:"#specialisation",onClick:u=>{u.preventDefault(),o("specialisation")},className:"hover:underline",children:"Spécialisation technique"})}),l.jsx("li",{children:l.jsx("a",{href:"#projets",onClick:u=>{u.preventDefault(),o("projets")},className:"hover:underline",children:"Projets principaux"})}),l.jsx("li",{children:l.jsx("a",{href:"#connaissances",onClick:u=>{u.preventDefault(),o("connaissances")},className:"hover:underline",children:"Connaissances techniques"})}),l.jsx("li",{children:l.jsx("a",{href:"#formation",onClick:u=>{u.preventDefault(),o("formation")},className:"hover:underline",children:"Formation et certifications"})}),l.jsx("li",{children:l.jsx("a",{href:"#loisirs",onClick:u=>{u.preventDefault(),o("loisirs")},className:"hover:underline",children:"Vie personnelle et loisirs"})}),l.jsx("li",{children:l.jsx("a",{href:"#faq",onClick:u=>{u.preventDefault(),o("faq")},className:"hover:underline",children:"Questions fréquentes"})}),l.jsx("li",{children:l.jsx("a",{href:"#references",onClick:u=>{u.preventDefault(),o("references")},className:"hover:underline",children:"Références"})}),l.jsx("li",{children:l.jsx("a",{href:"#liens",onClick:u=>{u.preventDefault(),o("liens")},className:"hover:underline",children:"Liens externes"})})]})]}),l.jsxs("section",{id:"biographie",className:"mb-8",children:[l.jsx("h2",{className:"text-[24px] font-bold mb-2 pb-1 border-b border-[#A2A9B1] text-[#202122]",style:{fontFamily:"Arial, sans-serif"},children:"Biographie professionnelle"}),l.jsxs("div",{className:"text-[15px] leading-[1.6] text-[#202122] text-justify",children:[l.jsxs("p",{className:"mb-3",children:["Dans le domaine du matériel et des systèmes, ",l.jsx("strong",{children:"JM Tordeur"})," possède des connaissances approfondies en architecture informatique, configuration de réseaux d'entreprise et administration de serveurs Linux/Windows. Il a conçu et mis en Åuvre des infrastru
4647ctures réseau complètes, incluant la configuration de routeurs, commutateurs, pare-feu et VPN pour l'accès distant sécurisé."]}),l.jsxs("p",{className:"mb-3",children:["Le travail de ",l.jsx("strong",{children:"Jimmy Tordeur"})," à la Chambre de Commerce de Fuerteventura a été fondamental pour la numérisation de l'institution. Il a dirigé la mise en Åuvre de systèmes de gestion d'entreprise, de plateformes de formation en ligne, d'applications d'accréditation numérique et de portails web institutionnels. Sa vision stratégique combine efficacité opérationnelle et expérience utilisateur exceptionnelle, rendant les solutions technologiques accessibles tant aux utilisateurs techniques qu'au grand public."]}),l.jsxs("p",{className:"mb-3",children:["En plus de son travail principal, ",l.jsx("strong",{children:"Jean Michel Tordeur"})," maintient un intérêt actif pour les dernières tendances technologiques, particulièrement dans le domaine de l'intelligence artificielle et de l'apprentissage automatique. Il a mis en Åuvre des systèmes d'automatisation basés sur l'IA pour optimiser les processus d'entreprise, réduire les tâches répétitives et améliorer la prise de décision basée sur les données. Son approche Python pour les projets d'IA complète parfaitement son expertise JavaScript pour les applications web."]})]})]}),l.jsxs("section",{id:"philosophie",className:"mb-8",children:[l.jsx("h2",{className:"text-[24px] font-bold mb-2 pb-1 border-b border-[#A2A9B1] text-[#202122]",style:{fontFamily:"Arial, sans-serif"},children:"Philosophie de développement"}),l.jsxs("div",{className:"text-[15px] leading-[1.6] text-[#202122] text-justify",children:[l.jsxs("p",{className:"mb-3",children:["La philosophie de travail de ",l.jsx("strong",{children:"JM Tordeur"})," repose sur trois piliers essentiels : ",l.jsx("strong",{children:"code propre"}),", ",l.jsx("strong",{children:"évolutivité"})," et ",l.jsx("strong",{children:"maintenabilité"}),". Chaque projet qu'il développe est conçu en pensant non seulement aux besoins immédiats, mais aussi à son évolution future. Cela implique l'utilisation de modèles de conception éprouvés, d'architectures modulaires et d'une documentation exhaustive permettant à d'autres développeurs de comprendre et d'étendre facilement le code."]}),l.jsxs("p",{className:"mb-3",children:[l.jsx("strong",{children:"Jimmy Tordeur"})," est un fervent défenseur des méthodologies agiles et du développement itératif. Il préfère lancer des versions fonctionnelles minimales qui peuvent être progressivement testées et améliorées, plutôt que de rechercher la perfection absolue dès le départ. Cette approche pragmatique s'est révélée particulièrement efficace dans les environnements d'entreprise où les besoins changent rapidement et les retours des utilisateurs sont cruciaux."]}),l.jsxs("p",{className:"mb-3",children:["En ce qui concerne les outils et technologies, ",l.jsx("strong",{children:"Jean Michel Tordeur"})," maintient une position équilibrée entre l'adoption d'innovations prometteuses et l'utilisation de technologies matures et éprouvées. Il ne poursuit pas le dernier framework à la mode sans raison justifiée, mais ne s'accroche pas non plus à des technologies obsolètes par confort. Cette prudence technique a permis de construire des systèmes stables qui tirent parti du meilleur des technologies modernes sans tomber dans l'instabilité de solutions expérimentales."]})]})]}),l.jsxs("section",{id:"experience",className:"mb-8",children:[l.jsx("h2",{className:"text-[24px] font-bold mb-2 pb-1 border-b border-[#A2A9B1] text-[#202122]",style:{fontFamily:"Arial, sans-serif"},children:"Expérience professionnelle"}),l.jsxs("div",{className:"text-[15px] leading-[1.6] text-[#202122] text-justify",children:[l.jsx("h3",{className:"text-[18px] font-bold mb-2 text-[#202122]",style:{fontFamily:"Arial, sans-serif"},children:"Responsable Informatique et Développement Technologique"}),l.jsx("p",{className:"mb-2 italic",children:"Chambre Officielle de Commerce, d'Industrie et de Navigation de Fuerteventura"}),l.jsxs("p",{className:"mb-3",children:[l.jsx("strong",{children:"JM Tordeur"}
4647)," dirige le département technologique, concevant et mettant en Åuvre des solutions numériques qui modernisent les processus d'entreprise de la Chambre de Commerce. Responsable du développement de plateformes web, d'applications mobiles et de systèmes de gestion intégrés."]})]})]}),l.jsxs("section",{id:"specialisation",className:"mb-8",children:[l.jsx("h2",{className:"text-[24px] font-bold mb-2 pb-1 border-b border-[#A2A9B1] text-[#202122]",style:{fontFamily:"Arial, sans-serif"},children:"Spécialisation technique"}),l.jsxs("table",{className:"w-full border-collapse border border-[#A2A9B1] mb-4",children:[l.jsx("thead",{children:l.jsxs("tr",{className:"bg-[#EAECF0]",children:[l.jsx("th",{className:"border border-[#A2A9B1] px-3 py-2 text-left text-sm font-bold",style:{fontFamily:"Arial, sans-serif"},children:"Domaine"}),l.jsx("th",{className:"border border-[#A2A9B1] px-3 py-2 text-left text-sm font-bold",style:{fontFamily:"Arial, sans-serif"},children:"Technologies"}),l.jsx("th",{className:"border border-[#A2A9B1] px-3 py-2 text-left text-sm font-bold",style:{fontFamily:"Arial, sans-serif"},children:"Expérience"})]})}),l.jsxs("tbody",{className:"text-[14px]",children:[l.jsxs("tr",{className:"bg-white",children:[l.jsx("td",{className:"border border-[#A2A9B1] px-3 py-2 font-semibold",children:"Développement Full Stack"}),l.jsx("td",{className:"border border-[#A2A9B1] px-3 py-2",children:"React, TypeScript, Node.js, Express, Vite"}),l.jsx("td",{className:"border border-[#A2A9B1] px-3 py-2",children:"Avancée"})]}),l.jsxs("tr",{className:"bg-[#F8F9FA]",children:[l.jsx("td",{className:"border border-[#A2A9B1] px-3 py-2 font-semibold",children:"Bases de données"}),l.jsx("td",{className:"border border-[#A2A9B1] px-3 py-2",children:"PostgreSQL, Supabase, Firebase, MySQL, SQL"}),l.jsx("td",{className:"border border-[#A2A9B1] px-3 py-2",children:"Expert"})]}),l.jsxs("tr",{className:"bg-white",children:[l.jsx("td",{className:"border border-[#A2A9B1] px-3 py-2 font-semibold",children:"Conception Web"}),l.jsx("td",{className:"border border-[#A2A9B1] px-3 py-2",children:"Tailwind CSS, Figma, Adobe XD, HTML5, CSS3"}),l.jsx("td",{className:"border border-[#A2A9B1] px-3 py-2",children:"Avancée"})]}),l.jsxs("tr",{className:"bg-[#F8F9FA]",children:[l.jsx("td",{className:"border border-[#A2A9B1] px-3 py-2 font-semibold",children:"Matériel et Systèmes"}),l.jsx("td",{className:"border border-[#A2A9B1] px-3 py-2",children:"Linux, Réseaux, Cloud, DevOps, Docker"}),l.jsx("td",{className:"border border-[#A2A9B1] px-3 py-2",children:"Avancée"})]}),l.jsxs("tr",{className:"bg-white",children:[l.jsx("td",{className:"border border-[#A2A9B1] px-3 py-2 font-semibold",children:"Intelligence Artificielle"}),l.jsx("td",{className:"border border-[#A2A9B1] px-3 py-2",children:"Python, Machine Learning, scikit-learn, pandas"}),l.jsx("td",{className:"border border-[#A2A9B1] px-3 py-2",children:"Avancée"})]})]})]}),l.jsxs("div",{className:"text-[15px] leading-[1.6] text-[#202122] text-justify",children:[l.jsx("h3",{className:"text-[18px] font-bold mb-2 mt-4 text-[#202122]",style:{fontFamily:"Arial, sans-serif"},children:"Développement Full Stack"}),l.jsxs("p",{className:"mb-3",children:[l.jsx("strong",{children:"Jean Michel Tordeur"})," maîtrise la pile complète de développement web moderne. En frontend, il travaille principalement avec ",l.jsx("strong",{children:"React"})," et ",l.jsx("strong",{children:"TypeScript"}),", utilisant des outils comme ",l.jsx("strong",{children:"Vite"})," pour un développement ultra-rapide. Son code se caractérise par des composants réutilisables, des hooks personnalisés optimisés et une gestion efficace de l'état via Context API et les hooks React modernes. En backend, ",l.jsx("strong",{children:"JM Tordeur"})," implémente des API REST robustes avec ",l.jsx("strong",{children:"Node.js"})," et ",l.jsx("strong",{children:"Express"}),", appliquant les principes d'architecture propre et des patterns comme MVC."]}),l.jsx("h3",{className:"text-[18px] font-bold mb-2 mt-4 text-[#202122]",style:{fontFamily:"Arial, sans-serif"},children:"Bases de données"}),l.jsxs("p",{className:"mb-3",children:["L'expérience de ",l.jsx("strong",{children:"Jimmy Tordeur"})," en bases de données couvre du ",l.jsx("strong",{children:"SQL traditionnel"})," aux plateformes modernes comme ",l.jsx("strong",{children:"Supabase"})," et ",l.jsx("strong",{children:"Firebase"}),". Il conçoit des schémas relationnels normalisés, implémente des index optimisés et crée des requêtes complexes avec jointures, sous-requêtes et procédures stockées. Sa connaissance de ",l.jsx("strong",{children:"PostgreSQL"})," lui permet d'exploiter des fonctionnalités avancées comme les triggers, les fonctions PL/pgSQL et les politiques de Row Level Security."]}),l.jsx("h3",{className:"text-[18px] font-bold mb-2 mt-4 text-[#202122]",style:{fontFamily:"Arial, sans-serif"},children:"Matériel et Systèmes"}),l.jsxs("p",{className:"mb-3",children:["En tant qu'ingénieur matériel, ",l.jsx("strong",{children:"Jean Michel Tordeur"})," possède des connaissances approfondies en architecture informatique, configuration de réseaux d'entreprise et administration de serveurs Linux/Windows. Il a conçu et mis en Åuvre des infrastru
4647ctures réseau complètes, incluant la configuration de routeurs, commutateurs, pare-feu et VPN pour l'accès distant sécurisé."]})]})]}),l.jsxs("section",{id:"projets",className:"mb-8",children:[l.jsx("h2",{className:"text-[24px] font-bold mb-2 pb-1 border-b border-[#A2A9B1] text-[#202122]",style:{fontFamily:"Arial, sans-serif"},children:"Projets principaux"}),l.jsx("div",{className:"text-[15px] leading-[1.6] text-[#202122] text-justify",children:l.jsxs("ol",{className:"space-y-4",children:[l.jsxs("li",{children:[l.jsx("h3",{className:"text-[17px] font-bold mb-1",style:{fontFamily:"Arial, sans-serif"},children:"Plateforme Intégrale de Gestion d'Ãvénements d'Entreprise"}),l.jsxs("p",{className:"mb-2",children:[l.jsx("strong",{children:"Jean Michel Tordeur"})," a conçu et développé de zéro une plateforme complète pour la gestion des événements de la Chambre de Commerce. Le système inclut un frontend responsive construit avec React et TypeScript, un backend robuste avec Supabase implémentant des politiques de sécurité RLS, et des fonctionnalités avancées comme l'inscription en ligne, la génération automatique d'accréditations PDF avec codes QR, un calendrier interactif et un panneau d'administration complet."]}),l.jsx("p",{className:"text-[13px] text-[#54595D] italic",children:"Technologies: React, TypeScript, Supabase, PostgreSQL, Firebase, Tailwind CSS"})]}),l.jsxs("li",{children:[l.jsx("h3",{className:"text-[17px] font-bold mb-1",style:{fontFamily:"Arial, sans-serif"},children:"Système Avancé d'Accréditation Numérique"}),l.jsxs("p",{className:"mb-2",children:[l.jsx("strong",{children:"JM Tordeur"})," a implémenté un système innovant pour la création automatisée d'accréditations personnalisées pour événements. L'application permet aux utilisateurs d'entrer leurs données, de prévisualiser leur accréditation en temps réel avec un éditeur visuel, et de télécharger le résultat final en format PDF haute qualité. Le système génère des codes QR uniques pour chaque participant pouvant être scannés pour l'inscription rapide aux événements."]}),l.jsx("p",{className:"text-[13px] text-[#54595D] italic",children:"Technologies: React, jsPDF, html2canvas, Génération QR"})]}),l.jsxs("li",{children:[l.jsx("h3",{className:"text-[17px] font-bold mb-1",style:{fontFamily:"Arial, sans-serif"},children:"Portail Web d'Entreprise avec Optimisation SEO"}),l.jsxs("p",{className:"mb-2",children:[l.jsx("strong",{children:"Jimmy Tordeur"})," a dirigé la refonte complète du site web institutionnel de la Chambre de Commerce de Fuerteventura. Le projet a inclus une architecture moderne basée sur des composants React, l'implémentation du lazy loading pour l'optimisation de la vitesse, un sitemap dynamique, un markup Schema.org complet et des meta tags optimisés. Le site a amélioré le positionnement organique dans les moteurs de recherche de plus de 300%."]}),l.jsx("p",{className:"text-[13px] text-[#54595D] italic",children:"Technologies: React, SEO, Vite, Responsive Design"})]}),l.jsxs("li",{children:[l.jsx("h3",{className:"text-[17px] font-bold mb-1",style:{fontFamily:"Arial, sans-serif"},children:"Système d'Automatisation avec Intelligence Artificielle"}),l.jsxs("p",{className:"mb-2",children:[l.jsx("strong",{children:"Jean Michel Tordeur"})," a développé des outils d'automatisation basés sur l'IA pour optimiser les processus internes. Le système inclut la classification automatique de documents via machine learning, l'analyse de sentiments dans les enquêtes, la génération automatique de rapports et la prédiction de tendances. Les modèles d'IA ont atteint une précision supérieure à 92% dans les tâches de classification, réduisant le temps de traitement de 75%."]}),l.jsx("p",{className:"text-[13px] text-[#54595D] italic",children:"Technologies: Python, Machine Learning, scikit-learn, pandas"})]})]})})]}),l.jsxs("section",{id:"connaissances",className:"mb-8",children:[l.jsx("h2",{className:"text-[24px] font-bold mb-2 pb-1 border-b border-[#A2A9B1] text-[#202122]",style:{fontFamily:"Arial, sans-serif"},children:"Connaissances techniques"}),l.jsxs("div",{className:"text-[15px] leading-[1.6] text-[#202122] text-justify",children:[l.jsxs("p",{className:"mb-3",children:[l.jsx("strong",{children:"JM Tordeur"})," a documenté ses connaissances techniques dans divers domaines du développement logiciel :"]}),l.jsxs("ul",{className:"space-y-3",children:[l.jsxs("li",{children:[l.jsx("strong",{children:"Optimisation des Performances dans les Applications React"})," - Techniques avancées pour optimiser les performances incluant la mémoïsation avec useMemo et useCallback, le code splitting avec React.lazy, et les stratég
4647ies de chargement différé de composants."]}),l.jsxs("li",{children:[l.jsx("strong",{children:"Sécurité des Bases de Données avec Row Level Security"})," - Implémentation de politiques de sécurité robustes dans Supabase et PostgreSQL, incluant des politiques conditionnelles basées sur les rôles et l'authentification JWT."]}),l.jsxs("li",{children:[l.jsx("strong",{children:"Architecture d'Applications Modernes"})," - Analyse comparative entre architectures monolithiques et microservices, considérations sur la conteneurisation avec Docker et la gestion de bases de données distribuées."]}),l.jsxs("li",{children:[l.jsx("strong",{children:"Intelligence Artificielle Appliquée"})," - Cas d'usage de machine learning pour la classification de documents, l'analyse prédictive et l'automatisation de processus via le traitement du langage naturel."]})]})]})]}),l.jsxs("section",{id:"formation",className:"mb-8",children:[l.jsx("h2",{className:"text-[24px] font-bold mb-2 pb-1 border-b border-[#A2A9B1] text-[#202122]",style:{fontFamily:"Arial, sans-serif"},children:"Formation et certifications"}),l.jsxs("ul",{className:"space-y-2 text-[15px] leading-[1.6] text-[#202122]",children:[l.jsx("li",{children:"Master en Ingénierie Informatique"}),l.jsx("li",{children:"Ingénierie Matérielle - Architecture Systèmes et Réseaux"}),l.jsx("li",{children:"Développement Web Full Stack - JavaScript, React, Node.js"}),l.jsx("li",{children:"Conception d'Applications - Design UX/UI"}),l.jsx("li",{children:"Intelligence Artificielle - Machine Learning et Automatisation"})]})]}),l.jsxs("section",{id:"loisirs",className:"mb-8",children:[l.jsx("h2",{className:"text-[24px] font-bold mb-2 pb-1 border-b border-[#A2A9B1] text-[#202122]",style:{fontFamily:"Arial, sans-serif"},children:"Vie personnelle et loisirs"}),l.jsxs("div",{className:"text-[15px] leading-[1.6] text-[#202122] text-justify",children:[l.jsxs("p",{className:"mb-3",children:["Au-delà de son engagement professionnel dans la technologie, ",l.jsx("strong",{children:"Jean Michel Tordeur"})," cultive une vie personnelle active et diversifiée, avec des loisirs qui complètent son profil multidisciplinaire. Sa passion pour le ",l.jsx("strong",{children:"motocyclisme"})," et l'",l.jsx("strong",{children:"automobile"})," reflète son intérêt pour la mécanique, l'ingénierie de précision et les performances techniques, se connectant directement avec sa formation en matériel et systèmes."]}),l.jsxs("p",{className:"mb-3",children:["La ",l.jsx("strong",{children:"chasse sous-marine"})," est une autre de ses activités favorites, une discipline qui requiert patience, planification stratégique et adaptation à l'environnementâcompétences qu'il applique également dans son travail de développeur et architecte de systèmes. La connexion avec l'environnement marin de Fuerteventura lui permet de se déconnecter du monde numérique et de trouver l'équilibre entre technologie et nature."]}),l.jsxs("div",{className:"float-right ml-4 mb-4 max-w-[100px]",children:[l.jsx("img",{src:"/jimmy_taekwondo.png",alt:"Jean Michel Tordeur pratiquant le taekwondo",className:"w-full h-auto border border-[#A2A9B1]"}),l.jsx("p",{className:"text-[11px] text-[#54595D] text-center mt-1",children:"Jean Michel Tordeur pendant sa pratique du taekwondo"})]}),l.jsxs("p",{className:"mb-3",children:["Son accomplissement sportif le plus remarquable est sa pratique du ",l.jsx("strong",{children:"taekwondo pendant 13 ans"}),", une discipline martiale qui a façonné son caractère, sa discipline et son approche méthodique. Le taekwondo lui a enseigné des valeurs de persévérance, de respect et de croissance personnelle qu'il a transférées à sa carrière professionnelle. La combinaison des exigences physiques, techniques et mentales du taekwondo se reflète dans son approche rigoureuse et systématique du développement logiciel, où chaque ligne de code est écrite avec la même précision qu'un mouvement d'arts martiaux bien exécuté."]}),l.jsx("p",{className:"mb-3",children:"Cette diversité d'intérêts enrichit non seulement sa vie personnelle, mais contribue également à sa perspective en tant que professionnel de la technologie. La discipline martiale, l'analyse stratég
4647ique de la chasse sous-marine et les connaissances techniques de l'automobile convergent en un profil professionnel complet, capable d'affronter des défis complexes avec méthodologie, patience et détermination."})]})]}),l.jsxs("section",{id:"faq",className:"mb-8",children:[l.jsx("h2",{className:"text-[24px] font-bold mb-2 pb-1 border-b border-[#A2A9B1] text-[#202122]",style:{fontFamily:"Arial, sans-serif"},children:"Questions fréquentes"}),l.jsxs("div",{className:"text-[15px] leading-[1.6] text-[#202122]",children:[l.jsxs("div",{className:"mb-4",children:[l.jsx("h3",{className:"text-[17px] font-bold mb-2",style:{fontFamily:"Arial, sans-serif"},children:"Qui est Jean Michel Tordeur?"}),l.jsx("p",{className:"text-justify",children:"Jean Michel Tordeur est un ingénieur informatique belgo-français titulaire d'un Master en Ingénierie Informatique, actuellement Responsable Informatique à la Chambre de Commerce de Fuerteventura. Il est également connu sous le nom de JM Tordeur ou Jimmy Tordeur."})]}),l.jsxs("div",{className:"mb-4",children:[l.jsx("h3",{className:"text-[17px] font-bold mb-2",style:{fontFamily:"Arial, sans-serif"},children:"Quelles sont les spécialisations de JM Tordeur?"}),l.jsx("p",{className:"text-justify",children:"JM Tordeur est spécialisé en React, TypeScript, Node.js, PostgreSQL, Supabase, Firebase, Python, machine learning, ingénierie matérielle, configuration réseau et cloud computing."})]}),l.jsxs("div",{className:"mb-4",children:[l.jsx("h3",{className:"text-[17px] font-bold mb-2",style:{fontFamily:"Arial, sans-serif"},children:"Comment contacter Jimmy Tordeur?"}),l.jsx("p",{className:"text-justify",children:"Vous pouvez contacter Jimmy Tordeur par email à [email protected] ou via le site officiel de la Chambre de Commerce de Fuerteventura."})]}),l.jsxs("div",{className:"mb-4",children:[l.jsx("h3",{className:"text-[17px] font-bold mb-2",style:{fontFamily:"Arial, sans-serif"},children:"Quelle est l'expérience professionnelle de Jean Michel Tordeur?"}),l.jsx("p",{className:"text-justify",children:"Jean Michel Tordeur possède plus de 10 ans d'expérience en technologie, spécialisé dans le développement full stack, la conception de bases de données, le développement d'applications web et la gestion d'infrastru
4647ctures informatiques."})]})]})]}),l.jsxs("section",{id:"references",className:"mb-8",children:[l.jsx("h2",{className:"text-[24px] font-bold mb-2 pb-1 border-b border-[#A2A9B1] text-[#202122]",style:{fontFamily:"Arial, sans-serif"},children:"Références"}),l.jsxs("ol",{className:"text-[13px] leading-[1.5] text-[#202122] space-y-1",children:[l.jsx("li",{children:"[1] Chambre Officielle de Commerce, d'Industrie et de Navigation de Fuerteventura"}),l.jsx("li",{children:"[2] Informations vérifiées via les registres professionnels publics"}),l.jsx("li",{children:"[3] Projets documentés dans les dépôts institutionnels"})]})]}),l.jsxs("section",{id:"liens",className:"mb-8",children:[l.jsx("h2",{className:"text-[24px] font-bold mb-2 pb-1 border-b border-[#A2A9B1] text-[#202122]",style:{fontFamily:"Arial, sans-serif"},children:"Liens externes"}),l.jsxs("ul",{className:"space-y-2 text-[15px]",children:[l.jsx("li",{children:l.jsxs("a",{href:"mailto:[email protected]",className:"text-[#0645AD] hover:underline inline-flex items-center gap-1",children:[l.jsx(Ip,{className:"w-4 h-4"}),"[email protected]"]})}),l.jsx("li",{children:l.jsxs("a",{href:"https://www.camaradefuerteventura.org",target:"_blank",rel:"noopener noreferrer",className:"text-[#0645AD] hover:underline inline-flex items-center gap-1",children:[l.jsx(gn,{className:"w-4 h-4"}),"Chambre de Commerce de Fuerteventura"]})}),l.jsx("li",{children:l.jsxs("a",{href:"https://eventos.camarafuer.es",target:"_blank",rel:"noopener noreferrer",className:"text-[#0645AD] hover:underline inline-flex items-center gap-1",children:[l.jsx(gn,{className:"w-4 h-4"}),"Ãvénements CCF"]})}),l.jsx("li",{children:l.jsxs("a",{href:"https://infuerteventura.es",target:"_blank",rel:"noopener noreferrer",className:"text-[#0645AD] hover:underline inline-flex items-center gap-1",children:[l.jsx(gn,{className:"w-4 h-4"}),"inFuerteventura"]})}),l.jsx("li",{children:l.jsxs("a",{href:"https://africaguacanarias.com",target:"_blank",rel:"noopener noreferrer",className:"text-[#0645AD] hover:underline inline-flex items-center gap-1",children:[l.jsx(gn,{className:"w-4 h-4"}),"Africagua Canarias"]})}),l.jsx("li",{children:l.jsxs("a",{href:"https://fichajeshoy.es",target:"_blank",rel:"noopener noreferrer",className:"text-[#0645AD] hover:underline inline-flex items-center gap-1",children:[l.jsx(gn,{className:"w-4 h-4"}),"Fichajes Hoy"]})}),l.jsx("li",{children:l.jsxs("a",{href:"https://www.camaradefuerteventura.org/subvenciones",target:"_blank",rel:"noopener noreferrer",className:"text-[#0645AD] hover:underline inline-flex items-center gap-1",children:[l.jsx(gn,{className:"w-4 h-4"}),"Subventions et Résolutions"]})}),l.jsx("li",{children:l.jsxs("a",{href:"https://www.camaradefuerteventura.org/agencia-colocacion",target:"_blank",rel:"noopener noreferrer",className:"text-[#0645AD] hover:underline inline-flex items-center gap-1",children:[l.jsx(gn,{className:"w-4 h-4"}),"Agence de Placement CCF"]})})]})]}),l.jsxs("section",{className:"mb-8 text-[13px] text-[#54595D] pt-4 border-t border-[#A2A9B1]",children:[l.jsx("p",{className:"mb-2",children:l.jsx("strong",{children:"Catégories:"})}),l.jsx("p",{children:"Ingénieurs informatiques | Développeurs web espagnols | Professionnels de Fuerteventura | Nés en 1980 | Ingénieurs logiciels"})]}),l.jsx("div",{className:"text-[11px] text-[#54595D] py-4 border-t border-[#A2A9B1]",style:{fontFamily:"Arial, sans-serif"},children:l.jsx("p",{children:"Dernière modification le 25 décembre 2025"})})]}),l.jsx("aside",{className:"w-[280px] flex-shrink-0 hidden lg:block",children:l.jsxs("div",{className:"border border-[#A2A9B1] bg-[#F8F9FA] sticky top-4",children:[l.jsx("div",{className:"bg-[#EAECF0] px-4 py-2 text-center border-b border-[#A2A9B1]",children:l.jsx("h2",{className:"font-bold text-[15px]",style:{fontFamily:"Arial, sans-serif"},children:"Jean Michel Tordeur"})}),l.jsxs("div",{className:"p-4",children:[l.jsx("img",{src:"/jimmy-tordeur-ingeniero-informatico-fuerteventura.png",alt:"Jean Michel Tordeur - Ingénieur Informatique",className:"w-full border border-[#A2A9B1] mb-2"}),l.jsx("p",{className:"text-[11px] text-[#54595D] text-center mb-4",children:"Jean Michel Tordeur en 2025"})]}),l.jsx("table",{className:"w-full text-[13px]",style:{fontFamily:"Arial, sans-serif"},children:l.jsxs("tbody",{children:[l.jsxs("tr",{className:"bg-white",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Nom complet"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:"Jean Michel Jimmy Tordeur"})]}),l.jsxs("tr",{className:"bg-[#F8F9FA]",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Aussi connu comme"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:"JM Tordeur, Jimmy Tordeur"})]}),l.jsxs("tr",{className:"bg-white",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Naissance"}),l.jsxs("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:["30 mai 1980 (44 ans)",l.jsx("br",{}),"Créon, France"]})]}),l.jsxs("tr",{className:"bg-[#F8F9FA]",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Résidence"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:"Fuerteventura, Espagne"})]}),l.jsxs("tr",{className:"bg-white",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Nationalité"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:"Belgo-français"})]}),l.jsxs("tr",{className:"bg-[#F8F9FA]",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Formation"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:"Master en Ingénierie Informatique"})]}),l.jsxs("tr",{className:"bg-white",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Profession"}),l.jsxs("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:["Ingénieur informatique",l.jsx("br",{}),"Designer web",l.jsx("br",{}),"Formateur technologique",l.jsx("br",{}),"Concepteur d'applications"]})]}),l.jsxs("tr",{className:"bg-[#F8F9FA]",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Langues"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:"Espagnol, Allemand, Italien, Français, Anglais, Néerlandais"})]}),l.jsxs("tr",{className:"bg-white",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Employeur"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:"Chambre de Commerce de Fuerteventura"})]}),l.jsxs("tr",{className:"bg-[#F8F9FA]",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Années actives"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:"2015 - présent"})]}),l.jsxs("tr",{className:"bg-white",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Domaine"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:"Développement logiciel, Bases de données, Matériel"})]}),l.jsxs("tr",{className:"bg-[#F8F9FA]",children:[l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2 font-semibold align-top",children:"Email"}),l.jsx("td",{className:"border-t border-[#A2A9B1] px-3 py-2",children:l.jsx("a",{href:"mailto:[email protected]",className:"text-[#0645AD] hover:underline break-all text-[11px]",children:"[email protected]"})})]})]})})]})})]})]}),e&&l.jsx("button",{onClick:c,className:"fixed bottom-6 right-6 bg-[#F8F9FA] border-2 border-[#A2A9B1] p-3 hover:bg-white transition-colors","aria-label":"Retour en haut",children:l.jsx(YC,{className:"w-5 h-5 text-[#202122]"})}),l.jsx("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@graph":[{"@type":"ProfilePage","@id":`https://eventos.camarafuer.es${t.pathname}#profilepage`,mainEntity:{"@id":"https://eventos.camarafuer.es/#jeanmicheltordeur"},dateModified:"2025-12-25",inLanguage:"fr-FR"},{"@type":"Person","@id":"https://eventos.camarafuer.es/#jeanmicheltordeur",name:"Jean Michel Jimmy Tordeur",alternateName:["Jimmy Tordeur","JM Tordeur","J.M Tordeur","J M Tordeur","Jean Michel Tordeur"],givenName:"Jean Michel",familyName:"Tordeur",additionalName:"Jimmy",birthDate:"1980-05-30",birthPlace:{"@type":"Place",address:{"@type":"PostalAddress",addressLocality:"Créon",addressCountry:"FR"}},homeLocation:{"@type":"Place",address:{"@type":"PostalAddress",addressLocality:"Fuerteventura",addressRegion:"Ãles Canaries",addressCountry:"ES"}},nationality:[{"@type":"Country",name:"Belgique"},{"@type":"Country",name:"France"}],jobTitle:["Ingénieur Informatique","Designer Web","Formateur Technologique","Concepteur d'Applications","Développeur Full Stack","Responsable Informatique"],description:"Ingénieur informatique belgo-français spécialisé en développement full stack, bases de données SQL, conception web, intelligence artificielle et matériel. Responsable technologique de la Chambre de Commerce de Fuerteventura avec plus de 10 ans d'expérience. Master en Ingénierie Informatique.",works
4647For:{"@type":"Organization","@id":"https://eventos.camarafuer.es/#camaracomercio",name:"Chambre Officielle de Commerce, d'Industrie et de Navigation de Fuerteventura",url:"https://www.camarafuer.es",address:{"@type":"PostalAddress",addressLocality:"Puerto del Rosario",addressRegion:"Fuerteventura",addressCountry:"ES"}},knowsAbout:["JavaScript","TypeScript","React","Node.js","Python","SQL","PostgreSQL","Supabase","Firebase","Tailwind CSS","Développement Web","Développement Full Stack","Bases de données","Intelligence Artificielle","Machine Learning","Matériel","Réseaux","Cloud Computing","DevOps","Design UX/UI","Automatisation"],knowsLanguage:["es","de","it","fr","en","nl"],hasOccupation:{"@type":"Occupation",name:"Ingénieur Informatique et Développeur Full Stack",occupationalCategory:"15-1252.00",skills:"React, TypeScript, JavaScript, Python, SQL, PostgreSQL, Supabase, Firebase, Node.js, Tailwind CSS, Matériel, Réseaux, Cloud Computing, Machine Learning"},image:{"@type":"ImageObject",url:"https://firebasestorage.googleapis.com/v0/b/africagua-eb795.firebasestorage.app/o/id%20ficha%2FCaptura%20de%20pantalla%202025-10-21%20090729.png?alt=media&token=891c46ba-b27c-456e-bfcd-07126548dc3c",caption:"Jean Michel Jimmy Tordeur - JM Tordeur - Ingénieur Informatique",contentUrl:"https://firebasestorage.googleapis.com/v0/b/africagua-eb795.firebasestorage.app/o/id%20ficha%2FCaptura%20de%20pantalla%202025-10-21%20090729.png?alt=media&token=891c46ba-b27c-456e-bfcd-07126548dc3c"},url:["https://eventos.camarafuer.es/fr/jean-michel-tordeur","https://eventos.camarafuer.es/fr/jm-tordeur","https://eventos.camarafuer.es/fr/jimmy-tordeur"],sameAs:["https://eventos.camarafuer.es/jean-michel-tordeur","https://eventos.camarafuer.es/jm-tordeur","https://eventos.camarafuer.es/jimmy-tordeur"],email:"[email protected]",alumniOf:{"@type":"EducationalOrganization",name:"Master en Ingénierie Informatique"}},{"@type":"FAQPage",mainEntity:[{"@type":"Question",name:"Qui est Jean Michel Tordeur?",acceptedAnswer:{"@type":"Answer",text:"Jean Michel Tordeur est un ingénieur informatique belgo-français titulaire d'un Master en Ingénierie Informatique, actuellement Responsable Informatique à la Chambre de Commerce de Fuerteventura. Il est également connu sous le nom de JM Tordeur ou Jimmy Tordeur."}},{"@type":"Question",name:"Quelles sont les spécialisations de JM Tordeur?",acceptedAnswer:{"@type":"Answer",text:"JM Tordeur est spécialisé en React, TypeScript, Node.js, PostgreSQL, Supabase, Firebase, Python, machine learning, ingénierie matérielle, configuration réseau et cloud computing."}},{"@type":"Question",name:"Comment contacter Jimmy Tordeur?",acceptedAnswer:{"@type":"Answer",text:"Vous pouvez contacter Jimmy Tordeur par email à [email protected] ou via le site officiel de la Chambre de Commerce de Fuerteventura."}},{"@type":"Question",name:"Quelle est l'expérience professionnelle de Jean Michel Tordeur?",acceptedAnswer:{"@type":"Answer",text:"Jean Michel Tordeur possède plus de 10 ans d'expérience en technologie, spécialisé dans le développement full stack, la conception de bases de données, le développement d'applications web et la gestion d'infrastru
4647ctures informatiques."}}]}]})})]})},rSe=()=>{const[t,e]=Z.useState(!1);return Z.useEffect(()=>{new Date<new Date("2025-11-01T00:00:00")&&e(!0)},[]),t?l.jsxs("div",{className:"fixed inset-0 pointer-events-none z-50 overflow-hidden",children:[l.jsx("div",{className:"bat bat-1",children:"ð¦"}),l.jsx("div",{className:"bat bat-2",children:"ð¦"}),l.jsx("div",{className:"bat bat-3",children:"ð¦"}),l.jsx("div",{className:"pumpkin pumpkin-1",children:"ð"}),l.jsx("div",{className:"pumpkin pumpkin-2",children:"ð"}),l.jsx("div",{className:"pumpkin pumpkin-3",children:"ð"}),l.jsx("div",{className:"ghost ghost-1",children:"ð»"}),l.jsx("div",{className:"ghost ghost-2",children:"ð»"}),l.jsx("style",{children:` 4648 @keyframes flyBat { 4649 0% { 4650 transform: translate(-100px, 0) scale(1); 4651 } 4652 25% { 4653 transform: translate(25vw, -50px) scale(1.2); 4654 } 4655 50% { 4656 transform: translate(50vw, 20px) scale(0.9); 4657 } 4658 75% { 4659 transform: translate(75vw, -30px) scale(1.1); 4660 } 4661 100% { 4662 transform: translate(calc(100vw + 100px), 10px) scale(1); 4663 } 4664 } 4665 4666 @keyframes fallPumpkin { 4667 0% { 4668 transform: translateY(-100px) rotate(0deg); 4669 opacity: 1; 4670 } 4671 100% { 4672 transform: translateY(calc(100vh + 100px)) rotate(360deg); 4673 opacity: 0.8; 4674 } 4675 } 4676 4677 @keyframes floatGhost { 4678 0% { 4679 transform: translate(0, 0) scale(1); 4680 opacity: 0.7; 4681 } 4682 50% { 4683 transform: translate(-30px, -40px) scale(1.1); 4684 opacity: 0.9; 4685 } 4686 100% { 4687 transform: translate(0, 0) scale(1); 4688 opacity: 0.7; 4689 } 4690 } 4691 4692 .bat { 4693 position: absolute; 4694 font-size: 2rem; 4695 animation: flyBat linear infinite; 4696 } 4697 4698 .bat-1 { 4699 top: 10%; 4700 animation-duration: 15s; 4701 animation-delay: 0s; 4702 } 4703 4704 .bat-2 { 4705 top: 30%; 4706 animation-duration: 20s; 4707 animation-delay: 5s; 4708 } 4709 4710 .bat-3 { 4711 top: 50%; 4712 animation-duration: 18s; 4713 animation-delay: 10s; 4714 } 4715 4716 .pumpkin { 4717 position: absolute; 4718 font-size: 2.5rem; 4719 animation: fallPumpkin linear infinite; 4720 } 4721 4722 .pumpkin-1 { 4723 left: 20%; 4724 animation-duration: 8s; 4725 animation-delay: 0s; 4726 } 4727 4728 .pumpkin-2 { 4729 left: 60%; 4730 animation-duration: 10s; 4731 animation-delay: 3s; 4732 } 4733 4734 .pumpkin-3 { 4735 left: 80%; 4736 animation-duration: 9s; 4737 animation-delay: 6s; 4738 } 4739 4740 .ghost { 4741 position: absolute; 4742 font-size: 3rem; 4743 animation: floatGhost ease-in-out infinite; 4744 } 4745 4746 .ghost-1 { 4747 right: 10%; 4748 top: 20%; 4749 animation-duration: 4s; 4750 } 4751 4752 .ghost-2 { 4753 left: 15%; 4754 bottom: 30%; 4755 animation-duration: 5s; 4756 animation-delay: 2s; 4757 } 4758 4759 @media (max-width: 768px) { 4760 .bat, .pumpkin, .ghost { 4761 font-size: 1.5rem; 4762 } 4763 } 4764 `})]}):null},nSe=({forceShow:t=!1})=>{const[e,r]=Z.useState(!1),[n,i]=Z.useState(!0);if(Z.useEffect(()=>{if(t){r(!0);return}const s=new Date,o=new Date("2025-12-01T00:00:00"),c=new Date("2026-01-07T23:59:59");s>=o&&s<=c&&r(!0)},[t]),Z.useEffect(()=>{if(e){i(!0);const s=setTimeout(()=>{i(!1)},5e3);return()=>clearTimeout(s)}},[e]),!e||!n)return null;const a=Array.from({length:50},(s,o)=>o);return l.jsxs("div",{className:"fixed inset-0 pointer-events-none z-50 overflow-hidden",style:{animation:"fadeIn 0.5s ease-in"},children:[a.map(s=>l.jsx("div",{className:"snowflake",style:{left:`${Math.random()*100}%`,animationDelay:`${Math.random()*5}s`,animationDuration:"5s",fontSize:`${.8+Math.random()*1.5}rem`,opacity:.6+Math.random()*.4},children:"âï¸"},`snow-${s}`)),l.jsx("div",{className:"christmas-tree tree-left",children:"ð"}),l.jsx("div",{className:"christmas-tree tree-right",children:"ð"}),l.jsx("div",{className:"santa",children:"ð "}),l.jsx("div",{className:"gift gift-1",children:"ð"}),l.jsx("div",{className:"gift gift-2",children:"ð"}),l.jsx("div",{className:"star star-1",children:"â"}),l.jsx("div",{className:"star star-2",children:"â"}),l.jsx("div",{className:"star star-3",children:"â"}),l.jsx("div",{className:"candy candy-1",children:"ð¬"}),l.jsx("div",{className:"candy candy-2",children:"ð¬"}),l.jsx("div",{className:"bell bell-1",children:"ð"}),l.jsx("div",{className:"bell bell-2",children:"ð"}),l.jsx("style",{children:` 4765 @keyframes fadeIn { 4766 from { 4767 opacity: 0; 4768 } 4769 to { 4770 opacity: 1; 4771 } 4772 } 4773 4774 @keyframes snowfall { 4775 0% { 4776 transform: translateY(-100px) translateX(0) rotate(0deg); 4777 opacity: 0; 4778 } 4779 10% { 4780 opacity: 1; 4781 } 4782 90% { 4783 opacity: 1; 4784 } 4785 100% { 4786 transform: translateY(100vh) translateX(50px) rotate(360deg); 4787 opacity: 0; 4788 } 4789 } 4790 4791 @keyframes santaSleigh { 4792 0% { 4793 transform: translate(-200px, 0) scale(1); 4794 } 4795 50% { 4796 transform: translate(50vw, -100px) scale(1.2); 4797 } 4798 100% { 4799 transform: translate(calc(100vw + 200px), 0) scale(1); 4800 } 4801 } 4802 4803 @keyframes twinkle { 4804 0%, 100% { 4805 opacity: 1; 4806 transform: scale(1) rotate(0deg); 4807 } 4808 50% { 4809 opacity: 0.4; 4810 transform: scale(1.3) rotate(180deg); 4811 } 4812 } 4813 4814 @keyframes swing { 4815 0%, 100% { 4816 transform: rotate(-15deg); 4817 } 4818 50% { 4819 transform: rotate(15deg); 4820 } 4821 } 4822 4823 @keyframes pulse { 4824 0%, 100% { 4825 transform: scale(1); 4826 } 4827 50% { 4828 transform: scale(1.2); 4829 } 4830 } 4831 4832 @keyframes slideIn { 4833 0% { 4834 transform: translateX(-100px); 4835 opacity: 0; 4836 } 4837 100% { 4838 transform: translateX(0); 4839 opacity: 1; 4840 } 4841 } 4842 4843 .snowflake { 4844 position: absolute; 4845 top: -50px; 4846 animation: snowfall linear infinite; 4847 user-select: none; 4848 } 4849 4850 .christmas-tree { 4851 position: fixed; 4852 font-size: 4rem; 4853 animation: pulse 3s ease-in-out infinite; 4854 } 4855 4856 .tree-left { 4857 bottom: 20px; 4858 left: 20px; 4859 } 4860 4861 .tree-right { 4862 bottom: 20px; 4863 right: 20px; 4864 } 4865 4866 .santa { 4867 position: fixed; 4868 top: 15%; 4869 font-size: 3rem; 4870 animation: santaSleigh 25s linear infinite; 4871 } 4872 4873 .gift { 4874 position: fixed; 4875 font-size: 2.5rem; 4876 animation: pulse 2s ease-in-out infinite; 4877 } 4878 4879 .gift-1 { 4880 bottom: 80px; 4881 left: 100px; 4882 animation-delay: 0.5s; 4883 } 4884 4885 .gift-2 { 4886 bottom: 80px; 4887 right: 100px; 4888 animation-delay: 1s; 4889 } 4890 4891 .star { 4892 position: fixed; 4893 font-size: 2rem; 4894 animation: twinkle 2s ease-in-out infinite; 4895 } 4896 4897 .star-1 { 4898 top: 10%; 4899 left: 20%; 4900 animation-delay: 0s; 4901 } 4902 4903 .star-2 { 4904 top: 20%; 4905 right: 25%; 4906 animation-delay: 0.7s; 4907 } 4908 4909 .star-3 { 4910 top: 30%; 4911 left: 70%; 4912 animation-delay: 1.4s; 4913 } 4914 4915 .candy { 4916 position: fixed; 4917 font-size: 2rem; 4918 animation: pulse 2.5s ease-in-out infinite; 4919 } 4920 4921 .candy-1 { 4922 top: 40%; 4923 left: 10%; 4924 animation-delay: 0.3s; 4925 } 4926 4927 .candy-2 { 4928 top: 50%; 4929 right: 10%; 4930 animation-delay: 0.8s; 4931 } 4932 4933 .bell { 4934 position: fixed; 4935 font-size: 2rem; 4936 transform-origin: top center; 4937 animation: swing 1.5s ease-in-out infinite; 4938 } 4939 4940 .bell-1 { 4941 top: 15%; 4942 left: 15%; 4943 } 4944 4945 .bell-2 { 4946 top: 15%; 4947 right: 15%; 4948 animation-delay: 0.75s; 4949 } 4950 4951 @media (max-width: 768px) { 4952 .snowflake { 4953 font-size: 0.8rem; 4954 } 4955 4956 .christmas-tree { 4957 font-size: 2.5rem; 4958 } 4959 4960 .santa { 4961 font-size: 2rem; 4962 } 4963 4964 .gift, .star, .candy, .bell { 4965 font-size: 1.5rem; 4966 } 4967 4968 .gift-1 { 4969 left: 20px; 4970 } 4971 4972 .gift-2 { 4973 right: 20px; 4974 } 4975 } 4976 4977 @media (max-width: 480px) { 4978 .candy, .bell { 4979 display: none; 4980 } 4981 4982 .gift { 4983 font-size: 1.2rem; 4984 } 4985 } 4986 `})]})},iSe=({forceShow:t=!1})=>{const[e,r]=Z.useState(!1),n=Z.useRef(null);return Z.useEffect(()=>{if(t){r(!0);return}const i=new Date,a=new Date("2026-01-01T00:00:00"),s=new Date("2026-01-03T23:59:59");i>=a&&i<=s&&r(!0)},[t]),Z.useEffect(()=>{if(!e)return;const i=n.current;if(!i)return;const a=i.getContext("2d");if(!a)return;i.width=window.innerWidth,i.height=window.innerHeight;const s=[],o=[];class c{constructor(h,m,p){this.x=h,this.y=m;const x=Math.random()*Math.PI*2,v=Math.random()*6+2;this.vx=Math.cos(x)*v,this.vy=Math.sin(x)*v,this.radius=Math.random()*3+1,this.color=p,this.alpha=1,this.decay=Math.random()*.015+.015,this.gravity=.05}update(){this.vx*=.98,this.vy*=.98,this.vy+=this.gravity,this.x+=this.vx,this.y+=this.vy,this.alpha-=this.decay}draw(h){h.save(),h.globalAlpha=this.alpha,h.beginPath(),h.arc(this.x,this.y,this.radius,0,Math.PI*2),h.fillStyle=this.color,h.fill(),h.shadowBlur=15,h.shadowColor=this.color,h.fill(),h.restore(
4986)}}class A{constructor(h){this.x=h,this.y=i.height,this.targetY=Math.random()*i.height*.4+i.height*.1,this.vy=-Math.random()*4-8,this.color=`hsl(${Math.random()*360}, 100%, 60%)`,this.exploded=!1,this.trail=[]}update(){this.exploded||(this.trail.push({x:this.x,y:this.y,alpha:1}),this.trail.length>10&&this.trail.shift(),this.trail.forEach(h=>h.alpha*=.9),this.vy*=.98,this.y+=this.vy,this.y<=this.targetY&&this.explode())}explode(){this.exploded=!0;const h=Math.random()*50+100;for(let m=0;m<h;m++)s.push(new c(this.x,this.y,this.color))}draw(h){this.exploded||(this.trail.forEach((m,p)=>{h.save(),h.globalAlpha=m.alpha,h.beginPath(),h.arc(m.x,m.y,2,0,Math.PI*2),h.fillStyle=this.color,h.shadowBlur=10,h.shadowColor=this.color,h.fill(),h.restore()}),h.save(),h.beginPath(),h.arc(this.x,this.y,3,0,Math.PI*2),h.fillStyle=this.color,h.shadowBlur=15,h.shadowColor=this.color,h.fill(),h.restore())}}function u(){if(!(!a||!i)){a.clearRect(0,0,i.width,i.height),Math.random()<.05&&o.push(new A(Math.random()*i.width));for(let f=o.length-1;f>=0;f--)o[f].update(),o[f].draw(a),o[f].exploded&&o.splice(f,1);for(let f=s.length-1;f>=0;f--)s[f].update(),s[f].draw(a),s[f].alpha<=0&&s.splice(f,1);requestAnimationFrame(u)}}u();const d=()=>{i.width=window.innerWidth,i.height=window.innerHeight};return window.addEventListener("resize",d),()=>{window.removeEventListener("resize",d)}},[e]),e?l.jsxs(l.Fragment,{children:[l.jsx("canvas",{ref:n,className:"fixed inset-0 pointer-events-none z-50",style:{background:"transparent"}}),l.jsxs("div",{className:"fixed inset-0 pointer-events-none z-50 overflow-hidden",children:[l.jsx("div",{className:"newyear-message",children:l.jsx("span",{className:"year-text",children:"2026"})}),l.jsx("div",{className:"floating-emoji emoji-1",children:"ð"}),l.jsx("div",{className:"floating-emoji emoji-2",children:"ð"}),l.jsx("div",{className:"floating-emoji emoji-3",children:"ð¥"}),l.jsx("div",{className:"floating-emoji emoji-4",children:"ð"}),l.jsx("div",{className:"floating-emoji emoji-5",children:"â¨"}),l.jsx("div",{className:"floating-emoji emoji-6",children:"ð"}),l.jsx("div",{className:"floating-emoji emoji-7",children:"ð"}),l.jsx("div",{className:"floating-emoji emoji-8",children:"ð¾"}),l.jsx("style",{children:` 4987 @keyframes float { 4988 0%, 100% { 4989 transform: translateY(0) translateX(0) rotate(0deg); 4990 opacity: 0.7; 4991 } 4992 25% { 4993 transform: translateY(-30px) translateX(15px) rotate(90deg); 4994 opacity: 1; 4995 } 4996 50% { 4997 transform: translateY(-50px) translateX(-15px) rotate(180deg); 4998 opacity: 0.8; 4999 } 5000 75% { 5001 transform: translateY(-30px) translateX(15px) rotate(270deg); 5002 opacity: 1; 5003 } 5004 } 5005 5006 @keyframes fadeInScale { 5007 0% { 5008 transform: scale(0.5) translateX(-50%); 5009 opacity: 0; 5010 } 5011 50% { 5012 transform: scale(1.2) translateX(-50%); 5013 } 5014 100% { 5015 transform: scale(1) translateX(-50%); 5016 opacity: 1; 5017 } 5018 } 5019 5020 @keyframes shimmer { 5021 0%, 100% { 5022 text-shadow: 5023 0 0 10px rgba(255, 215, 0, 0.8), 5024 0 0 20px rgba(255, 215, 0, 0.6), 5025 0 0 30px rgba(255, 215, 0, 0.4); 5026 } 5027 50% { 5028 text-shadow: 5029 0 0 20px rgba(255, 215, 0, 1), 5030 0 0 40px rgba(255, 215, 0, 0.8), 5031 0 0 60px rgba(255, 215, 0, 0.6), 5032 0 0 80px rgba(255, 215, 0, 0.4); 5033 } 5034 } 5035 5036 .newyear-message { 5037 position: fixed; 5038 top: 10%; 5039 left: 50%; 5040 transform: translateX(-50%); 5041 text-align: center; 5042 animation: fadeInScale 2s ease-out; 5043 } 5044 5045 .year-text { 5046 font-size: 6rem; 5047 font-weight: 900; 5048 background: linear-gradient(45deg, #FFD700, #FFA500, #FF6347, #FFD700); 5049 background-size: 300% 300%; 5050 -webkit-background-clip: text; 5051 -webkit-text-fill-color: transparent; 5052 background-clip: text; 5053 animation: shimmer 2s ease-in-out infinite; 5054 display: block; 5055 font-family: 'Arial Black', sans-serif; 5056 letter-spacing: 0.1em; 5057 } 5058 5059 .floating-emoji { 5060 position: fixed; 5061 font-size: 3rem; 5062 animation: float 4s ease-in-out infinite; 5063 } 5064 5065 .emoji-1 { 5066 top: 20%; 5067 left: 10%; 5068 animation-delay: 0s; 5069 } 5070 5071 .emoji-2 { 5072 top: 15%; 5073 right: 15%; 5074 animation-delay: 0.5s; 5075 } 5076 5077 .emoji-3 { 5078 top: 40%; 5079 left: 5%; 5080 animation-delay: 1s; 5081 } 5082 5083 .emoji-4 { 5084 top: 35%; 5085 right: 8%; 5086 animation-delay: 1.5s; 5087 } 5088 5089 .emoji-5 { 5090 top: 60%; 5091 left: 12%; 5092 animation-delay: 2s; 5093 } 5094 5095 .emoji-6 { 5096 top: 55%; 5097 right: 10%; 5098 animation-delay: 2.5s; 5099 } 5100 5101 .emoji-7 { 5102 top: 70%; 5103 left: 20%; 5104 animation-delay: 0.8s; 5105 } 5106 5107 .emoji-8 { 5108 top: 75%; 5109 right: 20%; 5110 animation-delay: 1.8s; 5111 } 5112 5113 @media (max-width: 768px) { 5114 .year-text { 5115 font-size: 4rem; 5116 } 5117 5118 .floating-emoji { 5119 font-size: 2rem; 5120 } 5121 } 5122 5123 @media (max-width: 480px) { 5124 .year-text { 5125 font-size: 3rem; 5126 } 5127 5128 .floating-emoji { 5129 font-size: 1.5rem; 5130 } 5131 } 5132 `})]})]}):null};function aSe(){const t=window.location.search.includes("christmas-preview"),e=window.location.search.includes("newyear-preview");return l.jsx(cse,{children:l.jsx(RY,{children:l.jsxs("div",{className:"min-h-screen bg-gradient-to-br from-neutral-50 via-white to-neutral-100 flex flex-col relative",children:[l.jsx(rSe,{}),l.jsx(nSe,{forceShow:t}),l.jsx(iSe,{forceShow:e}),l.jsx(YQ,{}),l.jsx("main",{className:"container mx-auto px-4 py-8 flex-grow mt-20 relative z-10",children:l.jsxs(TY,{children:[l.jsx(Nn,{path:"/",element:l.jsx(jue,{})}),l.jsx(Nn,{path:"/eventos/:id",element:l.jsx(kwe,{})}),l.jsx(Nn,{path:"/perfil-creador",element:l.jsx(KA,{})}),l.jsx(Nn,{path:"/jean-michel-tordeur",element:l.jsx(KA,{})}),l.jsx(Nn,{path:"/jm-tordeur",element:l.jsx(KA,{})}),l.jsx(Nn,{path:"/jimmy-tordeur",element:l.jsx(KA,{})}),l.jsx(Nn,{path:"/jimmy",element:l.jsx(KA,{})}),l.jsx(Nn,{path:"/jean-michel",element:l.jsx(KA,{})}),l.jsx(Nn,{path:"/j-m-tordeur",element:l.jsx(KA,{})}),l.jsx(Nn,{path:"/desarrollador",element:l.jsx(KA,{})}),l.jsx(Nn,{path:"/en/jean-michel-tordeur",element:l.jsx(eg,{})}),l.jsx(Nn,{path:"/en/jm-tordeur",element:l.jsx(eg,{})}),l.jsx(Nn,{path:"/en/jimmy-tordeur",element:l.jsx(eg,{})}),l.jsx(Nn,{path:"/en/jimmy",element:l.jsx(eg,{})}),l.jsx(Nn,{path:"/en/developer",element:l.jsx(eg,{})}),l.jsx(Nn,{path:"/fr/jean-michel-tordeur",element:l.jsx(tg,{})}),l.jsx(Nn,{path:"/fr/jm-tordeur",element:l.jsx(tg,{})}),l.jsx(Nn,{path:"/fr/jimmy-tordeur",element:l.jsx(tg,{})}),l.jsx(Nn,{path:"/fr/jimmy",element:l.jsx(tg,{})}),l.jsx(Nn,{path:"/fr/developpeur",element:l.jsx(tg,{})}),l.jsx(Nn,{path:"/admin",element:l.jsx(Pwe,{})}),l.jsx(Nn,{path:"/admin/dashboard",element:l.jsx(VNe,{})}),l.jsx(Nn,{path:"/admin/eventos/nuevo",element:l.jsx(tU,{})}),l.jsx(Nn,{path:"/admin/eventos/:id",element:l.jsx(tU,{})})]})}),l.jsx(ZQ,{})]})})})}mL(document.getElementById("root")).render(l.jsx(Z.StrictMode,{children:l.jsx(CL,{children:l.jsx(aSe,{})})}));export{rn as _,dX as a,oSe as c,y1 as g,Z as r};
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.