PageSourceSearch

https://signalscoutv1.netlify.app/assets/index-DeUavdqK.js

js signalscoutv1.netlify.app collected 2026-10-03 11:24:27 UTC 1,257,268 bytes, 536 lines download raw bytes

vendor: 5,174 bytes, lines 1-9
1function AU(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const A=Object.getOwnPropertyDescriptor(r,i);A&&Object.defineProperty(e,i,A.get?A:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(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"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(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 r(i){if(i.ep)return;i.ep=!0;const A=n(i);fetch(i.href,A)}})();var gr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function wm(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function oC(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var aC={exports:{}},ym={},lC={exports:{}},rn={};/**
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 Sd=Symbol.for("react.element"),sU=Symbol.for("react.portal"),oU=Symbol.for("react.fragment"),aU=Symbol.for("react.strict_mode"),lU=Symbol.for("react.profiler"),uU=Symbol.for("react.provider"),cU=Symbol.for("react.context"),fU=Symbol.for("react.forward_ref"),hU=Symbol.for("react.suspense"),dU=Symbol.for("react.memo"),pU=Symbol.for("react.lazy"),KB=Symbol.iterator;function gU(e){return e===null||typeof e!="object"?null:(e=KB&&e[KB]||e["@@iterator"],typeof e=="function"?e:null)}var uC={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},cC=Object.assign,fC={};function mf(e,t,n){this.props=e,this.context=t,this.refs=fC,this.updater=n||uC}mf.prototype.isReactComponent={};mf.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=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,e,t,"setState")};mf.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function hC(){}hC.prototype=mf.prototype;function Zy(e,t,n){this.props=e,this.context=t,this.refs=fC,this.updater=n||uC}var ev=Zy.prototype=new hC;ev.constructor=Zy;cC(ev,mf.prototype);ev.isPureReactComponent=!0;var zB=Array.isArray,dC=Object.prototype.hasOwnProperty,tv={current:null},pC={key:!0,ref:!0,__self:!0,__source:!0};function gC(e,t,n){var r,i={},A=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(A=""+t.key),t)dC.call(t,r)&&!pC.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1<a){for(var o=Array(a),u=0;u<a;u++)o[u]=arguments[u+2];i.children=o}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)i[r]===void 0&&(i[r]=a[r]);return{$$typeof:Sd,type:e,key:A,ref:s,props:i,_owner:tv.current}}function mU(e,t){return{$$typeof:Sd,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function nv(e){return typeof e=="object"&&e!==null&&e.$$typeof===Sd}function wU(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var VB=/\/+/g;function Z0(e,t){return typeof e=="object"&&e!==null&&e.key!=null?wU(""+e.key):t.toString(36)}function pg(e,t,n,r,i){var A=typeof e;(A==="undefined"||A==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(A){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case Sd:case sU:s=!0}}if(s)return s=e,i=i(s),e=r===""?"."+Z0(s,0):r,zB(i)?(n="",e!=null&&(n=e.replace(VB,"$&/")+"/"),pg(i,t,n,"",function(u){return u})):i!=null&&(nv(i)&&(i=mU(i,n+(!i.key||s&&s.key===i.key?"":(""+i.key).replace(VB,"$&/")+"/")+e)),t.push(i)),1;if(s=0,r=r===""?".":r+":",zB(e))for(var a=0;a<e.length;a++){A=e[a];var o=r+Z0(A,a);s+=pg(A,t,n,o,i)}else if(o=gU(e),typeof o=="function")for(e=o.call(e),a=0;!(A=e.next()).done;)A=A.value,o=r+Z0(A,a++),s+=pg(A,t,n,o,i);else if(A==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}
vendor: 5,024 bytes, lines 9-25
9function Up(e,t,n){if(e==null)return e;var r=[],i=0;return pg(e,r,"","",function(A){return t.call(n,A,i++)}),r}function yU(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Oi={current:null},gg={transition:null},vU={ReactCurrentDispatcher:Oi,ReactCurrentBatchConfig:gg,ReactCurrentOwner:tv};function mC(){throw Error("act(...) is not supported in production builds of React.")}rn.Children={map:Up,forEach:function(e,t,n){Up(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Up(e,function(){t++}),t},toArray:function(e){return Up(e,function(t){return t})||[]},only:function(e){if(!nv(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};rn.Component=mf;rn.Fragment=oU;rn.Profiler=lU;rn.PureComponent=Zy;rn.StrictMode=aU;rn.Suspense=hU;rn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=vU;rn.act=mC;rn.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=cC({},e.props),i=e.key,A=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(A=t.ref,s=tv.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(o in t)dC.call(t,o)&&!pC.hasOwnProperty(o)&&(r[o]=t[o]===void 0&&a!==void 0?a[o]:t[o])}var o=arguments.length-2;if(o===1)r.children=n;else if(1<o){a=Array(o);for(var u=0;u<o;u++)a[u]=arguments[u+2];r.children=a}return{$$typeof:Sd,type:e.type,key:i,ref:A,props:r,_owner:s}};rn.createContext=function(e){return e={$$typeof:cU,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:uU,_context:e},e.Consumer=e};rn.createElement=gC;rn.createFactory=function(e){var t=gC.bind(null,e);return t.type=e,t};rn.createRef=function(){return{current:null}};rn.forwardRef=function(e){return{$$typeof:fU,render:e}};rn.isValidElement=nv;rn.lazy=function(e){return{$$typeof:pU,_payload:{_status:-1,_result:e},_init:yU}};rn.memo=function(e,t){return{$$typeof:dU,type:e,compare:t===void 0?null:t}};rn.startTransition=function(e){var t=gg.transition;gg.transition={};try{e()}finally{gg.transition=t}};rn.unstable_act=mC;rn.useCallback=function(e,t){return Oi.current.useCallback(e,t)};rn.useContext=function(e){return Oi.current.useContext(e)};rn.useDebugValue=function(){};rn.useDeferredValue=function(e){return Oi.current.useDeferredValue(e)};rn.useEffect=function(e,t){return Oi.current.useEffect(e,t)};rn.useId=function(){return Oi.current.useId()};rn.useImperativeHandle=function(e,t,n){return Oi.current.useImperativeHandle(e,t,n)};rn.useInsertionEffect=function(e,t){return Oi.current.useInsertionEffect(e,t)};rn.useLayoutEffect=function(e,t){return Oi.current.useLayoutEffect(e,t)};rn.useMemo=function(e,t){return Oi.current.useMemo(e,t)};rn.useReducer=function(e,t,n){return Oi.current.useReducer(e,t,n)};rn.useRef=function(e){return Oi.current.useRef(e)};rn.useState=function(e){return Oi.current.useState(e)};rn.useSyncExternalStore=function(e,t,n){return Oi.current.useSyncExternalStore(e,t,n)};rn.useTransition=function(){return Oi.current.useTransition()};rn.version="18.3.1";lC.exports=rn;var Oe=lC.exports;const BU=wm(Oe),xU=AU({__proto__:null,default:BU},[Oe]);/**
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 bU=Oe,CU=Symbol.for("react.element"),FU=Symbol.for("react.fragment"),SU=Object.prototype.hasOwnProperty,EU=bU.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,_U={key:!0,ref:!0,__self:!0,__source:!0};function wC(e,t,n){var r,i={},A=null,s=null;n!==void 0&&(A=""+n),t.key!==void 0&&(A=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)SU.call(t,r)&&!_U.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:CU,type:e,key:A,ref:s,props:i,_owner:EU.current}}ym.Fragment=FU;ym.jsx=wC;ym.jsxs=wC;aC.exports=ym;var Q=aC.exports,yC={exports:{}},LA={},vC={exports:{}},BC={};/**
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(e){function t(re,ce){var H=re.length;re.push(ce);e:for(;0<H;){var Ue=H-1>>>1,T=re[Ue];if(0<i(T,ce))re[Ue]=ce,re[H]=T,H=Ue;else break e}}function n(re){return re.length===0?null:re[0]}function r(re){if(re.length===0)return null;var ce=re[0],H=re.pop();if(H!==ce){re[0]=H;e:for(var Ue=0,T=re.length,L=T>>>1;Ue<L;){var ne=2*(Ue+1)-1,oe=re[ne],ae=ne+1,ve=re[ae];if(0>i(oe,H))ae<T&&0>
vendor: 10,398 bytes, lines 25-34
25i(ve,oe)?(re[Ue]=ve,re[ae]=H,Ue=ae):(re[Ue]=oe,re[ne]=H,Ue=ne);else if(ae<T&&0>i(ve,H))re[Ue]=ve,re[ae]=H,Ue=ae;else break e}}return ce}function i(re,ce){var H=re.sortIndex-ce.sortIndex;return H!==0?H:re.id-ce.id}if(typeof performance=="object"&&typeof performance.now=="function"){var A=performance;e.unstable_now=function(){return A.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var o=[],u=[],l=1,c=null,p=3,f=!1,x=!1,b=!1,E=typeof setTimeout=="function"?setTimeout:null,v=typeof clearTimeout=="function"?clearTimeout:null,B=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function F(re){for(var ce=n(u);ce!==null;){if(ce.callback===null)r(u);else if(ce.startTime<=re)r(u),ce.sortIndex=ce.expirationTime,t(o,ce);else break;ce=n(u)}}function U(re){if(b=!1,F(re),!x)if(n(o)!==null)x=!0,le(N);else{var ce=n(u);ce!==null&&we(U,ce.startTime-re)}}function N(re,ce){x=!1,b&&(b=!1,v(G),G=-1),f=!0;var H=p;try{for(F(ce),c=n(o);c!==null&&(!(c.expirationTime>ce)||re&&!j());){var Ue=c.callback;if(typeof Ue=="function"){c.callback=null,p=c.priorityLevel;var T=Ue(c.expirationTime<=ce);ce=e.unstable_now(),typeof T=="function"?c.callback=T:c===n(o)&&r(o),F(ce)}else r(o);c=n(o)}if(c!==null)var L=!0;else{var ne=n(u);ne!==null&&we(U,ne.startTime-ce),L=!1}return L}finally{c=null,p=H,f=!1}}var P=!1,$=null,G=-1,te=5,M=-1;function j(){return!(e.unstable_now()-M<te)}function D(){if($!==null){var re=e.unstable_now();M=re;var ce=!0;try{ce=$(!0,re)}finally{ce?X():(P=!1,$=null)}}else P=!1}var X;if(typeof B=="function")X=function(){B(D)};else if(typeof MessageChannel<"u"){var J=new MessageChannel,Ae=J.port2;J.port1.onmessage=D,X=function(){Ae.postMessage(null)}}else X=function(){E(D,0)};function le(re){$=re,P||(P=!0,X())}function we(re,ce){G=E(function(){re(e.unstable_now())},ce)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(re){re.callback=null},e.unstable_continueExecution=function(){x||f||(x=!0,le(N))},e.unstable_forceFrameRate=function(re){0>re||125<re?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):te=0<re?Math.floor(1e3/re):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return n(o)},e.unstable_next=function(re){switch(p){case 1:case 2:case 3:var ce=3;break;default:ce=p}var H=p;p=ce;try{return re()}finally{p=H}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(re,ce){switch(re){case 1:case 2:case 3:case 4:case 5:break;default:re=3}var H=p;p=re;try{return ce()}finally{p=H}},e.unstable_scheduleCallback=function(re,ce,H){var Ue=e.unstable_now();switch(typeof H=="object"&&H!==null?(H=H.delay,H=typeof H=="number"&&0<H?Ue+H:Ue):H=Ue,re){case 1:var T=-1;break;case 2:T=250;break;case 5:T=1073741823;break;case 4:T=1e4;break;default:T=5e3}return T=H+T,re={id:l++,callback:ce,priorityLevel:re,startTime:H,expirationTime:T,sortIndex:-1},H>Ue?(re.sortIndex=H,t(u,re),n(o)===null&&re===n(u)&&(b?(v(G),G=-1):b=!0,we(U,H-Ue))):(re.sortIndex=T,t(o,re),x||f||(x=!0,le(N))),re},e.unstable_shouldYield=j,e.unstable_wrapCallback=function(re){var ce=p;return function(){var H=p;p=ce;try{return re.apply(this,arguments)}finally{p=H}}}})(BC);vC.exports=BC;var UU=vC.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 QU=Oe,IA=UU;function Xe(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var xC=new Set,ed={};function vu(e,t){of(e,t),of(e+"Capture",t)}function of(e,t){for(ed[e]=t,e=0;e<t.length;e++)xC.add(t[e])}var Go=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),dw=Object.prototype.hasOwnProperty,kU=/^[: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]*$/,GB={},$B={};function IU(e){return dw.call($B,e)?!0:dw.call(GB,e)?!1:kU.test(e)?$B[e]=!0:(GB[e]=!0,!1)}function LU(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function jU(e,t,n,r){if(t===null||typeof t>"u"||LU(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Ri(e,t,n,r,i,A,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=A,this.removeEmptyString=s}var ti={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ti[e]=new Ri(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ti[t]=new Ri(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ti[e]=new Ri(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ti[e]=new Ri(e,2,!1,e,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(e){ti[e]=new Ri(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ti[e]=new Ri(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ti[e]=new Ri(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ti[e]=new Ri(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ti[e]=new Ri(e,5,!1,e.toLowerCase(),null,!1,!1)});var rv=/[\-:]([a-z])/g;function iv(e){return e[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(e){var t=e.replace(rv,iv);ti[t]=new Ri(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(rv,iv);ti[t]=new Ri(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(rv,iv);ti[t]=new Ri(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ti[e]=new Ri(e,1,!1,e.toLowerCase(),null,!1,!1)});ti.xlinkHref=new Ri("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ti[e]=new Ri(e,1,!1,e.toLowerCase(),null,!0,!0)});function Av(e,t,n,r){var i=ti.hasOwnProperty(t)?ti[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(jU(t,n,i,r)&&(n=null),r||i===null?IU(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:"":n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var Xo=QU.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Qp=Symbol.for("react.element"),Nc=Symbol.for("react.portal"),Pc=Symbol.for("react.fragment"),sv=Symbol.for("react.strict_mode"),pw=Symbol.for("react.profiler"),bC=Symbol.for("react.provider"),CC=Symbol.for("react.context"),ov=Symbol.for("react.forward_ref"),gw=Symbol.for("react.suspense"),mw=Symbol.for("react.suspense_list"),av=Symbol.for("react.memo"),Ma=Symbol.for("react.lazy"),FC=Symbol.for("react.offscreen"),WB=Symbol.iterator;function oh(e){return e===null||typeof e!="object"?null:(e=WB&&e[WB]||e["@@iterator"],typeof e=="function"?e:null)}var er=Object.assign,e1;function Bh(e){if(e1===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);e1=t&&t[1]||""}return`
34`+e1+e}var t1=!1;function n1(e,t){if(!e||t1)return"";t1=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}
vendor: 14,007 bytes, lines 34-37
34catch(u){if(u&&r&&typeof u.stack=="string"){for(var i=u.stack.split(`
35`),A=r.stack.split(`
36`),s=i.length-1,a=A.length-1;1<=s&&0<=a&&i[s]!==A[a];)a--;for(;1<=s&&0<=a;s--,a--)if(i[s]!==A[a]){if(s!==1||a!==1)do if(s--,a--,0>a||i[s]!==A[a]){var o=`
37`+i[s].replace(" at new "," at ");return e.displayName&&o.includes("<anonymous>")&&(o=o.replace("<anonymous>",e.displayName)),o}while(1<=s&&0<=a);break}}}finally{t1=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Bh(e):""}function NU(e){switch(e.tag){case 5:return Bh(e.type);case 16:return Bh("Lazy");case 13:return Bh("Suspense");case 19:return Bh("SuspenseList");case 0:case 2:case 15:return e=n1(e.type,!1),e;case 11:return e=n1(e.type.render,!1),e;case 1:return e=n1(e.type,!0),e;default:return""}}function ww(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Pc:return"Fragment";case Nc:return"Portal";case pw:return"Profiler";case sv:return"StrictMode";case gw:return"Suspense";case mw:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case CC:return(e.displayName||"Context")+".Consumer";case bC:return(e._context.displayName||"Context")+".Provider";case ov:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case av:return t=e.displayName||null,t!==null?t:ww(e.type)||"Memo";case Ma:t=e._payload,e=e._init;try{return ww(e(t))}catch{}}return null}function PU(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ww(t);case 8:return t===sv?"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 t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function ul(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function SC(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function TU(e){var t=SC(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,A=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,A.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function kp(e){e._valueTracker||(e._valueTracker=TU(e))}function EC(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=SC(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Pg(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function yw(e,t){var n=t.checked;return er({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function qB(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=ul(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function _C(e,t){t=t.checked,t!=null&&Av(e,"checked",t,!1)}function vw(e,t){_C(e,t);var n=ul(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Bw(e,t.type,n):t.hasOwnProperty("defaultValue")&&Bw(e,t.type,ul(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function JB(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Bw(e,t,n){(t!=="number"||Pg(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var xh=Array.isArray;function Wc(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+ul(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function xw(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(Xe(91));return er({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function XB(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(Xe(92));if(xh(n)){if(1<n.length)throw Error(Xe(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:ul(n)}}function UC(e,t){var n=ul(t.value),r=ul(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function YB(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function QC(e){switch(e){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 bw(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?QC(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Ip,kC=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Ip=Ip||document.createElement("div"),Ip.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Ip.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function td(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Ih={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},OU=["Webkit","ms","Moz","O"];Object.keys(Ih).forEach(function(e){OU.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ih[t]=Ih[e]})});function IC(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Ih.hasOwnProperty(e)&&Ih[e]?(""+t).trim():t+"px"}function LC(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=IC(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var RU=er({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 Cw(e,t){if(t){if(RU[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(Xe(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(Xe(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(Xe(61))}if(t.style!=null&&typeof t.style!="object")throw Error(Xe(62))}}function Fw(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){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 Sw=null;function lv(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ew=null,qc=null,Jc=null;function ZB(e){if(e=Ud(e)){if(typeof Ew!="function")throw Error(Xe(280));var t=e.stateNode;t&&(t=Cm(t),Ew(e.stateNode,e.type,t))}}function jC(e){qc?Jc?Jc.push(e):Jc=[e]:qc=e}function NC(){if(qc){var e=qc,t=Jc;if(Jc=qc=null,ZB(e),t)for(e=0;e<t.length;e++)ZB(t[e])}}function PC(e,t){return e(t)}function TC(){}var r1=!1;function OC(e,t,n){if(r1)return e(t,n);r1=!0;try{return PC(e,t,n)}finally{r1=!1,(qc!==null||Jc!==null)&&(TC(),NC())}}function nd(e,t){var n=e.stateNode;if(n===null)return null;var r=Cm(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(Xe(231,t,typeof n));return n}var _w=!1;if(Go)try{var ah={};Object.defineProperty(ah,"passive",{get:function(){_w=!0}}),window.addEventListener("test",ah,ah),window.removeEventListener("test",ah,ah)}catch{_w=!1}function DU(e,t,n,r,i,A,s,a,o){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(l){this.onError(l)}}var Lh=!1,Tg=null,Og=!1,Uw=null,HU={onError:function(e){Lh=!0,Tg=e}};function MU(e,t,n,r,i,A,s,a,o){Lh=!1,Tg=null,DU.apply(HU,arguments)}function KU(e,t,n,r,i,A,s,a,o){if(MU.apply(this,arguments),Lh){if(Lh){var u=Tg;Lh=!1,Tg=null}else throw Error(Xe(198));Og||(Og=!0,Uw=u)}}function Bu(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function RC(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function e5(e){if(Bu(e)!==e)throw Error(Xe(188))}function zU(e){var t=e.alternate;if(!t){if(t=Bu(e),t===null)throw Error(Xe(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var A=i.alternate;if(A===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===A.child){for(A=i.child;A;){if(A===n)return e5(i),e;if(A===r)return e5(i),t;A=A.sibling}throw Error(Xe(188))}if(n.return!==r.return)n=i,r=A;else{for(var s=!1,a=i.child;a;){if(a===n){s=!0,n=i,r=A;break}if(a===r){s=!0,r=i,n=A;break}a=a.sibling}if(!s){for(a=A.child;a;){if(a===n){s=!0,n=A,r=i;break}if(a===r){s=!0,r=A,n=i;break}a=a.sibling}if(!s)throw Error(Xe(189))}}if(n.alternate!==r)throw Error(Xe(190))}if(n.tag!==3)throw Error(Xe(188));return n.stateNode.current===n?e:t}function DC(e){return e=zU(e),e!==null?HC(e):null}function HC(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=HC(e);if(t!==null)return t;e=e.sibling}return null}var MC=IA.unstable_scheduleCallback,t5=IA.unstable_cancelCallback,VU=IA.unstable_shouldYield,GU=IA.unstable_requestPaint,fr=IA.unstable_now,$U=IA.unstable_getCurrentPriorityLevel,uv=IA.unstable_ImmediatePriority,KC=IA.unstable_UserBlockingPriority,Rg=IA.unstable_NormalPriority,WU=IA.unstable_LowPriority,zC=IA.unstable_IdlePriority,vm=null,Ao=null;function qU(e){if(Ao&&typeof Ao.onCommitFiberRoot=="function")try{Ao.onCommitFiberRoot(vm,e,void 0,(e.current.flags&128)===128)}catch{}}var xs=Math.clz32?Math.clz32:YU,JU=Math.log,XU=Math.LN2;function YU(e){return e>>>=0,e===0?32:31-(JU(e)/XU|0)|0}var Lp=64,jp=4194304;function bh(e){switch(e&-e){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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Dg(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,A=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~i;a!==0?r=bh(a):(A&=s,A!==0&&(r=bh(A)))}else s=n&~i,s!==0?r=bh(s):A!==0&&(r=bh(A));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,A=t&-t,i>=A||i===16&&(A&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-xs(t),i=1<<n,r|=e[n],t&=~i;return r}function ZU(e,t){switch(e){case 1:case 2:case 4:return t+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 t+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 eQ(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,A=e.pendingLanes;0<A;){var s=31-xs(A),a=1<<s,o=i[s];o===-1?(!(a&n)||a&r)&&(i[s]=ZU(a,t)):o<=t&&(e.expiredLanes|=a),A&=~a}}function Qw(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function VC(){var e=Lp;
vendor: 4,186 bytes, line 37
37return Lp<<=1,!(Lp&4194240)&&(Lp=64),e}function i1(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Ed(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-xs(t),e[t]=n}function tQ(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-xs(n),A=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~A}}function cv(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-xs(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var Fn=0;function GC(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var $C,fv,WC,qC,JC,kw=!1,Np=[],Za=null,el=null,tl=null,rd=new Map,id=new Map,Va=[],nQ="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 n5(e,t){switch(e){case"focusin":case"focusout":Za=null;break;case"dragenter":case"dragleave":el=null;break;case"mouseover":case"mouseout":tl=null;break;case"pointerover":case"pointerout":rd.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":id.delete(t.pointerId)}}function lh(e,t,n,r,i,A){return e===null||e.nativeEvent!==A?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:A,targetContainers:[i]},t!==null&&(t=Ud(t),t!==null&&fv(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function rQ(e,t,n,r,i){switch(t){case"focusin":return Za=lh(Za,e,t,n,r,i),!0;case"dragenter":return el=lh(el,e,t,n,r,i),!0;case"mouseover":return tl=lh(tl,e,t,n,r,i),!0;case"pointerover":var A=i.pointerId;return rd.set(A,lh(rd.get(A)||null,e,t,n,r,i)),!0;case"gotpointercapture":return A=i.pointerId,id.set(A,lh(id.get(A)||null,e,t,n,r,i)),!0}return!1}function XC(e){var t=nu(e.target);if(t!==null){var n=Bu(t);if(n!==null){if(t=n.tag,t===13){if(t=RC(n),t!==null){e.blockedOn=t,JC(e.priority,function(){WC(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function mg(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Iw(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Sw=r,n.target.dispatchEvent(r),Sw=null}else return t=Ud(n),t!==null&&fv(t),e.blockedOn=n,!1;t.shift()}return!0}function r5(e,t,n){mg(e)&&n.delete(t)}function iQ(){kw=!1,Za!==null&&mg(Za)&&(Za=null),el!==null&&mg(el)&&(el=null),tl!==null&&mg(tl)&&(tl=null),rd.forEach(r5),id.forEach(r5)}function uh(e,t){e.blockedOn===t&&(e.blockedOn=null,kw||(kw=!0,IA.unstable_scheduleCallback(IA.unstable_NormalPriority,iQ)))}function Ad(e){function t(i){return uh(i,e)}if(0<Np.length){uh(Np[0],e);for(var n=1;n<Np.length;n++){var r=Np[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Za!==null&&uh(Za,e),el!==null&&uh(el,e),tl!==null&&uh(tl,e),rd.forEach(t),id.forEach(t),n=0;n<Va.length;n++)r=Va[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Va.length&&(n=Va[0],n.blockedOn===null);)XC(n),n.blockedOn===null&&Va.shift()}var Xc=Xo.ReactCurrentBatchConfig,Hg=!0;function AQ(e,t,n,r){var i=Fn,A=Xc.transition;Xc.transition=null;try{Fn=1,hv(e,t,n,r)}finally{Fn=i,Xc.transition=A}}function sQ(e,t,n,r){var i=Fn,A=Xc.transition;Xc.transition=null;try{Fn=4,hv(e,t,n,r)}finally{Fn=i,Xc.transition=A}}function hv(e,t,n,r){if(Hg){var i=Iw(e,t,n,r);if(i===null)d1(e,t,r,Mg,n),n5(e,r);else if(rQ(i,e,t,n,r))r.stopPropagation();else if(n5(e,r),t&4&&-1<nQ.indexOf(e)){for(;i!==null;){var A=Ud(i);if(A!==null&&$C(A),A=Iw(e,t,n,r),A===null&&d1(e,t,r,Mg,n),A===i)break;i=A}i!==null&&r.stopPropagation()}else d1(e,t,r,null,n)}}var Mg=null;function Iw(e,t,n,r){if(Mg=null,e=lv(r),e=nu(e),e!==null)if(t=Bu(e),t===null)e=null;else if(n=t.tag,n===13){if(e=RC(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Mg=e,null}
vendor: 10,401 bytes, line 37
37function YC(e){switch(e){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($U()){case uv:return 1;case KC:return 4;case Rg:case WU:return 16;case zC:return 536870912;default:return 16}default:return 16}}var qa=null,dv=null,wg=null;function ZC(){if(wg)return wg;var e,t=dv,n=t.length,r,i="value"in qa?qa.value:qa.textContent,A=i.length;for(e=0;e<n&&t[e]===i[e];e++);var s=n-e;for(r=1;r<=s&&t[n-r]===i[A-r];r++);return wg=i.slice(e,1<r?1-r:void 0)}function yg(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Pp(){return!0}function i5(){return!1}function jA(e){function t(n,r,i,A,s){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=A,this.target=s,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(A):A[a]);return this.isDefaultPrevented=(A.defaultPrevented!=null?A.defaultPrevented:A.returnValue===!1)?Pp:i5,this.isPropagationStopped=i5,this}return er(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Pp)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Pp)},persist:function(){},isPersistent:Pp}),t}var wf={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},pv=jA(wf),_d=er({},wf,{view:0,detail:0}),oQ=jA(_d),A1,s1,ch,Bm=er({},_d,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:gv,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ch&&(ch&&e.type==="mousemove"?(A1=e.screenX-ch.screenX,s1=e.screenY-ch.screenY):s1=A1=0,ch=e),A1)},movementY:function(e){return"movementY"in e?e.movementY:s1}}),A5=jA(Bm),aQ=er({},Bm,{dataTransfer:0}),lQ=jA(aQ),uQ=er({},_d,{relatedTarget:0}),o1=jA(uQ),cQ=er({},wf,{animationName:0,elapsedTime:0,pseudoElement:0}),fQ=jA(cQ),hQ=er({},wf,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),dQ=jA(hQ),pQ=er({},wf,{data:0}),s5=jA(pQ),gQ={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},mQ={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"},wQ={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function yQ(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=wQ[e])?!!t[e]:!1}function gv(){return yQ}var vQ=er({},_d,{key:function(e){if(e.key){var t=gQ[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=yg(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?mQ[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:gv,charCode:function(e){return e.type==="keypress"?yg(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?yg(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),BQ=jA(vQ),xQ=er({},Bm,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),o5=jA(xQ),bQ=er({},_d,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:gv}),CQ=jA(bQ),FQ=er({},wf,{propertyName:0,elapsedTime:0,pseudoElement:0}),SQ=jA(FQ),EQ=er({},Bm,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),_Q=jA(EQ),UQ=[9,13,27,32],mv=Go&&"CompositionEvent"in window,jh=null;Go&&"documentMode"in document&&(jh=document.documentMode);var QQ=Go&&"TextEvent"in window&&!jh,e4=Go&&(!mv||jh&&8<jh&&11>=jh),a5=" ",l5=!1;function t4(e,t){switch(e){case"keyup":return UQ.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function n4(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Tc=!1;function kQ(e,t){switch(e){case"compositionend":return n4(t);case"keypress":return t.which!==32?null:(l5=!0,a5);case"textInput":return e=t.data,e===a5&&l5?null:e;default:return null}}function IQ(e,t){if(Tc)return e==="compositionend"||!mv&&t4(e,t)?(e=ZC(),wg=dv=qa=null,Tc=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return e4&&t.locale!=="ko"?null:t.data;default:return null}}var LQ={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 u5(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!LQ[e.type]:t==="textarea"}function r4(e,t,n,r){jC(r),t=Kg(t,"onChange"),0<t.length&&(n=new pv("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Nh=null,sd=null;function jQ(e){d4(e,0)}function xm(e){var t=Dc(e);if(EC(t))return e}function NQ(e,t){if(e==="change")return t}var i4=!1;if(Go){var a1;if(Go){var l1="oninput"in document;if(!l1){var c5=document.createElement("div");c5.setAttribute("oninput","return;"),l1=typeof c5.oninput=="function"}a1=l1}else a1=!1;i4=a1&&(!document.documentMode||9<document.documentMode)}function f5(){Nh&&(Nh.detachEvent("onpropertychange",A4),sd=Nh=null)}function A4(e){if(e.propertyName==="value"&&xm(sd)){var t=[];r4(t,sd,e,lv(e)),OC(jQ,t)}}function PQ(e,t,n){e==="focusin"?(f5(),Nh=t,sd=n,Nh.attachEvent("onpropertychange",A4)):e==="focusout"&&f5()}function TQ(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return xm(sd)}function OQ(e,t){if(e==="click")return xm(t)}function RQ(e,t){if(e==="input"||e==="change")return xm(t)}function DQ(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Fs=typeof Object.is=="function"?Object.is:DQ;function od(e,t){if(Fs(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!dw.call(t,i)||!Fs(e[i],t[i]))return!1}return!0}function h5(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function d5(e,t){var n=h5(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=h5(n)}}function s4(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?s4(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function o4(){for(var e=window,t=Pg();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Pg(e.document)}return t}function wv(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function HQ(e){var t=o4(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&s4(n.ownerDocument.documentElement,n)){if(r!==null&&wv(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,A=Math.min(r.start,i);r=r.end===void 0?A:Math.min(r.end,i),!e.extend&&A>r&&(i=r,r=A,A=i),i=d5(n,A);var s=d5(n,r);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),A>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var MQ=Go&&"documentMode"in document&&11>=document.documentMode,Oc=null,Lw=null,Ph=null,jw=!1;function p5(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;jw||Oc==null||Oc!==Pg(r)||(r=Oc,"selectionStart"in r&&wv(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focu
vendor: 4,501 bytes, line 37
37sNode:r.focusNode,focusOffset:r.focusOffset}),Ph&&od(Ph,r)||(Ph=r,r=Kg(Lw,"onSelect"),0<r.length&&(t=new pv("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Oc)))}function Tp(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Rc={animationend:Tp("Animation","AnimationEnd"),animationiteration:Tp("Animation","AnimationIteration"),animationstart:Tp("Animation","AnimationStart"),transitionend:Tp("Transition","TransitionEnd")},u1={},a4={};Go&&(a4=document.createElement("div").style,"AnimationEvent"in window||(delete Rc.animationend.animation,delete Rc.animationiteration.animation,delete Rc.animationstart.animation),"TransitionEvent"in window||delete Rc.transitionend.transition);function bm(e){if(u1[e])return u1[e];if(!Rc[e])return e;var t=Rc[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in a4)return u1[e]=t[n];return e}var l4=bm("animationend"),u4=bm("animationiteration"),c4=bm("animationstart"),f4=bm("transitionend"),h4=new Map,g5="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 pl(e,t){h4.set(e,t),vu(t,[e])}for(var c1=0;c1<g5.length;c1++){var f1=g5[c1],KQ=f1.toLowerCase(),zQ=f1[0].toUpperCase()+f1.slice(1);pl(KQ,"on"+zQ)}pl(l4,"onAnimationEnd");pl(u4,"onAnimationIteration");pl(c4,"onAnimationStart");pl("dblclick","onDoubleClick");pl("focusin","onFocus");pl("focusout","onBlur");pl(f4,"onTransitionEnd");of("onMouseEnter",["mouseout","mouseover"]);of("onMouseLeave",["mouseout","mouseover"]);of("onPointerEnter",["pointerout","pointerover"]);of("onPointerLeave",["pointerout","pointerover"]);vu("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));vu("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));vu("onBeforeInput",["compositionend","keypress","textInput","paste"]);vu("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));vu("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));vu("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ch="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(" "),VQ=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ch));function m5(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,KU(r,t,void 0,e),e.currentTarget=null}function d4(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var A=void 0;if(t)for(var s=r.length-1;0<=s;s--){var a=r[s],o=a.instance,u=a.currentTarget;if(a=a.listener,o!==A&&i.isPropagationStopped())break e;m5(i,a,u),A=o}else for(s=0;s<r.length;s++){if(a=r[s],o=a.instance,u=a.currentTarget,a=a.listener,o!==A&&i.isPropagationStopped())break e;m5(i,a,u),A=o}}}if(Og)throw e=Uw,Og=!1,Uw=null,e}function On(e,t){var n=t[Rw];n===void 0&&(n=t[Rw]=new Set);var r=e+"__bubble";n.has(r)||(p4(t,e,2,!1),n.add(r))}function h1(e,t,n){var r=0;t&&(r|=4),p4(n,e,r,t)}var Op="_reactListening"+Math.random().toString(36).slice(2);function ad(e){if(!e[Op]){e[Op]=!0,xC.forEach(function(n){n!=="selectionchange"&&(VQ.has(n)||h1(n,!1,e),h1(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Op]||(t[Op]=!0,h1("selectionchange",!1,t))}}function p4(e,t,n,r){switch(YC(t)){case 1:var i=AQ;break;case 4:i=sQ;break;default:i=hv}n=i.bind(null,t,n,e),i=void 0,!_w||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function d1(e,t,n,r,i){var A=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var a=r.stateNode.containerInfo;
vendor: 2,527 bytes, line 37
37if(a===i||a.nodeType===8&&a.parentNode===i)break;if(s===4)for(s=r.return;s!==null;){var o=s.tag;if((o===3||o===4)&&(o=s.stateNode.containerInfo,o===i||o.nodeType===8&&o.parentNode===i))return;s=s.return}for(;a!==null;){if(s=nu(a),s===null)return;if(o=s.tag,o===5||o===6){r=A=s;continue e}a=a.parentNode}}r=r.return}OC(function(){var u=A,l=lv(n),c=[];e:{var p=h4.get(e);if(p!==void 0){var f=pv,x=e;switch(e){case"keypress":if(yg(n)===0)break e;case"keydown":case"keyup":f=BQ;break;case"focusin":x="focus",f=o1;break;case"focusout":x="blur",f=o1;break;case"beforeblur":case"afterblur":f=o1;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":f=A5;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":f=lQ;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":f=CQ;break;case l4:case u4:case c4:f=fQ;break;case f4:f=SQ;break;case"scroll":f=oQ;break;case"wheel":f=_Q;break;case"copy":case"cut":case"paste":f=dQ;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":f=o5}var b=(t&4)!==0,E=!b&&e==="scroll",v=b?p!==null?p+"Capture":null:p;b=[];for(var B=u,F;B!==null;){F=B;var U=F.stateNode;if(F.tag===5&&U!==null&&(F=U,v!==null&&(U=nd(B,v),U!=null&&b.push(ld(B,U,F)))),E)break;B=B.return}0<b.length&&(p=new f(p,x,null,n,l),c.push({event:p,listeners:b}))}}if(!(t&7)){e:{if(p=e==="mouseover"||e==="pointerover",f=e==="mouseout"||e==="pointerout",p&&n!==Sw&&(x=n.relatedTarget||n.fromElement)&&(nu(x)||x[$o]))break e;if((f||p)&&(p=l.window===l?l:(p=l.ownerDocument)?p.defaultView||p.parentWindow:window,f?(x=n.relatedTarget||n.toElement,f=u,x=x?nu(x):null,x!==null&&(E=Bu(x),x!==E||x.tag!==5&&x.tag!==6)&&(x=null)):(f=null,x=u),f!==x)){if(b=A5,U="onMouseLeave",v="onMouseEnter",B="mouse",(e==="pointerout"||e==="pointerover")&&(b=o5,U="onPointerLeave",v="onPointerEnter",B="pointer"),E=f==null?p:Dc(f),F=x==null?p:Dc(x),p=new b(U,B+"leave",f,n,l),p.target=E,p.relatedTarget=F,U=null,nu(l)===u&&(b=new b(v,B+"enter",x,n,l),b.target=F,b.relatedTarget=E,U=b),E=U,f&&x)t:{for(b=f,v=x,B=0,F=b;F;F=wc(F))B++;for(F=0,U=v;U;U=wc(U))F++;for(;0<B-F;)b=wc(b),B--;for(;0<F-B;)v=wc(v),F--;for(;B--;){if(b===v||v!==null&&b===v.alternate)break t;b=wc(b),v=wc(v)}b=null}else b=null;f!==null&&w5(c,p,f,b,!1),x!==null&&E!==null&&w5(c,E,x,b,!0)}}
vendor: 5,319 bytes, lines 37-38
37e:{if(p=u?Dc(u):window,f=p.nodeName&&p.nodeName.toLowerCase(),f==="select"||f==="input"&&p.type==="file")var N=NQ;else if(u5(p))if(i4)N=RQ;else{N=TQ;var P=PQ}else(f=p.nodeName)&&f.toLowerCase()==="input"&&(p.type==="checkbox"||p.type==="radio")&&(N=OQ);if(N&&(N=N(e,u))){r4(c,N,n,l);break e}P&&P(e,p,u),e==="focusout"&&(P=p._wrapperState)&&P.controlled&&p.type==="number"&&Bw(p,"number",p.value)}switch(P=u?Dc(u):window,e){case"focusin":(u5(P)||P.contentEditable==="true")&&(Oc=P,Lw=u,Ph=null);break;case"focusout":Ph=Lw=Oc=null;break;case"mousedown":jw=!0;break;case"contextmenu":case"mouseup":case"dragend":jw=!1,p5(c,n,l);break;case"selectionchange":if(MQ)break;case"keydown":case"keyup":p5(c,n,l)}var $;if(mv)e:{switch(e){case"compositionstart":var G="onCompositionStart";break e;case"compositionend":G="onCompositionEnd";break e;case"compositionupdate":G="onCompositionUpdate";break e}G=void 0}else Tc?t4(e,n)&&(G="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(G="onCompositionStart");G&&(e4&&n.locale!=="ko"&&(Tc||G!=="onCompositionStart"?G==="onCompositionEnd"&&Tc&&($=ZC()):(qa=l,dv="value"in qa?qa.value:qa.textContent,Tc=!0)),P=Kg(u,G),0<P.length&&(G=new s5(G,e,null,n,l),c.push({event:G,listeners:P}),$?G.data=$:($=n4(n),$!==null&&(G.data=$)))),($=QQ?kQ(e,n):IQ(e,n))&&(u=Kg(u,"onBeforeInput"),0<u.length&&(l=new s5("onBeforeInput","beforeinput",null,n,l),c.push({event:l,listeners:u}),l.data=$))}d4(c,t)})}function ld(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Kg(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,A=i.stateNode;i.tag===5&&A!==null&&(i=A,A=nd(e,n),A!=null&&r.unshift(ld(e,A,i)),A=nd(e,t),A!=null&&r.push(ld(e,A,i))),e=e.return}return r}function wc(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function w5(e,t,n,r,i){for(var A=t._reactName,s=[];n!==null&&n!==r;){var a=n,o=a.alternate,u=a.stateNode;if(o!==null&&o===r)break;a.tag===5&&u!==null&&(a=u,i?(o=nd(n,A),o!=null&&s.unshift(ld(n,o,a))):i||(o=nd(n,A),o!=null&&s.push(ld(n,o,a)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var GQ=/\r\n?/g,$Q=/\u0000|\uFFFD/g;function y5(e){return(typeof e=="string"?e:""+e).replace(GQ,`
38`).replace($Q,"")}function Rp(e,t,n){if(t=y5(t),y5(e)!==t&&n)throw Error(Xe(425))}function zg(){}var Nw=null,Pw=null;function Tw(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Ow=typeof setTimeout=="function"?setTimeout:void 0,WQ=typeof clearTimeout=="function"?clearTimeout:void 0,v5=typeof Promise=="function"?Promise:void 0,qQ=typeof queueMicrotask=="function"?queueMicrotask:typeof v5<"u"?function(e){return v5.resolve(null).then(e).catch(JQ)}:Ow;function JQ(e){setTimeout(function(){throw e})}function p1(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),Ad(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);Ad(t)}function nl(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function B5(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var yf=Math.random().toString(36).slice(2),no="__reactFiber$"+yf,ud="__reactProps$"+yf,$o="__reactContainer$"+yf,Rw="__reactEvents$"+yf,XQ="__reactListeners$"+yf,YQ="__reactHandles$"+yf;function nu(e){var t=e[no];if(t)return t;for(var n=e.parentNode;n;){if(t=n[$o]||n[no]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=B5(e);e!==null;){if(n=e[no])return n;e=B5(e)}return t}e=n,n=e.parentNode}return null}function Ud(e){return e=e[no]||e[$o],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Dc(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(Xe(33))}function Cm(e){return e[ud]||null}var Dw=[],Hc=-1;function gl(e){return{current:e}}function Dn(e){0>Hc||(e.current=Dw[Hc],Dw[Hc]=null,Hc--)}function Nn(e,t){Hc++,Dw[Hc]=e.current,e.current=t}var cl={},bi=gl(cl),AA=gl(!1),hu=cl;function af(e,t){var n=e.type.contextTypes;if(!n)return cl;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},A;for(A in n)i[A]=t[A];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function sA(e){return e=e.childContextTypes,e!=null}function Vg(){Dn(AA),Dn(bi)}function x5(e,t,n){if(bi.current!==cl)throw Error(Xe(168));Nn(bi,t),Nn(AA,n)}function g4(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(Xe(108,PU(e)||"Unknown",i));return er({},n,r)}function Gg(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||cl,hu=bi.current,Nn(bi,e),Nn(AA,AA.current),!0}function b5(e,t,n){var r=e.stateNode;if(!r)throw Error(Xe(169));n?(e=g4(e,t,hu),r.__reactInternalMemoizedMergedChildContext=e,Dn(AA),Dn(bi),Nn(bi,e)):Dn(AA),Nn(AA,n)}var Mo=null,Fm=!1,g1=!1;function m4(e){Mo===null?Mo=[e]:Mo.push(e)}
vendor: 14,308 bytes, line 38
38function ZQ(e){Fm=!0,m4(e)}function ml(){if(!g1&&Mo!==null){g1=!0;var e=0,t=Fn;try{var n=Mo;for(Fn=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Mo=null,Fm=!1}catch(i){throw Mo!==null&&(Mo=Mo.slice(e+1)),MC(uv,ml),i}finally{Fn=t,g1=!1}}return null}var Mc=[],Kc=0,$g=null,Wg=0,VA=[],GA=0,du=null,Ko=1,zo="";function ql(e,t){Mc[Kc++]=Wg,Mc[Kc++]=$g,$g=e,Wg=t}function w4(e,t,n){VA[GA++]=Ko,VA[GA++]=zo,VA[GA++]=du,du=e;var r=Ko;e=zo;var i=32-xs(r)-1;r&=~(1<<i),n+=1;var A=32-xs(t)+i;if(30<A){var s=i-i%5;A=(r&(1<<s)-1).toString(32),r>>=s,i-=s,Ko=1<<32-xs(t)+i|n<<i|r,zo=A+e}else Ko=1<<A|n<<i|r,zo=e}function yv(e){e.return!==null&&(ql(e,1),w4(e,1,0))}function vv(e){for(;e===$g;)$g=Mc[--Kc],Mc[Kc]=null,Wg=Mc[--Kc],Mc[Kc]=null;for(;e===du;)du=VA[--GA],VA[GA]=null,zo=VA[--GA],VA[GA]=null,Ko=VA[--GA],VA[GA]=null}var QA=null,_A=null,zn=!1,vs=null;function y4(e,t){var n=WA(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function C5(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,QA=e,_A=nl(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,QA=e,_A=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=du!==null?{id:Ko,overflow:zo}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=WA(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,QA=e,_A=null,!0):!1;default:return!1}}function Hw(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Mw(e){if(zn){var t=_A;if(t){var n=t;if(!C5(e,t)){if(Hw(e))throw Error(Xe(418));t=nl(n.nextSibling);var r=QA;t&&C5(e,t)?y4(r,n):(e.flags=e.flags&-4097|2,zn=!1,QA=e)}}else{if(Hw(e))throw Error(Xe(418));e.flags=e.flags&-4097|2,zn=!1,QA=e}}}function F5(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;QA=e}function Dp(e){if(e!==QA)return!1;if(!zn)return F5(e),zn=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Tw(e.type,e.memoizedProps)),t&&(t=_A)){if(Hw(e))throw v4(),Error(Xe(418));for(;t;)y4(e,t),t=nl(t.nextSibling)}if(F5(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(Xe(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){_A=nl(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}_A=null}}else _A=QA?nl(e.stateNode.nextSibling):null;return!0}function v4(){for(var e=_A;e;)e=nl(e.nextSibling)}function lf(){_A=QA=null,zn=!1}function Bv(e){vs===null?vs=[e]:vs.push(e)}var ek=Xo.ReactCurrentBatchConfig;function fh(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(Xe(309));var r=n.stateNode}if(!r)throw Error(Xe(147,e));var i=r,A=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===A?t.ref:(t=function(s){var a=i.refs;s===null?delete a[A]:a[A]=s},t._stringRef=A,t)}if(typeof e!="string")throw Error(Xe(284));if(!n._owner)throw Error(Xe(290,e))}return e}function Hp(e,t){throw e=Object.prototype.toString.call(t),Error(Xe(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function S5(e){var t=e._init;return t(e._payload)}function B4(e){function t(v,B){if(e){var F=v.deletions;F===null?(v.deletions=[B],v.flags|=16):F.push(B)}}function n(v,B){if(!e)return null;for(;B!==null;)t(v,B),B=B.sibling;return null}function r(v,B){for(v=new Map;B!==null;)B.key!==null?v.set(B.key,B):v.set(B.index,B),B=B.sibling;return v}function i(v,B){return v=sl(v,B),v.index=0,v.sibling=null,v}function A(v,B,F){return v.index=F,e?(F=v.alternate,F!==null?(F=F.index,F<B?(v.flags|=2,B):F):(v.flags|=2,B)):(v.flags|=1048576,B)}function s(v){return e&&v.alternate===null&&(v.flags|=2),v}function a(v,B,F,U){return B===null||B.tag!==6?(B=b1(F,v.mode,U),B.return=v,B):(B=i(B,F),B.return=v,B)}function o(v,B,F,U){var N=F.type;return N===Pc?l(v,B,F.props.children,U,F.key):B!==null&&(B.elementType===N||typeof N=="object"&&N!==null&&N.$$typeof===Ma&&S5(N)===B.type)?(U=i(B,F.props),U.ref=fh(v,B,F),U.return=v,U):(U=Sg(F.type,F.key,F.props,null,v.mode,U),U.ref=fh(v,B,F),U.return=v,U)}function u(v,B,F,U){return B===null||B.tag!==4||B.stateNode.containerInfo!==F.containerInfo||B.stateNode.implementation!==F.implementation?(B=C1(F,v.mode,U),B.return=v,B):(B=i(B,F.children||[]),B.return=v,B)}function l(v,B,F,U,N){return B===null||B.tag!==7?(B=au(F,v.mode,U,N),B.return=v,B):(B=i(B,F),B.return=v,B)}function c(v,B,F){if(typeof B=="string"&&B!==""||typeof B=="number")return B=b1(""+B,v.mode,F),B.return=v,B;if(typeof B=="object"&&B!==null){switch(B.$$typeof){case Qp:return F=Sg(B.type,B.key,B.props,null,v.mode,F),F.ref=fh(v,null,B),F.return=v,F;case Nc:return B=C1(B,v.mode,F),B.return=v,B;case Ma:var U=B._init;return c(v,U(B._payload),F)}if(xh(B)||oh(B))return B=au(B,v.mode,F,null),B.return=v,B;Hp(v,B)}return null}function p(v,B,F,U){var N=B!==null?B.key:null;if(typeof F=="string"&&F!==""||typeof F=="number")return N!==null?null:a(v,B,""+F,U);if(typeof F=="object"&&F!==null){switch(F.$$typeof){case Qp:return F.key===N?o(v,B,F,U):null;case Nc:return F.key===N?u(v,B,F,U):null;case Ma:return N=F._init,p(v,B,N(F._payload),U)}if(xh(F)||oh(F))return N!==null?null:l(v,B,F,U,null);Hp(v,F)}return null}function f(v,B,F,U,N){if(typeof U=="string"&&U!==""||typeof U=="number")return v=v.get(F)||null,a(B,v,""+U,N);if(typeof U=="object"&&U!==null){switch(U.$$typeof){case Qp:return v=v.get(U.key===null?F:U.key)||null,o(B,v,U,N);case Nc:return v=v.get(U.key===null?F:U.key)||null,u(B,v,U,N);case Ma:var P=U._init;return f(v,B,F,P(U._payload),N)}if(xh(U)||oh(U))return v=v.get(F)||null,l(B,v,U,N,null);Hp(B,U)}return null}function x(v,B,F,U){for(var N=null,P=null,$=B,G=B=0,te=null;$!==null&&G<F.length;G++){$.index>G?(te=$,$=null):te=$.sibling;var M=p(v,$,F[G],U);if(M===null){$===null&&($=te);break}e&&$&&M.alternate===null&&t(v,$),B=A(M,B,G),P===null?N=M:P.sibling=M,P=M,$=te}if(G===F.length)return n(v,$),zn&&ql(v,G),N;if($===null){for(;G<F.length;G++)$=c(v,F[G],U),$!==null&&(B=A($,B,G),P===null?N=$:P.sibling=$,P=$);return zn&&ql(v,G),N}for($=r(v,$);G<F.length;G++)te=f($,v,G,F[G],U),te!==null&&(e&&te.alternate!==null&&$.delete(te.key===null?G:te.key),B=A(te,B,G),P===null?N=te:P.sibling=te,P=te);return e&&$.forEach(function(j){return t(v,j)}),zn&&ql(v,G),N}function b(v,B,F,U){var N=oh(F);if(typeof N!="function")throw Error(Xe(150));if(F=N.call(F),F==null)throw Error(Xe(151));for(var P=N=null,$=B,G=B=0,te=null,M=F.next();$!==null&&!M.done;G++,M=F.next()){$.index>G?(te=$,$=null):te=$.sibling;var j=p(v,$,M.value,U);if(j===null){$===null&&($=te);break}e&&$&&j.alternate===null&&t(v,$),B=A(j,B,G),P===null?N=j:P.sibling=j,P=j,$=te}if(M.done)return n(v,$),zn&&ql(v,G),N;if($===null){for(;!M.done;G++,M=F.next())M=c(v,M.value,U),M!==null&&(B=A(M,B,G),P===null?N=M:P.sibling=M,P=M);return zn&&ql(v,G),N}for($=r(v,$);!M.done;G++,M=F.next())M=f($,v,G,M.value,U),M!==null&&(e&&M.alternate!==null&&$.delete(M.key===null?G:M.key),B=A(M,B,G),P===null?N=M:P.sibling=M,P=M);return e&&$.forEach(function(D){return t(v,D)}),zn&&ql(v,G),N}function E(v,B,F,U){if(typeof F=="object"&&F!==null&&F.type===Pc&&F.key===null&&(F=F.props.children),typeof F=="object"&&F!==null){switch(F.$$typeof){case Qp:e:{for(var N=F.key,P=B;P!==null;){if(P.key===N){if(N=F.type,N===Pc){if(P.tag===7){n(v,P.sibling),B=i(P,F.props.children),B.return=v,v=B;break e}}else if(P.elementType===N||typeof N=="object"&&N!==null&&N.$$typeof===Ma&&S5(N)===P.type){n(v,P.sibling),B=i(P,F.props),B.ref=fh(v,P,F),B.return=v,v=B;break e}n(v,P);break}else t(v,P);P=P.sibling}F.type===Pc?(B=au(F.props.children,v.mode,U,F.key),B.return=v,v=B):(U=Sg(F.type,F.key,F.props,null,v.mode,U),U.ref=fh(v,B,F),U.return=v,v=U)}return s(v);case Nc:e:{for(P=F.key;B!==null;){if(B.key===P)if(B.tag===4&&B.stateNode.containerInfo===F.containerInfo&&B.stateNode.implementation===F.implementation){n(v,B.sibling),B=i(B,F.children||[]),B.return=v,v=B;break e}else{n(v,B);break}else t(v,B);B=B.sibling}B=C1(F,v.mode,U),B.return=v,v=B}return s(v);case Ma:return P=F._init,E(v,B,P(F._payload),U)}if(xh(F))return x(v,B,F,U);if(oh(F))return b(v,B,F,U);Hp(v,F)}return typeof F=="string"&&F!==""||typeof F=="number"?(F=""+F,B!==null&&B.tag===6?(n(v,B.sibling),B=i(B,F),B.return=v,v=B):(n(v,B),B=b1(F,v.mode,U),B.return=v,v=B),s(v)):n(v,B)}return E}var uf=B4(!0),x4=B4(!1),qg=gl(null),Jg=null,zc=null,xv=null;function bv(){xv=zc=Jg=null}function Cv(e){var t=qg.current;Dn(qg),e._currentValue=t}function Kw(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Yc(e,t){Jg=e,xv=zc=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(iA=!0),e.firstContext=null)}function XA(e){var t=e._currentValue;if(xv!==e)if(e={context:e,memoizedValue:t,next:null},zc===null){if(Jg===null)throw Error(Xe(308));zc=e,Jg.dependencies={lanes:0,firstContext:e}}else zc=zc.next=e;return t}var ru=null;function Fv(e){ru===null?ru=[e]:ru.push(e)}function b4(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Fv(t)):(n.next=i.next,i.next=n),t.interleaved=n,Wo(e,r)}function Wo(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Ka=!1;function Sv(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function C4(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Vo(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function rl(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,fn&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Wo(e,n)}return i=r.interleaved,i===null?(t.next=t,Fv(r)):(t.next=i.next,i.next=t),r.interleaved=t,Wo(e,n)}function vg(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,cv(e,n)}}function E5(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,A=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};A===null?i=A=s:A=A.next=s,n=n.next}while(n!==null);A===null?i=A=t:A=A.next=t}else i=A=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:A,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Xg(e,t,n,r){var i=e.updateQueue;Ka=!1;var A=i.firstBaseUpdate,s=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.shared.pending=null;var o=a,u=o.next;o.next=null,s===null?A=u:s.next=u,s=o;var l=e.alternate;l!==null&&(l=l.updateQueue,a=l.lastBaseUpdate,a!==s&&(a===null?l.firstBaseUpdate=u:a.next=u,l.lastBaseUpdate=o))}if(A!==null){var c=i.baseState;s=0,l=u=o=null,a=A;do{var p=a.lane,f=a.eventTime;if((r&p)===p){l!==null&&(l=l.next={eventTime:f,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var x=e,b=a;switch(p=t,f=n,b.tag){case 1:if(x=b.payload,typeof x=="function"){c=x.call(f,c,p);break e}c=x;break e;case 3:x.flags=x.flags&-65537|128;case 0:if(x=b.payload,p=typeof x=="function"?x.call(f,c,p):x,p==null)break e;c=er({},c,p);break e;case 2:Ka=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,p=i.effects,p===null?i.effects=[a]:p.push(a))}else f={eventTime:f,lane:p,tag:a.tag,payload:a.payload,callback:a.callback,next:null},l===null?(u=l=f,o=c):l=l.next=f,s|=p;if(a=a.next,a===null){if(a=i.shared.pending,a===null)break;p=a,a=p.next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}while(!0);if(l===null&&(o=c),i.baseState=o,i.firstBaseUpdate=u,i.lastBaseUpdate=l,t=i.shared.interleaved,t!==null){i=t;do s|=i.lane,i=i.next;while(i!==t)}else A===null&&(i.shared.lanes=0);gu|=s,e.lanes=s,e.memoizedState=c}}function _5(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(Xe(191,i));i.call(r)}}}var Qd={},so=gl(Qd),cd=gl(Qd),fd=gl(Qd);function iu(e){if(e===Qd)throw Error(Xe(174));return e}function Ev(e,t){switch(Nn(fd,t),Nn(cd,e),Nn(so,Qd),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:bw(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=bw(t,e)}Dn(so),Nn(so,t)}function cf(){Dn(so),Dn(cd),Dn(fd)}function F4(e){iu(fd.current);var t=iu(so.current),n=bw(t,e.type);t!==n&&(Nn(cd,e),Nn(so,n))}function _v(e){cd.current===e&&(Dn(so),Dn(cd))}var Yn=gl(0);function Yg(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var m1=[];function Uv(){for(var e=0;e<m1.length;e++)m1[e]._workInProgressVersionPrimary=null;m1.length=0}var Bg=Xo.ReactCurrentDispatcher,w1=Xo.ReactCurrentBatchConfig,pu=0,Zn=null,Qr=null,Dr=null,Zg=!1,Th=!1,hd=0,tk=0;function hi(){throw Error(Xe(321))}function Qv(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Fs(e[n],t[n]))return!1;return!0}function kv(e,t,n,r,i,A){if(pu=A,Zn=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Bg.current=e===null||e.memoizedState===null?Ak:sk,e=n(r,i),Th){A=0;do{if(Th=!1,hd=0,25<=A)throw Error(Xe(301));A+=1,Dr=Qr=null,t.updateQueue=null,Bg.current=ok,e=n(r,i)}while(Th)}if(Bg.current=em,t=Qr!==null&&Qr.next!==null,pu=0,Dr=Qr=Zn=null,Zg=!1,t)throw Error(Xe(300));return e}function Iv(){var e=hd!==0;return hd=0,e}function Ys(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Dr===null?Zn.memoizedState=Dr=e:Dr=Dr.next=e,Dr}
vendor: 4,309 bytes, line 38
38function YA(){if(Qr===null){var e=Zn.alternate;e=e!==null?e.memoizedState:null}else e=Qr.next;var t=Dr===null?Zn.memoizedState:Dr.next;if(t!==null)Dr=t,Qr=e;else{if(e===null)throw Error(Xe(310));Qr=e,e={memoizedState:Qr.memoizedState,baseState:Qr.baseState,baseQueue:Qr.baseQueue,queue:Qr.queue,next:null},Dr===null?Zn.memoizedState=Dr=e:Dr=Dr.next=e}return Dr}function dd(e,t){return typeof t=="function"?t(e):t}function y1(e){var t=YA(),n=t.queue;if(n===null)throw Error(Xe(311));n.lastRenderedReducer=e;var r=Qr,i=r.baseQueue,A=n.pending;if(A!==null){if(i!==null){var s=i.next;i.next=A.next,A.next=s}r.baseQueue=i=A,n.pending=null}if(i!==null){A=i.next,r=r.baseState;var a=s=null,o=null,u=A;do{var l=u.lane;if((pu&l)===l)o!==null&&(o=o.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var c={lane:l,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};o===null?(a=o=c,s=r):o=o.next=c,Zn.lanes|=l,gu|=l}u=u.next}while(u!==null&&u!==A);o===null?s=r:o.next=a,Fs(r,t.memoizedState)||(iA=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=o,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do A=i.lane,Zn.lanes|=A,gu|=A,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function v1(e){var t=YA(),n=t.queue;if(n===null)throw Error(Xe(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,A=t.memoizedState;if(i!==null){n.pending=null;var s=i=i.next;do A=e(A,s.action),s=s.next;while(s!==i);Fs(A,t.memoizedState)||(iA=!0),t.memoizedState=A,t.baseQueue===null&&(t.baseState=A),n.lastRenderedState=A}return[A,r]}function S4(){}function E4(e,t){var n=Zn,r=YA(),i=t(),A=!Fs(r.memoizedState,i);if(A&&(r.memoizedState=i,iA=!0),r=r.queue,Lv(Q4.bind(null,n,r,e),[e]),r.getSnapshot!==t||A||Dr!==null&&Dr.memoizedState.tag&1){if(n.flags|=2048,pd(9,U4.bind(null,n,r,i,t),void 0,null),Hr===null)throw Error(Xe(349));pu&30||_4(n,t,i)}return i}function _4(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Zn.updateQueue,t===null?(t={lastEffect:null,stores:null},Zn.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function U4(e,t,n,r){t.value=n,t.getSnapshot=r,k4(t)&&I4(e)}function Q4(e,t,n){return n(function(){k4(t)&&I4(e)})}function k4(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Fs(e,n)}catch{return!0}}function I4(e){var t=Wo(e,1);t!==null&&bs(t,e,1,-1)}function U5(e){var t=Ys();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:dd,lastRenderedState:e},t.queue=e,e=e.dispatch=ik.bind(null,Zn,e),[t.memoizedState,e]}function pd(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=Zn.updateQueue,t===null?(t={lastEffect:null,stores:null},Zn.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function L4(){return YA().memoizedState}function xg(e,t,n,r){var i=Ys();Zn.flags|=e,i.memoizedState=pd(1|t,n,void 0,r===void 0?null:r)}function Sm(e,t,n,r){var i=YA();r=r===void 0?null:r;var A=void 0;if(Qr!==null){var s=Qr.memoizedState;if(A=s.destroy,r!==null&&Qv(r,s.deps)){i.memoizedState=pd(t,n,A,r);return}}Zn.flags|=e,i.memoizedState=pd(1|t,n,A,r)}function Q5(e,t){return xg(8390656,8,e,t)}function Lv(e,t){return Sm(2048,8,e,t)}function j4(e,t){return Sm(4,2,e,t)}function N4(e,t){return Sm(4,4,e,t)}function P4(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function T4(e,t,n){return n=n!=null?n.concat([e]):null,Sm(4,4,P4.bind(null,t,e),n)}function jv(){}function O4(e,t){var n=YA();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Qv(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function R4(e,t){var n=YA();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Qv(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function D4(e,t,n){return pu&21?(Fs(n,t)||(n=VC(),Zn.lanes|=n,gu|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,iA=!0),e.memoizedState=n)}function nk(e,t){var n=Fn;Fn=n!==0&&4>n?n:4,e(!0);var r=w1.transition;w1.transition={};try{e(!1),t()}finally{Fn=n,w1.transition=r}}function H4(){return YA().memoizedState}
vendor: 7,088 bytes, lines 38-40
38function rk(e,t,n){var r=Al(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},M4(e))K4(t,n);else if(n=b4(e,t,n,r),n!==null){var i=Ti();bs(n,e,r,i),z4(n,t,r)}}function ik(e,t,n){var r=Al(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(M4(e))K4(t,i);else{var A=e.alternate;if(e.lanes===0&&(A===null||A.lanes===0)&&(A=t.lastRenderedReducer,A!==null))try{var s=t.lastRenderedState,a=A(s,n);if(i.hasEagerState=!0,i.eagerState=a,Fs(a,s)){var o=t.interleaved;o===null?(i.next=i,Fv(t)):(i.next=o.next,o.next=i),t.interleaved=i;return}}catch{}finally{}n=b4(e,t,i,r),n!==null&&(i=Ti(),bs(n,e,r,i),z4(n,t,r))}}function M4(e){var t=e.alternate;return e===Zn||t!==null&&t===Zn}function K4(e,t){Th=Zg=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function z4(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,cv(e,n)}}var em={readContext:XA,useCallback:hi,useContext:hi,useEffect:hi,useImperativeHandle:hi,useInsertionEffect:hi,useLayoutEffect:hi,useMemo:hi,useReducer:hi,useRef:hi,useState:hi,useDebugValue:hi,useDeferredValue:hi,useTransition:hi,useMutableSource:hi,useSyncExternalStore:hi,useId:hi,unstable_isNewReconciler:!1},Ak={readContext:XA,useCallback:function(e,t){return Ys().memoizedState=[e,t===void 0?null:t],e},useContext:XA,useEffect:Q5,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,xg(4194308,4,P4.bind(null,t,e),n)},useLayoutEffect:function(e,t){return xg(4194308,4,e,t)},useInsertionEffect:function(e,t){return xg(4,2,e,t)},useMemo:function(e,t){var n=Ys();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ys();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=rk.bind(null,Zn,e),[r.memoizedState,e]},useRef:function(e){var t=Ys();return e={current:e},t.memoizedState=e},useState:U5,useDebugValue:jv,useDeferredValue:function(e){return Ys().memoizedState=e},useTransition:function(){var e=U5(!1),t=e[0];return e=nk.bind(null,e[1]),Ys().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Zn,i=Ys();if(zn){if(n===void 0)throw Error(Xe(407));n=n()}else{if(n=t(),Hr===null)throw Error(Xe(349));pu&30||_4(r,t,n)}i.memoizedState=n;var A={value:n,getSnapshot:t};return i.queue=A,Q5(Q4.bind(null,r,A,e),[e]),r.flags|=2048,pd(9,U4.bind(null,r,A,n,t),void 0,null),n},useId:function(){var e=Ys(),t=Hr.identifierPrefix;if(zn){var n=zo,r=Ko;n=(r&~(1<<32-xs(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=hd++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=tk++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},sk={readContext:XA,useCallback:O4,useContext:XA,useEffect:Lv,useImperativeHandle:T4,useInsertionEffect:j4,useLayoutEffect:N4,useMemo:R4,useReducer:y1,useRef:L4,useState:function(){return y1(dd)},useDebugValue:jv,useDeferredValue:function(e){var t=YA();return D4(t,Qr.memoizedState,e)},useTransition:function(){var e=y1(dd)[0],t=YA().memoizedState;return[e,t]},useMutableSource:S4,useSyncExternalStore:E4,useId:H4,unstable_isNewReconciler:!1},ok={readContext:XA,useCallback:O4,useContext:XA,useEffect:Lv,useImperativeHandle:T4,useInsertionEffect:j4,useLayoutEffect:N4,useMemo:R4,useReducer:v1,useRef:L4,useState:function(){return v1(dd)},useDebugValue:jv,useDeferredValue:function(e){var t=YA();return Qr===null?t.memoizedState=e:D4(t,Qr.memoizedState,e)},useTransition:function(){var e=v1(dd)[0],t=YA().memoizedState;return[e,t]},useMutableSource:S4,useSyncExternalStore:E4,useId:H4,unstable_isNewReconciler:!1};function ps(e,t){if(e&&e.defaultProps){t=er({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function zw(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:er({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Em={isMounted:function(e){return(e=e._reactInternals)?Bu(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Ti(),i=Al(e),A=Vo(r,i);A.payload=t,n!=null&&(A.callback=n),t=rl(e,A,i),t!==null&&(bs(t,e,i,r),vg(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Ti(),i=Al(e),A=Vo(r,i);A.tag=1,A.payload=t,n!=null&&(A.callback=n),t=rl(e,A,i),t!==null&&(bs(t,e,i,r),vg(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Ti(),r=Al(e),i=Vo(n,r);i.tag=2,t!=null&&(i.callback=t),t=rl(e,i,r),t!==null&&(bs(t,e,r,n),vg(t,e,r))}};function k5(e,t,n,r,i,A,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,A,s):t.prototype&&t.prototype.isPureReactComponent?!od(n,r)||!od(i,A):!0}function V4(e,t,n){var r=!1,i=cl,A=t.contextType;return typeof A=="object"&&A!==null?A=XA(A):(i=sA(t)?hu:bi.current,r=t.contextTypes,A=(r=r!=null)?af(e,i):cl),t=new t(n,A),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Em,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=A),t}function I5(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Em.enqueueReplaceState(t,t.state,null)}function Vw(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},Sv(e);var A=t.contextType;typeof A=="object"&&A!==null?i.context=XA(A):(A=sA(t)?hu:bi.current,i.context=af(e,A)),i.state=e.memoizedState,A=t.getDerivedStateFromProps,typeof A=="function"&&(zw(e,t,A,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&Em.enqueueReplaceState(i,i.state,null),Xg(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function ff(e,t){try{var n="",r=t;do n+=NU(r),r=r.return;while(r);var i=n}catch(A){i=`
39Error generating stack: `+A.message+`
40`+A.stack}return{value:e,source:t,stack:i,digest:null}}function B1(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Gw(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var ak=typeof WeakMap=="function"?WeakMap:Map;function G4(e,t,n){n=Vo(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){nm||(nm=!0,ny=r),Gw(e,t)},n}function $4(e,t,n){n=Vo(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Gw(e,t)}}var A=e.stateNode;return A!==null&&typeof A.componentDidCatch=="function"&&(n.callback=function(){Gw(e,t),typeof r!="function"&&(il===null?il=new Set([this]):il.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}
vendor: 10,414 bytes, line 40
40function L5(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new ak;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=xk.bind(null,e,t,n),t.then(e,e))}function j5(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function N5(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Vo(-1,1),t.tag=2,rl(n,t,1))),n.lanes|=1),e)}var lk=Xo.ReactCurrentOwner,iA=!1;function Ni(e,t,n,r){t.child=e===null?x4(t,null,n,r):uf(t,e.child,n,r)}function P5(e,t,n,r,i){n=n.render;var A=t.ref;return Yc(t,i),r=kv(e,t,n,r,A,i),n=Iv(),e!==null&&!iA?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,qo(e,t,i)):(zn&&n&&yv(t),t.flags|=1,Ni(e,t,r,i),t.child)}function T5(e,t,n,r,i){if(e===null){var A=n.type;return typeof A=="function"&&!Mv(A)&&A.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=A,W4(e,t,A,r,i)):(e=Sg(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(A=e.child,!(e.lanes&i)){var s=A.memoizedProps;if(n=n.compare,n=n!==null?n:od,n(s,r)&&e.ref===t.ref)return qo(e,t,i)}return t.flags|=1,e=sl(A,r),e.ref=t.ref,e.return=t,t.child=e}function W4(e,t,n,r,i){if(e!==null){var A=e.memoizedProps;if(od(A,r)&&e.ref===t.ref)if(iA=!1,t.pendingProps=r=A,(e.lanes&i)!==0)e.flags&131072&&(iA=!0);else return t.lanes=e.lanes,qo(e,t,i)}return $w(e,t,n,r,i)}function q4(e,t,n){var r=t.pendingProps,i=r.children,A=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Nn(Gc,EA),EA|=n;else{if(!(n&1073741824))return e=A!==null?A.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Nn(Gc,EA),EA|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=A!==null?A.baseLanes:n,Nn(Gc,EA),EA|=r}else A!==null?(r=A.baseLanes|n,t.memoizedState=null):r=n,Nn(Gc,EA),EA|=r;return Ni(e,t,i,n),t.child}function J4(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function $w(e,t,n,r,i){var A=sA(n)?hu:bi.current;return A=af(t,A),Yc(t,i),n=kv(e,t,n,r,A,i),r=Iv(),e!==null&&!iA?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,qo(e,t,i)):(zn&&r&&yv(t),t.flags|=1,Ni(e,t,n,i),t.child)}function O5(e,t,n,r,i){if(sA(n)){var A=!0;Gg(t)}else A=!1;if(Yc(t,i),t.stateNode===null)bg(e,t),V4(t,n,r),Vw(t,n,r,i),r=!0;else if(e===null){var s=t.stateNode,a=t.memoizedProps;s.props=a;var o=s.context,u=n.contextType;typeof u=="object"&&u!==null?u=XA(u):(u=sA(n)?hu:bi.current,u=af(t,u));var l=n.getDerivedStateFromProps,c=typeof l=="function"||typeof s.getSnapshotBeforeUpdate=="function";c||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==r||o!==u)&&I5(t,s,r,u),Ka=!1;var p=t.memoizedState;s.state=p,Xg(t,r,s,i),o=t.memoizedState,a!==r||p!==o||AA.current||Ka?(typeof l=="function"&&(zw(t,n,l,r),o=t.memoizedState),(a=Ka||k5(t,n,a,r,p,o,u))?(c||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"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=o),s.props=r,s.state=o,s.context=u,r=a):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,C4(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:ps(t.type,a),s.props=u,c=t.pendingProps,p=s.context,o=n.contextType,typeof o=="object"&&o!==null?o=XA(o):(o=sA(n)?hu:bi.current,o=af(t,o));var f=n.getDerivedStateFromProps;(l=typeof f=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==c||p!==o)&&I5(t,s,r,o),Ka=!1,p=t.memoizedState,s.state=p,Xg(t,r,s,i);var x=t.memoizedState;a!==c||p!==x||AA.current||Ka?(typeof f=="function"&&(zw(t,n,f,r),x=t.memoizedState),(u=Ka||k5(t,n,u,r,p,x,o)||!1)?(l||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,x,o),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,x,o)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=x),s.props=r,s.state=x,s.context=o,r=u):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return Ww(e,t,n,r,A,i)}function Ww(e,t,n,r,i,A){J4(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return i&&b5(t,n,!1),qo(e,t,A);r=t.stateNode,lk.current=t;var a=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=uf(t,e.child,null,A),t.child=uf(t,null,a,A)):Ni(e,t,a,A),t.memoizedState=r.state,i&&b5(t,n,!0),t.child}function X4(e){var t=e.stateNode;t.pendingContext?x5(e,t.pendingContext,t.pendingContext!==t.context):t.context&&x5(e,t.context,!1),Ev(e,t.containerInfo)}function R5(e,t,n,r,i){return lf(),Bv(i),t.flags|=256,Ni(e,t,n,r),t.child}var qw={dehydrated:null,treeContext:null,retryLane:0};function Jw(e){return{baseLanes:e,cachePool:null,transitions:null}}function Y4(e,t,n){var r=t.pendingProps,i=Yn.current,A=!1,s=(t.flags&128)!==0,a;if((a=s)||(a=e!==null&&e.memoizedState===null?!1:(i&2)!==0),a?(A=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),Nn(Yn,i&1),e===null)return Mw(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=r.children,e=r.fallback,A?(r=t.mode,A=t.child,s={mode:"hidden",children:s},!(r&1)&&A!==null?(A.childLanes=0,A.pendingProps=s):A=Qm(s,r,0,null),e=au(e,r,n,null),A.return=t,e.return=t,A.sibling=e,t.child=A,t.child.memoizedState=Jw(n),t.memoizedState=qw,e):Nv(t,s));if(i=e.memoizedState,i!==null&&(a=i.dehydrated,a!==null))return uk(e,t,s,r,a,i,n);if(A){A=r.fallback,s=t.mode,i=e.child,a=i.sibling;var o={mode:"hidden",children:r.children};return!(s&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=o,t.deletions=null):(r=sl(i,o),r.subtreeFlags=i.subtreeFlags&14680064),a!==null?A=sl(a,A):(A=au(A,s,n,null),A.flags|=2),A.return=t,r.return=t,r.sibling=A,t.child=r,r=A,A=t.child,s=e.child.memoizedState,s=s===null?Jw(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},A.memoizedState=s,A.childLanes=e.childLanes&~n,t.memoizedState=qw,r}return A=e.child,e=A.sibling,r=sl(A,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Nv(e,t){return t=Qm({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Mp(e,t,n,r){return r!==null&&Bv(r),uf(t,e.child,null,n),e=Nv(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function uk(e,t,n,r,i,A,s){if(n)return t.flags&256?(t.flags&=-257,r=B1(Error(Xe(422))),Mp(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(A=r.fallback,i=t.mode,r=Qm({mode:"visible",children:r.children},i,0,null),A=au(A,i,s,null),A.flags|=2,r.return=t,A.return=t,r.sibling=A,t.child=r,t.mode&1&&uf(t,e.child,null,s),t.child.memoizedState=Jw(s),t.memoizedState=qw,A);if(!(t.mode&1))return Mp(e,t,s,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var a=r.dgst;return r=a,A=Error(Xe(419)),r=B1(A,r,void 0),Mp(e,t,s,r)}if(a=(s&e.childLanes)!==0,iA||a){if(r=Hr,r!==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&(r.suspendedLanes|s)?0:i,i!==0&&i!==A.retryLane&&(A.retryLane=i,Wo(e,i),bs(r,e,i,-1))}return Hv(),r=B1(Error(Xe(421))),Mp(e,t,s,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=bk.bind(null,e),i._reactRetry=t,null):(e=A.treeContext,_A=nl(i.nextSibling),QA=t,zn=!0,vs=null,e!==null&&(VA[GA++]=Ko,VA[GA++]=zo,VA[GA++]=du,Ko=e.id,zo=e.overflow,du=t),t=Nv(t,r.children),t.flags|=4096,t)}function D5(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Kw(e.return,t,n)}function x1(e,t,n,r,i){var A=e.memoizedState;A===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(A.isBackwards=t,A.rendering=null,A.renderingStartTime=0,A.last=r,A.tail=n,A.tailMode=i)}function Z4(e,t,n){var r=t.pendingProps,i=r.revealOrder,A=r.tail;if(Ni(e,t,r.children,n),r=Yn.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&D5(e,n,t);else if(e.tag===19)D5(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Nn(Yn,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&Yg(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),x1(t,!1,i,n,A);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Yg(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}x1(t,!0,n,null,A);break;case"together":x1(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function bg(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function qo(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),gu|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(Xe(153));
vendor: 4,747 bytes, line 40
40if(t.child!==null){for(e=t.child,n=sl(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=sl(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function ck(e,t,n){switch(t.tag){case 3:X4(t),lf();break;case 5:F4(t);break;case 1:sA(t.type)&&Gg(t);break;case 4:Ev(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;Nn(qg,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(Nn(Yn,Yn.current&1),t.flags|=128,null):n&t.child.childLanes?Y4(e,t,n):(Nn(Yn,Yn.current&1),e=qo(e,t,n),e!==null?e.sibling:null);Nn(Yn,Yn.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Z4(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Nn(Yn,Yn.current),r)break;return null;case 22:case 23:return t.lanes=0,q4(e,t,n)}return qo(e,t,n)}var eF,Xw,tF,nF;eF=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Xw=function(){};tF=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,iu(so.current);var A=null;switch(n){case"input":i=yw(e,i),r=yw(e,r),A=[];break;case"select":i=er({},i,{value:void 0}),r=er({},r,{value:void 0}),A=[];break;case"textarea":i=xw(e,i),r=xw(e,r),A=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=zg)}Cw(n,r);var s;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var a=i[u];for(s in a)a.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(ed.hasOwnProperty(u)?A||(A=[]):(A=A||[]).push(u,null));for(u in r){var o=r[u];if(a=i!=null?i[u]:void 0,r.hasOwnProperty(u)&&o!==a&&(o!=null||a!=null))if(u==="style")if(a){for(s in a)!a.hasOwnProperty(s)||o&&o.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in o)o.hasOwnProperty(s)&&a[s]!==o[s]&&(n||(n={}),n[s]=o[s])}else n||(A||(A=[]),A.push(u,n)),n=o;else u==="dangerouslySetInnerHTML"?(o=o?o.__html:void 0,a=a?a.__html:void 0,o!=null&&a!==o&&(A=A||[]).push(u,o)):u==="children"?typeof o!="string"&&typeof o!="number"||(A=A||[]).push(u,""+o):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(ed.hasOwnProperty(u)?(o!=null&&u==="onScroll"&&On("scroll",e),A||a===o||(A=[])):(A=A||[]).push(u,o))}n&&(A=A||[]).push("style",n);var u=A;(t.updateQueue=u)&&(t.flags|=4)}};nF=function(e,t,n,r){n!==r&&(t.flags|=4)};function hh(e,t){if(!zn)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function di(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function fk(e,t,n){var r=t.pendingProps;switch(vv(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return di(t),null;case 1:return sA(t.type)&&Vg(),di(t),null;case 3:return r=t.stateNode,cf(),Dn(AA),Dn(bi),Uv(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Dp(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,vs!==null&&(Ay(vs),vs=null))),Xw(e,t),di(t),null;case 5:_v(t);var i=iu(fd.current);if(n=t.type,e!==null&&t.stateNode!=null)tF(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(Xe(166));return di(t),null}if(e=iu(so.current),Dp(t)){r=t.stateNode,n=t.type;var A=t.memoizedProps;switch(r[no]=t,r[ud]=A,e=(t.mode&1)!==0,n){case"dialog":On("cancel",r),On("close",r);break;case"iframe":case"object":case"embed":On("load",r);break;case"video":case"audio":for(i=0;i<Ch.length;i++)On(Ch[i],r);break;case"source":On("error",r);break;case"img":case"image":case"link":On("error",r),On("load",r);break;case"details":On("toggle",r);break;case"input":qB(r,A),On("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!A.multiple},On("invalid",r);break;case"textarea":XB(r,A),On("invalid",r)}Cw(n,A),i=null;for(var s in A)if(A.hasOwnProperty(s)){var a=A[s];
vendor: 31,581 bytes, line 40
40s==="children"?typeof a=="string"?r.textContent!==a&&(A.suppressHydrationWarning!==!0&&Rp(r.textContent,a,e),i=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(A.suppressHydrationWarning!==!0&&Rp(r.textContent,a,e),i=["children",""+a]):ed.hasOwnProperty(s)&&a!=null&&s==="onScroll"&&On("scroll",r)}switch(n){case"input":kp(r),JB(r,A,!0);break;case"textarea":kp(r),YB(r);break;case"select":case"option":break;default:typeof A.onClick=="function"&&(r.onclick=zg)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{s=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=QC(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=s.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[no]=t,e[ud]=r,eF(e,t,!1,!1),t.stateNode=e;e:{switch(s=Fw(n,r),n){case"dialog":On("cancel",e),On("close",e),i=r;break;case"iframe":case"object":case"embed":On("load",e),i=r;break;case"video":case"audio":for(i=0;i<Ch.length;i++)On(Ch[i],e);i=r;break;case"source":On("error",e),i=r;break;case"img":case"image":case"link":On("error",e),On("load",e),i=r;break;case"details":On("toggle",e),i=r;break;case"input":qB(e,r),i=yw(e,r),On("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=er({},r,{value:void 0}),On("invalid",e);break;case"textarea":XB(e,r),i=xw(e,r),On("invalid",e);break;default:i=r}Cw(n,i),a=i;for(A in a)if(a.hasOwnProperty(A)){var o=a[A];A==="style"?LC(e,o):A==="dangerouslySetInnerHTML"?(o=o?o.__html:void 0,o!=null&&kC(e,o)):A==="children"?typeof o=="string"?(n!=="textarea"||o!=="")&&td(e,o):typeof o=="number"&&td(e,""+o):A!=="suppressContentEditableWarning"&&A!=="suppressHydrationWarning"&&A!=="autoFocus"&&(ed.hasOwnProperty(A)?o!=null&&A==="onScroll"&&On("scroll",e):o!=null&&Av(e,A,o,s))}switch(n){case"input":kp(e),JB(e,r,!1);break;case"textarea":kp(e),YB(e);break;case"option":r.value!=null&&e.setAttribute("value",""+ul(r.value));break;case"select":e.multiple=!!r.multiple,A=r.value,A!=null?Wc(e,!!r.multiple,A,!1):r.defaultValue!=null&&Wc(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=zg)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return di(t),null;case 6:if(e&&t.stateNode!=null)nF(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(Xe(166));if(n=iu(fd.current),iu(so.current),Dp(t)){if(r=t.stateNode,n=t.memoizedProps,r[no]=t,(A=r.nodeValue!==n)&&(e=QA,e!==null))switch(e.tag){case 3:Rp(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Rp(r.nodeValue,n,(e.mode&1)!==0)}A&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[no]=t,t.stateNode=r}return di(t),null;case 13:if(Dn(Yn),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(zn&&_A!==null&&t.mode&1&&!(t.flags&128))v4(),lf(),t.flags|=98560,A=!1;else if(A=Dp(t),r!==null&&r.dehydrated!==null){if(e===null){if(!A)throw Error(Xe(318));if(A=t.memoizedState,A=A!==null?A.dehydrated:null,!A)throw Error(Xe(317));A[no]=t}else lf(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;di(t),A=!1}else vs!==null&&(Ay(vs),vs=null),A=!0;if(!A)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||Yn.current&1?Ir===0&&(Ir=3):Hv())),t.updateQueue!==null&&(t.flags|=4),di(t),null);case 4:return cf(),Xw(e,t),e===null&&ad(t.stateNode.containerInfo),di(t),null;case 10:return Cv(t.type._context),di(t),null;case 17:return sA(t.type)&&Vg(),di(t),null;case 19:if(Dn(Yn),A=t.memoizedState,A===null)return di(t),null;if(r=(t.flags&128)!==0,s=A.rendering,s===null)if(r)hh(A,!1);else{if(Ir!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=Yg(e),s!==null){for(t.flags|=128,hh(A,!1),r=s.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)A=n,e=r,A.flags&=14680066,s=A.alternate,s===null?(A.childLanes=0,A.lanes=e,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,e=s.dependencies,A.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Nn(Yn,Yn.current&1|2),t.child}e=e.sibling}A.tail!==null&&fr()>hf&&(t.flags|=128,r=!0,hh(A,!1),t.lanes=4194304)}else{if(!r)if(e=Yg(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),hh(A,!0),A.tail===null&&A.tailMode==="hidden"&&!s.alternate&&!zn)return di(t),null}else 2*fr()-A.renderingStartTime>hf&&n!==1073741824&&(t.flags|=128,r=!0,hh(A,!1),t.lanes=4194304);A.isBackwards?(s.sibling=t.child,t.child=s):(n=A.last,n!==null?n.sibling=s:t.child=s,A.last=s)}return A.tail!==null?(t=A.tail,A.rendering=t,A.tail=t.sibling,A.renderingStartTime=fr(),t.sibling=null,n=Yn.current,Nn(Yn,r?n&1|2:n&1),t):(di(t),null);case 22:case 23:return Dv(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?EA&1073741824&&(di(t),t.subtreeFlags&6&&(t.flags|=8192)):di(t),null;case 24:return null;case 25:return null}throw Error(Xe(156,t.tag))}function hk(e,t){switch(vv(t),t.tag){case 1:return sA(t.type)&&Vg(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return cf(),Dn(AA),Dn(bi),Uv(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return _v(t),null;case 13:if(Dn(Yn),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(Xe(340));lf()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Dn(Yn),null;case 4:return cf(),null;case 10:return Cv(t.type._context),null;case 22:case 23:return Dv(),null;case 24:return null;default:return null}}var Kp=!1,vi=!1,dk=typeof WeakSet=="function"?WeakSet:Set,vt=null;function Vc(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Ar(e,t,r)}else n.current=null}function Yw(e,t,n){try{n()}catch(r){Ar(e,t,r)}}var H5=!1;function pk(e,t){if(Nw=Hg,e=o4(),wv(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,A=r.focusNode;r=r.focusOffset;try{n.nodeType,A.nodeType}catch{n=null;break e}var s=0,a=-1,o=-1,u=0,l=0,c=e,p=null;t:for(;;){for(var f;c!==n||i!==0&&c.nodeType!==3||(a=s+i),c!==A||r!==0&&c.nodeType!==3||(o=s+r),c.nodeType===3&&(s+=c.nodeValue.length),(f=c.firstChild)!==null;)p=c,c=f;for(;;){if(c===e)break t;if(p===n&&++u===i&&(a=s),p===A&&++l===r&&(o=s),(f=c.nextSibling)!==null)break;c=p,p=c.parentNode}c=f}n=a===-1||o===-1?null:{start:a,end:o}}else n=null}n=n||{start:0,end:0}}else n=null;for(Pw={focusedElem:e,selectionRange:n},Hg=!1,vt=t;vt!==null;)if(t=vt,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,vt=e;else for(;vt!==null;){t=vt;try{var x=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(x!==null){var b=x.memoizedProps,E=x.memoizedState,v=t.stateNode,B=v.getSnapshotBeforeUpdate(t.elementType===t.type?b:ps(t.type,b),E);v.__reactInternalSnapshotBeforeUpdate=B}break;case 3:var F=t.stateNode.containerInfo;F.nodeType===1?F.textContent="":F.nodeType===9&&F.documentElement&&F.removeChild(F.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(Xe(163))}}catch(U){Ar(t,t.return,U)}if(e=t.sibling,e!==null){e.return=t.return,vt=e;break}vt=t.return}return x=H5,H5=!1,x}function Oh(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var A=i.destroy;i.destroy=void 0,A!==void 0&&Yw(t,n,A)}i=i.next}while(i!==r)}}function _m(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Zw(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function rF(e){var t=e.alternate;t!==null&&(e.alternate=null,rF(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[no],delete t[ud],delete t[Rw],delete t[XQ],delete t[YQ])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function iF(e){return e.tag===5||e.tag===3||e.tag===4}function M5(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||iF(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function ey(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=zg));else if(r!==4&&(e=e.child,e!==null))for(ey(e,t,n),e=e.sibling;e!==null;)ey(e,t,n),e=e.sibling}function ty(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(ty(e,t,n),e=e.sibling;e!==null;)ty(e,t,n),e=e.sibling}var Xr=null,ws=!1;function La(e,t,n){for(n=n.child;n!==null;)AF(e,t,n),n=n.sibling}function AF(e,t,n){if(Ao&&typeof Ao.onCommitFiberUnmount=="function")try{Ao.onCommitFiberUnmount(vm,n)}catch{}switch(n.tag){case 5:vi||Vc(n,t);case 6:var r=Xr,i=ws;Xr=null,La(e,t,n),Xr=r,ws=i,Xr!==null&&(ws?(e=Xr,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Xr.removeChild(n.stateNode));break;case 18:Xr!==null&&(ws?(e=Xr,n=n.stateNode,e.nodeType===8?p1(e.parentNode,n):e.nodeType===1&&p1(e,n),Ad(e)):p1(Xr,n.stateNode));break;case 4:r=Xr,i=ws,Xr=n.stateNode.containerInfo,ws=!0,La(e,t,n),Xr=r,ws=i;break;case 0:case 11:case 14:case 15:if(!vi&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var A=i,s=A.destroy;A=A.tag,s!==void 0&&(A&2||A&4)&&Yw(n,t,s),i=i.next}while(i!==r)}La(e,t,n);break;case 1:if(!vi&&(Vc(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){Ar(n,t,a)}La(e,t,n);break;case 21:La(e,t,n);break;case 22:n.mode&1?(vi=(r=vi)||n.memoizedState!==null,La(e,t,n),vi=r):La(e,t,n);break;default:La(e,t,n)}}function K5(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new dk),t.forEach(function(r){var i=Ck.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function cs(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var A=e,s=t,a=s;e:for(;a!==null;){switch(a.tag){case 5:Xr=a.stateNode,ws=!1;break e;case 3:Xr=a.stateNode.containerInfo,ws=!0;break e;case 4:Xr=a.stateNode.containerInfo,ws=!0;break e}a=a.return}if(Xr===null)throw Error(Xe(160));AF(A,s,i),Xr=null,ws=!1;var o=i.alternate;o!==null&&(o.return=null),i.return=null}catch(u){Ar(i,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)sF(t,e),t=t.sibling}function sF(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(cs(t,e),Ws(e),r&4){try{Oh(3,e,e.return),_m(3,e)}catch(b){Ar(e,e.return,b)}try{Oh(5,e,e.return)}catch(b){Ar(e,e.return,b)}}break;case 1:cs(t,e),Ws(e),r&512&&n!==null&&Vc(n,n.return);break;case 5:if(cs(t,e),Ws(e),r&512&&n!==null&&Vc(n,n.return),e.flags&32){var i=e.stateNode;try{td(i,"")}catch(b){Ar(e,e.return,b)}}if(r&4&&(i=e.stateNode,i!=null)){var A=e.memoizedProps,s=n!==null?n.memoizedProps:A,a=e.type,o=e.updateQueue;if(e.updateQueue=null,o!==null)try{a==="input"&&A.type==="radio"&&A.name!=null&&_C(i,A),Fw(a,s);var u=Fw(a,A);for(s=0;s<o.length;s+=2){var l=o[s],c=o[s+1];l==="style"?LC(i,c):l==="dangerouslySetInnerHTML"?kC(i,c):l==="children"?td(i,c):Av(i,l,c,u)}switch(a){case"input":vw(i,A);break;case"textarea":UC(i,A);break;case"select":var p=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!A.multiple;var f=A.value;f!=null?Wc(i,!!A.multiple,f,!1):p!==!!A.multiple&&(A.defaultValue!=null?Wc(i,!!A.multiple,A.defaultValue,!0):Wc(i,!!A.multiple,A.multiple?[]:"",!1))}i[ud]=A}catch(b){Ar(e,e.return,b)}}break;case 6:if(cs(t,e),Ws(e),r&4){if(e.stateNode===null)throw Error(Xe(162));i=e.stateNode,A=e.memoizedProps;try{i.nodeValue=A}catch(b){Ar(e,e.return,b)}}break;case 3:if(cs(t,e),Ws(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Ad(t.containerInfo)}catch(b){Ar(e,e.return,b)}break;case 4:cs(t,e),Ws(e);break;case 13:cs(t,e),Ws(e),i=e.child,i.flags&8192&&(A=i.memoizedState!==null,i.stateNode.isHidden=A,!A||i.alternate!==null&&i.alternate.memoizedState!==null||(Ov=fr())),r&4&&K5(e);break;case 22:if(l=n!==null&&n.memoizedState!==null,e.mode&1?(vi=(u=vi)||l,cs(t,e),vi=u):cs(t,e),Ws(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!l&&e.mode&1)for(vt=e,l=e.child;l!==null;){for(c=vt=l;vt!==null;){switch(p=vt,f=p.child,p.tag){case 0:case 11:case 14:case 15:Oh(4,p,p.return);break;case 1:Vc(p,p.return);var x=p.stateNode;if(typeof x.componentWillUnmount=="function"){r=p,n=p.return;try{t=r,x.props=t.memoizedProps,x.state=t.memoizedState,x.componentWillUnmount()}catch(b){Ar(r,n,b)}}break;case 5:Vc(p,p.return);break;case 22:if(p.memoizedState!==null){V5(c);continue}}f!==null?(f.return=p,vt=f):V5(c)}l=l.sibling}e:for(l=null,c=e;;){if(c.tag===5){if(l===null){l=c;try{i=c.stateNode,u?(A=i.style,typeof A.setProperty=="function"?A.setProperty("display","none","important"):A.display="none"):(a=c.stateNode,o=c.memoizedProps.style,s=o!=null&&o.hasOwnProperty("display")?o.display:null,a.style.display=IC("display",s))}catch(b){Ar(e,e.return,b)}}}else if(c.tag===6){if(l===null)try{c.stateNode.nodeValue=u?"":c.memoizedProps}catch(b){Ar(e,e.return,b)}}else if((c.tag!==22&&c.tag!==23||c.memoizedState===null||c===e)&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===e)break e;for(;c.sibling===null;){if(c.return===null||c.return===e)break e;l===c&&(l=null),c=c.return}l===c&&(l=null),c.sibling.return=c.return,c=c.sibling}}break;case 19:cs(t,e),Ws(e),r&4&&K5(e);break;case 21:break;default:cs(t,e),Ws(e)}}function Ws(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(iF(n)){var r=n;break e}n=n.return}throw Error(Xe(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(td(i,""),r.flags&=-33);var A=M5(e);ty(e,A,i);break;case 3:case 4:var s=r.stateNode.containerInfo,a=M5(e);ey(e,a,s);break;default:throw Error(Xe(161))}}catch(o){Ar(e,e.return,o)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function gk(e,t,n){vt=e,oF(e)}function oF(e,t,n){for(var r=(e.mode&1)!==0;vt!==null;){var i=vt,A=i.child;if(i.tag===22&&r){var s=i.memoizedState!==null||Kp;if(!s){var a=i.alternate,o=a!==null&&a.memoizedState!==null||vi;a=Kp;var u=vi;if(Kp=s,(vi=o)&&!u)for(vt=i;vt!==null;)s=vt,o=s.child,s.tag===22&&s.memoizedState!==null?G5(i):o!==null?(o.return=s,vt=o):G5(i);for(;A!==null;)vt=A,oF(A),A=A.sibling;vt=i,Kp=a,vi=u}z5(e)}else i.subtreeFlags&8772&&A!==null?(A.return=i,vt=A):z5(e)}}function z5(e){for(;vt!==null;){var t=vt;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:vi||_m(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!vi)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:ps(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var A=t.updateQueue;A!==null&&_5(t,A,r);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}_5(t,s,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;var o=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":o.autoFocus&&n.focus();break;case"img":o.src&&(n.src=o.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var l=u.memoizedState;if(l!==null){var c=l.dehydrated;c!==null&&Ad(c)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(Xe(163))}vi||t.flags&512&&Zw(t)}catch(p){Ar(t,t.return,p)}}if(t===e){vt=null;break}if(n=t.sibling,n!==null){n.return=t.return,vt=n;break}vt=t.return}}function V5(e){for(;vt!==null;){var t=vt;if(t===e){vt=null;break}var n=t.sibling;if(n!==null){n.return=t.return,vt=n;break}vt=t.return}}function G5(e){for(;vt!==null;){var t=vt;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{_m(4,t)}catch(o){Ar(t,n,o)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(o){Ar(t,i,o)}}var A=t.return;try{Zw(t)}catch(o){Ar(t,A,o)}break;case 5:var s=t.return;try{Zw(t)}catch(o){Ar(t,s,o)}}}catch(o){Ar(t,t.return,o)}if(t===e){vt=null;break}var a=t.sibling;if(a!==null){a.return=t.return,vt=a;break}vt=t.return}}var mk=Math.ceil,tm=Xo.ReactCurrentDispatcher,Pv=Xo.ReactCurrentOwner,JA=Xo.ReactCurrentBatchConfig,fn=0,Hr=null,xr=null,ei=0,EA=0,Gc=gl(0),Ir=0,gd=null,gu=0,Um=0,Tv=0,Rh=null,nA=null,Ov=0,hf=1/0,Do=null,nm=!1,ny=null,il=null,zp=!1,Ja=null,rm=0,Dh=0,ry=null,Cg=-1,Fg=0;function Ti(){return fn&6?fr():Cg!==-1?Cg:Cg=fr()}function Al(e){return e.mode&1?fn&2&&ei!==0?ei&-ei:ek.transition!==null?(Fg===0&&(Fg=VC()),Fg):(e=Fn,e!==0||(e=window.event,e=e===void 0?16:YC(e.type)),e):1}function bs(e,t,n,r){if(50<Dh)throw Dh=0,ry=null,Error(Xe(185));Ed(e,n,r),(!(fn&2)||e!==Hr)&&(e===Hr&&(!(fn&2)&&(Um|=n),Ir===4&&Ga(e,ei)),oA(e,r),n===1&&fn===0&&!(t.mode&1)&&(hf=fr()+500,Fm&&ml()))}function oA(e,t){var n=e.callbackNode;eQ(e,t);var r=Dg(e,e===Hr?ei:0);if(r===0)n!==null&&t5(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&t5(n),t===1)e.tag===0?ZQ($5.bind(null,e)):m4($5.bind(null,e)),qQ(function(){!(fn&6)&&ml()}),n=null;else{switch(GC(r)){case 1:n=uv;break;case 4:n=KC;break;case 16:n=Rg;break;case 536870912:n=zC;break;default:n=Rg}n=pF(n,aF.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function aF(e,t){if(Cg=-1,Fg=0,fn&6)throw Error(Xe(327));var n=e.callbackNode;if(Zc()&&e.callbackNode!==n)return null;var r=Dg(e,e===Hr?ei:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=im(e,r);else{t=r;var i=fn;fn|=2;var A=uF();(Hr!==e||ei!==t)&&(Do=null,hf=fr()+500,ou(e,t));do try{vk();break}catch(a){lF(e,a)}while(!0);bv(),tm.current=A,fn=i,xr!==null?t=0:(Hr=null,ei=0,t=Ir)}if(t!==0){if(t===2&&(i=Qw(e),i!==0&&(r=i,t=iy(e,i))),t===1)throw n=gd,ou(e,0),Ga(e,r),oA(e,fr()),n;if(t===6)Ga(e,r);else{if(i=e.current.alternate,!(r&30)&&!wk(i)&&(t=im(e,r),t===2&&(A=Qw(e),A!==0&&(r=A,t=iy(e,A))),t===1))throw n=gd,ou(e,0),Ga(e,r),oA(e,fr()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(Xe(345));case 2:Jl(e,nA,Do);break;case 3:if(Ga(e,r),(r&130023424)===r&&(t=Ov+500-fr(),10<t)){if(Dg(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){Ti(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=Ow(Jl.bind(null,e,nA,Do),t);break}Jl(e,nA,Do);break;case 4:if(Ga(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var s=31-xs(r);A=1<<s,s=t[s],s>i&&(i=s),r&=~A}if(r=i,r=fr()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*mk(r/1960))-r,10<r){e.timeoutHandle=Ow(Jl.bind(null,e,nA,Do),r);break}Jl(e,nA,Do);break;case 5:Jl(e,nA,Do);break;default:throw Error(Xe(329))}}}return oA(e,fr()),e.callbackNode===n?aF.bind(null,e):null}function iy(e,t){var n=Rh;return e.current.memoizedState.isDehydrated&&(ou(e,t).flags|=256),e=im(e,t),e!==2&&(t=nA,nA=n,t!==null&&Ay(t)),e}function Ay(e){nA===null?nA=e:nA.push.apply(nA,e)}function wk(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],A=i.getSnapshot;i=i.value;try{if(!Fs(A(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Ga(e,t){for(t&=~Tv,t&=~Um,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-xs(t),r=1<<n;e[n]=-1,t&=~r}}function $5(e){if(fn&6)throw Error(Xe(327));Zc();var t=Dg(e,0);if(!(t&1))return oA(e,fr()),null;var n=im(e,t);if(e.tag!==0&&n===2){var r=Qw(e);r!==0&&(t=r,n=iy(e,r))}if(n===1)throw n=gd,ou(e,0),Ga(e,t),oA(e,fr()),n;if(n===6)throw Error(Xe(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Jl(e,nA,Do),oA(e,fr()),null}function Rv(e,t){var n=fn;fn|=1;try{return e(t)}finally{fn=n,fn===0&&(hf=fr()+500,Fm&&ml())}}function mu(e){Ja!==null&&Ja.tag===0&&!(fn&6)&&Zc();var t=fn;fn|=1;var n=JA.transition,r=Fn;try{if(JA.transition=null,Fn=1,e)return e()}finally{Fn=r,JA.transition=n,fn=t,!(fn&6)&&ml()}}function Dv(){EA=Gc.current,Dn(Gc)}function ou(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,WQ(n)),xr!==null)for(n=xr.return;n!==null;){var r=n;switch(vv(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Vg();break;case 3:cf(),Dn(AA),Dn(bi),Uv();break;case 5:_v(r);break;case 4:cf();break;case 13:Dn(Yn);break;case 19:Dn(Yn);break;case 10:Cv(r.type._context);break;case 22:case 23:Dv()}n=n.return}if(Hr=e,xr=e=sl(e.current,null),ei=EA=t,Ir=0,gd=null,Tv=Um=gu=0,nA=Rh=null,ru!==null){for(t=0;t<ru.length;t++)if(n=ru[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,A=n.pending;if(A!==null){var s=A.next;A.next=i,r.next=s}n.pending=r}ru=null}return e}function lF(e,t){do{var n=xr;try{if(bv(),Bg.current=em,Zg){for(var r=Zn.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}Zg=!1}if(pu=0,Dr=Qr=Zn=null,Th=!1,hd=0,Pv.current=null,n===null||n.return===null){Ir=1,gd=t,xr=null;break}e:{var A=e,s=n.return,a=n,o=t;if(t=ei,a.flags|=32768,o!==null&&typeof o=="object"&&typeof o.then=="function"){var u=o,l=a,c=l.tag;if(!(l.mode&1)&&(c===0||c===11||c===15)){var p=l.alternate;p?(l.updateQueue=p.updateQueue,l.memoizedState=p.memoizedState,l.lanes=p.lanes):(l.updateQueue=null,l.memoizedState=null)}var f=j5(s);if(f!==null){f.flags&=-257,N5(f,s,a,A,t),f.mode&1&&L5(A,u,t),t=f,o=u;var x=t.updateQueue;if(x===null){var b=new Set;b.add(o),t.updateQueue=b}else x.add(o);break e}else{if(!(t&1)){L5(A,u,t),Hv();break e}o=Error(Xe(426))}}else if(zn&&a.mode&1){var E=j5(s);if(E!==null){!(E.flags&65536)&&(E.flags|=256),N5(E,s,a,A,t),Bv(ff(o,a));break e}}A=o=ff(o,a),Ir!==4&&(Ir=2),Rh===null?Rh=[A]:Rh.push(A),A=s;do{switch(A.tag){case 3:A.flags|=65536,t&=-t,A.lanes|=t;var v=G4(A,o,t);E5(A,v);break e;case 1:a=o;var B=A.type,F=A.stateNode;if(!(A.flags&128)&&(typeof B.getDerivedStateFromError=="function"||F!==null&&typeof F.componentDidCatch=="function"&&(il===null||!il.has(F)))){A.flags|=65536,t&=-t,A.lanes|=t;var U=$4(A,a,t);E5(A,U);break e}}A=A.return}while(A!==null)}fF(n)}catch(N){t=N,xr===n&&n!==null&&(xr=n=n.return);continue}break}while(!0)}function uF(){var e=tm.current;return tm.current=em,e===null?em:e}function Hv(){(Ir===0||Ir===3||Ir===2)&&(Ir=4),Hr===null||!(gu&268435455)&&!(Um&268435455)||Ga(Hr,ei)}function im(e,t){var n=fn;fn|=2;var r=uF();(Hr!==e||ei!==t)&&(Do=null,ou(e,t));do try{yk();break}catch(i){lF(e,i)}while(!0);if(bv(),fn=n,tm.current=r,xr!==null)throw Error(Xe(261));return Hr=null,ei=0,Ir}function yk(){for(;xr!==null;)cF(xr)}function vk(){for(;xr!==null&&!VU();)cF(xr)}function cF(e){var t=dF(e.alternate,e,EA);e.memoizedProps=e.pendingProps,t===null?fF(e):xr=t,Pv.current=null}function fF(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=hk(n,t),n!==null){n.flags&=32767,xr=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Ir=6,xr=null;return}}else if(n=fk(n,t,EA),n!==null){xr=n;return}if(t=t.sibling,t!==null){xr=t;return}xr=t=e}while(t!==null);Ir===0&&(Ir=5)}function Jl(e,t,n){var r=Fn,i=JA.transition;try{JA.transition=null,Fn=1,Bk(e,t,n,r)}finally{JA.transition=i,Fn=r}return null}function Bk(e,t,n,r){do Zc();while(Ja!==null);if(fn&6)throw Error(Xe(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(Xe(177));e.callbackNode=null,e.callbackPriority=0;var A=n.lanes|n.childLanes;if(tQ(e,A),e===Hr&&(xr=Hr=null,ei=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||zp||(zp=!0,pF(Rg,function(){return Zc(),null})),A=(n.flags&15990)!==0,n.subtreeFlags&15990||A){A=JA.transition,JA.transition=null;var s=Fn;Fn=1;var a=fn;fn|=4,Pv.current=null,pk(e,n),sF(n,e),HQ(Pw),Hg=!!Nw,Pw=Nw=null,e.current=n,gk(n),GU(),fn=a,Fn=s,JA.transition=A}else e.current=n;if(zp&&(zp=!1,Ja=e,rm=i),A=e.pendingLanes,A===0&&(il=null),qU(n.stateNode),oA(e,fr()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(nm)throw nm=!1,e=ny,ny=null,e;return rm&1&&e.tag!==0&&Zc(),A=e.pendingLanes,A&1?e===ry?Dh++:(Dh=0,ry=e):Dh=0,ml(),null}function Zc(){if(Ja!==null){var e=GC(rm),t=JA.transition,n=Fn;try{if(JA.transition=null,Fn=16>e?16:e,Ja===null)var r=!1;else{if(e=Ja,Ja=null,rm=0,fn&6)throw Error(Xe(331));var i=fn;for(fn|=4,vt=e.current;vt!==null;){var A=vt,s=A.child;if(vt.flags&16){var a=A.deletions;if(a!==null){for(var o=0;o<a.length;o++){var u=a[o];for(vt=u;vt!==null;){var l=vt;switch(l.tag){case 0:case 11:case 15:Oh(8,l,A)}var c=l.child;if(c!==null)c.return=l,vt=c;else for(;vt!==null;){l=vt;var p=l.sibling,f=l.return;if(rF(l),l===u){vt=null;break}if(p!==null){p.return=f,vt=p;break}vt=f}}}var x=A.alternate;if(x!==null){var b=x.child;if(b!==null){x.child=null;do{var E=b.sibling;b.sibling=null,b=E}while(b!==null)}}vt=A}}if(A.subtreeFlags&2064&&s!==null)s.return=A,vt=s;else e:for(;vt!==null;){if(A=vt,A.flags&2048)switch(A.tag){case 0:case 11:case 15:Oh(9,A,A.return)}var v=A.sibling;if(v!==null){v.return=A.return,vt=v;break e}vt=A.return}}var B=e.current;for(vt=B;vt!==null;){s=vt;var F=s.child;if(s.subtreeFlags&2064&&F!==null)F.return=s,vt=F;else e:for(s=B;vt!==null;){if(a=vt,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:_m(9,a)}}catch(N){Ar(a,a.return,N)}if(a===s){vt=null;break e}var U=a.sibling;if(U!==null){U.return=a.return,vt=U;break e}vt=a.return}}if(fn=i,ml(),Ao&&typeof Ao.onPostCommitFiberRoot=="function")try{Ao.onPostCommitFiberRoot(vm,e)}catch{}r=!0}return r}finally{Fn=n,JA.transition=t}}return!1}function W5(e,t,n){t=ff(n,t),t=G4(e,t,1),e=rl(e,t,1),t=Ti(),e!==null&&(Ed(e,1,t),oA(e,t))}function Ar(e,t,n){if(e.tag===3)W5(e,e,n);else for(;t!==null;){if(t.tag===3){W5(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(il===null||!il.has(r))){e=ff(n,e),e=$4(t,e,1),t=rl(t,e,1),e=Ti(),t!==null&&(Ed(t,1,e),oA(t,e));break}}t=t.return}}function xk(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Ti(),e.pingedLanes|=e.suspendedLanes&n,Hr===e&&(ei&n)===n&&(Ir===4||Ir===3&&(ei&130023424)===ei&&500>fr()-Ov?ou(e,0):Tv|=n),oA(e,t)}function hF(e,t){t===0&&(e.mode&1?(t=jp,jp<<=1,!(jp&130023424)&&(jp=4194304)):t=1);var n=Ti();e=Wo(e,t),e!==null&&(Ed(e,t,n),oA(e,n))}function bk(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),hF(e,n)}function Ck(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(Xe(314))}r!==null&&r.delete(t),hF(e,n)}var dF;dF=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||AA.current)iA=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return iA=!1,ck(e,t,n);iA=!!(e.flags&131072)}else iA=!1,zn&&t.flags&1048576&&w4(t,Wg,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;bg(e,t),e=t.pendingProps;var i=af(t,bi.current);Yc(t,n),i=kv(null,t,r,e,i,n);var A=Iv();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,sA(r)?(A=!0,Gg(t)):A=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Sv(t),i.updater=Em,t.stateNode=i,i._reactInternals=t,Vw(t,r,e,n),t=Ww(null,t,r,!0,A,n)):(t.tag=0,zn&&A&&yv(t),Ni(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(bg(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=Sk(r),e=ps(r,e),i){case 0:t=$w(null,t,r,e,n);break e;case 1:t=O5(null,t,r,e,n);break e;case 11:t=P5(null,t,r,e,n);break e;case 14:t=T5(null,t,r,ps(r.type,e),n);break e}throw Error(Xe(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ps(r,i),$w(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ps(r,i),O5(e,t,r,i,n);case 3:e:{if(X4(t),e===null)throw Error(Xe(387));r=t.pendingProps,A=t.memoizedState,i=A.element,C4(e,t),Xg(t,r,null,n);var s=t.memoizedState;if(r=s.element,A.isDehydrated)if(A={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=A,t.memoizedState=A,t.flags&256){i=ff(Error(Xe(423)),t),t=R5(e,t,r,n,i);break e}else if(r!==i){i=ff(Error(Xe(424)),t),t=R5(e,t,r,n,i);break e}else for(_A=nl(t.stateNode.containerInfo.firstChild),QA=t,zn=!0,vs=null,n=x4(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(lf(),r===i){t=qo(e,t,n);break e}Ni(e,t,r,n)}t=t.child}return t;case 5:return F4(t),e===null&&Mw(t),r=t.type,i=t.pendingProps,A=e!==null?e.memoizedProps:null,s=i.children,Tw(r,i)?s=null:A!==null&&Tw(r,A)&&(t.flags|=32),J4(e,t),Ni(e,t,s,n),t.child;case 6:return e===null&&Mw(t),null;case 13:return Y4(e,t,n);case 4:return Ev(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=uf(t,null,r,n):Ni(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ps(r,i),P5(e,t,r,i,n);case 7:return Ni(e,t,t.pendingProps,n),t.child;case 8:return Ni(e,t,t.pendingProps.children,n),t.child;case 12:return Ni(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,A=t.memoizedProps,s=i.value,Nn(qg,r._currentValue),r._currentValue=s,A!==null)if(Fs(A.value,s)){if(A.children===i.children&&!AA.current){t=qo(e,t,n);break e}}else for(A=t.child,A!==null&&(A.return=t);A!==null;){var a=A.dependencies;if(a!==null){s=A.child;for(var o=a.firstContext;o!==null;){if(o.context===r){if(A.tag===1){o=Vo(-1,n&-n),o.tag=2;var u=A.updateQueue;if(u!==null){u=u.shared;var l=u.pending;l===null?o.next=o:(o.next=l.next,l.next=o),u.pending=o}}A.lanes|=n,o=A.alternate,o!==null&&(o.lanes|=n),Kw(A.return,n,t),a.lanes|=n;break}o=o.next}}else if(A.tag===10)s=A.type===t.type?null:A.child;else if(A.tag===18){if(s=A.return,s===null)throw Error(Xe(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),Kw(s,n,t),s=A.sibling}else s=A.child;if(s!==null)s.return=A;else for(s=A;s!==null;){if(s===t){s=null;break}if(A=s.sibling,A!==null){A.return=s.return,s=A;break}s=s.return}A=s}Ni(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Yc(t,n),i=XA(i),r=r(i),t.flags|=1,Ni(e,t,r,n),t.child;case 14:return r=t.type,i=ps(r,t.pendingProps),i=ps(r.type,i),T5(e,t,r,i,n);case 15:return W4(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ps(r,i),bg(e,t),t.tag=1,sA(r)?(e=!0,Gg(t)):e=!1,Yc(t,n),V4(t,r,i),Vw(t,r,i,n),Ww(null,t,r,!0,e,n);
vendor: 8,436 bytes, line 40
40case 19:return Z4(e,t,n);case 22:return q4(e,t,n)}throw Error(Xe(156,t.tag))};function pF(e,t){return MC(e,t)}function Fk(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function WA(e,t,n,r){return new Fk(e,t,n,r)}function Mv(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Sk(e){if(typeof e=="function")return Mv(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ov)return 11;if(e===av)return 14}return 2}function sl(e,t){var n=e.alternate;return n===null?(n=WA(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Sg(e,t,n,r,i,A){var s=2;if(r=e,typeof e=="function")Mv(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Pc:return au(n.children,i,A,t);case sv:s=8,i|=8;break;case pw:return e=WA(12,n,t,i|2),e.elementType=pw,e.lanes=A,e;case gw:return e=WA(13,n,t,i),e.elementType=gw,e.lanes=A,e;case mw:return e=WA(19,n,t,i),e.elementType=mw,e.lanes=A,e;case FC:return Qm(n,i,A,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case bC:s=10;break e;case CC:s=9;break e;case ov:s=11;break e;case av:s=14;break e;case Ma:s=16,r=null;break e}throw Error(Xe(130,e==null?e:typeof e,""))}return t=WA(s,n,t,i),t.elementType=e,t.type=r,t.lanes=A,t}function au(e,t,n,r){return e=WA(7,e,r,t),e.lanes=n,e}function Qm(e,t,n,r){return e=WA(22,e,r,t),e.elementType=FC,e.lanes=n,e.stateNode={isHidden:!1},e}function b1(e,t,n){return e=WA(6,e,null,t),e.lanes=n,e}function C1(e,t,n){return t=WA(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ek(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=i1(0),this.expirationTimes=i1(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=i1(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Kv(e,t,n,r,i,A,s,a,o){return e=new Ek(e,t,n,a,o),t===1?(t=1,A===!0&&(t|=8)):t=0,A=WA(3,null,null,t),e.current=A,A.stateNode=e,A.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Sv(A),e}function _k(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Nc,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function gF(e){if(!e)return cl;e=e._reactInternals;e:{if(Bu(e)!==e||e.tag!==1)throw Error(Xe(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(sA(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(Xe(171))}if(e.tag===1){var n=e.type;if(sA(n))return g4(e,n,t)}return t}function mF(e,t,n,r,i,A,s,a,o){return e=Kv(n,r,!0,e,i,A,s,a,o),e.context=gF(null),n=e.current,r=Ti(),i=Al(n),A=Vo(r,i),A.callback=t??null,rl(n,A,i),e.current.lanes=i,Ed(e,i,r),oA(e,r),e}function km(e,t,n,r){var i=t.current,A=Ti(),s=Al(i);return n=gF(n),t.context===null?t.context=n:t.pendingContext=n,t=Vo(A,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=rl(i,t,s),e!==null&&(bs(e,i,s,A),vg(e,i,s)),s}function Am(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function q5(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function zv(e,t){q5(e,t),(e=e.alternate)&&q5(e,t)}function Uk(){return null}var wF=typeof reportError=="function"?reportError:function(e){console.error(e)};function Vv(e){this._internalRoot=e}Im.prototype.render=Vv.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(Xe(409));km(e,t,null,null)};Im.prototype.unmount=Vv.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;mu(function(){km(null,e,null,null)}),t[$o]=null}};function Im(e){this._internalRoot=e}Im.prototype.unstable_scheduleHydration=function(e){if(e){var t=qC();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Va.length&&t!==0&&t<Va[n].priority;n++);Va.splice(n,0,e),n===0&&XC(e)}};function Gv(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Lm(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function J5(){}function Qk(e,t,n,r,i){if(i){if(typeof r=="function"){var A=r;r=function(){var u=Am(s);A.call(u)}}var s=mF(t,r,e,0,null,!1,!1,"",J5);return e._reactRootContainer=s,e[$o]=s.current,ad(e.nodeType===8?e.parentNode:e),mu(),s}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var a=r;r=function(){var u=Am(o);a.call(u)}}var o=Kv(e,0,!1,null,null,!1,!1,"",J5);return e._reactRootContainer=o,e[$o]=o.current,ad(e.nodeType===8?e.parentNode:e),mu(function(){km(t,o,n,r)}),o}function jm(e,t,n,r,i){var A=n._reactRootContainer;if(A){var s=A;if(typeof i=="function"){var a=i;i=function(){var o=Am(s);a.call(o)}}km(t,s,e,i)}else s=Qk(n,t,e,i,r);return Am(s)}$C=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=bh(t.pendingLanes);n!==0&&(cv(t,n|1),oA(t,fr()),!(fn&6)&&(hf=fr()+500,ml()))}break;case 13:mu(function(){var r=Wo(e,1);if(r!==null){var i=Ti();bs(r,e,1,i)}}),zv(e,1)}};fv=function(e){if(e.tag===13){var t=Wo(e,134217728);if(t!==null){var n=Ti();bs(t,e,134217728,n)}zv(e,134217728)}};WC=function(e){if(e.tag===13){var t=Al(e),n=Wo(e,t);if(n!==null){var r=Ti();bs(n,e,t,r)}zv(e,t)}};qC=function(){return Fn};JC=function(e,t){var n=Fn;try{return Fn=e,t()}finally{Fn=n}};Ew=function(e,t,n){switch(t){case"input":if(vw(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=Cm(r);if(!i)throw Error(Xe(90));EC(r),vw(r,i)}}}break;case"textarea":UC(e,n);break;case"select":t=n.value,t!=null&&Wc(e,!!n.multiple,t,!1)}};PC=Rv;TC=mu;var kk={usingClientEntryPoint:!1,Events:[Ud,Dc,Cm,jC,NC,Rv]},dh={findFiberByHostInstance:nu,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Ik={bundleType:dh.bundleType,version:dh.version,rendererPackageName:dh.rendererPackageName,rendererConfig:dh.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Xo.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=DC(e),e===null?null:e.stateNode},findFiberByHostInstance:dh.findFiberByHostInstance||Uk,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Vp=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Vp.isDisabled&&Vp.supportsFiber)try{vm=Vp.inject(Ik),Ao=Vp}catch{}}LA.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=kk;LA.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Gv(t))throw Error(Xe(200));return _k(e,t,null,n)};LA.createRoot=function(e,t){if(!Gv(e))throw Error(Xe(299));var n=!1,r="",i=wF;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=Kv(e,1,!1,null,null,n,!1,r,i),e[$o]=t.current,ad(e.n
40odeType===8?e.parentNode:e),new Vv(t)};LA.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(Xe(188)):(e=Object.keys(e).join(","),Error(Xe(268,e)));return e=DC(t),e=e===null?null:e.stateNode,e};LA.flushSync=function(e){return mu(e)};LA.hydrate=function(e,t,n){if(!Lm(t))throw Error(Xe(200));return jm(null,e,t,!0,n)};LA.hydrateRoot=function(e,t,n){if(!Gv(e))throw Error(Xe(405));var r=n!=null&&n.hydratedSources||null,i=!1,A="",s=wF;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(A=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=mF(t,null,e,1,n??null,i,!1,A,s),e[$o]=t.current,ad(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new Im(t)};LA.render=function(e,t,n){if(!Lm(t))throw Error(Xe(200));return jm(null,e,t,!1,n)};LA.unmountComponentAtNode=function(e){if(!Lm(e))throw Error(Xe(40));return e._reactRootContainer?(mu(function(){jm(null,null,e,!1,function(){e._reactRootContainer=null,e[$o]=null})}),!0):!1};LA.unstable_batchedUpdates=Rv;LA.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Lm(n))throw Error(Xe(200));if(e==null||e._reactInternals===void 0)throw Error(Xe(38));return jm(e,t,n,!1,r)};LA.version="18.3.1-next-f1338f8080-20240426";function yF(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(yF)}catch(e){console.error(e)}}yF(),yC.exports=LA;var Lk=yC.exports,vF,X5=Lk;vF=X5.createRoot,X5.hydrateRoot;/**
41 * @remix-run/router v1.23.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 md(){return md=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},md.apply(this,arguments)}var Xa;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Xa||(Xa={}));const Y5="popstate";function jk(e){e===void 0&&(e={});function t(r,i){let{pathname:A,search:s,hash:a}=r.location;return sy("",{pathname:A,search:s,hash:a},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(r,i){return typeof i=="string"?i:sm(i)}return Pk(t,n,null,e)}function mr(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function BF(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Nk(){return Math.random().toString(36).substr(2,8)}function Z5(e,t){return{usr:e.state,key:e.key,idx:t}}function sy(e,t,n,r){return n===void 0&&(n=null),md({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?vf(t):t,{state:n,key:t&&t.key||r||Nk()})}function sm(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function vf(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function Pk(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:A=!1}=r,s=i.history,a=Xa.Pop,o=null,u=l();u==null&&(u=0,s.replaceState(md({},s.state,{idx:u}),""));function l(){return(s.state||{idx:null}).idx}function c(){a=Xa.Pop;let E=l(),v=E==null?null:E-u;u=E,o&&o({action:a,location:b.location,delta:v})}function p(E,v){a=Xa.Push;let B=sy(b.location,E,v);u=l()+1;let F=Z5(B,u),U=b.createHref(B);try{s.pushState(F,"",U)}catch(N){if(N instanceof DOMException&&N.name==="DataCloneError")throw N;i.location.assign(U)}A&&o&&o({action:a,location:b.location,delta:1})}function f(E,v){a=Xa.Replace;let B=sy(b.location,E,v);u=l();let F=Z5(B,u),U=b.createHref(B);s.replaceState(F,"",U),A&&o&&o({action:a,location:b.location,delta:0})}function x(E){let v=i.location.origin!=="null"?i.location.origin:i.location.href,B=typeof E=="string"?E:sm(E);return B=B.replace(/ $/,"%20"),mr(v,"No window.location.(origin|href) available to create URL for href: "+B),new URL(B,v)}let b={get action(){return a},get location(){return e(i,s)},listen(E){if(o)throw new Error("A history only accepts one active listener");return i.addEventListener(Y5,c),o=E,()=>{i.removeEventListener(Y5,c),o=null}},createHref(E){return t(i,E)},createURL:x,encodeLocation(E){let v=x(E);return{pathname:v.pathname,search:v.search,hash:v.hash}},push:p,replace:f,go(E){return s.go(E)}};return b}var ex;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(ex||(ex={}));function Tk(e,t,n){return n===void 0&&(n="/"),Ok(e,t,n,!1)}function Ok(e,t,n,r){let i=typeof t=="string"?vf(t):t,A=$v(i.pathname||"/",n);if(A==null)return null;let s=xF(e);Rk(s);let a=null;for(let o=0;a==null&&o<s.length;++o){let u=Jk(A);a=Wk(s[o],u,r)}return a}function xF(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let i=(A,s,a)=>{let o={relativePath:a===void 0?A.path||"":a,caseSensitive:A.caseSensitive===!0,childrenIndex:s,route:A};o.relativePath.startsWith("/")&&(mr(o.relativePath.startsWith(r),'Absolute route path "'+o.relativePath+'" nested under path '+('"'+r+'" is not val
49id. An absolute child route path ')+"must start with the combined path of all its parent routes."),o.relativePath=o.relativePath.slice(r.length));let u=ol([r,o.relativePath]),l=n.concat(o);A.children&&A.children.length>0&&(mr(A.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),xF(A.children,t,l,u)),!(A.path==null&&!A.index)&&t.push({path:u,score:Gk(u,A.index),routesMeta:l})};return e.forEach((A,s)=>{var a;if(A.path===""||!((a=A.path)!=null&&a.includes("?")))i(A,s);else for(let o of bF(A.path))i(A,s,o)}),t}function bF(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),A=n.replace(/\?$/,"");if(r.length===0)return i?[A,""]:[A];let s=bF(r.join("/")),a=[];return a.push(...s.map(o=>o===""?A:[A,o].join("/"))),i&&a.push(...s),a.map(o=>e.startsWith("/")&&o===""?"/":o)}function Rk(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:$k(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const Dk=/^:[\w-]+$/,Hk=3,Mk=2,Kk=1,zk=10,Vk=-2,tx=e=>e==="*";function Gk(e,t){let n=e.split("/"),r=n.length;return n.some(tx)&&(r+=Vk),t&&(r+=Mk),n.filter(i=>!tx(i)).reduce((i,A)=>i+(Dk.test(A)?Hk:A===""?Kk:zk),r)}function $k(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function Wk(e,t,n){let{routesMeta:r}=e,i={},A="/",s=[];for(let a=0;a<r.length;++a){let o=r[a],u=a===r.length-1,l=A==="/"?t:t.slice(A.length)||"/",c=nx({path:o.relativePath,caseSensitive:o.caseSensitive,end:u},l),p=o.route;if(!c&&u&&n&&!r[r.length-1].route.index&&(c=nx({path:o.relativePath,caseSensitive:o.caseSensitive,end:!1},l)),!c)return null;
vendor: 9,589 bytes, lines 49-58
49Object.assign(i,c.params),s.push({params:i,pathname:ol([A,c.pathname]),pathnameBase:eI(ol([A,c.pathnameBase])),route:p}),c.pathnameBase!=="/"&&(A=ol([A,c.pathnameBase]))}return s}function nx(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=qk(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let A=i[0],s=A.replace(/(.)\/+$/,"$1"),a=i.slice(1);return{params:r.reduce((u,l,c)=>{let{paramName:p,isOptional:f}=l;if(p==="*"){let b=a[c]||"";s=A.slice(0,A.length-b.length).replace(/(.)\/+$/,"$1")}const x=a[c];return f&&!x?u[p]=void 0:u[p]=(x||"").replace(/%2F/g,"/"),u},{}),pathname:A,pathnameBase:s,pattern:e}}function qk(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),BF(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,a,o)=>(r.push({paramName:a,isOptional:o!=null}),o?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function Jk(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return BF(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function $v(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function Xk(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?vf(e):e;return{pathname:n?n.startsWith("/")?n:Yk(n,t):t,search:tI(r),hash:nI(i)}}function Yk(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function F1(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"].  Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function Zk(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Wv(e,t){let n=Zk(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function qv(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=vf(e):(i=md({},e),mr(!i.pathname||!i.pathname.includes("?"),F1("?","pathname","search",i)),mr(!i.pathname||!i.pathname.includes("#"),F1("#","pathname","hash",i)),mr(!i.search||!i.search.includes("#"),F1("#","search","hash",i)));let A=e===""||i.pathname==="",s=A?"/":i.pathname,a;if(s==null)a=n;else{let c=t.length-1;if(!r&&s.startsWith("..")){let p=s.split("/");for(;p[0]==="..";)p.shift(),c-=1;i.pathname=p.join("/")}a=c>=0?t[c]:"/"}let o=Xk(i,a),u=s&&s!=="/"&&s.endsWith("/"),l=(A||s===".")&&n.endsWith("/");return!o.pathname.endsWith("/")&&(u||l)&&(o.pathname+="/"),o}const ol=e=>e.join("/").replace(/\/\/+/g,"/"),eI=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),tI=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,nI=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function rI(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const CF=["post","put","patch","delete"];new Set(CF);const iI=["get",...CF];new Set(iI);/**
50 * React Router v6.30.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 wd(){return wd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wd.apply(this,arguments)}const Jv=Oe.createContext(null),AI=Oe.createContext(null),wl=Oe.createContext(null),Nm=Oe.createContext(null),Yo=Oe.createContext({outlet:null,matches:[],isDataRoute:!1}),FF=Oe.createContext(null);function sI(e,t){let{relative:n}=t===void 0?{}:t;Bf()||mr(!1);let{basename:r,navigator:i}=Oe.useContext(wl),{hash:A,pathname:s,search:a}=EF(e,{relative:n}),o=s;return r!=="/"&&(o=s==="/"?r:ol([r,s])),i.createHref({pathname:o,search:a,hash:A})}function Bf(){return Oe.useContext(Nm)!=null}function xf(){return Bf()||mr(!1),Oe.useContext(Nm).location}function SF(e){Oe.useContext(wl).static||Oe.useLayoutEffect(e)}function Ci(){let{isDataRoute:e}=Oe.useContext(Yo);return e?vI():oI()}function oI(){Bf()||mr(!1);let e=Oe.useContext(Jv),{basename:t,future:n,navigator:r}=Oe.useContext(wl),{matches:i}=Oe.useContext(Yo),{pathname:A}=xf(),s=JSON.stringify(Wv(i,n.v7_relativeSplatPath)),a=Oe.useRef(!1);return SF(()=>{a.current=!0}),Oe.useCallback(function(u,l){if(l===void 0&&(l={}),!a.current)return;if(typeof u=="number"){r.go(u);return}let c=qv(u,JSON.parse(s),A,l.relative==="path");e==null&&t!=="/"&&(c.pathname=c.pathname==="/"?t:ol([t,c.pathname])),(l.replace?r.replace:r.push)(c,l.state,l)},[t,r,s,A,e])}function aI(){let{matches:e}=Oe.useContext(Yo),t=e[e.length-1];return t?t.params:{}}function EF(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=Oe.useContext(wl),{matches:i}=Oe.useContext(Yo),{pathname:A}=xf(),s=JSON.stringify(Wv(i,r.v7_relativeSplatPath));return Oe.useMemo(()=>qv(e,JSON.parse(s),A,n==="path"),[e,s,A,n])}function lI(e,t){return uI(e,t)}function uI(e,t,n,r){Bf()||mr(!1);let{navigator:i,static:A}=Oe.useContext(wl),{matches:s}=Oe.useContext(Yo),a=s[s.length-1],o=a?a.params:{};a&&a.pathname;let u=a?a.pathnameBase:"/";a&&a.route;let l=xf(),c;if(t){var p;let v=typeof t=="string"?vf(t):t;u==="/"||(p=v.pathname)!=null&&p.startsWith(u)||mr(!1),c=v}else c=l;let f=c.pathname||"/",x=f;if(u!=="/"){let v=u.replace(/^\//,"").split("/");x="/"+f.replace(/^\//,"").split("/").slice(v.length).join("/")}let b=!A&&n&&n.matches&&n.matches.length>0?n.matches:Tk(e,{pathname:x}),E=pI(b&&b.map(v=>Object.assign({},v,{params:Object.assign({},o,v.params),pathname:ol([u,i.encodeLocation?i.encodeLocation(v.pathname).pathname:v.pathname]),pathnameBase:v.pathnameBase==="/"?u:ol([u,i.encodeLocation?i.encodeLocation(v.pathnameBase).pathname:v.pathnameBase])})),s,n,r);return t&&E?Oe.createElement(Nm.Provider,{value:{location:wd({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:Xa.Pop}},E):E}function cI(){let e=yI(),t=rI(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return Oe.createElement(Oe.Fragment,null,Oe.createElement("h2",null,"Unexpected Application Error!"),Oe.createElement("h3",{style:{fontStyle:"italic"}},t),n?Oe.createElement("pre",{style:i},n):null,null)}const fI=Oe.createElement(cI,null);class hI extends Oe.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?Oe.createElement(Yo.Provider,{value:this.props.routeContext},Oe.createElement(FF.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function dI(e){let{routeContext:t,match:n,children:r}=e,i=Oe.useContext(Jv);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),Oe.createElement(Yo.Provider,{value:t},r)}function pI(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var A;if(!n)return null;if(n.errors)e=n.matches;else if((A=r)!=null&&A.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let s=e,a=(i=n)==null?void 0:i.errors;if(a!=null){let l=s.findIndex(c=>c.route.id&&(a==null?void 0:a[c.route.id])!==void 0);l>=0||mr(!1),s=s.slice(0,Math.min(s.length,l+1))}let o=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let l=0;l<s.length;l++){let c=s[l];if((c.route.HydrateFallback||c.route.hydrateFallbackElement)&&(u=l),c.route.id){let{loaderData:p,errors:f}=n,x=c.route.loader&&p[c.route.id]===void 0&&(!f||f[c.route.id]===void 0);if(c.route.lazy||x){o=!0,u>=0?s=s.slice(0,u+1):s=[s[0]];break}}}return s.reduceRight((l,c,p)=>{let f,x=!1,b=null,E=null;n&&(f=a&&c.route.id?a[c.route.id]:void 0,b=c.route.errorElement||fI,o&&(u<0&&p===0?(x=!0,E=null):u===p&&(x=!0,E=c.route.hydrateFallbackElement||null)));let v=t.concat(s.slice(0,p+1)),B=()=>{let F;return f?F=b:x?F=E:c.route.Component?F=Oe.createElement(c.route.Component,null):c.route.element?F=c.route.element:F=l,Oe.createElement(dI,{match:c,routeContext:{outlet:l,matches:v,isDataRoute:n!=null},children:F})};return n&&(c.route.ErrorBoundary||c.route.errorElement||p===0)?Oe.createElement(hI,{location:n.location,revalidation:n.revalidation,component:b,error:f,children:B(),routeC
58ontext:{outlet:null,matches:v,isDataRoute:!0}}):B()},null)}var _F=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(_F||{}),om=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(om||{});function gI(e){let t=Oe.useContext(Jv);return t||mr(!1),t}function mI(e){let t=Oe.useContext(AI);return t||mr(!1),t}function wI(e){let t=Oe.useContext(Yo);return t||mr(!1),t}function UF(e){let t=wI(),n=t.matches[t.matches.length-1];return n.route.id||mr(!1),n.route.id}function yI(){var e;let t=Oe.useContext(FF),n=mI(om.UseRouteError),r=UF(om.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function vI(){let{router:e}=gI(_F.UseNavigateStable),t=UF(om.UseNavigateStable),n=Oe.useRef(!1);return SF(()=>{n.current=!0}),Oe.useCallback(function(i,A){A===void 0&&(A={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,wd({fromRouteId:t},A)))},[e,t])}function BI(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function rx(e){let{to:t,replace:n,state:r,relative:i}=e;Bf()||mr(!1);let{future:A,static:s}=Oe.useContext(wl),{matches:a}=Oe.useContext(Yo),{pathname:o}=xf(),u=Ci(),l=qv(t,Wv(a,A.v7_relativeSplatPath),o,i==="path"),c=JSON.stringify(l);return Oe.useEffect(()=>u(JSON.parse(c),{replace:n,state:r,relative:i}),[u,c,i,n,r]),null}function Oo(e){mr(!1)}function xI(e){let{basename:t="/",children:n=null,location:r,navigationType:i=Xa.Pop,navigator:A,static:s=!1,future:a}=e;Bf()&&mr(!1);let o=t.replace(/^\/*/,"/"),u=Oe.useMemo(()=>({basename:o,navigator:A,static:s,future:wd({v7_relativeSplatPath:!1},a)}),[o,a,A,s]);typeof r=="string"&&(r=vf(r));let{pathname:l="/",search:c="",hash:p="",state:f=null,key:x="default"}=r,b=Oe.useMemo(()=>{let E=$v(l,o);return E==null?null:{location:{pathname:E,search:c,hash:p,state:f,key:x},navigationType:i}},[o,l,c,p,f,x,i]);return b==null?null:Oe.createElement(wl.Provider,{value:u},Oe.createElement(Nm.Provider,{children:n,value:b}))}function bI(e){let{children:t,location:n}=e;return lI(oy(t),n)}new Promise(()=>{});function oy(e,t){t===void 0&&(t=[]);let n=[];return Oe.Children.forEach(e,(r,i)=>{if(!Oe.isValidElement(r))return;let A=[...t,i];if(r.type===Oe.Fragment){n.push.apply(n,oy(r.props.children,A));return}r.type!==Oo&&mr(!1),!r.props.index||!r.props.children||mr(!1);let s={id:r.props.id||A.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=oy(r.props.children,A)),n.push(s)}),n}/**
59 * React Router DOM v6.30.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 ay(){return ay=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ay.apply(this,arguments)}function CI(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,A;for(A=0;A<r.length;A++)i=r[A],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function FI(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function SI(e,t){return e.button===0&&(!t||t==="_self")&&!FI(e)}const EI=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],_I="6";try{window.__reactRouterVersion=_I}catch{}const UI="startTransition",ix=xU[UI];function QI(e){let{basename:t,children:n,future:r,window:i}=e,A=Oe.useRef();A.current==null&&(A.current=jk({window:i,v5Compat:!0}));let s=A.current,[a,o]=Oe.useState({action:s.action,location:s.location}),{v7_startTransition:u}=r||{},l=Oe.useCallback(c=>{u&&ix?ix(()=>o(c)):o(c)},[o,u]);return Oe.useLayoutEffect(()=>s.listen(l),[s,l]),Oe.useEffect(()=>BI(r),[r]),Oe.createElement(xI,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:s,future:r})}const kI=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",II=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Zr=Oe.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:A,replace:s,state:a,target:o,to:u,preventScrollReset:l,viewTransition:c}=t,p=CI(t,EI),{basename:f}=Oe.useContext(wl),x,b=!1;if(typeof u=="string"&&II.test(u)&&(x=u,kI))try{let F=new URL(window.location.href),U=u.startsWith("//")?new URL(F.protocol+u):new URL(u),N=$v(U.pathname,f);U.origin===F.origin&&N!=null?u=N+U.search+U.hash:b=!0}catch{}let E=sI(u,{relative:i}),v=LI(u,{replace:s,state:a,target:o,preventScrollReset:l,relative:i,viewTransition:c});function B(F){r&&r(F),F.defaultPrevented||v(F)}return Oe.createElement("a",ay({},p,{href:x||E,onClick:b||A?r:B,ref:n,target:o}))});var Ax;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Ax||(Ax={}));var sx;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(sx||(sx={}));function LI(e,t){let{target:n,replace:r,state:i,preventScrollReset:A,relative:s,viewTransition:a}=t===void 0?{}:t,o=Ci(),u=xf(),l=EF(e,{relative:s});return Oe.useCallback(c=>{if(SI(c,n)){c.preventDefault();let p=r!==void 0?r:sm(u)===sm(l);o(e,{replace:p,state:i,preventScrollReset:A,relative:s,viewTransition:a})}},[u,o,l,r,i,n,e,A,s,a])}const jI="modulepreload",NI=function(e){return"/"+e},ox={},Jo=function(t,n,r){let i=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const s=document.querySelector("meta[property=csp-nonce]"),a=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));i=Promise.allSettled(n.map(o=>{if(o=NI(o),o in ox)return;ox[o]=!0;const u=o.endsWith(".css"),l=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${o}"]${l}`))return;const c=document.createElement("link");if(c.rel=u?"stylesheet":jI,u||(c.as="script"),c.crossOrigin="",c.href=o,a&&c.setAttribute("nonce",a),document.head.appendChild(c),u)return new Promise((p,f)=>{c.addEventListener("load",p),c.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${o}`)))})}))}function A(s){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s}return i.then(s=>
67{for(const a of s||[])a.status==="rejected"&&A(a.reason);return t().catch(A)})},PI=e=>{let t;return e?t=e:typeof fetch>"u"?t=(...n)=>Jo(async()=>{const{default:r}=await Promise.resolve().then(()=>bf);return{default:r}},void 0).then(({default:r})=>r(...n)):t=fetch,(...n)=>t(...n)};class Xv extends Error{constructor(t,n="FunctionsError",r){super(t),this.name=n,this.context=r}}class TI extends Xv{constructor(t){super("Failed to send a request to the Edge Function","FunctionsFetchError",t)}}class OI extends Xv{constructor(t){super("Relay Error invoking the Edge Function","FunctionsRelayError",t)}}class RI extends Xv{constructor(t){super("Edge Function returned a non-2xx status code","FunctionsHttpError",t)}}var ly;(function(e){e.Any="any",e.ApNortheast1="ap-northeast-1",e.ApNortheast2="ap-northeast-2",e.ApSouth1="ap-south-1",e.ApSoutheast1="ap-southeast-1",e.ApSoutheast2="ap-southeast-2",e.CaCentral1="ca-central-1",e.EuCentral1="eu-central-1",e.EuWest1="eu-west-1",e.EuWest2="eu-west-2",e.EuWest3="eu-west-3",e.SaEast1="sa-east-1",e.UsEast1="us-east-1",e.UsWest1="us-west-1",e.UsWest2="us-west-2"})(ly||(ly={}));var DI=function(e,t,n,r){function i(A){return A instanceof n?A:new n(function(s){s(A)})}return new(n||(n=Promise))(function(A,s){function a(l){try{u(r.next(l))}catch(c){s(c)}}function o(l){try{u(r.throw(l))}catch(c){s(c)}}function u(l){l.done?A(l.value):i(l.value).then(a,o)}u((r=r.apply(e,t||[])).next())})};class HI{constructor(t,{headers:n={},customFetch:r,region:i=ly.Any}={}){this.url=t,this.headers=n,this.region=i,this.fetch=PI(r)}setAuth(t){this.headers.Authorization=`Bearer ${t}`}invoke(t,n={}){var r;return DI(this,void 0,void 0,function*(){try{const{headers:i,method:A,body:s}=n;let a={},{region:o}=n;o||(o=this.region),o&&o!=="any"&&(a["x-region"]=o);let u;s&&(i&&!Object.prototype.hasOwnProperty.call(i,"Content-Type")||!i)&&(typeof Blob<"u"&&s instanceof Blob||s instanceof ArrayBuffer?(a["Content-Type"]="application/octet-stream",u=s):typeof s=="string"?(a["Content-Type"]="text/plain",u=s):typeof FormData<"u"&&s instanceof FormData?u=s:(a["Content-Type"]="application/json",u=JSON.stringify(s)));const l=yield this.fetch(`${this.url}/${t}`,{method:A||"POST",headers:Object.assign(Object.assign(Object.assign({},a),this.headers),i),body:u}).catch(x=>{throw new TI(x)}),c=l.headers.get("x-relay-error");if(c&&c==="true")throw new OI(l);if(!l.ok)throw new RI(l);let p=((r=l.headers.get("Content-Type"))!==null&&r!==void 0?r:"text/plain").split(";")[0].trim(),f;return p==="application/json"?f=yield l.json():p==="application/octet-stream"?f=yield l.blob():p==="text/event-stream"?f=l:p==="multipart/form-data"?f=yield l.formData():f=yield l.text(),{data:f,error:null}}catch(i){return{data:null,error:i}}})}}var rA={},Yv={},Pm={},kd={},Tm={},Om={},MI=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")},df=MI();const KI=df.fetch,QF=df.fetch.bind(df),kF=df.Headers,zI=df.Request,VI=df.Response,bf=Object.freeze(Object.defineProperty({__proto__:null,Headers:kF,Request:zI,Response:VI,default:QF,fetch:KI},Symbol.toStringTag,{value:"Module"})),GI=oC(bf);var Rm={};Object.defineProperty(Rm,"__esModule",{value:!0});let $I=class extends Error{constructor(t){super(t.message),this.name="PostgrestError",this.details=t.details,this.hint=t.hint,this.co
67de=t.code}};Rm.default=$I;var IF=gr&&gr.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Om,"__esModule",{value:!0});const WI=IF(GI),qI=IF(Rm);let JI=class{constructor(t){this.shouldThrowOnError=!1,this.method=t.method,this.url=t.url,this.headers=t.headers,this.schema=t.schema,this.body=t.body,this.shouldThrowOnError=t.shouldThrowOnError,this.signal=t.signal,this.isMaybeSingle=t.isMaybeSingle,t.fetch?this.fetch=t.fetch:typeof fetch>"u"?this.fetch=WI.default:this.fetch=fetch}throwOnError(){return this.shouldThrowOnError=!0,this}setHeader(t,n){return this.headers=Object.assign({},this.headers),this.headers[t]=n,this}then(t,n){this.schema===void 0||(["GET","HEAD"].includes(this.method)?this.headers["Accept-Profile"]=this.schema:this.headers["Content-Profile"]=this.schema),this.method!=="GET"&&this.method!=="HEAD"&&(this.headers["Content-Type"]="application/json");const r=this.fetch;let i=r(this.url.toString(),{method:this.method,headers:this.headers,body:JSON.stringify(this.body),signal:this.signal}).then(async A=>{var s,a,o;let u=null,l=null,c=null,p=A.status,f=A.statusText;if(A.ok){if(this.method!=="HEAD"){const v=await A.text();v===""||(this.headers.Accept==="text/csv"||this.headers.Accept&&this.headers.Accept.includes("application/vnd.pgrst.plan+text")?l=v:l=JSON.parse(v))}const b=(s=this.headers.Prefer)===null||s===void 0?void 0:s.match(/count=(exact|planned|estimated)/),E=(a=A.headers.get("content-range"))===null||a===void 0?void 0:a.split("/");b&&E&&E.length>1&&(c=parseInt(E[1])),this.isMaybeSingle&&this.method==="GET"&&Array.isArray(l)&&(l.length>1?(u={code:"PGRST116",details:`Results contain ${l.length} rows, application/vnd.pgrst.object+json requires 1 row`,hint:null,message:"JSON object requested, multiple (or no) rows returned"},l=null,c=null,p=406,f="Not Acceptable"):l.length===1?l=l[0]:l=null)}else{const b=await A.text();try{u=JSON.parse(b),Array.isArray(u)&&A.status===404&&(l=[],u=null,p=200,f="OK")}catch{A.status===404&&b===""?(p=204,f="No Content"):u={message:b}}if(u&&this.isMaybeSingle&&(!((o=u==null?void 0:u.details)===null||o===void 0)&&o.includes("0 rows"))&&(u=null,p=200,f="OK"),u&&this.shouldThrowOnError)throw new qI.default(u)}return{error:u,data:l,count:c,status:p,statusText:f}});return this.shouldThrowOnError||(i=i.catch(A=>{var s,a,o;return{error:{message:`${(s=A==null?void 0:A.name)!==null&&s!==void 0?s:"FetchError"}: ${A==null?void 0:A.message}`,details:`${(a=A==null?void 0:A.stack)!==null&&a!==void 0?a:""}`,hint:"",code:`${(o=A==null?void 0:A.code)!==null&&o!==void 0?o:""}`},data:null,count:null,status:0,statusText:""}})),i.then(t,n)}returns(){return this}overrideTypes(){return this}};Om.default=JI;var XI=gr&&gr.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Tm,"__esModule",{value:!0});const YI=XI(Om);let ZI=class extends YI.default{select(t){let n=!1;const r=(t??"*").split("").map(i=>/\s/.test(i)&&!n?"":(i==='"'&&(n=!n),i)).join("");return this.url.searchParams.set("select",r),this.headers.Prefer&&(this.headers.Prefer+=","),this.headers.Prefer+="return=representation",this}order(t,{ascending:n=!0,nullsFirst:r,foreignTable:i,referencedTable:A=i}={}){const s=A?`${A}.order`:"order",a=this.url.searchParams.get(s);return this.url.searchParams.set(s,`${a?`${a},`:""}${t}.${n?"asc":"desc"}${r===void 0?"":r?".nullsfirst":".nullslast"}`),this}limit(t,{foreignTable:n,referencedTable:r=n}={}){const i=typeof r>"u"?"limit":`${r}.limit`;return this.url.searchParams.set(i,`${t}`),this}range(t,n,{foreignTable:r,referencedTable:i=r}={}){const A=typeof i>"u"?"offset":`${i}.offset`,s=typeof i>"u"?"limit":`${i}.limit`;return this.url.searchParams.set(A,`${t}`),this.url.searchParams.set(s,`${n-t+1}`),this}abortSignal(t){return this.signal=t,this}single(){return this.headers.Accept="application/vnd.pgrst.object+json",this}maybeSingle(){return this.method==="GET"?this.headers.Accept="application/json":this.headers.Accept="application/vnd.pgrst.object+json",this.isMaybeSingle=!0,this}csv(){return this.headers.Accept="text/csv",this}geojson(){return this.headers.Accept="application/geo+json",this}
vendor: 4,908 bytes, line 67
67explain({analyze:t=!1,verbose:n=!1,settings:r=!1,buffers:i=!1,wal:A=!1,format:s="text"}={}){var a;const o=[t?"analyze":null,n?"verbose":null,r?"settings":null,i?"buffers":null,A?"wal":null].filter(Boolean).join("|"),u=(a=this.headers.Accept)!==null&&a!==void 0?a:"application/json";return this.headers.Accept=`application/vnd.pgrst.plan+${s}; for="${u}"; options=${o};`,s==="json"?this:this}rollback(){var t;return((t=this.headers.Prefer)!==null&&t!==void 0?t:"").trim().length>0?this.headers.Prefer+=",tx=rollback":this.headers.Prefer="tx=rollback",this}returns(){return this}};Tm.default=ZI;var eL=gr&&gr.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(kd,"__esModule",{value:!0});const tL=eL(Tm);let nL=class extends tL.default{eq(t,n){return this.url.searchParams.append(t,`eq.${n}`),this}neq(t,n){return this.url.searchParams.append(t,`neq.${n}`),this}gt(t,n){return this.url.searchParams.append(t,`gt.${n}`),this}gte(t,n){return this.url.searchParams.append(t,`gte.${n}`),this}lt(t,n){return this.url.searchParams.append(t,`lt.${n}`),this}lte(t,n){return this.url.searchParams.append(t,`lte.${n}`),this}like(t,n){return this.url.searchParams.append(t,`like.${n}`),this}likeAllOf(t,n){return this.url.searchParams.append(t,`like(all).{${n.join(",")}}`),this}likeAnyOf(t,n){return this.url.searchParams.append(t,`like(any).{${n.join(",")}}`),this}ilike(t,n){return this.url.searchParams.append(t,`ilike.${n}`),this}ilikeAllOf(t,n){return this.url.searchParams.append(t,`ilike(all).{${n.join(",")}}`),this}ilikeAnyOf(t,n){return this.url.searchParams.append(t,`ilike(any).{${n.join(",")}}`),this}is(t,n){return this.url.searchParams.append(t,`is.${n}`),this}in(t,n){const r=Array.from(new Set(n)).map(i=>typeof i=="string"&&new RegExp("[,()]").test(i)?`"${i}"`:`${i}`).join(",");return this.url.searchParams.append(t,`in.(${r})`),this}contains(t,n){return typeof n=="string"?this.url.searchParams.append(t,`cs.${n}`):Array.isArray(n)?this.url.searchParams.append(t,`cs.{${n.join(",")}}`):this.url.searchParams.append(t,`cs.${JSON.stringify(n)}`),this}containedBy(t,n){return typeof n=="string"?this.url.searchParams.append(t,`cd.${n}`):Array.isArray(n)?this.url.searchParams.append(t,`cd.{${n.join(",")}}`):this.url.searchParams.append(t,`cd.${JSON.stringify(n)}`),this}rangeGt(t,n){return this.url.searchParams.append(t,`sr.${n}`),this}rangeGte(t,n){return this.url.searchParams.append(t,`nxl.${n}`),this}rangeLt(t,n){return this.url.searchParams.append(t,`sl.${n}`),this}rangeLte(t,n){return this.url.searchParams.append(t,`nxr.${n}`),this}rangeAdjacent(t,n){return this.url.searchParams.append(t,`adj.${n}`),this}overlaps(t,n){return typeof n=="string"?this.url.searchParams.append(t,`ov.${n}`):this.url.searchParams.append(t,`ov.{${n.join(",")}}`),this}textSearch(t,n,{config:r,type:i}={}){let A="";i==="plain"?A="pl":i==="phrase"?A="ph":i==="websearch"&&(A="w");const s=r===void 0?"":`(${r})`;return this.url.searchParams.append(t,`${A}fts${s}.${n}`),this}match(t){return Object.entries(t).forEach(([n,r])=>{this.url.searchParams.append(n,`eq.${r}`)}),this}not(t,n,r){return this.url.searchParams.append(t,`not.${n}.${r}`),this}or(t,{foreignTable:n,referencedTable:r=n}={}){const i=r?`${r}.or`:"or";return this.url.searchParams.append(i,`(${t})`),this}filter(t,n,r){return this.url.searchParams.append(t,`${n}.${r}`),this}};kd.default=nL;var rL=gr&&gr.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Pm,"__esModule",{value:!0});const ph=rL(kd);let iL=class{constructor(t,{headers:n={},schema:r,fetch:i}){this.url=t,this.headers=n,this.schema=r,this.fetch=i}select(t,{head:n=!1,count:r}={}){const i=n?"HEAD":"GET";let A=!1;const s=(t??"*").split("").map(a=>/\s/.test(a)&&!A?"":(a==='"'&&(A=!A),a)).join("");return this.url.searchParams.set("select",s),r&&(this.headers.Prefer=`count=${r}`),new ph.default({method:i,url:this.url,headers:this.headers,schema:this.schema,fetch:this.fetch,allowEmpty:!1})}insert(t,{count:n,defaultToNull:r=!0}={}){const i="POST",A=[];if(this.headers.Prefer&&A.push(this.headers.Prefer),n&&A.push(`count=${n}`),r||A.push("missing=default"),this.headers.Prefer=A.join(","),Array.isArray(t)){const s=t.reduce((a,o)=>a.concat(Object.keys(o)),[]);if(s.length>0){const a=[...new Set(s)].map(o=>`"${o}"`);this.url.searchParams.set("columns",a.join(","))}}return new ph.default({method:i,url:this.url,headers:this.headers,schema:this.schema,body:t,fetch:this.fetch,allowEmpty:!1})}upsert(t,{onConflict:n,ignoreDuplicates:r=!1,count:i,defaultToNull:A=!0}={}){const s="POST",a=[`resolution=${r?"ignore":"merge"}-duplicates`];if(n!==void 0&&this.url.searchParams.set("on_conflict",n),this.headers.Prefer&&a.push(this.headers.Prefer),i&&a.push(`count=${i}`),A||a.push("missing=default"),this.headers.Prefer=a.join(","),Array.isArray(t)){const o=t.reduce((u,l)=>u.concat(Object.keys(l)),[]);if(o.length>
670){const u=[...new Set(o)].map(l=>`"${l}"`);this.url.searchParams.set("columns",u.join(","))}}return new ph.default({method:s,url:this.url,headers:this.headers,schema:this.schema,body:t,fetch:this.fetch,allowEmpty:!1})}update(t,{count:n}={}){const r="PATCH",i=[];return this.headers.Prefer&&i.push(this.headers.Prefer),n&&i.push(`count=${n}`),this.headers.Prefer=i.join(","),new ph.default({method:r,url:this.url,headers:this.headers,schema:this.schema,body:t,fetch:this.fetch,allowEmpty:!1})}delete({count:t}={}){const n="DELETE",r=[];return t&&r.push(`count=${t}`),this.headers.Prefer&&r.unshift(this.headers.Prefer),this.headers.Prefer=r.join(","),new ph.default({method:n,url:this.url,headers:this.headers,schema:this.schema,fetch:this.fetch,allowEmpty:!1})}};Pm.default=iL;var Dm={},Hm={};Object.defineProperty(Hm,"__esModule",{value:!0});Hm.version=void 0;Hm.version="0.0.0-automated";Object.defineProperty(Dm,"__esModule",{value:!0});Dm.DEFAULT_HEADERS=void 0;const AL=Hm;Dm.DEFAULT_HEADERS={"X-Client-Info":`postgrest-js/${AL.version}`};var LF=gr&&gr.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Yv,"__esModule",{value:!0});const sL=LF(Pm),oL=LF(kd),aL=Dm;let lL=class jF{constructor(t,{headers:n={},schema:r,fetch:i}={}){this.url=t,this.headers=Object.assign(Object.assign({},aL.DEFAULT_HEADERS),n),this.schemaName=r,this.fetch=i}from(t){const n=new URL(`${this.url}/${t}`);return new sL.default(n,{headers:Object.assign({},this.headers),schema:this.schemaName,fetch:this.fetch})}schema(t){return new jF(this.url,{headers:this.headers,schema:t,fetch:this.fetch})}rpc(t,n={},{head:r=!1,get:i=!1,count:A}={}){let s;const a=new URL(`${this.url}/rpc/${t}`);let o;r||i?(s=r?"HEAD":"GET",Object.entries(n).filter(([l,c])=>c!==void 0).map(([l,c])=>[l,Array.isArray(c)?`{${c.join(",")}}`:`${c}`]).forEach(([l,c])=>{a.searchParams.append(l,c)})):(s="POST",o=n);const u=Object.assign({},this.headers);return A&&(u.Prefer=`count=${A}`),new oL.default({method:s,url:a,headers:u,schema:this.schemaName,body:o,fetch:this.fetch,allowEmpty:!1})}};Yv.default=lL;var Cf=gr&&gr.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(rA,"__esModule",{value:!0});rA.PostgrestError=rA.PostgrestBuilder=rA.PostgrestTransformBuilder=rA.PostgrestFilterBuilder=rA.PostgrestQueryBuilder=rA.PostgrestClient=void 0;const NF=Cf(Yv);rA.PostgrestClient=NF.default;const PF=Cf(Pm);rA.PostgrestQueryBuilder=PF.default;const TF=Cf(kd);rA.PostgrestFilterBuilder=TF.default;const OF=Cf(Tm);rA.PostgrestTransformBuilder=OF.default;const RF=Cf(Om);rA.PostgrestBuilder=RF.default;const DF=Cf(Rm);rA.PostgrestError=DF.default;var uL=rA.default={PostgrestClient:NF.default,PostgrestQueryBuilder:PF.default,PostgrestFilterBuilder:TF.default,PostgrestTransformBuilder:OF.default,PostgrestBuilder:RF.default,PostgrestError:DF.default};const{PostgrestClient:cL,PostgrestQueryBuilder:AM,PostgrestFilterBuilder:sM,PostgrestTransformBuilder:oM,PostgrestBuilder:aM,PostgrestError:lM}=uL,fL="2.11.2",hL={"X-Client-Info":`realtime-js/${fL}`},dL="1.0.0",HF=1e4,pL=1e3;var ef;(function(e){e[e.connecting=0]="connecting",e[e.open=1]="open",e[e.closing=2]="closing",e[e.closed=3]="closed"})(ef||(ef={}));var FA;(function(e){e.closed="closed",e.errored="errored",e.joined="joined",e.joining="joining",e.leaving="leaving"})(FA||(FA={}));var ys;(function(e){e.close="phx_close",e.error="phx_error",e.join="phx_join",e.reply="phx_reply",e.leave="phx_leave",e.access_token="access_token"})(ys||(ys={}));var uy;(function(e){e.websocket="websocket"})(uy||(uy={}));var Zl;(function(e){e.Connecting="connecting",e.Open="open",e.Closing="closing",e.Closed="closed"})(Zl||(Zl={}));class gL{constructor(){this.HEADER_LENGTH=1}decode(t,n){return t.constructor===ArrayBuffer?n(this._binaryDecode(t)):n(typeof t=="string"?JSON.parse(t):{})}_binaryDecode(t){const n=new DataView(t),r=new TextDecoder;return this._decodeBroadcast(t,n,r)}_decodeBroadcast(t,n,r){const i=n.getUint8(1),A=n.getUint8(2);let s=this.HEADER_LENGTH+2;const a=r.decode(t.slice(s,s+i));s=s+i;const o=r.decode(t.slice(s,s+A));s=s+A;const u=JSON.parse(r.decode(t.slice(s,t.byteLength)));return{ref:null,topic:a,event:o,payload:u}}}class MF{constructor(t,n){this.callback=t,this.timerCalc=n,this.timer=void 0,this.tries=0,this.callback=t,this.timerCalc=n}reset(){this.tries=0,clearTimeout(this.timer)}scheduleTimeout(){clearTimeout(this.timer),this.timer=setTimeout(()=>{this.tries=this.tries+1,this.callback()},this.timerCalc(this.tries+1))}}var Ln;(function(e){e.abstime="abstime",e.bool="bool",e.date="date",e.daterange="daterange",e.float4="float4",e.float8="float8",e.int2="int2",e.int4="int4",e.int4range="int4range",e.int8="int8",e.int8range="int8range",e.json="json",e.jsonb="jsonb",e.money="money",e.numeric="numeric",e.oid="oid",e.reltime="reltime",e.text="text",e.time="time",e.timestamp="timestamp",e.timestamptz="timestamptz",e.timetz="timetz",e.tsrange="tsrange",e.tstzrange="tstzrange"})(Ln||(Ln={}));const ax=(e,t,n={})=>{var r;const i=(r=n.skipTypes)!==null&&r!==void 0?r:[];return Object.keys(t).reduce((A,s)=>(A[s]=mL(s,e,t,i),A),{})},mL=(e,t,n,r)=>{const i=t.find(a=>a.name===e),A=i==null?void 0:i.type,s=n[e];return A&&!r.includes(A)?KF(A,s):cy(s)},KF=(e,t)=>{if(e.charAt(0)==="_"){const n=e.slice(1,e.length);return BL(t,n)}switch(e){case Ln.bool:return wL(t);case Ln.float4:case Ln.float8:case Ln.int2:case Ln.int4:case Ln.int8:case Ln.numeric:case Ln.oid:return yL(t);case Ln.json:case Ln.jsonb:return vL(t);case Ln.timestamp:return xL(t);case Ln.abstime:case Ln.date:case Ln.daterange:case Ln.int4range:case Ln.int8range:case Ln.money:case Ln.reltime:case Ln.text:case Ln.time:case Ln.timestamptz:case Ln.timetz:case Ln.tsrange:case Ln.tstzrange:return cy(t);default:return cy(t)}},cy=e=>e,wL=e=>{switch(e){case"t":return!0;case"f":return!1;default:return e}},yL=e=>{if(typeof e=="string"){const t=parseFloat(e);
vendor: 13,518 bytes, lines 67-72
67if(!Number.isNaN(t))return t}return e},vL=e=>{if(typeof e=="string")try{return JSON.parse(e)}catch(t){return console.log(`JSON parse error: ${t}`),e}return e},BL=(e,t)=>{if(typeof e!="string")return e;const n=e.length-1,r=e[n];if(e[0]==="{"&&r==="}"){let A;const s=e.slice(1,n);try{A=JSON.parse("["+s+"]")}catch{A=s?s.split(","):[]}return A.map(a=>KF(t,a))}return e},xL=e=>typeof e=="string"?e.replace(" ","T"):e,zF=e=>{let t=e;return t=t.replace(/^ws/i,"http"),t=t.replace(/(\/socket\/websocket|\/socket|\/websocket)\/?$/i,""),t.replace(/\/+$/,"")};class S1{constructor(t,n,r={},i=HF){this.channel=t,this.event=n,this.payload=r,this.timeout=i,this.sent=!1,this.timeoutTimer=void 0,this.ref="",this.receivedResp=null,this.recHooks=[],this.refEvent=null}resend(t){this.timeout=t,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(t){this.payload=Object.assign(Object.assign({},this.payload),t)}receive(t,n){var r;return this._hasReceived(t)&&n((r=this.receivedResp)===null||r===void 0?void 0:r.response),this.recHooks.push({status:t,callback:n}),this}startTimeout(){if(this.timeoutTimer)return;this.ref=this.channel.socket._makeRef(),this.refEvent=this.channel._replyEventName(this.ref);const t=n=>{this._cancelRefEvent(),this._cancelTimeout(),this.receivedResp=n,this._matchReceive(n)};this.channel._on(this.refEvent,{},t),this.timeoutTimer=setTimeout(()=>{this.trigger("timeout",{})},this.timeout)}trigger(t,n){this.refEvent&&this.channel._trigger(this.refEvent,{status:t,response:n})}destroy(){this._cancelRefEvent(),this._cancelTimeout()}_cancelRefEvent(){this.refEvent&&this.channel._off(this.refEvent,{})}_cancelTimeout(){clearTimeout(this.timeoutTimer),this.timeoutTimer=void 0}_matchReceive({status:t,response:n}){this.recHooks.filter(r=>r.status===t).forEach(r=>r.callback(n))}_hasReceived(t){return this.receivedResp&&this.receivedResp.status===t}}var lx;(function(e){e.SYNC="sync",e.JOIN="join",e.LEAVE="leave"})(lx||(lx={}));class Hh{constructor(t,n){this.channel=t,this.state={},this.pendingDiffs=[],this.joinRef=null,this.caller={onJoin:()=>{},onLeave:()=>{},onSync:()=>{}};const r=(n==null?void 0:n.events)||{state:"presence_state",diff:"presence_diff"};this.channel._on(r.state,{},i=>{const{onJoin:A,onLeave:s,onSync:a}=this.caller;this.joinRef=this.channel._joinRef(),this.state=Hh.syncState(this.state,i,A,s),this.pendingDiffs.forEach(o=>{this.state=Hh.syncDiff(this.state,o,A,s)}),this.pendingDiffs=[],a()}),this.channel._on(r.diff,{},i=>{const{onJoin:A,onLeave:s,onSync:a}=this.caller;this.inPendingSyncState()?this.pendingDiffs.push(i):(this.state=Hh.syncDiff(this.state,i,A,s),a())}),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(t,n,r,i){const A=this.cloneDeep(t),s=this.transformState(n),a={},o={};return this.map(A,(u,l)=>{s[u]||(o[u]=l)}),this.map(s,(u,l)=>{const c=A[u];if(c){const p=l.map(E=>E.presence_ref),f=c.map(E=>E.presence_ref),x=l.filter(E=>f.indexOf(E.presence_ref)<0),b=c.filter(E=>p.indexOf(E.presence_ref)<0);x.length>0&&(a[u]=x),b.length>0&&(o[u]=b)}else a[u]=l}),this.syncDiff(A,{joins:a,leaves:o},r,i)}static syncDiff(t,n,r,i){const{joins:A,leaves:s}={joins:this.transformState(n.joins),leaves:this.transformState(n.leaves)};return r||(r=()=>{}),i||(i=()=>{}),this.map(A,(a,o)=>{var u;const l=(u=t[a])!==null&&u!==void 0?u:[];if(t[a]=this.cloneDeep(o),l.length>0){const c=t[a].map(f=>f.presence_ref),p=l.filter(f=>c.indexOf(f.presence_ref)<0);t[a].unshift(...p)}r(a,l,o)}),this.map(s,(a,o)=>{let u=t[a];if(!u)return;const l=o.map(c=>c.presence_ref);u=u.filter(c=>l.indexOf(c.presence_ref)<0),t[a]=u,i(a,u,o),u.length===0&&delete t[a]}),t}static map(t,n){return Object.getOwnPropertyNames(t).map(r=>n(r,t[r]))}static transformState(t){return t=this.cloneDeep(t),Object.getOwnPropertyNames(t).reduce((n,r)=>{const i=t[r];return"metas"in i?n[r]=i.metas.map(A=>(A.presence_ref=A.phx_ref,delete A.phx_ref,delete A.phx_ref_prev,A)):n[r]=i,n},{})}static cloneDeep(t){return JSON.parse(JSON.stringify(t))}onJoin(t){this.caller.onJoin=t}onLeave(t){this.caller.onLeave=t}onSync(t){this.caller.onSync=t}inPendingSyncState(){return!this.joinRef||this.joinRef!==this.channel._joinRef()}}var ux;(function(e){e.ALL="*",e.INSERT="INSERT",e.UPDATE="UPDATE",e.DELETE="DELETE"})(ux||(ux={}));var cx;(function(e){e.BROADCAST="broadcast",e.PRESENCE="presence",e.POSTGRES_CHANGES="postgres_changes",e.SYSTEM="system"})(cx||(cx={}));var Ho;(function(e){e.SUBSCRIBED="SUBSCRIBED",e.TIMED_OUT="TIMED_OUT",e.CLOSED="CLOSED",e.CHANNEL_ERROR="CHANNEL_ERROR"})(Ho||(Ho={}));class Zv{constructor(t,n={config:{}},r){this.topic=t,this.params=n,this.socket=r,this.bindings={},this.state=FA.closed,this.joinedOnce=!1,this.pushBuffer=[],this.subTopic=t.replace(/^realtime:/i,""),this.params.config=Object.assign({broadcast:{ack:!1,self:!1},presence:{key:""},private:!1},n.config),this.timeout=this.socket.timeout,this.joinPush=new S1(this,ys.join,this.params,this.timeout),this.rejoinTimer=new MF(()=>this._rejoinUntilConnected(),this.socket.reconnectAfterMs),this.joinPush.receive("ok",()=>{this.state=FA.joined,this.rejoinTimer.reset(),this.pushBuffer.forEach(i=>i.send()),this.pushBuffer=[]}),this._onClose(()=>{this.rejoinTimer.reset(),this.socket.log("channel",`close ${this.topic} ${this._joinRef()}`),this.state=FA.closed,this.socket._remove(this)}),this._onError(i=>{this._isLeaving()||this._isClosed()||(this.socket.log("channel",`error ${this.topic}`,i),this.state=FA.errored,this.rejoinTimer.scheduleTimeout())}),this.joinPush.receive("timeout",()=>{this._isJoining()&&(this.socket.log("channel",`timeout ${this.topic}`,this.joinPush.timeout),this.state=FA.errored,this.rejoinTimer.scheduleTimeout())}),this._on(ys.reply,{},(i,A)=>{this._trigger(this._replyEventName(A),i)}),this.presence=new Hh(this),this.broadcastEndpointURL=zF(this.socket.endPoint)+"/api/broadcast",this.private=this.params.config.private||!1}subscribe(t,n=this.timeout){var r,i;if(this.socket.isConnected()||this.socket.connect(),this.joinedOnce)throw"tried to subscribe multiple times. 'subscribe' can only be called a single time per channel instance";{const{config:{broadcast:A,presence:s,private:a}}=this.params;this._onError(l=>t==null?void 0:t(Ho.CHANNEL_ERROR,l)),this._onClose(()=>t==null?void 0:t(Ho.CLOSED));const o={},u={broadcast:A,presence:s,postgres_changes:(i=(r=this.bindings.postgres_changes)===null||r===void 0?void 0:r.map(l=>l.filter))!==null&&i!==void 0?i:[],private:a};this.socket.accessTokenValue&&(o.access_token=this.socket.accessTokenValue),this.updateJoinPayload(Object.assign({config:u},o)),this.joinedOnce=!0,this._rejoin(n),this.joinPush.receive("ok",async({postgres_changes:l})=>{var c;if(this.socket.setAuth(),l===void 0){t==null||t(Ho.SUBSCRIBED);return}else{const p=this.bindings.postgres_changes,f=(c=p==null?void 0:p.length)!==null&&c!==void 0?c:0,x=[];for(let b=0;b<f;b++){const E=p[b],{filter:{event:v,schema:B,table:F,filter:U}}=E,N=l&&l[b];if(N&&N.event===v&&N.schema===B&&N.table===F&&N.filter===U)x.push(Object.assign(Object.assign({},E),{id:N.id}));else{this.unsubscribe(),t==null||t(Ho.CHANNEL_ERROR,new Error("mismatch between server and client bindings for postgres changes"));return}}this.bindings.postgres_changes=x,t&&t(Ho.SUBSCRIBED);return}}).receive("error",l=>{t==null||t(Ho.CHANNEL_ERROR,new Error(JSON.stringify(Object.values(l).join(", ")||"error")))}).receive("timeout",()=>{t==null||t(Ho.TIMED_OUT)})}return this}presenceState(){return this.presence.state}async track(t,n={}){return await this.send({type:"presence",event:"track",payload:t},n.timeout||this.timeout)}async untrack(t={}){return await this.send({type:"presence",event:"untrack"},t)}on(t,n,r){return this._on(t,n,r)}async send(t,n={}){var r,i;if(!this._canPush()&&t.type==="broadcast"){const{event:A,payload:s}=t,o={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 u=await this._fetchWithTimeout(this.broadcastEndpointURL,o,(r=n.timeout)!==null&&r!==void 0?r:this.timeout);return await((i=u.body)===null||i===void 0?void 0:i.cancel()),u.ok?"ok":"error"}catch(u){return u.name==="AbortError"?"timed out":"error"}}else return new Promise(A=>{var s,a,o;const u=this._push(t.type,t,n.timeout||this.timeout);t.type==="broadcast"&&!(!((o=(a=(s=this.params)===null||s===void 0?void 0:s.config)===null||a===void 0?void 0:a.broadcast)===null||o===void 0)&&o.ack)&&A("ok"),u.receive("ok",()=>A("ok")),u.receive("error",()=>A("error")),u.receive("timeout",()=>A("timed out"))})}updateJoinPayload(t){this.joinPush.updatePayload(t)}unsubscribe(t=this.timeout){this.state=FA.leaving;const n=()=>{this.socket.log("channel",`leave ${this.topic}`),this._trigger(ys.close,"leave",this._joinRef())};return this.rejoinTimer.reset(),this.joinPush.destroy(),new Promise(r=>{const i=new S1(this,ys.leave,{},t);i.receive("ok",()=>{n(),r("ok")}).receive("timeout",()=>{n(),r("timed out")}).receive("error",()=>{r("error")}),i.send(),this._canPush()||i.trigger("ok",{})})}async _fetchWithTimeout(t,n,r){const i=new AbortController,A=setTimeout(()=>i.abort(),r),s=await this.socket.fetch(t,Object.assign(Object.assign({},n),{signal:i.signal}));return clearTimeout(A),s}_push(t,n,r=this.timeout){if(!this.joinedOnce)throw`tried to push '${t}' to '${this.topic}' before joining. Use channel.subscribe() before pushing events`;let i=new S1(this,t,n,r);return this._canPush()?i.send():(i.startTimeout(),this.pushBuffer.push(i)),i}_onMessage(t,n,r){return n}_isMember(t){return this.topic===t}_joinRef(){return this.joinPush.ref}_trigger(t,n,r){var i,A;const s=t.toLocaleLowerCase(),{close:a,error:o,leave:u,join:l}=ys;if(r&&[a,o,u,l].indexOf(s)>=0&&r!==this._joinRef())return;let p=this._onMessage(s,n,r);if(n&&!p)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(f=>{var x,b,E;return((x=f.filter)===null||x===void 0?void 0:x.event)==="*"||((E=(b=f.filter)===null||b===void 0?void 0:b.event)===null||E===void 0?void 0:E.toLocaleLowerCase())===s}).map(f=>f.callback(p,r)):(A=this.bindings[s])===null||A===void 0||A.filter(f=>{var x,b,E,v,B,F;if(["broadcast","presence","postgres_changes"].includes(s))if("id"in f){const U=f.id,N=(x=f.filter)===null||x===void 0?void 0:x.event;return U&&((b=n.ids)===null||b===void 0?void 0:b.includes(U))&&(N==="*"||(N==null?void 0:N.toLocaleLowerCase())===((E=n.data)===null||E===void 0?void 0:E.type.toLocaleLowerCase()))}else{const U=(B=(v=f==null?void 0:f.filter)===null||v===void 0?void 0:v.event)===null||B===void 0?void 0:B.toLocaleLowerCase();return U==="*"||U===((F=n==null?void 0:n.event)===null||F===void 0?void 0:F.toLocaleLowerCase())}else return f.type.toLocaleLowerCase()===s}).map(f=>{if(typeof p=="object"&&"ids"in p){const x=p.data,{schema:b,table:E,commit_timestamp:v,type:B,errors:F}=x;p=Object.assign(Object.assign({},{schema:b,table:E,commit_timestamp:v,eventType:B,new:{},old:{},errors:F}),this._getPayloadRecords(x))}f.callback(p,r)})}_isClosed(){return this.state===FA.closed}_isJoined(){return this.state===FA.joined}_isJoining(){return this.state===FA.joining}_isLeaving(){return this.state===FA.leaving}_replyEventName(t){return`chan_reply_${t}`}_on(t,n,r){const i=t.toLocaleLowerCase(),A={type:i,filter:n,callback:r};return this.bindings[i]?this.bindings[i].push(A):this.bindings[i]=[A],this}_off(t,n){const r=t.toLocaleLowerCase();return this.bindings[r]=this.bindings[r].filter(i=>{var A;return!(((A=i.type)===null||A===void 0?void 0:A.toLocaleLowerCase())===r&&Zv.isEqual(i.filter,n))}),this}static isEqual(t,n){if(Object.keys(t).length!==Object.keys(n).length)return!1;for(const r in t)if(t[r]!==n[r])return!1;return!0}_rejoinUntilConnected(){this.rejoinTimer.scheduleTimeout(),this.socket.isConnected()&&this._rejoin()}_onClose(t){this._on(ys.close,{},t)}_onError(t){this._on(ys.error,{},n=>t(n))}_canPush(){return this.socket.isConnected()&&this._isJoined()}_rejoin(t=this.timeout){this._isLeaving()||(this.socket._leaveOpenTopic(this.topic),this.state=FA.joining,this.joinPush.resend(t))}_getPayloadRecords(t){const n={new:{},old:{}};return(t.type==="INSERT"||t.type==="UPDATE")&&(n.new=ax(t.columns,t.record)),(t.type==="UPDATE"||t.type==="DELETE")&&(n.old=ax(t.columns,t.old_record)),n}}const bL=()=>{},CL=typeof WebSocket<"u",FL=`
68  addEventListener("message", (e) => {
69    if (e.data.event === "start") {
70      setInterval(() => postMessage({ event: "keepAlive" }), e.data.interval);
71    }
72  });`;class SL{constructor(t,n){var r;this.accessTokenValue=null,this.apiKey=null,this.channels=[],this.endPoint="",this.httpEndpoint="",this.headers=hL,this.params={},this.timeout=HF,this.heartbeatIntervalMs=3e4,this.heartbeatTimer=void 0,this.pendingHeartbeatRef=null,this.ref=0,this.logger=bL,this.conn=null,this.sendBuffer=[],this.serializer
72=new gL,this.stateChangeCallbacks={open:[],close:[],error:[],message:[]},this.accessToken=null,this._resolveFetch=A=>{let s;return A?s=A:typeof fetch>"u"?s=(...a)=>Jo(async()=>{const{default:o}=await Promise.resolve().then(()=>bf);return{default:o}},void 0).then(({default:o})=>o(...a)):s=fetch,(...a)=>s(...a)},this.endPoint=`${t}/${uy.websocket}`,this.httpEndpoint=zF(t),n!=null&&n.transport?this.transport=n.transport:this.transport=null,n!=null&&n.params&&(this.params=n.params),n!=null&&n.headers&&(this.headers=Object.assign(Object.assign({},this.headers),n.headers)),n!=null&&n.timeout&&(this.timeout=n.timeout),n!=null&&n.logger&&(this.logger=n.logger),n!=null&&n.heartbeatIntervalMs&&(this.heartbeatIntervalMs=n.heartbeatIntervalMs);const i=(r=n==null?void 0:n.params)===null||r===void 0?void 0:r.apikey;if(i&&(this.accessTokenValue=i,this.apiKey=i),this.reconnectAfterMs=n!=null&&n.reconnectAfterMs?n.reconnectAfterMs:A=>[1e3,2e3,5e3,1e4][A-1]||1e4,this.encode=n!=null&&n.encode?n.encode:(A,s)=>s(JSON.stringify(A)),this.decode=n!=null&&n.decode?n.decode:this.serializer.decode.bind(this.serializer),this.reconnectTimer=new MF(async()=>{this.disconnect(),this.connect()},this.reconnectAfterMs),this.fetch=this._resolveFetch(n==null?void 0:n.fetch),n!=null&&n.worker){if(typeof window<"u"&&!window.Worker)throw new Error("Web Worker is not supported");this.worker=(n==null?void 0:n.worker)||!1,this.workerUrl=n==null?void 0:n.workerUrl}this.accessToken=(n==null?void 0:n.accessToken)||null}connect(){if(!this.conn){if(this.transport){this.conn=new this.transport(this.endpointURL(),void 0,{headers:this.headers});return}if(CL){this.conn=new WebSocket(this.endpointURL()),this.setupConnection();return}this.conn=new EL(this.endpointURL(),void 0,{close:()=>{this.conn=null}}),Jo(async()=>{const{default:t}=await import("./browser-Bayj-6gp.js").then(n=>n.b);return{default:t}},[]).then(({default:t})=>{this.conn=new t(this.endpointURL(),void 0,{headers:this.headers}),this.setupConnection()})}}endpointURL(){return this._appendParams(this.endPoint,Object.assign({},this.params,{vsn:dL}))}disconnect(t,n){this.conn&&(this.conn.onclose=function(){},t?this.conn.close(t,n??""):this.conn.close(),this.conn=null,this.heartbeatTimer&&clearInterval(this.heartbeatTimer),this.reconnectTimer.reset())}getChannels(){return this.channels}async removeChannel(t){const n=await t.unsubscribe();return this.channels.length===0&&this.disconnect(),n}async removeAllChannels(){const t=await Promise.all(this.channels.map(n=>n.unsubscribe()));return this.disconnect(),t}log(t,n,r){this.logger(t,n,r)}connectionState(){switch(this.conn&&this.conn.readyState){case ef.connecting:return Zl.Connecting;case ef.open:return Zl.Open;case ef.closing:return Zl.Closing;default:return Zl.Closed}}isConnected(){return this.connectionState()===Zl.Open}channel(t,n={config:{}}){const r=new Zv(`realtime:${t}`,n,this);return this.channels.push(r),r}push(t){const{topic:n,event:r,payload:i,ref:A}=t,s=()=>{this.encode(t,a=>{var o;(o=this.conn)===null||o===void 0||o.send(a)})};this.log("push",`${n} ${r} (${A})`,i),this.isConnected()?s():this.sendBuffer.push(s)}async setAuth(t=null){let n=t||this.accessToken&&await this.accessToken()||this.accessTokenValue;if(n){let r=null;try{r=JSON.parse(atob(n.split(".")[1]))}catch{}if(r&&r.exp&&!(Math.floor(Date.now()/1e3)-r.exp<0))return this.log("auth",`InvalidJWTToken: Invalid value for JWT claim "exp" with value ${r.exp}`),Promise.reject(`InvalidJWTToken: Invalid value for JWT claim "exp" with value ${r.exp}`);this.accessTokenValue=n,this.channels.forEach(i=>{n&&i.updateJoinPayload({access_token:n}),i.joinedOnce&&i._isJoined()&&i._push(ys.access_token,{access_token:n})})}}async sendHeartbeat(){var t;if(this.isConnected()){if(this.pendingHeartbeatRef){this.pendingHeartbeatRef=null,this.log("transport","heartbeat timeout. Attempting to re-establish connection"),(t=this.conn)===null||t===void 0||t.close(pL,"hearbeat timeout");return}this.pendingHeartbeatRef=this._makeRef(),this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:this.pendingHeartbeatRef}),this.setAuth()}}flushSendBuffer(){this.isConnected()&&this.sendBuffer.length>0&&(this.sendBuffer.forEach(t=>t()),this.sendBuffer=[])}_makeRef(){let t=this.ref+1;return t===this.ref?this.ref=0:this.ref=t,this.ref.toString()}_leaveOpenTopic(t){let n=this.channels.find(r=>r.topic===t&&(r._isJoined()||r._isJoining()));n&&(this.log("transport",`leaving duplicate topic "${t}"`),n.unsubscribe())}_remove(t){this.channels=this.channels.filter(n=>n._joinRef()!==t._joinRef())}setupConnection(){this.conn&&(this.conn.binaryType="arraybuffer",this.conn.onopen=()=>this._onConnOpen(),this.conn.onerror=t=>this._onConnError(t),this.conn.onmessage=t=>
72this._onConnMessage(t),this.conn.onclose=t=>this._onConnClose(t))}_onConnMessage(t){this.decode(t.data,n=>{let{topic:r,event:i,payload:A,ref:s}=n;s&&s===this.pendingHeartbeatRef&&(this.pendingHeartbeatRef=null),this.log("receive",`${A.status||""} ${r} ${i} ${s&&"("+s+")"||""}`,A),this.channels.filter(a=>a._isMember(r)).forEach(a=>a._trigger(i,A,s)),this.stateChangeCallbacks.message.forEach(a=>a(n))})}async _onConnOpen(){if(this.log("transport",`connected to ${this.endpointURL()}`),this.flushSendBuffer(),this.reconnectTimer.reset(),!this.worker)this.heartbeatTimer&&clearInterval(this.heartbeatTimer),this.heartbeatTimer=setInterval(()=>this.sendHeartbeat(),this.heartbeatIntervalMs);else{this.workerUrl?this.log("worker",`starting worker for from ${this.workerUrl}`):this.log("worker","starting default worker");const t=this._workerObjectUrl(this.workerUrl);this.workerRef=new Worker(t),this.workerRef.onerror=n=>{this.log("worker","worker error",n.message),this.workerRef.terminate()},this.workerRef.onmessage=n=>{n.data.event==="keepAlive"&&this.sendHeartbeat()},this.workerRef.postMessage({event:"start",interval:this.heartbeatIntervalMs})}this.stateChangeCallbacks.open.forEach(t=>t())}_onConnClose(t){this.log("transport","close",t),this._triggerChanError(),this.heartbeatTimer&&clearInterval(this.heartbeatTimer),this.reconnectTimer.scheduleTimeout(),this.stateChangeCallbacks.close.forEach(n=>n(t))}_onConnError(t){this.log("transport",t.message),this._triggerChanError(),this.stateChangeCallbacks.error.forEach(n=>n(t))}_triggerChanError(){this.channels.forEach(t=>t._trigger(ys.error))}_appendParams(t,n){if(Object.keys(n).length===0)return t;const r=t.match(/\?/)?"&":"?",i=new URLSearchParams(n);return`${t}${r}${i}`}_workerObjectUrl(t){let n;if(t)n=t;else{const r=new Blob([FL],{type:"application/javascript"});n=URL.createObjectURL(r)}return n}}class EL{constructor(t,n,r){this.binaryType="arraybuffer",this.onclose=()=>{},this.onerror=()=>{},this.onmessage=()=>{},this.onopen=()=>{},this.readyState=ef.connecting,this.send=()=>{},this.url=null,this.url=t,this.close=r.close}}class e2 extends Error{constructor(t){super(t),this.__isStorageError=!0,this.name="StorageError"}}function Rr(e){return typeof e=="object"&&e!==null&&"__isStorageError"in e}class _L extends e2{constructor(t,n){super(t),this.name="StorageApiError",this.status=n}toJSON(){return{name:this.name,message:this.message,status:this.status}}}class fy extends e2{constructor(t,n){super(t),this.name="StorageUnknownError",this.originalError=n}}var UL=function(e,t,n,r){function i(A){return A instanceof n?A:new n(function(s){s(A)})}return new(n||(n=Promise))(function(A,s){function a(l){try{u(r.next(l))}catch(c){s(c)}}function o(l){try{u(r.throw(l))}catch(c){s(c)}}function u(l){l.done?A(l.value):i(l.value).then(a,o)}u((r=r.apply(e,t||[])).next())})};const VF=e=>{let t;return e?t=e:typeof fetch>"u"?t=(...n)=>Jo(async()=>{const{default:r}=await Promise.resolve().then(()=>bf);return{default:r}},void 0).then(({default:r})=>r(...n)):t=fetch,(...n)=>t(...n)},QL=()=>UL(void 0,void 0,void 0,function*(){return typeof Response>"u"?(yield Jo(()=>Promise.resolve().then(()=>bf),void 0)).Response:Response}),hy=e=>{if(Array.isArray(e))return e.map(n=>hy(n));if(typeof e=="function"||e!==Object(e))return e;const t={};return Object.entries(e).forEach(([n,r])=>{const i=n.replace(/([-_][a-z])/gi,A=>A.toUpperCase().replace(/[-_]/g,""));t[i]=hy(r)}),t};var xu=function(e,t,n,r){function i(A){return A instanceof n?A:new n(function(s){s(A)})}return new(n||(n=Promise))(function(A,s){function a(l){try{u(r.next(l))}catch(c){s(c)}}function o(l){try{u(r.throw(l))}catch(c){s(c)}}function u(l){l.done?A(l.value):i(l.value).then(a,o)}u((r=r.apply(e,t||[])).next())})};const E1=e=>e.msg||e.message||e.error_description||e.error||JSON.stringify(e),kL=(e,t,n)=>xu(void 0,void 0,void 0,function*(){const r=yield QL();e instanceof r&&!(n!=null&&n.noResolveJson)?e.json().then(i=>{t(new _L(E1(i),e.status||500))}).catch(i=>{t(new fy(E1(i),i))}):t(new fy(E1(e),e))}),IL=(e,t,n,r)=>{const i={method:e,headers:(t==null?void 0:t.headers)||{}};return e==="GET"?i:(i.headers=Object.assign({"Content-Type":"application/json"},t==null?void 0:t.headers),r&&(i.body=JSON.stringify(r)),Object.assign(Object.assign({},i),n))};function Id(e,t,n,r,i,A){return xu(this,void 0,void 0,function*(){return new Promise((s,a)=>{e(n,IL(t,r,i,A)).then(o=>{if(!o.ok)throw o;return r!=null&&r.noResolveJson?o:o.json()}).then(o=>s(o)).catch(o=>kL(o,a,r))})})}function am(e,t,n,r){return xu(this,void 0,void 0,function*(){return Id(e,"GET",t,n,r)})}function za(e,t,n,r,i){return xu(this,void 0,void 0,function*(){return Id(e,"POST",t,r,i,n)})}function LL(e,t,n,r,i){return xu(this,void 0,void 0,function*(){return Id(e,"PUT",t,r,i,n)})}function jL(e,t,n,r){return xu(this,void 0,void 0,function*(){return Id(e,"HEAD",t,Object.assign(Object.assign({},n),{noResolveJson:!0}),r)})}function GF(e,t,n,r,i){return xu(this,void 0,void 0,function*(){return Id(e,"DELETE",t,r,i,n)})}var Zi=function(e,t,n,r){function i(A){return A instanceof n?A:new n(function(s){s(A)})}
72return new(n||(n=Promise))(function(A,s){function a(l){try{u(r.next(l))}catch(c){s(c)}}function o(l){try{u(r.throw(l))}catch(c){s(c)}}function u(l){l.done?A(l.value):i(l.value).then(a,o)}u((r=r.apply(e,t||[])).next())})};const NL={limit:100,offset:0,sortBy:{column:"name",order:"asc"}},fx={cacheControl:"3600",contentType:"text/plain;charset=UTF-8",upsert:!1};class PL{constructor(t,n={},r,i){this.url=t,this.headers=n,this.bucketId=r,this.fetch=VF(i)}uploadOrUpdate(t,n,r,i){return Zi(this,void 0,void 0,function*(){try{let A;const s=Object.assign(Object.assign({},fx),i);let a=Object.assign(Object.assign({},this.headers),t==="POST"&&{"x-upsert":String(s.upsert)});const o=s.metadata;typeof Blob<"u"&&r instanceof Blob?(A=new FormData,A.append("cacheControl",s.cacheControl),o&&A.append("metadata",this.encodeMetadata(o)),A.append("",r)):typeof FormData<"u"&&r instanceof FormData?(A=r,A.append("cacheControl",s.cacheControl),o&&A.append("metadata",this.encodeMetadata(o))):(A=r,a["cache-control"]=`max-age=${s.cacheControl}`,a["content-type"]=s.contentType,o&&(a["x-metadata"]=this.toBase64(this.encodeMetadata(o)))),i!=null&&i.headers&&(a=Object.assign(Object.assign({},a),i.headers));const u=this._removeEmptyFolders(n),l=this._getFinalPath(u),c=yield this.fetch(`${this.url}/object/${l}`,Object.assign({method:t,body:A,headers:a},s!=null&&s.duplex?{duplex:s.duplex}:{})),p=yield c.json();return c.ok?{data:{path:u,id:p.Id,fullPath:p.Key},error:null}:{data:null,error:p}}catch(A){if(Rr(A))return{data:null,error:A};throw A}})}upload(t,n,r){return Zi(this,void 0,void 0,function*(){return this.uploadOrUpdate("POST",t,n,r)})}uploadToSignedUrl(t,n,r,i){return Zi(this,void 0,void 0,function*(){const A=this._removeEmptyFolders(t),s=this._getFinalPath(A),a=new URL(this.url+`/object/upload/sign/${s}`);a.searchParams.set("token",n);try{let o;const u=Object.assign({upsert:fx.upsert},i),l=Object.assign(Object.assign({},this.headers),{"x-upsert":String(u.upsert)});typeof Blob<"u"&&r instanceof Blob?(o=new FormData,o.append("cacheControl",u.cacheControl),o.append("",r)):typeof FormData<"u"&&r instanceof FormData?(o=r,o.append("cacheControl",u.cacheControl)):(o=r,l["cache-control"]=`max-age=${u.cacheControl}`,l["content-type"]=u.contentType);const c=yield this.fetch(a.toString(),{method:"PUT",body:o,headers:l}),p=yield c.json();return c.ok?{data:{path:A,fullPath:p.Key},error:null}:{data:null,error:p}}catch(o){if(Rr(o))return{data:null,error:o};throw o}})}createSignedUploadUrl(t,n){return Zi(this,void 0,void 0,function*(){try{let r=this._getFinalPath(t);const i=Object.assign({},this.headers);n!=null&&n.upsert&&(i["x-upsert"]="true");const A=yield za(this.fetch,`${this.url}/object/upload/sign/${r}`,{},{headers:i}),s=new URL(this.url+A.url),a=s.searchParams.get("token");if(!a)throw new e2("No token returned by API");return{data:{signedUrl:s.toString(),path:t,token:a},error:null}}catch(r){if(Rr(r))return{data:null,error:r};throw r}})}update(t,n,r){return Zi(this,void 0,void 0,function*(){return this.uploadOrUpdate("PUT",t,n,r)})}move(t,n,r){return Zi(this,void 0,void 0,function*(){try{return{data:yield za(this.fetch,`${this.url}/object/move`,{bucketId:this.bucketId,sourceKey:t,destinationKey:n,destinationBucket:r==null?void 0:r.destinationBucket},{headers:this.headers}),error:null}}catch(i){if(Rr(i))return{data:null,error:i};throw i}})}copy(t,n,r){return Zi(this,void 0,void 0,function*(){try{return{data:{path:(yield za(this.fetch,`${this.url}/object/copy`,{bucketId:this.bucketId,sourceKey:t,destinationKey:n,destinationBucket:r==null?void 0:r.destinationBucket},{headers:this.headers})).Key},error:null}}catch(i){if(Rr(i))return{data:null,error:i};throw i}})}createSignedUrl(t,n,r){return Zi(this,void 0,void 0,function*(){try{let i=this._getFinalPath(t),A=yield za(this.fetch,`${this.url}/object/sign/${i}`,Object.assign({expiresIn:n},r!=null&&r.transform?{transform:r.transform}:{}),{headers:this.headers});const s=r!=null&&r.download?`&download=${r.download===!0?"":r.download}`:"";return A={signedUrl:encodeURI(`${this.url}${A.signedURL}${s}`)},{data:A,error:null}}catch(i){if(Rr(i))return{data:null,error:i};throw i}})}createSignedUrls(t,n,r){return Zi(this,void 0,void 0,function*(){try{const i=yield za(this.fetch,`${this.url}/object/sign/${this.bucketId}`,{expiresIn:n,paths:t},{headers:this.headers}),A=r!=null&&r.download?`&download=${r.download===!0?"":r.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(Rr(i))return{data:null,error:i};throw i}})}download(t,n){return Zi(this,void 0,void 0,function*(){const i=typeof(n==null?void 0:n.transform)<"u"?"render/image/authenticated":"object",A=this.transformOptsToQueryString((n==null?void 0:n.transform)||{}),s=A?`?${A}
72`:"";try{const a=this._getFinalPath(t);return{data:yield(yield am(this.fetch,`${this.url}/${i}/${a}${s}`,{headers:this.headers,noResolveJson:!0})).blob(),error:null}}catch(a){if(Rr(a))return{data:null,error:a};throw a}})}info(t){return Zi(this,void 0,void 0,function*(){const n=this._getFinalPath(t);try{const r=yield am(this.fetch,`${this.url}/object/info/${n}`,{headers:this.headers});return{data:hy(r),error:null}}catch(r){if(Rr(r))return{data:null,error:r};throw r}})}exists(t){return Zi(this,void 0,void 0,function*(){const n=this._getFinalPath(t);try{return yield jL(this.fetch,`${this.url}/object/${n}`,{headers:this.headers}),{data:!0,error:null}}catch(r){if(Rr(r)&&r instanceof fy){const i=r.originalError;if([400,404].includes(i==null?void 0:i.status))return{data:!1,error:r}}throw r}})}getPublicUrl(t,n){const r=this._getFinalPath(t),i=[],A=n!=null&&n.download?`download=${n.download===!0?"":n.download}`:"";A!==""&&i.push(A);const a=typeof(n==null?void 0:n.transform)<"u"?"render/image":"object",o=this.transformOptsToQueryString((n==null?void 0:n.transform)||{});o!==""&&i.push(o);let u=i.join("&");return u!==""&&(u=`?${u}`),{data:{publicUrl:encodeURI(`${this.url}/${a}/public/${r}${u}`)}}}remove(t){return Zi(this,void 0,void 0,function*(){try{return{data:yield GF(this.fetch,`${this.url}/object/${this.bucketId}`,{prefixes:t},{headers:this.headers}),error:null}}catch(n){if(Rr(n))return{data:null,error:n};throw n}})}list(t,n,r){return Zi(this,void 0,void 0,function*(){try{const i=Object.assign(Object.assign(Object.assign({},NL),n),{prefix:t||""});return{data:yield za(this.fetch,`${this.url}/object/list/${this.bucketId}`,i,{headers:this.headers},r),error:null}}catch(i){if(Rr(i))return{data:null,error:i};throw i}})}encodeMetadata(t){return JSON.stringify(t)}toBase64(t){return typeof Buffer<"u"?Buffer.from(t).toString("base64"):btoa(t)}_getFinalPath(t){return`${this.bucketId}/${t}`}_removeEmptyFolders(t){return t.replace(/^\/|\/$/g,"").replace(/\/+/g,"/")}transformOptsToQueryString(t){const n=[];return t.width&&n.push(`width=${t.width}`),t.height&&n.push(`height=${t.height}`),t.resize&&n.push(`resize=${t.resize}`),t.format&&n.push(`format=${t.format}`),t.quality&&n.push(`quality=${t.quality}`),n.join("&")}}const TL="2.7.1",OL={"X-Client-Info":`storage-js/${TL}`};var yc=function(e,t,n,r){function i(A){return A instanceof n?A:new n(function(s){s(A)})}return new(n||(n=Promise))(function(A,s){function a(l){try{u(r.next(l))}catch(c){s(c)}}function o(l){try{u(r.throw(l))}catch(c){s(c)}}function u(l){l.done?A(l.value):i(l.value).then(a,o)}u((r=r.apply(e,t||[])).next())})};class RL{constructor(t,n={},r){this.url=t,this.headers=Object.assign(Object.assign({},OL),n),this.fetch=VF(r)}listBuckets(){return yc(this,void 0,void 0,function*(){try{return{data:yield am(this.fetch,`${this.url}/bucket`,{headers:this.headers}),error:null}}catch(t){if(Rr(t))return{data:null,error:t};throw t}})}getBucket(t){return yc(this,void 0,void 0,function*(){try{return{data:yield am(this.fetch,`${this.url}/bucket/${t}`,{headers:this.headers}),error:null}}catch(n){if(Rr(n))return{data:null,error:n};throw n}})}createBucket(t,n={public:!1}){return yc(this,void 0,void 0,function*(){try{return{data:yield za(this.fetch,`${this.url}/bucket`,{id:t,name:t,public:n.public,file_size_limit:n.fileSizeLimit,allowed_mime_types:n.allowedMimeTypes},{headers:this.headers}),error:null}}catch(r){if(Rr(r))return{data:null,error:r};throw r}})}updateBucket(t,n){return yc(this,void 0,void 0,function*(){try{return{data:yield LL(this.fetch,`${this.url}/bucket/${t}`,{id:t,name:t,public:n.public,file_size_limit:n.fileSizeLimit,allowed_mime_types:n.allowedMimeTypes},{headers:this.headers}),error:null}}catch(r){if(Rr(r))return{data:null,error:r};throw r}})}emptyBucket(t){return yc(this,void 0,void 0,function*(){try{return{data:yield za(this.fetch,`${this.url}/bucket/${t}/empty`,{},{headers:this.headers}),error:null}}catch(n){if(Rr(n))return{data:null,error:n};throw n}})}deleteBucket(t){return yc(this,void 0,void 0,function*(){try{return{data:yield GF(this.fetch,`${this.url}/bucket/${t}`,{},{headers:this.headers}),error:null}}catch(n){if(Rr(n))return{data:null,error:n};throw n}})}}class DL extends RL{constructor(t,n={},r){super(t,n,r)}from(t){return new PL(this.url,this.headers,t,this.fetch)}}const HL="2.49.4";let Fh="";typeof Deno<"u"?Fh="deno":typeof document<"u"?Fh="web":typeof navigator<"u"&&navigator.product==="ReactNative"?Fh="react-native":Fh="node";const ML={"X-Client-Info":`supabase-js-${Fh}/${HL}`},KL={headers:ML},zL={schema:"public"},VL={autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,flowType:"implicit"},GL={};var $L=function(e,t,n,r){function i(A){return A instanceof n?A:new n(function(s){s(A)})}
72return new(n||(n=Promise))(function(A,s){function a(l){try{u(r.next(l))}catch(c){s(c)}}function o(l){try{u(r.throw(l))}catch(c){s(c)}}function u(l){l.done?A(l.value):i(l.value).then(a,o)}u((r=r.apply(e,t||[])).next())})};const WL=e=>{let t;return e?t=e:typeof fetch>"u"?t=QF:t=fetch,(...n)=>t(...n)},qL=()=>typeof Headers>"u"?kF:Headers,JL=(e,t,n)=>{const r=WL(n),i=qL();return(A,s)=>$L(void 0,void 0,void 0,function*(){var a;const o=(a=yield t())!==null&&a!==void 0?a:e;let u=new i(s==null?void 0:s.headers);return u.has("apikey")||u.set("apikey",e),u.has("Authorization")||u.set("Authorization",`Bearer ${o}`),r(A,Object.assign(Object.assign({},s),{headers:u}))})};var XL=function(e,t,n,r){function i(A){return A instanceof n?A:new n(function(s){s(A)})}return new(n||(n=Promise))(function(A,s){function a(l){try{u(r.next(l))}catch(c){s(c)}}function o(l){try{u(r.throw(l))}catch(c){s(c)}}function u(l){l.done?A(l.value):i(l.value).then(a,o)}u((r=r.apply(e,t||[])).next())})};function YL(e){return e.replace(/\/$/,"")}function ZL(e,t){const{db:n,auth:r,realtime:i,global:A}=e,{db:s,auth:a,realtime:o,global:u}=t,l={db:Object.assign(Object.assign({},s),n),auth:Object.assign(Object.assign({},a),r),realtime:Object.assign(Object.assign({},o),i),global:Object.assign(Object.assign({},u),A),accessToken:()=>XL(this,void 0,void 0,function*(){return""})};return e.accessToken?l.accessToken=e.accessToken:delete l.accessToken,l}const $F="2.69.1",Uc=30*1e3,dy=3,_1=dy*Uc,ej="http://localhost:9999",tj="supabase.auth.token",nj={"X-Client-Info":`gotrue-js/${$F}`},py="X-Supabase-Api-Version",WF={"2024-01-01":{timestamp:Date.parse("2024-01-01T00:00:00.0Z"),name:"2024-01-01"}},rj=/^([a-z0-9_-]{4})*($|[a-z0-9_-]{3}$|[a-z0-9_-]{2}$)$/i,ij=6e5;class t2 extends Error{constructor(t,n,r){super(t),this.__isAuthError=!0,this.name="AuthError",this.status=n,this.code=r}}function Jt(e){return typeof e=="object"&&e!==null&&"__isAuthError"in e}class Aj extends t2{constructor(t,n,r){super(t,n,r),this.name="AuthApiError",this.status=n,this.code=r}}function sj(e){return Jt(e)&&e.name==="AuthApiError"}class qF extends t2{constructor(t,n){super(t),this.name="AuthUnknownError",this.originalError=n}}class yl extends t2{constructor(t,n,r,i){super(t,r,i),this.name=n,this.status=r}}class Da extends yl{constructor(){super("Auth session missing!","AuthSessionMissingError",400,void 0)}}function oj(e){return Jt(e)&&e.name==="AuthSessionMissingError"}class U1 extends yl{constructor(){super("Auth session or user missing","AuthInvalidToken
72ResponseError",500,void 0)}}class Gp extends yl{constructor(t){super(t,"AuthInvalidCredentialsError",400,void 0)}}class $p extends yl{constructor(t,n=null){super(t,"AuthImplicitGrantRedirectError",500,void 0),this.details=null,this.details=n}toJSON(){return{name:this.name,message:this.message,status:this.status,details:this.details}}}function aj(e){return Jt(e)&&e.name==="AuthImplicitGrantRedirectError"}class hx extends yl{constructor(t,n=null){super(t,"AuthPKCEGrantCodeExchangeError",500,void 0),this.details=null,this.details=n}toJSON(){return{name:this.name,message:this.message,status:this.status,details:this.details}}}class gy extends yl{constructor(t,n){super(t,"AuthRetryableFetchError",n,void 0)}}function Q1(e){return Jt(e)&&e.name==="AuthRetryableFetchError"}class dx extends yl{constructor(t,n,r){super(t,"AuthWeakPasswordError",n,"weak_password"),this.reasons=r}}class Mh extends yl{constructor(t){super(t,"AuthInvalidJwtError",400,"invalid_jwt")}}const px="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".split(""),gx=` 	
73\r=`.split(""),lj=(()=>{const e=new Array(128);for(let t=0;t<e.length;t+=1)e[t]=-1;for(let t=0;t<gx.length;t+=1)e[gx[t].charCodeAt(0)]=-2;for(let t=0;t<px.length;t+=1)e[px[t].charCodeAt(0)]=t;return e})();function JF(e,t,n){const r=lj[e];if(r>-1)for(t.queue=t.queue<<6|r,t.queuedBits+=6;t.queuedBits>=8;)n(t.queue>>t.queuedBits-8&255),t.queuedBits-=8;else{if(r===-2)return;throw new Error(`Invalid Base64-URL character "${String.fromCharCode(e)}"`)}}function mx(e){const t=[],n=s=>{t.push(String.fromCodePoint(s))},r={utf8seq:0,codepoint:0},i={queue:0,queuedBits:0},A=s=>{fj(s,r,n)};for(let s=0;s<e.length;s+=1)JF(e.charCodeAt(s),i,A);return t.join("")}function uj(e,t){if(e<=127){t(e);return}else if(e<=2047){t(192|e>>6),t(128|e&63);return}else if(e<=65535){t(224|e>>12),t(128|e>>6&63),t(128|e&63);return}else if(e<=1114111){t(240|e>>18),t(128|e>>12&63),t(128|e>>6&63),t(128|e&63);return}throw new Error(`Unrecognized Unicode codepoint: ${e.toString(16)}`)}function cj(e,t){for(let n=0;n<e.length;n+=1){let r=e.charCodeAt(n);if(r>55295&&r<=56319){const i=(r-55296)*1024&65535;r=(e.charCodeAt(n+1)-56320&65535|i)+65536,n+=1}uj(r,t)}}function fj(e,t,n){if(t.utf8seq===0){if(e<=127){n(e);return}for(let r=1;r<6;r+=1)if(!(e>>7-r&1)){t.utf8seq=r;break}if(t.utf8seq===2)t.codepoint=e&31;else if(t.utf8seq===3)t.codepoint=e&15;else if(t.utf8seq===4)t.codepoint=e&7;else throw new Error("Invalid UTF-8 sequence");t.utf8seq-=1}else if(t.utf8seq>0){if(e<=127)throw new Error("Invalid UTF-8 sequence");t.codepoint=t.codepoint<<6|e&63,t.utf8seq-=1,t.utf8seq===0&&n(t.codepoint)}}function hj(e){const t=[],n={queue:0,queuedBits:0},r=i=>{t.push(i)};for(let i=0;i<e.length;i+=1)JF(e.charCodeAt(i),n,r);return new Uint8Array(t)}function dj(e){const t=[];return cj(e,n=>t.push(n)),new Uint8Array(t)}function pj(e){return Math.round(Date.now()/1e3)+e}function gj(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){const t=Math.random()*16|0;return(e=="x"?t:t&3|8).toString(16)})}const Js=()=>typeof window<"u"&&typeof document<"u",Gl={tested:!1,writable:!1},Kh=()=>{if(!Js())return!1;try{if(typeof globalThis.localStorage!="object")return!1}catch{return!1}if(Gl.tested)return Gl.writable;const e=`lswt-${Math.random()}${Math.random()}`;try{globalThis.localStorage.setItem(e,e),globalThis.localStorage.removeItem(e),Gl.tested=!0,Gl.writable=!0}catch{Gl.tested=!0,Gl.writable=!1}return Gl.writable};function mj(e){const t={},n=new URL(e);if(n.hash&&n.hash[0]==="#")try{new URLSearchParams(n.hash.substring(1)).forEach((i,A)=>{t[A]=i})}catch{}return n.searchParams.forEach((r,i)=>{t[i]=r}),t}const XF=e=>{let t;return e?t=e:typeof fetch>"u"?t=(...n)=>Jo(async()=>{const{default:r}=await Promise.resolve().then(()=>bf);return{default:r}},void 0).then(({default:r})=>r(...n)):t=fetch,(...n)=>t(...n)},wj=e=>typeof e=="object"&&e!==null&&"status"in e&&"ok"in e&&"json"in e&&typeof e.json=="function",YF=async(e,t,n)=>{await e.setItem(t,JSON.stringify(n))},Wp=async(e,t)=>{const n=await e.getItem(t);if(!n)return null;try{return JSON.parse(n)}catch{return n}},qp=async(e,t)=>{await e.removeItem(t)};class Mm{constructor(){this.promise=new Mm.promiseConstructor((t,n)=>{this.resolve=t,this.reject=n})}}Mm.promiseConstructor=Promise;function k1(e){const t=e.split(".");if(t.length!==3)throw new Mh("Invalid JWT structure");for(let r=0;r<t.length;r++)if(!rj.test(t[r]))throw new Mh("JWT not in base64url format");return{header:JSON.parse(mx(t[0])),payload:JSON.parse(mx(t[1])),signature:hj(t[2]),raw:{header:t[0],payload:t[1]}}}async function yj(e){return await new Promise(t=>{setTimeout(()=>t(null),e)})}function vj(e,t){return new Promise((r,i)=>{(async()=>{for(let A=0;A<1/0;A++)try{const s=await e(A);if(!t(A,null,s)){r(s);return}}catch(s){if(!t(A,s)){i(s);return}}})()})}function Bj(e){return("0"+e.toString(16)).substr(-2)}function xj(){const t=new Uint32Array(56);if(typeof crypto>"u"){const n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~",r=n.length;let i="";for(let A=0;A<56;A++)i+=n.charAt(Math.floor(Math.random()*r));return i}return crypto.getRandomValues(t),Array.from(t,Bj).join("")}async function bj(e){const n=new TextEncoder().encode(e),r=await crypto.subtle.digest("SHA-256",
73n),i=new Uint8Array(r);return Array.from(i).map(A=>String.fromCharCode(A)).join("")}async function Cj(e){if(!(typeof crypto<"u"&&typeof crypto.subtle<"u"&&typeof TextEncoder<"u"))return console.warn("WebCrypto API is not supported. Code challenge method will default to use plain instead of sha256."),e;const n=await bj(e);return btoa(n).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}async function vc(e,t,n=!1){const r=xj();let i=r;n&&(i+="/PASSWORD_RECOVERY"),await YF(e,`${t}-code-verifier`,i);const A=await Cj(r);return[A,r===A?"plain":"s256"]}const Fj=/^2[0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|1[0-9]|2[0-9]|3[0-1])$/i;function Sj(e){const t=e.headers.get(py);if(!t||!t.match(Fj))return null;try{return new Date(`${t}T00:00:00.0Z`)}catch{return null}}function Ej(e){if(!e)throw new Error("Missing exp claim");const t=Math.floor(Date.now()/1e3);if(e<=t)throw new Error("JWT has expired")}function _j(e){switch(e){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")}}var Uj=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const Xl=e=>e.msg||e.message||e.error_description||e.error||JSON.stringify(e),Qj=[502,503,504];async function wx(e){var t;if(!wj(e))throw new gy(Xl(e),0);if(Qj.includes(e.status))throw new gy(Xl(e),e.status);let n;try{n=await e.json()}catch(A){throw new qF(Xl(A),A)}let r;const i=Sj(e);if(i&&i.getTime()>=WF["2024-01-01"].timestamp&&typeof n=="object"&&n&&typeof n.code=="string"?r=n.code:typeof n=="object"&&n&&typeof n.error_code=="string"&&(r=n.error_code),r){if(r==="weak_password")throw new dx(Xl(n),e.status,((t=n.weak_password)===null||t===void 0?void 0:t.reasons)||[]);if(r==="session_not_found")throw new Da}else if(typeof n=="object"&&n&&typeof n.weak_password=="object"&&n.weak_password&&Array.isArray(n.weak_password.reasons)&&n.weak_password.reasons.length&&n.weak_password.reasons.reduce((A,s)=>A&&typeof s=="string",!0))throw new dx(Xl(n),e.status,n.weak_password.reasons);throw new Aj(Xl(n),e.status||500,r)}const kj=(e,t,n,r)=>{const i={method:e,headers:(t==null?void 0:t.headers)||{}};return e==="GET"?i:(i.headers=Object.assign({"Content-Type":"application/json;charset=UTF-8"},t==null?void 0:t.headers),i.body=JSON.stringify(r),Object.assign(Object.assign({},i),n))};async function An(e,t,n,r){var i;const A=Object.assign({},r==null?void 0:r.headers);A[py]||(A[py]=WF["2024-01-01"].name),r!=null&&r.jwt&&(A.Authorization=`Bearer ${r.jwt}`);const s=(i=r==null?void 0:r.query)!==null&&i!==void 0?i:{};r!=null&&r.redirectTo&&(s.redirect_to=r.redirectTo);const a=Object.keys(s).length?"?"+new URLSearchParams(s).toString():"",o=await Ij(e,t,n+a,{headers:A,noResolveJson:r==null?void 0:r.noResolveJson},{},r==null?void 0:r.body);return r!=null&&r.xform?r==null?void 0:r.xform(o):{data:Object.assign({},o),error:null}}async function Ij(e,t,n,r,i,A){const s=kj(t,r,i,A);let a;try{a=await e(n,Object.assign({},s))}catch(o){throw console.error(o),new gy(Xl(o),0)}if(a.ok||await wx(a),r!=null&&r.noResolveJson)return a;try{return await a.json()}catch(o){await wx(o)}}function Ha(e){var t;let n=null;Pj(e)&&(n=Object.assign({},e),e.expires_at||(n.expires_at=pj(e.expires_in)));const r=(t=e.user)!==null&&t!==void 0?t:e;return{data:{session:n,user:r},error:null}}function yx(e){const t=Ha(e);return!t.error&&e.weak_password&&typeof e.weak_password=="object"&&Array.isArray(e.weak_password.reasons)&&e.weak_password.reasons.length&&e.weak_password.message&&typeof e.weak_password.message=="string"&&e.weak_password.reasons.reduce((n,r)=>n&&typeof r=="string",!0)&&(t.data.weak_password=e.weak_password),t}function $a(e){var t;return{data:{user:(t=e.user)!==null&&t!==void 0?t:e},error:null}}function Lj(e){return{data:e,error:null}}function jj(e){const{action_link:t,email_otp:n,hashed_token:r,redirect_to:i,verification_type:A}=e,s=Uj(e,["action_link","email_otp","hashed_token","redirect_to","verification_type"]),a={action_link:t,email_otp:n,hashed_token:r,redirect_to:i,verification_type:A},o=Object.assign({},s);return{data:{properties:a,user:o},error:null}}function Nj(e){return e}function Pj(e){return e.access_token&&e.refresh_token&&e.expires_in}var Tj=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};class Oj{constructor({url:t="",headers:n={},fetch:r}){this.url=t,this.headers=n,this.fetch=XF(r),this.mfa={listFactors:this._listFactors.bind(this),deleteFactor:this._deleteFactor.bind(this)}}async signOut(t,n="global"){try{return await An(this.fetch,"POST",`${this.url}/logout?scope=${n}`,{headers:this.headers,jwt:t,noResolveJson:!0}),{data:null,error:null}}catch(r){if(Jt(r))return{data:null,error:r};throw r}}async inviteUserByEmail(t,n={}){try{return await An(this.fetch,"POST",`${this.url}/invite`,{body:{email:t,data:n.data},headers:this.headers,redirectTo:n.redirectTo,xform:$a})}catch(r){if(Jt(r))return{data:{user:null},error:r};throw r}}async generateLink(t){try{const{options:n}=t,r=Tj(t,["options"]),i=Object.assign(Object.assign({},r),n);return"newEmail"in r&&(i.new_email=r==null?void 0:r.newEmail,delete i.newEmail),await An(this.fetch,"POST",`${this.url}/admin/generate_link`,{body:i,headers:this.headers,xform:jj,redirectTo:n==null?void 0:n.redirectTo})}catch(n){if(Jt(n))return{data:{properties:null,user:null},error:n};throw n}}async createUser(t){try{return await An(this.fetch,"POST",`${this.url}/admin/users`,{body:t,headers:this.headers,xform:$a})}catch(n){if(Jt(n))return{data:{user:null},error:n};throw n}}async listUsers(t){var n,r,i,A,s,a,o;try{const u={nextPage:null,lastPage:0,total:0},l=await An(this.fetch,"GET",`${this.url}/admin/users`,{headers:this.headers,noResolveJson:!0,query:{page:(r=(n=t==null?void 0:t.page)===null||n===void 0?void 0:n.toString())!==null&&r!==void 0?r:"",per_page:(A=(i=t==null?void 0:t.perPage)===null||i===void 0?void 0:i.toString())!==null&&A!==void 0?A:""},xform:Nj});if(l.error)throw l.error;const c=await l.json(),p=(s=l.headers.get("x-total-count"))!==null&&s!==void 0?s:0,f=(o=(a=l.headers.get("link"))===null||a===void 0?void 0:a.split(","))!==null&&o!==void 0?o:[];return f.length>0&&(f.forEach(x=>{const b=parseInt(x.split(";")[0].split("=")[1].substring(0,1)),E=JSON.parse(x.split(";")[1].split("=")[1]);u[`${E}Page`]=b}),u.total=parseInt(p)),{data:Object.assign(Object.assign({},c),u),error:null}}catch(u){if(Jt(u))return{data:{users:[]},error:u};throw u}}async getUserById(t){try{return await An(this.fetch,"GET",`${this.url}/admin/users/${t}`,{headers:this.headers,xform:$a})}catch(n){if(Jt(n))return{data:{user:null},error:n};throw n}}async updateUserById(t,n){try{return await An(this.fetch,"PUT",`${this.url}/admin/users/${t}`,{body:n,headers:this.headers,xform:$a})}catch(r){if(Jt(r))return{data:{user:null},error:r};throw r}}
73async deleteUser(t,n=!1){try{return await An(this.fetch,"DELETE",`${this.url}/admin/users/${t}`,{headers:this.headers,body:{should_soft_delete:n},xform:$a})}catch(r){if(Jt(r))return{data:{user:null},error:r};throw r}}async _listFactors(t){try{const{data:n,error:r}=await An(this.fetch,"GET",`${this.url}/admin/users/${t.userId}/factors`,{headers:this.headers,xform:i=>({data:{factors:i},error:null})});return{data:n,error:r}}catch(n){if(Jt(n))return{data:null,error:n};throw n}}async _deleteFactor(t){try{return{data:await An(this.fetch,"DELETE",`${this.url}/admin/users/${t.userId}/factors/${t.id}`,{headers:this.headers}),error:null}}catch(n){if(Jt(n))return{data:null,error:n};throw n}}}const Rj={getItem:e=>Kh()?globalThis.localStorage.getItem(e):null,setItem:(e,t)=>{Kh()&&globalThis.localStorage.setItem(e,t)},removeItem:e=>{Kh()&&globalThis.localStorage.removeItem(e)}};function vx(e={}){return{getItem:t=>e[t]||null,setItem:(t,n)=>{e[t]=n},removeItem:t=>{delete e[t]}}}function Dj(){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)}}const Bc={debug:!!(globalThis&&Kh()&&globalThis.localStorage&&globalThis.localStorage.getItem("supabase.gotrue-js.locks.debug")==="true")};class ZF extends Error{constructor(t){super(t),this.isAcquireTimeout=!0}}class Hj extends ZF{}async function Mj(e,t,n){Bc.debug&&console.log("@supabase/gotrue-js: navigatorLock: acquire lock",e,t);const r=new globalThis.AbortController;return t>0&&setTimeout(()=>{r.abort(),Bc.debug&&console.log("@supabase/gotrue-js: navigatorLock acquire timed out",e)},t),await Promise.resolve().then(()=>globalThis.navigator.locks.request(e,t===0?{mode:"exclusive",ifAvailable:!0}:{mode:"exclusive",signal:r.signal},async i=>{if(i){Bc.debug&&console.log("@supabase/gotrue-js: navigatorLock: acquired",e,i.name);try{return await n()}finally{Bc.debug&&console.log("@supabase/gotrue-js: navigatorLock: released",e,i.name)}}else{if(t===0)throw Bc.debug&&console.log("@supabase/gotrue-js: navigatorLock: not immediately available",e),new Hj(`Acquiring an exclusive Navigator LockManager lock "${e}" immediately failed`);if(Bc.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 n()}}))}Dj();const Kj={url:ej,storageKey:tj,autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,headers:nj,flowType:"implicit",debug:!1,hasCustomAuthorizationHeader:!1};async function Bx(e,t,n){return await n()}class yd{constructor(t){var n,r;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=yd.nextInstanceID,yd.nextInstanceID+=1,this.instanceID>0&&Js()&&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({},Kj),t);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 Oj({url:i.url,headers:i.headers,fetch:i.fetch}),this.url=i.url,this.headers=i.headers,this.fetch=XF(i.fetch),this.lock=i.lock||Bx,this.detectSessionInUrl=i.detectSessionInUrl,this.flowType=i.flowType,this.hasCustomAuthorizationHeader=i.hasCustomAuthorizationHeader,i.lock?this.lock=i.lock:Js()&&(!((n=globalThis==null?void 0:globalThis.navigator)===null||n===void 0)&&n.locks)?this.lock=Mj:this.lock=Bx,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)},this.persistSession?i.storage?this.storage=i.storage:Kh()?this.storage=Rj:(this.memoryStorage={},this.storage=vx(this.memoryStorage)):(this.memoryStorage={},this.storage=vx(this.memoryStorage)),Js()&&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)}(r=this.broadcastChannel)===null||r===void 0||r.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(...t){return this.logDebugMessages&&this.logger(`GoTrueClient@${this.instanceID} (${$F}) ${new Date().toISOString()}`,...t),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 t;try{const n=mj(window.location.href);let r="none";if(this._isImplicitGrantCallback(n)?r="implicit":await this._isPKCECallback(n)&&(r="pkce"),Js()&&this.detectSessionInUrl&&r!=="none"){const{data:i,error:A}=await this._getSessionFromURL(n,r);if(A){if(this._debug("#_initialize()","error detecting session from URL",A),aj(A)){const o=(t=A.details)===null||t===void 0?void 0:t.code;if(o==="identity_already_exists"||o==="identity_not_found"||o==="single_identity_not_deletable")return{error:A}}return await this._removeSession(),{error:A}}const{session:s,redirectType:a}=i;return this._debug("#_initialize()","detected session in URL",s,"redirect type",a),await this._saveSession(s),setTimeout(async()=>{a==="recovery"?await this._notifyAllSubscribers("PASSWORD_RECOVERY",s):await this._notifyAllSubscribers("SIGNED_IN",s)},0),{error:null}}return await this._recoverAndRefresh(),{error:null}}catch(n){return Jt(n)?{error:n}:{error:new qF("Unexpected error during initialization",n)}}finally{await this._handleVisibilityChange(),this._debug("#_initialize()","end")}}async signInAnonymously(t){var n,r,i;try{const A=await An(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,body:{data:(r=(n=t==null?void 0:t.options)===null||n===void 0?void 0:n.data)!==null&&r!==void 0?r:{},gotrue_meta_security:{captcha_token:(i=t==null?void 0:t.options)===null||i===void 0?void 0:i.captchaToken}},xform:Ha}),{data:s,error:a}=A;if(a||!s)return{data:{user:null,session:null},error:a};const o=s.session,u=s.user;return s.session&&(await this._saveSession(s.session),await this._notifyAllSubscribers("SIGNED_IN",o)),{data:{user:u,session:o},error:null}}catch(A){if(Jt(A))return{data:{user:null,session:null},error:A};throw A}}async signUp(t){var n,r,i;try{let A;if("email"in t){const{email:l,password:c,options:p}=t;let f=null,x=null;this.flowType==="pkce"&&([f,x]=await vc(this.storage,this.storageKey)),A=await An(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,redirectTo:p==null?void 0:p.emailRedirectTo,body:{email:l,password:c,data:(n=p==null?void 0:p.data)!==null&&n!==void 0?n:{},gotrue_meta_security:{captcha_token:p==null?void 0:p.captchaToken},code_challenge:f,code_challenge_method:x},xform:Ha})}else if("phone"in t){const{phone:l,password:c,options:p}=t;A=await An(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,body:{phone:l,password:c,data:(r=p==null?void 0:p.data)!==null&&r!==void 0?r:{},channel:(i=p==null?void 0:p.channel)!==null&&i!==void 0?i:"sms",gotrue_meta_security:{captcha_token:p==null?void 0:p.captchaToken}},xform:Ha})}else throw new Gp("You must provide either an email or phone number and a password");const{data:s,error:a}=A;if(a||!s)return{data:{user:null,session:null},error:a};const o=s.session,u=s.user;return s.session&&(await this._saveSession(s.session),await this._notifyAllSubscribers("SIGNED_IN",o)),{data:{user:u,session:o},error:null}}catch(A){if(Jt(A))return{data:{user:null,session:null},error:A};throw A}}async signInWithPassword(t){try{let n;if("email"in t){const{email:A,password:s,options:a}=t;n=await An(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{email:A,password:s,gotrue_meta_security:{captcha_token:a==null?void 0:a.captchaToken}},xform:yx})}else if("phone"in t){const{phone:A,password:s,options:a}=t;n=await An(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{phone:A,password:s,gotrue_meta_security:{captcha_token:a==null?void 0:a.captchaToken}},xform:yx})}else throw new Gp("You must provide either an email or phone number and a password");const{data:r,error:i}=n;return i?{data:{user:null,session:null},error:i}:!r||!r.session||!r.user?{data:{user:null,session:null},error:new U1}:(r.session&&(await this._saveSession(r.session),await this._notifyAllSubscribers("SIGNED_IN",r.session)),{data:Object.assign({user:r.user,session:r.session},r.weak_password?{weakPassword:r.weak_password}:null),error:i})}catch(n){if(Jt(n))return{data:{user:null,session:null},error:n};throw n}}async signInWithOAuth(t){var n,r,i,A;return await this._handleProviderSignIn(t.provider,{redirectTo:(n=t.options)===null||n===void 0?void 0:n.redirectTo,scopes:(r=t.options)===null||r===void 0?void 0:r.scopes,queryParams:(i=t.options)===null||i===void 0?void 0:i.queryParams,skipBrowserRedirect:(A=t.options)===null||A===void 0?void 0:A.skipBrowserRedirect})}async exchangeCodeForSession(t){return await this.initializePromise,this._acquireLock(-1,async()=>this._exchangeCodeForSession(t))}async _exchangeCodeForSession(t){const n=await Wp(this.storage,`${this.storageKey}-code-verifier`),[r,i]=(n??"").split("/");try{const{data:A,error:s}=await An(this.fetch,"POST",`${this.url}/token?grant_type=pkce`,{headers:this.headers,body:{auth_code:t,code_verifier:r},xform:Ha});if(await qp(this.storage,`${this.storageKey}-code-verifier`),s)throw s;return!A||!A.session||!A.user?{data:{user:null,session:null,redirectType:null},error:new U1}:(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(Jt(A))return{data:{user:null,session:null,redirectType:null},error:A};throw A}}async signInWithIdToken(t){try{const{options:n,provider:r,token:i,access_token:A,nonce:s}
73=t,a=await An(this.fetch,"POST",`${this.url}/token?grant_type=id_token`,{headers:this.headers,body:{provider:r,id_token:i,access_token:A,nonce:s,gotrue_meta_security:{captcha_token:n==null?void 0:n.captchaToken}},xform:Ha}),{data:o,error:u}=a;return u?{data:{user:null,session:null},error:u}:!o||!o.session||!o.user?{data:{user:null,session:null},error:new U1}:(o.session&&(await this._saveSession(o.session),await this._notifyAllSubscribers("SIGNED_IN",o.session)),{data:o,error:u})}catch(n){if(Jt(n))return{data:{user:null,session:null},error:n};throw n}}async signInWithOtp(t){var n,r,i,A,s;try{if("email"in t){const{email:a,options:o}=t;let u=null,l=null;this.flowType==="pkce"&&([u,l]=await vc(this.storage,this.storageKey));const{error:c}=await An(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{email:a,data:(n=o==null?void 0:o.data)!==null&&n!==void 0?n:{},create_user:(r=o==null?void 0:o.shouldCreateUser)!==null&&r!==void 0?r:!0,gotrue_meta_security:{captcha_token:o==null?void 0:o.captchaToken},code_challenge:u,code_challenge_method:l},redirectTo:o==null?void 0:o.emailRedirectTo});return{data:{user:null,session:null},error:c}}if("phone"in t){const{phone:a,options:o}=t,{data:u,error:l}=await An(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{phone:a,data:(i=o==null?void 0:o.data)!==null&&i!==void 0?i:{},create_user:(A=o==null?void 0:o.shouldCreateUser)!==null&&A!==void 0?A:!0,gotrue_meta_security:{captcha_token:o==null?void 0:o.captchaToken},channel:(s=o==null?void 0:o.channel)!==null&&s!==void 0?s:"sms"}});return{data:{user:null,session:null,messageId:u==null?void 0:u.message_id},error:l}}throw new Gp("You must provide either an email or phone number.")}catch(a){if(Jt(a))return{data:{user:null,session:null},error:a};throw a}}async verifyOtp(t){var n,r;try{let i,A;"options"in t&&(i=(n=t.options)===null||n===void 0?void 0:n.redirectTo,A=(r=t.options)===null||r===void 0?void 0:r.captchaToken);const{data:s,error:a}=await An(this.fetch,"POST",`${this.url}/verify`,{headers:this.headers,body:Object.assign(Object.assign({},t),{gotrue_meta_security:{captcha_token:A}}),redirectTo:i,xform:Ha});if(a)throw a;if(!s)throw new Error("An error occurred on token verification.");const o=s.session,u=s.user;return o!=null&&o.access_token&&(await this._saveSession(o),await this._notifyAllSubscribers(t.type=="recovery"?"PASSWORD_RECOVERY":"SIGNED_IN",o)),{data:{user:u,session:o},error:null}}catch(i){if(Jt(i))return{data:{user:null,session:null},error:i};throw i}}async signInWithSSO(t){var n,r,i;try{let A=null,s=null;return this.flowType==="pkce"&&([A,s]=await vc(this.storage,this.storageKey)),await An(this.fetch,"POST",`${this.url}/sso`,{body:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},"providerId"in t?{provider_id:t.providerId}:null),"domain"in t?{domain:t.domain}:null),{redirect_to:(r=(n=t.options)===null||n===void 0?void 0:n.redirectTo)!==null&&r!==void 0?r:void 0}),!((i=t==null?void 0:t.options)===null||i===void 0)&&i.captchaToken?{gotrue_meta_security:{captcha_token:t.options.captchaToken}}:null),{skip_http_redirect:!0,code_challenge:A,code_challenge_method:s}),headers:this.headers,xform:Lj})}catch(A){if(Jt(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 t=>{const{data:{session:n},error:r}=t;if(r)throw r;if(!n)throw new Da;const{error:i}=await An(this.fetch,"GET",`${this.url}/reauthenticate`,{headers:this.headers,jwt:n.access_token});return{data:{user:null,session:null},error:i}})}catch(t){if(Jt(t))return{data:{user:null,session:null},error:t};throw t}}async resend(t){try{const n=`${this.url}/resend`;if("email"in t){const{email:r,type:i,options:A}=t,{error:s}=await An(this.fetch,"POST",n,{headers:this.headers,body:{email:r,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 t){const{phone:r,type:i,options:A}=t,{data:s,error:a}=await An(this.fetch,"POST",n,{headers:this.headers,body:{phone:r,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:a}}throw new Gp("You must provide either an email or phone number and a type")}catch(n){if(Jt(n))return{data:{user:null,session:null},error:n};throw n}}async getSession(){return await this.initializePromise,await this._acquireLock(-1,async()=>this._useSession(async n=>n))}async _acquireLock(t,n){this._debug("#_acquireLock","begin",t);try{if(this.lockAcquired){const r=this.pendingInLock.length?this.pendingInLock[this.pendingInLock.length-1]:Promise.resolve(),i=(async()=>(await r,await n()))();return this.pendingInLock.push((async()=>{try{await i}catch{}})()),i}return await this.lock(`lock:${this.storageKey}`,t,async()=>{this._debug("#_acquireLock","lock acquired for storage key",this.storageKey);try{this.lockAcquired=!0;const r=n();for(this.pendingInLock.push((async()=>{try{await r}catch{}})()),await r;this.pendingInLock.length;){const i=[...this.pendingInLock];await Promise.all(i),this.pendingInLock.splice(0,i.length)}return await r}finally{this._debug("#_acquireLock","lock released for storage key",this.storageKey),this.lockAcquired=!1}})}finally{this._debug("#_acquireLock","end")}}async _useSession(t){this._debug("#_useSession","begin");try{const n=await this.__loadSession();return await t(n)}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 t=null;const n=await Wp(this.storage,this.storageKey);if(this._debug("#getSession()","session from storage",n),n!==null&&(this._isValidSession(n)?t=n:(this._debug("#getSession()","session from storage is not val
73id"),await this._removeSession())),!t)return{data:{session:null},error:null};const r=t.expires_at?t.expires_at*1e3-Date.now()<_1:!1;if(this._debug("#__loadSession()",`session has${r?"":" not"} expired`,"expires_at",t.expires_at),!r){if(this.storage.isServer){let s=this.suppressGetSessionWarning;t=new Proxy(t,{get:(o,u,l)=>(!s&&u==="user"&&(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."),s=!0,this.suppressGetSessionWarning=!0),Reflect.get(o,u,l))})}return{data:{session:t},error:null}}const{session:i,error:A}=await this._callRefreshToken(t.refresh_token);return A?{data:{session:null},error:A}:{data:{session:i},error:null}}finally{this._debug("#__loadSession()","end")}}async getUser(t){return t?await this._getUser(t):(await this.initializePromise,await this._acquireLock(-1,async()=>await this._getUser()))}async _getUser(t){try{return t?await An(this.fetch,"GET",`${this.url}/user`,{headers:this.headers,jwt:t,xform:$a}):await this._useSession(async n=>{var r,i,A;const{data:s,error:a}=n;if(a)throw a;return!(!((r=s.session)===null||r===void 0)&&r.access_token)&&!this.hasCustomAuthorizationHeader?{data:{user:null},error:new Da}:await An(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:$a})})}catch(n){if(Jt(n))return oj(n)&&(await this._removeSession(),await qp(this.storage,`${this.storageKey}-code-verifier`)),{data:{user:null},error:n};throw n}}async updateUser(t,n={}){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._updateUser(t,n))}async _updateUser(t,n={}){try{return await this._useSession(async r=>{const{data:i,error:A}=r;if(A)throw A;if(!i.session)throw new Da;const s=i.session;let a=null,o=null;this.flowType==="pkce"&&t.email!=null&&([a,o]=await vc(this.storage,this.storageKey));const{data:u,error:l}=await An(this.fetch,"PUT",`${this.url}/user`,{headers:this.headers,redirectTo:n==null?void 0:n.emailRedirectTo,body:Object.assign(Object.assign({},t),{code_challenge:a,code_challenge_method:o}),jwt:s.access_token,xform:$a});if(l)throw l;return s.user=u.user,await this._saveSession(s),await this._notifyAllSubscribers("USER_UPDATED",s),{data:{user:s.user},error:null}})}catch(r){if(Jt(r))return{data:{user:null},error:r};throw r}}async setSession(t){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._setSession(t))}async _setSession(t){try{if(!t.access_token||!t.refresh_token)throw new Da;const n=Date.now()/1e3;let r=n,i=!0,A=null;const{payload:s}=k1(t.access_token);if(s.exp&&(r=s.exp,i=r<=n),i){const{session:a,error:o}=await this._callRefreshToken(t.refresh_token);if(o)return{data:{user:null,session:null},error:o};if(!a)return{data:{user:null,session:null},error:null};A=a}else{const{data:a,error:o}=await this._getUser(t.access_token);if(o)throw o;A={access_token:t.access_token,refresh_token:t.refresh_token,user:a.user,token_type:"bearer",expires_in:r-n,expires_at:r},await this._saveSession(A),await this._notifyAllSubscribers("SIGNED_IN",A)}return{data:{user:A.user,session:A},error:null}}catch(n){if(Jt(n))return{data:{session:null,user:null},error:n};throw n}}async refreshSession(t){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._refreshSession(t))}async _refreshSession(t){try{return await this._useSession(async n=>{var r;if(!t){const{data:s,error:a}=n;if(a)throw a;t=(r=s.session)!==null&&r!==void 0?r:void 0}if(!(t!=null&&t.refresh_token))throw new Da;const{session:i,error:A}=await this._callRefreshToken(t.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(n){if(Jt(n))return{data:{user:null,session:null},error:n};throw n}}async _getSessionFromURL(t,n){try{if(!Js())throw new $p("No browser detected.");
73if(t.error||t.error_description||t.error_code)throw new $p(t.error_description||"Error in URL with unspecified error_description",{error:t.error||"unspecified_error",code:t.error_code||"unspecified_code"});switch(n){case"implicit":if(this.flowType==="pkce")throw new hx("Not a valid PKCE flow url.");break;case"pkce":if(this.flowType==="implicit")throw new $p("Not a valid implicit grant flow url.");break;default:}if(n==="pkce"){if(this._debug("#_initialize()","begin","is PKCE flow",!0),!t.code)throw new hx("No code detected.");const{data:B,error:F}=await this._exchangeCodeForSession(t.code);if(F)throw F;const U=new URL(window.location.href);return U.searchParams.delete("code"),window.history.replaceState(window.history.state,"",U.toString()),{data:{session:B.session,redirectType:null},error:null}}const{provider_token:r,provider_refresh_token:i,access_token:A,refresh_token:s,expires_in:a,expires_at:o,token_type:u}=t;if(!A||!a||!s||!u)throw new $p("No session defined in URL");const l=Math.round(Date.now()/1e3),c=parseInt(a);let p=l+c;o&&(p=parseInt(o));const f=p-l;f*1e3<=Uc&&console.warn(`@supabase/gotrue-js: Session as retrieved from URL expires in ${f}s, should have been closer to ${c}s`);const x=p-c;l-x>=120?console.warn("@supabase/gotrue-js: Session as retrieved from URL was issued over 120s ago, URL could be stale",x,p,l):l-x<0&&console.warn("@supabase/gotrue-js: Session as retrieved from URL was issued in the future? Check the device clock for skew",x,p,l);const{data:b,error:E}=await this._getUser(A);if(E)throw E;const v={provider_token:r,provider_refresh_token:i,access_token:A,expires_in:c,expires_at:p,refresh_token:s,token_type:u,user:b.user};return window.location.hash="",this._debug("#_getSessionFromURL()","clearing window.location.hash"),{data:{session:v,redirectType:t.type},error:null}}catch(r){if(Jt(r))return{data:{session:null,redirectType:null},error:r};throw r}}_isImplicitGrantCallback(t){return!!(t.access_token||t.error_description)}async _isPKCECallback(t){const n=await Wp(this.storage,`${this.storageKey}-code-verifier`);return!!(t.code&&n)}async signOut(t={scope:"global"}){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._signOut(t))}async _signOut({scope:t}={scope:"global"}){return await this._useSession(async n=>{var r;const{data:i,error:A}=n;if(A)return{error:A};const s=(r=i.session)===null||r===void 0?void 0:r.access_token;if(s){const{error:a}=await this.admin.signOut(s,t);if(a&&!(sj(a)&&(a.status===404||a.status===401||a.status===403)))return{error:a}}return t!=="others"&&(await this._removeSession(),await qp(this.storage,`${this.storageKey}-code-verifier`)),{error:null}})}onAuthStateChange(t){const n=gj(),r={id:n,callback:t,unsubscribe:()=>{this._debug("#unsubscribe()","state change callback with id removed",n),this.stateChangeEmitters.delete(n)}};return this._debug("#onAuthStateChange()","registered callback with id",n),this.stateChangeEmitters.set(n,r),(async()=>(await this.initializePromise,await this._acquireLock(-1,async()=>{this._emitInitialSession(n)})))(),{data:{subscription:r}}}async _emitInitialSession(t){return await this._useSession(async n=>{var r,i;try{const{data:{session:A},error:s}=n;if(s)throw s;await((r=this.stateChangeEmitters.get(t))===null||r===void 0?void 0:r.callback("INITIAL_SESSION",A)),this._debug("INITIAL_SESSION","callback id",t,"session",A)}catch(A){await((i=this.stateChangeEmitters.get(t))===null||i===void 0?void 0:i.callback("INITIAL_SESSION",null)),this._debug("INITIAL_SESSION","callback id",t,"error",A),console.error(A)}})}async resetPasswordForEmail(t,n={}){let r=null,i=null;this.flowType==="pkce"&&([r,i]=await vc(this.storage,this.storageKey,!0));try{return await An(this.fetch,"POST",`${this.url}/recover`,{body:{email:t,code_challenge:r,code_challenge_method:i,gotrue_meta_security:{captcha_token:n.captchaToken}},headers:this.headers,redirectTo:n.redirectTo})}catch(A){if(Jt(A))return{data:null,error:A};throw A}}async getUserIdentities(){var t;try{const{data:n,error:r}=await this.getUser();if(r)throw r;return{data:{identities:(t=n.user.identities)!==null&&t!==void 0?t:[]},error:null}}catch(n){if(Jt(n))return{data:null,error:n};throw n}}async linkIdentity(t){var n;try{const{data:r,error:i}=await this._useSession(async A=>{var s,a,o,u,l;const{data:c,error:p}=A;if(p)throw p;const f=await this._getUrlForProvider(`${this.url}/user/identities/authorize`,t.provider,{redirectTo:(s=t.options)===null||s===void 0?void 0:s.redirectTo,scopes:(a=t.options)===null||a===void 0?void 0:a.scopes,queryParams:(o=t.options)===null||o===void 0?void 0:o.queryParams,skipBrowserRedirect:!0});return await An(this.fetch,"GET",f,{headers:this.headers,jwt:(l=(u=c.session)===null||u===void 0?void 0:u.access_token)!==null&&l!==void 0?l:void 0})});if(i)throw i;return Js()&&!(!((n=t.options)===null||n===void 0)&&n.skipBrowserRedirect)&&window.location.assign(r==null?void 0:r.url),{data:{provider:t.provider,url:r==null?void 0:r.url},error:null}}catch(r){if(Jt(r))return{data:{provider:t.provider,url:null},error:r};throw r}}async unlinkIdentity(t){try{return await this._useSession(async n=>{var r,i;const{data:A,error:s}=n;if(s)throw s;
73return await An(this.fetch,"DELETE",`${this.url}/user/identities/${t.identity_id}`,{headers:this.headers,jwt:(i=(r=A.session)===null||r===void 0?void 0:r.access_token)!==null&&i!==void 0?i:void 0})})}catch(n){if(Jt(n))return{data:null,error:n};throw n}}async _refreshAccessToken(t){const n=`#_refreshAccessToken(${t.substring(0,5)}...)`;this._debug(n,"begin");try{const r=Date.now();return await vj(async i=>(i>0&&await yj(200*Math.pow(2,i-1)),this._debug(n,"refreshing attempt",i),await An(this.fetch,"POST",`${this.url}/token?grant_type=refresh_token`,{body:{refresh_token:t},headers:this.headers,xform:Ha})),(i,A)=>{const s=200*Math.pow(2,i);return A&&Q1(A)&&Date.now()+s-r<Uc})}catch(r){if(this._debug(n,"error",r),Jt(r))return{data:{session:null,user:null},error:r};throw r}finally{this._debug(n,"end")}}_isValidSession(t){return typeof t=="object"&&t!==null&&"access_token"in t&&"refresh_token"in t&&"expires_at"in t}async _handleProviderSignIn(t,n){const r=await this._getUrlForProvider(`${this.url}/authorize`,t,{redirectTo:n.redirectTo,scopes:n.scopes,queryParams:n.queryParams});return this._debug("#_handleProviderSignIn()","provider",t,"options",n,"url",r),Js()&&!n.skipBrowserRedirect&&window.location.assign(r),{data:{provider:t,url:r},error:null}}async _recoverAndRefresh(){var t;const n="#_recoverAndRefresh()";this._debug(n,"begin");try{const r=await Wp(this.storage,this.storageKey);if(this._debug(n,"session from storage",r),!this._isValidSession(r)){this._debug(n,"session is not valid"),r!==null&&await this._removeSession();return}const i=((t=r.expires_at)!==null&&t!==void 0?t:1/0)*1e3-Date.now()<_1;if(this._debug(n,`session has${i?"":" not"} expired with margin of ${_1}s`),i){if(this.autoRefreshToken&&r.refresh_token){const{error:A}=await this._callRefreshToken(r.refresh_token);A&&(console.error(A),Q1(A)||(this._debug(n,"refresh failed with a non-retryable error, removing the session",A),await this._removeSession()))}}else await this._notifyAllSubscribers("SIGNED_IN",r)}catch(r){this._debug(n,"error",r),console.error(r);return}finally{this._debug(n,"end")}}async _callRefreshToken(t){var n,r;if(!t)throw new Da;if(this.refreshingDeferred)return this.refreshingDeferred.promise;const i=`#_callRefreshToken(${t.substring(0,5)}...)`;this._debug(i,"begin");try{this.refreshingDeferred=new Mm;const{data:A,error:s}=await this._refreshAccessToken(t);if(s)throw s;if(!A.session)throw new Da;await this._saveSession(A.session),await this._notifyAllSubscribers("TOKEN_REFRESHED",A.session);const a={session:A.session,error:null};return this.refreshingDeferred.resolve(a),a}catch(A){if(this._debug(i,"error",A),Jt(A)){const s={session:null,error:A};return Q1(A)||await this._removeSession(),(n=this.refreshingDeferred)===null||n===void 0||n.resolve(s),s}throw(r=this.refreshingDeferred)===null||r===void 0||r.reject(A),A}finally{this.refreshingDeferred=null,this._debug(i,"end")}}async _notifyAllSubscribers(t,n,r=!0){const i=`#_notifyAllSubscribers(${t})`;this._debug(i,"begin",n,`broadcast = ${r}`);try{this.broadcastChannel&&r&&this.broadcastChannel.postMessage({event:t,session:n});const A=[],s=Array.from(this.stateChangeEmitters.values()).map(async a=>{try{await a.callback(t,n)}catch(o){A.push(o)}});if(await Promise.all(s),A.length>0){for(let a=0;a<A.length;a+=1)console.error(A[a]);throw A[0]}}finally{this._debug(i,"end")}}async _saveSession(t){this._debug("#_saveSession()",t),this.suppressGetSessionWarning=!0,await YF(this.storage,this.storageKey,t)}async _removeSession(){this._debug("#_removeSession()"),await qp(this.storage,this.storageKey),await this._notifyAllSubscribers("SIGNED_OUT",null)}_removeVisibilityChangedCallback(){this._debug("#_removeVisibilityChangedCallback()");const t=this.visibilityChangedCallback;this.visibilityChangedCallback=null;try{t&&Js()&&(window!=null&&window.removeEventListener)&&window.removeEventListener("visibilitychange",t)}catch(n){console.error("removing visibilitychange callback failed",n)}}async _startAutoRefresh(){await this._stopAutoRefresh(),this._debug("#_startAutoRefresh()");const t=setInterval(()=>this._autoRefreshTokenTick(),Uc);this.autoRefreshTicker=t,t&&typeof t=="object"&&typeof t.unref=="function"?t.unref():typeof Deno<"u"&&typeof Deno.unrefTimer=="function"&&Deno.unrefTimer(t),setTimeout(async()=>{await this.initializePromise,await this._autoRefreshTokenTick()},0)}async _stopAutoRefresh(){this._debug("#_stopAutoRefresh()");const t=this.autoRefreshTicker;this.autoRefreshTicker=null,t&&clearInterval(t)}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 t=Date.now();try{return await this._useSession(async n=>{const{data:{session:r}}=n;if(!r||!r.refresh_token||!r.expires_at){this._debug("#_autoRefreshTokenTick()","no session");return}const i=Math.floor((r.expires_at*1e3-t)/Uc);this._debug("#_autoRefreshTokenTick()",`access token expires in ${i} ticks, a tick lasts ${Uc}ms, refresh threshold is ${dy} ticks`),i<=dy&&await this._callRefreshToken(r.refresh_token)})}catch(n){console.error("Auto refresh tick failed with error. This is likely a transient error.",n)}}finally{this._debug("#_autoRefreshTokenTick()","end")}})}catch(t){if(t.isAcquireTimeout||t instanceof ZF)this._debug("auto refresh token tick lock not available");else throw t}}async _handleVisibilityChange(){if(this._debug("#_handleVisibilityChange()"),!Js()||!(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(t){console.error("_handleVisibilityChange",t)}}async _onVisibilityChanged(t){const n=`#_onVisibilityChanged(${t})`;this._debug(n,"visibilityState",document.visibilityState),document.visibilityState==="visible"?(this.autoRefreshToken&&this._startAutoRefresh(),t||(await this.initializePromise,await this._acquireLock(-1,async()=>
73{if(document.visibilityState!=="visible"){this._debug(n,"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(t,n,r){const i=[`provider=${encodeURIComponent(n)}`];if(r!=null&&r.redirectTo&&i.push(`redirect_to=${encodeURIComponent(r.redirectTo)}`),r!=null&&r.scopes&&i.push(`scopes=${encodeURIComponent(r.scopes)}`),this.flowType==="pkce"){const[A,s]=await vc(this.storage,this.storageKey),a=new URLSearchParams({code_challenge:`${encodeURIComponent(A)}`,code_challenge_method:`${encodeURIComponent(s)}`});i.push(a.toString())}if(r!=null&&r.queryParams){const A=new URLSearchParams(r.queryParams);i.push(A.toString())}return r!=null&&r.skipBrowserRedirect&&i.push(`skip_http_redirect=${r.skipBrowserRedirect}`),`${t}?${i.join("&")}`}async _unenroll(t){try{return await this._useSession(async n=>{var r;const{data:i,error:A}=n;return A?{data:null,error:A}:await An(this.fetch,"DELETE",`${this.url}/factors/${t.factorId}`,{headers:this.headers,jwt:(r=i==null?void 0:i.session)===null||r===void 0?void 0:r.access_token})})}catch(n){if(Jt(n))return{data:null,error:n};throw n}}async _enroll(t){try{return await this._useSession(async n=>{var r,i;const{data:A,error:s}=n;if(s)return{data:null,error:s};const a=Object.assign({friendly_name:t.friendlyName,factor_type:t.factorType},t.factorType==="phone"?{phone:t.phone}:{issuer:t.issuer}),{data:o,error:u}=await An(this.fetch,"POST",`${this.url}/factors`,{body:a,headers:this.headers,jwt:(r=A==null?void 0:A.session)===null||r===void 0?void 0:r.access_token});return u?{data:null,error:u}:(t.factorType==="totp"&&(!((i=o==null?void 0:o.totp)===null||i===void 0)&&i.qr_code)&&(o.totp.qr_code=`data:image/svg+xml;utf-8,${o.totp.qr_code}`),{data:o,error:null})})}catch(n){if(Jt(n))return{data:null,error:n};throw n}}async _verify(t){return this._acquireLock(-1,async()=>{try{return await this._useSession(async n=>{var r;const{data:i,error:A}=n;if(A)return{data:null,error:A};const{data:s,error:a}=await An(this.fetch,"POST",`${this.url}/factors/${t.factorId}/verify`,{body:{code:t.code,challenge_id:t.challengeId},headers:this.headers,jwt:(r=i==null?void 0:i.session)===null||r===void 0?void 0:r.access_token});return a?{data:null,error:a}:(await this._saveSession(Object.assign({expires_at:Math.round(Date.now()/1e3)+s.expires_in},s)),await this._notifyAllSubscribers("MFA_CHALLENGE_VERIFIED",s),{data:s,error:a})})}catch(n){if(Jt(n))return{data:null,error:n};throw n}})}async _challenge(t){return this._acquireLock(-1,async()=>{try{return await this._useSession(async n=>{var r;const{data:i,error:A}=n;return A?{data:null,error:A}:await An(this.fetch,"POST",`${this.url}/factors/${t.factorId}/challenge`,{body:{channel:t.channel},headers:this.headers,jwt:(r=i==null?void 0:i.session)===null||r===void 0?void 0:r.access_token})})}catch(n){if(Jt(n))return{data:null,error:n};throw n}})}async _challengeAndVerify(t){const{data:n,error:r}=await this._challenge({factorId:t.factorId});return r?{data:null,error:r}:await this._verify({factorId:t.factorId,challengeId:n.id,code:t.code})}async _listFactors(){const{data:{user:t},error:n}=await this.getUser();if(n)return{data:null,error:n};const r=(t==null?void 0:t.factors)||[],i=r.filter(s=>s.factor_type==="totp"&&s.status==="verified"),A=r.filter(s=>s.factor_type==="phone"&&s.status==="verified");return{data:{all:r,totp:i,phone:A},error:null}}async _getAuthenticatorAssuranceLevel(){return this._acquireLock(-1,async()=>await this._useSession(async t=>{var n,r;const{data:{session:i},error:A}=t;if(A)return{data:null,error:A};if(!i)return{data:{currentLevel:null,nextLevel:null,currentAuthenticationMethods:[]},error:null};const{payload:s}=k1(i.access_token);let a=null;s.aal&&(a=s.aal);let o=a;((r=(n=i.user.factors)===null||n===void 0?void 0:n.filter(c=>c.status==="verified"))!==null&&r!==void 0?r:[]).length>0&&(o="aal2");const l=s.amr||[];return{data:{currentLevel:a,nextLevel:o,currentAuthenticationMethods:l},error:null}}))}async fetchJwk(t,n={keys:[]}){let r=n.keys.find(s=>s.kid===t);if(r||(r=this.jwks.keys.find(s=>s.kid===t),r&&this.jwks_cached_at+ij>Date.now()))return r;const{data:i,error:A}=await An(this.fetch,"GET",`${this.url}/.well-known/jwks.json`,{headers:this.headers});if(A)throw A;if(!i.keys||i.keys.length===0)throw new Mh("JWKS is empty");if(this.jwks=i,this.jwks_cached_at=Date.now(),r=i.keys.find(s=>s.kid===t),!r)throw new Mh("No matching signing key found in JWKS");return r}async getClaims(t,n={keys:[]}){try{let r=t;if(!r){const{data:f,error:x}
73=await this.getSession();if(x||!f.session)return{data:null,error:x};r=f.session.access_token}const{header:i,payload:A,signature:s,raw:{header:a,payload:o}}=k1(r);if(Ej(A.exp),!i.kid||i.alg==="HS256"||!("crypto"in globalThis&&"subtle"in globalThis.crypto)){const{error:f}=await this.getUser(r);if(f)throw f;return{data:{claims:A,header:i,signature:s},error:null}}const u=_j(i.alg),l=await this.fetchJwk(i.kid,n),c=await crypto.subtle.importKey("jwk",l,u,!0,["verify"]);if(!await crypto.subtle.verify(u,c,s,dj(`${a}.${o}`)))throw new Mh("Invalid JWT signature");return{data:{claims:A,header:i,signature:s},error:null}}catch(r){if(Jt(r))return{data:null,error:r};throw r}}}yd.nextInstanceID=0;const zj=yd;class Vj extends zj{constructor(t){super(t)}}var Gj=function(e,t,n,r){function i(A){return A instanceof n?A:new n(function(s){s(A)})}return new(n||(n=Promise))(function(A,s){function a(l){try{u(r.next(l))}catch(c){s(c)}}function o(l){try{u(r.throw(l))}catch(c){s(c)}}function u(l){l.done?A(l.value):i(l.value).then(a,o)}u((r=r.apply(e,t||[])).next())})};class $j{constructor(t,n,r){var i,A,s;if(this.supabaseUrl=t,this.supabaseKey=n,!t)throw new Error("supabaseUrl is required.");if(!n)throw new Error("supabaseKey is required.");const a=YL(t);this.realtimeUrl=`${a}/realtime/v1`.replace(/^http/i,"ws"),this.authUrl=`${a}/auth/v1`,this.storageUrl=`${a}/storage/v1`,this.functionsUrl=`${a}/functions/v1`;const o=`sb-${new URL(this.authUrl).hostname.split(".")[0]}-auth-token`,u={db:zL,realtime:GL,auth:Object.assign(Object.assign({},VL),{storageKey:o}),global:KL},l=ZL(r??{},u);this.storageKey=(i=l.auth.storageKey)!==null&&i!==void 0?i:"",this.headers=(A=l.global.headers)!==null&&A!==void 0?A:{},l.accessToken?(this.accessToken=l.accessToken,this.auth=new Proxy({},{get:(c,p)=>{throw new Error(`@supabase/supabase-js: Supabase Client is configured with the accessToken option, accessing supabase.auth.${String(p)} is not possible`)}})):this.auth=this._initSupabaseAuthClient((s=l.auth)!==null&&s!==void 0?s:{},this.headers,l.global.fetch),this.fetch=JL(n,this._getAccessToken.bind(this),l.global.fetch),this.realtime=this._initRealtimeClient(Object.assign({headers:this.headers,accessToken:this._getAccessToken.bind(this)},l.realtime)),this.rest=new cL(`${a}/rest/v1`,{headers:this.headers,schema:l.db.schema,fetch:this.fetch}),l.accessToken||this._listenForAuthEvents()}get functions(){return new HI(this.functionsUrl,{headers:this.headers,customFetch:this.fetch})}get storage(){return new DL(this.storageUrl,this.headers,this.fetch)}from(t){return this.rest.from(t)}schema(t){return this.rest.schema(t)}rpc(t,n={},r={}){return this.rest.rpc(t,n,r)}channel(t,n={config:{}}){return this.realtime.channel(t,n)}getChannels(){return this.realtime.getChannels()}removeChannel(t){return this.realtime.removeChannel(t)}removeAllChannels(){return this.realtime.removeAllChannels()}_getAccessToken(){var t,n;return Gj(this,void 0,void 0,function*(){if(this.accessToken)return yield this.accessToken();const{data:r}=yield this.auth.getSession();return(n=(t=r.session)===null||t===void 0?void 0:t.access_token)!==null&&n!==void 0?n:null})}_initSupabaseAuthClient({autoRefreshToken:t,persistSession:n,detectSessionInUrl:r,storage:i,storageKey:A,flowType:s,lock:a,debug:o},u,l){const c={Authorization:`Bearer ${this.supabaseKey}`,apikey:`${this.supabaseKey}`};return new Vj({url:this.authUrl,headers:Object.assign(Object.assign({},c),u),storageKey:A,autoRefreshToken:t,persistSession:n,detectSessionInUrl:r,storage:i,flowType:s,lock:a,debug:o,fetch:l,hasCustomAuthorizationHeader:"Authorization"in this.headers})}_initRealtimeClient(t){return new SL(this.realtimeUrl,Object.assign(Object.assign({},t),{params:Object.assign({apikey:this.supabaseKey},t==null?void 0:t.params)}))}_listenForAuthEvents(){return this.auth.onAuthStateChange((n,r)=>{this._handleTokenChanged(n,"CLIENT",r==null?void 0:r.access_token)})}_handleTokenChanged(t,n,r){(t==="TOKEN_REFRESHED"||t==="SIGNED_IN")&&this.changedAccessToken!==r?this.changedAccessToken=r:t==="SIGNED_OUT"&&(this.realtime.setAuth(),n=="STORAGE"&&this.auth.signOut(),this.changedAccessToken=void 0)}}const eS=(e,t,n)=>new $j(e,t,n),Mr=eS("https://udrhmbdrxjobempjaxjb.supabase.co","eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InVkcmhtYmRyeGpvYmVtcGpheGpiIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NDczNDQwMDUsImV4cCI6MjA2MjkyMDAwNX0.6ft8lAcL_srtARROUzPw1MZRkqPtUt7xhEjp6ZtuQy4"),Wj=async e=>{if(!e)throw new Error("User ID is required to use credit");const{data:t,error:n}=await Mr.from("users").select("credits_remaining").eq("id",e).maybeSingle();
73if(n)throw console.error("Error checking credits:",n),new Error("Failed to check credits");if(!t||t.credits_remaining<=0)throw new Error("No credits remaining");const{error:r}=await Mr.from("users").update({credits_remaining:t.credits_remaining-1}).eq("id",e);if(r)throw console.error("Error using credit:",r),new Error("Failed to use credit")},qj=async(e,t)=>{if(!e)throw new Error("User ID is required to add credits");const{data:n,error:r}=await Mr.from("users").select("credits_remaining").eq("id",e).maybeSingle();if(r)throw console.error("Error checking credits:",r),new Error("Failed to check credits");const{error:i}=await Mr.from("users").update({credits_remaining:((n==null?void 0:n.credits_remaining)||0)+t}).eq("id",e);if(i)throw console.error("Error adding credits:",i),new Error("Failed to add credits")},Jj=async(e,t)=>{try{const{data:n,error:r}=await Mr.auth.signUp({email:e,password:t});if(r)throw console.error("Signup error:",r),r;if(!n.user)throw console.error("No user data returned"),new Error("Failed to create user");let i=null,A=0;const s=5,a=1e3;for(;!i&&A<s;){await new Promise(p=>setTimeout(p,a*Math.pow(2,A)));const{data:l,error:c}=await Mr.from("users").select("credits_remaining, is_premium").eq("id",n.user.id).maybeSingle();if(!c&&l){i=l;break}console.log(`Attempt ${A+1} failed to fetch user profile`),A++}if(!i)throw new Error("Failed to verify user profile creation");const{data:o,error:u}=await Mr.from("user_roles").select("role_id").eq("user_id",n.user.id);if(u)throw console.error("Error fetching roles:",u),u;return{id:n.user.id,email:n.user.email,creditsRemaining:i.credits_remaining,isPremium:i.is_premium,createdAt:new Date(n.user.created_at),roles:(o==null?void 0:o.map(l
73=>l.role_id))||["user"]}}catch(n){throw console.error("Registration error:",n),n}},Xj=async(e,t)=>{const{data:n,error:r}=await Mr.auth.signInWithPassword({email:e,password:t});if(r)throw r;if(!n.user)throw new Error("Failed to login");console.log("Fetching profile for user:",n.user.id);let i=null,A=0;const s=5,a=1e3;for(;!i&&A<s;){const{data:u,error:l}=await Mr.from("users").select("credits_remaining, is_premium").eq("id",n.user.id).maybeSingle();if(!l&&u){i=u;break}console.log(`Attempt ${A+1} failed to fetch user profile`),await new Promise(c=>setTimeout(c,a*Math.pow(2,A))),A++}if(!i)throw console.error("No user profile found for ID:",n.user.id),new Error("Failed to retrieve user profile");const{data:o}=await Mr.from("user_roles").select("role_id").eq("user_id",n.user.id);return{id:n.user.id,email:n.user.email,creditsRemaining:i.credits_remaining,isPremium:i.is_premium,createdAt:new Date(n.user.created_at),roles:(o==null?void 0:o.map(u=>u.role_id))||["user"]}},Yj=async()=>{try{const{data:{session:e},error:t}=await Mr.auth.getSession();if(t)return console.error("Session error:",t),null;if(!(e!=null&&e.user))return console.log("No active session found"),null;let n=null,r=0;const i=10,A=1e3;for(;!n&&r<i;){try{const{data:o,error:u}=await Mr.from("users").select("*").eq("id",e.user.id).maybeSingle();if(u)console.error(`Attempt ${r+1} error:`,u);else if(o){n=o;break}}catch(o){console.error(`Attempt ${r+1} failed:`,o)}if(r++,r<i){const o=A*Math.pow(2,r);console.log(`Waiting ${o}ms before retry ${r+1}/${i}`),await new Promise(u=>setTimeout(u,o))}}if(!n)return console.error("Failed to fetch user profile after",i,"attempts"),null;const{data:s,error:a}=await Mr.from("user_roles").select("role_id").eq("user_id",e.user.id);return a?(console.error("Error fetching roles:",a),null):{id:e.user.id,email:e.user.email,creditsRemaining:n.credits_remaining,isPremium:n.is_premium,createdAt:new Date(e.user.created_at),roles:(s==null?void 0:s.map(o=>o.role_id))||["user"]}}catch(e){return console.error("Error getting current user:",e),null}},Zj=async()=>{const{error:e}=await Mr.auth.signOut();if(e)throw e},eN=async()=>{const{data:e,error:t}=await Mr.from("users").select("id, email, credits_remaining, is_premium, created_at");if(t)throw t;const{data:n,error:r}=await Mr.from("user_roles").select("user_id, role_id");if(r)throw r;return e.map(i=>({id:i.id,email:i.email,creditsRemaining:i.credits_remaining,isPremium:i.is_premium,createdAt:new Date(i.created_at),roles:n.filter(A=>A.user_id===i.id).map(A=>A.role_id)}))},tN=async(e,t)=>{const{error:n}=await Mr.from("user_roles").delete().eq("user_id",e);if(n)throw n;const{error:r}=await Mr.from("user_roles").insert(t.map(i=>({user_id:e,role_id:i})));if(r)throw r},tS=Oe.createContext({user:null,isLoading:!0,login:async()=>{},register:async()=>{},logout:()=>{}}),NA=()=>Oe.useContext(tS),nN=({children:e})=>{const[t,n]=Oe.useState(null),[r,i]=Oe.useState(!0);Oe.useEffect(()=>{(async()=>{try{const u=Yj();n(u)}catch(u){console.error("Error initializing auth:",u)}finally{i(!1)}})()},[]);const A=async(o,u)=>{try{i(!0);const l=await Xj(o,u);n(l)}catch(l){throw console.error("Login error:",l),l}finally{i(!1)}},s=async(o,u)=>{try{i(!0);const l=await Jj(o,u);n(l)}catch(l){throw console.error("Registration error:",l),l}finally{i(!1)}},a=()=>{Zj(),n(null)};return Q.jsx(tS.Provider,{value:{user:t,isLoading:r,login:A,register:s,logout:a},children:e})},my="RFC3986",wy={RFC1738:e=>String(e).replace(/%20/g,"+"),RFC3986:e=>String(e)},rN="RFC1738",iN=Array.isArray,qs=(()=>{const e=[];for(let t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e})(),I1=1024,AN=(e,t,n,r,i)=>{if(e.length===0)return e;let A=e;if(typeof e=="symbol"?A=Symbol.prototype.toString.call(e):typeof e!="string"&&(A=String(e)),n==="iso-8859-1")return escape(A).replace(/%u[0-9a-f]{4}/gi,function(a){return"%26%23"+parseInt(a.slice(2),16)+"%3B"});let s="";for(let a=0;a<A.length;a+=I1){const o=A.length>=I1?A.slice(a,a+I1):A,u=[];for(let l=0;l<o.length;++l){let c=o.charCodeAt(l);if(c===45||c===46||c===95||c===126||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||i===rN&&(c===40||c===41)){u[u.length]=o.charAt(l);continue}if(c<128){u[u.length]=qs[c];continue}if(c<2048){u[u.length]=qs[192|c>>6]+qs[128|c&63];continue}if(c<55296||c>=57344){u[u.length]=qs[224|c>>12]+qs[128|c>>6&63]+qs[128|c&63];continue}l+=1,c=65536+((c&1023)<<10|o.charCodeAt(l)&1023),u[u.length]=qs[240|c>>18]+qs[128|c>>
7312&63]+qs[128|c>>6&63]+qs[128|c&63]}s+=u.join("")}return s};function sN(e){return!e||typeof e!="object"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))}function xx(e,t){if(iN(e)){const n=[];for(let r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)}const oN=Object.prototype.hasOwnProperty,nS={brackets(e){return String(e)+"[]"},comma:"comma",indices(e,t){return String(e)+"["+t+"]"},repeat(e){return String(e)}},eo=Array.isArray,aN=Array.prototype.push,rS=function(e,t){aN.apply(e,eo(t)?t:[t])},lN=Date.prototype.toISOString,Ur={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:AN,encodeValuesOnly:!1,format:my,formatter:wy[my],indices:!1,serializeDate(e){return lN.call(e)},skipNulls:!1,strictNullHandling:!1};function uN(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="symbol"||typeof e=="bigint"}const L1={};function iS(e,t,n,r,i,A,s,a,o,u,l,c,p,f,x,b,E,v){let B=e,F=v,U=0,N=!1;for(;(F=F.get(L1))!==void 0&&!N;){const M=F.get(e);if(U+=1,typeof M<"u"){if(M===U)throw new RangeError("Cyclic object value");N=!0}typeof F.get(L1)>"u"&&(U=0)}if(typeof u=="function"?B=u(t,B):B instanceof Date?B=p==null?void 0:p(B):n==="comma"&&eo(B)&&(B=xx(B,function(M){return M instanceof Date?p==null?void 0:p(M):M})),B===null){if(A)return o&&!b?o(t,Ur.encoder,E,"key",f):t;B=""}if(uN(B)||sN(B)){if(o){const M=b?t:o(t,Ur.encoder,E,"key",f);return[(x==null?void 0:x(M))+"="+(x==null?void 0:x(o(B,Ur.encoder,E,"value",f)))]}return[(x==null?void 0:x(t))+"="+(x==null?void 0:x(String(B)))]}const P=[];if(typeof B>"u")return P;let $;if(n==="comma"&&eo(B))b&&o&&(B=xx(B,o)),$=[{value:B.length>0?B.join(",")||null:void 0}];else if(eo(u))$=u;else{const M=Object.keys(B);$=l?M.sort(l):M}const G=a?String(t).replace(/\./g,"%2E"):String(t),te=r&&eo(B)&&B.length===1?G+"[]":G;if(i&&eo(B)&&B.length===0)return te+"[]";for(let M=0;M<$.length;++M){const j=$[M],D=typeof j=="object"&&typeof j.value<"u"?j.value:B[j];if(s&&D===null)continue;const X=c&&a?j.replace(/\./g,"%2E"):j,J=eo(B)?typeof n=="function"?n(te,X):te:te+(c?"."+X:"["+X+"]");v.set(e,U);const Ae=new WeakMap;Ae.set(L1,v),rS(P,iS(D,J,n,r,i,A,s,a,n==="comma"&&b&&eo(B)?null:o,u,l,c,p,f,x,b,E,Ae))}return P}function cN(e=Ur){if(typeof e.allowEmptyArrays<"u"&&typeof e.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof e.encodeDotInKeys<"u"&&typeof e.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(e.encoder!==null&&typeof e.encoder<"u"&&typeof e.encoder!="function")throw new TypeError("Encoder has to be a function.");const t=e.charset||Ur.charset;if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");let n=my;if(typeof e.format<"u"){if(!oN.call(wy,e.format))throw new TypeError("Unknown format option provided.");n=e.format}const r=wy[n];let i=Ur.filter;(typeof e.filter=="function"||eo(e.filter))&&(i=e.filter);let A;if(e.arrayFormat&&e.arrayFormat in nS?A=e.arrayFormat:"indices"in e?A=e.indices?"indices":"repeat":A=Ur.arrayFormat,"commaRoundTrip"in e&&typeof e.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");const s=typeof e.allowDots>"u"?e.encodeDotInKeys?!0:Ur.allowDots:!!e.allowDots;return{addQueryPrefix:typeof e.addQueryPrefix=="boolean"?e.addQueryPrefix:Ur.addQueryPrefix,allowDots:s,allowEmptyArrays:typeof e.allowEmptyArrays=="boolean"?!!e.allowEmptyArrays:Ur.allowEmptyArrays,arrayFormat:A,charset:t,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:Ur.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:typeof e.delimiter>"u"?Ur.delimiter:e.delimiter,encode:typeof e.encode=="boolean"?e.encode:Ur.encode,encodeDotInKeys:typeof e.encodeDotInKeys=="boolean"?e.encodeDotInKeys:Ur.encodeDotInKeys,encoder:typeof e.encoder=="function"?e.encoder:Ur.encoder,encodeValuesOnly:typeof e.encodeValuesOnly=="boolean"?e.encodeValuesOnly:Ur.encodeValuesOnly,filter:i,format:n,formatter:r,serializeDate:typeof e.serializeDate=="function"?e.serializeDate:Ur.serializeDate,skipNulls:typeof e.skipNulls=="boolean"?e.skipNulls:Ur.skipNulls,sort:typeof e.sort=="function"?e.sort:null,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:Ur.strictNullHandling}}function fN(e,t={}){let n=e;const r=cN(t);let i,A;typeof r.filter=="function"?(A=r.filter,n=A("",n)):eo(r.filter)&&(A=r.filter,i=A);const s=[];if(typeof n!="object"||n===null)return"";const a=nS[r.arrayFormat],o=a==="comma"&&r.commaRoundTrip;i||(i=Object.keys(n)),r.sort&&i.sort(r.sort);const u=new WeakMap;for(let p=0;p<i.length;++p){const f=i[p];r.skipNulls&&n[f]===null||rS(s,iS(n[f],f,a,o,r.allowEmptyArrays,r.strictNullHandling,r.skipNulls,r.encodeDotInKeys,r.encode?r.encoder:null,r.filter,r.sort,r.allowDots,r.serializeDate,r.format,r.formatter,r.encodeValuesOnly,r.charset,u))}const l=s.join(r.delimiter);let c=r.addQueryPrefix===!0?"?":"";return r.charsetSentinel&&(r.charset==="iso-8859-1"?c+="utf8=%26%2310003%3B&":c+="utf8=%E2%9C%93&"),l.length>0?c+l:""}const Qc="4.100.0";let bx=!1,zh,AS,sS,yy,oS,aS,lS,uS,cS;function hN(e,t={auto:!1}){if(bx)throw new Error(`you must \`import 'openai/shims/${e.kind}'\` before importing anything else from openai`);if(zh)throw new Error(`can't \`import 'openai/shims/${e.kind}'\` after \`import 'openai/shims/${zh}'\``);bx=t.auto,zh=e.kind,AS=e.fetch,sS=e.FormData,yy=e.File,oS=e.ReadableStream,aS=e.getMultipartRequestOptions,lS=e.getDefaultAgent,uS=e.fileFromPath,cS=e.isFsReadStream}class dN{constructor(t){this.body=t}get[Symbol.toStringTag](){return"MultipartBody"}}function pN({manuallyImported:e}={}){const t=e?"You may need to use polyfills":"Add one of these imports before your first `import … from 'openai'`:\n- `import 'openai/shims/node'` (if you're running on Node)\n- `import 'openai/shims/web'` (otherwise)\n";let n,r,i,A;try{n=fetch,r=Request,i=Response,A=Headers}catch(s){throw new Error(`this environment is missing the following Web Fetch API type: ${s.message}. ${t}`)}return{kind:"web",fetch:n,Request:r,Response:i,Headers:A,FormData:typeof FormData<"u"?FormData:class{constructor(){throw new Error(`file uploads aren't supported in this environment yet as 'FormData' is undefined. ${t}`)}},Blob:typeof Blob<"u"?Blob:class{constructor(){throw new Error(`file uploads aren't supported in this environment yet as 'Blob' is undefined. ${t}`)}},File:typeof File<"u"?File:class{constructor(){throw new Error(`file uploads aren't supported in this environment yet as 'File' is undefined. ${t}`)}},ReadableStream:typeof ReadableStream<"u"?ReadableStream:class{constructor(){throw new Error(`streaming isn't supported in this environment yet as 'ReadableStream' is undefined. ${t}`)}},getMultipartRequestOptions:async(s,a)=>({...a,body:new dN(s)}),getDefaultAgent:s=>{},fileFromPath:()=>{throw new Error("The `fileFromPath` function is only supported in Node. See the README for more details: https://www.github.com/openai/openai-node#file-uploads")},isFsReadStream:s=>!1}}const fS=()=>{zh||hN(pN(),{auto:!0})};fS();
73class Rt extends Error{}class ni extends Rt{constructor(t,n,r,i){super(`${ni.makeMessage(t,n,r)}`),this.status=t,this.headers=i,this.request_id=i==null?void 0:i["x-request-id"],this.error=n;const A=n;this.code=A==null?void 0:A.code,this.param=A==null?void 0:A.param,this.type=A==null?void 0:A.type}static makeMessage(t,n,r){const i=n!=null&&n.message?typeof n.message=="string"?n.message:JSON.stringify(n.message):n?JSON.stringify(n):r;return t&&i?`${t} ${i}`:t?`${t} status code (no body)`:i||"(no status code or body)"}static generate(t,n,r,i){if(!t||!i)return new Km({message:r,cause:By(n)});const A=n==null?void 0:n.error;return t===400?new hS(t,A,r,i):t===401?new dS(t,A,r,i):t===403?new pS(t,A,r,i):t===404?new gS(t,A,r,i):t===409?new mS(t,A,r,i):t===422?new wS(t,A,r,i):t===429?new yS(t,A,r,i):t>=500?new vS(t,A,r,i):new ni(t,A,r,i)}}class qA extends ni{constructor({message:t}={}){super(void 0,void 0,t||"Request was aborted.",void 0)}}class Km extends ni{constructor({message:t,cause:n}){super(void 0,void 0,t||"Connection error.",void 0),n&&(this.cause=n)}}class n2 extends Km{constructor({message:t}={}){super({message:t??"Request timed out."})}}class hS extends ni{}class dS extends ni{}class pS extends ni{}class gS extends ni{}class mS extends ni{}class wS extends ni{}class yS extends ni{}class vS extends ni{}class BS extends Rt{constructor(){super("Could not parse response content as the length limit was reached")}}class xS extends Rt{constructor(){super("Could not parse response content as the request was rejected by the content filter")}}var Jp=function(e,t,n,r,i){if(r==="m")throw new TypeError("Private method is not writable");if(r==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return r==="a"?i.call(e,n):i?i.value=n:t.set(e,n),n},$l=function(e,t,n,r){if(n==="a"&&!r)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?r:n==="a"?r.call(e):r?r.value:t.get(e)},bA;class zm{constructor(){bA.set(this,void 0),this.buffer=new Uint8Array,Jp(this,bA,null,"f")}decode(t){if(t==null)return[];const n=t instanceof ArrayBuffer?new Uint8Array(t):typeof t=="string"?new TextEncoder().encode(t):t;let r=new Uint8Array(this.buffer.length+n.length);r.set(this.buffer),r.set(n,this.buffer.length),this.buffer=r;const i=[];let A;for(;(A=gN(this.buffer,$l(this,bA,"f")))!=null;){if(A.carriage&&$l(this,bA,"f")==null){Jp(this,bA,A.index,"f");continue}if($l(this,bA,"f")!=null&&(A.index!==$l(this,bA,"f")+1||A.carriage)){i.push(this.decodeText(this.buffer.slice(0,$l(this,bA,"f")-1))),this.buffer=this.buffer.slice($l(this,bA,"f")),Jp(this,bA,null,"f");continue}const s=$l(this,bA,"f")!==null?A.preceding-1:A.preceding,a=this.decodeText(this.buffer.slice(0,s));i.push(a),this.buffer=this.buffer.slice(A.index),Jp(this,bA,null,"f")}return i}decodeText(t){if(t==null)return"";if(typeof t=="string")return t;if(typeof Buffer<"u"){if(t instanceof Buffer)return t.toString();if(t instanceof Uint8Array)return Buffer.from(t).toString();throw new Rt(`Unexpected: received non-Uint8Array (${t.constructor.name}) stream chunk in an environment with a global "Buffer" defined, which this library assumes to be Node. Please report this error.`)}if(typeof TextDecoder<"u"){if(t instanceof Uint8Array||t instanceof ArrayBuffer)return this.textDecoder??(this.textDecoder=new TextDecoder("utf8")),this.textDecoder.decode(t);throw new Rt(`Unexpected: received non-Uint8Array/ArrayBuffer (${t.constructor.name}) in a web platform. Please report this error.`)}throw new Rt("Unexpected: neither Buffer nor TextDecoder are available as globals. Please report this error.")}flush(){return this.buffer.length?this.decode(`
74`):[]}}bA=new WeakMap;zm.NEWLINE_CHARS=new Set([`
75`,"\r"]);zm.NEWLINE_REGEXP=/\r\n|[\n\r]/g;function gN(e,t){for(let i=t??0;i<e.length;i++){if(e[i]===10)return{preceding:i,index:i+1,carriage:!1};if(e[i]===13)return{preceding:i,index:i+1,carriage:!0}}return null}function mN(e){for(let r=0;r<e.length-1;r++){if(e[r]===10&&e[r+1]===10||e[r]===13&&e[r+1]===13)return r+2;if(e[r]===13&&e[r+1]===10&&r+3<e.length&&e[r+2]===13&&e[r+3]===10)return r+4}return-1}function bS(e){if(e[Symbol.asyncIterator])return e;const t=e.getReader();return{async next(){try{const n=await t.read();return n!=null&&n.done&&t.releaseLock(),n}catch(n){throw t.releaseLock(),n}},async return(){const n=t.cancel();return t.releaseLock(),await n,{done:!0,value:void 0}},[Symbol.asyncIterator](){return this}}}class ro{constructor(t,n){this.iterator=t,this.controller=n}static fromSSEResponse(t,n){let r=!1;async function*i(){if(r)throw new Error("Cannot iterate over a consumed stream, use `.tee()` to split the stream.");r=!0;let A=!1;try{for await(const s of wN(t,n))if(!A){if(s.data.startsWith("[DONE]")){A=!0;continue}if(s.event===null||s.event.startsWith("response.")||s.event.startsWith("transcript.")){let a;try{a=JSON.parse(s.data)}catch(o){throw console.error("Could not parse message into JSON:",s.data),console.error("From chunk:",s.raw),o}if(a&&a.error)throw new ni(void 0,a.error,void 0,QS(t.headers));yield a}else{let a;try{a=JSON.parse(s.data)}catch(o){throw console.error("Could not parse message into JSON:",s.data),console.error("From chunk:",s.raw),o}if(s.event=="error")throw new ni(void 0,a.error,a.message,void 0);yield{event:s.event,data:a}}}A=!0}catch(s){if(s instanceof Error&&s.name==="AbortError")return;throw s}finally{A||n.abort()}}return new ro(i,n)}static fromReadableStream(t,n){let r=!1;async function*i(){const s=new zm,a=bS(t);for await(const o of a)for(const u of s.decode(o))yield u;for(const o of s.flush())yield o}async function*A(){if(r)throw new Error("Cannot iterate over a consumed stream, use `.tee()` to split the stream.");r=!0;let s=!1;try{for await(const a of i())s||a&&(yield JSON.parse(a));s=!0}catch(a){if(a instanceof Error&&a.name==="AbortError")return;throw a}finally{s||n.abort()}}return new ro(A,n)}[Symbol.asyncIterator](){return this.iterator()}tee(){const t=[],n=[],r=this.iterator(),i=A=>({next:()=>{if(A.length===0){const s=r.next();t.push(s),n.push(s)}
75return A.shift()}});return[new ro(()=>i(t),this.controller),new ro(()=>i(n),this.controller)]}toReadableStream(){const t=this;let n;const r=new TextEncoder;return new oS({async start(){n=t[Symbol.asyncIterator]()},async pull(i){try{const{value:A,done:s}=await n.next();if(s)return i.close();const a=r.encode(JSON.stringify(A)+`
76`);i.enqueue(a)}catch(A){i.error(A)}},async cancel(){var i;await((i=n.return)==null?void 0:i.call(n))}})}}async function*wN(e,t){if(!e.body)throw t.abort(),new Rt("Attempted to iterate over a response with no body");const n=new vN,r=new zm,i=bS(e.body);for await(const A of yN(i))for(const s of r.decode(A)){const a=n.decode(s);a&&(yield a)}for(const A of r.flush()){const s=n.decode(A);s&&(yield s)}}async function*yN(e){let t=new Uint8Array;for await(const n of e){if(n==null)continue;const r=n instanceof ArrayBuffer?new Uint8Array(n):typeof n=="string"?new TextEncoder().encode(n):n;let i=new Uint8Array(t.length+r.length);i.set(t),i.set(r,t.length),t=i;let A;for(;(A=mN(t))!==-1;)yield t.slice(0,A),t=t.slice(A)}t.length>0&&(yield t)}class vN{constructor(){this.event=null,this.data=[],this.chunks=[]}decode(t){if(t.endsWith("\r")&&(t=t.substring(0,t.length-1)),!t){if(!this.event&&!this.data.length)return null;const A={event:this.event,data:this.data.join(`
77`),raw:this.chunks};return this.event=null,this.data=[],this.chunks=[],A}if(this.chunks.push(t),t.startsWith(":"))return null;let[n,r,i]=BN(t,":");return i.startsWith(" ")&&(i=i.substring(1)),n==="event"?this.event=i:n==="data"&&this.data.push(i),null}}function BN(e,t){const n=e.indexOf(t);return n!==-1?[e.substring(0,n),t,e.substring(n+t.length)]:[e,"",""]}const CS=e=>e!=null&&typeof e=="object"&&typeof e.url=="string"&&typeof e.blob=="function",FS=e=>e!=null&&typeof e=="object"&&typeof e.name=="string"&&typeof e.lastModified=="number"&&Vm(e),Vm=e=>e!=null&&typeof e=="object"&&typeof e.size=="number"&&typeof e.type=="string"&&typeof e.text=="function"&&typeof e.slice=="function"&&typeof e.arrayBuffer=="function",xN=e=>FS(e)||CS(e)||cS(e);async function SS(e,t,n){var i;if(e=await e,FS(e))return e;if(CS(e)){const A=await e.blob();t||(t=new URL(e.url).pathname.split(/[\\/]/).pop()??"unknown_file");const s=Vm(A)?[await A.arrayBuffer()]:[A];return new yy(s,t,n)}const r=await bN(e);if(t||(t=FN(e)??"unknown_file"),!(n!=null&&n.type)){const A=(i=r[0])==null?void 0:i.type;typeof A=="string"&&(n={...n,type:A})}return new yy(r,t,n)}async function bN(e){var n;let t=[];if(typeof e=="string"||ArrayBuffer.isView(e)||e instanceof ArrayBuffer)t.push(e);else if(Vm(e))t.push(await e.arrayBuffer());else if(SN(e))for await(const r of e)t.push(r);else throw new Error(`Unexpected data type: ${typeof e}; constructor: ${(n=e==null?void 0:e.constructor)==null?void 0:n.name}; props: ${CN(e)}`);return t}function CN(e){return`[${Object.getOwnPropertyNames(e).map(n=>`"${n}"`).join(", ")}]`}function FN(e){var t;return j1(e.name)||j1(e.filename)||((t=j1(e.path))==null?void 0:t.split(/[\\/]/).pop())}const j1=e=>{if(typeof e=="string")return e;if(typeof Buffer<"u"&&e instanceof Buffer)return String(e)},SN=e=>e!=null&&typeof e=="object"&&typeof e[Symbol.asyncIterator]=="function",Cx=e=>e&&typeof e=="object"&&e.body&&e[Symbol.toStringTag]==="MultipartBody",pf=async e=>{const t=await EN(e.body);return aS(t,e)},EN=async e=>{const t=new sS;return await Promise.all(Object.entries(e||{}).map(([n,r])=>vy(t,n,r))),t},vy=async(e,t,n)=>{if(n!==void 0){if(n==null)throw new TypeError(`Received null for "${t}"; to pass null in FormData, you must use the string 'null'`);if(typeof n=="string"||typeof n=="number"||typeof n=="boolean")e.append(t,String(n));else if(xN(n)){const r=await SS(n);e.append(t,r)}else if(Array.isArray(n))await Promise.all(n.map(r=>vy(e,t+"[]",r)));else if(typeof n=="object")await Promise.all(Object.entries(n).map(([r,i])=>vy(e,`${t}[${r}]`,i)));else throw new TypeError(`Invalid value given to form, expected a string, number, boolean, object, Array, File or Blob but got ${n} instead`)}};var tf={},_N=function(e,t,n,r,i){if(typeof t=="function"?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return t.set(e,n),n},UN=function(e,t,n,r){if(n==="a"&&!r)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?r:n==="a"?r.call(e):r?r.value:t.get(e)},Xp;fS();async function ES(e){var s;const{response:t}=e;if(e.options.stream)return al("response",t.status,t.url,t.headers,t.body),e.options.__streamClass?e.options.__streamClass.fromSSEResponse(t,e.controller):ro.fromSSEResponse(t,e.controller);if(t.status===204)return null;if(e.options.__binaryResponse)return t;const n=t.headers.get("content-type"),r=(s=n==null?void 0:n.split(";")[0])==null?void 0:s.trim();if((r==null?void 0:r.includes("application/json"))||(r==null?void 0:r.endsWith("+json"))){const a=await t.json();return al("response",t.status,t.url,t.headers,a),_S(a,t)}const A=await t.text();return al("response",t.status,t.url,t.headers,A),A}function _S(e,t){return!e||typeof e!="object"||Array.isArray(e)?e:Object.defineProperty(e,"_request_id",{value:t.headers.get("x-request-id"),enumerable:!1})}class Gm extends Promise{constructor(t,n=ES){super(r=>{r(null)}),this.responsePromise=t,this.parseResponse=n}_thenUnwrap(t){return new Gm(this.responsePromise,async n=>_S(t(await this.parseResponse(n),n),n.response))}asResponse(){return this.responsePromise.then(t=>t.response)}async withResponse(){const[t,n]=await Promise.all([this.parse(),this.asResponse()]);return{data:t,response:n,request_id:n.headers.get("x-request-id")}}parse(){return this.parsedPromise||(this.parsedPromise=this.responsePromise.then(this.parseResponse)),this.parsedPromise}then(t,n){return this.parse().then(t,n)}catch(t){return this.parse().catch(t)}finally(t){return this.parse().finally(t)}}class QN{constructor({baseURL:t,maxRetries:n=2,timeout:r=6e5,httpAgent:i,fetch:A}){this.baseURL=t,this.maxRetries=N1("maxRetries",n),this.timeout=N1("timeout",r),this.httpAgent=i,this.fetch=A??AS}authHeaders(t){return{}}defaultHeaders(t){return{Accept:"application/json","Content-Type":"application/json","User-Agent":this.getUserAgent(),...NN(),...this.authHeaders(t)}}validateHeaders(t,n){}defaultIdempotencyKey(){return`stainless-node-retry-${RN()}`}get(t,n){return this.methodRequest("get",t,n)}post(t,n){return this.methodRequest("post",t,n)}patch(t,n){return this.methodRequest("patch",t,n)}
77put(t,n){return this.methodRequest("put",t,n)}delete(t,n){return this.methodRequest("delete",t,n)}methodRequest(t,n,r){return this.request(Promise.resolve(r).then(async i=>{const A=i&&Vm(i==null?void 0:i.body)?new DataView(await i.body.arrayBuffer()):(i==null?void 0:i.body)instanceof DataView?i.body:(i==null?void 0:i.body)instanceof ArrayBuffer?new DataView(i.body):i&&ArrayBuffer.isView(i==null?void 0:i.body)?new DataView(i.body.buffer):i==null?void 0:i.body;return{method:t,path:n,...i,body:A}}))}getAPIList(t,n,r){return this.requestAPIList(n,{method:"get",path:t,...r})}calculateContentLength(t){if(typeof t=="string"){if(typeof Buffer<"u")return Buffer.byteLength(t,"utf8").toString();if(typeof TextEncoder<"u")return new TextEncoder().encode(t).length.toString()}else if(ArrayBuffer.isView(t))return t.byteLength.toString();return null}buildRequest(t,{retryCount:n=0}={}){var b;const r={...t},{method:i,path:A,query:s,headers:a={}}=r,o=ArrayBuffer.isView(r.body)||r.__binaryRequest&&typeof r.body=="string"?r.body:Cx(r.body)?r.body.body:r.body?JSON.stringify(r.body,null,2):null,u=this.calculateContentLength(o),l=this.buildURL(A,s);"timeout"in r&&N1("timeout",r.timeout),r.timeout=r.timeout??this.timeout;const c=r.httpAgent??this.httpAgent??lS(l),p=r.timeout+1e3;typeof((b=c==null?void 0:c.options)==null?void 0:b.timeout)=="number"&&p>(c.options.timeout??0)&&(c.options.timeout=p),this.idempotencyHeader&&i!=="get"&&(t.idempotencyKey||(t.idempotencyKey=this.defaultIdempotencyKey()),a[this.idempotencyHeader]=t.idempotencyKey);const f=this.buildHeaders({options:r,headers:a,contentLength:u,retryCount:n});return{req:{method:i,...o&&{body:o},headers:f,...c&&{agent:c},signal:r.signal??null},url:l,timeout:r.timeout}}buildHeaders({options:t,headers:n,contentLength:r,retryCount:i}){const A={};r&&(A["content-length"]=r);const s=this.defaultHeaders(t);return _x(A,s),_x(A,n),Cx(t.body)&&zh!=="node"&&delete A["content-type"],Zp(s,"x-stainless-retry-count")===void 0&&Zp(n,"x-stainless-retry-count")===void 0&&(A["x-stainless-retry-count"]=String(i)),Zp(s,"x-stainless-timeout")===void 0&&Zp(n,"x-stainless-timeout")===void 0&&t.timeout&&(A["x-stainless-timeout"]=String(Math.trunc(t.timeout/1e3))),this.validateHeaders(A,n),A}async prepareOptions(t){}async prepareRequest(t,{url:n,options:r}){}parseHeaders(t){return t?Symbol.iterator in t?Object.fromEntries(Array.from(t).map(n=>[...n])):{...t}:{}}makeStatusError(t,n,r,i){return ni.generate(t,n,r,i)}request(t,n=null){return new Gm(this.makeRequest(t,n))}async makeRequest(t,n){var c,p;const r=await t,i=r.maxRetries??this.maxRetries;n==null&&(n=i),await this.prepareOptions(r);const{req:A,url:s,timeout:a}=this.buildRequest(r,{retryCount:i-n});if(await this.prepareRequest(A,{url:s,options:r}),al("request",s,r,A.headers),(c=r.signal)!=null&&c.aborted)throw new qA;const o=new AbortController,u=await this.fetchWithTimeout(s,A,a,o).catch(By);if(u instanceof Error){if((p=r.signal)!=null&&p.aborted)throw new qA;if(n)return this.retryRequest(r,n);throw u.name==="AbortError"?new n2:new Km({cause:u})}const l=QS(u.headers);if(!u.ok){if(n&&this.shouldRetry(u)){const B=`retrying, ${n} attempts remaining`;return al(`response (error; ${B})`,u.status,s,l),this.retryRequest(r,n,l)}const f=await u.text().catch(B=>By(B).message),x=PN(f),b=x?void 0:f;throw al(`response (error; ${n?"(error; no more retries left)":"(error; not retryable)"})`,u.status,s,l,b),this.makeStatusError(u.status,x,b,l)}return{response:u,options:r,controller:o}}requestAPIList(t,n){const r=this.makeRequest(n,null);return new kN(this,r,t)}buildURL(t,n){const r=ON(t)?new URL(t):new URL(this.baseURL+(this.baseURL.endsWith("/")&&t.startsWith("/")?t.slice(1):t)),i=this.defaultQuery();return kS(i)||(n={...i,...n}),typeof n=="object"&&n&&!Array.isArray(n)&&(r.search=this.stringifyQuery(n)),r.toString()}stringifyQuery(t){return Object.entries(t).filter(([n,r])=>typeof r<"u").map(([n,r])=>{if(typeof r=="string"||typeof r=="number"||typeof r=="boolean")return`${encodeURIComponent(n)}=${encodeURIComponent(r)}`;if(r===null)return`${encodeURIComponent(n)}=`;throw new Rt(`Cannot stringify type ${typeof r}; Expected string, number, boolean, or null. If you need to pass nested query parameters, you can manually encode them, e.g. { query: { 'foo[key1]': value1, 'foo[key2]': value2 } }, and please open a GitHub issue requesting better support for your use case.`)}).join("&")}async fetchWithTimeout(t,n,r,i){const{signal:A,...s}=n||{};A&&A.addEventListener("abort",()=>i.abort());const a=setTimeout(()=>i.abort(),r),o={signal:i.signal,...s};return o.method&&(o.method=o.method.toUpperCase()),this.fetch.call(void 0,t,o).finally(()=>{clearTimeout(a)})}shouldRetry(t){const n=t.headers.get("x-should-retry");return n==="true"?!0:n==="false"?!1:t.status===408||t.status===409||t.status===429||t.status>=500}async retryRequest(t,n,r){let i;const A=r==null?void 0:r["retry-after-ms"];
77if(A){const a=parseFloat(A);Number.isNaN(a)||(i=a)}const s=r==null?void 0:r["retry-after"];if(s&&!i){const a=parseFloat(s);Number.isNaN(a)?i=Date.parse(s)-Date.now():i=a*1e3}if(!(i&&0<=i&&i<60*1e3)){const a=t.maxRetries??this.maxRetries;i=this.calculateDefaultRetryTimeoutMillis(n,a)}return await Ld(i),this.makeRequest(t,n-1)}calculateDefaultRetryTimeoutMillis(t,n){const A=n-t,s=Math.min(.5*Math.pow(2,A),8),a=1-Math.random()*.25;return s*a*1e3}getUserAgent(){return`${this.constructor.name}/JS ${Qc}`}}class US{constructor(t,n,r,i){Xp.set(this,void 0),_N(this,Xp,t),this.options=i,this.response=n,this.body=r}hasNextPage(){return this.getPaginatedItems().length?this.nextPageInfo()!=null:!1}async getNextPage(){const t=this.nextPageInfo();if(!t)throw new Rt("No next page expected; please check `.hasNextPage()` before calling `.getNextPage()`.");const n={...this.options};if("params"in t&&typeof n.query=="object")n.query={...n.query,...t.params};else if("url"in t){const r=[...Object.entries(n.query||{}),...t.url.searchParams.entries()];for(const[i,A]of r)t.url.searchParams.set(i,A);n.query=void 0,n.path=t.url.toString()}return await UN(this,Xp,"f").requestAPIList(this.constructor,n)}async*iterPages(){let t=this;for(yield t;t.hasNextPage();)t=await t.getNextPage(),yield t}async*[(Xp=new WeakMap,Symbol.asyncIterator)](){for await(const t of this.iterPages())for(const n of t.getPaginatedItems())yield n}}
77class kN extends Gm{constructor(t,n,r){super(n,async i=>new r(t,i.response,await ES(i),i.options))}async*[Symbol.asyncIterator](){const t=await this;for await(const n of t)yield n}}const QS=e=>new Proxy(Object.fromEntries(e.entries()),{get(t,n){const r=n.toString();return t[r.toLowerCase()]||t[r]}}),IN={method:!0,path:!0,query:!0,body:!0,headers:!0,maxRetries:!0,stream:!0,timeout:!0,httpAgent:!0,signal:!0,idempotencyKey:!0,__metadata:!0,__binaryRequest:!0,__binaryResponse:!0,__streamClass:!0},sr=e=>typeof e=="object"&&e!==null&&!kS(e)&&Object.keys(e).every(t=>IS(IN,t)),LN=()=>{var t;if(typeof Deno<"u"&&Deno.build!=null)return{"X-Stainless-Lang":"js","X-Stainless-Package-Version":Qc,"X-Stainless-OS":Sx(Deno.build.os),"X-Stainless-Arch":Fx(Deno.build.arch),"X-Stainless-Runtime":"deno","X-Stainless-Runtime-Version":typeof Deno.version=="string"?Deno.version:((t=Deno.version)==null?void 0:t.deno)??"unknown"};if(typeof EdgeRuntime<"u")return{"X-Stainless-Lang":"js","X-Stainless-Package-Version":Qc,"X-Stainless-OS":"Unknown","X-Stainless-Arch":`other:${EdgeRuntime}`,"X-Stainless-Runtime":"edge","X-Stainless-Runtime-Version":process.version};if(Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]")return{"X-Stainless-Lang":"js","X-Stainless-Package-Version":Qc,"X-Stainless-OS":Sx(process.platform),"X-Stainless-Arch":Fx(process.arch),"X-Stainless-Runtime":"node","X-Stainless-Runtime-Version":process.version};const e=jN();return e?{"X-Stainless-Lang":"js","X-Stainless-Package-Version":Qc,"X-Stainless-OS":"Unknown","X-Stainless-Arch":"unknown","X-Stainless-Runtime":`browser:${e.browser}`,"X-Stainless-Runtime-Version":e.version}:{"X-Stainless-Lang":"js","X-Stainless-Package-Version":Qc,"X-Stainless-OS":"Unknown","X-Stainless-Arch":"unknown","X-Stainless-Runtime":"unknown","X-Stainless-Runtime-Version":"unknown"}};function jN(){if(typeof navigator>"u"||!navigator)return null;const e=[{key:"edge",pattern:/Edge(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/},{key:"ie",pattern:/MSIE(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/},{key:"ie",pattern:/Trident(?:.*rv\:(\d+)\.(\d+)(?:\.(\d+))?)?/},{key:"chrome",pattern:/Chrome(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/},{key:"firefox",pattern:/Firefox(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/},{key:"safari",pattern:/(?:Version\W+(\d+)\.(\d+)(?:\.(\d+))?)?(?:\W+Mobile\S*)?\W+Safari/}];for(const{key:t,pattern:n}of e){const r=n.exec(navigator.userAgent);if(r){const i=r[1]||0,A=r[2]||0,s=r[3]||0;return{browser:t,version:`${i}.${A}.${s}`}}}return null}const Fx=e=>e==="x32"?"x32":e==="x86_64"||e==="x64"?"x64":e==="arm"?"arm":e==="aarch64"||e==="arm64"?"arm64":e?`other:${e}`:"unknown",Sx=e=>(e=e.toLowerCase(),e.includes("ios")?"iOS":e==="android"?"Android":e==="darwin"?"MacOS":e==="win32"?"Windows":e==="freebsd"?"FreeBSD":e==="openbsd"?"OpenBSD":e==="linux"?"Linux":e?`Other:${e}`:"Unknown");let Ex;const NN=()=>Ex??(Ex=LN()),PN=e=>{try{return JSON.parse(e)}catch{return}},TN=/^[a-z][a-z0-9+.-]*:/i,ON=e=>TN.test(e),Ld=e=>new Promise(t=>setTimeout(t,e)),N1=(e,t)=>{if(typeof t!="number"||!Number.isInteger(t))throw new Rt(`${e} must be an integer`);if(t<0)throw new Rt(`${e} must be a positive integer`);return t},By=e=>{if(e instanceof Error)return e;if(typeof e=="object"&&e!==null)try{return new Error(JSON.stringify(e))}catch{}return new Error(e)},Yp=e=>{var t,n,r,i;if(typeof process<"u")return((t=tf==null?void 0:tf[e])==null?void 0:t.trim())??void 0;if(typeof Deno<"u")return(i=(r=(n=Deno.env)==null?void 0:n.get)==null?void 0:r.call(n,e))==null?void 0:i.trim()};function kS(e){if(!e)return!0;for(const t in e)return!1;return!0}function IS(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function _x(e,t){for(const n in t){if(!IS(t,n))continue;const r=n.toLowerCase();if(!r)continue;const i=t[n];i===null?delete e[r]:i!==void 0&&(e[r]=i)}}const Ux=new Set(["authorization","api-key"]);function al(e,...t){if(typeof process<"u"&&(tf==null?void 0:tf.DEBUG)==="true"){const n=t.map(r=>{if(!r)return r;if(r.headers){const A={...r,headers:{...r.headers}};for(const s in r.headers)Ux.has(s.toLowerCase())&&(A.headers[s]="REDACTED");return A}let i=null;for(const A in r)Ux.has(A.toLowerCase())&&(i??(i={...r}),i[A]="REDACTED");return i??r});console.log(`OpenAI:DEBUG:${e}`,...n)}}const RN=()=>"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{const t=Math.random()*16|0;return(e==="x"?t:t&3|8).toString(16)}),DN=()=>typeof window<"u"&&typeof window.document<"u"&&typeof navigator<"u",HN=e=>typeof(e==null?void 0:e.get)=="function",Zp=(e,t)=>{var r;const n=t.toLowerCase();if(HN(e)){const i=((r=t[0])==null?void 0:r.toUpperCase())+t.substring(1).replace(/([^\w])(\w)/g,(A,s,a)=>s+a.toUpperCase());for(const A of[t,n,t.toUpperCase(),i]){const s=e.get(A);if(s)return s}}for(const[i,A]of Object.entries(e))if(i.toLowerCase()===n)return Array.isArray(A)?(A.length<=1||console.warn(`Received ${A.length} entries for the ${t} header, using the first entry.`),A[0]):A},MN=e=>{if(typeof Buffer<"u"){const t=Buffer.from(e,"base64");return Array.from(new Float32Array(t.buffer,t.byteOffset,t.length/Float32Array.BYTES_PER_ELEMENT))}else{const t=atob(e),n=t.length,r=new Uint8Array(n);for(let i=0;i<n;i++)r[i]=t.charCodeAt(i);return Array.from(new Float32Array(r.buffer))}};function P1(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}class $m extends US{constructor(t,n,r,i){super(t,n,r,i),this.data=r.data||[],this.object=r.object}getPaginatedItems(){return this.data??[]}nextPageParams(){return null}nextPageInfo(){return null}}class ri extends US{constructor(t,n,r,i){super(t,n,r,i),this.data=r.data||[],this.has_more=r.has_more||!1}getPaginatedItems(){return this.data??[]}hasNextPage(){return this.has_more===!1?!1:super.hasNextPage()}nextPageParams(){const t=this.nextPageInfo();if(!t)return null;if("params"in t)return t.params;const n=Object.fromEntries(t.url.searchParams);return Object.keys(n).length?n:null}nextPageInfo(){var r;const t=this.getPaginatedItems();if(!t.length)return null;const n=(r=t[t.length-1])==null?void 0:r.id;return n?{params:{after:n}}:null}}class Vt{constructor(t){this._client=t}}let LS=class extends Vt{list(t,n={},r){return sr(n)?this.list(t,{},n):this._client.getAPIList(`/chat/completions/${t}/messages`,KN,{query:n,...r})}},Wm=class extends Vt{constructor(){super(...arguments),this.messages=new LS(this._client)}create(t,n){return this._client.post("/chat/completions",{body:t,...n,stream:t.stream??!1})}retrieve(t,n){return this._client.get(`/chat/completions/${t}`,n)}update(t,n,r){return this._client.post(`/chat/completions/${t}`,{body:n,...r})}list(t={},n){return sr(t)?this.list({}
77,t):this._client.getAPIList("/chat/completions",qm,{query:t,...n})}del(t,n){return this._client.delete(`/chat/completions/${t}`,n)}};class qm extends ri{}class KN extends ri{}Wm.ChatCompletionsPage=qm;Wm.Messages=LS;let Jm=class extends Vt{constructor(){super(...arguments),this.completions=new Wm(this._client)}};Jm.Completions=Wm;Jm.ChatCompletionsPage=qm;class jS extends Vt{create(t,n){return this._client.post("/audio/speech",{body:t,...n,headers:{Accept:"application/octet-stream",...n==null?void 0:n.headers},__binaryResponse:!0})}}class NS extends Vt{create(t,n){return this._client.post("/audio/transcriptions",pf({body:t,...n,stream:t.stream??!1,__metadata:{model:t.model}}))}}class PS extends Vt{create(t,n){return this._client.post("/audio/translations",pf({body:t,...n,__metadata:{model:t.model}}))}}class jd extends Vt{constructor(){super(...arguments),this.transcriptions=new NS(this._client),this.translations=new PS(this._client),this.speech=new jS(this._client)}}jd.Transcriptions=NS;jd.Translations=PS;jd.Speech=jS;class r2 extends Vt{create(t,n){return this._client.post("/batches",{body:t,...n})}retrieve(t,n){return this._client.get(`/batches/${t}`,n)}list(t={},n){return sr(t)?this.list({},t):this._client.getAPIList("/batches",i2,{query:t,...n})}cancel(t,n){return this._client.post(`/batches/${t}/cancel`,n)}}class i2 extends ri{}r2.BatchesPage=i2;var ds=function(e,t,n,r,i){if(r==="m")throw new TypeError("Private method is not writable");if(r==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return r==="a"?i.call(e,n):i?i.value=n:t.set(e,n),n},Xn=function(e,t,n,r){if(n==="a"&&!r)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?r:n==="a"?r.call(e):r?r.value:t.get(e)},xy,Eg,_g,Sh,Eh,Ug,_h,Ro,Uh,lm,um,kc,TS;class A2{constructor(){xy.add(this),this.controller=new AbortController,Eg.set(this,void 0),_g.set(this,()=>{}),Sh.set(this,()=>{}),Eh.set(this,void 0),Ug.set(this,()=>{}),_h.set(this,()=>{}),Ro.set(this,{}),Uh.set(this,!1),lm.set(this,!1),um.set(this,!1),kc.set(this,!1),ds(this,Eg,new Promise((t,n)=>{ds(this,_g,t,"f"),ds(this,Sh,n,"f")}),"f"),ds(this,Eh,new Promise((t,n)=>{ds(this,Ug,t,"f"),ds(this,_h,n,"f")}),"f"),Xn(this,Eg,"f").catch(()=>{}),Xn(this,Eh,"f").catch(()=>{})}_run(t){setTimeout(()=>{t().then(()=>{this._emitFinal(),this._emit("end")},Xn(this,xy,"m",TS).bind(this))},0)}_connected(){this.ended||(Xn(this,_g,"f").call(this),this._emit("connect"))}get ended(){return Xn(this,Uh,"f")}get errored(){return Xn(this,lm,"f")}get aborted(){return Xn(this,um,"f")}abort(){this.controller.abort()}on(t,n){return(Xn(this,Ro,"f")[t]||(Xn(this,Ro,"f")[t]=[])).push({listener:n}),this}off(t,n){const r=Xn(this,Ro,"f")[t];if(!r)return this;const i=r.findIndex(A=>A.listener===n);return i>=0&&r.splice(i,1),this}once(t,n){return(Xn(this,Ro,"f")[t]||(Xn(this,Ro,"f")[t]=[])).push({listener:n,once:!0}),this}emitted(t){return new Promise((n,r)=>{ds(this,kc,!0,"f"),t!=="error"&&this.once("error",r),this.once(t,n)})}async done(){ds(this,kc,!0,"f"),await Xn(this,Eh,"f")}_emit(t,...n){if(Xn(this,Uh,"f"))return;t==="end"&&(ds(this,Uh,!0,"f"),Xn(this,Ug,"f").call(this));const r=Xn(this,Ro,"f")[t];if(r&&(Xn(this,Ro,"f")[t]=r.filter(i=>!i.once),r.forEach(({listener:i})=>i(...n))),t==="abort"){const i=n[0];!Xn(this,kc,"f")&&!(r!=null&&r.length)&&Promise.reject(i),Xn(this,Sh,"f").call(this,i),Xn(this,_h,"f").call(this,i),this._emit("end");return}if(t==="error"){const i=n[0];!Xn(this,kc,"f")&&!(r!=null&&r.length)&&Promise.reject(i),Xn(this,Sh,"f").call(this,i),Xn(this,_h,"f").call(this,i),this._emit("end")}}_emitFinal(){}}Eg=new WeakMap,_g=new WeakMap,Sh=new WeakMap,Eh=new WeakMap,Ug=new WeakMap,_h=new WeakMap,Ro=new WeakMap,Uh=new WeakMap,lm=new WeakMap,um=new WeakMap,kc=new WeakMap,xy=new WeakSet,TS=function(t){if(ds(this,lm,!0,"f"),t instanceof Error&&t.name==="AbortError"&&(t=new qA),t instanceof qA)return ds(this,um,!0,"f"),this._emit("abort",t);if(t instanceof Rt)return this._emit("error",t);if(t instanceof Error){const n=new Rt(t.message);return n.cause=t,this._emit("error",n)}return this._emit("error",new Rt(String(t)))};var Ut=function(e,t,n,r){if(n==="a"&&!r)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?r:n==="a"?r.call(e):r?r.value:t.get(e)},xA=function(e,t,n,r,i){if(r==="m")throw new TypeError("Private method is not writable");if(r==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return r==="a"?i.call(e,n):i?i.value=n:t.set(e,n),n},Yr,by,to,Qg,gs,Au,$c,eu,cm,SA,kg,Ig,Vh,Qh,kh,Qx,kx,Ix,Lx,jx,Nx,Px;class Bs extends A2{constructor(){super(...arguments),Yr.add(this),by.set(this,[]),to.set(this,{}),Qg.set(this,{}),gs.set(this,void 0),Au.set(this,void 0),$c.set(this,void 0),eu.set(this,void 0),cm.set(this,void 0),SA.set(this,void 0),kg.set(this,void 0),Ig.set(this,void 0),Vh.set(this,void 0)}[(by=new WeakMap,to=new WeakMap,Qg=new WeakMap,gs=new WeakMap,Au=new WeakMap,$c=new WeakMap,eu=new WeakMap,cm=new WeakMap,SA=new WeakMap,kg=new WeakMap,Ig=new WeakMap,Vh=new WeakMap,Yr=new WeakSet,Symbol.asyncIterator)](){const t=[],n=[];let r=!1;return this.on("event",i=>{const A=n.shift();A?A.resolve(i):t.push(i)}),this.on("end",()=>{r=!0;for(const i of n)i.resolve(void 0);n.length=0}),this.on("abort",i=>{r=!0;for(const A of n)A.reject(i);n.length=0}),this.on("error",i=>{r=!0;for(const A of n)A.reject(i);n.length=0}),{next:async()=>t.length?{value:t.shift(),done:!1}:r?{value:void 0,done:!0}:new Promise((A,s)=>n.push({resolve:A,reject:s})).then(A=>A?{value:A,done:!1}:{value:void 0,done:!0}),return:async()=>(this.abort(),{value:void 0,done:!0})}}static fromReadableStream(t){const n=new Bs;return n._run(()=>n._fromReadableStream(t)),n}async _fromReadableStream(t,n){var A;const r=n==null?void 0:n.signal;r&&(r.aborted&&this.controller.abort(),r.addEventListener("abort",()=>this.controller.abort())),this._connected();const i=ro.fromReadableStream(t,this.controller);for await(const s of i)Ut(this,Yr,"m",Qh).call(this,s);if((A=i.controller.signal)!=null&&A.aborted)throw new qA;return this._addRun(Ut(this,Yr,"m",kh).call(this))}toReadableStream(){return new ro(this[Symbol.asyncIterator].bind(this),this.controller).toReadableStream()}static createToolAssistantStream(t,n,r,i,A){const s=new Bs;return s._run(()=>s._runToolAssistantStream(t,n,r,i,{...A,headers:{...A==null?void 0:A.headers,"X-Stainless-Helper
77-Method":"stream"}})),s}async _createToolAssistantStream(t,n,r,i,A){var u;const s=A==null?void 0:A.signal;s&&(s.aborted&&this.controller.abort(),s.addEventListener("abort",()=>this.controller.abort()));const a={...i,stream:!0},o=await t.submitToolOutputs(n,r,a,{...A,signal:this.controller.signal});this._connected();for await(const l of o)Ut(this,Yr,"m",Qh).call(this,l);if((u=o.controller.signal)!=null&&u.aborted)throw new qA;return this._addRun(Ut(this,Yr,"m",kh).call(this))}static createThreadAssistantStream(t,n,r){const i=new Bs;return i._run(()=>i._threadAssistantStream(t,n,{...r,headers:{...r==null?void 0:r.headers,"X-Stainless-Helper-Method":"stream"}})),i}static createAssistantStream(t,n,r,i){const A=new Bs;return A._run(()=>A._runAssistantStream(t,n,r,{...i,headers:{...i==null?void 0:i.headers,"X-Stainless-Helper-Method":"stream"}})),A}currentEvent(){return Ut(this,kg,"f")}currentRun(){return Ut(this,Ig,"f")}currentMessageSnapshot(){return Ut(this,gs,"f")}currentRunStepSnapshot(){return Ut(this,Vh,"f")}async finalRunSteps(){return await this.done(),Object.values(Ut(this,to,"f"))}async finalMessages(){return await this.done(),Object.values(Ut(this,Qg,"f"))}async finalRun(){if(await this.done(),!Ut(this,Au,"f"))throw Error("Final run was not received.");return Ut(this,Au,"f")}async _createThreadAssistantStream(t,n,r){var a;const i=r==null?void 0:r.signal;i&&(i.aborted&&this.controller.abort(),i.addEventListener("abort",()=>this.controller.abort()));const A={...n,stream:!0},s=await t.createAndRun(A,{...r,signal:this.controller.signal});this._connected();for await(const o of s)Ut(this,Yr,"m",Qh).call(this,o);if((a=s.controller.signal)!=null&&a.aborted)throw new qA;return this._addRun(Ut(this,Yr,"m",kh).call(this))}async _createAssistantStream(t,n,r,i){var o;const A=i==null?void 0:i.signal;A&&(A.aborted&&this.controller.abort(),A.addEventListener("abort",()=>this.controller.abort()));const s={...r,stream:!0},a=await t.create(n,s,{...i,signal:this.controller.signal});this._connected();for await(const u of a)Ut(this,Yr,"m",Qh).call(this,u);if((o=a.controller.signal)!=null&&o.aborted)throw new qA;return this._addRun(Ut(this,Yr,"m",kh).call(this))}static accumulateDelta(t,n){for(const[r,i]of Object.entries(n)){if(!t.hasOwnProperty(r)){t[r]=i;continue}let A=t[r];if(A==null){t[r]=i;continue}if(r==="index"||r==="type"){t[r]=i;continue}if(typeof A=="string"&&typeof i=="string")A+=i;else if(typeof A=="number"&&typeof i=="number")A+=i;else if(P1(A)&&P1(i))A=this.accumulateDelta(A,i);else if(Array.isArray(A)&&Array.isArray(i)){if(A.every(s=>typeof s=="string"||typeof s=="number")){A.push(...i);continue}for(const s of i){if(!P1(s))throw new Error(`Expected array delta entry to be an object but got: ${s}`);const a=s.index;if(a==null)throw console.error(s),new Error("Expected array delta entry to have an `index` property");if(typeof a!="number")throw new Error(`Expected array delta entry \`index\` property to be a number but got ${a}`);const o=A[a];o==null?A.push(s):A[a]=this.accumulateDelta(o,s)}continue}else throw Error(`Unhandled record type: ${r}, deltaValue: ${i}, accValue: ${A}`);t[r]=A}return t}_addRun(t){return t}async _threadAssistantStream(t,n,r){return await this._createThreadAssistantStream(n,t,r)}async _runAssistantStream(t,n,r,i){return await this._createAssistantStream(n,t,r,i)}async _runToolAssistantStream(t,n,r,i,A){return await this._createToolAssistantStream(r,t,n,i,A)}}Qh=function(t){if(!this.ended)switch(xA(this,kg,t,"f"),Ut(this,Yr,"m",Ix).call(this,t),t.event){case"thread.created":break;case"thread.run.created":case"thread.run.queued":case"thread.run.in_progress":case"thread.run.requires_action":case"thread.run.completed":case"thread.run.incomplete":case"thread.run.failed":case"thread.run.cancelling":case"thread.run.cancelled":case"thread.run.expired":Ut(this,Yr,"m",Px).call(this,t);break;case"thread.run.step.created":case"thread.run.step.in_progress":case"thread.run.step.delta":case"thread.run.step.completed":case"thread.run.step.failed":case"thread.run.step.cancelled":case"thread.run.step.expired":Ut(this,Yr,"m",kx).call(this,t);break;case"thread.message.created":case"thread.message.in_progress":case"thread.message.delta":case"thread.message.completed":case"thread.message.incomplete":Ut(this,Yr,"m",Qx).call(this,t);break;case"error":throw new Error("Encountered an error event in event processing - errors should be processed earlier")}}
77,kh=function(){if(this.ended)throw new Rt("stream has ended, this shouldn't happen");if(!Ut(this,Au,"f"))throw Error("Final run has not been received");return Ut(this,Au,"f")},Qx=function(t){const[n,r]=Ut(this,Yr,"m",jx).call(this,t,Ut(this,gs,"f"));xA(this,gs,n,"f"),Ut(this,Qg,"f")[n.id]=n;for(const i of r){const A=n.content[i.index];(A==null?void 0:A.type)=="text"&&this._emit("textCreated",A.text)}switch(t.event){case"thread.message.created":this._emit("messageCreated",t.data);break;case"thread.message.in_progress":break;case"thread.message.delta":if(this._emit("messageDelta",t.data.delta,n),t.data.delta.content)for(const i of t.data.delta.content){if(i.type=="text"&&i.text){let A=i.text,s=n.content[i.index];if(s&&s.type=="text")this._emit("textDelta",A,s.text);else throw Error("The snapshot associated with this text delta is not text or missing")}if(i.index!=Ut(this,$c,"f")){if(Ut(this,eu,"f"))switch(Ut(this,eu,"f").type){case"text":this._emit("textDone",Ut(this,eu,"f").text,Ut(this,gs,"f"));break;case"image_file":this._emit("imageFileDone",Ut(this,eu,"f").image_file,Ut(this,gs,"f"));break}xA(this,$c,i.index,"f")}xA(this,eu,n.content[i.index],"f")}break;case"thread.message.completed":case"thread.message.incomplete":if(Ut(this,$c,"f")!==void 0){const i=t.data.content[Ut(this,$c,"f")];if(i)switch(i.type){case"image_file":this._emit("imageFileDone",i.image_file,Ut(this,gs,"f"));break;case"text":this._emit("textDone",i.text,Ut(this,gs,"f"));break}}Ut(this,gs,"f")&&this._emit("messageDone",t.data),xA(this,gs,void 0,"f")}},kx=function(t){const n=Ut(this,Yr,"m",Lx).call(this,t);switch(xA(this,Vh,n,"f"),t.event){case"thread.run.step.created":this._emit("runStepCreated",t.data);break;case"thread.run.step.delta":const r=t.data.delta;if(r.step_details&&r.step_details.type=="tool_calls"&&r.step_details.tool_calls&&n.step_details.type=="tool_calls")for(const A of r.step_details.tool_calls)A.index==Ut(this,cm,"f")?this._emit("toolCallDelta",A,n.step_details.tool_calls[A.index]):(Ut(this,SA,"f")&&this._emit("toolCallDone",Ut(this,SA,"f")),xA(this,cm,A.index,"f"),xA(this,SA,n.step_details.tool_calls[A.index],"f"),Ut(this,SA,"f")&&this._emit("toolCallCreated",Ut(this,SA,"f")));this._emit("runStepDelta",t.data.delta,n);break;case"thread.run.step.completed":case"thread.run.step.failed":case"thread.run.step.cancelled":case"thread.run.step.expired":xA(this,Vh,void 0,"f"),t.data.step_details.type=="tool_calls"&&Ut(this,SA,"f")&&(this._emit("toolCallDone",Ut(this,SA,"f")),xA(this,SA,void 0,"f")),this._emit("runStepDone",t.data,n);break}},Ix=function(t){Ut(this,by,"f").push(t),this._emit("event",t)},Lx=function(t){switch(t.event){case"thread.run.step.created":return Ut(this,to,"f")[t.data.id]=t.data,t.data;case"thread.run.step.delta":let n=Ut(this,to,"f")[t.data.id];if(!n)throw Error("Received a RunStepDelta before creation of a snapshot");let r=t.data;if(r.delta){const i=Bs.accumulateDelta(n,r.delta);Ut(this,to,"f")[t.data.id]=i}return Ut(this,to,"f")[t.data.id];case"thread.run.step.completed":case"thread.run.step.failed":case"thread.run.step.cancelled":case"thread.run.step.expired":case"thread.run.step.in_progress":Ut(this,to,"f")[t.data.id]=t.data;break}if(Ut(this,to,"f")[t.data.id])return Ut(this,to,"f")[t.data.id];throw new Error("No snapshot available")},jx=function(t,n){let r=[];switch(t.event){case"thread.message.created":return[t.data,r];case"thread.message.delta":if(!n)throw Error("Received a delta with no existing snapshot (there should be one from message creation)");let i=t.data;if(i.delta.content)for(const A of i.delta.content)if(A.index in n.content){let s=n.content[A.index];n.content[A.index]=Ut(this,Yr,"m",Nx).call(this,A,s)}else n.content[A.index]=A,r.push(A);return[n,r];case"thread.message.in_progress":case"thread.message.completed":case"thread.message.incomplete":if(n)return[n,r];throw Error("Received thread message event with no existing snapshot")}throw Error("Tried to accumulate a non-message event")},Nx=function(t,n){return Bs.accumulateDelta(n,t)},Px=function(t){switch(xA(this,Ig,t.data,"f"),t.event){case"thread.run.created":break;case"thread.run.queued":break;case"thread.run.in_progress":break;case"thread.run.requires_action":case"thread.run.cancelled":case"thread.run.failed":case"thread.run.completed":case"thread.run.expired":xA(this,Au,t.data,"f"),Ut(this,SA,"f")&&(this._emit("toolCallDone",Ut(this,SA,"f")),xA(this,SA,void 0,"f"));break}};class s2 extends Vt{create(t,n){return this._client.post("/assistants",{body:t,...n,headers:{"OpenAI-Beta":"assistants=v2",...n==null?void 0:n.headers}})}retrieve(t,n){return this._client.get(`/assistants/${t}`,{...n,headers:{"OpenAI-Beta":"assistants=v2",...n==null?void 0:n.headers}})}update(t,n,r){return this._client.post(`/assistants/${t}`,{body:n,...r,headers:{"OpenAI-Beta":"assistants=v2",...r==null?void 0:r.headers}})}list(t={},n){return sr(t)?this.list({},t):this._client.getAPIList("/assistants",o2,{query:t,...n,headers:{"OpenAI-Beta":"assistants=v2",...n==null?void 0:n.headers}})}del(t,n){return this._client.delete(`/assistants/${t}`,{...n,headers:{"OpenAI-Beta":"assistants=v2",...n==null?void 0:n.headers}})}}class o2 extends ri{}s2.AssistantsPage=o2;function Tx(e){return typeof e.parse=="function"}const nf=e=>(e==null?void 0:e.role)==="assistant",OS=e=>(e==null?void 0:e.role)==="function",RS=e=>(e==null?void 0:e.role)==="tool";function a2(e){return(e==null?void 0:e.$brand)==="auto-parseable-response-format"}function Nd(e){return(e==null?void 0:e.$brand)==="auto-parseable-tool"}function zN(e,t){return!t||!DS(t)?{...e,choices:e.choices.map(n=>({...n,message:{...n.message,parsed:null,...n.message.tool_calls?{tool_calls:n.message.tool_calls}:void 0}}))}:l2(e,t)}function l2(e,t){const n=e.choices.map(r=>{var i;if(r.finish_reason==="length")throw new BS;if(r.finish_reason==="content_filter")throw new xS;return{...r,message:{...r.message,...r.message.tool_calls?{tool_calls:((i=r.message.tool_calls)==null?void 0:i.map(A=>GN(t,A)))??void 0}:void 0,parsed:r.message.content&&!r.message.refusal?VN(t,r.message.content):null}}});return{...e,choices:n}}function VN(e,t){var n,r;return((n=e.response_format)==null?void 0:n.type)!=="json_schema"?null:((r=e.response_format)==null?void 0:r.type)==="json_schema"?"$parseRaw"in e.response_format?e.response_format.$parseRaw(t):JSON.parse(t):null}function GN(e,t){var r;const n=(r=e.tools)==null?void 0:r.find(i=>{var A;return((A=i.function)==null?void 0:A.name)===t.function.name});return{...t,function:{...t.function,parsed_arguments:Nd(n)?n.$parseRaw(t.function.arguments):n!=null&&n.function.strict?JSON.parse(t.function.arguments):null}}}function $N(e,t){var r;if(!e)return!1;const n=(r=e.tools)==null?void 0:r.find(i=>{var A;return((A=i.function)==null?void 0:A.name)===t.function.name});return Nd(n)||(n==null?void 0:n.function.strict)||!1}function DS(e){var t;return a2(e.response_format)?!0:((t=e.tools)==null?void 0:t.some(n=>Nd(n)||n.type==="function"&&n.function.strict===!0))??!1}function WN(e){for(const t of e??[]){if(t.type!=="function")throw new Rt(`Currently only \`function\` tool types support auto-parsing; Received \`${t.type}\``);if(t.function.strict!==!0)throw new Rt(`The \`${t.function.name}\` tool is not marked with \`strict: true\`. Only strict function tools can be auto-parsed`)}}var eA=function(e,t,n,r){if(n==="a"&&!r)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?r:n==="a"?r.call(e):r?r.value:t.get(e)},yi,Cy,fm,Fy,Sy,Ey,HS,_y;const Ox=10;class MS extends A2{constructor(){super(...arguments),yi.add(this),this._chatCompletions=[],this.messages=[]}_addChatCompletion(t){var r;this._chatCompletions.push(t),this._emit("chatCompletion",t);const n=(r=t.choices[0])==null?void 0:r.message;return n&&this._addMessage(n),t}_addMessage(t,n=!0){if("content"in t||(t.content=null),this.messages.push(t),n){if
77(this._emit("message",t),(OS(t)||RS(t))&&t.content)this._emit("functionCallResult",t.content);else if(nf(t)&&t.function_call)this._emit("functionCall",t.function_call);else if(nf(t)&&t.tool_calls)for(const r of t.tool_calls)r.type==="function"&&this._emit("functionCall",r.function)}}async finalChatCompletion(){await this.done();const t=this._chatCompletions[this._chatCompletions.length-1];if(!t)throw new Rt("stream ended without producing a ChatCompletion");return t}async finalContent(){return await this.done(),eA(this,yi,"m",Cy).call(this)}async finalMessage(){return await this.done(),eA(this,yi,"m",fm).call(this)}async finalFunctionCall(){return await this.done(),eA(this,yi,"m",Fy).call(this)}async finalFunctionCallResult(){return await this.done(),eA(this,yi,"m",Sy).call(this)}async totalUsage(){return await this.done(),eA(this,yi,"m",Ey).call(this)}allChatCompletions(){return[...this._chatCompletions]}_emitFinal(){const t=this._chatCompletions[this._chatCompletions.length-1];t&&this._emit("finalChatCompletion",t);const n=eA(this,yi,"m",fm).call(this);n&&this._emit("finalMessage",n);const r=eA(this,yi,"m",Cy).call(this);r&&this._emit("finalContent",r);const i=eA(this,yi,"m",Fy).call(this);i&&this._emit("finalFunctionCall",i);const A=eA(this,yi,"m",Sy).call(this);A!=null&&this._emit("finalFunctionCallResult",A),this._chatCompletions.some(s=>s.usage)&&this._emit("totalUsage",eA(this,yi,"m",Ey).call(this))}async _createChatCompletion(t,n,r){const i=r==null?void 0:r.signal;i&&(i.aborted&&this.controller.abort(),i.addEventListener("abort",()=>this.controller.abort())),eA(this,yi,"m",HS).call(this,n);const A=await t.chat.completions.create({...n,stream:!1},{...r,signal:this.controller.signal});return this._connected(),this._addChatCompletion(l2(A,n))}async _runChatCompletion(t,n,r){for(const i of n.messages)this._addMessage(i,!1);return await this._createChatCompletion(t,n,r)}async _runFunctions(t,n,r){var p;const i="function",{function_call:A="auto",stream:s,...a}=n,o=typeof A!="string"&&(A==null?void 0:A.name),{maxChatCompletions:u=Ox}=r||{},l={};for(const f of n.functions)l[f.name||f.function.name]=f;const c=n.functions.map(f=>({name:f.name||f.function.name,parameters:f.parameters,description:f.description}));for(const f of n.messages)this._addMessage(f,!1);for(let f=0;f<u;++f){const b=(p=(await this._createChatCompletion(t,{...a,function_call:A,functions:c,messages:[...this.messages]},r)).choices[0])==null?void 0:p.message;if(!b)throw new Rt("missing message in ChatCompletion response");if(!b.function_call)return;const{name:E,arguments:v}=b.function_call,B=l[E];if(B){if(o&&o!==E){const P=`Invalid function_call: ${JSON.stringify(E)}. ${JSON.stringify(o)} requested. Please try again`;this._addMessage({role:i,name:E,content:P});continue}}else{const P=`Invalid function_call: ${JSON.stringify(E)}. Available options are: ${c.map($=>JSON.stringify($.name)).join(", ")}. Please try again`;this._addMessage({role:i,name:E,content:P});continue}let F;try{F=Tx(B)?await B.parse(v):v}catch(P){this._addMessage({role:i,name:E,content:P instanceof Error?P.message:String(P)});continue}const U=await B.function(F,this),N=eA(this,yi,"m",_y).call(this,U);if(this._addMessage({role:i,name:E,content:N}),o)return}}async _runTools(t,n,r){var f,x,b;const i="tool",{tool_choice:A="auto",stream:s,...a}=n,o=typeof A!="string"&&((f=A==null?void 0:A.function)==null?void 0:f.name),{maxChatCompletions:u=Ox}=r||{},l=n.tools.map(E=>{if(Nd(E)){if(!E.$callback)throw new Rt("Tool given to `.runTools()` that does not have an associated function");return{type:"function",function:{function:E.$callback,name:E.function.name,description:E.function.description||"",parameters:E.function.parameters,parse:E.$parseRaw,strict:!0}}}return E}),c={};for(const E of l)E.type==="function"&&(c[E.function.name||E.function.function.name]=E.function);const p="tools"in n?l.map(E=>E.type==="function"?{type:"function",function:{name:E.function.name||E.function.function.name,parameters:E.function.parameters,description:E.function.description,strict:E.function.strict}}:E):void 0;for(const E of n.messages)this._addMessage(E,!1);for(let E=0;E<u;++E){const B=(x=(await this._createChatCompletion(t,{...a,tool_choice:A,tools:p,messages:[...this.messages]},r)).choices[0])==null?void 0:x.message;if(!B)throw new Rt("missing message in ChatCompletion response");if(!((b=B.tool_calls)!=null&&b.length))return;
77for(const F of B.tool_calls){if(F.type!=="function")continue;const U=F.id,{name:N,arguments:P}=F.function,$=c[N];if($){if(o&&o!==N){const j=`Invalid tool_call: ${JSON.stringify(N)}. ${JSON.stringify(o)} requested. Please try again`;this._addMessage({role:i,tool_call_id:U,content:j});continue}}else{const j=`Invalid tool_call: ${JSON.stringify(N)}. Available options are: ${Object.keys(c).map(D=>JSON.stringify(D)).join(", ")}. Please try again`;this._addMessage({role:i,tool_call_id:U,content:j});continue}let G;try{G=Tx($)?await $.parse(P):P}catch(j){const D=j instanceof Error?j.message:String(j);this._addMessage({role:i,tool_call_id:U,content:D});continue}const te=await $.function(G,this),M=eA(this,yi,"m",_y).call(this,te);if(this._addMessage({role:i,tool_call_id:U,content:M}),o)return}}}}yi=new WeakSet,Cy=function(){return eA(this,yi,"m",fm).call(this).content??null},fm=function(){let t=this.messages.length;for(;t-- >0;){const n=this.messages[t];if(nf(n)){const{function_call:r,...i}=n,A={...i,content:n.content??null,refusal:n.refusal??null};return r&&(A.function_call=r),A}}throw new Rt("stream ended without producing a ChatCompletionMessage with role=assistant")},Fy=function(){var t,n;for(let r=this.messages.length-1;r>=0;r--){const i=this.messages[r];if(nf(i)&&(i!=null&&i.function_call))return i.function_call;if(nf(i)&&((t=i==null?void 0:i.tool_calls)!=null&&t.length))return(n=i.tool_calls.at(-1))==null?void 0:n.function}},Sy=function(){for(let t=this.messages.length-1;t>=0;t--){const n=this.messages[t];if(OS(n)&&n.content!=null||RS(n)&&n.content!=null&&typeof n.content=="string"&&this.messages.some(r=>{var i;return r.role==="assistant"&&((i=r.tool_calls)==null?void 0:i.some(A=>A.type==="function"&&A.id===n.tool_call_id))}))return n.content}},Ey=function(){const t={completion_tokens:0,prompt_tokens:0,total_tokens:0};for(const{usage:n}of this._chatCompletions)n&&(t.completion_tokens+=n.completion_tokens,t.prompt_tokens+=n.prompt_tokens,t.total_tokens+=n.total_tokens);return t},HS=function(t){if(t.n!=null&&t.n>1)throw new Rt("ChatCompletion convenience helpers only support n=1 at this time. To use n>1, please use chat.completions.create() directly.")},_y=function(t){return typeof t=="string"?t:t===void 0?"undefined":JSON.stringify(t)};class vd extends MS{static runFunctions(t,n,r){const i=new vd,A={...r,headers:{...r==null?void 0:r.headers,"X-Stainless-Helper-Method":"runFunctions"}};return i._run(()=>i._runFunctions(t,n,A)),i}static runTools(t,n,r){const i=new vd,A={...r,headers:{...r==null?void 0:r.headers,"X-Stainless-Helper-Method":"runTools"}};return i._run(()=>i._runTools(t,n,A)),i}_addMessage(t,n=!0){super._addMessage(t,n),nf(t)&&t.content&&this._emit("content",t.content)}}const KS=1,zS=2,VS=4,GS=8,$S=16,WS=32,qS=64,JS=128,XS=256,YS=JS|XS,ZS=$S|WS|YS|qS,eE=KS|zS|ZS,tE=VS|GS,qN=eE|tE,Or={STR:KS,NUM:zS,ARR:VS,OBJ:GS,NULL:$S,BOOL:WS,NAN:qS,INFINITY:JS,MINUS_INFINITY:XS,INF:YS,SPECIAL:ZS,ATOM:eE,COLLECTION:tE,ALL:qN};class JN extends Error{}
77class XN extends Error{}function YN(e,t=Or.ALL){if(typeof e!="string")throw new TypeError(`expecting str, got ${typeof e}`);if(!e.trim())throw new Error(`${e} is empty`);return ZN(e.trim(),t)}const ZN=(e,t)=>{const n=e.length;let r=0;const i=p=>{throw new JN(`${p} at position ${r}`)},A=p=>{throw new XN(`${p} at position ${r}`)},s=()=>(c(),r>=n&&i("Unexpected end of input"),e[r]==='"'?a():e[r]==="{"?o():e[r]==="["?u():e.substring(r,r+4)==="null"||Or.NULL&t&&n-r<4&&"null".startsWith(e.substring(r))?(r+=4,null):e.substring(r,r+4)==="true"||Or.BOOL&t&&n-r<4&&"true".startsWith(e.substring(r))?(r+=4,!0):e.substring(r,r+5)==="false"||Or.BOOL&t&&n-r<5&&"false".startsWith(e.substring(r))?(r+=5,!1):e.substring(r,r+8)==="Infinity"||Or.INFINITY&t&&n-r<8&&"Infinity".startsWith(e.substring(r))?(r+=8,1/0):e.substring(r,r+9)==="-Infinity"||Or.MINUS_INFINITY&t&&1<n-r&&n-r<9&&"-Infinity".startsWith(e.substring(r))?(r+=9,-1/0):e.substring(r,r+3)==="NaN"||Or.NAN&t&&n-r<3&&"NaN".startsWith(e.substring(r))?(r+=3,NaN):l()),a=()=>{const p=r;let f=!1;for(r++;r<n&&(e[r]!=='"'||f&&e[r-1]==="\\");)f=e[r]==="\\"?!f:!1,r++;if(e.charAt(r)=='"')try{return JSON.parse(e.substring(p,++r-Number(f)))}catch(x){A(String(x))}else if(Or.STR&t)try{return JSON.parse(e.substring(p,r-Number(f))+'"')}catch{return JSON.parse(e.substring(p,e.lastIndexOf("\\"))+'"')}i("Unterminated string literal")},o=()=>{r++,c();const p={};try{for(;e[r]!=="}";){if(c(),r>=n&&Or.OBJ&t)return p;const f=a();c(),r++;try{const x=s();Object.defineProperty(p,f,{value:x,writable:!0,enumerable:!0,configurable:!0})}catch(x){if(Or.OBJ&t)return p;throw x}c(),e[r]===","&&r++}}catch{if(Or.OBJ&t)return p;i("Expected '}' at end of object")}return r++,p},u=()=>{r++;const p=[];try{for(;e[r]!=="]";)p.push(s()),c(),e[r]===","&&r++}catch{if(Or.ARR&t)return p;i("Expected ']' at end of array")}return r++,p},l=()=>{if(r===0){e==="-"&&Or.NUM&t&&i("Not sure what '-' is");try{return JSON.parse(e)}catch(f){if(Or.NUM&t)try{return e[e.length-1]==="."?JSON.parse(e.substring(0,e.lastIndexOf("."))):JSON.parse(e.substring(0,e.lastIndexOf("e")))}catch{}A(String(f))}}const p=r;for(e[r]==="-"&&r++;e[r]&&!",]}".includes(e[r]);)r++;r==n&&!(Or.NUM&t)&&i("Unterminated number literal");try{return JSON.parse(e.substring(p,r))}catch{e.substring(p,r)==="-"&&Or.NUM&t&&i("Not sure what '-' is");try{return JSON.parse(e.substring(p,e.lastIndexOf("e")))}catch(x){A(String(x))}}},c=()=>{for(;r<n&&` 
78\r	`.includes(e[r]);)r++};return s()},Rx=e=>YN(e,Or.ALL^Or.NUM);var xc=function(e,t,n,r,i){if(r==="m")throw new TypeError("Private method is not writable");if(r==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return r==="a"?i.call(e,n):i?i.value=n:t.set(e,n),n},En=function(e,t,n,r){if(n==="a"&&!r)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?r:n==="a"?r.call(e):r?r.value:t.get(e)},_r,Po,bc,ja,T1,eg,O1,R1,D1,tg,H1,Dx;class Bd extends MS{constructor(t){super(),_r.add(this),Po.set(this,void 0),bc.set(this,void 0),ja.set(this,void 0),xc(this,Po,t,"f"),xc(this,bc,[],"f")}get currentChatCompletionSnapshot(){return En(this,ja,"f")}static fromReadableStream(t){const n=new Bd(null);return n._run(()=>n._fromReadableStream(t)),n}static createChatCompletion(t,n,r){const i=new Bd(n);return i._run(()=>i._runChatCompletion(t,{...n,stream:!0},{...r,headers:{...r==null?void 0:r.headers,"X-Stainless-Helper-Method":"stream"}})),i}async _createChatCompletion(t,n,r){var s;super._createChatCompletion;const i=r==null?void 0:r.signal;i&&(i.aborted&&this.controller.abort(),i.addEventListener("abort",()=>this.controller.abort())),En(this,_r,"m",T1).call(this);const A=await t.chat.completions.create({...n,stream:!0},{...r,signal:this.controller.signal});this._connected();for await(const a of A)En(this,_r,"m",O1).call(this,a);if((s=A.controller.signal)!=null&&s.aborted)throw new qA;return this._addChatCompletion(En(this,_r,"m",tg).call(this))}async _fromReadableStream(t,n){var s;const r=n==null?void 0:n.signal;r&&(r.aborted&&this.controller.abort(),r.addEventListener("abort",()=>
78this.controller.abort())),En(this,_r,"m",T1).call(this),this._connected();const i=ro.fromReadableStream(t,this.controller);let A;for await(const a of i)A&&A!==a.id&&this._addChatCompletion(En(this,_r,"m",tg).call(this)),En(this,_r,"m",O1).call(this,a),A=a.id;if((s=i.controller.signal)!=null&&s.aborted)throw new qA;return this._addChatCompletion(En(this,_r,"m",tg).call(this))}[(Po=new WeakMap,bc=new WeakMap,ja=new WeakMap,_r=new WeakSet,T1=function(){this.ended||xc(this,ja,void 0,"f")},eg=function(n){let r=En(this,bc,"f")[n.index];return r||(r={content_done:!1,refusal_done:!1,logprobs_content_done:!1,logprobs_refusal_done:!1,done_tool_calls:new Set,current_tool_call_index:null},En(this,bc,"f")[n.index]=r,r)},O1=function(n){var i,A,s,a,o,u,l,c,p,f,x,b,E,v,B;if(this.ended)return;const r=En(this,_r,"m",Dx).call(this,n);this._emit("chunk",n,r);for(const F of n.choices){const U=r.choices[F.index];F.delta.content!=null&&((i=U.message)==null?void 0:i.role)==="assistant"&&((A=U.message)!=null&&A.content)&&(this._emit("content",F.delta.content,U.message.content),this._emit("content.delta",{delta:F.delta.content,snapshot:U.message.content,parsed:U.message.parsed})),F.delta.refusal!=null&&((s=U.message)==null?void 0:s.role)==="assistant"&&((a=U.message)!=null&&a.refusal)&&this._emit("refusal.delta",{delta:F.delta.refusal,snapshot:U.message.refusal}),((o=F.logprobs)==null?void 0:o.content)!=null&&((u=U.message)==null?void 0:u.role)==="assistant"&&this._emit("logprobs.content.delta",{content:(l=F.logprobs)==null?void 0:l.content,snapshot:((c=U.logprobs)==null?void 0:c.content)??[]}),((p=F.logprobs)==null?void 0:p.refusal)!=null&&((f=U.message)==null?void 0:f.role)==="assistant"&&this._emit("logprobs.refusal.delta",{refusal:(x=F.logprobs)==null?void 0:x.refusal,snapshot:((b=U.logprobs)==null?void 0:b.refusal)??[]});const N=En(this,_r,"m",eg).call(this,U);U.finish_reason&&(En(this,_r,"m",D1).call(this,U),N.current_tool_call_index!=null&&En(this,_r,"m",R1).call(this,U,N.current_tool_call_index));for(const P of F.delta.tool_calls??[])N.current_tool_call_index!==P.index&&(En(this,_r,"m",D1).call(this,U),N.current_tool_call_index!=null&&En(this,_r,"m",R1).call(this,U,N.current_tool_call_index)),N.current_tool_call_index=P.index;for(const P of F.delta.tool_calls??[]){const $=(E=U.message.tool_calls)==null?void 0:E[P.index];$!=null&&$.type&&(($==null?void 0:$.type)==="function"?this._emit("tool_calls.function.arguments.delta",{name:(v=$.function)==null?void 0:v.name,index:P.index,arguments:$.function.arguments,parsed_arguments:$.function.parsed_arguments,arguments_delta:((B=P.function)==null?void 0:B.arguments)??""}):($==null||$.type,void 0))}}},R1=function(n,r){var s,a,o;if(En(this,_r,"m",eg).call(this,n).done_tool_calls.has(r))return;const A=(s=n.message.tool_calls)==null?void 0:s[r];if(!A)throw new Error("no tool call snapshot");if(!A.type)throw new Error("tool call snapshot missing `type`");if(A.type==="function"){const u=(o=(a=En(this,Po,"f"))==null?void 0:a.tools)==null?void 0:o.find(l=>l.type==="function"&&l.function.name===A.function.name);this._emit("tool_calls.function.arguments.done",{name:A.function.name,index:r,arguments:A.function.arguments,parsed_arguments:Nd(u)?u.$parseRaw(A.function.arguments):u!=null&&u.function.strict?JSON.parse(A.function.arguments):null})}else A.type},D1=function(n){var i,A;const r=En(this,_r,"m",eg).call(this,n);if(n.message.content&&!r.content_done){r.content_done=!0;const s=En(this,_r,"m",H1).call(this);this._emit("content.done",{content:n.message.content,parsed:s?s.$parseRaw(n.message.content):null})}n.message.refusal&&!r.refusal_done&&(r.refusal_done=!0,this._emit("refusal.done",{refusal:n.message.refusal})),(i=n.logprobs)!=null&&i.content&&!r.logprobs_content_done&&(r.logprobs_content_done=!0,this._emit("logprobs.content.done",{content:n.logprobs.content})),(A=n.logprobs)!=null&&A.refusal&&!r.logprobs_refusal_done&&(r.logprobs_refusal_done=!0,this._emit("logprobs.refusal.done",{refusal:n.logprobs.refusal}))},tg=function(){if(this.ended)throw new Rt("stream has ended, this shouldn't happen");const n=En(this,ja,"f");if(!n)throw new Rt("request ended without sending any chunks");return xc(this,ja,void 0,"f"),xc(this,bc,[],"f"),e6(n,En(this,Po,"f"))},H1=function(){var r;const n=(r=En(this,Po,"f"))==null?void 0:r.response_format;return a2(n)?n:null},Dx=function(n){var r,i,A,s;let a=En(this,ja,"f");const{choices:o,...u}=n;a?Object.assign(a,u):a=xc(this,ja,{...u,choices:[]},"f");for(const{delta:l,finish_reason:c,index:p,logprobs:f=null,...x}of n.choices){let b=a.choices[p];if(b||(b=a.choices[p]={finish_reason:c,index:p,message:{},logprobs:f,...x}),f)if(!b.logprobs)b.logprobs=Object.assign({},f);else{const{content:P,refusal:$,...G}=f;Object.assign(b.logprobs,G),P&&((r=b.logprobs).content??(r.content=[]),b.logprobs.content.push(...P)),$&&((i=b.logprobs).refusal??(i.refusal=[]),b.logprobs.refusal.push(...$))}if(c&&(b.finish_reason=c,En(this,Po,"f")&&DS(En(this,Po,"f")))){if(c==="length")throw new BS;if(c==="content_filter")throw new xS}if(Object.assign(b,x),!l)continue;const{content:E,refusal:v,function_call:B,role:F,tool_calls:U,...N}=l;if(Object.assign(b.message,N),v&&(b.message.refusal=(b.message.refusal||"")+v),F&&(b.message.role=F),B&&(b.message.function_call?(B.name&&(b.message.function_call.name=B.name),B.arguments&&((A=b.message.function_call).arguments??(A.arguments=""),b.message.function_call.arguments+=B.arguments)):b.message.function_call=B),E&&(b.message.content=(b.message.content||"")+E,!b.message.refusal&&En(this,_r,"m",H1).call(this)&&(b.message.parsed=Rx(b.message.content))),U){b.message.tool_calls||(b.message.tool_calls=[]);for(const{index:P,id:$,type:G,function:te,...M}of U){const j=(s=b.message.tool_calls)[P]??(s[P]={});Object.assign(j,M),$&&(j.id=$),G&&(j.type=G),te&&(j.function??(j.function={name:te.name??"",arguments:""})),te!=null&&te.name&&(j.function.name=te.name),te!=null&&te.arguments&&(j.function.arguments+=te.arguments,$N(En(this,Po,"f"),j)&&(j.function.parsed_arguments=Rx(j.function.arguments)))}}}return a},Symbol.asyncIterator)](){const t=[],n=[];let r=!1;return this.on("chunk",i=>{const A=n.shift();A?A.resolve(i):t.push(i)}),this.on("end",()=>{r=!0;for(const i of n)i.resolve(void 0);n.length=0}),this.on("abort",i=>{r=!0;for(const A of n)A.reject(i);n.length=0}),this.on("error",i=>{r=!0;for(const A of n)A.reject(i);n.length=0}),{next:async()=>t.length?{value:t.shift(),done:!1}:r?{value:void 0,done:!0}:new Promise((A,s)=>n.push({resolve:A,reject:s})).then(A=>A?{value:A,done:!1}:{value:void 0,done:!0}),return:async()=>(this.abort(),{value:void 0,done:!0})}}toReadableStream(){return new ro(this[Symbol.asyncIterator].bind(this),this.controller).toReadableStream()}}function e6(e,t){const{id:n,choices:r,created:i,model:A,system_fingerprint:s,...a}=e,o={...a,id:n,choices:r.map(({message:u,finish_reason:l,index:c,logprobs:p,...f})=>
78{if(!l)throw new Rt(`missing finish_reason for choice ${c}`);const{content:x=null,function_call:b,tool_calls:E,...v}=u,B=u.role;if(!B)throw new Rt(`missing role for choice ${c}`);if(b){const{arguments:F,name:U}=b;if(F==null)throw new Rt(`missing function_call.arguments for choice ${c}`);if(!U)throw new Rt(`missing function_call.name for choice ${c}`);return{...f,message:{content:x,function_call:{arguments:F,name:U},role:B,refusal:u.refusal??null},finish_reason:l,index:c,logprobs:p}}return E?{...f,index:c,finish_reason:l,logprobs:p,message:{...v,role:B,content:x,refusal:u.refusal??null,tool_calls:E.map((F,U)=>{const{function:N,type:P,id:$,...G}=F,{arguments:te,name:M,...j}=N||{};if($==null)throw new Rt(`missing choices[${c}].tool_calls[${U}].id
79${ng(e)}`);if(P==null)throw new Rt(`missing choices[${c}].tool_calls[${U}].type
80${ng(e)}`);if(M==null)throw new Rt(`missing choices[${c}].tool_calls[${U}].function.name
81${ng(e)}`);if(te==null)throw new Rt(`missing choices[${c}].tool_calls[${U}].function.arguments
82${ng(e)}`);return{...G,id:$,type:P,function:{...j,name:M,arguments:te}}})}}:{...f,message:{...v,content:x,role:B,refusal:u.refusal??null},finish_reason:l,index:c,logprobs:p}}),created:i,model:A,object:"chat.completion",...s?{system_fingerprint:s}:{}};return zN(o,t)}function ng(e){return JSON.stringify(e)}class rf extends Bd{static fromReadableStream(t){const n=new rf(null);return n._run(()=>n._fromReadableStream(t)),n}static runFunctions(t,n,r){const i=new rf(null),A={...r,headers:{...r==null?void 0:r.headers,"X-Stainless-Helper-Method":"runFunctions"}};return i._run(()=>i._runFunctions(t,n,A)),i}static runTools(t,n,r){const i=new rf(n),A={...r,headers:{...r==null?void 0:r.headers,"X-Stainless-Helper-Method":"runTools"}};return i._run(()=>i._runTools(t,n,A)),i}}let nE=class extends Vt{parse(t,n){return WN(t.tools),this._client.chat.completions.create(t,{...n,headers:{...n==null?void 0:n.headers,"X-Stainless-Helper-Method":"beta.chat.completions.parse"}})._thenUnwrap(r=>l2(r,t))}runFunctions(t,n){return t.stream?rf.runFunctions(this._client,t,n):vd.runFunctions(this._client,t,n)}runTools(t,n){return t.stream?rf.runTools(this._client,t,n):vd.runTools(this._client,t,n)}stream(t,n){return Bd.createChatCompletion(this._client,t,n)}};class Uy extends Vt{constructor(){super(...arguments),this.completions=new nE(this._client)}}(function(e){e.Completions=nE})(Uy||(Uy={}));class rE extends Vt{create(t,n){return this._client.post("/realtime/sessions",{body:t,...n,headers:{"OpenAI-Beta":"assistants=v2",...n==null?void 0:n.headers}})}}class iE extends Vt{create(t,n){return this._client.post("/realtime/transcription_sessions",{body:t,...n,headers:{"OpenAI-Beta":"assistants=v2",...n==null?void 0:n.headers}})}}class Xm extends Vt{constructor(){super(...arguments),this.sessions=new rE(this._client),this.transcriptionSessions=new iE(this._client)}}Xm.Sessions=rE;Xm.TranscriptionSessions=iE;class u2 extends Vt{create(t,n,r){return this._client.post(`/threads/${t}/messages`,{body:n,...r,headers:{"OpenAI-Beta":"assistants=v2",...r==null?void 0:r.headers}})}retrieve(t,n,r){return this._client.get(`/threads/${t}/messages/${n}`,{...r,headers:{"OpenAI-Beta":"assistants=v2",...r==null?void 0:r.headers}})}update(t,n,r,i){return this._client.post(`/threads/${t}/messages/${n}`,{body:r,...i,headers:{"OpenAI-Beta":"assistants=v2",...i==null?void 0:i.headers}})}list(t,n={},r){return sr(n)?this.list(t,{},n):this._client.getAPIList(`/threads/${t}/messages`,c2,{query:n,...r,headers:{"OpenAI-Beta":"assistants=v2",...r==null?void 0:r.headers}})}del(t,n,r){return this._client.delete(`/threads/${t}/messages/${n}`,{...r,headers:{"OpenAI-Beta":"assistants=v2",...r==null?void 0:r.headers}})}}class c2 extends ri{}u2.MessagesPage=c2;class f2 extends Vt{retrieve(t,n,r,i={},A){return sr(i)?this.retrieve(t,n,r,{},i):this._client.get(`/threads/${t}/runs/${n}/steps/${r}`,{query:i,...A,headers:{"OpenAI-Beta":"assistants=v2",...A==null?void 0:A.headers}})}list(t,n,r={},i){return sr(r)?this.list(t,n,{},r):this._client.getAPIList(`/threads/${t}/runs/${n}/steps`,h2,{query:r,...i,headers:{"OpenAI-Beta":"assistants=v2",...i==null?void 0:i.headers}})}}class h2 extends ri{}f2.RunStepsPage=h2;let Pd=class extends Vt{constructor(){super(...arguments),this.steps=new f2(this._client)}create(t,n,r){const{include:i,...A}=n;return this._client.post(`/threads/${t}/runs`,{query:{include:i},body:A,...r,headers:{"OpenAI-Beta":"assistants=v2",...r==null?void 0:r.headers},stream:n.stream??!1})}retrieve(t,n,r){return this._client.get(`/threads/${t}/runs/${n}`,{...r,headers:{"OpenAI-Beta":"assistants=v2",...r==null?void 0:r.headers}})}update(t,n,r,i){return this._client.post(`/threads/${t}/runs/${n}`,{body:r,...i,headers:{"OpenAI-Beta":"assistants=v2",...i==null?void 0:i.headers}})}list(t,n={},r){return sr(n)?this.list(t,{},n):this._client.getAPIList(`/threads/${t}/runs`,d2,{query:n,...r,headers:{"OpenAI-Beta":"assistants=v2",...r==null?void 0:r.headers}})}cancel(t,n,r){return this._client.post(`/threads/${t}/runs/${n}/cancel`,{...r,headers:{"OpenAI-Beta":"assistants=v2",...r==null?void 0:r.headers}})}async createAndPoll(t,n,r){const i=await this.create(t,n,r);return await this.poll(t,i.id,r)}createAndStream(t,n,r){return Bs.createAssistantStream(t,this._client.beta.threads.runs,n,r)}async poll(t,n,r){const i={...r==null?void 0:r.headers,"X-Stainless-Poll-Helper":"true"};for(r!=null&&r.pollIntervalMs&&(i["X-Stainless-Custom-Poll-Interval"]=r.pollIntervalMs.toString());;){const{data:A,response:s}=await this.retrieve(t,n,{...r,headers:{...r==null?void 0:r.headers,...i}}).withResponse();switch(A.status){case"queued":case"in_progress":case"cancelling":let a=5e3;if(r!=null&&r.pollIntervalMs)a=r.pollIntervalMs;else{const o=s.headers.get("openai-poll-after-ms");if(o){const u=parseInt(o);isNaN(u)||(a=u)}}await Ld(a);break;case"requires_action":case"incomplete":case"cancelled":case"completed":case"failed":case"expired":return A}}}stream(t,n,r){return Bs.createAssistantStream(t,this._client.beta.threads.runs,n,r)}submitToolOutputs(t,n,r,i){return this._client.post(`/threads/${t}/runs/${n}/submit_tool_outputs`,{body:r,...i,headers:{"OpenAI-Beta":"assistants=v2",...i==null?void 0:i.headers},stream:r.stream??!1})}async submitToolOutputsAndPoll(t,n,r,i){const A=await this.submitToolOutputs(t,n,r,i);return await this.poll(t,A.id,i)}submitToolOutputsStream(t,n,r,i){return Bs.createToolAssistantStream(t,n,this._client.beta.threads.runs,r,i)}};class d2 extends ri{}Pd.RunsPage=d2;Pd.Steps=f2;Pd.RunStepsPage=h2;class Ff extends Vt{constructor(){super(...arguments),this.runs=new Pd(this._client),this.messages=new u2(this._client)}create(t={},n){return sr(t)?this.create({},t):this._client.post("/threads",{body:t,...n,headers:{"OpenAI-Beta":"assistants=v2",...n==null?void 0:n.headers}})}retrieve(t,n){return this._client.get(`/threads/${t}`,{...n,headers:{"OpenAI-Beta":"assistants=v2",...n==null?void 0:n.headers}})}update(t,n,r){return this._client.post(`/threads/${t}`,{body:n,...r,headers:{"OpenAI-Beta":"assistants=v2",...r==null?void 0:r.headers}})}del(t,n){return this._client.delete(`/threads/${t}`,{...n,headers:{"OpenAI-Beta":"assistants=v2",...n==null?void 0:n.headers}})}createAndRun(t,n){return this._client.post("/threads/runs",{body:t,...n,headers:{"OpenAI-Beta":"assistants=v2",...n==null?void 0:n.headers},stream:t.stream??!1})}async createAndRunPoll(t,n){const r=await this.createAndRun(t,n);return await this.runs.poll(r.thread_id,r.id,n)}createAndRunStream(t,n){return Bs.createThreadAssistantStream(t,this._client.beta.threads,n)}}Ff.Runs=Pd;Ff.RunsPage=d2;Ff.Messages=u2;Ff.MessagesPage=c2;class Sf extends Vt{constructor(){super(...arguments),this.realtime=new Xm(this._client),this.chat=new Uy(this._client),this.assistants=new s2(this._client),this.threads=new Ff(this._client)}}Sf.Realtime=Xm;Sf.Assistants=s2;Sf.AssistantsPage=o2;Sf.Threads=Ff;class AE extends Vt{create(t,n){return this._client.post("/completions",{body:t,...n,stream:t.stream??!1})}}class sE extends Vt{create(t,n){const r=!!t.encoding_format;let i=r?t.encoding_format:"base64";r&&al("Request","User defined encoding_format:",t.encoding_format);const A=this._client.post("/embeddings",{body:{...t,encoding_format:i},...n});return r?A:(al("response","Decoding base64 embeddings to float32 array"),A._thenUnwrap(s=>(s&&s.data&&s.data.forEach(a=>{const o=a.embedding;a.embedding=MN(o)}),s)))}}class p2 extends Vt{retrieve(t,n,r,i){return this._client.get(`/evals/${t}/runs/${n}/output_items/${r}`,i)}list(t,n,r={},i){return sr(r)?this.list(t,n,{},r):this._client.getAPIList(`/evals/${t}/runs/${n}/output_items`,g2,{query:r,...i})}}class g2 extends ri{}p2.OutputItemListResponsesPage=g2;class Td extends Vt{constructor(){super(...arguments),this.outputItems=new p2(this._client)}create(t,n,r){return this._client.post(`/evals/${t}/runs`,{body:n,...r})}retrieve(t,n,r){return this._client.get(`/evals/${t}/runs/${n}`,r)}list(t,n={},r){return sr(n)?this.list(t,{},n):this._client.getAPIList(`/evals/${t}/runs`,m2,{query:n,...r})}del(t,n,r){return this._client.delete(`/evals/${t}/runs/${n}`,r)}cancel(t,n,r){return this._client.post(`/evals/${t}/runs/${n}`,r)}}class m2 extends ri{}Td.RunListResponsesPage=m2;Td.OutputItems=p2;Td.OutputItemListResponsesPage=g2;class Od extends Vt{constructor(){super(...arguments),this.runs=new Td(this._client)}create(t,n){return this._client.post("/evals",{body:t,...n})}retrieve(t,n){return this._client.get(`/evals/${t}`,n)}update(t,n,r){return this._client.post(`/evals/${t}`,{body:n,...r})}list(t={},n){return sr(t)?this.list({},t):this._client.getAPIList("/evals",w2,{query:t,...n})}del(t,n){return this._client.delete(`/evals/${t}`,n)}}class w2 extends ri{}Od.EvalListResponsesPage=w2;Od.Runs=Td;Od.RunListResponsesPage=m2;let y2=class extends Vt{create(t,n){return this._client.post("/files",pf({body:t,...n}))}retrieve(t,n){return this._client.get(`/files/${t}`,n)}list(t={},n){return sr(t)?this.list({},t):this._client.getAPIList("/files",v2,{query:t,...n})}del(t,n){return this._client.delete(`/files/${t}`,n)}content(t,n){return this._client.get(`/files/${t}/content`,{...n,headers:{Accept:"application/binary",...n==null?void 0:n.headers},__binaryResponse:!0})}
82retrieveContent(t,n){return this._client.get(`/files/${t}/content`,n)}async waitForProcessing(t,{pollInterval:n=5e3,maxWait:r=30*60*1e3}={}){const i=new Set(["processed","error","deleted"]),A=Date.now();let s=await this.retrieve(t);for(;!s.status||!i.has(s.status);)if(await Ld(n),s=await this.retrieve(t),Date.now()-A>r)throw new n2({message:`Giving up on waiting for file ${t} to finish processing after ${r} milliseconds.`});return s}};class v2 extends ri{}y2.FileObjectsPage=v2;class oE extends Vt{}let aE=class extends Vt{run(t,n){return this._client.post("/fine_tuning/alpha/graders/run",{body:t,...n})}validate(t,n){return this._client.post("/fine_tuning/alpha/graders/validate",{body:t,...n})}};class B2 extends Vt{constructor(){super(...arguments),this.graders=new aE(this._client)}}B2.Graders=aE;class x2 extends Vt{create(t,n,r){return this._client.getAPIList(`/fine_tuning/checkpoints/${t}/permissions`,b2,{body:n,method:"post",...r})}retrieve(t,n={},r){return sr(n)?this.retrieve(t,{},n):this._client.get(`/fine_tuning/checkpoints/${t}/permissions`,{query:n,...r})}del(t,n,r){return this._client.delete(`/fine_tuning/checkpoints/${t}/permissions/${n}`,r)}}class b2 extends $m{}x2.PermissionCreateResponsesPage=b2;let Ym=class extends Vt{constructor(){super(...arguments),this.permissions=new x2(this._client)}};Ym.Permissions=x2;Ym.PermissionCreateResponsesPage=b2;class C2 extends Vt{list(t,n={},r){return sr(n)?this.list(t,{},n):this._client.getAPIList(`/fine_tuning/jobs/${t}/checkpoints`,F2,{query:n,...r})}}class F2 extends ri{}C2.FineTuningJobCheckpointsPage=F2;class Ef extends Vt{constructor(){super(...arguments),this.checkpoints=new C2(this._client)}create(t,n){return this._client.post("/fine_tuning/jobs",{body:t,...n})}retrieve(t,n){return this._client.get(`/fine_tuning/jobs/${t}`,n)}list(t={},n){return sr(t)?this.list({},t):this._client.getAPIList("/fine_tuning/jobs",S2,{query:t,...n})}cancel(t,n){return this._client.post(`/fine_tuning/jobs/${t}/cancel`,n)}listEvents(t,n={},r){return sr(n)?this.listEvents(t,{},n):this._client.getAPIList(`/fine_tuning/jobs/${t}/events`,E2,{query:n,...r})}pause(t,n){return this._client.post(`/fine_tuning/jobs/${t}/pause`,n)}resume(t,n){return this._client.post(`/fine_tuning/jobs/${t}/resume`,n)}}class S2 extends ri{}class E2 extends ri{}Ef.FineTuningJobsPage=S2;Ef.FineTuningJobEventsPage=E2;Ef.Checkpoints=C2;Ef.FineTuningJobCheckpointsPage=F2;class vl extends Vt{constructor(){super(...arguments),this.methods=new oE(this._client),this.jobs=new Ef(this._client),this.checkpoints=new Ym(this._client),this.alpha=new B2(this._client)}}vl.Methods=oE;vl.Jobs=Ef;vl.FineTuningJobsPage=S2;vl.FineTuningJobEventsPage=E2;vl.Checkpoints=Ym;vl.Alpha=B2;class lE extends Vt{}class _2 extends Vt{constructor(){super(...arguments),this.graderModels=new lE(this._client)}}_2.GraderModels=lE;class uE extends Vt{createVariation(t,n){return this._client.post("/images/variations",pf({body:t,...n}))}edit(t,n){return this._client.post("/images/edits",pf({body:t,...n}))}generate(t,n){return this._client.post("/images/generations",{body:t,...n})}}class U2 extends Vt{retrieve(t,n){return this._client.get(`/models/${t}`,n)}list(t){return this._client.getAPIList("/models",Q2,t)}del(t,n){return this._client.delete(`/models/${t}`,n)}}class Q2 extends $m{}U2.ModelsPage=Q2;class cE extends Vt{create(t,n){return this._client.post("/moderations",{body:t,...n})}}function t6(e,t){return!t||!r6(t)?{...e,output_parsed:null,output:e.output.map(n=>n.type==="function_call"?{...n,parsed_arguments:null}:n.type==="message"?{...n,content:n.content.map(r=>({...r,parsed:null}))}:n)}:fE(e,t)}function fE(e,t){const n=e.output.map(i=>{if(i.type==="function_call")return{...i,parsed_arguments:s6(t,i)};if(i.type==="message"){const A=i.content.map(s=>s.type==="output_text"?{...s,parsed:n6(t,s.text)}:s);return{...i,content:A}}return i}),r=Object.assign({},e,{output:n});return Object.getOwnPropertyDescriptor(e,"output_text")||hE(r),Object.defineProperty(r,"output_parsed",{enumerable:!0,get(){for(const i of r.output)if(i.type==="message"){for(const A of i.content)if(A.type==="output_text"&&A.parsed!==null)return A.parsed}return null}}),r}function n6(e,t){var n,r,i,A;return((r=(n=e.text)==null?void 0:n.format)==null?void 0:r.type)!=="json_schema"?null:"$parseRaw"in((i=e.text)==null?void 0:i.format)?((A=e.text)==null?void 0:A.format).$parseRaw(t):JSON.parse(t)}function r6(e){var t;return!!a2((t=e.text)==null?void 0:t.format)}function i6(e){return(e==null?void 0:e.$brand)==="auto-parseable-tool"}function A6(e,t){return e.find(n=>n.type==="function"&&n.name===t)}function s6(e,t){const n=A6(e.tools??[],t.name);return{...t,...t,parsed_arguments:i6(n)?n.$parseRaw(t.arguments):n!=null&&n.strict?JSON.parse(t.arguments):null}}function hE(e){const t=[];for(const n of e.output)if(n.type==="message")for(const r of n.content)r.type==="output_text"&&t.push(r.text);e.output_text=t.join("")}class dE extends Vt{list(t,n={},r){return sr(n)?this.list(t,{},n):this._client.getAPIList(`/responses/${t}/input_items`,a6,{query:n,...r})}}var Cc=function(e,t,n,r,i){if(r==="m")throw new TypeError("Private method is not writable");if(r==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return r==="a"?i.call(e,n):i?i.value=n:t.set(e,n),n},Na=function(e,t,n,r){if(n==="a"&&!r)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?r:n==="a"?r.call(e):r?r.value:t.get(e)},Fc,rg,Pa,ig,Hx,Mx,Kx,zx;class k2 extends A2{constructor(t){super(),Fc.add(this),rg.set(this,void 0),Pa.set(this,void 0),ig.set(this,void 0),Cc(this,rg,t,"f")}static createResponse(t,n,r){const i=new k2(n);return i._run(()=>i._createResponse(t,n,{...r,headers:{...r==null?void 0:r.headers,"X-Stainless-Helper
82-Method":"stream"}})),i}async _createResponse(t,n,r){var s;const i=r==null?void 0:r.signal;i&&(i.aborted&&this.controller.abort(),i.addEventListener("abort",()=>this.controller.abort())),Na(this,Fc,"m",Hx).call(this);const A=await t.responses.create({...n,stream:!0},{...r,signal:this.controller.signal});this._connected();for await(const a of A)Na(this,Fc,"m",Mx).call(this,a);if((s=A.controller.signal)!=null&&s.aborted)throw new qA;return Na(this,Fc,"m",Kx).call(this)}[(rg=new WeakMap,Pa=new WeakMap,ig=new WeakMap,Fc=new WeakSet,Hx=function(){this.ended||Cc(this,Pa,void 0,"f")},Mx=function(n){if(this.ended)return;const r=Na(this,Fc,"m",zx).call(this,n);switch(this._emit("event",n),n.type){case"response.output_text.delta":{const i=r.output[n.output_index];if(!i)throw new Rt(`missing output at index ${n.output_index}`);if(i.type==="message"){const A=i.content[n.content_index];if(!A)throw new Rt(`missing content at index ${n.content_index}`);if(A.type!=="output_text")throw new Rt(`expected content to be 'output_text', got ${A.type}`);this._emit("response.output_text.delta",{...n,snapshot:A.text})}break}case"response.function_call_arguments.delta":{const i=r.output[n.output_index];if(!i)throw new Rt(`missing output at index ${n.output_index}`);i.type==="function_call"&&this._emit("response.function_call_arguments.delta",{...n,snapshot:i.arguments});break}default:this._emit(n.type,n);break}},Kx=function(){if(this.ended)throw new Rt("stream has ended, this shouldn't happen");const n=Na(this,Pa,"f");if(!n)throw new Rt("request ended without sending any events");Cc(this,Pa,void 0,"f");const r=o6(n,Na(this,rg,"f"));return Cc(this,ig,r,"f"),r},zx=function(n){let r=Na(this,Pa,"f");if(!r){if(n.type!=="response.created")throw new Rt(`When snapshot hasn't been set yet, expected 'response.created' event, got ${n.type}`);return r=Cc(this,Pa,n.response,"f"),r}switch(n.type){case"response.output_item.added":{r.output.push(n.item);break}case"response.content_part.added":{const i=r.output[n.output_index];if(!i)throw new Rt(`missing output at index ${n.output_index}`);i.type==="message"&&i.content.push(n.part);break}case"response.output_text.delta":{const i=r.output[n.output_index];if(!i)throw new Rt(`missing output at index ${n.output_index}`);if(i.type==="message"){const A=i.content[n.content_index];if(!A)throw new Rt(`missing content at index ${n.content_index}`);if(A.type!=="output_text")throw new Rt(`expected content to be 'output_text', got ${A.type}`);A.text+=n.delta}break}case"response.function_call_arguments.delta":{const i=r.output[n.output_index];if(!i)throw new Rt(`missing output at index ${n.output_index}`);i.type==="function_call"&&(i.arguments+=n.delta);break}case"response.completed":{Cc(this,Pa,n.response,"f");break}}return r},Symbol.asyncIterator)](){const t=[],n=[];let r=!1;return this.on("event",i=>{const A=n.shift();A?A.resolve(i):t.push(i)}),this.on("end",()=>{r=!0;for(const i of n)i.resolve(void 0);n.length=0}),this.on("abort",i=>{r=!0;for(const A of n)A.reject(i);n.length=0}),this.on("error",i=>{r=!0;for(const A of n)A.reject(i);n.length=0}),{next:async()=>t.length?{value:t.shift(),done:!1}:r?{value:void 0,done:!0}:new Promise((A,s)=>n.push({resolve:A,reject:s})).then(A=>A?{value:A,done:!1}:{value:void 0,done:!0}),return:async()=>(this.abort(),{value:void 0,done:!0})}}async finalResponse(){await this.done();const t=Na(this,ig,"f");if(!t)throw new Rt("stream ended without producing a ChatCompletion");return t}}function o6(e,t){return t6(e,t)}class I2 extends Vt{constructor(){super(...arguments),this.inputItems=new dE(this._client)}create(t,n){return this._client.post("/responses",{body:t,...n,stream:t.stream??!1})._thenUnwrap(r=>("object"in r&&r.object==="response"&&hE(r),r))}retrieve(t,n={},r){return sr(n)?this.retrieve(t,{},n):this._client.get(`/responses/${t}`,{query:n,...r})}del(t,n){return this._client.delete(`/responses/${t}`,{...n,headers:{Accept:"*/*",...n==null?void 0:n.headers}})}parse(t,n){return this._client.responses.create(t,n)._thenUnwrap(r=>fE(r,t))}stream(t,n){return k2.createResponse(this._client,t,n)}}class a6 extends ri{}I2.InputItems=dE;class pE extends Vt{create(t,n,r){return this._client.post(`/uploads/${t}/parts`,pf({body:n,...r}))}}class L2 extends Vt{constructor(){super(...arguments),this.parts=new pE(this._client)}create(t,n){return this._client.post("/uploads",{body:t,...n})}cancel(t,n){return this._client.post(`/uploads/${t}/cancel`,n)}complete(t,n,r){return this._client.post(`/uploads/${t}/complete`,{body:n,...r})}}L2.Parts=pE;const l6=async e=>{const t=await Promise.allSettled(e),n=t.filter(i=>i.status==="rejected");if(n.length){for(const i of n)console.error(i.reason);throw new Error(`${n.length} promise(s) failed - see the above errors`)}const r=[];for(const i of t)i.status==="fulfilled"&&r.push(i.value);return r};class Zm extends Vt{create(t,n,r){return this._client.post(`/vector_stores/${t}/files`,{body:n,...r,headers:{"OpenAI-Beta":"assistants=v2",...r==null?void 0:r.headers}})}retrieve(t,n,r){return this._client.get(`/vector_stores/${t}/files/${n}`,{...r,headers:{"OpenAI-Beta":"assistants=v2",...r==null?void 0:r.headers}})}update(t,n,r,i){return this._client.post(`/vector_stores/${t}/files/${n}`,{body:r,...i,headers:{"OpenAI-Beta":"assistants=v2",...i==null?void 0:i.headers}})}list(t,n={},r){return sr(n)?this.list(t,{},n):this._client.getAPIList(`/vector_stores/${t}/files`,e0,{query:n,...r,headers:{"OpenAI-Beta":"assistants=v2",...r==null?void 0:r.headers}})}del(t,n,r){return this._client.delete(`/vector_stores/${t}/files/${n}`,{...r,headers:{"OpenAI-Beta":"assistants=v2",...r==null?void 0:r.headers}})}async createAndPoll(t,n,r){const i=await this.create(t,n,r);return await this.poll(t,i.id,r)}async poll(t,n,r){const i={...r==null?void 0:r.headers,"X-Stainless-Poll-Helper":"true"};for(r!=null&&r.pollIntervalMs&&(i["X-Stainless-Custom-Poll-Interval"]=r.pollIntervalMs.toString());;){const A=await this.retrieve(t,n,{...r,headers:i}).withResponse(),s=A.data;switch(s.status){case"in_progress":let a=5e3;if(r!=null&&r.pollIntervalMs)a=r.pollIntervalMs;else{const o=A.response.headers.get("openai-poll-after-ms");if(o){const u=parseInt(o);isNaN(u)||(a=u)}}await Ld(a);break;case"failed":case"completed":return s}}}async upload(t,n,r){const i=await this._client.files.create({file:n,purpose:"assistants"},r);return this.create(t,{file_id:i.id},r)}async uploadAndPoll(t,n,r){const i=await this.upload(t,n,r);return await this.poll(t,i.id,r)}content(t,n,r){return this._client.getAPIList(`/vector_stores/${t}/files/${n}/content`,j2,{...r,headers:{"OpenAI-Beta":"assistants=v2",...r==null?void 0:r.headers}})}}class e0 extends ri{}class j2 extends $m{}Zm.VectorStoreFilesPage=e0;Zm.FileContentResponsesPage=j2;class gE extends Vt{create(t,n,r){return this._client.post(`/vector_stores/${t}/file_batches`,{body:n,...r,headers:{"OpenAI-Beta":"assistants=v2",...r==null?void 0:r.headers}})}retrieve(t,n,r){return this._client.get(`/vector_stores/${t}/file_batches/${n}`,{...r,headers:{"OpenAI-Beta":"assistants=v2",...r==null?void 0:r.headers}})}cancel(t,n,r){return this._client.post(`/vector_stores/${t}/file_batches/${n}/cancel`,{...r,headers:{"OpenAI-Beta":"assistants=v2",...r==null?void 0:r.headers}})}async createAndPoll(t,n,r){const i=await this.create(t,n);return await this.poll(t,i.id,r)}listFiles(t,n,r={},i){return sr(r)?this.listFiles(t,n,{},r):this._client.getAPIList(`/vector_stores/${t}/file_batches/${n}/files`,e0,{query:r,...i,headers:{"OpenAI-Beta":"assistants=v2",...i==null?void 0:i.headers}})}async poll(t,n,r){const i={...r==null?void 0:r.headers,"X-Stainless-Poll-Helper":"true"};for(r!=null&&r.pollIntervalMs&&(i["X-Stainless-Custom-Poll-Interval"]=r.pollIntervalMs.toString());;){const{data:A,response:s}=await this.retrieve(t,n,{...r,headers:i}).withResponse();switch(A.status){case"in_progress":let a=5e3;if(r!=null&&r.pollIntervalMs)a=r.pollIntervalMs;else{const o=s.headers.get("openai-poll-after-ms");if(o){const u=parseInt(o);isNaN(u)||(a=u)}}await Ld(a);break;case"failed":case"cancelled":case"completed":return A}}}async uploadAndPoll(t,{files:n,fileIds:r=[]},i){if(n==null||n.length==0)throw new Error("No `files` provided to process. If you've already uploaded files you should use `.createAndPoll()` instead");const A=(i==null?void 0:i.maxConcurrency)??5,s=Math.min(A,n.length),a=this._client,o=n.values(),u=[...r];async function l(p){for(let f of p){const x=await a.files.create({file:f,purpose:"assistants"},i);u.push(x.id)}}const c=Array(s).fill(o).map(l);return await l6(c),await this.createAndPoll(t,{file_ids:u})}}class Bl extends Vt{constructor(){super(...arguments),this.files=new Zm(this._client),this.fileBatches=new gE(this._client)}create(t,n){return this._client.post("/vector_stores",{body:t,...n,headers:{"OpenAI-Beta":"assistants=v2",...n==null?void 0:n.headers}})}retrieve(t,n){return this._client.get(`/vector_stores/${t}`,{...n,headers:{"OpenAI-Beta":"assistants=v2",...n==null?void 0:n.headers}})}update(t,n,r){return this._client.post(`/vector_stores/${t}`,{body:n,...r,headers:{"OpenAI-Beta":"assistants=v2",...r==null?void 0:r.headers}})}list(t={},n){return sr(t)?this.list({},t):this._client.getAPIList("/vector_stores",N2,{query:t,...n,headers:{"OpenAI-Beta":"assistants=v2",...n==null?void 0:n.headers}})}del(t,n){return this._client.delete(`/vector_stores/${t}`,{...n,headers:{"OpenAI-Beta":"assistants=v2",...n==null?void 0:n.headers}})}search(t,n,r){return this._client.getAPIList(`/vector_stores/${t}/search`,P2,{body:n,method:"post",...r,headers:{"OpenAI-Beta":"assistants=v2",...r==null?void 0:r.headers}})}}class N2 extends ri{}class P2 extends $m{}Bl.VectorStoresPage=N2;Bl.VectorStoreSearchResponsesPage=P2;Bl.Files=Zm;Bl.VectorStoreFilesPage=e0;Bl.FileContentResponsesPage=j2;Bl.FileBatches=gE;var mE;class Gt extends QN{constructor({baseURL:t=Yp("OPENAI_BASE_URL"),apiKey:n=Yp("OPENAI_API_KEY"),organization:r=Yp("OPENAI_ORG_ID")??null,project:i=Yp("OPENAI_PROJECT_ID")??null,...A}={}){if(n===void 0)throw new Rt("The OPENAI_API_KEY environment variable is missing or empty; either provide it, or instantiate the OpenAI client with an apiKey option, like new OpenAI({ apiKey: 'My API Key' }).");const s={apiKey:n,organization:r,project:i,...A,baseURL:t||"https://api.openai.com/v1"};if(!s.dangerouslyAllowBrowser&&DN())throw new Rt(`It looks like you're running in a browser-like environment.
83
84This is disabled by default, as it risks exposing your secret API credentials to attackers.
85If you understand the risks and have appropriate mitigations in place,
86you can set the \`dangerouslyAllowBrowser\` option to \`true\`, e.g.,
87
88new OpenAI({ apiKey, dangerouslyAllowBrowser: true });
89
90https://help.openai.com/en/articles/5112595-best-practices-for-api-key-safety
91`);super({baseURL:s.baseURL,timeout:s.timeout??6e5,httpAgent:s.httpAgent,maxRetries:s.maxRetries,fetch:s.fetch}),this.completions=new AE(this),this.chat=new Jm(this),this.embeddings=new sE(this),this.files=new y2(this),this.images=new uE(this),this.audio=new jd(this),this.moderations=new cE(this),this.models=new U2(this),this.fineTuning=new vl(this),this.graders=new _2(this),this.vectorStores=new Bl(this),this.beta=new Sf(this),this.batches=new r2(this),this.uploads=new L2(this),this.responses=new I2(this),this.evals=new Od(this),this._options=s,this.apiKey=n,this.organization=r,this.project=i}defaultQuery(){return this._options.defaultQuery}defaultHeaders(t){return{...super.defaultHeaders(t),"OpenAI-Organization":this.organization,"OpenAI-Project":this.project,...this._options.defaultHeaders}}authHeaders(t){return{Authorization:`Bearer ${this.apiKey}`}}stringifyQuery(t){return fN(t,{arrayFormat:"brackets"})}}mE=Gt;Gt.OpenAI=mE;Gt.DEFAULT_TIMEOUT=6e5;Gt.OpenAIError=Rt;Gt.APIError=ni;Gt.APIConnectionError=Km;Gt.APIConnectionTimeoutError=n2;Gt.APIUserAbortError=qA;Gt.NotFoundError=gS;Gt.ConflictError=mS;Gt.RateLimitError=yS;Gt.BadRequestError=hS;Gt.AuthenticationError=dS;Gt.InternalServerError=vS;Gt.PermissionDeniedError=pS;Gt.UnprocessableEntityError=wS;Gt.toFile=SS;Gt.fileFromPath=uS;Gt.Completions=AE;Gt.Chat=Jm;Gt.ChatCompletionsPage=qm;Gt.Embeddings=sE;Gt.Files=y2;Gt.FileObjectsPage=v2;Gt.Images=uE;Gt.Audio=jd;Gt.Moderations=cE;Gt.Models=U2;Gt.ModelsPage=Q2;Gt.FineTuning=vl;Gt.Graders=_2;Gt.VectorStores=Bl;Gt.VectorStoresPage=N2;Gt.VectorStoreSearchResponsesPage=P2;Gt.Beta=Sf;Gt.Batches=r2;Gt.BatchesPage=i2;Gt.Uploads=L2;Gt.Responses=I2;Gt.Evals=Od;Gt.EvalListResponsesPage=w2;const Lr=eS("https://udrhmbdrxjobempjaxjb.supabase.co","eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InVkcmhtYmRyeGpvYmVtcGpheGpiIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NDczNDQwMDUsImV4cCI6MjA2MjkyMDAwNX0.6ft8lAcL_srtARROUzPw1MZRkqPtUt7xhEjp6ZtuQy4"),u6=async(e,t)=>{const{error:n}=await Lr.from("analysis_results").update({current_step:1,step_one_result:null,step_two_result:null,step_three_result:null,step_four_result:null,is_complete:!1}).eq("id",e).eq("user_id",t);if(n)throw n},c6=async(e,t)=>{const{data:n,error:r}=await Lr.from("analysis_inputs").insert({user_id:e,website_url:t.websiteUrl,marketing_copy:t.marketingCopy,business_overview:t.businessOverview,current_offer:t.currentOffer}).select().single();if(r)throw r;if(!n)throw new Error("Failed to create analysis input");const{data:i,error:A}=await Lr.from("analysis_results").insert({input_id:n.id,user_id:e,current_step:1,is_complete:!1}).select().single();if(A)throw A;if(!i)throw new Error("Failed to create analysis result");return{input:{id:n.id,userId:n.user_id,websiteUrl:n.website_url,marketingCopy:n.marketing_copy,businessOverview:n.business_overview,currentOffer:n.current_offer,createdAt:new Date(n.created_at),updatedAt:new Date(n.updated_at)},resultId:i.id}},f6=async(e,t,n)=>{const{data:r,error:i}=await Lr.from("analysis_inputs").update({website_url:n.websiteUrl,marketing_copy:n.marketingCopy,business_overview:n.businessOverview,current_offer:n.currentOffer}).eq("id",e).eq("user_id",t).select().single();if(i)throw i;if(!r)throw new Error("Analysis input not found or not owned by user");return{id:r.id,userId:r.user_id,websiteUrl:r.website_url,marketingCopy:r.marketing_copy,businessOverview:r.business_overview,currentOffer:r.current_offer,createdAt:new Date(r.created_at),updatedAt:new Date(r.updated_at)}},h6=async e=>{const{data:t,error:n}=await Lr.from("analysis_inputs").select("*").eq("user_id",e);if(n)throw n;return(t||[]).map(r=>({id:r.id,userId:r.user_id,websiteUrl:r.website_url,marketingCopy:r.marketing_copy,businessOverview:r.business_overview,currentOffer:r.current_offer,createdAt:new Date(r.created_at),updatedAt:new Date(r.updated_at)}))},d6=async e=>{const{data:t,error:n}=await Lr.from("analysis_results").select("*").eq("user_id",e);if(n)throw n;return(t||[]).map(r=>({id:r.id,inputId:r.input_id,userId:r.user_id,stepOneResult:r.step_one_result,stepTwoResult:r.step_two_result,stepThreeResult:r.step_three_result,stepFourResult:r.step_four_result,currentStep:r.current_step,isComplete:r.is_complete,createdAt:new Date(r.created_at),updatedAt:new Date(r.updated_at)}))},gh=async e=>{const{data:t,error:n}=await Lr.from("analysis_results").select("*").eq("id",e).single();
91return n||!t?null:{id:t.id,inputId:t.input_id,userId:t.user_id,stepOneResult:t.step_one_result,stepTwoResult:t.step_two_result,stepThreeResult:t.step_three_result,stepFourResult:t.step_four_result,currentStep:t.current_step,isComplete:t.is_complete,createdAt:new Date(t.created_at),updatedAt:new Date(t.updated_at)}},t0=async e=>{console.log(`Fetching prompt for step ${e}`);const{data:t,error:n}=await Lr.from("prompts").select("prompt_text").eq("step_number",e).order("version",{ascending:!1}).limit(1).single();if(n)throw console.error(`Error fetching prompt for step ${e}:`,n),n;if(!t)throw console.error(`No prompt found for step ${e}`),new Error(`No prompt found for step ${e}`);return console.log(`Successfully retrieved prompt for step ${e}`),t.prompt_text},p6=async(e,t)=>{const{data:n,error:r}=await Lr.from("analysis_results").select("*, analysis_inputs(*)").eq("id",e).eq("user_id",t).single();if(r)throw r;if(!n)throw new Error("Analysis result not found or not owned by user");const i=n.analysis_inputs;if(!i)throw new Error("Analysis input not found");const A=await t0(1);console.log("Step 1 prompt template:",A);const s=A.replace("${websiteUrl}",i.website_url||"No website URL provided").replace("${marketingCopy}",i.marketing_copy||"No marketing copy provided").replace("${businessOverview}",i.business_overview||"No business overview provided").replace("${currentOffer}",i.current_offer||"No current offer provided");console.log("Step 1 final prompt:",s);const o=await new Gt({apiKey:"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",dangerouslyAllowBrowser:!0}).chat.completions.create({model:"gpt-5.1",messages:[{role:"system",content:"You are a senior B2B growth strategist analyzing Reddit data to discover buyer pain points."},{role:"user",content:s}],max_completion_tokens:8e3});console.log("Step 1 OpenAI response:",o.choices[0].message.content);const{error:u}=await Lr.from("analysis_results").update({step_one_result:{raw:o.choices[0].message.content,formatted:o.choices[0].message.content},current_step:2}).eq("id",e).eq("user_id",t);if(u)throw u},g6=async(e,t)=>{const{data:n,error:r}=await Lr.from("analysis_results").select("*").eq("id",e).eq("user_id",t).single();if(r)throw r;if(!n)throw new Error("Analysis result not found or not owned by user");if(!n.step_one_result)throw new Error("Step 1 must be completed first");const i=await t0(2);console.log("Step 2 prompt template:",i);const A=i.replace("${stepOneResult}",n.step_one_result.raw);console.log("Step 2 final prompt:",A);const a=await new Gt({apiKey:"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",dangerouslyAllowBrowser:!0}).chat.completions.create({model:"gpt-5.1",messages:[{role:"system",content:"You are a senior B2B growth strategist analyzing Reddit data to discover buyer pain points."},{role:"user",content:A}],max_completion_tokens:8e3});console.log("Step 2 OpenAI response:",a.choices[0].message.content);const{error:o}=await Lr.from("analysis_results").update({step_two_result:{raw:a.choices[0].message.content,formatted:a.choices[0].message.content},current_step:3}).eq("id",e).eq("user_id",t);if(o)throw o},m6=async(e,t)=>{const{data:n,error:r}=await Lr.from("analysis_results").select("*").eq("id",e).eq("user_id",t).single();if(r)throw r;if(!n)throw new Error("Analysis result not found or not owned by user");if(!n.step_two_result)throw new Error("Step 2 must be completed first");const i=await t0(3);console.log("Step 3 prompt template:",i);const A=i.replace("${stepTwoResult}",n.step_two_result.raw);console.log("Step 3 final prompt:",A);const a=await new Gt({apiKey:"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",dangerouslyAllowBrowser:!0}).chat.completions.create({model:"gpt-5.1",messages:[{role:"system",content:"You are a senior B2B growth strategist analyzing Reddit data to discover buyer pain points."},{role:"user",content:A}],max_completion_tokens:8e3});console.log("Step 3 OpenAI response:",a.choices[0].message.content);const{error:o}=await Lr.from("analysis_results").update({step_three_result:{raw:a.choices[0].message.content,formatted:a.choices[0].message.content},current_step:4}).eq("id",e).eq("user_id",t);if(o)throw o},w6=async(e,t)=>{const{data:n,error:r}=await Lr.from("analysis_results").select("*, analysis_inputs(*)").eq("id",e).eq("user_id",t).single();if(r)throw r;if(!n)throw new Error("Analysis result not found or not owned by user");if(!n.step_three_result)throw new Error("Step 3 must be completed first");
91if(!n.analysis_inputs)throw new Error("Analysis input not found");const A=await t0(4);console.log("Step 4 prompt template:",A);const s=A.replace("${stepThreeResult}",n.step_three_result.raw);console.log("Step 4 final prompt:",s);const o=await new Gt({apiKey:"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",dangerouslyAllowBrowser:!0}).chat.completions.create({model:"gpt-5.1",messages:[{role:"system",content:"You are a senior B2B growth strategist creating a strategic brief based on market research."},{role:"user",content:s}],max_completion_tokens:8e3});console.log("Step 4 OpenAI response:",o.choices[0].message.content);const u={strategy_brief:o.choices[0].message.content||""};await Wj(t);const{error:l}=await Lr.from("analysis_results").update({step_four_result:{raw:u,formatted:o.choices[0].message.content},current_step:5,is_complete:!0}).eq("id",e).eq("user_id",t);if(l)throw l},y6=async(e,t)=>{if(!t)throw new Error("User ID is required to delete analysis");const{data:n,error:r}=await Lr.from("analysis_results").select("input_id").eq("id",e).eq("user_id",t).single();if(r)throw r;const{error:i}=await Lr.from("analysis_results").delete().eq("id",e).eq("user_id",t);if(i)throw i;const{error:A}=await Lr.from("analysis_inputs").delete().eq("id",n.input_id).eq("user_id",t);if(A)throw A},wE=Oe.createContext({inputs:[],results:[],currentResult:null,isLoading:!1,createInput:async()=>({input:{id:"",userId:"",createdAt:new Date,updatedAt:new Date},resultId:""}),updateInput:async()=>({id:"",userId:"",createdAt:new Date,updatedAt:new Date}),loadResult:async()=>null,runStepOne:async()=>{},runStepTwo:async()=>{},runStepThree:async()=>{},runStepFour:async()=>{},deleteAnalysis:async()=>{},refreshUserData:async()=>{}}),n0=()=>Oe.useContext(wE),v6=({children:e})=>{const{user:t}=NA(),[n,r]=Oe.useState([]),[i,A]=Oe.useState([]),[s,a]=Oe.useState(null),[o,u]=Oe.useState(!1),l=async()=>{if(!(t!=null&&t.id)){r([]),A([]),a(null);return}try{u(!0);const[F,U]=await Promise.all([h6(t.id),d6(t.id)]);r(F),A(U)}catch(F){console.error("Error fetching user data:",F)}finally{u(!1)}};Oe.useEffect(()=>{t!=null&&t.id&&l()},[t==null?void 0:t.id]);const c=async F=>{if(!(t!=null&&t.id))throw new Error("User must be logged in to create an analysis");try{u(!0);const U=await c6(t.id,F);return await l(),U}catch(U){throw console.error("Error creating analysis input:",U),U}finally{u(!1)}},p=async(F,U)=>{if(!(t!=null&&t.id))throw new Error("User must be logged in to update an analysis");try{u(!0);const N=await f6(F,t.id,U);return await l(),N}catch(N){throw console.error("Error updating analysis input:",N),N}finally{u(!1)}},f=async F=>{try{u(!0);const U=await gh(F);return a(U),U}catch(U){return console.error("Error loading analysis result:",U),null}finally{u(!1)}},x=async F=>{if(!(t!=null&&t.id))throw new Error("User must be logged in to run analysis");try{if(u(!0),await p6(F,t.id),await l(),s&&s.id===F){const U=await gh(F);a(U)}}catch(U){throw console.error("Error running step one:",U),U}finally{u(!1)}},b=async F=>{if(!(t!=null&&t.id))throw new Error("User must be logged in to run analysis");try{if(u(!0),await g6(F,t.id),await l(),s&&s.id===F){const U=await gh(F);a(U)}}catch(U){throw console.error("Error running step two:",U),U}finally{u(!1)}},E=async F=>{if(!(t!=null&&t.id))throw new Error("User must be logged in to run analysis");try{if(u(!0),await m6(F,t.id),await l(),s&&s.id===F){const U=await gh(F);a(U)}}catch(U){throw console.error("Error running step three:",U),U}finally{u(!1)}},v=async F=>{if(!(t!=null&&t.id))throw new Error("User must be logged in to run analysis");try{if(u(!0),await w6(F,t.id),await l(),s&&s.id===F){const U=await gh(F);a(U)}}catch(U){throw console.error("Error running step four:",U),U}finally{u(!1)}},B=async F=>{if(!(t!=null&&t.id))throw new Error("User must be logged in to delete an analysis");try{u(!0),await y6(F,t.id),await l()}catch(U){throw console.error("Error deleting analysis:",U),U}finally{u(!1)}};return Q.jsx(wE.Provider,{value:{inputs:n,results:i,currentResult:s,isLoading:o,createInput:c,updateInput:p,loadResult:f,runStepOne:x,runStepTwo:b,runStepThree:E,runStepF
91our:v,deleteAnalysis:B,refreshUserData:l},children:e})};/**
92 * @license lucide-react v0.344.0 - ISC
93 *
94 * This source code is licensed under the ISC license.
95 * See the LICENSE file in the root directory of this source tree.
96 */var B6={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"};/**
97 * @license lucide-react v0.344.0 - ISC
98 *
99 * This source code is licensed under the ISC license.
100 * See the LICENSE file in the root directory of this source tree.
101 */const x6=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase().trim(),tr=(e,t)=>{const n=Oe.forwardRef(({color:r="currentColor",size:i=24,strokeWidth:A=2,absoluteStrokeWidth:s,className:a="",children:o,...u},l)=>Oe.createElement("svg",{ref:l,...B6,width:i,height:i,stroke:r,strokeWidth:s?Number(A)*24/Number(i):A,className:["lucide",`lucide-${x6(e)}`,a].join(" "),...u},[...t.map(([c,p])=>Oe.createElement(c,p)),...Array.isArray(o)?o:[o]]));return n.displayName=`${e}`,n};/**
102 * @license lucide-react v0.344.0 - ISC
103 *
104 * This source code is licensed under the ISC license.
105 * See the LICENSE file in the root directory of this source tree.
106 */const b6=tr("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"}]]);/**
107 * @license lucide-react v0.344.0 - ISC
108 *
109 * This source code is licensed under the ISC license.
110 * See the LICENSE file in the root directory of this source tree.
111 */const C6=tr("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"}]]);/**
112 * @license lucide-react v0.344.0 - ISC
113 *
114 * This source code is licensed under the ISC license.
115 * See the LICENSE file in the root directory of this source tree.
116 */const T2=tr("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/**
117 * @license lucide-react v0.344.0 - ISC
118 *
119 * This source code is licensed under the ISC license.
120 * See the LICENSE file in the root directory of this source tree.
121 */const F6=tr("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
122 * @license lucide-react v0.344.0 - ISC
123 *
124 * This source code is licensed under the ISC license.
125 * See the LICENSE file in the root directory of this source tree.
126 */const yE=tr("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"}]]);/**
127 * @license lucide-react v0.344.0 - ISC
128 *
129 * This source code is licensed under the ISC license.
130 * See the LICENSE file in the root directory of this source tree.
131 */const Ag=tr("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
132 * @license lucide-react v0.344.0 - ISC
133 *
134 * This source code is licensed under the ISC license.
135 * See the LICENSE file in the root directory of this source tree.
136 */const S6=tr("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
137 * @license lucide-react v0.344.0 - ISC
138 *
139 * This source code is licensed under the ISC license.
140 * See the LICENSE file in the root directory of this source tree.
141 */const E6=tr("Circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
142 * @license lucide-react v0.344.0 - ISC
143 *
144 * This source code is licensed under the ISC license.
145 * See the LICENSE file in the root directory of this source tree.
146 */const _6=tr("ClipboardCopy",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2",key:"4jdomd"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v4",key:"3hqy98"}],["path",{d:"M21 14H11",key:"1bme5i"}],["path",{d:"m15 10-4 4 4 4",key:"5dvupr"}]]);/**
147 * @license lucide-react v0.344.0 - ISC
148 *
149 * This source code is licensed under the ISC license.
150 * See the LICENSE file in the root directory of this source tree.
151 */const U6=tr("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"}]]);/**
152 * @license lucide-react v0.344.0 - ISC
153 *
154 * This source code is licensed under the ISC license.
155 * See the LICENSE file in the root directory of this source tree.
156 */const Q6=tr("DownloadCloud",[["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"M12 12v9",key:"192myk"}],["path",{d:"m8 17 4 4 4-4",key:"1ul180"}]]);/**
157 * @license lucide-react v0.344.0 - ISC
158 *
159 * This source code is licensed under the ISC license.
160 * See the LICENSE file in the root directory of this source tree.
161 */const k6=tr("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"}]]);/**
162 * @license lucide-react v0.344.0 - ISC
163 *
164 * This source code is licensed under the ISC license.
165 * See the LICENSE file in the root directory of this source tree.
166 */const I6=tr("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"}]]);/**
167 * @license lucide-react v0.344.0 - ISC
168 *
169 * This source code is licensed under the ISC license.
170 * See the LICENSE file in the root directory of this source tree.
171 */const L6=tr("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);/**
172 * @license lucide-react v0.344.0 - ISC
173 *
174 * This source code is licensed under the ISC license.
175 * See the LICENSE file in the root directory of this source tree.
176 */const j6=tr("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"}]]);/**
177 * @license lucide-react v0.344.0 - ISC
178 *
179 * This source code is licensed under the ISC license.
180 * See the LICENSE file in the root directory of this source tree.
181 */const N6=tr("PenTool",[["path",{d:"m12 19 7-7 3 3-7 7-3-3z",key:"rklqx2"}],["path",{d:"m18 13-1.5-7.5L2 2l3.5 14.5L13 18l5-5z",key:"1et58u"}],["path",{d:"m2 2 7.586 7.586",key:"etlp93"}],["circle",{cx:"11",cy:"11",r:"2",key:"xmgehs"}]]);/**
182 * @license lucide-react v0.344.0 - ISC
183 *
184 * This source code is licensed under the ISC license.
185 * See the LICENSE file in the root directory of this source tree.
186 */const P6=tr("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"}]]);/**
187 * @license lucide-react v0.344.0 - ISC
188 *
189 * This source code is licensed under the ISC license.
190 * See the LICENSE file in the root directory of this source tree.
191 */const T6=tr("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}
191],["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"}]]);/**
192 * @license lucide-react v0.344.0 - ISC
193 *
194 * This source code is licensed under the ISC license.
195 * See the LICENSE file in the root directory of this source tree.
196 */const O6=tr("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]]);/**
197 * @license lucide-react v0.344.0 - ISC
198 *
199 * This source code is licensed under the ISC license.
200 * See the LICENSE file in the root directory of this source tree.
201 */const R6=tr("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"}]]);/**
202 * @license lucide-react v0.344.0 - ISC
203 *
204 * This source code is licensed under the ISC license.
205 * See the LICENSE file in the root directory of this source tree.
206 */const D6=tr("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"}]]);/**
207 * @license lucide-react v0.344.0 - ISC
208 *
209 * This source code is licensed under the ISC license.
210 * See the LICENSE file in the root directory of this source tree.
211 */const H6=tr("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/**
212 * @license lucide-react v0.344.0 - ISC
213 *
214 * This source code is licensed under the ISC license.
215 * See the LICENSE file in the root directory of this source tree.
216 */const Rd=tr("Zap",[["polygon",{points:"13 2 3 14 12 14 11 22 21 10 12 10 13 2",key:"45s27k"}]]),M6=()=>{var a;const{user:e,logout:t}=NA(),n=Ci(),[r,i]=Oe.useState(!1),A=Oe.useRef(null),s=()=>{t(),i(!1),n("/login")};return Oe.useEffect(()=>{const o=u=>{A.current&&!A.current.contains(u.target)&&i(!1)};return document.addEventListener("mousedown",o),()=>document.removeEventListener("mousedown",o)},[]),Q.jsx("header",{className:"bg-white shadow-sm border-b border-gray-200",children:Q.jsx("div",{className:"container mx-auto px-4 py-3 sm:px-6 lg:px-8",children:Q.jsxs("div",{className:"flex items-center justify-between",children:[Q.jsx("div",{className:"flex items-center",children:Q.jsxs(Zr,{to:"/",className:"flex items-center",children:[Q.jsx(Rd,{className:"h-7 w-7 text-blue-800"}),Q.jsx("span",{className:"ml-2 text-xl font-bold text-gray-900",children:"Marketing Signal Scout"})]})}),Q.jsx("div",{className:"flex items-center space-x-4",children:e?Q.jsxs(Q.Fragment,{children:[Q.jsxs("div",{className:"flex items-center space-x-1 text-sm",children:[Q.jsx("span",{className:"text-gray-600",children:"Credits:"}),Q.jsx("span",{className:"font-medium",children:e.creditsRemaining})]}),Q.jsxs("div",{className:"relative",ref:A,children:[Q.jsxs("button",{onClick:()=>i(!r),className:"flex items-center space-x-1 text-gray-700 hover:text-gray-900 p-2 rounded-md hover:bg-gray-100",children:[Q.jsx(R6,{className:"h-5 w-5"}),Q.jsx("span",{className:"text-sm font-medium",children:e.email})]}),r&&Q.jsxs("div",{className:"absolute right-0 mt-2 w-48 bg-white border border-gray-200 rounded-md shadow-lg py-1 z-10",children:[Q.jsx(Zr,{to:"/dashboard",className:"block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100",onClick:()=>i(!1),children:"Dashboard"}),((a=e.roles)==null?void 0:a.includes("admin"))&&Q.jsx(Zr,{to:"/admin",className:"block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100",onClick:()=>i(!1),children:"Admin Dashboard"}),Q.jsx(Zr,{to:"/history",className:"block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100",onClick:()=>i(!1),children:"Analysis History"}),Q.jsx(Zr,{to:"/pricing",className:"block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100",onClick:()=>i(!1),children:"Buy Credits"}),Q.jsx("button",{onClick:s,className:"block w-full text-left px-4 py-2 text-sm text-gray-700 hover:bg-gray-100",children:Q.jsxs("div",{className:"flex items-center",children:[Q.jsx(j6,{className:"h-4 w-4 mr-2"}),Q.jsx("span",{children:"Logout"})]})})]})]})]}):Q.jsxs("div",{className:"flex items-center space-x-3",children:[Q.jsx(Zr,{to:"/login",className:"text-sm font-medium text-gray-700 hover:text-gray-900",children:"Login"}),Q.jsx(Zr,{to:"/register",className:"text-sm font-medium px-4 py-2 rounded-md bg-blue-800 text-white hover:bg-blue-700",children:"Sign Up"})]})})]})})})},K6=()=>Q.jsx("footer",{className:"bg-gray-900 text-white",children:Q.jsxs("div",{className:"container mx-auto px-4 py-8 sm:px-6 lg:px-8",children:[Q.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8",children:[Q.jsxs("div",{children:[Q.jsxs("div",{className:"flex items-center",children:[Q.jsx(Rd,{className:"h-7 w-7 text-blue-400"}),Q.jsx("span",{className:"ml-2 text-xl font-bold",children:"Marketing Signal Scout"})]}),Q.jsx("p",{className:"mt-3 text-gray-400 text-sm",children:"Research-driven strategies to help businesses grow through deep market insights and AI-powered analysis."})]}),Q.jsxs("div",{children:[Q.jsx("h3",{className:"text-sm font-semibold uppercase tracking-wider text-gray-400",children:"Resources"}),Q.jsxs("ul",{className:"mt-4 space-y-2",children:[Q.jsx("li",{children:Q.jsx(Zr,{to:"/about",className:"text-gray-300 hover:text-white text-sm",children:"About"})}),Q.jsx("li",{children:Q.jsx(Zr,{to:"/pricing",className:"text-gray-300 hover:text-white text-sm",children:"Pricing"})}),Q.jsx("li",{children:Q.jsx(Zr,{to:"/blog",className:"text-gray-300 hover:text-white text-sm",children:"Blog"})})]})]}),Q.jsxs("div",{children:[Q.jsx("h3",{className:"text-sm font-semibold uppercase tracking-wider text-gray-400",children:"Legal"}),Q.jsxs("ul",{className:"mt-4 space-y-2",children:[Q.jsx("li",{children:Q.jsx(Zr,{to:"/privacy",className:"text-gray-300 hover:text-white text-sm",children:"Privacy Policy"})}),Q.jsx("li",{children:Q.jsx(Zr,{to:"/terms",className:"text-gray-300 hover:text-white text-sm",children:"Terms of Service"})})]})]})]}),Q.jsxs("div",{className:"mt-8 border-t border-gray-800 pt-8 md:flex md:items-center md:justify-between",children:[Q.jsxs("div",{className:"text-gray-400 text-sm",children:["© ",new Date().getFullYear()," DBC Technologies Ltd. All rights reserved. DBCtechnology.com"]}),Q.jsx("div",{className:"mt-4 md:mt-0",children:Q.jsxs("div",{className:"flex space-x-6",children:[Q.jsxs("a",{href:"#",className:"text-gray-400 hover:text-gray-300",children:[Q.jsx("span",{className:"sr-only",children:"Twitter"}),Q.jsx("svg",{className:"h-5 w-5",fill:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true",children:Q.jsx("path",{d:"M8.29 20.251c7.547 0 11.675-6.253 11.675-11.675 0-.178 0-.355-.012-.53A8.348 8.348 0 0022 5.92a8.19 8.19 0 01-2.357.646 4.118 4.118 0 001.804-2.27 8.224 8.224 0 01-2.605.996 4.107 4.107 0 00-6.993 3.743 11.65 11.65 0 01-8.457-4.287 4.106 4.106 0 001.27 5.477A4.072 4.072 0 012.8 9.713v.052a4.105 4.105 0 003.292 4.022 4.095 4.095 0 01-1.853.07 4.108 4.108 0 003.834 2.85A8.233 8.233 0 012 18.407a11.616 11.616 0 006.29 1.84"})})]}),Q.jsxs("a",{href:"#",className:"text-gray-400 hover:text-gray-300",children:[Q.jsx("span",{className:"sr-only",children:"LinkedIn"}),Q.jsx("svg",{className:"h-5 w-5",fill:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true",children:Q.jsx("path",{d:"M19 0h-14c-2.761 0-5 2.239-5 5v14c0 2.761 2.239 5 5 5h14c2.762 0 5-2.239 5-5v-14c0-2.761-2.238-5-5-5zm-11 19h-3v-11h3v11zm-1.5-12.268c-.966 0-1.75-.79-1.75-1.764s.784-1.764 1.75-1.764 1.75.79 1.75 1.764-.783 1.764-1.75 1.764zm13.5 12.268h-3v-5.604c0-3.368-4-3.113-4 0v5.604h-3v-11h3v1.765c1.396-2.586 7-2.777 7 2.476v6.759z"})})]})]})})]})]})}),wu=({children:e})=>Q.jsxs("div",{className:"flex flex-col min-h-screen",children:[Q.jsx(M6,{}),Q.jsx("main",{className:"flex-1 bg-gray-50",children:e}),Q.jsx(K6,{})]}),Kr=({children:e,type:t="button",variant:n="primary",size:r="md",fullWidth:i=!1,disabled:A=!1,isLoading:s=!1,onClick:a,className:o=""})=>{const u={primary:"bg-blue-800 text-white hover:bg-blue-700 focus:ring-blue-300",secondary:"bg-teal-600 text-white hover:bg-teal-500 focus:ring-teal-300",outline:"bg-transparent border border-gray-300 text-gray-700 hover:bg-gray-50 focus:ring-gray-200",ghost:"bg-transparent text-gray-700 hover:bg-gray-100 focus:ring-gray-200",success:"bg-green-600 text-white hover:bg-green-500 focus:ring-green-300",danger:"bg-red-600 text-white hover:bg-red-500 focus:ring-red-300"},l={sm:"text-xs px-3 py-1.5",md:"text-sm px-4 py-2",lg:"text-base px-6 py-3"},p=`
217    inline-flex items-center justify-center font-medium rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 transition-colors duration-200
218    ${u[n]}
219    ${l[r]}
220    ${i?"w-full":""}
221    ${A||s?"opacity-60 cursor-not-allowed":""}
222    ${o}
223  `;return Q.jsx("button",{type:t,className:p,disabled:A||s,onClick:a,children:s?Q.jsxs("div",{className:"flex items-center",children:[Q.jsxs("svg",{className:"animate-spin -ml-1 mr-2 h-4 w-4 text-current",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[Q.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),Q.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),"Processing..."]}):e})},z6=()=>{const e=Ci();return Q.jsxs("div",{className:"relative bg-gradient-to-b from-blue-900 to-blue-800 overflow-hidden",children:[Q.jsx("div",{className:"absolute inset-y-0 w-full h-full",children:Q.jsx("div",{className:"absolute inset-y-0 right-0 w-1/2 bg-blue-700 opacity-50"})}),Q.jsx("div",{className:"relative max-w-7xl mx-auto py-16 px-4 sm:py-24 sm:px-6 lg:px-8",children:Q.jsxs("div",{className:"lg:grid lg:grid-cols-12 lg:gap-8",children:[Q.jsxs("div",{className:"sm:text-center md:max-w-2xl md:mx-auto lg:col-span-6 lg:text-left",children:[Q.jsxs("h1",{children:[Q.jsxs("span",{className:"block text-white text-4xl tracking-tight font-extrabold sm:text-5xl xl:text-6xl",children:["Marketing ",Q.jsx("br",{}),"Signal Scout"]}),Q.jsx("span",{className:"mt-3 block text-teal-400 text-xl tracking-tight font-bold sm:text-2xl",children:"AI-Powered B2B Growth Intelligence"})]}),Q.jsx("p",{className:"mt-6 text-base text-blue-100 sm:text-lg md:text-xl lg:text-lg xl:text-xl",children:"Discover exactly what your buyers are frustrated about, where your offer is missing the mark, and how to fix it — all based on real conversations from people looking for your product or service."}),Q.jsx("div",{className:"mt-8 sm:max-w-lg sm:mx-auto sm:text-center lg:text-left lg:mx-0",children:Q.jsxs("div",{className:"grid gap-4 grid-cols-1 sm:grid-cols-2",children:[Q.jsx(Kr,{variant:"primary",size:"lg",className:"bg-teal-500 hover:bg-teal-400 focus:ring-teal-400",onClick:()=>
223e("/dashboard"),children:"Start Free Analysis"}),Q.jsx(Kr,{variant:"outline",size:"lg",className:"text-white border-white hover:bg-blue-700",onClick:()=>e("/pricing"),children:"View Pricing"})]})})]}),Q.jsx("div",{className:"mt-12 relative sm:max-w-lg sm:mx-auto lg:mt-0 lg:max-w-none lg:mx-0 lg:col-span-6 lg:flex lg:items-center",children:Q.jsx("div",{className:"relative mx-auto w-full rounded-lg shadow-lg lg:max-w-md",children:Q.jsxs("div",{className:"relative block w-full bg-white rounded-lg overflow-hidden",children:[Q.jsx("img",{className:"w-full",src:"https://images.pexels.com/photos/3182812/pexels-photo-3182812.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2",alt:"People working on computers"}),Q.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:Q.jsxs("button",{type:"button",className:"relative rounded-full bg-white/30 backdrop-blur-sm p-4 text-white hover:text-blue-500 hover:bg-white focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500",onClick:()=>e("/demo"),children:[Q.jsx("span",{className:"sr-only",children:"Watch demo"}),Q.jsx("svg",{className:"h-8 w-8",fill:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true",children:Q.jsx("path",{d:"M8 5v14l11-7z"})}),Q.jsx("span",{className:"absolute -bottom-8 left-1/2 transform -translate-x-1/2 text-sm font-medium text-white",children:"Watch Demo"})]})})]})})})]})}),Q.jsx("div",{className:"relative max-w-7xl mx-auto pb-16 px-4 sm:pb-24 sm:px-6 lg:px-8",children:Q.jsx("div",{className:"bg-white/10 backdrop-blur-sm rounded-xl py-8 px-6",children:Q.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8",children:[Q.jsxs("div",{className:"flex flex-col items-center text-center",children:[Q.jsx("div",{className:"flex items-center justify-center h-12 w-12 rounded-md bg-teal-500 text-white mb-4",children:Q.jsx(Rd,{className:"h-6 w-6"})}),Q.jsx("h3",{className:"text-lg font-medium text-white",children:"Real Buyer Pain"}),Q.jsx("p",{className:"mt-2 text-sm text-blue-100",children:"Find exactly where your target buyers are venting their frustrations online"})]}),Q.jsxs("div",{className:"flex flex-col items-center text-center",children:[Q.jsx("div",{className:"flex items-center justify-center h-12 w-12 rounded-md bg-teal-500 text-white mb-4",children:Q.jsx(O6,{className:"h-6 w-6"})}),Q.jsx("h3",{className:"text-lg font-medium text-white",children:"Competitive Gaps"}),Q.jsx("p",{className:"mt-2 text-sm text-blue-100",children:"Identify the critical gaps between market needs and your current offer"})]}),Q.jsxs("div",{className:"flex flex-col items-center text-center",children:[Q.jsx("div",{className:"flex items-center justify-center h-12 w-12 rounded-md bg-teal-500 text-white mb-4",children:Q.jsx(D6,{className:"h-6 w-6"})}),Q.jsx("h3",{className:"text-lg font-medium text-white",children:"Strategic Insights"}),Q.jsx("p",{className:"mt-2 text-sm text-blue-100",children:"Get data-backed recommendations on how to position your offer"})]}),Q.jsxs("div",{className:"flex flex-col items-center text-center",children:[Q.jsx("div",{className:"flex items-center justify-center h-12 w-12 rounded-md bg-teal-500 text-white mb-4",children:Q.jsx(N6,{className:"h-6 w-6"})}),Q.jsx("h3",{className:"text-lg font-medium text-white",children:"Implementation Plan"}),Q.jsx("p",{className:"mt-2 text-sm text-blue-100",children:"Receive a practical roadmap to evolve your offer and messaging"})]})]})})})]})},V6=()=>{const e=Ci();return Q.jsxs(wu,{children:[Q.jsx(z6,{}),Q.jsx("section",{className:"py-16 bg-white",children:Q.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[Q.jsxs("div",{className:"text-center",children:[Q.jsx("h2",{className:"text-3xl font-extrabold text-gray-900 sm:text-4xl",children:"How It Works"}),Q.jsx("p",{className:"mt-3 max-w-2xl mx-auto text-xl text-gray-500 sm:mt-4",children:"Our AI-powered analysis gives you deep insights in four simple steps."})]}),Q.jsx("div",{className:"mt-12",children:Q.jsxs("div",{className:"grid grid-cols-1 gap-8 md:grid-cols-2 lg:grid-cols-4",children:[Q.jsx("div",{className:"pt-6",children:Q.jsx("div",{className:"flow-root bg-gray-50 rounded-lg px-6 pb-8",children:Q.jsxs("div",{className:"-mt-6",children:[Q.jsx("div",{children:Q.jsx("span",{className:"inline-flex items-center justify-center p-3 bg-blue-800 rounded-md shadow-lg",children:Q.jsx("svg",{className:"h-6 w-6 text-white",f
223ill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:Q.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})})})}),Q.jsx("h3",{className:"mt-8 text-lg font-medium text-gray-900 tracking-tight",children:"Step 1: Submit Your Info"}),Q.jsx("p",{className:"mt-5 text-base text-gray-500",children:"Tell us about your business, your current offerings, and your target customers."})]})})}),Q.jsx("div",{className:"pt-6",children:Q.jsx("div",{className:"flow-root bg-gray-50 rounded-lg px-6 pb-8",children:Q.jsxs("div",{className:"-mt-6",children:[Q.jsx("div",{children:Q.jsx("span",{className:"inline-flex items-center justify-center p-3 bg-blue-800 rounded-md shadow-lg",children:Q.jsx("svg",{className:"h-6 w-6 text-white",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:Q.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"})})})}),Q.jsx("h3",{className:"mt-8 text-lg font-medium text-gray-900 tracking-tight",children:"Step 2: Market Research"}),Q.jsx("p",{className:"mt-5 text-base text-gray-500",children:"Our AI scours real human conversations right where your target customers are expressing their pain points."})]})})}),Q.jsx("div",{className:"pt-6",children:Q.jsx("div",{className:"flow-root bg-gray-50 rounded-lg px-6 pb-8",children:Q.jsxs("div",{className:"-mt-6",children:[Q.jsx("div",{children:Q.jsx("span",{className:"inline-flex items-center justify-center p-3 bg-blue-800 rounded-md shadow-lg",children:Q.jsx("svg",{className:"h-6 w-6 text-white",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:Q.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z"})})})}),Q.jsx("h3",{className:"mt-8 text-lg font-medium text-gray-900 tracking-tight",children:"Step 3: Gap Analysis"}),Q.jsx("p",{className:"mt-5 text-base text-gray-500",children:"We analyze where your current offerings don't align with what the market is actually asking for."})]})})}),Q.jsx("div",{className:"pt-6",children:Q.jsx("div",{className:"flow-root bg-gray-50 rounded-lg px-6 pb-8",children:Q.jsxs("div",{className:"-mt-6",children:[Q.jsx("div",{children:Q.jsx("span",{className:"inline-flex items-center justify-center p-3 bg-blue-800 rounded-md shadow-lg",children:Q.jsx("svg",{className:"h-6 w-6 text-white",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:Q.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z"})})})}),Q.jsx("h3",{className:"mt-8 text-lg font-medium text-gray-900 tracking-tight",children:"Step 4: Strategic Plan"}),Q.jsx("p",{className:"mt-5 text-base text-gray-500",children:"Receive a comprehensive strategy brief with concrete recommendations on how to evolve your offerings."})]})})})]})})]})}),Q.jsx("section",{className:"py-16 bg-gray-50",children:Q.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:Q.jsxs("div",{className:"lg:grid lg:grid-cols-3 lg:gap-8",children:[Q.jsxs("div",{children:[Q.jsx("h2",{className:"text-3xl font-extrabold text-gray-900",children:"Trusted by businesses of all sizes"}),Q.jsx("p",{className:"mt-4 text-lg text-gray-500",children:"From startups to enterprise companies, Signal Scout helps businesses align their offerings with what their customers actually want."})]}),Q.jsx("div",{className:"mt-12 lg:mt-0 lg:col-span-2",children:Q.jsxs("div",{className:"grid grid-cols-1 gap-0.5 md:grid-cols-3",children:[Q.jsx("div",{className:"col-span-1 flex justify-center py-8 px-8 bg-white",children:Q.jsx("img",{className:"h-12 grayscale",src:"https://tailwindui.com/img/logos/tuple-logo-gray-400.svg",alt:"Tuple"})}),Q.jsx("div",{className:"col-span-1 flex justify-center py-8 px-8 bg-white",children:Q.jsx("img",{className:"h-12 grayscale",src:"https://tailwindui.com/img/logos/mirage-logo-gray-400.svg",alt:"Mirage"})}),Q.jsx("div",{className:"col-span-1 flex justify-center py-8 px-8 bg-white",children:Q.jsx("img",{className:"h-12 grayscale",src:"https://tailwindui.com/img/logos/statickit-logo-gray-400.svg",alt:"StaticKit"})})]})})]})})}),Q.jsx("section",{className:"py-16 bg-blue-800",children:Q.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[Q.jsxs("div",{className:"text-center",children:[Q.jsx("h2",{className:"text-3xl font-extrabold text-white sm:text-4xl",children:"Ready to grow your business?"}),Q.jsx("p",{className:"mt-3 max-w-2xl mx-auto text-xl text-blue-100 sm:mt-4",children:"Start your first analysis for free and discover what your customers really want."})]}),Q.jsxs("div",{className:"mt-10 flex justify-center",children:[Q.jsx("div",{className:"inline-flex rounded-md shadow",children:Q.jsx(Kr,{variant:"primary",size:"lg",className:"bg-teal-500 hover:bg-teal-400 focus:ring-teal-400",onClick:()=>
223e("/dashboard"),children:"Get Started for Free"})}),Q.jsx("div",{className:"ml-3 inline-flex rounded-md shadow",children:Q.jsx(Kr,{variant:"outline",size:"lg",className:"text-white border-white hover:bg-blue-700",onClick:()=>e("/about"),children:"Learn More"})})]})]})}),Q.jsx("section",{className:"py-16 bg-white",children:Q.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:Q.jsxs("div",{className:"lg:grid lg:grid-cols-2 lg:gap-16 items-center",children:[Q.jsxs("div",{children:[Q.jsx("h2",{className:"text-3xl font-extrabold text-gray-900 sm:text-4xl",children:"Powered by advanced AI"}),Q.jsx("p",{className:"mt-3 max-w-3xl text-lg text-gray-500",children:"Signal Scout uses various AI LLM's to analyze human conversations and extract meaningful insights about your target market."}),Q.jsxs("div",{className:"mt-8",children:[Q.jsxs("div",{className:"flex items-center",children:[Q.jsx("div",{className:"flex-shrink-0",children:Q.jsx("svg",{className:"h-6 w-6 text-green-500",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:Q.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})})}),Q.jsx("p",{className:"ml-3 text-base text-gray-700",children:"Scans thousands of forums to find relevant conversations"})]}),Q.jsxs("div",{className:"mt-6 flex items-center",children:[Q.jsx("div",{className:"flex-shrink-0",children:Q.jsx("svg",{className:"h-6 w-6 text-green-500",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:Q.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})})}),Q.jsx("p",{className:"ml-3 text-base text-gray-700",children:"Extracts and clusters pain points expressed by your target buyers"})]}),Q.jsxs("div",{className:"mt-6 flex items-center",children:[Q.jsx("div",{className:"flex-shrink-0",children:Q.jsx("svg",{className:"h-6 w-6 text-green-500",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:Q.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})})}),Q.jsx("p",{className:"ml-3 text-base text-gray-700",children:"Generates strategic recommendations based on real market data"})]})]})]}),Q.jsx("div",{className:"mt-10 lg:mt-0",children:Q.jsx("img",{className:"rounded-xl shadow-xl",src:"https://images.pexels.com/photos/7709012/pexels-photo-7709012.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2",alt:"AI Research"})})]})})})]})},Af=({id:e,label:t,type:n="text",placeholder:r,value:i,onChange:A,error:s,required:a=!1,disabled:o=!1,className:u=""})=>Q.jsxs("div",{className:`mb-4 ${u}`,children:[t&&Q.jsxs("label",{htmlFor:e,className:"block text-sm font-medium text-gray-700 mb-1",children:[t," ",a&&Q.jsx("span",{className:"text-red-500",children:"*"})]}),Q.jsx("input",{id:e,type:n,value:i,onChange:A,placeholder:r,disabled:o,required:a,className:`w-full px-3 py-2 border ${s?"border-red-500":"border-gray-300"} rounded-md shadow-sm focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500 ${o?"bg-gray-100 cursor-not-allowed":"bg-white"}`}),s&&Q.jsx("p",{className:"mt-1 text-sm text-red-600",children:s})]}),fl=({type:e,title:t,message:n,onClose:r,className:i=""})=>{const A={info:"bg-blue-50 text-blue-800 border-blue-200",success:"bg-green-50 text-green-800 border-green-200",warning:"bg-yellow-50 text-yellow-800 border-yellow-200",error:"bg-red-50 text-red-800 border-red-200"},s={info:L6,success:yE,warning:C6,error:b6}[e],a={info:"text-blue-500",success:"text-green-500",warning:"text-yellow-500",error:"text-red-500"}[e];return Q.jsx("div",{className:`border rounded-md p-4 ${A[e]} ${i}`,children:Q.jsxs("div",{className:"flex items-start",children:[Q.jsx("div",{className:"flex-shrink-0",children:Q.jsx(s,{className:`h-5 w-5 ${a}`})}),Q.jsxs("div",{className:"ml-3 flex-1",children:[t&&Q.jsx("h3",{className:"text-sm font-medium",children:t}),Q.jsx("div",{className:`text-sm ${t?"mt-1":""}`,children:n})]}),r&&Q.jsx("div",{className:"ml-auto pl-3",children:Q.jsxs("button",{type:"button",className:`inline-flex rounded-md p-1.5 focus:outline-none focus:ring-2 focus:ring-offset-2 ${e==="info"?"focus:ring-blue-500":e==="success"?"focus:ring-green-500":e==="warning"?"focu
223s:ring-yellow-500":"focus:ring-red-500"}`,onClick:r,children:[Q.jsx("span",{className:"sr-only",children:"Dismiss"}),Q.jsx(H6,{className:"h-4 w-4"})]})})]})})},G6=()=>{const{login:e}=NA(),t=Ci(),n=xf(),[r,i]=Oe.useState(""),[A,s]=Oe.useState(""),[a,o]=Oe.useState(null),[u,l]=Oe.useState(!1),p=new URLSearchParams(n.search).get("redirect")||"/dashboard",f=async b=>{if(b.preventDefault(),!r||!A){o("Please fill in all fields");return}try{l(!0),o(null),await e(r,A),t(p)}catch(E){o("Invalid email or password"),console.error(E)}finally{l(!1)}},x=async()=>{try{l(!0),o(null),await e("[email protected]","demo123"),t(p)}catch(b){o("Demo login failed. Please try again."),console.error(b)}finally{l(!1)}};return Q.jsxs("div",{className:"min-h-screen bg-gray-50 flex flex-col justify-center py-12 sm:px-6 lg:px-8",children:[Q.jsxs("div",{className:"sm:mx-auto sm:w-full sm:max-w-md",children:[Q.jsx("div",{className:"flex justify-center",children:Q.jsx(Rd,{className:"h-12 w-12 text-blue-800"})}),Q.jsx("h2",{className:"mt-4 text-center text-3xl font-extrabold text-gray-900",children:"Sign in to your account"}),Q.jsxs("p",{className:"mt-2 text-center text-sm text-gray-600",children:["Or"," ",Q.jsx(Zr,{to:"/register",className:"font-medium text-blue-600 hover:text-blue-500",children:"create a new account"})]})]}),Q.jsx("div",{className:"mt-8 sm:mx-auto sm:w-full sm:max-w-md",children:Q.jsxs("div",{className:"bg-white py-8 px-4 shadow sm:rounded-lg sm:px-10",children:[a&&Q.jsx(fl,{type:"error",message:a,onClose:()=>o(null),className:"mb-6"}),Q.jsxs("form",{className:"space-y-6",onSubmit:f,children:[Q.jsx(Af,{id:"email",label:"Email address",type:"email",value:r,onChange:b=>i(b.target.value),required:!0}),Q.jsxs("div",{children:[Q.jsx(Af,{id:"password",label:"Password",type:"password",value:A,onChange:b=>s(b.target.value),required:!0}),Q.jsx("div",{className:"mt-2 text-right",children:Q.jsx(Zr,{to:"/forgot-password",className:"text-sm font-medium text-blue-600 hover:text-blue-500",children:"Forgot your password?"})})]}),Q.jsx("div",{children:Q.jsx(Kr,{type:"submit",variant:"primary",fullWidth:!0,isLoading:u,children:"Sign in"})})]}),Q.jsxs("div",{className:"mt-6",children:[Q.jsxs("div",{className:"relative",children:[Q.jsx("div",{className:"absolute inset-0 flex items-center",children:Q.jsx("div",{className:"w-full border-t border-gray-300"})}),Q.jsx("div",{className:"relative flex justify-center text-sm",children:Q.jsx("span",{className:"px-2 bg-white text-gray-500",children:"Or"})})]}),Q.jsx("div",{className:"mt-6",children:Q.jsx(Kr,{variant:"outline",fullWidth:!0,onClick:x,disabled:u,children:"Sign in with Demo Account"})})]})]})})]})},$6=()=>{const{register:e}=NA(),t=Ci(),[n,r]=Oe.useState(""),[i,A]=Oe.useState(""),[s,a]=Oe.useState(""),[o,u]=Oe.useState(null),[l,c]=Oe.useState(!1),p=async f=>{if(f.preventDefault(),!n||!i||!s){u("Please fill in all fields");return}if(i!==s){u("Passwords do not match");return}try{c(!0),u(null),await e(n,i),t("/dashboard")}catch(x){u("Failed to create account. Please try again."),console.error(x)}finally{c(!1)}};return Q.jsxs("div",{className:"min-h-screen bg-gray-50 flex flex-col justify-center py-12 sm:px-6 lg:px-8",children:[Q.jsxs("div",{className:"sm:mx-auto sm:w-full sm:max-w-md",children:[Q.jsx("div",{className:"flex justify-center",children:Q.jsx(Rd,{className:"h-12 w-12 text-blue-800"})}),Q.jsx("h2",{className:"mt-4 text-center text-3xl font-extrabold text-gray-900",children:"Create a new account"}),Q.jsxs("p",{className:"mt-2 text-center text-sm text-gray-600",children:["Or"," ",Q.jsx(Zr,{to:"/login",className:"font-medium text-blue-600 hover:text-blue-500",children:"sign in to your existing account"})]})]}),Q.jsx("div",{className:"mt-8 sm:mx-auto sm:w-full sm:max-w-md",children:Q.jsxs("div",{className:"bg-white py-8 px-4 shadow sm:rounded-lg sm:px-10",children:[o&&Q.jsx(fl,{type:"error",message:o,onClose:()=>u(null),className:"mb-6"}),Q.jsxs("form",{className:"space-y-6",onSubmit:p,children:[Q.jsx(Af,{id:"email",label:"Email address",type:"email",value:n,onChange:f=>r(f.target.value),required:!0}),Q.jsx(Af,{id:"password",label:"Password",type:"password",value:i,onChange:f=>A(f.target.value),required:!0}),Q.jsx(Af,{id:"confirm-password",label:"Confirm password",type:"password",value:s,onChange:f=>a(f.target.value),required:!0}),Q.jsx("div",{children:Q.jsx(Kr,{type:"submit",variant:"primary",fullWidth:!0,isLoading:l,children:"Create account"})})]}),Q.jsx("div",{className:"mt-6",children:Q.jsxs("p",{className:"text-center text-xs text-gray-600",children:["By creating an account, you agree to our"," ",Q.jsx(Zr,{to:"/terms",className:"font-medium text-blue-600 hover:text-blue-500",children:"Terms of Service"})," ","and"," ",Q.jsx(Zr,{to:"/privacy",className:"font-medium text-blue-600 hover:text-blue-500",children:"Privacy Policy"})]})})]})})]})},xl=({children:e,className:t=""})=>Q.jsx("div",{className:`bg-white rounded-lg shadow-md overflow-hidden ${t}`,children:e}),bu=({children:e,className:t=""})=>Q.jsx("div",{className:`px-6 py-4 border-b border-gray-200 ${t}`,children:e}),bl=({children:e,className:t=""})=>Q.jsx("div",{className:`px-6 py-5 ${t}`,children:e}),O2=({children:e,className:t=""})=>Q.jsx("div",{className:`px-6 py-4 border-t border-gray-200 ${t}`,children:e}),W6=()=>{const{user:e}=NA(),t=Ci();return Q.jsxs(xl,{children:[Q.jsx(bu,{children:Q.jsx("h2",{className:"text-lg font-medium text-gray-900",children:"Your Credits"})}),Q.jsxs(bl,{children:[Q.jsx("div",{className:"flex items-center justify-center",children:Q.jsx("div",{className:"flex items-center justify-center h-16 w-16 rounded-full bg-blue-100 text-blue-800",children:Q.jsx(U6,{className:"h-8 w-8"})})}),Q.jsxs("div",{className:"mt-4 text-center",children:[Q.jsx("p",{className:"text-3xl font-bold text-gray-900",children:(e==null?void 0:e.creditsRemaining)||0}),Q.jsx("p",{className:"text-sm text-gray-500 mt-1",children:"Credits Remaining"})]})]}),Q.jsx(O2,{children:Q.jsx(Kr,{variant:"outline",fullWidth:!0,onClick:()=>t("/pricing"),children:"Get More Credits"})})]})},q6=({results:e})=>{const t=Ci(),r=[...e].sort((i,A)=>new Date(A.updatedAt).getTime()-new Date(i.updatedAt).getTime()).slice(0,5);return Q.jsxs(xl,{children:[Q.jsxs(bu,{className:"flex justify-between items-center",children:[Q.jsxs("div",{children:[Q.jsx("h2",{className:"text-lg font-medium text-gray-900",children:"Recent Analyses"}),Q.jsx("p",{className:"text-sm text-gray-500",children:"Your most recent analysis results"})]}),Q.jsx("button",{onClick:()=>t("/history"),className:"text-sm font-medium text-blue-600 hover:text-blue-500",children:"View all"})]}),Q.jsx(bl,{children:r.length===0?Q.jsx("p",{className:"text-gray-500 text-center py-4",children:"You haven't run any analyses yet. Start your first analysis from the dashboard."}):Q.jsx("div",{className:"divide-y divide-gray-200",children:r.map(i=>Q.jsxs("div",{className:"py-3 flex justify-between items-center cursor-pointer hover:bg-gray-50 px-4 -mx-4 rounded",onClick:()=>t(`/analysis/${i.id}`),children:[Q.jsxs("div",{children:[Q.jsxs("p",{className:"text-sm font-medium text-gray-900",children:["Analysis ",i.id.substring(0,8)]}),Q.jsxs("p",{className:"text-xs text-gray-500",children:[new Date(i.updatedAt).toLocaleDateString()," ·",i.isComplete?Q.jsx("span",{className:"text-green-600 ml-1",children:"Complete"}):Q.jsxs("span",{className:"text-yellow-600 ml-1",children:["Step ",i.currentStep," of 4"]})]})]}),Q.jsx(S6,{className:"h-5 w-5 text-gray-400"})]},i.id))})})]})},M1=({id:e,label:t,placeholder:n,value:r,onChange:i,error:A,required:s=!1,disabled:a=!1,rows:o=4,className:u=""})=>Q.jsxs("div",{className:`mb-4 ${u}`,children:[t&&Q.jsxs("label",{htmlFor:e,className:"block text-sm font-medium text-gray-700 mb-1",children:[t," ",s&&Q.jsx("span",{className:"text-red-500",children:"*"})]}),Q.jsx("textarea",{id:e,value:r,onChange:i,placeholder:n,disabled:a,required:s,rows:o,className:`w-full px-3 py-2 border ${A?"border-red-500":"border-gray-300"} rounded-md shadow-sm focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500 ${a?"bg-gray-100 cursor-not-allowed":"bg-white"}`}),A&&Q.jsx("p",{className:"mt-1 text-sm text-red-600",children:A})]}),J6=()=>{const{user:e}=NA(),{createInput:t,isLoading:n}=n0(),r=Ci(),[i,A]=Oe.useState(""),[s,a]=Oe.useState(""),[o,u]=Oe.useState(""),[l,c]=Oe.useState(""),[p,f]=Oe.useState(null),x=async b=>{if(b.preventDefault(),!(e!=null&&e.id)){r("/login");return}if(e.creditsRemaining<1){r("/pricing");return}if(!i&&!s&&!o){f("Please provide at least one of: Website URL, Marketing Copy, or Business Overview");return}try{f(null);const{resultId:E}=await t({websiteUrl:i,marketingCopy:s,businessOverview:o,currentOffer:l});await new Promise(v=>setTimeout(v,500)),r(`/analysis/${E}`)}catch(E){f("An error occurred while creating the analysis. Please try again."),console.error(E)}};return e!=null&&e.id?Q.jsxs(xl,{children:[Q.jsxs(bu,{children:[Q.jsx("h2",{className:"text-xl font-semibold text-gray-800",children:"Tell us about your business"}),Q.jsx("p",{className:"text-sm text-gray-600 mt-1",children:"Provide information about your business so we can discover where your target buyers reveal their pain points."})]}),Q.jsxs(bl,{children:[p&&Q.jsx(fl,{type:"error",message:p,onClose:()=>f(null),className:"mb-4"}),Q.jsxs("form",{onSubmit:x,children:[Q.jsx(Af,{id:"website-url",label:"Website URL (optional)",type:"url",placeholder:"https://yourbusiness.com",value:i,onChange:b=>A(b.target.value)}),Q.jsx(M1,{id:"marketing-copy",label:"Sales/Marketing Copy (recommended)",placeholder:"Paste your landing page sections, pitch decks, email copy, or any other marketing materials here.",value:s,onChange:b=>a(b.target.value),rows:5}),Q.jsx(M1,{id:"business-overview",label:"Business Overview (fallback, only used if no site/copy provided)",placeholder:"Provide a brief description of your business, what you offer, and who your target customers are.",value:o,onChange:b=>u(b.target.value),rows:3}),Q.jsx(M1,{id:"current-offer",label:"Current Offer (optional)",placeholder:"Describe your current product/service offerings, pricing, or packages.",value:l,onCh
223ange:b=>c(b.target.value),rows:3})]})]}),Q.jsxs(O2,{className:"flex justify-between",children:[Q.jsxs("p",{className:"text-sm text-gray-600",children:["Credits remaining: ",Q.jsx("span",{className:"font-semibold",children:e.creditsRemaining})]}),Q.jsx(Kr,{type:"submit",variant:"primary",onClick:x,isLoading:n,disabled:n||!e||e.creditsRemaining<1,children:"Start Analysis"})]})]}):(r("/login"),null)},X6=()=>{const{user:e}=NA(),{results:t,inputs:n}=n0(),r=Ci();return e?Q.jsx(wu,{children:Q.jsxs("div",{className:"max-w-7xl mx-auto py-6 px-4 sm:px-6 lg:px-8",children:[Q.jsxs("div",{className:"mb-8",children:[Q.jsx("h1",{className:"text-2xl font-bold text-gray-900",children:"Dashboard"}),Q.jsxs("p",{className:"text-sm text-gray-600",children:["Welcome back, ",e.email]})]}),Q.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[Q.jsx("div",{className:"md:col-span-2",children:Q.jsx(J6,{})}),Q.jsx("div",{children:Q.jsx(W6,{})})]}),Q.jsx("div",{className:"mt-8",children:Q.jsx(q6,{results:t})})]})}):(r("/login"),null)},Y6=()=>{const{user:e}=NA(),t=Ci(),[n,r]=Oe.useState([]),[i,A]=Oe.useState(null),[s,a]=Oe.useState(null),[o,u]=Oe.useState(!1);Oe.useEffect(()=>{var p;if(!((p=e==null?void 0:e.roles)!=null&&p.includes("admin"))){t("/dashboard");return}l()},[e]);const l=async()=>{try{u(!0);const p=await eN();r(p)}catch(p){console.error("Error loading users:",p),A("Failed to load users")}finally{u(!1)}},c=async(p,f)=>{try{A(null),a(null),u(!0);const b=f.includes("admin")?f.filter(E=>E!=="admin"):[...f,"admin"];await tN(p,b),await l(),a("User roles updated successfully")}catch(x){console.error("Error updating user roles:",x),A("Failed to update user roles")}finally{u(!1)}};return Q.jsx(wu,{children:Q.jsxs("div",{className:"max-w-7xl mx-auto py-6 px-4 sm:px-6 lg:px-8",children:[Q.jsxs("div",{className:"mb-6",children:[Q.jsx("h1",{className:"text-2xl font-bold text-gray-900",children:"Admin Dashboard"}),Q.jsx("p",{className:"text-sm text-gray-600",children:"Manage users and their roles"})]}),i&&Q.jsx(fl,{type:"error",message:i,onClose:()=>A(null),className:"mb-6"}),s&&Q.jsx(fl,{type:"success",message:s,onClose:()=>a(null),className:"mb-6"}),Q.jsxs(xl,{children:[Q.jsx(bu,{children:Q.jsx("h2",{className:"text-lg font-medium text-gray-900",children:"Users"})}),Q.jsx(bl,{children:Q.jsx("div",{className:"overflow-x-auto",children:Q.jsxs("table",{className:"min-w-full divide-y divide-gray-200",children:[Q.jsx("thead",{className:"bg-gray-50",children:Q.jsxs("tr",{children:[Q.jsx("th",{scope:"col",className:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider",children:"Email"}),Q.jsx("th",{scope:"col",className:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider",children:"Roles"}),Q.jsx("th",{scope:"col",className:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider",children:"Credits"}),Q.jsx("th",{scope:"col",className:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider",children:"Created"}),Q.jsx("th",{scope:"col",className:"px-6 py-3 text-right text-xs font-medium text-gray-500 uppercase tracking-wider",children:"Actions"})]})}),Q.jsx("tbody",{className:"bg-white divide-y divide-gray-200",children:n.map(p=>{var f,x,b;return Q.jsxs("tr",{children:[Q.jsx("td",{className:"px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900",children:p.email}),Q.jsx("td",{className:"px-6 py-4 whitespace-nowrap text-sm text-gray-500",children:(f=p.roles)==null?void 0:f.map(E=>Q.jsx("span",{className:`inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium ${E==="admin"?"bg-purple-100 text-purple-800":"bg-blue-100 text-blue-800"} mr-2`,children:E},E))}),Q.jsx("td",{className:"px-6 py-4 whitespace-nowrap text-sm text-gray-500",children:p.creditsRemaining}),Q.jsx("td",{className:"px-6 py-4 whitespace-nowrap text-sm text-gray-500",children:new Date(p.createdAt).toLocaleDateString()}),Q.jsx("td",{className:"px-6 py-4 whitespace-nowrap text-right text-sm font-medium",children:Q.jsx(Kr,{variant:(x=p.roles)!=null&&x.includes("admin")?"danger":"primary",size:"sm",onClick:()=>c(p.id,p.roles||[]),disabled:o||p.id===(e==null?void 0:e.id),children:(b=p.roles)!=null&&b.includes("admin")?"Remove Admin":"Make Admin"})})]}
223,p.id)})})]})})})]})]})})},Z6=({result:e})=>{const t=[{id:1,name:"Business Analysis",description:"Analyze your business and discover buyer pain points on Reddit",status:e.currentStep>1?"complete":e.currentStep===1?"current":"upcoming"},{id:2,name:"Reddit Research",description:"Find and analyze relevant Reddit threads",status:e.currentStep>2?"complete":e.currentStep===2?"current":"upcoming"},{id:3,name:"Gap Analysis",description:"Identify gaps between market needs and your offer",status:e.currentStep>3?"complete":e.currentStep===3?"current":"upcoming"},{id:4,name:"Strategic Plan",description:"Create a comprehensive strategy to address the gaps",status:e.currentStep>4?"complete":e.currentStep===4?"current":"upcoming"}];return Q.jsxs("div",{className:"py-4",children:[Q.jsxs("div",{className:"flex items-center justify-between mb-2",children:[Q.jsx("h2",{className:"text-lg font-semibold text-gray-800",children:"Analysis Progress"}),Q.jsxs("div",{className:"text-sm text-gray-600",children:["Step ",Math.min(e.currentStep,4)," of 4"]})]}),Q.jsx("nav",{"aria-label":"Progress",children:Q.jsx("ol",{className:"overflow-hidden",children:t.map((n,r)=>Q.jsxs("li",{className:`relative ${r!==t.length-1?"pb-6":""}`,children:[r!==t.length-1?Q.jsx("div",{className:`absolute top-5 left-5 -ml-px mt-0.5 h-full w-0.5 ${n.status==="complete"?"bg-blue-600":"bg-gray-300"}`,"aria-hidden":"true"}):null,Q.jsxs("div",{className:"group relative flex items-start",children:[Q.jsx("span",{className:"flex h-10 items-center",children:n.status==="complete"?Q.jsx(yE,{className:"h-10 w-10 text-blue-600"}):n.status==="current"?Q.jsx("div",{className:"animate-pulse",children:Q.jsx(F6,{className:"h-10 w-10 text-blue-600"})}):Q.jsx(E6,{className:"h-10 w-10 text-gray-300"})}),Q.jsxs("div",{className:"ml-4 min-w-0 flex-1",children:[Q.jsx("h3",{className:`text-base font-medium ${n.status==="complete"||n.status==="current"?"text-gray-900":"text-gray-500"}`,children:n.name}),Q.jsx("p",{className:"text-sm text-gray-500",children:n.description})]})]})]},n.id))})})]})};function eP(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const tP=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,nP=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,rP={};function Vx(e,t){return(rP.jsx?nP:tP).test(e)}const iP=/[ \t\n\f\r]/g;function AP(e){return typeof e=="object"?e.type==="text"?Gx(e.value):!1:Gx(e)}function Gx(e){return e.replace(iP,"")===""}class Dd{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}Dd.prototype.normal={};Dd.prototype.property={};Dd.prototype.space=void 0;function vE(e,t){const n={},r={};for(const i of e)Object.assign(n,i.property),Object.assign(r,i.normal);return new Dd(n,r,t)}function Qy(e){return e.toLowerCase()}class aA{constructor(t,n){this.attribute=n,this.property=t}}aA.prototype.attribute="";aA.prototype.booleanish=!1;aA.prototype.boolean=!1;aA.prototype.commaOrSpaceSeparated=!1;aA.prototype.commaSeparated=!1;aA.prototype.defined=!1;aA.prototype.mustUseProperty=!1;aA.prototype.number=!1;aA.prototype.overloadedBoolean=!1;aA.prototype.property="";aA.prototype.spaceSeparated=!1;aA.prototype.space=void 0;let sP=0;const qt=Cu(),Br=Cu(),ky=Cu(),et=Cu(),jn=Cu(),sf=Cu(),CA=Cu();function Cu(){return 2**++sP}const Iy=Object.freeze(Object.defineProperty({__proto__:null,boolean:qt,booleanish:Br,commaOrSpaceSeparated:CA,commaSeparated:sf,number:et,overloadedBoolean:ky,spaceSeparated:jn},Symbol.toStringTag,{value:"Module"})),K1=Object.keys(Iy);class R2 extends aA{constructor(t,n,r,i){let A=-1;if(super(t,n),$x(this,"space",i),typeof r=="number")for(;++A<K1.length;){const s=K1[A];$x(this,K1[A],(r&Iy[s])===Iy[s])}}}R2.prototype.defined=!0;function $x(e,t,n){n&&(e[t]=n)}function _f(e){const t={},n={};for(const[r,i]of Object.entries(e.properties)){const A=new R2(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(A.mustUseProperty=!0),t[r]=A,n[Qy(r)]=r,n[Qy(A.attribute)]=r}return new Dd(t,n,e.space)}const BE=_f({properties:{ariaActiveDescendant:null,ariaAtomic:Br,ariaAutoComplete:null,ariaBusy:Br,ariaChecked:Br,ariaColCount:et,ariaColIndex:et,ariaColSpan:et,ariaControl
vendor: 4,005 bytes, line 223
223s:jn,ariaCurrent:null,ariaDescribedBy:jn,ariaDetails:null,ariaDisabled:Br,ariaDropEffect:jn,ariaErrorMessage:null,ariaExpanded:Br,ariaFlowTo:jn,ariaGrabbed:Br,ariaHasPopup:null,ariaHidden:Br,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:jn,ariaLevel:et,ariaLive:null,ariaModal:Br,ariaMultiLine:Br,ariaMultiSelectable:Br,ariaOrientation:null,ariaOwns:jn,ariaPlaceholder:null,ariaPosInSet:et,ariaPressed:Br,ariaReadOnly:Br,ariaRelevant:null,ariaRequired:Br,ariaRoleDescription:jn,ariaRowCount:et,ariaRowIndex:et,ariaRowSpan:et,ariaSelected:Br,ariaSetSize:et,ariaSort:null,ariaValueMax:et,ariaValueMin:et,ariaValueNow:et,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function xE(e,t){return t in e?e[t]:t}function bE(e,t){return xE(e,t.toLowerCase())}const oP=_f({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:sf,acceptCharset:jn,accessKey:jn,action:null,allow:null,allowFullScreen:qt,allowPaymentRequest:qt,allowUserMedia:qt,alt:null,as:null,async:qt,autoCapitalize:null,autoComplete:jn,autoFocus:qt,autoPlay:qt,blocking:jn,capture:null,charSet:null,checked:qt,cite:null,className:jn,cols:et,colSpan:null,content:null,contentEditable:Br,controls:qt,controlsList:jn,coords:et|sf,crossOrigin:null,data:null,dateTime:null,decoding:null,default:qt,defer:qt,dir:null,dirName:null,disabled:qt,download:ky,draggable:Br,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:qt,formTarget:null,headers:jn,height:et,hidden:ky,high:et,href:null,hrefLang:null,htmlFor:jn,httpEquiv:jn,id:null,imageSizes:null,imageSrcSet:null,inert:qt,inputMode:null,integrity:null,is:null,isMap:qt,itemId:null,itemProp:jn,itemRef:jn,itemScope:qt,itemType:jn,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:qt,low:et,manifest:null,max:null,maxLength:et,media:null,method:null,min:null,minLength:et,multiple:qt,muted:qt,name:null,nonce:null,noModule:qt,noValidate:qt,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:qt,optimum:et,pattern:null,ping:jn,placeholder:null,playsInline:qt,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:qt,referrerPolicy:null,rel:jn,required:qt,reversed:qt,rows:et,rowSpan:et,sandbox:jn,scope:null,scoped:qt,seamless:qt,selected:qt,shadowRootClonable:qt,shadowRootDelegatesFocus:qt,shadowRootMode:null,shape:null,size:et,sizes:null,slot:null,span:et,spellCheck:Br,src:null,
223srcDoc:null,srcLang:null,srcSet:null,start:et,step:null,style:null,tabIndex:et,target:null,title:null,translate:null,type:null,typeMustMatch:qt,useMap:null,value:Br,width:et,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:jn,axis:null,background:null,bgColor:null,border:et,borderColor:null,bottomMargin:et,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:qt,declare:qt,event:null,face:null,frame:null,frameBorder:null,hSpace:et,leftMargin:et,link:null,longDesc:null,lowSrc:null,marginHeight:et,marginWidth:et,noResize:qt,noHref:qt,noShade:qt,noWrap:qt,object:null,profile:null,prompt:null,rev:null,rightMargin:et,rules:null,scheme:null,scrolling:Br,standby:null,summary:null,text:null,topMargin:et,valueType:null,version:null,vAlign:null,vLink:null,vSpace:et,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:qt,disableRemotePlayback:qt,prefix:null,property:null,results:et,security:null,unselectable:null},space:"html",transform:bE}),aP=_f({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav
223-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:CA,accentHeight:et,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:et,amplitude:et,arabicForm:null,ascent:et,attributeName:null,attributeType:null,azimuth:et,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:et,by:null,calcMode:null,capHeight:et,className:jn,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:et,diffuseConstant:et,direction:null,display:null,dur:null,divisor:et,dominantBaseline:null,download:qt,dx:null,dy:null,edgeMode:null,editable:null,elevation:et,enableBackground:null,end:null,event:null,exponent:et,externalResourcesRequired:null,fill:null,fillOpacity:et,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:sf,g2:sf,glyphName:sf,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:et,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:et,horizOriginX:et,horizOriginY:et,id:null,ideographic:et,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:et,k:et,k1:et,k2:et,k3:et,k4:et,kernelMatrix:CA,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:et,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:et,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,on
vendor: 5,236 bytes, lines 223-224
223Zoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:et,overlineThickness:et,paintOrder:null,panose1:null,path:null,pathLength:et,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:jn,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:et,pointsAtY:et,pointsAtZ:et,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:CA,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:CA,rev:CA,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:CA,requiredFeatures:CA,requiredFonts:CA,requiredFormats:CA,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:et,specularExponent:et,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:et,strikethroughThickness:et,string:null,stroke:null,strokeDashArray:CA,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:et,strokeOpacity:et,strokeWidth:null,style:null,surfaceScale:et,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:CA,tabIndex:et,tableValues:null,target:null,targetX:et,targetY:et,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:CA,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:et,underlineThickness:et,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:et,values:null,vAlphabetic:et,vMathematical:et,vectorEffect:null,vHanging:et,vIdeographic:et,version:null,vertAdvY:et,vertOriginX:et,vertOriginY:et,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:et,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:xE}),CE=_f({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),FE=_f({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:bE}),SE=_f({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),lP={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},uP=/[A-Z]/g,Wx=/-[a-z]/g,cP=/^data[-\w.:]+$/i;function fP(e,t){const n=Qy(t);let r=t,i=aA;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&cP.test(t)){if(t.charAt(4)==="-"){const A=t.slice(5).replace(Wx,dP);r="data"+A.charAt(0).toUpperCase()+A.slice(1)}else{const A=t.slice(4);if(!Wx.test(A)){let s=A.replace(uP,hP);s.charAt(0)!=="-"&&(s="-"+s),t="data"+s}}i=R2}return new i(r,t)}function hP(e){return"-"+e.toLowerCase()}function dP(e){return e.charAt(1).toUpperCase()}const pP=vE([BE,oP,CE,FE,SE],"html"),D2=vE([BE,aP,CE,FE,SE],"svg");function gP(e){return e.join(" ").trim()}var H2={},qx=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,mP=/\n/g,wP=/^\s*/,yP=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,vP=/^:\s*/,BP=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,xP=/^[;\s]*/,bP=/^\s+|\s+$/g,CP=`
224`,Jx="/",Xx="*",tu="",FP="comment",SP="declaration",EP=function(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function i(x){var b=x.match(mP);b&&(n+=b.length);var E=x.lastIndexOf(CP);r=~E?x.length-E:r+x.length}function A(){var x={line:n,column:r};return function(b){return b.position=new s(x),u(),b}}function s(x){this.start=x,this.end={line:n,column:r},this.source=t.source}s.prototype.content=e;function a(x){var b=new Error(t.source+":"+n+":"+r+": "+x);if(b.reason=x,b.filename=t.source,b.line=n,b.column=r,b.source=e,!t.silent)throw b}function o(x){var b=x.exec(e);if(b){var E=b[0];return i(E),e=e.slice(E.length),b}}function u(){o(wP)}function l(x){var b;for(x=x||[];b=c();)b!==!1&&x.push(b);return x}function c(){var x=A();if(!(Jx!=e.charAt(0)||Xx!=e.charAt(1))){for(var b=2;tu!=e.charAt(b)&&(Xx!=e.charAt(b)||Jx!=e.charAt(b+1));)++b;if(b+=2,tu===e.charAt(b-1))return a("End of comment missing");var E=e.slice(2,b-2);return r+=2,i(E),e=e.slice(b),r+=2,x({type:FP,comment:E})}}function p(){var x=A(),b=o(yP);if(b){if(c(),!o(vP))return a("property missing ':'");var E=o(BP),v=x({type:SP,property:Yx(b[0].replace(qx,tu)),value:E?Yx(E[0].replace(qx,tu)):tu});return o(xP),v}}function f(){var x=[];l(x);for(var b;b=p();)b!==!1&&(x.push(b),l(x));return x}return u(),f()};function Yx(e){return e?e.replace(bP,tu):tu}
vendor: 3,669 bytes, line 224
224var _P=gr&&gr.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(H2,"__esModule",{value:!0});H2.default=QP;var UP=_P(EP);function QP(e,t){var n=null;if(!e||typeof e!="string")return n;var r=(0,UP.default)(e),i=typeof t=="function";return r.forEach(function(A){if(A.type==="declaration"){var s=A.property,a=A.value;i?t(s,a,A):a&&(n=n||{},n[s]=a)}}),n}var r0={};Object.defineProperty(r0,"__esModule",{value:!0});r0.camelCase=void 0;var kP=/^--[a-zA-Z0-9_-]+$/,IP=/-([a-z])/g,LP=/^[^-]+$/,jP=/^-(webkit|moz|ms|o|khtml)-/,NP=/^-(ms)-/,PP=function(e){return!e||LP.test(e)||kP.test(e)},TP=function(e,t){return t.toUpperCase()},Zx=function(e,t){return"".concat(t,"-")},OP=function(e,t){return t===void 0&&(t={}),PP(e)?e:(e=e.toLowerCase(),t.reactCompat?e=e.replace(NP,Zx):e=e.replace(jP,Zx),e.replace(IP,TP))};r0.camelCase=OP;var RP=gr&&gr.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},DP=RP(H2),HP=r0;function Ly(e,t){var n={};return!e||typeof e!="string"||(0,DP.default)(e,function(r,i){r&&i&&(n[(0,HP.camelCase)(r,t)]=i)}),n}Ly.default=Ly;var MP=Ly;const KP=wm(MP),EE=_E("end"),M2=_E("start");function _E(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function zP(e){const t=M2(e),n=EE(e);if(t&&n)return{start:t,end:n}}function Gh(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?eb(e.position):"start"in e||"end"in e?eb(e):"line"in e||"column"in e?jy(e):""}function jy(e){return tb(e&&e.line)+":"+tb(e&&e.column)}function eb(e){return jy(e&&e.start)+"-"+jy(e&&e.end)}function tb(e){return e&&typeof e=="number"?e:1}class Fi extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",A={},s=!1;if(n&&("line"in n&&"column"in n?A={place:n}:"start"in n&&"end"in n?A={place:n}:"type"in n?A={ancestors:[n],place:n.position}:A={...n}),typeof t=="string"?i=t:!A.cause&&t&&(s=!0,i=t.message,A.cause=t),!A.ruleId&&!A.source&&typeof r=="string"){const o=r.indexOf(":");o===-1?A.ruleId=r:(A.source=r.slice(0,o),A.ruleId=r.slice(o+1))}if(!A.place&&A.ancestors&&A.ancestors){const o=A.ancestors[A.ancestors.length-1];o&&(A.place=o.position)}const a=A.place&&"start"in A.place?A.place.start:A.place;this.ancestors=A.ancestors||void 0,this.cause=A.cause||void 0,this.column=a?a.column:void 0,this.fatal=void 0,this.file,this.message=i,this.line=a?a.line:void 0,this.name=Gh(A.place)||"1:1",this.place=A.place||void 0,this.reason=this.message,this.ruleId=A.ruleId||void 0,this.source=A.source||void 0,this.stack=s&&A.cause&&typeof A.cause.stack=="string"?A.cause.stack:"",this.actual,this.expected,this.note,this.url}}Fi.prototype.file="";Fi.prototype.name="";Fi.prototype.reason="";Fi.prototype.message="";Fi.prototype.stack="";Fi.prototype.column=void 0;Fi.prototype.line=void 0;Fi.prototype.ancestors=void 0;Fi.prototype.cause=void 0;Fi.prototype.fatal=void 0;Fi.prototype.place=void 0;Fi.prototype.ruleId=void 0;Fi.prototype.source=void 0;const K2={}.hasOwnProperty,VP=new Map,GP=/[A-Z]/g,$P=new Set(["table","tbody","thead","tfoot","tr"]),WP=new Set(["td","th"]),UE="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function qP(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=rT(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");
vendor: 6,302 bytes, line 224
224if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=nT(n,t.jsx,t.jsxs)}const i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?D2:pP,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},A=QE(i,e,void 0);return A&&typeof A!="string"?A:i.create(e,i.Fragment,{children:A||void 0},void 0)}function QE(e,t,n){if(t.type==="element")return JP(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return XP(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return ZP(e,t,n);if(t.type==="mdxjsEsm")return YP(e,t);if(t.type==="root")return eT(e,t,n);if(t.type==="text")return tT(e,t)}function JP(e,t,n){const r=e.schema;let i=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=D2,e.schema=i),e.ancestors.push(t);const A=IE(e,t.tagName,!1),s=iT(e,t);let a=V2(e,t);return $P.has(t.tagName)&&(a=a.filter(function(o){return typeof o=="string"?!AP(o):!0})),kE(e,s,A,t),z2(s,a),e.ancestors.pop(),e.schema=r,e.create(t,A,s,n)}function XP(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}xd(e,t.position)}function YP(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);xd(e,t.position)}function ZP(e,t,n){const r=e.schema;let i=r;t.name==="svg"&&r.space==="html"&&(i=D2,e.schema=i),e.ancestors.push(t);const A=t.name===null?e.Fragment:IE(e,t.name,!0),s=AT(e,t),a=V2(e,t);return kE(e,s,A,t),z2(s,a),e.ancestors.pop(),e.schema=r,e.create(t,A,s,n)}function eT(e,t,n){const r={};return z2(r,V2(e,t)),e.create(t,e.Fragment,r,n)}function tT(e,t){return t.value}function kE(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function z2(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function nT(e,t,n){return r;function r(i,A,s,a){const u=Array.isArray(s.children)?n:t;return a?u(A,s,a):u(A,s)}}function rT(e,t){return n;function n(r,i,A,s){const a=Array.isArray(A.children),o=M2(r);return t(i,A,s,a,{columnNumber:o?o.column-1:void 0,fileName:e,lineNumber:o?o.line:void 0},void 0)}}function iT(e,t){const n={};let r,i;for(i in t.properties)if(i!=="children"&&K2.call(t.properties,i)){const A=sT(e,i,t.properties[i]);if(A){const[s,a]=A;e.tableCellAlignToStyle&&s==="align"&&typeof a=="string"&&WP.has(t.tagName)?r=a:n[s]=a}}if(r){const A=n.style||(n.style={});A[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function AT(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const A=r.data.estree.body[0];A.type;const s=A.expression;s.type;const a=s.properties[0];a.type,Object.assign(n,e.evaluater.evaluateExpression(a.argument))}else xd(e,t.position);else{const i=r.name;let A;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const a=r.value.data.estree.body[0];a.type,A=e.evaluater.evaluateExpression(a.expression)}else xd(e,t.position);else A=r.value===null?!0:r.value;n[i]=A}return n}function V2(e,t){const n=[];let r=-1;const i=e.passKeys?new Map:VP;for(;++r<t.children.length;){const A=t.children[r];let s;if(e.passKeys){const o=A.type==="element"?A.tagName:A.type==="mdxJsxFlowElement"||A.type==="mdxJsxTextElement"?A.name:void 0;if(o){const u=i.get(o)||0;s=o+"-"+u,i.set(o,u+1)}}const a=QE(e,A,s);a!==void 0&&n.push(a)}return n}function sT(e,t,n){const r=fP(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?eP(n):gP(n)),r.property==="style"){let i=typeof n=="object"?n:oT(e,String(n));return e.stylePropertyNameCase==="css"&&(i=aT(i)),["style",i]}return[e.elementAttributeNameCase==="react"&&r.space?lP[r.property]||r.property:r.attribute,n]}}function oT(e,t){try{return KP(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const r=n,i=new Fi("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw i.file=e.filePath||void 0,i.url=UE+"#cannot-parse-style-attribute",i}}function IE(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const i=t.split(".");let A=-1,s;for(;++A<i.length;){const a=Vx(i[A])?{type:"Identifier",name:i[A]}:{type:"Literal",value:i[A]};s=s?{type:"MemberExpression",object:s,property:a,computed:!!(A&&a.type==="Literal"),optional:!1}:a}r=s}else r=Vx(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const i=r.value;return K2.call(e.components,i)?e.components[i]:i}if(e.evaluater)return e.evaluater.evaluateExpression(r);xd(e)}function xd(e,t){const n=new Fi("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=UE+"#cannot-handle-mdx-estrees-without-createevaluater",n}function aT(e){const t={};let n;for(n in e)K2.call(e,n)&&(t[lT(n)]=e[n]);return t}function lT(e){let t=e.replace(GP,uT);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function uT(e){return"-"+e.toLowerCase()}const z1={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},cT={};function G2(e,t){const n=cT,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return LE(e,r,i)}function LE(e,t,n){if(fT(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return nb(e.children,t,n)}return Array.isArray(e)?nb(e,t,n):""}function nb(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=LE(e[i],t,n);return r.join("")}function fT(e){return!!(e&&typeof e=="object")}const rb=document.createElement("i");function $2(e){const t="&"+e+";";rb.innerHTML=t;const n=rb.textContent;
vendor: 13,030 bytes, line 224
224return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function kA(e,t,n,r){const i=e.length;let A=0,s;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)s=Array.from(r),s.unshift(t,n),e.splice(...s);else for(n&&e.splice(t,n);A<r.length;)s=r.slice(A,A+1e4),s.unshift(t,0),e.splice(...s),A+=1e4,t+=1e4}function $A(e,t){return e.length>0?(kA(e,e.length,0,t),e):t}const ib={}.hasOwnProperty;function jE(e){const t={};let n=-1;for(;++n<e.length;)hT(t,e[n]);return t}function hT(e,t){let n;for(n in t){const i=(ib.call(e,n)?e[n]:void 0)||(e[n]={}),A=t[n];let s;if(A)for(s in A){ib.call(i,s)||(i[s]=[]);const a=A[s];dT(i[s],Array.isArray(a)?a:a?[a]:[])}}}function dT(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);kA(e,0,0,r)}function NE(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function Cs(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Pi=Cl(/[A-Za-z]/),xi=Cl(/[\dA-Za-z]/),pT=Cl(/[#-'*+\--9=?A-Z^-~]/);function hm(e){return e!==null&&(e<32||e===127)}const Ny=Cl(/\d/),gT=Cl(/[\dA-Fa-f]/),mT=Cl(/[!-/:-@[-`{-~]/);function jt(e){return e!==null&&e<-2}function Un(e){return e!==null&&(e<0||e===32)}function nn(e){return e===-2||e===-1||e===32}const i0=Cl(new RegExp("\\p{P}|\\p{S}","u")),yu=Cl(/\s/);function Cl(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function Uf(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const A=e.charCodeAt(n);let s="";if(A===37&&xi(e.charCodeAt(n+1))&&xi(e.charCodeAt(n+2)))i=2;else if(A<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(A))||(s=String.fromCharCode(A));else if(A>55295&&A<57344){const a=e.charCodeAt(n+1);A<56320&&a>56319&&a<57344?(s=String.fromCharCode(A,a),i=1):s="�"}else s=String.fromCharCode(A);s&&(t.push(e.slice(r,n),encodeURIComponent(s)),r=n+i+1,s=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function ln(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let A=0;return s;function s(o){return nn(o)?(e.enter(n),a(o)):t(o)}function a(o){return nn(o)&&A++<i?(e.consume(o),a):(e.exit(n),t(o))}}const wT={tokenize:yT};function yT(e){const t=e.attempt(this.parser.constructs.contentInitial,r,i);let n;return t;function r(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),ln(e,t,"linePrefix")}function i(a){return e.enter("paragraph"),A(a)}function A(a){const o=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=o),n=o,s(a)}function s(a){if(a===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(a);return}return jt(a)?(e.consume(a),e.exit("chunkText"),A):(e.consume(a),s)}}const vT={tokenize:BT},Ab={tokenize:xT};function BT(e){const t=this,n=[];let r=0,i,A,s;return a;function a(F){if(r<n.length){const U=n[r];return t.containerState=U[1],e.attempt(U[0].continuation,o,u)(F)}return u(F)}function o(F){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&B();const U=t.events.length;let N=U,P;for(;N--;)if(t.events[N][0]==="exit"&&t.events[N][1].type==="chunkFlow"){P=t.events[N][1].end;break}v(r);let $=U;for(;$<t.events.length;)t.events[$][1].end={...P},$++;return kA(t.events,N+1,0,t.events.slice(U)),t.events.length=$,u(F)}return a(F)}function u(F){if(r===n.length){if(!i)return p(F);if(i.currentConstruct&&i.currentConstruct.concrete)return x(F);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Ab,l,c)(F)}function l(F){return i&&B(),v(r),p(F)}function c(F){return t.parser.lazy[t.now().line]=r!==n.length,s=t.now().offset,x(F)}function p(F){return t.containerState={},e.attempt(Ab,f,x)(F)}function f(F){return r++,n.push([t.currentConstruct,t.containerState]),p(F)}function x(F){if(F===null){i&&B(),v(0),e.consume(F);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:A}),b(F)}function b(F){if(F===null){E(e.exit("chunkFlow"),!0),v(0),e.consume(F);return}return jt(F)?(e.consume(F),E(e.exit("chunkFlow")),r=0,t.interrupt=void 0,a):(e.consume(F),b)}function E(F,U){const N=t.sliceStream(F);if(U&&N.push(null),F.previous=A,A&&(A.next=F),A=F,i.defineSkip(F.start),i.write(N),t.parser.lazy[F.start.line]){let P=i.events.length;for(;P--;)if(i.events[P][1].start.offset<s&&(!i.events[P][1].end||i.events[P][1].end.offset>s))return;const $=t.events.length;let G=$,te,M;for(;G--;)if(t.events[G][0]==="exit"&&t.events[G][1].type==="chunkFlow"){if(te){M=t.events[G][1].end;break}te=!0}for(v(r),P=$;P<t.events.length;)t.events[P][1].end={...M},P++;kA(t.events,G+1,0,t.events.slice($)),t.events.length=P}}function v(F){let U=n.length;for(;U-- >F;){const N=n[U];t.containerState=N[1],N[0].exit.call(t,e)}n.length=F}function B(){i.write([null]),A=void 0,i=void 0,t.containerState._closeFlow=void 0}}function xT(e,t,n){return ln(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function gf(e){if(e===null||Un(e)||yu(e))return 1;if(i0(e))return 2}function A0(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const A=e[i].resolveAll;A&&!r.includes(A)&&(t=A(t,n),r.push(A))}return t}const Py={name:"attention",resolveAll:bT,tokenize:CT};function bT(e,t){let n=-1,r,i,A,s,a,o,u,l;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;o=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const c={...e[r][1].end},p={...e[n][1].start};sb(c,-o),sb(p,o),s={type:o>1?"strongSequence":"emphasisSequence",start:c,end:{...e[r][1].end}},a={type:o>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:p},A={type:o>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},i={type:o>1?"strong":"emphasis",start:{...s.start},end:{...a.end}},e[r][1].end={...s.start},e[n][1].start={...a.end},u=[],e[r][1].end.offset-e[r][1].start.offset&&(u=$A(u,[["enter",e[r][1],t],["exit",e[r][1],t]])),u=$A(u,[["enter",i,t],["enter",s,t],["exit",s,t],["enter",A,t]]),u=$A(u,A0(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),u=$A(u,[["exit",A,t],["enter",a,t],["exit",a,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(l=2,u=$A(u,[["enter",e[n][1],t],["exit",e[n][1],t]])):l=0,kA(e,r-1,n-r+3,u),n=r+u.length-l-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function CT(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=gf(r);let A;return s;function s(o){return A=o,e.enter("attentionSequence"),a(o)}function a(o){if(o===A)return e.consume(o),a;const u=e.exit("attentionSequence"),l=gf(o),c=!l||l===2&&i||n.includes(o),p=!i||i===2&&l||n.includes(r);return u._open=!!(A===42?c:c&&(i||!p)),u._close=!!(A===42?p:p&&(l||!c)),t(o)}}function sb(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const FT={name:"autolink",tokenize:ST};function ST(e,t,n){let r=0;return i;function i(f){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(f),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),A}function A(f){return Pi(f)?(e.consume(f),s):f===64?n(f):u(f)}function s(f){return f===43||f===45||f===46||xi(f)?(r=1,a(f)):u(f)}function a(f){return f===58?(e.consume(f),r=0,o):(f===43||f===45||f===46||xi(f))&&r++<32?(e.consume(f),a):(r=0,u(f))}function o(f){return f===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(f),e.exit("autolinkMarker"),e.exit("autolink"),t):f===null||f===32||f===60||hm(f)?n(f):(e.consume(f),o)}function u(f){return f===64?(e.consume(f),l):pT(f)?(e.consume(f),u):n(f)}function l(f){return xi(f)?c(f):n(f)}function c(f){return f===46?(e.consume(f),r=0,l):f===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(f),e.exit("autolinkMarker"),e.exit("autolink"),t):p(f)}function p(f){if((f===45||xi(f))&&r++<63){const x=f===45?p:c;return e.consume(f),x}return n(f)}}const Hd={partial:!0,tokenize:ET};function ET(e,t,n){return r;function r(A){return nn(A)?ln(e,i,"linePrefix")(A):i(A)}function i(A){return A===null||jt(A)?t(A):n(A)}}const PE={continuation:{tokenize:UT},exit:QT,name:"blockQuote",tokenize:_T};function _T(e,t,n){const r=this;return i;function i(s){if(s===62){const a=r.containerState;return a.open||(e.enter("blockQuote",{_container:!0}),a.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(s),e.exit("blockQuoteMarker"),A}return n(s)}function A(s){return nn(s)?(e.enter("blockQuotePrefixWhitespace"),e.consume(s),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(s))}}function UT(e,t,n){const r=this;return i;function i(s){return nn(s)?ln(e,A,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s):A(s)}function A(s){return e.attempt(PE,t,n)(s)}}function QT(e){e.exit("blockQuote")}const TE={name:"characterEscape",tokenize:kT};function kT(e,t,n){return r;function r(A){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(A),e.exit("escapeMarker"),i}function i(A){return mT(A)?(e.enter("characterEscapeValue"),e.consume(A),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(A)}}const OE={name:"characterReference",tokenize:IT};function IT(e,t,n){const r=this;let i=0,A,s;return a;function a(c){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(c),e.exit("characterReferenceMarker"),o}function o(c){return c===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(c),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),A=31,s=xi,l(c))}function u(c){return c===88||c===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(c),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),A=6,s=gT,l):(e.enter("characterReferenceValue"),A=7,s=Ny,l(c))}function l(c){if(c===59&&i){const p=e.exit("characterReferenceValue");return s===xi&&!$2(r.sliceSerialize(p))?n(c):(e.enter("characterReferenceMarker"),e.consume(c),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return s(c)&&i++<A?(e.consume(c),l):n(c)}}const ob={partial:!0,tokenize:jT},ab={concrete:!0,name:"codeFenced",tokenize:LT};function LT(e,t,n){const r=this,i={partial:!0,tokenize:N};let A=0,s=0,a;return o;function o(P){return u(P)}function u(P){const $=r.events[r.events.length-1];return A=$&&$[1].type==="linePrefix"?$[2].sliceSerialize($[1],!0).length:0,a=P,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),l(P)}function l(P){return P===a?(s++,e.consume(P),l):s<3?n(P):(e.exit("codeFencedFenceSequence"),nn(P)?ln(e,c,"whitespace")(P):c(P))}function c(P){return P===null||jt(P)?(e.exit("codeFencedFence"),r.interrupt?t(P):e.check(ob,b,U)(P)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),p(P))}function p(P){return P===null||jt(P)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),c(P)):nn(P)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),ln(e,f,"whitespace")(P)):P===96&&P===a?n(P):(e.consume(P),p)}function f(P){return P===null||jt(P)?c(P):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),x(P))}function x(P){return P===null||jt(P)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),c(P)):P===96&&P===a?n(P):(e.consume(P),x)}function b(P){return e.attempt(i,U,E)(P)}function E(P){return e.enter("lineEnding"),e.consume(P),e.exit("lineEnding"),v}function v(P){return A>0&&nn(P)?ln(e,B,"linePrefix",A+1)(P):B(P)}function B(P){return P===null||jt(P)?e.check(ob,b,U)(P):(e.enter("codeFlowValue"),F(P))}function F(P){return P===null||jt(P)?(e.exit("codeFlowValue"),B(P)):(e.consume(P),F)}function U(P){return e.exit("codeFenced"),t(P)}function N(P,$,G){let te=0;return M;function M(Ae){return P.enter("lineEnding"),P.consume(Ae),P.exit("lineEnding"),j}function j(Ae){return P.enter("codeFencedFence"),nn(Ae)?ln(P,D,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Ae):D(Ae)}function D(Ae){return Ae===a?(P.enter("codeFencedFenceSequence"),X(Ae)):G(Ae)}function X(Ae){return Ae===a?(te++,P.consume(Ae),X):te>=s?(P.exit("codeFencedFenceSequence"),nn(Ae)?ln(P,J,"whitespace")(Ae):J(Ae)):G(Ae)}function J(Ae){return Ae===null||jt(Ae)?(P.exit("codeFencedFence"),$(Ae)):G(Ae)}}}function jT(e,t,n){const r=this;return i;function i(s){return s===null?n(s):(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),A)}function A(s){return r.parser.lazy[r.now().line]?n(s):t(s)}}const V1={name:"codeIndented",tokenize:PT},NT={partial:!0,tokenize:TT};function PT(e,t,n){const r=this;return i;
vendor: 9,452 bytes, line 224
224function i(u){return e.enter("codeIndented"),ln(e,A,"linePrefix",5)(u)}function A(u){const l=r.events[r.events.length-1];return l&&l[1].type==="linePrefix"&&l[2].sliceSerialize(l[1],!0).length>=4?s(u):n(u)}function s(u){return u===null?o(u):jt(u)?e.attempt(NT,s,o)(u):(e.enter("codeFlowValue"),a(u))}function a(u){return u===null||jt(u)?(e.exit("codeFlowValue"),s(u)):(e.consume(u),a)}function o(u){return e.exit("codeIndented"),t(u)}}function TT(e,t,n){const r=this;return i;function i(s){return r.parser.lazy[r.now().line]?n(s):jt(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),i):ln(e,A,"linePrefix",5)(s)}function A(s){const a=r.events[r.events.length-1];return a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?t(s):jt(s)?i(s):n(s)}}const OT={name:"codeText",previous:DT,resolve:RT,tokenize:HT};function RT(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(i=r):(r===t||e[r][1].type==="lineEnding")&&(e[i][1].type="codeTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function DT(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function HT(e,t,n){let r=0,i,A;return s;function s(c){return e.enter("codeText"),e.enter("codeTextSequence"),a(c)}function a(c){return c===96?(e.consume(c),r++,a):(e.exit("codeTextSequence"),o(c))}function o(c){return c===null?n(c):c===32?(e.enter("space"),e.consume(c),e.exit("space"),o):c===96?(A=e.enter("codeTextSequence"),i=0,l(c)):jt(c)?(e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),o):(e.enter("codeTextData"),u(c))}function u(c){return c===null||c===32||c===96||jt(c)?(e.exit("codeTextData"),o(c)):(e.consume(c),u)}function l(c){return c===96?(e.consume(c),i++,l):i===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(c)):(A.type="codeTextData",u(c))}}class MT{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const i=n||0;this.setCursor(Math.trunc(t));const A=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&mh(this.left,r),A.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),mh(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),mh(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);mh(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);mh(this.left,n.reverse())}}}function mh(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function RE(e){const t={};let n=-1,r,i,A,s,a,o,u;const l=new MT(e);for(;++n<l.length;){for(;n in t;)n=t[n];if(r=l.get(n),n&&r[1].type==="chunkFlow"&&l.get(n-1)[1].type==="listItemPrefix"&&(o=r[1]._tokenizer.events,A=0,A<o.length&&o[A][1].type==="lineEndingBlank"&&(A+=2),A<o.length&&o[A][1].type==="content"))for(;++A<o.length&&o[A][1].type!=="content";)o[A][1].type==="chunkText"&&(o[A][1]._isInFirstContentOfListItem=!0,A++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,KT(l,n)),n=t[n],u=!0);else if(r[1]._container){for(A=n,i=void 0;A--;)if(s=l.get(A),s[1].type==="lineEnding"||s[1].type==="lineEndingBlank")s[0]==="enter"&&(i&&(l.get(i)[1].type="lineEndingBlank"),s[1].type="lineEnding",i=A);else if(!(s[1].type==="linePrefix"||s[1].type==="listItemIndent"))break;i&&(r[1].end={...l.get(i)[1].start},a=l.slice(i,n),a.unshift(r),l.splice(i,n-i+1,a))}}return kA(e,0,Number.POSITIVE_INFINITY,l.slice(0)),!u}function KT(e,t){const n=e.get(t)[1],r=e.get(t)[2];let i=t-1;const A=[];let s=n._tokenizer;s||(s=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(s._contentTypeTextTrailing=!0));const a=s.events,o=[],u={};let l,c,p=-1,f=n,x=0,b=0;const E=[b];for(;f;){for(;e.get(++i)[1]!==f;);A.push(i),f._tokenizer||(l=r.sliceStream(f),f.next||l.push(null),c&&s.defineSkip(f.start),f._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(l),f._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),c=f,f=f.next}for(f=n;++p<a.length;)a[p][0]==="exit"&&a[p-1][0]==="enter"&&a[p][1].type===a[p-1][1].type&&a[p][1].start.line!==a[p][1].end.line&&(b=p+1,E.push(b),f._tokenizer=void 0,f.previous=void 0,f=f.next);for(s.events=[],f?(f._tokenizer=void 0,f.previous=void 0):E.pop(),p=E.length;p--;){const v=a.slice(E[p],E[p+1]),B=A.pop();o.push([B,B+v.length-1]),e.splice(B,2,v)}for(o.reverse(),p=-1;++p<o.length;)u[x+o[p][0]]=x+o[p][1],x+=o[p][1]-o[p][0]-1;return u}const zT={resolve:GT,tokenize:$T},VT={partial:!0,tokenize:WT};function GT(e){return RE(e),e}function $T(e,t){let n;return r;function r(a){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(a)}function i(a){return a===null?A(a):jt(a)?e.check(VT,s,A)(a):(e.consume(a),i)}function A(a){return e.exit("chunkContent"),e.exit("content"),t(a)}function s(a){return e.consume(a),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}function WT(e,t,n){const r=this;return i;function i(s){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),ln(e,A,"linePrefix")}function A(s){if(s===null||jt(s))return n(s);const a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?t(s):e.interrupt(r.parser.constructs.flow,n,t)(s)}}function DE(e,t,n,r,i,A,s,a,o){const u=o||Number.POSITIVE_INFINITY;let l=0;return c;function c(v){return v===60?(e.enter(r),e.enter(i),e.enter(A),e.consume(v),e.exit(A),p):v===null||v===32||v===41||hm(v)?n(v):(e.enter(r),e.enter(s),e.enter(a),e.enter("chunkString",{contentType:"string"}),b(v))}function p(v){return v===62?(e.enter(A),e.consume(v),e.exit(A),e.exit(i),e.exit(r),t):(e.enter(a),e.enter("chunkString",{contentType:"string"}),f(v))}function f(v){return v===62?(e.exit("chunkString"),e.exit(a),p(v)):v===null||v===60||jt(v)?n(v):(e.consume(v),v===92?x:f)}function x(v){return v===60||v===62||v===92?(e.consume(v),f):f(v)}function b(v){return!l&&(v===null||v===41||Un(v))?(e.exit("chunkString"),e.exit(a),e.exit(s),e.exit(r),t(v)):l<u&&v===40?(e.consume(v),l++,b):v===41?(e.consume(v),l--,b):v===null||v===32||v===40||hm(v)?n(v):(e.consume(v),v===92?E:b)}function E(v){return v===40||v===41||v===92?(e.consume(v),b):b(v)}}function HE(e,t,n,r,i,A){const s=this;let a=0,o;return u;function u(f){return e.enter(r),e.enter(i),e.consume(f),e.exit(i),e.enter(A),l}function l(f){return a>999||f===null||f===91||f===93&&!o||f===94&&!a&&"_hiddenFootnoteSupport"in s.parser.constructs?n(f):f===93?(e.exit(A),e.enter(i),e.consume(f),e.exit(i),e.exit(r),t):jt(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),l):(e.enter("chunkString",{contentType:"string"}),c(f))}function c(f){return f===null||f===91||f===93||jt(f)||a++>999?(e.exit("chunkString"),l(f)):(e.consume(f),o||(o=!nn(f)),f===92?p:c)}function p(f){return f===91||f===92||f===93?(e.consume(f),a++,c):c(f)}}function ME(e,t,n,r,i,A){let s;return a;function a(p){return p===34||p===39||p===40?(e.enter(r),e.enter(i),e.consume(p),e.exit(i),s=p===40?41:p,o):n(p)}function o(p){return p===s?(e.enter(i),e.consume(p),e.exit(i),e.exit(r),t):(e.enter(A),u(p))}function u(p){return p===s?(e.exit(A),o(s)):p===null?n(p):jt(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),ln(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),l(p))}function l(p){return p===s||p===null||jt(p)?(e.exit("chunkString"),u(p)):(e.consume(p),p===92?c:l)}function c(p){return p===s||p===92?(e.consume(p),l):l(p)}}function $h(e,t){let n;return r;function r(i){return jt(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):nn(i)?ln(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}const qT={name:"definition",tokenize:XT},JT={partial:!0,tokenize:YT};function XT(e,t,n){const r=this;let i;return A;function A(f){return e.enter("definition"),s(f)}function s(f){return HE.call(r,e,a,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(f)}function a(f){return i=Cs(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),f===58?(e.enter("definitionMarker"),e.consume(f),e.exit("definitionMarker"),o):n(f)}function o(f){return Un(f)?$h(e,u)(f):u(f)}
vendor: 14,218 bytes, line 224
224function u(f){return DE(e,l,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(f)}function l(f){return e.attempt(JT,c,c)(f)}function c(f){return nn(f)?ln(e,p,"whitespace")(f):p(f)}function p(f){return f===null||jt(f)?(e.exit("definition"),r.parser.defined.push(i),t(f)):n(f)}}function YT(e,t,n){return r;function r(a){return Un(a)?$h(e,i)(a):n(a)}function i(a){return ME(e,A,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(a)}function A(a){return nn(a)?ln(e,s,"whitespace")(a):s(a)}function s(a){return a===null||jt(a)?t(a):n(a)}}const ZT={name:"hardBreakEscape",tokenize:e8};function e8(e,t,n){return r;function r(A){return e.enter("hardBreakEscape"),e.consume(A),i}function i(A){return jt(A)?(e.exit("hardBreakEscape"),t(A)):n(A)}}const t8={name:"headingAtx",resolve:n8,tokenize:r8};function n8(e,t){let n=e.length-2,r=3,i,A;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},A={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},kA(e,r,n-r+1,[["enter",i,t],["enter",A,t],["exit",A,t],["exit",i,t]])),e}function r8(e,t,n){let r=0;return i;function i(l){return e.enter("atxHeading"),A(l)}function A(l){return e.enter("atxHeadingSequence"),s(l)}function s(l){return l===35&&r++<6?(e.consume(l),s):l===null||Un(l)?(e.exit("atxHeadingSequence"),a(l)):n(l)}function a(l){return l===35?(e.enter("atxHeadingSequence"),o(l)):l===null||jt(l)?(e.exit("atxHeading"),t(l)):nn(l)?ln(e,a,"whitespace")(l):(e.enter("atxHeadingText"),u(l))}function o(l){return l===35?(e.consume(l),o):(e.exit("atxHeadingSequence"),a(l))}function u(l){return l===null||l===35||Un(l)?(e.exit("atxHeadingText"),a(l)):(e.consume(l),u)}}const i8=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],lb=["pre","script","style","textarea"],A8={concrete:!0,name:"htmlFlow",resolveTo:a8,tokenize:l8},s8={partial:!0,tokenize:c8},o8={partial:!0,tokenize:u8};function a8(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function l8(e,t,n){const r=this;let i,A,s,a,o;return u;function u(L){return l(L)}function l(L){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(L),c}function c(L){return L===33?(e.consume(L),p):L===47?(e.consume(L),A=!0,b):L===63?(e.consume(L),i=3,r.interrupt?t:H):Pi(L)?(e.consume(L),s=String.fromCharCode(L),E):n(L)}function p(L){return L===45?(e.consume(L),i=2,f):L===91?(e.consume(L),i=5,a=0,x):Pi(L)?(e.consume(L),i=4,r.interrupt?t:H):n(L)}function f(L){return L===45?(e.consume(L),r.interrupt?t:H):n(L)}function x(L){const ne="CDATA[";return L===ne.charCodeAt(a++)?(e.consume(L),a===ne.length?r.interrupt?t:D:x):n(L)}function b(L){return Pi(L)?(e.consume(L),s=String.fromCharCode(L),E):n(L)}function E(L){if(L===null||L===47||L===62||Un(L)){const ne=L===47,oe=s.toLowerCase();return!ne&&!A&&lb.includes(oe)?(i=1,r.interrupt?t(L):D(L)):i8.includes(s.toLowerCase())?(i=6,ne?(e.consume(L),v):r.interrupt?t(L):D(L)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(L):A?B(L):F(L))}return L===45||xi(L)?(e.consume(L),s+=String.fromCharCode(L),E):n(L)}function v(L){return L===62?(e.consume(L),r.interrupt?t:D):n(L)}function B(L){return nn(L)?(e.consume(L),B):M(L)}function F(L){return L===47?(e.consume(L),M):L===58||L===95||Pi(L)?(e.consume(L),U):nn(L)?(e.consume(L),F):M(L)}function U(L){return L===45||L===46||L===58||L===95||xi(L)?(e.consume(L),U):N(L)}function N(L){return L===61?(e.consume(L),P):nn(L)?(e.consume(L),N):F(L)}function P(L){return L===null||L===60||L===61||L===62||L===96?n(L):L===34||L===39?(e.consume(L),o=L,$):nn(L)?(e.consume(L),P):G(L)}function $(L){return L===o?(e.consume(L),o=null,te):L===null||jt(L)?n(L):(e.consume(L),$)}function G(L){return L===null||L===34||L===39||L===47||L===60||L===61||L===62||L===96||Un(L)?N(L):(e.consume(L),G)}function te(L){return L===47||L===62||nn(L)?F(L):n(L)}function M(L){return L===62?(e.consume(L),j):n(L)}function j(L){return L===null||jt(L)?D(L):nn(L)?(e.consume(L),j):n(L)}function D(L){return L===45&&i===2?(e.consume(L),le):L===60&&i===1?(e.consume(L),we):L===62&&i===4?(e.consume(L),Ue):L===63&&i===3?(e.consume(L),H):L===93&&i===5?(e.consume(L),ce):jt(L)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(s8,T,X)(L)):L===null||jt(L)?(e.exit("htmlFlowData"),X(L)):(e.consume(L),D)}function X(L){return e.check(o8,J,T)(L)}function J(L){return e.enter("lineEnding"),e.consume(L),e.exit("lineEnding"),Ae}function Ae(L){return L===null||jt(L)?X(L):(e.enter("htmlFlowData"),D(L))}function le(L){return L===45?(e.consume(L),H):D(L)}function we(L){return L===47?(e.consume(L),s="",re):D(L)}function re(L){if(L===62){const ne=s.toLowerCase();return lb.includes(ne)?(e.consume(L),Ue):D(L)}return Pi(L)&&s.length<8?(e.consume(L),s+=String.fromCharCode(L),re):D(L)}function ce(L){return L===93?(e.consume(L),H):D(L)}function H(L){return L===62?(e.consume(L),Ue):L===45&&i===2?(e.consume(L),H):D(L)}function Ue(L){return L===null||jt(L)?(e.exit("htmlFlowData"),T(L)):(e.consume(L),Ue)}function T(L){return e.exit("htmlFlow"),t(L)}}function u8(e,t,n){const r=this;return i;function i(s){return jt(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),A):n(s)}function A(s){return r.parser.lazy[r.now().line]?n(s):t(s)}}function c8(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(Hd,t,n)}}const f8={name:"htmlText",tokenize:h8};function h8(e,t,n){const r=this;let i,A,s;return a;function a(H){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(H),o}function o(H){return H===33?(e.consume(H),u):H===47?(e.consume(H),N):H===63?(e.consume(H),F):Pi(H)?(e.consume(H),G):n(H)}function u(H){return H===45?(e.consume(H),l):H===91?(e.consume(H),A=0,x):Pi(H)?(e.consume(H),B):n(H)}function l(H){return H===45?(e.consume(H),f):n(H)}function c(H){return H===null?n(H):H===45?(e.consume(H),p):jt(H)?(s=c,we(H)):(e.consume(H),c)}function p(H){return H===45?(e.consume(H),f):c(H)}function f(H){return H===62?le(H):H===45?p(H):c(H)}function x(H){const Ue="CDATA[";return H===Ue.charCodeAt(A++)?(e.consume(H),A===Ue.length?b:x):n(H)}function b(H){return H===null?n(H):H===93?(e.consume(H),E):jt(H)?(s=b,we(H)):(e.consume(H),b)}function E(H){return H===93?(e.consume(H),v):b(H)}function v(H){return H===62?le(H):H===93?(e.consume(H),v):b(H)}function B(H){return H===null||H===62?le(H):jt(H)?(s=B,we(H)):(e.consume(H),B)}function F(H){return H===null?n(H):H===63?(e.consume(H),U):jt(H)?(s=F,we(H)):(e.consume(H),F)}function U(H){return H===62?le(H):F(H)}function N(H){return Pi(H)?(e.consume(H),P):n(H)}function P(H){return H===45||xi(H)?(e.consume(H),P):$(H)}function $(H){return jt(H)?(s=$,we(H)):nn(H)?(e.consume(H),$):le(H)}function G(H){return H===45||xi(H)?(e.consume(H),G):H===47||H===62||Un(H)?te(H):n(H)}function te(H){return H===47?(e.consume(H),le):H===58||H===95||Pi(H)?(e.consume(H),M):jt(H)?(s=te,we(H)):nn(H)?(e.consume(H),te):le(H)}function M(H){return H===45||H===46||H===58||H===95||xi(H)?(e.consume(H),M):j(H)}function j(H){return H===61?(e.consume(H),D):jt(H)?(s=j,we(H)):nn(H)?(e.consume(H),j):te(H)}function D(H){return H===null||H===60||H===61||H===62||H===96?n(H):H===34||H===39?(e.consume(H),i=H,X):jt(H)?(s=D,we(H)):nn(H)?(e.consume(H),D):(e.consume(H),J)}function X(H){return H===i?(e.consume(H),i=void 0,Ae):H===null?n(H):jt(H)?(s=X,we(H)):(e.consume(H),X)}function J(H){return H===null||H===34||H===39||H===60||H===61||H===96?n(H):H===47||H===62||Un(H)?te(H):(e.consume(H),J)}function Ae(H){return H===47||H===62||Un(H)?te(H):n(H)}function le(H){return H===62?(e.consume(H),e.exit("htmlTextData"),e.exit("htmlText"),t):n(H)}function we(H){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(H),e.exit("lineEnding"),re}function re(H){return nn(H)?ln(e,ce,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(H):ce(H)}function ce(H){return e.enter("htmlTextData"),s(H)}}const W2={name:"labelEnd",resolveAll:m8,resolveTo:w8,tokenize:y8},d8={tokenize:v8},p8={tokenize:B8},g8={tokenize:x8};function m8(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const i=r.type==="labelImage"?4:2;r.type="data",t+=i}}return e.length!==n.length&&kA(e,0,e.length,n),e}function w8(e,t){let n=e.length,r=0,i,A,s,a;for(;n--;)if(i=e[n][1],A){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[n][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(s){if(e[n][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(A=n,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(s=n);const o={type:e[A][1].type==="labelLink"?"link":"image",start:{...e[A][1].start},end:{...e[e.length-1][1].end}},u={type:"label",start:{...e[A][1].start},end:{...e[s][1].end}},l={type:"labelText",start:{...e[A+r+2][1].end},end:{...e[s-2][1].start}};return a=[["enter",o,t],["enter",u,t]],a=$A(a,e.slice(A+1,A+r+3)),a=$A(a,[["enter",l,t]]),a=$A(a,A0(t.parser.constructs.insideSpan.null,e.slice(A+r+4,s-3),t)),a=$A(a,[["exit",l,t],e[s-2],e[s-1],["exit",u,t]]),a=$A(a,e.slice(s+1)),a=$A(a,[["exit",o,t]]),kA(e,A,e.length,a),e}function y8(e,t,n){const r=this;let i=r.events.length,A,s;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){A=r.events[i][1];break}return a;function a(p){return A?A._inactive?c(p):(s=r.parser.defined.includes(Cs(r.sliceSerialize({start:A.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(p),e.exit("labelMarker"),e.exit("labelEnd"),o):n(p)}function o(p){return p===40?e.attempt(d8,l,s?l:c)(p):p===91?e.attempt(p8,l,s?u:c)(p):s?l(p):c(p)}function u(p){return e.attempt(g8,l,c)(p)}function l(p){return t(p)}function c(p){return A._balanced=!0,n(p)}}function v8(e,t,n){return r;function r(c){return e.enter("resource"),e.enter("resourceMarker"),e.consume(c),e.exit("resourceMarker"),i}function i(c){return Un(c)?$h(e,A)(c):A(c)}function A(c){return c===41?l(c):DE(e,s,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(c)}function s(c){return Un(c)?$h(e,o)(c):l(c)}function a(c){return n(c)}function o(c){return c===34||c===39||c===40?ME(e,u,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(c):l(c)}function u(c){return Un(c)?$h(e,l)(c):l(c)}function l(c){return c===41?(e.enter("resourceMarker"),e.consume(c),e.exit("resourceMarker"),e.exit("resource"),t):n(c)}}function B8(e,t,n){const r=this;return i;function i(a){return HE.call(r,e,A,s,"reference","referenceMarker","referenceString")(a)}function A(a){return r.parser.defined.includes(Cs(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(a):n(a)}function s(a){return n(a)}}function x8(e,t,n){return r;function r(A){return e.enter("reference"),e.enter("referenceMarker"),e.consume(A),e.exit("referenceMarker"),i}function i(A){return A===93?(e.enter("referenceMarker"),e.consume(A),e.exit("referenceMarker"),e.exit("reference"),t):n(A)}}const b8={name:"labelStartImage",resolveAll:W2.resolveAll,tokenize:C8};function C8(e,t,n){const r=this;return i;function i(a){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(a),e.exit("labelImageMarker"),A}function A(a){return a===91?(e.enter("labelMarker"),e.consume(a),e.exit("labelMarker"),e.exit("labelImage"),s):n(a)}function s(a){return a===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(a):t(a)}}const F8={name:"labelStartLink",resolveAll:W2.resolveAll,tokenize:S8};function S8(e,t,n){const r=this;return i;function i(s){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelLink"),A}function A(s){return s===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(s):t(s)}}const G1={name:"lineEnding",tokenize:E8};function E8(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),ln(e,t,"linePrefix")}}const Lg={name:"thematicBreak",tokenize:_8};function _8(e,t,n){let r=0,i;return A;function A(u){return e.enter("thematicBreak"),s(u)}function s(u){return i=u,a(u)}function a(u){return u===i?(e.enter("thematicBreakSequence"),o(u)):r>=3&&(u===null||jt(u))?(e.exit("thematicBreak"),t(u)):n(u)}function o(u){return u===i?(e.consume(u),r++,o):(e.exit("thematicBreakSequence"),nn(u)?ln(e,a,"whitespace")(u):a(u))}}const tA={continuation:{tokenize:I8},exit:j8,name:"list",tokenize:k8},U8={partial:!0,tokenize:N8},Q8={partial:!0,tokenize:L8};function k8(e,t,n){const r=this,i=r.events[r.events.length-1];let A=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,s=0;return a;function a(f){const x=r.containerState.type||(f===42||f===43||f===45?"listUnordered":"listOrdered");if(x==="listUnordered"?!r.containerState.marker||f===r.containerState.marker:Ny(f)){if(r.containerState.type||(r.containerState.type=x,e.enter(x,{_container:!0})),x==="listUnordered")return e.enter("listItemPrefix"),f===42||f===45?e.check(Lg,n,u)(f):u(f);if(!r.interrupt||f===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),o(f)}return n(f)}function o(f){return Ny(f)&&++s<10?(e.consume(f),o):(!r.interrupt||s<2)&&(r.containerState.marker?f===r.containerState.marker:f===41||f===46)?(e.exit("listItemValue"),u(f)):n(f)}function u(f){return e.enter("listItemMarker"),e.consume(f),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||f,e.check(Hd,r.interrupt?n:l,e.attempt(U8,p,c))}
vendor: 6,102 bytes, line 224
224function l(f){return r.containerState.initialBlankLine=!0,A++,p(f)}function c(f){return nn(f)?(e.enter("listItemPrefixWhitespace"),e.consume(f),e.exit("listItemPrefixWhitespace"),p):n(f)}function p(f){return r.containerState.size=A+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(f)}}function I8(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(Hd,i,A);function i(a){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,ln(e,t,"listItemIndent",r.containerState.size+1)(a)}function A(a){return r.containerState.furtherBlankLines||!nn(a)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,s(a)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Q8,t,s)(a))}function s(a){return r.containerState._closeFlow=!0,r.interrupt=void 0,ln(e,e.attempt(tA,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}}function L8(e,t,n){const r=this;return ln(e,i,"listItemIndent",r.containerState.size+1);function i(A){const s=r.events[r.events.length-1];return s&&s[1].type==="listItemIndent"&&s[2].sliceSerialize(s[1],!0).length===r.containerState.size?t(A):n(A)}}function j8(e){e.exit(this.containerState.type)}function N8(e,t,n){const r=this;return ln(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(A){const s=r.events[r.events.length-1];return!nn(A)&&s&&s[1].type==="listItemPrefixWhitespace"?t(A):n(A)}}const ub={name:"setextUnderline",resolveTo:P8,tokenize:T8};function P8(e,t){let n=e.length,r,i,A;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!A&&e[n][1].type==="definition"&&(A=n);const s={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",A?(e.splice(i,0,["enter",s,t]),e.splice(A+1,0,["exit",e[r][1],t]),e[r][1].end={...e[A][1].end}):e[r][1]=s,e.push(["exit",s,t]),e}function T8(e,t,n){const r=this;let i;return A;function A(u){let l=r.events.length,c;for(;l--;)if(r.events[l][1].type!=="lineEnding"&&r.events[l][1].type!=="linePrefix"&&r.events[l][1].type!=="content"){c=r.events[l][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||c)?(e.enter("setextHeadingLine"),i=u,s(u)):n(u)}function s(u){return e.enter("setextHeadingLineSequence"),a(u)}function a(u){return u===i?(e.consume(u),a):(e.exit("setextHeadingLineSequence"),nn(u)?ln(e,o,"lineSuffix")(u):o(u))}function o(u){return u===null||jt(u)?(e.exit("setextHeadingLine"),t(u)):n(u)}}const O8={tokenize:R8};function R8(e){const t=this,n=e.attempt(Hd,r,e.attempt(this.parser.constructs.flowInitial,i,ln(e,e.attempt(this.parser.constructs.flow,i,e.attempt(zT,i)),"linePrefix")));return n;function r(A){if(A===null){e.consume(A);return}return e.enter("lineEndingBlank"),e.consume(A),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(A){if(A===null){e.consume(A);return}return e.enter("lineEnding"),e.consume(A),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const D8={resolveAll:zE()},H8=KE("string"),M8=KE("text");function KE(e){return{resolveAll:zE(e==="text"?K8:void 0),tokenize:t};function t(n){const r=this,i=this.parser.constructs[e],A=n.attempt(i,s,a);return s;function s(l){return u(l)?A(l):a(l)}function a(l){if(l===null){n.consume(l);return}return n.enter("data"),n.consume(l),o}function o(l){return u(l)?(n.exit("data"),A(l)):(n.consume(l),o)}function u(l){if(l===null)return!0;const c=i[l];let p=-1;if(c)for(;++p<c.length;){const f=c[p];if(!f.previous||f.previous.call(r,r.previous))return!0}return!1}}}function zE(e){return t;function t(n,r){let i=-1,A;for(;++i<=n.length;)A===void 0?n[i]&&n[i][1].type==="data"&&(A=i,i++):(!n[i]||n[i][1].type!=="data")&&(i!==A+2&&(n[A][1].end=n[i-1][1].end,n.splice(A+2,i-A-2),i=A+2),A=void 0);return e?e(n,r):n}}function K8(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],i=t.sliceStream(r);let A=i.length,s=-1,a=0,o;for(;A--;){const u=i[A];if(typeof u=="string"){for(s=u.length;u.charCodeAt(s-1)===32;)a++,s--;if(s)break;s=-1}else if(u===-2)o=!0,a++;else if(u!==-1){A++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(a=0),a){const u={type:n===e.length||o||a<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:A?s:r.start._bufferIndex+s,_index:r.start._index+A,line:r.end.line,column:r.end.column-a,offset:r.end.offset-a},end:{...r.end}};r.end={...u.start},r.start.offset===r.end.offset?Object.assign(r,u):(e.splice(n,0,["enter",u,t],["exit",u,t]),n+=2)}n++}return e}const z8={42:tA,43:tA,45:tA,48:tA,49:tA,50:tA,51:tA,52:tA,53:tA,54:tA,55:tA,56:tA,57:tA,62:PE},V8={91:qT},G8={[-2]:V1,[-1]:V1,32:V1},$8={35:t8,42:Lg,45:[ub,Lg],60:A8,61:ub,95:Lg,96:ab,126:ab},W8={38:OE,92:TE},q8={[-5]:G1,[-4]:G1,[-3]:G1,33:b8,38:OE,42:Py,60:[FT,f8],91:F8,92:[ZT,TE],93:W2,95:Py,96:OT},J8={null:[Py,D8]},X8={null:[42,95]},Y8={null:[]},Z8=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:X8,contentInitial:V8,disable:Y8,document:z8,flow:$8,flowInitial:G8,insideSpan:J8,string:W8,text:q8},Symbol.toStringTag,{value:"Module"}));function eO(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const i={},A=[];let s=[],a=[];const o={attempt:$(N),check:$(P),consume:B,enter:F,exit:U,interrupt:$(P,{interrupt:!0})},u={code:null,containerState:{},defineSkip:b,events:[],now:x,parser:e,previous:null,sliceSerialize:p,sliceStream:f,write:c};let l=t.tokenize.call(u,o);return t.resolveAll&&A.push(t),u;function c(j){return s=$A(s,j),E(),s[s.length-1]!==null?[]:(G(t,0),u.events=A0(A,u.events,u),u.events)}function p(j,D){return nO(f(j),D)}function f(j){return tO(s,j)}function x(){const{_bufferIndex:j,_index:D,line:X,column:J,offset:Ae}=r;return{_bufferIndex:j,_index:D,line:X,column:J,offset:Ae}}function b(j){i[j.line]=j.column,M()}function E(){let j;for(;r._index<s.length;){const D=s[r._index];
vendor: 18,598 bytes, lines 224-230
224if(typeof D=="string")for(j=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===j&&r._bufferIndex<D.length;)v(D.charCodeAt(r._bufferIndex));else v(D)}}function v(j){l=l(j)}function B(j){jt(j)?(r.line++,r.column=1,r.offset+=j===-3?2:1,M()):j!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===s[r._index].length&&(r._bufferIndex=-1,r._index++)),u.previous=j}function F(j,D){const X=D||{};return X.type=j,X.start=x(),u.events.push(["enter",X,u]),a.push(X),X}function U(j){const D=a.pop();return D.end=x(),u.events.push(["exit",D,u]),D}function N(j,D){G(j,D.from)}function P(j,D){D.restore()}function $(j,D){return X;function X(J,Ae,le){let we,re,ce,H;return Array.isArray(J)?T(J):"tokenize"in J?T([J]):Ue(J);function Ue(ae){return ve;function ve(be){const Se=be!==null&&ae[be],Me=be!==null&&ae.null,Ke=[...Array.isArray(Se)?Se:Se?[Se]:[],...Array.isArray(Me)?Me:Me?[Me]:[]];return T(Ke)(be)}}function T(ae){return we=ae,re=0,ae.length===0?le:L(ae[re])}function L(ae){return ve;function ve(be){return H=te(),ce=ae,ae.partial||(u.currentConstruct=ae),ae.name&&u.parser.constructs.disable.null.includes(ae.name)?oe():ae.tokenize.call(D?Object.assign(Object.create(u),D):u,o,ne,oe)(be)}}function ne(ae){return j(ce,H),Ae}function oe(ae){return H.restore(),++re<we.length?L(we[re]):le}}}function G(j,D){j.resolveAll&&!A.includes(j)&&A.push(j),j.resolve&&kA(u.events,D,u.events.length-D,j.resolve(u.events.slice(D),u)),j.resolveTo&&(u.events=j.resolveTo(u.events,u))}function te(){const j=x(),D=u.previous,X=u.currentConstruct,J=u.events.length,Ae=Array.from(a);return{from:J,restore:le};function le(){r=j,u.previous=D,u.currentConstruct=X,u.events.length=J,a=Ae,M()}}function M(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function tO(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,A=t.end._bufferIndex;let s;if(n===i)s=[e[n].slice(r,A)];else{if(s=e.slice(n,i),r>-1){const a=s[0];typeof a=="string"?s[0]=a.slice(r):s.shift()}A>0&&s.push(e[i].slice(0,A))}return s}function nO(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const A=e[n];let s;if(typeof A=="string")s=A;else switch(A){case-5:{s="\r";break}case-4:{s=`
225`;break}case-3:{s=`\r
226`;break}case-2:{s=t?" ":"	";break}case-1:{if(!t&&i)continue;s=" ";break}default:s=String.fromCharCode(A)}i=A===-2,r.push(s)}return r.join("")}function rO(e){const r={constructs:jE([Z8,...(e||{}).extensions||[]]),content:i(wT),defined:[],document:i(vT),flow:i(O8),lazy:{},string:i(H8),text:i(M8)};return r;function i(A){return s;function s(a){return eO(r,A,a)}}}function iO(e){for(;!RE(e););return e}const cb=/[\0\t\n\r]/g;function AO(){let e=1,t="",n=!0,r;return i;function i(A,s,a){const o=[];let u,l,c,p,f;for(A=t+(typeof A=="string"?A.toString():new TextDecoder(s||void 0).decode(A)),c=0,t="",n&&(A.charCodeAt(0)===65279&&c++,n=void 0);c<A.length;){if(cb.lastIndex=c,u=cb.exec(A),p=u&&u.index!==void 0?u.index:A.length,f=A.charCodeAt(p),!u){t=A.slice(c);break}if(f===10&&c===p&&r)o.push(-3),r=void 0;else switch(r&&(o.push(-5),r=void 0),c<p&&(o.push(A.slice(c,p)),e+=p-c),f){case 0:{o.push(65533),e++;break}case 9:{for(l=Math.ceil(e/4)*4,o.push(-2);e++<l;)o.push(-1);break}case 10:{o.push(-4),e=1;break}default:r=!0,e=1}c=p+1}return a&&(r&&o.push(-5),t&&o.push(t),o.push(null)),o}}const sO=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function oO(e){return e.replace(sO,aO)}function aO(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),A=i===120||i===88;return NE(n.slice(A?2:1),A?16:10)}return $2(n)||e}const VE={}.hasOwnProperty;function lO(e,t,n){return typeof t!="string"&&(n=t,t=void 0),uO(n)(iO(rO(n).document().write(AO()(e,t,!0))))}function uO(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:A(Pe),autolinkProtocol:te,autolinkEmail:te,atxHeading:A(Qe),blockQuote:A(Me),characterEscape:te,characterReference:te,codeFenced:A(Ke),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:A(Ke,s),codeText:A(Ve,s),codeTextData:te,data:te,codeFlowValue:te,definition:A(We),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:A(wt),hardBreakEscape:A(se),hardBreakTrailing:A(se),htmlFlow:A(Qt,s),htmlFlowData:te,htmlText:A(Qt,s),htmlTextData:te,image:A(rt),label:s,link:A(Pe),listItem:A(it),listItemValue:p,listOrdered:A(qe,c),listUnordered:A(qe),paragraph:A(tt),reference:L,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:A(Qe),strong:A(mt),thematicBreak:A(Ct)},exit:{atxHeading:o(),atxHeadingSequence:N,autolink:o(),autolinkEmail:Se,autolinkProtocol:be,blockQuote:o(),characterEscapeValue:M,characterReferenceMarkerHexadecimal:oe,characterReferenceMarkerNumeric:oe,characterReferenceValue:ae,characterReference:ve,codeFenced:o(E),codeFencedFence:b,codeFencedFenceInfo:f,codeFencedFenceMeta:x,codeFlowValue:M,codeIndented:o(v),codeText:o(Ae),codeTextData:M,data:M,definition:o(),definitionDestinationString:U,definitionLabelString:B,definitionTitleString:F,emphasis:o(),hardBreakEscape:o(D),hardBreakTrailing:o(D),htmlFlow:o(X),htmlFlowData:M,htmlText:o(J),htmlTextData:M,image:o(we),label:ce,labelText:re,lineEnding:j,link:o(le),listItem:o(),listOrdered:o(),listUnordered:o(),paragraph:o(),referenceString:ne,resourceDestinationString:H,resourceTitleString:Ue,resource:T,setextHeading:o(G),setextHeadingLineSequence:$,setextHeadingText:P,strong:o(),thematicBreak:o()}};GE(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(Ce){let je={type:"root",children:[]};const Je={stack:[je],tokenStack:[],config:t,enter:a,exit:u,buffer:s,resume:l,data:n},Ze=[];let ge=-1;for(;++ge<Ce.length;)if(Ce[ge][1].type==="listOrdered"||Ce[ge][1].type==="listUnordered")if(Ce[ge][0]==="enter")Ze.push(ge);else{const Be=Ze.pop();ge=i(Ce,Be,ge)}for(ge=-1;++ge<Ce.length;){const Be=t[Ce[ge][0]];VE.call(Be,Ce[ge][1].type)&&Be[Ce[ge][1].type].call(Object.assign({sliceSerialize:Ce[ge][2].sliceSerialize},Je),Ce[ge][1])}if(Je.tokenStack.length>0){const Be=Je.tokenStack[Je.tokenStack.length-1];(Be[1]||fb).call(Je,void 0,Be[0])}for(je.position={start:Ta(Ce.length>0?Ce[0][1].start:{line:1,column:1,offset:0}),end:Ta(Ce.length>0?Ce[Ce.length-2][1].end:{line:1,column:1,offset:0})},ge=-1;++ge<t.transforms.length;)je=t.transforms[ge](je)||je;return je}function i(Ce,je,Je){let Ze=je-1,ge=-1,Be=!1,Re,De,gt,At;for(;++Ze<=Je;){const yt=Ce[Ze];switch(yt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{yt[0]==="enter"?ge++:ge--,At=void 0;break}case"lineEndingBlank":{yt[0]==="enter"&&(Re&&!At&&!ge&&!gt&&(gt=Ze),At=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:At=void 0}if(!ge&&yt[0]==="enter"&&yt[1].type==="listItemPrefix"||ge===-1&&yt[0]==="exit"&&(yt[1].type==="listUnordered"||yt[1].type==="listOrdered")){if(Re){let mn=Ze;for(De=void 0;mn--;){const Et=Ce[mn];if(Et[1].type==="lineEnding"||Et[1].type==="lineEndingBlank"){if(Et[0]==="exit")continue;De&&(Ce[De][1].type="lineEndingBlank",Be=!0),Et[1].type="lineEnding",De=mn}else if(!(Et[1].type==="linePrefix"||Et[1].type==="blockQuotePrefix"||Et[1].type==="blockQuotePrefixWhitespace"||Et[1].type==="blockQuoteMarker"||Et[1].type==="listItemIndent"))break}gt&&(!De||gt<De)&&(Re._spread=!0),Re.end=Object.assign({},De?Ce[De][1].start:yt[1].end),Ce.splice(De||Ze,0,["exit",Re,yt[2]]),Ze++,Je++}if(yt[1].type==="listItemPrefix"){const mn={type:"listItem",_spread:!1,start:Object.assign({},yt[1].start),end:void 0};Re=mn,Ce.splice(Ze,0,["enter",mn,yt[2]]),Ze++,Je++,gt=void 0,At=!0}}}return Ce[je][1]._spread=Be,Je}function A(Ce,je){return Je;function Je(Ze){a.call(this,Ce(Ze),Ze),je&&je.call(this,Ze)}}function s(){this.stack.push({type:"fragment",children:[]})}function a(Ce,je,Je){this.stack[this.stack.length-1].children.push(Ce),this.stack.push(Ce),this.tokenStack.push([je,Je||void 0]),Ce.position={start:Ta(je.start),end:void 0}}function o(Ce){return je;function je(Je){Ce&&Ce.call(this,Je),u.call(this,Je)}}function u(Ce,je){const Je=this.stack.pop(),Ze=this.tokenStack.pop();if(Ze)Ze[0].type!==Ce.type&&(je?je.call(this,Ce,Ze[0]):(Ze[1]||fb).call(this,Ce,Ze[0]));else throw new Error("Cannot close `"+Ce.type+"` ("+Gh({start:Ce.start,end:Ce.end})+"): it’s not open");Je.position.end=Ta(Ce.end)}function l(){return G2(this.stack.pop())}function c(){this.data.expectingFirstListItemValue=!0}function p(Ce){if(this.data.expectingFirstListItemValue){const je=this.stack[this.stack.length-2];je.start=Number.parseInt(this.sliceSerialize(Ce),10),this.data.expectingFirstListItemValue=void 0}}function f(){const Ce=this.resume(),je=this.stack[this.stack.length-1];je.lang=Ce}function x(){const Ce=this.resume(),je=this.stack[this.stack.length-1];je.meta=Ce}function b(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function E(){const Ce=this.resume(),je=this.stack[this.stack.length-1];je.value=Ce.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function v(){const Ce=this.resume(),je=this.stack[this.stack.length-1];je.value=Ce.replace(/(\r?\n|\r)$/g,"")}function B(Ce){const je=this.resume(),Je=this.stack[this.stack.length-1];Je.label=je,Je.identifier=Cs(this.sliceSerialize(Ce)).toLowerCase()}function F(){const Ce=this.resume(),je=this.stack[this.stack.length-1];je.title=Ce}function U(){const Ce=this.resume(),je=this.stack[this.stack.length-1];je.url=Ce}function N(Ce){const je=this.stack[this.stack.length-1];if(!je.depth){const Je=this.sliceSerialize(Ce).length;je.depth=Je}}function P(){this.data.setextHeadingSlurpLineEnding=!0}function $(Ce){const je=this.stack[this.stack.length-1];je.depth=this.sliceSerialize(Ce).codePointAt(0)===61?1:2}function G(){this.data.setextHeadingSlurpLineEnding=void 0}function te(Ce){const Je=this.stack[this.stack.length-1].children;let Ze=Je[Je.length-1];(!Ze||Ze.type!=="text")&&(Ze=kt(),Ze.position={start:Ta(Ce.start),end:void 0},Je.push(Ze)),this.stack.push(Ze)}function M(Ce){const je=this.stack.pop();je.value+=this.sliceSerialize(Ce),je.position.end=Ta(Ce.end)}function j(Ce){const je=this.stack[this.stack.length-1];if(this.data.atHardBreak){const Je=je.children[je.children.length-1];Je.position.end=Ta(Ce.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(je.type)&&(te.call(this,Ce),M.call(this,Ce))}function D(){this.data.atHardBreak=!0}function X(){const Ce=this.resume(),je=this.stack[this.stack.length-1];je.value=Ce}function J(){const Ce=this.resume(),je=this.stack[this.stack.length-1];je.value=Ce}function Ae(){const Ce=this.resume(),je=this.stack[this.stack.length-1];je.value=Ce}function le(){const Ce=this.stack[this.stack.length-1];if(this.data.inReference){const je=this.data.referenceType||"shortcut";Ce.type+="Reference",Ce.referenceType=je,delete Ce.url,delete Ce.title}else delete Ce.identifier,delete Ce.label;this.data.referenceType=void 0}function we(){const Ce=this.stack[this.stack.length-1];if(this.data.inReference){const je=this.data.referenceType||"shortcut";Ce.type+="Reference",Ce.referenceType=je,delete Ce.url,delete Ce.title}else delete Ce.identifier,delete Ce.label;this.data.referenceType=void 0}function re(Ce){const je=this.sliceSerialize(Ce),Je=this.stack[this.stack.length-2];Je.label=oO(je),Je.identifier=Cs(je).toLowerCase()}function ce(){const Ce=this.stack[this.stack.length-1],je=this.resume(),Je=this.stack[this.stack.length-1];if(this.data.inReference=!0,Je.type==="link"){const Ze=Ce.children;Je.children=Ze}else Je.alt=je}function H(){const Ce=this.resume(),je=this.stack[this.stack.length-1];je.url=Ce}function Ue(){const Ce=this.resume(),je=this.stack[this.stack.length-1];je.title=Ce}function T(){this.data.inReference=void 0}function L(){this.data.referenceType="collapsed"}function ne(Ce){const je=this.resume(),Je=this.stack[this.stack.length-1];Je.label=je,Je.identifier=Cs(this.sliceSerialize(Ce)).toLowerCase(),this.data.referenceType="full"}function oe(Ce){this.data.characterReferenceType=Ce.type}function ae(Ce){const je=this.sliceSerialize(Ce),Je=this.data.characterReferenceType;let Ze;Je?(Ze=NE(je,Je==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Ze=$2(je);const ge=this.stack[this.stack.length-1];ge.value+=Ze}function ve(Ce){const je=this.stack.pop();je.position.end=Ta(Ce.end)}function be(Ce){M.call(this,Ce);const je=this.stack[this.stack.length-1];je.url=this.sliceSerialize(Ce)}function Se(Ce){M.call(this,Ce);const je=this.stack[this.stack.length-1];je.url="mailto:"+this.sliceSerialize(Ce)}function Me(){return{type:"blockquote",children:[]}}function Ke(){return{type:"code",lang:null,meta:null,value:""}}function Ve(){return{type:"inlineCode",value:""}}function We(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function wt(){return{type:"emphasis",children:[]}}function Qe(){return{type:"heading",depth:0,children:[]}}function se(){return{type:"break"}}function Qt(){return{type:"html",value:""}}function rt(){return{type:"image",title:null,url:"",alt:null}}function Pe(){return{type:"link",title:null,url:"",children:[]}}function qe(Ce){return{type:"list",ordered:Ce.type==="listOrdered",start:null,spread:Ce._spread,children:[]}}function it(Ce){return{type:"listItem",spread:Ce._spread,checked:null,children:[]}}function tt(){return{type:"paragraph",children:[]}}function mt(){return{type:"strong",children:[]}}function kt(){return{type:"text",value:""}}function Ct(){return{type:"thematicBreak"}}}function Ta(e){return{line:e.line,column:e.column,offset:e.offset}}function GE(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?GE(e,r):cO(e,r)}}function cO(e,t){let n;for(n in t)if(VE.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function fb(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Gh({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Gh({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Gh({start:t.start,end:t.end})+") is still open")}function fO(e){const t=this;t.parser=n;function n(r){return lO(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function hO(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function dO(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
227`}]}function pO(e,t){const n=t.value?t.value+`
228`:"",r={};t.lang&&(r.className=["language-"+t.lang]);let i={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i=e.applyData(t,i),i={type:"element",tagName:"pre",properties:{},children:[i]},e.patch(t,i),i}function gO(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function mO(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function wO(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),i=Uf(r.toLowerCase()),A=e.footnoteOrder.indexOf(r);let s,a=e.footnoteCounts.get(r);a===void 0?(a=0,e.footnoteOrder.push(r),s=e.footnoteOrder.length):s=A+1,a+=1,e.footnoteCounts.set(r,a);const o={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+i,id:n+"fnref-"+i+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(s)}]};e.patch(t,o);const u={type:"element",tagName:"sup",properties:{},children:[o]};return e.patch(t,u),e.applyData(t,u)}function yO(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function vO(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function $E(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const i=e.all(t),A=i[0];A&&A.type==="text"?A.value="["+A.value:i.unshift({type:"text",value:"["});const s=i[i.length-1];return s&&s.type==="text"?s.value+=r:i.push({type:"text",value:r}),i}function BO(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return $E(e,t);const i={src:Uf(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);const A={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,A),e.applyData(t,A)}function xO(e,t){const n={src:Uf(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function bO(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function CO(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return $E(e,t);const i={href:Uf(r.url||"")};r.title!==null&&r.title!==void 0&&(i.title=r.title);const A={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,A),e.applyData(t,A)}function FO(e,t){const n={href:Uf(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function SO(e,t,n){const r=e.all(t),i=n?EO(n):WE(t),A={},s=[];if(typeof t.checked=="boolean"){const l=r[0];let c;l&&l.type==="element"&&l.tagName==="p"?c=l:(c={type:"element",tagName:"p",properties:{},children:[]},r.unshift(c)),c.children.length>0&&c.children.unshift({type:"text",value:" "}),c.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),A.className=["task-list-item"]}let a=-1;for(;++a<r.length;){const l=r[a];(i||a!==0||l.type!=="element"||l.tagName!=="p")&&s.push({type:"text",value:`
229`}),l.type==="element"&&l.tagName==="p"&&!i?s.push(...l.children):s.push(l)}const o=r[r.length-1];o&&(i||o.type!=="element"||o.tagName!=="p")&&s.push({type:"text",value:`
230`});const u={type:"element",tagName:"li",properties:A,children:s};
vendor: 6,092 bytes, line 230
230return e.patch(t,u),e.applyData(t,u)}function EO(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=WE(n[r])}return t}function WE(e){const t=e.spread;return t??e.children.length>1}function _O(e,t){const n={},r=e.all(t);let i=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++i<r.length;){const s=r[i];if(s.type==="element"&&s.tagName==="li"&&s.properties&&Array.isArray(s.properties.className)&&s.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const A={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,A),e.applyData(t,A)}function UO(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function QO(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function kO(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function IO(e,t){const n=e.all(t),r=n.shift(),i=[];if(r){const s={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],s),i.push(s)}if(n.length>0){const s={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},a=M2(t.children[1]),o=EE(t.children[t.children.length-1]);a&&o&&(s.position={start:a,end:o}),i.push(s)}const A={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,A),e.applyData(t,A)}function LO(e,t,n){const r=n?n.children:void 0,A=(r?r.indexOf(t):1)===0?"th":"td",s=n&&n.type==="table"?n.align:void 0,a=s?s.length:t.children.length;let o=-1;const u=[];for(;++o<a;){const c=t.children[o],p={},f=s?s[o]:void 0;f&&(p.align=f);let x={type:"element",tagName:A,properties:p,children:[]};c&&(x.children=e.all(c),e.patch(c,x),x=e.applyData(c,x)),u.push(x)}const l={type:"element",tagName:"tr",properties:{},children:e.wrap(u,!0)};return e.patch(t,l),e.applyData(t,l)}function jO(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const hb=9,db=32;function NO(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),i=0;const A=[];for(;r;)A.push(pb(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return A.push(pb(t.slice(i),i>0,!1)),A.join("")}function pb(e,t,n){let r=0,i=e.length;if(t){let A=e.codePointAt(r);for(;A===hb||A===db;)r++,A=e.codePointAt(r)}if(n){let A=e.codePointAt(i-1);for(;A===hb||A===db;)i--,A=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function PO(e,t){const n={type:"text",value:NO(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function TO(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const OO={blockquote:hO,break:dO,code:pO,delete:gO,emphasis:mO,footnoteReference:wO,heading:yO,html:vO,imageReference:BO,image:xO,inlineCode:bO,linkReference:CO,link:FO,listItem:SO,list:_O,paragraph:UO,root:QO,strong:kO,table:IO,tableCell:jO,tableRow:LO,text:PO,thematicBreak:TO,toml:sg,yaml:sg,definition:sg,footnoteDefinition:sg};function sg(){}const qE=-1,s0=0,Wh=1,dm=2,q2=3,J2=4,X2=5,Y2=6,JE=7,XE=8,gb=typeof self=="object"?self:globalThis,RO=(e,t)=>{const n=(i,A)=>(e.set(A,i),i),r=i=>{if(e.has(i))return e.get(i);const[A,s]=t[i];switch(A){case s0:case qE:return n(s,i);case Wh:{const a=n([],i);for(const o of s)a.push(r(o));return a}case dm:{const a=n({},i);for(const[o,u]of s)a[r(o)]=r(u);return a}case q2:return n(new Date(s),i);case J2:{const{source:a,flags:o}=s;return n(new RegExp(a,o),i)}case X2:{const a=n(new Map,i);for(const[o,u]of s)a.set(r(o),r(u));return a}case Y2:{const a=n(new Set,i);for(const o of s)a.add(r(o));return a}case JE:{const{name:a,message:o}=s;return n(new gb[a](o),i)}case XE:return n(BigInt(s),i);case"BigInt":return n(Object(BigInt(s)),i);case"ArrayBuffer":return n(new Uint8Array(s).buffer,s);case"DataView":{const{buffer:a}=new Uint8Array(s);return n(new DataView(a),s)}}return n(new gb[A](s),i)};return r},mb=e=>RO(new Map,e)(0),Sc="",{toString:DO}={},{keys:HO}=Object,wh=e=>{const t=typeof e;if(t!=="object"||!e)return[s0,t];const n=DO.call(e).slice(8,-1);switch(n){case"Array":return[Wh,Sc];case"Object":return[dm,Sc];case"Date":return[q2,Sc];case"RegExp":return[J2,Sc];case"Map":return[X2,Sc];case"Set":return[Y2,Sc];case"DataView":return[Wh,n]}return n.includes("Array")?[Wh,n]:n.includes("Error")?[JE,n]:[dm,n]},og=([e,t])=>e===s0&&(t==="function"||t==="symbol"),MO=(e,t,n,r)=>{const i=(s,a)=>{const o=r.push(s)-1;return n.set(a,o),o},A=s=>{if(n.has(s))return n.get(s);let[a,o]=wh(s);switch(a){case s0:{let l=s;switch(o){case"bigint":a=XE,l=s.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+o);l=null;break;case"undefined":return i([qE],s)}return i([a,l],s)}case Wh:{if(o){let p=s;return o==="DataView"?p=new Uint8Array(s.buffer):o==="ArrayBuffer"&&(p=new Uint8Array(s)),i([o,[...p]],s)}const l=[],c=i([a,l],s);for(const p of s)l.push(A(p));return c}case dm:{if(o)switch(o){case"BigInt":return i([o,s.toString()],s);case"Boolean":case"Number":case"String":return i([o,s.valueOf()],s)}if(t&&"toJSON"in s)return A(s.toJSON());const l=[],c=i([a,l],s);for(const p of HO(s))(e||!og(wh(s[p])))&&l.push([A(p),A(s[p])]);return c}case q2:return i([a,s.toISOString()],s);case J2:{const{source:l,flags:c}=s;return i([a,{source:l,flags:c}],s)}case X2:{const l=[],c=i([a,l],s);for(const[p,f]of s)(e||!(og(wh(p))||og(wh(f))))&&l.push([A(p),A(f)]);return c}case Y2:{const l=[],c=i([a,l],s);for(const p of s)(e||!og(wh(p)))&&l.push(A(p));return c}}const{message:u}=s;return i([a,{name:o,message:u}],s)};return A},wb=(e,{json:t,lossy:n}={})=>{const r=[];return MO(!(t||n),!!t,new Map,r)(e),r},pm=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?mb(wb(e,t)):structuredClone(e):(e,t)=>mb(wb(e,t));function KO(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function zO(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}
vendor: 19,420 bytes, lines 230-236
230function VO(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||KO,r=e.options.footnoteBackLabel||zO,i=e.options.footnoteLabel||"Footnotes",A=e.options.footnoteLabelTagName||"h2",s=e.options.footnoteLabelProperties||{className:["sr-only"]},a=[];let o=-1;for(;++o<e.footnoteOrder.length;){const u=e.footnoteById.get(e.footnoteOrder[o]);if(!u)continue;const l=e.all(u),c=String(u.identifier).toUpperCase(),p=Uf(c.toLowerCase());let f=0;const x=[],b=e.footnoteCounts.get(c);for(;b!==void 0&&++f<=b;){x.length>0&&x.push({type:"text",value:" "});let B=typeof n=="string"?n:n(o,f);typeof B=="string"&&(B={type:"text",value:B}),x.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+p+(f>1?"-"+f:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(o,f),className:["data-footnote-backref"]},children:Array.isArray(B)?B:[B]})}const E=l[l.length-1];if(E&&E.type==="element"&&E.tagName==="p"){const B=E.children[E.children.length-1];B&&B.type==="text"?B.value+=" ":E.children.push({type:"text",value:" "}),E.children.push(...x)}else l.push(...x);const v={type:"element",tagName:"li",properties:{id:t+"fn-"+p},children:e.wrap(l,!0)};e.patch(u,v),a.push(v)}if(a.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:A,properties:{...pm(s),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:`
231`},{type:"element",tagName:"ol",properties:{},children:e.wrap(a,!0)},{type:"text",value:`
232`}]}}const o0=function(e){if(e==null)return qO;if(typeof e=="function")return a0(e);if(typeof e=="object")return Array.isArray(e)?GO(e):$O(e);if(typeof e=="string")return WO(e);throw new Error("Expected function, string, or object as test")};function GO(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=o0(e[n]);return a0(r);function r(...i){let A=-1;for(;++A<t.length;)if(t[A].apply(this,i))return!0;return!1}}function $O(e){const t=e;return a0(n);function n(r){const i=r;let A;for(A in e)if(i[A]!==t[A])return!1;return!0}}function WO(e){return a0(t);function t(n){return n&&n.type===e}}function a0(e){return t;function t(n,r,i){return!!(JO(n)&&e.call(this,n,typeof r=="number"?r:void 0,i||void 0))}}function qO(){return!0}function JO(e){return e!==null&&typeof e=="object"&&"type"in e}const YE=[],XO=!0,Ty=!1,YO="skip";function ZE(e,t,n,r){let i;typeof t=="function"&&typeof n!="function"?(r=n,n=t):i=t;const A=o0(i),s=r?-1:1;a(e,void 0,[])();function a(o,u,l){const c=o&&typeof o=="object"?o:{};if(typeof c.type=="string"){const f=typeof c.tagName=="string"?c.tagName:typeof c.name=="string"?c.name:void 0;Object.defineProperty(p,"name",{value:"node ("+(o.type+(f?"<"+f+">":""))+")"})}return p;function p(){let f=YE,x,b,E;if((!t||A(o,u,l[l.length-1]||void 0))&&(f=ZO(n(o,l)),f[0]===Ty))return f;if("children"in o&&o.children){const v=o;if(v.children&&f[0]!==YO)for(b=(r?v.children.length:-1)+s,E=l.concat(v);b>-1&&b<v.children.length;){const B=v.children[b];if(x=a(B,b,E)(),x[0]===Ty)return x;b=typeof x[1]=="number"?x[1]:b+s}}return f}}}function ZO(e){return Array.isArray(e)?e:typeof e=="number"?[XO,e]:e==null?YE:[e]}function Z2(e,t,n,r){let i,A,s;typeof t=="function"&&typeof n!="function"?(A=void 0,s=t,i=n):(A=t,s=n,i=r),ZE(e,A,a,i);function a(o,u){const l=u[u.length-1],c=l?l.children.indexOf(o):void 0;return s(o,c,l)}}const Oy={}.hasOwnProperty,eR={};function tR(e,t){const n=t||eR,r=new Map,i=new Map,A=new Map,s={...OO,...n.handlers},a={all:u,applyData:rR,definitionById:r,footnoteById:i,footnoteCounts:A,footnoteOrder:[],handlers:s,one:o,options:n,patch:nR,wrap:AR};return Z2(e,function(l){if(l.type==="definition"||l.type==="footnoteDefinition"){const c=l.type==="definition"?r:i,p=String(l.identifier).toUpperCase();c.has(p)||c.set(p,l)}}),a;function o(l,c){const p=l.type,f=a.handlers[p];if(Oy.call(a.handlers,p)&&f)return f(a,l,c);if(a.options.passThrough&&a.options.passThrough.includes(p)){if("children"in l){const{children:b,...E}=l,v=pm(E);return v.children=a.all(l),v}return pm(l)}return(a.options.unknownHandler||iR)(a,l,c)}function u(l){const c=[];if("children"in l){const p=l.children;let f=-1;for(;++f<p.length;){const x=a.one(p[f],l);if(x){if(f&&p[f-1].type==="break"&&(!Array.isArray(x)&&x.type==="text"&&(x.value=yb(x.value)),!Array.isArray(x)&&x.type==="element")){const b=x.children[0];b&&b.type==="text"&&(b.value=yb(b.value))}Array.isArray(x)?c.push(...x):c.push(x)}}}return c}}function nR(e,t){e.position&&(t.position=zP(e))}function rR(e,t){let n=t;if(e&&e.data){const r=e.data.hName,i=e.data.hChildren,A=e.data.hProperties;if(typeof r=="string")if(n.type==="element")n.tagName=r;else{const s="children"in n?n.children:[n];n={type:"element",tagName:r,properties:{},children:s}}n.type==="element"&&A&&Object.assign(n.properties,pm(A)),"children"in n&&n.children&&i!==null&&i!==void 0&&(n.children=i)}return n}function iR(e,t){const n=t.data||{},r="value"in t&&!(Oy.call(n,"hProperties")||Oy.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function AR(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:`
233`});++r<e.length;)r&&n.push({type:"text",value:`
234`}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:`
235`}),n}function yb(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function vb(e,t){const n=tR(e,t),r=n.one(e,void 0),i=VO(n),A=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&A.children.push({type:"text",value:`
236`},i),A}function sR(e,t){return e&&"run"in e?async function(n,r){const i=vb(n,{file:r,...t});await e.run(i,r)}:function(n,r){return vb(n,{file:r,...e||t})}}function Bb(e){if(e)throw e}var jg=Object.prototype.hasOwnProperty,e_=Object.prototype.toString,xb=Object.defineProperty,bb=Object.getOwnPropertyDescriptor,Cb=function(t){return typeof Array.isArray=="function"?Array.isArray(t):e_.call(t)==="[object Array]"},Fb=function(t){if(!t||e_.call(t)!=="[object Object]")return!1;var n=jg.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&jg.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!r)return!1;var i;for(i in t);return typeof i>"u"||jg.call(t,i)},Sb=function(t,n){xb&&n.name==="__proto__"?xb(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},Eb=function(t,n){if(n==="__proto__")if(jg.call(t,n)){if(bb)return bb(t,n).value}else return;return t[n]},oR=function e(){var t,n,r,i,A,s,a=arguments[0],o=1,u=arguments.length,l=!1;for(typeof a=="boolean"&&(l=a,a=arguments[1]||{},o=2),(a==null||typeof a!="object"&&typeof a!="function")&&(a={});o<u;++o)if(t=arguments[o],t!=null)for(n in t)r=Eb(a,n),i=Eb(t,n),a!==i&&(l&&i&&(Fb(i)||(A=Cb(i)))?(A?(A=!1,s=r&&Cb(r)?r:[]):s=r&&Fb(r)?r:{},Sb(a,{name:n,newValue:e(l,s,i)})):typeof i<"u"&&Sb(a,{name:n,newValue:i}));return a};const $1=wm(oR);function Ry(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function aR(){const e=[],t={run:n,use:r};return t;function n(...i){let A=-1;const s=i.pop();if(typeof s!="function")throw new TypeError("Expected function as last argument, not "+s);a(null,...i);function a(o,...u){const l=e[++A];let c=-1;if(o){s(o);return}for(;++c<i.length;)(u[c]===null||u[c]===void 0)&&(u[c]=i[c]);i=u,l?lR(l,a)(...u):s(null,...u)}}function r(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return e.push(i),t}}function lR(e,t){let n;return r;function r(...s){const a=e.length>s.length;let o;a&&s.push(i);try{o=e.apply(this,s)}catch(u){const l=u;if(a&&n)throw l;return i(l)}a||(o&&o.then&&typeof o.then=="function"?o.then(A,i):o instanceof Error?i(o):A(o))}function i(s,...a){n||(n=!0,t(s,...a))}function A(s){i(null,s)}}const Zs={basename:uR,dirname:cR,extname:fR,join:hR,sep:"/"};function uR(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Md(e);let n=0,r=-1,i=e.length,A;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(A){n=i+1;break}}else r<0&&(A=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let s=-1,a=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(A){n=i+1;break}}else s<0&&(A=!0,s=i+1),a>-1&&(e.codePointAt(i)===t.codePointAt(a--)?a<0&&(r=i):(a=-1,r=s));return n===r?r=s:r<0&&(r=e.length),e.slice(n,r)}function cR(e){if(Md(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function fR(e){Md(e);let t=e.length,n=-1,r=0,i=-1,A=0,s;for(;t--;){const a=e.codePointAt(t);if(a===47){if(s){r=t+1;break}continue}n<0&&(s=!0,n=t+1),a===46?i<0?i=t:A!==1&&(A=1):i>-1&&(A=-1)}return i<0||n<0||A===0||A===1&&i===n-1&&i===r+1?"":e.slice(i,n)}function hR(...e){let t=-1,n;for(;++t<e.length;)Md(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":dR(n)}function dR(e){Md(e);const t=e.codePointAt(0)===47;let n=pR(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function pR(e,t){let n="",r=0,i=-1,A=0,s=-1,a,o;for(;++s<=e.length;){if(s<e.length)a=e.codePointAt(s);else{if(a===47)break;a=47}if(a===47){if(!(i===s-1||A===1))if(i!==s-1&&A===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(o=n.lastIndexOf("/"),o!==n.length-1){o<0?(n="",r=0):(n=n.slice(0,o),r=n.length-1-n.lastIndexOf("/")),i=s,A=0;continue}}else if(n.length>0){n="",r=0,i=s,A=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,s):n=e.slice(i+1,s),r=s-i-1;i=s,A=0}else a===46&&A>-1?A++:A=-1}return n}function Md(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const gR={cwd:mR};function mR(){return"/"}function Dy(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function wR(e){if(typeof e=="string")e=new URL(e);else if(!Dy(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return yR(e)}function yR(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const r=t.codePointAt(n+2);if(r===70||r===102){const i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(t)}const W1=["history","path","basename","stem","extname","dirname"];class t_{constructor(t){let n;t?Dy(t)?n={path:t}:typeof t=="string"||vR(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":gR.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<W1.length;){const A=W1[r];A in n&&n[A]!==void 0&&n[A]!==null&&(this[A]=A==="history"?[...n[A]]:n[A])}let i;for(i in n)W1.includes(i)||(this[i]=n[i])}get basename(){return typeof this.path=="string"?Zs.basename(this.path):void 0}set basename(t){J1(t,"basename"),q1(t,"basename"),this.path=Zs.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Zs.dirname(this.path):void 0}set dirname(t){_b(this.basename,"dirname"),this.path=Zs.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Zs.extname(this.path):void 0}set extname(t){if(q1(t,"extname"),_b(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Zs.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){Dy(t)&&(t=wR(t)),J1(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Zs.basename(this.path,this.extname):void 0}set stem(t){J1(t,"stem"),q1(t,"stem"),this.path=Zs.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const i=this.message(t,n,r);throw i.fatal=!0,i}info(t,n,r){const i=this.message(t,n,r);return i.fatal=void 0,i}message(t,n,r){const i=new Fi(t,n,r);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function q1(e,t){if(e&&e.includes(Zs.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Zs.sep+"`")}function J1(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function _b(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function vR(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const BR=function(e){const r=this.constructor.prototype,i=r[e],A=function(){return i.apply(A,arguments)};return Object.setPrototypeOf(A,r),A},xR={}.hasOwnProperty;class eB extends BR{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=aR()}copy(){const t=new eB;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data($1(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(Z1("data",this.frozen),this.namespace[t]=n,this):xR.call(this.namespace,t)&&this.namespace[t]||void 0:t?(Z1("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const i=n.call(t,...r);typeof i=="function"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=ag(t),r=this.parser||this.Parser;return X1("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),X1("process",this.parser||this.Parser),Y1("process",this.compiler||this.Compiler),n?i(void 0,n):new Promise(i);function i(A,s){const a=ag(t),o=r.parse(a);r.run(o,a,function(l,c,p){if(l||!c||!p)return u(l);const f=c,x=r.stringify(f,p);FR(x)?p.value=x:p.result=x,u(l,p)});function u(l,c){l||!c?s(l):A?A(c):n(void 0,c)}}}processSync(t){let n=!1,r;return this.freeze(),X1("processSync",this.parser||this.Parser),Y1("processSync",this.compiler||this.Compiler),this.process(t,i),Qb("processSync","process",n),r;function i(A,s){n=!0,Bb(A),r=s}}run(t,n,r){Ub(t),this.freeze();const i=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?A(void 0,r):new Promise(A);function A(s,a){const o=ag(n);i.run(t,o,u);function u(l,c,p){const f=c||t;l?a(l):s?s(f):r(void 0,f,p)}}}runSync(t,n){let r=!1,i;return this.run(t,n,A),Qb("runSync","run",r),i;function A(s,a){Bb(s),i=a,r=!0}}stringify(t,n){this.freeze();const r=ag(n),i=this.compiler||this.Compiler;return Y1("stringify",i),Ub(t),i(t,r)}use(t,...n){const r=this.attachers,i=this.namespace;if(Z1("use",this.frozen),t!=null)if(typeof t=="function")o(t,n);else if(typeof t=="object")Array.isArray(t)?a(t):s(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function A(u){if(typeof u=="function")o(u,[]);else if(typeof u=="object")if(Array.isArray(u)){const[l,...c]=u;o(l,c)}else s(u);else throw new TypeError("Expected usable value, not `"+u+"`")}function s(u){if(!("plugins"in u)&&!("settings"in u))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");a(u.plugins),u.settings&&(i.settings=$1(!0,i.settings,u.settings))}function a(u){let l=-1;if(u!=null)if(Array.isArray(u))for(;++l<u.length;){const c=u[l];A(c)}else throw new TypeError("Expected a list of plugins, not `"+u+"`")}function o(u,l){let c=-1,p=-1;for(;++c<r.length;)if(r[c][0]===u){p=c;break}if(p===-1)r.push([u,...l]);else if(l.length>0){let[f,...x]=l;const b=r[p][1];Ry(b)&&Ry(f)&&(f=$1(!0,b,f)),r[p]=[u,f,...x]}}}}const bR=new eB().freeze();function X1(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Y1(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Z1(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Ub(e){if(!Ry(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Qb(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function ag(e){return CR(e)?e:new t_(e)}function CR(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function FR(e){return typeof e=="string"||SR(e)}function SR(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const ER="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",kb=[],Ib={allowDangerousHtml:!0},_R=/^(https?|ircs?|mailto|xmpp)$/i,UR=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function QR(e){const t=kR(e),n=IR(e);return LR(t.runSync(t.parse(n),n),e)}function kR(e){const t=e.rehypePlugins||kb,n=e.remarkPlugins||kb,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Ib}:Ib;return bR().use(fO).use(n).use(sR,r).use(t)}function IR(e){const t=e.children||"",n=new t_;return typeof t=="string"&&(n.value=t),n}function LR(e,t){const n=t.allowedElements,r=t.allowElement,i=t.components,A=t.disallowedElements,s=t.skipHtml,a=t.unwrapDisallowed,o=t.urlTransform||jR;for(const l of UR)Object.hasOwn(t,l.from)&&(""+l.from+(l.to?"use `"+l.to+"` instead":"remove it")+ER+l.id,void 0);return t.className&&(e={type:"element",tagName:"div",properties:{className:t.className},children:e.type==="root"?e.children:[e]}),Z2(e,u),qP(e,{Fragment:Q.Fragment,components:i,ignoreInvalidStyle:!0,jsx:Q.jsx,jsxs:Q.jsxs,passKeys:!0,passNode:!0});
vendor: 6,210 bytes, lines 236-237
236function u(l,c,p){if(l.type==="raw"&&p&&typeof c=="number")return s?p.children.splice(c,1):p.children[c]={type:"text",value:l.value},c;if(l.type==="element"){let f;for(f in z1)if(Object.hasOwn(z1,f)&&Object.hasOwn(l.properties,f)){const x=l.properties[f],b=z1[f];(b===null||b.includes(l.tagName))&&(l.properties[f]=o(String(x||""),f,l))}}if(l.type==="element"){let f=n?!n.includes(l.tagName):A?A.includes(l.tagName):!1;if(!f&&r&&typeof c=="number"&&(f=!r(l,c,p)),f&&p&&typeof c=="number")return a&&l.children?p.children.splice(c,1,...l.children):p.children.splice(c,1),c}}}function jR(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return t===-1||i!==-1&&t>i||n!==-1&&t>n||r!==-1&&t>r||_R.test(e.slice(0,t))?e:""}function Lb(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}function NR(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function PR(e,t,n){const i=o0((n||{}).ignore||[]),A=TR(t);let s=-1;for(;++s<A.length;)ZE(e,"text",a);function a(u,l){let c=-1,p;for(;++c<l.length;){const f=l[c],x=p?p.children:void 0;if(i(f,x?x.indexOf(f):void 0,p))return;p=f}if(p)return o(u,l)}function o(u,l){const c=l[l.length-1],p=A[s][0],f=A[s][1];let x=0;const E=c.children.indexOf(u);let v=!1,B=[];p.lastIndex=0;let F=p.exec(u.value);for(;F;){const U=F.index,N={index:F.index,input:F.input,stack:[...l,u]};let P=f(...F,N);if(typeof P=="string"&&(P=P.length>0?{type:"text",value:P}:void 0),P===!1?p.lastIndex=U+1:(x!==U&&B.push({type:"text",value:u.value.slice(x,U)}),Array.isArray(P)?B.push(...P):P&&B.push(P),x=U+F[0].length,v=!0),!p.global)break;F=p.exec(u.value)}return v?(x<u.value.length&&B.push({type:"text",value:u.value.slice(x)}),c.children.splice(E,1,...B)):B=[u],E+B.length}}function TR(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r<n.length;){const i=n[r];t.push([OR(i[0]),RR(i[1])])}return t}function OR(e){return typeof e=="string"?new RegExp(NR(e),"g"):e}function RR(e){return typeof e=="function"?e:function(){return e}}const ew="phrasing",tw=["autolink","link","image","label"];function DR(){return{transforms:[$R],enter:{literalAutolink:MR,literalAutolinkEmail:nw,literalAutolinkHttp:nw,literalAutolinkWww:nw},exit:{literalAutolink:GR,literalAutolinkEmail:VR,literalAutolinkHttp:KR,literalAutolinkWww:zR}}}function HR(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:ew,notInConstruct:tw},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:ew,notInConstruct:tw},{character:":",before:"[ps]",after:"\\/",inConstruct:ew,notInConstruct:tw}]}}function MR(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function nw(e){this.config.enter.autolinkProtocol.call(this,e)}function KR(e){this.config.exit.autolinkProtocol.call(this,e)}function zR(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function VR(e){this.config.exit.autolinkEmail.call(this,e)}function GR(e){this.exit(e)}function $R(e){PR(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,WR],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),qR]],{ignore:["link","linkReference"]})}function WR(e,t,n,r,i){let A="";if(!n_(i)||(/^w/i.test(t)&&(n=t+n,t="",A="http://"),!JR(n)))return!1;const s=XR(n+r);if(!s[0])return!1;const a={type:"link",title:null,url:A+t+s[0],children:[{type:"text",value:t+s[0]}]};return s[1]?[a,{type:"text",value:s[1]}]:a}function qR(e,t,n,r){return!n_(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function JR(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function XR(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const i=Lb(e,"(");let A=Lb(e,")");for(;r!==-1&&i>A;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),A++;return[e,n]}function n_(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||yu(n)||i0(n))&&(!t||n!==47)}r_.peek=sD;function YR(){this.buffer()}function ZR(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function eD(){this.buffer()}function tD(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function nD(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Cs(this.sliceSerialize(e)).toLowerCase(),n.label=t}function rD(e){this.exit(e)}function iD(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Cs(this.sliceSerialize(e)).toLowerCase(),n.label=t}function AD(e){this.exit(e)}function sD(){return"["}function r_(e,t,n,r){const i=n.createTracker(r);let A=i.move("[^");const s=n.enter("footnoteReference"),a=n.enter("reference");return A+=i.move(n.safe(n.associationId(e),{after:"]",before:A})),a(),s(),A+=i.move("]"),A}function oD(){return{enter:{gfmFootnoteCallString:YR,gfmFootnoteCall:ZR,gfmFootnoteDefinitionLabelString:eD,gfmFootnoteDefinition:tD},exit:{gfmFootnoteCallString:nD,gfmFootnoteCall:rD,gfmFootnoteDefinitionLabelString:iD,gfmFootnoteDefinition:AD}}}function aD(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:r_},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function n(r,i,A,s){const a=A.createTracker(s);let o=a.move("[^");const u=A.enter("footnoteDefinition"),l=A.enter("label");return o+=a.move(A.safe(A.associationId(r),{before:o,after:"]"})),l(),o+=a.move("]:"),r.children&&r.children.length>0&&(a.shift(4),o+=a.move((t?`
237`:" ")+A.indentLines(A.containerFlow(r,a.current()),t?i_:lD))),u(),o}}function lD(e,t,n){return t===0?e:i_(e,t,n)}function i_(e,t,n){return(n?"":"    ")+e}const uD=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];A_.peek=pD;
vendor: 11,767 bytes, lines 237-249
237function cD(){return{canContainEols:["delete"],enter:{strikethrough:hD},exit:{strikethrough:dD}}}function fD(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:uD}],handlers:{delete:A_}}}function hD(e){this.enter({type:"delete",children:[]},e)}function dD(e){this.exit(e)}function A_(e,t,n,r){const i=n.createTracker(r),A=n.enter("strikethrough");let s=i.move("~~");return s+=n.containerPhrasing(e,{...i.current(),before:s,after:"~"}),s+=i.move("~~"),A(),s}function pD(){return"~"}function gD(e){return e.length}function mD(e,t){const n=t||{},r=(n.align||[]).concat(),i=n.stringLength||gD,A=[],s=[],a=[],o=[];let u=0,l=-1;for(;++l<e.length;){const b=[],E=[];let v=-1;for(e[l].length>u&&(u=e[l].length);++v<e[l].length;){const B=wD(e[l][v]);if(n.alignDelimiters!==!1){const F=i(B);E[v]=F,(o[v]===void 0||F>o[v])&&(o[v]=F)}b.push(B)}s[l]=b,a[l]=E}let c=-1;if(typeof r=="object"&&"length"in r)for(;++c<u;)A[c]=jb(r[c]);else{const b=jb(r);for(;++c<u;)A[c]=b}c=-1;const p=[],f=[];for(;++c<u;){const b=A[c];let E="",v="";b===99?(E=":",v=":"):b===108?E=":":b===114&&(v=":");let B=n.alignDelimiters===!1?1:Math.max(1,o[c]-E.length-v.length);const F=E+"-".repeat(B)+v;n.alignDelimiters!==!1&&(B=E.length+B+v.length,B>o[c]&&(o[c]=B),f[c]=B),p[c]=F}s.splice(1,0,p),a.splice(1,0,f),l=-1;const x=[];for(;++l<s.length;){const b=s[l],E=a[l];c=-1;const v=[];for(;++c<u;){const B=b[c]||"";let F="",U="";if(n.alignDelimiters!==!1){const N=o[c]-(E[c]||0),P=A[c];P===114?F=" ".repeat(N):P===99?N%2?(F=" ".repeat(N/2+.5),U=" ".repeat(N/2-.5)):(F=" ".repeat(N/2),U=F):U=" ".repeat(N)}n.delimiterStart!==!1&&!c&&v.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&B==="")&&(n.delimiterStart!==!1||c)&&v.push(" "),n.alignDelimiters!==!1&&v.push(F),v.push(B),n.alignDelimiters!==!1&&v.push(U),n.padding!==!1&&v.push(" "),(n.delimiterEnd!==!1||c!==u-1)&&v.push("|")}x.push(n.delimiterEnd===!1?v.join("").replace(/ +$/,""):v.join(""))}return x.join(`
238`)}function wD(e){return e==null?"":String(e)}function jb(e){const t=typeof e=="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}function yD(e,t,n,r){const i=n.enter("blockquote"),A=n.createTracker(r);A.move("> "),A.shift(2);const s=n.indentLines(n.containerFlow(e,A.current()),vD);return i(),s}function vD(e,t,n){return">"+(n?"":" ")+e}function BD(e,t){return Nb(e,t.inConstruct,!0)&&!Nb(e,t.notInConstruct,!1)}function Nb(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function Pb(e,t,n,r){let i=-1;for(;++i<n.unsafe.length;)if(n.unsafe[i].character===`
239`&&BD(n.stack,n.unsafe[i]))return/[ \t]/.test(r.before)?"":" ";return`\\
240`}function xD(e,t){const n=String(e);let r=n.indexOf(t),i=r,A=0,s=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;r!==-1;)r===i?++A>s&&(s=A):A=1,i=r+t.length,r=n.indexOf(t,i);return s}function bD(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function CD(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function FD(e,t,n,r){const i=CD(n),A=e.value||"",s=i==="`"?"GraveAccent":"Tilde";if(bD(e,n)){const c=n.enter("codeIndented"),p=n.indentLines(A,SD);return c(),p}const a=n.createTracker(r),o=i.repeat(Math.max(xD(A,i)+1,3)),u=n.enter("codeFenced");let l=a.move(o);if(e.lang){const c=n.enter(`codeFencedLang${s}`);l+=a.move(n.safe(e.lang,{before:l,after:" ",encode:["`"],...a.current()})),c()}if(e.lang&&e.meta){const c=n.enter(`codeFencedMeta${s}`);l+=a.move(" "),l+=a.move(n.safe(e.meta,{before:l,after:`
241`,encode:["`"],...a.current()})),c()}return l+=a.move(`
242`),A&&(l+=a.move(A+`
243`)),l+=a.move(o),u(),l}function SD(e,t,n){return(n?"":"    ")+e}function tB(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function ED(e,t,n,r){const i=tB(n),A=i==='"'?"Quote":"Apostrophe",s=n.enter("definition");let a=n.enter("label");const o=n.createTracker(r);let u=o.move("[");return u+=o.move(n.safe(n.associationId(e),{before:u,after:"]",...o.current()})),u+=o.move("]: "),a(),!e.url||/[\0- \u007F]/.test(e.url)?(a=n.enter("destinationLiteral"),u+=o.move("<"),u+=o.move(n.safe(e.url,{before:u,after:">",...o.current()})),u+=o.move(">")):(a=n.enter("destinationRaw"),u+=o.move(n.safe(e.url,{before:u,after:e.title?" ":`
244`,...o.current()}))),a(),e.title&&(a=n.enter(`title${A}`),u+=o.move(" "+i),u+=o.move(n.safe(e.title,{before:u,after:i,...o.current()})),u+=o.move(i),a()),s(),u}function _D(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function bd(e){return"&#x"+e.toString(16).toUpperCase()+";"}function gm(e,t,n){const r=gf(e),i=gf(t);return r===void 0?i===void 0?n==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:r===1?i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}s_.peek=UD;function s_(e,t,n,r){const i=_D(n),A=n.enter("emphasis"),s=n.createTracker(r),a=s.move(i);let o=s.move(n.containerPhrasing(e,{after:i,before:a,...s.current()}));const u=o.charCodeAt(0),l=gm(r.before.charCodeAt(r.before.length-1),u,i);l.inside&&(o=bd(u)+o.slice(1));const c=o.charCodeAt(o.length-1),p=gm(r.after.charCodeAt(0),c,i);p.inside&&(o=o.slice(0,-1)+bd(c));const f=s.move(i);return A(),n.attentionEncodeSurroundingInfo={after:p.outside,before:l.outside},a+o+f}function UD(e,t,n){return n.options.emphasis||"*"}function QD(e,t){let n=!1;return Z2(e,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return n=!0,Ty}),!!((!e.depth||e.depth<3)&&G2(e)&&(t.options.setext||n))}function kD(e,t,n,r){const i=Math.max(Math.min(6,e.depth||1),1),A=n.createTracker(r);if(QD(e,n)){const l=n.enter("headingSetext"),c=n.enter("phrasing"),p=n.containerPhrasing(e,{...A.current(),before:`
245`,after:`
246`});return c(),l(),p+`
247`+(i===1?"=":"-").repeat(p.length-(Math.max(p.lastIndexOf("\r"),p.lastIndexOf(`
248`))+1))}const s="#".repeat(i),a=n.enter("headingAtx"),o=n.enter("phrasing");A.move(s+" ");let u=n.containerPhrasing(e,{before:"# ",after:`
249`,...A.current()});return/^[\t ]/.test(u)&&(u=bd(u.charCodeAt(0))+u.slice(1)),u=u?s+" "+u:s,n.options.closeAtx&&(u+=" "+s),o(),a(),u}o_.peek=ID;function o_(e){return e.value||""}function ID(){return"<"}a_.peek=LD;function a_(e,t,n,r){const i=tB(n),A=i==='"'?"Quote":"Apostrophe",s=n.enter("image");let a=n.enter("label");const o=n.createTracker(r);let u=o.move("![");return u+=o.move(n.safe(e.alt,{before:u,after:"]",...o.current()})),u+=o.move("]("),a(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(a=n.enter("destinationLiteral"),u+=o.move("<"),u+=o.move(n.safe(e.url,{before:u,after:">",...o.current()})),u+=o.move(">")):(a=n.enter("destinationRaw"),u+=o.move(n.safe(e.url,{before:u,after:e.title?" ":")",...o.current()}))),a(),e.title&&(a=n.enter(`title${A}`),u+=o.move(" "+i),u+=o.move(n.safe(e.title,{before:u,after:i,...o.current()})),u+=o.move(i),a()),u+=o.move(")"),s(),u}function LD(){return"!"}l_.peek=jD;function l_(e,t,n,r){const i=e.referenceType,A=n.enter("imageReference");let s=n.enter("label");const a=n.createTracker(r);let o=a.move("![");const u=n.safe(e.alt,{before:o,after:"]",...a.current()});o+=a.move(u+"]["),s();const l=n.stack;n.stack=[],s=n.enter("reference");const c=n.safe(n.associationId(e),{before:o,after:"]",...a.current()});return s(),n.stack=l,A(),i==="full"||!u||u!==c?o+=a.move(c+"]"):i==="shortcut"?o=o.slice(0,-1):o+=a.move("]"),o}function jD(){return"!"}u_.peek=ND;function u_(e,t,n){let r=e.value||"",i="`",A=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++A<n.unsafe.length;){const s=n.unsafe[A],a=n.compilePattern(s);let o;if(s.atBreak)for(;o=a.exec(r);){let u=o.index;r.charCodeAt(u)===10&&r.charCodeAt(u-1)===13&&u--,r=r.slice(0,u)+" "+r.slice(o.index+1)}}return i+r+i}function ND(){return"`"}function c_(e,t){const n=G2(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}f_.peek=PD;function f_(e,t,n,r){const i=tB(n),A=i==='"'?"Quote":"Apostrophe",s=n.createTracker(r);let a,o;if(c_(e,n)){const l=n.stack;n.stack=[],a=n.enter("autolink");let c=s.move("<");return c+=s.move(n.containerPhrasing(e,{before:c,after:">",...s.current()})),c+=s.move(">"),a(),n.stack=l,c}a=n.enter("link"),o=n.enter("label");let u=s.move("[");return u+=s.move(n.containerPhrasing(e,{before:u,after:"](",...s.current()})),u+=s.move("]("),o(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(o=n.enter("destinationLiteral"),u+=s.move("<"),u+=s.move(n.safe(e.url,{before:u,after:">",...s.current()})),u+=s.move(">")):(o=n.enter("destinationRaw"),u+=s.move(n.safe(e.url,{before:u,after:e.title?" ":")",...s.current()}))),o(),e.title&&(o=n.enter(`title${A}`),u+=s.move(" "+i),u+=s.move(n.safe(e.title,{before:u,after:i,...s.current()})),u+=s.move(i),o()),u+=s.move(")"),a(),u}function PD(e,t,n){return c_(e,n)?"<":"["}h_.peek=TD;function h_(e,t,n,r){const i=e.referenceType,A=n.enter("linkReference");let s=n.enter("label");const a=n.createTracker(r);let o=a.move("[");const u=n.containerPhrasing(e,{before:o,after:"]",...a.current()});o+=a.move(u+"]["),s();const l=n.stack;n.stack=[],s=n.enter("reference");const c=n.safe(n.associationId(e),{before:o,after:"]",...a.current()});return s(),n.stack=l,A(),i==="full"||!u||u!==c?o+=a.move(c+"]"):i==="shortcut"?o=o.slice(0,-1):o+=a.move("]"),o}function TD(){return"["}function nB(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function OD(e){const t=nB(e),n=e.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function RD(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function d_(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function DD(e,t,n,r){const i=n.enter("list"),A=n.bulletCurrent;let s=e.ordered?RD(n):nB(n);const a=e.ordered?s==="."?")":".":OD(n);let o=t&&n.bulletLastUsed?s===n.bulletLastUsed:!1;if(!e.ordered){const l=e.children?e.children[0]:void 0;if((s==="*"||s==="-")&&l&&(!l.children||!l.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(o=!0),d_(n)===s&&l){let c=-1;for(;++c<e.children.length;){const p=e.children[c];if(p&&p.type==="listItem"&&p.children&&p.children[0]&&p.children[0].type==="thematicBreak"){o=!0;break}}}}o&&(s=a),n.bulletCurrent=s;const u=n.containerFlow(e,r);return n.bulletLastUsed=s,n.bulletCurrent=A,i(),u}function HD(e){const t=e.options.listItemIndent||"one";
vendor: 8,125 bytes, lines 249-251
249if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function MD(e,t,n,r){const i=HD(n);let A=n.bulletCurrent||nB(n);t&&t.type==="list"&&t.ordered&&(A=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+A);let s=A.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(s=Math.ceil(s/4)*4);const a=n.createTracker(r);a.move(A+" ".repeat(s-A.length)),a.shift(s);const o=n.enter("listItem"),u=n.indentLines(n.containerFlow(e,a.current()),l);return o(),u;function l(c,p,f){return p?(f?"":" ".repeat(s))+c:(f?A:A+" ".repeat(s-A.length))+c}}function KD(e,t,n,r){const i=n.enter("paragraph"),A=n.enter("phrasing"),s=n.containerPhrasing(e,r);return A(),i(),s}const zD=o0(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function VD(e,t,n,r){return(e.children.some(function(s){return zD(s)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function GD(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}p_.peek=$D;function p_(e,t,n,r){const i=GD(n),A=n.enter("strong"),s=n.createTracker(r),a=s.move(i+i);let o=s.move(n.containerPhrasing(e,{after:i,before:a,...s.current()}));const u=o.charCodeAt(0),l=gm(r.before.charCodeAt(r.before.length-1),u,i);l.inside&&(o=bd(u)+o.slice(1));const c=o.charCodeAt(o.length-1),p=gm(r.after.charCodeAt(0),c,i);p.inside&&(o=o.slice(0,-1)+bd(c));const f=s.move(i+i);return A(),n.attentionEncodeSurroundingInfo={after:p.outside,before:l.outside},a+o+f}function $D(e,t,n){return n.options.strong||"*"}function WD(e,t,n,r){return n.safe(e.value,r)}function qD(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function JD(e,t,n){const r=(d_(n)+(n.options.ruleSpaces?" ":"")).repeat(qD(n));return n.options.ruleSpaces?r.slice(0,-1):r}const g_={blockquote:yD,break:Pb,code:FD,definition:ED,emphasis:s_,hardBreak:Pb,heading:kD,html:o_,image:a_,imageReference:l_,inlineCode:u_,link:f_,linkReference:h_,list:DD,listItem:MD,paragraph:KD,root:VD,strong:p_,text:WD,thematicBreak:JD};function XD(){return{enter:{table:YD,tableData:Tb,tableHeader:Tb,tableRow:eH},exit:{codeText:tH,table:ZD,tableData:rw,tableHeader:rw,tableRow:rw}}}function YD(e){const t=e._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}function ZD(e){this.exit(e),this.data.inTable=void 0}function eH(e){this.enter({type:"tableRow",children:[]},e)}function rw(e){this.exit(e)}function Tb(e){this.enter({type:"tableCell",children:[]},e)}function tH(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,nH));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function nH(e,t){return t==="|"?t:e}function rH(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,A=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
250`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[	 :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:p,table:s,tableCell:o,tableRow:a}};function s(f,x,b,E){return u(l(f,b,E),f.align)}function a(f,x,b,E){const v=c(f,b,E),B=u([v]);return B.slice(0,B.indexOf(`
251`))}function o(f,x,b,E){const v=b.enter("tableCell"),B=b.enter("phrasing"),F=b.containerPhrasing(f,{...E,before:A,after:A});return B(),v(),F}function u(f,x){return mD(f,{align:x,alignDelimiters:r,padding:n,stringLength:i})}function l(f,x,b){const E=f.children;let v=-1;const B=[],F=x.enter("table");for(;++v<E.length;)B[v]=c(E[v],x,b);return F(),B}function c(f,x,b){const E=f.children;let v=-1;const B=[],F=x.enter("tableRow");for(;++v<E.length;)B[v]=o(E[v],f,x,b);return F(),B}function p(f,x,b){let E=g_.inlineCode(f,x,b);return b.stack.includes("tableCell")&&(E=E.replace(/\|/g,"\\$&")),E}}function iH(){return{exit:{taskListCheckValueChecked:Ob,taskListCheckValueUnchecked:Ob,paragraph:sH}}}function AH(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:oH}}}function Ob(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function sH(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const r=n.children[0];if(r&&r.type==="text"){const i=t.children;let A=-1,s;for(;++A<i.length;){const a=i[A];if(a.type==="paragraph"){s=a;break}}s===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function oH(e,t,n,r){const i=e.children[0],A=typeof e.checked=="boolean"&&i&&i.type==="paragraph",s="["+(e.checked?"x":" ")+"] ",a=n.createTracker(r);A&&a.move(s);let o=g_.listItem(e,t,n,{...r,...a.current()});return A&&(o=o.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,u)),o;function u(l){return l+s}}function aH(){return[DR(),oD(),cD(),XD(),iH()]}function lH(e){return{extensions:[HR(),aD(e),fD(),rH(e),AH()]}}const uH={tokenize:gH,partial:!0},m_={tokenize:mH,partial:!0},w_={tokenize:wH,partial:!0},y_={tokenize:yH,partial:!0},cH={tokenize:vH,partial:!0},v_={name:"wwwAutolink",tokenize:dH,previous:x_},B_={name:"protocolAutolink",tokenize:pH,previous:b_},Zo={name:"emailAutolink",tokenize:hH,previous:C_},ao={};function fH(){return{text:ao}}let Wl=48;for(;Wl<123;)ao[Wl]=Zo,Wl++,Wl===58?Wl=65:Wl===91&&(Wl=97);ao[43]=Zo;ao[45]=Zo;ao[46]=Zo;ao[95]=Zo;ao[72]=[Zo,B_];ao[104]=[Zo,B_];ao[87]=[Zo,v_];ao[119]=[Zo,v_];function hH(e,t,n){const r=this;let i,A;return s;function s(c){return!Hy(c)||!C_.call(r,r.previous)||rB(r.events)?n(c):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),a(c))}function a(c){return Hy(c)?(e.consume(c),a):c===64?(e.consume(c),o):n(c)}function o(c){return c===46?e.check(cH,l,u)(c):c===45||c===95||xi(c)?(A=!0,e.consume(c),o):l(c)}function u(c){return e.consume(c),i=!0,o}function l(c){return A&&i&&Pi(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(c)):n(c)}}function dH(e,t,n){const r=this;return i;function i(s){return s!==87&&s!==119||!x_.call(r,r.previous)||rB(r.events)?n(s):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(uH,e.attempt(m_,e.attempt(w_,A),n),n)(s))}function A(s){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(s)}}function pH(e,t,n){const r=this;let i="",A=!1;return s;function s(c){return(c===72||c===104)&&b_.call(r,r.previous)&&!rB(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(c),e.consume(c),a):n(c)}function a(c){if(Pi(c)&&i.length<5)return i+=String.fromCodePoint(c),e.consume(c),a;if(c===58){const p=i.toLowerCase();if(p==="http"||p==="https")return e.consume(c),o}return n(c)}function o(c){return c===47?(e.consume(c),A?u:(A=!0,o)):n(c)}function u(c){return c===null||hm(c)||Un(c)||yu(c)||i0(c)?n(c):e.attempt(m_,e.attempt(w_,l),n)(c)}function l(c){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(c)}}function gH(e,t,n){let r=0;return i;function i(s){return(s===87||s===119)&&r<3?(r++,e.consume(s),i):s===46&&r===3?(e.consume(s),A):n(s)}function A(s){return s===null?n(s):t(s)}}function mH(e,t,n){let r,i,A;return s;function s(u){return u===46||u===95?e.check(y_,o,a)(u):u===null||Un(u)||yu(u)||u!==45&&i0(u)?o(u):(A=!0,e.consume(u),s)}function a(u){return u===95?r=!0:(i=r,r=void 0),e.consume(u),s}function o(u){return i||r||!A?n(u):t(u)}}function wH(e,t){let n=0,r=0;return i;function i(s){return s===40?(n++,e.consume(s),i):s===41&&r<n?A(s):s===33||s===34||s===38||s===39||s===4
vendor: 4,947 bytes, line 251
2511||s===42||s===44||s===46||s===58||s===59||s===60||s===63||s===93||s===95||s===126?e.check(y_,t,A)(s):s===null||Un(s)||yu(s)?t(s):(e.consume(s),i)}function A(s){return s===41&&r++,e.consume(s),i}}function yH(e,t,n){return r;function r(a){return a===33||a===34||a===39||a===41||a===42||a===44||a===46||a===58||a===59||a===63||a===95||a===126?(e.consume(a),r):a===38?(e.consume(a),A):a===93?(e.consume(a),i):a===60||a===null||Un(a)||yu(a)?t(a):n(a)}function i(a){return a===null||a===40||a===91||Un(a)||yu(a)?t(a):r(a)}function A(a){return Pi(a)?s(a):n(a)}function s(a){return a===59?(e.consume(a),r):Pi(a)?(e.consume(a),s):n(a)}}function vH(e,t,n){return r;function r(A){return e.consume(A),i}function i(A){return xi(A)?n(A):t(A)}}function x_(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Un(e)}function b_(e){return!Pi(e)}function C_(e){return!(e===47||Hy(e))}function Hy(e){return e===43||e===45||e===46||e===95||xi(e)}function rB(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const BH={tokenize:UH,partial:!0};function xH(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:SH,continuation:{tokenize:EH},exit:_H}},text:{91:{name:"gfmFootnoteCall",tokenize:FH},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:bH,resolveTo:CH}}}}function bH(e,t,n){const r=this;let i=r.events.length;const A=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s;for(;i--;){const o=r.events[i][1];if(o.type==="labelImage"){s=o;break}if(o.type==="gfmFootnoteCall"||o.type==="labelLink"||o.type==="label"||o.type==="image"||o.type==="link")break}return a;function a(o){if(!s||!s._balanced)return n(o);const u=Cs(r.sliceSerialize({start:s.end,end:r.now()}));return u.codePointAt(0)!==94||!A.includes(u.slice(1))?n(o):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(o),e.exit("gfmFootnoteCallLabelMarker"),t(o))}}function CH(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const A={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},A.start),end:Object.assign({},A.end)},a=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",A,t],["enter",s,t],["exit",s,t],["exit",A,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...a),e}function FH(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let A=0,s;return a;function a(c){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(c),e.exit("gfmFootnoteCallLabelMarker"),o}function o(c){return c!==94?n(c):(e.enter("gfmFootnoteCallMarker"),e.consume(c),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",u)}function u(c){if(A>999||c===93&&!s||c===null||c===91||Un(c))return n(c);if(c===93){e.exit("chunkString");const p=e.exit("gfmFootnoteCallString");return i.includes(Cs(r.sliceSerialize(p)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(c),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(c)}return Un(c)||(s=!0),A++,e.consume(c),c===92?l:u}function l(c){return c===91||c===92||c===93?(e.consume(c),A++,u):u(c)}}function SH(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let A,s=0,a;return o;function o(x){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(x),e.exit("gfmFootnoteDefinitionLabelMarker"),u}function u(x){return x===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(x),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",l):n(x)}function l(x){if(s>999||x===93&&!a||x===null||x===91||Un(x))return n(x);if(x===93){e.exit("chunkString");const b=e.exit("gfmFootnoteDefinitionLabelString");return A=Cs(r.sliceSerialize(b)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(x),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p}return Un(x)||(a=!0),s++,e.consume(x),x===92?c:l}function c(x){return x===91||x===92||x===93?(e.consume(x),s++,l):l(x)}function p(x){return x===58?(e.enter("definitionMarker"),e.consume(x),e.exit("definitionMarker"),i.includes(A)||i.push(A),ln(e,f,"gfmFootnoteDefinitionWhitespace")):n(x)}function f(x){return t(x)}}
vendor: 4,420 bytes, line 251
251function EH(e,t,n){return e.check(Hd,t,e.attempt(BH,t,n))}function _H(e){e.exit("gfmFootnoteDefinition")}function UH(e,t,n){const r=this;return ln(e,i,"gfmFootnoteDefinitionIndent",5);function i(A){const s=r.events[r.events.length-1];return s&&s[1].type==="gfmFootnoteDefinitionIndent"&&s[2].sliceSerialize(s[1],!0).length===4?t(A):n(A)}}function QH(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:A,resolveAll:i};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function i(s,a){let o=-1;for(;++o<s.length;)if(s[o][0]==="enter"&&s[o][1].type==="strikethroughSequenceTemporary"&&s[o][1]._close){let u=o;for(;u--;)if(s[u][0]==="exit"&&s[u][1].type==="strikethroughSequenceTemporary"&&s[u][1]._open&&s[o][1].end.offset-s[o][1].start.offset===s[u][1].end.offset-s[u][1].start.offset){s[o][1].type="strikethroughSequence",s[u][1].type="strikethroughSequence";const l={type:"strikethrough",start:Object.assign({},s[u][1].start),end:Object.assign({},s[o][1].end)},c={type:"strikethroughText",start:Object.assign({},s[u][1].end),end:Object.assign({},s[o][1].start)},p=[["enter",l,a],["enter",s[u][1],a],["exit",s[u][1],a],["enter",c,a]],f=a.parser.constructs.insideSpan.null;f&&kA(p,p.length,0,A0(f,s.slice(u+1,o),a)),kA(p,p.length,0,[["exit",c,a],["enter",s[o][1],a],["exit",s[o][1],a],["exit",l,a]]),kA(s,u-1,o-u+3,p),o=u+p.length-2;break}}for(o=-1;++o<s.length;)s[o][1].type==="strikethroughSequenceTemporary"&&(s[o][1].type="data");return s}function A(s,a,o){const u=this.previous,l=this.events;let c=0;return p;function p(x){return u===126&&l[l.length-1][1].type!=="characterEscape"?o(x):(s.enter("strikethroughSequenceTemporary"),f(x))}function f(x){const b=gf(u);if(x===126)return c>1?o(x):(s.consume(x),c++,f);if(c<2&&!n)return o(x);const E=s.exit("strikethroughSequenceTemporary"),v=gf(x);return E._open=!v||v===2&&!!b,E._close=!b||b===2&&!!v,a(x)}}}class kH{constructor(){this.map=[]}add(t,n,r){IH(this,t,n,r)}consume(t){if(this.map.sort(function(A,s){return A[0]-s[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push(t.slice()),t.length=0;let i=r.pop();for(;i;){for(const A of i)t.push(A);i=r.pop()}this.map.length=0}}function IH(e,t,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}}function LH(e,t){let n=!1;const r=[];for(;t<e.length;){const i=e[t];if(n){if(i[0]==="enter")i[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const A=r.length-1;r[A]=r[A]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}function jH(){return{flow:{null:{name:"table",tokenize:NH,resolveAll:PH}}}}function NH(e,t,n){const r=this;let i=0,A=0,s;return a;function a(M){let j=r.events.length-1;for(;j>-1;){const J=r.events[j][1].type;if(J==="lineEnding"||J==="linePrefix")j--;else break}const D=j>-1?r.events[j][1].type:null,X=D==="tableHead"||D==="tableRow"?P:o;return X===P&&r.parser.lazy[r.now().line]?n(M):X(M)}function o(M){return e.enter("tableHead"),e.enter("tableRow"),u(M)}function u(M){return M===124||(s=!0,A+=1),l(M)}function l(M){return M===null?n(M):jt(M)?A>1?(A=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(M),e.exit("lineEnding"),f):n(M):nn(M)?ln(e,l,"whitespace")(M):(A+=1,s&&(s=!1,i+=1),M===124?(e.enter("tableCellDivider"),e.consume(M),e.exit("tableCellDivider"),s=!0,l):(e.enter("data"),c(M)))}function c(M){return M===null||M===124||Un(M)?(e.exit("data"),l(M)):(e.consume(M),M===92?p:c)}function p(M){return M===92||M===124?(e.consume(M),c):c(M)}function f(M){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(M):(e.enter("tableDelimiterRow"),s=!1,nn(M)?ln(e,x,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(M):x(M))}function x(M){return M===45||M===58?E(M):M===124?(s=!0,e.enter("tableCellDivider"),e.consume(M),e.exit("tableCellDivider"),b):N(M)}function b(M){return nn(M)?ln(e,E,"whitespace")(M):E(M)}function E(M){return M===58?(A+=1,s=!0,e.enter("tableDelimiterMarker"),e.consume(M),e.exit("tableDelimiterMarker"),v):M===45?(A+=1,v(M)):M===null||jt(M
vendor: 6,260 bytes, line 251
251)?U(M):N(M)}function v(M){return M===45?(e.enter("tableDelimiterFiller"),B(M)):N(M)}function B(M){return M===45?(e.consume(M),B):M===58?(s=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(M),e.exit("tableDelimiterMarker"),F):(e.exit("tableDelimiterFiller"),F(M))}function F(M){return nn(M)?ln(e,U,"whitespace")(M):U(M)}function U(M){return M===124?x(M):M===null||jt(M)?!s||i!==A?N(M):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(M)):N(M)}function N(M){return n(M)}function P(M){return e.enter("tableRow"),$(M)}function $(M){return M===124?(e.enter("tableCellDivider"),e.consume(M),e.exit("tableCellDivider"),$):M===null||jt(M)?(e.exit("tableRow"),t(M)):nn(M)?ln(e,$,"whitespace")(M):(e.enter("data"),G(M))}function G(M){return M===null||M===124||Un(M)?(e.exit("data"),$(M)):(e.consume(M),M===92?te:G)}function te(M){return M===92||M===124?(e.consume(M),G):G(M)}}function PH(e,t){let n=-1,r=!0,i=0,A=[0,0,0,0],s=[0,0,0,0],a=!1,o=0,u,l,c;const p=new kH;for(;++n<e.length;){const f=e[n],x=f[1];f[0]==="enter"?x.type==="tableHead"?(a=!1,o!==0&&(Rb(p,t,o,u,l),l=void 0,o=0),u={type:"table",start:Object.assign({},x.start),end:Object.assign({},x.end)},p.add(n,0,[["enter",u,t]])):x.type==="tableRow"||x.type==="tableDelimiterRow"?(r=!0,c=void 0,A=[0,0,0,0],s=[0,n+1,0,0],a&&(a=!1,l={type:"tableBody",start:Object.assign({},x.start),end:Object.assign({},x.end)},p.add(n,0,[["enter",l,t]])),i=x.type==="tableDelimiterRow"?2:l?3:1):i&&(x.type==="data"||x.type==="tableDelimiterMarker"||x.type==="tableDelimiterFiller")?(r=!1,s[2]===0&&(A[1]!==0&&(s[0]=s[1],c=lg(p,t,A,i,void 0,c),A=[0,0,0,0]),s[2]=n)):x.type==="tableCellDivider"&&(r?r=!1:(A[1]!==0&&(s[0]=s[1],c=lg(p,t,A,i,void 0,c)),A=s,s=[A[1],n,0,0])):x.type==="tableHead"?(a=!0,o=n):x.type==="tableRow"||x.type==="tableDelimiterRow"?(o=n,A[1]!==0?(s[0]=s[1],c=lg(p,t,A,i,n,c)):s[1]!==0&&(c=lg(p,t,s,i,n,c)),i=0):i&&(x.type==="data"||x.type==="tableDelimiterMarker"||x.type==="tableDelimiterFiller")&&(s[3]=n)}for(o!==0&&Rb(p,t,o,u,l),p.consume(t.events),n=-1;++n<t.events.length;){const f=t.events[n];f[0]==="enter"&&f[1].type==="table"&&(f[1]._align=LH(t.events,n))}return e}function lg(e,t,n,r,i,A){const s=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",a="tableContent";n[0]!==0&&(A.end=Object.assign({},Ic(t.events,n[0])),e.add(n[0],0,[["exit",A,t]]));const o=Ic(t.events,n[1]);if(A={type:s,start:Object.assign({},o),end:Object.assign({},o)},e.add(n[1],0,[["enter",A,t]]),n[2]!==0){const u=Ic(t.events,n[2]),l=Ic(t.events,n[3]),c={type:a,start:Object.assign({},u),end:Object.assign({},l)};if(e.add(n[2],0,[["enter",c,t]]),r!==2){const p=t.events[n[2]],f=t.events[n[3]];if(p[1].end=Object.assign({},f[1].end),p[1].type="chunkText",p[1].contentType="text",n[3]>n[2]+1){const x=n[2]+1,b=n[3]-n[2]-1;e.add(x,b,[])}}e.add(n[3]+1,0,[["exit",c,t]])}return i!==void 0&&(A.end=Object.assign({},Ic(t.events,i)),e.add(i,0,[["exit",A,t]]),A=void 0),A}function Rb(e,t,n,r,i){const A=[],s=Ic(t.events,n);i&&(i.end=Object.assign({},s),A.push(["exit",i,t])),r.end=Object.assign({},s),A.push(["exit",r,t]),e.add(n+1,0,A)}function Ic(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const TH={name:"tasklistCheck",tokenize:RH};function OH(){return{text:{91:TH}}}function RH(e,t,n){const r=this;return i;function i(o){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(o):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(o),e.exit("taskListCheckMarker"),A)}function A(o){return Un(o)?(e.enter("taskListCheckValueUnchecked"),e.consume(o),e.exit("taskListCheckValueUnchecked"),s):o===88||o===120?(e.enter("taskListCheckValueChecked"),e.consume(o),e.exit("taskListCheckValueChecked"),s):n(o)}function s(o){return o===93?(e.enter("taskListCheckMarker"),e.consume(o),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),a):n(o)}function a(o){return jt(o)?t(o):nn(o)?e.check({tokenize:DH},t,n)(o):n(o)}}function DH(e,t,n){return ln(e,r,"whitespace");function r(i){return i===null?n(i):t(i)}}function HH(e){return jE([fH(),xH(),QH(e),jH(),OH()])}const MH={};function KH(e){const t=this,n=e||MH,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),A=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),s=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(HH(n)),A.push(aH()),s.push(lH(n))}var F_={exports:{}};function Cn(e){"@babel/helpers - typeof";return Cn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Cn(e)}var Bi=Uint8Array,UA=Uint16Array,iB=Int32Array,l0=new Bi([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]),u0=new Bi([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]),My=new Bi([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),S_=function(e,t){for(var n=new UA(31),r=0;r<31;++r)n[r]=t+=1<<e[r-1];for(var i=new iB(n[30]),r=1;r<30;++r)for(var A=n[r];A<n[r+1];++A)i[A]=A-n[r]<<5|r;return{b:n,r:i}},E_=S_(l0,2),__=E_.b,Ky=E_.r;__[28]=258,Ky[258]=28;var U_=S_(u0,0),zH=U_.b,Db=U_.r,zy=new UA(32768);for(var Rn=0;Rn<32768;++Rn){var Oa=(Rn&43690)>>1|(Rn&21845)<<1;Oa=(Oa&52428)>>2|(Oa&13107)<<2,Oa=(Oa&61680)>>4|(Oa&3855)<<4,zy[Rn]=((Oa&65280)>>8|(Oa&255)<<8)>>1}var oo=function(e,t,n){for(var r=e.length,i=0,A=new UA(t);i<r;++i)e[i]&&++A[e[i]-1];var s=new UA(t);for(i=1;i<t;++i)s[i]=s[i-1]+A[i-1]<<1;var a;if(n){a=new UA(1<<t);var o=15-t;for(i=0;i<r;++i)if(e[i])for(var u=i<<4|e[i],l=t-e[i],c=s[e[i]-1]++<<l,p=c|(1<<l)-1;c<=p;++c)a[zy[c]>>o]=u}else for(a=new UA(r),i=0;i<r;++i)e[i]&&(a[i]=zy[s[e[i]-1]++]>>15-e[i]);return a},hl=new Bi(288);for(var Rn=0;Rn<144;++Rn)hl[Rn]=8;for(var Rn=144;Rn<256;++Rn)hl[Rn]=9;for(var Rn=256;Rn<280;++Rn)hl[Rn]=7;for(var Rn=280;Rn<288;++Rn)hl[Rn]=8;var Cd=new Bi(32);for(var Rn=0;Rn<32;++Rn)Cd[Rn]=5;var VH=oo(hl,9,0),GH=oo(hl,9,1),$H=oo(Cd,5,0),WH=oo(Cd,5,1),iw=function(e){for(var t=e[0],n=1;n<e.length;++n)e[n]>t&&(t=e[n]);return t},fs=function(e,t,n){var r=t/8|0;return(e[r]|e[r+1]<<8)>>(t&7)&n},Aw=function(e,t){var n=t/8|0;return(e[n]|e[n+1]<<8|e[n+2]<<16)>>(t&7)},AB=function(e){return(e+7)/8|0},Q_=function(e,t,n){return(n==null||n>e.length)&&(n=e.length),new Bi(e.subarray(t,n))}
vendor: 5,377 bytes, line 251
251,qH=["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"],ms=function(e,t,n){var r=new Error(t||qH[e]);if(r.code=e,Error.captureStackTrace&&Error.captureStackTrace(r,ms),!n)throw r;return r},JH=function(e,t,n,r){var i=e.length,A=0;if(!i||t.f&&!t.l)return n||new Bi(0);var s=!n,a=s||t.i!=2,o=t.i;s&&(n=new Bi(i*3));var u=function(Ke){var Ve=n.length;if(Ke>Ve){var We=new Bi(Math.max(Ve*2,Ke));We.set(n),n=We}},l=t.f||0,c=t.p||0,p=t.b||0,f=t.l,x=t.d,b=t.m,E=t.n,v=i*8;do{if(!f){l=fs(e,c,1);var B=fs(e,c+1,3);if(c+=3,B)if(B==1)f=GH,x=WH,b=9,E=5;else if(B==2){var P=fs(e,c,31)+257,$=fs(e,c+10,15)+4,G=P+fs(e,c+5,31)+1;c+=14;for(var te=new Bi(G),M=new Bi(19),j=0;j<$;++j)M[My[j]]=fs(e,c+j*3,7);c+=$*3;for(var D=iw(M),X=(1<<D)-1,J=oo(M,D,1),j=0;j<G;){var Ae=J[fs(e,c,X)];c+=Ae&15;var F=Ae>>4;if(F<16)te[j++]=F;else{var le=0,we=0;for(F==16?(we=3+fs(e,c,3),c+=2,le=te[j-1]):F==17?(we=3+fs(e,c,7),c+=3):F==18&&(we=11+fs(e,c,127),c+=7);we--;)te[j++]=le}}var re=te.subarray(0,P),ce=te.subarray(P);b=iw(re),E=iw(ce),f=oo(re,b,1),x=oo(ce,E,1)}else ms(1);else{var F=AB(c)+4,U=e[F-4]|e[F-3]<<8,N=F+U;if(N>i){o&&ms(0);break}a&&u(p+U),n.set(e.subarray(F,N),p),t.b=p+=U,t.p=c=N*8,t.f=l;continue}if(c>v){o&&ms(0);break}}a&&u(p+131072);for(var H=(1<<b)-1,Ue=(1<<E)-1,T=c;;T=c){var le=f[Aw(e,c)&H],L=le>>4;if(c+=le&15,c>v){o&&ms(0);break}if(le||ms(2),L<256)n[p++]=L;else if(L==256){T=c,f=null;break}else{var ne=L-254;if(L>264){var j=L-257,oe=l0[j];ne=fs(e,c,(1<<oe)-1)+__[j],c+=oe}var ae=x[Aw(e,c)&Ue],ve=ae>>4;ae||ms(3),c+=ae&15;var ce=zH[ve];if(ve>3){var oe=u0[ve];ce+=Aw(e,c)&(1<<oe)-1,c+=oe}if(c>v){o&&ms(0);break}a&&u(p+131072);var be=p+ne;if(p<ce){var Se=A-ce,Me=Math.min(ce,be);for(Se+p<0&&ms(3);p<Me;++p)n[p]=r[Se+p]}for(;p<be;++p)n[p]=n[p-ce]}}t.l=f,t.p=T,t.b=p,t.f=l,f&&(l=1,t.m=b,t.d=x,t.n=E)}while(!l);return p!=n.length&&s?Q_(n,0,p):n.subarray(0,p)},To=function(e,t,n){n<<=t&7;var r=t/8|0;e[r]|=n,e[r+1]|=n>>8},yh=function(e,t,n){n<<=t&7;var r=t/8|0;e[r]|=n,e[r+1]|=n>>8,e[r+2]|=n>>16},sw=function(e,t){for(var n=[],r=0;r<e.length;++r)e[r]&&n.push({s:r,f:e[r]});var i=n.length,A=n.slice();if(!i)return{t:I_,l:0};if(i==1){var s=new Bi(n[0].s+1);return s[n[0].s]=1,{t:s,l:1}}n.sort(function(N,P){return N.f-P.f}),n.push({s:-1,f:25001});var a=n[0],o=n[1],u=0,l=1,c=2;for(n[0]={s:-1,f:a.f+o.f,l:a,r:o};l!=i-1;)a=n[n[u].f<n[c].f?u++:c++],o=n[u!=l&&n[u].f<n[c].f?u++:c++],n[l++]={s:-1,f:a.f+o.f,l:a,r:o};for(var p=A[0].s,r=1;r<i;++r)A[r].s>p&&(p=A[r].s);var f=new UA(p+1),x=Vy(n[l-1],f,0);if(x>t){var r=0,b=0,E=x-t,v=1<<E;for(A.sort(function(P,$){return f[$.s]-f[P.s]||P.f-$.f});r<i;++r){var B=A[r].s;if(f[B]>t)b+=v-(1<<x-f[B]),f[B]=t;else break}for(b>>=E;b>0;){var F=A[r].s;f[F]<t?b-=1<<t-f[F]++-1:++r}for(;r>=0&&b;--r){var U=A[r].s;f[U]==t&&(--f[U],++b)}x=t}return{t:new Bi(f),l:x}},Vy=function(e,t,n){return e.s==-1?Math.max(Vy(e.l,t,n+1),Vy(e.r,t,n+1)):t[e.s]=n},Hb=function(e){for(var t=e.length;t&&!e[--t];);for(var n=new UA(++t),r=0,i=e[0],A=1,s=function(o){n[r++]=o},a=1;a<=t;++a)if(e[a]==i&&a!=t)++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=e[a]}return{c:n.subarray(0,r),n:t}},vh=function(e,t){for(var n=0,r=0;r<t.length;++r)n+=e[r]*t[r];return n},k_=function(e,t,n){var r=n.length,i=AB(t+2);e[i]=r&255,e[i+1]=r>>8,e[i+2]=e[i]^255,e[i+3]=e[i+1]^255;for(var A=0;A<r;++A)e[i+A+4]=n[A];return(i+4+r)*8},Mb=function(e,t,n,r,i,A,s,a,o,u,l){To(t,l++,n),++i[256];for(var c=sw(i,15),p=c.t,f=c.l,x=sw(A,15),b=x.t,E=x.l,v=Hb(p),B=v.c,F=v.n,U=Hb(b),N=U.c,P=U.n,$=new UA(19),G=0;G<B.length;++G)++$[B[G]&31];for(var G=0;G<N.length;++G)++$[N[G]&31];for(var te=sw($,7),M=te.t,j=te.l,D=19;D>4&&!M[My[D-1]];--D);var X=u+5<<3,J=vh(i,hl)+vh(A,Cd)+s,Ae=vh(i,p)+vh(A,b)+s+14+3*D+vh($,M)+2*$[16]+3*$[17]+7*$[18];if(o>=0&&X<=J&&X<=Ae)return k_(t,l,e.subarray(o,o+u));var le,we,re,ce;if(To(t,l,1+(Ae<J)),l+=2,Ae<J){le=oo(p,f,0),we=p,re=oo(b,E,0),ce=b;var H=oo(M,j,0);To(t,l,F-257),To(t,l+5,P-1),To(t,l+10,D-4),l+=14;for(var G=0;G<D;++G)To(t,l+3*G,M[My[G]]);l+=3*D;for(var Ue=[B,N],T=0;T<2;++T)for(var L=Ue[T],G=0;G<L.length;++G){var ne=L[G]&31;To(t,l,H[ne]),l+=M[ne],ne>15&&(To(t,l,L[G]>>5&127),l+=L[G]>>12)}}else le=VH,we=hl,re=$H,ce=Cd;for(var G=0;G<a;++G){var oe=r[G];if(oe>255){var ne=oe>>18&31;yh(t,l,le[ne+257]),l+=we[ne+257],ne>7&&(To(t,l,oe>>23&31),l+=l0[ne]);var ae=oe&31;yh(t,l,re[ae]),l+=ce[ae],ae>3&&(yh(t,l,oe>>5&8191),l+=u0[ae])}else yh(t,l,le[oe]),l+=we[oe]}return yh(t,l,le[256]),l+we[256]},XH=new iB([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),I_=new Bi(0),YH=function(e,t,n,r,i,A){var s=A.z||e.length,a=new Bi(r+s+5*(1+Math.ceil(s/7e3))+i),o=a.subarray(r,a.length-i),u=A.l,l=(A.r||0)&7;if(t){l&&(o[0]=A.r>>3);for(var c=XH[t-1],p=c>>13,f=c&8191,x=(1<<n)-1,b=A.p||new UA(32768),E=A.h||new UA(x+1),v=Math.ceil(n/3),B=2*v,F=function(wt){return(e[wt]^e[wt+1]<<v^e[wt+2]<<B)&x},U=new iB(25e3),N=new UA(288),P=new UA(32),$=0,G=0,te=A.i||0,M=0,j=A.w||0,D=0;te+2<s;++te){var X=F(te),J=te&32767,Ae=E[X];if(b[J]=Ae,E[X]=J,j<=te){var le=s-te;if(($>7e3||M>24576)&&(le>423||!u)){l=Mb(e,o,0,U,N,P,G,M,D,te-D,l),M=$=G=0,D=te;
vendor: 6,471 bytes, lines 251-256
251for(var we=0;we<286;++we)N[we]=0;for(var we=0;we<30;++we)P[we]=0}var re=2,ce=0,H=f,Ue=J-Ae&32767;if(le>2&&X==F(te-Ue))for(var T=Math.min(p,le)-1,L=Math.min(32767,te),ne=Math.min(258,le);Ue<=L&&--H&&J!=Ae;){if(e[te+re]==e[te+re-Ue]){for(var oe=0;oe<ne&&e[te+oe]==e[te+oe-Ue];++oe);if(oe>re){if(re=oe,ce=Ue,oe>T)break;for(var ae=Math.min(Ue,oe-2),ve=0,we=0;we<ae;++we){var be=te-Ue+we&32767,Se=b[be],Me=be-Se&32767;Me>ve&&(ve=Me,Ae=be)}}}J=Ae,Ae=b[J],Ue+=J-Ae&32767}if(ce){U[M++]=268435456|Ky[re]<<18|Db[ce];var Ke=Ky[re]&31,Ve=Db[ce]&31;G+=l0[Ke]+u0[Ve],++N[257+Ke],++P[Ve],j=te+re,++$}else U[M++]=e[te],++N[e[te]]}}for(te=Math.max(te,j);te<s;++te)U[M++]=e[te],++N[e[te]];l=Mb(e,o,u,U,N,P,G,M,D,te-D,l),u||(A.r=l&7|o[l/8|0]<<3,l-=7,A.h=E,A.p=b,A.i=te,A.w=j)}else{for(var te=A.w||0;te<s+u;te+=65535){var We=te+65535;We>=s&&(o[l/8|0]=u,We=s),l=k_(o,l+1,e.subarray(te,We))}A.i=s}return Q_(a,0,r+AB(l)+i)},L_=function(){var e=1,t=0;return{p:function(n){for(var r=e,i=t,A=n.length|0,s=0;s!=A;){for(var a=Math.min(s+2655,A);s<a;++s)i+=r+=n[s];r=(r&65535)+15*(r>>16),i=(i&65535)+15*(i>>16)}e=r,t=i},d:function(){return e%=65521,t%=65521,(e&255)<<24|(e&65280)<<8|(t&255)<<8|t>>8}}},ZH=function(e,t,n,r,i){if(!i&&(i={l:1},t.dictionary)){var A=t.dictionary.subarray(-32768),s=new Bi(A.length+e.length);s.set(A),s.set(e,A.length),e=s,i.w=A.length}return YH(e,t.level==null?6:t.level,t.mem==null?i.l?Math.ceil(Math.max(8,Math.min(13,Math.log(e.length)))*1.5):20:12+t.mem,n,r,i)},j_=function(e,t,n){for(;n;++t)e[t]=n,n>>>=8},e7=function(e,t){var n=t.level,r=n==0?0:n<6?1:n==9?3:2;if(e[0]=120,e[1]=r<<6|(t.dictionary&&32),e[1]|=31-(e[0]<<8|e[1])%31,t.dictionary){var i=L_();i.p(t.dictionary),j_(e,2,i.d())}},t7=function(e,t){return((e[0]&15)!=8||e[0]>>4>7||(e[0]<<8|e[1])%31)&&ms(6,"invalid zlib data"),(e[1]>>5&1)==+!t&&ms(6,"invalid zlib data: "+(e[1]&32?"need":"unexpected")+" dictionary"),(e[1]>>3&4)+2};function Gy(e,t){t||(t={});var n=L_();n.p(e);var r=ZH(e,t,t.dictionary?6:2,4);return e7(r,t),j_(r,r.length-4,n.d()),r}function n7(e,t){return JH(e.subarray(t7(e,t),-4),{i:2},t,t)}var r7=typeof TextDecoder<"u"&&new TextDecoder,i7=0;try{r7.decode(I_,{stream:!0}),i7=1}catch{}var Ot=function(){return typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:this}();function ow(){Ot.console&&typeof Ot.console.log=="function"&&Ot.console.log.apply(Ot.console,arguments)}var _n={log:ow,warn:function(e){Ot.console&&(typeof Ot.console.warn=="function"?Ot.console.warn.apply(Ot.console,arguments):ow.call(null,arguments))},error:function(e){Ot.console&&(typeof Ot.console.error=="function"?Ot.console.error.apply(Ot.console,arguments):ow(e))}};function aw(e,t,n){var r=new XMLHttpRequest;r.open("GET",e),r.responseType="blob",r.onload=function(){Yl(r.response,t,n)},r.onerror=function(){_n.error("could not download file")},r.send()}function Kb(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch{}return t.status>=200&&t.status<=299}function ug(e){try{e.dispatchEvent(new MouseEvent("click"))}catch{var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var qh,$y,Yl=Ot.saveAs||((typeof window>"u"?"undefined":Cn(window))!=="object"||window!==Ot?function(){}:typeof HTMLAnchorElement<"u"&&"download"in HTMLAnchorElement.prototype?function(e,t,n){var r=Ot.URL||Ot.webkitURL,i=document.createElement("a");t=t||e.name||"download",i.download=t,i.rel="noopener",typeof e=="string"?(i.href=e,i.origin!==location.origin?Kb(i.href)?aw(e,t,n):ug(i,i.target="_blank"):ug(i)):(i.href=r.createObjectURL(e),setTimeout(function(){r.revokeObjectURL(i.href)},4e4),setTimeout(function(){ug(i)},0))}:"msSaveOrOpenBlob"in navigator?function(e,t,n){if(t=t||e.name||"download",typeof e=="string")if(Kb(e))aw(e,t,n);else{var r=document.createElement("a");r.href=e,r.target="_blank",setTimeout(function(){ug(r)})}else navigator.msSaveOrOpenBlob(function(i,A){return A===void 0?A={autoBom:!1}:Cn(A)!=="object"&&(_n.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}(e,n),t)}:function(e,t,n,r){if((r=r||open("","_blank"))&&(r.document.title=r.document.body.innerText="downloading..."),typeof e=="string")return aw(e,t,n);var i=e.type==="application/octet-stream",A=/constructor/i.test(Ot.HTMLElement)||Ot.safari,s=/CriOS\/[\d]+/.test(navigator.userAgent);if((s||i&&A)&&(typeof FileReader>"u"?"undefined":Cn(FileReader))==="object"){var a=new FileReader;a.onloadend=function(){var l=a.result;l=s?l:l.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=l:location=l,r=null},a.readAsDataURL(e)}else{var o=Ot.URL||Ot.webkitURL,u=o.createObjectURL(e);r?r.location=u:location.href=u,r=null,setTimeout(function(){o.revokeObjectURL(u)},4e4)}});/**
252 * A class to parse color values
253 * @author Stoyan Stefanov <[email protected]>
254 * {@link   http://www.phpied.com/rgb-color-parser-in-javascript/}
255 * @license Use it if you like it
256 */function N_(e){var t;e=e||"",this.ok=!1,e.charAt(0)=="#"&&(e=e.substr(1,6)),e={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
2560",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"}[e=(e=e.replace(/ /g,"")).toLowerCase()]||e;for(var n=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(a){return[parseInt(a[1]),parseInt(a[2]),parseInt(a[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(a){return[parseInt(a[1],16),parseInt(a[2],16),parseInt(a[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(a){return[parseInt(a[1]+a[1],16),parseInt(a[2]+a[2],16),parseInt(a[3]+a[3],16)]}}],r=0;r<n.length;r++){var i=n[r].re,A=n[r].process,s=i.exec(e);s&&(t=A(s),this.r=t[0],this.g=t[1],this.b=t[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 a=this.r.toString(16),o=this.g.toString(16),u=this.b.toString(16);return a.length==1&&(a="0"+a),o.length==1&&(o="0"+o),u.length==1&&(u="0"+u),"#"+a+o+u}}/**
257 * @license
258 * Joseph Myers does not specify a particular license for his work.
259 *
260 * Author: Joseph Myers
261 * Accessed from: http://www.myersdaily.org/joseph/javascript/md5.js
262 *
263 * Modified by: Owen Leong
264 */function lw(e,t){var n=e[0],r=e[1],i=e[2],A=e[3];n=pi(n,r,i,A,t[0],7,-680876936),A=pi(A,n,r,i,t[1],12,-389564586),i=pi(i,A,n,r,t[2],17,606105819),r=pi(r,i,A,n,t[3],22,-1044525330),n=pi(n,r,i,A,t[4],7,-176418897),A=pi(A,n,r,i,t[5],12,1200080426),i=pi(i,A,n,r,t[6],17,-1473231341),r=pi(r,i,A,n,t[7],22,-45705983),n=pi(n,r,i,A,t[8],7,1770035416),A=pi(A,n,r,i,t[9],12,-1958414417),i=pi(i,A,n,r,t[10],17,-42063),r=pi(r,i,A,n,t[11],22,-1990404162),n=pi(n,r,i,A,t[12],7,1804603682),A=pi(A,n,r,i,t[13],12,-40341101),i=pi(i,A,n,r,t[14],17,-1502002290),n=gi(n,r=pi(r,i,A,n,t[15],22,1236535329),i,A,t[1],5,-165796510),A=gi(A,n,r,i,t[6],9,-1069501632),i=gi(i,A,n,r,t[11],14,643717713),r=gi(r,i,A,n,t[0],20,-373897302),n=gi(n,r,i,A,t[5],5,-701558691),A=gi(A,n,r,i,t[10],9,38016083),i=gi(i,A,n,r,t[15],14,-660478335),r=gi(r,i,A,n,t[4],20,-405537848),n=gi(n,r,i,A,t[9],5,568446438),A=gi(A,n,r,i,t[14],9,-1019803690),i=gi(i,A,n,r,t[3],14,-187363961),r=gi(r,i,A,n,t[8],20,1163531501),n=gi(n,r,i,A,t[13],5,-1444681467),A=gi(A,n,r,i,t[2],9,-51403784),i=gi(i,A,n,r,t[7],14,1735328473),n=mi(n,r=gi(r,i,A,n,t[12],20,-1926607734),i,A,t[5],4,-378558),A=mi(A,n,r,i,t[8],11,-2022574463),i=mi(i,A,n,r,t[11],16,1839030562),r=mi(r,i,A,n,t[14],23,-35309556),n=mi(n,r,i,A,t[1],4,-1530992060),A=mi(A,n,r,i,t[4],11,1272893353),i=mi(i,A,n,r,t[7],16,-155497632),r=mi(r,i,A,n,t[10],23,-1094730640),n=mi(n,r,i,A,t[13],4,681279174),A=mi(A,n,r,i,t[0],11,-358537222),i=mi(i,A,n,r,t[3],16,-722521979),r=mi(r,i,A,n,t[6],23,76029189),n=mi(n,r,i,A,t[9],4,-640364487),A=mi(A,n,r,i,t[12],11,-421815835),i=mi(i,A,n,r,t[15],16,530742520),n=wi(n,r=mi(r,i,A,n,t[2],23,-995338651),i,A,t[0],6,-198630844),A=wi(A,n,r,i,t[7],10,1126891415),i=wi(i,A,n,r,t[14],15,-1416354905),r=wi(r,i,A,n,t[5],21,-57434055),n=wi(n,r,i,A,t[12],6,1700485571),A=wi(A,n,r,i,t[3],10,-1894986606),i=wi(i,A,n,r,t[10],15,-1051523),r=wi(r,i,A,n,t[1],21,-2054922799),n=wi(n,r,i,A,t[8],6,1873313359),A=wi(A,n,r,i,t[15],10,-30611744),i=wi(i,A,n,r,t[6],15,-1560198380),r=wi(r,i,A,n,t[13],21,1309151649),n=wi(n,r,i,A,t[4],6,-145523070),A=wi(A,n,r,i,t[11],10,-1120210379),i=wi(i,A,n,r,t[2],15,718787259),r=wi(r,i,A,n,t[9],21,-343485551),e[0]=Ya(n,e[0]),e[1]=Ya(r,e[1]),e[2]=Ya(i,e[2]),e[3]=Ya(A,e[3])}function c0(e,t,n,r,i,A){return t=Ya(Ya(t,e),Ya(r,A)),Ya(t<<i|t>>>32-i,n)}function pi(e,t,n,r,i,A,s){return c0(t&n|~t&r,e,t,i,A,s)}function gi(e,t,n,r,i,A,s){return c0(t&r|n&~r,e,t,i,A,s)}function mi(e,t,n,r,i,A,s){return c0(t^n^r,e,t,i,A,s)}function wi(e,t,n,r,i,A,s){return c0(n^(t|~r),e,t,i,A,s)}function P_(e){var t,n=e.length,r=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=e.length;t+=64)lw(r,A7(e.substring(t-64,t)));e=e.substring(t-64);var i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<e.length;t++)i[t>>2]|=e.charCodeAt(t)<<(t%4<<3);if(i[t>>2]|=128<<(t%4<<3),t>55)for(lw(r,i),t=0;t<16;t++)i[t]=0;
vendor: 9,414 bytes, lines 264-281
264return i[14]=8*n,lw(r,i),r}function A7(e){var t,n=[];for(t=0;t<64;t+=4)n[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return n}qh=Ot.atob.bind(Ot),$y=Ot.btoa.bind(Ot);var zb="0123456789abcdef".split("");function s7(e){for(var t="",n=0;n<4;n++)t+=zb[e>>8*n+4&15]+zb[e>>8*n&15];return t}function o7(e){return String.fromCharCode((255&e)>>0,(65280&e)>>8,(16711680&e)>>16,(4278190080&e)>>24)}function Wy(e){return P_(e).map(o7).join("")}var a7=function(e){for(var t=0;t<e.length;t++)e[t]=s7(e[t]);return e.join("")}(P_("hello"))!="5d41402abc4b2a76b9719d911017c592";function Ya(e,t){if(a7){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}return e+t&4294967295}/**
265 * @license
266 * FPDF is released under a permissive license: there is no usage restriction.
267 * You may embed it freely in your application (commercial or not), with or
268 * without modifications.
269 *
270 * Reference: http://www.fpdf.org/en/script/script37.php
271 */function qy(e,t){var n,r,i,A;if(e!==n){for(var s=(i=e,A=1+(256/e.length>>0),new Array(A+1).join(i)),a=[],o=0;o<256;o++)a[o]=o;var u=0;for(o=0;o<256;o++){var l=a[o];u=(u+l+s.charCodeAt(o))%256,a[o]=a[u],a[u]=l}n=e,r=a}else a=r;var c=t.length,p=0,f=0,x="";for(o=0;o<c;o++)f=(f+(l=a[p=(p+1)%256]))%256,a[p]=a[f],a[f]=l,s=a[(a[p]+a[f])%256],x+=String.fromCharCode(t.charCodeAt(o)^s);return x}/**
272 * @license
273 * Licensed under the MIT License.
274 * http://opensource.org/licenses/mit-license
275 * Author: Owen Leong (@owenl131)
276 * Date: 15 Oct 2020
277 * References:
278 * https://www.cs.cmu.edu/~dst/Adobe/Gallery/anon21jul01-pdf-encryption.txt
279 * https://github.com/foliojs/pdfkit/blob/master/lib/security.js
280 * http://www.fpdf.org/en/script/script37.php
281 */var Vb={print:4,modify:8,copy:16,"annot-forms":32};function Lc(e,t,n,r){this.v=1,this.r=2;var i=192;e.forEach(function(a){if(Vb.perm!==void 0)throw new Error("Invalid permission: "+a);i+=Vb[a]}),this.padding="(¿N^NuŠAd\0NVÿú�\b..\0¶Ðh>€/\f©þdSiz";var A=(t+this.padding).substr(0,32),s=(n+this.padding).substr(0,32);this.O=this.processOwnerPassword(A,s),this.P=-(1+(255^i)),this.encryptionKey=Wy(A+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(r)).substr(0,5),this.U=qy(this.encryptionKey,this.padding)}function jc(e){if(/[^\u0000-\u00ff]/.test(e))throw new Error("Invalid PDF Name Object: "+e+", Only accept ASCII characters.");for(var t="",n=e.length,r=0;r<n;r++){var i=e.charCodeAt(r);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?t+="#"+("0"+i.toString(16)).slice(-2):t+=e[r]}return t}function Gb(e){if(Cn(e)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var t={};this.subscribe=function(n,r,i){if(i=i||!1,typeof n!="string"||typeof r!="function"||typeof i!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");t.hasOwnProperty(n)||(t[n]={});var A=Math.random().toString(35);return t[n][A]=[r,!!i],A},this.unsubscribe=function(n){for(var r in t)if(t[r][n])return delete t[r][n],Object.keys(t[r]).length===0&&delete t[r],!0;return!1},this.publish=function(n){if(t.hasOwnProperty(n)){var r=Array.prototype.slice.call(arguments,1),i=[];for(var A in t[n]){var s=t[n][A];try{s[0].apply(e,r)}catch(a){Ot.console&&_n.error("jsPDF PubSub Error",a.message,a)}s[1]&&i.push(A)}i.length&&i.forEach(this.unsubscribe)}},this.getTopics=function(){return t}}function Fd(e){if(!(this instanceof Fd))return new Fd(e);var t="opacity,stroke-opacity".split(",");for(var n in e)e.hasOwnProperty(n)&&t.indexOf(n)>=0&&(this[n]=e[n]);this.id="",this.objectNumber=-1}function T_(e,t){this.gState=e,this.matrix=t,this.id="",this.objectNumber=-1}function Wa(e,t,n,r,i){if(!(this instanceof Wa))return new Wa(e,t,n,r,i);this.type=e==="axial"?2:3,this.coords=t,this.colors=n,T_.call(this,r,i)}function su(e,t,n,r,i){if(!(this instanceof su))return new su(e,t,n,r,i);this.boundingBox=e,this.xStep=t,this.yStep=n,this.stream="",this.cloneIndex=0,T_.call(this,r,i)}function Pt(e){var t,n=typeof arguments[0]=="string"?arguments[0]:"p",r=arguments[1],i=arguments[2],A=arguments[3],s=[],a=1,o=16,u="S",l=null;Cn(e=e||{})==="object"&&(n=e.orientation,r=e.unit||r,i=e.format||i,A=e.compress||e.compressPdf||A,(l=e.encryption||null)!==null&&(l.userPassword=l.userPassword||"",l.ownerPassword=l.ownerPassword||"",l.userPermissions=l.userPermissions||[]),a=typeof e.userUnit=="number"?Math.abs(e.userUnit):1,e.precision!==void 0&&(t=e.precision),e.floatPrecision!==void 0&&(o=e.floatPrecision),u=e.defaultPathOperation||"S"),s=e.filters||(A===!0?["FlateEncode"]:s),r=r||"mm",n=(""+(n||"P")).toLowerCase();var c=e.putOnlyUsedFonts||!1,p={},f={internal:{},__private__:{}};f.__private__.PubSub=Gb;var x="1.3",b=f.__private__.getPdfVersion=function(){return x};f.__private__.setPdfVersion=function(C){x=C};var E={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]};f.__private__.getPageFormats=function(){return E};var v=f.__private__.getPageFormat=function(C){return E[C]};i=i||"a4";var B={COMPAT:"compat",ADVANCED:"advanced"},F=B.COMPAT;function U(){this.saveGraphicsState(),se(new Ft(Be,0,0,-Be,0,Ps()*Be).toString()+" cm"),this.setFontSize(this.getFontSize()/Be),u="n",F=B.ADVANCED}function N(){this.restoreGraphicsState(),u="S",F=B.COMPAT}var P=f.__private__.combineFontStyleAndFontWeight=function(C,R){if(C=="bold"&&R=="normal"||C=="bold"&&R==400||C=="normal"&&R=="italic"||C=="bold"&&R=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return R&&(C=R==400||R==="normal"?C==="italic"?"italic":"normal":R!=700&&R!=="bold"||C!=="normal"?(R==700?"bold":R)+""+C:"bold"),C};f.advancedAPI=function(C){var R=F===B.COMPAT;return R&&U.call(this),typeof C!="function"||(C(this),R&&N.call(this)),this},f.compatAPI=function(C){var R=F===B.ADVANCED;return R&&N.call(this),typeof C!="function"||(C(this),R&&U.call(this)),this},f.isAdvancedAPI=function(){return F===B.ADVANCED};var $,G=function(C){if(F!==B.ADVANCED)throw new Error(C+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},te=f.roundToPrecision=f.__private__.roundToPrecision=function(C,R){var ie=t||R;if(isNaN(C)||isNaN(ie))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return C.toFixed(ie).replace(/0+$/,"")};$=f.hpf=f.__private__.hpf=typeof o=="number"?function(C){if(isNaN(C))throw new Error("Invalid argument passed to jsPDF.hpf");return te(C,o)}:o==="smart"?function(C){if(isNaN(C))throw new Error("Invalid argument passed to jsPDF.hpf");return te(C,C>-1&&C<1?16:5)}:function(C){if(isNaN(C))throw new Error("Invalid argument passed to jsPDF.hpf");return te(C,16)};var M=f.f2=f.__private__.f2=function(C){if(isNaN(C))throw new Error("Invalid argument passed to jsPDF.f2");return te(C,2)},j=f.__private__.f3=function(C){if(isNaN(C))throw new Error("Invalid argument passed to jsPDF.f3");return te(C,3)},D=f.scale=f.__private__.scale=function(C){if(isNaN(C))throw new Error("Invalid argument passed to jsPDF.scale");return F===B.COMPAT?C*Be:F===B.ADVANCED?C:void 0},X=function(C){return F===B.COMPAT?Ps()-C:F===B.ADVANCED?C:void 0},J=function(C){return D(X(C))};f.__private__.setPrecision=f.setPrecision=function(C){typeof parseInt(C,10)=="number"&&(t=parseInt(C,10))};var Ae,le="00000000000000000000000000000000",we=f.__private__.getFileId=function(){return le},re=f.__private__.setFileId=function(C){return le=C!==void 0&&/^[a-fA-F0-9]{32}$/.test(C)?C.toUpperCase():le.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),l!==null&&(Nr=new Lc(l.userPermissions,l.userPassword,l.ownerPassword,le)),le};f.setFileId=function(C){return re(C),this},f.getFileId=function(){return we()};var ce=f.__private__.convertDateToPDFDate=function(C){var R=C.getTimezoneOffset(),ie=R<0?"+":"-",ue=Math.floor(Math.abs(R/60)),xe=Math.abs(R%60),Ie=[ie,ne(ue),"'",ne(xe),"'"].join("");return["D:",C.getFullYear(),ne(C.getMonth()+1),ne(C.getDate()),ne(C.getHours()),ne(C.getMinutes()),ne(C.getSeconds()),Ie].join("")},H=f.__private__.convertPDFDateToDate=function(C){var R=parseInt(C.substr(2,4),10),ie=parseInt(C.substr(6,2),10)-1,ue=parseInt(C.substr(8,2),10),xe=parseInt(C.substr(10,2),10),Ie=parseInt(C.substr(12,2),10),Ge=parseInt(C.substr(14,2),10);return new Date(R,ie,ue,xe,Ie,Ge,0)},Ue=f.__private__.setCreationDate=function(C){var R;if(C===void 0&&(C=new Date),C instanceof Date)R=ce(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 
281jsPDF.setCreationDate");R=C}return Ae=R},T=f.__private__.getCreationDate=function(C){var R=Ae;return C==="jsDate"&&(R=H(Ae)),R};f.setCreationDate=function(C){return Ue(C),this},f.getCreationDate=function(C){return T(C)};var L,ne=f.__private__.padd2=function(C){return("0"+parseInt(C)).slice(-2)},oe=f.__private__.padd2Hex=function(C){return("00"+(C=C.toString())).substr(C.length)},ae=0,ve=[],be=[],Se=0,Me=[],Ke=[],Ve=!1,We=be,wt=function(){ae=0,Se=0,be=[],ve=[],Me=[],cA=Pn(),Di=Pn()};f.__private__.setCustomOutputDestination=function(C){Ve=!0,We=C};var Qe=function(C){Ve||(We=C)};f.__private__.resetCustomOutputDestination=function(){Ve=!1,We=be};var se=f.__private__.out=function(C){return C=C.toString(),Se+=C.length+1,We.push(C),We},Qt=f.__private__.write=function(C){return se(arguments.length===1?C.toString():Array.prototype.join.call(arguments," "))},rt=f.__private__.getArrayBuffer=function(C){for(var R=C.length,ie=new ArrayBuffer(R),ue=new Uint8Array(ie);R--;)ue[R]=C.charCodeAt(R);return ie},Pe=[["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]];f.__private__.getStandardFonts=function(){return Pe};var qe=e.fontSize||16;f.__private__.setFontSize=f.setFontSize=function(C){return qe=F===B.ADVANCED?C/Be:C,this};var it,tt=f.__private__.getFontSize=f.getFontSize=function(){return F===B.COMPAT?qe:qe*Be},mt=e.R2L||!1;f.__private__.setR2L=f.setR2L=function(C){return mt=C,this},f.__private__.getR2L=f.getR2L=function(){return mt};var kt,Ct=f.__private__.setZoomMode=function(C){var R=[void 0,null,"fullwidth","fullheight","fullpage","original"];
vendor: 24,928 bytes, lines 281-287
281if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(C))it=C;else if(isNaN(C)){if(R.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.');it=C}else it=parseInt(C,10)};f.__private__.getZoomMode=function(){return it};var Ce,je=f.__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.');kt=C};f.__private__.getPageMode=function(){return kt};var Je=f.__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.');Ce=C};f.__private__.getLayoutMode=function(){return Ce},f.__private__.setDisplayMode=f.setDisplayMode=function(C,R,ie){return Ct(C),Je(R),je(ie),this};var Ze={title:"",subject:"",author:"",keywords:"",creator:""};f.__private__.getDocumentProperty=function(C){if(Object.keys(Ze).indexOf(C)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return Ze[C]},f.__private__.getDocumentProperties=function(){return Ze},f.__private__.setDocumentProperties=f.setProperties=f.setDocumentProperties=function(C){for(var R in Ze)Ze.hasOwnProperty(R)&&C[R]&&(Ze[R]=C[R]);return this},f.__private__.setDocumentProperty=function(C,R){if(Object.keys(Ze).indexOf(C)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return Ze[C]=R};var ge,Be,Re,De,gt,At={},yt={},mn=[],Et={},ii={},sn={},jr={},Kt=null,st=0,Ye=[],dt=new Gb(f),Xt=e.hotfixes||[],en={},br={},Ai=[],Ft=function C(R,ie,ue,xe,Ie,Ge){if(!(this instanceof C))return new C(R,ie,ue,xe,Ie,Ge);isNaN(R)&&(R=1),isNaN(ie)&&(ie=0),isNaN(ue)&&(ue=0),isNaN(xe)&&(xe=1),isNaN(Ie)&&(Ie=0),isNaN(Ge)&&(Ge=0),this._matrix=[R,ie,ue,xe,Ie,Ge]};Object.defineProperty(Ft.prototype,"sx",{get:function(){return this._matrix[0]},set:function(C){this._matrix[0]=C}}),Object.defineProperty(Ft.prototype,"shy",{get:function(){return this._matrix[1]},set:function(C){this._matrix[1]=C}}),Object.defineProperty(Ft.prototype,"shx",{get:function(){return this._matrix[2]},set:function(C){this._matrix[2]=C}}),Object.defineProperty(Ft.prototype,"sy",{get:function(){return this._matrix[3]},set:function(C){this._matrix[3]=C}}),Object.defineProperty(Ft.prototype,"tx",{get:function(){return this._matrix[4]},set:function(C){this._matrix[4]=C}}),Object.defineProperty(Ft.prototype,"ty",{get:function(){return this._matrix[5]},set:function(C){this._matrix[5]=C}}),Object.defineProperty(Ft.prototype,"a",{get:function(){return this._matrix[0]},set:function(C){this._matrix[0]=C}}),Object.defineProperty(Ft.prototype,"b",{get:function(){return this._matrix[1]},set:function(C){this._matrix[1]=C}}),Object.defineProperty(Ft.prototype,"c",{get:function(){return this._matrix[2]},set:function(C){this._matrix[2]=C}}),Object.defineProperty(Ft.prototype,"d",{get:function(){return this._matrix[3]},set:function(C){this._matrix[3]=C}}),Object.defineProperty(Ft.prototype,"e",{get:function(){return this._matrix[4]},set:function(C){this._matrix[4]=C}}),Object.defineProperty(Ft.prototype,"f",{get:function(){return this._matrix[5]},set:function(C){this._matrix[5]=C}}),Object.defineProperty(Ft.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Ft.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Ft.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Ft.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),Ft.prototype.join=function(C){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map($).join(C)},Ft.prototype.multiply=function(C){var R=C.sx*this.sx+C.shy*this.shx,ie=C.sx*this.shy+C.shy*this.sy,ue=C.shx*this.sx+C.sy*this.shx,xe=C.shx*this.shy+C.sy*this.sy,Ie=C.tx*this.sx+C.ty*this.shx+this.tx,Ge=C.tx*this.shy+C.ty*this.sy+this.ty;return new Ft(R,ie,ue,xe,Ie,Ge)},Ft.prototype.decompose=function(){var C=this.sx,R=this.shy,ie=this.shx,ue=this.sy,xe=this.tx,Ie=this.ty,Ge=Math.sqrt(C*C+R*R),ut=(C/=Ge)*ie+(R/=Ge)*ue;ie-=C*ut,ue-=R*ut;var St=Math.sqrt(ie*ie+ue*ue);return ut/=St,C*(ue/=St)<R*(ie/=St)&&(C=-C,R=-R,ut=-ut,Ge=-Ge),{scale:new Ft(Ge,0,0,St,0,0),translate:new Ft(1,0,0,1,xe,Ie),rotate:new Ft(C,R,-R,C,0,0),skew:new Ft(1,0,ut,1,0,0)}},Ft.prototype.toString=function(C){return this.join(" ")},Ft.prototype.inversed=function(){var C=this.sx,R=this.shy,ie=this.shx,ue=this.sy,xe=this.tx,Ie=this.ty,Ge=1/(C*ue-R*ie),ut=ue*Ge,St=-R*Ge,Dt=-ie*Ge,Ht=C*Ge;return new Ft(ut,St,Dt,Ht,-ut*xe-Dt*Ie,-St*xe-Ht*Ie)},Ft.prototype.applyToPoint=function(C){var R=C.x*this.sx+C.y*this.shx+this.tx,ie=C.x*this.shy+C.y*this.sy+this.ty;return new la(R,ie)},Ft.prototype.applyToRectangle=function(C){var R=this.applyToPoint(C),ie=this.applyToPoint(new la(C.x+C.w,C.y+C.h));return new Ul(R.x,R.y,ie.x-R.x,ie.y-R.y)},Ft.prototype.clone=function(){var C=this.sx,R=this.shy,ie=this.shx,ue=this.sy,xe=this.tx,Ie=this.ty;return new Ft(C,R,ie,ue,xe,Ie)},f.Matrix=Ft;var uA=f.matrixMult=function(C,R){return R.multiply(C)},PA=new Ft(1,0,0,1,0,0);f.unitMatrix=f.identityMatrix=PA;var zr=function(C,R){if(!ii[C]){var ie=(R instanceof Wa?"Sh":"P")+(Object.keys(Et).length+1).toString(10);R.id=ie,ii[C]=ie,Et[ie]=R,dt.publish("addPattern",R)}};f.ShadingPattern=Wa,f.TilingPattern=su,f.addShadingPattern=function(C,R){return G("addShadingPattern()"),zr(C,R),this},f.beginTilingPattern=function(C){G("beginTilingPattern()"),zu(C.boundingBox[0],C.boundingBox[1],C.boundingBox[2]-C.boundingBox[0],C.boundingBox[3]-C.boundingBox[1],C.matrix)},f.endTilingPattern=function(C,R){G("endTilingPattern()"),R.stream=Ke[L].join(`
282`),zr(C,R),dt.publish("endTilingPattern",R),Ai.pop().restore()};var _t=f.__private__.newObject=function(){var C=Pn();return Vr(C,!0),C},Pn=f.__private__.newObjectDeferred=function(){return ae++,ve[ae]=function(){return Se},ae},Vr=function(C,R){return R=typeof R=="boolean"&&R,ve[C]=Se,R&&se(C+" 0 obj"),C},si=f.__private__.newAdditionalObject=function(){var C={objId:Pn(),content:""};return Me.push(C),C},cA=Pn(),Di=Pn(),Hi=f.__private__.decodeColorString=function(C){var R=C.split(" ");if(R.length!==2||R[1]!=="g"&&R[1]!=="G")R.length===5&&(R[4]==="k"||R[4]==="K")&&(R=[(1-R[0])*(1-R[3]),(1-R[1])*(1-R[3]),(1-R[2])*(1-R[3]),"r"]);else{var ie=parseFloat(R[0]);R=[ie,ie,ie,"r"]}for(var ue="#",xe=0;xe<3;xe++)ue+=("0"+Math.floor(255*parseFloat(R[xe])).toString(16)).slice(-2);return ue},fA=f.__private__.encodeColorString=function(C){var R;typeof C=="string"&&(C={ch1:C});var ie=C.ch1,ue=C.ch2,xe=C.ch3,Ie=C.ch4,Ge=C.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"];if(typeof ie=="string"&&ie.charAt(0)!=="#"){var ut=new N_(ie);if(ut.ok)ie=ut.toHex();else if(!/^\d*\.?\d*$/.test(ie))throw new Error('Invalid color "'+ie+'" passed to jsPDF.encodeColorString.')}if(typeof ie=="string"&&/^#[0-9A-Fa-f]{3}$/.test(ie)&&(ie="#"+ie[1]+ie[1]+ie[2]+ie[2]+ie[3]+ie[3]),typeof ie=="string"&&/^#[0-9A-Fa-f]{6}$/.test(ie)){var St=parseInt(ie.substr(1),16);ie=St>>16&255,ue=St>>8&255,xe=255&St}if(ue===void 0||Ie===void 0&&ie===ue&&ue===xe)if(typeof ie=="string")R=ie+" "+Ge[0];else switch(C.precision){case 2:R=M(ie/255)+" "+Ge[0];break;case 3:default:R=j(ie/255)+" "+Ge[0]}else if(Ie===void 0||Cn(Ie)==="object"){if(Ie&&!isNaN(Ie.a)&&Ie.a===0)return R=["1.","1.","1.",Ge[1]].join(" ");if(typeof ie=="string")R=[ie,ue,xe,Ge[1]].join(" ");else switch(C.precision){case 2:R=[M(ie/255),M(ue/255),M(xe/255),Ge[1]].join(" ");break;default:case 3:R=[j(ie/255),j(ue/255),j(xe/255),Ge[1]].join(" ")}}else if(typeof ie=="string")R=[ie,ue,xe,Ie,Ge[2]].join(" ");else switch(C.precision){case 2:R=[M(ie),M(ue),M(xe),M(Ie),Ge[2]].join(" ");break;case 3:default:R=[j(ie),j(ue),j(xe),j(Ie),Ge[2]].join(" ")}return R},hA=f.__private__.getFilters=function(){return s},Mi=f.__private__.putStream=function(C){var R=(C=C||{}).data||"",ie=C.filters||hA(),ue=C.alreadyAppliedFilters||[],xe=C.addLength1||!1,Ie=R.length,Ge=C.objectId,ut=function(Pr){return Pr};if(l!==null&&Ge===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");l!==null&&(ut=Nr.encryptor(Ge,0));var St={};ie===!0&&(ie=["FlateEncode"]);var Dt=C.additionalKeyValues||[],Ht=(St=Pt.API.processDataByFilters!==void 0?Pt.API.processDataByFilters(R,ie):{data:R,reverseChain:[]}).reverseChain+(Array.isArray(ue)?ue.join(" "):ue.toString());if(St.data.length!==0&&(Dt.push({key:"Length",value:St.data.length}),xe===!0&&Dt.push({key:"Length1",value:Ie})),Ht.length!=0)if(Ht.split("/").length-1==1)Dt.push({key:"Filter",value:Ht});else{Dt.push({key:"Filter",value:"["+Ht+"]"});for(var tn=0;tn<Dt.length;tn+=1)if(Dt[tn].key==="DecodeParms"){for(var yn=[],vn=0;vn<St.reverseChain.split("/").length-1;vn+=1)yn.push("null");yn.push(Dt[tn].value),Dt[tn].value="["+yn.join(" ")+"]"}}se("<<");for(var Tt=0;Tt<Dt.length;Tt++)se("/"+Dt[Tt].key+" "+Dt[Tt].value);se(">>"),St.data.length!==0&&(se("stream"),se(ut(St.data)),se("endstream"))},TA=f.__private__.putPage=function(C){var R=C.number,ie=C.data,ue=C.objId,xe=C.contentsObjId;Vr(ue,!0),se("<</Type /Page"),se("/Parent "+C.rootDictionaryObjId+" 0 R"),se("/Resources "+C.resourceDictionaryObjId+" 0 R"),se("/MediaBox ["+parseFloat($(C.mediaBox.bottomLeftX))+" "+parseFloat($(C.mediaBox.bottomLeftY))+" "+$(C.mediaBox.topRightX)+" "+$(C.mediaBox.topRightY)+"]"),C.cropBox!==null&&se("/CropBox ["+$(C.cropBox.bottomLeftX)+" "+$(C.cropBox.bottomLeftY)+" "+$(C.cropBox.topRightX)+" "+$(C.cropBox.topRightY)+"]"),C.bleedBox!==null&&se("/BleedBox ["+$(C.bleedBox.bottomLeftX)+" "+$(C.bleedBox.bottomLeftY)+" "+$(C.bleedBox.topRightX)+" "+$(C.bleedBox.topRightY)+"]"),C.trimBox!==null&&se("/TrimBox ["+$(C.trimBox.bottomLeftX)+" "+$(C.trimBox.bottomLeftY)+" "+$(C.trimBox.topRightX)+" "+$(C.trimBox.topRightY)+"]"),C.artBox!==null&&se("/ArtBox ["+$(C.artBox.bottomLeftX)+" "+$(C.artBox.bottomLeftY)+" "+$(C.artBox.topRightX)+" "+$(C.artBox.topRightY)+"]"),typeof C.userUnit=="number"&&C.userUnit!==1&&se("/UserUnit "+C.userUnit),dt.publish("putPage",{objId:ue,pageContext:Ye[R],pageNumber:R,page:ie}),se("/Contents "+xe+" 0 R"),se(">>"),se("endobj");var Ie=ie.join(`
283`);return F===B.ADVANCED&&(Ie+=`
284Q`),Vr(xe,!0),Mi({data:Ie,filters:hA(),objectId:xe}),se("endobj"),ue},ZA=f.__private__.putPages=function(){var C,R,ie=[];for(C=1;C<=st;C++)Ye[C].objId=Pn(),Ye[C].contentsObjId=Pn();for(C=1;C<=st;C++)ie.push(TA({number:C,data:Ke[C],objId:Ye[C].objId,contentsObjId:Ye[C].contentsObjId,mediaBox:Ye[C].mediaBox,cropBox:Ye[C].cropBox,bleedBox:Ye[C].bleedBox,trimBox:Ye[C].trimBox,artBox:Ye[C].artBox,userUnit:Ye[C].userUnit,rootDictionaryObjId:cA,resourceDictionaryObjId:Di}));Vr(cA,!0),se("<</Type /Pages");var ue="/Kids [";for(R=0;R<st;R++)ue+=ie[R]+" 0 R ";se(ue+"]"),se("/Count "+st),se(">>"),se("endobj"),dt.publish("postPutPages")},uo=function(C){dt.publish("putFont",{font:C,out:se,newObject:_t,putStream:Mi}),C.isAlreadyPutted!==!0&&(C.objectNumber=_t(),se("<<"),se("/Type /Font"),se("/BaseFont /"+jc(C.postScriptName)),se("/Subtype /Type1"),typeof C.encoding=="string"&&se("/Encoding /"+C.encoding),se("/FirstChar 32"),se("/LastChar 255"),se(">>"),se("endobj"))},ea=function(){for(var C in At)At.hasOwnProperty(C)&&(c===!1||c===!0&&p.hasOwnProperty(C))&&uo(At[C])},ta=function(C){C.objectNumber=_t();var R=[];R.push({key:"Type",value:"/XObject"}),R.push({key:"Subtype",value:"/Form"}),R.push({key:"BBox",value:"["+[$(C.x),$(C.y),$(C.x+C.width),$(C.y+C.height)].join(" ")+"]"}),R.push({key:"Matrix",value:"["+C.matrix.toString()+"]"});var ie=C.pages[1].join(`
285`);Mi({data:ie,additionalKeyValues:R,objectId:C.objectNumber}),se("endobj")},na=function(){for(var C in en)en.hasOwnProperty(C)&&ta(en[C])},Su=function(C,R){var ie,ue=[],xe=1/(R-1);for(ie=0;ie<1;ie+=xe)ue.push(ie);if(ue.push(1),C[0].offset!=0){var Ie={offset:0,color:C[0].color};C.unshift(Ie)}if(C[C.length-1].offset!=1){var Ge={offset:1,color:C[C.length-1].color};C.push(Ge)}for(var ut="",St=0,Dt=0;Dt<ue.length;Dt++){for(ie=ue[Dt];ie>C[St+1].offset;)St++;var Ht=C[St].offset,tn=(ie-Ht)/(C[St+1].offset-Ht),yn=C[St].color,vn=C[St+1].color;ut+=oe(Math.round((1-tn)*yn[0]+tn*vn[0]).toString(16))+oe(Math.round((1-tn)*yn[1]+tn*vn[1]).toString(16))+oe(Math.round((1-tn)*yn[2]+tn*vn[2]).toString(16))}return ut.trim()},Qf=function(C,R){R||(R=21);var ie=_t(),ue=Su(C.colors,R),xe=[];xe.push({key:"FunctionType",value:"0"}),xe.push({key:"Domain",value:"[0.0 1.0]"}),xe.push({key:"Size",value:"["+R+"]"}),xe.push({key:"BitsPerSample",value:"8"}),xe.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),xe.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Mi({data:ue,additionalKeyValues:xe,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:ie}),se("endobj"),C.objectNumber=_t(),se("<< /ShadingType "+C.type),se("/ColorSpace /DeviceRGB");var Ie="/Coords ["+$(parseFloat(C.coords[0]))+" "+$(parseFloat(C.coords[1]))+" ";C.type===2?Ie+=$(parseFloat(C.coords[2]))+" "+$(parseFloat(C.coords[3])):Ie+=$(parseFloat(C.coords[2]))+" "+$(parseFloat(C.coords[3]))+" "+$(parseFloat(C.coords[4]))+" "+$(parseFloat(C.coords[5])),se(Ie+="]"),C.matrix&&se("/Matrix ["+C.matrix.toString()+"]"),se("/Function "+ie+" 0 R"),se("/Extend [true true]"),se(">>"),se("endobj")},kf=function(C,R){var ie=Pn(),ue=_t();R.push({resourcesOid:ie,objectOid:ue}),C.objectNumber=ue;var xe=[];xe.push({key:"Type",value:"/Pattern"}),xe.push({key:"PatternType",value:"1"}),xe.push({key:"PaintType",value:"1"}),xe.push({key:"TilingType",value:"1"}),xe.push({key:"BBox",value:"["+C.boundingBox.map($).join(" ")+"]"}),xe.push({key:"XStep",value:$(C.xStep)}),xe.push({key:"YStep",value:$(C.yStep)}),xe.push({key:"Resources",value:ie+" 0 R"}),C.matrix&&xe.push({key:"Matrix",value:"["+C.matrix.toString()+"]"}),Mi({data:C.stream,additionalKeyValues:xe,objectId:C.objectNumber}),se("endobj")},OA=function(C){var R;for(R in Et)Et.hasOwnProperty(R)&&(Et[R]instanceof Wa?Qf(Et[R]):Et[R]instanceof su&&kf(Et[R],C))},Fl=function(C){for(var R in C.objectNumber=_t(),se("<<"),C)switch(R){case"opacity":se("/ca "+M(C[R]));break;case"stroke-opacity":se("/CA "+M(C[R]))}se(">>"),se("endobj")},ra=function(){var C;for(C in sn)sn.hasOwnProperty(C)&&Fl(sn[C])},ia=function(){for(var C in se("/XObject <<"),en)en.hasOwnProperty(C)&&en[C].objectNumber>=0&&se("/"+C+" "+en[C].objectNumber+" 0 R");dt.publish("putXobjectDict"),se(">>")},co=function(){Nr.oid=_t(),se("<<"),se("/Filter /Standard"),se("/V "+Nr.v),se("/R "+Nr.r),se("/U <"+Nr.toHexString(Nr.U)+">"),se("/O <"+Nr.toHexString(Nr.O)+">"),se("/P "+Nr.P),se(">>"),se("endobj")},Eu=function(){for(var C in se("/Font <<"),At)At.hasOwnProperty(C)&&(c===!1||c===!0&&p.hasOwnProperty(C))&&se("/"+C+" "+At[C].objectNumber+" 0 R");se(">>")},If=function(){if(Object.keys(Et).length>0){for(var C in se("/Shading <<"),Et)Et.hasOwnProperty(C)&&Et[C]instanceof Wa&&Et[C].objectNumber>=0&&se("/"+C+" "+Et[C].objectNumber+" 0 R");dt.publish("putShadingPatternDict"),se(">>")}},es=function(C){if(Object.keys(Et).length>0){for(var R in se("/Pattern <<"),Et)Et.hasOwnProperty(R)&&Et[R]instanceof f.TilingPattern&&Et[R].objectNumber>=0&&Et[R].objectNumber<C&&se("/"+R+" "+Et[R].objectNumber+" 0 R");dt.publish("putTilingPatternDict"),se(">>")}},fo=function(){if(Object.keys(sn).length>0){var C;for(C in se("/ExtGState <<"),sn)sn.hasOwnProperty(C)&&sn[C].objectNumber>=0&&se("/"+C+" "+sn[C].objectNumber+" 0 R");dt.publish("putGStateDict"),se(">>")}},Vn=function(C){Vr(C.resourcesOid,!0),se("<<"),se("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),Eu(),If(),es(C.objectOid),fo(),ia(),se(">>"),se("endobj")},_u=function(){var C=[];ea(),ra(),na(),OA(C),dt.publish("putResources"),C.forEach(Vn),Vn({resourcesOid:Di,objectOid:Number.MAX_SAFE_INTEGER}),dt.publish("postPutResources")},Uu=function(){dt.publish("putAdditionalObjects");for(var C=0;C<Me.length;C++){var R=Me[C];Vr(R.objId,!0),se(R.content),se("endobj")}dt.publish("postPutAdditionalObjects")},ho=function(C){yt[C.fontName]=yt[C.fontName]||{},yt[C.fontName][C.fontStyle]=C.id},_s=function(C,R,ie,ue,xe){var Ie={id:"F"+(Object.keys(At).length+1).toString(10),postScriptName:C,fontName:R,fontStyle:ie,encoding:ue,isStandardFont:xe||!1,metadata:{}};return dt.publish("addFont",{font:Ie,instance:this}),At[Ie.id]=Ie,ho(Ie),Ie.id},po=function(C){for(var R=0,ie=Pe.length;R<ie;R++){var ue=_s.call(this,C[R][0],C[R][1],C[R][2],Pe[R][3],!0);c===!1&&(p[ue]=!0);var xe=C[R][0].split("-");ho({id:ue,fontName:xe[0],fontStyle:xe[1]||""})}dt.publish("addFonts",{fonts:At,dictionary:yt})},dA=function(C){return C.foo=function(){try{return C.apply(this,arguments)}catch(ue){var R=ue.stack||"";~R.indexOf(" at ")&&(R=R.split(" at ")[1]);var ie="Error in function "+R.split(`
286`)[0].split("<")[0]+": "+ue.message;if(!Ot.console)throw new Error(ie);Ot.console.error(ie,ue),Ot.alert&&alert(ie)}},C.foo.bar=C,C.foo},or=function(C,R){var ie,ue,xe,Ie,Ge,ut,St,Dt,Ht;if(xe=(R=R||{}).sourceEncoding||"Unicode",Ge=R.outputEncoding,(R.autoencode||Ge)&&At[ge].metadata&&At[ge].metadata[xe]&&At[ge].metadata[xe].encoding&&(Ie=At[ge].metadata[xe].encoding,!Ge&&At[ge].encoding&&(Ge=At[ge].encoding),!Ge&&Ie.codePages&&(Ge=Ie.codePages[0]),typeof Ge=="string"&&(Ge=Ie[Ge]),Ge)){for(St=!1,ut=[],ie=0,ue=C.length;ie<ue;ie++)(Dt=Ge[C.charCodeAt(ie)])?ut.push(String.fromCharCode(Dt)):ut.push(C[ie]),ut[ie].charCodeAt(0)>>8&&(St=!0);C=ut.join("")}for(ie=C.length;St===void 0&&ie!==0;)C.charCodeAt(ie-1)>>8&&(St=!0),ie--;if(!St)return C;for(ut=R.noBOM?[]:[254,255],ie=0,ue=C.length;ie<ue;ie++){if((Ht=(Dt=C.charCodeAt(ie))>>8)>>8)throw new Error("Character at position "+ie+" of string '"+C+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");ut.push(Ht),ut.push(Dt-(Ht<<8))}return String.fromCharCode.apply(void 0,ut)},oi=f.__private__.pdfEscape=f.pdfEscape=function(C,R){return or(C,R).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Sl=f.__private__.beginPage=function(C){Ke[++st]=[],Ye[st]={objId:0,contentsObjId:0,userUnit:Number(a),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(C[0]),topRightY:Number(C[1])}},ku(st),Qe(Ke[L])},Qu=function(C,R){var ie,ue,xe;switch(n=R||n,typeof C=="string"&&(ie=v(C.toLowerCase()),Array.isArray(ie)&&(ue=ie[0],xe=ie[1])),Array.isArray(C)&&(ue=C[0]*Be,xe=C[1]*Be),isNaN(ue)&&(ue=i[0],xe=i[1]),(ue>14400||xe>14400)&&(_n.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),ue=Math.min(14400,ue),xe=Math.min(14400,xe)),i=[ue,xe],n.substr(0,1)){case"l":xe>ue&&(i=[xe,ue]);break;case"p":ue>xe&&(i=[xe,ue])}Sl(i),Hu(sa),se(li),wo!==0&&se(wo+" J"),_l!==0&&se(_l+" j"),dt.publish("addPage",{pageNumber:st})},Lf=function(C){C>0&&C<=st&&(Ke.splice(C,1),Ye.splice(C,1),st--,L>st&&(L=st),this.setPage(L))},ku=function(C){C>0&&C<=st&&(L=C)},jf=f.__private__.getNumberOfPages=f.getNumberOfPages=function(){return Ke.length-1},Iu=function(C,R,ie){var ue,xe=void 0;return ie=ie||{},C=C!==void 0?C:At[ge].fontName,R=R!==void 0?R:At[ge].fontStyle,ue=C.toLowerCase(),yt[ue]!==void 0&&yt[ue][R]!==void 0?xe=yt[ue][R]:yt[C]!==void 0&&yt[C][R]!==void 0?xe=yt[C][R]:ie.disableWarning===!1&&_n.warn("Unable to look up font label for font '"+C+"', '"+R+"'. Refer to getFontList() for available fonts."),xe||ie.noFallback||(xe=yt.times[R])==null&&(xe=yt.times.normal),xe},Nf=f.__private__.putInfo=function(){var C=_t(),R=function(ue){return ue};for(var ie in l!==null&&(R=Nr.encryptor(C,0)),se("<<"),se("/Producer ("+oi(R("jsPDF "+Pt.version))+")"),Ze)Ze.hasOwnProperty(ie)&&Ze[ie]&&se("/"+ie.substr(0,1).toUpperCase()+ie.substr(1)+" ("+oi(R(Ze[ie]))+")");se("/CreationDate ("+oi(R(Ae))+")"),se(">>"),se("endobj")},Us=f.__private__.putCatalog=function(C){var R=(C=C||{}).rootDictionaryObjId||cA;switch(_t(),se("<<"),se("/Type /Catalog"),se("/Pages "+R+" 0 R"),it||(it="fullwidth"),it){case"fullwidth":se("/OpenAction [3 0 R /FitH null]");break;case"fullheight":se("/OpenAction [3 0 R /FitV null]");break;case"fullpage":se("/OpenAction [3 0 R /Fit]");break;case"original":se("/OpenAction [3 0 R /XYZ null null 1]");break;default:var ie=""+it;ie.substr(ie.length-1)==="%"&&(it=parseInt(it)/100),typeof it=="number"&&se("/OpenAction [3 0 R /XYZ null null "+M(it)+"]")}switch(Ce||(Ce="continuous"),Ce){case"continuous":se("/PageLayout /OneColumn");break;case"single":se("/PageLayout /SinglePage");break;case"two":case"twoleft":se("/PageLayout /TwoColumnLeft");break;case"tworight":se("/PageLayout /TwoColumnRight")}kt&&se("/PageMode /"+kt),dt.publish("putCatalog"),se(">>"),se("endobj")},Pf=f.__private__.putTrailer=function(){se("trailer"),se("<<"),se("/Size "+(ae+1)),se("/Root "+ae+" 0 R"),se("/Info "+(ae-1)+" 0 R"),l!==null&&se("/Encrypt "+Nr.oid+" 0 R"),se("/ID [ <"+le+"> <"+le+"> ]"),se(">>")},Lu=f.__private__.putHeader=function(){se("%PDF-"+x),se("%ºß¬à")},Tf=f.__private__.putXRef=function(){var C="0000000000";se("xref"),se("0 "+(ae+1)),se("0000000000 65535 f ");for(var R=1;R<=ae;R++)typeof ve[R]=="function"?se((C+ve[R]()).slice(-10)+" 00000 n "):ve[R]!==void 0?se((C+ve[R]).slice(-10)+" 00000 n "):se("0000000000 00000 n ")},ts=f.__private__.buildDocument=function(){wt(),Qe(be),dt.publish("buildDocument"),Lu(),ZA(),Uu(),_u(),l!==null&&co(),Nf(),Us();var C=Se;return Tf(),Pf(),se("startxref"),se(""+C),se("%%EOF"),Qe(Ke[L]),be.join(`
287`)},go=f.__private__.getBlob=function(C){return new Blob([rt(C)],{type:"application/pdf"})},Qs=f.output=f.__private__.output=dA(function(C,R){switch(typeof(R=R||{})=="string"?R={filename:R}:R.filename=R.filename||"generated.pdf",C){case void 0:return ts();case"save":f.save(R.filename);break;case"arraybuffer":return rt(ts());case"blob":return go(ts());case"bloburi":case"bloburl":if(Ot.URL!==void 0&&typeof Ot.URL.createObjectURL=="function")return Ot.URL&&Ot.URL.createObjectURL(go(ts()))||void 0;_n.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var ie="",ue=ts();try{ie=$y(ue)}catch{ie=$y(unescape(encodeURIComponent(ue)))}return"data:application/pdf;filename="+R.filename+";base64,"+ie;case"pdfobjectnewwindow":if(Object.prototype.toString.call(Ot)==="[object Window]"){var xe="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",Ie=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';R.pdfObjectUrl&&(xe=R.pdfObjectUrl,Ie="");var Ge='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;}  </style><body><script src="'+xe+'"'+Ie+'><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(R)+");<\/script></body></html>",ut=Ot.open();return ut!==null&&ut.document.write(Ge),ut}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if(Object.prototype.toString.call(Ot)==="[object Window]"){var St='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;}  </style><body><iframe id="pdfViewer" src="'+(R.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+R.filename+'" width="500px" height="400px" /></body></html>',Dt=Ot.open();if(Dt!==null){Dt.document.write(St);var Ht=this;Dt.document.documentElement.querySelector("#pdfViewer").onload=function(){Dt.document.title=R.filename,Dt.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(Ht.output("bloburl"))}}return Dt}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if(Object.prototype.toString.call(Ot)!=="[object Window]")throw new Error("The option dataurlnewwindow just works in a browser-environment.");var tn='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;}  </style><body><iframe src="'+this.output("datauristring",R)+'"></iframe></body></html>',yn=Ot.open();if(yn!==null&&(yn.document.write(tn),yn.document.title=R.filename),yn||typeof safari>"u")return yn;break;case"datauri":case"dataurl":return Ot.document.location.href=this.output("datauristring",R);default:return null}}),RA=function(C){return Array.isArray(Xt)===!0&&Xt.indexOf(C)>-1};switch(r){case"pt":Be=1;break;case"mm":Be=72/25.4;break;case"cm":Be=72/2.54;break;case"in":Be=72;break;case"px":Be=RA("px_scaling")==1?.75:96/72;break;case"pc":case"em":Be=12;break;case"ex":Be=6;break;default:if(typeof r!="number")throw new Error("Invalid unit: "+r);Be=r}var Nr=null;Ue(),re();var Of=function(C){return l!==null?Nr.encryptor(C,0):function(R){return R}},ju=f.__private__.getPageInfo=f.getPageInfo=function(C){if(isNaN(C)||C%1!=0)throw new Error("Invalid argument passed to 
287jsPDF.getPageInfo");return{objId:Ye[C].objId,pageNumber:C,pageContext:Ye[C]}},Nt=f.__private__.getPageInfoByObjId=function(C){if(isNaN(C)||C%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var R in Ye)if(Ye[R].objId===C)break;return ju(R)},Rf=f.__private__.getCurrentPageInfo=f.getCurrentPageInfo=function(){return{objId:Ye[L].objId,pageNumber:L,pageContext:Ye[L]}};f.addPage=function(){return Qu.apply(this,arguments),this},f.setPage=function(){return ku.apply(this,arguments),Qe.call(this,Ke[L]),this},f.insertPage=function(C){return this.addPage(),this.movePage(L,C),this},f.movePage=function(C,R){var ie,ue;if(C>R){ie=Ke[C],ue=Ye[C];for(var xe=C;xe>R;xe--)Ke[xe]=Ke[xe-1],Ye[xe]=Ye[xe-1];Ke[R]=ie,Ye[R]=ue,this.setPage(R)}else if(C<R){ie=Ke[C],ue=Ye[C];for(var Ie=C;Ie<R;Ie++)Ke[Ie]=Ke[Ie+1],Ye[Ie]=Ye[Ie+1];Ke[R]=ie,Ye[R]=ue,this.setPage(R)}return this},f.deletePage=function(){return Lf.apply(this,arguments),this},f.__private__.text=f.text=function(C,R,ie,ue,xe){var Ie,Ge,ut,St,Dt,Ht,tn,yn,vn,Tt=(ue=ue||{}).scope||this;if(typeof C=="number"&&typeof R=="number"&&(typeof ie=="string"||Array.isArray(ie))){var Pr=ie;ie=R,R=C,C=Pr}if(arguments[3]instanceof Ft?(G("The transform parameter of text() with a Matrix value"),vn=xe):(ut=arguments[4],St=arguments[5],Cn(tn=arguments[3])==="object"&&tn!==null||(typeof ut=="string"&&(St=ut,ut=null),typeof tn=="string"&&(St=tn,tn=null),typeof tn=="number"&&(ut=tn,tn=null),ue={flags:tn,angle:ut,align:St})),isNaN(R)||isNaN(ie)||C==null)throw new Error("Invalid arguments passed to jsPDF.text");if(C.length===0)return Tt;var nr="",Ki=!1,wr=typeof ue.lineHeightFactor=="number"?ue.lineHeightFactor:Is,lr=Tt.internal.scaleFactor;function Vu(Bn){return Bn=Bn.split("	").join(Array(ue.TabLen||9).join(" ")),oi(Bn,tn)}function zi(Bn){for(var xn,Jn=Bn.concat(),Hn=[],as=Jn.length;as--;)typeof(xn=Jn.shift())=="string"?Hn.push(xn):Array.isArray(Bn)&&(xn.length===1||xn[1]===void 0&&xn[2]===void 0)?Hn.push(xn[0]):Hn.push([xn[0],xn[1],xn[2]]);return Hn}function Qn(Bn,xn){var Jn;if(typeof Bn=="string")Jn=xn(Bn)[0];else if(Array.isArray(Bn)){for(var Hn,as,jl=Bn.concat(),Ds=[],Gu=jl.length;Gu--;)typeof(Hn=jl.shift())=="string"?Ds.push(xn(Hn)[0]):Array.isArray(Hn)&&typeof Hn[0]=="string"&&(as=xn(Hn[0],Hn[1],Hn[2]),Ds.push([as[0],as[1],as[2]]));Jn=Ds}return Jn}var vo=!1,Gn=!0;if(typeof C=="string")vo=!0;else if(Array.isArray(C)){var Bo=C.concat();Ge=[];for(var Ei,$n=Bo.length;$n--;)(typeof(Ei=Bo.shift())!="string"||Array.isArray(Ei)&&typeof Ei[0]!="string")&&(Gn=!1);vo=Gn}if(vo===!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 un=qe/Tt.internal.scaleFactor,xo=un*(wr-1);switch(ue.baseline){case"bottom":ie-=xo;break;case"top":ie+=un-xo;break;case"hanging":ie+=un-2*xo;break;case"middle":ie+=un/2-xo}if((Ht=ue.maxWidth||0)>0&&(typeof C=="string"?C=Tt.splitTextToSize(C,Ht):Object.prototype.toString.call(C)==="[object Array]"&&(C=C.reduce(function(Bn,xn){return Bn.concat(Tt.splitTextToSize(xn,Ht))},[]))),Ie={text:C,x:R,y:ie,options:ue,mutex:{pdfEscape:oi,activeFontKey:ge,fonts:At,activeFontSize:qe}},dt.publish("preProcessText",Ie),C=Ie.text,ut=(ue=Ie.options).angle,!(vn instanceof Ft)&&ut&&typeof ut=="number"){ut*=Math.PI/180,ue.rotationDirection===0&&(ut=-ut),F===B.ADVANCED&&(ut=-ut);var bo=Math.cos(ut),ca=Math.sin(ut);vn=new Ft(bo,ca,-ca,bo,0,0)}else ut&&ut instanceof Ft&&(vn=ut);F!==B.ADVANCED||vn||(vn=PA),(Dt=ue.charSpace||Si)!==void 0&&(nr+=$(D(Dt))+` Tc
288`,this.setCharSpace(this.getCharSpace()||0)),(yn=ue.horizontalScale)!==void 0&&(nr+=$(100*yn)+` Tz
289`),ue.lang;var Gr=-1,fa=ue.renderingMode!==void 0?ue.renderingMode:ue.stroke,ha=Tt.internal.getCurrentPageInfo().pageContext;switch(fa){case 0:case!1:case"fill":Gr=0;break;case 1:case!0:case"stroke":Gr=1;break;case 2:case"fillThenStroke":Gr=2;break;case 3:case"invisible":Gr=3;break;case 4:case"fillAndAddForClipping":Gr=4;break;case 5:case"strokeAndAddPathForClipping":Gr=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":Gr=6;break;
vendor: 8,739 bytes, lines 289-301
289case 7:case"addToPathForClipping":Gr=7}var Ll=ha.usedRenderingMode!==void 0?ha.usedRenderingMode:-1;Gr!==-1?nr+=Gr+` Tr
290`:Ll!==-1&&(nr+=`0 Tr
291`),Gr!==-1&&(ha.usedRenderingMode=Gr),St=ue.align||"left";var Tn,_i=qe*wr,pA=Tt.internal.pageSize.getWidth(),Wn=At[ge];Dt=ue.charSpace||Si,Ht=ue.maxWidth||0,tn=Object.assign({autoencode:!0,noBOM:!0},ue.flags);var $r=[],Ts=function(Bn){return Tt.getStringUnitWidth(Bn,{font:Wn,charSpace:Dt,fontSize:qe,doKerning:!1})*qe/lr};if(Object.prototype.toString.call(C)==="[object Array]"){var Wr;Ge=zi(C),St!=="left"&&(Tn=Ge.map(Ts));var Cr,is=0;if(St==="right"){R-=Tn[0],C=[],$n=Ge.length;for(var As=0;As<$n;As++)As===0?(Cr=HA(R),Wr=rs(ie)):(Cr=D(is-Tn[As]),Wr=-_i),C.push([Ge[As],Cr,Wr]),is=Tn[As]}else if(St==="center"){R-=Tn[0]/2,C=[],$n=Ge.length;for(var Ui=0;Ui<$n;Ui++)Ui===0?(Cr=HA(R),Wr=rs(ie)):(Cr=D((is-Tn[Ui])/2),Wr=-_i),C.push([Ge[Ui],Cr,Wr]),is=Tn[Ui]}else if(St==="left"){C=[],$n=Ge.length;for(var ui=0;ui<$n;ui++)C.push(Ge[ui])}else if(St==="justify"&&Wn.encoding==="Identity-H"){C=[],$n=Ge.length,Ht=Ht!==0?Ht:pA;for(var ss=0,qn=0;qn<$n;qn++)if(Wr=qn===0?rs(ie):-_i,Cr=qn===0?HA(R):ss,qn<$n-1){var Os=D((Ht-Tn[qn])/(Ge[qn].split(" ").length-1)),Tr=Ge[qn].split(" ");C.push([Tr[0]+" ",Cr,Wr]),ss=0;for(var Vi=1;Vi<Tr.length;Vi++){var da=(Ts(Tr[Vi-1]+" "+Tr[Vi])-Ts(Tr[Vi]))*lr+Os;Vi==Tr.length-1?C.push([Tr[Vi],da,0]):C.push([Tr[Vi]+" ",da,0]),ss-=da}}else C.push([Ge[qn],Cr,Wr]);C.push(["",ss,0])}else{if(St!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(C=[],$n=Ge.length,Ht=Ht!==0?Ht:pA,qn=0;qn<$n;qn++)Wr=qn===0?rs(ie):-_i,Cr=qn===0?HA(R):0,qn<$n-1?$r.push($(D((Ht-Tn[qn])/(Ge[qn].split(" ").length-1)))):$r.push(0),C.push([Ge[qn],Cr,Wr])}}var ci=typeof ue.R2L=="boolean"?ue.R2L:mt;ci===!0&&(C=Qn(C,function(Bn,xn,Jn){return[Bn.split("").reverse().join(""),xn,Jn]})),Ie={text:C,x:R,y:ie,options:ue,mutex:{pdfEscape:oi,activeFontKey:ge,fonts:At,activeFontSize:qe}},dt.publish("postProcessText",Ie),C=Ie.text,Ki=Ie.mutex.isHex||!1;var pa=At[ge].encoding;pa!=="WinAnsiEncoding"&&pa!=="StandardEncoding"||(C=Qn(C,function(Bn,xn,Jn){return[Vu(Bn),xn,Jn]})),Ge=zi(C),C=[];for(var Co,Fo,gA,So=0,Eo=1,Rs=Array.isArray(Ge[0])?Eo:So,os="",ga=function(Bn,xn,Jn){var Hn="";return Jn instanceof Ft?(Jn=typeof ue.angle=="number"?uA(Jn,new Ft(1,0,0,1,Bn,xn)):uA(new Ft(1,0,0,1,Bn,xn),Jn),F===B.ADVANCED&&(Jn=uA(new Ft(1,0,0,-1,0,0),Jn)),Hn=Jn.join(" ")+` Tm
292`):Hn=$(Bn)+" "+$(xn)+` Td
293`,Hn},Qi=0;Qi<Ge.length;Qi++){switch(os="",Rs){case Eo:gA=(Ki?"<":"(")+Ge[Qi][0]+(Ki?">":")"),Co=parseFloat(Ge[Qi][1]),Fo=parseFloat(Ge[Qi][2]);break;case So:gA=(Ki?"<":"(")+Ge[Qi]+(Ki?">":")"),Co=HA(R),Fo=rs(ie)}$r!==void 0&&$r[Qi]!==void 0&&(os=$r[Qi]+` Tw
294`),Qi===0?C.push(os+ga(Co,Fo,vn)+gA):Rs===So?C.push(os+gA):Rs===Eo&&C.push(os+ga(Co,Fo,vn)+gA)}C=Rs===So?C.join(` Tj
295T* `):C.join(` Tj
296`),C+=` Tj
297`;var ki=`BT
298/`;return ki+=ge+" "+qe+` Tf
299`,ki+=$(qe*wr)+` TL
300`,ki+=Ns+`
301`,ki+=nr,ki+=C,se(ki+="ET"),p[ge]=!0,Tt};var Df=f.__private__.clip=f.clip=function(C){return se(C==="evenodd"?"W*":"W"),this};f.clipEvenOdd=function(){return Df("evenodd")},f.__private__.discardPath=f.discardPath=function(){return se("n"),this};var DA=f.__private__.isValidStyle=function(C){var R=!1;return[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(C)!==-1&&(R=!0),R};f.__private__.setDefaultPathOperation=f.setDefaultPathOperation=function(C){return DA(C)&&(u=C),this};var Nu=f.__private__.getStyle=f.getStyle=function(C){var R=u;switch(C){case"D":case"S":R="S";break;case"F":R="f";break;case"FD":case"DF":R="B";break;case"f":case"f*":case"B":case"B*":R=C}return R},Pu=f.close=function(){return se("h"),this};f.stroke=function(){return se("S"),this},f.fill=function(C){return Aa("f",C),this},f.fillEvenOdd=function(C){return Aa("f*",C),this},f.fillStroke=function(C){return Aa("B",C),this},f.fillStrokeEvenOdd=function(C){return Aa("B*",C),this};var Aa=function(C,R){Cn(R)==="object"?Ou(R,C):se(C)},ai=function(C){C===null||F===B.ADVANCED&&C===void 0||(C=Nu(C),se(C))};function Tu(C,R,ie,ue,xe){var Ie=new su(R||this.boundingBox,ie||this.xStep,ue||this.yStep,this.gState,xe||this.matrix);Ie.stream=this.stream;var Ge=C+"$$"+this.cloneIndex+++"$$";return zr(Ge,Ie),Ie}var Ou=function(C,R){var ie=ii[C.key],ue=Et[ie];if(ue instanceof Wa)se("q"),se(Ru(R)),ue.gState&&f.setGState(ue.gState),se(C.matrix.toString()+" cm"),se("/"+ie+" sh"),se("Q");else if(ue instanceof su){var xe=new Ft(1,0,0,-1,0,Ps());C.matrix&&(xe=xe.multiply(C.matrix||PA),ie=Tu.call(ue,C.key,C.boundingBox,C.xStep,C.yStep,xe).id),se("q"),se("/Pattern cs"),se("/"+ie+" scn"),ue.gState&&f.setGState(ue.gState),se(R),se("Q")}},Ru=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"}},El=f.moveTo=function(C,R){return se($(D(C))+" "+$(J(R))+" m"),this},mo=f.lineTo=function(C,R){return se($(D(C))+" "+$(J(R))+" l"),this},ks=f.curveTo=function(C,R,ie,ue,xe,Ie){return se([$(D(C)),$(J(R)),$(D(ie)),$(J(ue)),$(D(xe)),$(J(Ie)),"c"].join(" ")),this};f.__private__.line=f.line=function(C,R,ie,ue,xe){if(isNaN(C)||isNaN(R)||isNaN(ie)||isNaN(ue)||!DA(xe))throw new Error("Invalid arguments passed to jsPDF.line");return F===B.COMPAT?this.lines([[ie-C,ue-R]],C,R,[1,1],xe||"S"):this.lines([[ie-C,ue-R]],C,R,[1,1]).stroke()},f.__private__.lines=f.lines=function(C,R,ie,ue,xe,Ie){var Ge,ut,St,Dt,Ht,tn,yn,vn,Tt,Pr,nr,Ki;if(typeof C=="number"&&(Ki=ie,ie=R,R=C,C=Ki),ue=ue||[1,1],Ie=Ie||!1,isNaN(R)||isNaN(ie)||!Array.isArray(C)||!Array.isArray(ue)||!DA(xe)||typeof Ie!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(El(R,ie),Ge=ue[0],ut=ue[1],Dt=C.length,Pr=R,nr=ie,St=0;St<Dt;St++)(Ht=C[St]).length===2?(Pr=Ht[0]*Ge+Pr,nr=Ht[1]*ut+nr,mo(Pr,nr)):(tn=Ht[0]*Ge+Pr,yn=Ht[1]*ut+nr,vn=Ht[2]*Ge+Pr,Tt=Ht[3]*ut+nr,Pr=Ht[4]*Ge+Pr,nr=Ht[5]*ut+nr,ks(tn,yn,vn,Tt,Pr,nr));return Ie&&Pu(),ai(xe),this},f.path=function(C){for(var R=0;R<C.length;R++){var ie=C[R],ue=ie.c;switch(ie.op){case"m":El(ue[0],ue[1]);break;case"l":mo(ue[0],ue[1]);break;case"c":ks.apply(this,ue);break;case"h":Pu()}}return this},f.__private__.rect=f.rect=function(C,R,ie,ue,xe){if(isNaN(C)||isNaN(R)||isNaN(ie)||isNaN(ue)||!DA(xe))throw new Error("Invalid arguments passed to jsPDF.rect");return F===B.COMPAT&&(ue=-ue),se([$(D(C)),$(J(R)),$(D(ie)),$(D(ue)),"re"].join(" ")),ai(xe),this},f.__private__.triangle=f.triangle=function(C,R,ie,ue,xe,Ie,Ge){if(isNaN(C)||isNaN(R)||isNaN(ie)||isNaN(ue)||isNaN(xe)||isNaN(Ie)||!DA(Ge))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[ie-C,ue-R],[xe-ie,Ie-ue],[C-xe,R-Ie]],C,R,[1,1],Ge,!0),this},f.__private__.roundedRect=f.roundedRect=function(C,R,ie,ue,xe,Ie,Ge){if(isNaN(C)||isNaN(R)||isNaN(ie)||isNaN(ue)||isNaN(xe)||isNaN(Ie)||!DA(Ge))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var ut=4/3*(Math.SQRT2-1);return xe=Math.min(xe,.5*ie),Ie=Math.min(Ie,.5*ue),this.lines([[ie-2*xe,0],[xe*ut,0,xe,Ie-Ie*ut,xe,Ie],[0,ue-2*Ie],[0,Ie*ut,-xe*ut,Ie,-xe,Ie],[2*xe-ie,0],[-xe*ut,0,-xe,-Ie*ut,-xe,-Ie],[0,2*Ie-ue],[0,-Ie*ut,xe*ut,-Ie,xe,-Ie]],C+xe,R,[1,1],Ge,!0),this},f.__private__.ellipse=f.ellipse=function(C,R,ie,ue,xe){if(isNaN(C)||isNaN(R)||isNaN(ie)||isNaN(ue)||!DA(xe))throw new Error("Invalid arguments passed to jsPDF.ellipse");var Ie=4/3*(Math.SQRT2-1)*ie,Ge=4/3*(Math.SQRT2-1)*ue;return El(C+ie,R),ks(C+ie,R-Ge,C+Ie,R-ue,C,R-ue),ks(C-Ie,R-ue,C-ie,R-Ge,C-ie,R),ks(C-ie,R+Ge,C-Ie,R+ue,C,R+ue),ks(C+Ie,R+ue,C+ie,R+Ge,C+ie,R),ai(xe),this},f.__private__.circle=f.circle=function(C,R,ie,ue){if(isNaN(C)||isNaN(R)||isNaN(ie)||!DA(ue))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(C,R,ie,ie,ue)},f.setFont=function(C,R,ie){return ie&&(R=P(R,ie)),ge=Iu(C,R,{disableWarning:!1}),this};var Du=f.__private__.getFont=f.getFont=function(){return At[Iu.apply(f,arguments)]};f.__private__.getFontList=f.getFontList=function(){var C,R,ie={};for(C in yt)if(yt.hasOwnProperty(C))for(R in ie[C]=[],yt[C])yt[C].hasOwnProperty(R)&&ie[C].push(R);return ie},f.addFont=function(C,R,ie,ue,xe){var Ie=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&Ie.indexOf(arguments[3])!==-1?xe=arguments[3]:arguments[3]&&Ie.indexOf(arguments[3])==-1&&(ie=P(ie,ue)),xe=xe||"Identity-H",_s.call(this,C,R,ie,xe)};var Is,sa=e.lineWidth||.200025,oa=f.__private__.getLineWidth=f.getLineWidth=function(){return sa},Hu=f.__private__.setLineWidth=f.setLineWidth=function(C){return sa=C,se($(D(C))+" w"),this};f.__private__.setLineDash=Pt.API.setLineDash=Pt.API.setLineDashPattern=function(C,R){if(C=C||[],R=R||0,isNaN(R)||!Array.isArray(C))throw new Error("Invalid arguments passed to 
301jsPDF.setLineDash");return C=C.map(function(ie){return $(D(ie))}).join(" "),R=$(D(R)),se("["+C+"] "+R+" d"),this};var ar=f.__private__.getLineHeight=f.getLineHeight=function(){return qe*Is};f.__private__.getLineHeight=f.getLineHeight=function(){return qe*Is};var Mu=f.__private__.setLineHeightFactor=f.setLineHeightFactor=function(C){return typeof(C=C||1.15)=="number"&&(Is=C),this},ns=f.__private__.getLineHeightFactor=f.getLineHeightFactor=function(){return Is};Mu(e.lineHeight);var HA=f.__private__.getHorizontalCoordinate=function(C){return D(C)},rs=f.__private__.getVerticalCoordinate=function(C){return F===B.ADVANCED?C:Ye[L].mediaBox.topRightY-Ye[L].mediaBox.bottomLeftY-D(C)},Hf=f.__private__.getHorizontalCoordinateString=f.getHorizontalCoordinateString=function(C){return $(HA(C))},Ls=f.__private__.getVerticalCoordinateString=f.getVerticalCoordinateString=function(C){return $(rs(C))},li=e.strokeColor||"0 G";f.__private__.getStrokeColor=f.getDrawColor=function(){return Hi(li)},f.__private__.setStrokeColor=f.setDrawColor=function(C,R,ie,ue){return li=fA({ch1:C,ch2:R,ch3:ie,ch4:ue,pdfColorType:"draw",precision:2}),se(li),this};var js=e.fillColor||"0 g";f.__private__.getFillColor=f.getFillColor=function(){return Hi(js)},f.__private__.setFillColor=f.setFillColor=function(C,R,ie,ue){return js=fA({ch1:C,ch2:R,ch3:ie,ch4:ue,pdfColorType:"fill",precision:2}),se(js),this};var Ns=e.textColor||"0 g",Mf=f.__private__.getTextColor=f.getTextColor=function(){return Hi(Ns)};f.__private__.setTextColor=f.setTextColor=function(C,R,ie,ue){return Ns=fA({ch1:C,ch2:R,ch3:ie,ch4:ue,pdfColorType:"text",precision:3}),this};var Si=e.charSpace,aa=f.__private__.getCharSpace=f.getCharSpace=function(){return parseFloat(Si||0)};f.__private__.setCharSpace=f.setCharSpace=function(C){if(isNaN(C))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return Si=C,this};var wo=0;f.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},f.__private__.setLineCap=f.setLineCap=function(C){var R=f.CapJoinStyles[C];if(R===void 0)throw new Error("Line cap style of '"+C+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return wo=R,se(R+" J"),this};var _l=0;f.__private__.setLineJoin=f.setLineJoin=function(C){var R=f.CapJoinStyles[C];if(R===void 0)throw new Error("Line join style of '"+C+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return _l=R,se(R+" j"),this},f.__private__.setLineMiterLimit=f.__private__.setMiterLimit=f.setLineMiterLimit=f.setMiterLimit=function(C){if(C=C||0,isNaN(C))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return se($(D(C))+" M"),this},f.GState=Fd,f.setGState=function(C){(C=typeof C=="string"?sn[jr[C]]:Ku(null,C)).equals(Kt)||(se("/"+C.id+" gs"),Kt=C)};var Ku=function(C,R){if(!C||!jr[C]){var ie=!1;for(var ue in sn)if(sn.hasOwnProperty(ue)&&sn[ue].equals(R)){ie=!0;break}if(ie)R=sn[ue];else{var xe="GS"+(Object.keys(sn).length+1).toString(10);sn[xe]=R,R.id=xe}return C&&(jr[C]=R.id),dt.publish("addGState",R),R}};f.addGState=function(C,R){return Ku(C,R),this},f.saveGraphicsState=function(){return se("q"),mn.push({key:ge,size:qe,color:Ns}),this},f.restoreGraphicsState=function(){se("Q");var C=mn.pop();return ge=C.key,qe=C.size,Ns=C.color,Kt=null,this},f.setCurrentTransformationMatrix=function(C){return se(C.toString()+" cm"),this},f.comment=function(C){return se("#"+C),this};var la=function(C,R){var ie=C||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return ie},set:function(Ie){isNaN(Ie)||(ie=parseFloat(Ie))}});var ue=R||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return ue},set:function(Ie){isNaN(Ie)||(ue=parseFloat(Ie))}});var xe="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return xe},set:function(Ie){xe=Ie.toString()}}),this},Ul=function(C,R,ie,ue){la.call(this,C,R),this.type="rect";var xe=ie||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return xe},set:function(Ge){isNaN(Ge)||(xe=parseFloat(Ge))}});var Ie=ue||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return Ie},set:function(Ge){isNaN(Ge)||(Ie=parseFloat(Ge))}}),this},Ql=function(){this.page=st,this.currentPage=L,this.pages=Ke.slice(0),this.pagesContext=Ye.slice(0),this.x=Re,this.y=De,this.matrix=gt,this.width=yo(L),this.height=Ps(L),this.outputDestination=We,this.id="",this.objectNumber=-1};Ql.prototype.restore=function(){st=this.page,L=this.currentPage,Ye=this.pagesContext,Ke=this.pages,Re=this.x,De=this.y,gt=this.matrix,kl(L,this.width),Il(L,this.height),We=this.outputDestination};var zu=function(C,R,ie,ue,xe){Ai.push(new Ql),st=L=0,Ke=[],Re=C,De=R,gt=xe,Sl([ie,ue])}
vendor: 4,310 bytes, line 301
301,Kf=function(C){if(br[C])Ai.pop().restore();else{var R=new Ql,ie="Xo"+(Object.keys(en).length+1).toString(10);R.id=ie,br[C]=ie,en[ie]=R,dt.publish("addFormObject",R),Ai.pop().restore()}};for(var ua in f.beginFormObject=function(C,R,ie,ue,xe){return zu(C,R,ie,ue,xe),this},f.endFormObject=function(C){return Kf(C),this},f.doFormObject=function(C,R){var ie=en[br[C]];return se("q"),se(R.toString()+" cm"),se("/"+ie.id+" Do"),se("Q"),this},f.getFormObject=function(C){var R=en[br[C]];return{x:R.x,y:R.y,width:R.width,height:R.height,matrix:R.matrix}},f.save=function(C,R){return C=C||"generated.pdf",(R=R||{}).returnPromise=R.returnPromise||!1,R.returnPromise===!1?(Yl(go(ts()),C),typeof Yl.unload=="function"&&Ot.setTimeout&&setTimeout(Yl.unload,911),this):new Promise(function(ie,ue){try{var xe=Yl(go(ts()),C);typeof Yl.unload=="function"&&Ot.setTimeout&&setTimeout(Yl.unload,911),ie(xe)}catch(Ie){ue(Ie.message)}})},Pt.API)Pt.API.hasOwnProperty(ua)&&(ua==="events"&&Pt.API.events.length?function(C,R){var ie,ue,xe;for(xe=R.length-1;xe!==-1;xe--)ie=R[xe][0],ue=R[xe][1],C.subscribe.apply(C,[ie].concat(typeof ue=="function"?[ue]:ue))}(dt,Pt.API.events):f[ua]=Pt.API[ua]);var yo=f.getPageWidth=function(C){return(Ye[C=C||L].mediaBox.topRightX-Ye[C].mediaBox.bottomLeftX)/Be},kl=f.setPageWidth=function(C,R){Ye[C].mediaBox.topRightX=R*Be+Ye[C].mediaBox.bottomLeftX},Ps=f.getPageHeight=function(C){return(Ye[C=C||L].mediaBox.topRightY-Ye[C].mediaBox.bottomLeftY)/Be},Il=f.setPageHeight=function(C,R){Ye[C].mediaBox.topRightY=R*Be+Ye[C].mediaBox.bottomLeftY};return f.internal={pdfEscape:oi,getStyle:Nu,getFont:Du,getFontSize:tt,getCharSpace:aa,getTextColor:Mf,getLineHeight:ar,getLineHeightFactor:ns,getLineWidth:oa,write:Qt,getHorizontalCoordinate:HA,getVerticalCoordinate:rs,getCoordinateString:Hf,getVerticalCoordinateString:Ls,collections:{},newObject:_t,newAdditionalObject:si,newObjectDeferred:Pn,newObjectDeferredBegin:Vr,getFilters:hA,putStream:Mi,events:dt,scaleFactor:Be,pageSize:{getWidth:function(){return yo(L)},setWidth:function(C){kl(L,C)},getHeight:function(){return Ps(L)},setHeight:function(C){Il(L,C)}},encryptionOptions:l,encryption:Nr,getEncryptor:Of,output:Qs,getNumberOfPages:jf,pages:Ke,out:se,f2:M,f3:j,getPageInfo:ju,getPageInfoByObjId:Nt,getCurrentPageInfo:Rf,getPDFVersion:b,Point:la,Rectangle:Ul,Matrix:Ft,hasHotfix:RA},Object.defineProperty(f.internal.pageSize,"width",{get:function(){return yo(L)},set:function(C){kl(L,C)},enumerable:!0,configurable:!0}),Object.defineProperty(f.internal.pageSize,"height",{get:function(){return Ps(L)},set:function(C){Il(L,C)},enumerable:!0,configurable:!0}),po.call(f,Pe),ge="F1",Qu(i,n),dt.publish("initialized"),f}Lc.prototype.lsbFirstWord=function(e){return String.fromCharCode(e>>0&255,e>>8&255,e>>16&255,e>>24&255)},Lc.prototype.toHexString=function(e){return e.split("").map(function(t){return("0"+(255&t.charCodeAt(0)).toString(16)).slice(-2)}).join("")},Lc.prototype.hexToBytes=function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(String.fromCharCode(parseInt(e.substr(n,2),16)));return t.join("")},Lc.prototype.processOwnerPassword=function(e,t){return qy(Wy(t).substr(0,5),e)},Lc.prototype.encryptor=function(e,t){var n=Wy(this.encryptionKey+String.fromCharCode(255&e,e>>8&255,e>>16&255,255&t,t>>8&255)).substr(0,10);return function(r){return qy(n,r)}},Fd.prototype.equals=function(e){var t,n="id,objectNumber,equals";if(!e||Cn(e)!==Cn(this))return!1;var r=0;for(t in this)if(!(n.indexOf(t)>=0)){if(this.hasOwnProperty(t)&&!e.hasOwnProperty(t)||this[t]!==e[t])return!1;r++}for(t in e)e.hasOwnProperty(t)&&n.indexOf(t)<0&&r--;return r===0},Pt.API={events:[]},Pt.version="3.0.1";var ir=Pt.API,sB=1,Fu=function(e){return e.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Ec=function(e){return e.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},$t=function(e){return e.toFixed(2)},Ra=function(e){return e.toFixed(5)};ir.__acroform__={};var lA=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e},$b=function(e){return e*sB},Xs=function(e){var t=new R_,n=Bt.internal.getHeight(e)||0,r=Bt.internal.getWidth(e)||0;return t.BBox=[0,0,Number($t(r)),Number($t(n))],t},l7=ir.__acroform__.setBit=function(e,t){if(e=e||0,t=t||0,isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to 
301jsPDF.API.__acroform__.setBit");return e|=1<<t},u7=ir.__acroform__.clearBit=function(e,t){if(e=e||0,t=t||0,isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return e&=~(1<<t)},c7=ir.__acroform__.getBit=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return e&1<<t?1:0},hr=ir.__acroform__.getBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return c7(e,t-1)},dr=ir.__acroform__.setBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return l7(e,t-1)},pr=ir.__acroform__.clearBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return u7(e,t-1)},f7=ir.__acroform__.calculateCoordinates=function(e,t){var n=t.internal.getHorizontalCoordinate,r=t.internal.getVerticalCoordinate,i=e[0],A=e[1],s=e[2],a=e[3],o={};return o.lowerLeft_X=n(i)||0,o.lowerLeft_Y=r(A+a)||0,o.upperRight_X=n(i+s)||0,o.upperRight_Y=r(A)||0,[Number($t(o.lowerLeft_X)),Number($t(o.lowerLeft_Y)),Number($t(o.upperRight_X)),Number($t(o.upperRight_Y))]},h7=function(e){if(e.appearanceStreamContent)return e.appearanceStreamContent;if(e.V||e.DV){var t=[],n=e._V||e.DV,r=Jy(e,n),i=e.scope.internal.getFont(e.fontName,e.fontStyle).id;t.push("/Tx BMC"),t.push("q"),t.push("BT"),t.push(e.scope.__private__.encodeColorString(e.color)),t.push("/"+i+" "+$t(r.fontSize)+" Tf"),t.push("1 0 0 1 0 0 Tm"),t.push(r.text),t.push("ET"),t.push("Q"),t.push("EMC");var A=Xs(e);return A.scope=e.scope,A.stream=t.join(`
302`),A}},Jy=function(e,t){var n=e.fontSize===0?e.maxFontSize:e.fontSize,r={text:"",fontSize:""},i=(t=(t=t.substr(0,1)=="("?t.substr(1):t).substr(t.length-1)==")"?t.substr(0,t.length-1):t).split(" ");i=e.multiline?i.map(function(j){return j.split(`
303`)}):i.map(function(j){return[j]});var A=n,s=Bt.internal.getHeight(e)||0;s=s<0?-s:s;var a=Bt.internal.getWidth(e)||0;a=a<0?-a:a;var o=function(j,D,X){if(j+1<i.length){var J=D+" "+i[j+1][0];return cg(J,e,X).width<=a-4}return!1};A++;e:for(;A>0;){t="",A--;var u,l,c=cg("3",e,A).height,p=e.multiline?s-A:(s-c)/2,f=p+=2,x=0,b=0,E=0;if(A<=0){t=`(...) Tj
304`,t+="% Width of Text: "+cg(t,e,A=12).width+", FieldWidth:"+a+`
305`;break}for(var v="",B=0,F=0;F<i.length;F++)if(i.hasOwnProperty(F)){var U=!1;if(i[F].length!==1&&E!==i[F].length-1){if((c+2)*(B+2)+2>s)continue e;v+=i[F][E],U=!0,b=F,F--}else{v=(v+=i[F][E]+" ").substr(v.length-1)==" "?v.substr(0,v.length-1):v;var N=parseInt(F),P=o(N,v,A),$=F>=i.length-1;if(P&&!$){v+=" ",E=0;continue}if(P||$){if($)b=N;else if(e.multiline&&(c+2)*(B+2)+2>s)continue e}else{if(!e.multiline||(c+2)*(B+2)+2>s)continue e;b=N}}for(var G="",te=x;te<=b;te++){var M=i[te];if(e.multiline){if(te===b){G+=M[E]+" ",E=(E+1)%M.length;continue}if(te===x){G+=M[M.length-1]+" ";continue}}G+=M[0]+" "}switch(G=G.substr(G.length-1)==" "?G.substr(0,G.length-1):G,l=cg(G,e,A).width,e.textAlign){case"right":u=a-l-2;break;case"center":u=(a-l)/2;break;case"left":default:u=2}t+=$t(u)+" "+$t(f)+` Td
306`,t+="("+Fu(G)+`) Tj
307`,t+=-$t(u)+` 0 Td
308`,f=-(A+2),l=0,x=U?b:b+1,B++,v=""}break}return r.text=t,r.fontSize=A,r},cg=function(e,t,n){var r=t.scope.internal.getFont(t.fontName,t.fontStyle),i=t.scope.getStringUnitWidth(e,{font:r,fontSize:parseFloat(n),charSpace:0})*parseFloat(n);return{height:t.scope.getStringUnitWidth("3",{font:r,fontSize:parseFloat(n),charSpace:0})*parseFloat(n)*1.5,width:i}},d7={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},p7=function(e,t){var n={type:"reference",object:e};t.internal.getPageInfo(e.page).pageContext.annotations.find(function(r){return r.type===n.type&&r.object===n.object})===void 0&&t.internal.getPageInfo(e.page).pageContext.annotations.push(n)},g7=function(e,t){for(var n in e)if(e.hasOwnProperty(n)){var r=n,i=e[n];t.internal.newObjectDeferredBegin(i.objId,!0),Cn(i)==="object"&&typeof i.putStream=="function"&&i.putStream(),delete e[r]}},m7=function(e,t){if(t.scope=e,e.internal!==void 0&&(e.internal.acroformPlugin===void 0||e.internal.acroformPlugin.isInitialized===!1)){if
vendor: 27,001 bytes, lines 308-320
308(Ss.FieldNum=0,e.internal.acroformPlugin=JSON.parse(JSON.stringify(d7)),e.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");sB=e.internal.scaleFactor,e.internal.acroformPlugin.acroFormDictionaryRoot=new D_,e.internal.acroformPlugin.acroFormDictionaryRoot.scope=e,e.internal.acroformPlugin.acroFormDictionaryRoot._eventID=e.internal.events.subscribe("postPutResources",function(){(function(n){n.internal.events.unsubscribe(n.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete n.internal.acroformPlugin.acroFormDictionaryRoot._eventID,n.internal.acroformPlugin.printedOut=!0})(e)}),e.internal.events.subscribe("buildDocument",function(){(function(n){n.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var r=n.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var i in r)if(r.hasOwnProperty(i)){var A=r[i];A.objId=void 0,A.hasAnnotation&&p7(A,n)}})(e)}),e.internal.events.subscribe("putCatalog",function(){(function(n){if(n.internal.acroformPlugin.acroFormDictionaryRoot===void 0)throw new Error("putCatalogCallback: Root missing.");n.internal.write("/AcroForm "+n.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")})(e)}),e.internal.events.subscribe("postPutPages",function(n){(function(r,i){var A=!r;for(var s in r||(i.internal.newObjectDeferredBegin(i.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),i.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),r=r||i.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(r.hasOwnProperty(s)){var a=r[s],o=[],u=a.Rect;if(a.Rect&&(a.Rect=f7(a.Rect,i)),i.internal.newObjectDeferredBegin(a.objId,!0),a.DA=Bt.createDefaultAppearanceStream(a),Cn(a)==="object"&&typeof a.getKeyValueListForStream=="function"&&(o=a.getKeyValueListForStream()),a.Rect=u,a.hasAppearanceStream&&!a.appearanceStreamContent){var l=h7(a);o.push({key:"AP",value:"<</N "+l+">>"}),i.internal.acroformPlugin.xForms.push(l)}if(a.appearanceStreamContent){var c="";for(var p in a.appearanceStreamContent)if(a.appearanceStreamContent.hasOwnProperty(p)){var f=a.appearanceStreamContent[p];if(c+="/"+p+" ",c+="<<",Object.keys(f).length>=1||Array.isArray(f)){for(var s in f)if(f.hasOwnProperty(s)){var x=f[s];typeof x=="function"&&(x=x.call(i,a)),c+="/"+s+" "+x+" ",i.internal.acroformPlugin.xForms.indexOf(x)>=0||i.internal.acroformPlugin.xForms.push(x)}}else typeof(x=f)=="function"&&(x=x.call(i,a)),c+="/"+s+" "+x,i.internal.acroformPlugin.xForms.indexOf(x)>=0||i.internal.acroformPlugin.xForms.push(x);c+=">>"}o.push({key:"AP",value:`<<
309`+c+">>"})}i.internal.putStream({additionalKeyValues:o,objectId:a.objId}),i.internal.out("endobj")}A&&g7(i.internal.acroformPlugin.xForms,i)})(n,e)}),e.internal.acroformPlugin.isInitialized=!0}},O_=ir.__acroform__.arrayToPdfArray=function(e,t,n){var r=function(s){return s};if(Array.isArray(e)){for(var i="[",A=0;A<e.length;A++)switch(A!==0&&(i+=" "),Cn(e[A])){case"boolean":case"number":case"object":i+=e[A].toString();break;case"string":e[A].substr(0,1)!=="/"?(t!==void 0&&n&&(r=n.internal.getEncryptor(t)),i+="("+Fu(r(e[A].toString()))+")"):i+=e[A].toString()}return i+="]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},uw=function(e,t,n){var r=function(i){return i};return t!==void 0&&n&&(r=n.internal.getEncryptor(t)),(e=e||"").toString(),e="("+Fu(r(e))+")"},io=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(e){this._objId=e}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};io.prototype.toString=function(){return this.objId+" 0 R"},io.prototype.putStream=function(){var e=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:e,objectId:this.objId}),this.scope.internal.out("endobj")},io.prototype.getKeyValueListForStream=function(){var e=[],t=Object.getOwnPropertyNames(this).filter(function(A){return A!="content"&&A!="appearanceStreamContent"&&A!="scope"&&A!="objId"&&A.substring(0,1)!="_"});for(var n in t)if(Object.getOwnPropertyDescriptor(this,t[n]).configurable===!1){var r=t[n],i=this[r];i&&(Array.isArray(i)?e.push({key:r,value:O_(i,this.objId,this.scope)}):i instanceof io?(i.scope=this.scope,e.push({key:r,value:i.objId+" 0 R"})):typeof i!="function"&&e.push({key:r,value:i}))}return e};var R_=function(){io.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 e,t=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return t},set:function(n){t=n}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(n){e=n.trim()},get:function(){return e||null}})};lA(R_,io);var D_=function(){io.call(this);var e,t=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return t.length>0?t:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return t}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(e){var n=function(r){return r};return this.scope&&(n=this.scope.internal.getEncryptor(this.objId)),"("+Fu(n(e))+")"}},set:function(n){e=n}})};lA(D_,io);var Ss=function e(){io.call(this);var t=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return t},set:function(v){if(isNaN(v))throw new Error('Invalid value "'+v+'" for attribute F supplied.');t=v}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return!!hr(t,3)},set:function(v){v?this.F=dr(t,3):this.F=pr(t,3)}});var n=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return n},set:function(v){if(isNaN(v))throw new Error('Invalid value "'+v+'" for attribute Ff supplied.');n=v}});var r=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(r.length!==0)return r},set:function(v){r=v!==void 0?v:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[0])?0:r[0]},set:function(v){r[0]=v}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[1])?0:r[1]},set:function(v){r[1]=v}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[2])?0:r[2]},set:function(v){r[2]=v}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[3])?0:r[3]},set:function(v){r[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 mm)return;A="FieldObject"+e.FieldNum++}var v=function(B){return B};return this.scope&&(v=this.scope.internal.getEncryptor(this.objId)),"("+Fu(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 a="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return a},set:function(v){a=v}});var o=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return o},set:function(v){o=v}});var u=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return u===void 0?50/sB:u},set:function(v){u=v}});var l="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return l},set:function(v){l=v}});var c="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!c||this instanceof mm||this instanceof ll))return uw(c,this.objId,this.scope)},set:function(v){v=v.toString(),c=v}});var p=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(p)return this instanceof kr?p:uw(p,this.objId,this.scope)},set:function(v){v=v.toString(),p=this instanceof kr?v:v.substr(0,1)==="("?Ec(v.substr(1,v.length-2)):Ec(v)}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof kr?Ec(p.substr(1,p.length-1)):p},set:function(v){v=v.toString(),p=this instanceof kr?"/"+v:v}});var f=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(f)return f},set:function(v){this.V=v}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(f)return this instanceof kr?f:uw(f,this.objId,this.scope)},set:function(v){v=v.toString(),f=this instanceof kr?v:v.substr(0,1)==="("?Ec(v.substr(1,v.length-2)):Ec(v)}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof kr?Ec(f.substr(1,f.length-1)):f},set:function(v){v=v.toString(),f=this instanceof kr?"/"+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 x,b=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return b},set:function(v){v=!!v,b=v}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(x)return x},set:function(v){x=v}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return!!hr(this.Ff,1)},set:function(v){v?this.Ff=dr(this.Ff,1):this.Ff=pr(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return!!hr(this.Ff,2)},set:function(v){v?this.Ff=dr(this.Ff,2):this.Ff=pr(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return!!hr(this.Ff,3)},set:function(v){v?this.Ff=dr(this.Ff,3):this.Ff=pr(this.Ff,3)}});var E=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(E!==null)return E},set:function(v){if([0,1,2].indexOf(v)===-1)throw new Error('Invalid value "'+v+'" for attribute Q supplied.');E=v}}),Object.defineProperty(this,"textAlign",{get:function(){var v;switch(E){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:E=2;break;case"center":case 1:E=1;break;case"left":case 0:default:E=0}}})};lA(Ss,io);var lu=function(){Ss.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var e=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return e},set:function(n){e=n}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return e},set:function(n){e=n}});var t=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return O_(t,this.objId,this.scope)},set:function(n){var r,i;i=[],typeof(r=n)=="string"&&(i=function(A,s,a){a||(a=1);for(var o,u=[];o=s.exec(A);)u.push(o[a]);return u}(r,/\((.*?)\)/g)),t=i}}),this.getOptions=function(){return t},this.setOptions=function(n){t=n,this.sort&&t.sort()},this.addOption=function(n){n=(n=n||"").toString(),t.push(n),this.sort&&t.sort()},this.removeOption=function(n,r){for(r=r||!1,n=(n=n||"").toString();t.indexOf(n)!==-1&&(t.splice(t.indexOf(n),1),r!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return!!hr(this.Ff,18)},set:function(n){n?this.Ff=dr(this.Ff,18):this.Ff=pr(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return!!hr(this.Ff,19)},set:function(n){this.combo===!0&&(n?this.Ff=dr(this.Ff,19):this.Ff=pr(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return!!hr(this.Ff,20)},set:function(n){n?(this.Ff=dr(this.Ff,20),t.sort()):this.Ff=pr(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return!!hr(this.Ff,22)},set:function(n){n?this.Ff=dr(this.Ff,22):this.Ff=pr(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!hr(this.Ff,23)},set:function(n){n?this.Ff=dr(this.Ff,23):this.Ff=pr(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return!!hr(this.Ff,27)},set:function(n){n?this.Ff=dr(this.Ff,27):this.Ff=pr(this.Ff,27)}}),this.hasAppearanceStream=!1};lA(lu,Ss);var uu=function(){lu.call(this),this.fontName="helvetica",this.combo=!1};lA(uu,lu);var cu=function(){uu.call(this),this.combo=!0};lA(cu,uu);var Jh=function(){cu.call(this),this.edit=!0};lA(Jh,cu);var kr=function(){Ss.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return!!hr(this.Ff,15)},set:function(n){n?this.Ff=dr(this.Ff,15):this.Ff=pr(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return!!hr(this.Ff,16)},set:function(n){n?this.Ff=dr(this.Ff,16):this.Ff=pr(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return!!hr(this.Ff,17)},set:function(n){n?this.Ff=dr(this.Ff,17):this.Ff=pr(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return!!hr(this.Ff,26)},set:function(n){n?this.Ff=dr(this.Ff,26):this.Ff=pr(this.Ff,26)}});var e,t={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var n=function(A){return A};if(this.scope&&(n=this.scope.internal.getEncryptor(this.objId)),Object.keys(t).length!==0){var r,i=[];for(r in i.push("<<"),t)i.push("/"+r+" ("+Fu(n(t[r]))+")");return i.push(">>"),i.join(`
310`)}},set:function(n){Cn(n)==="object"&&(t=n)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return t.CA||""},set:function(n){typeof n=="string"&&(t.CA=n)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return e},set:function(n){e=n}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return e.substr(1,e.length-1)},set:function(n){e="/"+n}})};lA(kr,Ss);var Xh=function(){kr.call(this),this.pushButton=!0};lA(Xh,kr);var fu=function(){kr.call(this),this.radio=!0,this.pushButton=!1;var e=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=t!==void 0?t:[]}})};lA(fu,kr);var mm=function(){var e,t;Ss.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return e},set:function(i){e=i}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return t},set:function(i){t=i}});var n,r={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var i=function(a){return a};this.scope&&(i=this.scope.internal.getEncryptor(this.objId));var A,s=[];for(A in s.push("<<"),r)s.push("/"+A+" ("+Fu(i(r[A]))+")");return s.push(">>"),s.join(`
311`)},set:function(i){Cn(i)==="object"&&(r=i)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return r.CA||""},set:function(i){typeof i=="string"&&(r.CA=i)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return n},set:function(i){n=i}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return n.substr(1,n.length-1)},set:function(i){n="/"+i}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=Bt.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};lA(mm,Ss),fu.prototype.setAppearance=function(e){if(!("createAppearanceStream"in e)||!("getCA"in e))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var t in this.Kids)if(this.Kids.hasOwnProperty(t)){var n=this.Kids[t];n.appearanceStreamContent=e.createAppearanceStream(n.optionName),n.caption=e.getCA()}},fu.prototype.createOption=function(e){var t=new mm;return t.Parent=this,t.optionName=e,this.Kids.push(t),w7.call(this.scope,t),t};var Yh=function(){kr.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=Bt.CheckBox.createAppearanceStream()};lA(Yh,kr);var ll=function(){Ss.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return!!hr(this.Ff,13)},set:function(t){t?this.Ff=dr(this.Ff,13):this.Ff=pr(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return!!hr(this.Ff,21)},set:function(t){t?this.Ff=dr(this.Ff,21):this.Ff=pr(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!hr(this.Ff,23)},set:function(t){t?this.Ff=dr(this.Ff,23):this.Ff=pr(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return!!hr(this.Ff,24)},set:function(t){t?this.Ff=dr(this.Ff,24):this.Ff=pr(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return!!hr(this.Ff,25)},set:function(t){t?this.Ff=dr(this.Ff,25):this.Ff=pr(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return!!hr(this.Ff,26)},set:function(t){t?this.Ff=dr(this.Ff,26):this.Ff=pr(this.Ff,26)}});var e=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return e},set:function(t){Number.isInteger(t)&&(e=t)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};lA(ll,Ss);var Zh=function(){ll.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return!!hr(this.Ff,14)},set:function(e){e?this.Ff=dr(this.Ff,14):this.Ff=pr(this.Ff,14)}}),this.password=!0};lA(Zh,ll);var Bt={CheckBox:{createAppearanceStream:function(){return{N:{On:Bt.CheckBox.YesNormal},D:{On:Bt.CheckBox.YesPushDown,Off:Bt.CheckBox.OffPushDown}}},YesPushDown:function(e){var t=Xs(e);t.scope=e.scope;var n=[],r=e.scope.internal.getFont(e.fontName,e.fontStyle).id,i=e.scope.__private__.encodeColorString(e.color),A=Jy(e,e.caption);return n.push("0.749023 g"),n.push("0 0 "+$t(Bt.internal.getWidth(e))+" "+$t(Bt.internal.getHeight(e))+" re"),n.push("f"),n.push("BMC"),n.push("q"),n.push("0 0 1 rg"),n.push("/"+r+" "+$t(A.fontSize)+" Tf "+i),n.push("BT"),n.push(A.text),n.push("ET"),n.push("Q"),n.push("EMC"),t.stream=n.join(`
312`),t},YesNormal:function(e){var t=Xs(e);t.scope=e.scope;var n=e.scope.internal.getFont(e.fontName,e.fontStyle).id,r=e.scope.__private__.encodeColorString(e.color),i=[],A=Bt.internal.getHeight(e),s=Bt.internal.getWidth(e),a=Jy(e,e.caption);return i.push("1 g"),i.push("0 0 "+$t(s)+" "+$t(A)+" re"),i.push("f"),i.push("q"),i.push("0 0 1 rg"),i.push("0 0 "+$t(s-1)+" "+$t(A-1)+" re"),i.push("W"),i.push("n"),i.push("0 g"),i.push("BT"),i.push("/"+n+" "+$t(a.fontSize)+" Tf "+r),i.push(a.text),i.push("ET"),i.push("Q"),t.stream=i.join(`
313`),t},OffPushDown:function(e){var t=Xs(e);t.scope=e.scope;var n=[];return n.push("0.749023 g"),n.push("0 0 "+$t(Bt.internal.getWidth(e))+" "+$t(Bt.internal.getHeight(e))+" re"),n.push("f"),t.stream=n.join(`
314`),t}},RadioButton:{Circle:{createAppearanceStream:function(e){var t={D:{Off:Bt.RadioButton.Circle.OffPushDown},N:{}};return t.N[e]=Bt.RadioButton.Circle.YesNormal,t.D[e]=Bt.RadioButton.Circle.YesPushDown,t},getCA:function(){return"l"},YesNormal:function(e){var t=Xs(e);t.scope=e.scope;var n=[],r=Bt.internal.getWidth(e)<=Bt.internal.getHeight(e)?Bt.internal.getWidth(e)/4:Bt.internal.getHeight(e)/4;r=Number((.9*r).toFixed(5));var i=Bt.internal.Bezier_C,A=Number((r*i).toFixed(5));return n.push("q"),n.push("1 0 0 1 "+Ra(Bt.internal.getWidth(e)/2)+" "+Ra(Bt.internal.getHeight(e)/2)+" cm"),n.push(r+" 0 m"),n.push(r+" "+A+" "+A+" "+r+" 0 "+r+" c"),n.push("-"+A+" "+r+" -"+r+" "+A+" -"+r+" 0 c"),n.push("-"+r+" -"+A+" -"+A+" -"+r+" 0 -"+r+" c"),n.push(A+" -"+r+" "+r+" -"+A+" "+r+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join(`
315`),t},YesPushDown:function(e){var t=Xs(e);t.scope=e.scope;var n=[],r=Bt.internal.getWidth(e)<=Bt.internal.getHeight(e)?Bt.internal.getWidth(e)/4:Bt.internal.getHeight(e)/4;r=Number((.9*r).toFixed(5));var i=Number((2*r).toFixed(5)),A=Number((i*Bt.internal.Bezier_C).toFixed(5)),s=Number((r*Bt.internal.Bezier_C).toFixed(5));return n.push("0.749023 g"),n.push("q"),n.push("1 0 0 1 "+Ra(Bt.internal.getWidth(e)/2)+" "+Ra(Bt.internal.getHeight(e)/2)+" cm"),n.push(i+" 0 m"),n.push(i+" "+A+" "+A+" "+i+" 0 "+i+" c"),n.push("-"+A+" "+i+" -"+i+" "+A+" -"+i+" 0 c"),n.push("-"+i+" -"+A+" -"+A+" -"+i+" 0 -"+i+" c"),n.push(A+" -"+i+" "+i+" -"+A+" "+i+" 0 c"),n.push("f"),n.push("Q"),n.push("0 g"),n.push("q"),n.push("1 0 0 1 "+Ra(Bt.internal.getWidth(e)/2)+" "+Ra(Bt.internal.getHeight(e)/2)+" cm"),n.push(r+" 0 m"),n.push(r+" "+s+" "+s+" "+r+" 0 "+r+" c"),n.push("-"+s+" "+r+" -"+r+" "+s+" -"+r+" 0 c"),n.push("-"+r+" -"+s+" -"+s+" -"+r+" 0 -"+r+" c"),n.push(s+" -"+r+" "+r+" -"+s+" "+r+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join(`
316`),t},OffPushDown:function(e){var t=Xs(e);t.scope=e.scope;var n=[],r=Bt.internal.getWidth(e)<=Bt.internal.getHeight(e)?Bt.internal.getWidth(e)/4:Bt.internal.getHeight(e)/4;r=Number((.9*r).toFixed(5));var i=Number((2*r).toFixed(5)),A=Number((i*Bt.internal.Bezier_C).toFixed(5));return n.push("0.749023 g"),n.push("q"),n.push("1 0 0 1 "+Ra(Bt.internal.getWidth(e)/2)+" "+Ra(Bt.internal.getHeight(e)/2)+" cm"),n.push(i+" 0 m"),n.push(i+" "+A+" "+A+" "+i+" 0 "+i+" c"),n.push("-"+A+" "+i+" -"+i+" "+A+" -"+i+" 0 c"),n.push("-"+i+" -"+A+" -"+A+" -"+i+" 0 -"+i+" c"),n.push(A+" -"+i+" "+i+" -"+A+" "+i+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join(`
317`),t}},Cross:{createAppearanceStream:function(e){var t={D:{Off:Bt.RadioButton.Cross.OffPushDown},N:{}};return t.N[e]=Bt.RadioButton.Cross.YesNormal,t.D[e]=Bt.RadioButton.Cross.YesPushDown,t},getCA:function(){return"8"},YesNormal:function(e){var t=Xs(e);t.scope=e.scope;var n=[],r=Bt.internal.calculateCross(e);return n.push("q"),n.push("1 1 "+$t(Bt.internal.getWidth(e)-2)+" "+$t(Bt.internal.getHeight(e)-2)+" re"),n.push("W"),n.push("n"),n.push($t(r.x1.x)+" "+$t(r.x1.y)+" m"),n.push($t(r.x2.x)+" "+$t(r.x2.y)+" l"),n.push($t(r.x4.x)+" "+$t(r.x4.y)+" m"),n.push($t(r.x3.x)+" "+$t(r.x3.y)+" l"),n.push("s"),n.push("Q"),t.stream=n.join(`
318`),t},YesPushDown:function(e){var t=Xs(e);t.scope=e.scope;var n=Bt.internal.calculateCross(e),r=[];return r.push("0.749023 g"),r.push("0 0 "+$t(Bt.internal.getWidth(e))+" "+$t(Bt.internal.getHeight(e))+" re"),r.push("f"),r.push("q"),r.push("1 1 "+$t(Bt.internal.getWidth(e)-2)+" "+$t(Bt.internal.getHeight(e)-2)+" re"),r.push("W"),r.push("n"),r.push($t(n.x1.x)+" "+$t(n.x1.y)+" m"),r.push($t(n.x2.x)+" "+$t(n.x2.y)+" l"),r.push($t(n.x4.x)+" "+$t(n.x4.y)+" m"),r.push($t(n.x3.x)+" "+$t(n.x3.y)+" l"),r.push("s"),r.push("Q"),t.stream=r.join(`
319`),t},OffPushDown:function(e){var t=Xs(e);t.scope=e.scope;var n=[];return n.push("0.749023 g"),n.push("0 0 "+$t(Bt.internal.getWidth(e))+" "+$t(Bt.internal.getHeight(e))+" re"),n.push("f"),t.stream=n.join(`
320`),t}}},createDefaultAppearanceStream:function(e){var t=e.scope.internal.getFont(e.fontName,e.fontStyle).id,n=e.scope.__private__.encodeColorString(e.color);return"/"+t+" "+e.fontSize+" Tf "+n}};Bt.internal={Bezier_C:.551915024494,calculateCross:function(e){var t=Bt.internal.getWidth(e),n=Bt.internal.getHeight(e),r=Math.min(t,n);return{x1:{x:(t-r)/2,y:(n-r)/2+r},x2:{x:(t-r)/2+r,y:(n-r)/2},x3:{x:(t-r)/2,y:(n-r)/2},x4:{x:(t-r)/2+r,y:(n-r)/2+r}}}},Bt.internal.getWidth=function(e){var t=0;return Cn(e)==="object"&&(t=$b(e.Rect[2])),t},Bt.internal.getHeight=function(e){var t=0;return Cn(e)==="object"&&(t=$b(e.Rect[3])),t};var w7=ir.addField=function(e){if(m7(this,e),!(e instanceof Ss))throw new Error("Invalid argument passed to jsPDF.addField.");var t;return(t=e).scope.internal.acroformPlugin.printedOut&&(t.scope.internal.acroformPlugin.printedOut=!1,t.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),t.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(t),e.page=e.scope.internal.getCurrentPageInfo().pageNumber,this};ir.AcroFormChoiceField=lu,ir.AcroFormListBox=uu,ir.AcroFormComboBox=cu,ir.AcroFormEditBox=Jh,ir.AcroFormButton=kr,ir.AcroFormPushButton=Xh,ir.AcroFormRadioButton=fu,ir.AcroFormCheckBox=Yh,ir.AcroFormTextField=ll,ir.AcroFormPasswordField=Zh,ir.AcroFormAppearance=Bt,ir.AcroForm={ChoiceField:lu,ListBox:uu,ComboBox:cu,EditBox:Jh,Button:kr,PushButton:Xh,RadioButton:fu,CheckBox:Yh,TextField:ll,PasswordField:Zh,Appearance:Bt},Pt.AcroForm={ChoiceField:lu,ListBox:uu,ComboBox:cu,EditBox:Jh,Button:kr,PushButton:Xh,RadioButton:fu,CheckBox:Yh,TextField:ll,PasswordField:Zh,Appearance:Bt};var y7=Pt.AcroForm;function H_(e){return e.reduce(function(t,n,r){return t[n]=r,t},{})}(function(e){e.__addimage__={};var t="UNKNOWN",n={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]]},r=e.__addimage__.getImageFileTypeByImageData=function(j,D){var X,J,Ae,le,we,re=t;if((D=D||t)==="RGBA"||j.data!==void 0&&j.data instanceof Uint8ClampedArray&&"height"in j&&"width"in j)return"RGBA";if(P(j))for(we in n)for(Ae=n[we],X=0;X<Ae.length;X+=1){for(le=!0,J=0;J<Ae[X].length;J+=1)if(Ae[X][J]!==void 0&&Ae[X][J]!==j[J]){le=!1;break}if(le===!0){re=we;break}}else for(we in n)for(Ae=n[we],X=0;X<Ae.length;X+=1){for(le=!0,J=0;J<Ae[X].length;J+=1)if(Ae[X][J]!==void 0&&Ae[X][J]!==j.charCodeAt(J)){le=!1;break}if(le===!0){re=we;break}}return re===t&&D!==t&&(re=D),re},i=function j(D){for(var X=this.internal.write,J=this.internal.putStream,Ae=(0,this.internal.getFilters)();Ae.indexOf("FlateEncode")!==-1;)Ae.splice(Ae.indexOf("FlateEncode"),1);D.objectId=this.internal.newObject();var le=[];
vendor: 1,362 bytes, line 320
320if(le.push({key:"Type",value:"/XObject"}),le.push({key:"Subtype",value:"/Image"}),le.push({key:"Width",value:D.width}),le.push({key:"Height",value:D.height}),D.colorSpace===E.INDEXED?le.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(D.palette.length/3-1)+" "+("sMask"in D&&D.sMask!==void 0?D.objectId+2:D.objectId+1)+" 0 R]"}):(le.push({key:"ColorSpace",value:"/"+D.colorSpace}),D.colorSpace===E.DEVICE_CMYK&&le.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),le.push({key:"BitsPerComponent",value:D.bitsPerComponent}),"decodeParameters"in D&&D.decodeParameters!==void 0&&le.push({key:"DecodeParms",value:"<<"+D.decodeParameters+">>"}),"transparency"in D&&Array.isArray(D.transparency)){for(var we="",re=0,ce=D.transparency.length;re<ce;re++)we+=D.transparency[re]+" "+D.transparency[re]+" ";le.push({key:"Mask",value:"["+we+"]"})}D.sMask!==void 0&&le.push({key:"SMask",value:D.objectId+1+" 0 R"});var H=D.filter!==void 0?["/"+D.filter]:void 0;if(J({data:D.data,additionalKeyValues:le,alreadyAppliedFilters:H,objectId:D.objectId}),X("endobj"),"sMask"in D&&D.sMask!==void 0){var Ue="/Predictor "+D.predictor+" /Colors 1 /BitsPerComponent "+D.bitsPerComponent+" /Columns "+D.width,T={width:D.width,height:D.height,colorSpace:"DeviceGray",bitsPerComponent:D.bitsPerComponent,decodeParameters:Ue,data:D.sMask};"filter"in D&&(T.filter=D.filter),j.call(this,T)}
vendor: 5,312 bytes, line 320
320if(D.colorSpace===E.INDEXED){var L=this.internal.newObject();J({data:G(new Uint8Array(D.palette)),objectId:L}),X("endobj")}},A=function(){var j=this.internal.collections.addImage_images;for(var D in j)i.call(this,j[D])},s=function(){var j,D=this.internal.collections.addImage_images,X=this.internal.write;for(var J in D)X("/I"+(j=D[J]).index,j.objectId,"0","R")},a=function(){this.internal.collections.addImage_images||(this.internal.collections.addImage_images={},this.internal.events.subscribe("putResources",A),this.internal.events.subscribe("putXobjectDict",s))},o=function(){var j=this.internal.collections.addImage_images;return a.call(this),j},u=function(){return Object.keys(this.internal.collections.addImage_images).length},l=function(j){return typeof e["process"+j.toUpperCase()]=="function"},c=function(j){return Cn(j)==="object"&&j.nodeType===1},p=function(j,D){if(j.nodeName==="IMG"&&j.hasAttribute("src")){var X=""+j.getAttribute("src");if(X.indexOf("data:image/")===0)return qh(unescape(X).split("base64,").pop());var J=e.loadFile(X,!0);if(J!==void 0)return J}if(j.nodeName==="CANVAS"){if(j.width===0||j.height===0)throw new Error("Given canvas must have data. Canvas width: "+j.width+", height: "+j.height);var Ae;switch(D){case"PNG":Ae="image/png";break;case"WEBP":Ae="image/webp";break;case"JPEG":case"JPG":default:Ae="image/jpeg"}return qh(j.toDataURL(Ae,1).split("base64,").pop())}},f=function(j){var D=this.internal.collections.addImage_images;if(D){for(var X in D)if(j===D[X].alias)return D[X]}},x=function(j,D,X){return j||D||(j=-96,D=-96),j<0&&(j=-1*X.width*72/j/this.internal.scaleFactor),D<0&&(D=-1*X.height*72/D/this.internal.scaleFactor),j===0&&(j=D*X.width/X.height),D===0&&(D=j*X.height/X.width),[j,D]},b=function(j,D,X,J,Ae,le){var we=x.call(this,X,J,Ae),re=this.internal.getCoordinateString,ce=this.internal.getVerticalCoordinateString,H=o.call(this);if(X=we[0],J=we[1],H[Ae.index]=Ae,le){le*=Math.PI/180;var Ue=Math.cos(le),T=Math.sin(le),L=function(oe){return oe.toFixed(4)},ne=[L(Ue),L(T),L(-1*T),L(Ue),0,0,"cm"]}this.internal.write("q"),le?(this.internal.write([1,"0","0",1,re(j),ce(D+J),"cm"].join(" ")),this.internal.write(ne.join(" ")),this.internal.write([re(X),"0","0",re(J),"0","0","cm"].join(" "))):this.internal.write([re(X),"0","0",re(J),re(j),ce(D+J),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+Ae.index+" Do"),this.internal.write("Q")},E=e.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"};e.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=e.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},B=e.__addimage__.sHashCode=function(j){var D,X,J=0;if(typeof j=="string")for(X=j.length,D=0;D<X;D++)J=(J<<5)-J+j.charCodeAt(D),J|=0;else if(P(j))for(X=j.byteLength/2,D=0;D<X;D++)J=(J<<5)-J+j[D],J|=0;return J},F=e.__addimage__.validateStringAsBase64=function(j){(j=j||"").toString().trim();var D=!0;return j.length===0&&(D=!1),j.length%4!=0&&(D=!1),/^[A-Za-z0-9+/]+$/.test(j.substr(0,j.length-2))===!1&&(D=!1),/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(j.substr(-2))===!1&&(D=!1),D},U=e.__addimage__.extractImageFromDataUrl=function(j){if(j==null||!(j=j.trim()).startsWith("data:"))return null;var D=j.indexOf(",");return D<0?null:j.substring(0,D).trim().endsWith("base64")?j.substring(D+1):null},N=e.__addimage__.supportsArrayBuffer=function(){return typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"};e.__addimage__.isArrayBuffer=function(j){return N()&&j instanceof ArrayBuffer};var P=e.__addimage__.isArrayBufferView=function(j){return N()&&typeof Uint32Array<"u"&&(j instanceof Int8Array||j instanceof Uint8Array||typeof Uint8ClampedArray<"u"&&j instanceof Uint8ClampedArray||j instanceof Int16Array||j instanceof Uint16Array||j instanceof Int32Array||j instanceof Uint32Array||j instanceof Float32Array||j instanceof Float64Array)},$=e.__addimage__.binaryStringToUint8Array=function(j){for(var D=j.length,X=new Uint8Array(D),J=0;J<D;J++)X[J]=j.charCodeAt(J);return X},G=e.__addimage__.arrayBufferToBinaryString=function(j){for(var D="",X=P(j)?j:new Uint8Array(j),J=0;J<X.length;J+=8192)D+=String.fromCharCode.apply(null,X.subarray(J,J+8192));return D};e.addImage=function(){var j,D,X,J,Ae,le,we,re,ce;if(typeof arguments[1]=="number"?(D=t,X=arguments[1],J=arguments[2],Ae=arguments[3],le=arguments[4],we=arguments[5],re=arguments[6],ce=arguments[7]):(D=arguments[1],X=arguments[2],J=arguments[3],Ae=arguments[4],le=arguments[5],we=arguments[6],re=arguments[7],ce=arguments[8]),Cn(j=arguments[0])==="object"&&!c(j)&&"imageData"in j){var H=j;j=H.imageData,D=H.format||D||t,X=H.x||X||0,J=H.y||J||0,Ae=H.w||H.width||Ae,le=H.h||H.height||le,we=H.alias||we,re=H.compression||re,ce=H.rotation||H.angle||ce}var Ue=this.internal.getFilters();if(re===void 0&&Ue.indexOf("FlateEncode")!==-1&&(re="SLOW"),isNaN(X)||isNaN(J))throw new Error("Invalid coordinates passed to 
320jsPDF.addImage");a.call(this);var T=te.call(this,j,D,we,re);return b.call(this,X,J,Ae,le,T,ce),this};var te=function(j,D,X,J){var Ae,le,we;if(typeof j=="string"&&r(j)===t){j=unescape(j);var re=M(j,!1);(re!==""||(re=e.loadFile(j,!0))!==void 0)&&(j=re)}if(c(j)&&(j=p(j,D)),D=r(j,D),!l(D))throw new Error("addImage does not support files of type '"+D+"', please ensure that a plugin for '"+D+"' support is added.");if(((we=X)==null||we.length===0)&&(X=function(ce){return typeof ce=="string"||P(ce)?B(ce):P(ce.data)?B(ce.data):null}(j)),(Ae=f.call(this,X))||(N()&&(j instanceof Uint8Array||D==="RGBA"||(le=j,j=$(j))),Ae=this["process"+D.toUpperCase()](j,u.call(this),X,function(ce){return ce&&typeof ce=="string"&&(ce=ce.toUpperCase()),ce in e.image_compression?ce:v.NONE}(J),le)),!Ae)throw new Error("An unknown error occurred whilst processing the image.");return Ae},M=e.__addimage__.convertBase64ToBinaryString=function(j,D){D=typeof D!="boolean"||D;var X,J="";if(typeof j=="string"){var Ae;X=(Ae=U(j))!==null&&Ae!==void 0?Ae:j;try{J=qh(X)}catch(le){if(D)throw F(X)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+le.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return J};e.getImageProperties=function(j){var D,X,J="";if(c(j)&&(j=p(j)),typeof j=="string"&&r(j)===t&&((J=M(j,!1))===""&&(J=e.loadFile(j)||""),j=J),X=r(j),!l(X))throw new Error("addImage does not support files of type '"+X+"', please ensure that a plugin for '"+X+"' support is added.");if(!N()||j instanceof Uint8Array||(j=$(j)),!(D=this["process"+X.toUpperCase()](j)))throw new Error("An unknown error occurred whilst processing the image");return D.fileType=X,D}})(Pt.API),function(e){var t=function(n){if(n!==void 0&&n!="")return!0};Pt.API.events.push(["addPage",function(n){this.internal.getPageInfo(n.pageNumber).pageContext.annotations=[]}]),e.events.push(["putPage",function(n){for(var r,i,A,s=this.internal.getCoordinateString,a=this.internal.getVerticalCoordinateString,o=this.internal.getPageInfoByObjId(n.objId),u=n.pageContext.annotations,l=!1,c=0;c<u.length&&!l;c++)switch((r=u[c]).type){case"link":(t(r.options.url)||t(r.options.pageNumber))&&(l=!0);break;case"reference":case"text":case"freetext":l=!0}if(l!=0){this.internal.write("/Annots [");for(var p=0;p<u.length;p++){r=u[p];var f=this.internal.pdfEscape,x=this.internal.getEncryptor(n.objId);switch(r.type){case"reference":this.internal.write(" "+r.object.objId+" 0 R ");break;case"text":var b=this.internal.newAdditionalObject(),E=this.internal.newAdditionalObject(),v=this.internal.getEncryptor(b.objId),B=r.title||"Note";A="<</Type /Annot /Subtype /Text "+(i="/Rect ["+s(r.bounds.x)+" "+a(r.bounds.y+r.bounds.h)+" "+s(r.bounds.x+r.bounds.w)+" "+a(r.bounds.y)+"] ")+"/Contents ("+f(v(r.contents))+")",A+=" /Popup "+E.objId+" 0 R",A+=" /P "+o.objId+" 0 R",A+=" /T ("+f(v(B))+") >>",b.content=A;var F=b.objId+" 0 R";A="<</Type /Annot /Subtype /Popup "+(i="/Rect ["+s(r.bounds.x+30)+" "+a(r.bounds.y+r.bounds.h)+" "+s(r.bounds.x+r.bounds.w+30)+" "+a(r.bounds.y)+"] ")+" /Parent "+F,r.open&&(A+=" /Open true"),A+=" >>",E.content=A,this.internal.write(b.objId,"0 R",E.objId,"0 R");break;case"freetext":i="/Rect ["+s(r.bounds.x)+" "+a(r.bounds.y)+" "+s(r.bounds.x+r.bounds.w)+" "+a(r.bounds.y+r.bounds.h)+"] ";var U=r.color||"#000000";A="<</Type /Annot /Subtype /FreeText "+i+"/Contents ("+f(x(r.contents))+")",A+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+U+")",A+=" /Border [0 0 0]",A+=" >>",this.internal.write(A);break;case"link":if(r.options.name){var N=this.annotations._nameMap[r.options.name];r.options.pageNumber=N.page,r.options.top=N.y}else r.options.top||(r.options.top=0);if(i="/Rect ["+r.finalBounds.x+" "+r.finalBounds.y+" "+r.finalBounds.w+" "+r.finalBounds.h+"] ",A="",r.options.url)A="<</Type /Annot /Subtype /Link "+i+"/Border [0 0 0] /A <</S /URI /URI ("+f(x(r.options.url))+") >>";else if(r.options.pageNumber)switch(A="<</Type /Annot /Subtype /Link "+i+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(r.options.pageNumber).objId+" 0 R",r.options.magFactor=r.options.magFactor||"XYZ",r.options.magFactor){case"Fit":A+=" /Fit]";break;case"FitH":A+=" /FitH "+r.options.top+"]";break;
vendor: 27,248 bytes, line 320
320case"FitV":r.options.left=r.options.left||0,A+=" /FitV "+r.options.left+"]";break;case"XYZ":default:var P=a(r.options.top);r.options.left=r.options.left||0,r.options.zoom===void 0&&(r.options.zoom=0),A+=" /XYZ "+r.options.left+" "+P+" "+r.options.zoom+"]"}A!=""&&(A+=" >>",this.internal.write(A))}}this.internal.write("]")}}]),e.createAnnotation=function(n){var r=this.internal.getCurrentPageInfo();switch(n.type){case"link":this.link(n.bounds.x,n.bounds.y,n.bounds.w,n.bounds.h,n);break;case"text":case"freetext":r.pageContext.annotations.push(n)}},e.link=function(n,r,i,A,s){var a=this.internal.getCurrentPageInfo(),o=this.internal.getCoordinateString,u=this.internal.getVerticalCoordinateString;a.pageContext.annotations.push({finalBounds:{x:o(n),y:u(r),w:o(n+i),h:u(r+A)},options:s,type:"link"})},e.textWithLink=function(n,r,i,A){var s,a,o=this.getTextWidth(n),u=this.internal.getLineHeight()/this.internal.scaleFactor;if(A.maxWidth!==void 0){a=A.maxWidth;var l=this.splitTextToSize(n,a).length;s=Math.ceil(u*l)}else a=o,s=u;return this.text(n,r,i,A),i+=.2*u,A.align==="center"&&(r-=o/2),A.align==="right"&&(r-=o),this.link(r,i-u,a,s,A),o},e.getTextWidth=function(n){var r=this.internal.getFontSize();return this.getStringUnitWidth(n)*r/this.internal.scaleFactor}}(Pt.API),function(e){var t={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]},n={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}},r={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},i=[1570,1571,1573,1575];e.__arabicParser__={};var A=e.__arabicParser__.isInArabicSubstitutionA=function(b){return t[b.charCodeAt(0)]!==void 0},s=e.__arabicParser__.isArabicLetter=function(b){return typeof b=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(b)},a=e.__arabicParser__.isArabicEndLetter=function(b){return s(b)&&A(b)&&t[b.charCodeAt(0)].length<=2},o=e.__arabicParser__.isArabicAlfLetter=function(b){return s(b)&&i.indexOf(b.charCodeAt(0))>=0};e.__arabicParser__.arabicLetterHasIsolatedForm=function(b){return s(b)&&A(b)&&t[b.charCodeAt(0)].length>=1};var u=e.__arabicParser__.arabicLetterHasFinalForm=function(b){return s(b)&&A(b)&&t[b.charCodeAt(0)].length>=2};e.__arabicParser__.arabicLetterHasInitialForm=function(b){return s(b)&&A(b)&&t[b.charCodeAt(0)].length>=3};var l=e.__arabicParser__.arabicLetterHasMedialForm=function(b){return s(b)&&A(b)&&t[b.charCodeAt(0)].length==4},c=e.__arabicParser__.resolveLigatures=function(b){var E=0,v=n,B="",F=0;for(E=0;E<b.length;E+=1)v[b.charCodeAt(E)]!==void 0?(F++,typeof(v=v[b.charCodeAt(E)])=="number"&&(B+=String.fromCharCode(v),v=n,F=0),E===b.length-1&&(v=n,B+=b.charAt(E-(F-1)),E-=F-1,F=0)):(v=n,B+=b.charAt(E-F),E-=F,F=0);return B};e.__arabicParser__.isArabicDiacritic=function(b){return b!==void 0&&r[b.charCodeAt(0)]!==void 0};var p=e.__arabicParser__.getCorrectForm=function(b,E,v){return s(b)?A(b)===!1?-1:!u(b)||!s(E)&&!s(v)||!s(v)&&a(E)||a(b)&&!s(E)||a(b)&&o(E)||a(b)&&a(E)?0:l(b)&&s(E)&&!a(E)&&s(v)&&u(v)?3:a(b)||!s(v)?1:2:-1},f=function(b){var E=0,v=0,B=0,F="",U="",N="",P=(b=b||"").split("\\s+"),$=[];for(E=0;E<P.length;E+=1){for($.push(""),v=0;v<P[E].length;v+=1)F=P[E][v],U=P[E][v-1],N=P[E][v+1],s(F)?(B=p(F,U,N),$[E]+=B!==-1?String.fromCharCode(t[F.charCodeAt(0)][B]):F):$[E]+=F;$[E]=c($[E])}return $.join(" ")},x=e.__arabicParser__.processArabic=e.processArabic=function(){var b,E=typeof arguments[0]=="string"?arguments[0]:arguments[0].text,v=[];if(Array.isArray(E)){var B=0;for(v=[],B=0;B<E.length;B+=1)Array.isArray(E[B])?v.push([f(E[B][0]),E[B][1],E[B][2]]):v.push([f(E[B])]);b=v}else b=f(E);return typeof arguments[0]=="string"?b:(arguments[0].text=b,arguments[0])};e.events.push(["preProcessText",x])}(Pt.API),Pt.API.autoPrint=function(e){var t;switch((e=e||{}).variant=e.variant||"non-conform",e.variant){case"javascript":this.addJS("print({});");break;case"non-conform":default:this.internal.events.subscribe("postPutResources",function(){t=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 "+t+" 0 R")})}return this},function(e){var t=function(){var n=void 0;Object.defineProperty(this,"pdf",{get:function(){return n},set:function(a){n=a}});var r=150;Object.defineProperty(this,"width",{get:function(){return r},set:function(a){r=isNaN(a)||Number.isInteger(a)===!1||a<0?150:a,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=r+1)}});var i=300;Object.defineProperty(this,"height",{get:function(){return i},set:function(a){i=isNaN(a)||Number.isInteger(a)===!1||a<0?300:a,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=i+1)}});var A=[];Object.defineProperty(this,"childNodes",{get:function(){return A},set:function(a){A=a}});var s={};Object.defineProperty(this,"style",{get:function(){return s},set:function(a){s=a}}),Object.defineProperty(this,"parentNode",{})};t.prototype.getContext=function(n,r){var i;if((n=n||"2d")!=="2d")return null;for(i in r)this.pdf.context2d.hasOwnProperty(i)&&(this.pdf.context2d[i]=r[i]);return this.pdf.context2d._canvas=this,this.pdf.context2d},t.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},e.events.push(["initialized",function(){this.canvas=new t,this.canvas.pdf=this}])}(Pt.API),function(e){var t={left:0,top:0,bottom:0,right:0},n=!1,r=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({},t),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 o=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return o},set:function(b){o=b}});var u=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return u},set:function(b){u=b}});var l=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return l},set:function(b){l=b}});var c=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return c},set:function(b){c=b}});var p=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return p},set:function(b){p=b}});var f=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return f},set:function(b){f=b}});var x=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return x},set:function(b){x=b}}),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]},e.setHeaderFunction=function(o){return r.call(this),this.internal.__cell__.headerFunction=typeof o=="function"?o:void 0,this},e.getTextDimensions=function(o,u){r.call(this);var l=(u=u||{}).fontSize||this.getFontSize(),c=u.font||this.getFont(),p=u.scaleFactor||this.internal.scaleFactor,f=0,x=0,b=0,E=this;if(!Array.isArray(o)&&typeof o!="string"){if(typeof o!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");o=String(o)}var v=u.maxWidth;v>0?typeof o=="string"?o=this.splitTextToSize(o,v):Object.prototype.toString.call(o)==="[object Array]"&&(o=o.reduce(function(F,U){return F.concat(E.splitTextToSize(U,v))},[])):o=Array.isArray(o)?o:[o];for(var B=0;B<o.length;B++)f<(b=this.getStringUnitWidth(o[B],{font:c})*l)&&(f=b);return f!==0&&(x=o.length),{w:f/=p,h:Math.max((x*l*this.getLineHeightFactor()-l*(this.getLineHeightFactor()-1))/p,0)}},e.cellAddPage=function(){r.call(this),this.addPage();var o=this.internal.__cell__.margins||t;return this.internal.__cell__.lastCell=new A(o.left,o.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var s=e.cell=function(){var o;o=arguments[0]instanceof A?arguments[0]:new A(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),r.call(this);var u=this.internal.__cell__.lastCell,l=this.internal.__cell__.padding,c=this.internal.__cell__.margins||t,p=this.internal.__cell__.tableHeaderRow,f=this.internal.__cell__.printHeaders;return u.lineNumber!==void 0&&(u.lineNumber===o.lineNumber?(o.x=(u.x||0)+(u.width||0),o.y=u.y||0):u.y+u.height+o.height+c.bottom>this.getPageHeight()?(this.cellAddPage(),o.y=c.top,f&&p&&(this.printHeaderRow(o.lineNumber,!0),o.y+=p[0].height)):o.y=u.y+u.height||o.y),o.text[0]!==void 0&&(this.rect(o.x,o.y,o.width,o.height,n===!0?"FD":void 0),o.align==="right"?this.text(o.text,o.x+o.width-l,o.y+l,{align:"right",baseline:"top"}):o.align==="center"?this.text(o.text,o.x+o.width/2,o.y+l,{align:"center",baseline:"top",maxWidth:o.width-l-l}):this.text(o.text,o.x+l,o.y+l,{align:"left",baseline:"top",maxWidth:o.width-l-l})),this.internal.__cell__.lastCell=o,this};e.table=function(o,u,l,c,p){if(r.call(this),!l)throw new Error("No data for PDF table.");var f,x,b,E,v=[],B=[],F=[],U={},N={},P=[],$=[],G=(p=p||{}).autoSize||!1,te=p.printHeaders!==!1,M=p.css&&p.css["font-size"]!==void 0?16*p.css["font-size"]:p.fontSize||12,j=p.margins||Object.assign({width:this.getPageWidth()},t),D=typeof p.padding=="number"?p.padding:3,X=p.headerBackgroundColor||"#c8c8c8",J=p.headerTextColor||"#000";if(i.call(this),this.internal.__cell__.printHeaders=te,this.internal.__cell__.margins=j,this.internal.__cell__.table_font_size=M,this.internal.__cell__.padding=D,this.internal.__cell__.headerBackgroundColor=X,this.internal.__cell__.headerTextColor=J,this.setFontSize(M),c==null)B=v=Object.keys(l[0]),F=v.map(function(){return"left"});else if(Array.isArray(c)&&Cn(c[0])==="object")for(v=c.map(function(H){return H.name}),B=c.map(function(H){return H.prompt||H.name||""}),F=c.map(function(H){return H.align||"left"}),f=0;f<c.length;f+=1)N[c[f].name]=c[f].width*(19.049976/25.4);else Array.isArray(c)&&typeof c[0]=="string"&&(B=v=c,F=v.map(function(){return"left"}));if(G||Array.isArray(c)&&typeof c[0]=="string")for(f=0;f<v.length;f+=1){for(U[E=v[f]]=l.map(function(H){return H[E]}),this.setFont(void 0,"bold"),P.push(this.getTextDimensions(B[f],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),x=U[E],this.setFont(void 0,"normal"),b=0;b<x.length;b+=1)P.push(this.getTextDimensions(x[b],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);N[E]=Math.max.apply(null,P)+D+D,P=[]}if(te){var Ae={};for(f=0;f<v.length;f+=1)Ae[v[f]]={},Ae[v[f]].text=B[f],Ae[v[f]].align=F[f];var le=a.call(this,Ae,N);$=v.map(function(H){return new A(o,u,N[H],le,Ae[H].text,void 0,Ae[H].align)}),this.setTableHeaderRow($),this.printHeaderRow(1,!1)}var we=c.reduce(function(H,Ue){return H[Ue.name]=Ue.align,H},{});for(f=0;f<l.length;f+=1){"rowStart"in p&&p.rowStart instanceof Function&&p.rowStart({row:f,data:l[f]},this);var re=a.call(this,l[f],N);for(b=0;b<v.length;b+=1){var ce=l[f][v[b]];"cellStart"in p&&p.cellStart instanceof Function&&p.cellStart({row:f,col:b,data:ce},this),s.call(this,new A(o,u,N[v[b]],re,ce,f+2,we[v[b]]))}}return this.internal.__cell__.table_x=o,this.internal.__cell__.table_y=u,this};var a=function(o,u){var l=this.internal.__cell__.padding,c=this.internal.__cell__.table_font_size,p=this.internal.scaleFactor;return Object.keys(o).map(function(f){var x=o[f];return this.splitTextToSize(x.hasOwnProperty("text")?x.text:x,u[f]-l-l)},this).map(function(f){return this.getLineHeightFactor()*f.length*c/p+l+l},this).reduce(function(f,x){return Math.max(f,x)},0)};e.setTableHeaderRow=function(o){r.call(this),this.internal.__cell__.tableHeaderRow=o},e.printHeaderRow=function(o,u){if(r.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var l;if(n=!0,typeof this.internal.__cell__.headerFunction=="function"){var c=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new A(c[0],c[1],c[2],c[3],void 0,-1)}this.setFont(void 0,"bold");for(var p=[],f=0;f<this.internal.__cell__.tableHeaderRow.length;f+=1){l=this.internal.__cell__.tableHeaderRow[f].clone(),u&&(l.y=this.internal.__cell__.margins.top||0,p.push(l)),l.lineNumber=o;var x=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),s.call(this,l),this.setTextColor(x)}p.length>0&&this.setTableHeaderRow(p),this.setFont(void 0,"normal"),n=!1}}(Pt.API);var M_={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},K_=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Xy=H_(K_),z_=[100,200,300,400,500,600,700,800,900],v7=H_(z_);function Yy(e){var t=e.family.replace(/"|'/g,"").toLowerCase(),n=function(A){return M_[A=A||"normal"]?A:"normal"}(e.style),r=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}}(e.weight),i=function(A){return typeof Xy[A=A||"normal"]=="number"?A:"normal"}(e.stretch);return{family:t,style:n,weight:r,stretch:i,src:e.src||[],ref:e.ref||{name:t,style:[i,n,r].join(" ")}}}function Wb(e,t,n,r){var i;for(i=n;i>=0&&i<t.length;i+=r)if(e[t[i]])return e[t[i]];for(i=n;i>=0&&i<t.length;i-=r)if(e[t[i]])return e[t[i]]}var B7={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},qb={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function Jb(e){return[e.stretch,e.style,e.weight,e.family].join(" ")}function x7(e,t,n){for(var r=(n=n||{}).defaultFontFamily||"times",i=Object.assign({},B7,n.genericFontFamilies||{}),A=null,s=null,a=0;a<t.length;++a)if(i[(A=Yy(t[a])).family]&&(A.family=i[A.family]),e.hasOwnProperty(A.family)){s=e[A.family];break}if(!(s=s||e[r]))throw new Error("Could not find a font-family for the rule '"+Jb(A)+"' and default family '"+r+"'.");if(s=function(o,u){if(u[o])return u[o];var l=Xy[o],c=l<=Xy.normal?-1:1,p=Wb(u,K_,l,c);if(!p)throw new Error("Could not find a matching font-stretch value for "+o);return p}(A.stretch,s),s=function(o,u){if(u[o])return u[o];for(var l=M_[o],c=0;c<l.length;++c)if(u[l[c]])return u[l[c]];throw new Error("Could not find a matching font-style for "+o)}(A.style,s),!(s=function(o,u){if(u[o])return u[o];if(o===400&&u[500])return u[500];if(o===500&&u[400])return u[400];var l=v7[o],c=Wb(u,z_,l,o<400?-1:1);if(!c)throw new Error("Could not find a matching font-weight for value "+o);return c}(A.weight,s)))throw new Error("Failed to resolve a font for the rule '"+Jb(A)+"'.");return s}function Xb(e){return e.trimLeft()}function b7(e,t){for(var n=0;n<e.length;){if(e.charAt(n)===t)return[e.substring(0,n),e.substring(n+1)];n+=1}return null}function C7(e){var t=e.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return t===null?null:[t[0],e.substring(t[0].length)]}var fg,Yb,Zb,cw=["times"];(function(e){var t,n,r,i,A,s,a,o,u,l=function(T){return T=T||{},this.isStrokeTransparent=T.isStrokeTransparent||!1,this.strokeOpacity=T.strokeOpacity||1,this.strokeStyle=T.strokeStyle||"#000000",this.fillStyle=T.fillStyle||"#000000",this.isFillTransparent=T.isFillTransparent||!1,this.fillOpacity=T.fillOpacity||1,this.font=T.font||"10px sans-serif",this.textBaseline=T.textBaseline||"alphabetic",this.textAlign=T.textAlign||"left",this.lineWidth=T.lineWidth||1,this.lineJoin=T.lineJoin||"miter",this.lineCap=T.lineCap||"butt",this.path=T.path||[],this.transform=T.transform!==void 0?T.transform.clone():new o,this.globalCompositeOperation=T.globalCompositeOperation||"normal",this.globalAlpha=T.globalAlpha||1,this.clip_path=T.clip_path||[],this.currentPoint=T.currentPoint||new s,this.miterLimit=T.miterLimit||10,this.lastPoint=T.lastPoint||new s,this.lineDashOffset=T.lineDashOffset||0,this.lineDash=T.lineDash||[],this.margin=T.margin||[0,0,0,0],this.prevPageLastElemOffset=T.prevPageLastElemOffset||0,this.ignoreClearRect=typeof T.ignoreClearRect!="boolean"||T.ignoreClearRect,this};e.events.push(["initialized",function(){this.context2d=new c(this),t=this.internal.f2,n=this.internal.getCoordinateString,r=this.internal.getVerticalCoordinateString,i=this.internal.getHorizontalCoordinate,A=this.internal.getVerticalCoordinate,s=this.internal.Point,a=this.internal.Rectangle,o=this.internal.Matrix,u=new l}]);var c=function(T){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var L=T;Object.defineProperty(this,"pdf",{get:function(){return L}});var ne=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return ne},set:function(Qe){ne=!!Qe}});var oe=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return oe},set:function(Qe){oe=!!Qe}});var ae=0;Object.defineProperty(this,"posX",{get:function(){return ae},set:function(Qe){isNaN(Qe)||(ae=Qe)}});var ve=0;Object.defineProperty(this,"posY",{get:function(){return ve},set:function(Qe){isNaN(Qe)||(ve=Qe)}}),Object.defineProperty(this,"margin",{get:function(){return u.margin},set:function(Qe){var se;typeof Qe=="number"?se=[Qe,Qe,Qe,Qe]:((se=new Array(4))[0]=Qe[0],se[1]=Qe.length>=2?Qe[1]:se[0],se[2]=Qe.length>=3?Qe[2]:se[0],se[3]=Qe.length>=4?Qe[3]:se[1]),u.margin=se}});var be=!1;Object.defineProperty(this,"autoPaging",{get:function(){return be},set:function(Qe){be=Qe}});var Se=0;Object.defineProperty(this,"lastBreak",{get:function(){return Se},set:function(Qe){Se=Qe}});var Me=[];Object.defineProperty(this,"pageBreaks",{get:function(){return Me},set:function(Qe){Me=Qe}}),Object.defineProperty(this,"ctx",{get:function(){return u},set:function(Qe){Qe instanceof l&&(u=Qe)}}),Object.defineProperty(this,"path",{get:function(){return u.path},set:function(Qe){u.path=Qe}});var Ke=[];Object.defineProperty(this,"ctxStack",{get:function(){return Ke},set:function(Qe){Ke=Qe}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(Qe){var se;se=p(Qe),this.ctx.fillStyle=se.style,this.ctx.isFillTransparent=se.a===0,this.ctx.fillOpacity=se.a,this.pdf.setFillColor(se.r,se.g,se.b,{a:se.a}),this.pdf.setTextColor(se.r,se.g,se.b,{a:se.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(Qe){var se=p(Qe);this.ctx.strokeStyle=se.style,this.ctx.isStrokeTransparent=se.a===0,this.ctx.strokeOpacity=se.a,se.a===0?this.pdf.setDrawColor(255,255,255):(se.a,this.pdf.setDrawColor(se.r,se.g,se.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(Qe){["butt","round","square"].indexOf(Qe)!==-1&&(this.ctx.lineCap=Qe,this.pdf.setLineCap(Qe))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(Qe){isNaN(Qe)||(this.ctx.lineWidth=Qe,this.pdf.setLineWidth(Qe))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(Qe){["bevel","round","miter"].indexOf(Qe)!==-1&&(this.ctx.lineJoin=Qe,this.pdf.setLineJoin(Qe))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(Qe){isNaN(Qe)||(this.ctx.miterLimit=Qe,this.pdf.setMiterLimit(Qe))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(Qe){this.ctx.textBaseline=Qe}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(Qe){["right","end","center","left","start"].indexOf(Qe)!==-1&&(this.ctx.textAlign=Qe)}});var Ve=null;function We(Qe,se){if(Ve===null){var Qt=function(rt){var Pe=[];return Object.keys(rt).forEach(function(qe){rt[qe].forEach(function(it){var tt=null;switch(it){case"bold":tt={family:qe,weight:"bold"};break;case"italic":tt={family:qe,style:"italic"};break;case"bolditalic":tt={family:qe,weight:"bold",style:"italic"};break;case"":case"normal":tt={family:qe}}tt!==null&&(tt.ref={name:qe,style:it},Pe.push(tt))})}),Pe}(Qe.getFontList());Ve=function(rt){for(var Pe={},qe=0;qe<rt.length;++qe){var it=Yy(rt[qe]),tt=it.family,mt=it.stretch,kt=it.style,Ct=it.weight;Pe[tt]=Pe[tt]||{},Pe[tt][mt]=Pe[tt][mt]||{},Pe[tt][mt][kt]=Pe[tt][mt][kt]||{},Pe[tt][mt][kt][Ct]=it}return Pe}(Qt.concat(se))}return Ve}var wt=null;Object.defineProperty(this,"fontFaces",{get:function(){return wt},set:function(Qe){Ve=null,wt=Qe}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(Qe){var se;if(this.ctx.font=Qe,(se=/^\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(Qe))!==null){var Qt=se[1];se[2];var rt=se[3],Pe=se[4];se[5];var qe=se[6],it=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(Pe)[2];Pe=Math.floor(it==="px"?parseFloat(Pe)*this.pdf.internal.scaleFactor:it==="em"?parseFloat(Pe)*this.pdf.getFontSize():parseFloat(Pe)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(Pe);var tt=function(Ze){var ge,Be,Re=[],De=Ze.trim();if(De==="")return cw;if(De in qb)return[qb[De]];for(;De!=="";){switch(Be=null,ge=(De=Xb(De)).charAt(0)){case'"':case"'":Be=b7(De.substring(1),ge);break;default:Be=C7(De)}if(Be===null||(Re.push(Be[0]),(De=Xb(Be[1]))!==""&&De.charAt(0)!==","))return cw;De=De.replace(/^,/,"")}return Re}(qe);if(this.fontFaces){var mt=x7(We(this.pdf,this.fontFaces),tt.map(function(Ze){return{family:Ze,stretch:"normal",weight:rt,style:Qt}}));this.pdf.setFont(mt.ref.name,mt.ref.style)}else{var kt="";(rt==="bold"||parseInt(rt,10)>=700||Qt==="bold")&&(kt="bold"),Qt==="italic"&&(kt+="italic"),kt.length===0&&(kt="normal");for(var Ct="",Ce={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"},je=0;je<tt.length;je++){if(this.pdf.internal.getFont(tt[je],kt,{noFallback:!0,disableWarning:!0})!==void 0){Ct=tt[je];break}if(kt==="bolditalic"&&this.pdf.internal.getFont(tt[je],"bold",{noFallback:!0,disableWarning:!0})!==void 0)Ct=tt[je],kt="bold";else if(this.pdf.internal.getFont(tt[je],"normal",{noFallback:!0,disableWarning:!0})!==void 0){Ct=tt[je],kt="normal";break}}if(Ct===""){for(var Je=0;Je<tt.length;Je++)if(Ce[tt[Je]]){Ct=Ce[tt[Je]];break}}Ct=Ct===""?"Times":Ct,this.pdf.setFont(Ct,kt)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(Qe){this.ctx.globalCompositeOperation=Qe}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(Qe){this.ctx.globalAlpha=Qe}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(Qe){this.ctx.lineDashOffset=Qe,Ue.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(Qe){this.ctx.lineDash=Qe,Ue.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(Qe){this.ctx.ignoreClearRect=!!Qe}})};c.prototype.setLineDash=function(T){this.lineDash=T},c.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},c.prototype.fill=function(){U.call(this,"fill",!1)},c.prototype.stroke=function(){U.call(this,"stroke",!1)},c.prototype.beginPath=function(){this.path=[{type:"begin"}]},c.prototype.moveTo=function(T,L){if(isNaN(T)||isNaN(L))throw _n.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var ne=this.ctx.transform.applyToPoint(new s(T,L));this.path.push({type:"mt",x:ne.x,y:ne.y}),this.ctx.lastPoint=new s(T,L)},c.prototype.closePath=function(){var T=new s(0,0),L=0;for(L=this.path.length-1;L!==-1;L--)if(this.path[L].type==="begin"&&Cn(this.path[L+1])==="object"&&typeof this.path[L+1].x=="number"){T=new s(this.path[L+1].x,this.path[L+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new s(T.x,T.y)},c.prototype.lineTo=function(T,L){if(isNaN(T)||isNaN(L))throw _n.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var ne=this.ctx.transform.applyToPoint(new s(T,L));this.path.push({type:"lt",x:ne.x,y:ne.y}),this.ctx.lastPoint=new s(ne.x,ne.y)},c.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),U.call(this,null,!0)},c.prototype.quadraticCurveTo=function(T,L,ne,oe){if(isNaN(ne)||isNaN(oe)||isNaN(T)||isNaN(L))throw _n.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to 
320jsPDF.context2d.quadraticCurveTo");var ae=this.ctx.transform.applyToPoint(new s(ne,oe)),ve=this.ctx.transform.applyToPoint(new s(T,L));this.path.push({type:"qct",x1:ve.x,y1:ve.y,x:ae.x,y:ae.y}),this.ctx.lastPoint=new s(ae.x,ae.y)},c.prototype.bezierCurveTo=function(T,L,ne,oe,ae,ve){if(isNaN(ae)||isNaN(ve)||isNaN(T)||isNaN(L)||isNaN(ne)||isNaN(oe))throw _n.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var be=this.ctx.transform.applyToPoint(new s(ae,ve)),Se=this.ctx.transform.applyToPoint(new s(T,L)),Me=this.ctx.transform.applyToPoint(new s(ne,oe));this.path.push({type:"bct",x1:Se.x,y1:Se.y,x2:Me.x,y2:Me.y,x:be.x,y:be.y}),this.ctx.lastPoint=new s(be.x,be.y)},c.prototype.arc=function(T,L,ne,oe,ae,ve){if(isNaN(T)||isNaN(L)||isNaN(ne)||isNaN(oe)||isNaN(ae))throw _n.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(ve=!!ve,!this.ctx.transform.isIdentity){var be=this.ctx.transform.applyToPoint(new s(T,L));T=be.x,L=be.y;var Se=this.ctx.transform.applyToPoint(new s(0,ne)),Me=this.ctx.transform.applyToPoint(new s(0,0));ne=Math.sqrt(Math.pow(Se.x-Me.x,2)+Math.pow(Se.y-Me.y,2))}Math.abs(ae-oe)>=2*Math.PI&&(oe=0,ae=2*Math.PI),this.path.push({type:"arc",x:T,y:L,radius:ne,startAngle:oe,endAngle:ae,counterclockwise:ve})},c.prototype.arcTo=function(T,L,ne,oe,ae){throw new Error("arcTo not implemented.")},c.prototype.rect=function(T,L,ne,oe){if(isNaN(T)||isNaN(L)||isNaN(ne)||isNaN(oe))throw _n.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(T,L),this.lineTo(T+ne,L),this.lineTo(T+ne,L+oe),this.lineTo(T,L+oe),this.lineTo(T,L),this.lineTo(T+ne,L),this.lineTo(T,L)},c.prototype.fillRect=function(T,L,ne,oe){if(isNaN(T)||isNaN(L)||isNaN(ne)||isNaN(oe))throw _n.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!f.call(this)){var ae={};this.lineCap!=="butt"&&(ae.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(ae.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(T,L,ne,oe),this.fill(),ae.hasOwnProperty("lineCap")&&(this.lineCap=ae.lineCap),ae.hasOwnProperty("lineJoin")&&(this.lineJoin=ae.lineJoin)}},c.prototype.strokeRect=function(T,L,ne,oe){if(isNaN(T)||isNaN(L)||isNaN(ne)||isNaN(oe))throw _n.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");x.call(this)||(this.beginPath(),this.rect(T,L,ne,oe),this.stroke())},c.prototype.clearRect=function(T,L,ne,oe){if(isNaN(T)||isNaN(L)||isNaN(ne)||isNaN(oe))throw _n.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(T,L,ne,oe))},c.prototype.save=function(T){T=typeof T!="boolean"||T;for(var L=this.pdf.internal.getCurrentPageInfo().pageNumber,ne=0;ne<this.pdf.internal.getNumberOfPages();ne++)this.pdf.setPage(ne+1),this.pdf.internal.out("q");if(this.pdf.setPage(L),T){this.ctx.fontSize=this.pdf.internal.getFontSize();var oe=new l(this.ctx);this.ctxStack.push(this.ctx),this.ctx=oe}},c.prototype.restore=function(T){T=typeof T!="boolean"||T;for(var L=this.pdf.internal.getCurrentPageInfo().pageNumber,ne=0;ne<this.pdf.internal.getNumberOfPages();ne++)this.pdf.setPage(ne+1),this.pdf.internal.out("Q");this.pdf.setPage(L),T&&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)},c.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var p=function(T){var L,ne,oe,ae;if(T.isCanvasGradient===!0&&(T=T.getColor()),!T)return{r:0,g:0,b:0,a:0,style:T};
vendor: 34,819 bytes, lines 320-326
320if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(T))L=0,ne=0,oe=0,ae=0;else{var ve=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(T);if(ve!==null)L=parseInt(ve[1]),ne=parseInt(ve[2]),oe=parseInt(ve[3]),ae=1;else if((ve=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(T))!==null)L=parseInt(ve[1]),ne=parseInt(ve[2]),oe=parseInt(ve[3]),ae=parseFloat(ve[4]);else{if(ae=1,typeof T=="string"&&T.charAt(0)!=="#"){var be=new N_(T);T=be.ok?be.toHex():"#000000"}T.length===4?(L=T.substring(1,2),L+=L,ne=T.substring(2,3),ne+=ne,oe=T.substring(3,4),oe+=oe):(L=T.substring(1,3),ne=T.substring(3,5),oe=T.substring(5,7)),L=parseInt(L,16),ne=parseInt(ne,16),oe=parseInt(oe,16)}}return{r:L,g:ne,b:oe,a:ae,style:T}},f=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},x=function(){return!!(this.ctx.isStrokeTransparent||this.globalAlpha==0)};c.prototype.fillText=function(T,L,ne,oe){if(isNaN(L)||isNaN(ne)||typeof T!="string")throw _n.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(oe=isNaN(oe)?void 0:oe,!f.call(this)){var ae=re(this.ctx.transform.rotation),ve=this.ctx.transform.scaleX;D.call(this,{text:T,x:L,y:ne,scale:ve,angle:ae,align:this.textAlign,maxWidth:oe})}},c.prototype.strokeText=function(T,L,ne,oe){if(isNaN(L)||isNaN(ne)||typeof T!="string")throw _n.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!x.call(this)){oe=isNaN(oe)?void 0:oe;var ae=re(this.ctx.transform.rotation),ve=this.ctx.transform.scaleX;D.call(this,{text:T,x:L,y:ne,scale:ve,renderingMode:"stroke",angle:ae,align:this.textAlign,maxWidth:oe})}},c.prototype.measureText=function(T){if(typeof T!="string")throw _n.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var L=this.pdf,ne=this.pdf.internal.scaleFactor,oe=L.internal.getFontSize(),ae=L.getStringUnitWidth(T)*oe/L.internal.scaleFactor,ve=function(be){var Se=(be=be||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return Se}}),this};return new ve({width:ae*=Math.round(96*ne/72*1e4)/1e4})},c.prototype.scale=function(T,L){if(isNaN(T)||isNaN(L))throw _n.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var ne=new o(T,0,0,L,0,0);this.ctx.transform=this.ctx.transform.multiply(ne)},c.prototype.rotate=function(T){if(isNaN(T))throw _n.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var L=new o(Math.cos(T),Math.sin(T),-Math.sin(T),Math.cos(T),0,0);this.ctx.transform=this.ctx.transform.multiply(L)},c.prototype.translate=function(T,L){if(isNaN(T)||isNaN(L))throw _n.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var ne=new o(1,0,0,1,T,L);this.ctx.transform=this.ctx.transform.multiply(ne)},c.prototype.transform=function(T,L,ne,oe,ae,ve){if(isNaN(T)||isNaN(L)||isNaN(ne)||isNaN(oe)||isNaN(ae)||isNaN(ve))throw _n.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var be=new o(T,L,ne,oe,ae,ve);this.ctx.transform=this.ctx.transform.multiply(be)},c.prototype.setTransform=function(T,L,ne,oe,ae,ve){T=isNaN(T)?1:T,L=isNaN(L)?0:L,ne=isNaN(ne)?0:ne,oe=isNaN(oe)?1:oe,ae=isNaN(ae)?0:ae,ve=isNaN(ve)?0:ve,this.ctx.transform=new o(T,L,ne,oe,ae,ve)};var b=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};c.prototype.drawImage=function(T,L,ne,oe,ae,ve,be,Se,Me){var Ke=this.pdf.getImageProperties(T),Ve=1,We=1,wt=1,Qe=1;oe!==void 0&&Se!==void 0&&(wt=Se/oe,Qe=Me/ae,Ve=Ke.width/oe*Se/oe,We=Ke.height/ae*Me/ae),ve===void 0&&(ve=L,be=ne,L=0,ne=0),oe!==void 0&&Se===void 0&&(Se=oe,Me=ae),oe===void 0&&Se===void 0&&(Se=Ke.width,Me=Ke.height);for(var se,Qt=this.ctx.transform.decompose(),rt=re(Qt.rotate.shx),Pe=new o,qe=(Pe=(Pe=(Pe=Pe.multiply(Qt.translate)).multiply(Qt.skew)).multiply(Qt.scale)).applyToRectangle(new a(ve-L*wt,be-ne*Qe,oe*Ve,ae*We)),it=E.call(this,qe),tt=[],mt=0;mt<it.length;mt+=1)tt.indexOf(it[mt])===-1&&tt.push(it[mt]);if(F(tt),this.autoPaging)for(var kt=tt[0],Ct=tt[tt.length-1],Ce=kt;Ce<Ct+1;Ce++){this.pdf.setPage(Ce);var je=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],Je=Ce===1?this.posY+this.margin[0]:this.margin[0],Ze=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],ge=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Be=Ce===1?0:Ze+(Ce-2)*ge;if(this.ctx.clip_path.length!==0){var Re=this.path;se=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=B(se,this.posX+this.margin[3],-Be+Je+this.ctx.prevPageLastElemOffset),N.call(this,"fill",!0),this.path=Re}var De=JSON.parse(JSON.stringify(qe));De=B([De],this.posX+this.margin[3],-Be+Je+this.ctx.prevPageLastElemOffset)[0];var gt=(Ce>kt||Ce<Ct)&&b.call(this);gt&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],je,ge,null).clip().discardPath()),this.pdf.addImage(T,"JPEG",De.x,De.y,De.w,De.h,null,null,rt),gt&&this.pdf.restoreGraphicsState()}else this.pdf.addImage(T,"JPEG",qe.x,qe.y,qe.w,qe.h,null,null,rt)};var E=function(T,L,ne){var oe=[];L=L||this.pdf.internal.pageSize.width,ne=ne||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var ae=this.posY+this.ctx.prevPageLastElemOffset;switch(T.type){default:case"mt":case"lt":oe.push(Math.floor((T.y+ae)/ne)+1);break;case"arc":oe.push(Math.floor((T.y+ae-T.radius)/ne)+1),oe.push(Math.floor((T.y+ae+T.radius)/ne)+1);break;case"qct":var ve=ce(this.ctx.lastPoint.x,this.ctx.lastPoint.y,T.x1,T.y1,T.x,T.y);oe.push(Math.floor((ve.y+ae)/ne)+1),oe.push(Math.floor((ve.y+ve.h+ae)/ne)+1);break;case"bct":var be=H(this.ctx.lastPoint.x,this.ctx.lastPoint.y,T.x1,T.y1,T.x2,T.y2,T.x,T.y);oe.push(Math.floor((be.y+ae)/ne)+1),oe.push(Math.floor((be.y+be.h+ae)/ne)+1);break;case"rect":oe.push(Math.floor((T.y+ae)/ne)+1),oe.push(Math.floor((T.y+T.h+ae)/ne)+1)}for(var Se=0;Se<oe.length;Se+=1)for(;this.pdf.internal.getNumberOfPages()<oe[Se];)v.call(this);return oe},v=function(){var T=this.fillStyle,L=this.strokeStyle,ne=this.font,oe=this.lineCap,ae=this.lineWidth,ve=this.lineJoin;this.pdf.addPage(),this.fillStyle=T,this.strokeStyle=L,this.font=ne,this.lineCap=oe,this.lineWidth=ae,this.lineJoin=ve},B=function(T,L,ne){for(var oe=0;oe<T.length;oe++)switch(T[oe].type){case"bct":T[oe].x2+=L,T[oe].y2+=ne;case"qct":T[oe].x1+=L,T[oe].y1+=ne;case"mt":case"lt":case"arc":default:T[oe].x+=L,T[oe].y+=ne}return T},F=function(T){return T.sort(function(L,ne){return L-ne})},U=function(T,L){for(var ne,oe,ae=this.fillStyle,ve=this.strokeStyle,be=this.lineCap,Se=this.lineWidth,Me=Math.abs(Se*this.ctx.transform.scaleX),Ke=this.lineJoin,Ve=JSON.parse(JSON.stringify(this.path)),We=JSON.parse(JSON.stringify(this.path)),wt=[],Qe=0;Qe<We.length;Qe++)if(We[Qe].x!==void 0)for(var se=E.call(this,We[Qe]),Qt=0;Qt<se.length;Qt+=1)wt.indexOf(se[Qt])===-1&&wt.push(se[Qt]);for(var rt=0;rt<wt.length;rt++)for(;this.pdf.internal.getNumberOfPages()<wt[rt];)v.call(this);if(F(wt),this.autoPaging)for(var Pe=wt[0],qe=wt[wt.length-1],it=Pe;it<qe+1;it++){this.pdf.setPage(it),this.fillStyle=ae,this.strokeStyle=ve,this.lineCap=be,this.lineWidth=Me,this.lineJoin=Ke;var tt=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],mt=it===1?this.posY+this.margin[0]:this.margin[0],kt=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],Ct=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Ce=it===1?0:kt+(it-2)*Ct;if(this.ctx.clip_path.length!==0){var je=this.path;ne=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=B(ne,this.posX+this.margin[3],-Ce+mt+this.ctx.prevPageLastElemOffset),N.call(this,T,!0),this.path=je}if(oe=JSON.parse(JSON.stringify(Ve)),this.path=B(oe,this.posX+this.margin[3],-Ce+mt+this.ctx.prevPageLastElemOffset),L===!1||it===0){var Je=(it>Pe||it<qe)&&b.call(this);Je&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],tt,Ct,null).clip().discardPath()),N.call(this,T,L),Je&&this.pdf.restoreGraphicsState()}this.lineWidth=Se}else this.lineWidth=Me,N.call(this,T,L),this.lineWidth=Se;this.path=Ve},N=function(T,L){if((T!=="stroke"||L||!x.call(this))&&(T==="stroke"||L||!f.call(this))){for(var ne,oe,ae=[],ve=this.path,be=0;be<ve.length;be++){var Se=ve[be];switch(Se.type){case"begin":ae.push({begin:!0});break;case"close":ae.push({close:!0});break;case"mt":ae.push({start:Se,deltas:[],abs:[]});break;case"lt":var Me=ae.length;if(ve[be-1]&&!isNaN(ve[be-1].x)&&(ne=[Se.x-ve[be-1].x,Se.y-ve[be-1].y],Me>0)){for(;Me>=0;Me--)if(ae[Me-1].close!==!0&&ae[Me-1].begin!==!0){ae[Me-1].deltas.push(ne),ae[Me-1].abs.push(Se);break}}break;case"bct":ne=[Se.x1-ve[be-1].x,Se.y1-ve[be-1].y,Se.x2-ve[be-1].x,Se.y2-ve[be-1].y,Se.x-ve[be-1].x,Se.y-ve[be-1].y],ae[ae.length-1].deltas.push(ne);break;case"qct":var Ke=ve[be-1].x+2/3*(Se.x1-ve[be-1].x),Ve=ve[be-1].y+2/3*(Se.y1-ve[be-1].y),We=Se.x+2/3*(Se.x1-Se.x),wt=Se.y+2/3*(Se.y1-Se.y),Qe=Se.x,se=Se.y;ne=[Ke-ve[be-1].x,Ve-ve[be-1].y,We-ve[be-1].x,wt-ve[be-1].y,Qe-ve[be-1].x,se-ve[be-1].y],ae[ae.length-1].deltas.push(ne);break;case"arc":ae.push({deltas:[],abs:[],arc:!0}),Array.isArray(ae[ae.length-1].abs)&&ae[ae.length-1].abs.push(Se)}}oe=L?null:T==="stroke"?"stroke":"fill";for(var Qt=!1,rt=0;rt<ae.length;rt++)if(ae[rt].arc)for(var Pe=ae[rt].abs,qe=0;qe<Pe.length;qe++){var it=Pe[qe];it.type==="arc"?G.call(this,it.x,it.y,it.radius,it.startAngle,it.endAngle,it.counterclockwise,void 0,L,!Qt):X.call(this,it.x,it.y),Qt=!0}else if(ae[rt].close===!0)this.pdf.internal.out("h"),Qt=!1;else if(ae[rt].begin!==!0){var tt=ae[rt].start.x,mt=ae[rt].start.y;J.call(this,ae[rt].deltas,tt,mt),Qt=!0}oe&&te.call(this,oe),L&&M.call(this)}},P=function(T){var L=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,ne=L*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return T-ne;case"top":return T+L-ne;case"hanging":return T+L-2*ne;case"middle":return T+L/2-ne;case"ideographic":return T;case"alphabetic":default:return T}},$=function(T){return T+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};c.prototype.createLinearGradient=function(){var T=function(){};return T.colorStops=[],T.addColorStop=function(L,ne){this.colorStops.push([L,ne])},T.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},T.isCanvasGradient=!0,T},c.prototype.createPattern=function(){return this.createLinearGradient()},c.prototype.createRadialGradient=function(){return this.createLinearGradient()};var G=function(T,L,ne,oe,ae,ve,be,Se,Me){for(var Ke=le.call(this,ne,oe,ae,ve),Ve=0;Ve<Ke.length;Ve++){var We=Ke[Ve];Ve===0&&(Me?j.call(this,We.x1+T,We.y1+L):X.call(this,We.x1+T,We.y1+L)),Ae.call(this,T,L,We.x2,We.y2,We.x3,We.y3,We.x4,We.y4)}Se?M.call(this):te.call(this,be)},te=function(T){switch(T){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},M=function(){this.pdf.clip(),this.pdf.discardPath()},j=function(T,L){this.pdf.internal.out(n(T)+" "+r(L)+" m")},D=function(T){var L;switch(T.align){case"right":case"end":L="right";break;case"center":L="center";break;case"left":case"start":default:L="left"}var ne=this.pdf.getTextDimensions(T.text),oe=P.call(this,T.y),ae=$.call(this,oe)-ne.h,ve=this.ctx.transform.applyToPoint(new s(T.x,oe)),be=this.ctx.transform.decompose(),Se=new o;Se=(Se=(Se=Se.multiply(be.translate)).multiply(be.skew)).multiply(be.scale);for(var Me,Ke,Ve,We=this.ctx.transform.applyToRectangle(new a(T.x,oe,ne.w,ne.h)),wt=Se.applyToRectangle(new a(T.x,ae,ne.w,ne.h)),Qe=E.call(this,wt),se=[],Qt=0;Qt<Qe.length;Qt+=1)se.indexOf(Qe[Qt])===-1&&se.push(Qe[Qt]);if(F(se),this.autoPaging)for(var rt=se[0],Pe=se[se.length-1],qe=rt;qe<Pe+1;qe++){this.pdf.setPage(qe);var it=qe===1?this.posY+this.margin[0]:this.margin[0],tt=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],mt=this.pdf.internal.pageSize.height-this.margin[2],kt=mt-this.margin[0],Ct=this.pdf.internal.pageSize.width-this.margin[1],Ce=Ct-this.margin[3],je=qe===1?0:tt+(qe-2)*kt;if(this.ctx.clip_path.length!==0){var Je=this.path;Me=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=B(Me,this.posX+this.margin[3],-1*je+it),N.call(this,"fill",!0),this.path=Je}var Ze=B([JSON.parse(JSON.stringify(wt))],this.posX+this.margin[3],-je+it+this.ctx.prevPageLastElemOffset)[0];T.scale>=.01&&(Ke=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Ke*T.scale),Ve=this.lineWidth,this.lineWidth=Ve*T.scale);var ge=this.autoPaging!=="text";if(ge||Ze.y+Ze.h<=mt){if(ge||Ze.y>=it&&Ze.x<=Ct){var Be=ge?T.text:this.pdf.splitTextToSize(T.text,T.maxWidth||Ct-Ze.x)[0],Re=B([JSON.parse(JSON.stringify(We))],this.posX+this.margin[3],-je+it+this.ctx.prevPageLastElemOffset)[0],De=ge&&(qe>rt||qe<Pe)&&b.call(this);De&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Ce,kt,null).clip().discardPath()),this.pdf.text(Be,Re.x,Re.y,{angle:T.angle,align:L,renderingMode:T.renderingMode}),De&&this.pdf.restoreGraphicsState()}}else Ze.y<mt&&(this.ctx.prevPageLastElemOffset+=mt-Ze.y);T.scale>=.01&&(this.pdf.setFontSize(Ke),this.lineWidth=Ve)}else T.scale>=.01&&(Ke=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Ke*T.scale),Ve=this.lineWidth,this.lineWidth=Ve*T.scale),this.pdf.text(T.text,ve.x+this.posX,ve.y+this.posY,{angle:T.angle,align:L,renderingMode:T.renderingMode,maxWidth:T.maxWidth}),T.scale>=.01&&(this.pdf.setFontSize(Ke),this.lineWidth=Ve)},X=function(T,L,ne,oe){ne=ne||0,oe=oe||0,this.pdf.internal.out(n(T+ne)+" "+r(L+oe)+" l")},J=function(T,L,ne){return this.pdf.lines(T,L,ne,null,null)},Ae=function(T,L,ne,oe,ae,ve,be,Se){this.pdf.internal.out([t(i(ne+T)),t(A(oe+L)),t(i(ae+T)),t(A(ve+L)),t(i(be+T)),t(A(Se+L)),"c"].join(" "))},le=function(T,L,ne,oe){for(var ae=2*Math.PI,ve=Math.PI/2;L>ne;)L-=ae;var be=Math.abs(ne-L);be<ae&&oe&&(be=ae-be);for(var Se=[],Me=oe?-1:1,Ke=L;be>1e-5;){var Ve=Ke+Me*Math.min(be,ve);Se.push(we.call(this,T,Ke,Ve)),be-=Math.abs(Ve-Ke),Ke=Ve}return Se},we=function(T,L,ne){var oe=(ne-L)/2,ae=T*Math.cos(oe),ve=T*Math.sin(oe),be=ae,Se=-ve,Me=be*be+Se*Se,Ke=Me+be*ae+Se*ve,Ve=4/3*(Math.sqrt(2*Me*Ke)-Ke)/(be*ve-Se*ae),We=be-Ve*Se,wt=Se+Ve*be,Qe=We,se=-wt,Qt=oe+L,rt=Math.cos(Qt),Pe=Math.sin(Qt);return{x1:T*Math.cos(L),y1:T*Math.sin(L),x2:We*rt-wt*Pe,y2:We*Pe+wt*rt,x3:Qe*rt-se*Pe,y3:Qe*Pe+se*rt,x4:T*Math.cos(ne),y4:T*Math.sin(ne)}},re=function(T){return 180*T/Math.PI},ce=function(T,L,ne,oe,ae,ve){var be=T+.5*(ne-T),Se=L+.5*(oe-L),Me=ae+.5*(ne-ae),Ke=ve+.5*(oe-ve),Ve=Math.min(T,ae,be,Me),We=Math.max(T,ae,be,Me),wt=Math.min(L,ve,Se,Ke),Qe=Math.max(L,ve,Se,Ke);return new a(Ve,wt,We-Ve,Qe-wt)},H=function(T,L,ne,oe,ae,ve,be,Se){var Me,Ke,Ve,We,wt,Qe,se,Qt,rt,Pe,qe,it,tt,mt,kt=ne-T,Ct=oe-L,Ce=ae-ne,je=ve-oe,Je=be-ae,Ze=Se-ve;for(Ke=0;Ke<41;Ke++)rt=(se=(Ve=T+(Me=Ke/40)*kt)+Me*((wt=ne+Me*Ce)-Ve))+Me*(wt+Me*(ae+Me*Je-wt)-se),Pe=(Qt=(We=L+Me*Ct)+Me*((Qe=oe+Me*je)-We))+Me*(Qe+Me*(ve+Me*Ze-Qe)-Qt),Ke==0?(qe=rt,it=Pe,tt=rt,mt=Pe):(qe=Math.min(qe,rt),it=Math.min(it,Pe),tt=Math.max(tt,rt),mt=Math.max(mt,Pe));return new a(Math.round(qe),Math.round(it),Math.round(tt-qe),Math.round(mt-it))},Ue=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var T,L,ne=(T=this.ctx.lineDash,L=this.ctx.lineDashOffset,JSON.stringify({lineDash:T,lineDashOffset:L}));this.prevLineDash!==ne&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=ne)}}})(Pt.API),function(e){var t=function(A){var s,a,o,u,l,c,p,f,x,b;for(a=[],o=0,u=(A+=s="\0\0\0\0".slice(A.length%4||4)).length;u>o;o+=4)(l=(A.charCodeAt(o)<<24)+(A.charCodeAt(o+1)<<16)+(A.charCodeAt(o+2)<<8)+A.charCodeAt(o+3))!==0?(c=(l=((l=((l=((l=(l-(b=l%85))/85)-(x=l%85))/85)-(f=l%85))/85)-(p=l%85))/85)%85,a.push(c+33,p+33,f+33,x+33,b+33)):a.push(122);return function(E,v){for(var B=v;B>0;B--)E.pop()}(a,s.length),String.fromCharCode.apply(String,a)+"~>"},n=function(A){var s,a,o,u,l,c=String,p="length",f=255,x="charCodeAt",b="slice",E="replace";for(A[b](-2),A=A[b](0,-2)[E](/\s/g,"")[E]("z","!!!!!"),o=[],u=0,l=(A+=s="uuuuu"[b](A[p]%5||5))[p];l>u;u+=5)a=52200625*(A[x](u)-33)+614125*(A[x](u+1)-33)+7225*(A[x](u+2)-33)+85*(A[x](u+3)-33)+(A[x](u+4)-33),o.push(f&a>>24,f&a>>16,f&a>>8,f&a);return function(v,B){for(var F=B;F>0;F--)v.pop()}(o,s[p]),c.fromCharCode.apply(c,o)},r=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 a="",o=0;o<A.length;o+=2)a+=String.fromCharCode("0x"+(A[o]+A[o+1]));return a},i=function(A){for(var s=new Uint8Array(A.length),a=A.length;a--;)s[a]=A.charCodeAt(a);return A=(s=Gy(s)).reduce(function(o,u){return o+String.fromCharCode(u)},"")};e.processDataByFilters=function(A,s){var a=0,o=A||"",u=[];for(typeof(s=s||[])=="string"&&(s=[s]),a=0;a<s.length;a+=1)switch(s[a]){case"ASCII85Decode":case"/ASCII85Decode":o=n(o),u.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":o=t(o),u.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":o=r(o),u.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":o=o.split("").map(function(l){return("0"+l.charCodeAt().toString(16)).slice(-2)}).join("")+">",u.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":o=i(o),u.push("/FlateDecode");break;default:throw new Error('The filter: "'+s[a]+'" is not implemented')}return{data:o,reverseChain:u.reverse().join(" ")}}}(Pt.API),function(e){e.loadFile=function(t,n,r){return function(i,A,s){A=A!==!1,s=typeof s=="function"?s:function(){};var a=void 0;try{a=function(o,u,l){var c=new XMLHttpRequest,p=0,f=function(x){var b=x.length,E=[],v=String.fromCharCode;for(p=0;p<b;p+=1)E.push(v(255&x.charCodeAt(p)));return E.join("")};if(c.open("GET",o,!u),c.overrideMimeType("text/plain; charset=x-user-defined"),u===!1&&(c.onload=function(){c.status===200?l(f(this.responseText)):l(void 0)}),c.send(null),u&&c.status===200)return f(c.responseText)}(i,A,s)}catch{}return a}(t,n,r)},e.loadImageFile=e.loadFile}(Pt.API),function(e){function t(){return(Ot.html2canvas?Promise.resolve(Ot.html2canvas):Jo(()=>import("./html2canvas-CBSg9vp5.js").then(s=>s.h),[])).catch(function(s){return Promise.reject(new Error("Could not load html2canvas: "+s))}).then(function(s){return s.default?s.default:s})}function n(){return(Ot.DOMPurify?Promise.resolve(Ot.DOMPurify):Jo(()=>import("./purify.es-CF4_YkFU.js"),[])).catch(function(s){return Promise.reject(new Error("Could not load dompurify: "+s))}).then(function(s){return s.default?s.default:s})}var r=function(s){var a=Cn(s);return a==="undefined"?"undefined":a==="string"||s instanceof String?"string":a==="number"||s instanceof Number?"number":a==="function"||s instanceof Function?"function":s&&s.constructor===Array?"array":s&&s.nodeType===1?"element":a==="object"?"object":"unknown"},i=function(s,a){var o=document.createElement(s);for(var u in a.className&&(o.className=a.className),a.innerHTML&&a.dompurify&&(o.innerHTML=a.dompurify.sanitize(a.innerHTML)),a.style)o.style[u]=a.style[u];return o},A=function s(a){var o=Object.assign(s.convert(Promise.resolve()),JSON.parse(JSON.stringify(s.template))),u=s.convert(Promise.resolve(),o);return u=(u=u.setProgress(1,s,1,[s])).set(a)};(A.prototype=Object.create(Promise.prototype)).constructor=A,A.convert=function(s,a){return s.__proto__=a||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,a){return this.then(function(){switch(a=a||function(o){switch(r(o)){case"string":return"string";case"element":return o.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}(s)){case"string":return this.then(n).then(function(o){return this.set({src:i("div",{innerHTML:s,dompurify:o})})});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},a=function o(u,l){for(var c=u.nodeType===3?document.createTextNode(u.nodeValue):u.cloneNode(!1),p=u.firstChild;p;p=p.nextSibling)l!==!0&&p.nodeType===1&&p.nodeName==="SCRIPT"||c.appendChild(o(p,l));return u.nodeType===1&&(u.nodeName==="CANVAS"?(c.width=u.width,c.height=u.height,c.getContext("2d").drawImage(u,0,0)):u.nodeName!=="TEXTAREA"&&u.nodeName!=="SELECT"||(c.value=u.value),c.addEventListener("load",function(){c.scrollTop=u.scrollTop,c.scrollLeft=u.scrollLeft},!0)),c}(this.prop.src,this.opt.html2canvas.javascriptEnabled);a.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(a),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(t).then(function(a){var o=Object.assign({},this.opt.html2canvas);return delete o.onrendered,a(this.prop.container,o)}).then(function(a){(this.opt.html2canvas.onrendered||function(){})(a),this.prop.canvas=a,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(t).then(function(a){var o=this.opt.jsPDF,u=this.opt.fontFaces,l=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,c=Object.assign({async:!0,allowTaint:!0,scale:l,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 c.onrendered,o.context2d.autoPaging=this.opt.autoPaging===void 0||this.opt.autoPaging,o.context2d.posX=this.opt.x,o.context2d.posY=this.opt.y,o.context2d.margin=this.opt.margin,o.context2d.fontFaces=u,u)for(var p=0;p<u.length;++p){var f=u[p],x=f.src.find(function(b){return b.format==="truetype"});x&&o.addFont(x.url,f.ref.name,f.ref.style)}return c.windowHeight=c.windowHeight||0,c.windowHeight=c.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):c.windowHeight,o.context2d.save(!0),a(this.prop.container,c)}).then(function(a){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(a),this.prop.canvas=a,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,a,o){return(o=o||"pdf").toLowerCase()==="img"||o.toLowerCase()==="image"?this.outputImg(s,a):this.outputPdf(s,a)},A.prototype.outputPdf=function(s,a){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(s,a)})},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(r(s)!=="object")return this;var a=Object.keys(s||{}).map(function(o){if(o in A.template.prop)return function(){this.prop[o]=s[o]};switch(o){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[o]=s[o]}}},this);return this.then(function(){return this.thenList(a)})},A.prototype.get=function(s,a){return this.then(function(){var o=s in A.template.prop?this.prop[s]:this.opt[s];return a?a(o):o})},A.prototype.setMargin=function(s){return this.then(function(){switch(r(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 a(o,u){return Math.floor(o*u/72*96)}return this.then(function(){(s=s||Pt.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:a(s.inner.width,s.k),height:a(s.inner.height,s.k)},s.inner.ratio=s.inner.height/s.inner.width),this.prop.pageSize=s})},A.prototype.setProgress=function(s,a,o,u){return s!=null&&(this.progress.val=s),a!=null&&(this.progress.state=a),o!=null&&(this.progress.n=o),u!=null&&(this.progress.stack=u),this.progress.ratio=this.progress.val/this.progress.state,this},A.prototype.updateProgress=function(s,a,o,u){return this.setProgress(s?this.progress.val+s:null,a||null,o?this.progress.n+o:null,u?this.progress.stack.concat(u):null)},A.prototype.then=function(s,a){var o=this;return this.thenCore(s,a,function(u,l){return o.updateProgress(null,null,1,[u]),Promise.prototype.then.call(this,function(c){return o.updateProgress(null,u),c}).then(u,l).then(function(c){return o.updateProgress(1),c})})},A.prototype.thenCore=function(s,a,o){o=o||Promise.prototype.then,s&&(s=s.bind(this)),a&&(a=a.bind(this));var u=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?this:A.convert(Object.assign({},this),Promise.prototype),l=o.call(u,s,a);return A.convert(l,this.__proto__)},A.prototype.thenExternal=function(s,a){return Promise.prototype.then.call(this,s,a)},A.prototype.thenList=function(s){var a=this;return s.forEach(function(o){a=a.thenCore(o)}),a},A.prototype.catch=function(s){s&&(s=s.bind(this));var a=Promise.prototype.catch.call(this,s);return A.convert(a,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,Pt.getPageSize=function(s,a,o){if(Cn(s)==="object"){var u=s;s=u.orientation,a=u.unit||a,o=u.format||o}a=a||"mm",o=o||"a4",s=(""+(s||"P")).toLowerCase();var l,c=(""+o).toLowerCase(),p={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(a){case"pt":l=1;break;case"mm":l=72/25.4;break;case"cm":l=72/2.54;break;case"in":l=72;break;case"px":l=.75;break;case"pc":case"em":l=12;break;case"ex":l=6;break;default:throw"Invalid unit: "+a}var f,x=0,b=0;if(p.hasOwnProperty(c))x=p[c][1]/l,b=p[c][0]/l;else try{x=o[1],b=o[0]}catch{throw new Error("Invalid format: "+o)}if(s==="p"||s==="portrait")s="p",b>x&&(f=b,b=x,x=f);else{if(s!=="l"&&s!=="landscape")throw"Invalid orientation: "+s;s="l",x>b&&(f=b,b=x,x=f)}return{width:b,height:x,unit:a,k:l,orientation:s}},e.html=function(s,a){(a=a||{}).callback=a.callback||function(){},a.html2canvas=a.html2canvas||{},a.html2canvas.canvas=a.html2canvas.canvas||this.canvas,a.jsPDF=a.jsPDF||this,a.fontFaces=a.fontFaces?a.fontFaces.map(Yy):null;var o=new A(a);return a.worker?o:o.from(s).doCallback()}}(Pt.API),Pt.API.addJS=function(e){return Zb=e,this.internal.events.subscribe("postPutResources",function(){fg=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(fg+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Yb=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Zb+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){fg!==void 0&&Yb!==void 0&&this.internal.out("/Names <</JavaScript "+fg+" 0 R>>")}),this},function(e){var t;e.events.push(["postPutResources",function(){var n=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var i=n.outline.render().split(/\r\n/),A=0;A<i.length;A++){var s=i[A],a=r.exec(s);if(a!=null){var o=a[1];n.internal.newObjectDeferredBegin(o,!1)}n.internal.write(s)}if(this.outline.createNamedDestinations){var u=this.internal.pages.length,l=[];for(A=0;A<u;A++){var c=n.internal.newObject();l.push(c);var p=n.internal.getPageInfo(A+1);n.internal.write("<< /D["+p.objId+" 0 R /XYZ null null null]>> endobj")}var f=n.internal.newObject();for(n.internal.write("<< /Names [ "),A=0;A<l.length;A++)n.internal.write("(page_"+(A+1)+")"+l[A]+" 0 R");n.internal.write(" ] >>","endobj"),t=n.internal.newObject(),n.internal.write("<< /Dests "+f+" 0 R"),n.internal.write(">>","endobj")}}]),e.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 "+t+" 0 R"))}]),e.events.push(["initialized",function(){var n=this;n.outline={createNamedDestinations:!1,root:{children:[]}},n.outline.add=function(r,i,A){var s={title:i,options:A,children:[]};return r==null&&(r=this.root),r.children.push(s),s},n.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=n,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},n.outline.genIds_r=function(r){r.id=n.internal.newObjectDeferred();for(var i=0;i<r.children.length;i++)this.genIds_r(r.children[i])},n.outline.renderRoot=function(r){this.objStart(r),this.line("/Type /Outlines"),r.children.length>0&&(this.line("/First "+this.makeRef(r.children[0])),this.line("/Last "+this.makeRef(r.children[r.children.length-1]))),this.line("/Count "+this.count_r({count:0},r)),this.objEnd()},n.outline.renderItems=function(r){for(var i=this.ctx.pdf.internal.getVerticalCoordinateString,A=0;A<r.children.length;A++){var s=r.children[A];this.objStart(s),this.line("/Title "+this.makeString(s.title)),this.line("/Parent "+this.makeRef(r)),A>0&&this.line("/Prev "+this.makeRef(r.children[A-1])),A<r.children.length-1&&this.line("/Next "+this.makeRef(r.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 a=this.count=this.count_r({count:0},s);if(a>0&&this.line("/Count "+a),s.options&&s.options.pageNumber){var o=n.internal.getPageInfo(s.options.pageNumber);this.line("/Dest ["+o.objId+" 0 R /XYZ 0 "+i(0)+" 0]")}this.objEnd()}for(var u=0;u<r.children.length;u++)this.renderItems(r.children[u])},n.outline.line=function(r){this.ctx.val+=r+`\r
321`},n.outline.makeRef=function(r){return r.id+" 0 R"},n.outline.makeString=function(r){return"("+n.internal.pdfEscape(r)+")"},n.outline.objStart=function(r){this.ctx.val+=`\r
322`+r.id+` 0 obj\r
323<<\r
324`},n.outline.objEnd=function(){this.ctx.val+=`>> \r
325endobj\r
326`},n.outline.count_r=function(r,i){for(var A=0;A<i.children.length;A++)r.count++,this.count_r(r,i.children[A]);return r.count}}])}(Pt.API),function(e){var t=[192,193,194,195,196,197,198,199];e.processJPEG=function(n,r,i,A,s,a){var o,u=this.decode.DCT_DECODE,l=null;if(typeof n=="string"||this.__addimage__.isArrayBuffer(n)||this.__addimage__.isArrayBufferView(n)){switch(n=s||n,n=this.__addimage__.isArrayBuffer(n)?new Uint8Array(n):n,(o=function(c){for(var p,f=256*c.charCodeAt(4)+c.charCodeAt(5),x=c.length,b={width:0,height:0,numcomponents:1},E=4;E<x;
vendor: 14,691 bytes, lines 326-401
326E+=2){if(E+=f,t.indexOf(c.charCodeAt(E+1))!==-1){p=256*c.charCodeAt(E+5)+c.charCodeAt(E+6),b={width:256*c.charCodeAt(E+7)+c.charCodeAt(E+8),height:p,numcomponents:c.charCodeAt(E+9)};break}f=256*c.charCodeAt(E+2)+c.charCodeAt(E+3)}return b}(n=this.__addimage__.isArrayBufferView(n)?this.__addimage__.arrayBufferToBinaryString(n):n)).numcomponents){case 1:a=this.color_spaces.DEVICE_GRAY;break;case 4:a=this.color_spaces.DEVICE_CMYK;break;case 3:a=this.color_spaces.DEVICE_RGB}l={data:n,width:o.width,height:o.height,colorSpace:a,bitsPerComponent:8,filter:u,index:r,alias:i}}return l}}(Pt.API);var _c,hg,eC,tC,nC,F7=function(){var e,t,n;function r(A){var s,a,o,u,l,c,p,f,x,b,E,v,B,F;for(this.data=A,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},c=null;;){switch(s=this.readUInt32(),x=(function(){var U,N;for(N=[],U=0;U<4;++U)N.push(String.fromCharCode(this.data[this.pos++]));return N}).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":c&&this.animation.frames.push(c),this.pos+=4,c={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},l=this.readUInt16(),u=this.readUInt16()||100,c.delay=1e3*l/u,c.disposeOp=this.data[this.pos++],c.blendOp=this.data[this.pos++],c.data=[];break;case"IDAT":case"fdAT":for(x==="fdAT"&&(this.pos+=4,s-=4),A=(c!=null?c.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(o=this.palette.length/3,this.transparency.indexed=this.read(s),this.transparency.indexed.length>o)throw new Error("More transparent colors than palette size");if((b=o-this.transparency.indexed.length)>0)for(B=0;0<=b?B<b:B>b;0<=b?++B:--B)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":p=(E=this.read(s)).indexOf(0),f=String.fromCharCode.apply(String,E.slice(0,p)),this.text[f]=String.fromCharCode.apply(String,E.slice(p+1));break;case"IEND":return c&&this.animation.frames.push(c),this.colors=(function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}).call(this),this.hasAlphaChannel=(F=this.colorType)===4||F===6,a=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*a,this.colorSpace=(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")}}r.prototype.read=function(A){var s,a;for(a=[],s=0;0<=A?s<A:s>A;0<=A?++s:--s)a.push(this.data[this.pos++]);return a},r.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},r.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},r.prototype.decodePixels=function(A){var s=this.pixelBitlength/8,a=new Uint8Array(this.width*this.height*s),o=0,u=this;if(A==null&&(A=this.imgData),A.length===0)return new Uint8Array(0);function l(c,p,f,x){var b,E,v,B,F,U,N,P,$,G,te,M,j,D,X,J,Ae,le,we,re,ce,H=Math.ceil((u.width-c)/f),Ue=Math.ceil((u.height-p)/x),T=u.width==H&&u.height==Ue;for(D=s*H,M=T?a:new Uint8Array(D*Ue),U=A.length,j=0,E=0;j<Ue&&o<U;){switch(A[o++]){case 0:for(B=Ae=0;Ae<D;B=Ae+=1)M[E++]=A[o++];break;case 1:for(B=le=0;le<D;B=le+=1)b=A[o++],F=B<s?0:M[E-s],M[E++]=(b+F)%256;break;case 2:for(B=we=0;we<D;B=we+=1)b=A[o++],v=(B-B%s)/s,X=j&&M[(j-1)*D+v*s+B%s],M[E++]=(X+b)%256;break;case 3:for(B=re=0;re<D;B=re+=1)b=A[o++],v=(B-B%s)/s,F=B<s?0:M[E-s],X=j&&M[(j-1)*D+v*s+B%s],M[E++]=(b+Math.floor((F+X)/2))%256;break;case 4:for(B=ce=0;ce<D;B=ce+=1)b=A[o++],v=(B-B%s)/s,F=B<s?0:M[E-s],j===0?X=J=0:(X=M[(j-1)*D+v*s+B%s],J=v&&M[(j-1)*D+(v-1)*s+B%s]),N=F+X-J,P=Math.abs(N-F),G=Math.abs(N-X),te=Math.abs(N-J),$=P<=G&&P<=te?F:G<=te?X:J,M[E++]=(b+$)%256;break;default:throw new Error("Invalid filter algorithm: "+A[o-1])}if(!T){var L=((p+j*x)*u.width+c)*s,ne=j*D;for(B=0;B<H;B+=1){for(var oe=0;oe<s;oe+=1)a[L++]=M[ne++];L+=(f-1)*s}}j++}}return A=n7(A),u.interlaceMethod==1?(l(0,0,8,8),l(4,0,8,8),l(0,4,4,8),l(2,0,4,4),l(0,2,2,4),l(1,0,2,2),l(0,1,1,2)):l(0,0,1,1),a},r.prototype.decodePalette=function(){var A,s,a,o,u,l,c,p,f;for(a=this.palette,l=this.transparency.indexed||[],u=new Uint8Array((l.length||0)+a.length),o=0,A=0,s=c=0,p=a.length;c<p;s=c+=3)u[o++]=a[s],u[o++]=a[s+1],u[o++]=a[s+2],u[o++]=(f=l[A++])!=null?f:255;return u},r.prototype.copyToImageData=function(A,s){var a,o,u,l,c,p,f,x,b,E,v;if(o=this.colors,b=null,a=this.hasAlphaChannel,this.palette.length&&(b=(v=this._decodedPalette)!=null?v:this._decodedPalette=this.decodePalette(),o=4,a=!0),x=(u=A.data||A).length,c=b||s,l=p=0,o===1)for(;l<x;)f=b?4*s[l/4]:p,E=c[f++],u[l++]=E,u[l++]=E,u[l++]=E,u[l++]=a?c[f++]:255,p=f;else for(;l<x;)f=b?4*s[l/4]:p,u[l++]=c[f++],u[l++]=c[f++],u[l++]=c[f++],u[l++]=a?c[f++]:255,p=f},r.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(Ot)==="[object Window]"){try{t=Ot.document.createElement("canvas"),n=t.getContext("2d")}catch{return!1}return!0}return!1};return i(),e=function(A){var s;if(i()===!0)return n.width=A.width,n.height=A.height,n.clearRect(0,0,A.width,A.height),n.putImageData(A,0,0),(s=new Image).src=t.toDataURL(),s;throw new Error("This method requires a Browser with Canvas-capability.")},r.prototype.decodeFrames=function(A){var s,a,o,u,l,c,p,f;if(this.animation){for(f=[],a=l=0,c=(p=this.animation.frames).length;l<c;a=++l)s=p[a],o=A.createImageData(s.width,s.height),u=this.decodePixels(new Uint8Array(s.data)),this.copyToImageData(o,u),s.imageData=o,f.push(s.image=e(o));return f}},r.prototype.renderFrame=function(A,s){var a,o,u;return a=(o=this.animation.frames)[s],u=o[s-1],s===0&&A.clearRect(0,0,this.width,this.height),(u!=null?u.disposeOp:void 0)===1?A.clearRect(u.xOffset,u.yOffset,u.width,u.height):(u!=null?u.disposeOp:void 0)===2&&A.putImageData(u.imageData,u.xOffset,u.yOffset),a.blendOp===0&&A.clearRect(a.xOffset,a.yOffset,a.width,a.height),A.drawImage(a.image,a.xOffset,a.yOffset)},r.prototype.animate=function(A){var s,a,o,u,l,c,p=this;return a=0,c=this.animation,u=c.numFrames,o=c.frames,l=c.numPlays,(s=function(){var f,x;if(f=a++%u,x=o[f],p.renderFrame(A,f),u>1&&a/u<l)return p.animation._timeout=setTimeout(s,x.delay)})()},r.prototype.stopAnimation=function(){var A;return clearTimeout((A=this.animation)!=null?A._timeout:void 0)},r.prototype.render=function(A){var s,a;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)):(a=s.createImageData(this.width,this.height),this.copyToImageData(a,this.decodePixels()),s.putImageData(a,0,0))},r}();/**
327 * @license
328 *
329 * Copyright (c) 2014 James Robb, https://github.com/jamesbrobb
330 *
331 * Permission is hereby granted, free of charge, to any person obtaining
332 * a copy of this software and associated documentation files (the
333 * "Software"), to deal in the Software without restriction, including
334 * without limitation the rights to use, copy, modify, merge, publish,
335 * distribute, sublicense, and/or sell copies of the Software, and to
336 * permit persons to whom the Software is furnished to do so, subject to
337 * the following conditions:
338 *
339 * The above copyright notice and this permission notice shall be
340 * included in all copies or substantial portions of the Software.
341 *
342 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
343 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
344 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
345 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
346 * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
347 * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
348 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
349 * ====================================================================
350 *//**
351 * @license
352 * (c) Dean McNamee <[email protected]>, 2013.
353 *
354 * https://github.com/deanm/omggif
355 *
356 * Permission is hereby granted, free of charge, to any person obtaining a copy
357 * of this software and associated documentation files (the "Software"), to
358 * deal in the Software without restriction, including without limitation the
359 * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
360 * sell copies of the Software, and to permit persons to whom the Software is
361 * furnished to do so, subject to the following conditions:
362 *
363 * The above copyright notice and this permission notice shall be included in
364 * all copies or substantial portions of the Software.
365 *
366 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
367 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
368 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
369 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
370 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
371 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
372 * IN THE SOFTWARE.
373 *
374 * omggif is a JavaScript implementation of a GIF 89a encoder and decoder,
375 * including animation and compression.  It does not rely on any specific
376 * underlying system, so should run in the browser, Node, or Plask.
377 */function S7(e){var t=0;if(e[t++]!==71||e[t++]!==73||e[t++]!==70||e[t++]!==56||(e[t++]+1&253)!=56||e[t++]!==97)throw new Error("Invalid GIF 87a/89a header.");var n=e[t++]|e[t++]<<8,r=e[t++]|e[t++]<<8,i=e[t++],A=i>>7,s=1<<(7&i)+1;e[t++],e[t++];var a=null,o=null;A&&(a=t,o=s,t+=3*s);var u=!0,l=[],c=0,p=null,f=0,x=null;for(this.width=n,this.height=r;u&&t<e.length;)switch(e[t++]){case 33:switch(e[t++]){case 255:if(e[t]!==11||e[t+1]==78&&e[t+2]==69&&e[t+3]==84&&e[t+4]==83&&e[t+5]==67&&e[t+6]==65&&e[t+7]==80&&e[t+8]==69&&e[t+9]==50&&e[t+10]==46&&e[t+11]==48&&e[t+12]==3&&e[t+13]==1&&e[t+16]==0)t+=14,x=e[t++]|e[t++]<<8,t++;else for(t+=12;;){if(!((j=e[t++])>=0))throw Error("Invalid block size");if(j===0)break;t+=j}break;case 249:if(e[t++]!==4||e[t+4]!==0)throw new Error("Invalid graphics extension block.");var b=e[t++];c=e[t++]|e[t++]<<8,p=e[t++],!(1&b)&&(p=null),f=b>>2&7,t++;break;case 254:for(;;){if(!((j=e[t++])>=0))throw Error("Invalid block size");if(j===0)break;t+=j}break;default:throw new Error("Unknown graphic control label: 0x"+e[t-1].toString(16))}break;case 44:var E=e[t++]|e[t++]<<8,v=e[t++]|e[t++]<<8,B=e[t++]|e[t++]<<8,F=e[t++]|e[t++]<<8,U=e[t++],N=U>>6&1,P=1<<(7&U)+1,$=a,G=o,te=!1;U>>7&&(te=!0,$=t,G=P,t+=3*P);var M=t;for(t++;;){var j;if(!((j=e[t++])>=0))throw Error("Invalid block size");if(j===0)break;t+=j}l.push({x:E,y:v,width:B,height:F,has_local_palette:te,palette_offset:$,palette_size:G,data_offset:M,data_length:t-M,transparent_index:p,interlaced:!!N,delay:c,disposal:f});break;case 59:u=!1;break;default:throw new Error("Unknown gif block: 0x"+e[t-1].toString(16))}this.numFrames=function(){return l.length},this.loopCount=function(){return x},this.frameInfo=function(D){if(D<0||D>=l.length)throw new Error("Frame index out of range.");return l[D]},this.decodeAndBlitFrameBGRA=function(D,X){var J=this.frameInfo(D),Ae=J.width*J.height,le=new Uint8Array(Ae);rC(e,J.data_offset,le,Ae);var we=J.palette_offset,re=J.transparent_index;re===null&&(re=256);var ce=J.width,H=n-ce,Ue=ce,T=4*(J.y*n+J.x),L=4*((J.y+J.height)*n+J.x),ne=T,oe=4*H;J.interlaced===!0&&(oe+=4*n*7);for(var ae=8,ve=0,be=le.length;ve<be;++ve){var Se=le[ve];if(Ue===0&&(Ue=ce,(ne+=oe)>=L&&(oe=4*H+4*n*(ae-1),ne=T+(ce+H)*(ae<<1),ae>>=1)),Se===re)ne+=4;else{var Me=e[we+3*Se],Ke=e[we+3*Se+1],Ve=e[we+3*Se+2];X[ne++]=Ve,X[ne++]=Ke,X[ne++]=Me,X[ne++]=255}--Ue}},this.decodeAndBlitFrameRGBA=function(D,X){var J=this.frameInfo(D),Ae=J.width*J.height,le=new Uint8Array(Ae);rC(e,J.data_offset,le,Ae);var we=J.palette_offset,re=J.transparent_index;re===null&&(re=256);var ce=J.width,H=n-ce,Ue=ce,T=4*(J.y*n+J.x),L=4*((J.y+J.height)*n+J.x),ne=T,oe=4*H;J.interlaced===!0&&(oe+=4*n*7);for(var ae=8,ve=0,be=le.length;ve<be;++ve){var Se=le[ve];if(Ue===0&&(Ue=ce,(ne+=oe)>=L&&(oe=4*H+4*n*(ae-1),ne=T+(ce+H)*(ae<<1),ae>>=1)),Se===re)ne+=4;else{var Me=e[we+3*Se],Ke=e[we+3*Se+1],Ve=e[we+3*Se+2];X[ne++]=Me,X[ne++]=Ke,X[ne++]=Ve,X[ne++]=255}--Ue}}}function rC(e,t,n,r){for(var i=e[t++],A=1<<i,s=A+1,a=s+1,o=i+1,u=(1<<o)-1,l=0,c=0,p=0,f=e[t++],x=new Int32Array(4096),b=null;;){for(;l<16&&f!==0;)c|=e[t++]<<l,l+=8,f===1?f=e[t++]:--f;if(l<o)break;var E=c&u;if(c>>=o,l-=o,E!==A){if(E===s)break;for(var v=E<a?E:b,B=0,F=v;F>A;)F=x[F]>>8,++B;var U=F;if(p+B+(v!==E?1:0)>r)return void _n.log("Warning, gif stream longer than expected.");n[p++]=U;var N=p+=B;for(v!==E&&(n[p++]=U),F=v;B--;)F=x[F],n[--N]=255&F,F>>=8;b!==null&&a<4096&&(x[a++]=b<<8|U,a>=u+1&&o<12&&(++o,u=u<<1|1)),b=E}else a=s+1,u=(1<<(o=i+1))-1,b=null}return p!==r&&_n.log("Warning, gif stream shorter than expected."),n}/**
378 * @license
379  Copyright (c) 2008, Adobe Systems Incorporated
380  All rights reserved.
381
382  Redistribution and use in source and binary forms, with or without 
383  modification, are permitted provided that the following conditions are
384  met:
385
386  * Redistributions of source code must retain the above copyright notice, 
387    this list of conditions and the following disclaimer.
388  
389  * Redistributions in binary form must reproduce the above copyright
390    notice, this list of conditions and the following disclaimer in the 
391    documentation and/or other materials provided with the distribution.
392  
393  * Neither the name of Adobe Systems Incorporated nor the names of its 
394    contributors may be used to endorse or promote products derived from 
395    this software without specific prior written permission.
396
397  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
398  IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
399  THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
400  PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 
401  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
vendor: 5,944 bytes, lines 402-408
402  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
403  PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
404  PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
405  LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
406  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
407  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
408*/function fw(e){var t,n,r,i,A,s=Math.floor,a=new Array(64),o=new Array(64),u=new Array(64),l=new Array(64),c=new Array(65535),p=new Array(65535),f=new Array(64),x=new Array(64),b=[],E=0,v=7,B=new Array(64),F=new Array(64),U=new Array(64),N=new Array(256),P=new Array(2048),$=[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],G=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],te=[0,1,2,3,4,5,6,7,8,9,10,11],M=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],j=[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],D=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],X=[0,1,2,3,4,5,6,7,8,9,10,11],J=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],Ae=[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 le(T,L){for(var ne=0,oe=0,ae=new Array,ve=1;ve<=16;ve++){for(var be=1;be<=T[ve];be++)ae[L[oe]]=[],ae[L[oe]][0]=ne,ae[L[oe]][1]=ve,oe++,ne++;ne*=2}return ae}function we(T){for(var L=T[0],ne=T[1]-1;ne>=0;)L&1<<ne&&(E|=1<<v),ne--,--v<0&&(E==255?(re(255),re(0)):re(E),v=7,E=0)}function re(T){b.push(T)}function ce(T){re(T>>8&255),re(255&T)}function H(T,L,ne,oe,ae){for(var ve,be=ae[0],Se=ae[240],Me=function(Pe,qe){var it,tt,mt,kt,Ct,Ce,je,Je,Ze,ge,Be=0;for(Ze=0;Ze<8;++Ze){it=Pe[Be],tt=Pe[Be+1],mt=Pe[Be+2],kt=Pe[Be+3],Ct=Pe[Be+4],Ce=Pe[Be+5],je=Pe[Be+6];var Re=it+(Je=Pe[Be+7]),De=it-Je,gt=tt+je,At=tt-je,yt=mt+Ce,mn=mt-Ce,Et=kt+Ct,ii=kt-Ct,sn=Re+Et,jr=Re-Et,Kt=gt+yt,st=gt-yt;Pe[Be]=sn+Kt,Pe[Be+4]=sn-Kt;var Ye=.707106781*(st+jr);Pe[Be+2]=jr+Ye,Pe[Be+6]=jr-Ye;var dt=.382683433*((sn=ii+mn)-(st=At+De)),Xt=.5411961*sn+dt,en=1.306562965*st+dt,br=.707106781*(Kt=mn+At),Ai=De+br,Ft=De-br;Pe[Be+5]=Ft+Xt,Pe[Be+3]=Ft-Xt,Pe[Be+1]=Ai+en,Pe[Be+7]=Ai-en,Be+=8}for(Be=0,Ze=0;Ze<8;++Ze){it=Pe[Be],tt=Pe[Be+8],mt=Pe[Be+16],kt=Pe[Be+24],Ct=Pe[Be+32],Ce=Pe[Be+40],je=Pe[Be+48];var uA=it+(Je=Pe[Be+56]),PA=it-Je,zr=tt+je,_t=tt-je,Pn=mt+Ce,Vr=mt-Ce,si=kt+Ct,cA=kt-Ct,Di=uA+si,Hi=uA-si,fA=zr+Pn,hA=zr-Pn;Pe[Be]=Di+fA,Pe[Be+32]=Di-fA;var Mi=.707106781*(hA+Hi);Pe[Be+16]=Hi+Mi,Pe[Be+48]=Hi-Mi;var TA=.382683433*((Di=cA+Vr)-(hA=_t+PA)),ZA=.5411961*Di+TA,uo=1.306562965*hA+TA,ea=.707106781*(fA=Vr+_t),ta=PA+ea,na=PA-ea;Pe[Be+40]=na+ZA,Pe[Be+24]=na-ZA,Pe[Be+8]=ta+uo,Pe[Be+56]=ta-uo,Be++}for(Ze=0;Ze<64;++Ze)ge=Pe[Ze]*qe[Ze],f[Ze]=ge>0?ge+.5|0:ge-.5|0;return f}(T,L),Ke=0;Ke<64;++Ke)x[$[Ke]]=Me[Ke];var Ve=x[0]-ne;ne=x[0],Ve==0?we(oe[0]):(we(oe[p[ve=32767+Ve]]),we(c[ve]));for(var We=63;We>0&&x[We]==0;)We--;if(We==0)return we(be),ne;for(var wt,Qe=1;Qe<=We;){for(var se=Qe;x[Qe]==0&&Qe<=We;)++Qe;var Qt=Qe-se;if(Qt>=16){wt=Qt>>4;for(var rt=1;rt<=wt;++rt)we(Se);Qt&=15}ve=32767+x[Qe],we(ae[(Qt<<4)+p[ve]]),we(c[ve]),Qe++}return We!=63&&we(be),ne}function Ue(T){T=Math.min(Math.max(T,1),100),A!=T&&(function(L){for(var ne=[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],oe=0;oe<64;oe++){var ae=s((ne[oe]*L+50)/100);ae=Math.min(Math.max(ae,1),255),a[$[oe]]=ae}for(var ve=[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],be=0;be<64;be++){var Se=s((ve[be]*L+50)/100);Se=Math.min(Math.max(Se,1),255),o[$[be]]=Se}for(var Me=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Ke=0,Ve=0;Ve<8;Ve++)for(var We=0;We<8;We++)u[Ke]=1/(a[$[Ke]]*Me[Ve]*Me[We]*8),l[Ke]=1/(o[$[Ke]]*Me[Ve]*Me[We]*8),Ke++}(T<50?Math.floor(5e3/T):Math.floor(200-2*T)),A=T)}this.encode=function(T,L){L&&Ue(L),b=new Array,E=0,v=7,ce(65496),ce(65504),ce(16),re(74),re(70),re(73),re(70),re(0),re(1),re(1),re(0),ce(1),ce(1),re(0),re(0),function(){ce(65499),ce(132),re(0);for(var tt=0;tt<64;tt++)re(a[tt]);re(1);for(var mt=0;mt<64;mt++)re(o[mt])}(),function(tt,mt){ce(65472),ce(17),re(8),ce(mt),ce(tt),re(3),re(1),re(17),re(0),re(2),re(17),re(1),re(3),re(17),re(1)}(T.width,T.height),function(){ce(65476),ce(418),re(0);for(var tt=0;tt<16;tt++)re(G[tt+1]);for(var mt=0;mt<=11;mt++)re(te[mt]);re(16);for(var kt=0;kt<16;kt++)re(M[kt+1]);for(var Ct=0;Ct<=161;Ct++)re(j[Ct]);re(1);for(var Ce=0;Ce<16;Ce++)re(D[Ce+1]);for(var je=0;je<=11;je++)re(X[je]);re(17);for(var Je=0;Je<16;Je++)re(J[Je+1]);for(var Ze=0;Ze<=161;Ze++)re(Ae[Ze])}(),ce(65498),ce(12),re(3),re(1),re(0),re(2),re(17),re(3),re(17),re(0),re(63),re(0);var ne=0,oe=0,ae=0;
vendor: 1,062 bytes, line 408
408E=0,v=7,this.encode.displayName="_encode_";for(var ve,be,Se,Me,Ke,Ve,We,wt,Qe,se=T.data,Qt=T.width,rt=T.height,Pe=4*Qt,qe=0;qe<rt;){for(ve=0;ve<Pe;){for(Ke=Pe*qe+ve,We=-1,wt=0,Qe=0;Qe<64;Qe++)Ve=Ke+(wt=Qe>>3)*Pe+(We=4*(7&Qe)),qe+wt>=rt&&(Ve-=Pe*(qe+1+wt-rt)),ve+We>=Pe&&(Ve-=ve+We-Pe+4),be=se[Ve++],Se=se[Ve++],Me=se[Ve++],B[Qe]=(P[be]+P[Se+256>>0]+P[Me+512>>0]>>16)-128,F[Qe]=(P[be+768>>0]+P[Se+1024>>0]+P[Me+1280>>0]>>16)-128,U[Qe]=(P[be+1280>>0]+P[Se+1536>>0]+P[Me+1792>>0]>>16)-128;ne=H(B,u,ne,t,r),oe=H(F,l,oe,n,i),ae=H(U,l,ae,n,i),ve+=32}qe+=8}if(v>=0){var it=[];it[1]=v+1,it[0]=(1<<v+1)-1,we(it)}return ce(65497),new Uint8Array(b)},e=e||50,function(){for(var T=String.fromCharCode,L=0;L<256;L++)N[L]=T(L)}(),t=le(G,te),n=le(D,X),r=le(M,j),i=le(J,Ae),function(){for(var T=1,L=2,ne=1;ne<=15;ne++){for(var oe=T;oe<L;oe++)p[32767+oe]=ne,c[32767+oe]=[],c[32767+oe][1]=ne,c[32767+oe][0]=oe;for(var ae=-(L-1);ae<=-T;ae++)p[32767+ae]=ne,c[32767+ae]=[],c[32767+ae][1]=ne,c[32767+ae][0]=L-1+ae;T<<=1,L<<=1}}(),function(){for(var T=0;T<256;T++)P[T]=19595*T,P[T+256>>
vendor: 31,552 bytes, lines 408-414
4080]=38470*T,P[T+512>>0]=7471*T+32768,P[T+768>>0]=-11059*T,P[T+1024>>0]=-21709*T,P[T+1280>>0]=32768*T+8421375,P[T+1536>>0]=-27439*T,P[T+1792>>0]=-5329*T}(),Ue(e)}/**
409 * @license
410 * Copyright (c) 2017 Aras Abbasi
411 *
412 * Licensed under the MIT License.
413 * http://opensource.org/licenses/mit-license
414 */function hs(e,t){if(this.pos=0,this.buffer=e,this.datav=new DataView(e.buffer),this.is_with_alpha=!!t,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 iC(e){function t(G){if(!G)throw Error("assert :P")}function n(G,te,M){for(var j=0;4>j;j++)if(G[te+j]!=M.charCodeAt(j))return!0;return!1}function r(G,te,M,j,D){for(var X=0;X<D;X++)G[te+X]=M[j+X]}function i(G,te,M,j){for(var D=0;D<j;D++)G[te+D]=M}function A(G){return new Int32Array(G)}function s(G,te){for(var M=[],j=0;j<G;j++)M.push(new te);return M}function a(G,te){var M=[];return function j(D,X,J){for(var Ae=J[X],le=0;le<Ae&&(D.push(J.length>X+1?[]:new te),!(J.length<X+1));le++)j(D[le],X+1,J)}(M,0,G),M}var o=function(){var G=this;function te(h,y){for(var S=1<<y-1>>>0;h&S;)S>>>=1;return S?(h&S-1)+S:h}function M(h,y,S,k,O){t(!(k%S));do h[y+(k-=S)]=O;while(0<k)}function j(h,y,S,k,O){if(t(2328>=O),512>=O)var K=A(512);else if((K=A(O))==null)return 0;return function(V,W,q,ee,fe,Ee){var _e,pe,He=W,ke=1<<q,he=A(16),me=A(16);for(t(fe!=0),t(ee!=null),t(V!=null),t(0<q),pe=0;pe<fe;++pe){if(15<ee[pe])return 0;++he[ee[pe]]}if(he[0]==fe)return 0;for(me[1]=0,_e=1;15>_e;++_e){if(he[_e]>1<<_e)return 0;me[_e+1]=me[_e]+he[_e]}for(pe=0;pe<fe;++pe)_e=ee[pe],0<ee[pe]&&(Ee[me[_e]++]=pe);if(me[15]==1)return(ee=new D).g=0,ee.value=Ee[0],M(V,He,1,ke,ee),ke;var Ne,ze=-1,Te=ke-1,ct=0,ot=1,It=1,at=1<<q;for(pe=0,_e=1,fe=2;_e<=q;++_e,fe<<=1){if(ot+=It<<=1,0>(It-=he[_e]))return 0;for(;0<he[_e];--he[_e])(ee=new D).g=_e,ee.value=Ee[pe++],M(V,He+ct,fe,at,ee),ct=te(ct,_e)}for(_e=q+1,fe=2;15>=_e;++_e,fe<<=1){if(ot+=It<<=1,0>(It-=he[_e]))return 0;for(;0<he[_e];--he[_e]){if(ee=new D,(ct&Te)!=ze){for(He+=at,Ne=1<<(ze=_e)-q;15>ze&&!(0>=(Ne-=he[ze]));)++ze,Ne<<=1;ke+=at=1<<(Ne=ze-q),V[W+(ze=ct&Te)].g=Ne+q,V[W+ze].value=He-W-ze}ee.g=_e-q,ee.value=Ee[pe++],M(V,He+(ct>>q),fe,at,ee),ct=te(ct,_e)}}return ot!=2*me[15]-1?0:ke}(h,y,S,k,O,K)}function D(){this.value=this.g=0}function X(){this.value=this.g=0}function J(){this.G=s(5,D),this.H=A(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=s($n,X)}function Ae(h,y,S,k){t(h!=null),t(y!=null),t(2147483648>k),h.Ca=254,h.I=0,h.b=-8,h.Ka=0,h.oa=y,h.pa=S,h.Jd=y,h.Yc=S+k,h.Zc=4<=k?S+k-4+1:S,ve(h)}function le(h,y){for(var S=0;0<y--;)S|=Se(h,128)<<y;return S}function we(h,y){var S=le(h,y);return be(h)?-S:S}function re(h,y,S,k){var O,K=0;for(t(h!=null),t(y!=null),t(4294967288>k),h.Sb=k,h.Ra=0,h.u=0,h.h=0,4<k&&(k=4),O=0;O<k;++O)K+=y[S+O]<<8*O;h.Ra=K,h.bb=k,h.oa=y,h.pa=S}function ce(h){for(;8<=h.u&&h.bb<h.Sb;)h.Ra>>>=8,h.Ra+=h.oa[h.pa+h.bb]<<bo-8>>>0,++h.bb,h.u-=8;ne(h)&&(h.h=1,h.u=0)}function H(h,y){if(t(0<=y),!h.h&&y<=xo){var S=L(h)&un[y];return h.u+=y,ce(h),S}return h.h=1,h.u=0}function Ue(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function T(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function L(h){return h.Ra>>>(h.u&bo-1)>>>0}function ne(h){return t(h.bb<=h.Sb),h.h||h.bb==h.Sb&&h.u>bo}function oe(h,y){h.u=y,h.h=ne(h)}function ae(h){h.u>=ca&&(t(h.u>=ca),ce(h))}function ve(h){t(h!=null&&h.oa!=null),h.pa<h.Zc?(h.I=(h.oa[h.pa++]|h.I<<8)>>>0,h.b+=8):(t(h!=null&&h.oa!=null),h.pa<h.Yc?(h.b+=8,h.I=h.oa[h.pa++]|h.I<<8):h.Ka?h.b=0:(h.I<<=8,h.b+=8,h.Ka=1))}function be(h){return le(h,1)}function Se(h,y){var S=h.Ca;0>h.b&&ve(h);var k=h.b,O=S*y>>>8,K=(h.I>>>k>O)+0;for(K?(S-=O,h.I-=O+1<<k>>>0):S=O+1,k=S,O=0;256<=k;)O+=8,k>>=8;return k=7^O+Gr[k],h.b-=k,h.Ca=(S<<k)-1,K}function Me(h,y,S){h[y+0]=S>>24&255,h[y+1]=S>>16&255,h[y+2]=S>>8&255,h[y+3]=S>>0&255}function Ke(h,y){return h[y+0]<<0|h[y+1]<<8}function Ve(h,y){return Ke(h,y)|h[y+2]<<16}function We(h,y){return Ke(h,y)|Ke(h,y+2)<<16}function wt(h,y){var S=1<<y;return t(h!=null),t(0<y),h.X=A(S),h.X==null?0:(h.Mb=32-y,h.Xa=y,1)}function Qe(h,y){t(h!=null),t(y!=null),t(h.Xa==y.Xa),r(y.X,0,h.X,0,1<<y.Xa)}function se(){this.X=[],this.Xa=this.Mb=0}function Qt(h,y,S,k){t(S!=null),t(k!=null);var O=S[0],K=k[0];return O==0&&(O=(h*K+y/2)/y),K==0&&(K=(y*O+h/2)/h),0>=O||0>=K?0:(S[0]=O,k[0]=K,1)}function rt(h,y){return h+(1<<y)-1>>>y}function Pe(h,y){return((4278255360&h)+(4278255360&y)>>>0&4278255360)+((16711935&h)+(16711935&y)>>>0&16711935)>>>0}function qe(h,y){G[y]=function(S,k,O,K,V,W,q){var ee;for(ee=0;ee<V;++ee){var fe=G[h](W[q+ee-1],O,K+ee);W[q+ee]=Pe(S[k+ee],fe)}}}function it(){this.ud=this.hd=this.jd=0}function tt(h,y){return((4278124286&(h^y))>>>1)+(h&y)>>>0}function mt(h){return 0<=h&&256>h?h:0>h?0:255<h?255:void 0}function kt(h,y){return mt(h+(h-y+.5>>1))}function Ct(h,y,S){return Math.abs(y-S)-Math.abs(h-S)}function Ce(h,y,S,k,O,K,V){for(k=K[V-1],S=0;S<O;++S)K[V+S]=k=Pe(h[y+S],k)}function je(h,y,S,k,O){var K;for(K=0;K<S;++K){var V=h[y+K],W=V>>8&255,q=16711935&(q=(q=16711935&V)+((W<<16)+W));k[O+K]=(4278255360&V)+q>>>0}}function Je(h,y){y.jd=h>>0&255,y.hd=h>>8&255,y.ud=h>>16&255}function Ze(h,y,S,k,O,K){var V;for(V=0;V<k;++V){var W=y[S+V],q=W>>>8,ee=W,fe=255&(fe=(fe=W>>>16)+((h.jd<<24>>24)*(q<<24>>24)>>>5));ee=255&(ee=(ee=ee+((h.hd<<24>>24)*(q<<24>>24)>>>5))+((h.ud<<24>>24)*(fe<<24>>24)>>>5)),O[K+V]=(4278255360&W)+(fe<<16)+ee}}function ge(h,y,S,k,O){G[y]=function(K,V,W,q,ee,fe,Ee,_e,pe){for(q=Ee;q<_e;++q)for(Ee=0;Ee<pe;++Ee)ee[fe++]=O(W[k(K[V++])])},G[h]=function(K,V,W,q,ee,fe,Ee){var _e=8>>K.b,pe=K.Ea,He=K.K[0],ke=K.w;if(8>_e)for(K=(1<<K.b)-1,ke=(1<<_e)-1;V<W;++V){var he,me=0;for(he=0;he<pe;++he)he&K||(me=k(q[ee++])),fe[Ee++]=O(He[me&ke]),me>>=_e}else G["VP8LMapColor"+S](q,ee,He,ke,fe,Ee,V,W,pe)}}function Be(h,y,S,k,O){for(S=y+S;y<S;){var K=h[y++];k[O++]=K>>16&255,k[O++]=K>>8&255,k[O++]=K>>0&255}}function Re(h,y,S,k,O){for(S=y+S;y<S;){var K=h[y++];k[O++]=K>>16&255,k[O++]=K>>8&255,k[O++]=K>>0&255,k[O++]=K>>24&255}}function De(h,y,S,k,O){for(S=y+S;y<S;){var K=(V=h[y++])>>16&240|V>>12&15,V=V>>0&240|V>>28&15;k[O++]=K,k[O++]=V}}function gt(h,y,S,k,O){for(S=y+S;y<S;){var K=(V=h[y++])>>16&248|V>>13&7,V=V>>5&224|V>>3&31;k[O++]=K,k[O++]=V}}function At(h,y,S,k,O){for(S=y+S;y<S;){var K=h[y++];k[O++]=K>>0&255,k[O++]=K>>8&255,k[O++]=K>>16&255}}function yt(h,y,S,k,O,K){if(K==0)for(S=y+S;y<S;)Me(k,((K=h[y++])[0]>>24|K[1]>>8&65280|K[2]<<8&16711680|K[3]<<24)>>>0),O+=32;else r(k,O,h,y,S)}function mn(h,y){G[y][0]=G[h+"0"],G[y][1]=G[h+"1"],G[y][2]=G[h+"2"],G[y][3]=G[h+"3"],G[y][4]=G[h+"4"],G[y][5]=G[h+"5"],G[y][6]=G[h+"6"],G[y][7]=G[h+"7"],G[y][8]=G[h+"8"],G[y][9]=G[h+"9"],G[y][10]=G[h+"10"],G[y][11]=G[h+"11"],G[y][12]=G[h+"12"],G[y][13]=G[h+"13"],G[y][14]=G[h+"0"],G[y][15]=G[h+"0"]}function Et(h){return h==zf||h==Vf||h==Zu||h==wa}function ii(){this.eb=[],this.size=this.A=this.fb=0}function sn(){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 jr(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new ii,this.f.kb=new sn,this.sd=null}function Kt(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function st(){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 Ye(h){return alert("todo:WebPSamplerProcessPlane"),h.T}function dt(h,y){var S=h.T,k=y.ba.f.RGBA,O=k.eb,K=k.fb+h.ka*k.A,V=Wi[y.ba.S],W=h.y,q=h.O,ee=h.f,fe=h.N,Ee=h.ea,_e=h.W,pe=y.cc,He=y.dc,ke=y.Mc,he=y.Nc,me=h.ka,Ne=h.ka+h.T,ze=h.U,Te=ze+1>>1;for(me==0?V(W,q,null,null,ee,fe,Ee,_e,ee,fe,Ee,_e,O,K,null,null,ze):(V(y.ec,y.fc,W,q,pe,He,ke,he,ee,fe,Ee,_e,O,K-k.A,O,K,ze),++S);me+2<Ne;me+=2)pe=ee,He=fe,ke=Ee,he=_e,fe+=h.Rc,_e+=h.Rc,K+=2*k.A,V(W,(q+=2*h.fa)-h.fa,W,q,pe,He,ke,he,ee,fe,Ee,_e,O,K-k.A,O,K,ze);return q+=h.fa,h.j+Ne<h.o?(r(y.ec,y.fc,W,q,ze),r(y.cc,y.dc,ee,fe,Te),r(y.Mc,y.Nc,Ee,_e,Te),S--):1&Ne||V(W,q,null,null,ee,fe,Ee,_e,ee,fe,Ee,_e,O,K+k.A,null,null,ze),S}function Xt(h,y,S){var k=h.F,O=[h.J];if(k!=null){var K=h.U,V=y.ba.S,W=V==Yu||V==Zu;y=y.ba.f.RGBA;var q=[0],ee=h.ka;q[0]=h.T,h.Kb&&(ee==0?--q[0]:(--ee,O[0]-=h.width),h.j+h.ka+h.T==h.o&&(q[0]=h.o-h.j-ee));var fe=y.eb;ee=y.fb+ee*y.A,h=xn(k,O[0],h.width,K,q,fe,ee+(W?0:3),y.A),t(S==q),h&&Et(V)&&ki(fe,ee,W,K,q,y.A)}return 0}function en(h){var y=h.ma,S=y.ba.S,k=11>S,O=S==Ju||S==Xu||S==Yu||S==ma||S==12||Et(S);if(y.memory=null,y.Ib=null,y.Jb=null,y.Nd=null,!Gn(y.Oa,h,O?11:12))return 0;if(O&&Et(S)&&Ge(),h.da)alert("todo:use_scaling");else{if(k){if(y.Ib=Ye,h.Kb){if(S=h.U+1>>1,y.memory=A(h.U+2*S),y.memory==null)return 0;y.ec=y.memory,y.fc=0,y.cc=y.ec,y.dc=y.fc+h.U,y.Mc=y.cc,y.Nc=y.dc+S,y.Ib=dt,Ge()}}else alert("todo:EmitYUV");O&&(y.Jb=Xt,k&&xe())}if(k&&!Xd){for(h=0;256>h;++h)_0[h]=89858*(h-128)+nc>>tc,k0[h]=-22014*(h-128)+nc,Q0[h]=-45773*(h-128),U0[h]=113618*(h-128)+nc>>tc;for(h=Ms;h<Wf;++h)y=76283*(h-16)+nc>>tc,I0[h-Ms]=wr(y,255),L0[h-Ms]=wr(y+8>>4,15);Xd=1}return 1}function br(h){var y=h.ma,S=h.U,k=h.T;return t(!(1&h.ka)),0>=S||0>=k?0:(S=y.Ib(h,y),y.Jb!=null&&y.Jb(h,y,S),y.Dc+=S,1)}function Ai(h){h.ma.memory=null}function Ft(h,y,S,k){return H(h,8)!=47?0:(y[0]=H(h,14)+1,S[0]=H(h,14)+1,k[0]=H(h,1),H(h,3)!=0?0:!h.h)}function uA(h,y){if(4>h)return h+1;var S=h-2>>1;return(2+(1&h)<<S)+H(y,S)+1}function PA(h,y){return 120<y?y-120:1<=(S=((S=p0[y-1])>>4)*h+(8-(15&S)))?S:1;var S}function zr(h,y,S){var k=L(S),O=h[y+=255&k].g-8;return 0<O&&(oe(S,S.u+8),k=L(S),y+=h[y].value,y+=k&(1<<O)-1),oe(S,S.u+h[y].g),h[y].value}function _t(h,y,S){return S.g+=h.g,S.value+=h.value<<y>>>0,t(8>=S.g),h.g}function Pn(h,y,S){var k=h.xc;return t((y=k==0?0:h.vc[h.md*(S>>k)+(y>>k)])<h.Wb),h.Ya[y]}function Vr(h,y,S,k){var O=h.ab,K=h.c*y,V=h.C;y=V+y;var W=S,q=k;for(k=h.Ta,S=h.Ua;0<O--;){var ee=h.gc[O],fe=V,Ee=y,_e=W,pe=q,He=(q=k,W=S,ee.Ea);switch(t(fe<Ee),t(Ee<=ee.nc),ee.hc){case 2:Ll(_e,pe,(Ee-fe)*He,q,W);break;case 0:var ke=fe,he=Ee,me=q,Ne=W,ze=(at=ee).Ea;ke==0&&(fa(_e,pe,null,null,1,me,Ne),Ce(_e,pe+1,0,0,ze-1,me,Ne+1),pe+=ze,Ne+=ze,++ke);for(var Te=1<<at.b,ct=Te-1,ot=rt(ze,at.b),It=at.K,at=at.w+(ke>>at.b)*ot;ke<he;){var cn=It,hn=at,$e=1;for(ha(_e,pe,me,Ne-ze,1,me,Ne);$e<ze;){var Zt=($e&~ct)+Te;Zt>ze&&(Zt=ze),(0,$r[cn[hn++]>>8&15])(_e,pe+ +$e,me,Ne+$e-ze,Zt-$e,me,Ne+$e),$e=Zt}pe+=ze,Ne+=ze,++ke&ct||(at+=ot)}Ee!=ee.nc&&r(q,W-He,q,W+(Ee-fe-1)*He,He);break;case 1:for(He=_e,he=pe,ze=(_e=ee.Ea)-(Ne=_e&~(me=(pe=1<<ee.b)-1)),ke=rt(_e,ee.b),Te=ee.K,ee=ee.w+(fe>>ee.b)*ke;fe<Ee;){for(ct=Te,ot=ee,It=new it,at=he+Ne,cn=he+_e;he<at;)Je(ct[ot++],It),Ts(It,He,he,pe,q,W),he+=pe,W+=pe;he<cn&&(Je(ct[ot++],It),Ts(It,He,he,ze,q,W),he+=ze,W+=ze),++fe&me||(ee+=ke)}break;case 3:if(_e==q&&pe==W&&0<ee.b){for(he=q,_e=He=W+(Ee-fe)*He-(Ne=(Ee-fe)*rt(ee.Ea,ee.b)),pe=q,me=W,ke=[],Ne=(ze=Ne)-1;0<=Ne;--Ne)ke[Ne]=pe[me+Ne];for(Ne=ze-1;0<=Ne;--Ne)he[_e+Ne]=ke[Ne];Tn(ee,fe,Ee,q,He,q,W)}else Tn(ee,fe,Ee,_e,pe,q,W)}W=k,q=S}q!=S&&r(k,S,W,q,K)}function si(h,y){var S=h.V,k=h.Ba+h.c*h.C,O=y-h.C;if(t(y<=h.l.o),t(16>=O),0<O){var K=h.l,V=h.Ta,W=h.Ua,q=K.width;if(Vr(h,O,S,k),O=W=[W],t((S=h.C)<(k=y)),t(K.v<K.va),k>K.o&&(k=K.o),S<K.j){var ee=K.j-S;S=K.j,O[0]+=ee*q}if(S>=k?S=0:(O[0]+=4*K.v,K.ka=S-K.j,K.U=K.va-K.v,K.T=k-S,S=1),S){if(W=W[0],11>(S=h.ca).S){var fe=S.f.RGBA,Ee=(k=S.S,O=K.U,K=K.T,ee=fe.eb,fe.A),_e=K;for(fe=fe.fb+h.Ma*fe.A;0<_e--;){var pe=V,He=W,ke=O,he=ee,me=fe;switch(k){case qu:Wr(pe,He,ke,he,me);break;case Ju:Cr(pe,He,ke,he,me);break;case zf:Cr(pe,He,ke,he,me),ki(he,me,0,ke,1,0);break;case _o:Ui(pe,He,ke,he,me);break;case Xu:yt(pe,He,ke,he,me,1);break;case Vf:yt(pe,He,ke,he,me,1),ki(he,me,0,ke,1,0);break;case Yu:yt(pe,He,ke,he,me,0);break;case Zu:yt(pe,He,ke,he,me,0),ki(he,me,1,ke,1,0);break;case ma:is(pe,He,ke,he,me);break;case wa:is(pe,He,ke,he,me),Bn(he,me,ke,1,0);break;case Kd:As(pe,He,ke,he,me);break;default:t(0)}W+=q,fe+=Ee}h.Ma+=K}else alert("todo:EmitRescaledRowsYUVA");t(h.Ma<=S.height)}}h.C=y,t(h.C<=h.i)}function cA(h){var y;if(0<h.ua)return 0;for(y=0;y<h.Wb;++y){var S=h.Ya[y].G,k=h.Ya[y].H;if(0<S[1][k[1]+0].g||0<S[2][k[2]+0].g||0<S[3][k[3]+0].g)return 0}return 1}function Di(h,y,S,k,O,K){if(h.Z!=0){var V=h.qd,W=h.rd;for(t(ls[h.Z]!=null);y<S;++y)ls[h.Z](V,W,k,O,k,O,K),V=k,W=O,O+=K;h.qd=V,h.rd=W}}function Hi(h,y){var S=h.l.ma,k=S.Z==0||S.Z==1?h.l.j:h.C;if(k=h.C<k?k:h.C,t(y<=h.l.o),y>k){var O=h.l.width,K=S.ca,V=S.tb+O*k,W=h.V,q=h.Ba+h.c*k,ee=h.gc;t(h.ab==1),t(ee[0].hc==3),pA(ee[0],k,y,W,q,K,V),Di(S,k,y,K,V,O)}h.C=h.Ma=y}function fA(h,y,S,k,O,K,V){var W=h.$/k,q=h.$%k,ee=h.m,fe=h.s,Ee=S+h.$,_e=Ee;O=S+k*O;var pe=S+k*K,He=280+fe.ua,ke=h.Pb?W:16777216,he=0<fe.ua?fe.Wa:null,me=fe.wc,Ne=Ee<pe?Pn(fe,q,W):null;t(h.C<K),t(pe<=O);var ze=!1;e:for(;;){for(;ze||Ee<pe;){var Te=0;if(W>=ke){var ct=Ee-S;t((ke=h).Pb),ke.wd=ke.m,ke.xd=ct,0<ke.s.ua&&Qe(ke.s.Wa,ke.s.vb),ke=W+m0}if(q&me||(Ne=Pn(fe,q,W)),t(Ne!=null),Ne.Qb&&(y[Ee]=Ne.qb,ze=!0),!ze)if(ae(ee),Ne.jc){Te=ee,ct=y;var ot=Ee,It=Ne.pd[L(Te)&$n-1];t(Ne.jc),256>It.g?(oe(Te,Te.u+It.g),ct[ot]=It.value,Te=0):(oe(Te,Te.u+It.g-256),t(256<=It.value),Te=It.value),Te==0&&(ze=!0)}else Te=zr(Ne.G[0],Ne.H[0],ee);if(ee.h)break;if(ze||256>Te){if(!ze)if(Ne.nd)y[Ee]=(Ne.qb|Te<<8)>>>0;else{if(ae(ee),ze=zr(Ne.G[1],Ne.H[1],ee),ae(ee),ct=zr(Ne.G[2],Ne.H[2],ee),ot=zr(Ne.G[3],Ne.H[3],ee),ee.h)break;y[Ee]=(ot<<24|ze<<16|Te<<8|ct)>>>0}if(ze=!1,++Ee,++q>=k&&(q=0,++W,V!=null&&W<=K&&!(W%16)&&V(h,W),he!=null))for(;_e<Ee;)Te=y[_e++],he.X[(506832829*Te&4294967295)>>>he.Mb]=Te}else if(280>Te){if(Te=uA(Te-256,ee),ct=zr(Ne.G[4],Ne.H[4],ee),ae(ee),ct=PA(k,ct=uA(ct,ee)),ee.h)break;if(Ee-S<ct||O-Ee<Te)break e;for(ot=0;ot<Te;++ot)y[Ee+ot]=y[Ee+ot-ct];for(Ee+=Te,q+=Te;q>=k;)q-=k,++W,V!=null&&W<=K&&!(W%16)&&V(h,W);if(t(Ee<=O),q&me&&(Ne=Pn(fe,q,W)),he!=null)for(;_e<Ee;)Te=y[_e++],he.X[(506832829*Te&4294967295)>>>he.Mb]=Te}else{if(!(Te<He))break e;for(ze=Te-280,t(he!=null);_e<Ee;)Te=y[_e++],he.X[(506832829*Te&4294967295)>>>he.Mb]=Te;Te=Ee,t(!(ze>>>(ct=he).Xa)),y[Te]=ct.X[ze],ze=!0}ze||t(ee.h==ne(ee))}if(h.Pb&&ee.h&&Ee<O)t(h.m.h),h.a=5,h.m=h.wd,h.$=h.xd,0<h.s.ua&&Qe(h.s.vb,h.s.Wa);else{if(ee.h)break e;V!=null&&V(h,W>K?K:W),h.a=0,h.$=Ee-S}return 1}return h.a=3,0}function hA(h){t(h!=null),h.vc=null,h.yc=null,h.Ya=null;var y=h.Wa;y!=null&&(y.X=null),h.vb=null,t(h!=null)}function Mi(){var h=new Kf;return h==null?null:(h.a=0,h.xb=Gd,mn("Predictor","VP8LPredictors"),mn("Predictor","VP8LPredictors_C"),mn("PredictorAdd","VP8LPredictorsAdd"),mn("PredictorAdd","VP8LPredictorsAdd_C"),Ll=je,Ts=Ze,Wr=Be,Cr=Re,is=De,As=gt,Ui=At,G.VP8LMapColor32b=_i,G.VP8LMapColor8b=Wn,h)}function TA(h,y,S,k,O){var K=1,V=[h],W=[y],q=k.m,ee=k.s,fe=null,Ee=0;e:for(;;){if(S)for(;K&&H(q,1);){var _e=V,pe=W,He=k,ke=1,he=He.m,me=He.gc[He.ab],Ne=H(he,2);if(He.Oc&1<<Ne)K=0;else{switch(He.Oc|=1<<Ne,me.hc=Ne,me.Ea=_e[0],me.nc=pe[0],me.K=[null],++He.ab,t(4>=He.ab),Ne){case 0:case 1:me.b=H(he,3)+2,ke=TA(rt(me.Ea,me.b),rt(me.nc,me.b),0,He,me.K),me.K=me.K[0];break;case 3:var ze,Te=H(he,8)+1,ct=16<Te?0:4<Te?1:2<Te?2:3;if(_e[0]=rt(me.Ea,ct),me.b=ct,ze=ke=TA(Te,1,0,He,me.K)){var ot,It=Te,at=me,cn=1<<(8>>at.b),hn=A(cn);if(hn==null)ze=0;else{var $e=at.K[0],Zt=at.w;for(hn[0]=at.K[0][0],ot=1;ot<1*It;++ot)hn[ot]=Pe($e[Zt+ot],hn[ot-1]);for(;ot<4*cn;++ot)hn[ot]=0;at.K[0]=null,at.K[0]=hn,ze=1}}ke=ze;break;case 2:break;default:t(0)}K=ke}}if(V=V[0],W=W[0],K&&H(q,1)&&!(K=1<=(Ee=H(q,4))&&11>=Ee)){k.a=3;break e}var bn;if(bn=K)t:{var dn,Lt,rr,qr=k,kn=V,Fr=W,gn=Ee,Li=S,ji=qr.m,In=qr.s,ur=[null],Sr=1,qi=0,wA=g0[gn];n:for(;;){if(Li&&H(ji,1)){var yr=H(ji,3)+2,yA=rt(kn,yr),Uo=rt(Fr,yr),va=yA*Uo;if(!TA(yA,Uo,0,qr,ur))break n;for(ur=ur[0],In.xc=yr,dn=0;dn<va;++dn){var Ks=ur[dn]>>8&65535;ur[dn]=Ks,Ks>=Sr&&(Sr=Ks+1)}}if(ji.h)break n;for(Lt=0;5>Lt;++Lt){var Mn=zd[Lt];!Lt&&0<gn&&(Mn+=1<<gn),qi<Mn&&(qi=Mn)}var qf=s(Sr*wA,D),tp=Sr,np=s(tp,J);if(np==null)var ic=null;else t(65536>=tp),ic=np;var Ba=A(qi);if(ic==null||Ba==null||qf==null){qr.a=1;break n}var Ac=qf;for(dn=rr=0;dn<Sr;++dn){var vA=ic[dn],xa=vA.G,Qo=vA.H,rp=0,ko=1,ip=0;for(Lt=0;5>Lt;++Lt){Mn=zd[Lt],xa[Lt]=Ac,Qo[Lt]=rr,!Lt&&0<gn&&(Mn+=1<<gn);i:{var ba,Tl=Mn,Ol=qr,Ca=Ba,N0=Ac,Ap=rr,Rl=0,MA=Ol.m,sp=H(MA,1);if(i(Ca,0,0,Tl),sp){var op=H(MA,1)+1,ap=H(MA,1),Jf=H(MA,ap==0?1:8);Ca[Jf]=1,op==2&&(Ca[Jf=H(MA,8)]=1);var Fa=1}else{var lp=A(19),up=H(MA,4)+4;if(19<up){Ol.a=3;var sc=0;break i}for(ba=0;ba<up;++ba)lp[ec[ba]]=H(MA,3);var fi=void 0,Io=void 0,cp=Ol,P0=lp,oc=Tl,fp=Ca,Xf=0,zs=cp.m,hp=8,dp=s(128,D);r:for(;j(dp,0,7,P0,19);){if(H(zs,1)){var T0=2+2*H(zs,3);if((fi=2+H(zs,T0))>oc)break r}else fi=oc;for(Io=0;Io<oc&&fi--;){ae(zs);var Yf=dp[0+(127&L(zs))];oe(zs,zs.u+Yf.g);var Sa=Yf.value;if(16>Sa)fp[Io++]=Sa,Sa!=0&&(hp=Sa);else{var Zf=Sa==16,eh=Sa-16,Er=h0[eh],Ea=H(zs,f0[eh])+Er;if(Io+Ea>oc)break r;for(var O0=Zf?hp:0;0<Ea--;)fp[Io++]=O0}}Xf=1;break r}Xf||(cp.a=3),Fa=Xf}(Fa=Fa&&!MA.h)&&(Rl=j(N0,Ap,8,Ca,Tl)),Fa&&Rl!=0?sc=Rl:(Ol.a=3,sc=0)}if(sc==0)break n;if(ko&&d0[Lt]==1&&(ko=Ac[rr].g==0),rp+=Ac[rr].g,rr+=sc,3>=Lt){var Dl,ac=Ba[0];for(Dl=1;Dl<Mn;++Dl)Ba[Dl]>ac&&(ac=Ba[Dl]);ip+=ac}}if(vA.nd=ko,vA.Qb=0,ko&&(vA.qb=(xa[3][Qo[3]+0].value<<24|xa[1][Qo[1]+0].value<<16|xa[2][Qo[2]+0].value)>>>0,rp==0&&256>xa[0][Qo[0]+0].value&&(vA.Qb=1,vA.qb+=xa[0][Qo[0]+0].value<<8)),vA.jc=!vA.Qb&&6>ip,vA.jc){var _a,us=vA;for(_a=0;_a<$n;++_a){var Vs=_a,Gs=us.pd[Vs],lc=us.G[0][us.H[0]+Vs];256<=lc.value?(Gs.g=lc.g+256,Gs.value=lc.value):(Gs.g=0,Gs.value=0,Vs>>=_t(lc,8,Gs),Vs>>=_t(us.G[1][us.H[1]+Vs],16,Gs),Vs>>=_t(us.G[2][us.H[2]+Vs],0,Gs),_t(us.G[3][us.H[3]+Vs],24,Gs))}}}In.vc=ur,In.Wb=Sr,In.Ya=ic,In.yc=qf,bn=1;break t}bn=0}if(!(K=bn)){k.a=3;break e}if(0<Ee){if(ee.ua=1<<Ee,!wt(ee.Wa,Ee)){k.a=1,K=0;break e}}else ee.ua=0;var th=k,pp=V,R0=W,nh=th.s,uc=nh.xc;if(th.c=pp,th.i=R0,nh.md=rt(pp,uc),nh.wc=uc==0?-1:(1<<uc)-1,S){k.xb=C0;break e}if((fe=A(V*W))==null){k.a=1,K=0;break e}K=(K=fA(k,fe,0,V,W,W,null))&&!q.h;break e}return K?(O!=null?O[0]=fe:(t(fe==null),t(S)),k.$=0,S||hA(ee)):hA(ee),K}function ZA(h,y){var S=h.c*h.i,k=S+y+16*y;return t(h.c<=y),h.V=A(k),h.V==null?(h.Ta=null,h.Ua=0,h.a=1,0):(h.Ta=h.V,h.Ua=h.Ba+S+y,1)}function uo(h,y){var S=h.C,k=y-S,O=h.V,K=h.Ba+h.c*S;for(t(y<=h.l.o);0<k;){var V=16<k?16:k,W=h.l.ma,q=h.l.width,ee=q*V,fe=W.ca,Ee=W.tb+q*S,_e=h.Ta,pe=h.Ua;Vr(h,V,O,K),Jn(_e,pe,fe,Ee,ee),Di(W,S,S+V,fe,Ee,q),k-=V,O+=V*h.c,S+=V}t(S==y),h.C=h.Ma=y}function ea(){this.ub=this.yd=this.td=this.Rb=0}function ta(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function na(){this.Fb=this.Bb=this.Cb=0,this.Zb=A(4),this.Lb=A(4)}function Su(){this.Yb=function(){var h=[];return function y(S,k,O){for(var K=O[k],V=0;V<K&&(S.push(O.length>k+1?[]:0),!(O.length<k+1));V++)y(S[V],k+1,O)}(h,0,[3,11]),h}()}function Qf(){this.jb=A(3),this.Wc=a([4,8],Su),this.Xc=a([4,17],Su)}function kf(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new A(4),this.od=new A(4)}function OA(){this.ld=this.La=this.dd=this.tc=0}function Fl(){this.Na=this.la=0}function ra(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function ia(){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 co(){this.uc=this.M=this.Nb=0,this.wa=Array(new OA),this.Y=0,this.ya=Array(new ia),this.aa=0,this.l=new es}function Eu(){this.y=A(16),this.f=A(8),this.ea=A(8)}function If(){this.cb=this.a=0,this.sc="",this.m=new Ue,this.Od=new ea,this.Kc=new ta,this.ed=new kf,this.Qa=new na,this.Ic=this.$c=this.Aa=0,this.D=new co,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=s(8,Ue),this.ia=0,this.pb=s(4,ra),this.Pa=new Qf,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new Eu),this.Hd=0,this.rb=Array(new Fl),this.sb=0,this.wa=Array(new OA),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 ia),this.L=this.aa=0,this.gd=a([4,2],OA),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 es(){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 fo(){var h=new If;return h!=null&&(h.a=0,h.sc="OK",h.cb=0,h.Xb=0,Nl||(Nl=ho)),h}function Vn(h,y,S){return h.a==0&&(h.a=y,h.sc=S,h.cb=0),0}function _u(h,y,S){return 3<=S&&h[y+0]==157&&h[y+1]==1&&h[y+2]==42}function Uu(h,y){if(h==null)return 0;if(h.a=0,h.sc="OK",y==null)return Vn(h,2,"null VP8Io passed to VP8GetHeaders()");var S=y.data,k=y.w,O=y.ha;if(4>O)return Vn(h,7,"Truncated header.");var K=S[k+0]|S[k+1]<<8|S[k+2]<<16,V=h.Od;if(V.Rb=!(1&K),V.td=K>>1&7,V.yd=K>>4&1,V.ub=K>>5,3<V.td)return Vn(h,3,"Incorrect keyframe parameters.");if(!V.yd)return Vn(h,4,"Frame not displayable.");k+=3,O-=3;var W=h.Kc;if(V.Rb){if(7>O)return Vn(h,7,"cannot parse picture header");if(!_u(S,k,O))return Vn(h,3,"Bad code word");W.c=16383&(S[k+4]<<8|S[k+3]),W.Td=S[k+4]>>6,W.i=16383&(S[k+6]<<8|S[k+5]),W.Ud=S[k+6]>>6,k+=7,O-=7,h.za=W.c+15>>4,h.Ub=W.i+15>>4,y.width=W.c,y.height=W.i,y.Da=0,y.j=0,y.v=0,y.va=y.width,y.o=y.height,y.da=0,y.ib=y.width,y.hb=y.height,y.U=y.width,y.T=y.height,i((K=h.Pa).jb,0,255,K.jb.length),t((K=h.Qa)!=null),K.Cb=0,K.Bb=0,K.Fb=1,i(K.Zb,0,0,K.Zb.length),i(K.Lb,0,0,K.Lb)}if(V.ub>O)return Vn(h,7,"bad partition length");Ae(K=h.m,S,k,V.ub),k+=V.ub,O-=V.ub,V.Rb&&(W.Ld=be(K),W.Kd=be(K)),W=h.Qa;var q,ee=h.Pa;if(t(K!=null),t(W!=null),W.Cb=be(K),W.Cb){if(W.Bb=be(K),be(K)){for(W.Fb=be(K),q=0;4>q;++q)W.Zb[q]=be(K)?we(K,7):0;for(q=0;4>q;++q)W.Lb[q]=be(K)?we(K,6):0}if(W.Bb)for(q=0;3>q;++q)ee.jb[q]=be(K)?le(K,8):255}else W.Bb=0;if(K.Ka)return Vn(h,3,"cannot parse segment header");if((W=h.ed).zd=be(K),W.Tb=le(K,6),W.wb=le(K,3),W.Pc=be(K),W.Pc&&be(K)){for(ee=0;4>ee;++ee)be(K)&&(W.vd[ee]=we(K,6));for(ee=0;4>ee;++ee)be(K)&&(W.od[ee]=we(K,6))}if(h.L=W.Tb==0?0:W.zd?1:2,K.Ka)return Vn(h,3,"cannot parse filter header");var fe=O;if(O=q=k,k=q+fe,W=fe,h.Xb=(1<<le(h.m,2))-1,fe<3*(ee=h.Xb))S=7;else{for(q+=3*ee,W-=3*ee,fe=0;fe<ee;++fe){var Ee=S[O+0]|S[O+1]<<8|S[O+2]<<16;Ee>W&&(Ee=W),Ae(h.Jc[+fe],S,q,Ee),q+=Ee,W-=Ee,O+=3}Ae(h.Jc[+ee],S,q,W),S=q<k?0:5}if(S!=0)return Vn(h,S,"cannot parse partitions");for(S=le(q=h.m,7),O=be(q)?we(q,4):0,k=be(q)?we(q,4):0,W=be(q)?we(q,4):0,ee=be(q)?we(q,4):0,q=be(q)?we(q,4):0,fe=h.Qa,Ee=0;4>Ee;++Ee){if(fe.Cb){var _e=fe.Zb[Ee];fe.Fb||(_e+=S)}else{if(0<Ee){h.pb[Ee]=h.pb[0];continue}_e=S}var pe=h.pb[Ee];pe.Sc[0]=Gf[wr(_e+O,127)],pe.Sc[1]=ya[wr(_e+0,127)],pe.Eb[0]=2*Gf[wr(_e+k,127)],pe.Eb[1]=101581*ya[wr(_e+W,127)]>>16,8>pe.Eb[1]&&(pe.Eb[1]=8),pe.Qc[0]=Gf[wr(_e+ee,117)],pe.Qc[1]=ya[wr(_e+q,127)],pe.lc=_e+q}if(!V.Rb)return Vn(h,4,"Not a key frame.");for(be(K),V=h.Pa,S=0;4>S;++S){for(O=0;8>O;++O)for(k=0;3>k;++k)for(W=0;11>W;++W)ee=Se(K,x0[S][O][k][W])?le(K,8):v0[S][O][k][W],V.Wc[S][O].Yb[k][W]=ee;for(O=0;17>O;++O)V.Xc[S][O]=V.Wc[S][b0[O]]}return h.kc=be(K),h.kc&&(h.Bd=le(K,8)),h.cb=1}function ho(h,y,S,k,O,K,V){var W=y[O].Yb[S];for(S=0;16>O;++O){if(!Se(h,W[S+0]))return O;for(;!Se(h,W[S+1]);)if(W=y[++O].Yb[0],S=0,O==16)return 16;var q=y[O+1].Yb;if(Se(h,W[S+2])){var ee=h,fe=0;if(Se(ee,(_e=W)[(Ee=S)+3]))if(Se(ee,_e[Ee+6])){for(W=0,Ee=2*(fe=Se(ee,_e[Ee+8]))+(_e=Se(ee,_e[Ee+9+fe])),fe=0,_e=w0[Ee];_e[W];++W)fe+=fe+Se(ee,_e[W]);fe+=3+(8<<Ee)}else Se(ee,_e[Ee+7])?(fe=7+2*Se(ee,165),fe+=Se(ee,145)):fe=5+Se(ee,159);else fe=Se(ee,_e[Ee+4])?3+Se(ee,_e[Ee+5]):2;W=q[2]}else fe=1,W=q[1];q=V+y0[O],0>(ee=h).b&&ve(ee);var Ee,_e=ee.b,pe=(Ee=ee.Ca>>1)-(ee.I>>_e)>>31;--ee.b,ee.Ca+=pe,ee.Ca|=1,ee.I-=(Ee+1&pe)<<_e,K[q]=((fe^pe)-pe)*k[(0<O)+0]}return 16}function _s(h){var y=h.rb[h.sb-1];y.la=0,y.Na=0,i(h.zc,0,0,h.zc.length),h.ja=0}function po(h,y){if(h==null)return 0;if(y==null)return Vn(h,2,"NULL VP8Io parameter in VP8Decode().");if(!h.cb&&!Uu(h,y))return 0;if(t(h.cb),y.ac==null||y.ac(y)){y.ob&&(h.L=0);var S=rc[h.L];if(h.L==2?(h.yb=0,h.zb=0):(h.yb=y.v-S>>4,h.zb=y.j-S>>4,0>h.yb&&(h.yb=0),0>h.zb&&(h.zb=0)),h.Va=y.o+15+S>>4,h.Hb=y.va+15+S>>4,h.Hb>h.za&&(h.Hb=h.za),h.Va>h.Ub&&(h.Va=h.Ub),0<h.L){var k=h.ed;for(S=0;4>S;++S){var O;if(h.Qa.Cb){var K=h.Qa.Lb[S];h.Qa.Fb||(K+=k.Tb)}else K=k.Tb;for(O=0;1>=O;++O){var V=h.gd[S][O],W=K;if(k.Pc&&(W+=k.vd[0],O&&(W+=k.od[0])),0<(W=0>W?0:63<W?63:W)){var q=W;0<k.wb&&(q=4<k.wb?q>>2:q>>1)>9-k.wb&&(q=9-k.wb),1>q&&(q=1),V.dd=q,V.tc=2*W+q,V.ld=40<=W?2:15<=W?1:0}else V.tc=0;V.La=O}}}S=0}else Vn(h,6,"Frame setup failed"),S=h.a;if(S=S==0){if(S){h.$c=0,0<h.Aa||(h.Ic=j0);e:{S=h.Ic,k=4*(q=h.za);var ee=32*q,fe=q+1,Ee=0<h.L?q*(0<h.Aa?2:1):0,_e=(h.Aa==2?2:1)*q;if((V=k+832+(O=3*(16*S+rc[h.L])/2*ee)+(K=h.Fa!=null&&0<h.Fa.length?h.Kc.c*h.Kc.i:0))!=V)S=0;else{if(V>h.Vb){if(h.Vb=0,h.Ec=A(V),h.Fc=0,h.Ec==null){S=Vn(h,1,"no memory during frame initialization.");break e}h.Vb=V}V=h.Ec,W=h.Fc,h.Ac=V,h.Bc=W,W+=k,h.Gd=s(ee,Eu),h.Hd=0,h.rb=s(fe+1,Fl),h.sb=1,h.wa=Ee?s(Ee,OA):null,h.Y=0,h.D.Nb=0,h.D.wa=h.wa,h.D.Y=h.Y,0<h.Aa&&(h.D.Y+=q),t(!0),h.oc=V,h.pc=W,W+=832,h.ya=s(_e,ia),h.aa=0,h.D.ya=h.ya,h.D.aa=h.aa,h.Aa==2&&(h.D.aa+=q),h.R=16*q,h.B=8*q,q=(ee=rc[h.L])*h.R,ee=ee/2*h.B,h.sa=V,h.ta=W+q,h.qa=h.sa,h.ra=h.ta+16*S*h.R+ee,h.Ha=h.qa,h.Ia=h.ra+8*S*h.B+ee,h.$c=0,W+=O,h.mb=K?V:null,h.nb=K?W:null,t(W+K<=h.Fc+h.Vb),_s(h),i(h.Ac,h.Bc,0,k),S=1}}if(S){if(y.ka=0,y.y=h.sa,y.O=h.ta,y.f=h.qa,y.N=h.ra,y.ea=h.Ha,y.Vd=h.Ia,y.fa=h.R,y.Rc=h.B,y.F=null,y.J=0,!Gu){for(S=-255;255>=S;++S)Hn[255+S]=0>S?-S:S;for(S=-1020;1020>=S;++S)as[1020+S]=-128>S?-128:127<S?127:S;for(S=-112;112>=S;++S)jl[112+S]=-16>S?-16:15<S?15:S;for(S=-255;510>=S;++S)Ds[255+S]=0>S?0:255<S?255:S;Gu=1}ui=Nf,ss=Lf,Os=ku,Tr=jf,Vi=Iu,qn=Qu,da=js,ci=Ns,pa=aa,Co=wo,Fo=Mf,gA=Si,So=_l,Eo=Ku,Rs=ns,os=HA,ga=rs,Qi=Hf,mA[0]=DA,mA[1]=Pf,mA[2]=Rf,mA[3]=Df,mA[4]=Nu,mA[5]=Aa,mA[6]=Pu,mA[7]=ai,mA[8]=Ou,mA[9]=Tu,Hs[0]=RA,Hs[1]=Tf,Hs[2]=ts,Hs[3]=go,Hs[4]=Nr,Hs[5]=Of,Hs[6]=ju,$i[0]=ks,$i[1]=Lu,$i[2]=Ru,$i[3]=El,$i[4]=Is,$i[5]=Du,$i[6]=sa,S=1}else S=0}S&&(S=function(pe,He){for(pe.M=0;pe.M<pe.Va;++pe.M){var ke,he=pe.Jc[pe.M&pe.Xb],me=pe.m,Ne=pe;for(ke=0;ke<Ne.za;++ke){var ze=me,Te=Ne,ct=Te.Ac,ot=Te.Bc+4*ke,It=Te.zc,at=Te.ya[Te.aa+ke];if(Te.Qa.Bb?at.$b=Se(ze,Te.Pa.jb[0])?2+Se(ze,Te.Pa.jb[2]):Se(ze,Te.Pa.jb[1]):at.$b=0,Te.kc&&(at.Ad=Se(ze,Te.Bd)),at.Za=!Se(ze,145)+0,at.Za){var cn=at.Ob,hn=0;for(Te=0;4>Te;++Te){var $e,Zt=It[0+Te];for($e=0;4>$e;++$e){Zt=B0[ct[ot+$e]][Zt];for(var bn=Vd[Se(ze,Zt[0])];0<bn;)bn=Vd[2*bn+Se(ze,Zt[bn])];Zt=-bn,ct[ot+$e]=Zt}r(cn,hn,ct,ot,4),hn+=4,It[0+Te]=Zt}}else Zt=Se(ze,156)?Se(ze,128)?1:3:Se(ze,163)?2:0,at.Ob[0]=Zt,i(ct,ot,Zt,4),i(It,0,Zt,4);at.Dd=Se(ze,142)?Se(ze,114)?Se(ze,183)?1:3:2:0}if(Ne.m.Ka)return Vn(pe,7,"Premature end-of-partition0 encountered.");for(;pe.ja<pe.za;++pe.ja){if(Ne=he,ze=(me=pe).rb[me.sb-1],ct=me.rb[me.sb+me.ja],ke=me.ya[me.aa+me.ja],ot=me.kc?ke.Ad:0)ze.la=ct.la=0,ke.Za||(ze.Na=ct.Na=0),ke.Hc=0,ke.Gc=0,ke.ia=0;else{var dn,Lt;if(ze=ct,ct=Ne,ot=me.Pa.Xc,It=me.ya[me.aa+me.ja],at=me.pb[It.$b],Te=It.ad,cn=0,hn=me.rb[me.sb-1],Zt=$e=0,i(Te,cn,0,384),It.Za)var rr=0,qr=ot[3];else{bn=A(16);var kn=ze.Na+hn.Na;if(kn=Nl(ct,ot[1],kn,at.Eb,0,bn,0),ze.Na=hn.Na=(0<kn)+0,1<kn)ui(bn,0,Te,cn);else{var Fr=bn[0]+3>>3;for(bn=0;256>bn;bn+=16)Te[cn+bn]=Fr}rr=1,qr=ot[0]}var gn=15&ze.la,Li=15&hn.la;for(bn=0;4>bn;++bn){var ji=1&Li;for(Fr=Lt=0;4>Fr;++Fr)gn=gn>>1|(ji=(kn=Nl(ct,qr,kn=ji+(1&gn),at.Sc,rr,Te,cn))>rr)<<7,Lt=Lt<<2|(3<kn?3:1<kn?2:Te[cn+0]!=0),cn+=16;gn>>=4,Li=Li>>1|ji<<7,$e=($e<<8|Lt)>>>0}for(qr=gn,rr=Li>>4,dn=0;4>dn;dn+=2){for(Lt=0,gn=ze.la>>4+dn,Li=hn.la>>4+dn,bn=0;2>bn;++bn){for(ji=1&Li,Fr=0;2>Fr;++Fr)kn=ji+(1&gn),gn=gn>>1|(ji=0<(kn=Nl(ct,ot[2],kn,at.Qc,0,Te,cn)))<<3,Lt=Lt<<2|(3<kn?3:1<kn?2:Te[cn+0]!=0),cn+=16;gn>>=2,Li=Li>>1|ji<<5}Zt|=Lt<<4*dn,qr|=gn<<4<<dn,rr|=(240&Li)<<dn}ze.la=qr,hn.la=rr,It.Hc=$e,It.Gc=Zt,It.ia=43690&Zt?0:at.ia,ot=!($e|Zt)}if(0<me.L&&(me.wa[me.Y+me.ja]=me.gd[ke.$b][ke.Za],me.wa[me.Y+me.ja].La|=!ot),Ne.Ka)return Vn(pe,7,"Premature end-of-file encountered.")}if(_s(pe),me=He,Ne=1,ke=(he=pe).D,ze=0<he.L&&he.M>=he.zb&&he.M<=he.Va,he.Aa==0)e:{if(ke.M=he.M,ke.uc=ze,Qn(he,ke),Ne=1,ke=(Lt=he.D).Nb,ze=(Zt=rc[he.L])*he.R,ct=Zt/2*he.B,bn=16*ke*he.R,Fr=8*ke*he.B,ot=he.sa,It=he.ta-ze+bn,at=he.qa,Te=he.ra-ct+Fr,cn=he.Ha,hn=he.Ia-ct+Fr,Li=(gn=Lt.M)==0,$e=gn>=he.Va-1,he.Aa==2&&Qn(he,Lt),Lt.uc)for(ji=(kn=he).D.M,t(kn.D.uc),Lt=kn.yb;Lt<kn.Hb;++Lt){rr=Lt,qr=ji;var In=(ur=(Mn=kn).D).Nb;dn=Mn.R;var ur=ur.wa[ur.Y+rr],Sr=Mn.sa,qi=Mn.ta+16*In*dn+16*rr,wA=ur.dd,yr=ur.tc;if(yr!=0)if(t(3<=yr),Mn.L==1)0<rr&&os(Sr,qi,dn,yr+4),ur.La&&Qi(Sr,qi,dn,yr),0<qr&&Rs(Sr,qi,dn,yr+4),ur.La&&ga(Sr,qi,dn,yr);else{var yA=Mn.B,Uo=Mn.qa,va=Mn.ra+8*In*yA+8*rr,Ks=Mn.Ha,Mn=Mn.Ia+8*In*yA+8*rr;In=ur.ld,0<rr&&(ci(Sr,qi,dn,yr+4,wA,In),Co(Uo,va,Ks,Mn,yA,yr+4,wA,In)),ur.La&&(gA(Sr,qi,dn,yr,wA,In),Eo(Uo,va,Ks,Mn,yA,yr,wA,In)),0<qr&&(da(Sr,qi,dn,yr+4,wA,In),pa(Uo,va,Ks,Mn,yA,yr+4,wA,In)),ur.La&&(Fo(Sr,qi,dn,yr,wA,In),So(Uo,va,Ks,Mn,yA,yr,wA,In))}}if(he.ia&&alert("todo:DitherRow"),me.put!=null){if(Lt=16*gn,gn=16*(gn+1),Li?(me.y=he.sa,me.O=he.ta+bn,me.f=he.qa,me.N=he.ra+Fr,me.ea=he.Ha,me.W=he.Ia+Fr):(Lt-=Zt,me.y=ot,me.O=It,me.f=at,me.N=Te,me.ea=cn,me.W=hn),$e||(gn-=Zt),gn>me.o&&(gn=me.o),me.F=null,me.J=null,he.Fa!=null&&0<he.Fa.length&&Lt<gn&&(me.J=Il(he,me,Lt,gn-Lt),me.F=he.mb,me.F==null&&me.F.length==0)){Ne=Vn(he,3,"Could not decode alpha data.");break e}Lt<me.j&&(Zt=me.j-Lt,Lt=me.j,t(!(1&Zt)),me.O+=he.R*Zt,me.N+=he.B*(Zt>>1),me.W+=he.B*(Zt>>1),me.F!=null&&(me.J+=me.width*Zt)),Lt<gn&&(me.O+=me.v,me.N+=me.v>>1,me.W+=me.v>>1,me.F!=null&&(me.J+=me.v),me.ka=Lt-me.j,me.U=me.va-me.v,me.T=gn-Lt,Ne=me.put(me))}ke+1!=he.Ic||$e||(r(he.sa,he.ta-ze,ot,It+16*he.R,ze),r(he.qa,he.ra-ct,at,Te+8*he.B,ct),r(he.Ha,he.Ia-ct,cn,hn+8*he.B,ct))}if(!Ne)return Vn(pe,6,"Output aborted.")}return 1}(h,y)),y.bc!=null&&y.bc(y),S&=1}return S?(h.cb=0,S):0}function dA(h,y,S,k,O){O=h[y+S+32*k]+(O>>3),h[y+S+32*k]=-256&O?0>O?0:255:O}function or(h,y,S,k,O,K){dA(h,y,0,S,k+O),dA(h,y,1,S,k+K),dA(h,y,2,S,k-K),dA(h,y,3,S,k-O)}function oi(h){return(20091*h>>16)+h}function Sl(h,y,S,k){var O,K=0,V=A(16);for(O=0;4>O;++O){var W=h[y+0]+h[y+8],q=h[y+0]-h[y+8],ee=(35468*h[y+4]>>16)-oi(h[y+12]),fe=oi(h[y+4])+(35468*h[y+12]>>16);V[K+0]=W+fe,V[K+1]=q+ee,V[K+2]=q-ee,V[K+3]=W-fe,K+=4,y++}for(O=K=0;4>O;++O)W=(h=V[K+0]+4)+V[K+8],q=h-V[K+8],ee=(35468*V[K+4]>>16)-oi(V[K+12]),dA(S,k,0,0,W+(fe=oi(V[K+4])+(35468*V[K+12]>>16))),dA(S,k,1,0,q+ee),dA(S,k,2,0,q-ee),dA(S,k,3,0,W-fe),K++,k+=32}function Qu(h,y,S,k){var O=h[y+0]+4,K=35468*h[y+4]>>16,V=oi(h[y+4]),W=35468*h[y+1]>>16;or(S,k,0,O+V,h=oi(h[y+1]),W),or(S,k,1,O+K,h,W),or(S,k,2,O-K,h,W),or(S,k,3,O-V,h,W)}function Lf(h,y,S,k,O){Sl(h,y,S,k),O&&Sl(h,y+16,S,k+4)}function ku(h,y,S,k){ss(h,y+0,S,k,1),ss(h,y+32,S,k+128,1)}function jf(h,y,S,k){var O;for(h=h[y+0]+4,O=0;4>O;++O)for(y=0;4>y;++y)dA(S,k,y,O,h)}function Iu(h,y,S,k){h[y+0]&&Tr(h,y+0,S,k),h[y+16]&&Tr(h,y+16,S,k+4),h[y+32]&&Tr(h,y+32,S,k+128),h[y+48]&&Tr(h,y+48,S,k+128+4)}function Nf(h,y,S,k){var O,K=A(16);for(O=0;4>O;++O){var V=h[y+0+O]+h[y+12+O],W=h[y+4+O]+h[y+8+O],q=h[y+4+O]-h[y+8+O],ee=h[y+0+O]-h[y+12+O];K[0+O]=V+W,K[8+O]=V-W,K[4+O]=ee+q,K[12+O]=ee-q}for(O=0;4>O;++O)V=(h=K[0+4*O]+3)+K[3+4*O],W=K[1+4*O]+K[2+4*O],q=K[1+4*O]-K[2+4*O],ee=h-K[3+4*O],S[k+0]=V+W>>3,S[k+16]=ee+q>>3,S[k+32]=V-W>>3,S[k+48]=ee-q>>3,k+=64}function Us(h,y,S){var k,O=y-32,K=Ii,V=255-h[O-1];for(k=0;k<S;++k){var W,q=K,ee=V+h[y-1];for(W=0;W<S;++W)h[y+W]=q[ee+h[O+W]];y+=32}}function Pf(h,y){Us(h,y,4)}function Lu(h,y){Us(h,y,8)}function Tf(h,y){Us(h,y,16)}
vendor: 4,242 bytes, line 414
414function ts(h,y){var S;for(S=0;16>S;++S)r(h,y+32*S,h,y-32,16)}function go(h,y){var S;for(S=16;0<S;--S)i(h,y,h[y-1],16),y+=32}function Qs(h,y,S){var k;for(k=0;16>k;++k)i(y,S+32*k,h,16)}function RA(h,y){var S,k=16;for(S=0;16>S;++S)k+=h[y-1+32*S]+h[y+S-32];Qs(k>>5,h,y)}function Nr(h,y){var S,k=8;for(S=0;16>S;++S)k+=h[y-1+32*S];Qs(k>>4,h,y)}function Of(h,y){var S,k=8;for(S=0;16>S;++S)k+=h[y+S-32];Qs(k>>4,h,y)}function ju(h,y){Qs(128,h,y)}function Nt(h,y,S){return h+2*y+S+2>>2}function Rf(h,y){var S,k=y-32;for(k=new Uint8Array([Nt(h[k-1],h[k+0],h[k+1]),Nt(h[k+0],h[k+1],h[k+2]),Nt(h[k+1],h[k+2],h[k+3]),Nt(h[k+2],h[k+3],h[k+4])]),S=0;4>S;++S)r(h,y+32*S,k,0,k.length)}function Df(h,y){var S=h[y-1],k=h[y-1+32],O=h[y-1+64],K=h[y-1+96];Me(h,y+0,16843009*Nt(h[y-1-32],S,k)),Me(h,y+32,16843009*Nt(S,k,O)),Me(h,y+64,16843009*Nt(k,O,K)),Me(h,y+96,16843009*Nt(O,K,K))}function DA(h,y){var S,k=4;for(S=0;4>S;++S)k+=h[y+S-32]+h[y-1+32*S];for(k>>=3,S=0;4>S;++S)i(h,y+32*S,k,4)}function Nu(h,y){var S=h[y-1+0],k=h[y-1+32],O=h[y-1+64],K=h[y-1-32],V=h[y+0-32],W=h[y+1-32],q=h[y+2-32],ee=h[y+3-32];h[y+0+96]=Nt(k,O,h[y-1+96]),h[y+1+96]=h[y+0+64]=Nt(S,k,O),h[y+2+96]=h[y+1+64]=h[y+0+32]=Nt(K,S,k),h[y+3+96]=h[y+2+64]=h[y+1+32]=h[y+0+0]=Nt(V,K,S),h[y+3+64]=h[y+2+32]=h[y+1+0]=Nt(W,V,K),h[y+3+32]=h[y+2+0]=Nt(q,W,V),h[y+3+0]=Nt(ee,q,W)}function Pu(h,y){var S=h[y+1-32],k=h[y+2-32],O=h[y+3-32],K=h[y+4-32],V=h[y+5-32],W=h[y+6-32],q=h[y+7-32];h[y+0+0]=Nt(h[y+0-32],S,k),h[y+1+0]=h[y+0+32]=Nt(S,k,O),h[y+2+0]=h[y+1+32]=h[y+0+64]=Nt(k,O,K),h[y+3+0]=h[y+2+32]=h[y+1+64]=h[y+0+96]=Nt(O,K,V),h[y+3+32]=h[y+2+64]=h[y+1+96]=Nt(K,V,W),h[y+3+64]=h[y+2+96]=Nt(V,W,q),h[y+3+96]=Nt(W,q,q)}function Aa(h,y){var S=h[y-1+0],k=h[y-1+32],O=h[y-1+64],K=h[y-1-32],V=h[y+0-32],W=h[y+1-32],q=h[y+2-32],ee=h[y+3-32];h[y+0+0]=h[y+1+64]=K+V+1>>1,h[y+1+0]=h[y+2+64]=V+W+1>>1,h[y+2+0]=h[y+3+64]=W+q+1>>1,h[y+3+0]=q+ee+1>>1,h[y+0+96]=Nt(O,k,S),h[y+0+64]=Nt(k,S,K),h[y+0+32]=h[y+1+96]=Nt(S,K,V),h[y+1+32]=h[y+2+96]=Nt(K,V,W),h[y+2+32]=h[y+3+96]=Nt(V,W,q),h[y+3+32]=Nt(W,q,ee)}function ai(h,y){var S=h[y+0-32],k=h[y+1-32],O=h[y+2-32],K=h[y+3-32],V=h[y+4-32],W=h[y+5-32],q=h[y+6-32],ee=h[y+7-32];h[y+0+0]=S+k+1>>1,h[y+1+0]=h[y+0+64]=k+O+1>>1,h[y+2+0]=h[y+1+64]=O+K+1>>1,h[y+3+0]=h[y+2+64]=K+V+1>>1,h[y+0+32]=Nt(S,k,O),h[y+1+32]=h[y+0+96]=Nt(k,O,K),h[y+2+32]=h[y+1+96]=Nt(O,K,V),h[y+3+32]=h[y+2+96]=Nt(K,V,W),h[y+3+64]=Nt(V,W,q),h[y+3+96]=Nt(W,q,ee)}function Tu(h,y){var S=h[y-1+0],k=h[y-1+32],O=h[y-1+64],K=h[y-1+96];h[y+0+0]=S+k+1>>1,h[y+2+0]=h[y+0+32]=k+O+1>>1,h[y+2+32]=h[y+0+64]=O+K+1>>1,h[y+1+0]=Nt(S,k,O),h[y+3+0]=h[y+1+32]=Nt(k,O,K),h[y+3+32]=h[y+1+64]=Nt(O,K,K),h[y+3+64]=h[y+2+64]=h[y+0+96]=h[y+1+96]=h[y+2+96]=h[y+3+96]=K}function Ou(h,y){var S=h[y-1+0],k=h[y-1+32],O=h[y-1+64],K=h[y-1+96],V=h[y-1-32],W=h[y+0-32],q=h[y+1-32],ee=h[y+2-32];h[y+0+0]=h[y+2+32]=S+V+1>>1,h[y+0+32]=h[y+2+64]=k+S+1>>1,h[y+0+64]=h[y+2+96]=O+k+1>>1,h[y+0+96]=K+O+1>>1,h[y+3+0]=Nt(W,q,ee),h[y+2+0]=Nt(V,W,q),h[y+1+0]=h[y+3+32]=Nt(S,V,W),h[y+1+32]=h[y+3+64]=Nt(k,S,V),h[y+1+64]=h[y+3+96]=Nt(O,k,S),h[y+1+96]=Nt(K,O,k)}function Ru(h,y){var S;for(S=0;8>S;++S)r(h,y+32*S,h,y-32,8)}function El(h,y){var S;for(S=0;8>S;++S)i(h,y,h[y-1],8),y+=32}function mo(h,y,S){var k;for(k=0;8>k;++k)i(y,S+32*k,h,8)}function ks(h,y){var S,k=8;for(S=0;8>S;++S)k+=h[y+S-32]+h[y-1+32*S];mo(k>>4,h,y)}function Du(h,y){var S,k=4;for(S=0;8>S;++S)k+=h[y+S-32];mo(k>>3,h,y)}function Is(h,y){var S,k=4;for(S=0;8>S;++S)k+=h[y-1+32*S];mo(k>>3,h,y)}function sa(h,y){mo(128,h,y)}function oa(h,y,S){var k=h[y-S],O=h[y+0],K=3*(O-k)+$u[1020+h[y-2*S]-h[y+S]],V=Wu[112+(K+4>>3)];h[y-S]=Ii[255+k+Wu[112+(K+3>>3)]],h[y+0]=Ii[255+O-V]}function Hu(h,y,S,k){var O=h[y+0],K=h[y+S];return Gi[255+h[y-2*S]-h[y-S]]>k||Gi[255+K-O]>k}function ar(h,y,S,k){return 4*Gi[255+h[y-S]-h[y+0]]+Gi[255+h[y-2*S]-h[y+S]]<=k}function Mu(h,y,S,k,O){var K=h[y-3*S],V=h[y-2*S],W=h[y-S],q=h[y+0],ee=h[y+S],fe=h[y+2*S],Ee=h[y+3*S];return 4*Gi[255+W-q]+Gi[255+V-ee]>k?0:Gi[255+h[y-4*S]-K]<=O&&Gi[255+K-V]<=O&&Gi[255+V-W]<=O&&Gi[255+Ee-fe]<=O&&Gi[255+fe-ee]<=O&&Gi[255+ee-q]<=O}function ns(h,y,S,k){var O=2*k+1;for(k=0;16>k;++k)ar(h,y+k,S,O)&&oa(h,y+k,S)}function HA(h,y,S,k){var O=2*k+1;for(k=0;16>k;++k)ar(h,y+k*S,1,O)&&oa(h,y+k*S,1)}function rs(h,y,S,k){var O;for(O=3;0<O;
vendor: 14,780 bytes, line 414
414--O)ns(h,y+=4*S,S,k)}function Hf(h,y,S,k){var O;for(O=3;0<O;--O)HA(h,y+=4,S,k)}function Ls(h,y,S,k,O,K,V,W){for(K=2*K+1;0<O--;){if(Mu(h,y,S,K,V))if(Hu(h,y,S,W))oa(h,y,S);else{var q=h,ee=y,fe=S,Ee=q[ee-2*fe],_e=q[ee-fe],pe=q[ee+0],He=q[ee+fe],ke=q[ee+2*fe],he=27*(Ne=$u[1020+3*(pe-_e)+$u[1020+Ee-He]])+63>>7,me=18*Ne+63>>7,Ne=9*Ne+63>>7;q[ee-3*fe]=Ii[255+q[ee-3*fe]+Ne],q[ee-2*fe]=Ii[255+Ee+me],q[ee-fe]=Ii[255+_e+he],q[ee+0]=Ii[255+pe-he],q[ee+fe]=Ii[255+He-me],q[ee+2*fe]=Ii[255+ke-Ne]}y+=k}}function li(h,y,S,k,O,K,V,W){for(K=2*K+1;0<O--;){if(Mu(h,y,S,K,V))if(Hu(h,y,S,W))oa(h,y,S);else{var q=h,ee=y,fe=S,Ee=q[ee-fe],_e=q[ee+0],pe=q[ee+fe],He=Wu[112+((ke=3*(_e-Ee))+4>>3)],ke=Wu[112+(ke+3>>3)],he=He+1>>1;q[ee-2*fe]=Ii[255+q[ee-2*fe]+he],q[ee-fe]=Ii[255+Ee+ke],q[ee+0]=Ii[255+_e-He],q[ee+fe]=Ii[255+pe-he]}y+=k}}function js(h,y,S,k,O,K){Ls(h,y,S,1,16,k,O,K)}function Ns(h,y,S,k,O,K){Ls(h,y,1,S,16,k,O,K)}function Mf(h,y,S,k,O,K){var V;for(V=3;0<V;--V)li(h,y+=4*S,S,1,16,k,O,K)}function Si(h,y,S,k,O,K){var V;for(V=3;0<V;--V)li(h,y+=4,1,S,16,k,O,K)}function aa(h,y,S,k,O,K,V,W){Ls(h,y,O,1,8,K,V,W),Ls(S,k,O,1,8,K,V,W)}function wo(h,y,S,k,O,K,V,W){Ls(h,y,1,O,8,K,V,W),Ls(S,k,1,O,8,K,V,W)}function _l(h,y,S,k,O,K,V,W){li(h,y+4*O,O,1,8,K,V,W),li(S,k+4*O,O,1,8,K,V,W)}function Ku(h,y,S,k,O,K,V,W){li(h,y+4,1,O,8,K,V,W),li(S,k+4,1,O,8,K,V,W)}function la(){this.ba=new jr,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new st,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function Ul(){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 Ql(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function zu(){this.ua=0,this.Wa=new se,this.vb=new se,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new J,this.yc=new D}function Kf(){this.xb=this.a=0,this.l=new es,this.ca=new jr,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new T,this.Pb=0,this.wd=new T,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new zu,this.ab=0,this.gc=s(4,Ql),this.Oc=0}function ua(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new es,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function yo(h,y,S,k,O,K,V){for(h=h==null?0:h[y+0],y=0;y<V;++y)O[K+y]=h+S[k+y]&255,h=O[K+y]}function kl(h,y,S,k,O,K,V){var W;if(h==null)yo(null,null,S,k,O,K,V);else for(W=0;W<V;++W)O[K+W]=h[y+W]+S[k+W]&255}function Ps(h,y,S,k,O,K,V){if(h==null)yo(null,null,S,k,O,K,V);else{var W,q=h[y+0],ee=q,fe=q;for(W=0;W<V;++W)ee=fe+(q=h[y+W])-ee,fe=S[k+W]+(-256&ee?0>ee?0:255:ee)&255,ee=q,O[K+W]=fe}}function Il(h,y,S,k){var O=y.width,K=y.o;if(t(h!=null&&y!=null),0>S||0>=k||S+k>K)return null;if(!h.Cc){if(h.ga==null){var V;if(h.ga=new ua,(V=h.ga==null)||(V=y.width*y.o,t(h.Gb.length==0),h.Gb=A(V),h.Uc=0,h.Gb==null?V=0:(h.mb=h.Gb,h.nb=h.Uc,h.rc=null,V=1),V=!V),!V){V=h.ga;var W=h.Fa,q=h.P,ee=h.qc,fe=h.mb,Ee=h.nb,_e=q+1,pe=ee-1,He=V.l;if(t(W!=null&&fe!=null&&y!=null),ls[0]=null,ls[1]=yo,ls[2]=kl,ls[3]=Ps,V.ca=fe,V.tb=Ee,V.c=y.width,V.i=y.height,t(0<V.c&&0<V.i),1>=ee)y=0;else if(V.$a=W[q+0]>>0&3,V.Z=W[q+0]>>2&3,V.Lc=W[q+0]>>4&3,q=W[q+0]>>6&3,0>V.$a||1<V.$a||4<=V.Z||1<V.Lc||q)y=0;else if(He.put=br,He.ac=en,He.bc=Ai,He.ma=V,He.width=y.width,He.height=y.height,He.Da=y.Da,He.v=y.v,He.va=y.va,He.j=y.j,He.o=y.o,V.$a)e:{t(V.$a==1),y=Mi();t:for(;;){if(y==null){y=0;break e}if(t(V!=null),V.mc=y,y.c=V.c,y.i=V.i,y.l=V.l,y.l.ma=V,y.l.width=V.c,y.l.height=V.i,y.a=0,re(y.m,W,_e,pe),!TA(V.c,V.i,1,y,null)||(y.ab==1&&y.gc[0].hc==3&&cA(y.s)?(V.ic=1,W=y.c*y.i,y.Ta=null,y.Ua=0,y.V=A(W),y.Ba=0,y.V==null?(y.a=1,y=0):y=1):(V.ic=0,y=ZA(y,V.c)),!y))break t;y=1;break e}V.mc=null,y=0}else y=pe>=V.c*V.i;V=!y}if(V)return null;h.ga.Lc!=1?h.Ga=0:k=K-S}t(h.ga!=null),t(S+k<=K);e:{if(y=(W=h.ga).c,K=W.l.o,W.$a==0){if(_e=h.rc,pe=h.Vc,He=h.Fa,q=h.P+1+S*y,ee=h.mb,fe=h.nb+S*y,t(q<=h.P+h.qc),W.Z!=0)for(t(ls[W.Z]!=null),V=0;V<k;++V)ls[W.Z](_e,pe,He,q,ee,fe,y),_e=ee,pe=fe,fe+=y,q+=y;else for(V=0;V<k;++V)r(ee,fe,He,q,y),_e=ee,pe=fe,fe+=y,q+=y;h.rc=_e,h.Vc=pe}else{if(t(W.mc!=null),y=S+k,t((V=W.mc)!=null),t(y<=V.i),V.C>=y)y=1;else if(W.ic||xe(),W.ic){W=V.V,_e=V.Ba,pe=V.c;var ke=V.i,he=(He=1,q=V.$/pe,ee=V.$%pe,fe=V.m,Ee=V.s,V.$),me=pe*ke,Ne=pe*y,ze=Ee.wc,Te=he<Ne?Pn(Ee,ee,q):null;t(he<=me),t(y<=ke),t(cA(Ee));t:for(;;){for(;!fe.h&&he<Ne;){if(ee&ze||(Te=Pn(Ee,ee,q)),t(Te!=null),ae(fe),256>(ke=zr(Te.G[0],Te.H[0],fe)))W[_e+he]=ke,++he,++ee>=pe&&(ee=0,++q<=y&&!(q%16)&&Hi(V,q));else{if(!(280>ke)){He=0;break t}ke=uA(ke-256,fe);var ct,ot=zr(Te.G[4],Te.H[4],fe);if(ae(fe),!(he>=(ot=PA(pe,ot=uA(ot,fe)))&&me-he>=ke)){He=0;break t}for(ct=0;ct<ke;++ct)W[_e+he+ct]=W[_e+he+ct-ot];for(he+=ke,ee+=ke;ee>=pe;)ee-=pe,++q<=y&&!(q%16)&&Hi(V,q);he<Ne&&ee&ze&&(Te=Pn(Ee,ee,q))}t(fe.h==ne(fe))}Hi(V,q>y?y:q);break t}!He||fe.h&&he<me?(He=0,V.a=fe.h?5:3):V.$=he,y=He}else y=fA(V,V.V,V.Ba,V.c,V.i,y,uo);if(!y){k=0;break e}}S+k>=K&&(h.Cc=1),k=1}if(!k)return null;if(h.Cc&&((k=h.ga)!=null&&(k.mc=null),h.ga=null,0<h.Ga))return alert("todo:WebPDequantizeLevels"),null}return h.nb+S*O}function C(h,y,S,k,O,K){for(;0<O--;){var V,W=h,q=y+(S?1:0),ee=h,fe=y+(S?0:3);for(V=0;V<k;++V){var Ee=ee[fe+4*V];Ee!=255&&(Ee*=32897,W[q+4*V+0]=W[q+4*V+0]*Ee>>23,W[q+4*V+1]=W[q+4*V+1]*Ee>>23,W[q+4*V+2]=W[q+4*V+2]*Ee>>23)}y+=K}}function R(h,y,S,k,O){for(;0<k--;){var K;for(K=0;K<S;++K){var V=h[y+2*K+0],W=15&(ee=h[y+2*K+1]),q=4369*W,ee=(240&ee|ee>>4)*q>>16;h[y+2*K+0]=(240&V|V>>4)*q>>16&240|(15&V|V<<4)*q>>16>>4&15,h[y+2*K+1]=240&ee|W}y+=O}}function ie(h,y,S,k,O,K,V,W){var q,ee,fe=255;for(ee=0;ee<O;++ee){for(q=0;q<k;++q){var Ee=h[y+q];K[V+4*q]=Ee,fe&=Ee}y+=S,V+=W}return fe!=255}function ue(h,y,S,k,O){var K;for(K=0;K<O;++K)S[k+K]=h[y+K]>>8}function xe(){ki=C,Bn=R,xn=ie,Jn=ue}function Ie(h,y,S){G[h]=function(k,O,K,V,W,q,ee,fe,Ee,_e,pe,He,ke,he,me,Ne,ze){var Te,ct=ze-1>>1,ot=W[q+0]|ee[fe+0]<<16,It=Ee[_e+0]|pe[He+0]<<16;t(k!=null);var at=3*ot+It+131074>>2;for(y(k[O+0],255&at,at>>16,ke,he),K!=null&&(at=3*It+ot+131074>>2,y(K[V+0],255&at,at>>16,me,Ne)),Te=1;Te<=ct;++Te){var cn=W[q+Te]|ee[fe+Te]<<16,hn=Ee[_e+Te]|pe[He+Te]<<16,$e=ot+cn+It+hn+524296,Zt=$e+2*(cn+It)>>3;at=Zt+ot>>1,ot=($e=$e+2*(ot+hn)>>3)+cn>>1,y(k[O+2*Te-1],255&at,at>>16,ke,he+(2*Te-1)*S),y(k[O+2*Te-0],255&ot,ot>>16,ke,he+(2*Te-0)*S),K!=null&&(at=$e+It>>1,ot=Zt+hn>>1,y(K[V+2*Te-1],255&at,at>>16,me,Ne+(2*Te-1)*S),y(K[V+2*Te+0],255&ot,ot>>16,me,Ne+(2*Te+0)*S)),ot=cn,It=hn}1&ze||(at=3*ot+It+131074>>2,y(k[O+ze-1],255&at,at>>16,ke,he+(ze-1)*S),K!=null&&(at=3*It+ot+131074>>2,y(K[V+ze-1],255&at,at>>16,me,Ne+(ze-1)*S)))}}function Ge(){Wi[qu]=F0,Wi[Ju]=Pl,Wi[_o]=$f,Wi[Xu]=$d,Wi[Yu]=Wd,Wi[ma]=qd,Wi[Kd]=S0,Wi[zf]=Pl,Wi[Vf]=$d,Wi[Zu]=Wd,Wi[wa]=qd}function ut(h){return h&~E0?0>h?0:255:h>>Jd}function St(h,y){return ut((19077*h>>8)+(26149*y>>8)-14234)}function Dt(h,y,S){return ut((19077*h>>8)-(6419*y>>8)-(13320*S>>8)+8708)}function Ht(h,y){return ut((19077*h>>8)+(33050*y>>8)-17685)}function tn(h,y,S,k,O){k[O+0]=St(h,S),k[O+1]=Dt(h,y,S),k[O+2]=Ht(h,y)}function yn(h,y,S,k,O){k[O+0]=Ht(h,y),k[O+1]=Dt(h,y,S),k[O+2]=St(h,S)}function vn(h,y,S,k,O){var K=Dt(h,y,S);y=K<<3&224|Ht(h,y)>>3,k[O+0]=248&St(h,S)|K>>5,k[O+1]=y}function Tt(h,y,S,k,O){var K=240&Ht(h,y)|15;k[O+0]=240&St(h,S)|Dt(h,y,S)>>4,k[O+1]=K}function Pr(h,y,S,k,O){k[O+0]=255,tn(h,y,S,k,O+1)}function nr(h,y,S,k,O){yn(h,y,S,k,O),k[O+3]=255}function Ki(h,y,S,k,O){tn(h,y,S,k,O),k[O+3]=255}function wr(h,y){return 0>h?0:h>y?y:h}function lr(h,y,S){G[h]=function(k,O,K,V,W,q,ee,fe,Ee){for(var _e=fe+(-2&Ee)*S;fe!=_e;)y(k[O+0],K[V+0],W[q+0],ee,fe),y(k[O+1],K[V+0],W[q+0],ee,fe+S),O+=2,++V,++q,fe+=2*S;1&Ee&&y(k[O+0],K[V+0],W[q+0],ee,fe)}}function Vu(h,y,S){return S==0?h==0?y==0?6:5:y==0?4:0:S}function zi(h,y,S,k,O){switch(h>>>30){case 3:ss(y,S,k,O,0);break;case 2:qn(y,S,k,O);break;case 1:Tr(y,S,k,O)}}function Qn(h,y){var S,k,O=y.M,K=y.Nb,V=h.oc,W=h.pc+40,q=h.oc,ee=h.pc+584,fe=h.oc,Ee=h.pc+600;for(S=0;16>S;++S)V[W+32*S-1]=129;for(S=0;8>S;++S)q[ee+32*S-1]=129,fe[Ee+32*S-1]=129;for(0<O?V[W-1-32]=q[ee-1-32]=fe[Ee-1-32]=129:(i(V,W-32-1,127,21),i(q,ee-32-1,127,9),i(fe,Ee-32-1,127,9)),k=0;k<h.za;++k){var _e=y.ya[y.aa+k];if(0<k){for(S=-1;16>S;++S)r(V,W+32*S-4,V,W+32*S+12,4);for(S=-1;8>S;++S)r(q,ee+32*S-4,q,ee+32*S+4,4),r(fe,Ee+32*S-4,fe,Ee+32*S+4,4)}var pe=h.Gd,He=h.Hd+k,ke=_e.ad,he=_e.Hc;if(0<O&&(r(V,W-32,pe[He].y,0,16),r(q,ee-32,pe[He].f,0,8),r(fe,Ee-32,pe[He].ea,0,8)),_e.Za){var me=V,Ne=W-32+16;for(0<O&&(k>=h.za-1?i(me,Ne,pe[He].y[15],4):r(me,Ne,pe[He+1].y,0,4)),S=0;4>S;S++)me[Ne+128+S]=me[Ne+256+S]=me[Ne+384+S]=me[Ne+0+S];for(S=0;16>S;++S,he<<=2)me=V,Ne=W+Yd[S],mA[_e.Ob[S]](me,Ne),zi(he,ke,16*+S,me,Ne)}else if(me=Vu(k,O,_e.Ob[0]),Hs[me](V,W),he!=0)for(S=0;16>S;++S,he<<=2)zi(he,ke,16*+S,V,W+Yd[S]);for(S=_e.Gc,me=Vu(k,O,_e.Dd),$i[me](q,ee),$i[me](fe,Ee),he=ke,me=q,Ne=ee,255&(_e=S>>0)&&(170&_e?Os(he,256,me,Ne):Vi(he,256,me,Ne)),_e=fe,he=Ee,255&(S>>=8)&&(170&S?Os(ke,320,_e,he):Vi(ke,320,_e,he)),O<h.Ub-1&&(r(pe[He].y,0,V,W+480,16),r(pe[He].f,0,q,ee+224,8),r(pe[He].ea,0,fe,Ee+224,8)),S=8*K*h.B,pe=h.sa,He=h.ta+16*k+16*K*h.R,ke=h.qa,_e=h.ra+8*k+S,he=h.Ha,me=h.Ia+8*k+S,S=0;16>S;++S)r(pe,He+S*h.R,V,W+32*S,16);for(S=0;8>S;++S)r(ke,_e+S*h.B,q,ee+32*S,8),r(he,me+S*h.B,fe,Ee+32*S,8)}}function vo(h,y,S,k,O,K,V,W,q){var ee=[0],fe=[0],Ee=0,_e=q!=null?q.kd:0,pe=q??new Ul;if(h==null||12>S)return 7;pe.data=h,pe.w=y,pe.ha=S,y=[y],S=[S],pe.gb=[pe.gb];e:{var He=y,ke=S,he=pe.gb;if(t(h!=null),t(ke!=null),t(he!=null),he[0]=0,12<=ke[0]&&!n(h,He[0],"RIFF")){if(n(h,He[0]+8,"WEBP")){he=3;break e}var me=We(h,He[0]+4);if(12>me||4294967286<me){he=3;break e}if(_e&&me>ke[0]-8){he=7;break e}he[0]=me,He[0]+=12,ke[0]-=12}he=0}if(he!=0)return he;for(me=0<pe.gb[0],S=S[0];;){e:{var Ne=h;ke=y,he=S;var ze=ee,Te=fe,ct=He=[0];if((at=Ee=[Ee])[0]=0,8>he[0])he=7;else{if(!n(Ne,ke[0],"VP8X")){if(We(Ne,ke[0]+4)!=10){he=3;break e}if(18>he[0]){he=7;break e}var ot=We(Ne,ke[0]+8),It=1+Ve(Ne,ke[0]+12);if(2147483648<=It*(Ne=1+Ve(Ne,ke[0]+15))){he=3;break e}ct!=null&&(ct[0]=ot),ze!=null&&(ze[0]=It),Te!=null&&(Te[0]=Ne),ke[0]+=18,he[0]-=18,at[0]=1}he=0}}if(Ee=Ee[0],He=He[0],he!=0)return he;if(ke=!!(2&He),!me&&Ee)return 3;if(K!=null&&(K[0]=!!(16&He)),V!=null&&(V[0]=ke),W!=null&&(W[0]=0),V=ee[0],He=fe[0],Ee&&ke&&q==null){he=0;break}if(4>S){he=7;break}if(me&&Ee||!me&&!Ee&&!n(h,y[0],"ALPH")){S=[S],pe.na=[pe.na],pe.P=[pe.P],pe.Sa=[pe.Sa];e:{ot=h,he=y,me=S;var at=pe.gb;ze=pe.na,Te=pe.P,ct=pe.Sa,It=22,t(ot!=null),t(me!=null),Ne=he[0];var cn=me[0];for(t(ze!=null),t(ct!=null),ze[0]=null,Te[0]=null,ct[0]=0;;){if(he[0]=Ne,me[0]=cn,8>cn){he=7;break e}var hn=We(ot,Ne+4);if(4294967286<hn){he=3;break e}var $e=8+hn+1&-2;if(It+=$e,0<at&&It>at){he=3;break e}if(!n(ot,Ne,"VP8 ")||!n(ot,Ne,"VP8L")){he=0;break e}if(cn[0]<$e){he=7;break e}n(ot,Ne,"ALPH")||(ze[0]=ot,Te[0]=Ne+8,ct[0]=hn),Ne+=$e,cn-=$e}}if(S=S[0],pe.na=pe.na[0],pe.P=pe.P[0],pe.Sa=pe.Sa[0],he!=0)break}S=[S],pe.Ja=[pe.Ja],pe.xa=[pe.xa];e:if(at=h,he=y,me=S,ze=pe.gb[0],Te=pe.Ja,ct=pe.xa,ot=he[0],Ne=!n(at,ot,"VP8 "),It=!n(at,ot,"VP8L"),t(at!=null),t(me!=null),t(Te!=null),t(ct!=null),8>me[0])he=7;else{if(Ne||It){if(at=We(at,ot+4),12<=ze&&at>ze-12){he=3;break e}if(_e&&at>me[0]-8){he=7;break e}Te[0]=at,he[0]+=8,me[0]-=8,ct[0]=It}else ct[0]=5<=me[0]&&at[ot+0]==47&&!(at[ot+4]>>5),Te[0]=me[0];he=0}if(S=S[0],pe.Ja=pe.Ja[0],pe.xa=pe.xa[0],y=y[0],he!=0)break;if(4294967286<pe.Ja)return 3;if(W==null||ke||(W[0]=pe.xa?2:1),V=[V],He=[He],pe.xa){if(5>S){he=7;break}W=V,_e=He,ke=K,h==null||5>S?h=0:5<=S&&h[y+0]==47&&!(h[y+4]>>5)?(me=[0],at=[0],ze=[0],re(Te=new T,h,y,S),Ft(Te,me,at,ze)?(W!=null&&(W[0]=me[0]),_e!=null&&(_e[0]=at[0]),ke!=null&&(ke[0]=ze[0]),h=1):h=0):h=0}else{if(10>S){he=7;break}W=He,h==null||10>S||!_u(h,y+3,S-3)?h=0:(_e=h[y+0]|h[y+1]<<8|h[y+2]<<16,ke=16383&(h[y+7]<<8|h[y+6]),h=16383&(h[y+9]<<8|h[y+8]),1&_e||3<(_e>>1&7)||!(_e>>4&1)||_e>>5>=pe.Ja||!ke||!h?h=0:(V&&(V[0]=ke),W&&(W[0]=h),h=1))}if(!h||(V=V[0],He=He[0],Ee&&(ee[0]!=V||fe[0]!=He)))return 3;q!=null&&(q[0]=pe,q.offset=y-q.w,t(4294967286>y-q.w),t(q.offset==q.ha-S));break}return he==0||he==7&&Ee&&q==null?(K!=null&&(K[0]|=pe.na!=null&&0<pe.na.length),k!=null&&(k[0]=V),O!=null&&(O[0]=He),0):he}function Gn(h,y,S){var k=y.width,O=y.height,K=0,V=0,W=k,q=O;if(y.Da=h!=null&&0<h.Da,y.Da&&(W=h.cd,q=h.bd,K=h.v,V=h.j,11>S||(K&=-2,V&=-2),0>K||0>V||0>=W||0>=q||K+W>k||V+q>O))return 0;if(y.v=K,y.j=V,y.va=K+W,y.o=V+q,y.U=W,y.T=q,y.da=h!=null&&0<h.da,y.da){if(!Qt(W,q,S=[h.ib],K=[h.hb]))return 0;y.ib=S[0],y.hb=K[0]}return y.ob=h!=null&&h.ob,y.Kb=h==null||!h.Sd,y.da&&(y.ob=y.ib<3*k/4&&y.hb<3*O/4,y.Kb=0),1}function Bo(h){if(h==null)return 2;if(11>h.S){var y=h.f.RGBA;y.fb+=(h.height-1)*y.A,y.A=-y.A}else y=h.f.kb,h=h.height,y.O+=(h-1)*y.fa,y.fa=-y.fa,y.N+=(h-1>>1)*y.Ab,y.Ab=-y.Ab,y.W+=(h-1>>1)*y.Db,y.Db=-y.Db,y.F!=null&&(y.J+=(h-1)*y.lb,y.lb=-y.lb);return 0}function Ei(h,y,S,k){if(k==null||0>=h||0>=y)return 2;if(S!=null){if(S.Da){var O=S.cd,K=S.bd,V=-2&S.v,W=-2&S.j;if(0>V||0>W||0>=O||0>=K||V+O>h||W+K>y)return 2;h=O,y=K}if(S.da){if(!Qt(h,y,O=[S.ib],K=[S.hb]))return 2;h=O[0],y=K[0]}}k.width=h,k.height=y;e:{var q=k.width,ee=k.height;if(h=k.S,0>=q||0>=ee||!(h>=qu&&13>h))h=2;else{if(0>=k.Rd&&k.sd==null){V=K=O=y=0;var fe=(W=q*ep[h])*ee;if(11>h||(K=(ee+1)/2*(y=(q+1)/2),h==12&&(V=(O=q)*ee)),(ee=A(fe+2*K+V))==null){h=1;break e}k.sd=ee,11>h?((q=k.f.RGBA).eb=ee,q.fb=0,q.A=W,q.size=fe):((q=k.f.kb).y=ee,q.O=0,q.fa=W,q.Fd=fe,q.f=ee,q.N=0+fe,q.Ab=y,q.Cd=K,q.ea=ee,q.W=0+fe+K,q.Db=y,q.Ed=K,h==12&&(q.F=ee,q.J=0+fe+2*K),q.Tc=V,q.lb=O)}if(y=1,O=k.S,K=k.width,V=k.height,O>=qu&&13>O)if(11>O)h=k.f.RGBA,y&=(W=Math.abs(h.A))*(V-1)+K<=h.size,y&=W>=K*ep[O],y&=h.eb!=null;else{h=k.f.kb,W=(K+1)/2,fe=(V+1)/2,q=Math.abs(h.fa),ee=Math.abs(h.Ab);var Ee=Math.abs(h.Db),_e=Math.abs(h.lb),pe=_e*(V-1)+K;y&=q*(V-1)+K<=h.Fd,y&=ee*(fe-1)+W<=h.Cd,y=(y&=Ee*(fe-1)+W<=h.Ed)&q>=K&ee>=W&Ee>=W,y&=h.y!=null,y&=h.f!=null,y&=h.ea!=null,O==12&&(y&=_e>=K,y&=pe<=h.Tc,y&=h.F!=null)}else y=0;h=y?0:2}}return h!=0||S!=null&&S.fd&&(h=Bo(k)),h}var $n=64,un=[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],xo=24,bo=32,ca=8,Gr=[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];qe("Predictor0","PredictorAdd0"),G.Predictor0=function(){return 4278190080},G.Predictor1=function(h){return h},G.Predictor2=function(h,y,S){return y[S+0]},G.Predictor3=function(h,y,S){return y[S+1]},G.Predictor4=function(h,y,S){return y[S-1]}
vendor: 4,134 bytes, line 414
414,G.Predictor5=function(h,y,S){return tt(tt(h,y[S+1]),y[S+0])},G.Predictor6=function(h,y,S){return tt(h,y[S-1])},G.Predictor7=function(h,y,S){return tt(h,y[S+0])},G.Predictor8=function(h,y,S){return tt(y[S-1],y[S+0])},G.Predictor9=function(h,y,S){return tt(y[S+0],y[S+1])},G.Predictor10=function(h,y,S){return tt(tt(h,y[S-1]),tt(y[S+0],y[S+1]))},G.Predictor11=function(h,y,S){var k=y[S+0];return 0>=Ct(k>>24&255,h>>24&255,(y=y[S-1])>>24&255)+Ct(k>>16&255,h>>16&255,y>>16&255)+Ct(k>>8&255,h>>8&255,y>>8&255)+Ct(255&k,255&h,255&y)?k:h},G.Predictor12=function(h,y,S){var k=y[S+0];return(mt((h>>24&255)+(k>>24&255)-((y=y[S-1])>>24&255))<<24|mt((h>>16&255)+(k>>16&255)-(y>>16&255))<<16|mt((h>>8&255)+(k>>8&255)-(y>>8&255))<<8|mt((255&h)+(255&k)-(255&y)))>>>0},G.Predictor13=function(h,y,S){var k=y[S-1];return(kt((h=tt(h,y[S+0]))>>24&255,k>>24&255)<<24|kt(h>>16&255,k>>16&255)<<16|kt(h>>8&255,k>>8&255)<<8|kt(h>>0&255,k>>0&255))>>>0};var fa=G.PredictorAdd0;G.PredictorAdd1=Ce,qe("Predictor2","PredictorAdd2"),qe("Predictor3","PredictorAdd3"),qe("Predictor4","PredictorAdd4"),qe("Predictor5","PredictorAdd5"),qe("Predictor6","PredictorAdd6"),qe("Predictor7","PredictorAdd7"),qe("Predictor8","PredictorAdd8"),qe("Predictor9","PredictorAdd9"),qe("Predictor10","PredictorAdd10"),qe("Predictor11","PredictorAdd11"),qe("Predictor12","PredictorAdd12"),qe("Predictor13","PredictorAdd13");var ha=G.PredictorAdd2;ge("ColorIndexInverseTransform","MapARGB","32b",function(h){return h>>8&255},function(h){return h}),ge("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(h){return h},function(h){return h>>8&255});var Ll,Tn=G.ColorIndexInverseTransform,_i=G.MapARGB,pA=G.VP8LColorIndexInverseTransformAlpha,Wn=G.MapAlpha,$r=G.VP8LPredictorsAdd=[];$r.length=16,(G.VP8LPredictors=[]).length=16,(G.VP8LPredictorsAdd_C=[]).length=16,(G.VP8LPredictors_C=[]).length=16;var Ts,Wr,Cr,is,As,Ui,ui,ss,qn,Os,Tr,Vi,da,ci,pa,Co,Fo,gA,So,Eo,Rs,os,ga,Qi,ki,Bn,xn,Jn,Hn=A(511),as=A(2041),jl=A(225),Ds=A(767),Gu=0,$u=as,Wu=jl,Ii=Ds,Gi=Hn,qu=0,Ju=1,_o=2,Xu=3,Yu=4,ma=5,Kd=6,zf=7,Vf=8,Zu=9,wa=10,f0=[2,3,7],h0=[3,3,11],zd=[280,256,256,256,40],d0=[0,1,1,1,0],ec=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],p0=[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],g0=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],m0=8,Gf=[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],ya=[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],Nl=null,w0=[[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]],y0=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],Vd=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],v0=[[[[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,25
4145,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,255,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]]]],B0=[[[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,25
4145,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,1,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]]],x0=[[[[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: 6,231 bytes, line 414
4145,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]]]],b0=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Hs=[],mA=[],$i=[],C0=1,Gd=2,ls=[],Wi=[];Ie("UpsampleRgbLinePair",tn,3),Ie("UpsampleBgrLinePair",yn,3),Ie("UpsampleRgbaLinePair",Ki,4),Ie("UpsampleBgraLinePair",nr,4),Ie("UpsampleArgbLinePair",Pr,4),Ie("UpsampleRgba4444LinePair",Tt,2),Ie("UpsampleRgb565LinePair",vn,2);var F0=G.UpsampleRgbLinePair,$f=G.UpsampleBgrLinePair,Pl=G.UpsampleRgbaLinePair,$d=G.UpsampleBgraLinePair,Wd=G.UpsampleArgbLinePair,qd=G.UpsampleRgba4444LinePair,S0=G.UpsampleRgb565LinePair,tc=16,nc=1<<tc-1,Ms=-227,Wf=482,Jd=6,E0=(256<<Jd)-1,Xd=0,_0=A(256),U0=A(256),Q0=A(256),k0=A(256),I0=A(Wf-Ms),L0=A(Wf-Ms);lr("YuvToRgbRow",tn,3),lr("YuvToBgrRow",yn,3),lr("YuvToRgbaRow",Ki,4),lr("YuvToBgraRow",nr,4),lr("YuvToArgbRow",Pr,4),lr("YuvToRgba4444Row",Tt,2),lr("YuvToRgb565Row",vn,2);var Yd=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],rc=[0,2,8],Zd=[8,7,6,4,4,2,2,2,1,1,1,1],j0=1;this.WebPDecodeRGBA=function(h,y,S,k,O){var K=Ju,V=new la,W=new jr;V.ba=W,W.S=K,W.width=[W.width],W.height=[W.height];var q=W.width,ee=W.height,fe=new Kt;if(fe==null||h==null)var Ee=2;else t(fe!=null),Ee=vo(h,y,S,fe.width,fe.height,fe.Pd,fe.Qd,fe.format,null);if(Ee!=0?q=0:(q!=null&&(q[0]=fe.width[0]),ee!=null&&(ee[0]=fe.height[0]),q=1),q){W.width=W.width[0],W.height=W.height[0],k!=null&&(k[0]=W.width),O!=null&&(O[0]=W.height);e:{if(k=new es,(O=new Ul).data=h,O.w=y,O.ha=S,O.kd=1,y=[0],t(O!=null),((h=vo(O.data,O.w,O.ha,null,null,null,y,null,O))==0||h==7)&&y[0]&&(h=4),(y=h)==0){if(t(V!=null),k.data=O.data,k.w=O.w+O.offset,k.ha=O.ha-O.offset,k.put=br,k.ac=en,k.bc=Ai,k.ma=V,O.xa){if((h=Mi())==null){V=1;break e}if(function(_e,pe){var He=[0],ke=[0],he=[0];t:for(;;){if(_e==null)return 0;if(pe==null)return _e.a=2,0;if(_e.l=pe,_e.a=0,re(_e.m,pe.data,pe.w,pe.ha),!Ft(_e.m,He,ke,he)){_e.a=3;break t}if(_e.xb=Gd,pe.width=He[0],pe.height=ke[0],!TA(He[0],ke[0],1,_e,null))break t;return 1}return t(_e.a!=0),0}(h,k)){if(k=(y=Ei(k.width,k.height,V.Oa,V.ba))==0){t:{k=h;n:for(;;){if(k==null){k=0;break t}if(t(k.s.yc!=null),t(k.s.Ya!=null),t(0<k.s.Wb),t((S=k.l)!=null),t((O=S.ma)!=null),k.xb!=0){if(k.ca=O.ba,k.tb=O.tb,t(k.ca!=null),!Gn(O.Oa,S,Xu)){k.a=2;break n}if(!ZA(k,S.width)||S.da)break n;if((S.da||Et(k.ca.S))&&xe(),11>k.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),k.ca.f.kb.F!=null&&xe()),k.Pb&&0<k.s.ua&&k.s.vb.X==null&&!wt(k.s.vb,k.s.Wa.Xa)){k.a=1;break n}k.xb=0}if(!fA(k,k.V,k.Ba,k.c,k.i,S.o,si))break n;O.Dc=k.Ma,k=1;break t}t(k.a!=0),k=0}k=!k}k&&(y=h.a)}else y=h.a}else{if((h=new fo)==null){V=1;break e}if(h.Fa=O.na,h.P=O.P,h.qc=O.Sa,Uu(h,k)){if((y=Ei(k.width,k.height,V.Oa,V.ba))==0){if(h.Aa=0,S=V.Oa,t((O=h)!=null),S!=null){if(0<(q=0>(q=S.Md)?0:100<q?255:255*q/100)){for(ee=fe=0;4>ee;++ee)12>(Ee=O.pb[ee]).lc&&(Ee.ia=q*Zd[0>Ee.lc?0:Ee.lc]>>3),fe|=Ee.ia;fe&&(alert("todo:VP8InitRandom"),O.ia=1)}O.Ga=S.Id,100<O.Ga?O.Ga=100:0>O.Ga&&(O.Ga=0)}po(h,k)||(y=h.a)}}else y=h.a}y==0&&V.Oa!=null&&V.Oa.fd&&(y=Bo(V.ba))}V=y}K=V!=0?null:11>K?W.f.RGBA.eb:W.f.kb.y}else K=null;return K};var ep=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function u(G,te){for(var M="",j=0;j<4;j++)M+=String.fromCharCode(G[te++]);return M}function l(G,te){return(G[te+0]<<0|G[te+1]<<8|G[te+2]<<16)>>>0}function c(G,te){return(G[te+0]<<0|G[te+1]<<8|G[te+2]<<16|G[te+3]<<24)>>>0}new o;var p=[0],f=[0],x=[],b=new o,E=e,v=function(G,te){var M={},j=0,D=!1,X=0,J=0;if(M.frames=[],!function(L,ne,oe,ae){for(var ve=0;ve<ae;ve++)if(L[ne+ve]!=oe.charCodeAt(ve))return!0;return!1}(G,te,"RIFF",4)){for(c(G,te+=4),te+=8;te<G.length;){var Ae=u(G,te),le=c(G,te+=4);te+=4;var we=le+(1&le);switch(Ae){case"VP8 ":case"VP8L":M.frames[j]===void 0&&(M.frames[j]={}),(H=M.frames[j]).src_off=D?J:te-8,H.src_size=X+le+8,j++,D&&(D=!1,X=0,J=0);break;case"VP8X":(H=M.header={}).feature_flags=G[te];var re=te+4;H.canvas_width=1+l(G,re),re+=3,H.canvas_height=1+l(G,re),re+=3;break;case"ALPH":D=!0,X=we+8,J=te-8;break;case"ANIM":(H=M.header).bgcolor=c(G,te),re=te+4,H.loop_count=(Ue=G)[(T=re)+0]<<0|Ue[T+1]<<8,re+=2;break;case"ANMF":var ce,H;(H=M.frames[j]={}).offset_x=2*l(G,te),te+=3,H.offset_y=2*l(G,te),te+=3,H.width=1+l(G,te),te+=3,H.height=1+l(G,te),te+=3,H.duration=l(G,te),te+=3,ce=G[te++],H.dispose=1&ce,H.blend=ce>>1&1}Ae!="ANMF"&&(te+=we)}var Ue,T;return M}}(E,0);v.response=E,v.rgbaoutput=!0,v.dataurl=!1;var B=v.header?v.header:null,F=v.frames?v.frames:null;if(B){B.loop_counter=B.loop_count,p=[B.canvas_height],f=[B.canvas_width];for(var U=0;U<F.length&&F[U].blend!=0;U++);}var N=F[0],P=b.WebPDecodeRGBA(E,N.src_off,N.src_size,f,p);N.rgba=P,N.imgwidth=f[0],N.imgheight=p[0];for(var $=0;$<f[0]*p[0]*4;$++)x[$]=P[$];return this.width=f,this.height=p,this.data=x,this}(function(e){var t=function(){return typeof Gy=="function"},n=function(p,f,x,b){var E=4,v=s;switch(b){case e.image_compression.FAST:E=1,v=A;break;case e.image_compression.MEDIUM:E=6,v=a;break;case e.image_compression.SLOW:E=9,v=o}p=r(p,f,x,v);var B=Gy(p,{level:E});return e.__addimage__.arrayBufferToBinaryString(B)},r=function(p,f,x,b){for(var E,v,B,F=p.length/f,U=new Uint8Array(p.length+F),N=l(),P=0;P<F;P+=1){if(B=P*f,E=p.subarray(B,B+f),b)U.set(b(E,x,v),B+P);else{for(var $,G=N.length,te=[];$<G;$+=1)te[$]=N[$](E,x,v);var M=c(te.concat());U.set(te[M],B+P)}v=E}return U},i=function(p){var f=Array.apply([],p);return f.unshift(0),f},A=function(p,f){var x,b=[],E=p.length;b[0]=1;for(var v=0;v<E;v+=1)x=p[v-f]||0,b[v+1]=p[v]-x+256&255;return b},s=function(p,f,x){var b,E=[],v=p.length;E[0]=2;
vendor: 4,606 bytes, line 414
414for(var B=0;B<v;B+=1)b=x&&x[B]||0,E[B+1]=p[B]-b+256&255;return E},a=function(p,f,x){var b,E,v=[],B=p.length;v[0]=3;for(var F=0;F<B;F+=1)b=p[F-f]||0,E=x&&x[F]||0,v[F+1]=p[F]+256-(b+E>>>1)&255;return v},o=function(p,f,x){var b,E,v,B,F=[],U=p.length;F[0]=4;for(var N=0;N<U;N+=1)b=p[N-f]||0,E=x&&x[N]||0,v=x&&x[N-f]||0,B=u(b,E,v),F[N+1]=p[N]-B+256&255;return F},u=function(p,f,x){if(p===f&&f===x)return p;var b=Math.abs(f-x),E=Math.abs(p-x),v=Math.abs(p+f-x-x);return b<=E&&b<=v?p:E<=v?f:x},l=function(){return[i,A,s,a,o]},c=function(p){var f=p.map(function(x){return x.reduce(function(b,E){return b+Math.abs(E)},0)});return f.indexOf(Math.min.apply(null,f))};e.processPNG=function(p,f,x,b){var E,v,B,F,U,N,P,$,G,te,M,j,D,X,J,Ae=this.decode.FLATE_DECODE,le="";if(this.__addimage__.isArrayBuffer(p)&&(p=new Uint8Array(p)),this.__addimage__.isArrayBufferView(p)){if(p=(B=new F7(p)).imgData,v=B.bits,E=B.colorSpace,U=B.colors,[4,6].indexOf(B.colorType)!==-1){if(B.bits===8){G=($=B.pixelBitlength==32?new Uint32Array(B.decodePixels().buffer):B.pixelBitlength==16?new Uint16Array(B.decodePixels().buffer):new Uint8Array(B.decodePixels().buffer)).length,M=new Uint8Array(G*B.colors),te=new Uint8Array(G);var we,re=B.pixelBitlength-B.bits;for(X=0,J=0;X<G;X++){for(D=$[X],we=0;we<re;)M[J++]=D>>>we&255,we+=B.bits;te[X]=D>>>we&255}}if(B.bits===16){G=($=new Uint32Array(B.decodePixels().buffer)).length,M=new Uint8Array(G*(32/B.pixelBitlength)*B.colors),te=new Uint8Array(G*(32/B.pixelBitlength)),j=B.colors>1,X=0,J=0;for(var ce=0;X<G;)D=$[X++],M[J++]=D>>>0&255,j&&(M[J++]=D>>>16&255,D=$[X++],M[J++]=D>>>0&255),te[ce++]=D>>>16&255;v=8}b!==e.image_compression.NONE&&t()?(p=n(M,B.width*B.colors,B.colors,b),P=n(te,B.width,1,b)):(p=M,P=te,Ae=void 0)}if(B.colorType===3&&(E=this.color_spaces.INDEXED,N=B.palette,B.transparency.indexed)){var H=B.transparency.indexed,Ue=0;for(X=0,G=H.length;X<G;++X)Ue+=H[X];if((Ue/=255)===G-1&&H.indexOf(0)!==-1)F=[H.indexOf(0)];else if(Ue!==G){for($=B.decodePixels(),te=new Uint8Array($.length),X=0,G=$.length;X<G;X++)te[X]=H[$[X]];P=n(te,B.width,1)}}var T=function(L){var ne;switch(L){case e.image_compression.FAST:ne=11;break;case e.image_compression.MEDIUM:ne=13;break;case e.image_compression.SLOW:ne=14;break;default:ne=12}return ne}(b);return Ae===this.decode.FLATE_DECODE&&(le="/Predictor "+T+" "),le+="/Colors "+U+" /BitsPerComponent "+v+" /Columns "+B.width,(this.__addimage__.isArrayBuffer(p)||this.__addimage__.isArrayBufferView(p))&&(p=this.__addimage__.arrayBufferToBinaryString(p)),(P&&this.__addimage__.isArrayBuffer(P)||this.__addimage__.isArrayBufferView(P))&&(P=this.__addimage__.arrayBufferToBinaryString(P)),{alias:x,data:p,index:f,filter:Ae,decodeParameters:le,transparency:F,palette:N,sMask:P,predictor:T,width:B.width,height:B.height,bitsPerComponent:v,colorSpace:E}}}})(Pt.API),function(e){e.processGIF89A=function(t,n,r,i){var A=new S7(t),s=A.width,a=A.height,o=[];A.decodeAndBlitFrameRGBA(0,o);var u={data:o,width:s,height:a},l=new fw(100).encode(u,100);return e.processJPEG.call(this,l,n,r,i)},e.processGIF87A=e.processGIF89A}(Pt.API),hs.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 e=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(e);for(var t=0;t<e;t++){var n=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),A=this.datav.getUint8(this.pos++,!0);this.palette[t]={red:i,green:r,blue:n,quad:A}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},hs.prototype.parseBGR=function(){this.pos=this.offset;try{var e="bit"+this.bitPP,t=this.width*this.height*4;this.data=new Uint8Array(t),this[e]()}catch(n){_n.log("bit decode error:"+n)}},hs.prototype.bit1=function(){var e,t=Math.ceil(this.width/8),n=t%4;
vendor: 4,880 bytes, line 414
414for(e=this.height-1;e>=0;e--){for(var r=this.bottom_up?e:this.height-1-e,i=0;i<t;i++)for(var A=this.datav.getUint8(this.pos++,!0),s=r*this.width*4+8*i*4,a=0;a<8&&8*i+a<this.width;a++){var o=this.palette[A>>7-a&1];this.data[s+4*a]=o.blue,this.data[s+4*a+1]=o.green,this.data[s+4*a+2]=o.red,this.data[s+4*a+3]=255}n!==0&&(this.pos+=4-n)}},hs.prototype.bit4=function(){for(var e=Math.ceil(this.width/2),t=e%4,n=this.height-1;n>=0;n--){for(var r=this.bottom_up?n:this.height-1-n,i=0;i<e;i++){var A=this.datav.getUint8(this.pos++,!0),s=r*this.width*4+2*i*4,a=A>>4,o=15&A,u=this.palette[a];if(this.data[s]=u.blue,this.data[s+1]=u.green,this.data[s+2]=u.red,this.data[s+3]=255,2*i+1>=this.width)break;u=this.palette[o],this.data[s+4]=u.blue,this.data[s+4+1]=u.green,this.data[s+4+2]=u.red,this.data[s+4+3]=255}t!==0&&(this.pos+=4-t)}},hs.prototype.bit8=function(){for(var e=this.width%4,t=this.height-1;t>=0;t--){for(var n=this.bottom_up?t:this.height-1-t,r=0;r<this.width;r++){var i=this.datav.getUint8(this.pos++,!0),A=n*this.width*4+4*r;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}e!==0&&(this.pos+=4-e)}},hs.prototype.bit15=function(){for(var e=this.width%3,t=parseInt("11111",2),n=this.height-1;n>=0;n--){for(var r=this.bottom_up?n:this.height-1-n,i=0;i<this.width;i++){var A=this.datav.getUint16(this.pos,!0);this.pos+=2;var s=(A&t)/t*255|0,a=(A>>5&t)/t*255|0,o=(A>>10&t)/t*255|0,u=A>>15?255:0,l=r*this.width*4+4*i;this.data[l]=o,this.data[l+1]=a,this.data[l+2]=s,this.data[l+3]=u}this.pos+=e}},hs.prototype.bit16=function(){for(var e=this.width%3,t=parseInt("11111",2),n=parseInt("111111",2),r=this.height-1;r>=0;r--){for(var i=this.bottom_up?r:this.height-1-r,A=0;A<this.width;A++){var s=this.datav.getUint16(this.pos,!0);this.pos+=2;var a=(s&t)/t*255|0,o=(s>>5&n)/n*255|0,u=(s>>11)/t*255|0,l=i*this.width*4+4*A;this.data[l]=u,this.data[l+1]=o,this.data[l+2]=a,this.data[l+3]=255}this.pos+=e}},hs.prototype.bit24=function(){for(var e=this.height-1;e>=0;e--){for(var t=this.bottom_up?e:this.height-1-e,n=0;n<this.width;n++){var r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),A=this.datav.getUint8(this.pos++,!0),s=t*this.width*4+4*n;this.data[s]=A,this.data[s+1]=i,this.data[s+2]=r,this.data[s+3]=255}this.pos+=this.width%4}},hs.prototype.bit32=function(){for(var e=this.height-1;e>=0;e--)for(var t=this.bottom_up?e:this.height-1-e,n=0;n<this.width;n++){var r=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),a=t*this.width*4+4*n;this.data[a]=A,this.data[a+1]=i,this.data[a+2]=r,this.data[a+3]=s}},hs.prototype.getData=function(){return this.data},function(e){e.processBMP=function(t,n,r,i){var A=new hs(t,!1),s=A.width,a=A.height,o={data:A.getData(),width:s,height:a},u=new fw(100).encode(o,100);return e.processJPEG.call(this,u,n,r,i)}}(Pt.API),iC.prototype.getData=function(){return this.data},function(e){e.processWEBP=function(t,n,r,i){var A=new iC(t),s=A.width,a=A.height,o={data:A.getData(),width:s,height:a},u=new fw(100).encode(o,100);return e.processJPEG.call(this,u,n,r,i)}}(Pt.API),Pt.API.processRGBA=function(e,t,n){for(var r=e.data,i=r.length,A=new Uint8Array(i/4*3),s=new Uint8Array(i/4),a=0,o=0,u=0;u<i;u+=4){var l=r[u],c=r[u+1],p=r[u+2],f=r[u+3];A[a++]=l,A[a++]=c,A[a++]=p,s[o++]=f}var x=this.__addimage__.arrayBufferToBinaryString(A);return{alpha:this.__addimage__.arrayBufferToBinaryString(s),data:x,index:t,alias:n,colorSpace:"DeviceRGB",bitsPerComponent:8,width:e.width,height:e.height}},Pt.API.setLanguage=function(e){return this.internal.languageSettings===void 0&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),{af:"Afrikaans",sq:"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 (Canad
414a)","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"}[e]!==void 0&&(this.internal.languageSettings.languageCode=e,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},_c=Pt.API,hg=_c.getCharWidthsArray=function(e,t){var n,r,i=(t=t||{}).font||this.internal.getFont(),A=t.fontSize||this.internal.getFontSize(),s=t.charSpace||this.internal.getCharSpace(),a=t.widths?t.widths:i.metadata.Unicode.widths,o=a.fof?a.fof:1,u=t.kerning?t.kerning:i.metadata.Unicode.kerning,l=u.fof?u.fof:1,c=t.doKerning!==!1,p=0,f=e.length,x=0,b=a[0]||o,E=[];for(n=0;n<f;n++)r=e.charCodeAt(n),typeof i.metadata.widthOfString=="function"?E.push((i.metadata.widthOfGlyph(i.metadata.characterToGlyph(r))+s*(1e3/A)||0)/1e3):(p=c&&Cn(u[r])==="object"&&!isNaN(parseInt(u[r][x],10))?u[r][x]/l:0,E.push((a[r]||b)/o+p)),x=r;return E},eC=_c.getStringUnitWidth=function(e,t){var n=(t=t||{}).fontSize||this.internal.getFontSize(),r=t.font||this.internal.getFont(),i=t.charSpace||this.internal.getCharSpace();return _c.processArabic&&(e=_c.processArabic(e)),typeof r.metadata.widthOfString=="function"?r.metadata.widthOfString(e,n,i)/n:hg.apply(this,arguments).reduce(function(A,s){return A+s},0)},tC=function(e,t,n,r){for(var i=[],A=0,s=e.length,a=0;A!==s&&a+t[A]<n;)a+=t[A],A++;i.push(e.slice(0,A));var o=A;for(a=0;A!==s;)a+t[A]>r&&(i.push(e.slice(o,A)),a=0,o=A),a+=t[A],A++;return o!==A&&i.push(e.slice(o,A)),i},nC=function(e,t,n){n||(n={});var r,i,A,s,a,o,u,l=[],c=[l],p=n.textIndent||0,f=0,x=0,b=e.split(" "),E=hg.apply(this,[" ",n])[0];if(o=n.lineIndent===-1?b[0].length+2:n.lineIndent||0){var v=Array(o).join(" "),B=[];b.map(function(U){(U=U.split(/\s*\n/)).length>1?B=B.concat(U.map(function(N,P){return(P&&N.length?`
415`:"")+N})):B.push(U[0])}),b=B,o=eC.apply(this,[v,n])}for(A=0,s=b.length;A<s;A++){var F=0;if(r=b[A],o&&r[0]==`
416`&&(r=r.substr(1),F=1),p+f+(x=(i=hg.apply(this,[r,n])).reduce(function(U,N){return U+N},0))>t||F){if(x>t){for(a=tC.apply(this,[r,i,t-(p+f),t]),l.push(a.shift()),l=[a.pop()];a.length;)c.push([a.shift()]);x=i.slice(r.length-(l[0]?l[0].length:0)).reduce(function(U,N){return U+N},0)}else l=[r];c.push(l),p=x+o,f=E}else l.push(r),p+=f+x,f=E}return u=o?function(U,N){return(N?v:"")+U.join(" ")}:function(U){return U.join(" ")},c.map(u)},_c.splitTextToSize=function(e,t,n){var r,i=(n=n||{}).fontSize||this.internal.getFontSize(),A=(function(l){if(l.widths&&l.kerning)return{widths:l.widths,kerning:l.kerning};var c=this.internal.getFont(l.fontName,l.fontStyle);return c.metadata.Unicode?{widths:c.metadata.Unicode.widths||{0:1},kerning:c.metadata.Unicode.kerning||{}}:{font:c.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}).call(this,n);r=Array.isArray(e)?e:String(e).split(/\r?\n/);var s=1*this.internal.scaleFactor*t/i;A.textIndent=n.textIndent?1*n.textIndent*this.internal.scaleFactor/i:0,A.lineIndent=n.lineIndent;var a,o,u=[];for(a=0,o=r.length;a<o;a++)u=u.concat(nC.apply(this,[r[a],s,A]));return u},function(e){e.__fontmetrics__=e.__fontmetrics__||{};for(var t="klmnopqrstuvwxyz",n={},r={},i=0;i<t.length;i++)n[t[i]]="0123456789abcdef"[i],r["0123456789abcdef"[i]]=t[i];var A=function(c){return"0x"+parseInt(c,10).toString(16)},s=e.__fontmetrics__.compress=function(c){var p,f,x,b,E=["{"];for(var v in c){if(p=c[v],isNaN(parseInt(v,10))?f="'"+v+"'":(v=parseInt(v,10),f=(f=A(v).slice(2)).slice(0,-1)+r[f.slice(-1)]),typeof p=="number")p<0?(x=A(p).slice(3),b="-"):(x=A(p).slice(2),b=""),x=b+x.slice(0,-1)+r[x.slice(-1)];
vendor: 1,089 bytes, line 416
416else{if(Cn(p)!=="object")throw new Error("Don't know what to do with value type "+Cn(p)+".");x=s(p)}E.push(f+x)}return E.push("}"),E.join("")},a=e.__fontmetrics__.uncompress=function(c){if(typeof c!="string")throw new Error("Invalid argument passed to uncompress.");for(var p,f,x,b,E={},v=1,B=E,F=[],U="",N="",P=c.length-1,$=1;$<P;$+=1)(b=c[$])=="'"?p?(x=p.join(""),p=void 0):p=[]:p?p.push(b):b=="{"?(F.push([B,x]),B={},x=void 0):b=="}"?((f=F.pop())[0][f[1]]=B,x=void 0,B=f[0]):b=="-"?v=-1:x===void 0?n.hasOwnProperty(b)?(U+=n[b],x=parseInt(U,16)*v,v=1,U=""):U+=b:n.hasOwnProperty(b)?(N+=n[b],B[x]=parseInt(N,16)*v,v=1,x=void 0,N=""):N+=b;return E},o={codePages:["WinAnsiEncoding"],WinAnsiEncoding:a("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},u={Unicode:{Courier:o,"Courier-Bold":o,"Courier-BoldOblique":o,"Courier-Oblique":o,Helvetica:o,"Helvetica-Bold":o,"Helvetica-BoldOblique":o,"Helvetica-Oblique":o,"Times-Roman":o,"Times-Bold":o,"Times-BoldItalic":o,"Times-Italic":o
vendor: 14,697 bytes, line 416
416}},l={Unicode:{"Courier-Oblique":a("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":a("{'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":a("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'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:a("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":a("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":a("{'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:a("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:a("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'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":a("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'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:a("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":a("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":a("{'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}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":a("{'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":a("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'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}}}")}};
vendor: 56,032 bytes, lines 416-462
416e.events.push(["addFont",function(c){var p=c.font,f=l.Unicode[p.postScriptName];f&&(p.metadata.Unicode={},p.metadata.Unicode.widths=f.widths,p.metadata.Unicode.kerning=f.kerning);var x=u.Unicode[p.postScriptName];x&&(p.metadata.Unicode.encoding=x,p.encoding=x.codePages[0])}])}(Pt.API),function(e){var t=function(n){for(var r=n.length,i=new Uint8Array(r),A=0;A<r;A++)i[A]=n.charCodeAt(A);return i};e.API.events.push(["addFont",function(n){var r=void 0,i=n.font,A=n.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(r=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,a){a=/^\x00\x01\x00\x00/.test(a)?t(a):t(qh(a)),s.metadata=e.API.TTFFont.open(a),s.metadata.Unicode=s.metadata.Unicode||{encoding:{},kerning:{},widths:[]},s.metadata.glyIdsUsed=[0]})(i,r)}}])}(Pt),function(e){function t(){return(Ot.canvg?Promise.resolve(Ot.canvg):Jo(()=>import("./index.es-BddaeRSP.js"),[])).catch(function(n){return Promise.reject(new Error("Could not load canvg: "+n))}).then(function(n){return n.default?n.default:n})}Pt.API.addSvgAsImage=function(n,r,i,A,s,a,o,u){if(isNaN(r)||isNaN(i))throw _n.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(A)||isNaN(s))throw _n.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var l=document.createElement("canvas");l.width=A,l.height=s;var c=l.getContext("2d");c.fillStyle="#fff",c.fillRect(0,0,l.width,l.height);var p={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},f=this;return t().then(function(x){return x.fromString(c,n,p)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(x){return x.render(p)}).then(function(){f.addImage(l.toDataURL("image/jpeg",1),r,i,A,s,o,u)})}}(),Pt.API.putTotalPages=function(e){var t,n=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(t=new RegExp(e,"g"),n=this.internal.getNumberOfPages()):(t=new RegExp(this.pdfEscape16(e,this.internal.getFont()),"g"),n=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var r=1;r<=this.internal.getNumberOfPages();r++)for(var i=0;i<this.internal.pages[r].length;i++)this.internal.pages[r][i]=this.internal.pages[r][i].replace(t,n);return this},Pt.API.viewerPreferences=function(e,t){var n;e=e||{},t=t||!1;var r,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}},a=Object.keys(s),o=[],u=0,l=0,c=0;function p(x,b){var E,v=!1;for(E=0;E<x.length;E+=1)x[E]===b&&(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),n=this.internal.viewerpreferences.configuration,e==="reset"||t===!0){var f=a.length;for(c=0;c<f;c+=1)n[a[c]].value=n[a[c]].defaultValue,n[a[c]].explicitSet=!1}if(Cn(e)==="object"){for(i in e)if(A=e[i],p(a,i)&&A!==void 0){if(n[i].type==="boolean"&&typeof A=="boolean")n[i].value=A;else if(n[i].type==="name"&&p(n[i].valueSet,A))n[i].value=A;else if(n[i].type==="integer"&&Number.isInteger(A))n[i].value=A;else if(n[i].type==="array"){for(u=0;u<A.length;u+=1)if(r=!0,A[u].length===1&&typeof A[u][0]=="number")o.push(String(A[u]-1));else if(A[u].length>1){for(l=0;l<A[u].length;l+=1)typeof A[u][l]!="number"&&(r=!1);r===!0&&o.push([A[u][0]-1,A[u][1]-1].join(" "))}n[i].value="["+o.join(" ")+"]"}else n[i].value=n[i].defaultValue;n[i].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var x,b=[];for(x in n)n[x].explicitSet===!0&&(n[x].type==="name"?b.push("/"+x+" /"+n[x].value):b.push("/"+x+" "+n[x].value));b.length!==0&&this.internal.write(`/ViewerPreferences
417<<
418`+b.join(`
419`)+`
420>>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=n,this},function(e){var t=function(){var r='<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(r)),s=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),a=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),o=unescape(encodeURIComponent("</x:xmpmeta>")),u=A.length+s.length+a.length+i.length+o.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+u+" >>"),this.internal.write("stream"),this.internal.write(i+A+s+a+o),this.internal.write("endstream"),this.internal.write("endobj")},n=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};e.addMetadata=function(r,i){return this.internal.__metadata__===void 0&&(this.internal.__metadata__={metadata:r,namespaceuri:i||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",n),this.internal.events.subscribe("postPutResources",t)),this}}(Pt.API),function(e){var t=e.API,n=t.pdfEscape16=function(A,s){for(var a,o=s.metadata.Unicode.widths,u=["","0","00","000","0000"],l=[""],c=0,p=A.length;c<p;++c){if(a=s.metadata.characterToGlyph(A.charCodeAt(c)),s.metadata.glyIdsUsed.push(a),s.metadata.toUnicode[a]=A.charCodeAt(c),o.indexOf(a)==-1&&(o.push(a),o.push([parseInt(s.metadata.widthOfGlyph(a),10)])),a=="0")return l.join("");a=a.toString(16),l.push(u[4-a.length],a)}return l.join("")},r=function(A){var s,a,o,u,l,c,p;for(l=`/CIDInit /ProcSet findresource begin
42112 dict begin
422begincmap
423/CIDSystemInfo <<
424  /Registry (Adobe)
425  /Ordering (UCS)
426  /Supplement 0
427>> def
428/CMapName /Adobe-Identity-UCS def
429/CMapType 2 def
4301 begincodespacerange
431<0000><ffff>
432endcodespacerange`,o=[],c=0,p=(a=Object.keys(A).sort(function(f,x){return f-x})).length;c<p;c++)s=a[c],o.length>=100&&(l+=`
433`+o.length+` beginbfchar
434`+o.join(`
435`)+`
436endbfchar`,o=[]),A[s]!==void 0&&A[s]!==null&&typeof A[s].toString=="function"&&(u=("0000"+A[s].toString(16)).slice(-4),s=("0000"+(+s).toString(16)).slice(-4),o.push("<"+s+"><"+u+">"));return o.length&&(l+=`
437`+o.length+` beginbfchar
438`+o.join(`
439`)+`
440endbfchar
441`),l+=`endcmap
442CMapName currentdict /CMap defineresource pop
443end
444end`};t.events.push(["putFont",function(A){(function(s){var a=s.font,o=s.out,u=s.newObject,l=s.putStream;if(a.metadata instanceof e.API.TTFFont&&a.encoding==="Identity-H"){for(var c=a.metadata.Unicode.widths,p=a.metadata.subset.encode(a.metadata.glyIdsUsed,1),f="",x=0;x<p.length;x++)f+=String.fromCharCode(p[x]);var b=u();l({data:f,addLength1:!0,objectId:b}),o("endobj");var E=u();l({data:r(a.metadata.toUnicode),addLength1:!0,objectId:E}),o("endobj");var v=u();o("<<"),o("/Type /FontDescriptor"),o("/FontName /"+jc(a.fontName)),o("/FontFile2 "+b+" 0 R"),o("/FontBBox "+e.API.PDFObject.convert(a.metadata.bbox)),o("/Flags "+a.metadata.flags),o("/StemV "+a.metadata.stemV),o("/ItalicAngle "+a.metadata.italicAngle),o("/Ascent "+a.metadata.ascender),o("/Descent "+a.metadata.decender),o("/CapHeight "+a.metadata.capHeight),o(">>"),o("endobj");var B=u();o("<<"),o("/Type /Font"),o("/BaseFont /"+jc(a.fontName)),o("/FontDescriptor "+v+" 0 R"),o("/W "+e.API.PDFObject.convert(c)),o("/CIDToGIDMap /Identity"),o("/DW 1000"),o("/Subtype /CIDFontType2"),o("/CIDSystemInfo"),o("<<"),o("/Supplement 0"),o("/Registry (Adobe)"),o("/Ordering ("+a.encoding+")"),o(">>"),o(">>"),o("endobj"),a.objectNumber=u(),o("<<"),o("/Type /Font"),o("/Subtype /Type0"),o("/ToUnicode "+E+" 0 R"),o("/BaseFont /"+jc(a.fontName)),o("/Encoding /"+a.encoding),o("/DescendantFonts ["+B+" 0 R]"),o(">>"),o("endobj"),a.isAlreadyPutted=!0}})(A)}]),t.events.push(["putFont",function(A){(function(s){var a=s.font,o=s.out,u=s.newObject,l=s.putStream;if(a.metadata instanceof e.API.TTFFont&&a.encoding==="WinAnsiEncoding"){for(var c=a.metadata.rawData,p="",f=0;f<c.length;f++)p+=String.fromCharCode(c[f]);var x=u();l({data:p,addLength1:!0,objectId:x}),o("endobj");var b=u();l({data:r(a.metadata.toUnicode),addLength1:!0,objectId:b}),o("endobj");var E=u();o("<<"),o("/Descent "+a.metadata.decender),o("/CapHeight "+a.metadata.capHeight),o("/StemV "+a.metadata.stemV),o("/Type /FontDescriptor"),o("/FontFile2 "+x+" 0 R"),o("/Flags 96"),o("/FontBBox "+e.API.PDFObject.convert(a.metadata.bbox)),o("/FontName /"+jc(a.fontName)),o("/ItalicAngle "+a.metadata.italicAngle),o("/Ascent "+a.metadata.ascender),o(">>"),o("endobj"),a.objectNumber=u();for(var v=0;v<a.metadata.hmtx.widths.length;v++)a.metadata.hmtx.widths[v]=parseInt(a.metadata.hmtx.widths[v]*(1e3/a.metadata.head.unitsPerEm));o("<</Subtype/TrueType/Type/Font/ToUnicode "+b+" 0 R/BaseFont/"+jc(a.fontName)+"/FontDescriptor "+E+" 0 R/Encoding/"+a.encoding+" /FirstChar 29 /LastChar 255 /Widths "+e.API.PDFObject.convert(a.metadata.hmtx.widths)+">>"),o("endobj"),a.isAlreadyPutted=!0}})(A)}]);var i=function(A){var s,a=A.text||"",o=A.x,u=A.y,l=A.options||{},c=A.mutex||{},p=c.pdfEscape,f=c.activeFontKey,x=c.fonts,b=f,E="",v=0,B="",F=x[b].encoding;if(x[b].encoding!=="Identity-H")return{text:a,x:o,y:u,options:l,mutex:c};for(B=a,b=f,Array.isArray(a)&&(B=a[0]),v=0;v<B.length;v+=1)x[b].metadata.hasOwnProperty("cmap")&&(s=x[b].metadata.cmap.unicode.codeMap[B[v].charCodeAt(0)]),s||B[v].charCodeAt(0)<256&&x[b].metadata.hasOwnProperty("Unicode")?E+=B[v]:E+="";var U="";return parseInt(b.slice(1))<14||F==="WinAnsiEncoding"?U=p(E,b).split("").map(function(N){return N.charCodeAt(0).toString(16)}).join(""):F==="Identity-H"&&(U=n(E,x[b])),c.isHex=!0,{text:U,x:o,y:u,options:l,mutex:c}};t.events.push(["postProcessText",function(A){var s=A.text||"",a=[],o={text:s,x:A.x,y:A.y,options:A.options,mutex:A.mutex};if(Array.isArray(s)){var u=0;for(u=0;u<s.length;u+=1)Array.isArray(s[u])&&s[u].length===3?a.push([i(Object.assign({},o,{text:s[u][0]})).text,s[u][1],s[u][2]]):a.push(i(Object.assign({},o,{text:s[u]})).text);A.text=a}else A.text=i(Object.assign({},o,{text:s})).text}])}(Pt),function(e){var t=function(){return this.internal.vFS===void 0&&(this.internal.vFS={}),!0};e.existsFileInVFS=function(n){return t.call(this),this.internal.vFS[n]!==void 0},e.addFileToVFS=function(n,r){return t.call(this),this.internal.vFS[n]=r,this},e.getFileFromVFS=function(n){return t.call(this),this.internal.vFS[n]!==void 0?this.internal.vFS[n]:null}}(Pt.API),function(e){e.__bidiEngine__=e.prototype.__bidiEngine__=function(r){var i,A,s,a,o,u,l,c=t,p=[[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]],f=[[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]],x={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},b={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},E=["(",")","(","<",">","<","[","]","[","{","}","{","«","»","«","‹","›","‹","⁅","⁆","⁅","⁽","⁾","⁽","₍","₎","₍","≤","≥","≤","〈","〉","〈","﹙","﹚","﹙","﹛","﹜","﹛","﹝","﹞","﹝","﹤","﹥","﹤"],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)$/),B=!1,F=0;this.__bidiEngine__={};var U=function(j){var D=j.charCodeAt(),X=D>>8,J=b[X];return J!==void 0?c[256*J+(255&D)]:X===252||X===253?"AL":v.test(X)?"L":X===8?"R":"N"},N=function(j){for(var D,X=0;X<j.length;X++){if((D=U(j.charAt(X)))==="L")return!1;if(D==="R")return!0}return!1},P=function(j,D,X,J){var Ae,le,we,re,ce=D[J];switch(ce){case"L":case"R":B=!1;break;case"N":case"AN":break;case"EN":B&&(ce="AN");break;case"AL":B=!0,ce="R";break;case"WS":ce="N";break;case"CS":J<1||J+1>=D.length||(Ae=X[J-1])!=="EN"&&Ae!=="AN"||(le=D[J+1])!=="EN"&&le!=="AN"?ce="N":B&&(le="AN"),ce=le===Ae?le:"N";break;case"ES":ce=(Ae=J>0?X[J-1]:"B")==="EN"&&J+1<D.length&&D[J+1]==="EN"?"EN":"N";break;case"ET":if(J>0&&X[J-1]==="EN"){ce="EN";break}if(B){ce="N";break}for(we=J+1,re=D.length;we<re&&D[we]==="ET";)we++;ce=we<re&&D[we]==="EN"?"EN":"N";break;case"NSM":if(s&&!a){for(re=D.length,we=J+1;we<re&&D[we]==="NSM";)we++;if(we<re){var H=j[J],Ue=H>=1425&&H<=2303||H===64286;if(Ae=D[we],Ue&&(Ae==="R"||Ae==="AL")){ce="R";break}}}ce=J<1||(Ae=D[J-1])==="B"?"N":X[J-1];break;case"B":B=!1,i=!0,ce=F;break;case"S":A=!0,ce="N";break;case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":B=!1;break;case"BN":ce="N"}return ce},$=function(j,D,X){var J=j.split("");return X&&G(J,X,{hiLevel:F}),J.reverse(),D&&D.reverse(),J.join("")},G=function(j,D,X){var J,Ae,le,we,re,ce=-1,H=j.length,Ue=0,T=[],L=F?f:p,ne=[];for(B=!1,i=!1,A=!1,Ae=0;Ae<H;Ae++)ne[Ae]=U(j[Ae]);for(le=0;le<H;le++){if(re=Ue,T[le]=P(j,ne,T,le),J=240&(Ue=L[re][x[T[le]]]),Ue&=15,D[le]=we=L[Ue][5],J>0)if(J===16){for(Ae=ce;Ae<le;Ae++)D[Ae]=1;ce=-1}else ce=-1;if(L[Ue][6])ce===-1&&(ce=le);else if(ce>-1){for(Ae=ce;Ae<le;Ae++)D[Ae]=we;ce=-1}ne[le]==="B"&&(D[le]=0),X.hiLevel|=we}A&&function(oe,ae,ve){for(var be=0;be<ve;be++)if(oe[be]==="S"){ae[be]=F;for(var Se=be-1;Se>=0&&oe[Se]==="WS";Se--)ae[Se]=F}}(ne,D,H)},te=function(j,D,X,J,Ae){if(!(Ae.hiLevel<j)){if(j===1&&F===1&&!i)return D.reverse(),void(X&&X.reverse());for(var le,we,re,ce,H=D.length,Ue=0;Ue<H;){if(J[Ue]>=j){for(re=Ue+1;re<H&&J[re]>=j;)re++;for(ce=Ue,we=re-1;ce<we;ce++,we--)le=D[ce],D[ce]=D[we],D[we]=le,X&&(le=X[ce],X[ce]=X[we],X[we]=le);Ue=re}Ue++}}},M=function(j,D,X){var J=j.split(""),Ae={hiLevel:F};return X||(X=[]),G(J,X,Ae),function(le,we,re){if(re.hiLevel!==0&&l)for(var ce,H=0;H<le.length;H++)we[H]===1&&(ce=E.indexOf(le[H]))>=0&&(le[H]=E[ce+1])}(J,X,Ae),te(2,J,D,X,Ae),te(1,J,D,X,Ae),J.join("")};return this.__bidiEngine__.doBidiReorder=function(j,D,X){if(function(Ae,le){if(le)for(var we=0;we<Ae.length;we++)le[we]=we;a===void 0&&(a=N(Ae)),u===void 0&&(u=N(Ae))}(j,D),s||!o||u)if(s&&o&&a^u)F=a?1:0,j=$(j,D,X);else if(!s&&o&&u)F=a?1:0,j=M(j,D,X),j=$(j,D);else if(!s||a||o||u){if(s&&!o&&a^u)j=$(j,D),a?(F=0,j=M(j,D,X)):(F=1,j=M(j,D,X),j=$(j,D));else if(s&&a&&!o&&u)F=1,j=M(j,D,X),j=$(j,D);else if(!s&&!o&&a^u){var J=l;a?(F=1,j=M(j,D,X),F=0,l=!1,j=M(j,D,X),l=J):(F=0,j=M(j,D,X),j=$(j,D),F=1,l=!1,j=M(j,D,X),l=J,j=$(j,D))}}else F=0,j=M(j,D,X);else F=a?1:0,j=M(j,D,X);return j},this.__bidiEngine__.setOptions=function(j){j&&(s=j.isInputVisual,o=j.isOutputVisual,a=j.isInputRtl,u=j.isOutputRtl,l=j.isSymmetricSwapping)},this.__bidiEngine__.setOptions(r),this.__bidiEngine__};var t=["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"],n=new e.__bidiEngine__({isInputVisual:!0});e.API.events.push(["postProcessText",function(r){var i=r.text;r.x,r.y;var A=r.options||{};r.mutex,A.lang;var s=[];if(A.isInputVisual=typeof A.isInputVisual!="boolean"||A.isInputVisual,n.setOptions(A),Object.prototype.toString.call(i)==="[object Array]"){var a=0;for(s=[],a=0;a<i.length;a+=1)Object.prototype.toString.call(i[a])==="[object Array]"?s.push([n.doBidiReorder(i[a][0]),i[a][1],i[a][2]]):s.push([n.doBidiReorder(i[a])]);r.text=s}else r.text=n.doBidiReorder(i);n.setOptions({isInputVisual:!0})}])}(Pt),Pt.API.TTFFont=function(){function e(t){var n;if(this.rawData=t,n=this.contents=new dl(t),this.contents.pos=4,n.readString(4)==="ttcf")throw new Error("TTCF not supported.");n.pos=0,this.parse(),this.subset=new H7(this),this.registerTTF()}return e.open=function(t){return new e(t)},e.prototype.parse=function(){return this.directory=new E7(this.contents),this.head=new U7(this),this.name=new j7(this),this.cmap=new V_(this),this.toUnicode={},this.hhea=new Q7(this),this.maxp=new N7(this),this.hmtx=new P7(this),this.post=new I7(this),this.os2=new k7(this),this.loca=new D7(this),this.glyf=new T7(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]},e.prototype.registerTTF=function(){var t,n,r,i,A;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=(function(){var s,a,o,u;for(u=[],s=0,a=(o=this.bbox).length;s<a;s++)t=o[s],u.push(Math.round(t*this.scaleFactor));return u}).call(this),this.stemV=0,this.post.exists?(r=255&(i=this.post.italic_angle),32768&(n=i>>16)&&(n=-(1+(65535^n))),this.italicAngle=+(n+"."+r)):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")},e.prototype.characterToGlyph=function(t){var n;return((n=this.cmap.unicode)!=null?n.codeMap[t]:void 0)||0},e.prototype.widthOfGlyph=function(t){var n;return n=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(t).advance*n},e.prototype.widthOfString=function(t,n,r){var i,A,s,a;for(s=0,A=0,a=(t=""+t).length;0<=a?A<a:A>a;A=0<=a?++A:--A)i=t.charCodeAt(A),s+=this.widthOfGlyph(this.characterToGlyph(i))+r*(1e3/n)||0;return s*(n/1e3)},e.prototype.lineHeight=function(t,n){var r;return n==null&&(n=!1),r=n?this.lineGap:0,(this.ascender+r-this.decender)/1e3*t},e}();var Es,dl=function(){function e(t){this.data=t??[],this.pos=0,this.length=this.data.length}return e.prototype.readByte=function(){return this.data[this.pos++]},e.prototype.writeByte=function(t){return this.data[this.pos++]=t},e.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},e.prototype.writeUInt32=function(t){return this.writeByte(t>>>24&255),this.writeByte(t>>16&255),this.writeByte(t>>8&255),this.writeByte(255&t)},e.prototype.readInt32=function(){var t;return(t=this.readUInt32())>=2147483648?t-4294967296:t},e.prototype.writeInt32=function(t){return t<0&&(t+=4294967296),this.writeUInt32(t)},e.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},e.prototype.writeUInt16=function(t){return this.writeByte(t>>8&255),this.writeByte(255&t)},e.prototype.readInt16=function(){var t;return(t=this.readUInt16())>=32768?t-65536:t},e.prototype.writeInt16=function(t){return t<0&&(t+=65536),this.writeUInt16(t)},e.prototype.readString=function(t){var n,r;for(r=[],n=0;0<=t?n<t:n>t;n=0<=t?++n:--n)r[n]=String.fromCharCode(this.readByte());return r.join("")},e.prototype.writeString=function(t){var n,r,i;for(i=[],n=0,r=t.length;0<=r?n<r:n>r;n=0<=r?++n:--n)i.push(this.writeByte(t.charCodeAt(n)));return i},e.prototype.readShort=function(){return this.readInt16()},e.prototype.writeShort=function(t){return this.writeInt16(t)},e.prototype.readLongLong=function(){var t,n,r,i,A,s,a,o;return t=this.readByte(),n=this.readByte(),r=this.readByte(),i=this.readByte(),A=this.readByte(),s=this.readByte(),a=this.readByte(),o=this.readByte(),128&t?-1*(72057594037927940*(255^t)+281474976710656*(255^n)+1099511627776*(255^r)+4294967296*(255^i)+16777216*(255^A)+65536*(255^s)+256*(255^a)+(255^o)+1):72057594037927940*t+281474976710656*n+1099511627776*r+4294967296*i+16777216*A+65536*s+256*a+o},e.prototype.writeLongLong=function(t){var n,r;return n=Math.floor(t/4294967296),r=4294967295&t,this.writeByte(n>>24&255),this.writeByte(n>>16&255),this.writeByte(n>>8&255),this.writeByte(255&n),this.writeByte(r>>24&255),this.writeByte(r>>16&255),this.writeByte(r>>8&255),this.writeByte(255&r)},e.prototype.readInt=function(){return this.readInt32()},e.prototype.writeInt=function(t){return this.writeInt32(t)},e.prototype.read=function(t){var n,r;for(n=[],r=0;0<=t?r<t:r>t;r=0<=t?++r:--r)n.push(this.readByte());return n},e.prototype.write=function(t){var n,r,i,A;for(A=[],r=0,i=t.length;r<i;r++)n=t[r],A.push(this.writeByte(n));return A},e}(),E7=function(){var e;function t(n){var r,i,A;for(this.scalarType=n.readInt(),this.tableCount=n.readShort(),this.searchRange=n.readShort(),this.entrySelector=n.readShort(),this.rangeShift=n.readShort(),this.tables={},i=0,A=this.tableCount;0<=A?i<A:i>A;i=0<=A?++i:--i)r={tag:n.readString(4),checksum:n.readInt(),offset:n.readInt(),length:n.readInt()},this.tables[r.tag]=r}return t.prototype.encode=function(n){var r,i,A,s,a,o,u,l,c,p,f,x,b;for(b in f=Object.keys(n).length,o=Math.log(2),c=16*Math.floor(Math.log(f)/o),s=Math.floor(c/o),l=16*f-c,(i=new dl).writeInt(this.scalarType),i.writeShort(f),i.writeShort(c),i.writeShort(s),i.writeShort(l),A=16*f,u=i.pos+A,a=null,x=[],n)for(p=n[b],i.writeString(b),i.writeInt(e(p)),i.writeInt(u),i.writeInt(p.length),x=x.concat(p),b==="head"&&(a=u),u+=p.length;u%4;)x.push(0),u++;return i.write(x),r=2981146554-e(i.data),i.pos=a+8,i.writeUInt32(r),i.data},e=function(n){var r,i,A,s;for(n=G_.call(n);n.length%4;)n.push(0);for(A=new dl(n),i=0,r=0,s=n.length;r<s;r=r+=4)i+=A.readUInt32();return 4294967295&i},t}(),_7={}.hasOwnProperty,lo=function(e,t){for(var n in t)_7.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e};Es=function(){function e(t){var n;this.file=t,n=this.file.directory.tables[this.tag],this.exists=!!n,n&&(this.offset=n.offset,this.length=n.length,this.parse(this.file.contents))}return e.prototype.parse=function(){},e.prototype.encode=function(){},e.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},e}();var U7=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return lo(t,Es),t.prototype.tag="head",t.prototype.parse=function(n){return n.pos=this.offset,this.version=n.readInt(),this.revision=n.readInt(),this.checkSumAdjustment=n.readInt(),this.magicNumber=n.readInt(),this.flags=n.readShort(),this.unitsPerEm=n.readShort(),this.created=n.readLongLong(),this.modified=n.readLongLong(),this.xMin=n.readShort(),this.yMin=n.readShort(),this.xMax=n.readShort(),this.yMax=n.readShort(),this.macStyle=n.readShort(),this.lowestRecPPEM=n.readShort(),this.fontDirectionHint=n.readShort(),this.indexToLocFormat=n.readShort(),this.glyphDataFormat=n.readShort()},t.prototype.encode=function(n){var r;return(r=new dl).writeInt(this.version),r.writeInt(this.revision),r.writeInt(this.checkSumAdjustment),r.writeInt(this.magicNumber),r.writeShort(this.flags),r.writeShort(this.unitsPerEm),r.writeLongLong(this.created),r.writeLongLong(this.modified),r.writeShort(this.xMin),r.writeShort(this.yMin),r.writeShort(this.xMax),r.writeShort(this.yMax),r.writeShort(this.macStyle),r.writeShort(this.lowestRecPPEM),r.writeShort(this.fontDirectionHint),r.writeShort(n),r.writeShort(this.glyphDataFormat),r.data},t}(),AC=function(){function e(t,n){var r,i,A,s,a,o,u,l,c,p,f,x,b,E,v,B,F;switch(this.platformID=t.readUInt16(),this.encodingID=t.readShort(),this.offset=n+t.readInt(),c=t.pos,t.pos=this.offset,this.format=t.readUInt16(),this.length=t.readUInt16(),this.language=t.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(o=0;o<256;++o)this.codeMap[o]=t.readByte();break;case 4:for(f=t.readUInt16(),p=f/2,t.pos+=6,A=function(){var U,N;for(N=[],o=U=0;0<=p?U<p:U>p;o=0<=p?++U:--U)N.push(t.readUInt16());return N}(),t.pos+=2,b=function(){var U,N;for(N=[],o=U=0;0<=p?U<p:U>p;o=0<=p?++U:--U)N.push(t.readUInt16());return N}(),u=function(){var U,N;for(N=[],o=U=0;0<=p?U<p:U>p;o=0<=p?++U:--U)N.push(t.readUInt16());return N}(),l=function(){var U,N;for(N=[],o=U=0;0<=p?U<p:U>p;o=0<=p?++U:--U)N.push(t.readUInt16());return N}(),i=(this.length-t.pos+this.offset)/2,a=function(){var U,N;for(N=[],o=U=0;0<=i?U<i:U>i;o=0<=i?++U:--U)N.push(t.readUInt16());return N}(),o=v=0,F=A.length;v<F;o=++v)for(E=A[o],r=B=x=b[o];x<=E?B<=E:B>=E;r=x<=E?++B:--B)l[o]===0?s=r+u[o]:(s=a[l[o]/2+(r-x)-(p-o)]||0)!==0&&(s+=u[o]),this.codeMap[r]=65535&s}t.pos=c}return e.encode=function(t,n){var r,i,A,s,a,o,u,l,c,p,f,x,b,E,v,B,F,U,N,P,$,G,te,M,j,D,X,J,Ae,le,we,re,ce,H,Ue,T,L,ne,oe,ae,ve,be,Se,Me,Ke,Ve;switch(J=new dl,s=Object.keys(t).sort(function(We,wt){return We-wt}),n){case"macroman":for(b=0,E=function(){var We=[];for(x=0;x<256;++x)We.push(0);return We}(),B={0:0},A={},Ae=0,ce=s.length;Ae<ce;Ae++)B[Se=t[i=s[Ae]]]==null&&(B[Se]=++b),A[i]={old:t[i],new:B[t[i]]},E[i]=B[t[i]];return J.writeUInt16(1),J.writeUInt16(0),J.writeUInt32(12),J.writeUInt16(0),J.writeUInt16(262),J.writeUInt16(0),J.write(E),{charMap:A,subtable:J.data,maxGlyphID:b+1};case"unicode":for(D=[],c=[],F=0,B={},r={},v=u=null,le=0,H=s.length;le<H;le++)B[N=t[i=s[le]]]==null&&(B[N]=++F),r[i]={old:N,new:B[N]},a=B[N]-i,v!=null&&a===u||(v&&c.push(v),D.push(i),u=a),v=i;for(v&&c.push(v),c.push(65535),D.push(65535),M=2*(te=D.length),G=2*Math.pow(Math.log(te)/Math.LN2,2),p=Math.log(G/2)/Math.LN2,$=2*te-G,o=[],P=[],f=[],x=we=0,Ue=D.length;we<Ue;x=++we){if(j=D[x],l=c[x],j===65535){o.push(0),P.push(0);break}if(j-(X=r[j].new)>=32768)for(o.push(0),P.push(2*(f.length+te-x)),i=re=j;j<=l?re<=l:re>=l;i=j<=l?++re:--re)f.push(r[i].new);else o.push(X-j),P.push(0)}for(J.writeUInt16(3),J.writeUInt16(1),J.writeUInt32(12),J.writeUInt16(4),J.writeUInt16(16+8*te+2*f.length),J.writeUInt16(0),J.writeUInt16(M),J.writeUInt16(G),J.writeUInt16(p),J.writeUInt16($),ve=0,T=c.length;ve<T;ve++)i=c[ve],J.writeUInt16(i);for(J.writeUInt16(0),be=0,L=D.length;be<L;be++)i=D[be],J.writeUInt16(i);for(Me=0,ne=o.length;Me<ne;Me++)a=o[Me],J.writeUInt16(a);for(Ke=0,oe=P.length;Ke<oe;Ke++)U=P[Ke],J.writeUInt16(U);for(Ve=0,ae=f.length;Ve<ae;Ve++)b=f[Ve],J.writeUInt16(b);return{charMap:r,subtable:J.data,maxGlyphID:F+1}}},e}(),V_=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return lo(t,Es),t.prototype.tag="cmap",t.prototype.parse=function(n){var r,i,A;for(n.pos=this.offset,this.version=n.readUInt16(),A=n.readUInt16(),this.tables=[],this.unicode=null,i=0;0<=A?i<A:i>A;i=0<=A?++i:--i)r=new AC(n,this.offset),this.tables.push(r),r.isUnicode&&this.unicode==null&&(this.unicode=r);return!0},t.encode=function(n,r){var i,A;return r==null&&(r="macroman"),i=AC.encode(n,r),(A=new dl).writeUInt16(0),A.writeUInt16(1),i.table=A.data.concat(i.subtable),i},t}(),Q7=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return lo(t,Es),t.prototype.tag="hhea",t.prototype.parse=function(n){return n.pos=this.offset,this.version=n.readInt(),this.ascender=n.readShort(),this.decender=n.readShort(),this.lineGap=n.readShort(),this.advanceWidthMax=n.readShort(),this.minLeftSideBearing=n.readShort(),this.minRightSideBearing=n.readShort(),this.xMaxExtent=n.readShort(),this.caretSlopeRise=n.readShort(),this.caretSlopeRun=n.readShort(),this.caretOffset=n.readShort(),n.pos+=8,this.metricDataFormat=n.readShort(),this.numberOfMetrics=n.readUInt16()},t}(),k7=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return lo(t,Es),t.prototype.tag="OS/2",t.prototype.parse=function(n){if(n.pos=this.offset,this.version=n.readUInt16(),this.averageCharWidth=n.readShort(),this.weightClass=n.readUInt16(),this.widthClass=n.readUInt16(),this.type=n.readShort(),this.ySubscriptXSize=n.readShort(),this.ySubscriptYSize=n.readShort(),this.ySubscriptXOffset=n.readShort(),this.ySubscriptYOffset=n.readShort(),this.ySuperscriptXSize=n.readShort(),this.ySuperscriptYSize=n.readShort(),this.ySuperscriptXOffset=n.readShort(),this.ySuperscriptYOffset=n.readShort(),this.yStrikeoutSize=n.readShort(),this.yStrikeoutPosition=n.readShort(),this.familyClass=n.readShort(),this.panose=function(){var r,i;for(i=[],r=0;r<10;++r)i.push(n.readByte());return i}(),this.charRange=function(){var r,i;for(i=[],r=0;r<4;++r)i.push(n.readInt());return i}(),this.vendorID=n.readString(4),this.selection=n.readShort(),this.firstCharIndex=n.readShort(),this.lastCharIndex=n.readShort(),this.version>0&&(this.ascent=n.readShort(),this.descent=n.readShort(),this.lineGap=n.readShort(),this.winAscent=n.readShort(),this.winDescent=n.readShort(),this.codePageRange=function(){var r,i;for(i=[],r=0;r<2;r=++r)i.push(n.readInt());return i}(),this.version>1))return this.xHeight=n.readShort(),this.capHeight=n.readShort(),this.defaultChar=n.readShort(),this.breakChar=n.readShort(),this.maxContext=n.readShort()},t}(),I7=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return lo(t,Es),t.prototype.tag="post",t.prototype.parse=function(n){var r,i,A;switch(n.pos=this.offset,this.format=n.readInt(),this.italicAngle=n.readInt(),this.underlinePosition=n.readShort(),this.underlineThickness=n.readShort(),this.isFixedPitch=n.readInt(),this.minMemType42=n.readInt(),this.maxMemType42=n.readInt(),this.minMemType1=n.readInt(),this.maxMemType1=n.readInt(),this.format){case 65536:break;case 131072:var s;for(i=n.readUInt16(),this.glyphNameIndex=[],s=0;0<=i?s<i:s>i;s=0<=i?++s:--s)this.glyphNameIndex.push(n.readUInt16());for(this.names=[],A=[];n.pos<this.offset+this.length;)r=n.readByte(),A.push(this.names.push(n.readString(r)));return A;case 151552:return i=n.readUInt16(),this.offsets=n.read(i);case 196608:break;case 262144:return this.map=(function(){var a,o,u;for(u=[],s=a=0,o=this.file.maxp.numGlyphs;0<=o?a<o:a>o;s=0<=o?++a:--a)u.push(n.readUInt32());return u}).call(this)}},t}(),L7=function(e,t){this.raw=e,this.length=e.length,this.platformID=t.platformID,this.encodingID=t.encodingID,this.languageID=t.languageID},j7=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return lo(t,Es),t.prototype.tag="name",t.prototype.parse=function(n){var r,i,A,s,a,o,u,l,c,p,f;for(n.pos=this.offset,n.readShort(),r=n.readShort(),o=n.readShort(),i=[],s=0;0<=r?s<r:s>r;s=0<=r?++s:--s)i.push({platformID:n.readShort(),encodingID:n.readShort(),languageID:n.readShort(),nameID:n.readShort(),length:n.readShort(),offset:this.offset+o+n.readShort()});for(u={},s=c=0,p=i.length;c<p;s=++c)A=i[s],n.pos=A.offset,l=n.readString(A.length),a=new L7(l,A),u[f=A.nameID]==null&&(u[f]=[]),u[A.nameID].push(a);this.strings=u,this.copyright=u[0],this.fontFamily=u[1],this.fontSubfamily=u[2],this.uniqueSubfamily=u[3],this.fontName=u[4],this.version=u[5];try{this.postscriptName=u[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch{this.postscriptName=u[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=u[7],this.manufacturer=u[8],this.designer=u[9],this.description=u[10],this.vendorUrl=u[11],this.designerUrl=u[12],this.license=u[13],this.licenseUrl=u[14],this.preferredFamily=u[15],this.preferredSubfamily=u[17],this.compatibleFull=u[18],this.sampleText=u[19]},t}(),N7=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return lo(t,Es),t.prototype.tag="maxp",t.prototype.parse=function(n){return n.pos=this.offset,this.version=n.readInt(),this.numGlyphs=n.readUInt16(),this.maxPoints=n.readUInt16(),this.maxContours=n.readUInt16(),this.maxCompositePoints=n.readUInt16(),this.maxComponentContours=n.readUInt16(),this.maxZones=n.readUInt16(),this.maxTwilightPoints=n.readUInt16(),this.maxStorage=n.readUInt16(),this.maxFunctionDefs=n.readUInt16(),this.maxInstructionDefs=n.readUInt16(),this.maxStackElements=n.readUInt16(),this.maxSizeOfInstructions=n.readUInt16(),this.maxComponentElements=n.readUInt16(),this.maxComponentDepth=n.readUInt16()},t}(),P7=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return lo(t,Es),t.prototype.tag="hmtx",t.prototype.parse=function(n){var r,i,A,s,a,o,u;for(n.pos=this.offset,this.metrics=[],r=0,o=this.file.hhea.numberOfMetrics;0<=o?r<o:r>o;r=0<=o?++r:--r)this.metrics.push({advance:n.readUInt16(),lsb:n.readInt16()});for(A=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var l,c;for(c=[],r=l=0;0<=A?l<A:l>A;r=0<=A?++l:--l)c.push(n.readInt16());return c}(),this.widths=(function(){var l,c,p,f;for(f=[],l=0,c=(p=this.metrics).length;l<c;l++)s=p[l],f.push(s.advance);return f}).call(this),i=this.widths[this.widths.length-1],u=[],r=a=0;0<=A?a<A:a>A;r=0<=A?++a:--a)u.push(this.widths.push(i));return u},t.prototype.forGlyph=function(n){return n in this.metrics?this.metrics[n]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[n-this.metrics.length]}},t}(),G_=[].slice,T7=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return lo(t,Es),t.prototype.tag="glyf",t.prototype.parse=function(){return this.cache={}},t.prototype.glyphFor=function(n){var r,i,A,s,a,o,u,l,c,p;return n in this.cache?this.cache[n]:(s=this.file.loca,r=this.file.contents,i=s.indexOf(n),(A=s.lengthOf(n))===0?this.cache[n]=null:(r.pos=this.offset+i,a=(o=new dl(r.read(A))).readShort(),l=o.readShort(),p=o.readShort(),u=o.readShort(),c=o.readShort(),this.cache[n]=a===-1?new R7(o,l,p,u,c):new O7(o,a,l,p,u,c),this.cache[n]))},t.prototype.encode=function(n,r,i){var A,s,a,o,u;for(a=[],s=[],o=0,u=r.length;o<u;o++)A=n[r[o]],s.push(a.length),A&&(a=a.concat(A.encode(i)));return s.push(a.length),{table:a,offsets:s}},t}(),O7=function(){function e(t,n,r,i,A,s){this.raw=t,this.numberOfContours=n,this.xMin=r,this.yMin=i,this.xMax=A,this.yMax=s,this.compound=!1}return e.prototype.encode=function(){return this.raw.data},e}(),R7=function(){function e(t,n,r,i,A){var s,a;for(this.raw=t,this.xMin=n,this.yMin=r,this.xMax=i,this.yMax=A,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],s=this.raw;a=s.readShort(),this.glyphOffsets.push(s.pos),this.glyphIDs.push(s.readUInt16()),32&a;)s.pos+=1&a?4:2,128&a?s.pos+=8:64&a?s.pos+=4:8&a&&(s.pos+=2)}return e.prototype.encode=function(){var t,n,r;for(n=new dl(G_.call(this.raw.data)),t=0,r=this.glyphIDs.length;t<r;++t)n.pos=this.glyphOffsets[t];return n.data},e}(),D7=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return lo(t,Es),t.prototype.tag="loca",t.prototype.parse=function(n){var r,i;return n.pos=this.offset,r=this.file.head.indexToLocFormat,this.offsets=r===0?(function(){var A,s;for(s=[],i=0,A=this.length;i<A;i+=2)s.push(2*n.readUInt16());return s}).call(this):(function(){var A,s;for(s=[],i=0,A=this.length;i<A;i+=4)s.push(n.readUInt32());return s}).call(this)},t.prototype.indexOf=function(n){return this.offsets[n]},t.prototype.lengthOf=function(n){return this.offsets[n+1]-this.offsets[n]},t.prototype.encode=function(n,r){for(var i=new Uint32Array(this.offsets.length),A=0,s=0,a=0;a<i.length;++a)if(i[a]=A,s<r.length&&r[s]==a){++s,i[a]=A;var o=this.offsets[a],u=this.offsets[a+1]-o;u>0&&(A+=u)}for(var l=new Array(4*i.length),c=0;c<i.length;++c)l[4*c+3]=255&i[c],l[4*c+2]=(65280&i[c])>>8,l[4*c+1]=(16711680&i[c])>>16,l[4*c]=(4278190080&i[c])>>24;return l},t}(),H7=function(){function e(t){this.font=t,this.subset={},this.unicodes={},this.next=33}return e.prototype.generateCmap=function(){var t,n,r,i,A;for(n in i=this.font.cmap.tables[0].codeMap,t={},A=this.subset)r=A[n],t[n]=i[r];return t},e.prototype.glyphsFor=function(t){var n,r,i,A,s,a,o;for(i={},s=0,a=t.length;s<a;s++)i[A=t[s]]=this.font.glyf.glyphFor(A);for(A in n=[],i)(r=i[A])!=null&&r.compound&&n.push.apply(n,r.glyphIDs);if(n.length>0)for(A in o=this.glyphsFor(n))r=o[A],i[A]=r;return i},e.prototype.encode=function(t,n){var r,i,A,s,a,o,u,l,c,p,f,x,b,E,v;for(i in r=V_.encode(this.generateCmap(),"unicode"),s=this.glyphsFor(t),f={0:0},v=r.charMap)f[(o=v[i]).old]=o.new;for(x in p=r.maxGlyphID,s)x in f||(f[x]=p++);return l=function(B){var F,U;for(F in U={},B)U[B[F]]=F;return U}(f),c=Object.keys(l).sort(function(B,F){return B-F}),b=function(){var B,F,U;for(U=[],B=0,F=c.length;B<F;B++)a=c[B],U.push(l[a]);return U}(),A=this.font.glyf.encode(s,b,f),u=this.font.loca.encode(A.offsets,b),E={cmap:this.font.cmap.raw(),glyf:A.table,loca:u,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(n)},this.font.os2.exists&&(E["OS/2"]=this.font.os2.raw()),this.font.directory.encode(E)},e}();Pt.API.PDFObject=function(){var e;function t(){}return e=function(n,r){return(Array(r+1).join("0")+n).slice(-r)},t.convert=function(n){var r,i,A,s;if(Array.isArray(n))return"["+function(){var a,o,u;for(u=[],a=0,o=n.length;a<o;a++)r=n[a],u.push(t.convert(r));return u}().join(" ")+"]";if(typeof n=="string")return"/"+n;if(n!=null&&n.isString)return"("+n+")";if(n instanceof Date)return"(D:"+e(n.getUTCFullYear(),4)+e(n.getUTCMonth(),2)+e(n.getUTCDate(),2)+e(n.getUTCHours(),2)+e(n.getUTCMinutes(),2)+e(n.getUTCSeconds(),2)+"Z)";if({}.toString.call(n)==="[object Object]"){for(i in A=["<<"],n)s=n[i],A.push("/"+i+" "+t.convert(s));return A.push(">>"),A.join(`
445`)}return""+n},t}();const M7=Object.freeze(Object.defineProperty({__proto__:null,AcroForm:y7,AcroFormAppearance:Bt,AcroFormButton:kr,AcroFormCheckBox:Yh,AcroFormChoiceField:lu,AcroFormComboBox:cu,AcroFormEditBox:Jh,AcroFormListBox:uu,AcroFormPasswordField:Zh,AcroFormPushButton:Xh,AcroFormRadioButton:fu,AcroFormTextField:ll,GState:Fd,ShadingPattern:Wa,TilingPattern:su,default:Pt,jsPDF:Pt},Symbol.toStringTag,{value:"Module"})),K7=oC(M7);var hw={exports:{}};/*!
446 * html2canvas 1.4.1 <https://html2canvas.hertzen.com>
447 * Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
448 * Released under MIT License
449 */var sC;function z7(){return sC||(sC=1,function(e,t){(function(n,r){e.exports=r()})(gr,function(){/*! *****************************************************************************
450		    Copyright (c) Microsoft Corporation.
451
452		    Permission to use, copy, modify, and/or distribute this software for any
453		    purpose with or without fee is hereby granted.
454
455		    THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
456		    REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
457		    AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
458		    INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
459		    LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
460		    OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
461		    PERFORMANCE OF THIS SOFTWARE.
462		    ***************************************************************************** */var n=function(g,d){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(w,m){w.__proto__=m}||function(w,m){for(var _ in m)Object.prototype.hasOwnProperty.call(m,_)&&(w[_]=m[_])},n(g,d)};function r(g,d){if(typeof d!="function"&&d!==null)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");n(g,d);function w(){this.constructor=g}g.prototype=d===null?Object.create(d):(w.prototype=d.prototype,new w)}var i=function(){return i=Object.assign||function(d){for(var w,m=1,_=arguments.length;m<_;m++){w=arguments[m];for(var I in w)Object.prototype.hasOwnProperty.call(w,I)&&(d[I]=w[I])}return d},i.apply(this,arguments)};function A(g,d,w,m){function _(I){return I instanceof w?I:new w(function(z){z(I)})}return new(w||(w=Promise))(function(I,z){function Z(ye){try{de(m.next(ye))}catch(Fe){z(Fe)}}function Y(ye){try{de(m.throw(ye))}catch(Fe){z(Fe)}}function de(ye){ye.done?I(ye.value):_(ye.value).then(Z,Y)}de((m=m.apply(g,[])).next())})}function s(g,d){var w={label:0,sent:function(){if(I[0]&1)throw I[1];return I[1]},trys:[],ops:[]},m,_,I,z;return z={next:Z(0),throw:Z(1),return:Z(2)},typeof Symbol=="function"&&(z[Symbol.iterator]=function(){return this}),z;function Z(de){return function(ye){return Y([de,ye])}}function Y(de){if(m)throw new TypeError("Generator is already executing.");for(;w;)try{if(m=1,_&&(I=de[0]&2?_.return:de[0]?_.throw||((I=_.return)&&I.call(_),0):_.next)&&!(I=I.call(_,de[1])).done)return I;switch(_=0,I&&(de=[de[0]&2,I.value]),de[0]){case 0:case 1:I=de;break;case 4:return w.label++,{value:de[1],done:!1};case 5:w.label++,_=de[1],de=[0];continue;case 7:de=w.ops.pop(),w.trys.pop();continue;default:if(I=w.trys,!(I=I.length>0&&I[I.length-1])&&(de[0]===6||de[0]===2)){w=0;continue}if(de[0]===3&&(!I||de[1]>I[0]&&de[1]<I[3])){w.label=de[1];break}if(de[0]===6&&w.label<I[1]){w.label=I[1],I=de;break}if(I&&w.label<I[2]){w.label=I[2],w.ops.push(de);break}I[2]&&w.ops.pop(),w.trys.pop();continue}de=d.call(g,w)}catch(ye){de=[6,ye],_=0}finally{m=I=0}if(de[0]&5)throw de[1];return{value:de[0]?de[1]:void 0,done:!0}}}function a(g,d,w){if(arguments.length===2)for(var m=0,_=d.length,I;m<_;m++)(I||!(m in d))&&(I||(I=Array.prototype.slice.call(d,0,m)),I[m]=d[m]);return g.concat(I||d)}for(var o=function(){function g(d,w,m,_){this.left=d,this.top=w,this.width=m,this.height=_}return g.prototype.add=function(d,w,m,_){return new g(this.left+d,this.top+w,this.width+m,this.height+_)},g.fromClientRect=function(d,w){return new g(w.left+d.windowBounds.left,w.top+d.windowBounds.top,w.width,w.height)},g.fromDOMRectList=function(d,w){var m=Array.from(w).find(function(_){return _.width!==0});return m?new g(m.left+d.windowBounds.left,m.top+d.windowBounds.top,m.width,m.height):g.EMPTY},g.EMPTY=new g(0,0,0,0),g}(),u=function(g,d){return o.fromClientRect(g,d.getBoundingClientRect())},l=function(g){var d=g.body,w=g.documentElement;if(!d||!w)throw new Error("Unable to get document size");var m=Math.max(Math.max(d.scrollWidth,w.scrollWidth),Math.max(d.offsetWidth,w.offsetWidth),Math.max(d.clientWidth,w.clientWidth)),_=Math.max(Math.max(d.scrollHeight,w.scrollHeight),Math.max(d.offsetHeight,w.offsetHeight),Math.max(d.clientHeight,w.clientHeight));return new o(0,0,m,_)},c=function(g){for(var d=[],w=0,m=g.length;w<m;){var _=g.charCodeAt(w++);if(_>=55296&&_<=56319&&w<m){var I=g.charCodeAt(w++);(I&64512)===56320?d.push(((_&1023)<<10)+(I&1023)+65536):(d.push(_),w--)}else d.push(_)}return d},p=function(){for(var g=[],d=0;d<arguments.length;d++)g[d]=arguments[d];if(String.fromCodePoint)return String.fromCodePoint.apply(String,g);var w=g.length;if(!w)return"";for(var m=[],_=-1,I="";++_<w;){var z=g[_];z<=65535?m.push(z):(z-=65536,m.push((z>>10)+55296,z%1024+56320)),(_+1===w||m.length>16384)&&(I+=String.fromCharCode.apply(String,m),m.length=0)}return I},f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",x=typeof Uint8Array>"u"?[]:new Uint8Array(256),b=0;b<f.length;b++)x[f.charCodeAt(b)]=b;for(var E="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",v=typeof Uint8Array>"u"?[]:new Uint8Array(256),B=0;B<E.length;B++)v[E.charCodeAt(B)]=B;for(var F=function(g){var d=g.length*.75,w=g.length,m,_=0,I,z,Z,Y;g[g.length-1]==="="&&(d--,g[g.length-2]==="="&&d--);var de=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(d):new Array(d),ye=Array.isArray(de)?de:new Uint8Array(de);for(m=0;m<w;m+=4)I=v[g.charCodeAt(m)],z=v[g.charCodeAt(m+1)],Z=v[g.charCodeAt(m+2)],Y=v[g.charCodeAt(m+3)],ye[_++]=I<<2|z>>4,ye[_++]=(z&15)<<4|Z>>2,ye[_++]=(Z&3)<<6|Y&63;return de},U=function(g){for(var d=g.length,w=[],m=0;m<d;m+=2)w.push(g[m+1]<<8|g[m]);return w},N=function(g){for(var d=g.length,w=[],m=0;m<d;m+=4)w.push(g[m+3]<<24|g[m+2]<<16|g[m+1]<<8|g[m]);return w},P=5,$=11,G=2,te=$-P,M=65536>>P,j=1<<P,D=j-1,X=1024>>P,J=M+X,Ae=J,le=32,we=Ae+le,re=65536>>$,ce=1<<te,H=ce-1,Ue=function(g,d,w){return g.slice?g.slice(d,w):new Uint16Array(Array.prototype.slice.call(g,d,w))},T=function(g,d,w){return g.slice?g.slice(d,w):new Uint32Array(Array.prototype.slice.call(g,d,w))},L=function(g,d){var w=F(g),m=Array.isArray(w)?N(w):new Uint32Array(w),_=Array.isArray(w)?U(w):new Uint16Array(w),I=24,z=Ue(_,I/2,m[4]/2),Z=m[5]===2?Ue(_,(I+m[4])/2):T(m,Math.ceil((I+m[4])/4));return new ne(m[0],m[1],m[2],m[3],z,Z)},ne=function(){function g(d,w,m,_,I,z){this.initialValue=d,this.errorValue=w,this.highStart=m,this.highValueIndex=_,this.index=I,this.data=z}return g.prototype.get=function(d){var w;if(d>=0){if(d<55296||d>56319&&d<=65535)return w=this.index[d>>P],w=(w<<G)+(d&D),this.data[w];if(d<=65535)return w=this.index[M+(d-55296>>P)],w=(w<<G)+(d&D),this.data[w];if(d<this.highStart)return w=we-re+(d>>$),w=this.index[w],w+=d>>P&H,w=this.index[w],w=(w<<G)+(d&D),this.data[w];if(d<=1114111)return this.data[this.highValueIndex]}return this.errorValue},g}(),oe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ae=typeof Uint8Array>"u"?[]:new Uint8Array(256),ve=0;ve<oe.length;ve++)ae[oe.charCodeAt(ve)]=ve;var be=
vendor: 52,891 bytes, line 462
462"KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",
vendor: 3,603 bytes, line 462
462Se=50,Me=1,Ke=2,Ve=3,We=4,wt=5,Qe=7,se=8,Qt=9,rt=10,Pe=11,qe=12,it=13,tt=14,mt=15,kt=16,Ct=17,Ce=18,je=19,Je=20,Ze=21,ge=22,Be=23,Re=24,De=25,gt=26,At=27,yt=28,mn=29,Et=30,ii=31,sn=32,jr=33,Kt=34,st=35,Ye=36,dt=37,Xt=38,en=39,br=40,Ai=41,Ft=42,uA=43,PA=[9001,65288],zr="!",_t="×",Pn="÷",Vr=L(be),si=[Et,Ye],cA=[Me,Ke,Ve,wt],Di=[rt,se],Hi=[At,gt],fA=cA.concat(Di),hA=[Xt,en,br,Kt,st],Mi=[mt,it],TA=function(g,d){d===void 0&&(d="strict");var w=[],m=[],_=[];return g.forEach(function(I,z){var Z=Vr.get(I);if(Z>Se?(_.push(!0),Z-=Se):_.push(!1),["normal","auto","loose"].indexOf(d)!==-1&&[8208,8211,12316,12448].indexOf(I)!==-1)return m.push(z),w.push(kt);if(Z===We||Z===Pe){if(z===0)return m.push(z),w.push(Et);var Y=w[z-1];return fA.indexOf(Y)===-1?(m.push(m[z-1]),w.push(Y)):(m.push(z),w.push(Et))}if(m.push(z),Z===ii)return w.push(d==="strict"?Ze:dt);if(Z===Ft||Z===mn)return w.push(Et);if(Z===uA)return I>=131072&&I<=196605||I>=196608&&I<=262141?w.push(dt):w.push(Et);w.push(Z)}),[m,w,_]},ZA=function(g,d,w,m){var _=m[w];if(Array.isArray(g)?g.indexOf(_)!==-1:g===_)for(var I=w;I<=m.length;){I++;var z=m[I];if(z===d)return!0;if(z!==rt)break}if(_===rt)for(var I=w;I>0;){I--;var Z=m[I];if(Array.isArray(g)?g.indexOf(Z)!==-1:g===Z)for(var Y=w;Y<=m.length;){Y++;var z=m[Y];if(z===d)return!0;if(z!==rt)break}if(Z!==rt)break}return!1},uo=function(g,d){for(var w=g;w>=0;){var m=d[w];if(m===rt)w--;else return m}return 0},ea=function(g,d,w,m,_){if(w[m]===0)return _t;var I=m-1;if(Array.isArray(_)&&_[I]===!0)return _t;var z=I-1,Z=I+1,Y=d[I],de=z>=0?d[z]:0,ye=d[Z];if(Y===Ke&&ye===Ve)return _t;if(cA.indexOf(Y)!==-1)return zr;if(cA.indexOf(ye)!==-1||Di.indexOf(ye)!==-1)return _t;if(uo(I,d)===se)return Pn;if(Vr.get(g[I])===Pe||(Y===sn||Y===jr)&&Vr.get(g[Z])===Pe||Y===Qe||ye===Qe||Y===Qt||[rt,it,mt].indexOf(Y)===-1&&ye===Qt||[Ct,Ce,je,Re,yt].indexOf(ye)!==-1||uo(I,d)===ge||ZA(Be,ge,I,d)||ZA([Ct,Ce],Ze,I,d)||ZA(qe,qe,I,d))return _t;if(Y===rt)return Pn;if(Y===Be||ye===Be)return _t;if(ye===kt||Y===kt)return Pn;if([it,mt,Ze].indexOf(ye)!==-1||Y===tt||de===Ye&&Mi.indexOf(Y)!==-1||Y===yt&&ye===Ye||ye===Je||si.indexOf(ye)!==-1&&Y===De||si.indexOf(Y)!==-1&&ye===De||Y===At&&[dt,sn,jr].indexOf(ye)!==-1||[dt,sn,jr].indexOf(Y)!==-1&&ye===gt||si.indexOf(Y)!==-1&&Hi.indexOf(ye)!==-1||Hi.indexOf(Y)!==-1&&si.indexOf(ye)!==-1||[At,gt].indexOf(Y)!==-1&&(ye===De||[ge,mt].indexOf(ye)!==-1&&d[Z+1]===De)||[ge,mt].indexOf(Y)!==-1&&ye===De||Y===De&&[De,yt,Re].indexOf(ye)!==-1)return _t;if([De,yt,Re,Ct,Ce].indexOf(ye)!==-1)for(var Fe=I;Fe>=0;){var Le=d[Fe];if(Le===De)return _t;if([yt,Re].indexOf(Le)!==-1)Fe--;else break}if([At,gt].indexOf(ye)!==-1)for(var Fe=[Ct,Ce].indexOf(Y)!==-1?z:I;Fe>=0;){var Le=d[Fe];if(Le===De)return _t;if([yt,Re].indexOf(Le)!==-1)Fe--;else break}if(Xt===Y&&[Xt,en,Kt,st].indexOf(ye)!==-1||[en,Kt].indexOf(Y)!==-1&&[en,br].indexOf(ye)!==-1||[br,st].indexOf(Y)!==-1&&ye===br||hA.indexOf(Y)!==-1&&[Je,gt].indexOf(ye)!==-1||hA.indexOf(ye)!==-1&&Y===At||si.indexOf(Y)!==-1&&si.indexOf(ye)!==-1||Y===Re&&si.indexOf(ye)!==-1||si.concat(De).indexOf(Y)!==-1&&ye===ge&&PA.indexOf(g[Z])===-1||si.concat(De).indexOf(ye)!==-1&&Y===Ce)return _t;if(Y===Ai&&ye===Ai){for(var pt=w[I],nt=1;pt>0&&(pt--,d[pt]===Ai);)nt++;if(nt%2!==0)return _t}return Y===sn&&ye===jr?_t:Pn},ta=function(g,d){d||(d={lineBreak:"normal",wordBreak:"normal"});var w=TA(g,d.lineBreak),m=w[0],_=w[1],I=w[2];(d.wordBreak==="break-all"||d.wordBreak==="break-word")&&(_=_.map(function(Z){return[De,Et,Ft].indexOf(Z)!==-1?dt:Z}));var z=d.wordBreak==="keep-all"?I.map(function(Z,Y){return Z&&g[Y]>=19968&&g[Y]<=40959}):void 0;return[m,_,z]}
vendor: 12,794 bytes, line 462
462,na=function(){function g(d,w,m,_){this.codePoints=d,this.required=w===zr,this.start=m,this.end=_}return g.prototype.slice=function(){return p.apply(void 0,this.codePoints.slice(this.start,this.end))},g}(),Su=function(g,d){var w=c(g),m=ta(w,d),_=m[0],I=m[1],z=m[2],Z=w.length,Y=0,de=0;return{next:function(){if(de>=Z)return{done:!0,value:null};for(var ye=_t;de<Z&&(ye=ea(w,I,_,++de,z))===_t;);if(ye!==_t||de===Z){var Fe=new na(w,ye,Y,de);return Y=de,{value:Fe,done:!1}}return{done:!0,value:null}}}},Qf=1,kf=2,OA=4,Fl=8,ra=10,ia=47,co=92,Eu=9,If=32,es=34,fo=61,Vn=35,_u=36,Uu=37,ho=39,_s=40,po=41,dA=95,or=45,oi=33,Sl=60,Qu=62,Lf=64,ku=91,jf=93,Iu=61,Nf=123,Us=63,Pf=125,Lu=124,Tf=126,ts=128,go=65533,Qs=42,RA=43,Nr=44,Of=58,ju=59,Nt=46,Rf=0,Df=8,DA=11,Nu=14,Pu=31,Aa=127,ai=-1,Tu=48,Ou=97,Ru=101,El=102,mo=117,ks=122,Du=65,Is=69,sa=70,oa=85,Hu=90,ar=function(g){return g>=Tu&&g<=57},Mu=function(g){return g>=55296&&g<=57343},ns=function(g){return ar(g)||g>=Du&&g<=sa||g>=Ou&&g<=El},HA=function(g){return g>=Ou&&g<=ks},rs=function(g){return g>=Du&&g<=Hu},Hf=function(g){return HA(g)||rs(g)},Ls=function(g){return g>=ts},li=function(g){return g===ra||g===Eu||g===If},js=function(g){return Hf(g)||Ls(g)||g===dA},Ns=function(g){return js(g)||ar(g)||g===or},Mf=function(g){return g>=Rf&&g<=Df||g===DA||g>=Nu&&g<=Pu||g===Aa},Si=function(g,d){return g!==co?!1:d!==ra},aa=function(g,d,w){return g===or?js(d)||Si(d,w):js(g)?!0:!!(g===co&&Si(g,d))},wo=function(g,d,w){return g===RA||g===or?ar(d)?!0:d===Nt&&ar(w):ar(g===Nt?d:g)},_l=function(g){var d=0,w=1;(g[d]===RA||g[d]===or)&&(g[d]===or&&(w=-1),d++);for(var m=[];ar(g[d]);)m.push(g[d++]);var _=m.length?parseInt(p.apply(void 0,m),10):0;g[d]===Nt&&d++;for(var I=[];ar(g[d]);)I.push(g[d++]);var z=I.length,Z=z?parseInt(p.apply(void 0,I),10):0;(g[d]===Is||g[d]===Ru)&&d++;var Y=1;(g[d]===RA||g[d]===or)&&(g[d]===or&&(Y=-1),d++);for(var de=[];ar(g[d]);)de.push(g[d++]);var ye=de.length?parseInt(p.apply(void 0,de),10):0;return w*(_+Z*Math.pow(10,-z))*Math.pow(10,Y*ye)},Ku={type:2},la={type:3},Ul={type:4},Ql={type:13},zu={type:8},Kf={type:21},ua={type:9},yo={type:10},kl={type:11},Ps={type:12},Il={type:14},C={type:23},R={type:1},ie={type:25},ue={type:24},xe={type:26},Ie={type:27},Ge={type:28},ut={type:29},St={type:31},Dt={type:32},Ht=function(){function g(){this._value=[]}return g.prototype.write=function(d){this._value=this._value.concat(c(d))},g.prototype.read=function(){for(var d=[],w=this.consumeToken();w!==Dt;)d.push(w),w=this.consumeToken();return d},g.prototype.consumeToken=function(){var d=this.consumeCodePoint();switch(d){case es:return this.consumeStringToken(es);case Vn:var w=this.peekCodePoint(0),m=this.peekCodePoint(1),_=this.peekCodePoint(2);if(Ns(w)||Si(m,_)){var I=aa(w,m,_)?kf:Qf,z=this.consumeName();return{type:5,value:z,flags:I}}break;case _u:if(this.peekCodePoint(0)===fo)return this.consumeCodePoint(),Ql;break;case ho:return this.consumeStringToken(ho);case _s:return Ku;case po:return la;case Qs:if(this.peekCodePoint(0)===fo)return this.consumeCodePoint(),Il;break;case RA:if(wo(d,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(d),this.consumeNumericToken();break;case Nr:return Ul;case or:var Z=d,Y=this.peekCodePoint(0),de=this.peekCodePoint(1);if(wo(Z,Y,de))return this.reconsumeCodePoint(d),this.consumeNumericToken();if(aa(Z,Y,de))return this.reconsumeCodePoint(d),this.consumeIdentLikeToken();if(Y===or&&de===Qu)return this.consumeCodePoint(),this.consumeCodePoint(),ue;break;case Nt:if(wo(d,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(d),this.consumeNumericToken();break;case ia:if(this.peekCodePoint(0)===Qs)for(this.consumeCodePoint();;){var ye=this.consumeCodePoint();if(ye===Qs&&(ye=this.consumeCodePoint(),ye===ia))return this.consumeToken();if(ye===ai)return this.consumeToken()}break;case Of:return xe;case ju:return Ie;case Sl:if(this.peekCodePoint(0)===oi&&this.peekCodePoint(1)===or&&this.peekCodePoint(2)===or)return this.consumeCodePoint(),this.consumeCodePoint(),ie;break;case Lf:var Fe=this.peekCodePoint(0),Le=this.peekCodePoint(1),pt=this.peekCodePoint(2);if(aa(Fe,Le,pt)){var z=this.consumeName();return{type:7,value:z}}break;case ku:return Ge;case co:if(Si(d,this.peekCodePoint(0)))return this.reconsumeCodePoint(d),this.consumeIdentLikeToken();break;case jf:return ut;case Iu:if(this.peekCodePoint(0)===fo)return this.consumeCodePoint(),zu;break;case Nf:return kl;case Pf:return Ps;case mo:case oa:var nt=this.peekCodePoint(0),lt=this.peekCodePoint(1);return nt===RA&&(ns(lt)||lt===Us)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(d),this.consumeIdentLikeToken();case Lu:if(this.peekCodePoint(0)===fo)return this.consumeCodePoint(),ua;if(this.peekCodePoint(0)===Lu)return this.consumeCodePoint(),Kf;break;case Tf:if(this.peekCodePoint(0)===fo)return this.consumeCodePoint(),yo;break;case ai:return Dt}return li(d)?(this.consumeWhiteSpace(),St):ar(d)?(this.reconsumeCodePoint(d),this.consumeNumericToken()):js(d)?(this.reconsumeCodePoint(d),this.consumeIdentLikeToken()):{type:6,value:p(d)}},g.prototype.consumeCodePoint=function(){var d=this._value.shift();return typeof d>"u"?-1:d},g.prototype.reconsumeCodePoint=function(d){this._value.unshift(d)},g.prototype.peekCodePoint=function(d){return d>=this._value.length?-1:this._value[d]},g.prototype.consumeUnicodeRangeToken=function(){for(var d=[],w=this.consumeCodePoint();ns(w)&&d.length<6;)d.push(w),w=this.consumeCodePoint();for(var m=!1;w===Us&&d.length<6;)d.push(w),w=this.consumeCodePoint(),m=!0;if(m){var _=parseInt(p.apply(void 0,d.map(function(Y){return Y===Us?Tu:Y})),16),I=parseInt(p.apply(void 0,d.map(function(Y){return Y===Us?sa:Y})),16);return{type:30,start:_,end:I}}var z=parseInt(p.apply(void 0,d),16);if(this.peekCodePoint(0)===or&&ns(this.peekCodePoint(1))){this.consumeCodePoint(),w=this.consumeCodePoint();for(var Z=[];ns(w)&&Z.length<6;)Z.push(w),w=this.consumeCodePoint();var I=parseInt(p.apply(void 0,Z),16);return{type:30,start:z,end:I}}else return{type:30,start:z,end:z}},g.prototype.consumeIdentLikeToken=function(){var d=this.consumeName();return d.toLowerCase()==="url"&&this.peekCodePoint(0)===_s?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===_s?(this.consumeCodePoint(),{type:19,value:d}):{type:20,value:d}},g.prototype.consumeUrlToken=function(){var d=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===ai)return{type:22,value:""};var w=this.peekCodePoint(0);if(w===ho||w===es){var m=this.consumeStringToken(this.consumeCodePoint());return m.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===ai||this.peekCodePoint(0)===po)?(this.consumeCodePoint(),{type:22,value:m.value}):(this.consumeBadUrlRemnants(),C)}for(;;){var _=this.consumeCodePoint();if(_===ai||_===po)return{type:22,value:p.apply(void 0,d)};if(li(_))return this.consumeWhiteSpace(),this.peekCodePoint(0)===ai||this.peekCodePoint(0)===po?(this.consumeCodePoint(),{type:22,value:p.apply(void 0,d)}):(this.consumeBadUrlRemnants(),C);if(_===es||_===ho||_===_s||Mf(_))return this.consumeBadUrlRemnants(),C;if(_===co)if(Si(_,this.peekCodePoint(0)))d.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),C;else d.push(_)}},g.prototype.consumeWhiteSpace=function(){for(;li(this.peekCodePoint(0));)this.consumeCodePoint()},g.prototype.consumeBadUrlRemnants=function(){for(;;){var d=this.consumeCodePoint();if(d===po||d===ai)return;Si(d,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},g.prototype.consumeStringSlice=function(d){for(var w=5e4,m="";d>0;){var _=Math.min(w,d);m+=p.apply(void 0,this._value.splice(0,_)),d-=_}return this._value.shift(),m},g.prototype.consumeStringToken=function(d){var w="",m=0;do{var _=this._value[m];if(_===ai||_===void 0||_===d)return w+=this.consumeStringSlice(m),{type:0,value:w};if(_===ra)return this._value.splice(0,m),R;if(_===co){var I=this._value[m+1];I!==ai&&I!==void 0&&(I===ra?(w+=this.consumeStringSlice(m),m=-1,this._value.shift()):Si(_,I)&&(w+=this.consumeStringSlice(m),w+=p(this.consumeEscapedCodePoint()),m=-1))}m++}while(!0)},g.prototype.consumeNumber=function(){var d=[],w=OA,m=this.peekCodePoint(0);for((m===RA||m===or)&&d.push(this.consumeCodePoint());ar(this.peekCodePoint(0));)d.push(this.consumeCodePoint());m=this.peekCodePoint(0);var _=this.peekCodePoint(1);if(m===Nt&&ar(_))for(d.push(this.consumeCodePoint(),this.consumeCodePoint()),w=Fl;ar(this.peekCodePoint(0));)d.push(this.consumeCodePoint());m=this.peekCodePoint(0),_=this.peekCodePoint(1);var I=this.peekCodePoint(2);if((m===Is||m===Ru)&&((_===RA||_===or)&&ar(I)||ar(_)))for(d.push(this.consumeCodePoint(),this.consumeCodePoint()),w=Fl;ar(this.peekCodePoint(0));)d.push(this.consumeCodePoint());return[_l(d),w]},g.prototype.consumeNumericToken=function(){var d=this.consumeNumber(),w=d[0],m=d[1],_=this.peekCodePoint(0),I=this.peekCodePoint(1),z=this.peekCodePoint(2);if(aa(_,I,z)){var Z=this.consumeName();return{type:15,number:w,flags:m,unit:Z}}return _===Uu?(this.consumeCodePoint(),{type:16,number:w,flags:m}):{type:17,number:w,flags:m}},g.prototype.consumeEscapedCodePoint=function(){var d=this.consumeCodePoint();if(ns(d)){for(var w=p(d);ns(this.peekCodePoint(0))&&w.length<6;)w+=p(this.consumeCodePoint());li(this.peekCodePoint(0))&&this.consumeCodePoint();var m=parseInt(w,16);return m===0||Mu(m)||m>1114111?go:m}return d===ai?go:d},g.prototype.consumeName=function(){for(var d="";;){var w=this.consumeCodePoint();if(Ns(w))d+=p(w);else if(Si(w,this.peekCodePoint(0)))d+=p(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(w),d}},g}(),tn=function(){function g(d){this._tokens=d}return g.create=function(d){var w=new Ht;return w.write(d),new g(w.read())},g.parseValue=function(d){return g.create(d).parseComponentValue()},g.parseValues=function(d){return g.create(d).parseComponentValues()},g.prototype.parseComponentValue=function(){for(var d=this.consumeToken();d.type===31;)d=this.consumeToken();if(d.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(d);var w=this.consumeComponentValue();do d=this.consumeToken();while(d.type===31);if(d.type===32)return w;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},g.prototype.parseComponentValues=function(){for(var d=[];;){var w=this.consumeComponentValue();if(w.type===32)return d;d.push(w),d.push()}},g.prototype.consumeComponentValue=function(){var d=this.consumeToken();switch(d.type){case 11:case 28:case 2:return this.consumeSimpleBlock(d.type);case 19:return this.consumeFunction(d)}return d},g.prototype.consumeSimpleBlock=function(d){for(var w={type:d,values:[]},m=this.consumeToken();;){if(m.type===32||Vu(m,d))return w;this.reconsumeToken(m),w.values.push(this.consumeComponentValue()),m=this.consumeToken()}},g.prototype.consumeFunction=function(d){for(var w={name:d.value,values:[],type:18};;){var m=this.consumeToken();if(m.type===32||m.type===3)return w;this.reconsumeToken(m),w.values.push(this.consumeComponentValue())}},g.prototype.consumeToken=function(){var d=this._tokens.shift();return typeof d>"u"?Dt:d},g.prototype.reconsumeToken=function(d){this._tokens.unshift(d)},g}(),yn=function(g){return g.type===15},vn=function(g){return g.type===17},Tt=function(g){return g.type===20},Pr=function(g){return g.type===0},nr=function(g,d){return Tt(g)&&g.value===d},Ki=function(g){return g.type!==31},wr=function(g){return g.type!==31&&g.type!==4},lr=function(g){var d=[],w=[];return g.forEach(function(m){if(m.type===4){if(w.length===0)throw new Error("Error parsing function args, zero tokens for arg");d.push(w),w=[];return}m.type!==31&&w.push(m)}),w.length&&d.push(w),d},Vu=function(g,d){return d===11&&g.type===12||d===28&&g.type===29?!0:d===2&&g.type===3},zi=function(g){return g.type===17||g.type===15},Qn=function(g){return g.type===16||zi(g)},vo=function(g){return g.length>1?[g[0],g[1]]:[g[0]]},Gn={type:17,number:0,flags:OA},Bo={type:16,number:50,flags:OA},Ei={type:16,number:100,flags:OA},$n=function(g,d,w){var m=g[0],_=g[1];return[un(m,d),un(typeof _<"u"?_:m,w)]},un=function(g,d){if(g.type===16)return g.number/100*d;if(yn(g))switch(g.unit){case"rem":case"em":return 16*g.number;case"px":default:return g.number}return g.number},xo="deg",bo="grad",ca="rad",Gr="turn",fa={name:"angle",parse:function(g,d){if(d.type===15)switch(d.unit){case xo:return Math.PI*d.number/180;case bo:return Math.PI/200*d.number;case ca:return d.number;case Gr:return Math.PI*2*d.number}throw new Error("Unsupported angle type")}},ha=function(g){return g.type===15&&(g.unit===xo||g.unit===bo||g.unit===ca||g.unit===Gr)},Ll=function(g){var d=g.filter(Tt).map(function(w){return w.value}).join(" ");switch(d){case"to bottom right":case"to right bottom":case"left top":case"top left"
vendor: 19,520 bytes, line 462
462:return[Gn,Gn];case"to top":case"bottom":return Tn(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Gn,Ei];case"to right":case"left":return Tn(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Ei,Ei];case"to bottom":case"top":return Tn(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Ei,Gn];case"to left":case"right":return Tn(270)}return 0},Tn=function(g){return Math.PI*g/180},_i={name:"color",parse:function(g,d){if(d.type===18){var w=As[d.name];if(typeof w>"u")throw new Error('Attempting to parse an unsupported color function "'+d.name+'"');return w(g,d.values)}if(d.type===5){if(d.value.length===3){var m=d.value.substring(0,1),_=d.value.substring(1,2),I=d.value.substring(2,3);return $r(parseInt(m+m,16),parseInt(_+_,16),parseInt(I+I,16),1)}if(d.value.length===4){var m=d.value.substring(0,1),_=d.value.substring(1,2),I=d.value.substring(2,3),z=d.value.substring(3,4);return $r(parseInt(m+m,16),parseInt(_+_,16),parseInt(I+I,16),parseInt(z+z,16)/255)}if(d.value.length===6){var m=d.value.substring(0,2),_=d.value.substring(2,4),I=d.value.substring(4,6);return $r(parseInt(m,16),parseInt(_,16),parseInt(I,16),1)}if(d.value.length===8){var m=d.value.substring(0,2),_=d.value.substring(2,4),I=d.value.substring(4,6),z=d.value.substring(6,8);return $r(parseInt(m,16),parseInt(_,16),parseInt(I,16),parseInt(z,16)/255)}}if(d.type===20){var Z=ui[d.value.toUpperCase()];if(typeof Z<"u")return Z}return ui.TRANSPARENT}},pA=function(g){return(255&g)===0},Wn=function(g){var d=255&g,w=255&g>>8,m=255&g>>16,_=255&g>>24;return d<255?"rgba("+_+","+m+","+w+","+d/255+")":"rgb("+_+","+m+","+w+")"},$r=function(g,d,w,m){return(g<<24|d<<16|w<<8|Math.round(m*255)<<0)>>>0},Ts=function(g,d){if(g.type===17)return g.number;if(g.type===16){var w=d===3?1:255;return d===3?g.number/100*w:Math.round(g.number/100*w)}return 0},Wr=function(g,d){var w=d.filter(wr);if(w.length===3){var m=w.map(Ts),_=m[0],I=m[1],z=m[2];return $r(_,I,z,1)}if(w.length===4){var Z=w.map(Ts),_=Z[0],I=Z[1],z=Z[2],Y=Z[3];return $r(_,I,z,Y)}return 0};function Cr(g,d,w){return w<0&&(w+=1),w>=1&&(w-=1),w<1/6?(d-g)*w*6+g:w<1/2?d:w<2/3?(d-g)*6*(2/3-w)+g:g}var is=function(g,d){var w=d.filter(wr),m=w[0],_=w[1],I=w[2],z=w[3],Z=(m.type===17?Tn(m.number):fa.parse(g,m))/(Math.PI*2),Y=Qn(_)?_.number/100:0,de=Qn(I)?I.number/100:0,ye=typeof z<"u"&&Qn(z)?un(z,1):1;if(Y===0)return $r(de*255,de*255,de*255,1);var Fe=de<=.5?de*(Y+1):de+Y-de*Y,Le=de*2-Fe,pt=Cr(Le,Fe,Z+1/3),nt=Cr(Le,Fe,Z),lt=Cr(Le,Fe,Z-1/3);return $r(pt*255,nt*255,lt*255,ye)},As={hsl:is,hsla:is,rgb:Wr,rgba:Wr},Ui=function(g,d){return _i.parse(g,tn.create(d).parseComponentValue())},ui={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},ss={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(g,d){return d.map(function(w){if(Tt(w))switch(w.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},qn={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Os=function(g,d){var w=_i.parse(g,d[0]),m=d[1];return m&&Qn(m)?{color:w,stop:m}:{color:w,stop:null}},Tr=function(g,d){var w=g[0],m=g[g.length-1];w.stop===null&&(w.stop=Gn),m.stop===null&&(m.stop=Ei);for(var _=[],I=0,z=0;z<g.length;z++){var Z=g[z].stop;if(Z!==null){var Y=un(Z,d);Y>I?_.push(Y):_.push(I),I=Y}else _.push(null)}for(var de=null,z=0;z<_.length;z++){var ye=_[z];if(ye===null)de===null&&(de=z);else if(de!==null){for(var Fe=z-de,Le=_[de-1],pt=(ye-Le)/(Fe+1),nt=1;nt<=Fe;nt++)_[de+nt-1]=pt*nt;de=null}}return g.map(function(lt,Wt){var bt=lt.color;return{color:bt,stop:Math.max(Math.min(1,_[Wt]/d),0)}})},Vi=function(g,d,w){var m=d/2,_=w/2,I=un(g[0],d)-m,z=_-un(g[1],w);return(Math.atan2(z,I)+Math.PI*2)%(Math.PI*2)},da=function(g,d,w){var m=typeof g=="number"?g:Vi(g,d,w),_=Math.abs(d*Math.sin(m))+Math.abs(w*Math.cos(m)),I=d/2,z=w/2,Z=_/2,Y=Math.sin(m-Math.PI/2)*Z,de=Math.cos(m-Math.PI/2)*Z;return[_,I-de,I+de,z-Y,z+Y]},ci=function(g,d){return Math.sqrt(g*g+d*d)},pa=function(g,d,w,m,_){var I=[[0,0],[0,d],[g,0],[g,d]];return I.reduce(function(z,Z){var Y=Z[0],de=Z[1],ye=ci(w-Y,m-de);return(_?ye<z.optimumDistance:ye>z.optimumDistance)?{optimumCorner:Z,optimumDistance:ye}:z},{optimumDistance:_?1/0:-1/0,optimumCorner:null}).optimumCorner},Co=function(g,d,w,m,_){var I=0,z=0;switch(g.size){case 0:g.shape===0?I=z=Math.min(Math.abs(d),Math.abs(d-m),Math.abs(w),Math.abs(w-_)):g.shape===1&&(I=Math.min(Math.abs(d),Math.abs(d-m)),z=Math.min(Math.abs(w),Math.abs(w-_)));break;case 2:if(g.shape===0)I=z=Math.min(ci(d,w),ci(d,w-_),ci(d-m,w),ci(d-m,w-_));else if(g.shape===1){var Z=Math.min(Math.abs(w),Math.abs(w-_))/Math.min(Math.abs(d),Math.abs(d-m)),Y=pa(m,_,d,w,!0),de=Y[0],ye=Y[1];I=ci(de-d,(ye-w)/Z),z=Z*I}break;case 1:g.shape===0?I=z=Math.max(Math.abs(d),Math.abs(d-m),Math.abs(w),Math.abs(w-_)):g.shape===1&&(I=Math.max(Math.abs(d),Math.abs(d-m)),z=Math.max(Math.abs(w),Math.abs(w-_)));break;case 3:if(g.shape===0)I=z=Math.max(ci(d,w),ci(d,w-_),ci(d-m,w),ci(d-m,w-_));else if(g.shape===1){var Z=Math.max(Math.abs(w),Math.abs(w-_))/Math.max(Math.abs(d),Math.abs(d-m)),Fe=pa(m,_,d,w,!1),de=Fe[0],ye=Fe[1];I=ci(de-d,(ye-w)/Z),z=Z*I}break}return Array.isArray(g.size)&&(I=un(g.size[0],m),z=g.size.length===2?un(g.size[1],_):I),[I,z]},Fo=function(g,d){var w=Tn(180),m=[];return lr(d).forEach(function(_,I){if(I===0){var z=_[0];if(z.type===20&&z.value==="to"){w=Ll(_);return}else if(ha(z)){w=fa.parse(g,z);return}}var Z=Os(g,_);m.push(Z)}),{angle:w,stops:m,type:1}},gA=function(g,d){var w=Tn(180),m=[];return lr(d).forEach(function(_,I){if(I===0){var z=_[0];if(z.type===20&&["top","left","right","bottom"].indexOf(z.value)!==-1){w=Ll(_);return}else if(ha(z)){w=(fa.parse(g,z)+Tn(270))%Tn(360);return}}var Z=Os(g,_);m.push(Z)}),{angle:w,stops:m,type:1}},So=function(g,d){var w=Tn(180),m=[],_=1,I=0,z=3,Z=[];return lr(d).forEach(function(Y,de){var ye=Y[0];if(de===0){if(Tt(ye)&&ye.value==="linear"){_=1;return}else if(Tt(ye)&&ye.value==="radial"){_=2;return}}if(ye.type===18){if(ye.name==="from"){var Fe=_i.parse(g,ye.values[0]);m.push({stop:Gn,color:Fe})}else if(ye.name==="to"){var Fe=_i.parse(g,ye.values[0]);m.push({stop:Ei,color:Fe})}else if(ye.name==="color-stop"){var Le=ye.values.filter(wr);if(Le.length===2){var Fe=_i.parse(g,Le[1]),pt=Le[0];vn(pt)&&m.push({stop:{type:16,number:pt.number*100,flags:pt.flags},color:Fe})}}}}),_===1?{angle:(w+Tn(180))%Tn(360),stops:m,type:_}:{size:z,shape:I,stops:m,position:Z,type:_}},Eo="closest-side",Rs="farthest-side",os="closest-corner",ga="farthest-corner",Qi="circle",ki="ellipse",Bn="cover",xn="contain",Jn=function(g,d){var w=0,m=3,_=[],I=[];return lr(d).forEach(function(z,Z){var Y=!0;if(Z===0){var de=!1;Y=z.reduce(function(Fe,Le){if(de)if(Tt(Le))switch(Le.value){case"center":return I.push(Bo),Fe;case"top":case"left":return I.push(Gn),Fe;case"right":case"bottom":return I.push(Ei),Fe}else(Qn(Le)||zi(Le))&&I.push(Le);else if(Tt(Le))switch(Le.value){case Qi:return w=0,!1;case ki:return w=1,!1;case"at":return de=!0,!1;case Eo:return m=0,!1;case Bn:case Rs:return m=1,!1;case xn:case os:return m=2,!1;case ga:return m=3,!1}else if(zi(Le)||Qn(Le))return Array.isArray(m)||(m=[]),m.push(Le),!1;return Fe},Y)}if(Y){var ye=Os(g,z);_.push(ye)}}),{size:m,shape:w,stops:_,position:I,type:2}},Hn=function(g,d){var w=0,m=3,_=[],I=[];return lr(d).forEach(function(z,Z){var Y=!0;if(Z===0?Y=z.reduce(function(ye,Fe){if(Tt(Fe))switch(Fe.value){case"center":return I.push(Bo),!1;case"top":case"left":return I.push(Gn),!1;case"right":case"bottom":return I.push(Ei),!1}else if(Qn(Fe)||zi(Fe))return I.push(Fe),!1;return ye},Y):Z===1&&(Y=z.reduce(function(ye,Fe){if(Tt(Fe))switch(Fe.value){case Qi:return w=0,!1;case ki:return w=1,!1;case xn:case Eo:return m=0,!1;case Rs:return m=1,!1;case os:return m=2,!1;case Bn:case ga:return m=3,!1}else if(zi(Fe)||Qn(Fe))return Array.isArray(m)||(m=[]),m.push(Fe),!1;return ye},Y)),Y){var de=Os(g,z);_.push(de)}}),{size:m,shape:w,stops:_,position:I,type:2}},as=function(g){return g.type===1},jl=function(g){return g.type===2},Ds={name:"image",parse:function(g,d){if(d.type===22){var w={url:d.value,type:0};return g.cache.addImage(d.value),w}if(d.type===18){var m=$u[d.name];if(typeof m>"u")throw new Error('Attempting to parse an unsupported image function "'+d.name+'"');return m(g,d.values)}throw new Error("Unsupported image type "+d.type)}};function Gu(g){return!(g.type===20&&g.value==="none")&&(g.type!==18||!!$u[g.name])}var $u={"linear-gradient":Fo,"-moz-linear-gradient":gA,"-ms-linear-gradient":gA,"-o-linear-gradient":gA,"-webkit-linear-gradient":gA,"radial-gradient":Jn,"-moz-radial-gradient":Hn,"-ms-radial-gradient":Hn,"-o-radial-gradient":Hn,"-webkit-radial-gradient":Hn,"-webkit-gradient":So},Wu={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(g,d){if(d.length===0)return[];var w=d[0];return w.type===20&&w.value==="none"?[]:d.filter(function(m){return wr(m)&&Gu(m)}).map(function(m){return Ds.parse(g,m)})}},Ii={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(g,d){return d.map(function(w){if(Tt(w))switch(w.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Gi={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(g,d){return lr(d).map(function(w){return w.filter(Qn)}).map(vo)}},qu={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(g,d){return lr(d).map(function(w){return w.filter(Tt).map(function(m){return m.value}).join(" ")}).map(Ju)}},Ju=function(g){switch(g){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}},_o;(function(g){g.AUTO="auto",g.CONTAIN="contain",g.COVER="cover"})(_o||(_o={}));var Xu={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(g,d){return lr(d).map(function(w){return w.filter(Yu)})}},Yu=function(g){return Tt(g)||Qn(g)},ma=function(g){return{name:"border-"+g+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},Kd=ma("top"),zf=ma("right"),Vf=ma("bottom"),Zu=ma("left"),wa=function(g){return{name:"border-radius-"+g,initialValue:"0 0",prefix:!1,type:1,parse:function(d,w){return vo(w.filter(Qn))}}},f0=wa("top-left"),h0=wa("top-right"),zd=wa("bottom-right"),d0=wa("bottom-left"),ec=function(g){return{name:"border-"+g+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(d,w){switch(w){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},p0=ec("top"),g0=ec("right"),m0=ec("bottom"),Gf=ec("left"),ya=function(g){return{name:"border-"+g+"-width",initialValue:"0",type:0,prefix:!1,parse:function(d,w){return yn(w)?w.number:0}}},Nl=ya("top"),w0=ya("right"),y0=ya("bottom"),Vd=ya("left"),v0={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},B0={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(g,d){switch(d){case"rtl":return 1;case"ltr":default:return 0}}},x0={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(g,d){return d.filter(Tt).reduce(function(w,m){return w|b0(m.value)},0)}},b0=function(g){switch(g){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},Hs={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(g,d){switch(d){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},mA={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(g,d){return d.type===20&&d.value==="normal"?0:d.type===17||d.type===15?d.number:0}},$i;(function(g){g.NORMAL="normal",g.STRICT="strict"})($i||($i={}));var C0={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(g,d){switch(d){case"strict":return $i.STRICT;case"normal":default:return $i.NORMAL}}},Gd={name:"line-height",initialValue:"normal",prefix:!1,type:4},ls=function(g,d){return Tt(g)&&g.value==="normal"?1.2*d:g.type===17?d*g.number:Qn(g)?un(g,d):d},Wi={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(g,d){return d.type===20&&d.value==="none"?null:Ds.parse(g,d)}},F0={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(g,d){switch(d){case"inside":return 0;case"outside":default:return 1}}},$f={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(g,d){switch(d){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;case"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}}},Pl=function(g){return{name:"margin-"+g,initialValue:"0",prefix:!1,type:4}},$d=Pl("top"),Wd=Pl("right"),qd=Pl("bottom"),S0=Pl("left"),tc={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(g,d){return d.filter(Tt).map(function(w){switch(w.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},nc={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(g,d){switch(d){case"break-word":return"break-word";case"normal":default:return"normal"}}},Ms=function(g){return{name:"padding-"+g,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Wf=Ms("top"),Jd=Ms("right"),E0=Ms("bottom"),Xd=Ms("left"),_0={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(g,d){switch(d){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},U0={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(g,d){switch(d){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Q0={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(g,d){return d.length===1&&nr(d[0],"none")?[]:lr(d).map(function(w){for(var m={color:ui.TRANSPARENT,offsetX:Gn,offsetY:Gn,blur:Gn},_=0,I=0;I<w.length;I++){var z=w[I];zi(z)?(_===0?m.offsetX=z:_===1?m.offsetY=z:m.blur=z,_++):m.color=_i.parse(g,z)}return m})}},k0={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(g,d){switch(d){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},I0={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(g,d){if(d.type===20&&d.value==="none")return null;
vendor: 10,526 bytes, line 462
462if(d.type===18){var w=rc[d.name];if(typeof w>"u")throw new Error('Attempting to parse an unsupported transform function "'+d.name+'"');return w(d.values)}return null}},L0=function(g){var d=g.filter(function(w){return w.type===17}).map(function(w){return w.number});return d.length===6?d:null},Yd=function(g){var d=g.filter(function(Y){return Y.type===17}).map(function(Y){return Y.number}),w=d[0],m=d[1];d[2],d[3];var _=d[4],I=d[5];d[6],d[7],d[8],d[9],d[10],d[11];var z=d[12],Z=d[13];return d[14],d[15],d.length===16?[w,m,_,I,z,Z]:null},rc={matrix:L0,matrix3d:Yd},Zd={type:16,number:50,flags:OA},j0=[Zd,Zd],ep={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(g,d){var w=d.filter(Qn);return w.length!==2?j0:[w[0],w[1]]}},h={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(g,d){switch(d){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}},y;(function(g){g.NORMAL="normal",g.BREAK_ALL="break-all",g.KEEP_ALL="keep-all"})(y||(y={}));for(var S={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(g,d){switch(d){case"break-all":return y.BREAK_ALL;case"keep-all":return y.KEEP_ALL;case"normal":default:return y.NORMAL}}},k={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(g,d){if(d.type===20)return{auto:!0,order:0};if(vn(d))return{auto:!1,order:d.number};throw new Error("Invalid z-index number parsed")}},O={name:"time",parse:function(g,d){if(d.type===15)switch(d.unit.toLowerCase()){case"s":return 1e3*d.number;case"ms":return d.number}throw new Error("Unsupported time type")}},K={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(g,d){return vn(d)?d.number:1}},V={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},W={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(g,d){return d.filter(Tt).map(function(w){switch(w.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(w){return w!==0})}},q={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(g,d){var w=[],m=[];return d.forEach(function(_){switch(_.type){case 20:case 0:w.push(_.value);break;case 17:w.push(_.number.toString());break;case 4:m.push(w.join(" ")),w.length=0;break}}),w.length&&m.push(w.join(" ")),m.map(function(_){return _.indexOf(" ")===-1?_:"'"+_+"'"})}},ee={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},fe={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(g,d){if(vn(d))return d.number;if(Tt(d))switch(d.value){case"bold":return 700;case"normal":default:return 400}return 400}},Ee={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(g,d){return d.filter(Tt).map(function(w){return w.value})}},_e={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(g,d){switch(d){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},pe=function(g,d){return(g&d)!==0},He={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(g,d){if(d.length===0)return[];var w=d[0];return w.type===20&&w.value==="none"?[]:d}},ke={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(g,d){if(d.length===0)return null;var w=d[0];if(w.type===20&&w.value==="none")return null;for(var m=[],_=d.filter(Ki),I=0;I<_.length;I++){var z=_[I],Z=_[I+1];if(z.type===20){var Y=Z&&vn(Z)?Z.number:1;m.push({counter:z.value,increment:Y})}}return m}},he={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(g,d){if(d.length===0)return[];for(var w=[],m=d.filter(Ki),_=0;_<m.length;_++){var I=m[_],z=m[_+1];if(Tt(I)&&I.value!=="none"){var Z=z&&vn(z)?z.number:0;w.push({counter:I.value,reset:Z})}}return w}},me={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(g,d){return d.filter(yn).map(function(w){return O.parse(g,w)})}},Ne={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(g,d){if(d.length===0)return null;var w=d[0];if(w.type===20&&w.value==="none")return null;var m=[],_=d.filter(Pr);if(_.length%2!==0)return null;for(var I=0;I<_.length;I+=2){var z=_[I].value,Z=_[I+1].value;m.push({open:z,close:Z})}return m}},ze=function(g,d,w){if(!g)return"";var m=g[Math.min(d,g.length-1)];return m?w?m.open:m.close:""},Te={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(g,d){return d.length===1&&nr(d[0],"none")?[]:lr(d).map(function(w){for(var m={color:255,offsetX:Gn,offsetY:Gn,blur:Gn,spread:Gn,inset:!1},_=0,I=0;I<w.length;I++){var z=w[I];nr(z,"inset")?m.inset=!0:zi(z)?(_===0?m.offsetX=z:_===1?m.offsetY=z:_===2?m.blur=z:m.spread=z,_++):m.color=_i.parse(g,z)}return m})}},ct={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(g,d){var w=[0,1,2],m=[];return d.filter(Tt).forEach(function(_){switch(_.value){case"stroke":m.push(1);break;case"fill":m.push(0);break;case"markers":m.push(2);break}}),w.forEach(function(_){m.indexOf(_)===-1&&m.push(_)}),m}},ot={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},It={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(g,d){return yn(d)?d.number:0}},at=function(){function g(d,w){var m,_;this.animationDuration=$e(d,me,w.animationDuration),this.backgroundClip=$e(d,ss,w.backgroundClip),this.backgroundColor=$e(d,qn,w.backgroundColor),this.backgroundImage=$e(d,Wu,w.backgroundImage),this.backgroundOrigin=$e(d,Ii,w.backgroundOrigin),this.backgroundPosition=$e(d,Gi,w.backgroundPosition),this.backgroundRepeat=$e(d,qu,w.backgroundRepeat),this.backgroundSize=$e(d,Xu,w.backgroundSize),this.borderTopColor=$e(d,Kd,w.borderTopColor),this.borderRightColor=$e(d,zf,w.borderRightColor),this.borderBottomColor=$e(d,Vf,w.borderBottomColor),this.borderLeftColor=$e(d,Zu,w.borderLeftColor),this.borderTopLeftRadius=$e(d,f0,w.borderTopLeftRadius),this.borderTopRightRadius=$e(d,h0,w.borderTopRightRadius),this.borderBottomRightRadius=$e(d,zd,w.borderBottomRightRadius),this.borderBottomLeftRadius=$e(d,d0,w.borderBottomLeftRadius),this.borderTopStyle=$e(d,p0,w.borderTopStyle),this.borderRightStyle=$e(d,g0,w.borderRightStyle),this.borderBottomStyle=$e(d,m0,w.borderBottomStyle),this.borderLeftStyle=$e(d,Gf,w.borderLeftStyle),this.borderTopWidth=$e(d,Nl,w.borderTopWidth),this.borderRightWidth=$e(d,w0,w.borderRightWidth),this.borderBottomWidth=$e(d,y0,w.borderBottomWidth),this.borderLeftWidth=$e(d,Vd,w.borderLeftWidth),this.boxShadow=$e(d,Te,w.boxShadow),this.color=$e(d,v0,w.color),this.direction=$e(d,B0,w.direction),this.display=$e(d,x0,w.display),this.float=$e(d,Hs,w.cssFloat),this.fontFamily=$e(d,q,w.fontFamily),this.fontSize=$e(d,ee,w.fontSize),this.fontStyle=$e(d,_e,w.fontStyle),this.fontVariant=$e(d,Ee,w.fontVariant),this.fontWeight=$e(d,fe,w.fontWeight),this.letterSpacing=$e(d,mA,w.letterSpacing),this.lineBreak=$e(d,C0,w.lineBreak),this.lineHeight=$e(d,Gd,w.lineHeight),this.listStyleImage=$e(d,Wi,w.listStyleImage),this.listStylePosition=$e(d,F0,w.listStylePosition),this.listStyleType=$e(d,$f,w.listStyleType),this.marginTop=$e(d,$d,w.marginTop),this.marginRight=$e(d,Wd,w.marginRight),this.marginBottom=$e(d,qd,w.marginBottom),this.marginLeft=$e(d,S0,w.marginLeft),this.opacity=$e(d,K,w.opacity);var I=$e(d,tc,w.overflow);this.overflowX=I[0],this.overflowY=I[I.length>1?1:0],this.overflowWrap=$e(d,nc,w.overflowWrap),this.paddingTop=$e(d,Wf,w.paddingTop),this.paddingRight=$e(d,Jd,w.paddingRight),this.paddingBottom=$e(d,E0,w.paddingBottom),this.paddingLeft=$e(d,Xd,w.paddingLeft),this.paintOrder=$e(d,ct,w.paintOrder),this.position=$e(d,U0,w.position),this.textAlign=$e(d,_0,w.textAlign),this.textDecorationColor=$e(d,V,(m=w.textDecorationColor)!==null&&m!==void 0?m:w.color),this.textDecorationLine=$e(d,W,(_=w.textDecorationLine)!==null&&_!==void 0?_:w.textDecoration),this.textShadow=$e(d,Q0,w.textShadow),this.textTransform=$e(d,k0,w.textTransform),this.transform=$e(d,I0,w.transform),this.transformOrigin=$e(d,ep,w.transformOrigin),this.visibility=$e(d,h,w.visibility),this.webkitTextStrokeColor=$e(d,ot,w.webkitTextStrokeColor),this.webkitTextStrokeWidth=$e(d,It,w.webkitTextStrokeWidth),this.wordBreak=$e(d,S,w.wordBreak),this.zIndex=$e(d,k,w.zIndex)}return g.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},g.prototype.isTransparent=function(){return pA(this.backgroundColor)},g.prototype.isTransformed=function(){return this.transform!==null},g.prototype.isPositioned=function(){return this.position!==0},g.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},g.prototype.isFloating=function(){return this.float!==0},g.prototype.isInlineLevel=function(){return pe(this.display,4)||pe(this.display,33554432)||pe(this.display,268435456)||pe(this.display,536870912)||pe(this.display,67108864)||pe(this.display,134217728)},g}(),cn=function(){function g(d,w){this.content=$e(d,He,w.content),this.quotes=$e(d,Ne,w.quotes)}return g}(),hn=function(){function g(d,w){this.counterIncrement=$e(d,ke,w.counterIncrement),this.counterReset=$e(d,he,w.counterReset)}return g}(),$e=function(g,d,w){var m=new Ht,_=w!==null&&typeof w<"u"?w.toString():d.initialValue;m.write(_);var I=new tn(m.read());switch(d.type){case 2:var z=I.parseComponentValue();return d.parse(g,Tt(z)?z.value:d.initialValue);case 0:return d.parse(g,I.parseComponentValue());case 1:return d.parse(g,I.parseComponentValues());case 4:return I.parseComponentValue();case 3:switch(d.format){case"angle":return fa.parse(g,I.parseComponentValue());case"color":return _i.parse(g,I.parseComponentValue());case"image":return Ds.parse(g,I.parseComponentValue());case"length":var Z=I.parseComponentValue();return zi(Z)?Z:Gn;case"length-percentage":var Y=I.parseComponentValue();return Qn(Y)?Y:Gn;case"time":return O.parse(g,I.parseComponentValue())}break}},Zt="data-html2canvas-debug",bn=function(g){var d=g.getAttribute(Zt);switch(d){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},dn=function(g,d){var w=bn(g);return w===1||d===w},Lt=function(){function g(d,w){if(this.context=d,this.textNodes=[],this.elements=[],this.flags=0,dn(w,3))debugger;this.styles=new at(d,window.getComputedStyle(w,null)),M0(w)&&(this.styles.animationDuration.some(function(m){return m>0})&&(w.style.animationDuration="0s"),this.styles.transform!==null&&(w.style.transform="none")),this.bounds=u(this.context,w),dn(w,4)&&(this.flags|=16)}return g}(),rr=
vendor: 26,159 bytes, line 462
462"AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",
462qr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
vendor: 15,539 bytes, line 462
462+/",kn=typeof Uint8Array>"u"?[]:new Uint8Array(256),Fr=0;Fr<qr.length;Fr++)kn[qr.charCodeAt(Fr)]=Fr;for(var gn=function(g){var d=g.length*.75,w=g.length,m,_=0,I,z,Z,Y;g[g.length-1]==="="&&(d--,g[g.length-2]==="="&&d--);var de=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(d):new Array(d),ye=Array.isArray(de)?de:new Uint8Array(de);for(m=0;m<w;m+=4)I=kn[g.charCodeAt(m)],z=kn[g.charCodeAt(m+1)],Z=kn[g.charCodeAt(m+2)],Y=kn[g.charCodeAt(m+3)],ye[_++]=I<<2|z>>4,ye[_++]=(z&15)<<4|Z>>2,ye[_++]=(Z&3)<<6|Y&63;return de},Li=function(g){for(var d=g.length,w=[],m=0;m<d;m+=2)w.push(g[m+1]<<8|g[m]);return w},ji=function(g){for(var d=g.length,w=[],m=0;m<d;m+=4)w.push(g[m+3]<<24|g[m+2]<<16|g[m+1]<<8|g[m]);return w},In=5,ur=11,Sr=2,qi=ur-In,wA=65536>>In,yr=1<<In,yA=yr-1,Uo=1024>>In,va=wA+Uo,Ks=va,Mn=32,qf=Ks+Mn,tp=65536>>ur,np=1<<qi,ic=np-1,Ba=function(g,d,w){return g.slice?g.slice(d,w):new Uint16Array(Array.prototype.slice.call(g,d,w))},Ac=function(g,d,w){return g.slice?g.slice(d,w):new Uint32Array(Array.prototype.slice.call(g,d,w))},vA=function(g,d){var w=gn(g),m=Array.isArray(w)?ji(w):new Uint32Array(w),_=Array.isArray(w)?Li(w):new Uint16Array(w),I=24,z=Ba(_,I/2,m[4]/2),Z=m[5]===2?Ba(_,(I+m[4])/2):Ac(m,Math.ceil((I+m[4])/4));return new xa(m[0],m[1],m[2],m[3],z,Z)},xa=function(){function g(d,w,m,_,I,z){this.initialValue=d,this.errorValue=w,this.highStart=m,this.highValueIndex=_,this.index=I,this.data=z}return g.prototype.get=function(d){var w;if(d>=0){if(d<55296||d>56319&&d<=65535)return w=this.index[d>>In],w=(w<<Sr)+(d&yA),this.data[w];if(d<=65535)return w=this.index[wA+(d-55296>>In)],w=(w<<Sr)+(d&yA),this.data[w];if(d<this.highStart)return w=qf-tp+(d>>ur),w=this.index[w],w+=d>>In&ic,w=this.index[w],w=(w<<Sr)+(d&yA),this.data[w];if(d<=1114111)return this.data[this.highValueIndex]}return this.errorValue},g}(),Qo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",rp=typeof Uint8Array>"u"?[]:new Uint8Array(256),ko=0;ko<Qo.length;ko++)rp[Qo.charCodeAt(ko)]=ko;var ip=1,ba=2,Tl=3,Ol=4,Ca=5,N0=7,Ap=8,Rl=9,MA=10,sp=11,op=12,ap=13,Jf=14,Fa=15,lp=function(g){for(var d=[],w=0,m=g.length;w<m;){var _=g.charCodeAt(w++);if(_>=55296&&_<=56319&&w<m){var I=g.charCodeAt(w++);(I&64512)===56320?d.push(((_&1023)<<10)+(I&1023)+65536):(d.push(_),w--)}else d.push(_)}return d},up=function(){for(var g=[],d=0;d<arguments.length;d++)g[d]=arguments[d];if(String.fromCodePoint)return String.fromCodePoint.apply(String,g);var w=g.length;if(!w)return"";for(var m=[],_=-1,I="";++_<w;){var z=g[_];z<=65535?m.push(z):(z-=65536,m.push((z>>10)+55296,z%1024+56320)),(_+1===w||m.length>16384)&&(I+=String.fromCharCode.apply(String,m),m.length=0)}return I},sc=vA(rr),fi="×",Io="÷",cp=function(g){return sc.get(g)},P0=function(g,d,w){var m=w-2,_=d[m],I=d[w-1],z=d[w];if(I===ba&&z===Tl)return fi;if(I===ba||I===Tl||I===Ol||z===ba||z===Tl||z===Ol)return Io;if(I===Ap&&[Ap,Rl,sp,op].indexOf(z)!==-1||(I===sp||I===Rl)&&(z===Rl||z===MA)||(I===op||I===MA)&&z===MA||z===ap||z===Ca||z===N0||I===ip)return fi;if(I===ap&&z===Jf){for(;_===Ca;)_=d[--m];if(_===Jf)return fi}if(I===Fa&&z===Fa){for(var Z=0;_===Fa;)Z++,_=d[--m];if(Z%2===0)return fi}return Io},oc=function(g){var d=lp(g),w=d.length,m=0,_=0,I=d.map(cp);return{next:function(){if(m>=w)return{done:!0,value:null};for(var z=fi;m<w&&(z=P0(d,I,++m))===fi;);if(z!==fi||m===w){var Z=up.apply(null,d.slice(_,m));return _=m,{value:Z,done:!1}}return{done:!0,value:null}}}},fp=function(g){for(var d=oc(g),w=[],m;!(m=d.next()).done;)m.value&&w.push(m.value.slice());return w},Xf=function(g){var d=123;if(g.createRange){var w=g.createRange();if(w.getBoundingClientRect){var m=g.createElement("boundtest");m.style.height=d+"px",m.style.display="block",g.body.appendChild(m),w.selectNode(m);var _=w.getBoundingClientRect(),I=Math.round(_.height);if(g.body.removeChild(m),I===d)return!0}}return!1},zs=function(g){var d=g.createElement("boundtest");d.style.width="50px",d.style.display="block",d.style.fontSize="12px",d.style.letterSpacing="0px",d.style.wordSpacing="0px",g.body.appendChild(d);var w=g.createRange();d.innerHTML=typeof"".repeat=="function"?"&#128104;".repeat(10):"";var m=d.firstChild,_=c(m.data).map(function(Y){return p(Y)}),I=0,z={},Z=_.every(function(Y,de){w.setStart(m,I),w.setEnd(m,I+Y.length);var ye=w.getBoundingClientRect();I+=Y.length;var Fe=ye.x>z.x||ye.y>z.y;return z=ye,de===0?!0:Fe});return g.body.removeChild(d),Z},hp=function(){return typeof new Image().crossOrigin<"u"},dp=function(){return typeof new XMLHttpRequest().responseType=="string"},T0=function(g){var d=new Image,w=g.createElement("canvas"),m=w.getContext("2d");if(!m)return!1;d.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{m.drawImage(d,0,0),w.toDataURL()}catch{return!1}return!0},Yf=function(g){return g[0]===0&&g[1]===255&&g[2]===0&&g[3]===255},Sa=function(g){var d=g.createElement("canvas"),w=100;d.width=w,d.height=w;var m=d.getContext("2d");if(!m)return Promise.reject(!1);m.fillStyle="rgb(0, 255, 0)",m.fillRect(0,0,w,w);var _=new Image,I=d.toDataURL();_.src=I;var z=Zf(w,w,0,0,_);return m.fillStyle="red",m.fillRect(0,0,w,w),eh(z).then(function(Z){m.drawImage(Z,0,0);var Y=m.getImageData(0,0,w,w).data;m.fillStyle="red",m.fillRect(0,0,w,w);var de=g.createElement("div");return de.style.backgroundImage="url("+I+")",de.style.height=w+"px",Yf(Y)?eh(Zf(w,w,0,0,de)):Promise.reject(!1)}).then(function(Z){return m.drawImage(Z,0,0),Yf(m.getImageData(0,0,w,w).data)}).catch(function(){return!1})},Zf=function(g,d,w,m,_){var I="http://www.w3.org/2000/svg",z=document.createElementNS(I,"svg"),Z=document.createElementNS(I,"foreignObject");return z.setAttributeNS(null,"width",g.toString()),z.setAttributeNS(null,"height",d.toString()),Z.setAttributeNS(null,"width","100%"),Z.setAttributeNS(null,"height","100%"),Z.setAttributeNS(null,"x",w.toString()),Z.setAttributeNS(null,"y",m.toString()),Z.setAttributeNS(null,"externalResourcesRequired","true"),z.appendChild(Z),Z.appendChild(_),z},eh=function(g){return new Promise(function(d,w){var m=new Image;m.onload=function(){return d(m)},m.onerror=w,m.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(g))})},Er={get SUPPORT_RANGE_BOUNDS(){var g=Xf(document);return Object.defineProperty(Er,"SUPPORT_RANGE_BOUNDS",{value:g}),g},get SUPPORT_WORD_BREAKING(){var g=Er.SUPPORT_RANGE_BOUNDS&&zs(document);return Object.defineProperty(Er,"SUPPORT_WORD_BREAKING",{value:g}),g},get SUPPORT_SVG_DRAWING(){var g=T0(document);return Object.defineProperty(Er,"SUPPORT_SVG_DRAWING",{value:g}),g},get SUPPORT_FOREIGNOBJECT_DRAWING(){var g=typeof Array.from=="function"&&typeof window.fetch=="function"?Sa(document):Promise.resolve(!1);return Object.defineProperty(Er,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:g}),g},get SUPPORT_CORS_IMAGES(){var g=hp();return Object.defineProperty(Er,"SUPPORT_CORS_IMAGES",{value:g}),g},get SUPPORT_RESPONSE_TYPE(){var g=dp();return Object.defineProperty(Er,"SUPPORT_RESPONSE_TYPE",{value:g}),g},get SUPPORT_CORS_XHR(){var g="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Er,"SUPPORT_CORS_XHR",{value:g}),g},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var g=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(Er,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:g}),g}},Ea=function(){function g(d,w){this.text=d,this.bounds=w}return g}(),O0=function(g,d,w,m){var _=Vs(d,w),I=[],z=0;return _.forEach(function(Z){if(w.textDecorationLine.length||Z.trim().length>0)if(Er.SUPPORT_RANGE_BOUNDS){var Y=ac(m,z,Z.length).getClientRects();if(Y.length>1){var de=_a(Z),ye=0;de.forEach(function(Le){I.push(new Ea(Le,o.fromDOMRectList(g,ac(m,ye+z,Le.length).getClientRects()))),ye+=Le.length})}else I.push(new Ea(Z,o.fromDOMRectList(g,Y)))}else{var Fe=m.splitText(Z.length);I.push(new Ea(Z,Dl(g,m))),m=Fe}else Er.SUPPORT_RANGE_BOUNDS||(m=m.splitText(Z.length));z+=Z.length}),I},Dl=function(g,d){var w=d.ownerDocument;if(w){var m=w.createElement("html2canvaswrapper");m.appendChild(d.cloneNode(!0));var _=d.parentNode;if(_){_.replaceChild(m,d);var I=u(g,m);return m.firstChild&&_.replaceChild(m.firstChild,m),I}}return o.EMPTY},ac=function(g,d,w){var m=g.ownerDocument;if(!m)throw new Error("Node has no owner document");var _=m.createRange();return _.setStart(g,d),_.setEnd(g,d+w),_},_a=function(g){if(Er.SUPPORT_NATIVE_TEXT_SEGMENTATION){var d=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(d.segment(g)).map(function(w){return w.segment})}return fp(g)},us=function(g,d){if(Er.SUPPORT_NATIVE_TEXT_SEGMENTATION){var w=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(w.segment(g)).map(function(m){return m.segment})}return lc(g,d)},Vs=function(g,d){return d.letterSpacing!==0?_a(g):us(g,d)},Gs=[32,160,4961,65792,65793,4153,4241],lc=function(g,d){for(var w=Su(g,{lineBreak:d.lineBreak,wordBreak:d.overflowWrap==="break-word"?"break-word":d.wordBreak}),m=[],_,I=function(){if(_.value){var z=_.value.slice(),Z=c(z),Y="";Z.forEach(function(de){Gs.indexOf(de)===-1?Y+=p(de):(Y.length&&m.push(Y),m.push(p(de)),Y="")}),Y.length&&m.push(Y)}};!(_=w.next()).done;)I();return m},th=function(){function g(d,w,m){this.text=pp(w.data,m.textTransform),this.textBounds=O0(d,this.text,m,w)}return g}(),pp=function(g,d){switch(d){case 1:return g.toLowerCase();case 3:return g.replace(R0,nh);case 2:return g.toUpperCase();default:return g}},R0=/(^|\s|:|-|\(|\))([a-z])/g,nh=function(g,d,w){return g.length>0?d+w.toUpperCase():g},uc=function(g){r(d,g);function d(w,m){var _=g.call(this,w,m)||this;return _.src=m.currentSrc||m.src,_.intrinsicWidth=m.naturalWidth,_.intrinsicHeight=m.naturalHeight,_.context.cache.addImage(_.src),_}return d}(Lt),oB=function(g){r(d,g);function d(w,m){var _=g.call(this,w,m)||this;return _.canvas=m,_.intrinsicWidth=m.width,_.intrinsicHeight=m.height,_}return d}(Lt),aB=function(g){r(d,g);function d(w,m){var _=g.call(this,w,m)||this,I=new XMLSerializer,z=u(w,m);return m.setAttribute("width",z.width+"px"),m.setAttribute("height",z.height+"px"),_.svg="data:image/svg+xml,"+encodeURIComponent(I.serializeToString(m)),_.intrinsicWidth=m.width.baseVal.value,_.intrinsicHeight=m.height.baseVal.value,_.context.cache.addImage(_.svg),_}return d}(Lt),lB=function(g){r(d,g);function d(w,m){var _=g.call(this,w,m)||this;return _.value=m.value,_}return d}(Lt),D0=function(g){r(d,g);function d(w,m){var _=g.call(this,w,m)||this;return _.start=m.start,_.reversed=typeof m.reversed=="boolean"&&m.reversed===!0,_}return d}(Lt),$_=[{type:15,flags:0,unit:"px",number:3}],W_=[{type:16,flags:0,number:50}],q_=function(g){return g.width>g.height?new o(g.left+(g.width-g.height)/2,g.top,g.height,g.height):g.width<g.height?new o(g.left,g.top+(g.height-g.width)/2,g.width,g.width):g},J_=function(g){var d=g.type===X_?new Array(g.value.length+1).join("•"):g.value;return d.length===0?g.placeholder||"":d},gp="checkbox",mp="radio",X_="password",uB=707406591,H0=function(g){r(d,g);function d(w,m){var _=g.call(this,w,m)||this;switch(_.type=m.type.toLowerCase(),_.checked=m.checked,_.value=J_(m),(_.type===gp||_.type===mp)&&(_.styles.backgroundColor=3739148031,_.styles.borderTopColor=_.styles.borderRightColor=_.styles.borderBottomColor=_.styles.borderLeftColor=2779096575,_.styles.borderTopWidth=_.styles.borderRightWidth=_.styles.borderBottomWidth=_.styles.borderLeftWidth=1,_.styles.borderTopStyle=_.styles.borderRightStyle=_.styles.borderBottomStyle=_.styles.borderLeftStyle=1,_.styles.backgroundClip=[0],_.styles.backgroundOrigin=[0],_.bounds=q_(_.bounds)),_.type){case gp:_.styles.borderTopRightRadius=_.styles.borderTopLeftRadius=_.styles.borderBottomRightRadius=_.styles.borderBottomLeftRadius=$_;break;case mp:_.styles.borderTopRightRadius=_.styles.borderTopLeftRadius=_.styles.borderBottomRightRadius=_.styles.borderBottomLeftRadius=W_;break}return _}return d}(Lt),cB=function(g){r(d,g);function d(w,m){var _=g.call(this,w,m)||this,I=m.options[m.selectedIndex||0];return _.value=I&&I.text||"",_}return d}(Lt),fB=function(g){r(d,g);function d(w,m){var _=g.call(this,w,m)||this;return _.value=m.value,_}return d}(Lt),hB=function(g){r(d,g);function d(w,m){var _=g.call(this,w,m)||this;_.src=m.src,_.width=parseInt(m.width,10)||0,_.height=parseInt(m.height,10)||0,_.backgroundColor=_.styles.backgroundColor;try{if(m.contentWindow&&m.contentWindow.document&&m.contentWindow.document.documentElement){_.tree=pB(w,m.contentWindow.document.documentElement);var I=m.contentWindow.document.documentElement?Ui(w,getComputedStyle(m.contentWindow.document.documentElement).backgroundColor):ui.TRANSPARENT,z=m.contentWindow.document.body?Ui(w,getComputedStyle(m.contentWindow.document.body).backgroundColor):ui.TRANSPARENT;_.backgroundColor=pA(I)?pA(z)?_.styles.backgroundColor:z:I}}catch{}return _}return d}(Lt),Y_=["OL","UL","MENU"],wp=function(g,d,w,m){for(var _=d.firstChild,I=void 0;_;_=I)if(I=_.nextSibling,gB(_)&&_.data.trim().length>0)w.textNodes.push(new th(g,_,w.styles));else if(cc(_))if(xB(_)&&_.assignedNodes)_.assignedNodes().forEach(function(Z){return wp(g,Z,w,m)});else{var z=dB(g,_);z.styles.isVisible()&&(Z_(_,z,m)?z.flags|=4:e3(z.styles)&&(z.flags|=2),Y_.indexOf(_.tagName)!==-1&&(z.flags|=8),w.elements.push(z),_.slot,_.shadowRoot?wp(g,_.shadowRoot,z,m):!vp(_)&&!mB(_)&&!Bp(_)&&wp(g,_,z,m))}},dB=function(g,d){return z0(d)?new uc(g,d):wB(d)?new oB(g,d):mB(d)?new aB(g,d):t3(d)?new lB(g,d):n3(d)?new D0(g,d):r3(d)?new H0(g,d):Bp(d)?new cB(g,d):vp(d)?new fB(g,d):vB(d)?new hB(g,d):new Lt(g,d)},pB=function(g,d){var w=dB(g,d);return w.flags|=4,wp(g,d,w,w),w},Z_=function(g,d,w){return d.styles.isPositionedWithZIndex()||d.styles.opacity<1||d.styles.isTransformed()||K0(g)&&w.styles.isTransparent()},e3=function(g){return g.isPositioned()||g.isFloating()},gB=function(g){return g.nodeType===Node.TEXT_NODE},cc=function(g){return g.nodeType===Node.ELEMENT_NODE},M0=function(g){return cc(g)&&typeof g.style<"u"&&!yp(g)},yp=function(g){return typeof g.className=="object"},t3=function(g){return g.tagName==="LI"},n3=function(g){return g.tagName==="OL"},r3=function(g){return g.tagName==="INPUT"},i3=function(g){return g.tagName==="HTML"},mB=function(g){return g.tagName==="svg"},K0=function(g){return g.tagName==="BODY"},wB=function(g){return g.tagName==="CANVAS"},yB=function(g){return g.tagName==="VIDEO"},z0=function(g){return g.tagName==="IMG"},vB=function(g){return g.tagName==="IFRAME"},BB=function(g){return g.tagName==="STYLE"},A3=function(g){return g.tagName==="SCRIPT"},vp=function(g){return g.tagName==="TEXTAREA"},Bp=function(g){return g.tagName==="SELECT"},xB=function(g){return g.tagName==="SLOT"},bB=function(g){return g.tagName.indexOf("-")>0},s3=function(){function g(){this.counters={}}return g.prototype.getCounterValue=function(d){var w=this.counters[d];return w&&w.length?w[w.length-1]:1},g.prototype.getCounterValues=function(d){var w=this.counters[d];return w||[]},g.prototype.pop=function(d){var w=this;d.forEach(function(m){return w.counters[m].pop()})},g.prototype.parse=function(d){var w=this,m=d.counterIncrement,_=d.counterReset,I=!0;m!==null&&m.forEach(function(Z){var Y=w.counters[Z.counter];Y&&Z.increment!==0&&(I=!1,Y.length||Y.push(1),Y[Math.max(0,Y.length-1)]+=Z.increment)});var z=[];return I&&_.forEach(function(Z){var Y=w.counters[Z.counter];z.push(Z.counter),Y||(Y=w.counters[Z.counter]=[]),Y.push(Z.reset)}),z},g}(),CB={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"]},FB={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,9
vendor: 5,337 bytes, line 462
4620,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},o3={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:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},a3={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:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},fc=function(g,d,w,m,_,I){return g<d||g>w?ih(g,_,I.length>0):m.integers.reduce(function(z,Z,Y){for(;g>=Z;)g-=Z,z+=m.values[Y];return z},"")+I},SB=function(g,d,w,m){var _="";do w||g--,_=m(g)+_,g/=d;while(g*d>=d);return _},cr=function(g,d,w,m,_){var I=w-d+1;return(g<0?"-":"")+(SB(Math.abs(g),I,m,function(z){return p(Math.floor(z%I)+d)})+_)},Hl=function(g,d,w){w===void 0&&(w=". ");var m=d.length;return SB(Math.abs(g),m,!1,function(_){return d[Math.floor(_%m)]})+w},hc=1,Ua=2,Qa=4,rh=8,Lo=function(g,d,w,m,_,I){if(g<-9999||g>9999)return ih(g,4,_.length>0);var z=Math.abs(g),Z=_;if(z===0)return d[0]+Z;for(var Y=0;z>0&&Y<=4;Y++){var de=z%10;de===0&&pe(I,hc)&&Z!==""?Z=d[de]+Z:de>1||de===1&&Y===0||de===1&&Y===1&&pe(I,Ua)||de===1&&Y===1&&pe(I,Qa)&&g>100||de===1&&Y>1&&pe(I,rh)?Z=d[de]+(Y>0?w[Y-1]:"")+Z:de===1&&Y>0&&(Z=w[Y-1]+Z),z=Math.floor(z/10)}return(g<0?m:"")+Z},EB="十百千萬",_B="拾佰仟萬",UB="マイナス",V0="마이너스",ih=function(g,d,w){var m=w?". ":"",_=w?"、":"",I=w?", ":"",z=w?" ":"";switch(d){case 0:return"•"+z;case 1:return"◦"+z;case 2:return"◾"+z;case 5:var Z=cr(g,48,57,!0,m);return Z.length<4?"0"+Z:Z;case 4:return Hl(g,"〇一二三四五六七八九",_);case 6:return fc(g,1,3999,CB,3,m).toLowerCase();case 7:return fc(g,1,3999,CB,3,m);case 8:return cr(g,945,969,!1,m);case 9:return cr(g,97,122,!1,m);case 10:return cr(g,65,90,!1,m);case 11:return cr(g,1632,1641,!0,m);case 12:case 49:return fc(g,1,9999,FB,3,m);case 35:return fc(g,1,9999,FB,3,m).toLowerCase();case 13:return cr(g,2534,2543,!0,m);case 14:case 30:return cr(g,6112,6121,!0,m);case 15:return Hl(g,"子丑寅卯辰巳午未申酉戌亥",_);case 16:return Hl(g,"甲乙丙丁戊己庚辛壬癸",_);case 17:case 48:return Lo(g,"零一二三四五六七八九",EB,"負",_,Ua|Qa|rh);case 47:return Lo(g,"零壹貳參肆伍陸柒捌玖",_B,"負",_,hc|Ua|Qa|rh);case 42:return Lo(g,"零一二三四五六七八九",EB,"负",_,Ua|Qa|rh);case 41:return Lo(g,"零壹贰叁肆伍陆柒捌玖",_B,"负",_,hc|Ua|Qa|rh);case 26:return Lo(g,"〇一二三四五六七八九","十百千万",UB,_,0);case 25:return Lo(g,"零壱弐参四伍六七八九","拾百千万",UB,_,hc|Ua|Qa);case 31:return Lo(g,"영일이삼사오육칠팔구","십백천만",V0,I,hc|Ua|Qa);case 33:return Lo(g,"零一二三四五六七八九","十百千萬",V0,I,0);case 32:return Lo(g,"零壹貳參四五六七八九","拾百千",V0,I,hc|Ua|Qa);case 18:return cr(g,2406,2415,!0,m);case 20:return fc(g,1,19999,a3,3,m);case 21:return cr(g,2790,2799,!0,m);case 22:return cr(g,2662,2671,!0,m);case 22:return fc(g,1,10999,o3,3,m);case 23:return Hl(g,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return Hl(g,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return cr(g,3302,3311,!0,m);case 28:return Hl(g,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",_);case 29:return Hl(g,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",_);case 34:return cr(g,3792,3801,!0,m);case 37:return cr(g,6160,6169,!0,m);case 38:return cr(g,4160,4169,!0,m);case 39:return cr(g,2918,2927,!0,m);case 40:return cr(g,1776,1785,!0,m);case 43:return cr(g,3046,3055,!0,m);case 44:return cr(g,3174,3183,!0,m);case 45:return cr(g,3664,3673,!0,m);case 46:return cr(g,3872,3881,!0,m);case 3:default:return cr(g,48,57,!0,m)}},QB="data-html2canvas-ignore",kB=function(){function g(d,w,m){if(this.context=d,this.options=m,this.scrolledElements=[],this.referenceElement=w,this.counters=new s3,this.quoteDepth=0,!w.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(w.ownerDocument.documentElement,!1)}return g.prototype.toIFrame=function(d,w){var m=this,_=l3(d,w);if(!_.contentWindow)return Promise.reject("Unable to find iframe window");var I=d.defaultView.pageXOffset,z=d.defaultView.pageYOffset,Z=_.contentWindow,Y=Z.document,de=f3(_).then(function(){return A(m,void 0,void 0,function(){var ye,Fe;return s(this,function(Le){switch(Le.label){case 0:return this.scrolledElements.forEac
vendor: 19,060 bytes, lines 462-466
462h(g3),Z&&(Z.scrollTo(w.left,w.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(Z.scrollY!==w.top||Z.scrollX!==w.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(Z.scrollX-w.left,Z.scrollY-w.top,0,0))),ye=this.options.onclone,Fe=this.clonedReferenceElement,typeof Fe>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:Y.fonts&&Y.fonts.ready?[4,Y.fonts.ready]:[3,2];case 1:Le.sent(),Le.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,c3(Y)]:[3,4];case 3:Le.sent(),Le.label=4;case 4:return typeof ye=="function"?[2,Promise.resolve().then(function(){return ye(Y,Fe)}).then(function(){return _})]:[2,_]}})})});return Y.open(),Y.write(d3(document.doctype)+"<html></html>"),p3(this.referenceElement.ownerDocument,I,z),Y.replaceChild(Y.adoptNode(this.documentElement),Y.documentElement),Y.close(),de},g.prototype.createElementClone=function(d){if(dn(d,2))debugger;if(wB(d))return this.createCanvasClone(d);if(yB(d))return this.createVideoClone(d);if(BB(d))return this.createStyleClone(d);var w=d.cloneNode(!1);return z0(w)&&(z0(d)&&d.currentSrc&&d.currentSrc!==d.src&&(w.src=d.currentSrc,w.srcset=""),w.loading==="lazy"&&(w.loading="eager")),bB(w)?this.createCustomElementClone(w):w},g.prototype.createCustomElementClone=function(d){var w=document.createElement("html2canvascustomelement");return G0(d.style,w),w},g.prototype.createStyleClone=function(d){try{var w=d.sheet;if(w&&w.cssRules){var m=[].slice.call(w.cssRules,0).reduce(function(I,z){return z&&typeof z.cssText=="string"?I+z.cssText:I},""),_=d.cloneNode(!1);return _.textContent=m,_}}catch(I){if(this.context.logger.error("Unable to access cssRules property",I),I.name!=="SecurityError")throw I}return d.cloneNode(!1)},g.prototype.createCanvasClone=function(d){var w;if(this.options.inlineImages&&d.ownerDocument){var m=d.ownerDocument.createElement("img");try{return m.src=d.toDataURL(),m}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",d)}}var _=d.cloneNode(!1);try{_.width=d.width,_.height=d.height;var I=d.getContext("2d"),z=_.getContext("2d");if(z)if(!this.options.allowTaint&&I)z.putImageData(I.getImageData(0,0,d.width,d.height),0,0);else{var Z=(w=d.getContext("webgl2"))!==null&&w!==void 0?w:d.getContext("webgl");if(Z){var Y=Z.getContextAttributes();(Y==null?void 0:Y.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",d)}z.drawImage(d,0,0)}return _}catch{this.context.logger.info("Unable to clone canvas as it is tainted",d)}return _},g.prototype.createVideoClone=function(d){var w=d.ownerDocument.createElement("canvas");w.width=d.offsetWidth,w.height=d.offsetHeight;var m=w.getContext("2d");try{return m&&(m.drawImage(d,0,0,w.width,w.height),this.options.allowTaint||m.getImageData(0,0,w.width,w.height)),w}catch{this.context.logger.info("Unable to clone video as it is tainted",d)}var _=d.ownerDocument.createElement("canvas");return _.width=d.offsetWidth,_.height=d.offsetHeight,_},g.prototype.appendChildNode=function(d,w,m){(!cc(w)||!A3(w)&&!w.hasAttribute(QB)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(w)))&&(!this.options.copyStyles||!cc(w)||!BB(w))&&d.appendChild(this.cloneNode(w,m))},g.prototype.cloneChildNodes=function(d,w,m){for(var _=this,I=d.shadowRoot?d.shadowRoot.firstChild:d.firstChild;I;I=I.nextSibling)if(cc(I)&&xB(I)&&typeof I.assignedNodes=="function"){var z=I.assignedNodes();z.length&&z.forEach(function(Z){return _.appendChildNode(w,Z,m)})}else this.appendChildNode(w,I,m)},g.prototype.cloneNode=function(d,w){if(gB(d))return document.createTextNode(d.data);if(!d.ownerDocument)return d.cloneNode(!1);var m=d.ownerDocument.defaultView;if(m&&cc(d)&&(M0(d)||yp(d))){var _=this.createElementClone(d);_.style.transitionProperty="none";var I=m.getComputedStyle(d),z=m.getComputedStyle(d,":before"),Z=m.getComputedStyle(d,":after");this.referenceElement===d&&M0(_)&&(this.clonedReferenceElement=_),K0(_)&&y3(_);var Y=this.counters.parse(new hn(this.context,I)),de=this.resolvePseudoContent(d,_,z,Ah.BEFORE);bB(d)&&(w=!0),yB(d)||this.cloneChildNodes(d,_,w),de&&_.insertBefore(de,_.firstChild);var ye=this.resolvePseudoContent(d,_,Z,Ah.AFTER);return ye&&_.appendChild(ye),this.counters.pop(Y),(I&&(this.options.copyStyles||yp(d))&&!vB(d)||w)&&G0(I,_),(d.scrollTop!==0||d.scrollLeft!==0)&&this.scrolledElements.push([_,d.scrollLeft,d.scrollTop]),(vp(d)||Bp(d))&&(vp(_)||Bp(_))&&(_.value=d.value),_}return d.cloneNode(!1)},g.prototype.resolvePseudoContent=function(d,w,m,_){var I=this;if(m){var z=m.content,Z=w.ownerDocument;if(!(!Z||!z||z==="none"||z==="-moz-alt-content"||m.display==="none")){this.counters.parse(new hn(this.context,m));var Y=new cn(this.context,m),de=Z.createElement("html2canvaspseudoelement");G0(m,de),Y.content.forEach(function(Fe){if(Fe.type===0)de.appendChild(Z.createTextNode(Fe.value));else if(Fe.type===22){var Le=Z.createElement("img");Le.src=Fe.value,Le.style.opacity="1",de.appendChild(Le)}else if(Fe.type===18){if(Fe.name==="attr"){var pt=Fe.values.filter(Tt);pt.length&&de.appendChild(Z.createTextNode(d.getAttribute(pt[0].value)||""))}else if(Fe.name==="counter"){var nt=Fe.values.filter(wr),lt=nt[0],Wt=nt[1];if(lt&&Tt(lt)){var bt=I.counters.getCounterValue(lt.value),xt=Wt&&Tt(Wt)?$f.parse(I.context,Wt.value):3;de.appendChild(Z.createTextNode(ih(bt,xt,!1)))}}else if(Fe.name==="counters"){var pn=Fe.values.filter(wr),lt=pn[0],Yt=pn[1],Wt=pn[2];if(lt&&Tt(lt)){var Mt=I.counters.getCounterValues(lt.value),ht=Wt&&Tt(Wt)?$f.parse(I.context,Wt.value):3,on=Yt&&Yt.type===0?Yt.value:"",an=Mt.map(function(Ji){return ih(Ji,ht,!1)}).join(on);de.appendChild(Z.createTextNode(an))}}}else if(Fe.type===20)switch(Fe.value){case"open-quote":de.appendChild(Z.createTextNode(ze(Y.quotes,I.quoteDepth++,!0)));break;case"close-quote":de.appendChild(Z.createTextNode(ze(Y.quotes,--I.quoteDepth,!1)));break;default:de.appendChild(Z.createTextNode(Fe.value))}}),de.className=$0+" "+W0;var ye=_===Ah.BEFORE?" "+$0:" "+W0;return yp(w)?w.className.baseValue+=ye:w.className+=ye,de}}},g.destroy=function(d){return d.parentNode?(d.parentNode.removeChild(d),!0):!1},g}(),Ah;(function(g){g[g.BEFORE=0]="BEFORE",g[g.AFTER=1]="AFTER"})(Ah||(Ah={}));var l3=function(g,d){var w=g.createElement("iframe");return w.className="html2canvas-container",w.style.visibility="hidden",w.style.position="fixed",w.style.left="-10000px",w.style.top="0px",w.style.border="0",w.width=d.width.toString(),w.height=d.height.toString(),w.scrolling="no",w.setAttribute(QB,"true"),g.body.appendChild(w),w},u3=function(g){return new Promise(function(d){if(g.complete){d();return}if(!g.src){d();return}g.onload=d,g.onerror=d})},c3=function(g){return Promise.all([].slice.call(g.images,0).map(u3))},f3=function(g){return new Promise(function(d,w){var m=g.contentWindow;if(!m)return w("No window assigned for iframe");var _=m.document;m.onload=g.onload=function(){m.onload=g.onload=null;var I=setInterval(function(){_.body.childNodes.length>0&&_.readyState==="complete"&&(clearInterval(I),d(g))},50)}})},h3=["all","d","content"],G0=function(g,d){for(var w=g.length-1;w>=0;w--){var m=g.item(w);h3.indexOf(m)===-1&&d.style.setProperty(m,g.getPropertyValue(m))}return d},d3=function(g){var d="";return g&&(d+="<!DOCTYPE ",g.name&&(d+=g.name),g.internalSubset&&(d+=g.internalSubset),g.publicId&&(d+='"'+g.publicId+'"'),g.systemId&&(d+='"'+g.systemId+'"'),d+=">"),d},p3=function(g,d,w){g&&g.defaultView&&(d!==g.defaultView.pageXOffset||w!==g.defaultView.pageYOffset)&&g.defaultView.scrollTo(d,w)},g3=function(g){var d=g[0],w=g[1],m=g[2];d.scrollLeft=w,d.scrollTop=m},m3=":before",w3=":after",$0="___html2canvas___pseudoelement_before",W0="___html2canvas___pseudoelement_after",IB=`{
463    content: "" !important;
464    display: none !important;
465}`,y3=function(g){v3(g,"."+$0+m3+IB+`
466         .`+W0+w3+IB)},v3=function(g,d){var w=g.ownerDocument;if(w){var m=w.createElement("style");m.textContent=d,g.appendChild(m)}},LB=function(){function g(){}return g.getOrigin=function(d){var w=g._link;return w?(w.href=d,w.href=w.href,w.protocol+w.hostname+w.port):"about:blank"},g.isSameOrigin=function(d){return g.getOrigin(d)===g._origin},g.setContext=function(d){g._link=d.document.createElement("a"),g._origin=g.getOrigin(d.location.href)},g._origin="about:blank",g}(),B3=function(){function g(d,w){this.context=d,this._options=w,this._cache={}}return g.prototype.addImage=function(d){var w=Promise.resolve();return this.has(d)||(J0(d)||F3(d))&&(this._cache[d]=this.loadImage(d)).catch(function(){}),w},g.prototype.match=function(d){return this._cache[d]},g.prototype.loadImage=function(d){return A(this,void 0,void 0,function(){var w,m,_,I,z=this;return s(this,function(Z){switch(Z.label){case 0:return w=LB.isSameOrigin(d),m=!q0(d)&&this._options.useCORS===!0&&Er.SUPPORT_CORS_IMAGES&&!w,_=!q0(d)&&!w&&!J0(d)&&typeof this._options.proxy=="string"&&Er.SUPPORT_CORS_XHR&&!m,!w&&this._options.allowTaint===!1&&!q0(d)&&!J0(d)&&!_&&!m?[2]:(I=d,_?[4,this.proxy(I)]:[3,2]);case 1:I=Z.sent(),Z.label=2;case 2:return this.context.logger.debug("Added image "+d.substring(0,256)),[4,new Promise(function(Y,de){var ye=new Image;ye.onload=function(){return Y(ye)},ye.onerror=de,(S3(I)||m)&&(ye.crossOrigin="anonymous"),ye.src=I,ye.complete===!0&&setTimeout(function(){return Y(ye)},500),z._options.imageTimeout>0&&setTimeout(function(){return de("Timed out ("+z._options.imageTimeout+"ms) loading image")},z._options.imageTimeout)})];case 3:return[2,Z.sent()]}})})},g.prototype.has=function(d){return typeof this._cache[d]<"u"},g.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},g.prototype.proxy=function(d){var w=this,m=this._options.proxy;if(!m)throw new Error("No proxy defined");var _=d.substring(0,256);return new Promise(function(I,z){var Z=Er.SUPPORT_RESPONSE_TYPE?"blob":"text",Y=new XMLHttpRequest;Y.onload=function(){if(Y.status===200)if(Z==="text")I(Y.response);else{var Fe=new FileReader;Fe.addEventListener("load",function(){return I(Fe.result)},!1),Fe.addEventListener("error",function(Le){return z(Le)},!1),Fe.readAsDataURL(Y.response)}else z("Failed to proxy resource "+_+" with status code "+Y.status)},Y.onerror=z;var de=m.indexOf("?")>-1?"&":"?";if(Y.open("GET",""+m+de+"url="+encodeURIComponent(d)+"&responseType="+Z),Z!=="text"&&Y instanceof XMLHttpRequest&&(Y.responseType=Z),w._options.imageTimeout){var ye=w._options.imageTimeout;Y.timeout=ye,Y.ontimeout=function(){return z("Timed out ("+ye+"ms) proxying "+_)}}Y.send()})},g}(),x3=/^data:image\/svg\+xml/i,b3=/^data:image\/.*;base64,/i,C3=/^data:image\/.*/i,F3=function(g){return Er.SUPPORT_SVG_DRAWING||!E3(g)},q0=function(g){return C3.test(g)},S3=function(g){return b3.test(g)},J0=function(g){return g.substr(0,4)==="blob"},E3=function(g){return g.substr(-3).toLowerCase()==="svg"||x3.test(g)},ft=function(){function g(d,w){this.type=0,this.x=d,this.y=w}return g.prototype.add=function(d,w){return new g(this.x+d,this.y+w)},g}(),dc=function(g,d,w){return new ft(g.x+(d.x-g.x)*w,g.y+(d.y-g.y)*w)},xp=function(){function g(d,w,m,_){this.type=1,this.start=d,this.startControl=w,this.endControl=m,this.end=_}return g.prototype.subdivide=function(d,w){var m=dc(this.start,this.startControl,d),_=dc(this.startControl,this.endControl,d),I=dc(this.endControl,this.end,d),z=dc(m,_,d),Z=dc(_,I,d),Y=dc(z,Z,d);return w?new g(this.start,m,z,Y):new g(Y,Z,I,this.end)},g.prototype.add=function(d,w){return new g(this.start.add(d,w),this.startControl.add(d,w),this.endControl.add(d,w),this.end.add(d,w))},g.prototype.reverse=function(){return new g(this.end,this.endControl,this.startControl,this.start)},g}(),KA=function(g){return g.type===1},_3=function(){function g(d){var w=d.styles,m=d.bounds,_=$n(w.borderTopLeftRadius,m.width,m.height),I=_[0],z=_[1],Z=$n(w.borderTopRightRadius,m.width,m.height),Y=Z[0],de=Z[1],ye=$n(w.borderBottomRightRadius,m.width,m.height),Fe=ye[0],Le=ye[1],pt=$n(w.borderBottomLeftRadius,m.width,m.height),nt=pt[0],lt=pt[1],Wt=[];Wt.push((I+Y)/m.width),Wt.push((nt+Fe)/m.width),Wt.push((z+lt)/m.height),Wt.push((de+Le)/m.height);var bt=Math.max.apply(Math,Wt);bt>1&&(I/=bt,z/=bt,Y/=bt,de/=bt,Fe/=bt,Le/=bt,nt/=bt,lt/=bt);var xt=m.width-Y,pn=m.height-Le,Yt=m.width-Fe,Mt=m.height-lt,ht=w.borderTopWidth,on=w.borderRightWidth,an=w.borderBottomWidth,zt=w.borderLeftWidth,vr=un(w.paddingTop,d.bounds.width),Ji=un(w.paddingRight,d.bounds.width),BA=un(w.paddingBottom,d.bounds.width),Sn=un(w.paddingLeft,d.bounds.width);this.topLeftBorderDoubleOuterBox=I>0||z>0?Kn(m.left+zt/3,m.top+ht/3,I-zt/3,z-ht/3,wn.TOP_LEFT):new ft(m.left+zt/3,m.top+ht/3),this.topRightBorderDoubleOuterBox=I>0||z>0?Kn(m.left+xt,m.top+ht/3,Y-on/3,de-ht/3,wn.TOP_RIGHT):new ft(m.left+m.width-on/3,m.top+ht/3),this.bottomRightBorderDoubleOuterBox=Fe>0||Le>0?Kn(m.left+Yt,m.top+pn,Fe-on/3,Le-an/3,wn.BOTTOM_RIGHT):new ft(m.left+m.width-on/3,m.top+m.height-an/3),this.bottomLeftBorderDoubleOuterBox=nt>0||lt>0?Kn(m.left+zt/3,m.top+Mt,nt-zt/3,lt-an/3,wn.BOTTOM_LEFT):new ft(m.left+zt/3,m.top+m.height-an/3),this.topLeftBorderDoubleInnerBox=I>0||z>0?Kn(m.left+zt*2/3,m.top+ht*2/3,I-zt*2/3,z-ht*2/3,wn.TOP_LEFT):new ft(m.left+zt*2/3,m.top+ht*2/3),this.topRightBorderDoubleInnerBox=I>0||z>0?Kn(m.left+xt,m.top+ht*2/3,Y-on*2/3,de-ht*2/3,wn.TOP_RIGHT):new ft(m.left+m.width-on*2/3,m.top+ht*2/3),this.bottomRightBorderDoubleInnerBox=Fe>0||Le>0?Kn(m.left+Yt,m.top+pn,Fe-on*2/3,Le-an*2/3,wn.BOTTOM_RIGHT):new ft(m.left+m.width-on*2/3,m.top+m.height-an*2/3),this.bottomLeftBorderDoubleInnerBox=nt>0||lt>0?Kn(m.left+zt*2/3,m.top+Mt,nt-zt*2/3,lt-an*2/3,wn.BOTTOM_LEFT):new ft(m.left+zt*2/3,m.top+m.height-an*2/3),this.topLeftBorderStroke=I>0||z>0?Kn(m.left+zt/2,m.top+ht/2,I-zt/2,z-ht/2,wn.TOP_LEFT):new ft(m.left+zt/2,m.top+ht/2),this.topRightBorderStroke=I>0||z>0?Kn(m.left+xt,m.top+ht/2,Y-on/2,de-ht/2,wn.TOP_RIGHT):new ft(m.left+m.width-on/2,m.top+ht/2),this.bottomRightBorderStroke=Fe>0||Le>0?Kn(m.left+Yt,m.top+pn,Fe-on/2,Le-an/2,wn.BOTTOM_RIGHT):new ft(m.left+m.width-on/2,m.top+m.height-an/2),this.bottomLeftBorderStroke=nt>0||lt>0?Kn(m.left+zt/2,m.top+Mt,nt-zt/2,lt-an/2,wn.BOTTOM_LEFT):new ft(m.left+zt/2,m.top+m.height-an/2),this.topLeftBorderBox=I>0||z>0?Kn(m.left,m.top,I,z,wn.TOP_LEFT):new ft(m.left,m.top),this.topRightBorderBox=Y>0||de>0?Kn(m.left+xt,m.top,Y,de,wn.TOP_RIGHT):new ft(m.left+m.width,m.top),this.bottomRightBorderBox=Fe>0||Le>0?Kn(m.left+Yt,m.top+pn,Fe,Le,wn.BOTTOM_RIGHT):new ft(m.left+m.width,m.top+m.height),this.bottomLeftBorderBox=nt>0||lt>0?Kn(m.left,m.top+Mt,nt,lt,wn.BOTTOM_LEFT):new ft(m.left,m.top+m.height),this.topLeftPaddingBox=I>0||z>0?Kn(m.left+zt,m.top+ht,Math.max(0,I-zt),Math.max(0,z-ht),wn.TOP_LEFT):new ft(m.left+zt,m.top+ht),this.topRightPaddingBox=Y>0||de>0?Kn(m.left+Math.min(xt,m.width-on),m.top+ht,xt>m.width+on?0:Math.max(0,Y-on),Math.max(0,de-ht),wn.TOP_RIGHT):new ft(m.left+m.width-on,m.top+ht),this.bottomRightPaddingBox=Fe>0||Le>0?Kn(m.left+Math.min(Yt,m.width-zt),m.top+Math.min(pn,m.height-an),Math.max(0,Fe-on),Math.max(0,Le-an),wn.BOTTOM_RIGHT):new ft(m.left+m.width-on,m.top+m.height-an),this.bottomLeftPaddingBox=nt>0||lt>0?Kn(m.left+zt,m.top+Math.min(Mt,m.height-an),Math.max(0,nt-zt),Math.max(0,lt-an),wn.BOTTOM_LEFT):new ft(m.left+zt,m.top+m.height-an),this.topLeftContentBox=I>0||z>0?Kn(m.left+zt+Sn,m.top+ht+vr,Math.max(0,I-(zt+Sn)),Math.max(0,z-(ht+vr)),wn.TOP_LEFT):new ft(m.left+zt+Sn,m.top+ht+vr),this.topRightContentBox=Y>0||de>0?Kn(m.left+Math.min(xt,m.width+zt+Sn),m.top+ht+vr,xt>m.width+zt+Sn?0:Y-zt+Sn,de-(ht+vr),wn.TOP_RIGHT):new ft(m.left+m.width-(on+Ji),m.top+ht+vr),this.bottomRightContentBox=Fe>0||Le>0?Kn(m.left+Math.min(Yt,m.width-(zt+Sn)),m.top+Math.min(pn,m.height+ht+vr),Math.max(0,Fe-(on+Ji)),Le-(an+BA),wn.BOTTOM_RIGHT):new ft(m.left+m.width-(on+Ji),m.top+m.height-(an+BA)),this.bottomLeftContentBox=nt>0||lt>0?Kn(m.left+zt+Sn,m.top+Mt,Math.max(0,nt-(zt+Sn)),lt-(an+BA),wn.BOTTOM_LEFT):new ft(m.left+zt+Sn,m.top+m.height-(an+BA))}return g}(),wn;(function(g){g[g.TOP_LEFT=0]="TOP_LEFT",g[g.TOP_RIGHT=1]="TOP_RIGHT",g[g.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",g[g.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(wn||(wn={}));var Kn=function(g,d,w,m,_){var I=4*((Math.sqrt(2)-1)/3),z=w*I,Z=m*I,Y=g+w,de=d+m;switch(_){case wn.TOP_LEFT:return new xp(new ft(g,de),new ft(g,de-Z),new ft(Y-z,d),new ft(Y,d));case wn.TOP_RIGHT:return new xp(new ft(g,d),new ft(g+z,d),new ft(Y,de-Z),new ft(Y,de));case wn.BOTTOM_RIGHT:return new xp(new ft(Y,d),new ft(Y,d+Z),new ft(g+z,de),new ft(g,de));case wn.BOTTOM_LEFT:default:return new xp(new ft(Y,de),new ft(Y-z,de),new ft(g,d+Z),new ft(g,d))}},bp=function(g){return[g.topLeftBorderBox,g.topRightBorderBox,g.bottomRightBorderBox,g.bottomLeftBorderBox]},U3=function(g){return[g.topLeftContentBox,g.topRightContentBox,g.bottomRightContentBox,g.bottomLeftContentBox]},Cp=function(g){return[g.topLeftPaddingBox,g.topRightPaddingBox,g.bottomRightPaddingBox,g.bottomLeftPaddingBox]},Q3=function(){function g(d,w,m){this.offsetX=d,this.offsetY=w,this.matrix=m,this.type=0,this.target=6}return g}(),Fp=function(){function g(d,w){this.path=d,this.target=w,this.type=1}return g}(),k3=function(){function g(d){this.opacity=d,this.type=2,this.target=6}return g}(),I3=function(g){return g.type===0},jB=function(g){return g.type===1},L3=function(g){return g.type===2},NB=function(g,d){return g.length===d.length?g.some(function(w,m){return w===d[m]}):!1},j3=function(g,d,w,m,_){return g.map(function(I,z){switch(z){case 0:return I.add(d,w);case 1:return I.add(d+m,w);case 2:return I.add(d+m,w+_);case 3:return I.add(d,w+_)}return I})},PB=function(){function g(d){this.element=d,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return g}(),TB=function(){function g(d,w){if(this.container=d,this.parent=w,this.effects=[],this.curves=new _3(this.container),this.container.styles.opacity<1&&this.effects.push(new k3(this.container.styles.opacity)),this.container.styles.transform!==null){var m=this.container.bounds.left+this.container.styles.transformOrigin[0].number,_=this.container.bounds.top+this.container.styles.transformOrigin[1].number,I=this.container.styles.transform;this.effects.push(new Q3(m,_,I))}if(this.container.styles.overflowX!==0){var z=bp(this.curves),Z=Cp(this.curves);NB(z,Z)?this.effects.push(new Fp(z,6)):(this.effects.push(new Fp(z,2)),this.effects.push(new Fp(Z,4)))}}return g.prototype.getEffects=function(d){for(var w=[2,3].indexOf(this.container.styles.position)===-1,m=this.parent,_=this.effects.slice(0);m;){var I=m.effects.filter(function(Y){return!jB(Y)});if(w||m.container.styles.position!==0||!m.parent){if(_.unshift.apply(_,I),w=[2,3].indexOf(m.container.styles.position)===-1,m.container.styles.overflowX!==0){var z=bp(m.curves),Z=Cp(m.curves);NB(z,Z)||_.unshift(new Fp(Z,6))}}else _.unshift.apply(_,I);m=m.parent}return _.filter(function(Y){return pe(Y.target,d)})},g}
vendor: 5,183 bytes, line 466
466(),X0=function(g,d,w,m){g.container.elements.forEach(function(_){var I=pe(_.flags,4),z=pe(_.flags,2),Z=new TB(_,g);pe(_.styles.display,2048)&&m.push(Z);var Y=pe(_.flags,8)?[]:m;if(I||z){var de=I||_.styles.isPositioned()?w:d,ye=new PB(Z);if(_.styles.isPositioned()||_.styles.opacity<1||_.styles.isTransformed()){var Fe=_.styles.zIndex.order;if(Fe<0){var Le=0;de.negativeZIndex.some(function(nt,lt){return Fe>nt.element.container.styles.zIndex.order?(Le=lt,!1):Le>0}),de.negativeZIndex.splice(Le,0,ye)}else if(Fe>0){var pt=0;de.positiveZIndex.some(function(nt,lt){return Fe>=nt.element.container.styles.zIndex.order?(pt=lt+1,!1):pt>0}),de.positiveZIndex.splice(pt,0,ye)}else de.zeroOrAutoZIndexOrTransformedOrOpacity.push(ye)}else _.styles.isFloating()?de.nonPositionedFloats.push(ye):de.nonPositionedInlineLevel.push(ye);X0(Z,ye,I?ye:w,Y)}else _.styles.isInlineLevel()?d.inlineLevel.push(Z):d.nonInlineLevel.push(Z),X0(Z,d,w,Y);pe(_.flags,8)&&OB(_,Y)})},OB=function(g,d){for(var w=g instanceof D0?g.start:1,m=g instanceof D0?g.reversed:!1,_=0;_<d.length;_++){var I=d[_];I.container instanceof lB&&typeof I.container.value=="number"&&I.container.value!==0&&(w=I.container.value),I.listValue=ih(w,I.container.styles.listStyleType,!0),w+=m?-1:1}},N3=function(g){var d=new TB(g,null),w=new PB(d),m=[];return X0(d,w,w,m),OB(d.container,m),w},RB=function(g,d){switch(d){case 0:return zA(g.topLeftBorderBox,g.topLeftPaddingBox,g.topRightBorderBox,g.topRightPaddingBox);case 1:return zA(g.topRightBorderBox,g.topRightPaddingBox,g.bottomRightBorderBox,g.bottomRightPaddingBox);case 2:return zA(g.bottomRightBorderBox,g.bottomRightPaddingBox,g.bottomLeftBorderBox,g.bottomLeftPaddingBox);case 3:default:return zA(g.bottomLeftBorderBox,g.bottomLeftPaddingBox,g.topLeftBorderBox,g.topLeftPaddingBox)}},P3=function(g,d){switch(d){case 0:return zA(g.topLeftBorderBox,g.topLeftBorderDoubleOuterBox,g.topRightBorderBox,g.topRightBorderDoubleOuterBox);case 1:return zA(g.topRightBorderBox,g.topRightBorderDoubleOuterBox,g.bottomRightBorderBox,g.bottomRightBorderDoubleOuterBox);case 2:return zA(g.bottomRightBorderBox,g.bottomRightBorderDoubleOuterBox,g.bottomLeftBorderBox,g.bottomLeftBorderDoubleOuterBox);case 3:default:return zA(g.bottomLeftBorderBox,g.bottomLeftBorderDoubleOuterBox,g.topLeftBorderBox,g.topLeftBorderDoubleOuterBox)}},T3=function(g,d){switch(d){case 0:return zA(g.topLeftBorderDoubleInnerBox,g.topLeftPaddingBox,g.topRightBorderDoubleInnerBox,g.topRightPaddingBox);case 1:return zA(g.topRightBorderDoubleInnerBox,g.topRightPaddingBox,g.bottomRightBorderDoubleInnerBox,g.bottomRightPaddingBox);case 2:return zA(g.bottomRightBorderDoubleInnerBox,g.bottomRightPaddingBox,g.bottomLeftBorderDoubleInnerBox,g.bottomLeftPaddingBox);case 3:default:return zA(g.bottomLeftBorderDoubleInnerBox,g.bottomLeftPaddingBox,g.topLeftBorderDoubleInnerBox,g.topLeftPaddingBox)}},O3=function(g,d){switch(d){case 0:return Sp(g.topLeftBorderStroke,g.topRightBorderStroke);case 1:return Sp(g.topRightBorderStroke,g.bottomRightBorderStroke);case 2:return Sp(g.bottomRightBorderStroke,g.bottomLeftBorderStroke);case 3:default:return Sp(g.bottomLeftBorderStroke,g.topLeftBorderStroke)}},Sp=function(g,d){var w=[];return KA(g)?w.push(g.subdivide(.5,!1)):w.push(g),KA(d)?w.push(d.subdivide(.5,!0)):w.push(d),w},zA=function(g,d,w,m){var _=[];return KA(g)?_.push(g.subdivide(.5,!1)):_.push(g),KA(w)?_.push(w.subdivide(.5,!0)):_.push(w),KA(m)?_.push(m.subdivide(.5,!0).reverse()):_.push(m),KA(d)?_.push(d.subdivide(.5,!1).reverse()):_.push(d),_},DB=function(g){var d=g.bounds,w=g.styles;return d.add(w.borderLeftWidth,w.borderTopWidth,-(w.borderRightWidth+w.borderLeftWidth),-(w.borderTopWidth+w.borderBottomWidth))},Ep=function(g){var d=g.styles,w=g.bounds,m=un(d.paddingLeft,w.width),_=un(d.paddingRight,w.width),I=un(d.paddingTop,w.width),z=un(d.paddingBottom,w.width);return w.add(m+d.borderLeftWidth,I+d.borderTopWidth,-(d.borderRightWidth+d.borderLeftWidth+m+_),-(d.borderTopWidth+d.borderBottomWidth+I+z))},R3=function(g,d){return g===0?d.bounds:g===2?Ep(d):DB(d)},D3=function(g,d){return g===0?d.bounds:g===2?Ep(d):DB(d)},Y0=function(g,d,w){var m=R3(gc(g.styles.backgroundOrigin,d),g),_=D3(gc(g.styles.backgroundClip,d),g),I=H3(gc(g.styles.backgroundSize,d),w,m),z=I[0],Z=I[1],Y=$n(gc(g.styles.backgroundPosition,d),m.width-z,m.height-Z),de=M3(gc(g.styles.backgroundRepeat,d),Y,I,m,_),ye=Math.round(m.left+Y[0]),Fe=Math.round(m.top+Y[1]);return[de,ye,Fe,z,Z]},pc=function(g){return Tt(g)&&g.value===_o.AUTO},_p=function(g){return typeof g=="number"},H3=function(g,d,w){var m=d[0],_=d[1],I=d[2],z=g[0],Z=g[1];if(!z)return[0,0];if(Qn(z)&&Z&&Qn(Z))return[un(z,w.width),un(Z,w.height)];var Y=_p(I);if(Tt(z)&&(z.value===_o.CONTAIN||z.value===_o.COVER)){if(_p(I)){var de=w.width/w.height;return de<I!=(z.value===_o.COVER)?[w.width,w.width/I]:[w.height*I,w.height]}return[w.width,w.height]}var ye=_p(m),Fe=_p(_),Le=ye||Fe;if(pc(z)&&(!Z||pc(Z))){if(ye&&Fe)return[m,_];if(!Y&&!Le)return[w.width,w.height];if(Le&&Y){var pt=ye?m:_*I,nt=Fe?_:m/I;return[pt,nt]}var lt=ye?m:w.width,Wt=Fe?_:w.height;return[lt,Wt]}if(Y){var bt=0,xt=0;return Qn(z)?bt=un(z,w.width):Qn(Z)&&(xt=un(Z,w.height)),pc(z)?bt=xt*I:(!Z||pc(Z))&&
vendor: 4,214 bytes, line 466
466(xt=bt/I),[bt,xt]}var pn=null,Yt=null;if(Qn(z)?pn=un(z,w.width):Z&&Qn(Z)&&(Yt=un(Z,w.height)),pn!==null&&(!Z||pc(Z))&&(Yt=ye&&Fe?pn/m*_:w.height),Yt!==null&&pc(z)&&(pn=ye&&Fe?Yt/_*m:w.width),pn!==null&&Yt!==null)return[pn,Yt];throw new Error("Unable to calculate background-size for element")},gc=function(g,d){var w=g[d];return typeof w>"u"?g[0]:w},M3=function(g,d,w,m,_){var I=d[0],z=d[1],Z=w[0],Y=w[1];switch(g){case 2:return[new ft(Math.round(m.left),Math.round(m.top+z)),new ft(Math.round(m.left+m.width),Math.round(m.top+z)),new ft(Math.round(m.left+m.width),Math.round(Y+m.top+z)),new ft(Math.round(m.left),Math.round(Y+m.top+z))];case 3:return[new ft(Math.round(m.left+I),Math.round(m.top)),new ft(Math.round(m.left+I+Z),Math.round(m.top)),new ft(Math.round(m.left+I+Z),Math.round(m.height+m.top)),new ft(Math.round(m.left+I),Math.round(m.height+m.top))];case 1:return[new ft(Math.round(m.left+I),Math.round(m.top+z)),new ft(Math.round(m.left+I+Z),Math.round(m.top+z)),new ft(Math.round(m.left+I+Z),Math.round(m.top+z+Y)),new ft(Math.round(m.left+I),Math.round(m.top+z+Y))];default:return[new ft(Math.round(_.left),Math.round(_.top)),new ft(Math.round(_.left+_.width),Math.round(_.top)),new ft(Math.round(_.left+_.width),Math.round(_.height+_.top)),new ft(Math.round(_.left),Math.round(_.height+_.top))]}},K3="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",HB="Hidden Text",z3=function(){function g(d){this._data={},this._document=d}return g.prototype.parseMetrics=function(d,w){var m=this._document.createElement("div"),_=this._document.createElement("img"),I=this._document.createElement("span"),z=this._document.body;m.style.visibility="hidden",m.style.fontFamily=d,m.style.fontSize=w,m.style.margin="0",m.style.padding="0",m.style.whiteSpace="nowrap",z.appendChild(m),_.src=K3,_.width=1,_.height=1,_.style.margin="0",_.style.padding="0",_.style.verticalAlign="baseline",I.style.fontFamily=d,I.style.fontSize=w,I.style.margin="0",I.style.padding="0",I.appendChild(this._document.createTextNode(HB)),m.appendChild(I),m.appendChild(_);var Z=_.offsetTop-I.offsetTop+2;m.removeChild(I),m.appendChild(this._document.createTextNode(HB)),m.style.lineHeight="normal",_.style.verticalAlign="super";var Y=_.offsetTop-m.offsetTop+2;return z.removeChild(m),{baseline:Z,middle:Y}},g.prototype.getMetrics=function(d,w){var m=d+" "+w;return typeof this._data[m]>"u"&&(this._data[m]=this.parseMetrics(d,w)),this._data[m]},g}(),MB=function(){function g(d,w){this.context=d,this.options=w}return g}(),V3=1e4,G3=function(g){r(d,g);function d(w,m){var _=g.call(this,w,m)||this;return _._activeEffects=[],_.canvas=m.canvas?m.canvas:document.createElement("canvas"),_.ctx=_.canvas.getContext("2d"),m.canvas||(_.canvas.width=Math.floor(m.width*m.scale),_.canvas.height=Math.floor(m.height*m.scale),_.canvas.style.width=m.width+"px",_.canvas.style.height=m.height+"px"),_.fontMetrics=new z3(document),_.ctx.scale(_.options.scale,_.options.scale),_.ctx.translate(-m.x,-m.y),_.ctx.textBaseline="bottom",_._activeEffects=[],_.context.logger.debug("Canvas renderer initialized ("+m.width+"x"+m.height+") with scale "+m.scale),_}return d.prototype.applyEffects=function(w){for(var m=this;this._activeEffects.length;)this.popEffect();w.forEach(function(_){return m.applyEffect(_)})},d.prototype.applyEffect=function(w){this.ctx.save(),L3(w)&&(this.ctx.globalAlpha=w.opacity),I3(w)&&(this.ctx.translate(w.offsetX,w.offsetY),this.ctx.transform(w.matrix[0],w.matrix[1],w.matrix[2],w.matrix[3],w.matrix[4],w.matrix[5]),this.ctx.translate(-w.offsetX,-w.offsetY)),jB(w)&&(this.path(w.path),this.ctx.clip()),this._activeEffects.push(w)},d.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},d.prototype.renderStack=function(w){return A(this,void 0,void 0,function(){var m;return s(this,function(_){switch(_.label){case 0:return m=w.element.container.styles,m.isVisible()?[4,this.renderStackContent(w)]:[3,2];case 1:_.sent(),_.label=2;case 2:return[2]}})})},d.prototype.renderNode=function(w){return A(this,void 0,void 0,function(){return s(this,function(m){switch(m.label){case 0:if(pe(w.container.flags,16))debugger;return w.container.styles.isVisible()?[4,this.renderNodeBackgroun
vendor: 4,455 bytes, line 466
466dAndBorders(w)]:[3,3];case 1:return m.sent(),[4,this.renderNodeContent(w)];case 2:m.sent(),m.label=3;case 3:return[2]}})})},d.prototype.renderTextWithLetterSpacing=function(w,m,_){var I=this;if(m===0)this.ctx.fillText(w.text,w.bounds.left,w.bounds.top+_);else{var z=_a(w.text);z.reduce(function(Z,Y){return I.ctx.fillText(Y,Z,w.bounds.top+_),Z+I.ctx.measureText(Y).width},w.bounds.left)}},d.prototype.createFontStyle=function(w){var m=w.fontVariant.filter(function(z){return z==="normal"||z==="small-caps"}).join(""),_=X3(w.fontFamily).join(", "),I=yn(w.fontSize)?""+w.fontSize.number+w.fontSize.unit:w.fontSize.number+"px";return[[w.fontStyle,m,w.fontWeight,I,_].join(" "),_,I]},d.prototype.renderTextNode=function(w,m){return A(this,void 0,void 0,function(){var _,I,z,Z,Y,de,ye,Fe,Le=this;return s(this,function(pt){return _=this.createFontStyle(m),I=_[0],z=_[1],Z=_[2],this.ctx.font=I,this.ctx.direction=m.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",Y=this.fontMetrics.getMetrics(z,Z),de=Y.baseline,ye=Y.middle,Fe=m.paintOrder,w.textBounds.forEach(function(nt){Fe.forEach(function(lt){switch(lt){case 0:Le.ctx.fillStyle=Wn(m.color),Le.renderTextWithLetterSpacing(nt,m.letterSpacing,de);var Wt=m.textShadow;Wt.length&&nt.text.trim().length&&(Wt.slice(0).reverse().forEach(function(bt){Le.ctx.shadowColor=Wn(bt.color),Le.ctx.shadowOffsetX=bt.offsetX.number*Le.options.scale,Le.ctx.shadowOffsetY=bt.offsetY.number*Le.options.scale,Le.ctx.shadowBlur=bt.blur.number,Le.renderTextWithLetterSpacing(nt,m.letterSpacing,de)}),Le.ctx.shadowColor="",Le.ctx.shadowOffsetX=0,Le.ctx.shadowOffsetY=0,Le.ctx.shadowBlur=0),m.textDecorationLine.length&&(Le.ctx.fillStyle=Wn(m.textDecorationColor||m.color),m.textDecorationLine.forEach(function(bt){switch(bt){case 1:Le.ctx.fillRect(nt.bounds.left,Math.round(nt.bounds.top+de),nt.bounds.width,1);break;case 2:Le.ctx.fillRect(nt.bounds.left,Math.round(nt.bounds.top),nt.bounds.width,1);break;case 3:Le.ctx.fillRect(nt.bounds.left,Math.ceil(nt.bounds.top+ye),nt.bounds.width,1);break}}));break;case 1:m.webkitTextStrokeWidth&&nt.text.trim().length&&(Le.ctx.strokeStyle=Wn(m.webkitTextStrokeColor),Le.ctx.lineWidth=m.webkitTextStrokeWidth,Le.ctx.lineJoin=window.chrome?"miter":"round",Le.ctx.strokeText(nt.text,nt.bounds.left,nt.bounds.top+de)),Le.ctx.strokeStyle="",Le.ctx.lineWidth=0,Le.ctx.lineJoin="miter";break}})}),[2]})})},d.prototype.renderReplacedElement=function(w,m,_){if(_&&w.intrinsicWidth>0&&w.intrinsicHeight>0){var I=Ep(w),z=Cp(m);this.path(z),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(_,0,0,w.intrinsicWidth,w.intrinsicHeight,I.left,I.top,I.width,I.height),this.ctx.restore()}},d.prototype.renderNodeContent=function(w){return A(this,void 0,void 0,function(){var m,_,I,z,Z,Y,xt,xt,de,ye,Fe,Le,Yt,pt,nt,Mt,lt,Wt,bt,xt,pn,Yt,Mt;return s(this,function(ht){switch(ht.label){case 0:this.applyEffects(w.getEffects(4)),m=w.container,_=w.curves,I=m.styles,z=0,Z=m.textNodes,ht.label=1;case 1:return z<Z.length?(Y=Z[z],[4,this.renderTextNode(Y,I)]):[3,4];case 2:ht.sent(),ht.label=3;case 3:return z++,[3,1];case 4:if(!(m instanceof uc))return[3,8];ht.label=5;case 5:return ht.trys.push([5,7,,8]),[4,this.context.cache.match(m.src)];case 6:return xt=ht.sent(),this.renderReplacedElement(m,_,xt),[3,8];case 7:return ht.sent(),this.context.logger.error("Error loading image "+m.src),[3,8];case 8:if(m instanceof oB&&this.renderReplacedElement(m,_,m.canvas),!(m instanceof aB))return[3,12];ht.label=9;case 9:return ht.trys.push([9,11,,12]),[4,this.context.cache.match(m.svg)];case 10:return xt=ht.sent(),this.renderReplacedElement(m,_,xt),[3,12];case 11:return ht.sent(),this.context.logger.error("Error loading svg "+m.svg.substring(0,255)),[3,12];case 12:return m instanceof hB&&m.tree?(de=new d(this.context,{scale:this.options.scale,backgroundColor:m.backgroundColor,x:0,y:0,width:m.width,height:m.height}),[4,de.render(m.tree)]):[3,14];case 13:ye=ht.sent(),m.width&&m.height&&this.ctx.drawImage(ye,0,0,m.width,m.height,m.bounds.left,m.bounds.top,m.bounds.width,m.bounds.height),ht.label=14;case 14:if(m instanceof H0&&(Fe=Math.min(m.bounds.width,m.bounds.height),m.type===gp?m.checked&&(this.ctx.save(),this.path([new ft(m.bounds.left+Fe*.39363,m.bounds.top+Fe*.79),new ft(m.bounds.left+Fe*.16,m.bounds.top+Fe*.5549),new ft(m.bounds.left+Fe*.27347,m.bounds.top+Fe*.44071),new ft(m.bounds.left+Fe*.39694,m.bounds.top+Fe*.5649),new ft(m.bounds.left+Fe*.72983,m.boun
vendor: 4,089 bytes, line 466
466ds.top+Fe*.23),new ft(m.bounds.left+Fe*.84,m.bounds.top+Fe*.34085),new ft(m.bounds.left+Fe*.39363,m.bounds.top+Fe*.79)]),this.ctx.fillStyle=Wn(uB),this.ctx.fill(),this.ctx.restore()):m.type===mp&&m.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(m.bounds.left+Fe/2,m.bounds.top+Fe/2,Fe/4,0,Math.PI*2,!0),this.ctx.fillStyle=Wn(uB),this.ctx.fill(),this.ctx.restore())),$3(m)&&m.value.length){switch(Le=this.createFontStyle(I),Yt=Le[0],pt=Le[1],nt=this.fontMetrics.getMetrics(Yt,pt).baseline,this.ctx.font=Yt,this.ctx.fillStyle=Wn(I.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=q3(m.styles.textAlign),Mt=Ep(m),lt=0,m.styles.textAlign){case 1:lt+=Mt.width/2;break;case 2:lt+=Mt.width;break}Wt=Mt.add(lt,0,0,-Mt.height/2+1),this.ctx.save(),this.path([new ft(Mt.left,Mt.top),new ft(Mt.left+Mt.width,Mt.top),new ft(Mt.left+Mt.width,Mt.top+Mt.height),new ft(Mt.left,Mt.top+Mt.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new Ea(m.value,Wt),I.letterSpacing,nt),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!pe(m.styles.display,2048))return[3,20];if(m.styles.listStyleImage===null)return[3,19];if(bt=m.styles.listStyleImage,bt.type!==0)return[3,18];xt=void 0,pn=bt.url,ht.label=15;case 15:return ht.trys.push([15,17,,18]),[4,this.context.cache.match(pn)];case 16:return xt=ht.sent(),this.ctx.drawImage(xt,m.bounds.left-(xt.width+10),m.bounds.top),[3,18];case 17:return ht.sent(),this.context.logger.error("Error loading list-style-image "+pn),[3,18];case 18:return[3,20];case 19:w.listValue&&m.styles.listStyleType!==-1&&(Yt=this.createFontStyle(I)[0],this.ctx.font=Yt,this.ctx.fillStyle=Wn(I.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",Mt=new o(m.bounds.left,m.bounds.top+un(m.styles.paddingTop,m.bounds.width),m.bounds.width,ls(I.lineHeight,I.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new Ea(w.listValue,Mt),I.letterSpacing,ls(I.lineHeight,I.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),ht.label=20;case 20:return[2]}})})},d.prototype.renderStackContent=function(w){return A(this,void 0,void 0,function(){var m,_,bt,I,z,bt,Z,Y,bt,de,ye,bt,Fe,Le,bt,pt,nt,bt,lt,Wt,bt;return s(this,function(xt){switch(xt.label){case 0:if(pe(w.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(w.element)];case 1:xt.sent(),m=0,_=w.negativeZIndex,xt.label=2;case 2:return m<_.length?(bt=_[m],[4,this.renderStack(bt)]):[3,5];case 3:xt.sent(),xt.label=4;case 4:return m++,[3,2];case 5:return[4,this.renderNodeContent(w.element)];case 6:xt.sent(),I=0,z=w.nonInlineLevel,xt.label=7;case 7:return I<z.length?(bt=z[I],[4,this.renderNode(bt)]):[3,10];case 8:xt.sent(),xt.label=9;case 9:return I++,[3,7];case 10:Z=0,Y=w.nonPositionedFloats,xt.label=11;case 11:return Z<Y.length?(bt=Y[Z],[4,this.renderStack(bt)]):[3,14];case 12:xt.sent(),xt.label=13;case 13:return Z++,[3,11];case 14:de=0,ye=w.nonPositionedInlineLevel,xt.label=15;case 15:return de<ye.length?(bt=ye[de],[4,this.renderStack(bt)]):[3,18];case 16:xt.sent(),xt.label=17;case 17:return de++,[3,15];case 18:Fe=0,Le=w.inlineLevel,xt.label=19;case 19:return Fe<Le.length?(bt=Le[Fe],[4,this.renderNode(bt)]):[3,22];case 20:xt.sent(),xt.label=21;case 21:return Fe++,[3,19];case 22:pt=0,nt=w.zeroOrAutoZIndexOrTransformedOrOpacity,xt.label=23;case 23:return pt<nt.length?(bt=nt[pt],[4,this.renderStack(bt)]):[3,26];case 24:xt.sent(),xt.label=25;case 25:return pt++,[3,23];case 26:lt=0,Wt=w.positiveZIndex,xt.label=27;case 27:return lt<Wt.length?(bt=Wt[lt],[4,this.renderStack(bt)]):[3,30];case 28:xt.sent(),xt.label=29;case 29:return lt++,[3,27];case 30:return[2]}})})},d.prototype.mask=function(w){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(w.slice(0).reverse()),this.ctx.closePath()},d.prototype.path=function(w){this.ctx.beginPath(),this.formatPath(w),this.ctx.closePath()},d.prototype.formatPath=function(w){var m=this;
vendor: 4,203 bytes, line 466
466w.forEach(function(_,I){var z=KA(_)?_.start:_;I===0?m.ctx.moveTo(z.x,z.y):m.ctx.lineTo(z.x,z.y),KA(_)&&m.ctx.bezierCurveTo(_.startControl.x,_.startControl.y,_.endControl.x,_.endControl.y,_.end.x,_.end.y)})},d.prototype.renderRepeat=function(w,m,_,I){this.path(w),this.ctx.fillStyle=m,this.ctx.translate(_,I),this.ctx.fill(),this.ctx.translate(-_,-I)},d.prototype.resizeImage=function(w,m,_){var I;if(w.width===m&&w.height===_)return w;var z=(I=this.canvas.ownerDocument)!==null&&I!==void 0?I:document,Z=z.createElement("canvas");Z.width=Math.max(1,m),Z.height=Math.max(1,_);var Y=Z.getContext("2d");return Y.drawImage(w,0,0,w.width,w.height,0,0,m,_),Z},d.prototype.renderBackgroundImage=function(w){return A(this,void 0,void 0,function(){var m,_,I,z,Z,Y;return s(this,function(de){switch(de.label){case 0:m=w.styles.backgroundImage.length-1,_=function(ye){var Fe,Le,pt,vr,Xi,Yi,Sn,Jr,an,nt,vr,Xi,Yi,Sn,Jr,lt,Wt,bt,xt,pn,Yt,Mt,ht,on,an,zt,vr,Ji,BA,Sn,Jr,ka,Xi,Yi,Ml,$s,Ia,Kl,zl,jo,Vl,No;return s(this,function(mc){switch(mc.label){case 0:if(ye.type!==0)return[3,5];Fe=void 0,Le=ye.url,mc.label=1;case 1:return mc.trys.push([1,3,,4]),[4,I.context.cache.match(Le)];case 2:return Fe=mc.sent(),[3,4];case 3:return mc.sent(),I.context.logger.error("Error loading background-image "+Le),[3,4];case 4:return Fe&&(pt=Y0(w,m,[Fe.width,Fe.height,Fe.width/Fe.height]),vr=pt[0],Xi=pt[1],Yi=pt[2],Sn=pt[3],Jr=pt[4],an=I.ctx.createPattern(I.resizeImage(Fe,Sn,Jr),"repeat"),I.renderRepeat(vr,an,Xi,Yi)),[3,6];case 5:as(ye)?(nt=Y0(w,m,[null,null,null]),vr=nt[0],Xi=nt[1],Yi=nt[2],Sn=nt[3],Jr=nt[4],lt=da(ye.angle,Sn,Jr),Wt=lt[0],bt=lt[1],xt=lt[2],pn=lt[3],Yt=lt[4],Mt=document.createElement("canvas"),Mt.width=Sn,Mt.height=Jr,ht=Mt.getContext("2d"),on=ht.createLinearGradient(bt,pn,xt,Yt),Tr(ye.stops,Wt).forEach(function(sh){return on.addColorStop(sh.stop,Wn(sh.color))}),ht.fillStyle=on,ht.fillRect(0,0,Sn,Jr),Sn>0&&Jr>0&&(an=I.ctx.createPattern(Mt,"repeat"),I.renderRepeat(vr,an,Xi,Yi))):jl(ye)&&(zt=Y0(w,m,[null,null,null]),vr=zt[0],Ji=zt[1],BA=zt[2],Sn=zt[3],Jr=zt[4],ka=ye.position.length===0?[Bo]:ye.position,Xi=un(ka[0],Sn),Yi=un(ka[ka.length-1],Jr),Ml=Co(ye,Xi,Yi,Sn,Jr),$s=Ml[0],Ia=Ml[1],$s>0&&Ia>0&&(Kl=I.ctx.createRadialGradient(Ji+Xi,BA+Yi,0,Ji+Xi,BA+Yi,$s),Tr(ye.stops,$s*2).forEach(function(sh){return Kl.addColorStop(sh.stop,Wn(sh.color))}),I.path(vr),I.ctx.fillStyle=Kl,$s!==Ia?(zl=w.bounds.left+.5*w.bounds.width,jo=w.bounds.top+.5*w.bounds.height,Vl=Ia/$s,No=1/Vl,I.ctx.save(),I.ctx.translate(zl,jo),I.ctx.transform(1,0,0,Vl,0,0),I.ctx.translate(-zl,-jo),I.ctx.fillRect(Ji,No*(BA-jo)+jo,Sn,Jr*No),I.ctx.restore()):I.ctx.fill())),mc.label=6;case 6:return m--,[2]}})},I=this,z=0,Z=w.styles.backgroundImage.slice(0).reverse(),de.label=1;case 1:return z<Z.length?(Y=Z[z],[5,_(Y)]):[3,4];case 2:de.sent(),de.label=3;case 3:return z++,[3,1];case 4:return[2]}})})},d.prototype.renderSolidBorder=function(w,m,_){return A(this,void 0,void 0,function(){return s(this,function(I){return this.path(RB(_,m)),this.ctx.fillStyle=Wn(w),this.ctx.fill(),[2]})})},d.prototype.renderDoubleBorder=function(w,m,_,I){return A(this,void 0,void 0,function(){var z,Z;return s(this,function(Y){switch(Y.label){case 0:return m<3?[4,this.renderSolidBorder(w,_,I)]:[3,2];case 1:return Y.sent(),[2];case 2:return z=P3(I,_),this.path(z),this.ctx.fillStyle=Wn(w),this.ctx.fill(),Z=T3(I,_),this.path(Z),this.ctx.fill(),[2]}})})},d.prototype.renderNodeBackgroundAndBorders=function(w){return A(this,void 0,void 0,function(){var m,_,I,z,Z,Y,de,ye,Fe=this;return s(this,function(Le){switch(Le.label){case 0:return this.applyEffects(w.getEffects(2)),m=w.container.styles,_=!pA(m.backgroundColor)||m.backgroundImage.length,I=[{style:m.borderTopStyle,color:m.borderTopColor,width:m.borderTopWidth},{style:m.borderRightStyle,color:m.borderRightColor,width:m.borderRightWidth},{style:m.borderBottomStyle,color:m.borderBottomColor,width:m.borderBottomWidth},{style:m.borderLeftStyle,color:m.borderLeftColor,width:m.borderLeftWidth}],z=W3(gc(m.backgroundClip,0),w.curves),_||m.boxShadow.length?(this.ctx.save(),this.path(z),this.ctx.clip(),pA(m.backgroundColor)||(this.ctx.fillStyle=Wn(m.backgroundColor),this.ctx.fill()),[4,this.renderBackgroun
vendor: 9,682 bytes, lines 466-470
466dImage(w.container)]):[3,2];case 1:Le.sent(),this.ctx.restore(),m.boxShadow.slice(0).reverse().forEach(function(pt){Fe.ctx.save();var nt=bp(w.curves),lt=pt.inset?0:V3,Wt=j3(nt,-lt+(pt.inset?1:-1)*pt.spread.number,(pt.inset?1:-1)*pt.spread.number,pt.spread.number*(pt.inset?-2:2),pt.spread.number*(pt.inset?-2:2));pt.inset?(Fe.path(nt),Fe.ctx.clip(),Fe.mask(Wt)):(Fe.mask(nt),Fe.ctx.clip(),Fe.path(Wt)),Fe.ctx.shadowOffsetX=pt.offsetX.number+lt,Fe.ctx.shadowOffsetY=pt.offsetY.number,Fe.ctx.shadowColor=Wn(pt.color),Fe.ctx.shadowBlur=pt.blur.number,Fe.ctx.fillStyle=pt.inset?Wn(pt.color):"rgba(0,0,0,1)",Fe.ctx.fill(),Fe.ctx.restore()}),Le.label=2;case 2:Z=0,Y=0,de=I,Le.label=3;case 3:return Y<de.length?(ye=de[Y],ye.style!==0&&!pA(ye.color)&&ye.width>0?ye.style!==2?[3,5]:[4,this.renderDashedDottedBorder(ye.color,ye.width,Z,w.curves,2)]:[3,11]):[3,13];case 4:return Le.sent(),[3,11];case 5:return ye.style!==3?[3,7]:[4,this.renderDashedDottedBorder(ye.color,ye.width,Z,w.curves,3)];case 6:return Le.sent(),[3,11];case 7:return ye.style!==4?[3,9]:[4,this.renderDoubleBorder(ye.color,ye.width,Z,w.curves)];case 8:return Le.sent(),[3,11];case 9:return[4,this.renderSolidBorder(ye.color,Z,w.curves)];case 10:Le.sent(),Le.label=11;case 11:Z++,Le.label=12;case 12:return Y++,[3,3];case 13:return[2]}})})},d.prototype.renderDashedDottedBorder=function(w,m,_,I,z){return A(this,void 0,void 0,function(){var Z,Y,de,ye,Fe,Le,pt,nt,lt,Wt,bt,xt,pn,Yt,Mt,ht,Mt,ht;return s(this,function(on){return this.ctx.save(),Z=O3(I,_),Y=RB(I,_),z===2&&(this.path(Y),this.ctx.clip()),KA(Y[0])?(de=Y[0].start.x,ye=Y[0].start.y):(de=Y[0].x,ye=Y[0].y),KA(Y[1])?(Fe=Y[1].end.x,Le=Y[1].end.y):(Fe=Y[1].x,Le=Y[1].y),_===0||_===2?pt=Math.abs(de-Fe):pt=Math.abs(ye-Le),this.ctx.beginPath(),z===3?this.formatPath(Z):this.formatPath(Y.slice(0,2)),nt=m<3?m*3:m*2,lt=m<3?m*2:m,z===3&&(nt=m,lt=m),Wt=!0,pt<=nt*2?Wt=!1:pt<=nt*2+lt?(bt=pt/(2*nt+lt),nt*=bt,lt*=bt):(xt=Math.floor((pt+lt)/(nt+lt)),pn=(pt-xt*nt)/(xt-1),Yt=(pt-(xt+1)*nt)/xt,lt=Yt<=0||Math.abs(lt-pn)<Math.abs(lt-Yt)?pn:Yt),Wt&&(z===3?this.ctx.setLineDash([0,nt+lt]):this.ctx.setLineDash([nt,lt])),z===3?(this.ctx.lineCap="round",this.ctx.lineWidth=m):this.ctx.lineWidth=m*2+1.1,this.ctx.strokeStyle=Wn(w),this.ctx.stroke(),this.ctx.setLineDash([]),z===2&&(KA(Y[0])&&(Mt=Y[3],ht=Y[0],this.ctx.beginPath(),this.formatPath([new ft(Mt.end.x,Mt.end.y),new ft(ht.start.x,ht.start.y)]),this.ctx.stroke()),KA(Y[1])&&(Mt=Y[1],ht=Y[2],this.ctx.beginPath(),this.formatPath([new ft(Mt.end.x,Mt.end.y),new ft(ht.start.x,ht.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},d.prototype.render=function(w){return A(this,void 0,void 0,function(){var m;return s(this,function(_){switch(_.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=Wn(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),m=N3(w),[4,this.renderStack(m)];case 1:return _.sent(),this.applyEffects([]),[2,this.canvas]}})})},d}(MB),$3=function(g){return g instanceof fB||g instanceof cB?!0:g instanceof H0&&g.type!==mp&&g.type!==gp},W3=function(g,d){switch(g){case 0:return bp(d);case 2:return U3(d);case 1:default:return Cp(d)}},q3=function(g){switch(g){case 1:return"center";case 2:return"right";case 0:default:return"left"}},J3=["-apple-system","system-ui"],X3=function(g){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?g.filter(function(d){return J3.indexOf(d)===-1}):g},Y3=function(g){r(d,g);function d(w,m){var _=g.call(this,w,m)||this;return _.canvas=m.canvas?m.canvas:document.createElement("canvas"),_.ctx=_.canvas.getContext("2d"),_.options=m,_.canvas.width=Math.floor(m.width*m.scale),_.canvas.height=Math.floor(m.height*m.scale),_.canvas.style.width=m.width+"px",_.canvas.style.height=m.height+"px",_.ctx.scale(_.options.scale,_.options.scale),_.ctx.translate(-m.x,-m.y),_.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+m.width+"x"+m.height+" at "+m.x+","+m.y+") with scale "+m.scale),_}return d.prototype.render=function(w){return A(this,void 0,void 0,function(){var m,_;return s(this,function(I){switch(I.label){case 0:return m=Zf(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,w),[4,Z3(m)];case 1:return _=I.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=Wn(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(_,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},d}(MB),Z3=function(g){return new Promise(function(d,w){var m=new Image;m.onload=function(){d(m)},m.onerror=w,m.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(g))})},eU=function(){function g(d){var w=d.id,m=d.enabled;this.id=w,this.enabled=m,this.start=Date.now()}return g.prototype.debug=function(){for(var d=[],w=0;w<arguments.length;w++)d[w]=arguments[w];this.enabled&&(typeof window<"u"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,a([this.id,this.getTime()+"ms"],d)):this.info.apply(this,d))},g.prototype.getTime=function(){return Date.now()-this.start},g.prototype.info=function(){for(var d=[],w=0;w<arguments.length;w++)d[w]=arguments[w];this.enabled&&typeof window<"u"&&window.console&&typeof console.info=="function"&&console.info.apply(console,a([this.id,this.getTime()+"ms"],d))},g.prototype.warn=function(){for(var d=[],w=0;w<arguments.length;w++)d[w]=arguments[w];this.enabled&&(typeof window<"u"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,a([this.id,this.getTime()+"ms"],d)):this.info.apply(this,d))},g.prototype.error=function(){for(var d=[],w=0;w<arguments.length;w++)d[w]=arguments[w];this.enabled&&(typeof window<"u"&&window.console&&typeof console.error=="function"?console.error.apply(console,a([this.id,this.getTime()+"ms"],d)):this.info.apply(this,d))},g.instances={},g}(),tU=function(){function g(d,w){var m;this.windowBounds=w,this.instanceName="#"+g.instanceCount++,this.logger=new eU({id:this.instanceName,enabled:d.logging}),this.cache=(m=d.cache)!==null&&m!==void 0?m:new B3(this,d)}return g.instanceCount=1,g}(),nU=function(g,d){return d===void 0&&(d={}),rU(g,d)};typeof window<"u"&&LB.setContext(window);var rU=function(g,d){return A(void 0,void 0,void 0,function(){var w,m,_,I,z,Z,Y,de,ye,Fe,Le,pt,nt,lt,Wt,bt,xt,pn,Yt,Mt,on,ht,on,an,zt,vr,Ji,BA,Sn,Jr,ka,Xi,Yi,Ml,$s,Ia,Kl,zl,jo,Vl;return s(this,function(No){switch(No.label){case 0:if(!g||typeof g!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(w=g.ownerDocument,!w)throw new Error("Element is not attached to a Document");if(m=w.defaultView,!m)throw new Error("Document is not attached to a Window");return _={allowTaint:(an=d.allowTaint)!==null&&an!==void 0?an:!1,imageTimeout:(zt=d.imageTimeout)!==null&&zt!==void 0?zt:15e3,proxy:d.proxy,useCORS:(vr=d.useCORS)!==null&&vr!==void 0?vr:!1},I=i({logging:(Ji=d.logging)!==null&&Ji!==void 0?Ji:!0,cache:d.cache},_),z={windowWidth:(BA=d.windowWidth)!==null&&BA!==void 0?BA:m.innerWidth,windowHeight:(Sn=d.windowHeight)!==null&&Sn!==void 0?Sn:m.innerHeight,scrollX:(Jr=d.scrollX)!==null&&Jr!==void 0?Jr:m.pageXOffset,scrollY:(ka=d.scrollY)!==null&&ka!==void 0?ka:m.pageYOffset},Z=new o(z.scrollX,z.scrollY,z.windowWidth,z.windowHeight),Y=new tU(I,Z),de=(Xi=d.foreignObjectRendering)!==null&&Xi!==void 0?Xi:!1,ye={allowTaint:(Yi=d.allowTaint)!==null&&Yi!==void 0?Yi:!1,onclone:d.onclone,ignoreElements:d.ignoreElements,inlineImages:de,copyStyles:de},Y.logger.debug("Starting document clone with size "+Z.width+"x"+Z.height+" scrolled to "+-Z.left+","+-Z.top),Fe=new kB(Y,g,ye),Le=Fe.clonedReferenceElement,Le?[4,Fe.toIFrame(w,Z)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return pt=No.sent(),nt=K0(Le)||i3(Le)?l(Le.ownerDocument):u(Y,Le),lt=nt.width,Wt=nt.height,bt=nt.left,xt=nt.top,pn=iU(Y,Le,d.backgroundColor),Yt={canvas:d.canvas,backgroundColor:pn,scale:($s=(Ml=d.scale)!==null&&Ml!==void 0?Ml:m.devicePixelRatio)!==null&&$s!==void 0?$s:1,x:((Ia=d.x)!==null&&Ia!==void 0?Ia:0)+bt,y:((Kl=d.y)!==null&&Kl!==void 0?Kl:0)+xt,width:(zl=d.width)!==null&&zl!==void 0?zl:Math.ceil(lt),height:(jo=d.height)!==null&&jo!==void 0?jo:Math.ceil(Wt)},de?(Y.logger.debug("Document cloned, using foreign object rendering"),on=new Y3(Y,Yt),[4,on.render(Le)]):[3,3];case 2:return Mt=No.sent(),[3,5];case 3:return Y.logger.debug("Document cloned, element located at "+bt+","+xt+" with size "+lt+"x"+Wt+" using computed rendering"),Y.logger.debug("Starting DOM parsing"),ht=pB(Y,Le),pn===ht.styles.backgroundColor&&(ht.styles.backgroundColor=ui.TRANSPARENT),Y.logger.debug("Starting renderer for element at "+Yt.x+","+Yt.y+" with size "+Yt.width+"x"+Yt.height),on=new G3(Y,Yt),[4,on.render(ht)];case 4:Mt=No.sent(),No.label=5;case 5:return(!((Vl=d.removeContainer)!==null&&Vl!==void 0)||Vl)&&(kB.destroy(pt)||Y.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),Y.logger.debug("Finished rendering"),[2,Mt]}})})},iU=function(g,d,w){var m=d.ownerDocument,_=m.documentElement?Ui(g,getComputedStyle(m.documentElement).backgroundColor):ui.TRANSPARENT,I=m.body?Ui(g,getComputedStyle(m.body).backgroundColor):ui.TRANSPARENT,z=typeof w=="string"?Ui(g,w):w===null?ui.TRANSPARENT:4294967295;return d===m.documentElement?pA(_)?pA(I)?z:I:_:z};return nU})}(hw)),hw.exports}/*!
467 * html2pdf.js v0.10.3
468 * Copyright (c) 2025 Erik Koopmans
469 * Released under the MIT License.
470 */(function(e,t){(function(r,i){e.exports=i(K7,z7())})(self,function(n,r){return function(){var i={
vendor: 1,260 bytes, line 470
470"./src/plugin/hyperlinks.js":function(o,u,l){l.r(u),l("./node_modules/core-js/modules/web.dom-collections.for-each.js"),l("./node_modules/core-js/modules/es.string.link.js");var c=l("./src/worker.js"),p=l("./src/utils.js"),f=[],x={toContainer:c.default.prototype.toContainer,toPdf:c.default.prototype.toPdf};c.default.prototype.toContainer=function(){return x.toContainer.call(this).then(function(){if(this.opt.enableLinks){var v=this.prop.container,B=v.querySelectorAll("a"),F=(0,p.unitConvert)(v.getBoundingClientRect(),this.prop.pageSize.k);f=[],Array.prototype.forEach.call(B,function(U){for(var N=U.getClientRects(),P=0;P<N.length;P++){var $=(0,p.unitConvert)(N[P],this.prop.pageSize.k);$.left-=F.left,$.top-=F.top;var G=Math.floor($.top/this.prop.pageSize.inner.height)+1,te=this.opt.margin[0]+$.top%this.prop.pageSize.inner.height,M=this.opt.margin[1]+$.left;f.push({page:G,top:te,left:M,clientRect:$,link:U})}},this)}})},c.default.prototype.toPdf=function(){return x.toPdf.call(this).then(function(){if(this.opt.enableLinks){f.forEach(function(B){this.prop.pdf.setPage(B.page),this.prop.pdf.link(B.left,B.top,B.clientRect.width,B.clientRect.height,{url:B.link.href})},this);var v=this.prop.pdf.internal.getNumberOfPages();this.prop.pdf.setPage(v)}})}},
470"./src/plugin/jspdf-plugin.js":function(o,u,l){l.r(u),l("./node_modules/core-js/modules/es.symbol.js"),l("./node_modules/core-js/modules/es.symbol.description.js"),l("./node_modules/core-js/modules/es.object.to-string.js"),l("./node_modules/core-js/modules/es.symbol.iterator.js"),l("./node_modules/core-js/modules/es.array.iterator.js"),l("./node_modules/core-js/modules/es.string.iterator.js"),l("./node_modules/core-js/modules/web.dom-collections.iterator.js");var c=l("jspdf");function p(f){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?p=function(b){return typeof b}:p=function(b){return b&&typeof Symbol=="function"&&b.constructor===Symbol&&b!==Symbol.prototype?"symbol":typeof b},p(f)}c.jsPDF.getPageSize=function(f,x,b){if(p(f)==="object"){var E=f;f=E.orientation,x=E.unit||x,b=E.format||b}x=x||"mm",b=b||"a4",f=(""+(f||"P")).toLowerCase();var v=(""+b).toLowerCase(),B={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(x){case"pt":var F=1;break;case"mm":var F=72/25.4;break;case"cm":var F=72/2.54;break;case"in":var F=72;break;case"px":var F=72/96;break;case"pc":var F=12;break;case"em":var F=12;break;case"ex":var F=6;break;default:throw"Invalid unit: "+x}if(B.hasOwnProperty(v))var U=B[v][1]/F,N=B[v][0]/F;else try{var U=b[1],N=b[0]}catch{throw new Error("Invalid format: "+b)}if(f==="p"||f==="portrait"){if(f="p",N>U){var P=N;N=U,U=P}}else if(f==="l"||f==="landscape"){if(f="l",U>N){var P=N;N=U,U=P}}else throw"Invalid orientation: "+f;var $={width:N,height:U,unit:x,k:F};return $},u.default=c.jsPDF},
vendor: 2,079 bytes, line 470
470"./src/plugin/pagebreaks.js":function(o,u,l){l.r(u),l("./node_modules/core-js/modules/es.array.concat.js"),l("./node_modules/core-js/modules/es.array.slice.js"),l("./node_modules/core-js/modules/es.array.join.js"),l("./node_modules/core-js/modules/web.dom-collections.for-each.js"),l("./node_modules/core-js/modules/es.object.keys.js");var c=l("./src/worker.js"),p=l("./src/utils.js"),f={toContainer:c.default.prototype.toContainer};c.default.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},c.default.prototype.toContainer=function(){return f.toContainer.call(this).then(function(){var E=this.prop.container,v=this.prop.pageSize.inner.px.height,B=[].concat(this.opt.pagebreak.mode),F={avoidAll:B.indexOf("avoid-all")!==-1,css:B.indexOf("css")!==-1,legacy:B.indexOf("legacy")!==-1},U={},N=this;["before","after","avoid"].forEach(function(G){var te=F.avoidAll&&G==="avoid";U[G]=te?[]:[].concat(N.opt.pagebreak[G]||[]),U[G].length>0&&(U[G]=Array.prototype.slice.call(E.querySelectorAll(U[G].join(", "))))});var P=E.querySelectorAll(".html2pdf__page-break");P=Array.prototype.slice.call(P);var $=E.querySelectorAll("*");Array.prototype.forEach.call($,function(te){var M={before:!1,after:F.legacy&&P.indexOf(te)!==-1,avoid:F.avoidAll};if(F.css){var j=window.getComputedStyle(te),D=["always","page","left","right"],X=["avoid","avoid-page"];M={before:M.before||D.indexOf(j.breakBefore||j.pageBreakBefore)!==-1,after:M.after||D.indexOf(j.breakAfter||j.pageBreakAfter)!==-1,avoid:M.avoid||X.indexOf(j.breakInside||j.pageBreakInside)!==-1}}Object.keys(M).forEach(function(ce){M[ce]=M[ce]||U[ce].indexOf(te)!==-1});var J=te.getBoundingClientRect();if(M.avoid&&!M.before){var Ae=Math.floor(J.top/v),le=Math.floor(J.bottom/v),we=Math.abs(J.bottom-J.top)/v;le!==Ae&&we<=1&&(M.before=!0)}if(M.before){var re=(0,p.createElement)("div",{style:{display:"block",height:v-J.top%v+"px"}});te.parentNode.insertBefore(re,te)}if(M.after){var re=(0,p.createElement)("div",{style:{display:"block",height:v-J.bottom%v+"px"}});te.parentNode.insertBefore(re,te.nextSibling)}})})}},
470"./src/utils.js":function(o,u,l){l.r(u),l.d(u,{objType:function(){return p},createElement:function(){return f},cloneNode:function(){return x},unitConvert:function(){return b},toPx:function(){return E}}),l("./node_modules/core-js/modules/es.number.constructor.js"),l("./node_modules/core-js/modules/es.symbol.js"),l("./node_modules/core-js/modules/es.symbol.description.js"),l("./node_modules/core-js/modules/es.object.to-string.js"),l("./node_modules/core-js/modules/es.symbol.iterator.js"),l("./node_modules/core-js/modules/es.array.iterator.js"),l("./node_modules/core-js/modules/es.string.iterator.js"),l("./node_modules/core-js/modules/web.dom-collections.iterator.js");function c(v){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?c=function(F){return typeof F}:c=function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},c(v)}var p=function(B){var F=c(B);return F==="undefined"?"undefined":F==="string"||B instanceof String?"string":F==="number"||B instanceof Number?"number":F==="function"||B instanceof Function?"function":B&&B.constructor===Array?"array":B&&B.nodeType===1?"element":F==="object"?"object":"unknown"},f=function(B,F){var U=document.createElement(B);if(F.className&&(U.className=F.className),F.innerHTML){U.innerHTML=F.innerHTML;for(var N=U.getElementsByTagName("script"),P=N.length;P-- >0;null)N[P].parentNode.removeChild(N[P])}for(var $ in F.style)U.style[$]=F.style[$];return U},x=function v(B,F){for(var U=B.nodeType===3?document.createTextNode(B.nodeValue):B.cloneNode(!1),N=B.firstChild;N;N=N.nextSibling)(F===!0||N.nodeType!==1||N.nodeName!=="SCRIPT")&&U.appendChild(v(N,F));return B.nodeType===1&&(B.nodeName==="CANVAS"?(U.width=B.width,U.height=B.height,U.getContext("2d").drawImage(B,0,0)):(B.nodeName==="TEXTAREA"||B.nodeName==="SELECT")&&(U.value=B.value),U.addEventListener("load",function(){U.scrollTop=B.scrollTop,U.scrollLeft=B.scrollLeft},!0)),U},b=function(B,F){if(p(B)==="number")return B*72/96/F;var U={};for(var N in B)U[N]=B[N]*72/96/F;return U},E=function(B,F){return Math.floor(B*F/72*96)}},
470"./src/worker.js":function(o,u,l){l.r(u),l("./node_modules/core-js/modules/es.object.assign.js"),l("./node_modules/core-js/modules/es.array.map.js"),l("./node_modules/core-js/modules/es.object.keys.js"),l("./node_modules/core-js/modules/es.array.concat.js"),l("./node_modules/core-js/modules/es.object.to-string.js"),l("./node_modules/core-js/modules/es.regexp.to-string.js"),l("./node_modules/core-js/modules/es.function.name.js"),l("./node_modules/core-js/modules/web.dom-collections.for-each.js");var c=l("jspdf"),p=l("html2canvas"),f=l("./src/utils.js"),x=l("./node_modules/es6-promise/dist/es6-promise.js"),b=l.n(x),E=b().Promise,v=function B(F){var U=Object.assign(B.convert(E.resolve()),JSON.parse(JSON.stringify(B.template))),N=B.convert(E.resolve(),U);return N=N.setProgress(1,B,1,[B]),N=N.set(F),N};v.prototype=Object.create(E.prototype),v.prototype.constructor=v,v.convert=function(F,U){return F.__proto__=U||v.prototype,F},v.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],image:{type:"jpeg",quality:.95},enableLinks:!0,html2canvas:{},jsPDF:{}}},v.prototype.from=function(F,U){function N(P){switch((0,f.objType)(P)){case"string":return"string";case"element":return P.nodeName.toLowerCase&&P.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){switch(U=U||N(F),U){case"string":return this.set({src:(0,f.createElement)("div",{innerHTML:F})});case"element":return this.set({src:F});case"canvas":return this.set({canvas:F});case"img":return this.set({img:F});default:return this.error("Unknown source type.")}})},v.prototype.to=function(F){switch(F){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.")}},v.prototype.toContainer=function(){var F=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(F).then(function(){var N={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},P={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};N.opacity=0;var $=(0,f.cloneNode)(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=(0,f.createElement)("div",{className:"html2pdf__overlay",style:N}),this.prop.container=(0,f.createElement)("div",{className:"html2pdf__container",style:P}),this.prop.container.appendChild($),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},v.prototype.toCanvas=function(){var F=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(F).then(function(){var N=Object.assign({},this.opt.html2canvas);return delete N.onrendered,p(this.prop.container,N)}).then(function(N){var P=this.opt.html2canvas.onrendered||function(){};P(N),this.prop.canvas=N,document.body.removeChild(this.prop.overlay)})},v.prototype.toImg=function(){var F=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(F).then(function(){var N=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=N})},v.prototype.toPdf=function(){var F=[function(){return this.prop.canvas||this.toCanvas()},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(F).then(function(){var N=this.prop.canvas,P=this.opt,$=N.height,G=Math.floor(N.width*this.prop.pageSize.inner.ratio),te=Math.ceil($/G),M=this.prop.pageSize.inner.height,j=document.createElement("canvas"),D=j.getContext("2d");j.width=N.width,j.height=G,this.prop.pdf=this.prop.pdf||new c.jsPDF(P.jsPDF);for(var X=0;X<te;X++){X===te-1&&$%G!==0&&(j.height=$%G,M=j.height*this.prop.pageSize.inner.width/j.width);var J=j.width,Ae=j.height;D.fillStyle="white",D.fillRect(0,0,J,Ae),D.drawImage(N,0,X*G,J,Ae,0,0,J,Ae),X&&this.prop.pdf.addPage();var le=j.toDataURL("image/"+P.image.type,P.image.quality);this.prop.pdf.addImage(le,P.image.type,P.margin[1],P.margin[0],this.prop.pageSize.inner.width,M)}})},v.prototype.output=function(F,U,N){return N=N||"pdf",N.toLowerCase()==="img"||N.toLowerCase()==="image"?this.outputImg(F,U):this.outputPdf(F,U)},v.prototype.outputPdf=function(F,U){var N=[function(){return this.prop.pdf||this.toPdf(
vendor: 3,483 bytes, line 470
470)}];return this.thenList(N).then(function(){return this.prop.pdf.output(F,U)})},v.prototype.outputImg=function(F,U){var N=[function(){return this.prop.img||this.toImg()}];return this.thenList(N).then(function(){switch(F){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 "'+F+'" is not supported.'}})},v.prototype.save=function(F){var U=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(U).set(F?{filename:F}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},v.prototype.set=function(F){if((0,f.objType)(F)!=="object")return this;var U=Object.keys(F||{}).map(function(N){switch(N){case"margin":return this.setMargin.bind(this,F.margin);case"jsPDF":return function(){return this.opt.jsPDF=F.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,F.pageSize);default:return N in v.template.prop?function(){this.prop[N]=F[N]}:function(){this.opt[N]=F[N]}}},this);return this.then(function(){return this.thenList(U)})},v.prototype.get=function(F,U){return this.then(function(){var P=F in v.template.prop?this.prop[F]:this.opt[F];return U?U(P):P})},v.prototype.setMargin=function(F){return this.then(function(){switch((0,f.objType)(F)){case"number":F=[F,F,F,F];case"array":if(F.length===2&&(F=[F[0],F[1],F[0],F[1]]),F.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=F}).then(this.setPageSize)},v.prototype.setPageSize=function(F){return this.then(function(){F=F||c.jsPDF.getPageSize(this.opt.jsPDF),F.hasOwnProperty("inner")||(F.inner={width:F.width-this.opt.margin[1]-this.opt.margin[3],height:F.height-this.opt.margin[0]-this.opt.margin[2]},F.inner.px={width:(0,f.toPx)(F.inner.width,F.k),height:(0,f.toPx)(F.inner.height,F.k)},F.inner.ratio=F.inner.height/F.inner.width),this.prop.pageSize=F})},v.prototype.setProgress=function(F,U,N,P){return F!=null&&(this.progress.val=F),U!=null&&(this.progress.state=U),N!=null&&(this.progress.n=N),P!=null&&(this.progress.stack=P),this.progress.ratio=this.progress.val/this.progress.state,this},v.prototype.updateProgress=function(F,U,N,P){return this.setProgress(F?this.progress.val+F:null,U||null,N?this.progress.n+N:null,P?this.progress.stack.concat(P):null)},v.prototype.then=function(F,U){var N=this;return this.thenCore(F,U,function($,G){return N.updateProgress(null,null,1,[$]),E.prototype.then.call(this,function(M){return N.updateProgress(null,$),M}).then($,G).then(function(M){return N.updateProgress(1),M})})},v.prototype.thenCore=function(F,U,N){N=N||E.prototype.then;var P=this;F&&(F=F.bind(P)),U&&(U=U.bind(P));var $=E.toString().indexOf("[native code]")!==-1&&E.name==="Promise",G=$?P:v.convert(Object.assign({},P),E.prototype),te=N.call(G,F,U);return v.convert(te,P.__proto__)},v.prototype.thenExternal=function(F,U){return E.prototype.then.call(this,F,U)},v.prototype.thenList=function(F){var U=this;return F.forEach(function(P){U=U.thenCore(P)}),U},v.prototype.catch=function(B){B&&(B=B.bind(this));var F=E.prototype.catch.call(this,B);return v.convert(F,this)},v.prototype.catchExternal=function(F){return E.prototype.catch.call(this,F)},v.prototype.error=function(F){return this.then(function(){throw new Error(F)})},v.prototype.using=v.prototype.set,v.prototype.saveAs=v.prototype.save,v.prototype.export=v.prototype.output,v.prototype.run=v.prototype.then,u.default=v},
vendor: 166 bytes, line 470
470"./node_modules/core-js/internals/a-function.js":function(o){o.exports=function(u){if(typeof u!="function")throw TypeError(String(u)+" is not a function");return u}},
vendor: 242 bytes, line 470
470"./node_modules/core-js/internals/a-possible-prototype.js":function(o,u,l){var c=l("./node_modules/core-js/internals/is-object.js");o.exports=function(p){if(!c(p)&&p!==null)throw TypeError("Can't set "+String(p)+" as a prototype");return p}},
vendor: 386 bytes, line 470
470"./node_modules/core-js/internals/add-to-unscopables.js":function(o,u,l){var c=l("./node_modules/core-js/internals/well-known-symbol.js"),p=l("./node_modules/core-js/internals/object-create.js"),f=l("./node_modules/core-js/internals/object-define-property.js"),x=c("unscopables"),b=Array.prototype;b[x]==null&&f.f(b,x,{configurable:!0,value:p(null)}),o.exports=function(E){b[x][E]=!0}},
vendor: 210 bytes, line 470
470"./node_modules/core-js/internals/an-object.js":function(o,u,l){var c=l("./node_modules/core-js/internals/is-object.js");o.exports=function(p){if(!c(p))throw TypeError(String(p)+" is not an object");return p}},
vendor: 314 bytes, line 470
470"./node_modules/core-js/internals/array-for-each.js":function(o,u,l){var c=l("./node_modules/core-js/internals/array-iteration.js").forEach,p=l("./node_modules/core-js/internals/array-method-is-strict.js"),f=p("forEach");o.exports=f?[].forEach:function(b){return c(this,b,arguments.length>1?arguments[1]:void 0)}},
vendor: 484 bytes, line 470
470"./node_modules/core-js/internals/array-includes.js":function(o,u,l){var c=l("./node_modules/core-js/internals/to-indexed-object.js"),p=l("./node_modules/core-js/internals/to-length.js"),f=l("./node_modules/core-js/internals/to-absolute-index.js"),x=function(b){return function(E,v,B){var F=c(E),U=p(F.length),N=f(B,U),P;if(b&&v!=v){for(;U>N;)if(P=F[N++],P!=P)return!0}else for(;U>N;N++)if((b||N in F)&&F[N]===v)return b||N||0;return!b&&-1}};o.exports={includes:x(!0),indexOf:x(!1)}},
vendor: 921 bytes, line 470
470"./node_modules/core-js/internals/array-iteration.js":function(o,u,l){var c=l("./node_modules/core-js/internals/function-bind-context.js"),p=l("./node_modules/core-js/internals/indexed-object.js"),f=l("./node_modules/core-js/internals/to-object.js"),x=l("./node_modules/core-js/internals/to-length.js"),b=l("./node_modules/core-js/internals/array-species-create.js"),E=[].push,v=function(B){var F=B==1,U=B==2,N=B==3,P=B==4,$=B==6,G=B==7,te=B==5||$;return function(M,j,D,X){for(var J=f(M),Ae=p(J),le=c(j,D,3),we=x(Ae.length),re=0,ce=X||b,H=F?ce(M,we):U||G?ce(M,0):void 0,Ue,T;we>re;re++)if((te||re in Ae)&&(Ue=Ae[re],T=le(Ue,re,J),B))if(F)H[re]=T;else if(T)switch(B){case 3:return!0;case 5:return Ue;case 6:return re;case 2:E.call(H,Ue)}else switch(B){case 4:return!1;case 7:E.call(H,Ue)}return $?-1:N||P?P:H}};o.exports={forEach:v(0),map:v(1),filter:v(2),some:v(3),every:v(4),find:v(5),findIndex:v(6),filterReject:v(7)}},
vendor: 419 bytes, line 470
470"./node_modules/core-js/internals/array-method-has-species-support.js":function(o,u,l){var c=l("./node_modules/core-js/internals/fails.js"),p=l("./node_modules/core-js/internals/well-known-symbol.js"),f=l("./node_modules/core-js/internals/engine-v8-version.js"),x=p("species");o.exports=function(b){return f>=51||!c(function(){var E=[],v=E.constructor={};return v[x]=function(){return{foo:1}},E[b](Boolean).foo!==1})}},
vendor: 232 bytes, line 470
470"./node_modules/core-js/internals/array-method-is-strict.js":function(o,u,l){var c=l("./node_modules/core-js/internals/fails.js");o.exports=function(p,f){var x=[][p];return!!x&&c(function(){x.call(null,f||function(){throw 1},1)})}},
vendor: 440 bytes, line 470
470"./node_modules/core-js/internals/array-species-constructor.js":function(o,u,l){var c=l("./node_modules/core-js/internals/is-object.js"),p=l("./node_modules/core-js/internals/is-array.js"),f=l("./node_modules/core-js/internals/well-known-symbol.js"),x=f("species");o.exports=function(b){var E;return p(b)&&(E=b.constructor,typeof E=="function"&&(E===Array||p(E.prototype))?E=void 0:c(E)&&(E=E[x],E===null&&(E=void 0))),E===void 0?Array:E}},
vendor: 202 bytes, line 470
470"./node_modules/core-js/internals/array-species-create.js":function(o,u,l){var c=l("./node_modules/core-js/internals/array-species-constructor.js");o.exports=function(p,f){return new(c(p))(f===0?0:f)}},
vendor: 133 bytes, line 470
470"./node_modules/core-js/internals/classof-raw.js":function(o){var u={}.toString;o.exports=function(l){return u.call(l).slice(8,-1)}},
vendor: 548 bytes, line 470
470"./node_modules/core-js/internals/classof.js":function(o,u,l){var c=l("./node_modules/core-js/internals/to-string-tag-support.js"),p=l("./node_modules/core-js/internals/classof-raw.js"),f=l("./node_modules/core-js/internals/well-known-symbol.js"),x=f("toStringTag"),b=p(function(){return arguments}())=="Arguments",E=function(v,B){try{return v[B]}catch{}};o.exports=c?p:function(v){var B,F,U;return v===void 0?"Undefined":v===null?"Null":typeof(F=E(B=Object(v),x))=="string"?F:b?p(B):(U=p(B))=="Object"&&typeof B.callee=="function"?"Arguments":U}},
vendor: 436 bytes, line 470
470"./node_modules/core-js/internals/copy-constructor-properties.js":function(o,u,l){var c=l("./node_modules/core-js/internals/has.js"),p=l("./node_modules/core-js/internals/own-keys.js"),f=l("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),x=l("./node_modules/core-js/internals/object-define-property.js");o.exports=function(b,E){for(var v=p(E),B=x.f,F=f.f,U=0;U<v.length;U++){var N=v[U];c(b,N)||B(b,N,F(E,N))}}},
vendor: 252 bytes, line 470
470"./node_modules/core-js/internals/correct-prototype-getter.js":function(o,u,l){var c=l("./node_modules/core-js/internals/fails.js");o.exports=!c(function(){function p(){}return p.prototype.constructor=null,Object.getPrototypeOf(new p)!==p.prototype})},
vendor: 329 bytes, line 470
470"./node_modules/core-js/internals/create-html.js":function(o,u,l){var c=l("./node_modules/core-js/internals/require-object-coercible.js"),p=l("./node_modules/core-js/internals/to-string.js"),f=/"/g;o.exports=function(x,b,E,v){var B=p(c(x)),F="<"+b;return E!==""&&(F+=" "+E+'="'+p(v).replace(f,"&quot;")+'"'),F+">"+B+"</"+b+">"}},
vendor: 537 bytes, line 470
470"./node_modules/core-js/internals/create-iterator-constructor.js":function(o,u,l){var c=l("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,p=l("./node_modules/core-js/internals/object-create.js"),f=l("./node_modules/core-js/internals/create-property-descriptor.js"),x=l("./node_modules/core-js/internals/set-to-string-tag.js"),b=l("./node_modules/core-js/internals/iterators.js"),E=function(){return this};o.exports=function(v,B,F){var U=B+" Iterator";return v.prototype=p(c,{next:f(1,F)}),x(v,U,!1,!0),b[U]=E,v}},
vendor: 366 bytes, line 470
470"./node_modules/core-js/internals/create-non-enumerable-property.js":function(o,u,l){var c=l("./node_modules/core-js/internals/descriptors.js"),p=l("./node_modules/core-js/internals/object-define-property.js"),f=l("./node_modules/core-js/internals/create-property-descriptor.js");o.exports=c?function(x,b,E){return p.f(x,b,f(1,E))}:function(x,b,E){return x[b]=E,x}},
vendor: 173 bytes, line 470
470"./node_modules/core-js/internals/create-property-descriptor.js":function(o){o.exports=function(u,l){return{enumerable:!(u&1),configurable:!(u&2),writable:!(u&4),value:l}}},
vendor: 338 bytes, line 470
470"./node_modules/core-js/internals/create-property.js":function(o,u,l){var c=l("./node_modules/core-js/internals/to-property-key.js"),p=l("./node_modules/core-js/internals/object-define-property.js"),f=l("./node_modules/core-js/internals/create-property-descriptor.js");o.exports=function(x,b,E){var v=c(b);v in x?p.f(x,v,f(0,E)):x[v]=E}},
vendor: 1,730 bytes, line 470
470"./node_modules/core-js/internals/define-iterator.js":function(o,u,l){var c=l("./node_modules/core-js/internals/export.js"),p=l("./node_modules/core-js/internals/create-iterator-constructor.js"),f=l("./node_modules/core-js/internals/object-get-prototype-of.js"),x=l("./node_modules/core-js/internals/object-set-prototype-of.js"),b=l("./node_modules/core-js/internals/set-to-string-tag.js"),E=l("./node_modules/core-js/internals/create-non-enumerable-property.js"),v=l("./node_modules/core-js/internals/redefine.js"),B=l("./node_modules/core-js/internals/well-known-symbol.js"),F=l("./node_modules/core-js/internals/is-pure.js"),U=l("./node_modules/core-js/internals/iterators.js"),N=l("./node_modules/core-js/internals/iterators-core.js"),P=N.IteratorPrototype,$=N.BUGGY_SAFARI_ITERATORS,G=B("iterator"),te="keys",M="values",j="entries",D=function(){return this};o.exports=function(X,J,Ae,le,we,re,ce){p(Ae,J,le);var H=function(Me){if(Me===we&&oe)return oe;if(!$&&Me in L)return L[Me];switch(Me){case te:return function(){return new Ae(this,Me)};case M:return function(){return new Ae(this,Me)};case j:return function(){return new Ae(this,Me)}}return function(){return new Ae(this)}},Ue=J+" Iterator",T=!1,L=X.prototype,ne=L[G]||L["@@iterator"]||we&&L[we],oe=!$&&ne||H(we),ae=J=="Array"&&L.entries||ne,ve,be,Se;if(ae&&(ve=f(ae.call(new X)),P!==Object.prototype&&ve.next&&(!F&&f(ve)!==P&&(x?x(ve,P):typeof ve[G]!="function"&&E(ve,G,D)),b(ve,Ue,!0,!0),F&&(U[Ue]=D))),we==M&&ne&&ne.name!==M&&(T=!0,oe=function(){return ne.call(this)}),(!F||ce)&&L[G]!==oe&&E(L,G,oe),U[J]=oe,we)if(be={values:H(M),keys:re?oe:H(te),entries:H(j)},ce)for(Se in be)($||T||!(Se in L))&&v(L,Se,be[Se]);else c({target:J,proto:!0,forced:$||T},be);return be}},
vendor: 399 bytes, line 470
470"./node_modules/core-js/internals/define-well-known-symbol.js":function(o,u,l){var c=l("./node_modules/core-js/internals/path.js"),p=l("./node_modules/core-js/internals/has.js"),f=l("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),x=l("./node_modules/core-js/internals/object-define-property.js").f;o.exports=function(b){var E=c.Symbol||(c.Symbol={});p(E,b)||x(E,b,{value:f.f(b)})}},
vendor: 214 bytes, line 470
470"./node_modules/core-js/internals/descriptors.js":function(o,u,l){var c=l("./node_modules/core-js/internals/fails.js");o.exports=!c(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},
vendor: 280 bytes, line 470
470"./node_modules/core-js/internals/document-create-element.js":function(o,u,l){var c=l("./node_modules/core-js/internals/global.js"),p=l("./node_modules/core-js/internals/is-object.js"),f=c.document,x=p(f)&&p(f.createElement);o.exports=function(b){return x?f.createElement(b):{}}},
vendor: 577 bytes, line 470
470"./node_modules/core-js/internals/dom-iterables.js":function(o){o.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},
vendor: 174 bytes, line 470
470"./node_modules/core-js/internals/engine-user-agent.js":function(o,u,l){var c=l("./node_modules/core-js/internals/get-built-in.js");o.exports=c("navigator","userAgent")||""},
vendor: 396 bytes, line 470
470"./node_modules/core-js/internals/engine-v8-version.js":function(o,u,l){var c=l("./node_modules/core-js/internals/global.js"),p=l("./node_modules/core-js/internals/engine-user-agent.js"),f=c.process,x=c.Deno,b=f&&f.versions||x&&x.version,E=b&&b.v8,v,B;E?(v=E.split("."),B=v[0]<4?1:v[0]+v[1]):p&&(v=p.match(/Edge\/(\d+)/),(!v||v[1]>=74)&&(v=p.match(/Chrome\/(\d+)/),v&&(B=v[1]))),o.exports=B&&+B},
vendor: 185 bytes, line 470
470"./node_modules/core-js/internals/enum-bug-keys.js":function(o){o.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},
vendor: 835 bytes, line 470
470"./node_modules/core-js/internals/export.js":function(o,u,l){var c=l("./node_modules/core-js/internals/global.js"),p=l("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,f=l("./node_modules/core-js/internals/create-non-enumerable-property.js"),x=l("./node_modules/core-js/internals/redefine.js"),b=l("./node_modules/core-js/internals/set-global.js"),E=l("./node_modules/core-js/internals/copy-constructor-properties.js"),v=l("./node_modules/core-js/internals/is-forced.js");o.exports=function(B,F){var U=B.target,N=B.global,P=B.stat,$,G,te,M,j,D;if(N?G=c:P?G=c[U]||b(U,{}):G=(c[U]||{}).prototype,G)for(te in F){if(j=F[te],B.noTargetGet?(D=p(G,te),M=D&&D.value):M=G[te],$=v(N?te:U+(P?".":"#")+te,B.forced),!$&&M!==void 0){if(typeof j==typeof M)continue;E(j,M)}(B.sham||M&&M.sham)&&f(j,"sham",!0),x(G,te,j,B)}}},
vendor: 112 bytes, line 470
470"./node_modules/core-js/internals/fails.js":function(o){o.exports=function(u){try{return!!u()}catch{return!0}}},
vendor: 440 bytes, line 470
470"./node_modules/core-js/internals/function-bind-context.js":function(o,u,l){var c=l("./node_modules/core-js/internals/a-function.js");o.exports=function(p,f,x){if(c(p),f===void 0)return p;switch(x){case 0:return function(){return p.call(f)};case 1:return function(b){return p.call(f,b)};case 2:return function(b,E){return p.call(f,b,E)};case 3:return function(b,E,v){return p.call(f,b,E,v)}}return function(){return p.apply(f,arguments)}}},
vendor: 247 bytes, line 470
470"./node_modules/core-js/internals/get-built-in.js":function(o,u,l){var c=l("./node_modules/core-js/internals/global.js"),p=function(f){return typeof f=="function"?f:void 0};o.exports=function(f,x){return arguments.length<2?p(c[f]):c[f]&&c[f][x]}},
vendor: 306 bytes, line 470
470"./node_modules/core-js/internals/global.js":function(o){var u=function(l){return l&&l.Math==Math&&l};o.exports=u(typeof globalThis=="object"&&globalThis)||u(typeof window=="object"&&window)||u(typeof self=="object"&&self)||u(typeof gr=="object"&&gr)||function(){return this}()||Function("return this")()},
vendor: 198 bytes, line 470
470"./node_modules/core-js/internals/has.js":function(o,u,l){var c=l("./node_modules/core-js/internals/to-object.js"),p={}.hasOwnProperty;o.exports=Object.hasOwn||function(x,b){return p.call(c(x),b)}},
vendor: 76 bytes, line 470
470"./node_modules/core-js/internals/hidden-keys.js":function(o){o.exports={}},
vendor: 162 bytes, line 470
470"./node_modules/core-js/internals/html.js":function(o,u,l){var c=l("./node_modules/core-js/internals/get-built-in.js");o.exports=c("document","documentElement")},
vendor: 350 bytes, line 470
470"./node_modules/core-js/internals/ie8-dom-define.js":function(o,u,l){var c=l("./node_modules/core-js/internals/descriptors.js"),p=l("./node_modules/core-js/internals/fails.js"),f=l("./node_modules/core-js/internals/document-create-element.js");o.exports=!c&&!p(function(){return Object.defineProperty(f("div"),"a",{get:function(){return 7}}).a!=7})},
vendor: 322 bytes, line 470
470"./node_modules/core-js/internals/indexed-object.js":function(o,u,l){var c=l("./node_modules/core-js/internals/fails.js"),p=l("./node_modules/core-js/internals/classof-raw.js"),f="".split;o.exports=c(function(){return!Object("z").propertyIsEnumerable(0)})?function(x){return p(x)=="String"?f.call(x,""):Object(x)}:Object},
vendor: 332 bytes, line 470
470"./node_modules/core-js/internals/inherit-if-required.js":function(o,u,l){var c=l("./node_modules/core-js/internals/is-object.js"),p=l("./node_modules/core-js/internals/object-set-prototype-of.js");o.exports=function(f,x,b){var E,v;return p&&typeof(E=x.constructor)=="function"&&E!==b&&c(v=E.prototype)&&v!==b.prototype&&p(f,v),f}},
vendor: 260 bytes, line 470
470"./node_modules/core-js/internals/inspect-source.js":function(o,u,l){var c=l("./node_modules/core-js/internals/shared-store.js"),p=Function.toString;typeof c.inspectSource!="function"&&(c.inspectSource=function(f){return p.call(f)}),o.exports=c.inspectSource},
vendor: 1,244 bytes, line 470
470"./node_modules/core-js/internals/internal-state.js":function(o,u,l){var c=l("./node_modules/core-js/internals/native-weak-map.js"),p=l("./node_modules/core-js/internals/global.js"),f=l("./node_modules/core-js/internals/is-object.js"),x=l("./node_modules/core-js/internals/create-non-enumerable-property.js"),b=l("./node_modules/core-js/internals/has.js"),E=l("./node_modules/core-js/internals/shared-store.js"),v=l("./node_modules/core-js/internals/shared-key.js"),B=l("./node_modules/core-js/internals/hidden-keys.js"),F="Object already initialized",U=p.WeakMap,N,P,$,G=function(Ae){return $(Ae)?P(Ae):N(Ae,{})},te=function(Ae){return function(le){var we;if(!f(le)||(we=P(le)).type!==Ae)throw TypeError("Incompatible receiver, "+Ae+" required");return we}};if(c||E.state){var M=E.state||(E.state=new U),j=M.get,D=M.has,X=M.set;N=function(Ae,le){if(D.call(M,Ae))throw new TypeError(F);return le.facade=Ae,X.call(M,Ae,le),le},P=function(Ae){return j.call(M,Ae)||{}},$=function(Ae){return D.call(M,Ae)}}else{var J=v("state");B[J]=!0,N=function(Ae,le){if(b(Ae,J))throw new TypeError(F);return le.facade=Ae,x(Ae,J,le),le},P=function(Ae){return b(Ae,J)?Ae[J]:{}},$=function(Ae){return b(Ae,J)}}o.exports={set:N,get:P,has:$,enforce:G,getterFor:te}},
vendor: 182 bytes, line 470
470"./node_modules/core-js/internals/is-array.js":function(o,u,l){var c=l("./node_modules/core-js/internals/classof-raw.js");o.exports=Array.isArray||function(f){return c(f)=="Array"}},
vendor: 351 bytes, line 470
470"./node_modules/core-js/internals/is-forced.js":function(o,u,l){var c=l("./node_modules/core-js/internals/fails.js"),p=/#|\.prototype\./,f=function(B,F){var U=b[x(B)];return U==v?!0:U==E?!1:typeof F=="function"?c(F):!!F},x=f.normalize=function(B){return String(B).replace(p,".").toLowerCase()},b=f.data={},E=f.NATIVE="N",v=f.POLYFILL="P";o.exports=f},
vendor: 140 bytes, line 470
470"./node_modules/core-js/internals/is-object.js":function(o){o.exports=function(u){return typeof u=="object"?u!==null:typeof u=="function"}},
vendor: 72 bytes, line 470
470"./node_modules/core-js/internals/is-pure.js":function(o){o.exports=!1},
vendor: 319 bytes, line 470
470"./node_modules/core-js/internals/is-symbol.js":function(o,u,l){var c=l("./node_modules/core-js/internals/get-built-in.js"),p=l("./node_modules/core-js/internals/use-symbol-as-uid.js");o.exports=p?function(f){return typeof f=="symbol"}:function(f){var x=c("Symbol");return typeof x=="function"&&Object(f)instanceof x}},
vendor: 712 bytes, line 470
470"./node_modules/core-js/internals/iterators-core.js":function(o,u,l){var c=l("./node_modules/core-js/internals/fails.js"),p=l("./node_modules/core-js/internals/object-get-prototype-of.js"),f=l("./node_modules/core-js/internals/create-non-enumerable-property.js"),x=l("./node_modules/core-js/internals/has.js"),b=l("./node_modules/core-js/internals/well-known-symbol.js"),E=l("./node_modules/core-js/internals/is-pure.js"),v=b("iterator"),B=!1,F=function(){return this},U,N,P;[].keys&&(P=[].keys(),"next"in P?(N=p(p(P)),N!==Object.prototype&&(U=N)):B=!0);var $=U==null||c(function(){var G={};return U[v].call(G)!==G});$&&(U={}),(!E||$)&&!x(U,v)&&f(U,v,F),o.exports={IteratorPrototype:U,BUGGY_SAFARI_ITERATORS:B}},
vendor: 74 bytes, line 470
470"./node_modules/core-js/internals/iterators.js":function(o){o.exports={}},
vendor: 327 bytes, line 470
470"./node_modules/core-js/internals/native-symbol.js":function(o,u,l){var c=l("./node_modules/core-js/internals/engine-v8-version.js"),p=l("./node_modules/core-js/internals/fails.js");o.exports=!!Object.getOwnPropertySymbols&&!p(function(){var f=Symbol();return!String(f)||!(Object(f)instanceof Symbol)||!Symbol.sham&&c&&c<41})},
vendor: 252 bytes, line 470
470"./node_modules/core-js/internals/native-weak-map.js":function(o,u,l){var c=l("./node_modules/core-js/internals/global.js"),p=l("./node_modules/core-js/internals/inspect-source.js"),f=c.WeakMap;o.exports=typeof f=="function"&&/native code/.test(p(f))},
vendor: 1,029 bytes, line 470
470"./node_modules/core-js/internals/object-assign.js":function(o,u,l){var c=l("./node_modules/core-js/internals/descriptors.js"),p=l("./node_modules/core-js/internals/fails.js"),f=l("./node_modules/core-js/internals/object-keys.js"),x=l("./node_modules/core-js/internals/object-get-own-property-symbols.js"),b=l("./node_modules/core-js/internals/object-property-is-enumerable.js"),E=l("./node_modules/core-js/internals/to-object.js"),v=l("./node_modules/core-js/internals/indexed-object.js"),B=Object.assign,F=Object.defineProperty;o.exports=!B||p(function(){if(c&&B({b:1},B(F({},"a",{enumerable:!0,get:function(){F(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var U={},N={},P=Symbol(),$="abcdefghijklmnopqrst";return U[P]=7,$.split("").forEach(function(G){N[G]=G}),B({},U)[P]!=7||f(B({},N)).join("")!=$})?function(N,P){for(var $=E(N),G=arguments.length,te=1,M=x.f,j=b.f;G>te;)for(var D=v(arguments[te++]),X=M?f(D).concat(M(D)):f(D),J=X.length,Ae=0,le;J>Ae;)le=X[Ae++],(!c||j.call(D,le))&&($[le]=D[le]);return $}:B},
vendor: 1,171 bytes, line 470
470"./node_modules/core-js/internals/object-create.js":function(o,u,l){var c=l("./node_modules/core-js/internals/an-object.js"),p=l("./node_modules/core-js/internals/object-define-properties.js"),f=l("./node_modules/core-js/internals/enum-bug-keys.js"),x=l("./node_modules/core-js/internals/hidden-keys.js"),b=l("./node_modules/core-js/internals/html.js"),E=l("./node_modules/core-js/internals/document-create-element.js"),v=l("./node_modules/core-js/internals/shared-key.js"),B=">",F="<",U="prototype",N="script",P=v("IE_PROTO"),$=function(){},G=function(X){return F+N+B+X+F+"/"+N+B},te=function(X){X.write(G("")),X.close();var J=X.parentWindow.Object;return X=null,J},M=function(){var X=E("iframe"),J="java"+N+":",Ae;if(X.style)return X.style.display="none",b.appendChild(X),X.src=String(J),Ae=X.contentWindow.document,Ae.open(),Ae.write(G("document.F=Object")),Ae.close(),Ae.F},j,D=function(){try{j=new ActiveXObject("htmlfile")}catch{}D=document.domain&&j?te(j):M()||te(j);for(var X=f.length;X--;)delete D[U][f[X]];return D()};x[P]=!0,o.exports=Object.create||function(J,Ae){var le;return J!==null?($[U]=c(J),le=new $,$[U]=null,le[P]=J):le=D(),Ae===void 0?le:p(le,Ae)}},
vendor: 436 bytes, line 470
470"./node_modules/core-js/internals/object-define-properties.js":function(o,u,l){var c=l("./node_modules/core-js/internals/descriptors.js"),p=l("./node_modules/core-js/internals/object-define-property.js"),f=l("./node_modules/core-js/internals/an-object.js"),x=l("./node_modules/core-js/internals/object-keys.js");o.exports=c?Object.defineProperties:function(E,v){f(E);for(var B=x(v),F=B.length,U=0,N;F>U;)p.f(E,N=B[U++],v[N]);return E}},
vendor: 508 bytes, line 470
470"./node_modules/core-js/internals/object-define-property.js":function(o,u,l){var c=l("./node_modules/core-js/internals/descriptors.js"),p=l("./node_modules/core-js/internals/ie8-dom-define.js"),f=l("./node_modules/core-js/internals/an-object.js"),x=l("./node_modules/core-js/internals/to-property-key.js"),b=Object.defineProperty;u.f=c?b:function(v,B,F){if(f(v),B=x(B),f(F),p)try{return b(v,B,F)}catch{}if("get"in F||"set"in F)throw TypeError("Accessors not supported");return"value"in F&&(v[B]=F.value),v}},
vendor: 658 bytes, line 470
470"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(o,u,l){var c=l("./node_modules/core-js/internals/descriptors.js"),p=l("./node_modules/core-js/internals/object-property-is-enumerable.js"),f=l("./node_modules/core-js/internals/create-property-descriptor.js"),x=l("./node_modules/core-js/internals/to-indexed-object.js"),b=l("./node_modules/core-js/internals/to-property-key.js"),E=l("./node_modules/core-js/internals/has.js"),v=l("./node_modules/core-js/internals/ie8-dom-define.js"),B=Object.getOwnPropertyDescriptor;u.f=c?B:function(U,N){if(U=x(U),N=b(N),v)try{return B(U,N)}catch{}if(E(U,N))return f(!p.f.call(U,N),U[N])}},
vendor: 480 bytes, line 470
470"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(o,u,l){var c=l("./node_modules/core-js/internals/to-indexed-object.js"),p=l("./node_modules/core-js/internals/object-get-own-property-names.js").f,f={}.toString,x=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],b=function(E){try{return p(E)}catch{return x.slice()}};o.exports.f=function(v){return x&&f.call(v)=="[object Window]"?b(v):p(c(v))}},
vendor: 302 bytes, line 470
470"./node_modules/core-js/internals/object-get-own-property-names.js":function(o,u,l){var c=l("./node_modules/core-js/internals/object-keys-internal.js"),p=l("./node_modules/core-js/internals/enum-bug-keys.js"),f=p.concat("length","prototype");u.f=Object.getOwnPropertyNames||function(b){return c(b,f)}},
vendor: 118 bytes, line 470
470"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(o,u){u.f=Object.getOwnPropertySymbols},
vendor: 525 bytes, line 470
470"./node_modules/core-js/internals/object-get-prototype-of.js":function(o,u,l){var c=l("./node_modules/core-js/internals/has.js"),p=l("./node_modules/core-js/internals/to-object.js"),f=l("./node_modules/core-js/internals/shared-key.js"),x=l("./node_modules/core-js/internals/correct-prototype-getter.js"),b=f("IE_PROTO"),E=Object.prototype;o.exports=x?Object.getPrototypeOf:function(v){return v=p(v),c(v,b)?v[b]:typeof v.constructor=="function"&&v instanceof v.constructor?v.constructor.prototype:v instanceof Object?E:null}},
vendor: 456 bytes, line 470
470"./node_modules/core-js/internals/object-keys-internal.js":function(o,u,l){var c=l("./node_modules/core-js/internals/has.js"),p=l("./node_modules/core-js/internals/to-indexed-object.js"),f=l("./node_modules/core-js/internals/array-includes.js").indexOf,x=l("./node_modules/core-js/internals/hidden-keys.js");o.exports=function(b,E){var v=p(b),B=0,F=[],U;for(U in v)!c(x,U)&&c(v,U)&&F.push(U);for(;E.length>B;)c(v,U=E[B++])&&(~f(F,U)||F.push(U));return F}},
vendor: 242 bytes, line 470
470"./node_modules/core-js/internals/object-keys.js":function(o,u,l){var c=l("./node_modules/core-js/internals/object-keys-internal.js"),p=l("./node_modules/core-js/internals/enum-bug-keys.js");o.exports=Object.keys||function(x){return c(x,p)}},
vendor: 230 bytes, line 470
470"./node_modules/core-js/internals/object-property-is-enumerable.js":function(o,u){var l={}.propertyIsEnumerable,c=Object.getOwnPropertyDescriptor,p=c&&!l.call({1:2},1);u.f=p?function(x){var b=c(this,x);return!!b&&b.enumerable}:l},
vendor: 470 bytes, line 470
470"./node_modules/core-js/internals/object-set-prototype-of.js":function(o,u,l){var c=l("./node_modules/core-js/internals/an-object.js"),p=l("./node_modules/core-js/internals/a-possible-prototype.js");o.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var f=!1,x={},b;try{b=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,b.call(x,[]),f=x instanceof Array}catch{}return function(v,B){return c(v),p(B),f?b.call(v,B):v.__proto__=B,v}}():void 0)},
vendor: 257 bytes, line 470
470"./node_modules/core-js/internals/object-to-string.js":function(o,u,l){var c=l("./node_modules/core-js/internals/to-string-tag-support.js"),p=l("./node_modules/core-js/internals/classof.js");o.exports=c?{}.toString:function(){return"[object "+p(this)+"]"}},
vendor: 417 bytes, line 470
470"./node_modules/core-js/internals/ordinary-to-primitive.js":function(o,u,l){var c=l("./node_modules/core-js/internals/is-object.js");o.exports=function(p,f){var x,b;if(f==="string"&&typeof(x=p.toString)=="function"&&!c(b=x.call(p))||typeof(x=p.valueOf)=="function"&&!c(b=x.call(p))||f!=="string"&&typeof(x=p.toString)=="function"&&!c(b=x.call(p)))return b;throw TypeError("Can't convert object to primitive value")}},
vendor: 420 bytes, line 470
470"./node_modules/core-js/internals/own-keys.js":function(o,u,l){var c=l("./node_modules/core-js/internals/get-built-in.js"),p=l("./node_modules/core-js/internals/object-get-own-property-names.js"),f=l("./node_modules/core-js/internals/object-get-own-property-symbols.js"),x=l("./node_modules/core-js/internals/an-object.js");o.exports=c("Reflect","ownKeys")||function(E){var v=p.f(x(E)),B=f.f;return B?v.concat(B(E)):v}},
vendor: 126 bytes, line 470
470"./node_modules/core-js/internals/path.js":function(o,u,l){var c=l("./node_modules/core-js/internals/global.js");o.exports=c},
vendor: 884 bytes, line 470
470"./node_modules/core-js/internals/redefine.js":function(o,u,l){var c=l("./node_modules/core-js/internals/global.js"),p=l("./node_modules/core-js/internals/create-non-enumerable-property.js"),f=l("./node_modules/core-js/internals/has.js"),x=l("./node_modules/core-js/internals/set-global.js"),b=l("./node_modules/core-js/internals/inspect-source.js"),E=l("./node_modules/core-js/internals/internal-state.js"),v=E.get,B=E.enforce,F=String(String).split("String");(o.exports=function(U,N,P,$){var G=$?!!$.unsafe:!1,te=$?!!$.enumerable:!1,M=$?!!$.noTargetGet:!1,j;if(typeof P=="function"&&(typeof N=="string"&&!f(P,"name")&&p(P,"name",N),j=B(P),j.source||(j.source=F.join(typeof N=="string"?N:""))),U===c){te?U[N]=P:x(N,P);return}else G?!M&&U[N]&&(te=!0):delete U[N];te?U[N]=P:p(U,N,P)})(Function.prototype,"toString",function(){return typeof this=="function"&&v(this).source||b(this)})},
vendor: 297 bytes, line 470
470"./node_modules/core-js/internals/regexp-flags.js":function(o,u,l){var c=l("./node_modules/core-js/internals/an-object.js");o.exports=function(){var p=c(this),f="";return p.global&&(f+="g"),p.ignoreCase&&(f+="i"),p.multiline&&(f+="m"),p.dotAll&&(f+="s"),p.unicode&&(f+="u"),p.sticky&&(f+="y"),f}},
vendor: 162 bytes, line 470
470"./node_modules/core-js/internals/require-object-coercible.js":function(o){o.exports=function(u){if(u==null)throw TypeError("Can't call method on "+u);return u}},
vendor: 236 bytes, line 470
470"./node_modules/core-js/internals/set-global.js":function(o,u,l){var c=l("./node_modules/core-js/internals/global.js");o.exports=function(p,f){try{Object.defineProperty(c,p,{value:f,configurable:!0,writable:!0})}catch{c[p]=f}return f}},
vendor: 360 bytes, line 470
470"./node_modules/core-js/internals/set-to-string-tag.js":function(o,u,l){var c=l("./node_modules/core-js/internals/object-define-property.js").f,p=l("./node_modules/core-js/internals/has.js"),f=l("./node_modules/core-js/internals/well-known-symbol.js"),x=f("toStringTag");o.exports=function(b,E,v){b&&!p(b=v?b:b.prototype,x)&&c(b,x,{configurable:!0,value:E})}},
vendor: 227 bytes, line 470
470"./node_modules/core-js/internals/shared-key.js":function(o,u,l){var c=l("./node_modules/core-js/internals/shared.js"),p=l("./node_modules/core-js/internals/uid.js"),f=c("keys");o.exports=function(x){return f[x]||(f[x]=p(x))}},
vendor: 227 bytes, line 470
470"./node_modules/core-js/internals/shared-store.js":function(o,u,l){var c=l("./node_modules/core-js/internals/global.js"),p=l("./node_modules/core-js/internals/set-global.js"),f="__core-js_shared__",x=c[f]||p(f,{});o.exports=x},
vendor: 349 bytes, line 470
470"./node_modules/core-js/internals/shared.js":function(o,u,l){var c=l("./node_modules/core-js/internals/is-pure.js"),p=l("./node_modules/core-js/internals/shared-store.js");(o.exports=function(f,x){return p[f]||(p[f]=x!==void 0?x:{})})("versions",[]).push({version:"3.16.0",mode:c?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},
vendor: 239 bytes, line 470
470"./node_modules/core-js/internals/string-html-forced.js":function(o,u,l){var c=l("./node_modules/core-js/internals/fails.js");o.exports=function(p){return c(function(){var f=""[p]('"');return f!==f.toLowerCase()||f.split('"').length>3})}},
vendor: 538 bytes, line 470
470"./node_modules/core-js/internals/string-multibyte.js":function(o,u,l){var c=l("./node_modules/core-js/internals/to-integer.js"),p=l("./node_modules/core-js/internals/to-string.js"),f=l("./node_modules/core-js/internals/require-object-coercible.js"),x=function(b){return function(E,v){var B=p(f(E)),F=c(v),U=B.length,N,P;return F<0||F>=U?b?"":void 0:(N=B.charCodeAt(F),N<55296||N>56319||F+1===U||(P=B.charCodeAt(F+1))<56320||P>57343?b?B.charAt(F):N:b?B.slice(F,F+2):(N-55296<<10)+(P-56320)+65536)}};o.exports={codeAt:x(!1),charAt:x(!0)}},
vendor: 450 bytes, line 470
470"./node_modules/core-js/internals/string-trim.js":function(o,u,l){var c=l("./node_modules/core-js/internals/require-object-coercible.js"),p=l("./node_modules/core-js/internals/to-string.js"),f=l("./node_modules/core-js/internals/whitespaces.js"),x="["+f+"]",b=RegExp("^"+x+x+"*"),E=RegExp(x+x+"*$"),v=function(B){return function(F){var U=p(c(F));return B&1&&(U=U.replace(b,"")),B&2&&(U=U.replace(E,"")),U}};o.exports={start:v(1),end:v(2),trim:v(3)}},
vendor: 216 bytes, line 470
470"./node_modules/core-js/internals/to-absolute-index.js":function(o,u,l){var c=l("./node_modules/core-js/internals/to-integer.js"),p=Math.max,f=Math.min;o.exports=function(x,b){var E=c(x);return E<0?p(E+b,0):f(E,b)}},
vendor: 241 bytes, line 470
470"./node_modules/core-js/internals/to-indexed-object.js":function(o,u,l){var c=l("./node_modules/core-js/internals/indexed-object.js"),p=l("./node_modules/core-js/internals/require-object-coercible.js");o.exports=function(f){return c(p(f))}},
vendor: 148 bytes, line 470
470"./node_modules/core-js/internals/to-integer.js":function(o){var u=Math.ceil,l=Math.floor;o.exports=function(c){return isNaN(c=+c)?0:(c>0?l:u)(c)}},
vendor: 195 bytes, line 470
470"./node_modules/core-js/internals/to-length.js":function(o,u,l){var c=l("./node_modules/core-js/internals/to-integer.js"),p=Math.min;o.exports=function(f){return f>0?p(c(f),9007199254740991):0}},
vendor: 180 bytes, line 470
470"./node_modules/core-js/internals/to-object.js":function(o,u,l){var c=l("./node_modules/core-js/internals/require-object-coercible.js");o.exports=function(p){return Object(c(p))}},
vendor: 562 bytes, line 470
470"./node_modules/core-js/internals/to-primitive.js":function(o,u,l){var c=l("./node_modules/core-js/internals/is-object.js"),p=l("./node_modules/core-js/internals/is-symbol.js"),f=l("./node_modules/core-js/internals/ordinary-to-primitive.js"),x=l("./node_modules/core-js/internals/well-known-symbol.js"),b=x("toPrimitive");o.exports=function(E,v){if(!c(E)||p(E))return E;var B=E[b],F;if(B!==void 0){if(v===void 0&&(v="default"),F=B.call(E,v),!c(F)||p(F))return F;throw TypeError("Can't convert object to primitive value")}return v===void 0&&(v="number"),f(E,v)}},
vendor: 251 bytes, line 470
470"./node_modules/core-js/internals/to-property-key.js":function(o,u,l){var c=l("./node_modules/core-js/internals/to-primitive.js"),p=l("./node_modules/core-js/internals/is-symbol.js");o.exports=function(f){var x=c(f,"string");return p(x)?x:String(x)}},
vendor: 210 bytes, line 470
470"./node_modules/core-js/internals/to-string-tag-support.js":function(o,u,l){var c=l("./node_modules/core-js/internals/well-known-symbol.js"),p=c("toStringTag"),f={};f[p]="z",o.exports=String(f)==="[object z]"},
vendor: 231 bytes, line 470
470"./node_modules/core-js/internals/to-string.js":function(o,u,l){var c=l("./node_modules/core-js/internals/is-symbol.js");o.exports=function(p){if(c(p))throw TypeError("Cannot convert a Symbol value to a string");return String(p)}},
vendor: 168 bytes, line 470
470"./node_modules/core-js/internals/uid.js":function(o){var u=0,l=Math.random();o.exports=function(c){return"Symbol("+String(c===void 0?"":c)+")_"+(++u+l).toString(36)}},
vendor: 194 bytes, line 470
470"./node_modules/core-js/internals/use-symbol-as-uid.js":function(o,u,l){var c=l("./node_modules/core-js/internals/native-symbol.js");o.exports=c&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},
vendor: 152 bytes, line 470
470"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(o,u,l){var c=l("./node_modules/core-js/internals/well-known-symbol.js");u.f=c},
vendor: 555 bytes, line 470
470"./node_modules/core-js/internals/well-known-symbol.js":function(o,u,l){var c=l("./node_modules/core-js/internals/global.js"),p=l("./node_modules/core-js/internals/shared.js"),f=l("./node_modules/core-js/internals/has.js"),x=l("./node_modules/core-js/internals/uid.js"),b=l("./node_modules/core-js/internals/native-symbol.js"),E=l("./node_modules/core-js/internals/use-symbol-as-uid.js"),v=p("wks"),B=c.Symbol,F=E?B:B&&B.withoutSetter||x;o.exports=function(U){return(!f(v,U)||!(b||typeof v[U]=="string"))&&(b&&f(B,U)?v[U]=B[U]:v[U]=F("Symbol."+U)),v[U]}},
vendor: 150 bytes, lines 470-471
470"./node_modules/core-js/internals/whitespaces.js":function(o){o.exports=`	
471\v\f\r                 \u2028\u2029\uFEFF`},
vendor: 1,289 bytes, line 471
471"./node_modules/core-js/modules/es.array.concat.js":function(o,u,l){var c=l("./node_modules/core-js/internals/export.js"),p=l("./node_modules/core-js/internals/fails.js"),f=l("./node_modules/core-js/internals/is-array.js"),x=l("./node_modules/core-js/internals/is-object.js"),b=l("./node_modules/core-js/internals/to-object.js"),E=l("./node_modules/core-js/internals/to-length.js"),v=l("./node_modules/core-js/internals/create-property.js"),B=l("./node_modules/core-js/internals/array-species-create.js"),F=l("./node_modules/core-js/internals/array-method-has-species-support.js"),U=l("./node_modules/core-js/internals/well-known-symbol.js"),N=l("./node_modules/core-js/internals/engine-v8-version.js"),P=U("isConcatSpreadable"),$=9007199254740991,G="Maximum allowed index exceeded",te=N>=51||!p(function(){var X=[];return X[P]=!1,X.concat()[0]!==X}),M=F("concat"),j=function(X){if(!x(X))return!1;var J=X[P];return J!==void 0?!!J:f(X)},D=!te||!M;c({target:"Array",proto:!0,forced:D},{concat:function(J){var Ae=b(this),le=B(Ae,0),we=0,re,ce,H,Ue,T;for(re=-1,H=arguments.length;re<H;re++)if(T=re===-1?Ae:arguments[re],j(T)){if(Ue=E(T.length),we+Ue>$)throw TypeError(G);for(ce=0;ce<Ue;ce++,we++)ce in T&&v(le,we,T[ce])}else{if(we>=$)throw TypeError(G);v(le,we++,T)}return le.length=we,le}})},
vendor: 769 bytes, line 471
471"./node_modules/core-js/modules/es.array.iterator.js":function(o,u,l){var c=l("./node_modules/core-js/internals/to-indexed-object.js"),p=l("./node_modules/core-js/internals/add-to-unscopables.js"),f=l("./node_modules/core-js/internals/iterators.js"),x=l("./node_modules/core-js/internals/internal-state.js"),b=l("./node_modules/core-js/internals/define-iterator.js"),E="Array Iterator",v=x.set,B=x.getterFor(E);o.exports=b(Array,"Array",function(F,U){v(this,{type:E,target:c(F),index:0,kind:U})},function(){var F=B(this),U=F.target,N=F.kind,P=F.index++;return!U||P>=U.length?(F.target=void 0,{value:void 0,done:!0}):N=="keys"?{value:P,done:!1}:N=="values"?{value:U[P],done:!1}:{value:[P,U[P]],done:!1}},"values"),f.Arguments=f.Array,p("keys"),p("values"),p("entries")},
vendor: 446 bytes, line 471
471"./node_modules/core-js/modules/es.array.join.js":function(o,u,l){var c=l("./node_modules/core-js/internals/export.js"),p=l("./node_modules/core-js/internals/indexed-object.js"),f=l("./node_modules/core-js/internals/to-indexed-object.js"),x=l("./node_modules/core-js/internals/array-method-is-strict.js"),b=[].join,E=p!=Object,v=x("join",",");c({target:"Array",proto:!0,forced:E||!v},{join:function(F){return b.call(f(this),F===void 0?",":F)}})},
vendor: 384 bytes, line 471
471"./node_modules/core-js/modules/es.array.map.js":function(o,u,l){var c=l("./node_modules/core-js/internals/export.js"),p=l("./node_modules/core-js/internals/array-iteration.js").map,f=l("./node_modules/core-js/internals/array-method-has-species-support.js"),x=f("map");c({target:"Array",proto:!0,forced:!x},{map:function(E){return p(this,E,arguments.length>1?arguments[1]:void 0)}})},
vendor: 1,063 bytes, line 471
471"./node_modules/core-js/modules/es.array.slice.js":function(o,u,l){var c=l("./node_modules/core-js/internals/export.js"),p=l("./node_modules/core-js/internals/is-object.js"),f=l("./node_modules/core-js/internals/is-array.js"),x=l("./node_modules/core-js/internals/to-absolute-index.js"),b=l("./node_modules/core-js/internals/to-length.js"),E=l("./node_modules/core-js/internals/to-indexed-object.js"),v=l("./node_modules/core-js/internals/create-property.js"),B=l("./node_modules/core-js/internals/well-known-symbol.js"),F=l("./node_modules/core-js/internals/array-method-has-species-support.js"),U=F("slice"),N=B("species"),P=[].slice,$=Math.max;c({target:"Array",proto:!0,forced:!U},{slice:function(te,M){var j=E(this),D=b(j.length),X=x(te,D),J=x(M===void 0?D:M,D),Ae,le,we;if(f(j)&&(Ae=j.constructor,typeof Ae=="function"&&(Ae===Array||f(Ae.prototype))?Ae=void 0:p(Ae)&&(Ae=Ae[N],Ae===null&&(Ae=void 0)),Ae===Array||Ae===void 0))return P.call(j,X,J);for(le=new(Ae===void 0?Array:Ae)($(J-X,0)),we=0;X<J;X++,we++)X in j&&v(le,we,j[X]);return le.length=we,le}})},
vendor: 373 bytes, line 471
471"./node_modules/core-js/modules/es.function.name.js":function(o,u,l){var c=l("./node_modules/core-js/internals/descriptors.js"),p=l("./node_modules/core-js/internals/object-define-property.js").f,f=Function.prototype,x=f.toString,b=/^\s*function ([^ (]*)/,E="name";c&&!(E in f)&&p(f,E,{configurable:!0,get:function(){try{return x.call(this).match(b)[1]}catch{return""}}})},
vendor: 2,031 bytes, line 471
471"./node_modules/core-js/modules/es.number.constructor.js":function(o,u,l){var c=l("./node_modules/core-js/internals/descriptors.js"),p=l("./node_modules/core-js/internals/global.js"),f=l("./node_modules/core-js/internals/is-forced.js"),x=l("./node_modules/core-js/internals/redefine.js"),b=l("./node_modules/core-js/internals/has.js"),E=l("./node_modules/core-js/internals/classof-raw.js"),v=l("./node_modules/core-js/internals/inherit-if-required.js"),B=l("./node_modules/core-js/internals/is-symbol.js"),F=l("./node_modules/core-js/internals/to-primitive.js"),U=l("./node_modules/core-js/internals/fails.js"),N=l("./node_modules/core-js/internals/object-create.js"),P=l("./node_modules/core-js/internals/object-get-own-property-names.js").f,$=l("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,G=l("./node_modules/core-js/internals/object-define-property.js").f,te=l("./node_modules/core-js/internals/string-trim.js").trim,M="Number",j=p[M],D=j.prototype,X=E(N(D))==M,J=function(ce){if(B(ce))throw TypeError("Cannot convert a Symbol value to a number");var H=F(ce,"number"),Ue,T,L,ne,oe,ae,ve,be;if(typeof H=="string"&&H.length>2){if(H=te(H),Ue=H.charCodeAt(0),Ue===43||Ue===45){if(T=H.charCodeAt(2),T===88||T===120)return NaN}else if(Ue===48){switch(H.charCodeAt(1)){case 66:case 98:L=2,ne=49;break;case 79:case 111:L=8,ne=55;break;default:return+H}for(oe=H.slice(2),ae=oe.length,ve=0;ve<ae;ve++)if(be=oe.charCodeAt(ve),be<48||be>ne)return NaN;return parseInt(oe,L)}}return+H};if(f(M,!j(" 0o1")||!j("0b1")||j("+0x1"))){for(var Ae=function(H){var Ue=arguments.length<1?0:H,T=this;return T instanceof Ae&&(X?U(function(){D.valueOf.call(T)}):E(T)!=M)?v(new j(J(Ue)),T,Ae):J(Ue)},le=c?P(j):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),we=0,re;le.length>we;we++)b(j,re=le[we])&&!b(Ae,re)&&G(Ae,re,$(j,re));Ae.prototype=D,D.constructor=Ae,x(p,M,Ae)}},
vendor: 246 bytes, line 471
471"./node_modules/core-js/modules/es.object.assign.js":function(o,u,l){var c=l("./node_modules/core-js/internals/export.js"),p=l("./node_modules/core-js/internals/object-assign.js");c({target:"Object",stat:!0,forced:Object.assign!==p},{assign:p})},
vendor: 374 bytes, line 471
471"./node_modules/core-js/modules/es.object.keys.js":function(o,u,l){var c=l("./node_modules/core-js/internals/export.js"),p=l("./node_modules/core-js/internals/to-object.js"),f=l("./node_modules/core-js/internals/object-keys.js"),x=l("./node_modules/core-js/internals/fails.js"),b=x(function(){f(1)});c({target:"Object",stat:!0,forced:b},{keys:function(v){return f(p(v))}})},
vendor: 302 bytes, line 471
471"./node_modules/core-js/modules/es.object.to-string.js":function(o,u,l){var c=l("./node_modules/core-js/internals/to-string-tag-support.js"),p=l("./node_modules/core-js/internals/redefine.js"),f=l("./node_modules/core-js/internals/object-to-string.js");c||p(Object.prototype,"toString",f,{unsafe:!0})},
vendor: 631 bytes, line 471
471"./node_modules/core-js/modules/es.regexp.to-string.js":function(o,u,l){var c=l("./node_modules/core-js/internals/redefine.js"),p=l("./node_modules/core-js/internals/an-object.js"),f=l("./node_modules/core-js/internals/to-string.js"),x=l("./node_modules/core-js/internals/fails.js"),b=l("./node_modules/core-js/internals/regexp-flags.js"),E="toString",v=RegExp.prototype,B=v[E],F=x(function(){return B.call({source:"a",flags:"b"})!="/a/b"}),U=B.name!=E;(F||U)&&c(RegExp.prototype,E,function(){var P=p(this),$=f(P.source),G=P.flags,te=f(G===void 0&&P instanceof RegExp&&!("flags"in v)?b.call(P):G);return"/"+$+"/"+te},{unsafe:!0})},
vendor: 565 bytes, line 471
471"./node_modules/core-js/modules/es.string.iterator.js":function(o,u,l){var c=l("./node_modules/core-js/internals/string-multibyte.js").charAt,p=l("./node_modules/core-js/internals/to-string.js"),f=l("./node_modules/core-js/internals/internal-state.js"),x=l("./node_modules/core-js/internals/define-iterator.js"),b="String Iterator",E=f.set,v=f.getterFor(b);x(String,"String",function(B){E(this,{type:b,string:p(B),index:0})},function(){var F=v(this),U=F.string,N=F.index,P;return N>=U.length?{value:void 0,done:!0}:(P=c(U,N),F.index+=P.length,{value:P,done:!1})})},
vendor: 334 bytes, line 471
471"./node_modules/core-js/modules/es.string.link.js":function(o,u,l){var c=l("./node_modules/core-js/internals/export.js"),p=l("./node_modules/core-js/internals/create-html.js"),f=l("./node_modules/core-js/internals/string-html-forced.js");c({target:"String",proto:!0,forced:f("link")},{link:function(b){return p(this,"a","href",b)}})},
vendor: 1,097 bytes, line 471
471"./node_modules/core-js/modules/es.symbol.description.js":function(o,u,l){var c=l("./node_modules/core-js/internals/export.js"),p=l("./node_modules/core-js/internals/descriptors.js"),f=l("./node_modules/core-js/internals/global.js"),x=l("./node_modules/core-js/internals/has.js"),b=l("./node_modules/core-js/internals/is-object.js"),E=l("./node_modules/core-js/internals/object-define-property.js").f,v=l("./node_modules/core-js/internals/copy-constructor-properties.js"),B=f.Symbol;if(p&&typeof B=="function"&&(!("description"in B.prototype)||B().description!==void 0)){var F={},U=function(){var M=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),j=this instanceof U?new B(M):M===void 0?B():B(M);return M===""&&(F[j]=!0),j};v(U,B);var N=U.prototype=B.prototype;N.constructor=U;var P=N.toString,$=String(B("test"))=="Symbol(test)",G=/^Symbol\((.*)\)[^)]+$/;E(N,"description",{configurable:!0,get:function(){var M=b(this)?this.valueOf():this,j=P.call(M);if(x(F,M))return"";var D=$?j.slice(7,-1):j.replace(G,"$1");return D===""?void 0:D}}),c({global:!0,forced:!0},{Symbol:U})}},
vendor: 158 bytes, line 471
471"./node_modules/core-js/modules/es.symbol.iterator.js":function(o,u,l){var c=l("./node_modules/core-js/internals/define-well-known-symbol.js");c("iterator")},
vendor: 5,770 bytes, line 471
471"./node_modules/core-js/modules/es.symbol.js":function(o,u,l){var c=l("./node_modules/core-js/internals/export.js"),p=l("./node_modules/core-js/internals/global.js"),f=l("./node_modules/core-js/internals/get-built-in.js"),x=l("./node_modules/core-js/internals/is-pure.js"),b=l("./node_modules/core-js/internals/descriptors.js"),E=l("./node_modules/core-js/internals/native-symbol.js"),v=l("./node_modules/core-js/internals/fails.js"),B=l("./node_modules/core-js/internals/has.js"),F=l("./node_modules/core-js/internals/is-array.js"),U=l("./node_modules/core-js/internals/is-object.js"),N=l("./node_modules/core-js/internals/is-symbol.js"),P=l("./node_modules/core-js/internals/an-object.js"),$=l("./node_modules/core-js/internals/to-object.js"),G=l("./node_modules/core-js/internals/to-indexed-object.js"),te=l("./node_modules/core-js/internals/to-property-key.js"),M=l("./node_modules/core-js/internals/to-string.js"),j=l("./node_modules/core-js/internals/create-property-descriptor.js"),D=l("./node_modules/core-js/internals/object-create.js"),X=l("./node_modules/core-js/internals/object-keys.js"),J=l("./node_modules/core-js/internals/object-get-own-property-names.js"),Ae=l("./node_modules/core-js/internals/object-get-own-property-names-external.js"),le=l("./node_modules/core-js/internals/object-get-own-property-symbols.js"),we=l("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),re=l("./node_modules/core-js/internals/object-define-property.js"),ce=l("./node_modules/core-js/internals/object-property-is-enumerable.js"),H=l("./node_modules/core-js/internals/create-non-enumerable-property.js"),Ue=l("./node_modules/core-js/internals/redefine.js"),T=l("./node_modules/core-js/internals/shared.js"),L=l("./node_modules/core-js/internals/shared-key.js"),ne=l("./node_modules/core-js/internals/hidden-keys.js"),oe=l("./node_modules/core-js/internals/uid.js"),ae=l("./node_modules/core-js/internals/well-known-symbol.js"),ve=l("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),be=l("./node_modules/core-js/internals/define-well-known-symbol.js"),Se=l("./node_modules/core-js/internals/set-to-string-tag.js"),Me=l("./node_modules/core-js/internals/internal-state.js"),Ke=l("./node_modules/core-js/internals/array-iteration.js").forEach,Ve=L("hidden"),We="Symbol",wt="prototype",Qe=ae("toPrimitive"),se=Me.set,Qt=Me.getterFor(We),rt=Object[wt],Pe=p.Symbol,qe=f("JSON","stringify"),it=we.f,tt=re.f,mt=Ae.f,kt=ce.f,Ct=T("symbols"),Ce=T("op-symbols"),je=T("string-to-symbol-registry"),Je=T("symbol-to-string-registry"),Ze=T("wks"),ge=p.QObject,Be=!ge||!ge[wt]||!ge[wt].findChild,Re=b&&v(function(){return D(tt({},"a",{get:function(){return tt(this,"a",{value:7}).a}})).a!=7})?function(Kt,st,Ye){var dt=it(rt,st);dt&&delete rt[st],tt(Kt,st,Ye),dt&&Kt!==rt&&tt(rt,st,dt)}:tt,De=function(Kt,st){var Ye=Ct[Kt]=D(Pe[wt]);return se(Ye,{type:We,tag:Kt,description:st}),b||(Ye.description=st),Ye},gt=function(st,Ye,dt){st===rt&&gt(Ce,Ye,dt),P(st);var Xt=te(Ye);return P(dt),B(Ct,Xt)?(dt.enumerable?(B(st,Ve)&&st[Ve][Xt]&&(st[Ve][Xt]=!1),dt=D(dt,{enumerable:j(0,!1)})):(B(st,Ve)||tt(st,Ve,j(1,{})),st[Ve][Xt]=!0),Re(st,Xt,dt)):tt(st,Xt,dt)},At=function(st,Ye){P(st);var dt=G(Ye),Xt=X(dt).concat(sn(dt));return Ke(Xt,function(en){(!b||mn.call(dt,en))&&gt(st,en,dt[en])}),st},yt=function(st,Ye){return Ye===void 0?D(st):At(D(st),Ye)},mn=function(st){var Ye=te(st),dt=kt.call(this,Ye);return this===rt&&B(Ct,Ye)&&!B(Ce,Ye)?!1:dt||!B(this,Ye)||!B(Ct,Ye)||B(this,Ve)&&this[Ve][Ye]?dt:!0},Et=function(st,Ye){var dt=G(st),Xt=te(Ye);if(!(dt===rt&&B(Ct,Xt)&&!B(Ce,Xt))){var en=it(dt,Xt);return en&&B(Ct,Xt)&&!(B(dt,Ve)&&dt[Ve][Xt])&&(en.enumerable=!0),en}},ii=function(st){var Ye=mt(G(st)),dt=[];return Ke(Ye,function(Xt){!B(Ct,Xt)&&!B(ne,Xt)&&dt.push(Xt)}),dt},sn=function(st){var Ye=st===rt,dt=mt(Ye?Ce:G(st)),Xt=[];return Ke(dt,function(en){B(Ct,en)&&(!Ye||B(rt,en))&&Xt.push(Ct[en])}),Xt};if(E||(Pe=function(){if(this instanceof Pe)throw TypeError("Symbol is not a constructor");var st=!arguments.length||arguments[0]===void 0?void 0:M(arguments[0]),Ye=oe(st),dt=function(Xt){this===rt&&dt.call(Ce,Xt),B(this,Ve)&&B(this[Ve],Ye)&&(this[Ve][Ye]=!1),Re(this,Ye,j(1,Xt))};return b&&Be&&Re(rt,Ye,{configurable:!0,set:dt}),De(Ye,st)},Ue(Pe[wt],"toString",function(){return Qt(this).tag}),Ue(Pe,"withoutSetter",function(Kt){return De(oe(Kt),Kt)}),ce.f=mn,re.f=gt,we.f=Et,J.f=Ae.f=ii,le.f=sn,ve.f=function(Kt){return De(ae(Kt),Kt)},b&&(tt(Pe[wt],"description",{configurable:!0,get:function(){return Qt(this).description}}),x||Ue(rt,"propertyIsEnumerable",mn,{unsafe:!0}))),c({global:!0,wrap:!0,forced:!E,sham:!E},{Symbol:Pe}),Ke(X(Ze),function(Kt){be(Kt)}),c({target:We,stat:!0,forced:!E},{for:function(Kt){var st=M(Kt);if(B(je,st))return je[st];var Ye=Pe(st);return je[st]=Ye,Je[Ye]=st,Ye},keyFor:function(st){if(!N(st))throw TypeError(st+" is not a symbol");if(B(Je,st))return Je[st]},useSetter:function(){Be=!0},useSimple:function(){Be=!1}}),c({target:"Object",stat:!0,forced:!E,sham:!b},{create:yt,defineProperty:gt,defineProperties:At,getOwnPropertyDescriptor:Et}),c({target:"Object",stat:!0,forced:!E},{getOwnPropertyNames:ii,getOwnPropertySymbols:sn}),c({target:"Object",stat:!0,forced:v(function(){le.f(1)})},{getOwnPropertySymbols:function(st){return le.f($(st))}}),qe){var jr=!E||v(function(){var Kt=Pe();return qe([Kt])!="[null]"||qe({a:Kt})!="{}"||qe(Object(Kt))!="{}"});c({target:"JSON",stat:!0,forced:jr},{stringify:function(st,Ye,dt){for(var Xt=[st],en=1,br;arguments.length>en;)Xt.push(arguments[en++]);if(br=Ye,!(!U(Ye)&&st===void 0||N(st)))return F(Ye)||(Ye=function(Ai,Ft){if(typeof br=="function"&&(Ft=br.call(this,Ai,Ft)),!N(Ft))return Ft}),Xt[1]=Ye,qe.apply(null,Xt)}})}Pe[wt][Qe]||H(Pe[wt],Qe,Pe[wt].valueOf),Se(Pe,We),ne[Ve]=!0},
vendor: 430 bytes, line 471
471"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(o,u,l){var c=l("./node_modules/core-js/internals/global.js"),p=l("./node_modules/core-js/internals/dom-iterables.js"),f=l("./node_modules/core-js/internals/array-for-each.js"),x=l("./node_modules/core-js/internals/create-non-enumerable-property.js");for(var b in p){var E=c[b],v=E&&E.prototype;if(v&&v.forEach!==f)try{x(v,"forEach",f)}catch{v.forEach=f}}},
vendor: 611 bytes, line 471
471"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(o,u,l){var c=l("./node_modules/core-js/internals/global.js"),p=l("./node_modules/core-js/internals/dom-iterables.js"),f=l("./node_modules/core-js/modules/es.array.iterator.js"),x=l("./node_modules/core-js/internals/create-non-enumerable-property.js"),b=l("./node_modules/core-js/internals/well-known-symbol.js"),E=b("iterator"),v=b("toStringTag"),B=f.values;for(var F in p){var U=c[F],N=U&&U.prototype;if(N){if(N[E]!==B)try{x(N,E,B)}catch{N[E]=B}if(N[v]||x(N,v,F),p[F]){for(var P in f)if(N[P]!==f[P])try{x(N,P,f[P])}catch{N[P]=f[P]}}}}},
vendor: 7,239 bytes, lines 471-477
471"./node_modules/es6-promise/dist/es6-promise.js":function(o){/*!
472 * @overview es6-promise - a tiny implementation of Promises/A+.
473 * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
474 * @license   Licensed under MIT license
475 *            See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
476 * @version   v4.2.8+1e68dce6
477 */(function(u,l){o.exports=l()})(this,function(){function u(ge){var Be=typeof ge;return ge!==null&&(Be==="object"||Be==="function")}function l(ge){return typeof ge=="function"}var c=void 0;Array.isArray?c=Array.isArray:c=function(ge){return Object.prototype.toString.call(ge)==="[object Array]"};var p=c,f=0,x=void 0,b=void 0,E=function(Be,Re){X[f]=Be,X[f+1]=Re,f+=2,f===2&&(b?b(J):le())};function v(ge){b=ge}function B(ge){E=ge}var F=typeof window<"u"?window:void 0,U=F||{},N=U.MutationObserver||U.WebKitMutationObserver,P=typeof self>"u"&&typeof process<"u"&&{}.toString.call(process)==="[object process]",$=typeof Uint8ClampedArray<"u"&&typeof importScripts<"u"&&typeof MessageChannel<"u";function G(){return function(){return process.nextTick(J)}}function te(){return typeof x<"u"?function(){x(J)}:D()}function M(){var ge=0,Be=new N(J),Re=document.createTextNode("");return Be.observe(Re,{characterData:!0}),function(){Re.data=ge=++ge%2}}function j(){var ge=new MessageChannel;return ge.port1.onmessage=J,function(){return ge.port2.postMessage(0)}}function D(){var ge=setTimeout;return function(){return ge(J,1)}}var X=new Array(1e3);function J(){for(var ge=0;ge<f;ge+=2){var Be=X[ge],Re=X[ge+1];Be(Re),X[ge]=void 0,X[ge+1]=void 0}f=0}function Ae(){try{var ge=Function("return this")().require("vertx");return x=ge.runOnLoop||ge.runOnContext,te()}catch{return D()}}var le=void 0;P?le=G():N?le=M():$?le=j():F===void 0?le=Ae():le=D();function we(ge,Be){var Re=this,De=new this.constructor(H);De[ce]===void 0&&qe(De);var gt=Re._state;if(gt){var At=arguments[gt-1];E(function(){return se(gt,De,At,Re._result)})}else wt(Re,De,ge,Be);return De}function re(ge){var Be=this;if(ge&&typeof ge=="object"&&ge.constructor===Be)return ge;var Re=new Be(H);return Me(Re,ge),Re}var ce=Math.random().toString(36).substring(2);function H(){}var Ue=void 0,T=1,L=2;function ne(){return new TypeError("You cannot resolve a promise with itself")}function oe(){return new TypeError("A promises callback cannot return that same promise.")}function ae(ge,Be,Re,De){try{ge.call(Be,Re,De)}catch(gt){return gt}}function ve(ge,Be,Re){E(function(De){var gt=!1,At=ae(Re,Be,function(yt){gt||(gt=!0,Be!==yt?Me(De,yt):Ve(De,yt))},function(yt){gt||(gt=!0,We(De,yt))},"Settle: "+(De._label||" unknown promise"));!gt&&At&&(gt=!0,We(De,At))},ge)}function be(ge,Be){Be._state===T?Ve(ge,Be._result):Be._state===L?We(ge,Be._result):wt(Be,void 0,function(Re){return Me(ge,Re)},function(Re){return We(ge,Re)})}function Se(ge,Be,Re){Be.constructor===ge.constructor&&Re===we&&Be.constructor.resolve===re?be(ge,Be):Re===void 0?Ve(ge,Be):l(Re)?ve(ge,Be,Re):Ve(ge,Be)}function Me(ge,Be){if(ge===Be)We(ge,ne());else if(u(Be)){var Re=void 0;try{Re=Be.then}catch(De){We(ge,De);return}Se(ge,Be,Re)}else Ve(ge,Be)}function Ke(ge){ge._onerror&&ge._onerror(ge._result),Qe(ge)}function Ve(ge,Be){ge._state===Ue&&(ge._result=Be,ge._state=T,ge._subscribers.length!==0&&E(Qe,ge))}function We(ge,Be){ge._state===Ue&&(ge._state=L,ge._result=Be,E(Ke,ge))}function wt(ge,Be,Re,De){var gt=ge._subscribers,At=gt.length;ge._onerror=null,gt[At]=Be,gt[At+T]=Re,gt[At+L]=De,At===0&&ge._state&&E(Qe,ge)}function Qe(ge){var Be=ge._subscribers,Re=ge._state;if(Be.length!==0){for(var De=void 0,gt=void 0,At=ge._result,yt=0;yt<Be.length;yt+=3)De=Be[yt],gt=Be[yt+Re],De?se(Re,De,gt,At):gt(At);ge._subscribers.length=0}}function se(ge,Be,Re,De){var gt=l(Re),At=void 0,yt=void 0,mn=!0;if(gt){try{At=Re(De)}catch(Et){mn=!1,yt=Et}if(Be===At){We(Be,oe());return}}else At=De;Be._state!==Ue||(gt&&mn?Me(Be,At):mn===!1?We(Be,yt):ge===T?Ve(Be,At):ge===L&&We(Be,At))}function Qt(ge,Be){try{Be(function(De){Me(ge,De)},function(De){We(ge,De)})}catch(Re){We(ge,Re)}}var rt=0;function Pe(){return rt++}function qe(ge){ge[ce]=rt++,ge._state=void 0,ge._result=void 0,ge._subscribers=[]}function it(){return new Error("Array Methods must be provided an Array")}var tt=function(){function ge(Be,Re){this._instanceConstructor=Be,this.promise=new Be(H),this.promise[ce]||qe(this.promise),p(Re)?(this.length=Re.length,this._remaining=Re.length,this._result=new Array(this.length),this.length===0?Ve(this.promise,this._result):(this.length=this.length||0,this._enumerate(Re),this._remaining===0&&Ve(this.promise,this._result))):We(this.promise,it())}return ge.prototype._enumerate=function(Re){for(var De=0;this._state===Ue&&De<Re.length;De++)this._eachEntry(Re[De],De)},ge.prototype._eachEntry=function(Re,De){var gt=this._instanceConstructor,At=gt.resolve;if(At===re){var yt=void 0,mn=void 0,Et=!1;try{yt=Re.then}catch(sn){Et=!0,mn=sn}if(yt===we&&Re._state!==Ue)this._settledAt(Re._state,De,Re._result);else if(typeof yt!="function")this._remaining--,this._result[De]=Re;else if(gt===Je){var ii=new gt(H);Et?We(ii,mn):Se(ii,Re,yt),this._willSettleAt(ii,De)}else this._willSettleAt(new gt(function(sn){return sn(Re)}),De)}else this._willSettleAt(At(Re),De)},ge.prototype._settledAt=function(Re,De,gt){var At=this.promise;At._state===Ue&&(this._remaining--,Re===L?We(At,gt):this._result[De]=gt),this._remaining===0&&Ve(At,this._result)},ge.prototype._willSettleAt=function(Re,De){var gt=this;wt(Re,void 0,function(At){return gt._settledAt(T,De,At)},function(At){return gt._settledAt(L,De,At)})},ge}();function mt(ge){return new tt(this,ge).promise}function kt(ge){var Be=this;return p(ge)?new Be(function(Re,De){for(var gt=ge.length,At=0;At<gt;At++)Be.resolve(ge[At]).then(Re,De)}):new Be(function(Re,De){return De(new TypeError("You must pass an array to race."))})}function Ct(ge){var Be=this,Re=new Be(H);return We(Re,ge),Re}function Ce(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function je(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var Je=function(){function ge(Be){this[ce]=Pe(),this._result=this._state=void 0,this._subscribers=[],H!==Be&&(typeof Be!="function"&&Ce(),this instanceof ge?Qt(this,Be):je())}return ge.prototype.catch=function(Re){return this.then(null,Re)},ge.prototype.finally=function(Re){var De=this,gt=De.constructor;return l(Re)?De.then(function(At){return gt.resolve(Re()).then(function(){return At})},function(At){return gt.resolve(Re()).then(function(){throw At})}):De.then(Re,Re)},ge}();Je.prototype.then=we,Je.all=mt,Je.race=kt,Je.resolve=re,Je.reject=Ct,Je._setScheduler=v,Je._setAsap=B,Je._asap=E;function Ze(){var ge=void 0;if(typeof gr<"u")ge=gr;else if(typeof self<"u")ge=self;else try{ge=Function("return this")()}catch{throw new Error("polyfill failed because global object is unavailable in this environment")}var Be=ge.Promise;if(Be){var Re=null;try{Re=Object.prototype.toString.call(Be.resolve())}catch{}if(Re==="[object Promise]"&&!Be.cast)return}ge.Promise=Je}return Je.polyfill=Ze,Je.Promise=Je,Je})}
477,html2canvas:function(o){o.exports=r},jspdf:function(o){o.exports=n}},A={};function s(o){var u=A[o];if(u!==void 0)return u.exports;var l=A[o]={exports:{}};return i[o].call(l.exports,l,l.exports,s),l.exports}(function(){s.n=function(o){var u=o&&o.__esModule?function(){return o.default}:function(){return o};return s.d(u,{a:u}),u}})(),function(){s.d=function(o,u){for(var l in u)s.o(u,l)&&!s.o(o,l)&&Object.defineProperty(o,l,{enumerable:!0,get:u[l]})}}(),function(){s.o=function(o,u){return Object.prototype.hasOwnProperty.call(o,u)}}(),function(){s.r=function(o){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})}}();var a={};return function(){/*!**********************!*\
478  !*** ./src/index.js ***!
479  \**********************/s.r(a);var o=s("./src/worker.js");s("./src/plugin/jspdf-plugin.js"),s("./src/plugin/pagebreaks.js"),s("./src/plugin/hyperlinks.js");var u=function l(c,p){var f=new l.Worker(p);return c?f.from(c).save():f};u.Worker=o.default,a.default=u}(),a=a.default,a}()})})(F_);var V7=F_.exports;const G7=wm(V7),$7=({result:e})=>{const[t,n]=Oe.useState("step1"),[r,i]=Oe.useState(!1),[A,s]=Oe.useState(!1),a=()=>{var c,p,f,x;let l="";switch(t){case"step1":l=((c=e.stepOneResult)==null?void 0:c.formatted)||"";break;case"step2":l=((p=e.stepTwoResult)==null?void 0:p.formatted)||"";break;case"step3":l=((f=e.stepThreeResult)==null?void 0:f.formatted)||"";break;case"step4":l=((x=e.stepFourResult)==null?void 0:x.formatted)||"";break}navigator.clipboard.writeText(l),i(!0),setTimeout(()=>i(!1),2e3)},o=async()=>{try{s(!0);const l=document.getElementById("analysis-content");if(!l)return;const c=document.createElement("div");c.innerHTML=l.innerHTML;const p=document.createElement("style");p.textContent=`
480        body {
481          font-family: 'Arial', sans-serif;
482          line-height: 1.6;
483          color: #333;
484          max-width: 100%;
485          padding: 20px;
486        }
487        h1 { font-size: 24px; margin-top: 24px; margin-bottom: 16px; color: #1a365d; }
488        h2 { font-size: 20px; margin-top: 20px; margin-bottom: 14px; color: #2c5282; }
489        h3 { font-size: 18px; margin-top: 18px; margin-bottom: 12px; color: #2b6cb0; }
490        p { margin-bottom: 12px; }
491        table { 
492          width: 100%; 
493          border-collapse: collapse; 
494          margin: 16px 0;
495          page-break-inside: avoid;
496        }
497        th, td { 
498          border: 1px solid #ddd; 
499          padding: 8px; 
500          text-align: left;
501        }
502        th { background-color: #f5f5f5; }
503        ul, ol { margin: 12px 0; padding-left: 24px; }
504        li { margin-bottom: 6px; }
505        blockquote {
506          border-left: 4px solid #4299e1;
507          padding: 12px 16px;
508          margin: 16px 0;
509          background-color: #ebf8ff;
510          color: #2c5282;
511          page-break-inside: avoid;
512        }
513        hr {
514          border: none;
515          border-top: 2px solid #e5e7eb;
516          margin: 24px 0;
517        }
518        strong { color: #2c5282; }
519        pre {
520          background-color: #f7fafc;
521          padding: 16px;
522          border-radius: 8px;
523          overflow-x: auto;
524          margin: 16px 0;
525          font-size: 14px;
526          line-height: 1.45;
527          border: 1px solid #e2e8f0;
528        }
529        code {
530          font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
531          font-size: 90%;
532          padding: 0.2em 0.4em;
533          background-color: #f7fafc;
534          border-radius: 3px;
535        }
536      `,c.appendChild(p);const f={margin:[15,15,15,15],filename:`analysis-${e.id.substring(0,8)}.pdf`,image:{type:"jpeg",quality:.98},html2canvas:{scale:2,useCORS:!0,letterRendering:!0},jsPDF:{unit:"mm",format:"a4",orientation:"portrait",compress:!0},pagebreak:{mode:["avoid-all","css","legacy"],before:".page-break-before",after:".page-break-after"}};await G7().set(f).from(c).save()}catch(l){console.error("Error generating PDF:",l)}finally{s(!1)}},u=()=>{var c,p,f,x;let l="";switch(t){case"step1":l=((c=e.stepOneResult)==null?void 0:c.formatted)||"";break;case"step2":l=((p=e.stepTwoResult)==null?void 0:p.formatted)||"";break;case"step3":l=((f=e.stepThreeResult)==null?void 0:f.formatted)||"";break;case"step4":l=((x=e.stepFourResult)==null?void 0:x.formatted)||"";break}return l?Q.jsx("div",{className:"prose prose-blue max-w-none",children:Q.jsx(QR,{remarkPlugins:[KH],children:l})}):Q.jsx("p",{children:"No data available for this step yet."})};return Q.jsxs(xl,{className:"bg-gradient-to-br from-white to-gray-50",children:[Q.jsxs(bu,{className:"flex flex-col sm:flex-row items-start sm:items-center justify-between gap-4 border-b border-gray-200 bg-white",children:[Q.jsxs("div",{children:[Q.jsx("h2",{className:"text-xl font-semibold text-gray-800",children:"Analysis Results"}),Q.jsx("p",{className:"text-sm text-gray-600",children:"View the detailed results of your analysis"})]}),Q.jsxs("div",{className:"flex space-x-2",children:[Q.jsxs(Kr,{variant:"outline",size:"sm",onClick:a,className:"flex items-center hover:bg-blue-50",children:[Q.jsx(_6,{className:"h-4 w-4 mr-1"}),r?"Copied!":"Copy"]}),Q.jsxs(Kr,{variant:"outline",size:"sm",onClick:o,className:"flex items-center hover:bg-blue-50",isLoading:A,disabled:A,children:[Q.jsx(Q6,{className:"h-4 w-4 mr-1"}),A?"Generating...":"Download PDF"]})]})]}),Q.jsx("div",{className:"border-b border-gray-200 bg-white",children:Q.jsxs("nav",{className:"flex -mb-px px-6",children:[Q.jsx("button",{className:`whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm ${t==="step1"?"border-blue-500 text-blue-600":"border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300"} mr-8`,onClick:()=>n("step1"),disabled:!e.stepOneResult,children:"Step 1: Business Analysis"}),Q.jsx("button",{className:`whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm ${t==="step2"?"border-blue-500 text-blue-600":"border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300"} mr-8`,onClick:()=>n("step2"),disabled:!e.stepTwoResult,children:"Step 2: Reddit Research"}),Q.jsx("button",{className:`whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm ${t==="step3"?"border-blue-500 text-blue-600":"border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300"} mr-8`,onClick:()=>n("step3"),disabled:!e.stepThreeResult,children:"Step 3: Gap Analysis"}),Q.jsx("button",{className:`whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm ${t==="step4"?"border-blue-500 text-blue-600":"border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300"}`,onClick:()=>n("step4"),disabled:!e.stepFourResult,children:"Step 4: Strategic Plan"})]})}),Q.jsx(bl,{className:"bg-white rounded-b-lg shadow-inner",children:Q.jsx("div",{id:"analysis-content",className:"prose prose-lg max-w-none prose-headings:font-semibold prose-h1:text-3xl prose-h2:text-2xl prose-h3:text-xl prose-p:text-gray-600 prose-strong:text-gray-900 prose-blockquote:border-blue-500 prose-blockquote:bg-blue-50 prose-blockquote:py-2 prose-blockquote:px-4 prose-blockquote:rounded-lg prose-table:border-collapse prose-th:bg-gray-100 prose-th:p-2 prose-td:p-2 prose-td:border prose-td:border-gray-200",children:u()})})]})},W7=()=>{const{id:e}=aI(),{user:t}=NA(),{currentResult:n,loadResult:r,runStepOne:i,runStepTwo:A,runStepThree:s,runStepF
536our:a,deleteAnalysis:o,isLoading:u}=n0(),l=Ci(),[c,p]=Oe.useState(null),[f,x]=Oe.useState(!1);Oe.useEffect(()=>{if(!(t!=null&&t.id)){l("/login");return}e&&r(e)},[e,t==null?void 0:t.id]);const b=async()=>{if(!(!e||!(t!=null&&t.id)||!n||n.isComplete))try{p(null),await o(e),l("/dashboard")}catch(B){console.error("Error deleting analysis:",B),p("Failed to delete analysis. Please try again.")}},E=async()=>{if(!(!e||!(t!=null&&t.id)||!n))try{p(null),x(!0),await u6(e,t.id),await r(e)}catch(B){console.error("Error re-running analysis:",B),p("Failed to re-run analysis. Please try again.")}finally{x(!1)}},v=async()=>{if(!(!n||!e||!(t!=null&&t.id)))try{p(null),n.currentStep===1?await i(e):n.currentStep===2?await A(e):n.currentStep===3?await s(e):n.currentStep===4&&await a(e)}catch(B){console.error("Error running step:",B),p(B instanceof Error?B.message:"An error occurred while running the analysis. Please try again.")}};return n?Q.jsx(wu,{children:Q.jsxs("div",{className:"max-w-7xl mx-auto py-6 px-4 sm:px-6 lg:px-8",children:[Q.jsxs("div",{className:"mb-6 flex items-center justify-between",children:[Q.jsxs("div",{className:"flex items-center",children:[Q.jsx("button",{onClick:()=>l("/dashboard"),className:"mr-4 text-gray-600 hover:text-gray-900",children:Q.jsx(T2,{className:"h-5 w-5"})}),Q.jsxs("h1",{className:"text-2xl font-bold text-gray-900",children:["Analysis #",e==null?void 0:e.substring(0,8)]})]}),Q.jsxs("div",{className:"text-sm text-gray-600",children:["Created: ",new Date(n.createdAt).toLocaleDateString()]})]}),c&&Q.jsx(fl,{type:"error",message:c,onClose:()=>p(null),className:"mb-6"}),Q.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-4 gap-6",children:[Q.jsx("div",{className:"lg:col-span-1",children:Q.jsx(xl,{children:Q.jsxs(bl,{children:[Q.jsx(Z6,{result:n}),!n.isComplete&&Q.jsxs("div",{className:"mt-6 space-y-4",children:[Q.jsx(Kr,{variant:"primary",fullWidth:!0,onClick:v,isLoading:u,disabled:u||f,children:n.currentStep===1?"Start Analysis":`Run Step ${n.currentStep}`}),Q.jsxs(Kr,{variant:"danger",fullWidth:!0,onClick:b,disabled:u||f,className:"flex items-center justify-center",children:[Q.jsx(T6,{className:"h-4 w-4 mr-2"}),"Delete Analysis"]})]}),n.isComplete&&Q.jsxs("div",{className:"mt-6 space-y-4",children:[Q.jsx("div",{className:"flex items-center justify-center mb-3",children:Q.jsx("div",{className:"h-12 w-12 rounded-full bg-green-100 text-green-500 flex items-center justify-center",children:Q.jsx("svg",{className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:Q.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})})})}),Q.jsx("p",{className:"text-sm text-center text-gray-900 font-medium mb-4",children:"Analysis Complete!"}),Q.jsxs(Kr,{variant:"outline",fullWidth:!0,onClick:E,isLoading:f,disabled:f||u,className:"flex items-center justify-center",children:[Q.jsx(P6,{className:"h-4 w-4 mr-2"}),"Rerun Analysis"]})]}),Q.jsxs("div",{className:"mt-4 text-sm text-gray-600 text-center",children:["Credits remaining: ",Q.jsx("span",{className:"font-medium",children:(t==null?void 0:t.creditsRemaining)||0})]})]})})}),Q.jsx("div",{className:"lg:col-span-3",children:Q.jsx($7,{result:n})})]})]})}):Q.jsx(wu,{children:Q.jsx("div",{className:"max-w-7xl mx-auto py-6 px-4 sm:px-6 lg:px-8",children:Q.jsx("div",{className:"flex justify-center items-center min-h-[50vh]",children:Q.jsxs("div",{className:"text-center",children:[Q.jsx("div",{className:"animate-spin rounded-full h-12 w-12 border-b-2 border-blue-800 mx-auto"}),Q.jsx("p",{className:"mt-4 text-gray-600",children:"Loading analysis..."})]})})})})},q7=()=>{const{user:e}=NA(),{results:t}=n0(),n=Ci();if(!e)return n("/login"),null;const r=[...t].sort((i,A)=>new Date(A.updatedAt).getTime()-new Date(i.updatedAt).getTime());return Q.jsx(wu,{children:Q.jsxs("div",{className:"max-w-7xl mx-auto py-6 px-4 sm:px-6 lg:px-8",children:[Q.jsxs("div",{className:"mb-6 flex items-center",children:[Q.jsx("button",{onClick:()=>n("/dashboard"),className:"mr-4 text-gray-600 hover:text-gray-900",children:Q.jsx(T2,{className:"h-5 w-5"})}),Q.jsx("h1",{className:"text-2xl font-bold text-gray-900",children:"Analysis History"})]}),Q.jsxs(xl,{children:[Q.jsxs(bu,{children:[Q.jsx("h2",{className:"text-lg font-medium text-gray-900",children:"Your Analyses"}),Q.jsx("p",{className:"text-sm text-gray-500",children:"All your previous anal
536ysis results"})]}),Q.jsx(bl,{children:r.length===0?Q.jsxs("div",{className:"text-center py-8",children:[Q.jsx("div",{className:"mx-auto h-12 w-12 text-gray-400",children:Q.jsx(I6,{className:"h-12 w-12"})}),Q.jsx("h3",{className:"mt-2 text-sm font-medium text-gray-900",children:"No analyses yet"}),Q.jsx("p",{className:"mt-1 text-sm text-gray-500",children:"You haven't run any analyses yet. Start your first analysis from the dashboard."}),Q.jsx("div",{className:"mt-6",children:Q.jsx(Kr,{variant:"primary",onClick:()=>n("/dashboard"),children:"Start Analysis"})})]}):Q.jsx("div",{className:"overflow-hidden shadow ring-1 ring-black ring-opacity-5 sm:rounded-lg",children:Q.jsxs("table",{className:"min-w-full divide-y divide-gray-300",children:[Q.jsx("thead",{className:"bg-gray-50",children:Q.jsxs("tr",{children:[Q.jsx("th",{scope:"col",className:"py-3.5 pl-4 pr-3 text-left text-sm font-semibold text-gray-900 sm:pl-6",children:"ID"}),Q.jsx("th",{scope:"col",className:"px-3 py-3.5 text-left text-sm font-semibold text-gray-900",children:"Date"}),Q.jsx("th",{scope:"col",className:"px-3 py-3.5 text-left text-sm font-semibold text-gray-900",children:"Status"}),Q.jsx("th",{scope:"col",className:"relative py-3.5 pl-3 pr-4 sm:pr-6",children:Q.jsx("span",{className:"sr-only",children:"Actions"})})]})}),Q.jsx("tbody",{className:"divide-y divide-gray-200 bg-white",children:r.map(i=>Q.jsxs("tr",{children:[Q.jsxs("td",{className:"whitespace-nowrap py-4 pl-4 pr-3 text-sm font-medium text-gray-900 sm:pl-6",children:["Analysis #",i.id.substring(0,8)]}),Q.jsx("td",{className:"whitespace-nowrap px-3 py-4 text-sm text-gray-500",children:new Date(i.createdAt).toLocaleDateString()}),Q.jsx("td",{className:"whitespace-nowrap px-3 py-4 text-sm",children:i.isComplete?Q.jsx("span",{className:"inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-green-100 text-green-800",children:"Complete"}):Q.jsxs("span",{className:"inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-yellow-100 text-yellow-800",children:["Step ",i.currentStep," of 4"]})}),Q.jsx("td",{className:"relative whitespace-nowrap py-4 pl-3 pr-4 text-right text-sm font-medium sm:pr-6",children:Q.jsxs("button",{onClick:()=>n(`/analysis/${i.id}`),className:"text-blue-600 hover:text-blue-900 inline-flex items-center",children:["View",Q.jsx(k6,{className:"ml-1 h-4 w-4"})]})})]},i.id))})]})})})]})]})})},J7=({tier:e,onSelect:t})=>{const{user:n}=NA(),r=Ci(),i=()=>{if(!n){r("/login?redirect=pricing");return}t(e.id)};return Q.jsxs(xl,{className:`flex flex-col h-full ${e.isPopular?"border-2 border-blue-500 relative overflow-visible":""}`,children:[e.isPopular&&Q.jsx("div",{className:"absolute top-0 left-1/2 transform -translate-x-1/2 -translate-y-1/2 bg-blue-500 text-white px-4 py-1 rounded-full text-xs font-bold uppercase",children:"Most Popular"}),Q.jsx(bu,{className:`flex-grow-0 ${e.isPopular?"bg-blue-50":""}`,children:Q.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:e.name})}),Q.jsxs(bl,{className:"flex-grow",children:[Q.jsx("div",{className:"mb-4",children:Q.jsxs("span",{className:"text-4xl font-bold text-gray-900",children:["$",e.price]})}),Q.jsx("p",{className:"text-gray-600 mb-6",children:e.description}),Q.jsxs("ul",{className:"space-y-3 mb-6",children:[Q.jsxs("li",{className:"flex items-center",children:[Q.jsx(Ag,{className:"h-5 w-5 text-green-500 mr-2 flex-shrink-0"}),Q.jsxs("span",{className:"text-gray-700",children:[e.credits," complete 4-step analyses"]})]}),Q.jsxs("li",{className:"flex items-center",children:[Q.jsx(Ag,{className:"h-5 w-5 text-green-500 mr-2 flex-shrink-0"}),Q.jsx("span",{className:"text-gray-700",children:"Downloadable PDF reports"})]}),Q.jsxs("li",{className:"flex items-center",children:[Q.jsx(Ag,{className:"h-5 w-5 text-green-500 mr-2 flex-shrink-0"}),Q.jsx("span",{className:"text-gray-700",children:"Full analysis history"})]}),Q.jsxs("li",{className:"flex items-center",children:[Q.jsx(Ag,{className:"h-5 w-5 text-green-500 mr-2 flex-shrink-0"}),Q.jsx("span",{className:"text-gray-700",children:"GPT-4o insights"})]})]})]}),Q.jsx(O2,{className:"flex-grow-0",children:Q.jsx(Kr,{variant:e.isPopular?"primary":"outline",fullWidth:!0,onClick:i,children:n?"Select This Plan":"Sign Up"})})]})},Ng=[{id:"single",name:"Single Analysis",price:25,credits:1,description:"One 
536complete 4-step analysis"},{id:"bundle3",name:"Bundle of 3",price:50,credits:3,description:"Three complete 4-step analyses",isPopular:!0},{id:"bundle10",name:"Bundle of 10",price:100,credits:10,description:"Ten complete 4-step analyses"}],X7=async(e,t,n)=>{const r=Ng.find(i=>i.id===t);if(!r)throw new Error("Invalid pricing tier");return console.log(`Processing payment of $${r.price} for tier: ${r.name}`),qj(e,r.credits),!0},Y7=()=>{var p,f;const{user:e}=NA(),t=Ci(),[n,r]=Oe.useState(null),[i,A]=Oe.useState(!1),[s,a]=Oe.useState(null),[o,u]=Oe.useState(null),l=x=>{r(x)},c=async()=>{if(!(!n||!e))try{A(!0),u(null),await X7(e.id,n,{}),a("Payment processed successfully! Credits have been added to your account."),r(null),setTimeout(()=>{t("/dashboard")},2e3)}catch(x){console.error("Payment error:",x),u("An error occurred while processing payment. Please try again.")}finally{A(!1)}};return Q.jsxs(wu,{children:[Q.jsx("div",{className:"bg-blue-800 py-12",children:Q.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:[Q.jsx("h1",{className:"text-3xl font-extrabold text-white sm:text-4xl",children:"Simple, transparent pricing"}),Q.jsx("p",{className:"mt-3 max-w-3xl mx-auto text-xl text-blue-100",children:"Get actionable insights to grow your business with our Market-powered analysis"})]})}),Q.jsxs("div",{className:"max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:px-8",children:[s&&Q.jsx(fl,{type:"success",message:s,onClose:()=>a(null),className:"mb-8"}),o&&Q.jsx(fl,{type:"error",message:o,onClose:()=>u(null),className:"mb-8"}),Q.jsx("div",{className:"mb-8",children:Q.jsxs("button",{onClick:()=>t("/dashboard"),className:"inline-flex items-center text-gray-600 hover:text-gray-900",children:[Q.jsx(T2,{className:"h-5 w-5 mr-1"}),"Back to Dashboard"]})}),Q.jsx("div",{className:"grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3 lg:gap-8",children:Ng.map(x=>Q.jsx(J7,{tier:x,onSelect:l},x.id))}),n&&e&&Q.jsxs("div",{className:"mt-12 bg-gray-50 p-6 rounded-lg shadow-sm",children:[Q.jsx("h3",{className:"text-lg font-medium text-gray-900 mb-4",children:"Confirm Your Purchase"}),Q.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center sm:justify-between",children:[Q.jsxs("div",{children:[Q.jsxs("p",{className:"text-gray-700",children:["Selected plan:"," ",Q.jsx("span",{className:"font-semibold",children:(p=Ng.find(x=>x.id===n))==null?void 0:p.name})]}),Q.jsxs("p",{className:"text-gray-700 mt-1",children:["Total:"," ",Q.jsxs("span",{className:"font-semibold",children:["$",(f=Ng.find(x=>x.id===n))==null?void 0:f.price]})]})]}),Q.jsx("div",{className:"mt-4 sm:mt-0",children:Q.jsx(Kr,{variant:"primary",onClick:c,isLoading:i,disabled:i,children:"Complete Purchase"})})]})]}),Q.jsxs("div",{className:"mt-16",children:[Q.jsx("h2",{className:"text-xl font-bold text-gray-900 mb-6",children:"Frequently Asked Questions"}),Q.jsxs("div",{className:"space-y-8",children:[Q.jsxs("div",{children:[Q.jsx("h3",{className:"text-lg font-medium text-gray-900",children:"How does the credit system work?"}),Q.jsx("p",{className:"mt-2 text-gray-600",children:"Each credit allows you to run a complete 4-step analysis. You get 3 free credits when you sign up, and you can purchase more as needed."})]}),Q.jsxs("div",{children:[Q.jsx("h3",{className:"text-lg font-medium text-gray-900",children:"How long do credits last?"}),Q.jsx("p",{className:"mt-2 text-gray-600",children:"Credits never expire. Use them whenever you need them."})]}),Q.jsxs("div",{children:[Q.jsx("h3",{className:"text-lg font-medium text-gray-900",children:"Can I share my analysis with my team?"}),Q.jsx("p",{className:"mt-2 text-gray-600",children:"Yes, you can download the analysis results as a PDF or share the link with your team members."})]}),Q.jsxs("div",{children:[Q.jsx("h3",{className:"text-lg font-medium text-gray-900",children:"What if I need more features?"}),Q.jsx("p",{className:"mt-2 text-gray-600",children:"Contact us for custom enterprise solutions with additional features and team collaboration tools."})]})]})]})]})]})},dg=({children:e,requiredRole:t})=>{var r;const{user:n}=NA();return n?t&&!((r=n.roles)!=null&&r.includes(t))?Q.jsx(rx,{to:"/dashboard"}):Q.jsx(Q.Fragment,{children:e}):Q.jsx(rx,{to:"/login"})};function Z7(){return Q.jsx(QI,{children:Q.jsx(nN,{children:Q.jsx(v6,{children:Q.jsxs(bI,{children:[Q.jsx(Oo,{path:"/",element:Q.jsx(V6,{})}),Q.jsx(Oo,{path:"/login",element:Q.jsx(G6,{})}),Q.jsx(Oo,{path:"/register",element:Q.jsx($6,{})}),Q.jsx(Oo,{path:"/dashboard",element:Q.jsx(dg,{children:Q.jsx(X6,{})})}),Q.jsx(Oo,{path:"/admin",element:Q.jsx(dg,{requiredRole:"admin",children:Q.jsx(Y6,{})})}),Q.jsx(Oo,{path:"/analysis/:id",element:Q.jsx(dg,{children:Q.jsx(W7,{})})}),Q.jsx(Oo,{path:"/history",element:Q.jsx(dg,{children:Q.jsx(q7,{})})}),Q.jsx(Oo,{path:"/pricing",element:Q.jsx(Y7,{})})]})})})})}vF(document.getElementById("root")).render(Q.jsx(Oe.StrictMode,{children:Q.jsx(Z7,{})}));export{Cn as _,gr as c,wm as g,z7 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.